using System; using HcUtility.Core; using Newtonsoft.Json; namespace DSWeb.Areas.TruckMng.Models.MsWlTruckInsure { [JsonObject] public class MsWlTruck : ModelObjectBillHead { #region private Fields private string _orgCode = String.Empty; private string _truckNo = String.Empty; private string _truckSpec = String.Empty; private string _cjNo = String.Empty; private string _fdjNo = String.Empty; private string _gzDate = String.Empty; #endregion #region Public Properties [ModelDB(MDBType = ModelDBOprationType.Insert)] public string OrgCode { get { return _orgCode; } set { _orgCode = value; } } [ModelDB(MDBType = ModelDBOprationType.All, IsPrimary = true)] public string TruckNo { get { return _truckNo; } set { _truckNo = value; } } [ModelDB(MDBType = ModelDBOprationType.Insert)] public string TruckSpec { get { return _truckSpec; } set { _truckSpec = value; } } [ModelDB(MDBType = ModelDBOprationType.Insert)] public string CjNo { get { return _cjNo; } set { _cjNo = value; } } [ModelDB(MDBType = ModelDBOprationType.Insert)] public string FdjNo { get { return _fdjNo; } set { _fdjNo = value; } } public string GzDate { get { return _gzDate; } set { _gzDate = value; } } #endregion public MsWlTruck() { TableName = "tMsWlTruck"; } } #region 参照部分 #endregion }