menu.yaml 634 字节
version: v1
kind: Schema
metadata:
  name: menu
  description: 菜单
  attributes:
  - name: id
    description: 编号
    type: 
      primitive: int64
  - name: parentId
    description: 父级id
    type: 
      primitive: int64
  - name: name
    description: 菜单名称
    type: 
      primitive: string
  - name: code
    description: 菜单code
    type: 
      primitive: string
  - name: sort
    description: 排序
    type: 
      primitive: int
  - name: icon
    description: 图标地址
    type: 
      primitive: string
  - name: status
    description: 状态 1-启用 0-禁用
    type: 
      primitive: int