Files
simply_cpq/buildtime/server/models/value.go
T

32 lines
878 B
Go

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"`
ProductID int `json:"productId"`
ProductGroupID int `json:"productGroupId"`
}
type Value struct {
ID int `json:"id"`
Label string `json:"label"`
PropertyID int `json:"propertyId"`
Description string `json:"description"`
}