GroupChatUserByGroupChatIdResult.cs 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Text;
  4. using GxPress.Entity;
  5. using GxPress.Result.App.GroupChat;
  6. namespace GxPress.Result.GroupChatUser
  7. {
  8. /// <summary>
  9. /// 根据群ID获取群用户集合
  10. /// </summary>
  11. public class GroupChatUserByGroupChatIdResultList
  12. {
  13. /// <summary>
  14. /// 群信息
  15. /// </summary>
  16. public GroupChatInfoResult GroupChat { get; set; }
  17. /// <summary>
  18. /// 结果集
  19. /// </summary>
  20. public IEnumerable<GroupChatUserByGroupChatIdResult> Item { get; set; }
  21. /// <summary>
  22. /// 是否管理员
  23. /// </summary>
  24. public bool IsAdmin { get; set; }
  25. /// <summary>
  26. /// 是否是群成员
  27. /// </summary>
  28. public bool IsUser { get; set; }
  29. /// <summary>
  30. /// 是否置顶
  31. /// </summary>
  32. public bool IsTop { get; set; }
  33. /// <summary>
  34. /// 是否免打扰
  35. /// </summary>
  36. public bool IsDisturb { get; set; }
  37. }
  38. /// <summary>
  39. /// 根据群ID获取群用户
  40. /// </summary>
  41. public class GroupChatUserByGroupChatIdResult
  42. {
  43. /// <summary>
  44. /// ID
  45. /// </summary>
  46. public int Id { get; set; }
  47. /// <summary>
  48. /// 群ID
  49. /// </summary>
  50. public int GroupChatId { get; set; }
  51. /// <summary>
  52. /// 用户ID
  53. /// </summary>
  54. public int UserId { get; set; }
  55. /// <summary>
  56. /// 用户名
  57. /// </summary>
  58. public string UserName { get; set; }
  59. /// <summary>
  60. /// 是否免打扰
  61. /// </summary>
  62. public bool IsDisturb { get; set; }
  63. /// <summary>
  64. /// 是否置顶
  65. /// </summary>
  66. public bool IsTop { get; set; }
  67. /// <summary>
  68. /// 环信ID
  69. /// </summary>
  70. public string ImId { get; set; }
  71. /// <summary>
  72. /// 用户头像
  73. /// </summary>
  74. public string AvatarUrl { get; set; }
  75. /// <summary>
  76. ///
  77. /// </summary>
  78. public string GroupChatImId { get; set; }
  79. }
  80. }