using System;
using HcUtility.Core;
using Newtonsoft.Json;
namespace DSWeb.MvcShipping.Models.MsOpSeaeEdi
{
[JsonObject]
public class MsOpSeaeEdiCtn : ModelObjectBillBody
{
#region 读写属性
private string _ctn_id = "";
///
/// 编号
///
[ModelDB(MDBType = ModelDBOprationType.All, IsPrimary = true)]
public string CTN_ID
{
get { return _ctn_id; }
set { _ctn_id = value; }
}
private string _MFNO = "";
///
/// 业务编号
///
[ModelDB(MDBType = ModelDBOprationType.Insert)]
public string MFNO
{
get { return _MFNO; }
set { _MFNO = value; }
}
private string _ctncode = "";
///
/// 箱型代码
///
[ModelDB]
public string CTNCODE
{
get { return _ctncode; }
set { _ctncode = value; }
}
private string _size = "";
///
/// 尺寸
///
[ModelDB]
public string SIZE
{
get { return _size; }
set { _size = value; }
}
private string _ctn = "";
///
/// 箱型
///
[ModelDB]
public string CTN
{
get { return _ctn; }
set { _ctn = value; }
}
private int _ctnnum = 0;
///
/// 箱量
///
[ModelDB]
public int CTNNUM
{
get { return _ctnnum; }
set { _ctnnum = value; }
}
private int _teu = 0;
///
/// TEU
///
[ModelDB]
public int TEU
{
get { return _teu; }
set { _teu = value; }
}
private string _ctnall = "";
///
/// 表现形式
///
[ModelDB]
public string CTNALL
{
get { return _ctnall; }
set { _ctnall = value; }
}
private string _cntrno = "";
///
/// 箱号
///
[ModelDB]
public string CNTRNO
{
get { return _cntrno; }
set { _cntrno = value; }
}
private string _sealno = "";
///
/// 封号
///
[ModelDB]
public string SEALNO
{
get { return _sealno; }
set { _sealno = value; }
}
private int _pkgs = 0;
///
/// 件数
///
[ModelDB]
public int PKGS
{
get { return _pkgs; }
set { _pkgs = value; }
}
private decimal _kgs = 0;
///
/// 重量
///
[ModelDB]
public decimal KGS
{
get { return _kgs; }
set { _kgs = value; }
}
private decimal _cbm = 0;
///
/// 尺码
///
[ModelDB]
public decimal CBM
{
get { return _cbm; }
set { _cbm = value; }
}
private string _remark = "";
///
/// 备注
///
[ModelDB]
public string REMARK
{
get { return _remark; }
set { _remark = value; }
}
private string _kindpkgs = "";
///
/// KINDPKGS
///
[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 = "";
///
/// 编号
///
[ModelDB(MDBType = ModelDBOprationType.All, IsPrimary = true)]
public string GID
{
get { return _GID; }
set { _GID = value; }
}
private string _ctn_id = "";
///
/// 编号
///
[ModelDB(MDBType = ModelDBOprationType.Insert)]
public string CTN_ID
{
get { return _ctn_id; }
set { _ctn_id = value; }
}
private string _MFNO = "";
///
/// 业务编号
///
[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;
///
/// 件数
///
[ModelDB]
public int PKGS
{
get { return _pkgs; }
set { _pkgs = value; }
}
private decimal _kgs = 0;
///
/// 重量
///
[ModelDB]
public decimal KGS
{
get { return _kgs; }
set { _kgs = value; }
}
private decimal _cbm = 0;
///
/// 尺码
///
[ModelDB]
public decimal CBM
{
get { return _cbm; }
set { _cbm = value; }
}
private string _kindpkgs = "";
///
/// KINDPKGS
///
[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 = "";
///
/// 发货人
///
public string SHIPPERNAME
{
get { return _shippername; }
set { _shippername = value; }
}
private string _shipperaddr1 = "";
///
/// 发货人
///
public string SHIPPERADDR1
{
get { return _shipperaddr1; }
set { _shipperaddr1 = value; }
}
private string _shipperaddr2 = "";
///
/// 发货人
///
public string SHIPPERADDR2
{
get { return _shipperaddr2; }
set { _shipperaddr2 = value; }
}
private string _shipperaddr3 = "";
///
/// 发货人
///
public string SHIPPERADDR3
{
get { return _shipperaddr3; }
set { _shipperaddr3 = value; }
}
private string _shippercity = "";
///
/// 发货人
///
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
}