|
@@ -12,12 +12,10 @@ type Product struct {
|
|
|
SupplyId primitive.ObjectID `bson:"supplyId,omitempty" json:"supplyId"`
|
|
|
SenceId primitive.ObjectID `bson:"senceId,omitempty" json:"senceId"`
|
|
|
Name string `bson:"name,omitempty" json:"name"`
|
|
|
- Link string `bson:"link,omitempty" json:"link"`
|
|
|
Type string `bson:"type,omitempty" json:"type"`
|
|
|
Unit string `bson:"unit,omitempty" json:"unit"`
|
|
|
Price float64 `bson:"price,omitempty" json:"price"`
|
|
|
Cover string `bson:"cover,omitempty" json:"cover"`
|
|
|
- Color []string `bson:"color,omitempty" json:"color"`
|
|
|
Colors []*ColorObj `bson:"colors,omitempty" json:"colors"`
|
|
|
Size []int `bson:"size,omitempty" json:"size"`
|
|
|
Thumbnail []string `bson:"thumbnail,omitempty" json:"thumbnail"`
|