浏览代码

add two fields to sysmenu

huangrf 6 年之前
父节点
当前提交
61ae671664
共有 1 个文件被更改,包括 4 次插入0 次删除
  1. 4 0
      models/SysMenu_gen.go

+ 4 - 0
models/SysMenu_gen.go

@@ -25,6 +25,10 @@ type SysMenu struct {
 	Icon   string    `xorm:"'icon' varchar(50) notnull "json:"icon"`
 	//排序
 	OrderNum   int32    `xorm:"'order_num' notnull "json:"order_num"`
+	// hidden
+	Hidden bool `xorm:"'hidden' notnull "json:"hidden"`
+	// active menu
+	ActiveMenu string `xorm:"'active_menu' notnull "json:"active_menu"`
 	//域
 	Domain   string    `xorm:"'domain' varchar(50) notnull "json:"domain"`
 	//创建人