Refactor property type repository methods and update references in property types group repository
This commit is contained in:
@@ -3,7 +3,7 @@ package models
|
||||
type Product struct {
|
||||
Id int
|
||||
Name string
|
||||
description string
|
||||
image_url string
|
||||
Description string
|
||||
Image_Url string
|
||||
Properties []Property
|
||||
}
|
||||
|
||||
@@ -4,7 +4,7 @@ type Property struct {
|
||||
Id int
|
||||
Name string
|
||||
Description string
|
||||
image_url string
|
||||
Image_Url string
|
||||
Parent_Property *Property
|
||||
Values []Value
|
||||
}
|
||||
|
||||
@@ -4,6 +4,6 @@ type Property_Type struct {
|
||||
Id int
|
||||
Name string
|
||||
Description string
|
||||
image_url string
|
||||
Image_Url string
|
||||
Property Property
|
||||
}
|
||||
|
||||
@@ -4,6 +4,7 @@ type Property_Types_Group struct {
|
||||
Id int
|
||||
Name string
|
||||
Description string
|
||||
Image_Url string
|
||||
Property_Types []Property_Type
|
||||
Property_Types_Groups []Property_Types_Group
|
||||
}
|
||||
|
||||
@@ -3,5 +3,5 @@ package models
|
||||
type Value struct {
|
||||
Id int
|
||||
Value string
|
||||
image_url string
|
||||
Image_Url string
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user