using System; using HcUtility.Core; using Newtonsoft.Json; namespace DSWeb.MvcShipping.Models.MsInfoClientContact { [JsonObject] public class MsClientContact : 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 _CODENAME = ""; /// /// 代码 /// [ModelDB] public string CODENAME { get { return _CODENAME; } set { _CODENAME = value; } } private string _SHORTNAME = ""; /// /// 简称 /// [ModelDB] public string SHOWNAME { get { return _SHORTNAME; } set { _SHORTNAME = value; } } private string _addr = ""; /// /// 地址 /// [ModelDB] public string ADDR { get { return _addr; } set { _addr = value; } } private string _EMAIL = ""; /// /// /// [ModelDB] public string EMAIL { get { return _EMAIL; } set { _EMAIL = value; } } private string _TEL = ""; /// /// /// [ModelDB] public string TEL { get { return _TEL; } set { _TEL = value; } } private string _QQ = ""; /// /// /// [ModelDB] public string QQ { get { return _QQ; } set { _QQ = value; } } private string _FAX = ""; /// /// /// [ModelDB] public string FAX { get { return _FAX; } set { _FAX = value; } } private string _MOBILE = ""; /// /// /// [ModelDB] public string MOBILE { get { return _MOBILE; } set { _MOBILE = value; } } private string _JOB= ""; /// /// /// [ModelDB] public string JOB { get { return _JOB; } set { _JOB = value; } } private string _SEX = ""; /// /// /// [ModelDB] public string SEX { get { return _SEX; } set { _SEX = value; } } private string _AGE= ""; /// /// /// [ModelDB] public string AGE { get { return _AGE; } set { _AGE = value; } } private string _MARRY = ""; /// /// /// [ModelDB] public string MARRY { get { return _MARRY; } set { _MARRY = value; } } private string _CHILDREN = ""; /// /// /// [ModelDB] public string CHILDREN { get { return _CHILDREN; } set { _CHILDREN = value; } } private string _HOBBIES = ""; /// /// /// [ModelDB] public string HOBBIES { get { return _HOBBIES; } set { _HOBBIES = value; } } private bool _ISFINANCIALSTAFF = false; /// /// /// [ModelDB] public bool ISFINANCIALSTAFF { get { return _ISFINANCIALSTAFF; } set { _ISFINANCIALSTAFF = value; } } private bool _ISOPERATOR = false; /// /// /// [ModelDB] public bool ISOPERATOR { get { return _ISOPERATOR; } set { _ISOPERATOR = value; } } private bool _ISSALEMAN = false; /// /// /// [ModelDB] public bool ISSALEMAN { get { return _ISSALEMAN; } set { _ISSALEMAN = value; } } private bool _ISOTHER = false; /// /// /// [ModelDB] public bool ISOTHER { get { return _ISOTHER; } set { _ISOTHER = value; } } private bool _ISSTOP = false; /// /// 停用 /// [ModelDB] public bool ISSTOP { get { return _ISSTOP; } set { _ISSTOP = value; } } private bool _ISINSURANCE = false; /// /// /// [ModelDB] public bool ISINSURANCE { get { return _ISINSURANCE; } set { _ISINSURANCE = value; } } private bool _ISDUI = false; /// /// /// [ModelDB] public bool ISDUI { get { return _ISDUI; } set { _ISDUI = value; } } private string _remark = ""; /// /// /// [ModelDB] public string REMARK { get { return _remark; } set { _remark = value; } } private string _BIRTHDAY = ""; /// /// /// [ModelDB] public string BIRTHDAY { get { return _BIRTHDAY; } set { _BIRTHDAY = value; } } private bool _ISBIRTHDAY = false; /// /// /// [ModelDB] public bool ISBIRTHDAY { get { return _ISBIRTHDAY; } set { _ISBIRTHDAY = value; } } private int _BIRTHDAYDAY = 0; /// /// /// [ModelDB] public int BIRTHDAYDAY { get { return _BIRTHDAYDAY; } set { _BIRTHDAYDAY = value; } } private string _ANNIVERSARY1 = ""; /// /// /// [ModelDB] public string ANNIVERSARY1 { get { return _ANNIVERSARY1; } set { _ANNIVERSARY1 = value; } } private bool _ISANNIVERSARY1 = false; /// /// /// [ModelDB] public bool ISANNIVERSARY1 { get { return _ISANNIVERSARY1; } set { _ISANNIVERSARY1 = value; } } private int _ANNIVERSARYDAY1 = 0; /// /// /// [ModelDB] public int ANNIVERSARYDAY1 { get { return _ANNIVERSARYDAY1; } set { _ANNIVERSARYDAY1 = value; } } private string _AREMARK1 = ""; /// /// /// [ModelDB] public string AREMARK1 { get { return _AREMARK1; } set { _AREMARK1 = value; } } private string _ANNIVERSARY2 = ""; /// /// /// [ModelDB] public string ANNIVERSARY2 { get { return _ANNIVERSARY2; } set { _ANNIVERSARY2 = value; } } private bool _ISANNIVERSARY2 = false; /// /// /// [ModelDB] public bool ISANNIVERSARY2 { get { return _ISANNIVERSARY2; } set { _ISANNIVERSARY2 = value; } } private int _ANNIVERSARYDAY2 = 0; /// /// /// [ModelDB] public int ANNIVERSARYDAY2 { get { return _ANNIVERSARYDAY2; } set { _ANNIVERSARYDAY2= value; } } private string _AREMARK2 = ""; /// /// /// [ModelDB] public string AREMARK2 { get { return _AREMARK2; } set { _AREMARK2 = value; } } private string _LOGINNAME = ""; /// /// 登陆名 /// [ModelDB] public string LOGINNAME { get { return _LOGINNAME; } set { _LOGINNAME = value; } } private string _LOGINPASSWORD = ""; /// /// 登陆秘钥 /// [ModelDB] public string LOGINPASSWORD { get { return _LOGINPASSWORD; } set { _LOGINPASSWORD = 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; } } private string _PICURL = ""; /// /// 录入人 /// public string PICURL { get { return _PICURL; } set { _PICURL = value; } } #endregion public MsClientContact() { TableName = "info_client_contact"; } override public string GetBillNoFieldName() { return "GID"; } } // }