user.go 544 B

1234567891011121314151617181920212223242526
  1. package dto
  2. import "git.rtzhtech.cn/iss/public-lib/model"
  3. type GetUserRequest struct {
  4. UserName string `json:"userName"`
  5. FullName string `json:"fullName"`
  6. Comment string `json:"comment"`
  7. Role int `json:"role"`
  8. Status int `json:"status"`
  9. LimitPage
  10. }
  11. type GetUserResponse struct {
  12. List []*model.SysUsr `json:"list"`
  13. Total int64 `json:"total"`
  14. }
  15. type GetUserAccessRequest struct {
  16. UserId int `json:"userId"`
  17. }
  18. type DelUserAccessRequest struct {
  19. AccessId int `json:"accessId"`
  20. UserId int `json:"userId"`
  21. }