2 Commits

Author SHA1 Message Date
923a7de1ff Added exclude field 2025-09-15 22:15:22 +02:00
d4170f326a Set dimensions to string 2025-04-13 22:12:42 +00:00
2 changed files with 4 additions and 3 deletions

View File

@@ -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

View File

@@ -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"`
}