Crm_NewClientData.cs 5.5 KB

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