Created
This commit is contained in:
14
entity/product_category.go
Normal file
14
entity/product_category.go
Normal file
@@ -0,0 +1,14 @@
|
||||
package entity
|
||||
|
||||
// ProductCategory product category properties
|
||||
type ProductCategory struct {
|
||||
ID int `json:"id"`
|
||||
Name string `json:"name"`
|
||||
Slug string `json:"slug"`
|
||||
Parent int `json:"parent"`
|
||||
Description string `json:"description"`
|
||||
Display string `json:"display"`
|
||||
Image *ProductImage `json:"image,omitempty"`
|
||||
MenuOrder int `json:"menu_order"`
|
||||
Count int `json:"count"`
|
||||
}
|
||||
Reference in New Issue
Block a user