package bo import "time" type AccountBo struct { Id int64 `json:"id"` Username string `json:"username"` Roles []string `json:"roles"` Deleted int64 `json:"deleted"` TokenVersion int64 `json:"tokenVersion"` } type AccountExport struct { Id int64 `json:"id"` Username string `json:"username"` Pass string `json:"pass"` ConPass string `json:"conPass"` Quota int64 `json:"quota"` Download int64 `json:"download"` Upload int64 `json:"upload"` ExpireTime int64 `json:"expireTime"` DeviceNo int64 `json:"deviceNo"` KickUtilTime int64 `json:"kickUtilTime"` Role string `json:"role"` Deleted int64 `json:"deleted"` CreateTime time.Time `json:"createTime"` UpdateTime time.Time `json:"updateTime"` LoginAt int64 `json:"loginAt"` ConAt int64 `json:"conAt"` Remark string `json:"remark"` } type PeerExport struct { Id int64 `json:"id,omitempty"` AuthId string `json:"authId,omitempty"` Name string `json:"name"` Remark string `json:"remark"` Secret string `json:"secret,omitempty"` QuotaBytes int64 `json:"quotaBytes"` DownloadBytes int64 `json:"downloadBytes,omitempty"` UploadBytes int64 `json:"uploadBytes,omitempty"` ExpiresAt int64 `json:"expiresAt"` MaxDevices int64 `json:"maxDevices"` Disabled int64 `json:"disabled"` BannedUntil int64 `json:"bannedUntil,omitempty"` LastConnectionAt int64 `json:"lastConnectionAt,omitempty"` }