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