db fix and new update request

This commit is contained in:
samantha42
2026-03-20 23:02:33 +01:00
parent 6ad5df839b
commit 45f4cca485
8 changed files with 187 additions and 81 deletions

View File

@@ -62,6 +62,14 @@ type CreateBudgetRequest struct {
CreatedBy string `json:"created_by"`
}
type UpdateBudgetRequest struct {
ID int `json:"id"`
Amount float64 `json:"amount"`
Notes string `json:"notes"`
Version BudgetVersion `json:"version"`
ChangedBy string `json:"created_by"`
}
type Actual struct {
ID int `json:"id"`
FiscalYear int `json:"fiscal_year"`