package cn.iocoder.yudao.module.llm.controller.admin.learningresources.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 LearningResourcesRespVO {

    @Schema(description = "学习资源ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "8718")
    @ExcelProperty("学习资源ID")
    private Long id;

    @Schema(description = "资源类型，使用字典（llm_learning_resource）")
    @ExcelProperty("资源类型，使用字典（llm_learning_resource）")
    private Integer resourceCategory;

    @Schema(description = "资源标题")
    @ExcelProperty("资源标题")
    private String resourceTitle;

    @Schema(description = "资源简介")
    @ExcelProperty("资源简介")
    private String resourceIntro;

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

    @Schema(description = "文件URL地址，视频封面图", example = "https://www.iocoder.cn")
    @ExcelProperty("文件URL地址")
    private String fileUrl;

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

    @Schema(description = "文件名称，视频链接",example = "https://www.test.com/ll/l1.png")
    private String fileName;

    @Schema(description = "下载量",example = "0")
    @ExcelProperty("下载量")
    private Integer downCount;

}