|
|
@@ -5,7 +5,8 @@ import (
|
|
|
)
|
|
|
|
|
|
type Product struct {
|
|
|
- CodeUT10 string `gorm:"size:6;not null; unique; index; primaryKey" json:"code_ut10"`
|
|
|
+ CodeCarCaDe string `gorm:"size:11;not null; unique; index; primaryKey" json:"code_carcade"`
|
|
|
+ CodeUT10 string `gorm:"size:6;" json:"code_ut10"`
|
|
|
Name string `gorm:"size:100" json:"name"`
|
|
|
Manufacturer string `gorm:"size:50" json:"manufacturer"`
|
|
|
ArticleNumber string `gorm:"size:50" json:"article_number"`
|