go-common/app/interface/main/activity/model/bws/user.go
2019-04-22 18:49:16 +08:00

31 lines
641 B
Go

package bws
// User .
type User struct {
User *UserInfo `json:"user"`
Achievements []*UserAchieveDetail `json:"achievements"`
Items map[string][]*UserPointDetail `json:"items"`
}
// UserInfo .
type UserInfo struct {
Mid int64 `json:"mid"`
Name string `json:"name"`
Key string `json:"key"`
Face string `json:"face"`
Hp int64 `json:"hp"`
}
// LotteryUser .
type LotteryUser struct {
Mid int64 `json:"mid"`
Name string `json:"name"`
Face string `json:"face"`
}
// AdminInfo .
type AdminInfo struct {
IsAdmin bool `json:"is_admin"`
Point interface{} `json:"point"`
}