package cn.iocoder.yudao.module.knowledge.controller.responsevo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import cn.iocoder.yudao.framework.mybatis.core.dataobject.BaseDO;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

@Data
public class TCoursewarevos extends BaseDO {

    @Schema(description = "主键")
    @TableId(type = IdType.AUTO)
    private Long id;

    @Schema(description = "课程表主键", example = "1")
    private Integer courseId;

    @Schema(description = "课程名称", example = "数学课件")
    private String courseName;

    @Schema(description = "课程名称", example = "数学课件")
    private String name;

    @Schema(description = "课程分类", example = "dsds")
    private String dirName;

    @Schema(description = "编码 （用于在文件表中获取附件信息）", example = "a01")
    private String code;

    @Schema(description = "排序", example = "1")
    private Integer order;

    @Schema(description = "文件地址", example = "http://www.baidu.com")
    private String fileUrl;

    @Schema(description = "文件名称")
    private String fileName;

    @Schema(description = "文件大小 单位M")
    private Integer fileSize;
}
