feat: extend expense card info and allow edit/delete of expense

This commit is contained in:
juancwu 2026-02-07 14:46:27 -05:00
commit 99a002c607
No known key found for this signature in database
7 changed files with 516 additions and 24 deletions

View file

@ -21,6 +21,11 @@ type Expense struct {
UpdatedAt time.Time `db:"updated_at"`
}
type ExpenseWithTags struct {
Expense
Tags []*Tag
}
type ExpenseTag struct {
ExpenseID string `db:"expense_id"`
TagID string `db:"tag_id"`