From b1da946025633328f083f12b3fb8bb5615200029 Mon Sep 17 00:00:00 2001 From: jianghaiqing Date: Mon, 4 Nov 2024 09:25:25 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9E=E8=88=B1=E4=BD=8D=E7=9A=84?= =?UTF-8?q?=E7=94=A9=E8=B4=A7=E6=88=96=E6=8D=A2=E8=88=B1=E4=BF=A1=E6=81=AF?= =?UTF-8?q?=E8=A1=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Entity/BookingSlot/BookingSlotRolling.cs | 118 ++++++++++++++++++ ds-wms-service/DS.WMS.Test/SaasTest.cs | 2 +- 2 files changed, 119 insertions(+), 1 deletion(-) create mode 100644 ds-wms-service/DS.WMS.Core/Op/Entity/BookingSlot/BookingSlotRolling.cs diff --git a/ds-wms-service/DS.WMS.Core/Op/Entity/BookingSlot/BookingSlotRolling.cs b/ds-wms-service/DS.WMS.Core/Op/Entity/BookingSlot/BookingSlotRolling.cs new file mode 100644 index 00000000..ff8b3a78 --- /dev/null +++ b/ds-wms-service/DS.WMS.Core/Op/Entity/BookingSlot/BookingSlotRolling.cs @@ -0,0 +1,118 @@ +using DS.Module.Core.Data; +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace DS.WMS.Core.Op.Entity +{ + /// + /// 舱位甩货或换舱信息 + /// + [SqlSugar.SugarTable("op_sea_booking_slot_rolling", "舱位甩货或换舱信息")] + public class BookingSlotRolling : BaseModel + { + /// + /// 舱位主键 + /// + [SqlSugar.SugarColumn(ColumnDescription = "舱位主键", IsNullable = false)] + public long SlotId { get; set; } + + /// + /// 延期原因类型(Rolling-甩货,Change-换舱) + /// + [SqlSugar.SugarColumn(ColumnDescription = "延期原因类型(Rolling-甩货,Change-换舱)", Length = 20, IsNullable = false)] + public string DelayReasonType { get; set; } + + /// + /// 延期原因名称(Rolling-甩货,Change-换舱) + /// + [SqlSugar.SugarColumn(ColumnDescription = "延期原因名称(Rolling-甩货,Change-换舱)", Length = 30, IsNullable = false)] + public string DelayReasonTypeName { get; set; } + + /// + /// 延期次数 + /// + [SqlSugar.SugarColumn(ColumnDescription = "延期次数", IsNullable = false)] + public int DelayNum { get; set; } + + /// + /// 船名 + /// + [SqlSugar.SugarColumn(ColumnDescription = "船名", Length = 30, IsNullable = true)] + public string Vessel { get; set; } + + /// + /// 航次号 + /// + [SqlSugar.SugarColumn(ColumnDescription = "航次号", Length = 20, IsNullable = true)] + public string Voyno { get; set; } + + /// + /// 船公司ID + /// + [SqlSugar.SugarColumn(ColumnDescription = "船公司ID", IsNullable = true)] + public Nullable CarrierId { get; set; } + + /// + /// 船公司代码 + /// + [SqlSugar.SugarColumn(ColumnDescription = "船公司代码", Length = 20, IsNullable = true)] + public string CarrierCode { get; set; } + + /// + /// 船公司 + /// + [SqlSugar.SugarColumn(ColumnDescription = "船公司", Length = 20, IsNullable = true)] + public string Carrier { get; set; } + + /// + /// 预计开船日期 + /// + [SqlSugar.SugarColumn(ColumnDescription = "预计开船日期", IsNullable = true)] + public Nullable ETD { get; set; } + + /// + /// 预计到港日期 + /// + [SqlSugar.SugarColumn(ColumnDescription = "预计到港日期", IsNullable = true)] + public Nullable ETA { get; set; } + + /// + /// 装货港代码 + /// + [SqlSugar.SugarColumn(ColumnDescription = "装货港代码", Length = 10, IsNullable = true)] + public string PortLoadCode { get; set; } + + /// + /// 装货港主键 + /// + [SqlSugar.SugarColumn(ColumnDescription = "装货港主键", IsNullable = true)] + public Nullable PortLoadId { get; set; } + + /// + /// 装货港 + /// + [SqlSugar.SugarColumn(ColumnDescription = "装货港", Length = 120, IsNullable = true)] + public string PortLoad { get; set; } + + /// + /// 卸货港代码 + /// + [SqlSugar.SugarColumn(ColumnDescription = "卸货港代码", Length = 10, IsNullable = true)] + public string PortDischargeCode { get; set; } + + /// + /// 卸货港主键 + /// + [SqlSugar.SugarColumn(ColumnDescription = "卸货港主键", IsNullable = true)] + public Nullable PortDischargeId { get; set; } + + /// + /// 卸货港 + /// + [SqlSugar.SugarColumn(ColumnDescription = "卸货港", Length = 120, IsNullable = true)] + public string PortDischarge { get; set; } + } +} diff --git a/ds-wms-service/DS.WMS.Test/SaasTest.cs b/ds-wms-service/DS.WMS.Test/SaasTest.cs index 6695a8cc..f53fd27a 100644 --- a/ds-wms-service/DS.WMS.Test/SaasTest.cs +++ b/ds-wms-service/DS.WMS.Test/SaasTest.cs @@ -220,7 +220,7 @@ public class SaasTest //tenantDb.CodeFirst.InitTables(typeof(BookingSlotBase)); //tenantDb.CodeFirst.InitTables(typeof(BookingSlotCtn)); //tenantDb.CodeFirst.InitTables(typeof(BookingSlotStock)); - tenantDb.CodeFirst.InitTables(typeof(BLIssueManageLog)); + tenantDb.CodeFirst.InitTables(typeof(BookingSlotRolling)); //tenantDb.CodeFirst.InitTables(typeof(DraftCompareFeedBackRecord)); //tenantDb.CodeFirst.InitTables(typeof(BookingSlotAllocationCtn)); //tenantDb.CodeFirst.InitTables(typeof(BookingSlotDemand));