chore: initial commit of HouseholdBudgetBook (backend, frontend, desktop)
This commit is contained in:
commit
4a5db3f1f9
167 files changed
+21732
No files matched your search
@@ -0,0 +1,23 @@
|
||||
package model
|
||||
|
||||
type CategoryRankingItem struct {
|
||||
CategoryID int64 `json:"category_id"`
|
||||
CategoryName string `json:"category_name"`
|
||||
CategoryIsActive bool `json:"category_is_active"`
|
||||
Amount int64 `json:"amount"`
|
||||
Percent float64 `json:"percent"`
|
||||
}
|
||||
|
||||
type TrendItem struct {
|
||||
Month string `json:"month"`
|
||||
Income int64 `json:"income"`
|
||||
Expense int64 `json:"expense"`
|
||||
Balance int64 `json:"balance"`
|
||||
}
|
||||
|
||||
type ReportOverview struct {
|
||||
Year int `json:"year"`
|
||||
Month int `json:"month"`
|
||||
CategoryRanking []CategoryRankingItem `json:"category_ranking"`
|
||||
Trend []TrendItem `json:"trend"`
|
||||
}
|
||||
Reference in new issue
Block a user