using DS.Module.Core; using DS.Module.Core.Data; using SqlSugar; namespace DS.WMS.Core.Code.Entity; /// /// 包装类型表 /// [SqlSugar.SugarTable("code_package","包装类型表")] public class CodePackage: BaseModel { /// /// 包装类型 /// [SugarColumn(ColumnDescription = "包装类型", Length = 40)] public string PackageName { get; set; } /// /// 中文说明 /// [SugarColumn(ColumnDescription = "中文说明", Length = 100,IsNullable = true)] public string CnExplain { get; set; } /// /// AFR代码 /// [SugarColumn(ColumnDescription = "AFR代码", Length = 10,IsNullable = true)] public string AfrCode { get; set; } /// /// EDI代码 /// [SugarColumn(ColumnDescription = "EDI代码", Length = 5,IsNullable = true)] public string EdiCode { get; set; } /// /// 状态 0启用 1禁用 /// [SugarColumn(ColumnDescription = "状态",DefaultValue = "0")] public StatusEnum? Status { get; set; } = StatusEnum.Enable; }