小bug 修复
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
package com.peanut.modules.common.dao;
|
||||
|
||||
import com.github.yulichang.base.MPJBaseMapper;
|
||||
import com.peanut.modules.common.entity.UserCourseBuyEntity;
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
|
||||
@Mapper
|
||||
public interface UserCourseBuyDao extends MPJBaseMapper<UserCourseBuyEntity> {
|
||||
}
|
||||
@@ -0,0 +1,34 @@
|
||||
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_course_buy")
|
||||
public class UserCourseBuyEntity {
|
||||
|
||||
@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;
|
||||
|
||||
}
|
||||
@@ -18,18 +18,10 @@ public class UserToCourseEntity {
|
||||
|
||||
private Integer courseId;
|
||||
|
||||
private Integer catalogueId;
|
||||
|
||||
private Date createTime;
|
||||
|
||||
private Integer days;
|
||||
|
||||
private Date updateTime;
|
||||
|
||||
private Date startTime;
|
||||
|
||||
private Date endTime;
|
||||
|
||||
@TableLogic
|
||||
private Integer delFlag;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user