role.yaml 496 字节
version: v1
kind: Schema
metadata:
  name: role
  description: 角色 (base)
  attributes:
    - ref: roleId
      required: true
    - ref: companyId
      required: true
    - ref: orgId
      required: true
    - ref: roleName
      required: true
    - ref: accessMenus
      required: true
    - ref: desc
      required: true
    - name: ext
      description: 扩展数据
      type:
        schema: ext
    - ref: createAt
      required: true
    - ref: updateAt
      required: true