删除海外读书模块
This commit is contained in:
@@ -1,9 +0,0 @@
|
||||
package com.peanut.modules.common.dao;
|
||||
|
||||
import com.github.yulichang.base.MPJBaseMapper;
|
||||
import com.peanut.modules.common.entity.BookAbroadComment;
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
|
||||
@Mapper
|
||||
public interface BookAbroadCommentDao extends MPJBaseMapper<BookAbroadComment> {
|
||||
}
|
||||
@@ -1,9 +0,0 @@
|
||||
package com.peanut.modules.common.dao;
|
||||
|
||||
import com.github.yulichang.base.MPJBaseMapper;
|
||||
import com.peanut.modules.common.entity.BookAbroadCommentLike;
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
|
||||
@Mapper
|
||||
public interface BookAbroadCommentLikeDao extends MPJBaseMapper<BookAbroadCommentLike> {
|
||||
}
|
||||
@@ -1,9 +0,0 @@
|
||||
package com.peanut.modules.common.dao;
|
||||
|
||||
import com.github.yulichang.base.MPJBaseMapper;
|
||||
import com.peanut.modules.common.entity.BookAbroadLable;
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
|
||||
@Mapper
|
||||
public interface BookAbroadLableDao extends MPJBaseMapper<BookAbroadLable> {
|
||||
}
|
||||
@@ -1,9 +0,0 @@
|
||||
package com.peanut.modules.common.dao;
|
||||
|
||||
import com.github.yulichang.base.MPJBaseMapper;
|
||||
import com.peanut.modules.common.entity.BookAbroadToLable;
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
|
||||
@Mapper
|
||||
public interface BookAbroadToLableDao extends MPJBaseMapper<BookAbroadToLable> {
|
||||
}
|
||||
@@ -1,41 +0,0 @@
|
||||
package com.peanut.modules.common.entity;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.TableField;
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.baomidou.mybatisplus.annotation.TableLogic;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import lombok.Data;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.util.Date;
|
||||
import java.util.List;
|
||||
|
||||
//海外书籍评论
|
||||
@Data
|
||||
@TableName("book_abroad_comment")
|
||||
public class BookAbroadComment implements Serializable {
|
||||
private static final long serialVersionUID = 1L;
|
||||
@TableId
|
||||
private Integer id;
|
||||
//父id
|
||||
private Integer pid;
|
||||
//书籍id
|
||||
private Integer bookId;
|
||||
//用户id
|
||||
private Integer userId;
|
||||
//评论内容
|
||||
private String content;
|
||||
//创建时间
|
||||
private Date createTime;
|
||||
@TableLogic
|
||||
private Integer delFlag;
|
||||
|
||||
@TableField(exist = false)
|
||||
private int isLike;
|
||||
@TableField(exist = false)
|
||||
private int likeCount;
|
||||
@TableField(exist = false)
|
||||
private MyUserEntity userEntity;
|
||||
@TableField(exist = false)
|
||||
private List<BookAbroadComment> children;
|
||||
}
|
||||
@@ -1,22 +0,0 @@
|
||||
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.io.Serializable;
|
||||
|
||||
//海外书籍评论点赞
|
||||
@Data
|
||||
@TableName("book_abroad_comment_like")
|
||||
public class BookAbroadCommentLike implements Serializable {
|
||||
private static final long serialVersionUID = 1L;
|
||||
@TableId
|
||||
private Integer id;
|
||||
//评论id
|
||||
private Integer commentId;
|
||||
//用户id
|
||||
private Integer userId;
|
||||
@TableLogic
|
||||
private Integer delFlag;
|
||||
}
|
||||
@@ -1,59 +0,0 @@
|
||||
package com.peanut.modules.common.entity;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.TableField;
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import com.baomidou.mybatisplus.annotation.TableLogic;
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import lombok.Data;
|
||||
import java.io.Serializable;
|
||||
import java.util.Date;
|
||||
import java.util.List;
|
||||
|
||||
//海外书籍分类
|
||||
@Data
|
||||
@TableName("book_abroad_lable")
|
||||
public class BookAbroadLable implements Serializable {
|
||||
private static final long serialVersionUID = 1L;
|
||||
@TableId
|
||||
private Integer id;
|
||||
|
||||
/**
|
||||
* 父id
|
||||
*/
|
||||
private Integer pid;
|
||||
|
||||
/**
|
||||
* 类型0分类标签 1营销标签
|
||||
*/
|
||||
private Integer type;
|
||||
|
||||
/**
|
||||
* 标题
|
||||
*/
|
||||
private String title;
|
||||
|
||||
/**
|
||||
* 标题
|
||||
*/
|
||||
private String etitle;
|
||||
|
||||
/**
|
||||
* 0否1是
|
||||
*/
|
||||
private Integer isLast;
|
||||
|
||||
/**
|
||||
* 权重
|
||||
*/
|
||||
private Integer sort;
|
||||
|
||||
/**
|
||||
* 创建时间
|
||||
*/
|
||||
private Date createTime;
|
||||
|
||||
@TableLogic
|
||||
private Integer delFlag;
|
||||
@TableField(exist = false)
|
||||
private List<BookAbroadLable> children;
|
||||
}
|
||||
@@ -1,40 +0,0 @@
|
||||
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.io.Serializable;
|
||||
import java.util.Date;
|
||||
|
||||
//海外书籍分类绑定表
|
||||
@Data
|
||||
@TableName("book_abroad_to_lable")
|
||||
public class BookAbroadToLable implements Serializable {
|
||||
private static final long serialVersionUID = 1L;
|
||||
@TableId
|
||||
private Integer id;
|
||||
|
||||
/**
|
||||
* 书籍id
|
||||
*/
|
||||
private Integer bookId;
|
||||
|
||||
/**
|
||||
* 标签id
|
||||
*/
|
||||
private Integer lableId;
|
||||
|
||||
/**
|
||||
* 权重
|
||||
*/
|
||||
private Integer sort;
|
||||
|
||||
/**
|
||||
* 创建时间
|
||||
*/
|
||||
private Date createTime;
|
||||
|
||||
@TableLogic
|
||||
private Integer delFlag;
|
||||
}
|
||||
Reference in New Issue
Block a user