using DS.Module.Core; using DS.Module.Core.Data; using MediatR; using SqlSugar; namespace DS.WMS.Core.Code.Entity; /// /// 业务来源明细表 /// [SqlSugar.SugarTable("code_source_detail","业务来源明细表")] public class CodeSourceDetail: BaseModel { /// /// 业务来源Id /// [SugarColumn(ColumnDescription = "业务来源Id")] public long SourceId { get; set; } /// /// 来源明细名称 /// [SugarColumn(ColumnDescription = "来源明细名称", Length = 40)] public string DetailName { get; set; } /// /// 英文名称 /// [SugarColumn(ColumnDescription = "英文名称", Length = 100,IsNullable = true)] public string EnName { get; set; } /// /// 状态 0启用 1禁用 /// [SugarColumn(ColumnDescription = "状态",DefaultValue = "0")] public StatusEnum? Status { get; set; } = StatusEnum.Enable; }