You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

1787 lines
47 KiB
C#

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

using Myshipping.Application.Entity;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using static Myshipping.Application.Service.BookingOrder.Dto.ReceiveBcInfoDto;
namespace Myshipping.Application.Service.DataSync.Dto
{
public class SyncBookingOrderDto
{
/// <summary>
/// 字段同步类型(用于客户订舱,彩虹+东胜7独立版本所有字段都不同步 BC只同步BC+文件相关字段 FILE只同步文件相关字段
/// </summary>
public string SyncType { get; set; }
///// <summary>
///// 主键
///// </summary>
public long Id { get; set; }
/// <summary>
/// 业务编号
/// </summary>
public string BSNO { get; set; }
/// <summary>
/// 业务状态
/// </summary>
public string BSSTATUS { get; set; }
/// <summary>
/// 业务状态名称
/// </summary>
public string BSSTATUSNAME { get; set; }
/// <summary>
/// 业务日期
/// </summary>
public DateTime? BSDATE { get; set; }
/// <summary>
/// 主提单号
/// </summary>
public string MBLNO { get; set; }
/// <summary>
/// 分提单号
/// </summary>
public string HBLNO { get; set; }
/// <summary>
/// 订舱编号
/// </summary>
public string BOOKINGNO { get; set; }
/// <summary>
/// 合约号
/// </summary>
public string CONTRACTNO { get; set; }
/// <summary>
/// 客户合同号
/// </summary>
public string SERVICECONTRACTNO { get; set; }
/// <summary>
/// 发货人代码
/// </summary>
public string SHIPPERID { get; set; }
/// <summary>
/// 收货人代码
/// </summary>
public string CONSIGNEEID { get; set; }
/// <summary>
/// 通知人代码
/// </summary>
public string NOTIFYPARTYID { get; set; }
/// <summary>
/// 发货人
/// </summary>
public string SHIPPER { get; set; }
/// <summary>
/// 收货人
/// </summary>
public string CONSIGNEE { get; set; }
/// <summary>
/// 通知人
/// </summary>
public string NOTIFYPARTY { get; set; }
/// <summary>
/// 第二通知人
/// </summary>
public string NOTIFYPARTY2 { get; set; }
/// <summary>
/// 场站代码
/// </summary>
public string YARDID { get; set; }
/// <summary>
/// 场站
/// </summary>
public string YARD { get; set; }
/// <summary>
/// 船舶呼号
/// </summary>
public string VESSELID { get; set; }
/// <summary>
/// 船名
/// </summary>
public string VESSEL { get; set; }
/// <summary>
/// 海关航次
/// </summary>
public string VOYNO { get; set; }
/// <summary>
/// 内部航次
/// </summary>
public string VOYNOINNER { get; set; }
/// <summary>
/// 开船日期
/// </summary>
public DateTime? ETD { get; set; }
/// <summary>
/// 实际开船日期
/// </summary>
public DateTime? ATD { get; set; }
/// <summary>
/// 截港日期
/// </summary>
public DateTime? CLOSINGDATE { get; set; }
/// <summary>
/// 截单日期
/// </summary>
public DateTime? CLOSEDOCDATE { get; set; }
/// <summary>
/// 截VGM时间
/// </summary>
public DateTime? CLOSEVGMDATE { get; set; }
/// <summary>
/// 预计到港日期
/// </summary>
public DateTime? ETA { get; set; }
/// <summary>
/// 收货地代码
/// </summary>
public string PLACERECEIPTID { get; set; }
/// <summary>
/// 收货地
/// </summary>
public string PLACERECEIPT { get; set; }
/// <summary>
/// 起运港代码
/// </summary>
public string PORTLOADID { get; set; }
/// <summary>
/// 起运港
/// </summary>
public string PORTLOAD { get; set; }
/// <summary>
/// 卸货港代码
/// </summary>
public string PORTDISCHARGEID { get; set; }
/// <summary>
/// 卸货港
/// </summary>
public string PORTDISCHARGE { get; set; }
/// <summary>
/// 交货地代码
/// </summary>
public string PLACEDELIVERYID { get; set; }
/// <summary>
/// 交货地
/// </summary>
public string PLACEDELIVERY { get; set; }
/// <summary>
/// 目的地代码
/// </summary>
public string DESTINATIONID { get; set; }
/// <summary>
/// 目的地
/// </summary>
public string DESTINATION { get; set; }
/// <summary>
/// 提单份数
/// </summary>
public string NOBILL { get; set; }
/// <summary>
/// 副本提单份数
/// </summary>
public string COPYNOBILL { get; set; }
/// <summary>
/// 签单方式
/// </summary>
public string ISSUETYPE { get; set; }
/// <summary>
/// 签单日期
/// </summary>
public DateTime? ISSUEDATE { get; set; }
/// <summary>
/// 签单地点代码
/// </summary>
public string ISSUEPLACEID { get; set; }
/// <summary>
/// 签单地点
/// </summary>
public string ISSUEPLACE { get; set; }
/// <summary>
/// 付费方式
/// </summary>
public string BLFRT { get; set; }
/// <summary>
/// 预付地点
/// </summary>
public string PREPARDAT { get; set; }
/// <summary>
/// 到付地点
/// </summary>
public string PAYABLEAT { get; set; }
/// <summary>
/// 运输条款
/// </summary>
public string SERVICE { get; set; }
/// <summary>
/// 唛头
/// </summary>
public string MARKS { get; set; }
/// <summary>
/// HS代码
/// </summary>
public string HSCODE { get; set; }
/// <summary>
/// 货描
/// </summary>
public string DESCRIPTION { get; set; }
/// <summary>
/// 件数
/// </summary>
public int? PKGS { get; set; }
/// <summary>
/// 包装
/// </summary>
public string KINDPKGS { get; set; }
/// <summary>
/// 毛重
/// </summary>
public decimal? KGS { get; set; }
/// <summary>
/// 尺码
/// </summary>
public decimal? CBM { get; set; }
/// <summary>
/// 件数大写
/// </summary>
public string TOTALNO { get; set; }
/// <summary>
/// 集装箱
/// </summary>
public string CNTRTOTAL { get; set; }
/// <summary>
/// 船公司代号
/// </summary>
public string CARRIERID { get; set; }
/// <summary>
/// 船公司
/// </summary>
public string CARRIER { get; set; }
/// <summary>
/// 货物标识
/// </summary>
public string CARGOID { get; set; }
/// <summary>
/// 危险品类别
/// </summary>
public string DCLASS { get; set; }
/// <summary>
/// 危险品编号
/// </summary>
public string DUNNO { get; set; }
/// <summary>
/// 危险品页号
/// </summary>
public string DPAGE { get; set; }
/// <summary>
/// 危险品标签
/// </summary>
public string DLABEL { get; set; }
/// <summary>
/// 危险品联系人
/// </summary>
public string LINKMAN { get; set; }
/// <summary>
/// 温度单位
/// </summary>
public string TEMPID { get; set; }
/// <summary>
/// 设置温度
/// </summary>
public string TEMPSET { get; set; }
/// <summary>
/// 通风度
/// </summary>
public string REEFERF { get; set; }
/// <summary>
/// 湿度
/// </summary>
public string HUMIDITY { get; set; }
/// <summary>
/// 最低温度
/// </summary>
public string TEMPMIN { get; set; }
/// <summary>
/// 最高温度
/// </summary>
public string TEMPMAX { get; set; }
/// <summary>
/// 是否SOC箱
/// </summary>
public bool? ISCONTAINERSOC { get; set; }
/// <summary>
/// 订舱备注
/// </summary>
public string SOREMARK { get; set; }
/// <summary>
/// 截单备注
/// </summary>
public string SIREMARK { get; set; }
/// <summary>
/// 场站备注
/// </summary>
public string YARDREMARK { get; set; }
/// <summary>
/// 公司ID
/// </summary>
public string COMPID { get; set; }
/// <summary>
/// 公司名称
/// </summary>
public string COMPNAME { get; set; }
/// <summary>
/// 发货人名称
/// </summary>
public string SHIPPERNAME { get; set; }
/// <summary>
/// 发货人地址1
/// </summary>
public string SHIPPERADDR1 { get; set; }
/// <summary>
/// 发货人地址2
/// </summary>
public string SHIPPERADDR2 { get; set; }
/// <summary>
/// 发货人地址3
/// </summary>
public string SHIPPERADDR3 { get; set; }
/// <summary>
/// 发货人城市
/// </summary>
public string SHIPPERCITY { get; set; }
/// <summary>
/// 发货人省份代码
/// </summary>
public string SHIPPERPROVINCE { get; set; }
/// <summary>
/// 发货人邮编
/// </summary>
public string SHIPPERPOSTCODE { get; set; }
/// <summary>
/// 发货人国家代码
/// </summary>
public string SHIPPERCOUNTRY { get; set; }
/// <summary>
/// 发货人联系人
/// </summary>
public string SHIPPERATTN { get; set; }
/// <summary>
/// 发货人电话
/// </summary>
public string SHIPPERTEL { get; set; }
/// <summary>
/// 发货人名称
/// </summary>
public string CONSIGNEENAME { get; set; }
/// <summary>
/// 发货人地址1
/// </summary>
public string CONSIGNEEADDR1 { get; set; }
/// <summary>
/// 发货人地址2
/// </summary>
public string CONSIGNEEADDR2 { get; set; }
/// <summary>
/// 发货人地址3
/// </summary>
public string CONSIGNEEADDR3 { get; set; }
/// <summary>
/// 发货人城市
/// </summary>
public string CONSIGNEECITY { get; set; }
/// <summary>
/// 发货人省份代码
/// </summary>
public string CONSIGNEEPROVINCE { get; set; }
/// <summary>
/// 发货人邮编
/// </summary>
public string CONSIGNEEPOSTCODE { get; set; }
/// <summary>
/// 发货人国家代码
/// </summary>
public string CONSIGNEERCOUNTRY { get; set; }
/// <summary>
/// 发货人联系人
/// </summary>
public string CONSIGNEEATTN { get; set; }
/// <summary>
/// 发货人电话
/// </summary>
public string CONSIGNEETEL { get; set; }
/// <summary>
/// 通知人名称
/// </summary>
public string NOTIFYPARTYNAME { get; set; }
/// <summary>
/// 通知人地址1
/// </summary>
public string NOTIFYPARTYADDR1 { get; set; }
/// <summary>
/// 通知人地址2
/// </summary>
public string NOTIFYPARTYADDR2 { get; set; }
/// <summary>
/// 通知人地址3
/// </summary>
public string NOTIFYPARTYADDR3 { get; set; }
/// <summary>
/// 通知人城市
/// </summary>
public string NOTIFYPARTYCITY { get; set; }
/// <summary>
/// 通知人省份代码
/// </summary>
public string NOTIFYPARTYPROVINCE { get; set; }
/// <summary>
/// 通知人邮编
/// </summary>
public string NOTIFYPARTYPOSTCODE { get; set; }
/// <summary>
/// 通知人国家代码
/// </summary>
public string NOTIFYPARTYCOUNTRY { get; set; }
/// <summary>
/// 通知人联系人
/// </summary>
public string NOTIFYPARTYATTN { get; set; }
/// <summary>
/// 通知人电话
/// </summary>
public string NOTIFYPARTYTEL { get; set; }
/// <summary>
/// PO号
/// </summary>
public string PONO { get; set; }
/// <summary>
/// 操作id
/// </summary>
public string OPID { get; set; }
/// <summary>
/// 单证id
/// </summary>
public string DOCID { get; set; }
/// <summary>
/// 操作
/// </summary>
public string OP { get; set; }
/// <summary>
/// 单证
/// </summary>
public string DOC { get; set; }
/// <summary>
/// 销售ID
/// </summary>
public string SALEID { get; set; }
/// <summary>
/// 销售
/// </summary>
public string SALE { get; set; }
/// <summary>
/// 客服ID
/// </summary>
public string CUSTSERVICEID { get; set; }
/// <summary>
/// 客服
/// </summary>
public string CUSTSERVICE { get; set; }
/// <summary>
/// 客户
/// </summary>
public string CUSTOMERNAME { get; set; }
/// <summary>
/// 订舱代理
/// </summary>
public string FORWARDER { get; set; }
/// <summary>
/// 船代
/// </summary>
public string SHIPAGENCY { get; set; }
/// <summary>
/// 报关行
/// </summary>
public string CUSTOMSER { get; set; }
/// <summary>
/// 车队
/// </summary>
public string TRUCKER { get; set; }
/// <summary>
/// 国外代理
/// </summary>
public string AGENTID { get; set; }
/// <summary>
/// 客户ID
/// </summary>
public long? CUSTOMERID { get; set; }
/// <summary>
/// 订舱代理ID
/// </summary>
public string FORWARDERID { get; set; }
/// <summary>
/// 船代ID
/// </summary>
public string SHIPAGENCYID { get; set; }
/// <summary>
/// 报关行ID
/// </summary>
public string CUSTOMSERID { get; set; }
/// <summary>
/// 车队ID
/// </summary>
public string TRUCKERID { get; set; }
/// <summary>
/// 国外代理名称
/// </summary>
public string AGENTNAME { get; set; }
/// <summary>
/// 委托方
/// </summary>
public string WEITUO { get; set; }
/// <summary>
/// 收货人DOOR地址
/// </summary>
public string CONSIGNEEDOORADDR { get; set; }
/// <summary>
/// 发货人DOOR地址
/// </summary>
public string SHIPPERDOORADDR { get; set; }
/// <summary>
/// SCAC代码
/// </summary>
public string SCACCODE { get; set; }
/// <summary>
/// ITN编号
/// </summary>
public string ITNCODE { get; set; }
/// <summary>
/// 预付地点ID
/// </summary>
public string PREPARDATID { get; set; }
/// <summary>
/// 到付地点ID
/// </summary>
public string PAYABLEATID { get; set; }
/// <summary>
/// 客户系统编号
/// </summary>
public string CUSTNO { get; set; }
/// <summary>
/// 中转港代码
/// </summary>
public string TRANSPORTID { get; set; }
/// <summary>
/// 中转港
/// </summary>
public string TRANSPORT { get; set; }
/// <summary>
/// 第三付款地
/// </summary>
public string THIRDPAYADDR { get; set; }
/// <summary>
/// 场站联系人
/// </summary>
public string YARDCONTRACT { get; set; }
/// <summary>
/// 场站联系人电话
/// </summary>
public string YARDCONTRACTTEL { get; set; }
/// <summary>
/// 场站联系人邮箱
/// </summary>
public string YARDCONTRACTEMAIL { get; set; }
/// <summary>
/// 费用自结
/// </summary>
public bool? FEESELF { get; set; }
/// <summary>
/// 航线代码
/// </summary>
public string LANECODE { get; set; }
/// <summary>
/// 航线名称
/// </summary>
public string LANENAME { get; set; }
/// <summary>
/// 付款方
/// </summary>
public string FREIGHTPAYER { get; set; }
/// <summary>
/// 品名代码
/// </summary>
public string GOODSCODE { get; set; }
/// <summary>
/// 品名
/// </summary>
public string GOODSNAME { get; set; }
/// <summary>
/// 件数合计
/// </summary>
public string PKGSTOTAL { get; set; }
/// <summary>
/// 毛重合计
/// </summary>
public string KGSTOTAL { get; set; }
/// <summary>
/// 尺寸合计
/// </summary>
public string CBMTOTAL { get; set; }
/// <summary>
/// 航线操作ID
/// </summary>
public string ROUTEID { get; set; }
/// <summary>
/// 航线操作
/// </summary>
public string ROUTE { get; set; }
/// <summary>
/// 仓库
/// </summary>
public string Warehouse { get; set; }
/// <summary>
/// 仓库id
/// </summary>
public string WarehouseID { get; set; }
/// <summary>
/// ep号
/// </summary>
public string EPCode { get; set; }
/// <summary>
/// 航线
/// </summary>
public string LineName { get; set; }
/// <summary>
/// 单证备注
/// </summary>
public string DZRemark { get; set; }
/// <summary>
/// 操作备注
/// </summary>
public string CZRemark { get; set; }
/// <summary>
/// 真提单号
/// </summary>
public string TMBLNO { get; set; }
/// <summary>
/// 装运方式 整箱/拼箱
/// </summary>
public string ShippingMethod { get; set; }
/// <summary>
/// 箱使堆存
/// </summary>
public string CtnDayNum { get; set; }
/// <summary>
/// 创建者名称
/// </summary>
public virtual string CreatedUserName { get; set; }
/// <summary>
/// 是否占舱
/// </summary>
public string ZhanCangFlag { get; set; }
/// <summary>
/// 业务来源代码
/// </summary>
public string SourceCode { get; set; }
/// <summary>
/// 业务来源名称
/// </summary>
public string SourceName { get; set; }
#region 船舶日期相关
/// <summary>
/// 运港通ETD爬取的ETD
/// </summary>
public DateTime? YgtETD { get; set; }
/// <summary>
/// 起始港预抵日期
/// </summary>
public DateTime? StartETA { get; set; }
/// <summary>
/// 起始港实际抵港
/// </summary>
public DateTime? StartATA { get; set; }
/// <summary>
/// 中转预抵
/// </summary>
public DateTime? MiddleETA { get; set; }
/// <summary>
/// 中转预计离港
/// </summary>
public DateTime? MiddleETD { get; set; }
/// <summary>
/// 中转实际到港
/// </summary>
public DateTime? MiddleATA { get; set; }
/// <summary>
/// 中转实际离港
/// </summary>
public DateTime? MiddleATD { get; set; }
/// <summary>
/// 实际到港(目的港)
/// </summary>
public DateTime? ATA { get; set; }
#endregion
/// <summary>
/// 申请箱使
/// </summary>
public string ShenQingXiangShi { get; set; }
/// <summary>
/// 境外代理
/// </summary>
public string ForeignAgent { get; set; }
/// <summary>
/// 版本号
/// </summary>
public string VERSION { get; set; }
/// <summary>
/// 三方付费
/// </summary>
public string ThirdPay { get; set; }
/// <summary>
/// 三方付费Code
/// </summary>
public string ThirdPayCode { get; set; }
public List<BookingCtnDto> ctnInputs { get; set; }
/// <summary>
/// EDI扩展信息
/// </summary>
public BookingEDIExtDto BookingEDIExt { get; set; }
/// <summary>
/// 航线管理
/// </summary>
[Description("航线管理")]
public string LineManage { get; set; }
/// <summary>
/// 航线管理ID
/// </summary>
public string LineManageID { get; set; }
public List<Children> childrens { get; set; }
///<summary>
///货物状态
///</summary>
public List<BookingGoodsStatusDto> GoodsStatus { get; set; }
/// <summary>
/// 附件列表
/// </summary>
public List<DownloadFile> Files { get; set; }
/// <summary>
/// 拓展数据
/// </summary>
public BookingExtendStateDto ExtendState { get; set; }
/// <summary>
/// 运踪详情
/// </summary>
public List<BookingStatusLogSyncDto> StatusLogs { get; set; }
/// <summary>
/// 分单操作ID
/// </summary>
public long? SubOpId { get; set; }
/// <summary>
/// 分单操作
/// </summary>
public string SubOp { get; set; }
/// <summary>
/// 场站备注
/// </summary>
public string OPERATOREMAIL { get; set; }
}
public class Children
{
///// <summary>
///// 主键
///// </summary>
public long Id { get; set; }
/// <summary>
/// 业务编号
/// </summary>
public string BSNO { get; set; }
/// <summary>
/// 业务状态
/// </summary>
public string BSSTATUS { get; set; }
/// <summary>
/// 业务状态名称
/// </summary>
public string BSSTATUSNAME { get; set; }
/// <summary>
/// 业务日期
/// </summary>
public DateTime? BSDATE { get; set; }
/// <summary>
/// 主提单号
/// </summary>
public string MBLNO { get; set; }
/// <summary>
/// 分提单号
/// </summary>
public string HBLNO { get; set; }
/// <summary>
/// 订舱编号
/// </summary>
public string BOOKINGNO { get; set; }
/// <summary>
/// 合约号
/// </summary>
public string CONTRACTNO { get; set; }
/// <summary>
/// 客户合同号
/// </summary>
public string SERVICECONTRACTNO { get; set; }
/// <summary>
/// 发货人代码
/// </summary>
public string SHIPPERID { get; set; }
/// <summary>
/// 收货人代码
/// </summary>
public string CONSIGNEEID { get; set; }
/// <summary>
/// 通知人代码
/// </summary>
public string NOTIFYPARTYID { get; set; }
/// <summary>
/// 发货人
/// </summary>
public string SHIPPER { get; set; }
/// <summary>
/// 收货人
/// </summary>
public string CONSIGNEE { get; set; }
/// <summary>
/// 通知人
/// </summary>
public string NOTIFYPARTY { get; set; }
/// <summary>
/// 第二通知人
/// </summary>
public string NOTIFYPARTY2 { get; set; }
/// <summary>
/// 场站代码
/// </summary>
public string YARDID { get; set; }
/// <summary>
/// 场站
/// </summary>
public string YARD { get; set; }
/// <summary>
/// 船舶呼号
/// </summary>
public string VESSELID { get; set; }
/// <summary>
/// 船名
/// </summary>
public string VESSEL { get; set; }
/// <summary>
/// 海关航次
/// </summary>
public string VOYNO { get; set; }
/// <summary>
/// 内部航次
/// </summary>
public string VOYNOINNER { get; set; }
/// <summary>
/// 开船日期
/// </summary>
public DateTime? ETD { get; set; }
/// <summary>
/// 实际开船日期
/// </summary>
public DateTime? ATD { get; set; }
/// <summary>
/// 截港日期
/// </summary>
public DateTime? CLOSINGDATE { get; set; }
/// <summary>
/// 截单日期
/// </summary>
public DateTime? CLOSEDOCDATE { get; set; }
/// <summary>
/// 截VGM时间
/// </summary>
public DateTime? CLOSEVGMDATE { get; set; }
/// <summary>
/// 预计到港日期
/// </summary>
public DateTime? ETA { get; set; }
/// <summary>
/// 收货地代码
/// </summary>
public string PLACERECEIPTID { get; set; }
/// <summary>
/// 收货地
/// </summary>
public string PLACERECEIPT { get; set; }
/// <summary>
/// 起运港代码
/// </summary>
public string PORTLOADID { get; set; }
/// <summary>
/// 起运港
/// </summary>
public string PORTLOAD { get; set; }
/// <summary>
/// 卸货港代码
/// </summary>
public string PORTDISCHARGEID { get; set; }
/// <summary>
/// 卸货港
/// </summary>
public string PORTDISCHARGE { get; set; }
/// <summary>
/// 交货地代码
/// </summary>
public string PLACEDELIVERYID { get; set; }
/// <summary>
/// 交货地
/// </summary>
public string PLACEDELIVERY { get; set; }
/// <summary>
/// 目的地代码
/// </summary>
public string DESTINATIONID { get; set; }
/// <summary>
/// 目的地
/// </summary>
public string DESTINATION { get; set; }
/// <summary>
/// 提单份数
/// </summary>
public string NOBILL { get; set; }
/// <summary>
/// 副本提单份数
/// </summary>
public string COPYNOBILL { get; set; }
/// <summary>
/// 签单方式
/// </summary>
public string ISSUETYPE { get; set; }
/// <summary>
/// 签单日期
/// </summary>
public DateTime? ISSUEDATE { get; set; }
/// <summary>
/// 签单地点代码
/// </summary>
public string ISSUEPLACEID { get; set; }
/// <summary>
/// 签单地点
/// </summary>
public string ISSUEPLACE { get; set; }
/// <summary>
/// 付费方式
/// </summary>
public string BLFRT { get; set; }
/// <summary>
/// 预付地点
/// </summary>
public string PREPARDAT { get; set; }
/// <summary>
/// 到付地点
/// </summary>
public string PAYABLEAT { get; set; }
/// <summary>
/// 运输条款
/// </summary>
public string SERVICE { get; set; }
/// <summary>
/// 唛头
/// </summary>
public string MARKS { get; set; }
/// <summary>
/// HS代码
/// </summary>
public string HSCODE { get; set; }
/// <summary>
/// 货描
/// </summary>
public string DESCRIPTION { get; set; }
/// <summary>
/// 件数
/// </summary>
public int? PKGS { get; set; }
/// <summary>
/// 包装
/// </summary>
public string KINDPKGS { get; set; }
/// <summary>
/// 毛重
/// </summary>
public decimal? KGS { get; set; }
/// <summary>
/// 尺码
/// </summary>
public decimal? CBM { get; set; }
/// <summary>
/// 件数大写
/// </summary>
public string TOTALNO { get; set; }
/// <summary>
/// 集装箱
/// </summary>
public string CNTRTOTAL { get; set; }
/// <summary>
/// 船公司代号
/// </summary>
public string CARRIERID { get; set; }
/// <summary>
/// 船公司
/// </summary>
public string CARRIER { get; set; }
/// <summary>
/// 货物标识
/// </summary>
public string CARGOID { get; set; }
/// <summary>
/// 危险品类别
/// </summary>
public string DCLASS { get; set; }
/// <summary>
/// 危险品编号
/// </summary>
public string DUNNO { get; set; }
/// <summary>
/// 危险品页号
/// </summary>
public string DPAGE { get; set; }
/// <summary>
/// 危险品标签
/// </summary>
public string DLABEL { get; set; }
/// <summary>
/// 危险品联系人
/// </summary>
public string LINKMAN { get; set; }
/// <summary>
/// 温度单位
/// </summary>
public string TEMPID { get; set; }
/// <summary>
/// 设置温度
/// </summary>
public string TEMPSET { get; set; }
/// <summary>
/// 通风度
/// </summary>
public string REEFERF { get; set; }
/// <summary>
/// 湿度
/// </summary>
public string HUMIDITY { get; set; }
/// <summary>
/// 最低温度
/// </summary>
public string TEMPMIN { get; set; }
/// <summary>
/// 最高温度
/// </summary>
public string TEMPMAX { get; set; }
/// <summary>
/// 是否SOC箱
/// </summary>
public bool? ISCONTAINERSOC { get; set; }
/// <summary>
/// SO备注
/// </summary>
public string SOREMARK { get; set; }
/// <summary>
/// SI备注
/// </summary>
public string SIREMARK { get; set; }
/// <summary>
/// 场站备注
/// </summary>
public string YARDREMARK { get; set; }
/// <summary>
/// 公司ID
/// </summary>
public string COMPID { get; set; }
/// <summary>
/// 公司名称
/// </summary>
public string COMPNAME { get; set; }
/// <summary>
/// 发货人名称
/// </summary>
public string SHIPPERNAME { get; set; }
/// <summary>
/// 发货人地址1
/// </summary>
public string SHIPPERADDR1 { get; set; }
/// <summary>
/// 发货人地址2
/// </summary>
public string SHIPPERADDR2 { get; set; }
/// <summary>
/// 发货人地址3
/// </summary>
public string SHIPPERADDR3 { get; set; }
/// <summary>
/// 发货人城市
/// </summary>
public string SHIPPERCITY { get; set; }
/// <summary>
/// 发货人省份代码
/// </summary>
public string SHIPPERPROVINCE { get; set; }
/// <summary>
/// 发货人邮编
/// </summary>
public string SHIPPERPOSTCODE { get; set; }
/// <summary>
/// 发货人国家代码
/// </summary>
public string SHIPPERCOUNTRY { get; set; }
/// <summary>
/// 发货人联系人
/// </summary>
public string SHIPPERATTN { get; set; }
/// <summary>
/// 发货人电话
/// </summary>
public string SHIPPERTEL { get; set; }
/// <summary>
/// 发货人名称
/// </summary>
public string CONSIGNEENAME { get; set; }
/// <summary>
/// 发货人地址1
/// </summary>
public string CONSIGNEEADDR1 { get; set; }
/// <summary>
/// 发货人地址2
/// </summary>
public string CONSIGNEEADDR2 { get; set; }
/// <summary>
/// 发货人地址3
/// </summary>
public string CONSIGNEEADDR3 { get; set; }
/// <summary>
/// 发货人城市
/// </summary>
public string CONSIGNEECITY { get; set; }
/// <summary>
/// 发货人省份代码
/// </summary>
public string CONSIGNEEPROVINCE { get; set; }
/// <summary>
/// 发货人邮编
/// </summary>
public string CONSIGNEEPOSTCODE { get; set; }
/// <summary>
/// 发货人国家代码
/// </summary>
public string CONSIGNEERCOUNTRY { get; set; }
/// <summary>
/// 发货人联系人
/// </summary>
public string CONSIGNEEATTN { get; set; }
/// <summary>
/// 发货人电话
/// </summary>
public string CONSIGNEETEL { get; set; }
/// <summary>
/// 通知人名称
/// </summary>
public string NOTIFYPARTYNAME { get; set; }
/// <summary>
/// 通知人地址1
/// </summary>
public string NOTIFYPARTYADDR1 { get; set; }
/// <summary>
/// 通知人地址2
/// </summary>
public string NOTIFYPARTYADDR2 { get; set; }
/// <summary>
/// 通知人地址3
/// </summary>
public string NOTIFYPARTYADDR3 { get; set; }
/// <summary>
/// 通知人城市
/// </summary>
public string NOTIFYPARTYCITY { get; set; }
/// <summary>
/// 通知人省份代码
/// </summary>
public string NOTIFYPARTYPROVINCE { get; set; }
/// <summary>
/// 通知人邮编
/// </summary>
public string NOTIFYPARTYPOSTCODE { get; set; }
/// <summary>
/// 通知人国家代码
/// </summary>
public string NOTIFYPARTYCOUNTRY { get; set; }
/// <summary>
/// 通知人联系人
/// </summary>
public string NOTIFYPARTYATTN { get; set; }
/// <summary>
/// 通知人电话
/// </summary>
public string NOTIFYPARTYTEL { get; set; }
/// <summary>
/// PO号
/// </summary>
public string PONO { get; set; }
/// <summary>
/// 操作id
/// </summary>
public string OPID { get; set; }
/// <summary>
/// 单证id
/// </summary>
public string DOCID { get; set; }
/// <summary>
/// 操作
/// </summary>
public string OP { get; set; }
/// <summary>
/// 单证
/// </summary>
public string DOC { get; set; }
/// <summary>
/// 销售ID
/// </summary>
public string SALEID { get; set; }
/// <summary>
/// 销售
/// </summary>
public string SALE { get; set; }
/// <summary>
/// 客服ID
/// </summary>
public string CUSTSERVICEID { get; set; }
/// <summary>
/// 客服
/// </summary>
public string CUSTSERVICE { get; set; }
/// <summary>
/// 客户
/// </summary>
public string CUSTOMERNAME { get; set; }
/// <summary>
/// 订舱代理
/// </summary>
public string FORWARDER { get; set; }
/// <summary>
/// 船代
/// </summary>
public string SHIPAGENCY { get; set; }
/// <summary>
/// 报关行
/// </summary>
public string CUSTOMSER { get; set; }
/// <summary>
/// 车队
/// </summary>
public string TRUCKER { get; set; }
/// <summary>
/// 国外代理
/// </summary>
public string AGENTID { get; set; }
/// <summary>
/// 客户ID
/// </summary>
public long? CUSTOMERID { get; set; }
/// <summary>
/// 订舱代理ID
/// </summary>
public string FORWARDERID { get; set; }
/// <summary>
/// 船代ID
/// </summary>
public string SHIPAGENCYID { get; set; }
/// <summary>
/// 报关行ID
/// </summary>
public string CUSTOMSERID { get; set; }
/// <summary>
/// 车队ID
/// </summary>
public string TRUCKERID { get; set; }
/// <summary>
/// 国外代理名称
/// </summary>
public string AGENTNAME { get; set; }
/// <summary>
/// 委托方
/// </summary>
public string WEITUO { get; set; }
/// <summary>
/// 收货人DOOR地址
/// </summary>
public string CONSIGNEEDOORADDR { get; set; }
/// <summary>
/// 发货人DOOR地址
/// </summary>
public string SHIPPERDOORADDR { get; set; }
/// <summary>
/// SCAC代码
/// </summary>
public string SCACCODE { get; set; }
/// <summary>
/// ITN编号
/// </summary>
public string ITNCODE { get; set; }
/// <summary>
/// 预付地点ID
/// </summary>
public string PREPARDATID { get; set; }
/// <summary>
/// 到付地点ID
/// </summary>
public string PAYABLEATID { get; set; }
/// <summary>
/// 客户系统编号
/// </summary>
public string CUSTNO { get; set; }
/// <summary>
/// 中转港代码
/// </summary>
public string TRANSPORTID { get; set; }
/// <summary>
/// 中转港
/// </summary>
public string TRANSPORT { get; set; }
/// <summary>
/// 第三付款地
/// </summary>
public string THIRDPAYADDR { get; set; }
/// <summary>
/// 场站联系人
/// </summary>
public string YARDCONTRACT { get; set; }
/// <summary>
/// 场站联系人电话
/// </summary>
public string YARDCONTRACTTEL { get; set; }
/// <summary>
/// 场站联系人邮箱
/// </summary>
public string YARDCONTRACTEMAIL { get; set; }
/// <summary>
/// 费用自结
/// </summary>
public bool? FEESELF { get; set; }
/// <summary>
/// 航线代码
/// </summary>
public string LANECODE { get; set; }
/// <summary>
/// 航线名称
/// </summary>
public string LANENAME { get; set; }
/// <summary>
/// 付款方
/// </summary>
public string FREIGHTPAYER { get; set; }
/// <summary>
/// 品名代码
/// </summary>
public string GOODSCODE { get; set; }
/// <summary>
/// 品名
/// </summary>
public string GOODSNAME { get; set; }
/// <summary>
/// 件数合计
/// </summary>
public string PKGSTOTAL { get; set; }
/// <summary>
/// 毛重合计
/// </summary>
public string KGSTOTAL { get; set; }
/// <summary>
/// 尺寸合计
/// </summary>
public string CBMTOTAL { get; set; }
/// <summary>
/// 航线操作ID
/// </summary>
public string ROUTEID { get; set; }
/// <summary>
/// 航线操作
/// </summary>
public string ROUTE { get; set; }
/// <summary>
/// 仓库
/// </summary>
public string Warehouse { get; set; }
/// <summary>
/// 仓库ID
/// </summary>
public string WarehouseID { get; set; }
/// <summary>
/// 航线
/// </summary>
public string LineName { get; set; }
/// <summary>
/// ep号
/// </summary>
public string EPCode { get; set; }
public List<BookingCtnDto> ctnInputs { get; set; }
/// <summary>
/// EDI扩展信息
/// </summary>
public BookingEDIExtDto BookingEDIExt { get; set; }
/// <summary>
/// 单证备注
/// </summary>
public string DZRemark { get; set; }
/// <summary>
/// 操作备注
/// </summary>
public string CZRemark { get; set; }
/// <summary>
/// 真提单号
/// </summary>
public string TMBLNO { get; set; }
/// <summary>
/// 装运方式 整箱/拼箱
/// </summary>
public string ShippingMethod { get; set; }
/// <summary>
/// 是否占舱
/// </summary>
public string ZhanCangFlag { get; set; }
/// <summary>
/// 业务来源代码
/// </summary>
public string SourceCode { get; set; }
/// <summary>
/// 业务来源名称
/// </summary>
public string SourceName { get; set; }
#region 船舶日期相关
/// <summary>
/// 运港通ETD爬取的ETD
/// </summary>
public DateTime? YgtETD { get; set; }
/// <summary>
/// 起始港预抵日期
/// </summary>
public DateTime? StartETA { get; set; }
/// <summary>
/// 起始港实际抵港
/// </summary>
public DateTime? StartATA { get; set; }
/// <summary>
/// 中转预抵
/// </summary>
public DateTime? MiddleETA { get; set; }
/// <summary>
/// 中转预计离港
/// </summary>
public DateTime? MiddleETD { get; set; }
/// <summary>
/// 中转实际到港
/// </summary>
public DateTime? MiddleATA { get; set; }
/// <summary>
/// 中转实际离港
/// </summary>
public DateTime? MiddleATD { get; set; }
/// <summary>
/// 实际到港(目的港)
/// </summary>
public DateTime? ATA { get; set; }
#endregion
/// <summary>
/// 申请箱使
/// </summary>
public string ShenQingXiangShi { get; set; }
/// <summary>
/// 三方付费
/// </summary>
public string ThirdPay { get; set; }
/// <summary>
/// 三方付费Code
/// </summary>
public string ThirdPayCode { get; set; }
/// <summary>
/// 航线管理
/// </summary>
[Description("航线管理")]
public string LineManage { get; set; }
/// <summary>
/// 航线管理ID
/// </summary>
public string LineManageID { get; set; }
/// <summary>
/// 分单操作ID
/// </summary>
public long? SubOpId { get; set; }
/// <summary>
/// 分单操作
/// </summary>
public string SubOp { get; set; }
}
/// <summary>
/// 货物状态
/// </summary>
public class BookingGoodsStatusDto
{
/// <summary>
/// 状态名称
/// </summary>
public string StatusName { get; set; }
/// <summary>
/// 完成时间
/// </summary>
public DateTime? FinishTime { get; set; }
// <summary>
/// 备注
/// </summary>
public string Remark { get; set; }
// <summary>
/// 附加数据
/// </summary>
public string ExtData { get; set; }
}
/// <summary>
/// 拓展数据
/// </summary>
public class BookingExtendStateDto
{
/// <summary>
/// 提箱小票未申请
/// </summary>
public int noApply { get; set; }
/// <summary>
/// 提箱小票已申请未打印
/// </summary>
public int applyNoPrint { get; set; }
/// <summary>
/// 提箱小票已打印
/// </summary>
public int print { get; set; }
/// <summary>
/// 提箱小票有效期起始时间
/// </summary>
public DateTime? TxxpBeginTime { get; set; }
/// <summary>
/// 提箱小票有效期终止时间
/// </summary>
public DateTime? TxxpEndTime { get; set; }
/// <summary>
/// 提箱小票pdf地址
/// </summary>
public string TxxpPdfUrl { get; set; }
}
/// <summary>
/// 货运跟踪
/// </summary>
public class BookingStatusLogSyncDto
{
/// <summary>
/// id
/// </summary>
public long Id { get; set; }
/// <summary>
/// 业务id
/// </summary>
public long? BookingId { get; set; }
/// <summary>
/// 状态
/// </summary>
public string Status { get; set; }
/// <summary>
/// 状态时间
/// </summary>
public DateTime? OpTime { get; set; }
/// <summary>
/// 类别
/// </summary>
public string Category { get; set; }
/// <summary>
/// 状态分类
/// </summary>
public string Type { get; set; }
/// <summary>
/// 提单号
/// </summary>
public string MBLNO { get; set; }
/// <summary>
/// 明细详情
/// </summary>
public List<BookingStatusLogDetailSyncDto> Details { get; set; }
}
/// <summary>
/// 货运跟踪详情
/// </summary>
public class BookingStatusLogDetailSyncDto
{
/// <summary>
/// 状态
/// </summary>
public string Status { get; set; }
/// <summary>
/// 箱号
/// </summary>
public string CNTRNO { get; set; }
/// <summary>
/// 状态时间
/// </summary>
public DateTime? OPTime { get; set; }
}
}