21 lines
712 B
Go
21 lines
712 B
Go
package dto
|
|
|
|
type BusinessPromoteQuery struct {
|
|
Page int `form:"pageNum"`
|
|
PageSize int `form:"pageSize"`
|
|
SourceDB string `form:"sourceDb"`
|
|
PlatformBusierID uint64 `form:"platformBusierId"`
|
|
}
|
|
type BusinessPromoteResponse struct {
|
|
PromoteID uint64 `json:"promoteId,string"`
|
|
PromoteName string `json:"promoteName"`
|
|
SourceDB string `json:"sourceDb"`
|
|
PlatformName string `json:"platformName"`
|
|
PlatformBusierID uint64 `json:"platformBusierId,string"`
|
|
}
|
|
type BusinessPromotePage struct {
|
|
Rows []*BusinessPromoteResponse `json:"rows"`
|
|
Total int64 `json:"total"`
|
|
Available bool `json:"available"`
|
|
}
|