|
|
using System;
|
|
|
using System.Collections.Generic;
|
|
|
using System.Linq;
|
|
|
using System.Text;
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
|
namespace Myshipping.Application
|
|
|
{
|
|
|
/// <summary>
|
|
|
/// VOLTA申报报文
|
|
|
/// </summary>
|
|
|
public class VOLTAEDIBaseModel
|
|
|
{
|
|
|
/// <summary>
|
|
|
/// 订舱号(提单号,必填)
|
|
|
/// </summary>
|
|
|
public string BookingId { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
/// 订舱主键
|
|
|
/// </summary>
|
|
|
public long id { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
/// 发货人名称(必填)
|
|
|
/// </summary>
|
|
|
public string ShpperName { get; set; }
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
/// 发货人地址(必填,最大450个字符)
|
|
|
/// </summary>
|
|
|
public string ShpperAddr { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
/// 收货人名称(必填)
|
|
|
/// </summary>
|
|
|
public string ConsigneeName { get; set; }
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
/// 收货人地址(必填,最大450个字符)
|
|
|
/// </summary>
|
|
|
public string ConsigneeAddr { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
/// 通知人名称(必填)
|
|
|
/// </summary>
|
|
|
public string NotifyName { get; set; }
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
/// 通知人地址(必填,最大450个字符)
|
|
|
/// </summary>
|
|
|
public string NotifyAddr { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
/// 通知人1名称
|
|
|
/// </summary>
|
|
|
public string NotifySecondName { get; set; }
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
/// 通知人1地址(最大450个字符)
|
|
|
/// </summary>
|
|
|
public string NotifySecondAddr { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
/// 发货地(必填)
|
|
|
/// </summary>
|
|
|
public string PlaceOfOrigin { get; set;}
|
|
|
|
|
|
/// <summary>
|
|
|
/// 起运港(必填)
|
|
|
/// </summary>
|
|
|
public string LoadPort { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
/// 卸货港(必填)
|
|
|
/// </summary>
|
|
|
public string DischargePort { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
/// 最终目的港(必填)
|
|
|
/// </summary>
|
|
|
public string FinalDestination { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
/// 最终交货地
|
|
|
/// </summary>
|
|
|
public string PlaceOfDelivery { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
/// 品名(必填,最大3000个字符)
|
|
|
/// </summary>
|
|
|
public string CargoDescription { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
/// 唛头(最大1000个字符)
|
|
|
/// </summary>
|
|
|
public string Marks { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
/// 合计毛重
|
|
|
/// </summary>
|
|
|
public decimal TotalGWt { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
/// 合计净重
|
|
|
/// </summary>
|
|
|
public decimal TotalNWt { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
/// 合计尺寸
|
|
|
/// </summary>
|
|
|
public decimal TotalCBM { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
/// 箱明细
|
|
|
/// </summary>
|
|
|
public List<VOLTAEDIContaModel> ContaList { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
/// VOLTA模板版本
|
|
|
/// </summary>
|
|
|
public string TemplateVersion { get; set; } = "1.02";
|
|
|
|
|
|
/// <summary>
|
|
|
/// 文件路径
|
|
|
/// </summary>
|
|
|
public string FilePath { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
/// 船名
|
|
|
/// </summary>
|
|
|
public string Vessel { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
/// 航次号
|
|
|
/// </summary>
|
|
|
public string VoyNo { get; set; }
|
|
|
}
|
|
|
|
|
|
/// <summary>
|
|
|
/// 箱信息
|
|
|
/// </summary>
|
|
|
public class VOLTAEDIContaModel
|
|
|
{
|
|
|
/// <summary>
|
|
|
/// 顺序号
|
|
|
/// </summary>
|
|
|
public int SNo { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
/// 箱号
|
|
|
/// </summary>
|
|
|
public string ContaNo { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
/// 铅封号
|
|
|
/// </summary>
|
|
|
public string SealNo { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
/// 件数
|
|
|
/// </summary>
|
|
|
public Nullable<int> Qty { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
/// 毛重
|
|
|
/// </summary>
|
|
|
public Nullable<decimal> GWt { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
/// 净重
|
|
|
/// </summary>
|
|
|
public Nullable<decimal> NWt { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
/// 尺寸
|
|
|
/// </summary>
|
|
|
public Nullable<decimal> CBM { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
/// 重量单位
|
|
|
/// </summary>
|
|
|
public string WTUnit { get; set; } = "KGS";
|
|
|
|
|
|
/// <summary>
|
|
|
/// 包装
|
|
|
/// </summary>
|
|
|
public string Pkgs { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
|
/// EDI转换包装代码
|
|
|
/// </summary>
|
|
|
public string EdiPkgs { get; set; }
|
|
|
}
|
|
|
}
|