ch prefix

This commit is contained in:
guwandyk committed 2026-08-18 00:59:32 +05:00
1 parent dbb6f7bda9
commit 25e5068c8b
2446 files changed
+393356 -455

No files matched your search

+10 -2
View File
@@ -3,8 +3,8 @@ package banner
import "time"
type DataBannerDTO struct {
Categories []GetBannerDTO `json:"banners"`
Count int `json:"count"`
Categories []BannerListItemDTO `json:"banners"`
Count int `json:"count"`
}
type Language struct {
@@ -13,6 +13,14 @@ type Language struct {
En string `json:"en"`
}
// BannerListItemDTO is the list payload — no content (loaded via GetOne).
type BannerListItemDTO struct {
Id int `json:"Id"`
Title Language `json:"title"`
Image string `json:"imagePath"`
CreatedAt time.Time `json:"createdAt"`
}
type GetBannerDTO struct {
Id int `json:"Id"`
Title Language `json:"title"`