Update Auto Generate SKU
This commit is contained in:
@@ -4,7 +4,7 @@ import "time"
|
||||
|
||||
type Colour struct {
|
||||
ID uint `gorm:"primaryKey" json:"id"`
|
||||
Code string `json:"code"`
|
||||
Code string `gorm:"not null;unique" json:"code"`
|
||||
Name string `gorm:"not null" json:"name"`
|
||||
Hex string `json:"hex"` // Hexadecimal color code
|
||||
CreatedAt time.Time
|
||||
|
||||
Reference in New Issue
Block a user