using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Myshipping.Application { public class RulesEngineOrderBookingMainInfo { /// /// 项目代码(可以填多个,主要是标识要进行的规则过滤) /// /// ["OCEAN_BOOKING","OCEAN_BOOKING2"] [Required(ErrorMessage = "必填")] public string[] ProjectCode { get; set; } /// /// 业务对象 /// /// "object" public RulesEngineOrderBookingMainBusinessInfo BusinessInfo { get; set; } /// /// 是否返回成功验证的明细(默认只返回失败的明细) /// public bool IsIncludeSucc { get; set; } = false; } public class RulesEngineOrderBookingMainBusinessInfo { /// /// 主提单号 /// public string MasterBlNo { get; set; } /// /// 分提单号 /// public string HouseBlNo { get; set; } /// /// 订舱编号 /// public string BookingNo { get; set; } /// /// 合约号 /// public string ContrNo { get; set; } /// /// 客户合同号 /// public string ServContrNo { get; set; } /// /// 发货人代码 /// public string ShipperId { get; set; } /// /// 收货人代码 /// public string ConsigneeId { get; set; } /// /// 通知人代码 /// public string NotifyPrtId { get; set; } /// /// 发货人 /// public string Shipper { get; set; } /// /// 收货人 /// public string Consignee { get; set; } /// /// 通知人 /// public string NotifyPrt { get; set; } /// /// 第二通知人 /// public string NotifyPrt2 { get; set; } /// /// 场站代码 /// public string YardId { get; set; } /// /// 场站名称 /// public string Yard { get; set; } /// /// 船舶呼号 /// public string VesselId { get; set; } /// /// 船名 /// public string Vessel { get; set; } /// /// 海关航次 /// public string Voyno { get; set; } /// /// 内部航次 /// public string VoynoIn { get; set; } /// /// 开船日期 /// public string ETD { get; set; } /// /// 实际开船日期 /// public string ATD { get; set; } /// /// 预计到港日期 /// public string ETA { get; set; } /// /// 截港日期 /// public string ClosingDate { get; set; } /// /// 截单日期 /// public string CloseDocDate { get; set; } /// /// 截VGM时间 /// public string CloseVGMDate { get; set; } /// /// 收货地代码 /// public string PlaceReceiptId { get; set; } /// /// 收货地 /// public string PlaceReceipt { get; set; } /// /// 起运港代码 /// public string PortLoadId { get; set; } /// /// 起运港 /// public string PortLoad { get; set; } /// /// 卸货港代码 /// public string PortDischargeId { get; set; } /// /// 卸货港 /// public string PortDischarge { get; set; } /// /// 交货地代码 /// public string PlaceDeliveryId { get; set; } /// /// 交货地 /// public string PlaceDelivery { get; set; } /// /// 目的地代码 /// public string DestinationId { get; set; } /// /// 目的地 /// public string Destination { get; set; } /// /// 提单份数 /// public string NoBill { get; set; } /// /// 副本提单份数 /// public string CopyNoBill { get; set; } /// /// 签单方式 1-Seaway 2-正本 3-电放 /// public string IssueType { get; set; } /// /// 签单日期 /// public string IssueDate { get; set; } /// /// 签单地点代码 /// public string IssuePlaceId { get; set; } /// /// 签单地点 /// public string IssuePlace { get; set; } /// /// 付费方式 /// public string Blfrt { get; set; } /// /// 预付地点 /// public string PrepardAt { get; set; } /// /// 到付地点 /// public string PayableAt { get; set; } /// /// 运输条款 /// public string Service { get; set; } /// /// 唛头 /// public string Marks { get; set; } /// /// HS代码 /// public string HsCode { get; set; } /// /// 货描 /// public string GoodsDescription { get; set; } /// /// 件数 /// public Nullable PKGs { get; set; } /// /// 包装 /// public string KindPKGs { get; set; } /// /// 毛重 /// public Nullable KGs { get; set; } /// /// 尺码 /// public Nullable CBM { get; set; } /// /// 件数大写 /// public string TotalNO { get; set; } /// /// 集装箱 /// public string CntrTotal { get; set; } /// /// 船公司代号 /// public string CarrierId { get; set; } /// /// 船公司 /// public string Carrirer { get; set; } /// /// 货物标识 /// public string CargoId { get; set; } /// /// 危险品类别 /// public string DClass { get; set; } /// /// 危险品编号 /// public string DUnno { get; set; } /// /// 危险品页号 /// public string DPage { get; set; } /// /// 危险品标签 /// public string DLabel { get; set; } /// /// 危险品联系人 /// public string DLinkMan { get; set; } /// /// 温度单位 /// public string TempId { get; set; } /// /// 设置温度 /// public string TempSet { get; set; } /// /// 通风度 /// public string Reeferf { get; set; } /// /// 湿度 /// public string Humidity { get; set; } /// /// 最低温度 /// public string TempMin { get; set; } /// /// 最高温度 /// public string TempMax { get; set; } /// /// 是否SOC箱 /// public Nullable IsContaSOC { get; set; } /// /// SO备注 /// public string SORemark { get; set; } /// /// SI备注 /// public string SIRemark { get; set; } /// /// 场站备注 /// public string YardRemark { get; set; } /// /// 公司ID /// public string CompId { get; set; } /// /// 公司名称 /// public string CompName { get; set; } /// /// 发货人名称 /// public string ShipperName { get; set; } /// /// 发货人地址1 /// public string ShipperAddr1 { get; set; } /// /// 发货人地址2 /// public string ShipperAddr2 { get; set; } /// /// 发货人地址3 /// public string ShipperAddr3 { get; set; } /// /// 发货人城市 /// public string ShipperCity { get; set; } /// /// 发货人省份代码 /// public string ShipperProvice { get; set; } /// /// 发货人邮编 /// public string ShipperPostCode { get; set; } /// /// 发货人国家代码 /// public string ShipperCountry { get; set; } /// /// 发货人联系人 /// public string ShipperAttn { get; set; } /// /// 发货人电话 /// public string ShipperTel { get; set; } /// /// 发货人名称 /// public string ConsigneeName { get; set; } /// /// 发货人地址1 /// public string ConsigneeAddr1 { get; set; } /// /// 发货人地址2 /// public string ConsigneeAddr2 { get; set; } /// /// 发货人地址3 /// public string ConsigneeAddr3 { get; set; } /// /// 发货人城市 /// public string ConsigneeCity { get; set; } /// /// 发货人省份代码 /// public string ConsigneeProvince { get; set; } /// /// 发货人邮编 /// public string ConsigneePostCode { get; set; } /// /// 发货人国家代码 /// public string ConsigneeCountry { get; set; } /// /// 发货人联系人 /// public string ConsigneeAttn { get; set; } /// /// 发货人电话 /// public string ConsigneeTel { get; set; } /// /// 通知人名称 /// public string NotifyPartyName { get; set; } /// /// 通知人地址1 /// public string NotifyPartyAddr1 { get; set; } /// /// 通知人地址2 /// public string NotifyPartyAddr2 { get; set; } /// /// 通知人地址3 /// public string NotifyPartyAddr3 { get; set; } /// /// 通知人城市 /// public string NotifyPartyCity { get; set; } /// /// 通知人省份代码 /// public string NotifyPartyProvince { get; set; } /// /// 通知人邮编 /// public string NotifyPartyPostCode { get; set; } /// /// 通知人国家代码 /// public string NotifyPartyCountry { get; set; } /// /// 通知人联系人 /// public string NotifyPartyAttn { get; set; } /// /// 通知人电话 /// public string NotifyPartyTel { get; set; } /// /// PO号 /// public string PONo { get; set; } /// /// 操作id /// public string OPID { get; set; } /// /// 单证id /// public string DOCID { get; set; } /// /// 操作 /// public string OP { get; set; } /// /// 单证 /// public string Doc { get; set; } /// /// 销售ID /// public string SaleId { get; set; } /// /// 销售 /// public string Sale { get; set; } /// /// 客服ID /// public string CustserviceId { get; set; } /// /// 客服 /// public string Custservice{ get; set; } /// /// 客户 /// public string CustserviceName { get; set; } /// /// 订舱代理 /// public string Forwarder { get; set; } /// /// 船代 /// public string ShipAgency { get; set; } /// /// 报关行 /// public string CustomsER { get; set; } /// /// 车队 /// public string TruckER { get; set; } /// /// 国外代理 /// public string AgentId { get; set; } /// /// 客户ID /// public Nullable CustomerId { get; set; } /// /// 订舱代理ID /// public string ForwarderId { get; set; } /// /// 船代ID /// public string ShipAgencyId { get; set; } /// /// 报关行ID /// public string CustomsERId { get; set; } /// /// 车队ID /// public string TruckERId { get; set; } /// /// 国外代理名称 /// public string AgentName { get; set; } /// /// 委托方 /// public string WeiTo { get; set; } /// /// 收货人DOOR地址 /// public string ConsigneeDoorAddr { get; set; } /// /// 发货人DOOR地址 /// public string ShipperDoorAddr { get; set; } /// /// SCAC代码 /// public string SCACCode { get; set; } /// /// ITN编号 /// public string ITNCode { get; set; } /// /// 预付地点ID /// public string PrePardAtId { get; set; } /// /// 到付地点ID /// public string PayableAtId { get; set; } /// /// 客户系统编号 /// public string CustNo { get; set; } /// /// 中转港代码 /// public string TransportId { get; set; } /// /// 中转港 /// public string Transport { get; set; } /// /// 第三付款地 /// public string ThirdPayAddr { get; set; } /// /// 场站联系人电话 /// public string YardContractTel { get; set; } /// /// 场站联系人邮箱 /// public string YardContractEmail { get; set; } /// /// 费用自结 /// public Nullable FeeSelf { get; set; } /// /// 航线代码 /// public string LaneCode { get; set; } /// /// 航线名称 /// public string LaneName { get; set; } /// /// 付款方 /// public string FreightPayer { get; set; } /// /// 发货人税号 /// public string ShipperTaxNo { get; set; } /// /// 收货人税号 /// public string ConsigneeTaxNo { get; set; } /// /// 通知人税号 /// public string NotifyPartyTaxNo { get; set; } /// /// 是否船开后变更签单方式 1-是 0-否 /// public Nullable IsATDChangeIssueType { get; set; } /// /// 是否条形中英文章 /// public Nullable IsEngChinaLineBar { get; set; } /// /// 是否双Shipper /// public Nullable IsDoubleShipper { get; set; } /// /// 是否整箱和拼箱混合 /// public Nullable IsFCLAndLCLMix { get; set; } /// /// 是否多品名 /// public Nullable IsMutipleGoods { get; set; } /// /// 是否拼箱 /// public Nullable IsContaLCL { get; set; } } }