Crm_NewClientData.cs 5.8 KB

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