GroupDetailResult.cs 7.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293
  1. using System;
  2. using System.Collections.Generic;
  3. using GxPress.EnumConst;
  4. using GxPress.Result.App.GroupUser;
  5. namespace GxPress.Result.App.Group
  6. {
  7. /// <summary>
  8. /// 最近使用的小组
  9. /// </summary>
  10. public class LatelyGroupDetailResult
  11. {
  12. /// <summary>
  13. /// 小组ID
  14. /// </summary>
  15. public int Id { get; set; }
  16. /// <summary>
  17. /// 小组名称
  18. /// </summary>
  19. public string Name { get; set; }
  20. /// <summary>
  21. /// 头像
  22. /// </summary>
  23. public string AvatarUrl { get; set; }
  24. /// <summary>
  25. /// 共享人数
  26. /// </summary>
  27. /// <value></value>
  28. public int UserCount { get; set; }
  29. /// <summary>
  30. ///
  31. /// </summary>
  32. /// <value></value>
  33. public int TypeId { get; set; }
  34. /// <summary>
  35. ///
  36. /// </summary>
  37. /// <value></value>
  38. public int TypeValue { get; set; }
  39. }
  40. /// <summary>
  41. /// 小组详情
  42. /// </summary>
  43. public class GroupDetailResult
  44. {
  45. /// <summary>
  46. /// 小组ID
  47. /// </summary>
  48. public int Id { get; set; }
  49. /// <summary>
  50. /// 小组名称
  51. /// </summary>
  52. public string Name { get; set; }
  53. /// <summary>
  54. /// 小组创始人
  55. /// </summary>
  56. public int UserId { get; set; }
  57. /// <summary>
  58. /// 二维码
  59. /// </summary>
  60. public string QRCoder { get; set; }
  61. /// <summary>
  62. /// 头像
  63. /// </summary>
  64. public string AvatarUrl { get; set; }
  65. /// <summary>
  66. /// 介绍
  67. /// </summary>
  68. public string Introduce { get; set; }
  69. /// <summary>
  70. ///是否管理用同意
  71. /// </summary>
  72. public bool IsAdmin { get; set; }
  73. /// <summary>
  74. /// 是否禁言
  75. /// </summary>
  76. public bool IsWords { get; set; }
  77. /// <summary>
  78. /// 是否免打扰
  79. /// </summary>
  80. public bool IsUDisturb { get; set; }
  81. /// <summary>
  82. /// 小组文件夹ID
  83. /// </summary>
  84. public int GroupFolderId { get; set; }
  85. /// <summary>
  86. /// 创始人姓名
  87. /// </summary>
  88. public string UserName { get; set; }
  89. /// <summary>
  90. /// 成员数据
  91. /// </summary>
  92. public IEnumerable<GroupUserListResult> GroupUserListResult { get; set; }
  93. /// <summary>
  94. /// 权限1 超级管理员 2 管理员 3普通用户
  95. /// </summary>
  96. public GroupUserRoleTyeConst GroupUserRoleId { get; set; }
  97. /// <summary>
  98. /// 小组成员数量
  99. /// </summary>
  100. public int GroupUserNumber { get; set; }
  101. /// <summary>
  102. /// 小组话题数量
  103. /// </summary>
  104. public int GroupTopicNumber { get; set; }
  105. /// <summary>
  106. /// 是否是群成员
  107. /// </summary>
  108. public bool IsUser { get; set; }
  109. /// <summary>
  110. /// 创建时间
  111. /// </summary>
  112. /// <value></value>
  113. public DateTime? CreatedDate { get; set; }
  114. /// <summary>
  115. /// 标签
  116. /// </summary>
  117. /// <value></value>
  118. public string LabelName { get; set; }
  119. /// <summary>
  120. /// 是否显示
  121. /// </summary>
  122. /// <value></value>
  123. public bool IsShow { get; set; }
  124. /// <summary>
  125. /// 历史头像
  126. /// </summary>
  127. /// <value></value>
  128. public string HistoryAvatarUrl { get; set; }
  129. /// <summary>
  130. /// 是否申请中
  131. /// </summary>
  132. /// <value></value>
  133. public bool IsApply { get; set; }
  134. /// <summary>
  135. /// 分类名称
  136. /// </summary>
  137. /// <value></value>
  138. public string CategroyName { get; set; }
  139. /// <summary>
  140. /// 排序
  141. /// </summary>
  142. /// <value></value>
  143. public int Sort { get; set; }
  144. /// <summary>
  145. /// 广场ID
  146. /// </summary>
  147. public int GroupCategroyId { get; set; }
  148. /// <summary>
  149. /// 主要成员
  150. /// </summary>
  151. /// <value></value>
  152. public int MainMemberCount { get; set; }
  153. /// <summary>
  154. /// 普通成员数量
  155. /// </summary>
  156. /// <value></value>
  157. public int CommonMemberCount { get; set; }
  158. /// <summary>
  159. /// 主要成员数据
  160. /// </summary>
  161. public IEnumerable<GroupUserListResult> MainMemberListResult { get; set; }
  162. /// <summary>
  163. /// 普通成员数据
  164. /// </summary>
  165. public IEnumerable<GroupUserListResult> CommonMemberListResult { get; set; }
  166. /// <summary>
  167. /// 是否创建者
  168. /// </summary>
  169. /// <value></value>
  170. public bool IsCreator { get; set; }
  171. /// <summary>
  172. /// 是否加入通讯录
  173. /// </summary>
  174. /// <value></value>
  175. public bool IsContacts{get;set;}
  176. }
  177. /// <summary>
  178. /// 用户小组列表
  179. /// </summary>
  180. public class UserGroupList
  181. {
  182. /// <summary>
  183. /// 小组ID
  184. /// </summary>
  185. public int Id { get; set; }
  186. /// <summary>
  187. /// 小组名称
  188. /// </summary>
  189. public string Name { get; set; }
  190. /// <summary>
  191. /// 头像
  192. /// </summary>
  193. public string AvatarUrl { get; set; }
  194. /// <summary>
  195. /// 共享用户数量
  196. /// </summary>
  197. /// <value></value>
  198. public int UserCount { get; set; }
  199. }
  200. /// <summary>
  201. ///
  202. /// </summary>
  203. public class UserGroupResult
  204. {
  205. /// <summary>
  206. /// 小组ID -1 全网公开 -2 我的小组
  207. /// </summary>
  208. public int Id { get; set; }
  209. /// <summary>
  210. /// 小组名称
  211. /// </summary>
  212. public string Name { get; set; }
  213. }
  214. /// <summary>
  215. /// 小组搜索
  216. /// </summary>
  217. public class SearchGroupDetailResult
  218. {
  219. /// <summary>
  220. /// 小组ID
  221. /// </summary>
  222. public int Id { get; set; }
  223. /// <summary>
  224. /// 简介
  225. /// </summary>
  226. /// <value></value>
  227. public string Introduce { get; set; }
  228. /// <summary>
  229. /// 小组名称
  230. /// </summary>
  231. public string Name { get; set; }
  232. /// <summary>
  233. /// 头像
  234. /// </summary>
  235. public string AvatarUrl { get; set; }
  236. /// <summary>
  237. /// 用户数量
  238. /// </summary>
  239. /// <value></value>
  240. public int UserCount { get; set; }
  241. /// <summary>
  242. /// 发布数量
  243. /// </summary>
  244. /// <value></value>
  245. public int TopicCount { get; set; }
  246. /// <summary>
  247. /// 是否申请
  248. /// </summary>
  249. /// <value></value>
  250. public bool IsApply { get; set; }
  251. /// <summary>
  252. /// 是否是成员
  253. /// </summary>
  254. /// <value></value>
  255. public bool IsUser { get; set; }
  256. /// <summary>
  257. /// 是否需要管理员同意
  258. /// </summary>
  259. /// <value></value>
  260. public bool IsAdmin { get; set; }
  261. }
  262. }