using SqlSugar; using System; using System.Collections.Generic; using System.ComponentModel; using System.Linq; using System.Text; using System.Threading.Tasks; namespace DS.WMS.Core.Op.Dtos { public class BookingSlotBaseSaveOutput : BookingSlotBaseSaveInput { /// /// 日志 /// public List LogList { get; set; } } public class BookingSlotBaseSaveInput : BookingSlotBaseDto { /// /// Id /// public long Id { get; set; } /// /// 舱位箱信息 /// public List CtnList { get; set; } /// /// 舱位用途列表 /// public List UseToList { get; set; } } /// /// dto基类 /// public class BookingSlotBaseDto { /// /// 舱位提单号 /// [Description("舱位提单号")] public string SlotBookingNo { get; set; } /// /// 订舱编号 /// [Description("订舱编号")] public string SlotNo { get; set; } /// /// 合约号 /// [Description("合约号")] public string ContractNo { get; set; } /// /// 订舱抬头 /// [Description("订舱抬头")] public string BookingParty { get; set; } /// /// 船名 /// [Description("船名")] public string Vessel { get; set; } /// /// 航次号 /// [Description("航次号")] public string Voyno { get; set; } /// /// 预计开船日期 /// [Description("预计开船日期")] public DateTime? ETD { get; set; } /// /// 预计到港日期 /// [Description("预计到港日期")] public DateTime? ETA { get; set; } /// /// 收货地代码 /// [Description("收货地代码")] public string PlaceReceiptCode { get; set; } /// /// 收货地主键 /// [Description("收货地主键")] public Nullable PlaceReceiptId { get; set; } /// /// 收货地 /// [Description("收货地")] public string PlaceReceipt { get; set; } /// /// 交货地代码 /// [Description("交货地代码")] public string PlaceDeliveryCode { get; set; } /// /// 交货地主键 /// public Nullable PlaceDeliveryId { get; set; } /// /// 交货地 /// [Description("交货地")] public string PlaceDelivery { get; set; } /// /// 装货港代码 /// [Description("装货港代码")] public string PortLoadCode { get; set; } /// /// 装货港主键 /// public Nullable PortLoadId { get; set; } /// /// 装货港 /// [Description("装货港")] public string PortLoad { get; set; } /// /// 卸货港代码 /// [Description("卸货港代码")] public string PortDischargeCode { get; set; } /// /// 卸货港主键 /// public Nullable PortDischargeId { get; set; } /// /// 卸货港 /// [Description("卸货港")] public string PortDischarge { get; set; } /// /// 卸货港国家代码 /// [Description("卸货港国家代码")] public string PortDischargeCountryCode { get; set; } /// /// 卸货港国家名称 /// [Description("卸货港国家名称")] public string PortDischargeCountry { get; set; } /// /// 中转港1 /// [Description("中转港1")] public string TransferPort1 { get; set; } /// /// 中转港2 /// [Description("中转港2")] public string TransferPort2 { get; set; } /// /// 船公司ID /// [Description("船公司ID")] public Nullable CarrierId { get; set; } /// /// 船公司代码 /// [Description("船公司代码")] public string CarrierCode { get; set; } /// /// 船公司 /// [Description("船公司")] public string Carrier { get; set; } /// /// 航线代码(船公司) /// [Description("航线代码(船公司)")] public string LaneCode { get; set; } /// /// 航线名称(船公司) /// [Description("航线名称(船公司)")] public string LaneName { get; set; } /// /// 承运方式 DIRECT_SHIP-直达;TRANSFER_SHIP-中转 /// [Description("承运方式 DIRECT_SHIP-直达;TRANSFER_SHIP-中转")] public string CarriageType { get; set; } /// /// 承运方式名称 CONTRACT_ORDER-合约订舱;SPOT_ORDER-SPOT订舱 /// [Description("承运方式名称 CONTRACT_ORDER-合约订舱;SPOT_ORDER-SPOT订舱")] public string CarriageTypeName { get; set; } /// /// 订舱方式 CONTRACT_ORDER-合约订舱;SPOT_ORDER-SPOT订舱 /// [Description("订舱方式 CONTRACT_ORDER-合约订舱;SPOT_ORDER-SPOT订舱")] public string BookingSlotType { get; set; } /// /// 订舱方式名称 CONTRACT_ORDER-合约订舱;SPOT_ORDER-SPOT订舱 /// [Description("订舱方式名称 CONTRACT_ORDER-合约订舱;SPOT_ORDER-SPOT订舱")] public string BookingSlotTypeName { get; set; } /// /// 签单方式 ORIGINAL-正本;TELEX-电放;SEAWAY BILL-海运单; /// [Description("签单方式 ORIGINAL-正本;TELEX-电放;SEAWAY BILL-海运单;")] public string IssueType { get; set; } /// /// 箱型箱量 /// [Description("箱型箱量")] public string CtnStat { get; set; } /// /// 所在周数 /// [Description("所在周数")] public int? WeekAt { get; set; } /// /// 箱使天数 /// [Description("箱使天数")] public int? DetensionFreeDays { get; set; } /// /// 样单截止日期 /// [Description("样单截止日期")] public DateTime? SICutDate { get; set; } /// /// 截港时间 /// [Description("截港时间")] public DateTime? CYCutDate { get; set; } /// /// VGM截止日期 /// [Description("VGM截止日期")] public DateTime? VGMSubmissionCutDate { get; set; } /// /// MDGF提交截止时间 /// [Description("MDGF提交截止时间")] public DateTime? MDGFCutDate { get; set; } /// /// 舱单截止时间 /// [Description("舱单截止时间")] public DateTime? ManifestCutDate { get; set; } /// /// 是否Cancellation /// [Description("是否Cancellation")] public bool IsCancellation { get; set; } /// /// Cancellation时间 /// [Description("Cancellation时间")] public DateTime? CancellationDate { get; set; } /// /// 客户样单截止日期 /// [Description("客户样单截止日期")] public Nullable CustomSICutDate { get; set; } /// /// 备注 /// [Description("备注")] public string Remark { get; set; } /// /// 计费日期 /// [Description("计费日期")] public DateTime? PriceCalculationDate { get; set; } /// /// 舱位关联的订舱信息 /// public List BookingSlotSaleInfoList { get; set; } /// /// 拆票或合票标记 1-拆票 2-合票 /// [Description("拆票或合票标记")] public Nullable SplitOrMergeFlag { get; set; } /// /// 舱保类型 FULL-全舱保;PART-部分舱保 /// [Description("舱保类型")] public string LoadGuaranteeFlag { get; set; } // /// 舱保类型名称 FULL-全舱保;PART-部分舱保 /// [Description("舱保类型名称")] public string LoadGuaranteeFlagName { get; set; } /// /// 主键ID /// public long Id { get; set; } /// /// 备注 /// public string Note { get; set; } /// /// 创建时间 /// public DateTime CreateTime { get; set; } /// /// 创建人 /// public long CreateBy { get; set; } /// /// 创建人名称 /// public string CreateUserName { get; set; } /// /// 修改人 /// public long UpdateBy { get; set; } /// /// 修改人名称 /// public string UpdateUserName { get; set; } /// /// 更新时间 /// public DateTime UpdateTime { get; set; } /// /// 标签列表 /// public List LabelList { get; set; } /// /// VGM回执 /// public string VGMRltStat { get; set; } /// /// SI回执 /// public string SIRltStat { get; set; } /// /// 提箱回执 /// public string TakeCtnRltStat { get; set; } /// /// 还箱回执 /// public string ReturnCtnRltStat { get; set; } /// /// 预甩回执 /// public string NominationRltStat { get; set; } /// /// BC变更回执 /// public string AmendmentRltStat { get; set; } /// /// BC取消回执 /// public string CancellationRltStat { get; set; } /// /// 目的港卸船未提货回执 /// public string DischargeFullRltStat { get; set; } /// /// 目的港提箱未还空箱回执 /// public string GateOutFullRltStat { get; set; } /// /// 船公司航次 /// public string CarrierVoyno { get; set; } /// /// 提箱场站 /// public string TakeCtnYard { get; set; } /// /// 更新标记 (ORIGINAL-原BC文件 CANCELLATION-取消 REJECTION-拒绝 1ST UPDATE-首次更新 2ND-2次 3RD-3次 4TH..多次) /// public string UpdateFlag { get; set; } /// /// 船公司参考号 /// public string CarrierReferNo { get; set; } /// /// 用户参考号 /// public string UserReferNo { get; set; } /// /// 提单类型(MBL-Master单,HBL-House单) /// public string BLIssueType { get; set; } } /// /// 舱位箱信息保存 /// public class BookingSlotCtnSaveInput : BookingSlotCtnDto { } public class BookingSlotCtnDto { /// /// 箱型代码 /// public string CtnCode { get; set; } /// /// 箱型名称 /// public string CtnAll { get; set; } /// /// 箱量 /// public int CtnNum { get; set; } /// /// 箱号 /// public string CntrNo { get; set; } /// /// 箱封号 /// public string SealNo { get; set; } /// /// 件数 /// public int PKGS { get; set; } /// /// 包装 /// public string KindPKGs { get; set; } /// /// 毛重 /// public decimal KGS { get; set; } /// /// 尺码 /// public decimal CBM { get; set; } /// /// 皮重 /// public decimal TareWeight { get; set; } /// /// 箱状态 /// public string CtnStatus { get; set; } /// /// 称重方式 /// public string WeighType { get; set; } /// /// 称重重量 /// public decimal WeighKGS { get; set; } /// /// 称重联系人 /// public string WeighAttn { get; set; } /// /// 总计箱量 /// public int TotalNum { get; set; } } /// /// 舱位销售信息 /// public class BookingSlotSaleInfoDto { /// /// 关联关系主键 /// public long Id { get; set; } /// /// 订舱主键 /// public long BookingId { get; set; } /// /// 舱位主键 /// public long BookingSlotId { get; set; } /// /// 客户ID /// public Nullable CustomerId { get; set; } /// /// 客户名称 /// public string CustomerName { get; set; } /// /// 客服ID /// public string CustServiceId { get; set; } /// /// 客服名称 /// public string CustService { get; set; } /// /// 销售ID /// public string SaleId { get; set; } /// /// 销售名称 /// public string Sale { get; set; } /// /// 操作id /// public string OpId { get; set; } /// /// 操作 /// public string Op { get; set; } /// /// 单证id /// public string DocId { get; set; } /// /// 单证 /// public string Doc { get; set; } /// /// 商务id /// public string BusinessId { get; set; } /// /// 商务 /// public string Business { get; set; } /// /// 销售日期 /// public Nullable SaleTime { get; set; } /// /// 发货人 /// public string Shipper { get; set; } /// /// 品名 /// public string GoodsName { get; set; } /// /// 卖价 /// public Nullable SellingPrice { get; set; } /// /// 修改标记,前端提供给后端判断是否更新 /// public bool UpdateFlag { get; set; } /// /// 备注 /// public string Note { get; set; } /// /// 创建时间 /// public DateTime CreateTime { get; set; } /// /// 创建人 /// public long CreateBy { get; set; } /// /// 创建人名称 /// public string CreateUserName { get; set; } /// /// 修改人 /// public long UpdateBy { get; set; } /// /// 修改人名称 /// public string UpdateUserName { get; set; } /// /// 更新时间 /// public DateTime UpdateTime { get; set; } } }