Add types.DbCurrency to types package
This commit is contained in:
parent
f4cad689d8
commit
79eb50f375
|
@ -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"`
|
||||||
|
|
Loading…
Reference in New Issue
Block a user