using DS.Module.Core; using DS.Module.Core.Data; using SqlSugar; namespace DS.WMS.Core.Code.Entity; /// /// 集装箱信息表 /// [SqlSugar.SugarTable("code_ctn", "集装箱信息表")] public class CodeCtn : BaseModel { /// /// 集装箱类型 /// [SugarColumn(ColumnDescription = "集装箱类型", Length = 5)] public string CtnSize { get; set; } /// /// 集装箱尺寸 /// [SugarColumn(ColumnDescription = "集装箱尺寸", Length = 10)] public string CtnType { get; set; } /// /// 表现形式 /// [SugarColumn(ColumnDescription = "表现形式", Length = 10)] public string CtnName { get; set; } /// /// EDI代码 /// [SugarColumn(ColumnDescription = "EDI代码", Length = 5, IsNullable = true)] public string EdiCode { get; set; } /// /// 箱皮重 /// [SugarColumn(ColumnDescription = "箱皮重", Length = 18, DecimalDigits = 3, DefaultValue = "0")] public decimal CtnWeight { get; set; } /// /// 中文说明 /// [SugarColumn(ColumnDescription = "中文说明", Length = 100, IsNullable = true)] public string CnExplain { get; set; } /// /// 英文说明 /// [SugarColumn(ColumnDescription = "英文说明", Length = 100, IsNullable = true)] public string EnExplain { get; set; } /// /// AFR代码 /// [SugarColumn(ColumnDescription = "AFR代码", Length = 10, IsNullable = true)] public string AfrCode { get; set; } /// /// 默认限重 /// [SugarColumn(ColumnDescription = "默认限重", Length = 18, DecimalDigits = 3, DefaultValue = "0")] public decimal LimitWeight { get; set; } /// /// TEU /// [SugarColumn(ColumnDescription = "TEU", Length = 8, DecimalDigits = 2, DefaultValue = "0")] public decimal TEU { get; set; } /// /// 状态 0启用 1禁用 /// [SugarColumn(ColumnDescription = "状态", DefaultValue = "0")] public StatusEnum? Status { get; set; } = StatusEnum.Enable; }