feat:完善项目信息
This commit is contained in:
@ -3,10 +3,12 @@ package model
|
||||
// SysNavigation 自定义导航栏数据模型
|
||||
type SysNavigation struct {
|
||||
Model
|
||||
ModelTenant
|
||||
ParentID uint64 `gorm:"column:parent_id;type:int;default:0;comment:父级ID" json:"parent_id"`
|
||||
Title string `gorm:"column:title;type:varchar(20);default:'';comment:区域名称" json:"title"`
|
||||
Link string `gorm:"column:link;type:varchar(255);default:'';comment:访问地址" json:"link"`
|
||||
Sort int `gorm:"column:sort;type:tinyint(3);default:0;comment:排序,从大到小" json:"-"`
|
||||
IsTarget int `gorm:"column:is_target;type:tinyint(1);default:0;comment:是否新窗口打开(0:否,1:是)" json:"is_target"`
|
||||
Sort int `gorm:"column:sort;type:tinyint(3);default:0;comment:排序,从小到小" json:"-"`
|
||||
Status SysNavigationStatus `gorm:"column:status;type:tinyint(1);default:1;comment:状态" json:"-"`
|
||||
ModelDeleted
|
||||
ModelAt
|
||||
|
Reference in New Issue
Block a user