平安校园
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

155 lines
2.7 KiB

  1. //
  2. namespace SafeCampus.System;
  3. public class AuthOutPut
  4. {
  5. }
  6. /// <summary>
  7. /// 验证码返回
  8. /// </summary>
  9. public class PicValidCodeOutPut
  10. {
  11. /// <summary>
  12. /// 验证码图片,Base64
  13. /// </summary>
  14. public string ValidCodeBase64 { get; set; }
  15. /// <summary>
  16. /// 验证码请求号
  17. /// </summary>
  18. public string ValidCodeReqNo { get; set; }
  19. }
  20. /// <summary>
  21. /// 登录返回参数
  22. /// </summary>
  23. public class LoginOutPut
  24. {
  25. /// <summary>
  26. /// 令牌Token
  27. /// </summary>
  28. public string Token { get; set; }
  29. /// <summary>
  30. /// 账号
  31. /// </summary>
  32. public string Account { get; set; }
  33. /// <summary>
  34. /// 姓名
  35. /// </summary>
  36. public string Name { get; set; }
  37. /// <summary>
  38. /// 默认模块
  39. /// </summary>
  40. public long? DefaultModule { get; set; }
  41. /// <summary>
  42. /// 模块列表
  43. /// </summary>
  44. public List<SysResource> ModuleList { get; set; }
  45. }
  46. /// <summary>
  47. /// 登录用互信息
  48. /// </summary>
  49. public class LoginUserOutput
  50. {
  51. /// <summary>
  52. /// 头像
  53. ///</summary>
  54. public string Avatar { get; set; }
  55. /// <summary>
  56. /// 签名
  57. ///</summary>
  58. public string Signature { get; set; }
  59. /// <summary>
  60. /// 账号
  61. ///</summary>
  62. public string Account { get; set; }
  63. /// <summary>
  64. /// 姓名
  65. ///</summary>
  66. public string Name { get; set; }
  67. /// <summary>
  68. /// 昵称
  69. ///</summary>
  70. public string Nickname { get; set; }
  71. /// <summary>
  72. /// 手机号
  73. /// </summary>
  74. public string Phone { get; set; }
  75. /// <summary>
  76. /// 生日
  77. /// </summary>
  78. public string Birthday { get; set; }
  79. /// <summary>
  80. /// 邮箱
  81. /// </summary>
  82. public string Email { get; set; }
  83. /// <summary>
  84. /// 性别
  85. ///</summary>
  86. public string Gender { get; set; }
  87. /// <summary>
  88. /// 家庭住址
  89. ///</summary>
  90. public string HomeAddress { get; set; }
  91. /// <summary>
  92. /// 机构信息
  93. /// </summary>
  94. public string OrgName { get; set; }
  95. /// <summary>
  96. /// 机构信息全称
  97. /// </summary>
  98. public string OrgNames { get; set; }
  99. /// <summary>
  100. /// 职位信息
  101. /// </summary>
  102. public string PositionName { get; set; }
  103. /// <summary>
  104. /// 角色码集合
  105. /// </summary>
  106. public List<string> RoleCodeList { get; set; }
  107. /// <summary>
  108. /// 按钮码集合
  109. /// </summary>
  110. public List<string> ButtonCodeList { get; set; }
  111. /// <summary>
  112. /// 机构及以下机构ID集合
  113. /// </summary>
  114. public List<SysResource> ModuleList { get; set; } = new List<SysResource>();
  115. /// <summary>
  116. /// 默认模块
  117. ///</summary>
  118. public long? DefaultModule { get; set; }
  119. }