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