Add types.DbTransfer

This commit is contained in:
qowevisa 2024-11-16 20:31:25 +02:00
parent 66f83cf3aa
commit bf9628d1d7

View File

@ -89,3 +89,11 @@ type DbExpense struct {
Comment string `json:"comment" example:"pizza"`
Date time.Time `json:"date" example:"29/11/2001 12:00"`
}
type DbTransfer struct {
ID uint `json:"id" example:"1"`
FromCardID uint `json:"from_card_id" example:"1"`
ToCardID uint `json:"to_card_id" example:"1"`
Value uint64 `json:"value" example:"20000"`
Date time.Time `json:"date" example:"29/11/2001 12:00"`
}