ch prefix

This commit is contained in:
2026-08-18 00:59:32 +05:00
parent dbb6f7bda9
commit 25e5068c8b
2446 changed files with 393356 additions and 455 deletions

View File

@@ -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"`