workshop.yaml 484 字节
version: v1
kind: Schema
metadata:
  name: workshop
  description: 车间
  attributes:
  - ref: companyId
    required: true
  - ref: orgId
    required: true
  - ref: workshopId
    required: true
  - ref: workshopName
    required: true
  - ref: principal
    required: true
  - name: productLines
    description: 生产线
    type: 
      array: productLine
  - ref: createdAt
    required: true
  - ref: updatedAt
    required: true 
  - ref: deletedAt
    required: true