mirror of
				https://gitee.com/dromara/mayfly-go
				synced 2025-11-04 00:10:25 +08:00 
			
		
		
		
	
		
			
				
	
	
		
			28 lines
		
	
	
		
			596 B
		
	
	
	
		
			Go
		
	
	
	
	
	
			
		
		
	
	
			28 lines
		
	
	
		
			596 B
		
	
	
	
		
			Go
		
	
	
	
	
	
package vo
 | 
						|
 | 
						|
import (
 | 
						|
	"mayfly-go/pkg/model"
 | 
						|
	"time"
 | 
						|
)
 | 
						|
 | 
						|
type AccountManageVO struct {
 | 
						|
	model.Model
 | 
						|
	Name          string     `json:"name"`
 | 
						|
	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"` // 角色信息
 | 
						|
}
 |