using System; using HcUtility.Core; using Newtonsoft.Json; namespace DSWeb.Areas.TruckMng.Models.MsWlRk { [JsonObject] public class MsWlRkBody : ModelObjectBillBody { #region private Fields private string _billNo = String.Empty; private decimal _serialNo = 0; private string _wlCode = String.Empty; private string _cwCode = String.Empty; private string _pluCode = String.Empty; private string _pluCode_Ref = String.Empty; private string _pluName = String.Empty; private string _spec = String.Empty; private decimal _weight = 0; private string _volume = String.Empty; private string _unit = String.Empty; private string _pcNo = String.Empty; private decimal _rkCount = 0; private string _remark = 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 WlCode { get { return _wlCode; } set { _wlCode = value; } } [ModelDB] public string CwCode { get { return _cwCode; } set { _cwCode = value; } } [ModelDB] public string PluCode { get { return _pluCode; } set { _pluCode = value; } } public string PluCode_Ref { get { return _pluCode_Ref; } set { _pluCode_Ref = value; } } [ModelDB(MDBType = ModelDBOprationType.Insert)] 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 decimal Weight { get { return _weight; } set { _weight = value; } } [ModelDB(MDBType = ModelDBOprationType.Insert)] public string Volume { get { return _volume; } set { _volume = value; } } [ModelDB] public string Unit { get { return _unit; } set { _unit = value; } } [ModelDB] public string PcNo { get { return _pcNo; } set { _pcNo = value; } } [ModelDB] public decimal RkCount { get { return _rkCount; } set { _rkCount = value; } } [ModelDB] public string Remark { get { return _remark; } set { _remark = value; } } #endregion public MsWlRkBody() { TableName = "tMsWlRkBody"; } } #region 参照部分 #endregion }