using FreeSql.DatabaseModel;using System; using System.Collections; using System.Collections.Generic; using System.Linq; using System.Reflection; using System.Threading.Tasks; using Newtonsoft.Json; using FreeSql.DataAnnotations; namespace djy.Model { /// /// 联系人信息详细表 /// [JsonObject(MemberSerialization.OptIn), Table(Name = "info_client_contact", DisableSyncStructure = true)] public partial class InfoClientContact { /// /// 惟一编号 /// [JsonProperty, Column(DbType = "varchar(36)", IsPrimary = true, IsNullable = false)] public string GID { get; set; } = Guid.NewGuid().ToString().ToUpper(); /// /// 通讯地址 /// [JsonProperty, Column(DbType = "varchar(100)")] public string ADDR { get; set; } [JsonProperty, Column(DbType = "varchar(3)")] public string AGE { get; set; } = ""; [JsonProperty] public DateTime? ANNIVERSARY1 { get; set; } [JsonProperty] public DateTime? ANNIVERSARY2 { get; set; } [JsonProperty] public int? ANNIVERSARYDAY1 { get; set; } = 0; [JsonProperty] public int? ANNIVERSARYDAY2 { get; set; } = 0; [JsonProperty, Column(DbType = "varchar(200)")] public string AREMARK1 { get; set; } = ""; [JsonProperty, Column(DbType = "varchar(200)")] public string AREMARK2 { get; set; } = ""; [JsonProperty] public DateTime? BIRTHDAY { get; set; } [JsonProperty] public int? BIRTHDAYDAY { get; set; } = 0; [JsonProperty, Column(DbType = "varchar(50)")] public string CHILDREN { get; set; } = ""; /// /// 客户代码 /// [JsonProperty, Column(DbType = "varchar(6)", IsNullable = false)] public string CODENAME { get; set; } /// /// 联系人类别1 /// [JsonProperty] public bool? CONTACTTYPE1 { get; set; } = false; /// /// 联系人类别2 /// [JsonProperty] public bool? CONTACTTYPE2 { get; set; } = false; /// /// 联系人类别3 /// [JsonProperty] public bool? CONTACTTYPE3 { get; set; } = false; /// /// 联系人类别4 /// [JsonProperty] public bool? CONTACTTYPE4 { get; set; } = false; /// /// 联系人类别5 /// [JsonProperty] public bool? CONTACTTYPE5 { get; set; } = false; /// /// 联系人类别6 /// [JsonProperty] public bool? CONTACTTYPE6 { get; set; } = false; /// /// 联系人类别7 /// [JsonProperty] public bool? CONTACTTYPE7 { get; set; } = false; /// /// 创建时间 /// [JsonProperty, Column(InsertValueSql = "getdate()")] public DateTime? CREATETIME { get; set; } /// /// 创建人GID /// [JsonProperty, Column(DbType = "varchar(36)")] public string CREATEUSER { get; set; } /// /// 电子邮箱 /// [JsonProperty, Column(DbType = "varchar(50)")] public string EMAIL { get; set; } /// /// 传真 /// [JsonProperty, Column(DbType = "varchar(50)")] public string FAX { get; set; } [JsonProperty, Column(DbType = "varchar(200)")] public string HOBBIES { get; set; } = ""; [JsonProperty] public bool? ISANNIVERSARY1 { get; set; } = false; [JsonProperty] public bool? ISANNIVERSARY2 { get; set; } = false; [JsonProperty] public bool? ISBIRTHDAY { get; set; } = false; /// /// 联系人删除状态标志 /// [JsonProperty] public bool? ISDELETED { get; set; } = false; /// /// 是否为财务 /// [JsonProperty] public bool? ISFINANCIALSTAFF { get; set; } = false; /// /// 是否为操作 /// [JsonProperty] public bool? ISOPERATOR { get; set; } = false; /// /// 是否为其他 /// [JsonProperty] public bool? ISOTHER { get; set; } = false; /// /// 是否为销售 /// [JsonProperty] public bool? ISSALEMAN { get; set; } = false; /// /// 是否停用该联系人信息 /// [JsonProperty] public bool? ISSTOP { get; set; } = false; [JsonProperty, Column(DbType = "varchar(50)")] public string JOB { get; set; } = ""; /// /// 客户关联id /// [JsonProperty, Column(DbType = "varchar(100)")] public string LINKID { get; set; } [JsonProperty, Column(DbType = "varchar(50)")] public string MARRY { get; set; } = ""; /// /// 传真 /// [JsonProperty, Column(DbType = "varchar(50)")] public string MOBILE { get; set; } /// /// 最后一次更新操作时间 /// [JsonProperty, Column(InsertValueSql = "getdate()")] public DateTime? MODIFIEDTIME { get; set; } /// /// 最后一次更新操作人GID /// [JsonProperty, Column(DbType = "varchar(36)")] public string MODIFIEDUSER { get; set; } [JsonProperty, Column(DbType = "varchar(50)")] public string QQ { get; set; } /// /// 备注 /// [JsonProperty, Column(DbType = "varchar(200)")] public string REMARK { get; set; } [JsonProperty, Column(DbType = "varchar(2)")] public string SEX { get; set; } = ""; /// /// 客户名称 /// [JsonProperty, Column(DbType = "varchar(20)")] public string SHOWNAME { get; set; } /// /// 电话 /// [JsonProperty, Column(DbType = "varchar(50)")] public string TEL { get; set; } } }