roleDetail.yaml 535 字节
version: v1
kind: Schema
metadata:
  name: roleDetail
  description: 角色详细数据
  attributes:
    - ref: roleId
      required: true
    - ref: companyId
      required: true
    - ref: orgId
      required: true
    - ref: orgName
      required: true
    - ref: roleName
      required: true
    - ref: desc
      required: true
    - name: roleMenu
      description: 角色拥有的权限菜单
      type:
        array: roleMenu
    - name: roleUser
      description: 关联的用户
      type:
        array: roleUser