Value Services implementiert Teil 1
This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
package models
|
||||
|
||||
type ProductGroup struct {
|
||||
ID int `json:"id"`
|
||||
Label string `json:"label"`
|
||||
Description string `json:"description"`
|
||||
ParentGroupID int `json:"parentGroupId"`
|
||||
}
|
||||
|
||||
type Product struct {
|
||||
ID int `json:"id"`
|
||||
Label string `json:"label"`
|
||||
ExternalID string `json:"externalId"`
|
||||
Description string `json:"description"`
|
||||
ProductGroupID int `json:"productGroupId"`
|
||||
}
|
||||
|
||||
type Media struct {
|
||||
ID int `json:"id"`
|
||||
Label string `json:"label"`
|
||||
Description string `json:"description"`
|
||||
Media string `json:"media"`
|
||||
MediaType string `json:"mediaType"`
|
||||
ExternalID int `json:"externalId"`
|
||||
}
|
||||
@@ -0,0 +1,29 @@
|
||||
package models
|
||||
|
||||
type PropertyTypeGroup struct {
|
||||
ID int `json:"id"`
|
||||
Label string `json:"label"`
|
||||
Description string `json:"description"`
|
||||
ParentGroupID int `json:"parentGroupId"`
|
||||
}
|
||||
|
||||
type PropertyType struct {
|
||||
ID int `json:"id"`
|
||||
Label string `json:"label"`
|
||||
Description string `json:"description"`
|
||||
PropertyTypeGroupID int `json:"propertyTypeGroupId"`
|
||||
}
|
||||
|
||||
type Property struct {
|
||||
ID int `json:"id"`
|
||||
Label string `json:"label"`
|
||||
Description string `json:"description"`
|
||||
PropertyTypeID int `json:"propertyTypeId"`
|
||||
}
|
||||
|
||||
type Value struct {
|
||||
ID int `json:"id"`
|
||||
Label string `json:"label"`
|
||||
PropertyID int `json:"propertyId"`
|
||||
Description string `json:"description"`
|
||||
}
|
||||
Reference in New Issue
Block a user