package com.ruoyi.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.ruoyi.common.core.domain.GnhzBaseEntity;
import lombok.Data;

/**
 * @program: RuoYi-Vue-master
 * @description: 课程表
 * @author: niujie
 * @create: 2023-08-09 19:04
 **/
@Data
@TableName("course")
public class Course extends GnhzBaseEntity {
    //id
    @TableId(value = "id",type = IdType.ASSIGN_UUID)
    private String id;

    //课程编码
    @TableField("course_no")
    private String courseNo;

    //标题
    @TableField("course_title")
    private String courseTitle;

    //培训计划分类表id
    @TableField("training_plan_classification_id")
    private String trainingPlanClassificationId;

    //简介
    @TableField("categories_brief_introduction")
    private String categoriesBriefIntroduction;

    //作者
    @TableField("categories_author")
    private String categoriesAuthor;

    //主讲老师
    @TableField("categories_lecturer")
    private String categoriesLecturer;

    //重要内容
    @TableField("important_content")
    private String importantContent;

    //课件地址
    @TableField("courseware_url")
    private String coursewareUrl;

    //课件名称
    @TableField("courseware_name")
    private String coursewareName;

    //封面图片
    @TableField("cover_photo")
    private String coverPhoto;

    //备注
    @TableField("remark_info")
    private String remarkInfo;

    @TableField(exist = false)
    private String userName;
}
