using System; using HcUtility.Core; using Newtonsoft.Json; namespace DSWeb.Areas.TruckMng.Models.MsKfLy { [JsonObject] public class MsKfLyBody : 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 _unit = String.Empty; private string _pricejxcount = String.Empty; private decimal _price = 0; private decimal _lyCount = 0; private decimal _lyTotal = 0; private string _remark = String.Empty; private string _pcNo = String.Empty; private decimal _planMil = 0; private string _tyreType = "*"; private string _tyreType_Ref = "*"; private string _tyrePos = String.Empty; private string _tyrePos_Ref = String.Empty; #endregion #region Public Properties [ModelDB(MDBType = ModelDBOprationType.All, IsPrimary = true)] public string BillNo { get { return _billNo; } set { _billNo = value; } } [ModelDB(MDBType = ModelDBOprationType.All, IsPrimary = true)] 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 Unit { get { return _unit; } set { _unit = value; } } [ModelDB] public decimal Price { get { return _price; } set { _price = value; } } public string PriceJxCount { get { return _pricejxcount; } set { _pricejxcount = value; } } [ModelDB] public decimal LyCount { get { return _lyCount; } set { _lyCount = value; } } [ModelDB] public decimal LyTotal { get { return _lyTotal; } set { _lyTotal = value; } } [ModelDB] public string Remark { get { return _remark; } set { _remark = value; } } [ModelDB] public decimal PlanMil { get { return _planMil; } set { _planMil = 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; } } #endregion public MsKfLyBody() { TableName = "tMsKfLyBody"; } } #region 参照部分 #endregion }