ch prefix
This commit is contained in:
1 parent
dbb6f7bda9
commit
25e5068c8b
2446 files changed
+393356
-455
No files matched your search
@@ -3,8 +3,8 @@ package currency
|
||||
import "time"
|
||||
|
||||
type DataCurrencyDTO struct {
|
||||
Currencies []CurrencyDTO `json:"currencies"`
|
||||
Count int `json:"count"`
|
||||
Currencies []CurrencyListItemDTO `json:"currencies"`
|
||||
Count int `json:"count"`
|
||||
}
|
||||
|
||||
type Language struct {
|
||||
@@ -13,6 +13,14 @@ type Language struct {
|
||||
En string `json:"en"`
|
||||
}
|
||||
|
||||
// CurrencyListItemDTO is the list payload — no content (loaded via GetData).
|
||||
type CurrencyListItemDTO struct {
|
||||
Id int `json:"Id"`
|
||||
Title Language `json:"title"`
|
||||
Path string `json:"path"`
|
||||
CreatedAt time.Time `json:"createdAt"`
|
||||
}
|
||||
|
||||
type CurrencyDTO struct {
|
||||
Id int `json:"Id"`
|
||||
Title Language `json:"title"`
|
||||
|
||||
Reference in new issue
Block a user