33 lines
901 B
Go
33 lines
901 B
Go
package vo
|
|
|
|
type AccountVo struct {
|
|
BaseVo
|
|
Username string `json:"username"`
|
|
Quota int64 `json:"quota"`
|
|
Download int64 `json:"download"`
|
|
Upload int64 `json:"upload"`
|
|
ExpireTime int64 `json:"expireTime"`
|
|
KickUtilTime int64 `json:"kickUtilTime"` // Offline remaining time
|
|
DeviceNo int64 `json:"deviceNo"` // Limit the number of devices
|
|
Role string `json:"role"`
|
|
Deleted int64 `json:"deleted"`
|
|
|
|
Online bool `json:"online"` // online status
|
|
Device int64 `json:"device"` // Number of online devices
|
|
|
|
LoginAt int64 `json:"loginAt"`
|
|
ConAt int64 `json:"conAt"`
|
|
Remark string `json:"remark"`
|
|
}
|
|
type AccountPageVo struct {
|
|
AccountVos []AccountVo `json:"records"`
|
|
Total int64 `json:"total"`
|
|
}
|
|
|
|
type AccountInfoVo struct {
|
|
Id int64 `json:"id"`
|
|
Username string `json:"username"`
|
|
Roles []string `json:"roles"`
|
|
}
|
|
|