// Code generated by goctl. DO NOT EDIT.
package types

type AdminLoginReq struct {
	Username string `json:"username" validate:"required"`
	Password string `json:"password" validate:"required"`
	Captcha  bool   `json:"captcha" validate:"required"`
}

type AdminLoginResp struct {
	AccessToken  string   `json:"access_token"`
	AccessExpire int64    `json:"access_expire"`
	RefreshAfter int64    `json:"refresh_after"`
	Roles        []string `json:"roles"`
}
