using System; using HcUtility.Core; using Newtonsoft.Json; namespace DSWeb.MvcShipping.Models.MsInfoShipper { [JsonObject] public class MsInfoShipper : ModelObjectBillHead { #region 读写属性 private string _shipperID =""; /// /// 编号 /// [ModelDB(MDBType = ModelDBOprationType.All, IsPrimary = true)] public string SHIPPERID { get { return _shipperID; } set { _shipperID = value; } } private string _codename = ""; /// /// 编号 /// [ModelDB(MDBType = ModelDBOprationType.Insert)] public string CODENAME { get { return _codename; } set { _codename = value; } } private string _CUSTOMERNAME= ""; public string CUSTOMERNAME { get { return _CUSTOMERNAME; } set { _CUSTOMERNAME = value; } } private string _SHORTNAME = ""; /// /// 代码 /// [ModelDB] public string SHORTNAME { get { return _SHORTNAME; } set { _SHORTNAME = value; } } private string _shipperdetail = ""; /// /// [ModelDB] public string SHIPPERDETAIL { get { return _shipperdetail; } set { _shipperdetail = value; } } private int _shippertype =2; /// /// 地址 /// [ModelDB] public int SHIPPERTYPE { get { return _shippertype; } set { _shippertype = value; } } private bool _ISPUBLIC =false; /// /// /// [ModelDB] public bool ISPUBLIC { get { return _ISPUBLIC; } set { _ISPUBLIC = value; } } private string _SERVICECONTRACTNO = ""; /// /// [ModelDB] public string SERVICECONTRACTNO { get { return _SERVICECONTRACTNO; } set { _SERVICECONTRACTNO = value; } } private string _COUNTRY = ""; /// /// [ModelDB] public string COUNTRY { get { return _COUNTRY; } set { _COUNTRY = value; } } private string _ATTN = ""; /// /// [ModelDB] public string ATTN { get { return _ATTN; } set { _ATTN = value; } } private string _TEL = ""; /// /// [ModelDB] public string TEL { get { return _TEL; } set { _TEL = value; } } private string _EMAIL = ""; /// /// [ModelDB] public string EMAIL { get { return _EMAIL; } set { _EMAIL = value; } } private string _CORPID = ""; /// /// [ModelDB] public string CORPID { get { return _CORPID; } set { _CORPID = value; } } #endregion public MsInfoShipper() { TableName = "info_shipper"; } override public string GetBillNoFieldName() { return "CODENAME"; } } // }