GroupDetailResult.cs 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143
  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 GroupDetailResult
  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 int UserId { get; set; }
  24. /// <summary>
  25. /// 二维码
  26. /// </summary>
  27. public string QRCoder { get; set; }
  28. /// <summary>
  29. /// 头像
  30. /// </summary>
  31. public string AvatarUrl { get; set; }
  32. /// <summary>
  33. /// 介绍
  34. /// </summary>
  35. public string Introduce { get; set; }
  36. /// <summary>
  37. ///是否管理用同意
  38. /// </summary>
  39. public bool IsAdmin { get; set; }
  40. /// <summary>
  41. /// 是否禁言
  42. /// </summary>
  43. public bool IsWords { get; set; }
  44. /// <summary>
  45. /// 是否免打扰
  46. /// </summary>
  47. public bool IsUDisturb { get; set; }
  48. /// <summary>
  49. /// 小组文件夹ID
  50. /// </summary>
  51. public int GroupFolderId { get; set; }
  52. /// <summary>
  53. /// 创始人姓名
  54. /// </summary>
  55. public string UserName { get; set; }
  56. /// <summary>
  57. /// 成员数据
  58. /// </summary>
  59. public IEnumerable<GroupUserListResult> GroupUserListResult { get; set; }
  60. /// <summary>
  61. /// 权限1 超级管理员 2 管理员 3普通用户
  62. /// </summary>
  63. public GroupUserRoleTyeConst GroupUserRoleId { get; set; }
  64. /// <summary>
  65. /// 小组成员数量
  66. /// </summary>
  67. public int GroupUserNumber { get; set; }
  68. /// <summary>
  69. /// 小组话题数量
  70. /// </summary>
  71. public int GroupTopicNumber { get; set; }
  72. /// <summary>
  73. /// 是否是群成员
  74. /// </summary>
  75. public bool IsUser { get; set; }
  76. /// <summary>
  77. /// 创建时间
  78. /// </summary>
  79. /// <value></value>
  80. public DateTime? CreatedDate { get; set; }
  81. /// <summary>
  82. /// 标签
  83. /// </summary>
  84. /// <value></value>
  85. public string LabelName { get; set; }
  86. /// <summary>
  87. /// 是否显示
  88. /// </summary>
  89. /// <value></value>
  90. public bool IsShow { get; set; }
  91. }
  92. /// <summary>
  93. /// 用户小组列表
  94. /// </summary>
  95. public class UserGroupList
  96. {
  97. /// <summary>
  98. /// 小组ID
  99. /// </summary>
  100. public int Id { get; set; }
  101. /// <summary>
  102. /// 小组名称
  103. /// </summary>
  104. public string Name { get; set; }
  105. /// <summary>
  106. /// 头像
  107. /// </summary>
  108. public string AvatarUrl { get; set; }
  109. /// <summary>
  110. /// 共享用户数量
  111. /// </summary>
  112. /// <value></value>
  113. public int UserCount { get; set; }
  114. }
  115. }