using System; using HcUtility.Core; using Newtonsoft.Json; namespace DSWeb.MvcShipping.Models.MsInfoContract { [JsonObject] public class MsInfoContract : 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 _LINKID =""; /// /// 编号 /// [ModelDB(MDBType = ModelDBOprationType.Insert)] public string LINKID { get { return _LINKID; } set { _LINKID = value; } } private string _CUSTNAME = ""; public string CUSTNAME { get { return _CUSTNAME; } set { _CUSTNAME = value; } } private string _CONTRACTNO = ""; /// /// 代码 /// [ModelDB] public string CONTRACTNO { get { return _CONTRACTNO; } set { _CONTRACTNO = value; } } private string _CONTRACTNAME = ""; /// /// 合同名称 /// [ModelDB] public string CONTRACTNAME { get { return _CONTRACTNAME; } set { _CONTRACTNAME = value; } } private string _SIGNINGDATE = ""; /// /// [ModelDB] public string SIGNINGDATE { get { return _SIGNINGDATE; } set { _SIGNINGDATE = value; } } private string _STARTDATE = ""; /// /// 地址 /// [ModelDB] public string STARTDATE { get { return _STARTDATE; } set { _STARTDATE = value; } } private string _CANCELDATE = ""; /// /// /// [ModelDB] public string CANCELDATE { get { return _CANCELDATE; } set { _CANCELDATE = value; } } private string _CHIEF = ""; /// /// /// [ModelDB] public string CHIEF { get { return _CHIEF; } set { _CHIEF = value; } } private string _REMARK = ""; /// /// /// [ModelDB] public string REMARK { get { return _REMARK; } set { _REMARK = value; } } private string _CORPID = ""; /// /// /// [ModelDB] public string CORPID { get { return _CORPID; } set { _CORPID = value; } } private string _createtime = DateTime.Now.ToString("yyyy-MM-dd"); /// /// 创建时间 /// [ModelDB] public string CREATETIME { get { return _createtime; } set { _createtime = value; } } private string _CREATEUSER = ""; /// /// 录入人 /// [ModelDB] public string CREATEUSER { get { return _CREATEUSER; } set { _CREATEUSER = value; } } private string _DEPTGID = ""; /// /// 部门 /// [ModelDB] public string DEPTGID { get { return _DEPTGID; } set { _DEPTGID = value; } } private string _CREATEUSERREF = ""; /// /// 录入人 /// public string CREATEUSERREF { get { return _CREATEUSERREF; } set { _CREATEUSERREF = value; } } public bool ISRANGE { get; set; } #endregion public MsInfoContract() { TableName = "info_client_contract"; } override public string GetBillNoFieldName() { return "GID"; } } [JsonObject] public class MsInfoContractRange : ModelObjectBillHead { public string GID { get; set; } public string LINKID { get; set; } public string USERID { get; set; } public string SHOWNAME { get; set; } public string MODIFIEDUSER { get; set; } public string MODIFIEDTIME { get; set; } } // }