Value Services implementiert Teil 1

This commit is contained in:
2026-08-15 16:58:12 +02:00
parent 8c5ad6ceec
commit 58de339be8
7778 changed files with 868356 additions and 124 deletions
@@ -0,0 +1,7 @@
package models
type Language struct {
ID int `json:"id"`
Locale string `json:"locale"`
Language string `json:"language"`
}
@@ -0,0 +1,11 @@
package models
type Product struct {
ID int `json:"id"`
Label string `json:"label"`
ProductIdentifier string `json:"product_identifier"`
Properties []Property `json:"properties"`
Products []Product `json:"products"`
ProductStructureNodes []ProductStructureNode `json:"productStructureNodes"`
IsEqualPropertiesEqualValues bool `json:"isEqualPropertiesEqualValues"`
}
@@ -0,0 +1,8 @@
package models
type ProductStructureNode struct {
ID int `json:"id"`
Label string `json:"label"`
IsOneOfStructure bool `json:"isOneOfStructure"`
Products []Product `json:"products"`
}
@@ -0,0 +1,12 @@
package models
type Productgroup struct {
ID int `json:"id"`
Label string `json:"label"`
ParentProductGroupID int `json:"parentProductGroupID"`
IsVisible bool `json:"isVisible"`
Path string `json:"path"`
ChildProductGroups []Productgroup `json:"childProductGroups"`
PropertyTypes []PropertyType `json:"propertyTypes"`
Products []Product `json:"products"`
}
@@ -0,0 +1,8 @@
package models
type Property struct {
ID int `json:"id"`
Value string `json:"value"`
PropertyTypeId int `json:"propertyTypeID"`
IsTerminal bool `json:"isTerminal"`
}
@@ -0,0 +1,7 @@
package models
type Propertygroup struct {
ID int `json:"id"`
Label string `json:"label"`
Description string `json:"description"`
}
@@ -0,0 +1,10 @@
package models
type PropertyType struct {
ID int `json:"id"`
Label string `json:"label"`
ValueTypeID int `json:"valueTypeId"`
PropertyGroupID int `json:"propertyGroupId"`
ValueComplexityId string `json:"valueComplexityId"`
Value string `json:"value"`
}
@@ -0,0 +1,6 @@
package models
type ResponseError struct {
Message string `json:"message"`
Status int `json:"-"`
}
@@ -0,0 +1,8 @@
package models
type Translation struct {
ID int `json:"id"`
LanguageID int `json:"language_id"`
Original string `json:"original"`
Translated string `json:"translated"`
}
@@ -0,0 +1,7 @@
package models
type Valuecomplexity struct {
ID int `json:"id"`
Complexity string `json:"complexity"`
Valuedefinition string `json:"valuedefinition"`
}
@@ -0,0 +1,6 @@
package models
type Valuetype struct {
ID int `json:"id"`
Label string `json:"label"`
}