You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
53 lines
2.4 KiB
53 lines
2.4 KiB
using FreeSql.DataAnnotations;
|
|
|
|
namespace Znyc.CloudCar.Model.Entities
|
|
{
|
|
/// <summary>
|
|
/// 商品品牌表
|
|
/// </summary>
|
|
[Table(Name = "rm_product_brand")]
|
|
public class ProductBrandEntity : EntityBase
|
|
{
|
|
/// <summary>
|
|
/// 品牌名称
|
|
/// </summary>
|
|
[Column(StringLength = 15)]
|
|
#pragma warning disable CS8618 // 在退出构造函数时,不可为 null 的 属性“Name”必须包含非 null 值。请考虑将 属性 声明为可以为 null。
|
|
public string Name { get; set; }
|
|
#pragma warning restore CS8618 // 在退出构造函数时,不可为 null 的 属性“Name”必须包含非 null 值。请考虑将 属性 声明为可以为 null。
|
|
|
|
/// <summary>
|
|
/// 品牌logo
|
|
/// </summary>
|
|
[Column(StringLength = 50)]
|
|
#pragma warning disable CS8618 // 在退出构造函数时,不可为 null 的 属性“Logo”必须包含非 null 值。请考虑将 属性 声明为可以为 null。
|
|
public string Logo { get; set; }
|
|
#pragma warning restore CS8618 // 在退出构造函数时,不可为 null 的 属性“Logo”必须包含非 null 值。请考虑将 属性 声明为可以为 null。
|
|
|
|
/// <summary>
|
|
/// 品牌说明
|
|
/// </summary>
|
|
[Column(StringLength = 50)]
|
|
#pragma warning disable CS8618 // 在退出构造函数时,不可为 null 的 属性“Description”必须包含非 null 值。请考虑将 属性 声明为可以为 null。
|
|
public string Description { get; set; }
|
|
#pragma warning restore CS8618 // 在退出构造函数时,不可为 null 的 属性“Description”必须包含非 null 值。请考虑将 属性 声明为可以为 null。
|
|
|
|
/// <summary>
|
|
/// 联系电话
|
|
/// </summary>
|
|
[Column(StringLength = 11)]
|
|
#pragma warning disable CS8618 // 在退出构造函数时,不可为 null 的 属性“Telephone”必须包含非 null 值。请考虑将 属性 声明为可以为 null。
|
|
public string Telephone { get; set; }
|
|
#pragma warning restore CS8618 // 在退出构造函数时,不可为 null 的 属性“Telephone”必须包含非 null 值。请考虑将 属性 声明为可以为 null。
|
|
|
|
/// <summary>
|
|
/// 状态
|
|
/// </summary>
|
|
public int Status { get; set; }
|
|
|
|
/// <summary>
|
|
/// 排序
|
|
/// </summary>
|
|
public int Sort { get; set; }
|
|
}
|
|
}
|