using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace DS.WMS.Core.TaskPlat.Dtos
{
///
/// 格式单比对报文
///
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; }
}
///
/// Draft(格式单)比对请求
///
public class CompareDraftDataInfo
{
///
/// 船名英文名
///
[Description("船名")]
public string VesselName { get; set; }
///
/// 航次号
///
[Description("航次")]
public string VoyNo { get; set; }
///
/// 主提单号
///
[Description("主提单号")]
public string MasterBlNo { get; set; }
///
/// 分提单号
///
[Description("分提单号")]
public string HouseBlNo { get; set; }
///
/// 订舱编号
///
[Description("订舱编号")]
public string BookingNo { get; set; }
///
/// 发货人
///
[Description("发货人")]
public string Shipper { get; set; }
///
/// 收货人
///
[Description("收货人")]
public string Consignee { get; set; }
///
/// 通知人
///
[Description("通知人")]
public string NotifyParty { get; set; }
///
/// 收货地
///
[Description("收货地")]
public string PlaceReceiptId { get; set; }
///
/// 收货地名称
///
[Description("收货地名称")]
public string PlaceReceipt { 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 PlaceDeliveryId { get; set; }
///
/// 交货地名称
///
[Description("交货地名称")]
public string PlaceDelivery { get; set; }
///
/// 唛头
///
[Description("唛头")]
public string Marks { get; set; }
///
/// 货描
///
[Description("货描")]
public string GoodsDescription { get; set; }
///
/// 运费
///
[Description("运费")]
public string Freight { get; set; }
///
/// 运费支付地点
///
[Description("运费支付地点")]
public string FreightPrepaidAt { get; set; }
///
/// 签单地点
///
[Description("签单地点")]
public string IssuePlaceId { get; set; }
///
/// 签单地点名称
///
[Description("签单地点名称")]
public string IssuePlace { get; set; }
///
/// 签单日期
///
[Description("签单日期")]
public string IssueDate { get; set; }
///
/// 汇率
///
[Description("汇率")]
public Nullable ExchangeRate { get; set; }
///
/// 提单份数
///
[Description("提单份数")]
public string NoBill { get; set; }
///
/// 提单签发时间
///
[Description("提单签发时间")]
public Nullable BLDate { get; set; }
///
/// 承运人公司
///
[Description("承运人公司")]
public string CarrierCompany { get; set; }
///
/// 件数
///
[Description("件数")]
public Int32 PKGs { get; set; }
///
/// 毛重
///
[Description("重量")]
public Nullable KGs { get; set; }
///
/// 体积
///
[Description("体积")]
public Nullable CBM { get; set; }
///
/// 包装
///
[Description("包装")]
public string KindPKGs { get; set; }
///
/// 温度(冻柜)
///
[Description("冻:温度")]
public string TempSet { get; set; }
///
/// 通风(冻柜)
///
[Description("冻:通风")]
public string Reeferf { get; set; }
///
/// 湿度(冻柜)
///
[Description("冻:湿度")]
public string Humidity { get; set; }
///
/// 箱明细
///
public List ContaList { get; set; }
}
public class CompareDraftDataContaInfo
{
///
/// 集装箱箱型代码
///
[Description("箱型")]
public string ContaType { get; set; }
///
/// 集装箱箱型名称
///
[Description("箱型名称")]
public string ContaTypeName { get; set; }
///
/// 集装箱箱号
///
[Description("箱号")]
public string ContaNo { get; set; }
///
/// 铅封号
///
[Description("铅封号")]
public string SealNo { get; set; }
///
/// 包装
///
[Description("包装")]
public string KindPKGs { get; set; }
///
/// 皮重
///
[Description("箱皮重")]
public Nullable TareWeight { get; set; }
///
/// 件数
///
[Description("箱件数")]
public Int32 PKGs { get; set; }
///
/// 毛重
///
[Description("箱重量")]
public Nullable KGs { get; set; }
///
/// 尺码
///
[Description("箱体积")]
public Nullable CBM { get; set; }
}
public class TaskEmailDraftCompareMessageInfo
{
///
/// 表头
///
public TaskMessageHead Head { get; set; }
///
/// 表体
///
public TaskEmailDraftCompareMessageMainInfo Main { get; set; }
}
public class TaskEmailDraftCompareMessageMainInfo
{
///
/// 提单号
///
public string MBlNo { get; set; }
///
/// 所属租户ID
///
public string TenantId { get; set; }
}
}