2021-06-07 17:22:07 +08:00
|
|
|
package vo
|
|
|
|
|
|
|
|
|
|
import (
|
2022-06-02 17:41:11 +08:00
|
|
|
"mayfly-go/pkg/model"
|
2021-06-07 17:22:07 +08:00
|
|
|
"time"
|
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
type AccountManageVO struct {
|
|
|
|
|
model.Model
|
2021-07-28 18:03:19 +08:00
|
|
|
Username *string `json:"username"`
|
|
|
|
|
Status int `json:"status"`
|
|
|
|
|
LastLoginTime *time.Time `json:"lastLoginTime"`
|
2021-06-07 17:22:07 +08:00
|
|
|
}
|
|
|
|
|
|
2021-09-11 14:04:09 +08:00
|
|
|
// 账号角色信息
|
2021-06-07 17:22:07 +08:00
|
|
|
type AccountRoleVO struct {
|
|
|
|
|
Name *string `json:"name"`
|
|
|
|
|
Status int `json:"status"`
|
|
|
|
|
CreateTime *time.Time `json:"createTime"`
|
|
|
|
|
Creator string `json:"creator"`
|
|
|
|
|
}
|
2021-09-11 14:04:09 +08:00
|
|
|
|
|
|
|
|
// 账号个人信息
|
|
|
|
|
type AccountPersonVO struct {
|
|
|
|
|
Roles []AccountRoleVO `json:"roles"` // 角色信息
|
|
|
|
|
}
|