UserResult.cs 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161
  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. /// <summary>
  82. /// 用户通讯录 0 用户 1 单位通讯录 2系统通讯录 3 自建通讯录
  83. /// </summary>
  84. /// <value></value>
  85. public int TypeId { get; set; }
  86. /// <summary>
  87. /// 名称
  88. /// </summary>
  89. /// <value></value>
  90. public string Name { get; set; }
  91. /// <summary>
  92. /// 数据ID
  93. /// </summary>
  94. /// <value></value>
  95. public List<UserLinkModelAttributeResult> Items { get; set; }
  96. }
  97. /// <summary>
  98. ///
  99. /// </summary>
  100. public class UserLinkModelAttributeResult
  101. {
  102. /// <summary>
  103. /// Id
  104. /// </summary>
  105. /// <value></value>
  106. public int Id { get; set; }
  107. /// <summary>
  108. /// 名称
  109. /// </summary>
  110. /// <value></value>
  111. public string Name { get; set; }
  112. /// <summary>
  113. /// 1 我的小组 2我的群聊 3我的课程
  114. /// </summary>
  115. /// <value></value>
  116. public int TypeValue { get; set; }
  117. /// <summary>
  118. /// 人数
  119. /// </summary>
  120. /// <value></value>
  121. public int UserCount { get; set; }
  122. /// <summary>
  123. /// 类型
  124. /// </summary>
  125. /// <value></value>
  126. public int TypeId { get; set; }
  127. }
  128. /// <summary>
  129. ///
  130. /// </summary>
  131. public class UserInfoByGroupoRoGroupChatResult
  132. {
  133. /// <summary>
  134. /// 1 群聊 2小组 3自建小组
  135. /// </summary>
  136. /// <value></value>
  137. public int TypeValue { get; set; }
  138. /// <summary>
  139. /// 群聊小组ID
  140. /// </summary>
  141. /// <value></value>
  142. public int Id { get; set; }
  143. /// <summary>
  144. /// 搜索
  145. /// </summary>
  146. /// <value></value>
  147. public string Keyword { get; set; }
  148. /// <summary>
  149. /// 用户ID
  150. /// </summary>
  151. /// <value></value>
  152. public int UserId { get; set; }
  153. }
  154. }