using System; using HcUtility.Core; using Newtonsoft.Json; namespace DSWeb.Areas.TruckMng.Models.MsLsPluAcc { [JsonObject] public class MsLsPluAcc : ModelObjectBase { #region private Fields private decimal _serialNo = 0; private string _jzDate = String.Empty; private string _userCode = String.Empty; private string _userName = String.Empty; private string _tzType = String.Empty; private string _tzType_Ref = String.Empty; private string _billNo = String.Empty; private string _orgCode = String.Empty; private string _orgCode_Ref = String.Empty; private string _pluCode = String.Empty; private string _pluCode_Ref = String.Empty; private string _ckCode = String.Empty; private string _ckCode_Ref = String.Empty; private decimal _jxFsCount = 0; private decimal _jxJcCount = 0; private string _remark = String.Empty; #endregion #region Public Properties [ModelDB(MDBType = ModelDBOprationType.All, IsPrimary = true)] public decimal SerialNo { get { return _serialNo; } set { _serialNo = value; } } [ModelDB] public string JzDate { get { return _jzDate; } set { _jzDate = value; } } [ModelDB] public string UserCode { get { return _userCode; } set { _userCode = value; } } [ModelDB] public string UserName { get { return _userName; } set { _userName = value; } } [ModelDB] public string TzType { get { return _tzType; } set { _tzType = value; } } public string TzType_Ref { get { return _tzType_Ref; } set { _tzType_Ref = value; } } [ModelDB] public string BillNo { get { return _billNo; } set { _billNo = value; } } [ModelDB] public string OrgCode { get { return _orgCode; } set { _orgCode = value; } } public string OrgCode_Ref { get { return _orgCode_Ref; } set { _orgCode_Ref = 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 CkCode { get { return _ckCode; } set { _ckCode = value; } } public string CkCode_Ref { get { return _ckCode_Ref; } set { _ckCode_Ref = value; } } [ModelDB] public decimal JxFsCount { get { return _jxFsCount; } set { _jxFsCount = value; } } [ModelDB] public decimal JxJcCount { get { return _jxJcCount; } set { _jxJcCount = value; } } [ModelDB] public string Remark { get { return _remark; } set { _remark = value; } } #endregion public MsLsPluAcc() { TableName = "tMsLsPluAcc"; } } #region 参照部分 public class MsLsPluAccRefMsTruckOrg { public string OrgCode { get; set; } public string OrgName { get; set; } public string CodeAndName { get; set; } } #endregion }