feat:完善产品详情
This commit is contained in:
18
app/common/model/user_company_collect.go
Normal file
18
app/common/model/user_company_collect.go
Normal file
@ -0,0 +1,18 @@
|
||||
package model
|
||||
|
||||
// TechnologyProductCollect 产品收藏数据模型
|
||||
type TechnologyProductCollect struct {
|
||||
Model
|
||||
UID uint64 `gorm:"column:uid;type:int;default:0;comment:用户uuid" json:"-"`
|
||||
ProductID uint64 `gorm:"column:product_id;type:int(11);default:0;comment:产品ID" json:"-"`
|
||||
ModelDeleted
|
||||
ModelAt
|
||||
}
|
||||
|
||||
func (m *TechnologyProductCollect) TableName() string {
|
||||
return "technology_product_collect"
|
||||
}
|
||||
|
||||
func NewTechnologyProductCollect() *TechnologyProductCollect {
|
||||
return &TechnologyProductCollect{}
|
||||
}
|
||||
Reference in New Issue
Block a user