正在显示
26 个修改的文件
包含
255 行增加
和
5 行删除
| @@ -14,10 +14,12 @@ metadata: | @@ -14,10 +14,12 @@ metadata: | ||
| 14 | required: true | 14 | required: true |
| 15 | - ref: productName | 15 | - ref: productName |
| 16 | required: true | 16 | required: true |
| 17 | - - ref: spec | ||
| 18 | - required: true | ||
| 19 | - - ref: productExt | 17 | + - ref: productCategory |
| 20 | required: true | 18 | required: true |
| 19 | + - name: productSpec | ||
| 20 | + description: 产品规格 | ||
| 21 | + type: | ||
| 22 | + schema: unitQuantity | ||
| 21 | - ref: createdAt | 23 | - ref: createdAt |
| 22 | required: true | 24 | required: true |
| 23 | - ref: updatedAt | 25 | - ref: updatedAt |
| 1 | +version: v1 | ||
| 2 | +kind: Schema | ||
| 3 | +metadata: | ||
| 4 | + name: productAttendanceRecord | ||
| 5 | + description: 生产考勤记录 | ||
| 6 | + attributes: | ||
| 7 | + - ref: productAttendanceId | ||
| 8 | + required: true | ||
| 9 | + - ref: orgId | ||
| 10 | + required: true | ||
| 11 | + - ref: productId | ||
| 12 | + required: true | ||
| 13 | + - ref: attendanceType | ||
| 14 | + required: true | ||
| 15 | + - ref: productWorker | ||
| 16 | + required: true | ||
| 17 | + - ref: workStation | ||
| 18 | + required: true | ||
| 19 | + - ref: signIn | ||
| 20 | + required: true | ||
| 21 | + - ref: signOut | ||
| 22 | + required: true | ||
| 23 | + - ref: attendanceStatus | ||
| 24 | + required: true | ||
| 25 | + - ref: workTimeBefore | ||
| 26 | + required: true | ||
| 27 | + - ref: workTimeAfter | ||
| 28 | + required: true | ||
| 29 | + - ref: createdAt | ||
| 30 | + required: true | ||
| 31 | + - ref: updatedAt | ||
| 32 | + required: true | ||
| 33 | + - ref: deletedAt | ||
| 34 | + required: true |
| 1 | +version: v1 | ||
| 2 | +kind: Schema | ||
| 3 | +metadata: | ||
| 4 | + name: productPlan | ||
| 5 | + description: 生产计划 | ||
| 6 | + attributes: | ||
| 7 | + - ref: productPlanId | ||
| 8 | + required: true | ||
| 9 | + - ref: companyId | ||
| 10 | + required: true | ||
| 11 | + - ref: orgId | ||
| 12 | + required: true | ||
| 13 | + - ref: batchNumber | ||
| 14 | + required: true | ||
| 15 | + - ref: productDate | ||
| 16 | + required: true | ||
| 17 | + - name: workshop | ||
| 18 | + description: 车间 | ||
| 19 | + type: | ||
| 20 | + schema: workshop | ||
| 21 | + - ref: workOn | ||
| 22 | + required: true | ||
| 23 | + - ref: machine | ||
| 24 | + required: true | ||
| 25 | + - ref: planProductName | ||
| 26 | + required: true | ||
| 27 | + - ref: planDevoted | ||
| 28 | + required: true | ||
| 29 | + - ref: planStatus | ||
| 30 | + required: true | ||
| 31 | + - ref: workStation | ||
| 32 | + required: true | ||
| 33 | + - ref: remark | ||
| 34 | + required: true | ||
| 35 | + - ref: createdAt | ||
| 36 | + required: true | ||
| 37 | + - ref: updatedAt | ||
| 38 | + required: true | ||
| 39 | + - ref: deletedAt | ||
| 40 | + required: true |
| 1 | +version: v1 | ||
| 2 | +kind: Schema | ||
| 3 | +metadata: | ||
| 4 | + name: productRecord | ||
| 5 | + description: 生产记录 | ||
| 6 | + attributes: | ||
| 7 | + - ref: productRecordId | ||
| 8 | + required: true | ||
| 9 | + - ref: companyId | ||
| 10 | + required: true | ||
| 11 | + - ref: orgId | ||
| 12 | + required: true | ||
| 13 | + - ref: productRecordType | ||
| 14 | + required: true | ||
| 15 | + - ref: productWorker | ||
| 16 | + required: true | ||
| 17 | + - ref: workStation | ||
| 18 | + required: true | ||
| 19 | + - ref: createdAt | ||
| 20 | + required: true | ||
| 21 | + - ref: updatedAt | ||
| 22 | + required: true | ||
| 23 | + - ref: deletedAt | ||
| 24 | + required: true | ||
| 25 | + - name: productRecordInfo | ||
| 26 | + description: 生产记录信息 | ||
| 27 | + type: | ||
| 28 | + schema: productRecordInfo |
| 1 | +version: v1 | ||
| 2 | +kind: Schema | ||
| 3 | +metadata: | ||
| 4 | + name: productRecordInfo | ||
| 5 | + description: 生产记录信息 (物料、批次、产能(产能、领料、退料、二级品)) | ||
| 6 | + attributes: | ||
| 7 | + - ref: productWeigh | ||
| 8 | + required: true | ||
| 9 | + - name: material | ||
| 10 | + description: 物料信息 | ||
| 11 | + type: | ||
| 12 | + schema: unitConversion | ||
| 13 | + - name: productPlan | ||
| 14 | + description: 生产计划信息(批次) | ||
| 15 | + type: | ||
| 16 | + primitive: productPlan |
-
请 注册 或 登录 后发表评论