using System; using HcUtility.Core; namespace DSWeb.Areas.TruckMng.Models.KfCg { public class KfCgHead : ModelObjectBillHead { #region private Fields private string _billNo = "*"; private string _lrDate = String.Empty; private string _lrTime = String.Empty; private string _rzDate = String.Empty; private string _rzTime = String.Empty; private string _jzDate = String.Empty; private string _userCode = String.Empty; private string _userName = String.Empty; private decimal _timeMark = 0; private string _orgCode = String.Empty; private string _orgName = String.Empty; private string _ckCode = String.Empty; private string _ckName = String.Empty; private string _pluType = "11"; private string _pluType_Ref = "11"; private string _cgDate = String.Empty; private string _cgyCode = String.Empty; private string _cgyCode_Ref = String.Empty; private string _cgyName = String.Empty; private decimal _cgCount = 0; private decimal _cgTotal = 0; private decimal _sdCount = 0; private string _zxFlag = "0"; private string _zxFlag_Ref = "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 string LrDate { get { return _lrDate; } set { _lrDate = value; } } [ModelDB(MDBType = ModelDBOprationType.Insert)] public string LrTime { get { return _lrTime; } set { _lrTime = value; } } [ModelDB] public string RzDate { get { return _rzDate; } set { _rzDate = value; } } [ModelDB] public string RzTime { get { return _rzTime; } set { _rzTime = value; } } [ModelDB] public string 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(MDBType = ModelDBOprationType.Insert)] public string OrgCode { get { return _orgCode; } set { _orgCode = value; } } [ModelDB(MDBType = ModelDBOprationType.Insert)] public string OrgName { get { return _orgName; } set { _orgName = value; } } [ModelDB] public string CkCode { get { return _ckCode; } set { _ckCode = value; } } [ModelDB] public string CkName { get { return _ckName; } set { _ckName = value; } } [ModelDB] public string PluType { get { return _pluType; } set { _pluType = value; } } public string PluType_Ref { get { return _pluType_Ref; } set { _pluType_Ref = value; } } [ModelDB] public string CgDate { get { return _cgDate; } set { _cgDate = value; } } [ModelDB] public string CgyCode { get { return _cgyCode; } set { _cgyCode = value; } } public string CgyCode_Ref { get { return _cgyCode_Ref; } set { _cgyCode_Ref = value; } } [ModelDB] public string CgyName { get { return _cgyName; } set { _cgyName = value; } } [ModelDB] public decimal CgCount { get { return _cgCount; } set { _cgCount = value; } } [ModelDB] public decimal CgTotal { get { return _cgTotal; } set { _cgTotal = value; } } [ModelDB] public decimal SdCount { get { return _sdCount; } set { _sdCount = value; } } [ModelDB(MDBType = ModelDBOprationType.Insert)] public string ZxFlag { get { return _zxFlag; } set { _zxFlag = value; } } public string ZxFlag_Ref { get { return _zxFlag_Ref; } set { _zxFlag_Ref = value; } } [ModelDB] public string Remark { get { return _remark; } set { _remark = value; } } #endregion public KfCgHead() { TableName = "tKfCgHead"; } } #region 参照部分 #endregion }