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

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;

import java.time.LocalDateTime;
import com.alibaba.excel.annotation.*;

@Schema(description = "管理后台 - 检测报告附件 Response VO")
@Data
@ExcelIgnoreUnannotated
public class ReportDocumentFileRespVO {

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

    @Schema(description = "报告id", example = "20899")
    @ExcelProperty("报告id")
    private Long mainId;

    @Schema(description = "文件表ID", example = "25498")
    @ExcelProperty("文件表ID")
    private Long fileId;

    @Schema(description = "文件名称", example = "李四")
    @ExcelProperty("文件名称")
    private String name;

    @Schema(description = "路径")
    @ExcelProperty("路径")
    private String path;

    @Schema(description = "文件地址", example = "https://www.iocoder.cn")
    @ExcelProperty("文件地址")
    private String url;

    @Schema(description = "文件类型", example = "1")
    @ExcelProperty("文件类型")
    private String type;

    @Schema(description = "版本")
    @ExcelProperty("版本")
    private Integer version;

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

    @Schema(description = "创建时间")
    @ExcelProperty("创建时间")
    private LocalDateTime createTime;

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

}