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 = "crm_info_client", DisableSyncStructure = true)] public partial class CrmInfoClient { [JsonProperty, Column(DbType = "varchar(100)", IsPrimary = true, IsNullable = false)] public string GID { get; set; } = Guid.NewGuid().ToString().ToUpper(); /// /// 通讯地址 /// [JsonProperty, Column(DbType = "varchar(200)")] public string ADDR { get; set; } [JsonProperty, Column(DbType = "varchar(50)")] public string AREA { get; set; } = ""; /// /// 发票抬头1 /// [JsonProperty, Column(DbType = "varchar(60)")] public string BillRises1 { get; set; } /// /// 发票抬头2 /// [JsonProperty, Column(DbType = "varchar(60)")] public string BillRises2 { get; set; } /// /// 详细信息 /// [JsonProperty, Column(DbType = "varchar(600)")] public string BLCONTENT { get; set; } /// /// 负责人 /// [JsonProperty, Column(DbType = "varchar(20)")] public string CHIEF { get; set; } /// /// 客户代码 /// [JsonProperty, Column(DbType = "varchar(20)", IsNullable = false)] public string CODENAME { get; set; } /// /// 所属分公司代码 /// [JsonProperty, Column(DbType = "varchar(36)")] public string CORPID { get; set; } [JsonProperty, Column(DbType = "varchar(50)")] public string CTNNUM { get; set; } /// /// 自定义属性1 /// [JsonProperty, Column(DbType = "varchar(12)")] public string CustomAttributes1 { get; set; } /// /// 自定义属性2 /// [JsonProperty, Column(DbType = "varchar(12)")] public string CustomAttributes2 { get; set; } /// /// 客户中文名称 /// [JsonProperty, Column(DbType = "varchar(50)")] public string DESCRIPTION { get; set; } /// /// 电子邮箱 /// [JsonProperty, Column(DbType = "varchar(50)")] public string EMAIL { get; set; } /// /// 客户英文全称 /// [JsonProperty, Column(DbType = "varchar(50)")] public string ENFULLNAME { get; set; } [JsonProperty, Column(DbType = "varchar(50)")] public string ENFULLNAME2 { get; set; } = ""; [JsonProperty, Column(DbType = "varchar(50)")] public string ENFULLNAME3 { get; set; } = ""; /// /// 传真 /// [JsonProperty, Column(DbType = "varchar(50)")] public string FAX { get; set; } [JsonProperty, Column(DbType = "varchar(100)")] public string IMAGEURL { get; set; } = ""; [JsonProperty, Column(DbType = "varchar(100)")] public string IMAGEURL2 { get; set; } = ""; [JsonProperty] public int? ISJHCU { get; set; } = 2; [JsonProperty] public bool? ISLANE1 { get; set; } = false; [JsonProperty] public bool? ISLANE10 { get; set; } = false; [JsonProperty] public bool? ISLANE11 { get; set; } = false; [JsonProperty] public bool? ISLANE12 { get; set; } = false; [JsonProperty] public bool? ISLANE13 { get; set; } = false; [JsonProperty] public bool? ISLANE2 { get; set; } = false; [JsonProperty] public bool? ISLANE3 { get; set; } = false; [JsonProperty] public bool? ISLANE4 { get; set; } = false; [JsonProperty] public bool? ISLANE5 { get; set; } = false; [JsonProperty] public bool? ISLANE6 { get; set; } = false; [JsonProperty] public bool? ISLANE7 { get; set; } = false; [JsonProperty] public bool? ISLANE8 { get; set; } = false; [JsonProperty] public bool? ISLANE9 { get; set; } = false; /// /// 是否转正(0否1是) /// [JsonProperty] public bool? ISOFFICIAL { get; set; } = false; [JsonProperty, Column(DbType = "varchar(30)")] public string LANE { get; set; } = ""; /// /// 最后一次更新操作时间 /// [JsonProperty] public DateTime? MODIFIEDTIME { get; set; } /// /// 最后一次更新操作人 /// [JsonProperty, Column(DbType = "varchar(36)")] public string MODIFIEDUSER { get; set; } /// /// 客户英文简称 /// [JsonProperty, Column(DbType = "varchar(50)")] public string NAME { get; set; } /// /// 操作人 /// [JsonProperty, Column(DbType = "varchar(20)")] public string OPNAME { get; set; } /// /// 操作时间 /// [JsonProperty, Column(InsertValueSql = "getdate()")] public DateTime? OPTIME { get; set; } [JsonProperty, Column(DbType = "varchar(200)")] public string PRODUCT { get; set; } = ""; /// /// 备注 /// [JsonProperty, Column(DbType = "varchar(200)")] public string REMARK { get; set; } /// /// 人民币账号 /// [JsonProperty, Column(DbType = "varchar(30)")] public string RMBAccount { get; set; } /// /// 人民币开户银行 /// [JsonProperty, Column(DbType = "varchar(60)")] public string RMBBank { get; set; } /// /// 人民币支票抬头 /// [JsonProperty, Column(DbType = "varchar(60)")] public string RMBBillRises { get; set; } /// /// 人民币联机行号 /// [JsonProperty, Column(DbType = "varchar(20)")] public string RMBOnlineNO { get; set; } /// /// 销售 /// [JsonProperty, Column(DbType = "varchar(20)")] public string SALE { get; set; } /// /// 客户简称 /// [JsonProperty, Column(DbType = "varchar(20)", IsNullable = false)] public string SHORTNAME { get; set; } /// /// 客户状态(0新添加) /// [JsonProperty] public int? STATUS { get; set; } = 0; /// /// 结算方式 /// [JsonProperty, Column(DbType = "varchar(30)")] public string STLNAME { get; set; } /// /// 电话 /// [JsonProperty, Column(DbType = "varchar(50)")] public string TEL { get; set; } /// /// 美元账号 /// [JsonProperty, Column(DbType = "varchar(30)")] public string USDAccount { get; set; } /// /// 美元开户银行 /// [JsonProperty, Column(DbType = "varchar(60)")] public string USDBank { get; set; } /// /// 美元支票抬头 /// [JsonProperty, Column(DbType = "varchar(60)")] public string USDBillRises { get; set; } /// /// 美金汇率 /// [JsonProperty, Column(DbType = "numeric(18,2)")] public decimal? USDExchangeRate { get; set; } /// /// 美元联机行号 /// [JsonProperty, Column(DbType = "varchar(20)")] public string USDOnlineNO { get; set; } /// /// 网址 /// [JsonProperty, Column(DbType = "varchar(50)")] public string WEB { get; set; } } }