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

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

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

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

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

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

    @Schema(description = "是否允许为空", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("是否允许为空")
    private Integer isNull;

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

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

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

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

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

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

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

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

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

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

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

}