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

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

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

    @Schema(description = "检测单位ID,UNT表", example = "8007")
    private Long unitId;

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

    @Schema(description = "是否允许为空")
    private Integer isNull;

    @Schema(description = "数据类型,【字典】【jy_sample_data_type】字符串，整数，小数,日期，时间", example = "2")
    private String dataType;

    @Schema(description = "小数位")
    private Integer decimalPosition;

    @Schema(description = "有效数字位")
    private Integer effectiveDigit;

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

    @Schema(description = "判定精度")
    private Integer assessmentAccuracy;

    @Schema(description = "是否默认启用,1-启用，0-不启用")
    private Integer isDefaultEnabled;

    @Schema(description = "方法检出下限值")
    private String minimumLimitValue;

    @Schema(description = "参数分组_ID")
    private Long dictionaryBusinessId;

    @Schema(description = "参数分组_Key")
    private String dictionaryBusinessKey;

    @Schema(description = "排序号")
    private Integer sortNo;

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

}