using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Myshipping.Application
{
///
/// 任务BC详情
///
public class TaskManageOrderBCInfo
{
///
/// 业务类型 BookingConfirmation(订舱);BookingAmendment(订舱变更);BookingCancellation(订舱取消)
///
public string BusiType { get; set; }
///
/// 订舱单位
///
public string BookingParty { get; set; }
///
/// 发货人
///
public string Shipper { get; set; }
///
/// 收货人
///
public string Consignee { get; set; }
///
/// 通知人
///
public string NotifyParty { get; set; }
///
/// BC更新次数
///
public Nullable BCModifyTimes { get; set; }
///
/// BC更新时间
///
public Nullable BCModifyDate { get; set; }
///
/// 主单号
///
public string MBLNo { get; set; }
///
/// 船名
///
public string Vessel { get; set; }
///
/// 航次
///
public string VoyNo { get; set; }
///
/// 船公司
///
public string Carrier { get; set; }
///
/// 收货地
///
public string PlaceReceipt { get; set; }
///
/// 装货港
///
public string Portload { get; set; }
///
/// 截关时间
///
public Nullable ClosingDate { get; set; }
///
/// 截VGM时间
///
public Nullable VGMCutoffTime { get; set; }
///
/// ETA(预计到港时间)
///
public Nullable ETA { get; set; }
///
/// ETD(预计离港时间)
///
public Nullable ETD { get; set; }
///
/// 目的港ETA
///
public Nullable PODETA { get; set; }
///
/// 截单时间
///
public Nullable CutSingleTime { get; set; }
///
/// 卸货港
///
public string PortDischarge { get; set; }
///
/// 交货地
///
public string PlaceDelivery { get; set; }
///
/// 装运方式
///
public string ShippingMethod { get; set; }
///
/// 运输条款
///
public string Service { get; set; }
///
/// 港前运输形态
///
public string PreTransMode { get; set; }
///
/// 品名
///
public string Description { get; set; }
///
/// 签单地点
///
public string IssuePlace { get; set; }
///
/// 集港码头
///
public string CollectionTerminal { get; set; }
///
/// 约号
///
public string ContractNo { get; set; }
///
/// 预付地点
///
public string PrepardAT { get; set; }
///
/// 船代
///
public string ShipAgent { get; set; }
///
/// 场站
///
public string Yard { get; set; }
///
/// 场站联系人
///
public string YardContactUserName { get; set; }
///
/// 场站联系电话
///
public string YardContactTel { get; set; }
///
/// 一代客服姓名
///
public string FstCustomerSerUserName { get; set; }
///
/// 一代客服电话
///
public string FstCustomerSerUserTel { get; set; }
///
/// 一代客服邮箱
///
public string FstCustomerSerUserEmail { get; set; }
///
/// 备注1
///
public string Remark1 { get; set; }
///
/// 截港时间
///
public Nullable CYCutoffTime { get; set; }
///
/// 状态 TEMP-暂存 SUCC-已对应 ERROR-异常
///
public string Status { get; set; }
///
/// 文件MD5
///
public string FileMD5 { get; set; }
///
/// 最后对应时间,最后关联到订舱日期
///
public Nullable LastToBookingDate { get; set; }
///
/// 来源邮箱
///
public string FromEmail { get; set; }
///
/// 接收邮箱
///
public string RecvEmail { get; set; }
///
/// 集装箱列表
///
public List CtnList { get; set; }
///
/// 船公司代号
///
public string CarrierId { get; set; }
///
/// 航线代码(船公司)
///
public string LaneCode { get; set; }
///
/// 航线名称(船公司)
///
public string LaneName { get; set; }
///
/// 承运方式 DIRECT_SHIP-直达;TRANSFER_SHIP-中转
///
public string CarriageType { get; set; }
///
/// 承运方式名称 DIRECT_SHIP-直达;TRANSFER_SHIP-中转
///
public string CarriageTypeName { get; set; }
///
/// 订舱方式 CONTRACT_ORDER-合约订舱;SPOT_ORDER-SPOT订舱
///
public string BookingSlotType { get; set; }
///
/// 订舱方式名称 CONTRACT_ORDER-合约订舱;SPOT_ORDER-SPOT订舱
///
public string BookingSlotTypeName { get; set; }
///
/// 箱型箱量
///
public string CtnStat { get; set; }
///
/// 所在周数
///
public string WeekAt { get; set; }
///
/// 箱使天数
///
public int DetensionFreeDays { get; set; }
///
/// 样单截止日期
///
public Nullable SICutDate { get; set; }
///
/// VGM截止日期
///
public Nullable VGMSubmissionCutDate { get; set; }
///
/// 舱单截止时间
///
public Nullable ManifestCutDate { get; set; }
///
/// MDGF提交截止时间
///
public Nullable MDGFCutDate { get; set; }
///
/// 中转港1
///
public string TransferPort1 { get; set; }
///
/// 中转港2
///
public string TransferPort2 { get; set; }
///
/// 二程船名
///
public string SecondVessel { get; set; }
///
/// 二程航次
///
public string SecondVoyno { get; set; }
///
/// 二程ETD
///
public Nullable SecondETD { get; set; }
///
/// 二程ETA
///
public Nullable SecondETA { get; set; }
///
/// 订舱确认时间
///
public Nullable BookingConfirmDate { get; set; }
///
/// 舱位主键
///
public Nullable BookingSlotId { get; set; }
///
/// 批次号
///
public string BatchNo { get; set; }
///
/// 计费时间
///
public Nullable PriceCalculationDate { get; set; }
}
#region CMA BC的解析
public class ContainersItem
{
///
///
///
public string CartonQuantity { get; set; }
///
///
///
public string BoxPile { get; set; }
///
///
///
public string Pieces { get; set; }
///
///
///
public string Size { get; set; }
///
///
///
public string GrossWeight { get; set; }
///
///
///
public string TareWeight { get; set; }
///
///
///
public string IODGT { get; set; }
///
///
///
public string IODGTLevel { get; set; }
///
///
///
public string Temperature { get; set; }
///
///
///
public string Ventilate { get; set; }
///
///
///
public string SpecialLoadingRequirement { get; set; }
///
///
///
public string SuitcaseTterminal { get; set; }
///
///
///
public string SuitcaseTime { get; set; }
///
///
///
public string ReturnDepot { get; set; }
}
public class BCListItem
{
///
///
///
public string BookingParty { get; set; }
///
///
///
public string Shipper { get; set; }
///
///
///
public string Consigner { get; set; }
///
///
///
public string NotifyParty { get; set; }
///
///
///
public string BCUpdateTimes { get; set; }
///
///
///
public string BCUpdateTime { get; set; }
///
///
///
public string BLNo { get; set; }
///
///
///
public string ReferenceNo { get; set; }
///
///
///
public string Vessel { get; set; }
///
///
///
public string Voyage { get; set; }
///
///
///
public string ShippingCompany { get; set; }
///
///
///
public string PlaceOfReceipt { get; set; }
///
///
///
public string LoadingPort { get; set; }
///
///
///
public string ClosingDate { get; set; }
///
///
///
public string VGMCutOffTime { get; set; }
///
///
///
public string ETA { get; set; }
///
///
///
public string ETD { get; set; }
///
///
///
public string DischargingPort { get; set; }
///
///
///
public string DeliveryPlace { get; set; }
///
///
///
public string PortOfDestinationETA { get; set; }
///
///
///
public string ShippingWay { get; set; }
///
///
///
public string ShippingTerms { get; set; }
///
///
///
public string PreportTransportationMode { get; set; }
///
///
///
public string OfTheGoods { get; set; }
///
///
///
public string SignTheBillLocation { get; set; }
///
///
///
public string CollectionTerminal { get; set; }
///
///
///
public string AboutNo { get; set; }
///
///
///
public string PlaceInAdvance { get; set; }
///
///
///
public string ShipAgency { get; set; }
///
///
///
public string FreightForwarder { get; set; }
///
///
///
public string Station { get; set; }
///
///
///
public string StationContact { get; set; }
///
///
///
public string StationContactNumber { get; set; }
///
///
///
public string CutSingleTime { get; set; }
///
///
///
public string FirstCustomerServiceName { get; set; }
///
///
///
public string FirstCustomerServiceNumber { get; set; }
///
///
///
public string FirstCustomerServiceEmail { get; set; }
///
///
///
public string CYCutOffTime { get; set; }
///
///
///
public string Remark { get; set; }
///
///
///
public List Containers { get; set; }
}
public class Data
{
///
///
///
public string ModelID { get; set; }
///
///
///
public string ModelName { get; set; }
///
///
///
public List BCList { get; set; }
}
public class Parse_info
{
///
///
///
public int status { get; set; }
///
///
///
public string message { get; set; }
///
///
///
public Data data { get; set; }
}
public class Parse_attachmentItem
{
///
///
///
public string filename { get; set; }
///
///
///
public string download_path { get; set; }
///
///
///
public string is_parse { get; set; }
///
///
///
public Parse_info parse_info { get; set; }
}
#endregion
}