|
|
using System;
|
|
|
using System.Collections.Generic;
|
|
|
|
|
|
namespace djy.Model.AFRDto
|
|
|
{
|
|
|
/// <summary>
|
|
|
/// 请求电子口岸接口时,用于 原始发送、修改发送、重新发送 的Dto类
|
|
|
/// </summary>
|
|
|
public class AFRRequestDto
|
|
|
{
|
|
|
public MasterBillInfo masterBillInfo { get; set; }
|
|
|
public List<HouseBillInfo> houseBillInfoList { get; set; }
|
|
|
}
|
|
|
public class MasterBillInfo
|
|
|
{
|
|
|
/// <summary>
|
|
|
/// 船东提单号
|
|
|
/// </summary>
|
|
|
public string masterBillNo { get; set; }
|
|
|
/// <summary>
|
|
|
/// 船东单运编号(选填)
|
|
|
/// </summary>
|
|
|
public string shippingNo { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
/// 运输条款代码
|
|
|
/// </summary>
|
|
|
public string clause { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
/// 整箱/拼箱 FCL:整箱 LCL:拼箱
|
|
|
/// </summary>
|
|
|
public string consignmentType { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
/// 卸货港全称
|
|
|
/// </summary>
|
|
|
public string dischargeHarbour { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
/// 卸货港五字码
|
|
|
/// </summary>
|
|
|
public string dischargeHarbourCode { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
/// 预计到达日期
|
|
|
/// </summary>
|
|
|
public DateTime? estimatedArrivalTime { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
/// 申报运输类型
|
|
|
/// </summary>
|
|
|
public string filingType { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
/// 交货地全称(条件)申报运输类型Tranship时,必填
|
|
|
/// </summary>
|
|
|
public string lastForeignHarbour { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
/// 交货地五字码(条件)申报运输类型Tranship时,必填
|
|
|
/// </summary>
|
|
|
public string lastForeignHarbourCode { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
/// 预计开船日期
|
|
|
/// </summary>
|
|
|
public DateTime? loadDate { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
/// 装货港全称
|
|
|
/// </summary>
|
|
|
public string loadHarbour { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
/// 装货港五字码
|
|
|
/// </summary>
|
|
|
public string loadHarbourCode { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
/// 船司MapName
|
|
|
/// </summary>
|
|
|
public string shipCompany { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///
|
|
|
/// </summary>
|
|
|
public string vessel { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
///
|
|
|
/// </summary>
|
|
|
public string voyage { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
/// 发送方DEA CARGOEDI账号,联系运营人员配置
|
|
|
/// </summary>
|
|
|
public string requesterDea { get; set; }
|
|
|
}
|
|
|
public class HouseBillInfo
|
|
|
{
|
|
|
/// <summary>
|
|
|
/// 货代提单号唯一编号 同货代提单号,原始修改删除重发报文,该值要一致
|
|
|
/// </summary>
|
|
|
public string businessId { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
/// 货代单运编号(选填)
|
|
|
/// </summary>
|
|
|
public string shippingNo { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
/// 货代提单号 修改报文,该值不可以变更
|
|
|
/// </summary>
|
|
|
public string houseBillNo { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
/// 通知人地址
|
|
|
/// </summary>
|
|
|
public string notifyAddress { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
/// 通知人城市
|
|
|
/// </summary>
|
|
|
public string notifyCity { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
/// 通知人联系人
|
|
|
/// </summary>
|
|
|
public string notifyContact { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
/// 通知人国家
|
|
|
/// </summary>
|
|
|
public string notifyCountry { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
/// 通知人国家代码
|
|
|
/// </summary>
|
|
|
public string notifyCountryCode { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
/// 通知人名称
|
|
|
/// </summary>
|
|
|
public string notifyName { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
/// 通知人联系人电话
|
|
|
/// </summary>
|
|
|
public string notifyTel { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
/// 收货人地址
|
|
|
/// </summary>
|
|
|
public string receiveAddress { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
/// 收货人城市
|
|
|
/// </summary>
|
|
|
public string receiveCity { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
/// 收货人联系人
|
|
|
/// </summary>
|
|
|
public string receiveContact { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
/// 收货人国家
|
|
|
/// </summary>
|
|
|
public string receiveCountry { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
/// 收货人国家代码
|
|
|
/// </summary>
|
|
|
public string receiveCountryCode { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
/// 收货人名称
|
|
|
/// </summary>
|
|
|
public string receiveName { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
/// 收货人联系人电话
|
|
|
/// </summary>
|
|
|
public string receiveTel { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
/// 发货人地址
|
|
|
/// </summary>
|
|
|
public string sendAddress { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
/// 发货人城市
|
|
|
/// </summary>
|
|
|
public string sendCity { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
/// 发货人联系人
|
|
|
/// </summary>
|
|
|
public string sendContact { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
/// 发货人国家
|
|
|
/// </summary>
|
|
|
public string sendCountry { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
/// 发货人国家代码
|
|
|
/// </summary>
|
|
|
public string sendCountryCode { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
/// 发货人名称
|
|
|
/// </summary>
|
|
|
public string sendName { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
/// 发货人联系人电话
|
|
|
/// </summary>
|
|
|
public string sendTel { get; set; }
|
|
|
|
|
|
//public List<CtnInfo> ctnInfo { get; set; }
|
|
|
public CtnInfo ctnInfo { get; set; }
|
|
|
}
|
|
|
public class CtnInfo
|
|
|
{
|
|
|
public List<InsertList> insertList { get; set; }
|
|
|
}
|
|
|
public class InsertList
|
|
|
{
|
|
|
/// <summary>
|
|
|
/// 货主箱标志
|
|
|
/// </summary>
|
|
|
public string containerMark { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
/// 箱号
|
|
|
/// </summary>
|
|
|
public string containerNo { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
/// 箱型
|
|
|
/// </summary>
|
|
|
public string containerType { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
/// 危品联系人(选填)
|
|
|
/// </summary>
|
|
|
public string dangerContact { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
/// 危品联系人电话(选填)
|
|
|
/// </summary>
|
|
|
public string dangerContactTel { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
/// 危品等级(条件必填)
|
|
|
/// </summary>
|
|
|
public string dangerGrade { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
/// 危品备注(选填)
|
|
|
/// </summary>
|
|
|
public string dangerMemo { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
/// 件数
|
|
|
/// </summary>
|
|
|
public string digit { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
/// 品名
|
|
|
/// </summary>
|
|
|
public string enProductName { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
/// 毛重
|
|
|
/// </summary>
|
|
|
public string grossWeight { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
/// HSCode
|
|
|
/// </summary>
|
|
|
public string hscode { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
/// 燃点,摄氏度(选填)
|
|
|
/// </summary>
|
|
|
public string ignite { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
/// 原产国(选填)
|
|
|
/// </summary>
|
|
|
public string originCountry { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
/// 原产国国家代码(选填)
|
|
|
/// </summary>
|
|
|
public string originCountryCode { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
/// 包装
|
|
|
/// </summary>
|
|
|
public string packing { get; set; }
|
|
|
/// <summary>
|
|
|
/// 包装代码
|
|
|
/// </summary>
|
|
|
public string packingCode { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
/// 封号
|
|
|
/// </summary>
|
|
|
public string sealNo { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
/// 唛头
|
|
|
/// </summary>
|
|
|
public string shippingMark { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
/// UN CODE(条件必填)
|
|
|
/// </summary>
|
|
|
public string unCode { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
/// 体积
|
|
|
/// </summary>
|
|
|
public string volume { get; set; }
|
|
|
}
|
|
|
}
|