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 BusinessAssayTaskDetailRespVO {

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

    @Schema(description = "指派单ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "21102")
    @ExcelProperty("指派单ID")
    private Long businessAssayTaskId;
    
    @Schema(description = "检测任务ID", example = "16505")
    private Long businessAssayTaskDataId;

    @Schema(description = "样品id", requiredMode = Schema.RequiredMode.REQUIRED, example = "9299")
    @ExcelProperty("样品id")
    private Long sampleId;

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

    @Schema(description = "样品名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "王五")
    @ExcelProperty("样品名称")
    private String sampleName;

    @Schema(description = "样品编号", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("样品编号")
    private String sampleCode;

    @Schema(description = "杯号")
    @ExcelProperty("杯号")
    private String cupNumber;

    @Schema(description = "数据来源类型,【字典】【jy_assay_task_data_source_type】正常，筛上，筛下", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    @ExcelProperty("数据来源类型,【字典】【jy_assay_task_data_source_type】正常，筛上，筛下")
    private String dataSourceType;

    @Schema(description = "排序号", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("排序号")
    private Integer sortNo;

    @Schema(description = "任务退回状态,【字典】【jy_assay_task_rollback_status】默认；审批中；已审批（已退回）；取消退回", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    @ExcelProperty("任务退回状态,【字典】【jy_assay_task_rollback_status】默认；审批中；已审批（已退回）；取消退回")
    private String rollbackStatus;

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

}