38 lines
1.3 KiB
Go
38 lines
1.3 KiB
Go
package models
|
|
|
|
type ImportPropertyTypeGroup struct {
|
|
ID int `json:"id,omitempty"`
|
|
Label string `json:"label"`
|
|
Description string `json:"description"`
|
|
PropertyTypeGroups []ImportPropertyTypeGroup `json:"propertyTypeGroups,omitempty"`
|
|
PropertyTypes []ImportPropertyType `json:"propertyTypes,omitempty"`
|
|
}
|
|
|
|
type ImportPropertyType struct {
|
|
ID int `json:"id,omitempty"`
|
|
Label string `json:"label"`
|
|
Description string `json:"description"`
|
|
}
|
|
|
|
type ImportProperty struct {
|
|
ID int `json:"id,omitempty"`
|
|
Label string `json:"label"`
|
|
Value string `json:"value"`
|
|
}
|
|
|
|
type ImportProductGroup struct {
|
|
ID int `json:"id,omitempty"`
|
|
Label string `json:"label"`
|
|
Description string `json:"description"`
|
|
SubGroups []ImportProductGroup `json:"subGroups,omitempty"`
|
|
Products []ImportProduct `json:"products,omitempty"`
|
|
}
|
|
|
|
type ImportProduct struct {
|
|
ID int `json:"id,omitempty"`
|
|
Label string `json:"label"`
|
|
Description string `json:"description"`
|
|
ProductGroupLabel string `json:"productGroupLabel,omitempty"`
|
|
Properties []ImportProperty `json:"properties,omitempty"`
|
|
}
|