Producte show

Producte werden nun angezeigt .
This commit is contained in:
2023-11-14 20:27:23 +01:00
parent 8d81958da3
commit 54fdfe30a9
11 changed files with 458 additions and 29 deletions

View File

@@ -0,0 +1,16 @@
package models
import "time"
type ProductImage struct {
ID string `gorm:"size:36;not null;uniqueIndex;primary_key"`
Product Product
ProductID string `gorm:"size:36;index"`
Path string `gorm:"type:text"`
ExtraLarge string `gorm:"type:text"`
Large string `gorm:"type:text"`
Medium string `gorm:"type:text"`
Small string `gorm:"type:text"`
CreatedAt time.Time
UpdatedAt time.Time
}