using Admin.NET.Core; namespace Admin.NET.Application.Entity; /// /// 客户 /// [SugarTable("Custom","客户")] public class Custom : EntityTenant { /// /// 名称 /// [Required] [SugarColumn(ColumnName = "Name", ColumnDescription = "名称", Length = 32)] public string Name { get; set; } /// /// 编码 /// [SugarColumn(ColumnName = "CodeNum", ColumnDescription = "编码", Length = 32)] public string? CodeNum { get; set; } /// /// 分类 /// [Required] [SugarColumn(ColumnName = "Classify", ColumnDescription = "分类")] public long Classify { get; set; } /// /// 年龄 /// [SugarColumn(ColumnName = "Age", ColumnDescription = "年龄")] public int? Age { get; set; } /// /// 拓展字段整型 /// [SugarColumn(ColumnName = "ExpandField", ColumnDescription = "拓展字段整型")] public int? ExpandField { get; set; } /// /// 联系人 /// [Required] [SugarColumn(ColumnName = "Contacts", ColumnDescription = "联系人")] public int Contacts { get; set; } /// /// 品牌 /// [SugarColumn(ColumnName = "Brand", ColumnDescription = "品牌", Length = 32)] public string? Brand { get; set; } /// /// 外部编码 /// [SugarColumn(ColumnName = "ExternalNumber", ColumnDescription = "外部编码", Length = 32)] public string? ExternalNumber { get; set; } /// /// 可用状态 /// [Required] [SugarColumn(ColumnName = "IsEnable", ColumnDescription = "可用状态")] public bool IsEnable { get; set; } }