using DS.Module.Core; using DS.Module.Core.Data; using SqlSugar; namespace DS.WMS.ContainerManagement.Info.Entity; /// /// 集装箱当前状态 /// [SqlSugar.SugarTable("CM_CurrentState", "箱管_当前状态")] public class CM_CurrentState : BaseOrgModel { /// /// Desc:集装箱号 /// [SugarColumn(ColumnDescription = "集装箱号", IsNullable = false, Length = 20)] public string Cntrno { get; set; } /// /// Desc:箱型 /// [SugarColumn(ColumnDescription = "箱型", IsNullable = false, Length = 20)] public string Ctnall { get; set; } /// /// Desc:新旧箱 空白/used/new /// [SugarColumn(ColumnDescription = "新旧箱", IsNullable = true, Length = 20)] public string UsedState { get; set; } /// /// Desc:箱主 /// [SugarColumn(ColumnDescription = "箱主", IsNullable = true, Length = 50)] public string CtnOwner { get; set; } /// /// Desc:业务所属分部 /// [SugarColumn(ColumnDescription = "业务所属分部", IsNullable = true, Length = 50)] public string Corpid { get; set; } /// /// Desc:箱来源: 自有箱/短租租入/长租租入/买箱 /// [SugarColumn(ColumnDescription = "箱来源", IsNullable = true, Length = 20)] public string CtnSource { get; set; } /// /// Desc:箱业务状态: 短租租出 长租租出 单程 卖箱 /// [SugarColumn(ColumnDescription = "箱业务状态", IsNullable = true, DefaultValue = "")] public string CtnBizState { get; set; } = "0"; /// /// Desc:箱业务编号:当前 /// [SugarColumn(ColumnDescription = "箱业务编号", IsNullable = true, Length = 50)] public string Billno { get; set; } /// /// Desc:关联放箱单号 /// [SugarColumn(ColumnDescription = "关联放箱单号", IsNullable = true, Length = 50)] public string CtnReleaseNo { get; set; } /// /// Desc:箱状态 /// [SugarColumn(ColumnDescription = "箱状态", IsNullable = true, Length = 20)] public string CtnState { get; set; } /// /// Desc:箱损坏/维修状态 /// [SugarColumn(ColumnDescription = "箱损坏/维修状态", IsNullable = true, Length = 20)] public string CtnBreakState { get; set; } /// /// Desc:是否上线(是否管理中) /// [SugarColumn(ColumnDescription = "是否上线", IsNullable = true, DefaultValue = "0")] public Int16? IsOnline { get; set; } = 0; /// /// Desc:空重箱 /// [SugarColumn(ColumnDescription = "空重箱", IsNullable = true, DefaultValue = "0")] public bool? IsHeavy { get; set; } = false; /// /// Desc:当前港口 /// [SugarColumn(ColumnDescription = "当前港口", IsNullable = true, Length = 50)] public string Portid { get; set; } /// /// Desc:码头或场站 /// [SugarColumn(ColumnDescription = "码头或场站", IsNullable = true, Length = 50)] public string Depot { get; set; } /// /// Desc:运输工具 /// [SugarColumn(ColumnDescription = "运输工具", IsNullable = true, Length = 50)] public string VehicleName { get; set; } /// /// Desc:当前业务编号 /// [SugarColumn(ColumnDescription = "当前业务编号", IsNullable = true, Length = 50)] public string Mblno { get; set; } /// /// Desc:业务委托单位 /// [SugarColumn(ColumnDescription = "业务委托单位", IsNullable = true, Length = 50)] public string CustomerName { get; set; } /// /// Desc:ETD /// [SugarColumn(ColumnDescription = "ETD", IsNullable = true)] public DateTime? ETD { get; set; } /// /// Desc:ETD /// [SugarColumn(ColumnDescription = "ETA", IsNullable = true)] public DateTime? ETA { get; set; } /// /// Desc:状态时间 /// [SugarColumn(ColumnDescription = "状态时间", IsNullable = true)] public DateTime? StateTime { get; set; } }