using DS.Module.Core; using DS.Module.Core.Data; using DS.Module.Core.Enums; using SqlSugar; namespace DS.WMS.ContainerManagement.Info.Entity; /// /// 箱管_单程业务 /// [SqlSugar.SugarTable("CM_RentOneWay", "箱管_单程业务")] public class CM_RentOneWay : BaseOrgModelV2 { /// /// Desc:租箱业务号 /// [SugarColumn(ColumnDescription = "租箱业务号", IsNullable = false, Length = 20)] public string Billno { get; set; } /// /// Desc:租箱业务 租入 租入退租 租出 租出退租 CMRentDirectEnum /// [SugarColumn(ColumnDescription = "租箱业务Id", IsNullable = false, Length = 20)] public CMRentDirectEnum? RentDirectId { get; set; } /// /// Desc:租箱类型 1长租 0短租 2单程 CMRentTypeEnum /// [SugarColumn(ColumnDescription = "租箱类型Id", IsNullable = true, Length = 20)] public CMRentTypeEnum? RentTypeId { get; set; } /// /// Desc:业务状态 /// [SugarColumn(ColumnDescription = "业务状态", IsNullable = true, Length = 20)] public string BillState { get; set; } /// /// Desc:原箱主Id /// [SqlSugar.SugarColumn(ColumnDescription = "原箱主Id", IsNullable = true, DefaultValue = "0")] public long OldContainerOwnerId { get; set; } /// /// Desc:原箱主 /// [SugarColumn(ColumnDescription = "原箱主", IsNullable = true, Length = 50)] public string OldContainerOwner { get; set; } /// /// Desc:租箱客户Id /// [SqlSugar.SugarColumn(ColumnDescription = "租箱客户Id", IsNullable = true, DefaultValue = "0")] public long RentCustomerId { get; set; } /// /// Desc:租箱客户 /// [SugarColumn(ColumnDescription = "租箱客户", IsNullable = true, Length = 50)] public string RentCustomerName { get; set; } /// /// Desc:业务日期 /// [SugarColumn(ColumnDescription = "业务日期", IsNullable = true)] public DateTime? Bsdate { get; set; } /// /// Desc:会计期间 /// [SugarColumn(ColumnDescription = "会计期间", IsNullable = true, Length = 7)] public string Accdate { get; set; } /// /// Desc:是否业务锁定 /// [SugarColumn(ColumnDescription = "是否业务锁定", IsNullable = false, DefaultValue = "0")] public bool? IsBusinessLocking { get; set; } = false; /// /// Desc:是否费用锁定 /// [SugarColumn(ColumnDescription = "是否费用锁定", IsNullable = false, DefaultValue = "0")] public bool? IsFeeLocking { get; set; } = false; /// /// Desc:提箱港口代码 /// [SugarColumn(ColumnDescription = "提箱港口代码", IsNullable = true, Length = 20)] public long? PickupPortid { get; set; } /// /// Desc:提箱港口五字码 /// [SugarColumn(ColumnDescription = "提箱港口五字码", IsNullable = true, Length = 10)] public string PickupPortCode { get; set; } /// /// Desc:提箱港口 /// [SugarColumn(ColumnDescription = "提箱港口", IsNullable = true, Length = 100)] public string PickupPort { get; set; } /// /// Desc:还箱港口代码 /// [SugarColumn(ColumnDescription = "还箱港口代码", IsNullable = true, Length = 20)] public long? DropoffPortid { get; set; } /// /// Desc:还箱港口五字码 /// [SugarColumn(ColumnDescription = "还箱港口五字码", IsNullable = true, Length = 20)] public string DropoffPortCode { get; set; } /// /// Desc:还箱港口 /// [SugarColumn(ColumnDescription = "还箱港口", IsNullable = true, Length = 100)] public string DropoffPort { 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, Length = 50)] public string Mblno { get; set; } /// /// Desc:备注 /// [SugarColumn(ColumnDescription = "备注", IsNullable = true, Length = 500)] public string Remark { get; set; } /// /// Desc:所有箱号 /// [SugarColumn(ColumnDescription = "所有箱号", IsNullable = true, ColumnDataType = StaticConfig.CodeFirst_BigString)] public string CntrnoAll { get; set; } /// /// Desc:全部箱 /// [SugarColumn(ColumnDescription = "全部箱", IsNullable = true, Length = 200)] public string Ctntotal { get; set; } /// /// Desc:已提箱 /// [SugarColumn(ColumnDescription = "已提箱", IsNullable = true, Length = 200)] public string PickupCtntotal { get; set; } /// /// Desc:未提箱 /// [SugarColumn(ColumnDescription = "未提箱", IsNullable = true, Length = 200)] public string PickupRemainCtntotal { get; set; } /// /// Desc:已还箱 /// [SugarColumn(ColumnDescription = "已还箱", IsNullable = true, Length = 200)] public string DropoffCtntotal { get; set; } /// /// Desc:未还箱 /// [SugarColumn(ColumnDescription = "未还箱", IsNullable = true, Length = 200)] public string DropoffRemainCtntotal { get; set; } }