Import Serverfunktionen angelegt
This commit is contained in:
@@ -0,0 +1,36 @@
|
||||
package models
|
||||
|
||||
type ImportPropertyTypeGroup struct {
|
||||
ID int `json:"id,omitempty"`
|
||||
Label string `json:"label"`
|
||||
Description string `json:"description"`
|
||||
SubGroups []ImportPropertyTypeGroup `json:"subGroups,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"`
|
||||
Description string `json:"description"`
|
||||
}
|
||||
|
||||
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"`
|
||||
Properties []ImportProperty `json:"properties,omitempty"`
|
||||
}
|
||||
Reference in New Issue
Block a user