50 lines
1.4 KiB
Go
50 lines
1.4 KiB
Go
package dto
|
|
|
|
import "github.com/shopspring/decimal"
|
|
|
|
type RichStatDTO struct {
|
|
UserNo string `json:"UserNo"`
|
|
NickName string `json:"NickName"`
|
|
Avatar string `json:"Avatar"`
|
|
UserID string `json:"-"`
|
|
HomeSchema string `json:"HomeSchema"`
|
|
Cnt decimal.Decimal `json:"Cnt"`
|
|
Amount decimal.Decimal `json:"Amount"`
|
|
}
|
|
|
|
type PopularityStatDTO struct {
|
|
UserNo string `json:"UserNo"`
|
|
NickName string `json:"NickName"`
|
|
Avatar string `json:"Avatar"`
|
|
UserID string `json:"-"`
|
|
HomeSchema string `json:"HomeSchema"`
|
|
Cnt decimal.Decimal `json:"Cnt"`
|
|
Amount decimal.Decimal `json:"Amount"`
|
|
}
|
|
|
|
type GeneralStatDTO struct {
|
|
UserNo string `json:"UserNo"`
|
|
NickName string `json:"NickName"`
|
|
Avatar string `json:"Avatar"`
|
|
UserID string `json:"-"`
|
|
HomeSchema string `json:"HomeSchema"`
|
|
Amount decimal.Decimal `json:"Amount"`
|
|
RankNo int64 `json:"RankNo"`
|
|
}
|
|
|
|
type MySelfRank struct {
|
|
Day *GeneralStatDTO
|
|
Week *GeneralStatDTO
|
|
Month *GeneralStatDTO
|
|
Year *GeneralStatDTO
|
|
}
|
|
|
|
type CombineStatDTO struct {
|
|
Day []*GeneralStatDTO
|
|
Week []*GeneralStatDTO
|
|
Month []*GeneralStatDTO
|
|
Year []*GeneralStatDTO
|
|
MySelfRank *MySelfRank
|
|
RankCode string
|
|
}
|