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