package cn.iocoder.yudao.module.mes.controller.admin.qc.ledger.vo; import cn.iocoder.yudao.framework.common.pojo.PageParam; import io.swagger.v3.oas.annotations.media.Schema; import lombok.Data; import lombok.EqualsAndHashCode; import org.springframework.format.annotation.DateTimeFormat; import java.time.LocalDateTime; import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND; @Schema(description = "管理后台 - MES 检测结果台账分页 Request VO") @Data @EqualsAndHashCode(callSuper = true) public class MesQcInspectionLedgerPageReqVO extends PageParam { @Schema(description = "分类(检验类型):1 来料检验 / 2 过程检验 / 3 出货检验 / 4 退货检验,不传为全部", example = "1") private Integer qcType; @Schema(description = "检测日期区间,传 [开始时间, 结束时间]", example = "[\"2026-01-01 00:00:00\", \"2026-12-31 23:59:59\"]") @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND) private LocalDateTime[] inspectDate; @Schema(description = "检验单编号(模糊匹配)", example = "IQC1787563511197") private String code; @Schema(description = "物料编号", example = "28") private Long itemId; @Schema(description = "批次号(模糊匹配;来料检验取供应商批次号,出货/退货检验取批次号)", example = "20260920a") private String batchNo; @Schema(description = "检测结果", example = "1") private Integer checkResult; @Schema(description = "检测人员编号", example = "1") private Long inspectorUserId; }