using System; using HcUtility.Core; using Newtonsoft.Json; namespace DSWeb.Areas.TruckMng.Models.MsJhSparepart { [JsonObject] public class MsJhSparepart : ModelObjectBase { #region private Fields private string _pcNo = String.Empty; private string _pluCode = String.Empty; private string _pluCode_Ref = String.Empty; private string _pluName = String.Empty; private string _spec = String.Empty; private string _unit = String.Empty; private string _tyreType = "0"; private string _tyreType_Ref = "0"; private string _jhDate = String.Empty; private string _jhBillNo = String.Empty; private string _orgCode = String.Empty; private decimal _realMil = 0; private decimal _fprice = 0; #endregion #region Public Properties [ModelDB(MDBType = ModelDBOprationType.All, IsPrimary = true)] public string PcNo { get { return _pcNo; } set { _pcNo = value; } } [ModelDB] public string PluCode { get { return _pluCode; } set { _pluCode = value; } } public string PluCode_Ref { get { return _pluCode_Ref; } set { _pluCode_Ref = value; } } [ModelDB] public string PluName { get { return _pluName; } set { _pluName = value; } } [ModelDB(MDBType = ModelDBOprationType.Insert)] public string Spec { get { return _spec; } set { _spec = value; } } [ModelDB(MDBType = ModelDBOprationType.Insert)] public string Unit { get { return _unit; } set { _unit = value; } } [ModelDB] public string TyreType { get { return _tyreType; } set { _tyreType = value; } } public string TyreType_Ref { get { return _tyreType_Ref; } set { _tyreType_Ref = value; } } [ModelDB] public string JhDate { get { return _jhDate; } set { _jhDate = value; } } [ModelDB] public string JhBillNo { get { return _jhBillNo; } set { _jhBillNo = value; } } [ModelDB] public string OrgCode { get { return _orgCode; } set { _orgCode = value; } } [ModelDB] public decimal RealMil { get { return _realMil; } set { _realMil = value; } } public decimal FPrice { get { return _fprice; } set { _fprice = value; } } #endregion public MsJhSparepart() { TableName = "tMsJhSparepart"; } } #region 参照部分 #endregion }