feat:完善信息

This commit is contained in:
henry
2021-10-25 11:34:40 +08:00
parent e753e99fd8
commit d4ab041711
5 changed files with 205 additions and 0 deletions

View 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{}
}