repository: Add image_url field to property and property_type models
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user