ch prefix
This commit is contained in:
@@ -3,8 +3,8 @@ package static
|
||||
import "time"
|
||||
|
||||
type DataStaticDTO struct {
|
||||
Statics []StaticDTO `json:"statics"`
|
||||
Count int `json:"count"`
|
||||
Statics []StaticListItemDTO `json:"statics"`
|
||||
Count int `json:"count"`
|
||||
}
|
||||
|
||||
type Language struct {
|
||||
@@ -13,6 +13,14 @@ type Language struct {
|
||||
En string `json:"en"`
|
||||
}
|
||||
|
||||
// StaticListItemDTO is the list payload — no content (loaded via GetData).
|
||||
type StaticListItemDTO struct {
|
||||
Id int `json:"Id"`
|
||||
Logo string `json:"logo"`
|
||||
Title Language `json:"title"`
|
||||
CreatedAt time.Time `json:"createdAt"`
|
||||
}
|
||||
|
||||
type StaticDTO struct {
|
||||
Id int `json:"Id"`
|
||||
Logo string `json:"logo"`
|
||||
|
||||
Reference in New Issue
Block a user