Producte show
Producte werden nun angezeigt .
This commit is contained in:
16
app/models/ProductImage.go
Normal file
16
app/models/ProductImage.go
Normal 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
|
||||
}
|
||||
Reference in New Issue
Block a user