using System; using HcUtility.Core; using Newtonsoft.Json; namespace DSWeb.MvcShipping.Models.PortRef { [JsonObject] public class PortRefModel : ModelObjectBase { #region private Fields private string _PORTID = string.Empty; private string _PORT = String.Empty; private string _CNAME = String.Empty; private string _PORTANDNAME = String.Empty; #endregion #region Public Properties [ModelDB] public string PORTID { get { return _PORTID; } set { _PORTID = value; } } public string PORT { get { return _PORT; } set { _PORT = value; } } [ModelDB] public string CNAME { get { return _CNAME; } set { _CNAME = value; } } public string PORTANDNAME { get { return _PORTANDNAME; } set { _PORTANDNAME = value; } } #endregion public PortRefModel() { TableName = "code_disport"; } } #region 参照部分 #endregion }