package cn.iocoder.yudao.module.mes.controller.admin.zjtaskresults.vo;

import lombok.*;
import java.util.*;
import io.swagger.v3.oas.annotations.media.Schema;
import cn.iocoder.yudao.framework.common.pojo.PageParam;
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 = "管理后台 - 检验任务-检验结果分页 Request VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class ZjTaskResultsPageReqVO extends PageParam {

    @Schema(description = "检验类型", example = "2")
    private Long zjType;

    @Schema(description = "名称", example = "张三")
    private String name;

    @Schema(description = "备注", example = "你说的对")
    private String remark;

    @Schema(description = "作业方式")
    private String tool;

    @Schema(description = "标准值")
    private Double standardVal;

    @Schema(description = "单位")
    private String unit;

    @Schema(description = "上限值")
    private Double upperVal;

    @Schema(description = "下限值")
    private Double lowerVal;

    @Schema(description = "检验结果 0-待检测 1-检测通过 2-检测不通过")
    private Integer zjResult;

    @Schema(description = "图片路径")
    private String images;

    @Schema(description = "检验时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] zjTime;

    @Schema(description = "任务id", example = "5389")
    private Long taskId;

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;

    @Schema(description = "设备id", example = "23960")
    private Long deviceId;

}