正在显示
93 个修改的文件
包含
852 行增加
和
0 行删除
allied-creation-manufacture/project.yaml
0 → 100644
1 | +version: v1 | ||
2 | +kind: Schema | ||
3 | +metadata: | ||
4 | + name: device | ||
5 | + description: 设备 | ||
6 | + attributes: | ||
7 | + - ref: deviceId | ||
8 | + required: true | ||
9 | + - ref: deviceCode | ||
10 | + required: true | ||
11 | + - ref: deviceName | ||
12 | + required: true | ||
13 | + - ref: deviceModel | ||
14 | + required: true | ||
15 | + - ref: deviceType | ||
16 | + required: true | ||
17 | + - ref: brand | ||
18 | + required: true | ||
19 | + - ref: deviceStatus | ||
20 | + required: true | ||
21 | + - ref: riskLevel | ||
22 | + required: true | ||
23 | + - ref: createdAt | ||
24 | + required: true | ||
25 | + - ref: updatedAt | ||
26 | + required: true | ||
27 | + - ref: deletedAt | ||
28 | + required: true | ||
29 | + - name: workStation | ||
30 | + description: 所属位置 | ||
31 | + type: | ||
32 | + schema: workStation |
allied-creation-manufacture/schemas/org.yaml
0 → 100644
1 | +version: v1 | ||
2 | +kind: Schema | ||
3 | +metadata: | ||
4 | + name: product | ||
5 | + description: 产品信息 | ||
6 | + attributes: | ||
7 | + - ref: companyId | ||
8 | + required: true | ||
9 | + - ref: orgId | ||
10 | + required: true | ||
11 | + - ref: productId | ||
12 | + required: true | ||
13 | + - ref: productCode | ||
14 | + required: true | ||
15 | + - ref: productName | ||
16 | + required: true | ||
17 | + - ref: spec | ||
18 | + required: true | ||
19 | + - ref: productExt | ||
20 | + required: true | ||
21 | + - ref: createdAt | ||
22 | + required: true | ||
23 | + - ref: updatedAt | ||
24 | + required: true | ||
25 | + - ref: deletedAt | ||
26 | + required: true |
1 | +version: v1 | ||
2 | +kind: Schema | ||
3 | +metadata: | ||
4 | + name: productCalendar | ||
5 | + description: 工厂日历 | ||
6 | + attributes: | ||
7 | + - ref: productCalendarId | ||
8 | + required: true | ||
9 | + - ref: companyId | ||
10 | + required: true | ||
11 | + - ref: orgId | ||
12 | + required: true | ||
13 | + - ref: workStation | ||
14 | + required: true | ||
15 | + - ref: workOn | ||
16 | + required: true | ||
17 | + - ref: calendarSelected | ||
18 | + required: true | ||
19 | + - ref: inWorkAt | ||
20 | + required: true | ||
21 | + - ref: outWorkAt | ||
22 | + required: true | ||
23 | + - ref: breakTime | ||
24 | + required: true | ||
25 | + - ref: workTime | ||
26 | + required: true | ||
27 | + - ref: createdAt | ||
28 | + required: true | ||
29 | + - ref: updatedAt | ||
30 | + required: true | ||
31 | + - ref: deletedAt | ||
32 | + required: true |
1 | +version: v1 | ||
2 | +kind: Schema | ||
3 | +metadata: | ||
4 | + name: productGroup | ||
5 | + description: 生产班组 | ||
6 | + attributes: | ||
7 | + - ref: productGroupId | ||
8 | + required: true | ||
9 | + - ref: companyId | ||
10 | + required: true | ||
11 | + - ref: orgId | ||
12 | + required: true | ||
13 | + - ref: groupName | ||
14 | + required: true | ||
15 | + - ref: groupLeader | ||
16 | + required: true | ||
17 | + - ref: groupMembers | ||
18 | + required: true | ||
19 | + - ref: workOn | ||
20 | + required: true | ||
21 | + - ref: workStation | ||
22 | + required: true | ||
23 | + - ref: createdAt | ||
24 | + required: true | ||
25 | + - ref: updatedAt | ||
26 | + required: true | ||
27 | + - ref: deletedAt | ||
28 | + required: true |
1 | +version: v1 | ||
2 | +kind: Schema | ||
3 | +metadata: | ||
4 | + name: productJob | ||
5 | + description: 工位(车间-生产线-工段-工位) | ||
6 | + attributes: | ||
7 | + - ref: productJobId | ||
8 | + required: true | ||
9 | + - ref: companyId | ||
10 | + required: true | ||
11 | + - ref: orgId | ||
12 | + required: true | ||
13 | + - ref: jobName | ||
14 | + required: true | ||
15 | + - ref: createdAt | ||
16 | + required: true | ||
17 | + - ref: updatedAt | ||
18 | + required: true | ||
19 | + - ref: deletedAt | ||
20 | + required: true | ||
21 | + - name: workStation | ||
22 | + description: 工作位置 | ||
23 | + type: | ||
24 | + schema: workStation | ||
25 | + - name: relatedDevices | ||
26 | + description: 关联设备列表 | ||
27 | + type: | ||
28 | + array: int |
1 | +version: v1 | ||
2 | +kind: Schema | ||
3 | +metadata: | ||
4 | + name: unitConversion | ||
5 | + description: 单位换算 | ||
6 | + attributes: | ||
7 | + - ref: unitConversionId | ||
8 | + required: true | ||
9 | + - ref: companyId | ||
10 | + required: true | ||
11 | + - ref: orgId | ||
12 | + required: true | ||
13 | + - ref: workStation | ||
14 | + required: true | ||
15 | + - ref: material | ||
16 | + required: true | ||
17 | + - ref: fromUnitQuantity | ||
18 | + required: true | ||
19 | + - ref: toUnitQuantity | ||
20 | + required: true | ||
21 | + - ref: intelligentWeighingFlag | ||
22 | + required: true | ||
23 | + - ref: createdAt | ||
24 | + required: true | ||
25 | + - ref: updatedAt | ||
26 | + required: true | ||
27 | + - ref: deletedAt | ||
28 | + required: true |
1 | +version: v1 | ||
2 | +kind: Schema | ||
3 | +metadata: | ||
4 | + name: user | ||
5 | + description: 用户对象 | ||
6 | + attributes: | ||
7 | + - ref: userId | ||
8 | + required: true | ||
9 | + - ref: userName | ||
10 | + required: true | ||
11 | + - ref: employeeType | ||
12 | + required: true | ||
13 | + - ref: icCardNumber | ||
14 | + required: true | ||
15 | + - ref: avatar | ||
16 | + required: true | ||
17 | + - ref: phone | ||
18 | + required: true |
1 | +version: v1 | ||
2 | +kind: Schema | ||
3 | +metadata: | ||
4 | + name: workStation | ||
5 | + description: 工作位置(车间、生产线、工段组成),唯一标识工作位置 | ||
6 | + attributes: | ||
7 | + - ref: workStationId | ||
8 | + required: true | ||
9 | + - ref: workshopId | ||
10 | + required: true | ||
11 | + - ref: workshopName | ||
12 | + required: true | ||
13 | + - ref: lineId | ||
14 | + required: true | ||
15 | + - ref: lineName | ||
16 | + required: true | ||
17 | + - ref: sectionId | ||
18 | + required: true | ||
19 | + - ref: sectionName | ||
20 | + required: true |
1 | +version: v1 | ||
2 | +kind: Schema | ||
3 | +metadata: | ||
4 | + name: workshop | ||
5 | + description: 车间 | ||
6 | + attributes: | ||
7 | + - ref: companyId | ||
8 | + required: true | ||
9 | + - ref: orgId | ||
10 | + required: true | ||
11 | + - ref: workshopId | ||
12 | + required: true | ||
13 | + - ref: workshopName | ||
14 | + required: true | ||
15 | + - ref: principal | ||
16 | + required: true | ||
17 | + - name: productLines | ||
18 | + description: 生产线 | ||
19 | + type: | ||
20 | + array: productLine | ||
21 | + - ref: createdAt | ||
22 | + required: true | ||
23 | + - ref: updatedAt | ||
24 | + required: true | ||
25 | + - ref: deletedAt | ||
26 | + required: true |
-
请 注册 或 登录 后发表评论