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

import com.baomidou.mybatisplus.annotation.TableField;
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.*;

import static com.zt.plat.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - 检测报表数据业务 Response VO")
@Data
@ExcelIgnoreUnannotated
public class BusinessAssayReportDataRespVO {

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

    @Schema(description = "报表类型ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "15805")
    @ExcelProperty("报表类型ID")
    private Long configReportTypeId;

    @Schema(description = "报表配置ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "24960")
    @ExcelProperty("报表配置ID")
    private Long configSampleReportId;

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

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

    @Schema(description = "分析数据")
    @ExcelProperty("分析数据")
    private String assayData;
    
    @Schema(description = "是否已全部上报")
    private Integer isAllReported;
    
    @Schema(description = "已上报数据来源")
    private String reportedSource;

    @Schema(description = "流程code")
    @ExcelProperty("流程code")
    private String reportFlowCode;

    @Schema(description = "报告数据明细id", example = "6437")
    @ExcelProperty("报告数据明细id")
    private Long documentDataId;

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

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

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

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

    //=====自定义字段
    @Schema(description = "样品名称")
    @ExcelProperty("样品名称")
    private String sampleName;

    @Schema(description = "样品创建时间")
    @ExcelProperty("样品创建时间")
    private LocalDateTime baseSampleCreateTime;

}