123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100 |
- package com.futu.goose.course.pojo;
- 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(雪花ID)
- */
- @TableId
- private Long id;
- /**
- * 课程标题
- */
- private String title;
- /**
- * 课程副标题
- */
- private String subtitle;
- /**
- * 封面图URL
- */
- private String coverImage;
- /**
- * 分类ID
- */
- private Long categoryId;
- /**
- * 主讲教师ID
- */
- private Long teacherId;
- /**
- * 课程价格
- */
- private BigDecimal price;
- /**
- * 原价
- */
- private BigDecimal originalPrice;
- /**
- * 总课时数
- */
- private Integer duration;
- /**
- * 状态:0-未发布,1-已发布,2-已下架
- */
- private Integer status;
- /**
- * 课程详情
- */
- private String description;
- /**
- * 学习目标
- */
- private String learnGoals;
- /**
- * 学习要求
- */
- private String requirements;
- /**
- * 创建时间
- */
- private Date createTime;
- /**
- * 更新时间
- */
- private Date updateTime;
- /**
- * shop_id
- */
- private Long shopId;
- @TableField(exist = false)
- private static final long serialVersionUID = 1L;
- }
|