UserResult.cs 4.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164
  1. using System.Collections.Generic;
  2. namespace GxPress.Result.User
  3. {
  4. /// <summary>
  5. /// 用户结果
  6. /// </summary>
  7. public class UserResult
  8. {
  9. /// <summary>
  10. /// 用户id
  11. /// </summary>
  12. public int Id { get; set; }
  13. /// <summary>
  14. /// 手机
  15. /// </summary>
  16. public string Phone { get; set; }
  17. /// <summary>
  18. /// 姓名
  19. /// </summary>
  20. public string Name { get; set; }
  21. /// <summary>
  22. /// 性别
  23. /// Gender
  24. /// </summary>
  25. public string Gender { get; set; }
  26. /// <summary>
  27. /// 邮箱
  28. /// </summary>
  29. public string Email { get; set; }
  30. /// <summary>
  31. /// 部门名称
  32. /// </summary>
  33. public string DepartmentName { get; set; }
  34. /// <summary>
  35. /// 角色名称
  36. /// </summary>
  37. public string RoleName { get; set; }
  38. /// <summary>
  39. /// 部门ID
  40. /// </summary>
  41. public IEnumerable<int> DepartmentIds { get; set; }
  42. /// <summary>
  43. /// 角色ID
  44. /// </summary>
  45. public int RoleId { get; set; }
  46. /// <summary>
  47. /// 头像地址
  48. /// </summary>
  49. public string AvatarUrl { get; set; }
  50. /// <summary>
  51. /// 环信ID
  52. /// </summary>
  53. public string ImId { get; set; }
  54. }
  55. /// <summary>
  56. /// 用户通讯录
  57. /// </summary>
  58. public class UserLinkResult
  59. {
  60. /// <summary>
  61. /// 用户通讯录
  62. /// </summary>
  63. /// <value></value>
  64. public List<UserLinkModelResult> Items { get; set; }
  65. /// <summary>
  66. /// 好友
  67. /// </summary>
  68. /// <value></value>
  69. public IEnumerable<UserInfoResult> FriendUsers { get; set; }
  70. /// <summary>
  71. /// 最近聊天用户
  72. /// </summary>
  73. /// <value></value>
  74. public IEnumerable<UserInfoResult> LatelyChatUsers { get; set; }
  75. }
  76. /// <summary>
  77. ///
  78. /// </summary>
  79. public class UserLinkModelResult
  80. {
  81. public int Id { get; set; }
  82. /// <summary>
  83. /// 用户通讯录 0 用户 1 单位通讯录 2系统通讯录 3 自建通讯录
  84. /// </summary>
  85. /// <value></value>
  86. public int TypeId { get; set; }
  87. /// <summary>
  88. /// 名称
  89. /// </summary>
  90. /// <value></value>
  91. public string Name { get; set; }
  92. /// <summary>
  93. /// 数据ID
  94. /// </summary>
  95. /// <value></value>
  96. public List<UserLinkModelAttributeResult> Items { get; set; }
  97. public int TypeValue { get; set; }
  98. }
  99. /// <summary>
  100. ///
  101. /// </summary>
  102. public class UserLinkModelAttributeResult
  103. {
  104. /// <summary>
  105. /// Id
  106. /// </summary>
  107. /// <value></value>
  108. public int Id { get; set; }
  109. /// <summary>
  110. /// 名称
  111. /// </summary>
  112. /// <value></value>
  113. public string Name { get; set; }
  114. /// <summary>
  115. /// 1 我的小组 2我的群聊 3我的课程
  116. /// </summary>
  117. /// <value></value>
  118. public int TypeValue { get; set; }
  119. /// <summary>
  120. /// 人数
  121. /// </summary>
  122. /// <value></value>
  123. public int UserCount { get; set; }
  124. /// <summary>
  125. /// 类型
  126. /// </summary>
  127. /// <value></value>
  128. public int TypeId { get; set; }
  129. }
  130. /// <summary>
  131. ///
  132. /// </summary>
  133. public class UserInfoByGroupoRoGroupChatResult
  134. {
  135. /// <summary>
  136. /// 1 群聊 2小组 3自建小组
  137. /// </summary>
  138. /// <value></value>
  139. public int TypeValue { get; set; }
  140. public int TypeId { get; set; }
  141. /// <summary>
  142. /// 群聊小组ID
  143. /// </summary>
  144. /// <value></value>
  145. public int Id { get; set; }
  146. /// <summary>
  147. /// 搜索
  148. /// </summary>
  149. /// <value></value>
  150. public string Keyword { get; set; }
  151. /// <summary>
  152. /// 用户ID
  153. /// </summary>
  154. /// <value></value>
  155. public int UserId { get; set; }
  156. }
  157. }