using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Myshipping.Application { /// /// 格式单比对报文 /// public class TaskDraftCompareMessageInfo { /// /// 表头 /// public TaskMessageHead Head { get; set; } /// /// 表体 /// public TaskDraftMessageMainInfo Main { get; set; } } public class TaskDraftMessageMainInfo { /// /// Draft识别详情 /// public CompareDraftDataInfo DraftInfo { get; set; } /// /// 业务详情 /// public BusinessInfo BusinessInfo { get; set; } /// /// 附页识别原始文本 /// public string AttchedSheetText { get; set; } } public class BusinessInfo { /// /// 业务惟一主键 /// public string BusiPKId { get; set; } /// /// 运行类型 MANUAL-手动(不推送邮件) JOB-定时任务(成功失败都推邮件) /// public string RunType { get; set; } = "MANUAL"; /// /// 用户ID /// public string UserId { get; set; } /// /// 用户名称 /// public string UserName { get; set; } /// /// 用户邮件 /// public string UserEmail { get; set; } /// /// 租户ID /// public string TenantId { get; set; } /// /// 租户名称 /// public string TenantName { get; set; } /// /// 场站代码 /// public string YardCode { get; set; } /// /// 场站中文名称 /// public string YardCName { get; set; } /// /// 船名英文名 /// public string VesselName { get; set; } /// /// 船名中文名 /// public string VesselCName { get; set; } /// /// 航次号 /// public string VoyNo { get; set; } /// /// 主提单号 /// public string MasterBlNo { get; set; } /// /// 分提单号 /// public string HouseBlNo { get; set; } /// /// 订舱编号 /// public string BookingNo { get; set; } /// /// 发货人 /// public string Shipper { get; set; } /// /// 收货人 /// public string Consignee { get; set; } /// /// 通知人 /// public string NotifyParty { 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 TransportId { get; set; } /// /// 中转港 /// public string Transport { get; set; } /// /// 交货地代码 /// public string PlaceDeliveryId { get; set; } /// /// 交货地 /// public string PlaceDelivery { get; set; } /// /// 目的港代码 /// public string DestinationId { get; set; } /// /// 目的港 /// public string Destination { get; set; } /// /// 签单地点 /// public string IssuePlaceId { get; set; } /// /// 签单地点名称 /// public string IssuePlace { get; set; } /// /// 签单日期 /// public Nullable IssueDate { get; set; } /// /// 提单份数 /// public string NoBill { get; set; } /// /// 唛头 /// public string Marks { get; set; } /// /// 件数 /// public Int32 PKGs { get; set; } /// /// 毛重 /// public Nullable KGs { get; set; } /// /// 尺码 /// public Nullable CBM { get; set; } /// /// 主等级(危险品) /// public string DClass { get; set; } /// /// 国际危险品编号(危险品) /// public string DUNNo { get; set; } /// /// 副等级(危险品) /// public string FuDClass { get; set; } /// /// 副国际危险品编号(危险品) /// public string FuDUNNo { get; set; } /// /// 海污(危险品) /// public string HaiWu { get; set; } /// /// 温度(冻柜) /// public string TempSet { get; set; } /// /// 通风(冻柜) /// public string Reeferf { get; set; } /// /// 湿度(冻柜) /// public string Humidity { get; set; } /// /// 包装 /// public string KindPKGs { get; set; } /// /// 箱信息列表 /// public List ContaList { get; set; } /// /// 是否发送比对结果邮件 /// public bool IsSendCompareEmail { get; set; } = false; /// /// 是否生成HTML页面 /// public bool IsCreateHtmlPage { get; set; } = false; /// /// 是否返回比对明细(未加工信息) /// public bool IsShowOrigDetail { get; set; } = false; /// /// 货描 /// public string GoodsDescription { get; set; } } /// /// 箱信息 /// public class TaskDraftMessageCtnInfo { /// /// 集装箱箱型代码 /// public string ContaType { get; set; } /// /// 集装箱箱型名称 /// public string ContaTypeName { get; set; } /// /// 集装箱箱号 /// public string ContaNo { get; set; } /// /// 铅封号 /// public string SealNo { get; set; } /// /// 包装 /// public string KindPKGs { get; set; } /// /// 皮重 /// public Nullable TareWeight { get; set; } /// /// 件数 /// public Int32 PKGs { get; set; } /// /// 毛重 /// public Nullable KGs { get; set; } /// /// 尺码 /// public Nullable CBM { get; set; } } }