This commit is contained in:
wangjinlei
2024-03-22 16:11:25 +08:00
parent f9431e4c81
commit 4999d1e157
8 changed files with 99 additions and 4 deletions

View File

@@ -0,0 +1,9 @@
package com.peanut.modules.common.dao;
import com.github.yulichang.base.MPJBaseMapper;
import com.peanut.modules.common.entity.UserToCourseEntity;
import org.apache.ibatis.annotations.Mapper;
@Mapper
public interface UserToCourseDao extends MPJBaseMapper<UserToCourseEntity> {
}

View File

@@ -15,6 +15,8 @@ public class CourseCatalogueChapterEntity {
private Integer courseId;
private Integer catalogueId;
private String title;
private String imgUrl;

View File

@@ -15,6 +15,8 @@ public class CourseCatalogueEntity{
@TableId
private Integer id;
private Integer type;
private Integer courseId;
private String title;

View File

@@ -0,0 +1,33 @@
package com.peanut.modules.common.entity;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import java.util.Date;
@Data
@TableName("user_to_course")
public class UserToCourseEntity {
@TableId
private Integer id;
private Integer userId;
private Integer courseId;
private Integer catalogueId;
private Date createTime;
private Integer days;
private Date startTime;
private Date endTime;
@TableLogic
private Integer delFlag;
}