using DS.Module.Core; using DS.Module.Core.Data; using SqlSugar; namespace DS.WMS.Core.Code.Entity; /// /// 业务来源表 /// [SqlSugar.SugarTable("op_code_source","业务来源表")] public class CodeSource: BaseModel { /// /// 业务来源唯一代码 /// [SugarColumn(ColumnDescription = "业务来源唯一代码", Length = 10)] public string SourceCode { get; set; } /// /// 业务来源名称 /// [SugarColumn(ColumnDescription = "业务来源名称", Length = 40)] public string SourceName { get; set; } /// /// 英文名称 /// [SugarColumn(ColumnDescription = "英文名称", Length = 100)] public string EnName { get; set; } /// /// 状态 0启用 1禁用 /// [SugarColumn(ColumnDescription = "状态",DefaultValue = "0")] public StatusEnum? Status { get; set; } = StatusEnum.Enable; }