| | |
| | | |
| | | // ========== 客户 ========== |
| | | |
| | | @Schema(description = "客户 ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "10") |
| | | @NotNull(message = "客户不能为空") |
| | | @Schema(description = "客户 ID", example = "10") |
| | | private Long clientId; |
| | | |
| | | // ========== 物料 ========== |
| | |
| | | @NotNull(message = "检测结果不能为空") |
| | | private Integer checkResult; |
| | | |
| | | @Schema(description = "出货日期", requiredMode = Schema.RequiredMode.REQUIRED) |
| | | @NotNull(message = "出货日期不能为空") |
| | | @Schema(description = "出货日期") |
| | | private LocalDateTime outDate; |
| | | |
| | | @Schema(description = "检测日期", requiredMode = Schema.RequiredMode.REQUIRED) |
| | | @NotNull(message = "检测日期不能为空") |
| | | @Schema(description = "检测日期") |
| | | private LocalDateTime inspectDate; |
| | | |
| | | @Schema(description = "检测人员用户 ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "1") |
| | | @NotNull(message = "检测人员不能为空") |
| | | @Schema(description = "检测人员用户 ID", example = "1") |
| | | private Long inspectorUserId; |
| | | |
| | | @Schema(description = "备注", example = "备注") |