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 ConfigAssayMethodProjectAssessmentPageReqVO extends PageParam {

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

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

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

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

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

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

    @Schema(description = "最大允差值")
    private String maximumToleraanceValue;

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

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

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

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

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

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

}