Update entity/product_attribute.go
This commit is contained in:
@@ -2,10 +2,12 @@ package entity
|
|||||||
|
|
||||||
// ProductAttribute product attribute properties
|
// ProductAttribute product attribute properties
|
||||||
type ProductAttribute struct {
|
type ProductAttribute struct {
|
||||||
ID int `json:"id"`
|
ID int `json:"id"`
|
||||||
Name string `json:"name"`
|
Name string `json:"name"`
|
||||||
Slug string `json:"slug"`
|
Slug string `json:"slug"`
|
||||||
Type string `json:"type"`
|
Type string `json:"type"`
|
||||||
OrderBy string `json:"order_by"`
|
OrderBy string `json:"order_by"`
|
||||||
HasArchives bool `json:"has_archives"`
|
HasArchives bool `json:"has_archives"`
|
||||||
|
Visible bool `json:"visible,omitempty"`
|
||||||
|
Options []string `json:"options,omitempty"`
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user