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