feat:完善项目

This commit is contained in:
henry
2021-11-04 11:10:51 +08:00
parent 6ef32d16fc
commit 0234324e60
13 changed files with 374 additions and 40 deletions

View File

@ -4,8 +4,9 @@ package model
type ManageEquipment struct {
Model
ModelTenant
Code string `gorm:"column:code;type:varchar(35);default:null;comment:编号" json:"code"`
Title string `gorm:"column:title;type:varchar(100);default:null;comment:名称" json:"title"`
ParentID uint64 `gorm:"column:parent_id;type:int;default:0;comment:父级ID" json:"-"`
Code string `gorm:"column:code;type:varchar(35);default:null;comment:编号" json:"code"`
Title string `gorm:"column:title;type:varchar(100);default:null;comment:名称" json:"title"`
Image
Config string `gorm:"column:config;type:varchar(255);default:null;comment:配置" json:"config"`
Remark string `gorm:"column:remark;type:varchar(255);default:null;comment:备注" json:"remark"`