UserResult.cs 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110
  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 int DepartmentId { 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. }
  62. /// <summary>
  63. ///
  64. /// </summary>
  65. public class UserLinkModelResult
  66. {
  67. /// <summary>
  68. /// 用户通讯录 0 用户 1 单位通讯录 2系统通讯录 3 自建通讯录
  69. /// </summary>
  70. /// <value></value>
  71. public int TypeId { get; set; }
  72. /// <summary>
  73. /// 名称
  74. /// </summary>
  75. /// <value></value>
  76. public string Name { get; set; }
  77. /// <summary>
  78. /// 数据ID
  79. /// </summary>
  80. /// <value></value>
  81. public List<UserLinkModelAttributeResult> Items { get; set; }
  82. }
  83. /// <summary>
  84. ///
  85. /// </summary>
  86. public class UserLinkModelAttributeResult
  87. {
  88. /// <summary>
  89. /// Id
  90. /// </summary>
  91. /// <value></value>
  92. public int Id { get; set; }
  93. /// <summary>
  94. /// 名称
  95. /// </summary>
  96. /// <value></value>
  97. public string Name { get; set; }
  98. /// <summary>
  99. /// 1 我的小组 2我的群聊 3我的课程
  100. /// </summary>
  101. /// <value></value>
  102. public int TypeValue { get; set; }
  103. }
  104. }