package com.hotwj.platform.config.courseResource.domain.vo;

import cn.idev.excel.annotation.ExcelIgnoreUnannotated;
import cn.idev.excel.annotation.ExcelProperty;
import com.hotwj.platform.config.courseResource.domain.HotCourseResource;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;


/**
 * 课程-资源关联视图对象 hot_course_resource
 *
 * @author shihongwei
 * @date 2025-12-23
 */
@Data
@ExcelIgnoreUnannotated
@AutoMapper(target = HotCourseResource.class)
public class HotCourseResourceVo implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @ExcelProperty(value = "主键")
    private Long id;

    /**
     * 公司ID
     */
    @ExcelProperty(value = "公司ID")
    private Long companyId;

    /**
     * 课程ID
     */
    @ExcelProperty(value = "课程ID")
    private Long courseId;

    /**
     * 资源类型：1=视频 2=音频 3=题目
     */
    @ExcelProperty(value = "资源类型：1=视频 2=音频 3=题目")
    private Long resourceType;

    /**
     * 资源ID(根据类型关联不同表)
     */
    @ExcelProperty(value = "资源ID(根据类型关联不同表)")
    private Long resourceId;

    /**
     * 排序值
     */
    @ExcelProperty(value = "排序值")
    private Long sortOrder;


}
