feat:完善信息

This commit is contained in:
henry
2021-11-01 11:19:49 +08:00
parent 70ba3078b3
commit cf91d55ab2
34 changed files with 519 additions and 114 deletions

View File

@ -3,6 +3,9 @@ package model
// SysIndustry 行业领域数据模型
type SysIndustry struct {
Model
ParentID uint64 `gorm:"column:parent_id;type:int;default:0;comment:父级ID" json:"-"`
Code string `gorm:"column:code;type:varchar(30);default:null;comment:编号" json:"code"`
Name string `gorm:"column:name;type:varchar(30);default:null;comment:行业名称" json:"name"`
ModelDeleted
ModelAt
}