using Myshipping.Application.EDI; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Myshipping.Application { /// /// EDI基类 /// public class EDIBaseModel { /// /// 发送方代码 M /// public string SENDCODE { get; set; } /// /// 发送方名称 M /// public string SENDNAME { get; set; } /// /// 接收方代码 M /// public string RECEIVECODE { get; set; } /// /// 文件类型 (B订舱,E SI确认)M /// public string filetype { get; set; } /// /// 文件功能 (9原始,1 更新,5 退舱 )M /// public string filerole { get; set; } /// /// 文件路径 M /// public string filerpath { get; set; } /// /// 是否使用货代代码。 M /// public bool UseForWarderCode { get; set; } /// /// 货代代码。 O /// public string ForWarderCode { get; set; } /// /// 货代名称 O /// public string ForWarderName { get; set; } /// /// 业务信息列表 M /// public List BSLIST { get; set; } /// /// 发送方公司代码 /// public string SENDCOMPANYCODE { get; set; } /// /// 发送方部门代码 /// public string SENDSUBCOMPANYCODE { get; set; } /// /// 发送方别名代码 /// public string ALIASSENDCODE { get; set; } /// /// 发货方代码 /// public string SENDSHIPPERCODE { get; set; } /// /// 费用类型代码 /// public string FEETYPE { get; set; } /// /// 付费方式代码 /// public string PAYABLE { get; set; } /// /// 海丰扩展信息 /// public SITCExtInfo SITCExt { get; set; } } public class SITCExtInfo { /// /// 运程类型(DIRECT-直达,SECOND-二程,THIRD-三程) /// public string TransferType { get; set; } /// /// 运程类型名称(DIRECT-直达,SECOND-二程,THIRD-三程) /// public string TransferTypeName { get; set; } /// /// 一程运力类型(MAIN-干线,BRANCH-支线) /// public string FstShipCapacity { get; set; } /// /// 一程运力类型名称(MAIN-干线,BRANCH-支线) /// public string FstShipCapacityName { get; set; } /// /// 一程ETD /// public Nullable FstETD { get; set; } /// /// 一程船名 /// public string FstVessel { get; set; } /// /// 一程航次号 /// public string FstVoyno { get; set; } /// /// 一程装货港代码 /// public string FstPortLoadCode { get; set; } /// /// 一程装货港名称 /// public string FstPortLoad { get; set; } /// /// 一程卸货港代码 /// public string FstPortDischargeCode { get; set; } /// /// 一程卸货港名称 /// public string FstPortDischarge { get; set; } /// /// 一程港属类型(LOCATION-本港) /// public string FstTransferLocType { get; set; } /// /// 一程港属类型名称(LOCATION-本港) /// public string FstTransferLogTypeName { get; set; } /// /// 一程航线 /// public string FstLaneName { get; set; } /// /// 二程运力类型(MAIN-干线,BRANCH-支线) /// public string SecShipCapacity { get; set; } /// /// 二程运力类型名称(MAIN-干线,BRANCH-支线) /// public string SecShipCapacityName { get; set; } /// /// 二程ETD /// public Nullable SecETD { get; set; } /// /// 二程船名 /// public string SecVessel { get; set; } /// /// 二程航次号 /// public string SecVoyno { get; set; } /// /// 二程装货港代码 /// public string SecPortLoadCode { get; set; } /// /// 二程装货港名称 /// public string SecPortLoad { get; set; } /// /// 二程卸货港代码 /// public string SecPortDischargeCode { get; set; } /// /// 二程卸货港名称 /// public string SecPortDischarge { get; set; } /// /// 二程港属类型(LOCATION-本港) /// public string SecTransferLocType { get; set; } /// /// 二程港属类型名称(LOCATION-本港) /// public string SecTransferLogTypeName { get; set; } /// /// 二程航线 /// public string SecLaneName { get; set; } /// /// 三程运力类型(MAIN-干线,BRANCH-支线) /// public string ThdShipCapacity { get; set; } /// /// 三程运力类型名称(MAIN-干线,BRANCH-支线) /// public string ThdShipCapacityName { get; set; } /// /// 三程ETD /// public Nullable ThdETD { get; set; } /// /// 三程船名 /// public string ThdVessel { get; set; } /// /// 三程航次号 /// public string ThdVoyno { get; set; } /// /// 三程装货港代码 /// public string ThdPortLoadCode { get; set; } /// /// 三程装货港名称 /// public string ThdPortLoad { get; set; } /// /// 三程卸货港代码 /// public string ThdPortDischargeCode { get; set; } /// /// 三程卸货港名称 /// public string ThdPortDischarge { get; set; } /// /// 三程港属类型(LOCATION-本港) /// public string ThdTransferLocType { get; set; } /// /// 三程港属类型名称(LOCATION-本港) /// public string ThdTransferLogTypeName { get; set; } /// /// 三程航线 /// public string ThdLaneName { get; set; } } }