19 lines
561 B
Go
19 lines
561 B
Go
|
|
package models
|
||
|
|
|
||
|
|
type Category struct {
|
||
|
|
ID int `json:"id"`
|
||
|
|
Name string `json:"name"`
|
||
|
|
Slug string `json:"slug"`
|
||
|
|
TrendyolURL string `json:"trendyol_url"`
|
||
|
|
LcwURL string `json:"lcw_url"`
|
||
|
|
DisplayMode string `json:"display_mode"`
|
||
|
|
ImageURL interface{} `json:"image_url"`
|
||
|
|
CategoryIconPath interface{} `json:"category_icon_path"`
|
||
|
|
ProductLimit int `json:"product_limit"`
|
||
|
|
Children []Category
|
||
|
|
}
|
||
|
|
|
||
|
|
type BagistoResponse struct {
|
||
|
|
Data []Category
|
||
|
|
}
|