This commit is contained in:
Daniel Goc
2026-04-10 09:13:13 +02:00
parent f1f5daa82b
commit 0a5ce5d9c2
9 changed files with 129 additions and 12 deletions

View File

@@ -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"
}