作者 yangfu

restruct

... ... @@ -28,10 +28,6 @@ metadata:
description: 菜单类型 (模块module、子模块submodule、菜单menu、按钮button)
type:
primitive: string
- name: status
description: 菜单状态 bit0:启用(1)/禁用(0) bit1:启用收藏(1)/禁用收藏(0)(默认禁用)
type:
primitive: int
- name: access
description: 关联权限
type:
... ... @@ -57,6 +53,6 @@ metadata:
type:
primitive: string
- name: isPublish
description: 是否是公开的菜单,[0:否],[1:是],默认否
description: 状态是否是公开的菜单,[0:否],[1:是],默认否
type:
primitive: int
... ...
version: v1
kind: Schema
metadata:
name: menuAccess
description: 菜单权限
attributes:
- name: web
description: web菜单权限
type:
array: int64
- name: app
description: app菜单权限
type:
array: int64
... ...
... ... @@ -8,15 +8,17 @@ metadata:
required: true
- ref: companyId
required: true
- ref: organizationId
required: true
- name: organization
description: 组织信息
type:
schema: organization
- ref: roleName
required: true
- name: menuAccess
description: 菜单权限列表
type:
array: int64
- name: description
description: 描述
schema: menuAccess
- name: desc
description: 角色描述
type:
primitive: string
... ...
... ... @@ -19,11 +19,11 @@ metadata:
- name: organization
description: 组织机构
type:
primitive: int64
schema: organization
- name: department
description: 所属部门
type:
primitive: int64
schema: organization
- name: organizationRoles
description: 组织权限列表
type:
... ... @@ -35,7 +35,7 @@ metadata:
- name: cooperationInfo
description: 共创信息 (共创用户有效)
type:
primitive: cooperationInfo
schema: cooperationInfo
- name: enableStatus
description: 启用状态(启用:1 禁用:2)
type:
... ...