2022-11-28 16:38:30 +08:00
|
|
|
package models
|
|
|
|
|
|
|
|
|
|
type DashboardSum struct {
|
2023-01-03 21:42:59 +08:00
|
|
|
Customers int `json:"customers"`
|
|
|
|
|
Contracts int `json:"contracts"`
|
|
|
|
|
ContractAmount float64 `json:"contractAmount"`
|
|
|
|
|
Products int `json:"products"`
|
|
|
|
|
Date []string `json:"date"`
|
|
|
|
|
Amount []float64 `json:"amount"`
|
|
|
|
|
CustomerIndustry []*CustomerIndustry `json:"customerIndustry"`
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
type CustomerIndustry struct {
|
|
|
|
|
Name string `json:"name"`
|
|
|
|
|
Value int `json:"value"`
|
2022-11-28 16:38:30 +08:00
|
|
|
}
|