feat:完善项目

This commit is contained in:
henry
2021-11-05 15:27:04 +08:00
parent 873ad8ea2c
commit d20ac3e09f
16 changed files with 465 additions and 13 deletions

View File

@ -0,0 +1,18 @@
package model
// SysBreakdown 故障信息数据模型
type SysBreakdown struct {
Model
Title string `gorm:"column:title;type:varchar(30);default:null;comment:标题" json:"title"`
Remark string `gorm:"column:remark;type:varchar(255);default:null;comment:备注 " json:"remark"`
ModelDeleted
ModelAt
}
func (m *SysBreakdown) TableName() string {
return "sys_breakdown"
}
func NewSysBreakdown() *SysBreakdown {
return &SysBreakdown{}
}