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

    @Schema(description = "方法库ID", example = "9346")
    private Long methodConfigId;

    @Schema(description = "方法类别ID,字典表【T_DIC_BSN】方法类别：methodCategory，容量法、等离子发射光谱法、原子吸收分光光度等", example = "9102")
    private Long dictionaryBusinessId;

    @Schema(description = "方法类别KEY,字典表【T_DIC_BSN】方法类别：methodCategory，容量法、等离子发射光谱法、原子吸收分光光度等")
    private String dictionaryBusinessKey;

    @Schema(description = "方法名称", example = "李四")
    private String name;
    
    @Schema(description = "方法名称及类别")
    private String methodNameCategory;

    @Schema(description = "方法编号")
    private String methodCode;

    @Schema(description = "描述")
    private String description;

    @Schema(description = "数据集Key,T_DAT_COLT_FLD")
    private String dataCollectionKey;

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

    @Schema(description = "是否配料,1-是，0-否")
    private Integer isIngredients;

    @Schema(description = "任务单模板key")
    private String configReportTemplateKey;

    @Schema(description = "任务单数据类型,横向：horizontal，纵向：‌vertical‌", example = "2")
    private String reportDataType;

    @Schema(description = "任务单编号规则")
    private String codeRule;

    @Schema(description = "分配方式,【字典】【jy_assay_method_assign_way】随机分配，按顺序分配，自动分配")
    private String assignWay;

    @Schema(description = "展示平台,【字典】【jy_assay_method_assign_platform】pad、pc、pad&pc")
    private String assignPlatform;

    @Schema(description = "任务分配表单配置信息,是否添加质控样；是否过筛；是否预览打印；是否查询S值范围；是否需要流程审批；流程审批编码；退回样品审批流程编码：任务完成时的提交方式；指派单抬头key")
    private String assayTaskInfomation;

    @Schema(description = "分析部门ID", example = "31510")
    private Long assayDepartmentId;

    @Schema(description = "分析部门名称", example = "张三")
    private String assayDepartmentName;

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

}