Crm_NewClientData.cs 6.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202
  1. using OASystem.Domain.Attributes;
  2. using Org.BouncyCastle.Asn1.Ocsp;
  3. using System;
  4. using System.Collections.Generic;
  5. using System.ComponentModel;
  6. using System.Linq;
  7. using System.Text;
  8. using System.Threading.Tasks;
  9. using static Google.Protobuf.Reflection.SourceCodeInfo.Types;
  10. namespace OASystem.Domain.Entities.Customer
  11. {
  12. /// <summary>
  13. /// 新客户资料表
  14. /// </summary>
  15. [SugarTable("Crm_NewClientData")]
  16. public class Crm_NewClientData : EntityBase
  17. {
  18. private int number;
  19. private int lvlid;
  20. private string client;
  21. private string weight;
  22. private string clientshort;
  23. private string contact;
  24. private int gender;
  25. private string passport;
  26. private DateTime? passportDate;
  27. private string job;
  28. private string telephone;
  29. private string phone;
  30. private string email;
  31. private string location;
  32. private string address;
  33. private string birthday;
  34. private string otherinfo;
  35. private string wechat;
  36. private int category;
  37. private int predele;
  38. private int finlishedDele;
  39. /// <summary>
  40. /// 序号
  41. /// </summary>
  42. [SugarColumn(ColumnDescription = "序号", IsNullable = true, ColumnDataType = "int")]
  43. public int Number { get => number; set => number = value; }
  44. /// <summary>
  45. /// 地市州Id
  46. /// </summary>
  47. [Description("客户区域")]
  48. [SugarColumn(ColumnDescription = "客户区域", IsNullable = true, ColumnDataType = "int")]
  49. public int Lvlid { get => lvlid; set => lvlid = value; }
  50. /// <summary>
  51. /// 客户单位
  52. /// </summary>
  53. [Encrypted]
  54. [Description("客户单位")]
  55. [SugarColumn(ColumnDescription = "客户单位", IsNullable = true, ColumnDataType = "nvarchar(200)")]
  56. public string Client { get => client; set => client = value; }
  57. /// <summary>
  58. /// 权重
  59. /// </summary>
  60. [Encrypted]
  61. [Description("权重")]
  62. [SugarColumn(ColumnDescription = "权重", IsNullable = true, ColumnDataType = "nvarchar(100)")]
  63. public string Weight { get => weight; set => weight = value; }
  64. /// <summary>
  65. /// 客户单位简写
  66. /// </summary>
  67. [Encrypted]
  68. [Description("客户单位简写")]
  69. [SugarColumn(ColumnDescription = "客户单位简写", IsNullable = true, ColumnDataType = "nvarchar(200)")]
  70. public string ClientShort { get => clientshort; set => clientshort = value; }
  71. /// <summary>
  72. /// 联系人
  73. /// </summary>
  74. [Encrypted]
  75. [Description("联系人")]
  76. [SugarColumn(ColumnDescription = "联系人", IsNullable = true, ColumnDataType = "nvarchar(200)")]
  77. public string Contact { get => contact; set => contact = value; }
  78. /// <summary>
  79. /// 联系人性别
  80. /// </summary>
  81. [Description("性别")]
  82. [SugarColumn(ColumnDescription = "性别", IsNullable = true, ColumnDataType = "int")]
  83. public int Gender { get => gender; set => gender = value; }
  84. /// <summary>
  85. /// 护照
  86. /// </summary>
  87. [Encrypted]
  88. [Description("护照")]
  89. [SugarColumn(ColumnDescription = "护照", IsNullable = true, ColumnDataType = "nvarchar(200)")]
  90. public string Passport { get => passport; set => passport = value; }
  91. /// <summary>
  92. /// 护照日期
  93. /// </summary>
  94. [Description("护照日期")]
  95. [SugarColumn(ColumnDescription = "护照日期", IsNullable = true, ColumnDataType = "DateTime")]
  96. public DateTime? PassportDate { get => passportDate; set => passportDate = value; }
  97. /// <summary>
  98. /// 职位
  99. /// </summary>
  100. [Encrypted]
  101. [Description("职位")]
  102. [SugarColumn(ColumnDescription = "职位", IsNullable = true, ColumnDataType = "nvarchar(200)")]
  103. public string Job { get => job; set => job = value; }
  104. /// <summary>
  105. /// 联系手机号
  106. /// </summary>
  107. [Encrypted]
  108. [Description("手机号")]
  109. [SugarColumn(ColumnDescription = "手机号", IsNullable = true, ColumnDataType = "nvarchar(200)")]
  110. public string Telephone { get => telephone; set => telephone = value; }
  111. /// <summary>
  112. /// 联系座机号
  113. /// </summary>
  114. [Encrypted]
  115. [Description("座机号")]
  116. [SugarColumn(ColumnDescription = "座机号", IsNullable = true, ColumnDataType = "nvarchar(200)")]
  117. public string Phone { get => phone; set => phone = value; }
  118. /// <summary>
  119. /// 邮件
  120. /// </summary>
  121. [Encrypted]
  122. [Description("邮件")]
  123. [SugarColumn(ColumnDescription = "邮件", IsNullable = true, ColumnDataType = "nvarchar(200)")]
  124. public string Email { get => email; set => email = value; }
  125. /// <summary>
  126. /// 所属区域(所在城市)
  127. /// </summary>
  128. [Encrypted]
  129. [Description("所在城市")]
  130. [SugarColumn(IsNullable = true, ColumnDataType = "nvarchar(MAX)")]
  131. public string Location { get => location; set => location = value; }
  132. /// <summary>
  133. /// 地址
  134. /// </summary>
  135. [Encrypted]
  136. [Description("具体地址")]
  137. [SugarColumn(IsNullable = true, ColumnDataType = "varchar(80)")]
  138. public string Address { get => address; set => address = value; }
  139. /// <summary>
  140. /// 生日
  141. /// </summary>
  142. [Encrypted]
  143. [Description("生日信息")]
  144. [SugarColumn(IsNullable = true, ColumnDataType = "string")]
  145. public string Birthday { get => birthday; set => birthday = value; }
  146. /// <summary>
  147. /// 其他信息
  148. /// </summary>
  149. [Encrypted]
  150. [Description("备注")]
  151. [SugarColumn(IsNullable = true, ColumnDataType = "nvarchar(MAX)")]
  152. public string OtherInfo { get => otherinfo; set => otherinfo = value; }
  153. /// <summary>
  154. /// 微信
  155. /// </summary>
  156. [Encrypted]
  157. [Description("微信")]
  158. [SugarColumn(IsNullable = true, ColumnDataType = "nvarchar(200)")]
  159. public string Wechat { get => wechat; set => wechat = value; }
  160. /// <summary>
  161. /// 分类
  162. /// </summary>
  163. [Description("业务归属")]
  164. [SugarColumn(IsNullable = true, ColumnDataType = "int")]
  165. public int Category { get => category; set => category = value; }
  166. /// <summary>
  167. /// 预计出团
  168. /// </summary>
  169. [Description("今年预计出团")]
  170. [SugarColumn(IsNullable = true, ColumnDataType = "int")]
  171. public int PreDele { get => predele; set => predele = value; }
  172. /// <summary>
  173. /// 已出团
  174. /// </summary>
  175. [Description("今年已出团")]
  176. [SugarColumn(IsNullable = true, ColumnDataType = "int")]
  177. public int FinlishedDele { get => finlishedDele; set => finlishedDele = value; }
  178. }
  179. }