feat:完善信息
This commit is contained in:
@ -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
|
||||
}
|
||||
|
Reference in New Issue
Block a user