UserResult.cs 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137
  1. using System.Collections.Generic;
  2. namespace GxPress.Result.User
  3. {
  4. /// <summary>
  5. /// 用户结果
  6. /// </summary>
  7. public class UserResult
  8. {
  9. /// <summary>
  10. /// 用户id
  11. /// </summary>
  12. public int Id { get; set; }
  13. /// <summary>
  14. /// 手机
  15. /// </summary>
  16. public string Phone { get; set; }
  17. /// <summary>
  18. /// 姓名
  19. /// </summary>
  20. public string Name { get; set; }
  21. /// <summary>
  22. /// 性别
  23. /// Gender
  24. /// </summary>
  25. public string Gender { get; set; }
  26. /// <summary>
  27. /// 邮箱
  28. /// </summary>
  29. public string Email { get; set; }
  30. /// <summary>
  31. /// 部门名称
  32. /// </summary>
  33. public string DepartmentName { get; set; }
  34. /// <summary>
  35. /// 角色名称
  36. /// </summary>
  37. public string RoleName { get; set; }
  38. /// <summary>
  39. /// 部门ID
  40. /// </summary>
  41. public IEnumerable<int> DepartmentIds { get; set; }
  42. /// <summary>
  43. /// 角色ID
  44. /// </summary>
  45. public int RoleId { get; set; }
  46. /// <summary>
  47. /// 头像地址
  48. /// </summary>
  49. public string AvatarUrl { get; set; }
  50. }
  51. /// <summary>
  52. /// 用户通讯录
  53. /// </summary>
  54. public class UserLinkResult
  55. {
  56. /// <summary>
  57. /// 用户通讯录
  58. /// </summary>
  59. /// <value></value>
  60. public List<UserLinkModelResult> Items { get; set; }
  61. /// <summary>
  62. /// 好友
  63. /// </summary>
  64. /// <value></value>
  65. public IEnumerable<UserInfoResult> FriendUsers { get; set; }
  66. }
  67. /// <summary>
  68. ///
  69. /// </summary>
  70. public class UserLinkModelResult
  71. {
  72. /// <summary>
  73. /// 用户通讯录 0 用户 1 单位通讯录 2系统通讯录 3 自建通讯录
  74. /// </summary>
  75. /// <value></value>
  76. public int TypeId { get; set; }
  77. /// <summary>
  78. /// 名称
  79. /// </summary>
  80. /// <value></value>
  81. public string Name { get; set; }
  82. /// <summary>
  83. /// 数据ID
  84. /// </summary>
  85. /// <value></value>
  86. public List<UserLinkModelAttributeResult> Items { get; set; }
  87. }
  88. /// <summary>
  89. ///
  90. /// </summary>
  91. public class UserLinkModelAttributeResult
  92. {
  93. /// <summary>
  94. /// Id
  95. /// </summary>
  96. /// <value></value>
  97. public int Id { get; set; }
  98. /// <summary>
  99. /// 名称
  100. /// </summary>
  101. /// <value></value>
  102. public string Name { get; set; }
  103. /// <summary>
  104. /// 1 我的小组 2我的群聊 3我的课程
  105. /// </summary>
  106. /// <value></value>
  107. public int TypeValue { get; set; }
  108. }
  109. /// <summary>
  110. ///
  111. /// </summary>
  112. public class UserInfoByGroupoRoGroupChatResult
  113. {
  114. /// <summary>
  115. /// 1 群聊 2小组
  116. /// </summary>
  117. /// <value></value>
  118. public int TypeValue { get; set; }
  119. /// <summary>
  120. /// 群聊小组ID
  121. /// </summary>
  122. /// <value></value>
  123. public int Id { get; set; }
  124. /// <summary>
  125. /// 搜索
  126. /// </summary>
  127. /// <value></value>
  128. public string Keyword { get; set; }
  129. }
  130. }