GroupDetailResult.cs 4.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202
  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. }
  135. /// <summary>
  136. /// 用户小组列表
  137. /// </summary>
  138. public class UserGroupList
  139. {
  140. /// <summary>
  141. /// 小组ID
  142. /// </summary>
  143. public int Id { get; set; }
  144. /// <summary>
  145. /// 小组名称
  146. /// </summary>
  147. public string Name { get; set; }
  148. /// <summary>
  149. /// 头像
  150. /// </summary>
  151. public string AvatarUrl { get; set; }
  152. /// <summary>
  153. /// 共享用户数量
  154. /// </summary>
  155. /// <value></value>
  156. public int UserCount { get; set; }
  157. }
  158. /// <summary>
  159. ///
  160. /// </summary>
  161. public class UserGroupResult
  162. {
  163. /// <summary>
  164. /// 小组ID -1 全网公开 -2 我的小组
  165. /// </summary>
  166. public int Id { get; set; }
  167. /// <summary>
  168. /// 小组名称
  169. /// </summary>
  170. public string Name { get; set; }
  171. }
  172. }