using DS.Module.Core.Data; using SqlSugar; 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_allocation", "舱位分配表")] public class BookingSlotAllocation : BaseModel { /// /// 舱位主键 /// [SqlSugar.SugarColumn(ColumnDescription = "舱位主键", IsNullable = false)] public long BookingSlotId { get; set; } /// /// 订舱主键,关联订舱主表ID /// [SqlSugar.SugarColumn(ColumnDescription = "订舱主键", IsNullable = true)] public long BookingId { get; set; } /// /// 舱位提单号 /// [SqlSugar.SugarColumn(ColumnDescription = "舱位提单号", Length = 64, IsNullable = true)] public string SlotBookingNo { get; set; } /// /// 订舱编号 /// [SqlSugar.SugarColumn(ColumnDescription = "订舱编号", Length = 64, IsNullable = true)] public string SlotNo { get; set; } /// /// 分配提单号 /// [SqlSugar.SugarColumn(ColumnDescription = "分配提单号", Length = 64, IsNullable = true)] public string AlloBillNo { get; set; } /// /// 最终提单号,分票后船公司重新分配提单号 /// [SqlSugar.SugarColumn(ColumnDescription = "最终提单号", Length = 64, IsNullable = true)] public string FinalBillNo { get; set; } /// /// 合约号 /// [SqlSugar.SugarColumn(ColumnDescription = "合约号", Length = 64, IsNullable = true)] public string ContractNo { get; set; } /// /// 订舱抬头 /// [SqlSugar.SugarColumn(ColumnDescription = "订舱抬头", Length = 120, IsNullable = true)] public string BookingParty { 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; } /// /// 预计开船日期 /// [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 PlaceReceiptId { get; set; } /// /// 收货地名称 /// [SqlSugar.SugarColumn(ColumnDescription = "收货地名称", Length = 120, IsNullable = true)] public string PlaceReceipt { get; set; } /// /// 交货地代码 /// [SqlSugar.SugarColumn(ColumnDescription = "交货地代码", Length = 10, IsNullable = true)] public string PlaceDeliveryId { get; set; } /// /// 交货地名称 /// [SqlSugar.SugarColumn(ColumnDescription = "交货地名称", Length = 120, IsNullable = true)] public string PlaceDelivery { get; set; } /// /// 装货港代码 /// [SqlSugar.SugarColumn(ColumnDescription = "装货港代码", Length = 10, IsNullable = true)] public string PortLoadId { get; set; } /// /// 装货港 /// [SqlSugar.SugarColumn(ColumnDescription = "装货港", Length = 120, IsNullable = true)] public string PortLoad { get; set; } /// /// 卸货港代码 /// [SqlSugar.SugarColumn(ColumnDescription = "卸货港代码", Length = 10, IsNullable = true)] public string PortDischargeId { get; set; } /// /// 卸货港 /// [SqlSugar.SugarColumn(ColumnDescription = "卸货港", Length = 120, IsNullable = true)] public string PortDischarge { get; set; } /// /// 中转港1 /// [SqlSugar.SugarColumn(ColumnDescription = "中转港1", Length = 120, IsNullable = true)] public string TransferPort1 { get; set; } /// /// 中转港2 /// [SqlSugar.SugarColumn(ColumnDescription = "中转港2", Length = 120, IsNullable = true)] public string TransferPort2 { 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 = "航线代码(船公司)", Length = 40, IsNullable = true)] public string LaneCode { get; set; } /// /// 航线名称(船公司) /// [SqlSugar.SugarColumn(ColumnDescription = "航线名称(船公司)", Length = 100, IsNullable = true)] public string LaneName { get; set; } /// /// 承运方式 DIRECT_SHIP-直达;TRANSFER_SHIP-中转 /// [SqlSugar.SugarColumn(ColumnDescription = "承运方式 DIRECT_SHIP-直达;TRANSFER_SHIP-中转", Length = 20, IsNullable = true)] public string CarriageType { get; set; } /// /// 承运方式名称 CONTRACT_ORDER-合约订舱;SPOT_ORDER-SPOT订舱 /// [SqlSugar.SugarColumn(ColumnDescription = "承运方式名称 CONTRACT_ORDER-合约订舱;SPOT_ORDER-SPOT订舱", Length = 40, IsNullable = true)] public string CarriageTypeName { get; set; } /// /// 订舱方式 CONTRACT_ORDER-合约订舱;SPOT_ORDER-SPOT订舱 /// [SqlSugar.SugarColumn(ColumnDescription = "订舱方式 CONTRACT_ORDER-合约订舱;SPOT_ORDER-SPOT订舱", Length = 20, IsNullable = true)] public string BookingSlotType { get; set; } /// /// 订舱方式名称 CONTRACT_ORDER-合约订舱;SPOT_ORDER-SPOT订舱 /// [SqlSugar.SugarColumn(ColumnDescription = "订舱方式名称 CONTRACT_ORDER-合约订舱;SPOT_ORDER-SPOT订舱", Length = 40, IsNullable = true)] public string BookingSlotTypeName { get; set; } /// /// 签单方式 ORIGINAL-正本;TELEX-电放;SEAWAY BILL-海运单; /// [SqlSugar.SugarColumn(ColumnDescription = "签单方式 ORIGINAL-正本;TELEX-电放;SEAWAY BILL-海运单;", Length = 20, IsNullable = true)] public string IssueType { get; set; } /// /// 箱型箱量 /// [SqlSugar.SugarColumn(ColumnDescription = "箱型箱量", Length = 20, IsNullable = true)] public string CtnStat { get; set; } /// /// 所在周数 /// [SqlSugar.SugarColumn(ColumnDescription = "所在周数", IsNullable = true)] public Nullable WeekAt { get; set; } /// /// 箱使天数 /// [SqlSugar.SugarColumn(ColumnDescription = "箱使天数", IsNullable = true)] public Nullable DetensionFreeDays { get; set; } /// /// 样单截止日期 /// [SqlSugar.SugarColumn(ColumnDescription = "样单截止日期", IsNullable = true)] public Nullable SICutDate { get; set; } /// /// 截港时间 /// [SqlSugar.SugarColumn(ColumnDescription = "样单截止日期", IsNullable = true)] public Nullable CYCutDate { get; set; } /// /// VGM截止日期 /// [SqlSugar.SugarColumn(ColumnDescription = "VGM截止日期", IsNullable = true)] public Nullable VGMSubmissionCutDate { get; set; } /// /// MDGF提交截止时间 /// [SqlSugar.SugarColumn(ColumnDescription = "MDGF提交截止时间", IsNullable = true)] public Nullable MDGFCutDate { get; set; } /// /// 舱单截止时间 /// [SqlSugar.SugarColumn(ColumnDescription = "舱单截止时间", IsNullable = true)] public Nullable ManifestCutDate { get; set; } /// /// 客户ID /// [SqlSugar.SugarColumn(ColumnDescription = "客户ID", IsNullable = true)] public Nullable CustomerId { get; set; } /// /// 客户名称 /// [SqlSugar.SugarColumn(ColumnDescription = "客户名称", Length = 20, IsNullable = true)] public string CustomerName { get; set; } /// /// 客服ID /// [SqlSugar.SugarColumn(ColumnDescription = "客服ID", Length = 40, IsNullable = true)] public string CustServiceId { get; set; } /// /// 客服名称 /// [SqlSugar.SugarColumn(ColumnDescription = "客服名称", Length = 40, IsNullable = true)] public string CustService { get; set; } /// /// 销售ID /// [SqlSugar.SugarColumn(ColumnDescription = "销售ID", Length = 40, IsNullable = true)] public string SaleId { get; set; } /// /// 销售名称 /// [SqlSugar.SugarColumn(ColumnDescription = "销售名称", Length = 40, IsNullable = true)] public string Sale { get; set; } /// /// 操作id /// [SqlSugar.SugarColumn(ColumnDescription = "操作ID", Length = 40, IsNullable = true)] public string OpId { get; set; } /// /// 操作 /// [SqlSugar.SugarColumn(ColumnDescription = "操作", Length = 40, IsNullable = true)] public string Op { get; set; } /// /// 单证id /// [SqlSugar.SugarColumn(ColumnDescription = "单证ID", Length = 40, IsNullable = true)] public string DocId { get; set; } /// /// 单证 /// [SqlSugar.SugarColumn(ColumnDescription = "单证", Length = 40, IsNullable = true)] public string Doc { get; set; } /// /// 商务ID /// [SqlSugar.SugarColumn(ColumnDescription = "商务ID", Length = 40, IsNullable = true)] public string BusinessId { get; set; } /// /// 商务 /// [SqlSugar.SugarColumn(ColumnDescription = "商务", Length = 40, IsNullable = true)] public string Business { get; set; } /// /// 销售日期 /// [SqlSugar.SugarColumn(ColumnDescription = "销售日期", IsNullable = true)] public Nullable SaleTime { get; set; } /// /// 发货人 /// [SqlSugar.SugarColumn(ColumnDescription = "发货人", Length = 100, IsNullable = true)] public string Shipper { get; set; } /// /// 品名 /// [SqlSugar.SugarColumn(ColumnDescription = "品名", Length = 60, IsNullable = true)] public string GoodsName { get; set; } /// /// 卖价 /// [SqlSugar.SugarColumn(ColumnDescription = "品名", Length = 19, DecimalDigits = 2, IsNullable = true)] public Nullable SellingPrice { get; set; } /// /// 拆票或合票标记 1-拆票 2-合票 /// [SqlSugar.SugarColumn(ColumnDescription = "拆票或合票标记 1-拆票 2-合票", IsNullable = true,DefaultValue = "0")] public Nullable SplitOrMergeFlag { get; set; } } }