using System; using HcUtility.Core; using Newtonsoft.Json; namespace DSWeb.MvcShipping.Models.MsInfoClient { [JsonObject] public class MsInfoClientBlack : ModelObjectBillHead { #region 读写属性 private string _GID = Guid.NewGuid().ToString(); /// /// 编号 /// [ModelDB(MDBType = ModelDBOprationType.All, IsPrimary = true)] public string GID { get { return _GID; } set { _GID = value; } } private string _CUSTNAME = ""; [ModelDB(MDBType = ModelDBOprationType.Insert)] public string CUSTNAME { get { return _CUSTNAME; } set { _CUSTNAME = value; } } private string _createtime = DateTime.Now.ToString("yyyy-MM-dd"); /// /// 创建时间 /// [ModelDB(MDBType = ModelDBOprationType.Insert)] public string CREATETIME { get { return _createtime; } set { _createtime = value; } } private string _CREATEUSER = ""; /// /// 录入人 /// [ModelDB(MDBType = ModelDBOprationType.Insert)] public string CREATEUSER { get { return _CREATEUSER; } set { _CREATEUSER = value; } } private string _CREATEUSERREF = ""; /// /// 录入人 /// public string CREATEUSERREF { get { return _CREATEUSERREF; } set { _CREATEUSERREF = value; } } private string _MODIFIEDUSER = ""; private string _MODIFIEDTIME = ""; [ModelDB] public string MODIFIEDUSER { get { return _MODIFIEDUSER; } set { _MODIFIEDUSER = value; } } [ModelDB] public string MODIFIEDTIME { get { return _MODIFIEDTIME; } set { _MODIFIEDTIME = value; } } #endregion public MsInfoClientBlack() { TableName = "info_client_black"; } } [JsonObject] public class MsInfoClientBsWhile2 : ModelObjectBillHead { #region 读写属性 private string _GID = Guid.NewGuid().ToString(); /// /// 编号 /// [ModelDB(MDBType = ModelDBOprationType.All, IsPrimary = true)] public string GID { get { return _GID; } set { _GID = value; } } [ModelDB(MDBType = ModelDBOprationType.Insert)] public string BSNO { get; set; } #endregion public MsInfoClientBsWhile2() { TableName = "info_client_bs_while"; } } [JsonObject] public class MsInfoClientBsWhile : ModelObjectBillHead { #region 读写属性 private string _GID = Guid.NewGuid().ToString(); /// /// 编号 /// [ModelDB(MDBType = ModelDBOprationType.All, IsPrimary = true)] public string GID { get { return _GID; } set { _GID = value; } } [ModelDB(MDBType = ModelDBOprationType.Insert)] public string BSNO { get; set; } private string _createtime = DateTime.Now.ToString("yyyy-MM-dd"); /// /// 创建时间 /// [ModelDB(MDBType = ModelDBOprationType.Insert)] public string CREATETIME { get { return _createtime; } set { _createtime = value; } } private string _CREATEUSER = ""; /// /// 录入人 /// [ModelDB(MDBType = ModelDBOprationType.Insert)] public string CREATEUSER { get { return _CREATEUSER; } set { _CREATEUSER = value; } } private string _CREATEUSERREF = ""; /// /// 录入人 /// public string CREATEUSERREF { get { return _CREATEUSERREF; } set { _CREATEUSERREF = value; } } private string _MODIFIEDUSER = ""; private string _MODIFIEDTIME = ""; [ModelDB] public string MODIFIEDUSER { get { return _MODIFIEDUSER; } set { _MODIFIEDUSER = value; } } [ModelDB] public string MODIFIEDTIME { get { return _MODIFIEDTIME; } set { _MODIFIEDTIME = value; } } #endregion public MsInfoClientBsWhile() { TableName = "info_client_bs_while"; } } // }