22 lines
648 B
Go
22 lines
648 B
Go
package model
|
|
|
|
// TechnologyEquipment 技术设备管理信息
|
|
type TechnologyEquipment struct {
|
|
Model
|
|
ModelTenant
|
|
Local
|
|
Title string `gorm:"column:title;type:varchar(30);default:null;comment:名称" json:"title"`
|
|
Research string `gorm:"column:research;type:varchar(255);default:null;comment:研究信息" json:"research"`
|
|
Describe string `gorm:"column:describe;type:varchar(255);default:null;comment:描述" json:"describe"`
|
|
ModelDeleted
|
|
ModelAt
|
|
}
|
|
|
|
func (m *TechnologyEquipment) TableName() string {
|
|
return m.NewTableName("technology_equipment")
|
|
}
|
|
|
|
func NewTechnologyEquipment() *TechnologyEquipment {
|
|
return &TechnologyEquipment{}
|
|
}
|