|
|
|
|
using System;
|
|
|
|
|
using HcUtility.Core;
|
|
|
|
|
using Newtonsoft.Json;
|
|
|
|
|
|
|
|
|
|
namespace DSWeb.MvcShipping.Models.MsOpSeaeEdi
|
|
|
|
|
{
|
|
|
|
|
[JsonObject]
|
|
|
|
|
public class MsOpSeaeEdiCtn : ModelObjectBillBody
|
|
|
|
|
{
|
|
|
|
|
#region 读写属性
|
|
|
|
|
private string _ctn_id = "";
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 编号
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB(MDBType = ModelDBOprationType.All, IsPrimary = true)]
|
|
|
|
|
public string CTN_ID
|
|
|
|
|
{
|
|
|
|
|
get { return _ctn_id; }
|
|
|
|
|
set { _ctn_id = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private string _MFNO = "";
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 业务编号
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB(MDBType = ModelDBOprationType.Insert)]
|
|
|
|
|
public string MFNO
|
|
|
|
|
{
|
|
|
|
|
get { return _MFNO; }
|
|
|
|
|
set { _MFNO = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private string _ctncode = "";
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 箱型代码
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string CTNCODE
|
|
|
|
|
{
|
|
|
|
|
get { return _ctncode; }
|
|
|
|
|
set { _ctncode = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private string _size = "";
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 尺寸
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string SIZE
|
|
|
|
|
{
|
|
|
|
|
get { return _size; }
|
|
|
|
|
set { _size = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private string _ctn = "";
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 箱型
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string CTN
|
|
|
|
|
{
|
|
|
|
|
get { return _ctn; }
|
|
|
|
|
set { _ctn = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private int _ctnnum = 0;
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 箱量
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public int CTNNUM
|
|
|
|
|
{
|
|
|
|
|
get { return _ctnnum; }
|
|
|
|
|
set { _ctnnum = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private int _teu = 0;
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// TEU
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public int TEU
|
|
|
|
|
{
|
|
|
|
|
get { return _teu; }
|
|
|
|
|
set { _teu = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private string _ctnall = "";
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 表现形式
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string CTNALL
|
|
|
|
|
{
|
|
|
|
|
get { return _ctnall; }
|
|
|
|
|
set { _ctnall = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private string _cntrno = "";
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 箱号
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string CNTRNO
|
|
|
|
|
{
|
|
|
|
|
get { return _cntrno; }
|
|
|
|
|
set { _cntrno = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private string _sealno = "";
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 封号
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string SEALNO
|
|
|
|
|
{
|
|
|
|
|
get { return _sealno; }
|
|
|
|
|
set { _sealno = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private int _pkgs = 0;
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 件数
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public int PKGS
|
|
|
|
|
{
|
|
|
|
|
get { return _pkgs; }
|
|
|
|
|
set { _pkgs = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private decimal _kgs = 0;
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 重量
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public decimal KGS
|
|
|
|
|
{
|
|
|
|
|
get { return _kgs; }
|
|
|
|
|
set { _kgs = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private decimal _cbm = 0;
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 尺码
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public decimal CBM
|
|
|
|
|
{
|
|
|
|
|
get { return _cbm; }
|
|
|
|
|
set { _cbm = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private string _remark = "";
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 备注
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string REMARK
|
|
|
|
|
{
|
|
|
|
|
get { return _remark; }
|
|
|
|
|
set { _remark = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private string _kindpkgs = "";
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// KINDPKGS
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string KINDPKGS
|
|
|
|
|
{
|
|
|
|
|
get { return _kindpkgs; }
|
|
|
|
|
set { _kindpkgs = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
private string _DESCRIPTION = "";
|
|
|
|
|
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string DESCRIPTION
|
|
|
|
|
{
|
|
|
|
|
get { return _DESCRIPTION; }
|
|
|
|
|
set { _DESCRIPTION = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private string _MARKS = "";
|
|
|
|
|
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string MARKS
|
|
|
|
|
{
|
|
|
|
|
get { return _MARKS; }
|
|
|
|
|
set { _MARKS = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private string _PO = "";
|
|
|
|
|
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string PO
|
|
|
|
|
{
|
|
|
|
|
get { return _PO; }
|
|
|
|
|
set { _PO = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private string _SKU = "";
|
|
|
|
|
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string SKU
|
|
|
|
|
{
|
|
|
|
|
get { return _SKU; }
|
|
|
|
|
set { _SKU = value; }
|
|
|
|
|
}
|
|
|
|
|
private string _SKUDESCRIP = "";
|
|
|
|
|
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string SKUDESCRIP
|
|
|
|
|
{
|
|
|
|
|
get { return _SKUDESCRIP; }
|
|
|
|
|
set { _SKUDESCRIP = value; }
|
|
|
|
|
}
|
|
|
|
|
private string _DUNNO = "";
|
|
|
|
|
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string DUNNO
|
|
|
|
|
{
|
|
|
|
|
get { return _DUNNO; }
|
|
|
|
|
set { _DUNNO = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private string _HTS = "";
|
|
|
|
|
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string HTS
|
|
|
|
|
{
|
|
|
|
|
get { return _HTS; }
|
|
|
|
|
set { _HTS = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private string _CTOFORIGIN = "";
|
|
|
|
|
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string CTOFORIGIN
|
|
|
|
|
{
|
|
|
|
|
get { return _CTOFORIGIN; }
|
|
|
|
|
set { _CTOFORIGIN = value; }
|
|
|
|
|
}
|
|
|
|
|
private string _CTNOWNER = "";
|
|
|
|
|
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string CTNOWNER
|
|
|
|
|
{
|
|
|
|
|
get { return _CTNOWNER; }
|
|
|
|
|
set { _CTNOWNER = value; }
|
|
|
|
|
}
|
|
|
|
|
private decimal _GOODVALUE =0;
|
|
|
|
|
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public decimal GOODVALUE
|
|
|
|
|
{
|
|
|
|
|
get { return _GOODVALUE; }
|
|
|
|
|
set { _GOODVALUE = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#endregion
|
|
|
|
|
|
|
|
|
|
public MsOpSeaeEdiCtn()
|
|
|
|
|
{
|
|
|
|
|
TableName = "op_seae_edi_ctn";
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[JsonObject]
|
|
|
|
|
public class MsOpSeaeEdiCtnDetail : ModelObjectBillBody
|
|
|
|
|
{
|
|
|
|
|
#region 读写属性
|
|
|
|
|
|
|
|
|
|
private string _GID = "";
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 编号
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB(MDBType = ModelDBOprationType.All, IsPrimary = true)]
|
|
|
|
|
public string GID
|
|
|
|
|
{
|
|
|
|
|
get { return _GID; }
|
|
|
|
|
set { _GID = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private string _ctn_id = "";
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 编号
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB(MDBType = ModelDBOprationType.Insert)]
|
|
|
|
|
public string CTN_ID
|
|
|
|
|
{
|
|
|
|
|
get { return _ctn_id; }
|
|
|
|
|
set { _ctn_id = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private string _MFNO = "";
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 业务编号
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB(MDBType = ModelDBOprationType.Insert)]
|
|
|
|
|
public string MFNO
|
|
|
|
|
{
|
|
|
|
|
get { return _MFNO; }
|
|
|
|
|
set { _MFNO = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
private string _cntrno = "";
|
|
|
|
|
|
|
|
|
|
public string CNTRNO
|
|
|
|
|
{
|
|
|
|
|
get { return _cntrno; }
|
|
|
|
|
set { _cntrno = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private int _pkgs = 0;
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 件数
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public int PKGS
|
|
|
|
|
{
|
|
|
|
|
get { return _pkgs; }
|
|
|
|
|
set { _pkgs = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private decimal _kgs = 0;
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 重量
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public decimal KGS
|
|
|
|
|
{
|
|
|
|
|
get { return _kgs; }
|
|
|
|
|
set { _kgs = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private decimal _cbm = 0;
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 尺码
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public decimal CBM
|
|
|
|
|
{
|
|
|
|
|
get { return _cbm; }
|
|
|
|
|
set { _cbm = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private string _kindpkgs = "";
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// KINDPKGS
|
|
|
|
|
/// </summary>
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string KINDPKGS
|
|
|
|
|
{
|
|
|
|
|
get { return _kindpkgs; }
|
|
|
|
|
set { _kindpkgs = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
private string _DUNNO = "";
|
|
|
|
|
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string DUNNO
|
|
|
|
|
{
|
|
|
|
|
get { return _DUNNO; }
|
|
|
|
|
set { _DUNNO = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private string _HTS = "";
|
|
|
|
|
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public string HTS
|
|
|
|
|
{
|
|
|
|
|
get { return _HTS; }
|
|
|
|
|
set { _HTS = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
private decimal _GOODVALUE = 0;
|
|
|
|
|
|
|
|
|
|
[ModelDB]
|
|
|
|
|
public decimal GOODVALUE
|
|
|
|
|
{
|
|
|
|
|
get { return _GOODVALUE; }
|
|
|
|
|
set { _GOODVALUE = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#endregion
|
|
|
|
|
|
|
|
|
|
public MsOpSeaeEdiCtnDetail()
|
|
|
|
|
{
|
|
|
|
|
TableName = "op_seae_edi_ctndetail";
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[JsonObject]
|
|
|
|
|
public class MsOpSeaeShipper : ModelObjectBillHead
|
|
|
|
|
{
|
|
|
|
|
#region 读写属性
|
|
|
|
|
|
|
|
|
|
private string _GID = "";
|
|
|
|
|
|
|
|
|
|
public string GID
|
|
|
|
|
{
|
|
|
|
|
get { return _GID; }
|
|
|
|
|
set { _GID = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public string SHIPPERTYPE { get; set; }
|
|
|
|
|
|
|
|
|
|
private string _shippername = "";
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 发货人
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string SHIPPERNAME
|
|
|
|
|
{
|
|
|
|
|
get { return _shippername; }
|
|
|
|
|
set { _shippername = value; }
|
|
|
|
|
}
|
|
|
|
|
private string _shipperaddr1 = "";
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 发货人
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string SHIPPERADDR1
|
|
|
|
|
{
|
|
|
|
|
get { return _shipperaddr1; }
|
|
|
|
|
set { _shipperaddr1 = value; }
|
|
|
|
|
}
|
|
|
|
|
private string _shipperaddr2 = "";
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 发货人
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string SHIPPERADDR2
|
|
|
|
|
{
|
|
|
|
|
get { return _shipperaddr2; }
|
|
|
|
|
set { _shipperaddr2 = value; }
|
|
|
|
|
}
|
|
|
|
|
private string _shipperaddr3 = "";
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 发货人
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string SHIPPERADDR3
|
|
|
|
|
{
|
|
|
|
|
get { return _shipperaddr3; }
|
|
|
|
|
set { _shipperaddr3 = value; }
|
|
|
|
|
}
|
|
|
|
|
private string _shippercity = "";
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 发货人
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string SHIPPERCITY
|
|
|
|
|
{
|
|
|
|
|
get { return _shippercity; }
|
|
|
|
|
set { _shippercity = value; }
|
|
|
|
|
}
|
|
|
|
|
private string _shipperprovice = "";
|
|
|
|
|
|
|
|
|
|
public string SHIPPERPROVINCE
|
|
|
|
|
{
|
|
|
|
|
get { return _shipperprovice; }
|
|
|
|
|
set { _shipperprovice = value; }
|
|
|
|
|
}
|
|
|
|
|
private string _shipperpostcode = "";
|
|
|
|
|
|
|
|
|
|
public string SHIPPERPOSTCODE
|
|
|
|
|
{
|
|
|
|
|
get { return _shipperpostcode; }
|
|
|
|
|
set { _shipperpostcode = value; }
|
|
|
|
|
}
|
|
|
|
|
private string _shippercountry = "";
|
|
|
|
|
|
|
|
|
|
public string SHIPPERCOUNTRY
|
|
|
|
|
{
|
|
|
|
|
get { return _shippercountry; }
|
|
|
|
|
set { _shippercountry = value; }
|
|
|
|
|
}
|
|
|
|
|
private string _shipperattn = "";
|
|
|
|
|
|
|
|
|
|
public string SHIPPERATTN
|
|
|
|
|
{
|
|
|
|
|
get { return _shipperattn; }
|
|
|
|
|
set { _shipperattn = value; }
|
|
|
|
|
}
|
|
|
|
|
private string _shippertel = "";
|
|
|
|
|
|
|
|
|
|
public string SHIPPERTEL
|
|
|
|
|
{
|
|
|
|
|
get { return _shippertel; }
|
|
|
|
|
set { _shippertel = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public string CODETYPE { get; set; }
|
|
|
|
|
|
|
|
|
|
private string _CODENO = "";
|
|
|
|
|
public string CODENO
|
|
|
|
|
{
|
|
|
|
|
get { return _CODENO; }
|
|
|
|
|
set { _CODENO = value; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public string CODEGROUP { get; set; }
|
|
|
|
|
|
|
|
|
|
#endregion
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#region 参照部分
|
|
|
|
|
public class MsOpSeaiDetailRefMsOpSeai
|
|
|
|
|
{
|
|
|
|
|
public string BSNO { get; set; }
|
|
|
|
|
}
|
|
|
|
|
#endregion
|
|
|
|
|
}
|