25 lines
457 B
Go
25 lines
457 B
Go
package dto
|
|
|
|
type BadgeItem struct {
|
|
Id int64 `json:"id"`
|
|
Name string `json:"name"`
|
|
Icon string `json:"icon"`
|
|
CondType int `json:"cond_type"`
|
|
CondValue int `json:"cond_value"`
|
|
Status int `json:"status"`
|
|
}
|
|
|
|
type BadgeGetReq struct {
|
|
Id int64 `v:"required" json:"id"`
|
|
}
|
|
|
|
type BadgeGetRes struct {
|
|
Badge BadgeItem `json:"badge"`
|
|
}
|
|
|
|
type BadgeListReq struct{}
|
|
|
|
type BadgeListRes struct {
|
|
List []BadgeItem `json:"list"`
|
|
}
|