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

import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import cn.iocoder.yudao.framework.common.pojo.PageParam;


/**
 * 课件表查询
 *
 * @author admin
 * @since 1.0.0 2024-04-16
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Schema(description = "课件表查询")
public class TCoursewareRequest extends PageParam {
    @Schema(description = "主键")
    @TableId
    private Long id;

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

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

    @Schema(description = "课程说明", example = "dsds")
    private String desrc;

    @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;
}
