Files
kra-new/internal/service/dto/activation.go
T

43 lines
1.5 KiB
Go

package dto
type ActivationQuery struct {
Page int `form:"pageNum"`
PageSize int `form:"pageSize"`
PlatformNames []string `form:"platformNames"`
Statuses []string `form:"statuses"`
PromoteAccount string `form:"promoteAccount"`
BusierAccount string `form:"busierAccount"`
}
type ActivationResponse struct {
ID uint64 `json:"id,string"`
PromoteAccount string `json:"promoteAccount"`
PlatformName string `json:"platformName"`
PlatformTitle string `json:"platformTitle"`
BusierAccount string `json:"busierAccount"`
ApplicantOA string `json:"applicantOa"`
BindAt *string `json:"bindAt"`
UnbindAt *string `json:"unbindAt"`
ReachAt *string `json:"reachAt"`
EndAt *string `json:"endAt"`
AccumAmount string `json:"accumAmount"`
Status string `json:"status"`
StatusText string `json:"statusText"`
}
type ActivationPage struct {
Rows []*ActivationResponse `json:"rows"`
Total int64 `json:"total"`
Available bool `json:"available"`
}
type ActivationSpendItem struct {
PlatformTitle string `json:"platformTitle"`
GameName string `json:"gameName"`
TotalAmount string `json:"totalAmount"`
}
type ActivationSpendDetail struct {
PromoteAccount string `json:"promoteAccount"`
BindAt *string `json:"bindAt"`
EndAt *string `json:"endAt"`
List []*ActivationSpendItem `json:"list"`
TotalAmount string `json:"totalAmount"`
}