package com.zt.plat.module.qms.business.bus.controller.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.time.LocalDateTime;
import com.alibaba.excel.annotation.*;

@Schema(description = "管理后台 - 检测任务分配业务 Response VO")
@Data
@ExcelIgnoreUnannotated
public class BusinessAssayTaskRespVO {

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

    @Schema(description = "指派编号", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("指派编号")
    private String taskNo;

    @Schema(description = "指派单名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "张三")
    @ExcelProperty("指派单名称")
    private String taskName;

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

    @Schema(description = "任务单模板ID", example = "4389")
    @ExcelProperty("任务单模板ID")
    private Long configReportTemplateId;

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

    @Schema(description = "任务单来源,分配-task_assign、领取-task_claim", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    @ExcelProperty("任务单来源,分配-task_assign、领取-task_claim")
    private String taskSourceType;

    @Schema(description = "任务单分配人", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("任务单分配人")
    private String taskAssignOperator;

    @Schema(description = "任务单分配时间", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("任务单分配时间")
    private LocalDateTime taskAssignTime;

    @Schema(description = "任务单分配状态,进行中-in_progress、已提交-submitted、作废-void", requiredMode = Schema.RequiredMode.REQUIRED, example = "2")
    @ExcelProperty("任务单分配状态,进行中-in_progress、已提交-submitted")
    private String taskAssignStatus;

    @Schema(description = "任务单分配提交时间")
    @ExcelProperty("任务单分配提交时间")
    private LocalDateTime taskAssignSubmitTime;

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

    @Schema(description = "分析时间")
    @ExcelProperty("分析时间")
    private LocalDateTime assayTime;

    @Schema(description = "分析提交时间")
    @ExcelProperty("分析提交时间")
    private LocalDateTime assaySubmitTime;

    @Schema(description = "任务单分析状态,未开始-not_start、已保存- saved、 已提交-submitted", example = "1")
    @ExcelProperty("任务单分析状态,未开始-not_start、已保存- saved、 已提交-submitted")
    private String taskAssayStatus;

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

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

    @Schema(description = "任务单完成时间")
    @ExcelProperty("任务单完成时间")
    private LocalDateTime taskFinishTime;

    @Schema(description = "标样业务ID", example = "27168")
    @ExcelProperty("标样业务ID")
    private Long standardSampleId;

    @Schema(description = "标样编号")
    @ExcelProperty("标样编号")
    private String standardSampleCode;

    @Schema(description = "标准样类型ID", example = "11282")
    @ExcelProperty("标准样类型ID")
    private Long standardSampleTypeId;

    @Schema(description = "质控样编号")
    @ExcelProperty("质控样编号")
    private String qualitySampleCode;

    @Schema(description = "质控样分析时间")
    @ExcelProperty("质控样分析时间")
    private LocalDateTime qualitySampleAssayTime;

    @Schema(description = "流程实例id", example = "19026")
    @ExcelProperty("流程实例id")
    private Long flowInstanceId;

    @Schema(description = "顶部字段数据集ID,T_DAT_COLT_FLD", example = "9742")
    @ExcelProperty("顶部字段数据集ID,T_DAT_COLT_FLD")
    private Long formDataCollectionId;

    @Schema(description = "顶部字段值")
    @ExcelProperty("顶部字段值")
    private String formValue;

    @Schema(description = "签名信息")
    @ExcelProperty("签名信息")
    private String documentSignature;

    @Schema(description = "完成状态,未开始-not_start、审核中-running、已退回-returned、已通过-approved", example = "2")
    @ExcelProperty("完成状态,未开始-not_start、审核中-running、已退回-returned、已通过-approved")
    private String finishStatus;

    @Schema(description = "流程状态,未开始-not_start、审核中-running、已退回-returned、已通过-approved", example = "1")
    @ExcelProperty("流程状态,未开始-not_start、审核中-running、已退回-returned、已通过-approved")
    private String flowStatus;

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

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

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

}