diff --git a/types/types.go b/types/types.go index 2dc9c92..4da3759 100644 --- a/types/types.go +++ b/types/types.go @@ -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"` +}