19 lines
541 B
Go
19 lines
541 B
Go
![]() |
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{}
|
||
|
}
|