Added analytics by transactions

This commit is contained in:
2026-04-11 11:37:48 +03:00
parent b66be96033
commit 8e074db55f
8 changed files with 346 additions and 1 deletions
+13
View File
@@ -46,3 +46,16 @@ type TransactionListFilter struct {
Limit int
Offset int
}
type TransactionAnalyticsFilter struct {
FamilyID *int64
Type *string
DateFrom time.Time
DateTo time.Time
}
type TransactionAnalytics struct {
Expenses float64
Incomes float64
Total float64
}