using System; using System.Collections.Generic; using System.Linq; using System.Web; using Newtonsoft.Json; using HcUtility.Core; namespace DSWeb.Areas.MvcShipping.Models.Disport { [JsonObject] public class DisportModel : ModelObjectBillHead { private string _PORTID = Guid.NewGuid().ToString();//业务编号 private string _PORT;// private string _cname;// private string _CHAU;// private string _PORTTYPE; private string _EDICODE; private string _country; private string _countryid; private string _LANE; private string _LANEGID; [ModelDB(MDBType = ModelDBOprationType.All, IsPrimary = true)] public string PORTID { get { return _PORTID; } set { _PORTID = value; } } [ModelDB] //英文名称 public string PORT { get { return _PORT; } set { _PORT = value; } } [ModelDB] //中文名称 public string cname { get { return _cname; } set { _cname = value; } } [ModelDB] //州 public string CHAU { get { return _CHAU; } set { _CHAU = value; } } [ModelDB] //港口类型 public string PORTTYPE { get { return _PORTTYPE; } set { _PORTTYPE = value; } } [ModelDB] //edi编码 public string EDICODE { get { return _EDICODE; } set { _EDICODE = value; } } [ModelDB] //国家 public string country { get { return _country; } set { _country = value; } } [ModelDB] //国家 public string countryid { get { return _countryid; } set { _countryid = value; } } //航线 public string LANE { get { return _LANE; } set { _LANE = value; } } [ModelDB] public string LANEGID { get { return _LANEGID; } set { _LANEGID = value; } } [ModelDB] public string EXPLAIN { get; set; } public DisportModel() { TableName = "code_disport"; } } }