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

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

    @Schema(description = "设备编号", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("设备编号")
    private String deviceNo;

    @Schema(description = "荧光线名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "王五")
    @ExcelProperty("荧光线名称")
    private String lineName;

    @Schema(description = "荧光样品id", example = "13273")
    @ExcelProperty("荧光样品id")
    private String xRFSampleId;

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

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

    @Schema(description = "样品时间")
    @ExcelProperty("样品时间")
    private LocalDateTime sampleTime;

    @Schema(description = "样品开始时间")
    @ExcelProperty("样品开始时间")
    private LocalDateTime sampleStartTime;

    @Schema(description = "样品结束时间")
    @ExcelProperty("样品结束时间")
    private LocalDateTime sampleEndTime;

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

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

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

    @Schema(description = "分样子样ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "13189")
    @ExcelProperty("分样子样ID")
    private Long businessSubSampleId;
    
    @Schema(description = "检测任务ID", example = "16505")
    private Long businessAssayTaskDataId;
    
    @Schema(description = "检测任务ID", example = "940")
    private Long businessQCManagementDataId;

    @Schema(description = "检测数据", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("检测数据")
    private String assayData;

    @Schema(description = "是否为检查创建数据")
    @ExcelProperty("是否为检查创建数据")
    private Integer isCheckCreate;

    @Schema(description = "是否已匹配")
    @ExcelProperty("是否已匹配")
    private Integer isMatched;

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

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

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

    @Schema(description = "乐观锁", requiredMode = Schema.RequiredMode.REQUIRED, example = "4171")
    @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;

}