using System; using HcUtility.Core; using Newtonsoft.Json; namespace DSWeb.Areas.TruckMng.Models.MsWlInsureLtd { [JsonObject] public class MsWlInsureLtd : ModelObjectBase { #region private Fields private string _code = String.Empty; private string _name = String.Empty; #endregion #region Public Properties [ModelDB(MDBType = ModelDBOprationType.All, IsPrimary = true)] public string Code { get { return _code; } set { _code = value; } } [ModelDB] public string Name { get { return _name; } set { _name = value; } } #endregion public MsWlInsureLtd() { TableName = "tMsWlInsureLtd"; } } #region 参照部分 #endregion }