go-importer/models/category.go

19 lines
561 B
Go
Raw Permalink Normal View History

2022-08-12 08:59:03 +00:00
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
}