Files
sundynix-radio-be/model/radio/response/user.go
T
2026-03-23 16:24:27 +08:00

25 lines
1.1 KiB
Go

package response
import "time"
// RadioUserItem 电台用户列表项
type RadioUserItem struct {
Id string `json:"id"`
Name string `json:"name"`
NickName string `json:"nickName"`
Account string `json:"account"`
Phone string `json:"phone"`
AvatarUrl string `json:"avatarUrl"`
Gender int `json:"gender"` // 0:未知 1:男 2:女
IsVip int `json:"isVip"` // 0:否 1:是
VipExpireAt *time.Time `json:"vipExpireAt"` // VIP过期时间
LastLoginAt *time.Time `json:"lastLoginAt"` // 最后登录时间
LastLoginIp string `json:"lastLoginIp"` // 最后登录IP
CreatedAt time.Time `json:"createdAt"` // 注册时间
SubscribeCount int64 `json:"subscribeCount"` // 订阅频道数
ListenCount int64 `json:"listenCount"` // 收听次数
FavoriteCount int64 `json:"favoriteCount"` // 收藏数
TotalSpent int64 `json:"totalSpent"` // 累计消费(分)
OrderCount int64 `json:"orderCount"` // 订单数
}