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/VOLTAEDIBaseModel.cs

305 lines
7.5 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 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>
/// 弹出编辑页面代码 SLS-弹出新的页面
/// </summary>
public string EditPageCode { get; set; }
/// <summary>
/// HSCODE
/// </summary>
public string HSCode { get; set; }
/// <summary>
/// 文档类型 General SI-gsiSI with Free Text-silc
/// </summary>
public string DocumentType { get; set; }
/// <summary>
/// 文档类型代码 General SI-gsiSI with Free Text-silc
/// </summary>
public string DocumentTypeCode { get; set; }
/// <summary>
/// 付费方式 PrePaid-预付Collect-到付
/// </summary>
public string BLFRT { get; set; }
/// <summary>
/// 出口参考号
/// </summary>
public string ShipperExportReference { get; set; }
/// <summary>
/// 出口参考号类型
/// </summary>
public string ShipperExportReferenceType { get; set; }
/// <summary>
/// 预付运费
/// </summary>
public string Precarriage { 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; }
/// <summary>
/// 尺寸单位(海领截单)
/// </summary>
public string CBMUnit { get; set; } = "M3";
/// <summary>
/// 箱型(海领截单)
/// </summary>
public string CtnType { get; set; }
/// <summary>
/// Outer package ID海领截单
/// </summary>
public string OuterPackageID { get; set; }
/// <summary>
/// 长(海领截单)
/// </summary>
public Nullable<decimal> Length { get; set; }
/// <summary>
/// 宽(海领截单)
/// </summary>
public Nullable<decimal> Width { get; set; }
/// <summary>
/// 高(海领截单)
/// </summary>
public Nullable<decimal> Height { get; set; }
/// <summary>
/// 测量单位(海领截单)
/// </summary>
public string UnitofMeasure { get; set; }
/// <summary>
/// 车辆识别ID海领截单
/// </summary>
public string VehicleIdNumber { get; set; }
/// <summary>
/// 车辆注册PI海领截单
/// </summary>
public string VehicleRegistPI { get; set; }
/// <summary>
/// 铅封号2海领截单
/// </summary>
public string SealNumber2 { get; set; }
/// <summary>
/// 铅封号3海领截单
/// </summary>
public string SealNumber3 { get; set; }
/// <summary>
/// 铅封号4海领截单
/// </summary>
public string SealNumber4 { get; set; }
/// <summary>
/// 铅封号5海领截单
/// </summary>
public string SealNumber5 { get; set; }
}
}