You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
BookingHeChuan/Myshipping.Application/EDI/Dtos/EDIBaseModel.cs

299 lines
7.8 KiB
C#

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

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; }
/// <summary>
/// 是否VOLTA截单时不生成43行原自租户参数 VOLTA_SI_AVOID_43_LINE
/// </summary>
public bool isVoltaSIAvoid43Line { 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; }
}
}