|
@@ -2,6 +2,7 @@
|
|
|
using Org.BouncyCastle.Asn1.Ocsp;
|
|
|
using System;
|
|
|
using System.Collections.Generic;
|
|
|
+using System.ComponentModel;
|
|
|
using System.Linq;
|
|
|
using System.Text;
|
|
|
using System.Threading.Tasks;
|
|
@@ -46,6 +47,7 @@ namespace OASystem.Domain.Entities.Customer
|
|
|
/// <summary>
|
|
|
/// 地市州Id
|
|
|
/// </summary>
|
|
|
+ [Description("客户区域")]
|
|
|
[SugarColumn(ColumnDescription = "客户区域", IsNullable = true, ColumnDataType = "int")]
|
|
|
public int Lvlid { get => lvlid; set => lvlid = value; }
|
|
|
|
|
@@ -53,6 +55,7 @@ namespace OASystem.Domain.Entities.Customer
|
|
|
/// 客户单位
|
|
|
/// </summary>
|
|
|
[Encrypted]
|
|
|
+ [Description("客户单位")]
|
|
|
[SugarColumn(ColumnDescription = "客户单位", IsNullable = true, ColumnDataType = "nvarchar(200)")]
|
|
|
public string Client { get => client; set => client = value; }
|
|
|
|
|
@@ -60,6 +63,7 @@ namespace OASystem.Domain.Entities.Customer
|
|
|
/// 权重
|
|
|
/// </summary>
|
|
|
[Encrypted]
|
|
|
+ [Description("权重")]
|
|
|
[SugarColumn(ColumnDescription = "权重", IsNullable = true, ColumnDataType = "nvarchar(100)")]
|
|
|
public string Weight { get => weight; set => weight = value; }
|
|
|
|
|
@@ -67,6 +71,7 @@ namespace OASystem.Domain.Entities.Customer
|
|
|
/// 客户单位简写
|
|
|
/// </summary>
|
|
|
[Encrypted]
|
|
|
+ [Description("客户单位简写")]
|
|
|
[SugarColumn(ColumnDescription = "客户单位简写", IsNullable = true, ColumnDataType = "nvarchar(200)")]
|
|
|
public string ClientShort { get => clientshort; set => clientshort = value; }
|
|
|
|
|
@@ -74,12 +79,14 @@ namespace OASystem.Domain.Entities.Customer
|
|
|
/// 联系人
|
|
|
/// </summary>
|
|
|
[Encrypted]
|
|
|
+ [Description("联系人")]
|
|
|
[SugarColumn(ColumnDescription = "联系人", IsNullable = true, ColumnDataType = "nvarchar(200)")]
|
|
|
public string Contact { get => contact; set => contact = value; }
|
|
|
|
|
|
/// <summary>
|
|
|
/// 联系人性别
|
|
|
/// </summary>
|
|
|
+ [Description("性别")]
|
|
|
[SugarColumn(ColumnDescription = "性别", IsNullable = true, ColumnDataType = "int")]
|
|
|
public int Gender { get => gender; set => gender = value; }
|
|
|
|
|
@@ -87,12 +94,14 @@ namespace OASystem.Domain.Entities.Customer
|
|
|
/// 护照
|
|
|
/// </summary>
|
|
|
[Encrypted]
|
|
|
+ [Description("护照")]
|
|
|
[SugarColumn(ColumnDescription = "护照", IsNullable = true, ColumnDataType = "nvarchar(200)")]
|
|
|
public string Passport { get => passport; set => passport = value; }
|
|
|
|
|
|
/// <summary>
|
|
|
/// 护照日期
|
|
|
/// </summary>
|
|
|
+ [Description("护照日期")]
|
|
|
[SugarColumn(ColumnDescription = "护照日期", IsNullable = true, ColumnDataType = "DateTime")]
|
|
|
public DateTime? PassportDate { get => passportDate; set => passportDate = value; }
|
|
|
|
|
@@ -100,6 +109,7 @@ namespace OASystem.Domain.Entities.Customer
|
|
|
/// 职位
|
|
|
/// </summary>
|
|
|
[Encrypted]
|
|
|
+ [Description("职位")]
|
|
|
[SugarColumn(ColumnDescription = "职位", IsNullable = true, ColumnDataType = "nvarchar(200)")]
|
|
|
public string Job { get => job; set => job = value; }
|
|
|
|
|
@@ -107,6 +117,7 @@ namespace OASystem.Domain.Entities.Customer
|
|
|
/// 联系手机号
|
|
|
/// </summary>
|
|
|
[Encrypted]
|
|
|
+ [Description("手机号")]
|
|
|
[SugarColumn(ColumnDescription = "手机号", IsNullable = true, ColumnDataType = "nvarchar(200)")]
|
|
|
public string Telephone { get => telephone; set => telephone = value; }
|
|
|
|
|
@@ -114,6 +125,7 @@ namespace OASystem.Domain.Entities.Customer
|
|
|
/// 联系座机号
|
|
|
/// </summary>
|
|
|
[Encrypted]
|
|
|
+ [Description("座机号")]
|
|
|
[SugarColumn(ColumnDescription = "座机号", IsNullable = true, ColumnDataType = "nvarchar(200)")]
|
|
|
public string Phone { get => phone; set => phone = value; }
|
|
|
|
|
@@ -121,6 +133,7 @@ namespace OASystem.Domain.Entities.Customer
|
|
|
/// 邮件
|
|
|
/// </summary>
|
|
|
[Encrypted]
|
|
|
+ [Description("邮件")]
|
|
|
[SugarColumn(ColumnDescription = "邮件", IsNullable = true, ColumnDataType = "nvarchar(200)")]
|
|
|
public string Email { get => email; set => email = value; }
|
|
|
|
|
@@ -128,6 +141,7 @@ namespace OASystem.Domain.Entities.Customer
|
|
|
/// 所属区域(所在城市)
|
|
|
/// </summary>
|
|
|
[Encrypted]
|
|
|
+ [Description("所在城市")]
|
|
|
[SugarColumn(IsNullable = true, ColumnDataType = "nvarchar(MAX)")]
|
|
|
public string Location { get => location; set => location = value; }
|
|
|
|
|
@@ -135,6 +149,7 @@ namespace OASystem.Domain.Entities.Customer
|
|
|
/// 地址
|
|
|
/// </summary>
|
|
|
[Encrypted]
|
|
|
+ [Description("具体地址")]
|
|
|
[SugarColumn(IsNullable = true, ColumnDataType = "varchar(80)")]
|
|
|
public string Address { get => address; set => address = value; }
|
|
|
|
|
@@ -142,6 +157,7 @@ namespace OASystem.Domain.Entities.Customer
|
|
|
/// 生日
|
|
|
/// </summary>
|
|
|
[Encrypted]
|
|
|
+ [Description("生日信息")]
|
|
|
[SugarColumn(IsNullable = true, ColumnDataType = "string")]
|
|
|
public string Birthday { get => birthday; set => birthday = value; }
|
|
|
|
|
@@ -149,6 +165,7 @@ namespace OASystem.Domain.Entities.Customer
|
|
|
/// 其他信息
|
|
|
/// </summary>
|
|
|
[Encrypted]
|
|
|
+ [Description("备注")]
|
|
|
[SugarColumn(IsNullable = true, ColumnDataType = "nvarchar(MAX)")]
|
|
|
public string OtherInfo { get => otherinfo; set => otherinfo = value; }
|
|
|
|
|
@@ -156,24 +173,28 @@ namespace OASystem.Domain.Entities.Customer
|
|
|
/// 微信
|
|
|
/// </summary>
|
|
|
[Encrypted]
|
|
|
+ [Description("微信")]
|
|
|
[SugarColumn(IsNullable = true, ColumnDataType = "nvarchar(200)")]
|
|
|
public string Wechat { get => wechat; set => wechat = value; }
|
|
|
|
|
|
/// <summary>
|
|
|
/// 分类
|
|
|
/// </summary>
|
|
|
+ [Description("业务归属")]
|
|
|
[SugarColumn(IsNullable = true, ColumnDataType = "int")]
|
|
|
public int Category { get => category; set => category = value; }
|
|
|
|
|
|
/// <summary>
|
|
|
/// 预计出团
|
|
|
/// </summary>
|
|
|
+ [Description("今年预计出团")]
|
|
|
[SugarColumn(IsNullable = true, ColumnDataType = "int")]
|
|
|
public int PreDele { get => predele; set => predele = value; }
|
|
|
|
|
|
/// <summary>
|
|
|
/// 已出团
|
|
|
/// </summary>
|
|
|
+ [Description("今年已出团")]
|
|
|
[SugarColumn(IsNullable = true, ColumnDataType = "int")]
|
|
|
public int FinlishedDele { get => finlishedDele; set => finlishedDele = value; }
|
|
|
}
|