NewClientDataView.cs 5.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240
  1. using OASystem.Domain.Entities.Customer;
  2. using Org.BouncyCastle.Asn1.Ocsp;
  3. using Org.BouncyCastle.Asn1.X9;
  4. using System;
  5. using System.Collections.Generic;
  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.ViewModels.CRM
  11. {
  12. public class DetailsView
  13. {
  14. public int Id { get; set; }
  15. /// <summary>
  16. /// 客户分类
  17. /// </summary>
  18. public int Category { get; set; }
  19. /// <summary>
  20. /// 地市州Id
  21. /// </summary>
  22. public int Lvlid { get; set; }
  23. /// <summary>
  24. /// 权重
  25. /// </summary>
  26. public string Weight { get; set; }
  27. /// <summary>
  28. /// 联系人
  29. /// </summary>
  30. public string Contact { get; set; }
  31. /// <summary>
  32. /// 联系人性别
  33. /// </summary>
  34. public int Gender { get; set; }
  35. /// <summary>
  36. /// 联系手机号
  37. /// </summary>
  38. public string Telephone { get; set; }
  39. /// <summary>
  40. /// 联系座机号
  41. /// </summary>
  42. public string Phone { get; set; }
  43. /// <summary>
  44. /// 邮件
  45. /// </summary>
  46. public string Email { get; set; }
  47. /// <summary>
  48. /// 职位
  49. /// </summary>
  50. public string Job { get; set; }
  51. /// <summary>
  52. /// 客户单位
  53. /// </summary>
  54. public string Client { get; set; }
  55. /// <summary>
  56. /// 客户单位简写
  57. /// </summary>
  58. public string ClientShort { get; set; }
  59. /// <summary>
  60. /// 所属区域(所在城市)
  61. /// </summary>
  62. public string Location { get; set; }
  63. /// <summary>
  64. /// 地址
  65. /// </summary>
  66. public string Address { get; set; }
  67. /// <summary>
  68. /// 护照
  69. /// </summary>
  70. public string Passport { get; set; }
  71. /// <summary>
  72. /// 护照日期
  73. /// </summary>
  74. public string? PassportDate { get; set; }
  75. /// <summary>
  76. /// 生日
  77. /// </summary>
  78. public string Birthday { get; set; }
  79. /// <summary>
  80. /// 预计出团
  81. /// </summary>
  82. public int PreDele { get; set; }
  83. /// <summary>
  84. /// 已出团
  85. /// </summary>
  86. public int FinlishedDele { get; set; }
  87. /// <summary>
  88. /// 归属人员
  89. /// </summary>
  90. public List<int>? AscribedUser { get; set; }
  91. /// <summary>
  92. /// 归属部门
  93. /// </summary>
  94. public List<int>? AscribedDepartment { get; set; }
  95. /// <summary>
  96. /// 微信
  97. /// </summary>
  98. public string WeChat { get; set; }
  99. /// <summary>
  100. /// 备注
  101. /// </summary>
  102. public string Remark { get; set; }
  103. }
  104. public class NewClientDataAndroidIOSView
  105. {
  106. /// <summary>
  107. /// 编号
  108. /// </summary>
  109. public int RowNumber { get; set; }
  110. public int Id { get; set; }
  111. /// <summary>
  112. /// 客户单位
  113. /// </summary>
  114. public string? Client { get; set; }
  115. /// <summary>
  116. /// 联系人
  117. /// </summary>
  118. public string? Contact { get; set; }
  119. /// <summary>
  120. /// 职位
  121. /// </summary>
  122. public string? Job { get; set; }
  123. /// <summary>
  124. /// 联系手机号
  125. /// </summary>
  126. public string? Telephone { get; set; }
  127. /// <summary>
  128. /// 所在区域
  129. /// </summary>
  130. public string? Location { get; set; }
  131. }
  132. public class NewClientDataView : Crm_NewClientData
  133. {
  134. /// <summary>
  135. /// 总条数
  136. /// </summary>
  137. public int countPage { get; set; }
  138. /// <summary>
  139. /// 编号
  140. /// </summary>
  141. public int RowNumber { get; set; }
  142. /// <summary>
  143. /// 客户分类
  144. /// </summary>
  145. public string CategoryStr { get; set; }
  146. /// <summary>
  147. /// 地市州Id
  148. /// </summary>
  149. public string LvlidStr { get; set; }
  150. /// <summary>
  151. /// 归属人员
  152. /// </summary>
  153. public dynamic AscribedUser { get; set; }
  154. /// <summary>
  155. /// 归属部门
  156. /// </summary>
  157. public dynamic AscribedDepartment { get; set; }
  158. }
  159. /// <summary>
  160. ///归属人员
  161. /// </summary>
  162. public class AscribedUser
  163. {
  164. /// <summary>
  165. /// 人员Id
  166. /// </summary>
  167. public int UserId { get; set; }
  168. /// <summary>
  169. /// 归属人员姓名
  170. /// </summary>
  171. public string CnName { get; set; }
  172. public int NewClientDataId { get; set; }
  173. }
  174. /// <summary>
  175. ///归属部门
  176. /// </summary>
  177. public class AscribedDepartment
  178. {
  179. /// <summary>
  180. /// setData部门部门Id
  181. /// </summary>
  182. public int Id { get; set; }
  183. /// <summary>
  184. /// 归属部门名称
  185. /// </summary>
  186. public string Name { get; set; }
  187. public int NewClientDataId { get; set; }
  188. }
  189. public class CRMWeekStatisticsView
  190. {
  191. public string UserName { get; set; }
  192. public int InsertNum { get; set; }
  193. public int DeleteNum { get; set; }
  194. }
  195. }