product.yaml 535 字节
version: v1
kind: Schema
metadata:
  name: product
  description: 产品信息
  attributes:
  - ref: companyId
    required: true
  - ref: orgId
    required: true
  - ref: productId
    required: true
  - ref: productCode
    required: true
  - ref: productName
    required: true
  - ref: productCategory
    required: true    
  - name: productSpec
    description: 产品规格
    type: 
      schema: unitQuantity
  - ref: createdAt
    required: true
  - ref: updatedAt
    required: true
  - ref: deletedAt
    required: true