using FreeSql.DataAnnotations;
namespace Znyc.CloudCar.Model.Entities
{
///
/// 商品品牌表
///
[Table(Name = "rm_product_brand")]
public class ProductBrandEntity : EntityBase
{
///
/// 品牌名称
///
[Column(StringLength = 15)]
#pragma warning disable CS8618 // 在退出构造函数时,不可为 null 的 属性“Name”必须包含非 null 值。请考虑将 属性 声明为可以为 null。
public string Name { get; set; }
#pragma warning restore CS8618 // 在退出构造函数时,不可为 null 的 属性“Name”必须包含非 null 值。请考虑将 属性 声明为可以为 null。
///
/// 品牌logo
///
[Column(StringLength = 50)]
#pragma warning disable CS8618 // 在退出构造函数时,不可为 null 的 属性“Logo”必须包含非 null 值。请考虑将 属性 声明为可以为 null。
public string Logo { get; set; }
#pragma warning restore CS8618 // 在退出构造函数时,不可为 null 的 属性“Logo”必须包含非 null 值。请考虑将 属性 声明为可以为 null。
///
/// 品牌说明
///
[Column(StringLength = 50)]
#pragma warning disable CS8618 // 在退出构造函数时,不可为 null 的 属性“Description”必须包含非 null 值。请考虑将 属性 声明为可以为 null。
public string Description { get; set; }
#pragma warning restore CS8618 // 在退出构造函数时,不可为 null 的 属性“Description”必须包含非 null 值。请考虑将 属性 声明为可以为 null。
///
/// 联系电话
///
[Column(StringLength = 11)]
#pragma warning disable CS8618 // 在退出构造函数时,不可为 null 的 属性“Telephone”必须包含非 null 值。请考虑将 属性 声明为可以为 null。
public string Telephone { get; set; }
#pragma warning restore CS8618 // 在退出构造函数时,不可为 null 的 属性“Telephone”必须包含非 null 值。请考虑将 属性 声明为可以为 null。
///
/// 状态
///
public int Status { get; set; }
///
/// 排序
///
public int Sort { get; set; }
}
}