package com.zt.plat.module.qms.business.config.controller.vo;

import lombok.*;
import java.util.*;
import io.swagger.v3.oas.annotations.media.Schema;
import com.zt.plat.framework.common.pojo.PageParam;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;

import static com.zt.plat.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - 检测方法分析项目区间分页 Request VO")
@Data
public class ConfigAssayMethodProjectRangePageReqVO extends PageParam {

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

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

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

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

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

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

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

    @Schema(description = "最大警告值")
    private String maximumWarningValue;

    @Schema(description = "最大限制值")
    private String maximumValue;

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

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

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

    @Schema(description = "版本")
    private Integer version;

}