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

59 lines
1.9 KiB
Go

package dto
type ActivationPoolQuery struct {
Page int `form:"pageNum"`
PageSize int `form:"pageSize"`
Sources []string `form:"platformNames"`
Name string `form:"promoteAccount"`
ChannelType string `form:"channelType"`
Status string `form:"status"`
Target string `form:"target"`
Begin string `form:"begin"`
End string `form:"end"`
}
type ActivationPoolRow struct {
ID uint64 `json:"id,string"`
SourceDB string `json:"sourceDb"`
PlatformTitle string `json:"platformTitle"`
Name string `json:"name"`
ChannelType string `json:"channelType"`
Status string `json:"status"`
NoLoginDays *int64 `json:"noLoginDays"`
Rejected bool `json:"rejected"`
RejectReason string `json:"rejectReason"`
RejectedAt *string `json:"rejectedAt"`
}
type ActivationPoolPage struct {
Rows []*ActivationPoolRow `json:"rows"`
Total int64 `json:"total"`
Available bool `json:"available"`
}
type ActivationBindingOption struct {
ID uint64 `json:"id,string"`
SourceDB string `json:"sourceDb"`
Account string `json:"account"`
Level int `json:"level"`
}
type ActivationApplyRequest struct {
PoolID uint64 `json:"poolId,string"`
BusierID uint64 `json:"busierId,string"`
SourceDB string `json:"sourceDb"`
}
type ActivationChurnRow struct {
ID uint64 `json:"id,string"`
SourceDB string `json:"sourceDb"`
PlatformTitle string `json:"platformTitle"`
Name string `json:"name"`
From string `json:"from"`
To string `json:"to"`
Reason string `json:"reason"`
Operator string `json:"operator"`
At string `json:"at"`
ToPool bool `json:"toPool"`
}
type ActivationChurnPage struct {
Rows []*ActivationChurnRow `json:"rows"`
Total int64 `json:"total"`
Available bool `json:"available"`
}