32 lines
1.0 KiB
Go
32 lines
1.0 KiB
Go
package dto
|
|
|
|
type WorkbenchQuery struct {
|
|
Sources []string `form:"sourceDbList"`
|
|
Period string `form:"period"`
|
|
Order string `form:"order"`
|
|
}
|
|
type WorkbenchCard struct {
|
|
Value *string `json:"value"`
|
|
CompareValue *string `json:"compareValue"`
|
|
ChangeRate *string `json:"changeRate"`
|
|
ChangeDiff *string `json:"changeDiff"`
|
|
CompareLabel string `json:"compareLabel"`
|
|
}
|
|
type WorkbenchSummary struct {
|
|
TodayRegister *WorkbenchCard `json:"todayRegister"`
|
|
TodayActive *WorkbenchCard `json:"todayActive"`
|
|
TodayPay *WorkbenchCard `json:"todayPay"`
|
|
MonthPay *WorkbenchCard `json:"monthPay"`
|
|
ActivePromote *WorkbenchCard `json:"activePromote"`
|
|
NewPromote *WorkbenchCard `json:"newPromote"`
|
|
Available bool `json:"available"`
|
|
}
|
|
type WorkbenchRankRow struct {
|
|
Rank int `json:"rank"`
|
|
SourceDB string `json:"sourceDb"`
|
|
SourceDBLabel string `json:"sourceDbLabel"`
|
|
PromoteID int64 `json:"promoteId"`
|
|
PromoteName string `json:"promoteName"`
|
|
Value string `json:"value"`
|
|
}
|