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

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

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

    @Schema(description = "样品大类名称")
    @ExcelProperty("样品大类名称")
    private String baseSampleName;

    @Schema(description = "样品类型key")
    @ExcelProperty("样品类型key")
    private String sampleTypeKey;

    @Schema(description = "委托样品名称")
    @ExcelProperty("委托样品名称")
    private String entrustSampleName;

    @Schema(description = "委托样品编号")
    @ExcelProperty("委托样品编号")
    private String entrustSampleCode;

    @Schema(description = "排序")
    @ExcelProperty("排序")
    private Integer sort;

    //==================扩展字段===========

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

}