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

    @Schema(description = "样品主样ID", example = "23293")
    private Long businessBaseSampleId;

    @Schema(description = "样品分样ID", example = "15024")
    private Long businessSubParentSampleId;

    @Schema(description = "分样子样ID", example = "20464")
    private Long businessSubSampleId;

    @Schema(description = "分样子样判定ID", example = "14560")
    private Long businessSubSampleAssessmentId;

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

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

    @Schema(description = "任务类型,【字典】【jy_sample_task_type】常规、抽查...", example = "2")
    private String taskType;

    @Schema(description = "分析类型,【字典】【jy_sample_assay_type】单杯-single_cup、双杯-double_cup、平行-single_parallel...", example = "2")
    private String assayType;

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

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

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

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

    @Schema(description = "分析人ID", example = "27835")
    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 = "15920")
    private Long reporterId;

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

    @Schema(description = "样品流程配置ID", example = "10639")
    private Long configSampleFlowId;

    @Schema(description = "样品流程节点KEY")
    private String sampleFlowNodeKey;

    @Schema(description = "样品流程节点时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] sampleFlowNodeTime;

    @Schema(description = "复检次数", example = "7312")
    private Integer recheckCount;

    @Schema(description = "复测次数", example = "28081")
    private Integer retestCount;

    @Schema(description = "扩展信息")
    private String externalInfomation;

    @Schema(description = "乐观锁", example = "11435")
    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;

    //===================================扩展字段===============================================

    @Schema(description = "样品状态")
    private String sampleStatus;
	
	private Long configAssayMethodDictionaryBusinessId;
	
	private String configAssayMethodDictionaryBusinessKey;
	
	private String configAssayMethodDictionaryBusinessName;
}