using System; using HcUtility.Core; using Newtonsoft.Json; namespace DSWeb.Areas.TruckMng.Models.MsKfWx { [JsonObject] public class MsKfWxPlu : ModelObjectBillBody { #region private Fields private string _billNo = String.Empty; private decimal _serialNo = 0; private string _pluCode = String.Empty; private string _pluCode_Ref = String.Empty; private string _pluName = String.Empty; private string _spec = String.Empty; private string _pcNo = String.Empty; private string _tyreType = "0"; private string _tyreType_Ref = "0"; private string _tyrePos = String.Empty; private string _tyrePos_Ref = String.Empty; private string _unit = String.Empty; private decimal _price = 0; private decimal _lyCount = 0; private string _remark = String.Empty; private decimal _planMil = 0; #endregion #region Public Properties [ModelDB(MDBType = ModelDBOprationType.Insert)] public string BillNo { get { return _billNo; } set { _billNo = value; } } [ModelDB(MDBType = ModelDBOprationType.Insert)] public decimal SerialNo { get { return _serialNo; } set { _serialNo = 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] public string Spec { get { return _spec; } set { _spec = value; } } [ModelDB] public string PcNo { get { return _pcNo; } set { _pcNo = 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 TyrePos { get { return _tyrePos; } set { _tyrePos = value; } } public string TyrePos_Ref { get { return _tyrePos_Ref; } set { _tyrePos_Ref = value; } } [ModelDB] public string Unit { get { return _unit; } set { _unit = value; } } [ModelDB] public decimal Price { get { return _price; } set { _price = value; } } [ModelDB(MDBType = ModelDBOprationType.Insert)] public decimal LyCount { get { return _lyCount; } set { _lyCount = value; } } [ModelDB] public string Remark { get { return _remark; } set { _remark = value; } } [ModelDB] public decimal PlanMil { get { return _planMil; } set { _planMil = value; } } #endregion public MsKfWxPlu() { TableName = "tMsKfWxPlu"; } } #region 参照部分 #endregion }