...
This commit is contained in:
@@ -86,3 +86,12 @@ type ProductFilters struct {
|
||||
}
|
||||
|
||||
type FeatVal = map[uint][]uint
|
||||
|
||||
type B2bFavorite struct {
|
||||
UserID uint `gorm:"column:user_id;not null;primaryKey" json:"user_id"`
|
||||
ProductID uint `gorm:"column:product_id;not null;primaryKey" json:"product_id"`
|
||||
}
|
||||
|
||||
func (*B2bFavorite) TableName() string {
|
||||
return "b2b_favorites"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user