using System; using HcUtility.Core; using Newtonsoft.Json; namespace DSWeb.Areas.TruckMng.Models.MsWlRk { [JsonObject] public class MsWlRkHead : ModelObjectBillHead { #region private Fields private string _billNo = "*"; private DateTime? _lrDate = null; private DateTime? _jzDate = null; private string _userCode = String.Empty; private string _userName = String.Empty; private decimal _timeMark = 0; private string _ywBillNo = String.Empty; private string _ywType = String.Empty; private string _ywType_Ref = String.Empty; private string _etpCode = String.Empty; private string _etpName = String.Empty; private string _orgCode = String.Empty; private string _orgName = 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.Insert)] public DateTime? LrDate { get { return _lrDate; } set { _lrDate = value; } } [ModelDB(MDBType = ModelDBOprationType.Insert)] public DateTime? JzDate { get { return _jzDate; } set { _jzDate = value; } } [ModelDB(MDBType = ModelDBOprationType.Insert)] public string UserCode { get { return _userCode; } set { _userCode = value; } } [ModelDB(MDBType = ModelDBOprationType.Insert)] public string UserName { get { return _userName; } set { _userName = value; } } public decimal TimeMark { get { return _timeMark; } set { _timeMark = value; } } [ModelDB] public string YwBillNo { get { return _ywBillNo; } set { _ywBillNo = value; } } [ModelDB] public string YwType { get { return _ywType; } set { _ywType = value; } } public string YwType_Ref { get { return _ywType_Ref; } set { _ywType_Ref = value; } } [ModelDB] public string EtpCode { get { return _etpCode; } set { _etpCode = value; } } [ModelDB(MDBType = ModelDBOprationType.Insert)] public string EtpName { get { return _etpName; } set { _etpName = value; } } [ModelDB] public string OrgCode { get { return _orgCode; } set { _orgCode = value; } } [ModelDB(MDBType = ModelDBOprationType.Insert)] public string OrgName { get { return _orgName; } set { _orgName = value; } } [ModelDB] public decimal RkCount { get { return _rkCount; } set { _rkCount = value; } } [ModelDB] public string Remark { get { return _remark; } set { _remark = value; } } #endregion public MsWlRkHead() { TableName = "tMsWlRkHead"; } } #region 参照部分 #endregion }