作者 yangfu

restruct dsl

@@ -2,7 +2,7 @@ version: v1 @@ -2,7 +2,7 @@ version: v1
2 kind: Schema 2 kind: Schema
3 metadata: 3 metadata:
4 name: access 4 name: access
5 - description: 权限 (base) 5 + description: 权限 (base) (停用)
6 attributes: 6 attributes:
7 - name: accessId 7 - name: accessId
8 description: 权限Id 8 description: 权限Id
1 version: v1 1 version: v1
2 kind: Schema 2 kind: Schema
3 metadata: 3 metadata:
4 - name: credentialAuth (base) 4 + name: credentialAuth (base) (停用)
5 description: 凭证认证 5 description: 凭证认证
6 attributes: 6 attributes:
7 - name: credential 7 - name: credential
@@ -16,22 +16,14 @@ metadata: @@ -16,22 +16,14 @@ metadata:
16 description: 菜单名称 16 description: 菜单名称
17 type: 17 type:
18 primitive: string 18 primitive: string
19 - - name: module  
20 - description: 模块 (首页 INDEX、业务BISINESS、管理MANAGER、报表REPORT)  
21 - type:  
22 - primitive: string  
23 - name: code 19 - name: code
24 - description: 菜单编码 20 + description: 菜单编码 SYSTEM_USER_EDIT (权限编码)
25 type: 21 type:
26 primitive: string 22 primitive: string
27 - name: menuType 23 - name: menuType
28 - description: 菜单类型 (模块module、子模块submodule、菜单menu、按钮button) 24 + description: 菜单类型 (目录catalog、菜单menu、按钮button)
29 type: 25 type:
30 primitive: string 26 primitive: string
31 - - name: access  
32 - description: 关联权限  
33 - type:  
34 - schema: access  
35 - name: icon 27 - name: icon
36 description: 菜单图标 28 description: 菜单图标
37 type: 29 type:
@@ -44,8 +36,8 @@ metadata: @@ -44,8 +36,8 @@ metadata:
44 description: 菜单说明 36 description: 菜单说明
45 type: 37 type:
46 primitive: string 38 primitive: string
47 - - name: tag  
48 - description: 菜单标签 (web、app) 39 + - name: category
  40 + description: 菜单类别 (web:1、app:2)
49 type: 41 type:
50 primitive: string 42 primitive: string
51 - name: parentPath 43 - name: parentPath
@@ -53,6 +45,6 @@ metadata: @@ -53,6 +45,6 @@ metadata:
53 type: 45 type:
54 primitive: string 46 primitive: string
55 - name: isPublish 47 - name: isPublish
56 - description: 状态是否是公开的菜单,[0:否],[1:是],默认否 48 + description: 状态是否是公开的菜单,[0:隐藏],[1:显示],默认显示
57 type: 49 type:
58 primitive: int 50 primitive: int
1 -version: v1  
2 -kind: Schema  
3 -metadata:  
4 - name: menuAccess  
5 - description: 菜单权限  
6 - attributes:  
7 - - name: web  
8 - description: web菜单权限  
9 - type:  
10 - array: int64  
11 - - name: app  
12 - description: app菜单权限  
13 - type:  
14 - array: int64  
1 -version: v1  
2 -kind: Schema  
3 -metadata:  
4 - name: organizationRole  
5 - description: 组织权限  
6 - attributes:  
7 - - ref: organizationId  
8 - required: true  
9 - - name: roles  
10 - description: 角色列表  
11 - type:  
12 - array: int64  
@@ -17,7 +17,7 @@ metadata: @@ -17,7 +17,7 @@ metadata:
17 - name: menuAccess 17 - name: menuAccess
18 description: 菜单权限列表 18 description: 菜单权限列表
19 type: 19 type:
20 - schema: menuAccess 20 + array: int64
21 - name: desc 21 - name: desc
22 description: 角色描述 22 description: 角色描述
23 type: 23 type:
@@ -52,5 +52,3 @@ metadata: @@ -52,5 +52,3 @@ metadata:
52 required: true 52 required: true
53 - ref: updateAt 53 - ref: updateAt
54 required: true 54 required: true
55 - - ref: deleteAt  
56 - required: true  
@@ -2,7 +2,7 @@ version: v1 @@ -2,7 +2,7 @@ version: v1
2 kind: Schema 2 kind: Schema
3 metadata: 3 metadata:
4 name: usersInfo 4 name: usersInfo
5 - description: 用户信息 5 + description: 用户信息 (base)
6 attributes: 6 attributes:
7 - ref: usersName 7 - ref: usersName
8 required: true 8 required: true