feat: customer industry distribution
This commit is contained in:
@@ -1,10 +1,16 @@
|
||||
package models
|
||||
|
||||
type DashboardSum struct {
|
||||
Customers int `json:"customers"`
|
||||
Contracts int `json:"contracts"`
|
||||
ContractAmount float64 `json:"contractAmount"`
|
||||
Products int `json:"products"`
|
||||
Date []string `json:"date"`
|
||||
Amount []float64 `json:"amount"`
|
||||
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"`
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user