| | |
| | | |
| | | @Schema(description = "编号", example = "1024") |
| | | private Long id; |
| | | @Schema(description = "品种编号,由绑定托盘或吨袋带入并经后端校验") |
| | | private Long itemId; |
| | | |
| | | @Schema(description = "产线编号(页面展示为「加工单位」)", requiredMode = Schema.RequiredMode.REQUIRED, example = "1") |
| | | @NotNull(message = "加工单位不能为空") |
| | |
| | | @Schema(description = "绑定托盘编号列表(可选;绑定时批次直接进入生产中,托盘下袋码级联录入本批次;新增/补录/编辑均可传入,编辑时仅需传本次新增勾选的托盘)") |
| | | private List<Long> palletIds; |
| | | |
| | | @Schema(description = "绑定吨袋编号列表(仅计量单位为吨且无托盘的袋码;与绑定托盘互斥)") |
| | | private List<Long> tonBagIds; |
| | | |
| | | @Schema(description = "生产人员配置") |
| | | @Data |
| | | public static class Worker { |