GroupDetailResult.cs 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177
  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. }
  30. /// <summary>
  31. /// 小组详情
  32. /// </summary>
  33. public class GroupDetailResult
  34. {
  35. /// <summary>
  36. /// 小组ID
  37. /// </summary>
  38. public int Id { get; set; }
  39. /// <summary>
  40. /// 小组名称
  41. /// </summary>
  42. public string Name { get; set; }
  43. /// <summary>
  44. /// 小组创始人
  45. /// </summary>
  46. public int UserId { get; set; }
  47. /// <summary>
  48. /// 二维码
  49. /// </summary>
  50. public string QRCoder { get; set; }
  51. /// <summary>
  52. /// 头像
  53. /// </summary>
  54. public string AvatarUrl { get; set; }
  55. /// <summary>
  56. /// 介绍
  57. /// </summary>
  58. public string Introduce { get; set; }
  59. /// <summary>
  60. ///是否管理用同意
  61. /// </summary>
  62. public bool IsAdmin { get; set; }
  63. /// <summary>
  64. /// 是否禁言
  65. /// </summary>
  66. public bool IsWords { get; set; }
  67. /// <summary>
  68. /// 是否免打扰
  69. /// </summary>
  70. public bool IsUDisturb { get; set; }
  71. /// <summary>
  72. /// 小组文件夹ID
  73. /// </summary>
  74. public int GroupFolderId { get; set; }
  75. /// <summary>
  76. /// 创始人姓名
  77. /// </summary>
  78. public string UserName { get; set; }
  79. /// <summary>
  80. /// 成员数据
  81. /// </summary>
  82. public IEnumerable<GroupUserListResult> GroupUserListResult { get; set; }
  83. /// <summary>
  84. /// 权限1 超级管理员 2 管理员 3普通用户
  85. /// </summary>
  86. public GroupUserRoleTyeConst GroupUserRoleId { get; set; }
  87. /// <summary>
  88. /// 小组成员数量
  89. /// </summary>
  90. public int GroupUserNumber { get; set; }
  91. /// <summary>
  92. /// 小组话题数量
  93. /// </summary>
  94. public int GroupTopicNumber { get; set; }
  95. /// <summary>
  96. /// 是否是群成员
  97. /// </summary>
  98. public bool IsUser { get; set; }
  99. /// <summary>
  100. /// 创建时间
  101. /// </summary>
  102. /// <value></value>
  103. public DateTime? CreatedDate { get; set; }
  104. /// <summary>
  105. /// 标签
  106. /// </summary>
  107. /// <value></value>
  108. public string LabelName { get; set; }
  109. /// <summary>
  110. /// 是否显示
  111. /// </summary>
  112. /// <value></value>
  113. public bool IsShow { get; set; }
  114. /// <summary>
  115. /// 历史头像
  116. /// </summary>
  117. /// <value></value>
  118. public string HistoryAvatarUrl { get; set; }
  119. /// <summary>
  120. /// 是否申请中
  121. /// </summary>
  122. /// <value></value>
  123. public bool IsApply { get; set; }
  124. }
  125. /// <summary>
  126. /// 用户小组列表
  127. /// </summary>
  128. public class UserGroupList
  129. {
  130. /// <summary>
  131. /// 小组ID
  132. /// </summary>
  133. public int Id { get; set; }
  134. /// <summary>
  135. /// 小组名称
  136. /// </summary>
  137. public string Name { get; set; }
  138. /// <summary>
  139. /// 头像
  140. /// </summary>
  141. public string AvatarUrl { get; set; }
  142. /// <summary>
  143. /// 共享用户数量
  144. /// </summary>
  145. /// <value></value>
  146. public int UserCount { get; set; }
  147. }
  148. }