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 ConfigAssayMethodProjectRangeRespVO {

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

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

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

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

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

    @Schema(description = "范围类型,控制范围类型（0-不控制；1-只警告；2-只限制；3-警告+限制）", example = "2")
    @ExcelProperty("范围类型,控制范围类型（0-不控制；1-只警告；2-只限制；3-警告+限制）")
    private String rangeType;

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

    @Schema(description = "最小警告值")
    @ExcelProperty("最小警告值")
    private String minimumWarningValue;

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

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

    @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;

}