mirror of
https://gitee.com/dromara/mayfly-go
synced 2025-11-02 23:40:24 +08:00
27 lines
556 B
Go
27 lines
556 B
Go
package vo
|
|
|
|
import (
|
|
"mayfly-go/pkg/model"
|
|
"time"
|
|
)
|
|
|
|
type AccountManageVO struct {
|
|
model.Model
|
|
Username *string `json:"username"`
|
|
Status int `json:"status"`
|
|
LastLoginTime *time.Time `json:"lastLoginTime"`
|
|
}
|
|
|
|
// 账号角色信息
|
|
type AccountRoleVO struct {
|
|
Name *string `json:"name"`
|
|
Status int `json:"status"`
|
|
CreateTime *time.Time `json:"createTime"`
|
|
Creator string `json:"creator"`
|
|
}
|
|
|
|
// 账号个人信息
|
|
type AccountPersonVO struct {
|
|
Roles []AccountRoleVO `json:"roles"` // 角色信息
|
|
}
|