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

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

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

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

    @Schema(description = "编码规则")
    private String codeRule;

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

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

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

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

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

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

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

}