overallIndexResp.go 528 B

12345678910111213141516
  1. package home
  2. type OverallIndexResp struct {
  3. Repair *Overall `json:"repair"` //维修
  4. Water *Overall `json:"water"` //水费
  5. Electricity *Overall `json:"electricity"` //电费
  6. Ignition *Overall `json:"ignition"` //燃动
  7. }
  8. type Overall struct {
  9. Budget float64 `json:"budget"` //预算
  10. Actual float64 `json:"actual"` //实际
  11. LastActual float64 `json:"lastActual"` //上年实际
  12. SingleCow float64 `json:"singleCow"` //单头牛
  13. Center string `gorm:"column:center"`
  14. }