18 lines
519 B
Go
18 lines
519 B
Go
package dto
|
|
|
|
import "quyun/v2/pkg/consts"
|
|
|
|
type OrderStatisticsRow struct {
|
|
Status consts.OrderStatus `json:"status"`
|
|
StatusDescription string `json:"status_description"`
|
|
|
|
Count int64 `json:"count"`
|
|
AmountPaidSum int64 `json:"amount_paid_sum"`
|
|
}
|
|
|
|
type OrderStatisticsResponse struct {
|
|
TotalCount int64 `json:"total_count"`
|
|
TotalAmountPaidSum int64 `json:"total_amount_paid_sum"`
|
|
ByStatus []*OrderStatisticsRow `json:"by_status"`
|
|
}
|