shutdownStatisticsDTO.go 615 B

1234567891011121314151617
  1. package dto
  2. type ShutdownStatisticsInfo struct {
  3. Date string `json:"date"` // 当前数据日期
  4. DayTotal ShutdownStatisticsDayItem `json:"dayTotal"` // 日总数
  5. UsTotal ShutdownStatisticsDayItem `json:"usTotal"` // 北美日总数
  6. AuTotal ShutdownStatisticsDayItem `json:"auTotal"` // 澳洲日总数
  7. }
  8. type ShutdownStatisticsDayItem struct {
  9. Count uint `json:"count"`
  10. Growth int `json:"growth"` // 增长量 增长(+)/下降(-)
  11. Weekly [7]uint `json:"weekly"` // 周数据
  12. MonthCount uint `json:"monthCount"`
  13. Year [12]uint `json:"year"` // 年数据
  14. }