package com.zt.plat.module.qms.business.config.controller.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 ConfigAssayMethodProjectAssessmentRespVO {

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

    @Schema(description = "主样配置ID", example = "30107")
    @ExcelProperty("主样配置ID")
    private Long configBaseSampleId;

    @Schema(description = "检测方法配置ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "18120")
    @ExcelProperty("检测方法配置ID")
    private Long configAssayMethodId;

    @Schema(description = "检测方法分析项目配置ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "10083")
    @ExcelProperty("检测方法分析项目配置ID")
    private Long configAssayMethodProjectId;

    @Schema(description = "检测项目ID,字典表【T_DIC_PRJ】", requiredMode = Schema.RequiredMode.REQUIRED, example = "31414")
    @ExcelProperty("检测项目ID,字典表【T_DIC_PRJ】")
    private Long dictionaryProjectId;

    @Schema(description = "级别")
    @ExcelProperty("级别")
    private Integer assessmentLevel;

    @Schema(description = "范围")
    @ExcelProperty("范围")
    private String assessmentRange;

    @Schema(description = "最小允差值")
    @ExcelProperty("最小允差值")
    private String minimumToleraanceValue;

    @Schema(description = "最大允差值", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("最大允差值")
    private String maximumToleraanceValue;

    @Schema(description = "最小值")
    @ExcelProperty("最小值")
    private String minimumValue;

    @Schema(description = "最大值", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("最大值")
    private String maximumValue;

    @Schema(description = "计算公式")
    @ExcelProperty("计算公式")
    private String formula;

    @Schema(description = "是否使用公式计算计算允差值,1-是，0-否")
    @ExcelProperty("是否使用公式计算计算允差值,1-是，0-否")
    private Integer isUseFormula;

    @Schema(description = "允差值调整参数")
    @ExcelProperty("允差值调整参数")
    private String toleraanceAdjustmentValue;

    @Schema(description = "判定类型,内控超差、重复性超差、再现性超差", example = "2")
    private String assessmentType;

    @Schema(description = "是否作废(取消)判定[超差时],1-是，0-否")
    private Integer isCancelAssessment;

    @Schema(description = "所属部门")
    @ExcelProperty("所属部门")
    private String systemDepartmentCode;

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

    @Schema(description = "备注")
    @ExcelProperty("备注")
    private String remark;

    @Schema(description = "版本", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("版本")
    private Integer version;

}