|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Linq;
|
|
|
|
|
using System.Text;
|
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
|
|
|
|
|
namespace DS.WMS.Core.TaskPlat.Dtos
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 任务BC详情
|
|
|
|
|
/// </summary>
|
|
|
|
|
public class TaskManageOrderBCInfo
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 业务类型 BookingConfirmation(订舱);BookingAmendment(订舱变更);BookingCancellation(订舱取消)
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string BusiType { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 订舱单位
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string BookingParty { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 发货人
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string Shipper { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 收货人
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string Consignee { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 通知人
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string NotifyParty { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// BC更新次数
|
|
|
|
|
/// </summary>
|
|
|
|
|
public Nullable<int> BCModifyTimes { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// BC更新时间
|
|
|
|
|
/// </summary>
|
|
|
|
|
public Nullable<DateTime> BCModifyDate { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 主单号
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string MBLNo { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 船名
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string Vessel { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 航次
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string VoyNo { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 船公司
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string Carrier { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 收货地
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string PlaceReceipt { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 装货港
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string Portload { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 截关时间
|
|
|
|
|
/// </summary>
|
|
|
|
|
public Nullable<DateTime> ClosingDate { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 截VGM时间
|
|
|
|
|
/// </summary>
|
|
|
|
|
public Nullable<DateTime> VGMCutoffTime { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// ETA(预计到港时间)
|
|
|
|
|
/// </summary>
|
|
|
|
|
public Nullable<DateTime> ETA { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// ETD(预计离港时间)
|
|
|
|
|
/// </summary>
|
|
|
|
|
public Nullable<DateTime> ETD { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 目的港ETA
|
|
|
|
|
/// </summary>
|
|
|
|
|
public Nullable<DateTime> PODETA { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 截单时间
|
|
|
|
|
/// </summary>
|
|
|
|
|
public Nullable<DateTime> CutSingleTime { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 卸货港
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string PortDischarge { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 交货地
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string PlaceDelivery { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 装运方式
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string ShippingMethod { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 运输条款
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string Service { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 港前运输形态
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string PreTransMode { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 品名
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string Description { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 签单地点
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string IssuePlace { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 集港码头
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string CollectionTerminal { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 约号
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string ContractNo { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 预付地点
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string PrepardAT { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 船代
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string ShipAgent { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 场站
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string Yard { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 场站联系人
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string YardContactUserName { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 场站联系电话
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string YardContactTel { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 一代客服姓名
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string FstCustomerSerUserName { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 一代客服电话
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string FstCustomerSerUserTel { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 一代客服邮箱
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string FstCustomerSerUserEmail { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 备注1
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string Remark1 { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 截港时间
|
|
|
|
|
/// </summary>
|
|
|
|
|
public Nullable<DateTime> CYCutoffTime { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 状态 TEMP-暂存 SUCC-已对应 ERROR-异常
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string Status { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 文件MD5
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string FileMD5 { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 最后对应时间,最后关联到订舱日期
|
|
|
|
|
/// </summary>
|
|
|
|
|
public Nullable<DateTime> LastToBookingDate { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 来源邮箱
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string FromEmail { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 接收邮箱
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string RecvEmail { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 集装箱列表
|
|
|
|
|
/// </summary>
|
|
|
|
|
public List<TaskManageOrderBCCTNInfo> CtnList { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 船公司代号
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string CarrierId { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 航线代码(船公司)
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string LaneCode { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 航线名称(船公司)
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string LaneName { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 承运方式 DIRECT_SHIP-直达;TRANSFER_SHIP-中转
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string CarriageType { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 承运方式名称 DIRECT_SHIP-直达;TRANSFER_SHIP-中转
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string CarriageTypeName { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 订舱方式 CONTRACT_ORDER-合约订舱;SPOT_ORDER-SPOT订舱
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string BookingSlotType { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 订舱方式名称 CONTRACT_ORDER-合约订舱;SPOT_ORDER-SPOT订舱
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string BookingSlotTypeName { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 箱型箱量
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string CtnStat { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 所在周数
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string WeekAt { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 箱使天数
|
|
|
|
|
/// </summary>
|
|
|
|
|
public int DetensionFreeDays { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 样单截止日期
|
|
|
|
|
/// </summary>
|
|
|
|
|
public Nullable<DateTime> SICutDate { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// VGM截止日期
|
|
|
|
|
/// </summary>
|
|
|
|
|
public Nullable<DateTime> VGMSubmissionCutDate { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 舱单截止时间
|
|
|
|
|
/// </summary>
|
|
|
|
|
public Nullable<DateTime> ManifestCutDate { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// MDGF提交截止时间
|
|
|
|
|
/// </summary>
|
|
|
|
|
public Nullable<DateTime> MDGFCutDate { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 中转港1
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string TransferPort1 { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 中转港2
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string TransferPort2 { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 二程船名
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string SecondVessel { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 二程航次
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string SecondVoyno { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 二程ETD
|
|
|
|
|
/// </summary>
|
|
|
|
|
public Nullable<DateTime> SecondETD { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 二程ETA
|
|
|
|
|
/// </summary>
|
|
|
|
|
public Nullable<DateTime> SecondETA { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 订舱确认时间
|
|
|
|
|
/// </summary>
|
|
|
|
|
public Nullable<DateTime> BookingConfirmDate { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 舱位主键
|
|
|
|
|
/// </summary>
|
|
|
|
|
public Nullable<long> BookingSlotId { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 批次号
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string BatchNo { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 计费时间
|
|
|
|
|
/// </summary>
|
|
|
|
|
public Nullable<DateTime> PriceCalculationDate { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 决定方
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string DecidingParty { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 船公司航次
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string CarrierVoyNo { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 订舱号
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string OriginalBookingNo { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 是否危险品
|
|
|
|
|
/// </summary>
|
|
|
|
|
public bool IsHazardous { get; set; } = false;
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 是否熏蒸
|
|
|
|
|
/// </summary>
|
|
|
|
|
public bool IsFumigation { get; set; } = false;
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 是否冷冻
|
|
|
|
|
/// </summary>
|
|
|
|
|
public bool IsReefer { get; set; } = false;
|
|
|
|
|
|
|
|
|
|
// <summary>
|
|
|
|
|
/// 是否超限
|
|
|
|
|
/// </summary>
|
|
|
|
|
public bool IsOverSizedCargo { get; set; } = false;
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 是否液袋
|
|
|
|
|
/// </summary>
|
|
|
|
|
public bool IsFlexitank { get; set; } = false;
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 货物标志
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string CARGOID { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 客户样单截止日期
|
|
|
|
|
/// </summary>
|
|
|
|
|
public Nullable<DateTime> CustomSICutDate { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 提箱场站
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string TakeCTNYard { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 更细标记 (ORIGINAL-原BC文件 CANCELLATION-取消 REJECTION-拒绝 1ST UPDATE-首次更新 2ND-2次 3RD-3次 4TH..多次)
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string UpdateFlag { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 船公司参考号
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string CarrierReferNo { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 用户参考号
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string UserReferNo { get; set; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#region CMA BC的解析
|
|
|
|
|
public class ContainersItem
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
///
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string CartonQuantity { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
///
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string BoxPile { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
///
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string Pieces { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
///
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string Size { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
///
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string GrossWeight { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
///
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string TareWeight { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
///
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string IODGT { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
///
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string IODGTLevel { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
///
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string Temperature { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
///
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string Ventilate { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
///
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string SpecialLoadingRequirement { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
///
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string SuitcaseTterminal { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
///
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string SuitcaseTime { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
///
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string ReturnDepot { get; set; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public class BCListItem
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
///
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string BookingParty { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
///
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string Shipper { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
///
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string Consigner { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
///
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string NotifyParty { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
///
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string BCUpdateTimes { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
///
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string BCUpdateTime { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
///
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string BLNo { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
///
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string ReferenceNo { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
///
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string Vessel { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
///
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string Voyage { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
///
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string ShippingCompany { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
///
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string PlaceOfReceipt { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
///
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string LoadingPort { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
///
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string ClosingDate { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
///
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string VGMCutOffTime { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
///
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string ETA { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
///
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string ETD { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
///
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string DischargingPort { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
///
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string DeliveryPlace { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
///
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string PortOfDestinationETA { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
///
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string ShippingWay { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
///
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string ShippingTerms { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
///
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string PreportTransportationMode { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
///
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string OfTheGoods { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
///
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string SignTheBillLocation { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
///
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string CollectionTerminal { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
///
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string AboutNo { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
///
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string PlaceInAdvance { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
///
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string ShipAgency { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
///
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string FreightForwarder { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
///
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string Station { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
///
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string StationContact { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
///
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string StationContactNumber { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
///
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string CutSingleTime { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
///
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string FirstCustomerServiceName { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
///
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string FirstCustomerServiceNumber { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
///
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string FirstCustomerServiceEmail { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
///
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string CYCutOffTime { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
///
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string Remark { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
///
|
|
|
|
|
/// </summary>
|
|
|
|
|
public List<ContainersItem> Containers { get; set; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public class Data
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
///
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string ModelID { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
///
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string ModelName { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
///
|
|
|
|
|
/// </summary>
|
|
|
|
|
public List<BCListItem> BCList { get; set; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public class Parse_info
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
///
|
|
|
|
|
/// </summary>
|
|
|
|
|
public int status { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
///
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string message { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
///
|
|
|
|
|
/// </summary>
|
|
|
|
|
public Data data { get; set; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public class Parse_attachmentItem
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
///
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string filename { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
///
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string download_path { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
///
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string is_parse { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
///
|
|
|
|
|
/// </summary>
|
|
|
|
|
public Parse_info parse_info { get; set; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#endregion
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#region 单表账单的解析
|
|
|
|
|
|
|
|
|
|
public class perbill
|
|
|
|
|
{
|
|
|
|
|
public List<Parse_Text> parse_text { get; set; }
|
|
|
|
|
public List<Parse_Attachment> parse_attachment { get; set; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public class Parse_Text
|
|
|
|
|
{
|
|
|
|
|
public string bno { get; set; }
|
|
|
|
|
public string booking_ref { get; set; }
|
|
|
|
|
public string link { get; set; }
|
|
|
|
|
public string voyage { get; set; }
|
|
|
|
|
public string vessel { get; set; }
|
|
|
|
|
public string pol_name { get; set; }
|
|
|
|
|
public string pod_name { get; set; }
|
|
|
|
|
public string invoice_bno { get; set; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public class Parse_Attachment
|
|
|
|
|
{
|
|
|
|
|
public string filename { get; set; }
|
|
|
|
|
public string download_path { get; set; }
|
|
|
|
|
public bool is_parse { get; set; }
|
|
|
|
|
public Parse_Info parse_info { get; set; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public class Parse_Info
|
|
|
|
|
{
|
|
|
|
|
public string status { get; set; }
|
|
|
|
|
public Message message { get; set; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public class Message
|
|
|
|
|
{
|
|
|
|
|
public string bill_no { get; set; }
|
|
|
|
|
public string invoice { get; set; }
|
|
|
|
|
public string cancellation { get; set; }
|
|
|
|
|
public Datum[] data { get; set; }
|
|
|
|
|
public string total_amount { get; set; }
|
|
|
|
|
public string PdfType { get; set; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public class Datum
|
|
|
|
|
{
|
|
|
|
|
public string box { get; set; }
|
|
|
|
|
public string cost_project { get; set; }
|
|
|
|
|
public string Tax { get; set; }
|
|
|
|
|
public string count { get; set; }
|
|
|
|
|
public string unit { get; set; }
|
|
|
|
|
public string Rate { get; set; }
|
|
|
|
|
public string currency { get; set; }
|
|
|
|
|
public string amount { get; set; }
|
|
|
|
|
public string amount_USD { get; set; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#endregion
|
|
|
|
|
}
|