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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

}