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

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;
import com.alibaba.excel.annotation.*;

@Schema(description = "管理后台 - 检验任务-检验结果 Response VO")
@Data
@ExcelIgnoreUnannotated
public class ZjTaskResultsRespVO {

    @Schema(description = "id", requiredMode = Schema.RequiredMode.REQUIRED, example = "8755")
    @ExcelProperty("id")
    private Long id;

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

    @Schema(description = "检验类型", example = "1")
    @ExcelProperty("检验类型")
    private String zjTypeName;

    @Schema(description = "名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "张三")
    @ExcelProperty("名称")
    private String name;

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

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

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

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

    @Schema(description = "单位", example = "1")
    @ExcelProperty("单位")
    private String unitName;

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

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

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

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

    @Schema(description = "检验时间")
    @ExcelProperty("检验时间")
    private LocalDateTime zjTime;

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

    @Schema(description = "创建时间", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("创建时间")
    private LocalDateTime createTime;

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

}