Compare commits
3 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 923a7de1ff | |||
| d4170f326a | |||
| bb357b4b57 |
@@ -1,9 +1,9 @@
|
||||
package entity
|
||||
|
||||
type ProductDimension struct {
|
||||
Length float64 `json:"length"`
|
||||
Width float64 `json:"width"`
|
||||
Height float64 `json:"height"`
|
||||
Length string `json:"length"`
|
||||
Width string `json:"width"`
|
||||
Height string `json:"height"`
|
||||
}
|
||||
|
||||
// Product product properties
|
||||
|
||||
@@ -2,10 +2,12 @@ package entity
|
||||
|
||||
// ProductAttribute product attribute properties
|
||||
type ProductAttribute struct {
|
||||
ID int `json:"id"`
|
||||
Name string `json:"name"`
|
||||
Slug string `json:"slug"`
|
||||
Type string `json:"type"`
|
||||
OrderBy string `json:"order_by"`
|
||||
HasArchives bool `json:"has_archives"`
|
||||
ID int `json:"id"`
|
||||
Name string `json:"name"`
|
||||
Slug string `json:"slug"`
|
||||
Type string `json:"type"`
|
||||
OrderBy string `json:"order_by"`
|
||||
HasArchives bool `json:"has_archives"`
|
||||
Visible bool `json:"visible,omitempty"`
|
||||
Options []string `json:"options,omitempty"`
|
||||
}
|
||||
|
||||
@@ -11,4 +11,5 @@ type ProductCategory struct {
|
||||
Image *ProductImage `json:"image,omitempty"`
|
||||
MenuOrder int `json:"menu_order"`
|
||||
Count int `json:"count"`
|
||||
Exclude *bool `json:"exclude,omitempty"`
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user