This commit is contained in:
guwandyk committed 2026-08-04 12:50:20 +05:00
1 parent 4194cef934
commit 363127fe9e
3350 files changed
+1284220 -1

No files matched your search

+84
View File
@@ -0,0 +1,84 @@
package users
import "time"
type DataNewsDTO struct {
News []NewsDTO `json:"news"`
Count int `json:"count"`
}
type NewsDTO struct {
Id int `json:"id"`
Title Language `json:"title"`
Content Language `json:"content"`
Image string `json:"imagePath"`
DataRelease time.Time `json:"dateRelease"`
}
type Language struct {
En string `json:"en"`
Ru string `json:"ru"`
Tm string `json:"tm"`
}
type CategoryDTO struct {
Id int `json:"id"`
Name Language `json:"name"`
Image string `json:"imagePath"`
SubCategories []SubCategoryDTO `json:"subCategories"`
}
type SubCategoryDTO struct {
Id int `json:"id"`
CategoryId int `json:"categoryId"`
Name Language `json:"name"`
Content Language `json:"content"`
Count int `json:"count"`
}
type DataBannerDTO struct {
Banners []BannerDTO `json:"banners"`
Count int `json:"count"`
}
type BannerDTO struct {
Id int `json:"id"`
Title Language `json:"title"`
ContentTm string `json:"contentTm"`
ContentRu string `json:"contentRu"`
ContentEn string `json:"contentEn"`
Image string `json:"imagePath"`
CreatedAt time.Time `json:"createdAt"`
}
type DataStaticDTO struct {
Statics []StaticDTO `json:"statics"`
Count int `json:"count"`
}
type StaticDTO struct {
Id int `json:"id"`
Logo string `json:"logo"`
Title Language `json:"title"`
ContentTm string `json:"contentTm"`
ContentRu string `json:"contentRu"`
ContentEn string `json:"contentEn"`
CreatedAt time.Time `json:"createdAt"`
}
type CurrencyDTO struct {
Id int `json:"id"`
Title Language `json:"title"`
Content Language `json:"content"`
Path string `json:"path"`
CreatedAt time.Time `json:"createdAt"`
}
type SettingDTO struct {
UUID string `json:"UUID"`
LogoR string `json:"logoR"`
PhoneNumber string `json:"phoneNumber"`
FaxNumber string `json:"faxNumber"`
HelpNumber string `json:"helpNumber"`
CreatedAt time.Time `json:"createdAt"`
}