package com.zt.plat.module.qms.business.bus.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 BusinessQCManagementDataReqVO {

    @Schema(description = "样品编号")
    private String sampleCode;

    @Schema(description = "样品名称", example = "李四")
    private String sampleName;

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

    @Schema(description = "指派单ID", example = "12452")
    private Long businessAssayTaskId;

    @Schema(description = "定值样业务ID", example = "29446")
    private Long businessStandardSampleId;

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

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

    @Schema(description = "检测项目")
    private String assayProject;

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

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

    @Schema(description = "分析人")
    private String assayOperator;

    @Schema(description = "分析人ID", example = "6498")
    private Long assayOperatorId;

    @Schema(description = "分配任务时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] assignTaskTime;

    @Schema(description = "是否已分配任务")
    private Integer isAssignTasked;

    @Schema(description = "是否已上报")
    private Integer isReported;

    @Schema(description = "上报人")
    private String reporter;

    @Schema(description = "上报人ID", example = "17517")
    private Long reporterId;

    @Schema(description = "上报时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] reportTime;

    @Schema(description = "乐观锁", example = "16695")
    private Integer updateCount;

    @Schema(description = "所属部门")
    private String systemDepartmentCode;

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;

    @Schema(description = "备注")
    private String remark;

}