feat:完善信息
This commit is contained in:
21
app/common/model/technology_equipment.go
Normal file
21
app/common/model/technology_equipment.go
Normal file
@ -0,0 +1,21 @@
|
||||
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{}
|
||||
}
|
Reference in New Issue
Block a user