111 lines
1.7 KiB
Java
111 lines
1.7 KiB
Java
package com.guwan.backend.pojo.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 java.io.Serializable;
|
|
import java.math.BigDecimal;
|
|
import java.util.Date;
|
|
import lombok.Data;
|
|
|
|
/**
|
|
* 课程表
|
|
* @TableName course
|
|
*/
|
|
@TableName(value ="course")
|
|
@Data
|
|
public class Course implements Serializable {
|
|
/**
|
|
* 课程ID
|
|
*/
|
|
@TableId
|
|
private String id;
|
|
|
|
/**
|
|
* 课程标题
|
|
*/
|
|
private String title;
|
|
|
|
/**
|
|
* 课程描述
|
|
*/
|
|
private String description;
|
|
|
|
/**
|
|
* 分类编码
|
|
*/
|
|
private String categoryId;
|
|
|
|
private String levelId;
|
|
|
|
private String typeId;
|
|
|
|
/**
|
|
* 分类名称
|
|
*/
|
|
private String categoryName;
|
|
|
|
/**
|
|
* 授课教师ID
|
|
*/
|
|
private String teacherId;
|
|
|
|
/**
|
|
* 封面图片URL
|
|
*/
|
|
private String coverImg;
|
|
|
|
/**
|
|
* 价格
|
|
*/
|
|
private BigDecimal price;
|
|
|
|
/**
|
|
* 授课教师id
|
|
*/
|
|
private String coursrTeacherId;
|
|
|
|
/**
|
|
* 评分
|
|
*/
|
|
private BigDecimal rating;
|
|
|
|
/**
|
|
* 评分人数
|
|
*/
|
|
private Integer ratingCount;
|
|
|
|
/**
|
|
* 学习人数
|
|
*/
|
|
private Integer studentCount;
|
|
|
|
/**
|
|
* 视频数量
|
|
*/
|
|
private Integer videoCount;
|
|
|
|
/**
|
|
* 文档数量
|
|
*/
|
|
private Integer documentCount;
|
|
|
|
/**
|
|
* 总时长
|
|
*/
|
|
private Integer totalDuration;
|
|
|
|
/**
|
|
* 创建时间
|
|
*/
|
|
private Date createdAt;
|
|
|
|
/**
|
|
* 更新时间
|
|
*/
|
|
private Date updatedAt;
|
|
|
|
@TableField(exist = false)
|
|
private static final long serialVersionUID = 1L;
|
|
} |