| | |
| | | @NotNull(message = "产品物料不能为空") |
| | | private Long itemId; |
| | | |
| | | @Schema(description = "质检方案 ID", example = "5") |
| | | private Long templateId; |
| | | |
| | | // ========== 数量 ========== |
| | | |
| | | @Schema(description = "本次接收数量", requiredMode = Schema.RequiredMode.REQUIRED, example = "100") |
| | |
| | | @Schema(description = "备注", example = "备注") |
| | | private String remark; |
| | | |
| | | // ========== 报告表头与签字 ========== |
| | | |
| | | @Schema(description = "采样地点", example = "罐区") |
| | | private String samplingLocation; |
| | | |
| | | @Schema(description = "证书编号/合格证号", example = "V0028") |
| | | private String certificateNo; |
| | | |
| | | @Schema(description = "执行标准", example = "GB/T6027") |
| | | private String executeStandard; |
| | | |
| | | @Schema(description = "复核人用户编号", example = "1") |
| | | private Long auditUserId; |
| | | |
| | | @Schema(description = "审核人用户编号", example = "1") |
| | | private Long approveUserId; |
| | | |
| | | @AssertTrue(message = "合格品数量与不合格品数量之和必须等于本次接收数量") |
| | | @JsonIgnore |
| | | public boolean isQuantityValid() { |