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

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

    @Schema(description = "样品主样ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "23293")
    @ExcelProperty("样品主样ID")
    private Long businessBaseSampleId;

    @Schema(description = "样品分样ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "15024")
    @ExcelProperty("样品分样ID")
    private Long businessSubParentSampleId;

    @Schema(description = "分样子样ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "20464")
    @ExcelProperty("分样子样ID")
    private Long businessSubSampleId;

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

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

    @Schema(description = "指派单ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "23566")
    @ExcelProperty("指派单ID")
    private Long businessAssayTaskId;

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

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

    @Schema(description = "检测项目", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("检测项目")
    private String assayProject;

    @Schema(description = "分析部门ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "16988")
    @ExcelProperty("分析部门ID")
    private Long assayDepartmentId;

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

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

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

    @Schema(description = "分配任务时间")
    @ExcelProperty("分配任务时间")
    private LocalDateTime assignTaskTime;

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

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

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

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

    @Schema(description = "上报时间")
    @ExcelProperty("上报时间")
    private LocalDateTime reportTime;

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

    @Schema(description = "样品流程节点KEY", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("样品流程节点KEY")
    private String sampleFlowNodeKey;

    @Schema(description = "样品流程节点时间", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("样品流程节点时间")
    private LocalDateTime sampleFlowNodeTime;

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

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

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

    @Schema(description = "乐观锁", requiredMode = Schema.RequiredMode.REQUIRED, example = "11435")
    @ExcelProperty("乐观锁")
    private Integer updateCount;

    @Schema(description = "所属部门", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("所属部门")
    private String systemDepartmentCode;

    @Schema(description = "创建时间", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("创建时间")
    private LocalDateTime createTime;

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

}