Add types.DbExpense

This commit is contained in:
qowevisa 2024-11-16 11:42:43 +02:00
parent 893f2aa365
commit 137d343773

View File

@ -80,3 +80,12 @@ type Session struct {
ID string `json:"id"` ID string `json:"id"`
UserID uint `json:"user_id" example:"1"` UserID uint `json:"user_id" example:"1"`
} }
type DbExpense struct {
ID uint `json:"id" example:"1"`
CardID uint `json:"card_id" example:"1"`
TypeID uint `json:"type_id" example:"1"`
Value uint64 `json:"value" example:"20000"`
Comment string `json:"comment" example:"pizza"`
Date time.Time `json:"date" example:"29/11/2001 12:00"`
}