using Myshipping.Application.Service.BookingOrder.Dto; using Myshipping.Core; using Newtonsoft.Json.Linq; using SqlSugar; using System; using System.Collections.Generic; using System.ComponentModel; using System.ComponentModel.DataAnnotations; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Myshipping.Application.Service.BookingSlot.Dto { /// /// 查询条件 /// public class BookingSlotBasePageInput : PageInputBase { /// /// 舱位提单号 /// public string SLOT_BOOKING_NO { get; set; } /// /// 船名 /// public string VESSEL { get; set; } /// /// 航次号 /// public string VOYNO { get; set; } /// /// 预计开船日期起始 /// public DateTime? ETD_START { get; set; } /// /// 预计开船日期截至 /// public DateTime? ETD_END { get; set; } /// /// 预计到港日期起始 /// public DateTime? ETA_START { get; set; } /// /// 预计到港日期截至 /// public DateTime? ETA_END { get; set; } /// /// 装货港 /// public string PORTLOAD { get; set; } /// /// 卸货港 /// public string PORTDISCHARGE { get; set; } /// /// 船公司 /// public string CARRIER { get; set; } /// /// 航线名称(船公司) /// public string LANENAME { get; set; } /// /// 承运方式 DIRECT_SHIP-直达;TRANSFER_SHIP-中转 /// public string CARRIAGE_TYPE { get; set; } /// /// 订舱方式 CONTRACT_ORDER-合约订舱;SPOT_ORDER-SPOT订舱 /// public string BOOKING_SLOT_TYPE { get; set; } /// /// 签单方式 ORIGINAL-正本;TELEX-电放;SEAWAY BILL-海运单; /// public string ISSUETYPE { get; set; } /// /// 箱型箱量 /// public string CTN_STAT { get; set; } /// /// VGM回执 /// public string VGM_RLT_STAT { get; set; } /// /// SI回执 /// public string SI_RLT_STAT { get; set; } /// /// 舱位状态 0-全部 1-未取消 2:已取消 /// public int STATUS { get; set; } /// /// 创建者名称 /// public string CreatedUserName { get; set; } /// /// 修改者名称 /// public string UpdatedUserName { get; set; } /// /// 合约号 /// public string CONTRACT_NO { get; set; } /// /// 周数 /// public string WEEK_AT { get; set; } /// /// 标签Id列表 /// public long[] LabelIdArray { get; set; } } /// /// dto基类 /// public class BookingSlotBaseDto { /// /// 舱位提单号 /// [Description("舱位提单号")] public string SLOT_BOOKING_NO { get; set; } /// /// 合约号 /// [Description("合约号")] public string CONTRACT_NO { get; set; } /// /// 订舱抬头 /// [Description("订舱抬头")] public string BOOKING_PARTY { 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 PLACERECEIPTID { get; set; } /// /// 收货地 /// [Description("收货地")] public string PLACERECEIPT { get; set; } /// /// 交货地代码 /// [Description("交货地代码")] public string PLACEDELIVERYID { get; set; } /// /// 交货地 /// [Description("交货地")] public string PLACEDELIVERY { get; set; } /// /// 装货港代码 /// [Description("装货港代码")] public string PORTLOADID { get; set; } /// /// 装货港 /// [Description("装货港")] public string PORTLOAD { get; set; } /// /// 卸货港代码 /// [Description("卸货港代码")] public string PORTDISCHARGEID { get; set; } /// /// 卸货港 /// [Description("卸货港")] public string PORTDISCHARGE { get; set; } /// /// 卸货港国家代码 /// [Description("卸货港国家代码")] public string PORTDISCHARGE_COUNTRY_CODE { get; set; } /// /// 卸货港国家名称 /// [Description("卸货港国家名称")] public string PORTDISCHARGE_COUNTRY { get; set; } /// /// 中转港1 /// [Description("中转港1")] public string TRANSFER_PORT_1 { get; set; } /// /// 中转港2 /// [Description("中转港2")] public string TRANSFER_PORT_2 { get; set; } /// /// 船公司代号 /// [Description("船公司代号")] public string CARRIERID { 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 CARRIAGE_TYPE { get; set; } /// /// 承运方式名称 CONTRACT_ORDER-合约订舱;SPOT_ORDER-SPOT订舱 /// [Description("承运方式名称 CONTRACT_ORDER-合约订舱;SPOT_ORDER-SPOT订舱")] public string CARRIAGE_TYPE_NAME { get; set; } /// /// 订舱方式 CONTRACT_ORDER-合约订舱;SPOT_ORDER-SPOT订舱 /// [Description("订舱方式 CONTRACT_ORDER-合约订舱;SPOT_ORDER-SPOT订舱")] public string BOOKING_SLOT_TYPE { get; set; } /// /// 订舱方式名称 CONTRACT_ORDER-合约订舱;SPOT_ORDER-SPOT订舱 /// [Description("订舱方式名称 CONTRACT_ORDER-合约订舱;SPOT_ORDER-SPOT订舱")] public string BOOKING_SLOT_TYPE_NAME { get; set; } /// /// 签单方式 ORIGINAL-正本;TELEX-电放;SEAWAY BILL-海运单; /// [Description("签单方式 ORIGINAL-正本;TELEX-电放;SEAWAY BILL-海运单;")] public string ISSUETYPE { get; set; } /// /// 箱型箱量 /// [Description("箱型箱量")] public string CTN_STAT { get; set; } /// /// 所在周数 /// [Description("所在周数")] public string WEEK_AT { get; set; } /// /// 箱使天数 /// [Description("箱使天数")] public int? DETENSION_FREE_DAYS { get; set; } /// /// 样单截止日期 /// [Description("样单截止日期")] public DateTime? SI_CUT_DATE { get; set; } /// /// 截港时间 /// [Description("截港时间")] public DateTime? CY_CUT_DATE { get; set; } /// /// VGM截止日期 /// [Description("VGM截止日期")] public DateTime? VGM_SUBMISSION_CUT_DATE { get; set; } /// /// MDGF提交截止时间 /// [Description("MDGF提交截止时间")] public DateTime? MDGF_CUT_DATE { get; set; } /// /// 舱单截止时间 /// [Description("舱单截止时间")] public DateTime? MANIFEST_CUT_DATE { get; set; } /// /// 是否Cancellation /// [Description("是否Cancellation")] public bool IS_CANCELLATION { get; set; } /// /// Cancellation时间 /// [Description("Cancellation时间")] public DateTime? CANCELLATION_DATE { get; set; } /// /// 客户样单截止日期 /// [Description("客户样单截止日期")] public Nullable CUSTOM_SI_CUT_DATE { get; set; } /// /// 备注 /// [Description("备注")] public string REMARK { get; set; } /// /// 计费日期 /// [Description("计费日期")] public DateTime? PRICE_CALCULATION_DATE { get; set; } /// /// 舱位关联的订舱信息 /// public List BookingSlotSaleInfoList { get; set; } } /// /// 保存舱位输入 /// public class BookingSlotBaseSaveInput : BookingSlotBaseDto { /// /// Id /// public long Id { get; set; } /// /// 舱位箱信息 /// public List CtnList { get; set; } } /// /// 舱位台账列表保存输入 /// public class BookingSlotBaseSaveDataInListInputDto { /// /// 舱位信息 /// public JObject SlotBase { get; set; } /// /// 关联订单的销售信息 /// public JObject SlotSaleInfo { get; set; } } /// /// 保存舱位输出 /// public class BookingSlotBaseSaveOutput : BookingSlotBaseSaveInput { /// /// 日志 /// public List LogList { get; set; } } public class BookingSlotBaseListOutput : BookingSlotBaseDto { /// /// Id /// public long Id { get; set; } /// /// VGM回执 /// [Description("VGM回执")] public string VGM_RLT_STAT { get; set; } /// /// SI回执 /// [Description("SI回执")] public string SI_RLT_STAT { get; set; } /// /// 提箱回执 /// [Description("提箱回执")] public string TAKE_CTN_RLT_STAT { get; set; } /// /// 还箱回执 /// [Description("还箱回执")] public string RETURN_CTN_RLT_STAT { get; set; } /// /// 预甩回执 /// [Description("预甩回执")] public string NOMINATION_RLT_STAT { get; set; } /// /// 舱位变更回执 /// [Description("舱位变更回执")] public string AMENDMENT_RLT_STAT { get; set; } /// /// 舱位取消回执 /// [Description("舱位取消回执")] public string CANCELLATION_RLT_STAT { get; set; } /// /// 目的港卸船未提货回执 /// [Description("目的港卸船未提货回执")] public string DISCHARGE_FULL_RLT_STAT { get; set; } /// /// 目的港提箱未还空箱回执 /// [Description("目的港提箱未还空箱回执")] public string GATE_OUTFULL_RLT_STAT { get; set; } /// /// 创建时间 /// public DateTime? CreatedTime { get; set; } /// /// 更新时间 /// public DateTime? UpdatedTime { get; set; } /// /// 创建者名称 /// [MaxLength(20)] public string CreatedUserName { get; set; } /// /// 修改者名称 /// public string UpdatedUserName { get; set; } } /// /// API接收保存舱位dto /// public class BookingSlotBaseApiSaveDto : BookingSlotBaseDto { /// /// 舱位箱信息 /// public List CtnList { get; set; } } /// /// API接收对象 /// public class BookingSlotBaseApiDto { /// /// 操作类型,add 新增、update 更新、del 删除取消 /// public string OpType { get; set; } /// /// 数据对象 /// public BookingSlotBaseApiSaveDto DataObj { get; set; } /// /// 批次号 /// public string BatchNo { get; set; } } /// /// 舱位基础信息含箱信息列表Dto /// public class BookingSlotBaseWithCtnDto : BookingSlotBaseDto { /// /// Id /// public long Id { get; set; } /// /// 舱位箱信息 /// public List CtnList { get; set; } } /// /// 舱位销售信息 /// public class BookingSlotSaleInfoDto { /// /// 关联关系主键 /// public long Id { get; set; } /// /// 订舱主键 /// public long BOOKING_ID { get; set; } /// /// 舱位主键 /// public long BOOKING_SLOT_ID { get; set; } /// /// 客户ID /// public long? 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; } /// /// 销售日期 /// public DateTime? SALE_TIME { get; set; } /// /// 发货人 /// public string SHIPPER { get; set; } /// /// 品名 /// public string GOODSNAME { get; set; } /// /// 卖价 /// public decimal? SELLING_PRICE { get; set; } /// /// 修改标记,前端提供给后端判断是否更新 /// public bool UpdateFlag { get; set; } } }