using System; using HcUtility.Core; using Newtonsoft.Json; namespace DSWeb.MvcShipping.Models.MsOpSeaeEdi { [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; } } 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; } } #endregion } #region 参照部分 public class MsOpSeaiDetailRefMsOpSeai { public string BSNO { get; set; } } #endregion }