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

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.time.LocalDateTime;

@Schema(description = "管理后台 - 检测报告明细 Response VO")
@Data
@ExcelIgnoreUnannotated
public class ReportDocumentDataRespVO {

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

    @Schema(description = "报告ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "13627")
    @ExcelProperty("报告ID")
    private Long mainId;

    @Schema(description = "原始数据ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "19655")
    @ExcelProperty("原始数据ID")
    private Long sourceId;

    @Schema(description = "数据内容")
    @ExcelProperty("数据内容")
    private String documentContent;

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

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

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

    //==================扩展字段===========
    @Schema(description = "样品名称")
    @ExcelProperty("样品名称")
    private String sampleName;

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

}