Add Card and ShowValue to types.DbExpense

This commit is contained in:
qowevisa 2024-11-24 11:34:05 +02:00
parent d61d083ed6
commit e608e64cce

View File

@ -82,6 +82,9 @@ type DbExpense struct {
Value uint64 `json:"value" example:"20000"` Value uint64 `json:"value" example:"20000"`
Comment string `json:"comment" example:"pizza"` Comment string `json:"comment" example:"pizza"`
Date time.Time `json:"date" example:"29/11/2001 12:00"` Date time.Time `json:"date" example:"29/11/2001 12:00"`
// Purely UI things
Card DbCard `json:"card"`
ShowValue string `json:"show_value" example:"10.35$"`
} }
type DbTransfer struct { type DbTransfer struct {