Add types.DbCurrency to types package

This commit is contained in:
qowevisa 2024-11-20 20:28:42 +02:00
parent f4cad689d8
commit 79eb50f375

View File

@ -113,6 +113,13 @@ type DbMetric struct {
Short string `json:"short" example:"kg"` Short string `json:"short" example:"kg"`
} }
type DbCurrency struct {
ID uint `json:"id" example:"1"`
Name string `json:"name" example:"Dollar"`
ISOName string `json:"iso_name" example:"USD"`
Symbol string `json:"symbol" example:"$"`
}
type Payment struct { type Payment struct {
ID uint `json:"id" example:"1"` ID uint `json:"id" example:"1"`
CardID uint `json:"card_id" example:"1"` CardID uint `json:"card_id" example:"1"`