repository: Add image_url field to property and property_type models

This commit is contained in:
2026-09-01 20:46:41 +02:00
parent 60b056d430
commit 61c6c11142
8 changed files with 81 additions and 25 deletions
@@ -1,7 +1,9 @@
package models
type Product struct {
Id int
Name string
Properties []Property
Id int
Name string
description string
image_url string
Properties []Property
}
@@ -4,6 +4,7 @@ type Property struct {
Id int
Name string
Description string
image_url string
Parent_Property *Property
Values []Value
}
@@ -4,5 +4,6 @@ type Property_Type struct {
Id int
Name string
Description string
image_url string
Property Property
}
@@ -1,6 +1,7 @@
package models
type Value struct {
Id int
Value string
Id int
Value string
image_url string
}