UserIdListView.cs 2.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.Threading.Tasks;
  6. namespace OASystem.Domain.ViewModels.QiYeWeChat
  7. {
  8. /// <summary>
  9. /// 企业微信
  10. /// 用户Id List View
  11. /// </summary>
  12. public class UserIdListView : ResponseBase
  13. {
  14. /// <summary>
  15. /// 分页游标,下次请求时填写以获取之后分页的记录。如果该字段返回空则表示已没有更多数据
  16. /// </summary>
  17. public string? next_cursor { get; set; }
  18. /// <summary>
  19. /// 用户-部门关系列表
  20. /// </summary>
  21. public List<UserIdInfo>? dept_user { get; set; }
  22. }
  23. /// <summary>
  24. /// 企业微信
  25. /// 用户Id Info View
  26. /// </summary>
  27. public class UserIdInfo
  28. {
  29. /// <summary>
  30. /// 用户userid,当用户在多个部门下时会有多条记录
  31. /// </summary>
  32. public string? userid { get; set; }
  33. /// <summary>
  34. /// 用户所属部门
  35. /// </summary>
  36. public uint department { get; set; }
  37. }
  38. /// <summary>
  39. /// 成员信息
  40. /// </summary>
  41. public class QYWX_UserInfo
  42. {
  43. /// <summary>
  44. /// userid
  45. /// </summary>
  46. public string userid { get; set; }
  47. /// <summary>
  48. /// 姓名
  49. /// </summary>
  50. public string name { get; set; }
  51. /// <summary>
  52. /// 手机
  53. /// </summary>
  54. public string mobile { get; set; }
  55. /// <summary>
  56. /// 职位
  57. /// </summary>
  58. public string position { get; set; }
  59. /// <summary>
  60. /// 邮箱
  61. /// </summary>
  62. public string email { get; set; }
  63. /// <summary>
  64. /// 企业邮箱
  65. /// </summary>
  66. public string biz_mail { get; set; }
  67. }
  68. /// <summary>
  69. /// 成员信息 View
  70. /// </summary>
  71. public class QYWX_UserInfoView : ResponseBase
  72. {
  73. public QYWX_UserInfo QYWX_User { get; set; }
  74. }
  75. /// <summary>
  76. /// 成员信息 item View
  77. /// </summary>
  78. public class QYWX_UserInfosView : ResponseBase
  79. {
  80. public List<QYWX_UserInfo> QYWX_Users { get; set; }
  81. }
  82. }