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

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

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

    @Schema(description = "质控类型_ID,字典表【T_DIC_BSN】质控类型：空白样、管理样、标准样、标样", requiredMode = Schema.RequiredMode.REQUIRED, example = "9549")
    @ExcelProperty("质控类型_ID,字典表【T_DIC_BSN】质控类型：空白样、管理样、标准样、标样")
    private Long dictionaryBusinessId;

    @Schema(description = "质控类型_Key,字典表【T_DIC_BSN】质控类型：空白样、管理样、标准样、标样")
    @ExcelProperty("质控类型_Key,字典表【T_DIC_BSN】质控类型：空白样、管理样、标准样、标样")
    private String dictionaryBusinessKey;

    @Schema(description = "编码规则", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("编码规则")
    private String codeRule;

    @Schema(description = "默认个数,1-是，0-否", requiredMode = Schema.RequiredMode.REQUIRED, example = "484")
    @ExcelProperty("默认个数,1-是，0-否")
    private Integer defaultCount;

    @Schema(description = "分配提交最小个数", requiredMode = Schema.RequiredMode.REQUIRED, example = "28377")
    @ExcelProperty("分配提交最小个数")
    private Integer taskMinimumCount;

    @Schema(description = "分析提交最小个数", requiredMode = Schema.RequiredMode.REQUIRED, example = "31499")
    @ExcelProperty("分析提交最小个数")
    private Integer assayMinimumCount;

    @Schema(description = "是否关联定值样,1-是，0-否", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("是否关联定值样,1-是，0-否")
    private Integer isCorrelation;

    @Schema(description = "映射检测信息配置")
    @ExcelProperty("映射检测信息配置")
    private String configInfomation;

    @Schema(description = "必要检测项目")
    @ExcelProperty("必要检测项目")
    private String mustProject;

    @Schema(description = "排序号")
    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;

}