30 lines
789 B
Go
30 lines
789 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"`
|
|
}
|
|
|
|
type Value struct {
|
|
ID int `json:"id"`
|
|
Label string `json:"label"`
|
|
PropertyID int `json:"propertyId"`
|
|
Description string `json:"description"`
|
|
}
|