Explorar el Código

修改资源结构

NorthLan hace 6 años
padre
commit
fa9298703a

+ 4 - 0
zen-api/src/main/kotlin/com/gxzc/zen/api/sys/model/SysResource.kt

@@ -17,6 +17,10 @@ open class SysResource : BaseModel() {
      * 上级菜单ID(root:0)
      */
     var parentId: Long? = null
+    /**
+     * 关联结构树id
+     */
+    var treeId: Long? = null
     /**
      * 关联菜单id(可不关联)
      */

+ 32 - 0
zen-api/src/main/kotlin/com/gxzc/zen/api/sys/model/SysResourceTree.kt

@@ -0,0 +1,32 @@
+package com.gxzc.zen.api.sys.model
+
+import com.baomidou.mybatisplus.annotations.TableName
+import com.gxzc.zen.common.base.BaseModel
+
+/**
+ * <p>
+ * 资源结构树
+ * </p>
+ *
+ * @author NorthLan
+ * @since 2018-04-28
+ */
+@TableName("sys_resource_tree")
+open class SysResourceTree : BaseModel() {
+    /**
+     * 目录码
+     */
+    var code: String? = null
+    /**
+     * 标签
+     */
+    var label: String? = null
+    /**
+     * 父节点id
+     */
+    var parentId: Long? = null
+    /**
+     * 路径枚举
+     */
+    var path: String? = null
+}