| | |
| | | |
| | | // ========== 生产关联 ========== |
| | | |
| | | @Schema(description = "生产工单 ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "10") |
| | | @NotNull(message = "生产工单不能为空") |
| | | @Schema(description = "生产工单 ID(非必填:未选择时不校验工单、不按工单推导物料)", example = "10") |
| | | private Long workOrderId; |
| | | |
| | | @Schema(description = "生产任务 ID", example = "20") |
| | | private Long taskId; |
| | | |
| | | @Schema(description = "工位 ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "30") |
| | | @NotNull(message = "工位不能为空") |
| | | @Schema(description = "工位 ID(非必填:未选择时不校验工位关联的工序)", example = "30") |
| | | private Long workstationId; |
| | | |
| | | @Schema(description = "工序 ID", example = "40") |