作者 yangfu

restruct

@@ -28,10 +28,6 @@ metadata: @@ -28,10 +28,6 @@ metadata:
28 description: 菜单类型 (模块module、子模块submodule、菜单menu、按钮button) 28 description: 菜单类型 (模块module、子模块submodule、菜单menu、按钮button)
29 type: 29 type:
30 primitive: string 30 primitive: string
31 - - name: status  
32 - description: 菜单状态 bit0:启用(1)/禁用(0) bit1:启用收藏(1)/禁用收藏(0)(默认禁用)  
33 - type:  
34 - primitive: int  
35 - name: access 31 - name: access
36 description: 关联权限 32 description: 关联权限
37 type: 33 type:
@@ -57,6 +53,6 @@ metadata: @@ -57,6 +53,6 @@ metadata:
57 type: 53 type:
58 primitive: string 54 primitive: string
59 - name: isPublish 55 - name: isPublish
60 - description: 是否是公开的菜单,[0:否],[1:是],默认否 56 + description: 状态是否是公开的菜单,[0:否],[1:是],默认否
61 type: 57 type:
62 primitive: int 58 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
@@ -8,15 +8,17 @@ metadata: @@ -8,15 +8,17 @@ metadata:
8 required: true 8 required: true
9 - ref: companyId 9 - ref: companyId
10 required: true 10 required: true
11 - - ref: organizationId  
12 - required: true 11 + - name: organization
  12 + description: 组织信息
  13 + type:
  14 + schema: organization
13 - ref: roleName 15 - ref: roleName
14 required: true 16 required: true
15 - name: menuAccess 17 - name: menuAccess
16 description: 菜单权限列表 18 description: 菜单权限列表
17 type: 19 type:
18 - array: int64  
19 - - name: description  
20 - description: 描述 20 + schema: menuAccess
  21 + - name: desc
  22 + description: 角色描述
21 type: 23 type:
22 primitive: string 24 primitive: string
@@ -19,11 +19,11 @@ metadata: @@ -19,11 +19,11 @@ metadata:
19 - name: organization 19 - name: organization
20 description: 组织机构 20 description: 组织机构
21 type: 21 type:
22 - primitive: int64 22 + schema: organization
23 - name: department 23 - name: department
24 description: 所属部门 24 description: 所属部门
25 type: 25 type:
26 - primitive: int64 26 + schema: organization
27 - name: organizationRoles 27 - name: organizationRoles
28 description: 组织权限列表 28 description: 组织权限列表
29 type: 29 type:
@@ -35,7 +35,7 @@ metadata: @@ -35,7 +35,7 @@ metadata:
35 - name: cooperationInfo 35 - name: cooperationInfo
36 description: 共创信息 (共创用户有效) 36 description: 共创信息 (共创用户有效)
37 type: 37 type:
38 - primitive: cooperationInfo 38 + schema: cooperationInfo
39 - name: enableStatus 39 - name: enableStatus
40 description: 启用状态(启用:1 禁用:2) 40 description: 启用状态(启用:1 禁用:2)
41 type: 41 type: