Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Product ¶
type Product struct { gorm.Model CompanyID uint `faker:"-"` Name string `gorm:"size:100;not null" faker:"name"` ShortDescription string `gorm:"size:100;not null" faker:"sentence"` LongDescription string `gorm:"size:1000" faker:"paragraph"` ProductDetails string `gorm:"size:1000" faker:"paragraph"` ImagePath string `gorm:"size:1000" faker:"-"` Cost float64 `gorm:"not null" faker:amount` Shippable bool `faker:"-"` FreeDelivery bool `faker:"-"` }
Click to show internal directories.
Click to hide internal directories.