first commit
This commit is contained in:
commit
e45a8b77e0
18
pkg/types/mercadona/categories.go
Normal file
18
pkg/types/mercadona/categories.go
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
package mercadona
|
||||||
|
|
||||||
|
type Category struct {
|
||||||
|
ID int `json:"id"`
|
||||||
|
Name string `json:"name"`
|
||||||
|
Order int `json:"order"`
|
||||||
|
Layout int `json:"layout"`
|
||||||
|
Published bool `json:"published"`
|
||||||
|
Categories []struct {
|
||||||
|
ID int `json:"id"`
|
||||||
|
Name string `json:"name"`
|
||||||
|
Order int `json:"order"`
|
||||||
|
Layout int `json:"layout"`
|
||||||
|
Published bool `json:"published"`
|
||||||
|
IsExtended bool `json:"is_extended"`
|
||||||
|
} `json:"categories"`
|
||||||
|
IsExtended bool `json:"is_extended"`
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user