home.go 788 B

123456789101112131415161718192021222324
  1. package home
  2. type MonthBudget struct {
  3. MonthBudget float64 `gorm:"column:monthBudget"`
  4. FeeType string `gorm:"column:feeType"`
  5. Center string `gorm:"column:center"`
  6. PastureId int `gorm:"column:pastureId"`
  7. DeptId int `gorm:"column:deptId"`
  8. }
  9. type ThisYearActual struct {
  10. SumPrice float64 `gorm:"column:sumPrice"`
  11. FeeType string `gorm:"column:feeType"`
  12. Center string `gorm:"column:center"`
  13. PastureId int `gorm:"column:pastureId"`
  14. DepartmentId int `gorm:"column:departmentId"`
  15. }
  16. type GetExpenseResp struct {
  17. Repair []*Overall `json:"repair"` //维修
  18. Water []*Overall `json:"water"` //水费
  19. Electricity []*Overall `json:"electricity"` //电费
  20. Ignition []*Overall `json:"ignition"` //燃动
  21. }