ai_scheduler/internal/tools/bbxt/entitys.go

40 lines
833 B
Go

package bbxt
type ResellerLoss struct {
ResellerId int32
ResellerName string
Total float64
ProductLoss map[int32]ProductLoss
}
type ProductLoss struct {
ProductId int32
ProductName string
Loss float64
}
type ReportRes struct {
ReportName string
Title string
Path string
Url string
Data [][]string
Desc string
}
type ProductSumDecline struct {
OfficialProductId int32
OfficialProductName string
ProductSumReseller map[int32]ProductSumReseller
Index int
}
type ProductSumReseller struct {
ResellerName string
CurrentNum int32 //今日成功数量
HistoryOneNum int32 //昨日成功数量
HistoryOneDiff int32 //同比昨日当前增减量
HistoryTwoNum int32 //上周成功数量
HistoryTwoDiff int32 //同比上周当前增减量
}