You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

236 lines
5.5 KiB
C#

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 {
/// <summary>
/// 联系人信息详细表
/// </summary>
[JsonObject(MemberSerialization.OptIn), Table(Name = "info_client_contact", DisableSyncStructure = true)]
public partial class InfoClientContact {
/// <summary>
/// 惟一编号
/// </summary>
[JsonProperty, Column(DbType = "varchar(36)", IsPrimary = true, IsNullable = false)]
public string GID { get; set; } = Guid.NewGuid().ToString().ToUpper();
/// <summary>
/// 通讯地址
/// </summary>
[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; } = "";
/// <summary>
/// 客户代码
/// </summary>
[JsonProperty, Column(DbType = "varchar(6)", IsNullable = false)]
public string CODENAME { get; set; }
/// <summary>
/// 联系人类别1
/// </summary>
[JsonProperty]
public bool? CONTACTTYPE1 { get; set; } = false;
/// <summary>
/// 联系人类别2
/// </summary>
[JsonProperty]
public bool? CONTACTTYPE2 { get; set; } = false;
/// <summary>
/// 联系人类别3
/// </summary>
[JsonProperty]
public bool? CONTACTTYPE3 { get; set; } = false;
/// <summary>
/// 联系人类别4
/// </summary>
[JsonProperty]
public bool? CONTACTTYPE4 { get; set; } = false;
/// <summary>
/// 联系人类别5
/// </summary>
[JsonProperty]
public bool? CONTACTTYPE5 { get; set; } = false;
/// <summary>
/// 联系人类别6
/// </summary>
[JsonProperty]
public bool? CONTACTTYPE6 { get; set; } = false;
/// <summary>
/// 联系人类别7
/// </summary>
[JsonProperty]
public bool? CONTACTTYPE7 { get; set; } = false;
/// <summary>
/// 创建时间
/// </summary>
[JsonProperty, Column(InsertValueSql = "getdate()")]
public DateTime? CREATETIME { get; set; }
/// <summary>
/// 创建人GID
/// </summary>
[JsonProperty, Column(DbType = "varchar(36)")]
public string CREATEUSER { get; set; }
/// <summary>
/// 电子邮箱
/// </summary>
[JsonProperty, Column(DbType = "varchar(50)")]
public string EMAIL { get; set; }
/// <summary>
/// 传真
/// </summary>
[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;
/// <summary>
/// 联系人删除状态标志
/// </summary>
[JsonProperty]
public bool? ISDELETED { get; set; } = false;
/// <summary>
/// 是否为财务
/// </summary>
[JsonProperty]
public bool? ISFINANCIALSTAFF { get; set; } = false;
/// <summary>
/// 是否为操作
/// </summary>
[JsonProperty]
public bool? ISOPERATOR { get; set; } = false;
/// <summary>
/// 是否为其他
/// </summary>
[JsonProperty]
public bool? ISOTHER { get; set; } = false;
/// <summary>
/// 是否为销售
/// </summary>
[JsonProperty]
public bool? ISSALEMAN { get; set; } = false;
/// <summary>
/// 是否停用该联系人信息
/// </summary>
[JsonProperty]
public bool? ISSTOP { get; set; } = false;
[JsonProperty, Column(DbType = "varchar(50)")]
public string JOB { get; set; } = "";
/// <summary>
/// 客户关联id
/// </summary>
[JsonProperty, Column(DbType = "varchar(100)")]
public string LINKID { get; set; }
[JsonProperty, Column(DbType = "varchar(50)")]
public string MARRY { get; set; } = "";
/// <summary>
/// 传真
/// </summary>
[JsonProperty, Column(DbType = "varchar(50)")]
public string MOBILE { get; set; }
/// <summary>
/// 最后一次更新操作时间
/// </summary>
[JsonProperty, Column(InsertValueSql = "getdate()")]
public DateTime? MODIFIEDTIME { get; set; }
/// <summary>
/// 最后一次更新操作人GID
/// </summary>
[JsonProperty, Column(DbType = "varchar(36)")]
public string MODIFIEDUSER { get; set; }
[JsonProperty, Column(DbType = "varchar(50)")]
public string QQ { get; set; }
/// <summary>
/// 备注
/// </summary>
[JsonProperty, Column(DbType = "varchar(200)")]
public string REMARK { get; set; }
[JsonProperty, Column(DbType = "varchar(2)")]
public string SEX { get; set; } = "";
/// <summary>
/// 客户名称
/// </summary>
[JsonProperty, Column(DbType = "varchar(20)")]
public string SHOWNAME { get; set; }
/// <summary>
/// 电话
/// </summary>
[JsonProperty, Column(DbType = "varchar(50)")]
public string TEL { get; set; }
}
}