feat:完善入驻信息管理
This commit is contained in:
18
app/common/model/technology_prodcut_visit.go
Normal file
18
app/common/model/technology_prodcut_visit.go
Normal file
@ -0,0 +1,18 @@
|
||||
package model
|
||||
|
||||
// TechnologyProductVisit 技术产品访问数据模型
|
||||
type TechnologyProductVisit struct {
|
||||
Model
|
||||
ProductID uint64 `gorm:"column:product_id;type:int(11);default:0;comment:科技产品ID" json:"product_id"`
|
||||
CompanyID uint64 `gorm:"column:company_id;type:int(11);default:0;comment:公司ID" json:"company_id"`
|
||||
ModelDeleted
|
||||
ModelAt
|
||||
}
|
||||
|
||||
func (m *TechnologyProductVisit) TableName() string {
|
||||
return "technology_product_visit"
|
||||
}
|
||||
|
||||
func NewTechnologyProductVisit() *TechnologyProductVisit {
|
||||
return &TechnologyProductVisit{}
|
||||
}
|
Reference in New Issue
Block a user