feat: 代码生成

This commit is contained in:
xiongxiaoyang 2022-05-11 21:13:02 +08:00
parent a6cf0a7010
commit d186a5b336
193 changed files with 6951 additions and 12 deletions

View File

@ -0,0 +1,18 @@
package io.github.xxyopen.novel.controller.admin;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
/**
* <p>
* 系统日志 控制器
* </p>
*
* @author xiongxiaoyang
* @date 2022/05/11
*/
@RestController
@RequestMapping("/sysLog")
public class SysLogController {
}

View File

@ -0,0 +1,18 @@
package io.github.xxyopen.novel.controller.admin;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
/**
* <p>
* 系统菜单 控制器
* </p>
*
* @author xiongxiaoyang
* @date 2022/05/11
*/
@RestController
@RequestMapping("/sysMenu")
public class SysMenuController {
}

View File

@ -0,0 +1,18 @@
package io.github.xxyopen.novel.controller.admin;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
/**
* <p>
* 角色 控制器
* </p>
*
* @author xiongxiaoyang
* @date 2022/05/11
*/
@RestController
@RequestMapping("/sysRole")
public class SysRoleController {
}

View File

@ -0,0 +1,18 @@
package io.github.xxyopen.novel.controller.admin;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
/**
* <p>
* 角色与菜单对应关系 控制器
* </p>
*
* @author xiongxiaoyang
* @date 2022/05/11
*/
@RestController
@RequestMapping("/sysRoleMenu")
public class SysRoleMenuController {
}

View File

@ -0,0 +1,18 @@
package io.github.xxyopen.novel.controller.admin;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
/**
* <p>
* 系统用户 控制器
* </p>
*
* @author xiongxiaoyang
* @date 2022/05/11
*/
@RestController
@RequestMapping("/sysUser")
public class SysUserController {
}

View File

@ -0,0 +1,18 @@
package io.github.xxyopen.novel.controller.admin;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
/**
* <p>
* 用户与角色对应关系 控制器
* </p>
*
* @author xiongxiaoyang
* @date 2022/05/11
*/
@RestController
@RequestMapping("/sysUserRole")
public class SysUserRoleController {
}

View File

@ -0,0 +1,18 @@
package io.github.xxyopen.novel.controller.author;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
/**
* <p>
* 作家邀请码 控制器
* </p>
*
* @author xiongxiaoyang
* @date 2022/05/11
*/
@RestController
@RequestMapping("/authorCode")
public class AuthorCodeController {
}

View File

@ -0,0 +1,18 @@
package io.github.xxyopen.novel.controller.author;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
/**
* <p>
* 稿费收入统计 控制器
* </p>
*
* @author xiongxiaoyang
* @date 2022/05/11
*/
@RestController
@RequestMapping("/authorIncome")
public class AuthorIncomeController {
}

View File

@ -0,0 +1,18 @@
package io.github.xxyopen.novel.controller.author;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
/**
* <p>
* 稿费收入明细统计 控制器
* </p>
*
* @author xiongxiaoyang
* @date 2022/05/11
*/
@RestController
@RequestMapping("/authorIncomeDetail")
public class AuthorIncomeDetailController {
}

View File

@ -0,0 +1,18 @@
package io.github.xxyopen.novel.controller.author;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
/**
* <p>
* 作者信息 控制器
* </p>
*
* @author xiongxiaoyang
* @date 2022/05/11
*/
@RestController
@RequestMapping("/authorInfo")
public class AuthorInfoController {
}

View File

@ -0,0 +1,18 @@
package io.github.xxyopen.novel.controller.front;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
/**
* <p>
* 小说类别 控制器
* </p>
*
* @author xiongxiaoyang
* @date 2022/05/11
*/
@RestController
@RequestMapping("/bookCategory")
public class BookCategoryController {
}

View File

@ -0,0 +1,18 @@
package io.github.xxyopen.novel.controller.front;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
/**
* <p>
* 小说章节 控制器
* </p>
*
* @author xiongxiaoyang
* @date 2022/05/11
*/
@RestController
@RequestMapping("/bookChapter")
public class BookChapterController {
}

View File

@ -0,0 +1,18 @@
package io.github.xxyopen.novel.controller.front;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
/**
* <p>
* 小说评论 控制器
* </p>
*
* @author xiongxiaoyang
* @date 2022/05/11
*/
@RestController
@RequestMapping("/bookComment")
public class BookCommentController {
}

View File

@ -0,0 +1,18 @@
package io.github.xxyopen.novel.controller.front;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
/**
* <p>
* 小说评论 控制器
* </p>
*
* @author xiongxiaoyang
* @date 2022/05/11
*/
@RestController
@RequestMapping("/bookCommentCopy1")
public class BookCommentCopy1Controller {
}

View File

@ -0,0 +1,18 @@
package io.github.xxyopen.novel.controller.front;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
/**
* <p>
* 小说评论回复 控制器
* </p>
*
* @author xiongxiaoyang
* @date 2022/05/11
*/
@RestController
@RequestMapping("/bookCommentReply")
public class BookCommentReplyController {
}

View File

@ -0,0 +1,18 @@
package io.github.xxyopen.novel.controller.front;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
/**
* <p>
* 小说内容 控制器
* </p>
*
* @author xiongxiaoyang
* @date 2022/05/11
*/
@RestController
@RequestMapping("/bookContent")
public class BookContentController {
}

View File

@ -0,0 +1,18 @@
package io.github.xxyopen.novel.controller.front;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
/**
* <p>
* 小说信息 控制器
* </p>
*
* @author xiongxiaoyang
* @date 2022/05/11
*/
@RestController
@RequestMapping("/bookInfo")
public class BookInfoController {
}

View File

@ -0,0 +1,18 @@
package io.github.xxyopen.novel.controller.front;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
/**
* <p>
* 小说推荐 控制器
* </p>
*
* @author xiongxiaoyang
* @date 2022/05/11
*/
@RestController
@RequestMapping("/homeBook")
public class HomeBookController {
}

View File

@ -0,0 +1,18 @@
package io.github.xxyopen.novel.controller.front;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
/**
* <p>
* 友情链接 控制器
* </p>
*
* @author xiongxiaoyang
* @date 2022/05/11
*/
@RestController
@RequestMapping("/homeFriendLink")
public class HomeFriendLinkController {
}

View File

@ -0,0 +1,18 @@
package io.github.xxyopen.novel.controller.front;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
/**
* <p>
* 新闻类别 控制器
* </p>
*
* @author xiongxiaoyang
* @date 2022/05/11
*/
@RestController
@RequestMapping("/newsCategory")
public class NewsCategoryController {
}

View File

@ -0,0 +1,18 @@
package io.github.xxyopen.novel.controller.front;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
/**
* <p>
* 新闻内容 控制器
* </p>
*
* @author xiongxiaoyang
* @date 2022/05/11
*/
@RestController
@RequestMapping("/newsContent")
public class NewsContentController {
}

View File

@ -0,0 +1,18 @@
package io.github.xxyopen.novel.controller.front;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
/**
* <p>
* 新闻信息 控制器
* </p>
*
* @author xiongxiaoyang
* @date 2022/05/11
*/
@RestController
@RequestMapping("/newsInfo")
public class NewsInfoController {
}

View File

@ -0,0 +1,18 @@
package io.github.xxyopen.novel.controller.front;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
/**
* <p>
* 支付宝支付 控制器
* </p>
*
* @author xiongxiaoyang
* @date 2022/05/11
*/
@RestController
@RequestMapping("/payAlipay")
public class PayAlipayController {
}

View File

@ -0,0 +1,18 @@
package io.github.xxyopen.novel.controller.front;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
/**
* <p>
* 微信支付 控制器
* </p>
*
* @author xiongxiaoyang
* @date 2022/05/11
*/
@RestController
@RequestMapping("/payWechat")
public class PayWechatController {
}

View File

@ -0,0 +1,18 @@
package io.github.xxyopen.novel.controller.front;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
/**
* <p>
* 用户书架 控制器
* </p>
*
* @author xiongxiaoyang
* @date 2022/05/11
*/
@RestController
@RequestMapping("/userBookshelf")
public class UserBookshelfController {
}

View File

@ -0,0 +1,18 @@
package io.github.xxyopen.novel.controller.front;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
/**
* <p>
* 用户评论 控制器
* </p>
*
* @author xiongxiaoyang
* @date 2022/05/11
*/
@RestController
@RequestMapping("/userComment")
public class UserCommentController {
}

View File

@ -0,0 +1,18 @@
package io.github.xxyopen.novel.controller.front;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
/**
* <p>
* 用户评论回复 控制器
* </p>
*
* @author xiongxiaoyang
* @date 2022/05/11
*/
@RestController
@RequestMapping("/userCommentReply")
public class UserCommentReplyController {
}

View File

@ -0,0 +1,18 @@
package io.github.xxyopen.novel.controller.front;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
/**
* <p>
* 用户消费记录 控制器
* </p>
*
* @author xiongxiaoyang
* @date 2022/05/11
*/
@RestController
@RequestMapping("/userConsumeLog")
public class UserConsumeLogController {
}

View File

@ -0,0 +1,18 @@
package io.github.xxyopen.novel.controller.front;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
/**
* <p>
* 用户反馈 控制器
* </p>
*
* @author xiongxiaoyang
* @date 2022/05/11
*/
@RestController
@RequestMapping("/userFeedback")
public class UserFeedbackController {
}

View File

@ -0,0 +1,18 @@
package io.github.xxyopen.novel.controller.front;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
/**
* <p>
* 用户信息 控制器
* </p>
*
* @author xiongxiaoyang
* @date 2022/05/11
*/
@RestController
@RequestMapping("/userInfo")
public class UserInfoController {
}

View File

@ -0,0 +1,18 @@
package io.github.xxyopen.novel.controller.front;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
/**
* <p>
* 用户充值记录 控制器
* </p>
*
* @author xiongxiaoyang
* @date 2022/05/11
*/
@RestController
@RequestMapping("/userPayLog")
public class UserPayLogController {
}

View File

@ -0,0 +1,18 @@
package io.github.xxyopen.novel.controller.front;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
/**
* <p>
* 用户阅读历史 控制器
* </p>
*
* @author xiongxiaoyang
* @date 2022/05/11
*/
@RestController
@RequestMapping("/userReadHistory")
public class UserReadHistoryController {
}

View File

@ -0,0 +1,113 @@
package io.github.xxyopen.novel.dao.entity;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;
/**
* <p>
* 作家邀请码
* </p>
*
* @author xiongxiaoyang
* @date 2022/05/11
*/
@TableName("author_code")
public class AuthorCode implements Serializable {
private static final long serialVersionUID = 1L;
/**
* 主键
*/
@TableId(value = "id", type = IdType.AUTO)
private Long id;
/**
* 邀请码
*/
private String inviteCode;
/**
* 有效时间
*/
private LocalDateTime validityTime;
/**
* 是否使用过;0-未使用 1-使用过
*/
private Integer isUsed;
/**
* 创建时间
*/
private LocalDateTime createTime;
/**
* 更新时间
*/
private LocalDateTime updateTime;
public Long getId() {
return id;
}
public void setId(Long id) {
this.id = id;
}
public String getInviteCode() {
return inviteCode;
}
public void setInviteCode(String inviteCode) {
this.inviteCode = inviteCode;
}
public LocalDateTime getValidityTime() {
return validityTime;
}
public void setValidityTime(LocalDateTime validityTime) {
this.validityTime = validityTime;
}
public Integer getIsUsed() {
return isUsed;
}
public void setIsUsed(Integer isUsed) {
this.isUsed = isUsed;
}
public LocalDateTime getCreateTime() {
return createTime;
}
public void setCreateTime(LocalDateTime createTime) {
this.createTime = createTime;
}
public LocalDateTime getUpdateTime() {
return updateTime;
}
public void setUpdateTime(LocalDateTime updateTime) {
this.updateTime = updateTime;
}
@Override
public String toString() {
return "AuthorCode{" +
"id=" + id +
", inviteCode=" + inviteCode +
", validityTime=" + validityTime +
", isUsed=" + isUsed +
", createTime=" + createTime +
", updateTime=" + updateTime +
"}";
}
}

View File

@ -0,0 +1,184 @@
package io.github.xxyopen.novel.dao.entity;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDate;
import java.time.LocalDateTime;
/**
* <p>
* 稿费收入统计
* </p>
*
* @author xiongxiaoyang
* @date 2022/05/11
*/
@TableName("author_income")
public class AuthorIncome implements Serializable {
private static final long serialVersionUID = 1L;
/**
* 主键
*/
@TableId(value = "id", type = IdType.AUTO)
private Long id;
/**
* 作家ID
*/
private Long authorId;
/**
* 小说ID
*/
private Long bookId;
/**
* 收入月份
*/
private LocalDate incomeMonth;
/**
* 税前收入;单位
*/
private Integer preTaxIncome;
/**
* 税后收入;单位
*/
private Integer afterTaxIncome;
/**
* 支付状态;0-待支付 1-已支付
*/
private Integer payStatus;
/**
* 稿费确认状态;0-待确认 1-已确认
*/
private Integer confirmStatus;
/**
* 详情
*/
private String detail;
/**
* 创建时间
*/
private LocalDateTime createTime;
/**
* 更新时间
*/
private LocalDateTime updateTime;
public Long getId() {
return id;
}
public void setId(Long id) {
this.id = id;
}
public Long getAuthorId() {
return authorId;
}
public void setAuthorId(Long authorId) {
this.authorId = authorId;
}
public Long getBookId() {
return bookId;
}
public void setBookId(Long bookId) {
this.bookId = bookId;
}
public LocalDate getIncomeMonth() {
return incomeMonth;
}
public void setIncomeMonth(LocalDate incomeMonth) {
this.incomeMonth = incomeMonth;
}
public Integer getPreTaxIncome() {
return preTaxIncome;
}
public void setPreTaxIncome(Integer preTaxIncome) {
this.preTaxIncome = preTaxIncome;
}
public Integer getAfterTaxIncome() {
return afterTaxIncome;
}
public void setAfterTaxIncome(Integer afterTaxIncome) {
this.afterTaxIncome = afterTaxIncome;
}
public Integer getPayStatus() {
return payStatus;
}
public void setPayStatus(Integer payStatus) {
this.payStatus = payStatus;
}
public Integer getConfirmStatus() {
return confirmStatus;
}
public void setConfirmStatus(Integer confirmStatus) {
this.confirmStatus = confirmStatus;
}
public String getDetail() {
return detail;
}
public void setDetail(String detail) {
this.detail = detail;
}
public LocalDateTime getCreateTime() {
return createTime;
}
public void setCreateTime(LocalDateTime createTime) {
this.createTime = createTime;
}
public LocalDateTime getUpdateTime() {
return updateTime;
}
public void setUpdateTime(LocalDateTime updateTime) {
this.updateTime = updateTime;
}
@Override
public String toString() {
return "AuthorIncome{" +
"id=" + id +
", authorId=" + authorId +
", bookId=" + bookId +
", incomeMonth=" + incomeMonth +
", preTaxIncome=" + preTaxIncome +
", afterTaxIncome=" + afterTaxIncome +
", payStatus=" + payStatus +
", confirmStatus=" + confirmStatus +
", detail=" + detail +
", createTime=" + createTime +
", updateTime=" + updateTime +
"}";
}
}

View File

@ -0,0 +1,156 @@
package io.github.xxyopen.novel.dao.entity;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDate;
import java.time.LocalDateTime;
/**
* <p>
* 稿费收入明细统计
* </p>
*
* @author xiongxiaoyang
* @date 2022/05/11
*/
@TableName("author_income_detail")
public class AuthorIncomeDetail implements Serializable {
private static final long serialVersionUID = 1L;
/**
* 主键
*/
@TableId(value = "id", type = IdType.AUTO)
private Long id;
/**
* 作家ID
*/
private Long authorId;
/**
* 小说ID;0表示全部作品
*/
private Long bookId;
/**
* 收入日期
*/
private LocalDate incomeDate;
/**
* 订阅总额
*/
private Integer incomeAccount;
/**
* 订阅次数
*/
private Integer incomeCount;
/**
* 订阅人数
*/
private Integer incomeNumber;
/**
* 创建时间
*/
private LocalDateTime createTime;
/**
* 更新时间
*/
private LocalDateTime updateTime;
public Long getId() {
return id;
}
public void setId(Long id) {
this.id = id;
}
public Long getAuthorId() {
return authorId;
}
public void setAuthorId(Long authorId) {
this.authorId = authorId;
}
public Long getBookId() {
return bookId;
}
public void setBookId(Long bookId) {
this.bookId = bookId;
}
public LocalDate getIncomeDate() {
return incomeDate;
}
public void setIncomeDate(LocalDate incomeDate) {
this.incomeDate = incomeDate;
}
public Integer getIncomeAccount() {
return incomeAccount;
}
public void setIncomeAccount(Integer incomeAccount) {
this.incomeAccount = incomeAccount;
}
public Integer getIncomeCount() {
return incomeCount;
}
public void setIncomeCount(Integer incomeCount) {
this.incomeCount = incomeCount;
}
public Integer getIncomeNumber() {
return incomeNumber;
}
public void setIncomeNumber(Integer incomeNumber) {
this.incomeNumber = incomeNumber;
}
public LocalDateTime getCreateTime() {
return createTime;
}
public void setCreateTime(LocalDateTime createTime) {
this.createTime = createTime;
}
public LocalDateTime getUpdateTime() {
return updateTime;
}
public void setUpdateTime(LocalDateTime updateTime) {
this.updateTime = updateTime;
}
@Override
public String toString() {
return "AuthorIncomeDetail{" +
"id=" + id +
", authorId=" + authorId +
", bookId=" + bookId +
", incomeDate=" + incomeDate +
", incomeAccount=" + incomeAccount +
", incomeCount=" + incomeCount +
", incomeNumber=" + incomeNumber +
", createTime=" + createTime +
", updateTime=" + updateTime +
"}";
}
}

View File

@ -0,0 +1,183 @@
package io.github.xxyopen.novel.dao.entity;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;
/**
* <p>
* 作者信息
* </p>
*
* @author xiongxiaoyang
* @date 2022/05/11
*/
@TableName("author_info")
public class AuthorInfo implements Serializable {
private static final long serialVersionUID = 1L;
/**
* 主键
*/
@TableId(value = "id", type = IdType.AUTO)
private Long id;
/**
* 用户ID
*/
private Long userId;
/**
* 邀请码
*/
private String inviteCode;
/**
* 笔名
*/
private String penName;
/**
* 手机号码
*/
private String telPhone;
/**
* QQ或微信账号
*/
private String chatAccount;
/**
* 电子邮箱
*/
private String email;
/**
* 作品方向;0-男频 1-女频
*/
private Integer workDirection;
/**
* 0正常;1-封禁
*/
private Integer status;
/**
* 创建时间
*/
private LocalDateTime createTime;
/**
* 更新时间
*/
private LocalDateTime updateTime;
public Long getId() {
return id;
}
public void setId(Long id) {
this.id = id;
}
public Long getUserId() {
return userId;
}
public void setUserId(Long userId) {
this.userId = userId;
}
public String getInviteCode() {
return inviteCode;
}
public void setInviteCode(String inviteCode) {
this.inviteCode = inviteCode;
}
public String getPenName() {
return penName;
}
public void setPenName(String penName) {
this.penName = penName;
}
public String getTelPhone() {
return telPhone;
}
public void setTelPhone(String telPhone) {
this.telPhone = telPhone;
}
public String getChatAccount() {
return chatAccount;
}
public void setChatAccount(String chatAccount) {
this.chatAccount = chatAccount;
}
public String getEmail() {
return email;
}
public void setEmail(String email) {
this.email = email;
}
public Integer getWorkDirection() {
return workDirection;
}
public void setWorkDirection(Integer workDirection) {
this.workDirection = workDirection;
}
public Integer getStatus() {
return status;
}
public void setStatus(Integer status) {
this.status = status;
}
public LocalDateTime getCreateTime() {
return createTime;
}
public void setCreateTime(LocalDateTime createTime) {
this.createTime = createTime;
}
public LocalDateTime getUpdateTime() {
return updateTime;
}
public void setUpdateTime(LocalDateTime updateTime) {
this.updateTime = updateTime;
}
@Override
public String toString() {
return "AuthorInfo{" +
"id=" + id +
", userId=" + userId +
", inviteCode=" + inviteCode +
", penName=" + penName +
", telPhone=" + telPhone +
", chatAccount=" + chatAccount +
", email=" + email +
", workDirection=" + workDirection +
", status=" + status +
", createTime=" + createTime +
", updateTime=" + updateTime +
"}";
}
}

View File

@ -0,0 +1,110 @@
package io.github.xxyopen.novel.dao.entity;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;
/**
* <p>
* 小说类别
* </p>
*
* @author xiongxiaoyang
* @date 2022/05/11
*/
@TableName("book_category")
public class BookCategory implements Serializable {
private static final long serialVersionUID = 1L;
@TableId(value = "id", type = IdType.AUTO)
private Long id;
/**
* 作品方向;0-男频 1-女频
*/
private Integer workDirection;
/**
* 类别名
*/
private String name;
/**
* 排序
*/
private Integer sort;
/**
* 创建时间
*/
private LocalDateTime createTime;
/**
* 更新时间
*/
private LocalDateTime updateTime;
public Long getId() {
return id;
}
public void setId(Long id) {
this.id = id;
}
public Integer getWorkDirection() {
return workDirection;
}
public void setWorkDirection(Integer workDirection) {
this.workDirection = workDirection;
}
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public Integer getSort() {
return sort;
}
public void setSort(Integer sort) {
this.sort = sort;
}
public LocalDateTime getCreateTime() {
return createTime;
}
public void setCreateTime(LocalDateTime createTime) {
this.createTime = createTime;
}
public LocalDateTime getUpdateTime() {
return updateTime;
}
public void setUpdateTime(LocalDateTime updateTime) {
this.updateTime = updateTime;
}
@Override
public String toString() {
return "BookCategory{" +
"id=" + id +
", workDirection=" + workDirection +
", name=" + name +
", sort=" + sort +
", createTime=" + createTime +
", updateTime=" + updateTime +
"}";
}
}

View File

@ -0,0 +1,132 @@
package io.github.xxyopen.novel.dao.entity;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;
/**
* <p>
* 小说章节
* </p>
*
* @author xiongxiaoyang
* @date 2022/05/11
*/
@TableName("book_chapter")
public class BookChapter implements Serializable {
private static final long serialVersionUID = 1L;
@TableId(value = "id", type = IdType.AUTO)
private Long id;
/**
* 小说ID
*/
private Long bookId;
/**
* 章节号
*/
private Integer chapterNum;
/**
* 章节名
*/
private String chapterName;
/**
* 章节字数
*/
private Integer wordCount;
/**
* 是否收费;1-收费 0-免费
*/
private Integer isVip;
private LocalDateTime createTime;
private LocalDateTime updateTime;
public Long getId() {
return id;
}
public void setId(Long id) {
this.id = id;
}
public Long getBookId() {
return bookId;
}
public void setBookId(Long bookId) {
this.bookId = bookId;
}
public Integer getChapterNum() {
return chapterNum;
}
public void setChapterNum(Integer chapterNum) {
this.chapterNum = chapterNum;
}
public String getChapterName() {
return chapterName;
}
public void setChapterName(String chapterName) {
this.chapterName = chapterName;
}
public Integer getWordCount() {
return wordCount;
}
public void setWordCount(Integer wordCount) {
this.wordCount = wordCount;
}
public Integer getIsVip() {
return isVip;
}
public void setIsVip(Integer isVip) {
this.isVip = isVip;
}
public LocalDateTime getCreateTime() {
return createTime;
}
public void setCreateTime(LocalDateTime createTime) {
this.createTime = createTime;
}
public LocalDateTime getUpdateTime() {
return updateTime;
}
public void setUpdateTime(LocalDateTime updateTime) {
this.updateTime = updateTime;
}
@Override
public String toString() {
return "BookChapter{" +
"id=" + id +
", bookId=" + bookId +
", chapterNum=" + chapterNum +
", chapterName=" + chapterName +
", wordCount=" + wordCount +
", isVip=" + isVip +
", createTime=" + createTime +
", updateTime=" + updateTime +
"}";
}
}

View File

@ -0,0 +1,141 @@
package io.github.xxyopen.novel.dao.entity;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;
/**
* <p>
* 小说评论
* </p>
*
* @author xiongxiaoyang
* @date 2022/05/11
*/
@TableName("book_comment")
public class BookComment implements Serializable {
private static final long serialVersionUID = 1L;
/**
* 主键
*/
@TableId(value = "id", type = IdType.AUTO)
private Long id;
/**
* 评论小说ID
*/
private Long bookId;
/**
* 评论用户ID
*/
private Long userId;
/**
* 评价内容
*/
private String commentContent;
/**
* 回复数量
*/
private Integer replyCount;
/**
* 审核状态;0-待审核 1-审核通过 2-审核不通过
*/
private Integer auditStatus;
/**
* 创建时间
*/
private LocalDateTime createTime;
/**
* 更新时间
*/
private LocalDateTime updateTime;
public Long getId() {
return id;
}
public void setId(Long id) {
this.id = id;
}
public Long getBookId() {
return bookId;
}
public void setBookId(Long bookId) {
this.bookId = bookId;
}
public Long getUserId() {
return userId;
}
public void setUserId(Long userId) {
this.userId = userId;
}
public String getCommentContent() {
return commentContent;
}
public void setCommentContent(String commentContent) {
this.commentContent = commentContent;
}
public Integer getReplyCount() {
return replyCount;
}
public void setReplyCount(Integer replyCount) {
this.replyCount = replyCount;
}
public Integer getAuditStatus() {
return auditStatus;
}
public void setAuditStatus(Integer auditStatus) {
this.auditStatus = auditStatus;
}
public LocalDateTime getCreateTime() {
return createTime;
}
public void setCreateTime(LocalDateTime createTime) {
this.createTime = createTime;
}
public LocalDateTime getUpdateTime() {
return updateTime;
}
public void setUpdateTime(LocalDateTime updateTime) {
this.updateTime = updateTime;
}
@Override
public String toString() {
return "BookComment{" +
"id=" + id +
", bookId=" + bookId +
", userId=" + userId +
", commentContent=" + commentContent +
", replyCount=" + replyCount +
", auditStatus=" + auditStatus +
", createTime=" + createTime +
", updateTime=" + updateTime +
"}";
}
}

View File

@ -0,0 +1,141 @@
package io.github.xxyopen.novel.dao.entity;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;
/**
* <p>
* 小说评论
* </p>
*
* @author xiongxiaoyang
* @date 2022/05/11
*/
@TableName("book_comment_copy1")
public class BookCommentCopy1 implements Serializable {
private static final long serialVersionUID = 1L;
/**
* 主键
*/
@TableId(value = "id", type = IdType.AUTO)
private Long id;
/**
* 评论小说ID
*/
private Long bookId;
/**
* 评论用户ID
*/
private Long userId;
/**
* 评价内容
*/
private String commentContent;
/**
* 回复数量
*/
private Integer replyCount;
/**
* 审核状态;0-待审核 1-审核通过 2-审核不通过
*/
private Integer auditStatus;
/**
* 创建时间
*/
private LocalDateTime createTime;
/**
* 更新时间
*/
private LocalDateTime updateTime;
public Long getId() {
return id;
}
public void setId(Long id) {
this.id = id;
}
public Long getBookId() {
return bookId;
}
public void setBookId(Long bookId) {
this.bookId = bookId;
}
public Long getUserId() {
return userId;
}
public void setUserId(Long userId) {
this.userId = userId;
}
public String getCommentContent() {
return commentContent;
}
public void setCommentContent(String commentContent) {
this.commentContent = commentContent;
}
public Integer getReplyCount() {
return replyCount;
}
public void setReplyCount(Integer replyCount) {
this.replyCount = replyCount;
}
public Integer getAuditStatus() {
return auditStatus;
}
public void setAuditStatus(Integer auditStatus) {
this.auditStatus = auditStatus;
}
public LocalDateTime getCreateTime() {
return createTime;
}
public void setCreateTime(LocalDateTime createTime) {
this.createTime = createTime;
}
public LocalDateTime getUpdateTime() {
return updateTime;
}
public void setUpdateTime(LocalDateTime updateTime) {
this.updateTime = updateTime;
}
@Override
public String toString() {
return "BookCommentCopy1{" +
"id=" + id +
", bookId=" + bookId +
", userId=" + userId +
", commentContent=" + commentContent +
", replyCount=" + replyCount +
", auditStatus=" + auditStatus +
", createTime=" + createTime +
", updateTime=" + updateTime +
"}";
}
}

View File

@ -0,0 +1,124 @@
package io.github.xxyopen.novel.dao.entity;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;
/**
* <p>
* 小说评论回复
* </p>
*
* @author xiongxiaoyang
* @date 2022/05/11
*/
@TableName("book_comment_reply")
public class BookCommentReply implements Serializable {
private static final long serialVersionUID = 1L;
/**
* 主键
*/
private Long id;
/**
* 评论ID
*/
private Long commentId;
/**
* 回复用户ID
*/
private Long userId;
/**
* 回复内容
*/
private String replyContent;
/**
* 审核状态;0-待审核 1-审核通过 2-审核不通过
*/
private Integer auditStatus;
/**
* 创建时间
*/
private LocalDateTime createTime;
/**
* 更新时间
*/
private LocalDateTime updateTime;
public Long getId() {
return id;
}
public void setId(Long id) {
this.id = id;
}
public Long getCommentId() {
return commentId;
}
public void setCommentId(Long commentId) {
this.commentId = commentId;
}
public Long getUserId() {
return userId;
}
public void setUserId(Long userId) {
this.userId = userId;
}
public String getReplyContent() {
return replyContent;
}
public void setReplyContent(String replyContent) {
this.replyContent = replyContent;
}
public Integer getAuditStatus() {
return auditStatus;
}
public void setAuditStatus(Integer auditStatus) {
this.auditStatus = auditStatus;
}
public LocalDateTime getCreateTime() {
return createTime;
}
public void setCreateTime(LocalDateTime createTime) {
this.createTime = createTime;
}
public LocalDateTime getUpdateTime() {
return updateTime;
}
public void setUpdateTime(LocalDateTime updateTime) {
this.updateTime = updateTime;
}
@Override
public String toString() {
return "BookCommentReply{" +
"id=" + id +
", commentId=" + commentId +
", userId=" + userId +
", replyContent=" + replyContent +
", auditStatus=" + auditStatus +
", createTime=" + createTime +
", updateTime=" + updateTime +
"}";
}
}

View File

@ -0,0 +1,93 @@
package io.github.xxyopen.novel.dao.entity;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;
/**
* <p>
* 小说内容
* </p>
*
* @author xiongxiaoyang
* @date 2022/05/11
*/
@TableName("book_content")
public class BookContent implements Serializable {
private static final long serialVersionUID = 1L;
/**
* 主键
*/
@TableId(value = "id", type = IdType.AUTO)
private Long id;
/**
* 章节ID
*/
private Long chapterId;
/**
* 小说章节内容
*/
private String content;
private LocalDateTime createTime;
private LocalDateTime updateTime;
public Long getId() {
return id;
}
public void setId(Long id) {
this.id = id;
}
public Long getChapterId() {
return chapterId;
}
public void setChapterId(Long chapterId) {
this.chapterId = chapterId;
}
public String getContent() {
return content;
}
public void setContent(String content) {
this.content = content;
}
public LocalDateTime getCreateTime() {
return createTime;
}
public void setCreateTime(LocalDateTime createTime) {
this.createTime = createTime;
}
public LocalDateTime getUpdateTime() {
return updateTime;
}
public void setUpdateTime(LocalDateTime updateTime) {
this.updateTime = updateTime;
}
@Override
public String toString() {
return "BookContent{" +
"id=" + id +
", chapterId=" + chapterId +
", content=" + content +
", createTime=" + createTime +
", updateTime=" + updateTime +
"}";
}
}

View File

@ -0,0 +1,309 @@
package io.github.xxyopen.novel.dao.entity;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;
/**
* <p>
* 小说信息
* </p>
*
* @author xiongxiaoyang
* @date 2022/05/11
*/
@TableName("book_info")
public class BookInfo implements Serializable {
private static final long serialVersionUID = 1L;
/**
* 主键
*/
@TableId(value = "id", type = IdType.AUTO)
private Long id;
/**
* 作品方向;0-男频 1-女频
*/
private Integer workDirection;
/**
* 类别ID
*/
private Long categoryId;
/**
* 类别名
*/
private String categoryName;
/**
* 小说封面地址
*/
private String picUrl;
/**
* 小说名
*/
private String bookName;
/**
* 作家id
*/
private Long authorId;
/**
* 作家名
*/
private String authorName;
/**
* 书籍描述
*/
private String bookDesc;
/**
* 评分;总分:10 真实评分 = score/10
*/
private Integer score;
/**
* 书籍状态;0-连载中 1-已完结
*/
private Integer bookStatus;
/**
* 点击量
*/
private Long visitCount;
/**
* 总字数
*/
private Integer wordCount;
/**
* 评论数
*/
private Integer commentCount;
/**
* 最新章节ID
*/
private Long lastChapterId;
/**
* 最新章节名
*/
private String lastChapterName;
/**
* 最新章节更新时间
*/
private LocalDateTime lastChapterUpdateTime;
/**
* 是否收费;1-收费 0-免费
*/
private Integer isVip;
/**
* 创建时间
*/
private LocalDateTime createTime;
/**
* 更新时间
*/
private LocalDateTime updateTime;
public Long getId() {
return id;
}
public void setId(Long id) {
this.id = id;
}
public Integer getWorkDirection() {
return workDirection;
}
public void setWorkDirection(Integer workDirection) {
this.workDirection = workDirection;
}
public Long getCategoryId() {
return categoryId;
}
public void setCategoryId(Long categoryId) {
this.categoryId = categoryId;
}
public String getCategoryName() {
return categoryName;
}
public void setCategoryName(String categoryName) {
this.categoryName = categoryName;
}
public String getPicUrl() {
return picUrl;
}
public void setPicUrl(String picUrl) {
this.picUrl = picUrl;
}
public String getBookName() {
return bookName;
}
public void setBookName(String bookName) {
this.bookName = bookName;
}
public Long getAuthorId() {
return authorId;
}
public void setAuthorId(Long authorId) {
this.authorId = authorId;
}
public String getAuthorName() {
return authorName;
}
public void setAuthorName(String authorName) {
this.authorName = authorName;
}
public String getBookDesc() {
return bookDesc;
}
public void setBookDesc(String bookDesc) {
this.bookDesc = bookDesc;
}
public Integer getScore() {
return score;
}
public void setScore(Integer score) {
this.score = score;
}
public Integer getBookStatus() {
return bookStatus;
}
public void setBookStatus(Integer bookStatus) {
this.bookStatus = bookStatus;
}
public Long getVisitCount() {
return visitCount;
}
public void setVisitCount(Long visitCount) {
this.visitCount = visitCount;
}
public Integer getWordCount() {
return wordCount;
}
public void setWordCount(Integer wordCount) {
this.wordCount = wordCount;
}
public Integer getCommentCount() {
return commentCount;
}
public void setCommentCount(Integer commentCount) {
this.commentCount = commentCount;
}
public Long getLastChapterId() {
return lastChapterId;
}
public void setLastChapterId(Long lastChapterId) {
this.lastChapterId = lastChapterId;
}
public String getLastChapterName() {
return lastChapterName;
}
public void setLastChapterName(String lastChapterName) {
this.lastChapterName = lastChapterName;
}
public LocalDateTime getLastChapterUpdateTime() {
return lastChapterUpdateTime;
}
public void setLastChapterUpdateTime(LocalDateTime lastChapterUpdateTime) {
this.lastChapterUpdateTime = lastChapterUpdateTime;
}
public Integer getIsVip() {
return isVip;
}
public void setIsVip(Integer isVip) {
this.isVip = isVip;
}
public LocalDateTime getCreateTime() {
return createTime;
}
public void setCreateTime(LocalDateTime createTime) {
this.createTime = createTime;
}
public LocalDateTime getUpdateTime() {
return updateTime;
}
public void setUpdateTime(LocalDateTime updateTime) {
this.updateTime = updateTime;
}
@Override
public String toString() {
return "BookInfo{" +
"id=" + id +
", workDirection=" + workDirection +
", categoryId=" + categoryId +
", categoryName=" + categoryName +
", picUrl=" + picUrl +
", bookName=" + bookName +
", authorId=" + authorId +
", authorName=" + authorName +
", bookDesc=" + bookDesc +
", score=" + score +
", bookStatus=" + bookStatus +
", visitCount=" + visitCount +
", wordCount=" + wordCount +
", commentCount=" + commentCount +
", lastChapterId=" + lastChapterId +
", lastChapterName=" + lastChapterName +
", lastChapterUpdateTime=" + lastChapterUpdateTime +
", isVip=" + isVip +
", createTime=" + createTime +
", updateTime=" + updateTime +
"}";
}
}

View File

@ -0,0 +1,110 @@
package io.github.xxyopen.novel.dao.entity;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;
/**
* <p>
* 小说推荐
* </p>
*
* @author xiongxiaoyang
* @date 2022/05/11
*/
@TableName("home_book")
public class HomeBook implements Serializable {
private static final long serialVersionUID = 1L;
@TableId(value = "id", type = IdType.AUTO)
private Long id;
/**
* 推荐类型;0-轮播图 1-顶部栏 2-本周强推 3-热门推荐 4-精品推荐
*/
private Integer type;
/**
* 推荐排序
*/
private Integer sort;
/**
* 推荐小说ID
*/
private Long bookId;
/**
* 创建时间
*/
private LocalDateTime createTime;
/**
* 更新时间
*/
private LocalDateTime updateTime;
public Long getId() {
return id;
}
public void setId(Long id) {
this.id = id;
}
public Integer getType() {
return type;
}
public void setType(Integer type) {
this.type = type;
}
public Integer getSort() {
return sort;
}
public void setSort(Integer sort) {
this.sort = sort;
}
public Long getBookId() {
return bookId;
}
public void setBookId(Long bookId) {
this.bookId = bookId;
}
public LocalDateTime getCreateTime() {
return createTime;
}
public void setCreateTime(LocalDateTime createTime) {
this.createTime = createTime;
}
public LocalDateTime getUpdateTime() {
return updateTime;
}
public void setUpdateTime(LocalDateTime updateTime) {
this.updateTime = updateTime;
}
@Override
public String toString() {
return "HomeBook{" +
"id=" + id +
", type=" + type +
", sort=" + sort +
", bookId=" + bookId +
", createTime=" + createTime +
", updateTime=" + updateTime +
"}";
}
}

View File

@ -0,0 +1,124 @@
package io.github.xxyopen.novel.dao.entity;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;
/**
* <p>
* 友情链接
* </p>
*
* @author xiongxiaoyang
* @date 2022/05/11
*/
@TableName("home_friend_link")
public class HomeFriendLink implements Serializable {
private static final long serialVersionUID = 1L;
@TableId(value = "id", type = IdType.AUTO)
private Long id;
/**
* 链接名
*/
private String linkName;
/**
* 链接url
*/
private String linkUrl;
/**
* 排序号
*/
private Integer sort;
/**
* 是否开启;0-不开启 1-开启
*/
private Integer isOpen;
/**
* 创建时间
*/
private LocalDateTime createTime;
/**
* 更新时间
*/
private LocalDateTime updateTime;
public Long getId() {
return id;
}
public void setId(Long id) {
this.id = id;
}
public String getLinkName() {
return linkName;
}
public void setLinkName(String linkName) {
this.linkName = linkName;
}
public String getLinkUrl() {
return linkUrl;
}
public void setLinkUrl(String linkUrl) {
this.linkUrl = linkUrl;
}
public Integer getSort() {
return sort;
}
public void setSort(Integer sort) {
this.sort = sort;
}
public Integer getIsOpen() {
return isOpen;
}
public void setIsOpen(Integer isOpen) {
this.isOpen = isOpen;
}
public LocalDateTime getCreateTime() {
return createTime;
}
public void setCreateTime(LocalDateTime createTime) {
this.createTime = createTime;
}
public LocalDateTime getUpdateTime() {
return updateTime;
}
public void setUpdateTime(LocalDateTime updateTime) {
this.updateTime = updateTime;
}
@Override
public String toString() {
return "HomeFriendLink{" +
"id=" + id +
", linkName=" + linkName +
", linkUrl=" + linkUrl +
", sort=" + sort +
", isOpen=" + isOpen +
", createTime=" + createTime +
", updateTime=" + updateTime +
"}";
}
}

View File

@ -0,0 +1,96 @@
package io.github.xxyopen.novel.dao.entity;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;
/**
* <p>
* 新闻类别
* </p>
*
* @author xiongxiaoyang
* @date 2022/05/11
*/
@TableName("news_category")
public class NewsCategory implements Serializable {
private static final long serialVersionUID = 1L;
@TableId(value = "id", type = IdType.AUTO)
private Long id;
/**
* 类别名
*/
private String name;
/**
* 排序
*/
private Integer sort;
/**
* 创建时间
*/
private LocalDateTime createTime;
/**
* 更新时间
*/
private LocalDateTime updateTime;
public Long getId() {
return id;
}
public void setId(Long id) {
this.id = id;
}
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public Integer getSort() {
return sort;
}
public void setSort(Integer sort) {
this.sort = sort;
}
public LocalDateTime getCreateTime() {
return createTime;
}
public void setCreateTime(LocalDateTime createTime) {
this.createTime = createTime;
}
public LocalDateTime getUpdateTime() {
return updateTime;
}
public void setUpdateTime(LocalDateTime updateTime) {
this.updateTime = updateTime;
}
@Override
public String toString() {
return "NewsCategory{" +
"id=" + id +
", name=" + name +
", sort=" + sort +
", createTime=" + createTime +
", updateTime=" + updateTime +
"}";
}
}

View File

@ -0,0 +1,99 @@
package io.github.xxyopen.novel.dao.entity;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;
/**
* <p>
* 新闻内容
* </p>
*
* @author xiongxiaoyang
* @date 2022/05/11
*/
@TableName("news_content")
public class NewsContent implements Serializable {
private static final long serialVersionUID = 1L;
/**
* 主键
*/
@TableId(value = "id", type = IdType.AUTO)
private Long id;
/**
* 新闻ID
*/
private Long newsId;
/**
* 新闻内容
*/
private String content;
/**
* 创建时间
*/
private LocalDateTime createTime;
/**
* 更新时间
*/
private LocalDateTime updateTime;
public Long getId() {
return id;
}
public void setId(Long id) {
this.id = id;
}
public Long getNewsId() {
return newsId;
}
public void setNewsId(Long newsId) {
this.newsId = newsId;
}
public String getContent() {
return content;
}
public void setContent(String content) {
this.content = content;
}
public LocalDateTime getCreateTime() {
return createTime;
}
public void setCreateTime(LocalDateTime createTime) {
this.createTime = createTime;
}
public LocalDateTime getUpdateTime() {
return updateTime;
}
public void setUpdateTime(LocalDateTime updateTime) {
this.updateTime = updateTime;
}
@Override
public String toString() {
return "NewsContent{" +
"id=" + id +
", newsId=" + newsId +
", content=" + content +
", createTime=" + createTime +
", updateTime=" + updateTime +
"}";
}
}

View File

@ -0,0 +1,127 @@
package io.github.xxyopen.novel.dao.entity;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;
/**
* <p>
* 新闻信息
* </p>
*
* @author xiongxiaoyang
* @date 2022/05/11
*/
@TableName("news_info")
public class NewsInfo implements Serializable {
private static final long serialVersionUID = 1L;
/**
* 主键
*/
@TableId(value = "id", type = IdType.AUTO)
private Long id;
/**
* 类别ID
*/
private Long categoryId;
/**
* 类别名
*/
private String categoryName;
/**
* 新闻来源
*/
private String sourceName;
/**
* 新闻标题
*/
private String title;
/**
* 创建时间
*/
private LocalDateTime createTime;
/**
* 更新时间
*/
private LocalDateTime updateTime;
public Long getId() {
return id;
}
public void setId(Long id) {
this.id = id;
}
public Long getCategoryId() {
return categoryId;
}
public void setCategoryId(Long categoryId) {
this.categoryId = categoryId;
}
public String getCategoryName() {
return categoryName;
}
public void setCategoryName(String categoryName) {
this.categoryName = categoryName;
}
public String getSourceName() {
return sourceName;
}
public void setSourceName(String sourceName) {
this.sourceName = sourceName;
}
public String getTitle() {
return title;
}
public void setTitle(String title) {
this.title = title;
}
public LocalDateTime getCreateTime() {
return createTime;
}
public void setCreateTime(LocalDateTime createTime) {
this.createTime = createTime;
}
public LocalDateTime getUpdateTime() {
return updateTime;
}
public void setUpdateTime(LocalDateTime updateTime) {
this.updateTime = updateTime;
}
@Override
public String toString() {
return "NewsInfo{" +
"id=" + id +
", categoryId=" + categoryId +
", categoryName=" + categoryName +
", sourceName=" + sourceName +
", title=" + title +
", createTime=" + createTime +
", updateTime=" + updateTime +
"}";
}
}

View File

@ -0,0 +1,197 @@
package io.github.xxyopen.novel.dao.entity;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;
/**
* <p>
* 支付宝支付
* </p>
*
* @author xiongxiaoyang
* @date 2022/05/11
*/
@TableName("pay_alipay")
public class PayAlipay implements Serializable {
private static final long serialVersionUID = 1L;
/**
* 主键
*/
@TableId(value = "id", type = IdType.AUTO)
private Long id;
/**
* 商户订单号
*/
private String outTradeNo;
/**
* 支付宝交易号
*/
private String tradeNo;
/**
* 买家支付宝账号 ID
*/
private String buyerId;
/**
* 交易状态;TRADE_SUCCESS-交易成功
*/
private String tradeStatus;
/**
* 订单金额;单位
*/
private Integer totalAmount;
/**
* 实收金额;单位
*/
private Integer receiptAmount;
/**
* 开票金额
*/
private Integer invoiceAmount;
/**
* 交易创建时间
*/
private LocalDateTime gmtCreate;
/**
* 交易付款时间
*/
private LocalDateTime gmtPayment;
/**
* 创建时间
*/
private LocalDateTime createTime;
/**
* 更新时间
*/
private LocalDateTime updateTime;
public Long getId() {
return id;
}
public void setId(Long id) {
this.id = id;
}
public String getOutTradeNo() {
return outTradeNo;
}
public void setOutTradeNo(String outTradeNo) {
this.outTradeNo = outTradeNo;
}
public String getTradeNo() {
return tradeNo;
}
public void setTradeNo(String tradeNo) {
this.tradeNo = tradeNo;
}
public String getBuyerId() {
return buyerId;
}
public void setBuyerId(String buyerId) {
this.buyerId = buyerId;
}
public String getTradeStatus() {
return tradeStatus;
}
public void setTradeStatus(String tradeStatus) {
this.tradeStatus = tradeStatus;
}
public Integer getTotalAmount() {
return totalAmount;
}
public void setTotalAmount(Integer totalAmount) {
this.totalAmount = totalAmount;
}
public Integer getReceiptAmount() {
return receiptAmount;
}
public void setReceiptAmount(Integer receiptAmount) {
this.receiptAmount = receiptAmount;
}
public Integer getInvoiceAmount() {
return invoiceAmount;
}
public void setInvoiceAmount(Integer invoiceAmount) {
this.invoiceAmount = invoiceAmount;
}
public LocalDateTime getGmtCreate() {
return gmtCreate;
}
public void setGmtCreate(LocalDateTime gmtCreate) {
this.gmtCreate = gmtCreate;
}
public LocalDateTime getGmtPayment() {
return gmtPayment;
}
public void setGmtPayment(LocalDateTime gmtPayment) {
this.gmtPayment = gmtPayment;
}
public LocalDateTime getCreateTime() {
return createTime;
}
public void setCreateTime(LocalDateTime createTime) {
this.createTime = createTime;
}
public LocalDateTime getUpdateTime() {
return updateTime;
}
public void setUpdateTime(LocalDateTime updateTime) {
this.updateTime = updateTime;
}
@Override
public String toString() {
return "PayAlipay{" +
"id=" + id +
", outTradeNo=" + outTradeNo +
", tradeNo=" + tradeNo +
", buyerId=" + buyerId +
", tradeStatus=" + tradeStatus +
", totalAmount=" + totalAmount +
", receiptAmount=" + receiptAmount +
", invoiceAmount=" + invoiceAmount +
", gmtCreate=" + gmtCreate +
", gmtPayment=" + gmtPayment +
", createTime=" + createTime +
", updateTime=" + updateTime +
"}";
}
}

View File

@ -0,0 +1,197 @@
package io.github.xxyopen.novel.dao.entity;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;
/**
* <p>
* 微信支付
* </p>
*
* @author xiongxiaoyang
* @date 2022/05/11
*/
@TableName("pay_wechat")
public class PayWechat implements Serializable {
private static final long serialVersionUID = 1L;
/**
* 主键
*/
@TableId(value = "id", type = IdType.AUTO)
private Long id;
/**
* 商户订单号
*/
private String outTradeNo;
/**
* 微信支付订单号
*/
private String transactionId;
/**
* 交易类型;JSAPI-公众号支付 NATIVE-扫码支付 APP-APP支付 MICROPAY-付款码支付 MWEB-H5支付 FACEPAY-刷脸支付
*/
private String tradeType;
/**
* 交易状态;SUCCESS-支付成功 REFUND-转入退款 NOTPAY-未支付 CLOSED-已关闭 REVOKED-已撤销付款码支付 USERPAYING-用户支付中付款码支付 PAYERROR-支付失败(其他原因如银行返回失败)
*/
private String tradeState;
/**
* 交易状态描述
*/
private String tradeStateDesc;
/**
* 订单总金额;单位
*/
private Integer amount;
/**
* 用户支付金额;单位
*/
private Integer payerTotal;
/**
* 支付完成时间
*/
private LocalDateTime successTime;
/**
* 支付者用户标识;用户在直连商户appid下的唯一标识
*/
private String payerOpenid;
/**
* 创建时间
*/
private LocalDateTime createTime;
/**
* 更新时间
*/
private LocalDateTime updateTime;
public Long getId() {
return id;
}
public void setId(Long id) {
this.id = id;
}
public String getOutTradeNo() {
return outTradeNo;
}
public void setOutTradeNo(String outTradeNo) {
this.outTradeNo = outTradeNo;
}
public String getTransactionId() {
return transactionId;
}
public void setTransactionId(String transactionId) {
this.transactionId = transactionId;
}
public String getTradeType() {
return tradeType;
}
public void setTradeType(String tradeType) {
this.tradeType = tradeType;
}
public String getTradeState() {
return tradeState;
}
public void setTradeState(String tradeState) {
this.tradeState = tradeState;
}
public String getTradeStateDesc() {
return tradeStateDesc;
}
public void setTradeStateDesc(String tradeStateDesc) {
this.tradeStateDesc = tradeStateDesc;
}
public Integer getAmount() {
return amount;
}
public void setAmount(Integer amount) {
this.amount = amount;
}
public Integer getPayerTotal() {
return payerTotal;
}
public void setPayerTotal(Integer payerTotal) {
this.payerTotal = payerTotal;
}
public LocalDateTime getSuccessTime() {
return successTime;
}
public void setSuccessTime(LocalDateTime successTime) {
this.successTime = successTime;
}
public String getPayerOpenid() {
return payerOpenid;
}
public void setPayerOpenid(String payerOpenid) {
this.payerOpenid = payerOpenid;
}
public LocalDateTime getCreateTime() {
return createTime;
}
public void setCreateTime(LocalDateTime createTime) {
this.createTime = createTime;
}
public LocalDateTime getUpdateTime() {
return updateTime;
}
public void setUpdateTime(LocalDateTime updateTime) {
this.updateTime = updateTime;
}
@Override
public String toString() {
return "PayWechat{" +
"id=" + id +
", outTradeNo=" + outTradeNo +
", transactionId=" + transactionId +
", tradeType=" + tradeType +
", tradeState=" + tradeState +
", tradeStateDesc=" + tradeStateDesc +
", amount=" + amount +
", payerTotal=" + payerTotal +
", successTime=" + successTime +
", payerOpenid=" + payerOpenid +
", createTime=" + createTime +
", updateTime=" + updateTime +
"}";
}
}

View File

@ -0,0 +1,152 @@
package io.github.xxyopen.novel.dao.entity;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;
/**
* <p>
* 系统日志
* </p>
*
* @author xiongxiaoyang
* @date 2022/05/11
*/
@TableName("sys_log")
public class SysLog implements Serializable {
private static final long serialVersionUID = 1L;
@TableId(value = "id", type = IdType.AUTO)
private Long id;
/**
* 用户id
*/
private Long userId;
/**
* 用户名
*/
private String username;
/**
* 用户操作
*/
private String operation;
/**
* 响应时间
*/
private Integer time;
/**
* 请求方法
*/
private String method;
/**
* 请求参数
*/
private String params;
/**
* IP地址
*/
private String ip;
/**
* 创建时间
*/
private LocalDateTime createTime;
public Long getId() {
return id;
}
public void setId(Long id) {
this.id = id;
}
public Long getUserId() {
return userId;
}
public void setUserId(Long userId) {
this.userId = userId;
}
public String getUsername() {
return username;
}
public void setUsername(String username) {
this.username = username;
}
public String getOperation() {
return operation;
}
public void setOperation(String operation) {
this.operation = operation;
}
public Integer getTime() {
return time;
}
public void setTime(Integer time) {
this.time = time;
}
public String getMethod() {
return method;
}
public void setMethod(String method) {
this.method = method;
}
public String getParams() {
return params;
}
public void setParams(String params) {
this.params = params;
}
public String getIp() {
return ip;
}
public void setIp(String ip) {
this.ip = ip;
}
public LocalDateTime getCreateTime() {
return createTime;
}
public void setCreateTime(LocalDateTime createTime) {
this.createTime = createTime;
}
@Override
public String toString() {
return "SysLog{" +
"id=" + id +
", userId=" + userId +
", username=" + username +
", operation=" + operation +
", time=" + time +
", method=" + method +
", params=" + params +
", ip=" + ip +
", createTime=" + createTime +
"}";
}
}

View File

@ -0,0 +1,152 @@
package io.github.xxyopen.novel.dao.entity;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;
/**
* <p>
* 系统菜单
* </p>
*
* @author xiongxiaoyang
* @date 2022/05/11
*/
@TableName("sys_menu")
public class SysMenu implements Serializable {
private static final long serialVersionUID = 1L;
@TableId(value = "id", type = IdType.AUTO)
private Long id;
/**
* 父菜单ID;一级菜单为0
*/
private Long parentId;
/**
* 菜单名称
*/
private String name;
/**
* 菜单URL
*/
private String url;
/**
* 类型;0-目录 1-菜单
*/
private Integer type;
/**
* 菜单图标
*/
private String icon;
/**
* 排序
*/
private Integer sort;
/**
* 创建时间
*/
private LocalDateTime createTime;
/**
* 更新时间
*/
private LocalDateTime updateTime;
public Long getId() {
return id;
}
public void setId(Long id) {
this.id = id;
}
public Long getParentId() {
return parentId;
}
public void setParentId(Long parentId) {
this.parentId = parentId;
}
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public String getUrl() {
return url;
}
public void setUrl(String url) {
this.url = url;
}
public Integer getType() {
return type;
}
public void setType(Integer type) {
this.type = type;
}
public String getIcon() {
return icon;
}
public void setIcon(String icon) {
this.icon = icon;
}
public Integer getSort() {
return sort;
}
public void setSort(Integer sort) {
this.sort = sort;
}
public LocalDateTime getCreateTime() {
return createTime;
}
public void setCreateTime(LocalDateTime createTime) {
this.createTime = createTime;
}
public LocalDateTime getUpdateTime() {
return updateTime;
}
public void setUpdateTime(LocalDateTime updateTime) {
this.updateTime = updateTime;
}
@Override
public String toString() {
return "SysMenu{" +
"id=" + id +
", parentId=" + parentId +
", name=" + name +
", url=" + url +
", type=" + type +
", icon=" + icon +
", sort=" + sort +
", createTime=" + createTime +
", updateTime=" + updateTime +
"}";
}
}

View File

@ -0,0 +1,110 @@
package io.github.xxyopen.novel.dao.entity;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;
/**
* <p>
* 角色
* </p>
*
* @author xiongxiaoyang
* @date 2022/05/11
*/
@TableName("sys_role")
public class SysRole implements Serializable {
private static final long serialVersionUID = 1L;
@TableId(value = "id", type = IdType.AUTO)
private Long id;
/**
* 角色名称
*/
private String roleName;
/**
* 角色标识
*/
private String roleSign;
/**
* 备注
*/
private String remark;
/**
* 创建时间
*/
private LocalDateTime createTime;
/**
* 更新时间
*/
private LocalDateTime updateTime;
public Long getId() {
return id;
}
public void setId(Long id) {
this.id = id;
}
public String getRoleName() {
return roleName;
}
public void setRoleName(String roleName) {
this.roleName = roleName;
}
public String getRoleSign() {
return roleSign;
}
public void setRoleSign(String roleSign) {
this.roleSign = roleSign;
}
public String getRemark() {
return remark;
}
public void setRemark(String remark) {
this.remark = remark;
}
public LocalDateTime getCreateTime() {
return createTime;
}
public void setCreateTime(LocalDateTime createTime) {
this.createTime = createTime;
}
public LocalDateTime getUpdateTime() {
return updateTime;
}
public void setUpdateTime(LocalDateTime updateTime) {
this.updateTime = updateTime;
}
@Override
public String toString() {
return "SysRole{" +
"id=" + id +
", roleName=" + roleName +
", roleSign=" + roleSign +
", remark=" + remark +
", createTime=" + createTime +
", updateTime=" + updateTime +
"}";
}
}

View File

@ -0,0 +1,96 @@
package io.github.xxyopen.novel.dao.entity;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;
/**
* <p>
* 角色与菜单对应关系
* </p>
*
* @author xiongxiaoyang
* @date 2022/05/11
*/
@TableName("sys_role_menu")
public class SysRoleMenu implements Serializable {
private static final long serialVersionUID = 1L;
@TableId(value = "id", type = IdType.AUTO)
private Long id;
/**
* 角色ID
*/
private Long roleId;
/**
* 菜单ID
*/
private Long menuId;
/**
* 创建时间
*/
private LocalDateTime createTime;
/**
* 更新时间
*/
private LocalDateTime updateTime;
public Long getId() {
return id;
}
public void setId(Long id) {
this.id = id;
}
public Long getRoleId() {
return roleId;
}
public void setRoleId(Long roleId) {
this.roleId = roleId;
}
public Long getMenuId() {
return menuId;
}
public void setMenuId(Long menuId) {
this.menuId = menuId;
}
public LocalDateTime getCreateTime() {
return createTime;
}
public void setCreateTime(LocalDateTime createTime) {
this.createTime = createTime;
}
public LocalDateTime getUpdateTime() {
return updateTime;
}
public void setUpdateTime(LocalDateTime updateTime) {
this.updateTime = updateTime;
}
@Override
public String toString() {
return "SysRoleMenu{" +
"id=" + id +
", roleId=" + roleId +
", menuId=" + menuId +
", createTime=" + createTime +
", updateTime=" + updateTime +
"}";
}
}

View File

@ -0,0 +1,180 @@
package io.github.xxyopen.novel.dao.entity;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;
/**
* <p>
* 系统用户
* </p>
*
* @author xiongxiaoyang
* @date 2022/05/11
*/
@TableName("sys_user")
public class SysUser implements Serializable {
private static final long serialVersionUID = 1L;
@TableId(value = "id", type = IdType.AUTO)
private Long id;
/**
* 用户名
*/
private String username;
/**
* 密码
*/
private String password;
/**
* 真实姓名
*/
private String name;
/**
* 性别;0- 1-
*/
private Integer sex;
/**
* 出身日期
*/
private LocalDateTime birth;
/**
* 邮箱
*/
private String email;
/**
* 手机号
*/
private String mobile;
/**
* 状态;0-禁用 1-正常
*/
private Integer status;
/**
* 创建时间
*/
private LocalDateTime createTime;
/**
* 更新时间
*/
private LocalDateTime updateTime;
public Long getId() {
return id;
}
public void setId(Long id) {
this.id = id;
}
public String getUsername() {
return username;
}
public void setUsername(String username) {
this.username = username;
}
public String getPassword() {
return password;
}
public void setPassword(String password) {
this.password = password;
}
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public Integer getSex() {
return sex;
}
public void setSex(Integer sex) {
this.sex = sex;
}
public LocalDateTime getBirth() {
return birth;
}
public void setBirth(LocalDateTime birth) {
this.birth = birth;
}
public String getEmail() {
return email;
}
public void setEmail(String email) {
this.email = email;
}
public String getMobile() {
return mobile;
}
public void setMobile(String mobile) {
this.mobile = mobile;
}
public Integer getStatus() {
return status;
}
public void setStatus(Integer status) {
this.status = status;
}
public LocalDateTime getCreateTime() {
return createTime;
}
public void setCreateTime(LocalDateTime createTime) {
this.createTime = createTime;
}
public LocalDateTime getUpdateTime() {
return updateTime;
}
public void setUpdateTime(LocalDateTime updateTime) {
this.updateTime = updateTime;
}
@Override
public String toString() {
return "SysUser{" +
"id=" + id +
", username=" + username +
", password=" + password +
", name=" + name +
", sex=" + sex +
", birth=" + birth +
", email=" + email +
", mobile=" + mobile +
", status=" + status +
", createTime=" + createTime +
", updateTime=" + updateTime +
"}";
}
}

View File

@ -0,0 +1,96 @@
package io.github.xxyopen.novel.dao.entity;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;
/**
* <p>
* 用户与角色对应关系
* </p>
*
* @author xiongxiaoyang
* @date 2022/05/11
*/
@TableName("sys_user_role")
public class SysUserRole implements Serializable {
private static final long serialVersionUID = 1L;
@TableId(value = "id", type = IdType.AUTO)
private Long id;
/**
* 用户ID
*/
private Long userId;
/**
* 角色ID
*/
private Long roleId;
/**
* 创建时间
*/
private LocalDateTime createTime;
/**
* 更新时间
*/
private LocalDateTime updateTime;
public Long getId() {
return id;
}
public void setId(Long id) {
this.id = id;
}
public Long getUserId() {
return userId;
}
public void setUserId(Long userId) {
this.userId = userId;
}
public Long getRoleId() {
return roleId;
}
public void setRoleId(Long roleId) {
this.roleId = roleId;
}
public LocalDateTime getCreateTime() {
return createTime;
}
public void setCreateTime(LocalDateTime createTime) {
this.createTime = createTime;
}
public LocalDateTime getUpdateTime() {
return updateTime;
}
public void setUpdateTime(LocalDateTime updateTime) {
this.updateTime = updateTime;
}
@Override
public String toString() {
return "SysUserRole{" +
"id=" + id +
", userId=" + userId +
", roleId=" + roleId +
", createTime=" + createTime +
", updateTime=" + updateTime +
"}";
}
}

View File

@ -0,0 +1,113 @@
package io.github.xxyopen.novel.dao.entity;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;
/**
* <p>
* 用户书架
* </p>
*
* @author xiongxiaoyang
* @date 2022/05/11
*/
@TableName("user_bookshelf")
public class UserBookshelf implements Serializable {
private static final long serialVersionUID = 1L;
/**
* 主键
*/
@TableId(value = "id", type = IdType.AUTO)
private Long id;
/**
* 用户ID
*/
private Long userId;
/**
* 小说ID
*/
private Long bookId;
/**
* 上一次阅读的章节内容表ID
*/
private Long preContentId;
/**
* 创建时间;
*/
private LocalDateTime createTime;
/**
* 更新时间;
*/
private LocalDateTime updateTime;
public Long getId() {
return id;
}
public void setId(Long id) {
this.id = id;
}
public Long getUserId() {
return userId;
}
public void setUserId(Long userId) {
this.userId = userId;
}
public Long getBookId() {
return bookId;
}
public void setBookId(Long bookId) {
this.bookId = bookId;
}
public Long getPreContentId() {
return preContentId;
}
public void setPreContentId(Long preContentId) {
this.preContentId = preContentId;
}
public LocalDateTime getCreateTime() {
return createTime;
}
public void setCreateTime(LocalDateTime createTime) {
this.createTime = createTime;
}
public LocalDateTime getUpdateTime() {
return updateTime;
}
public void setUpdateTime(LocalDateTime updateTime) {
this.updateTime = updateTime;
}
@Override
public String toString() {
return "UserBookshelf{" +
"id=" + id +
", userId=" + userId +
", bookId=" + bookId +
", preContentId=" + preContentId +
", createTime=" + createTime +
", updateTime=" + updateTime +
"}";
}
}

View File

@ -0,0 +1,141 @@
package io.github.xxyopen.novel.dao.entity;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;
/**
* <p>
* 用户评论
* </p>
*
* @author xiongxiaoyang
* @date 2022/05/11
*/
@TableName("user_comment")
public class UserComment implements Serializable {
private static final long serialVersionUID = 1L;
/**
* 主键
*/
@TableId(value = "id", type = IdType.AUTO)
private Long id;
/**
* 评论用户ID
*/
private Long userId;
/**
* 评论小说ID
*/
private Long bookId;
/**
* 评价内容
*/
private String commentContent;
/**
* 回复数量
*/
private Integer replyCount;
/**
* 审核状态;0-待审核 1-审核通过 2-审核不通过
*/
private Integer auditStatus;
/**
* 创建时间
*/
private LocalDateTime createTime;
/**
* 更新时间
*/
private LocalDateTime updateTime;
public Long getId() {
return id;
}
public void setId(Long id) {
this.id = id;
}
public Long getUserId() {
return userId;
}
public void setUserId(Long userId) {
this.userId = userId;
}
public Long getBookId() {
return bookId;
}
public void setBookId(Long bookId) {
this.bookId = bookId;
}
public String getCommentContent() {
return commentContent;
}
public void setCommentContent(String commentContent) {
this.commentContent = commentContent;
}
public Integer getReplyCount() {
return replyCount;
}
public void setReplyCount(Integer replyCount) {
this.replyCount = replyCount;
}
public Integer getAuditStatus() {
return auditStatus;
}
public void setAuditStatus(Integer auditStatus) {
this.auditStatus = auditStatus;
}
public LocalDateTime getCreateTime() {
return createTime;
}
public void setCreateTime(LocalDateTime createTime) {
this.createTime = createTime;
}
public LocalDateTime getUpdateTime() {
return updateTime;
}
public void setUpdateTime(LocalDateTime updateTime) {
this.updateTime = updateTime;
}
@Override
public String toString() {
return "UserComment{" +
"id=" + id +
", userId=" + userId +
", bookId=" + bookId +
", commentContent=" + commentContent +
", replyCount=" + replyCount +
", auditStatus=" + auditStatus +
", createTime=" + createTime +
", updateTime=" + updateTime +
"}";
}
}

View File

@ -0,0 +1,124 @@
package io.github.xxyopen.novel.dao.entity;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;
/**
* <p>
* 用户评论回复
* </p>
*
* @author xiongxiaoyang
* @date 2022/05/11
*/
@TableName("user_comment_reply")
public class UserCommentReply implements Serializable {
private static final long serialVersionUID = 1L;
/**
* 主键
*/
private Long id;
/**
* 评论ID
*/
private Long commentId;
/**
* 回复用户ID
*/
private Long userId;
/**
* 回复内容
*/
private String replyContent;
/**
* 审核状态;0-待审核 1-审核通过 2-审核不通过
*/
private Integer auditStatus;
/**
* 创建时间
*/
private LocalDateTime createTime;
/**
* 更新时间
*/
private LocalDateTime updateTime;
public Long getId() {
return id;
}
public void setId(Long id) {
this.id = id;
}
public Long getCommentId() {
return commentId;
}
public void setCommentId(Long commentId) {
this.commentId = commentId;
}
public Long getUserId() {
return userId;
}
public void setUserId(Long userId) {
this.userId = userId;
}
public String getReplyContent() {
return replyContent;
}
public void setReplyContent(String replyContent) {
this.replyContent = replyContent;
}
public Integer getAuditStatus() {
return auditStatus;
}
public void setAuditStatus(Integer auditStatus) {
this.auditStatus = auditStatus;
}
public LocalDateTime getCreateTime() {
return createTime;
}
public void setCreateTime(LocalDateTime createTime) {
this.createTime = createTime;
}
public LocalDateTime getUpdateTime() {
return updateTime;
}
public void setUpdateTime(LocalDateTime updateTime) {
this.updateTime = updateTime;
}
@Override
public String toString() {
return "UserCommentReply{" +
"id=" + id +
", commentId=" + commentId +
", userId=" + userId +
", replyContent=" + replyContent +
", auditStatus=" + auditStatus +
", createTime=" + createTime +
", updateTime=" + updateTime +
"}";
}
}

View File

@ -0,0 +1,155 @@
package io.github.xxyopen.novel.dao.entity;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;
/**
* <p>
* 用户消费记录
* </p>
*
* @author xiongxiaoyang
* @date 2022/05/11
*/
@TableName("user_consume_log")
public class UserConsumeLog implements Serializable {
private static final long serialVersionUID = 1L;
/**
* 主键
*/
@TableId(value = "id", type = IdType.AUTO)
private Long id;
/**
* 消费用户ID
*/
private Long userId;
/**
* 消费使用的金额;单位屋币
*/
private Integer amount;
/**
* 消费商品类型;0-小说VIP章节
*/
private Integer productType;
/**
* 消费的的商品ID;例如章节ID
*/
private Long productId;
/**
* 消费的的商品名;例如章节名
*/
private String producName;
/**
* 消费的的商品值;例如1
*/
private Integer producValue;
/**
* 创建时间
*/
private LocalDateTime createTime;
/**
* 更新时间
*/
private LocalDateTime updateTime;
public Long getId() {
return id;
}
public void setId(Long id) {
this.id = id;
}
public Long getUserId() {
return userId;
}
public void setUserId(Long userId) {
this.userId = userId;
}
public Integer getAmount() {
return amount;
}
public void setAmount(Integer amount) {
this.amount = amount;
}
public Integer getProductType() {
return productType;
}
public void setProductType(Integer productType) {
this.productType = productType;
}
public Long getProductId() {
return productId;
}
public void setProductId(Long productId) {
this.productId = productId;
}
public String getProducName() {
return producName;
}
public void setProducName(String producName) {
this.producName = producName;
}
public Integer getProducValue() {
return producValue;
}
public void setProducValue(Integer producValue) {
this.producValue = producValue;
}
public LocalDateTime getCreateTime() {
return createTime;
}
public void setCreateTime(LocalDateTime createTime) {
this.createTime = createTime;
}
public LocalDateTime getUpdateTime() {
return updateTime;
}
public void setUpdateTime(LocalDateTime updateTime) {
this.updateTime = updateTime;
}
@Override
public String toString() {
return "UserConsumeLog{" +
"id=" + id +
", userId=" + userId +
", amount=" + amount +
", productType=" + productType +
", productId=" + productId +
", producName=" + producName +
", producValue=" + producValue +
", createTime=" + createTime +
", updateTime=" + updateTime +
"}";
}
}

View File

@ -0,0 +1,96 @@
package io.github.xxyopen.novel.dao.entity;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;
/**
* <p>
* 用户反馈
* </p>
*
* @author xiongxiaoyang
* @date 2022/05/11
*/
@TableName("user_feedback")
public class UserFeedback implements Serializable {
private static final long serialVersionUID = 1L;
@TableId(value = "id", type = IdType.AUTO)
private Long id;
/**
* 反馈用户id
*/
private Long userId;
/**
* 反馈内容
*/
private String content;
/**
* 创建时间
*/
private LocalDateTime createTime;
/**
* 更新时间
*/
private LocalDateTime updateTime;
public Long getId() {
return id;
}
public void setId(Long id) {
this.id = id;
}
public Long getUserId() {
return userId;
}
public void setUserId(Long userId) {
this.userId = userId;
}
public String getContent() {
return content;
}
public void setContent(String content) {
this.content = content;
}
public LocalDateTime getCreateTime() {
return createTime;
}
public void setCreateTime(LocalDateTime createTime) {
this.createTime = createTime;
}
public LocalDateTime getUpdateTime() {
return updateTime;
}
public void setUpdateTime(LocalDateTime updateTime) {
this.updateTime = updateTime;
}
@Override
public String toString() {
return "UserFeedback{" +
"id=" + id +
", userId=" + userId +
", content=" + content +
", createTime=" + createTime +
", updateTime=" + updateTime +
"}";
}
}

View File

@ -0,0 +1,180 @@
package io.github.xxyopen.novel.dao.entity;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;
/**
* <p>
* 用户信息
* </p>
*
* @author xiongxiaoyang
* @date 2022/05/11
*/
@TableName("user_info")
public class UserInfo implements Serializable {
private static final long serialVersionUID = 1L;
@TableId(value = "id", type = IdType.AUTO)
private Long id;
/**
* 登录名
*/
private String username;
/**
* 登录密码-加密
*/
private String password;
/**
* 加密盐值
*/
private String salt;
/**
* 昵称
*/
private String nickName;
/**
* 用户头像
*/
private String userPhoto;
/**
* 用户性别;0- 1-
*/
private Integer userSex;
/**
* 账户余额
*/
private Long accountBalance;
/**
* 用户状态;0-正常
*/
private Integer status;
/**
* 创建时间
*/
private LocalDateTime createTime;
/**
* 更新时间
*/
private LocalDateTime updateTime;
public Long getId() {
return id;
}
public void setId(Long id) {
this.id = id;
}
public String getUsername() {
return username;
}
public void setUsername(String username) {
this.username = username;
}
public String getPassword() {
return password;
}
public void setPassword(String password) {
this.password = password;
}
public String getSalt() {
return salt;
}
public void setSalt(String salt) {
this.salt = salt;
}
public String getNickName() {
return nickName;
}
public void setNickName(String nickName) {
this.nickName = nickName;
}
public String getUserPhoto() {
return userPhoto;
}
public void setUserPhoto(String userPhoto) {
this.userPhoto = userPhoto;
}
public Integer getUserSex() {
return userSex;
}
public void setUserSex(Integer userSex) {
this.userSex = userSex;
}
public Long getAccountBalance() {
return accountBalance;
}
public void setAccountBalance(Long accountBalance) {
this.accountBalance = accountBalance;
}
public Integer getStatus() {
return status;
}
public void setStatus(Integer status) {
this.status = status;
}
public LocalDateTime getCreateTime() {
return createTime;
}
public void setCreateTime(LocalDateTime createTime) {
this.createTime = createTime;
}
public LocalDateTime getUpdateTime() {
return updateTime;
}
public void setUpdateTime(LocalDateTime updateTime) {
this.updateTime = updateTime;
}
@Override
public String toString() {
return "UserInfo{" +
"id=" + id +
", username=" + username +
", password=" + password +
", salt=" + salt +
", nickName=" + nickName +
", userPhoto=" + userPhoto +
", userSex=" + userSex +
", accountBalance=" + accountBalance +
", status=" + status +
", createTime=" + createTime +
", updateTime=" + updateTime +
"}";
}
}

View File

@ -0,0 +1,194 @@
package io.github.xxyopen.novel.dao.entity;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;
/**
* <p>
* 用户充值记录
* </p>
*
* @author xiongxiaoyang
* @date 2022/05/11
*/
@TableName("user_pay_log")
public class UserPayLog implements Serializable {
private static final long serialVersionUID = 1L;
@TableId(value = "id", type = IdType.AUTO)
private Long id;
/**
* 充值用户ID
*/
private Long userId;
/**
* 充值方式;0-支付宝 1-微信
*/
private Integer payChannel;
/**
* 商户订单号
*/
private String outTradeNo;
/**
* 充值金额;单位
*/
private Integer amount;
/**
* 充值商品类型;0-屋币 1-包年VIP
*/
private Integer productType;
/**
* 充值商品ID
*/
private Long productId;
/**
* 充值商品名;示例值屋币
*/
private String productName;
/**
* 充值商品值;示例值255
*/
private Integer productValue;
/**
* 充值时间
*/
private LocalDateTime payTime;
/**
* 创建时间
*/
private LocalDateTime createTime;
/**
* 更新时间
*/
private LocalDateTime updateTime;
public Long getId() {
return id;
}
public void setId(Long id) {
this.id = id;
}
public Long getUserId() {
return userId;
}
public void setUserId(Long userId) {
this.userId = userId;
}
public Integer getPayChannel() {
return payChannel;
}
public void setPayChannel(Integer payChannel) {
this.payChannel = payChannel;
}
public String getOutTradeNo() {
return outTradeNo;
}
public void setOutTradeNo(String outTradeNo) {
this.outTradeNo = outTradeNo;
}
public Integer getAmount() {
return amount;
}
public void setAmount(Integer amount) {
this.amount = amount;
}
public Integer getProductType() {
return productType;
}
public void setProductType(Integer productType) {
this.productType = productType;
}
public Long getProductId() {
return productId;
}
public void setProductId(Long productId) {
this.productId = productId;
}
public String getProductName() {
return productName;
}
public void setProductName(String productName) {
this.productName = productName;
}
public Integer getProductValue() {
return productValue;
}
public void setProductValue(Integer productValue) {
this.productValue = productValue;
}
public LocalDateTime getPayTime() {
return payTime;
}
public void setPayTime(LocalDateTime payTime) {
this.payTime = payTime;
}
public LocalDateTime getCreateTime() {
return createTime;
}
public void setCreateTime(LocalDateTime createTime) {
this.createTime = createTime;
}
public LocalDateTime getUpdateTime() {
return updateTime;
}
public void setUpdateTime(LocalDateTime updateTime) {
this.updateTime = updateTime;
}
@Override
public String toString() {
return "UserPayLog{" +
"id=" + id +
", userId=" + userId +
", payChannel=" + payChannel +
", outTradeNo=" + outTradeNo +
", amount=" + amount +
", productType=" + productType +
", productId=" + productId +
", productName=" + productName +
", productValue=" + productValue +
", payTime=" + payTime +
", createTime=" + createTime +
", updateTime=" + updateTime +
"}";
}
}

View File

@ -0,0 +1,113 @@
package io.github.xxyopen.novel.dao.entity;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;
/**
* <p>
* 用户阅读历史
* </p>
*
* @author xiongxiaoyang
* @date 2022/05/11
*/
@TableName("user_read_history")
public class UserReadHistory implements Serializable {
private static final long serialVersionUID = 1L;
/**
* 主键
*/
@TableId(value = "id", type = IdType.AUTO)
private Long id;
/**
* 用户ID
*/
private Long userId;
/**
* 小说ID
*/
private Long bookId;
/**
* 上一次阅读的章节内容表ID
*/
private Long preContentId;
/**
* 创建时间;
*/
private LocalDateTime createTime;
/**
* 更新时间;
*/
private LocalDateTime updateTime;
public Long getId() {
return id;
}
public void setId(Long id) {
this.id = id;
}
public Long getUserId() {
return userId;
}
public void setUserId(Long userId) {
this.userId = userId;
}
public Long getBookId() {
return bookId;
}
public void setBookId(Long bookId) {
this.bookId = bookId;
}
public Long getPreContentId() {
return preContentId;
}
public void setPreContentId(Long preContentId) {
this.preContentId = preContentId;
}
public LocalDateTime getCreateTime() {
return createTime;
}
public void setCreateTime(LocalDateTime createTime) {
this.createTime = createTime;
}
public LocalDateTime getUpdateTime() {
return updateTime;
}
public void setUpdateTime(LocalDateTime updateTime) {
this.updateTime = updateTime;
}
@Override
public String toString() {
return "UserReadHistory{" +
"id=" + id +
", userId=" + userId +
", bookId=" + bookId +
", preContentId=" + preContentId +
", createTime=" + createTime +
", updateTime=" + updateTime +
"}";
}
}

View File

@ -0,0 +1,16 @@
package io.github.xxyopen.novel.dao.mapper;
import io.github.xxyopen.novel.dao.entity.AuthorCode;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
/**
* <p>
* 作家邀请码 Mapper 接口
* </p>
*
* @author xiongxiaoyang
* @date 2022/05/11
*/
public interface AuthorCodeMapper extends BaseMapper<AuthorCode> {
}

View File

@ -0,0 +1,16 @@
package io.github.xxyopen.novel.dao.mapper;
import io.github.xxyopen.novel.dao.entity.AuthorIncomeDetail;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
/**
* <p>
* 稿费收入明细统计 Mapper 接口
* </p>
*
* @author xiongxiaoyang
* @date 2022/05/11
*/
public interface AuthorIncomeDetailMapper extends BaseMapper<AuthorIncomeDetail> {
}

View File

@ -0,0 +1,16 @@
package io.github.xxyopen.novel.dao.mapper;
import io.github.xxyopen.novel.dao.entity.AuthorIncome;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
/**
* <p>
* 稿费收入统计 Mapper 接口
* </p>
*
* @author xiongxiaoyang
* @date 2022/05/11
*/
public interface AuthorIncomeMapper extends BaseMapper<AuthorIncome> {
}

View File

@ -0,0 +1,16 @@
package io.github.xxyopen.novel.dao.mapper;
import io.github.xxyopen.novel.dao.entity.AuthorInfo;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
/**
* <p>
* 作者信息 Mapper 接口
* </p>
*
* @author xiongxiaoyang
* @date 2022/05/11
*/
public interface AuthorInfoMapper extends BaseMapper<AuthorInfo> {
}

View File

@ -0,0 +1,16 @@
package io.github.xxyopen.novel.dao.mapper;
import io.github.xxyopen.novel.dao.entity.BookCategory;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
/**
* <p>
* 小说类别 Mapper 接口
* </p>
*
* @author xiongxiaoyang
* @date 2022/05/11
*/
public interface BookCategoryMapper extends BaseMapper<BookCategory> {
}

View File

@ -0,0 +1,16 @@
package io.github.xxyopen.novel.dao.mapper;
import io.github.xxyopen.novel.dao.entity.BookChapter;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
/**
* <p>
* 小说章节 Mapper 接口
* </p>
*
* @author xiongxiaoyang
* @date 2022/05/11
*/
public interface BookChapterMapper extends BaseMapper<BookChapter> {
}

View File

@ -0,0 +1,16 @@
package io.github.xxyopen.novel.dao.mapper;
import io.github.xxyopen.novel.dao.entity.BookCommentCopy1;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
/**
* <p>
* 小说评论 Mapper 接口
* </p>
*
* @author xiongxiaoyang
* @date 2022/05/11
*/
public interface BookCommentCopy1Mapper extends BaseMapper<BookCommentCopy1> {
}

View File

@ -0,0 +1,16 @@
package io.github.xxyopen.novel.dao.mapper;
import io.github.xxyopen.novel.dao.entity.BookComment;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
/**
* <p>
* 小说评论 Mapper 接口
* </p>
*
* @author xiongxiaoyang
* @date 2022/05/11
*/
public interface BookCommentMapper extends BaseMapper<BookComment> {
}

View File

@ -0,0 +1,16 @@
package io.github.xxyopen.novel.dao.mapper;
import io.github.xxyopen.novel.dao.entity.BookCommentReply;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
/**
* <p>
* 小说评论回复 Mapper 接口
* </p>
*
* @author xiongxiaoyang
* @date 2022/05/11
*/
public interface BookCommentReplyMapper extends BaseMapper<BookCommentReply> {
}

View File

@ -0,0 +1,16 @@
package io.github.xxyopen.novel.dao.mapper;
import io.github.xxyopen.novel.dao.entity.BookContent;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
/**
* <p>
* 小说内容 Mapper 接口
* </p>
*
* @author xiongxiaoyang
* @date 2022/05/11
*/
public interface BookContentMapper extends BaseMapper<BookContent> {
}

View File

@ -0,0 +1,16 @@
package io.github.xxyopen.novel.dao.mapper;
import io.github.xxyopen.novel.dao.entity.BookInfo;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
/**
* <p>
* 小说信息 Mapper 接口
* </p>
*
* @author xiongxiaoyang
* @date 2022/05/11
*/
public interface BookInfoMapper extends BaseMapper<BookInfo> {
}

View File

@ -0,0 +1,16 @@
package io.github.xxyopen.novel.dao.mapper;
import io.github.xxyopen.novel.dao.entity.HomeBook;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
/**
* <p>
* 小说推荐 Mapper 接口
* </p>
*
* @author xiongxiaoyang
* @date 2022/05/11
*/
public interface HomeBookMapper extends BaseMapper<HomeBook> {
}

View File

@ -0,0 +1,16 @@
package io.github.xxyopen.novel.dao.mapper;
import io.github.xxyopen.novel.dao.entity.HomeFriendLink;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
/**
* <p>
* 友情链接 Mapper 接口
* </p>
*
* @author xiongxiaoyang
* @date 2022/05/11
*/
public interface HomeFriendLinkMapper extends BaseMapper<HomeFriendLink> {
}

View File

@ -0,0 +1,16 @@
package io.github.xxyopen.novel.dao.mapper;
import io.github.xxyopen.novel.dao.entity.NewsCategory;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
/**
* <p>
* 新闻类别 Mapper 接口
* </p>
*
* @author xiongxiaoyang
* @date 2022/05/11
*/
public interface NewsCategoryMapper extends BaseMapper<NewsCategory> {
}

View File

@ -0,0 +1,16 @@
package io.github.xxyopen.novel.dao.mapper;
import io.github.xxyopen.novel.dao.entity.NewsContent;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
/**
* <p>
* 新闻内容 Mapper 接口
* </p>
*
* @author xiongxiaoyang
* @date 2022/05/11
*/
public interface NewsContentMapper extends BaseMapper<NewsContent> {
}

View File

@ -0,0 +1,16 @@
package io.github.xxyopen.novel.dao.mapper;
import io.github.xxyopen.novel.dao.entity.NewsInfo;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
/**
* <p>
* 新闻信息 Mapper 接口
* </p>
*
* @author xiongxiaoyang
* @date 2022/05/11
*/
public interface NewsInfoMapper extends BaseMapper<NewsInfo> {
}

View File

@ -0,0 +1,16 @@
package io.github.xxyopen.novel.dao.mapper;
import io.github.xxyopen.novel.dao.entity.PayAlipay;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
/**
* <p>
* 支付宝支付 Mapper 接口
* </p>
*
* @author xiongxiaoyang
* @date 2022/05/11
*/
public interface PayAlipayMapper extends BaseMapper<PayAlipay> {
}

View File

@ -0,0 +1,16 @@
package io.github.xxyopen.novel.dao.mapper;
import io.github.xxyopen.novel.dao.entity.PayWechat;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
/**
* <p>
* 微信支付 Mapper 接口
* </p>
*
* @author xiongxiaoyang
* @date 2022/05/11
*/
public interface PayWechatMapper extends BaseMapper<PayWechat> {
}

View File

@ -0,0 +1,16 @@
package io.github.xxyopen.novel.dao.mapper;
import io.github.xxyopen.novel.dao.entity.SysLog;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
/**
* <p>
* 系统日志 Mapper 接口
* </p>
*
* @author xiongxiaoyang
* @date 2022/05/11
*/
public interface SysLogMapper extends BaseMapper<SysLog> {
}

View File

@ -0,0 +1,16 @@
package io.github.xxyopen.novel.dao.mapper;
import io.github.xxyopen.novel.dao.entity.SysMenu;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
/**
* <p>
* 系统菜单 Mapper 接口
* </p>
*
* @author xiongxiaoyang
* @date 2022/05/11
*/
public interface SysMenuMapper extends BaseMapper<SysMenu> {
}

View File

@ -0,0 +1,16 @@
package io.github.xxyopen.novel.dao.mapper;
import io.github.xxyopen.novel.dao.entity.SysRole;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
/**
* <p>
* 角色 Mapper 接口
* </p>
*
* @author xiongxiaoyang
* @date 2022/05/11
*/
public interface SysRoleMapper extends BaseMapper<SysRole> {
}

View File

@ -0,0 +1,16 @@
package io.github.xxyopen.novel.dao.mapper;
import io.github.xxyopen.novel.dao.entity.SysRoleMenu;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
/**
* <p>
* 角色与菜单对应关系 Mapper 接口
* </p>
*
* @author xiongxiaoyang
* @date 2022/05/11
*/
public interface SysRoleMenuMapper extends BaseMapper<SysRoleMenu> {
}

View File

@ -0,0 +1,16 @@
package io.github.xxyopen.novel.dao.mapper;
import io.github.xxyopen.novel.dao.entity.SysUser;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
/**
* <p>
* 系统用户 Mapper 接口
* </p>
*
* @author xiongxiaoyang
* @date 2022/05/11
*/
public interface SysUserMapper extends BaseMapper<SysUser> {
}

View File

@ -0,0 +1,16 @@
package io.github.xxyopen.novel.dao.mapper;
import io.github.xxyopen.novel.dao.entity.SysUserRole;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
/**
* <p>
* 用户与角色对应关系 Mapper 接口
* </p>
*
* @author xiongxiaoyang
* @date 2022/05/11
*/
public interface SysUserRoleMapper extends BaseMapper<SysUserRole> {
}

View File

@ -0,0 +1,16 @@
package io.github.xxyopen.novel.dao.mapper;
import io.github.xxyopen.novel.dao.entity.UserBookshelf;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
/**
* <p>
* 用户书架 Mapper 接口
* </p>
*
* @author xiongxiaoyang
* @date 2022/05/11
*/
public interface UserBookshelfMapper extends BaseMapper<UserBookshelf> {
}

View File

@ -0,0 +1,16 @@
package io.github.xxyopen.novel.dao.mapper;
import io.github.xxyopen.novel.dao.entity.UserComment;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
/**
* <p>
* 用户评论 Mapper 接口
* </p>
*
* @author xiongxiaoyang
* @date 2022/05/11
*/
public interface UserCommentMapper extends BaseMapper<UserComment> {
}

View File

@ -0,0 +1,16 @@
package io.github.xxyopen.novel.dao.mapper;
import io.github.xxyopen.novel.dao.entity.UserCommentReply;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
/**
* <p>
* 用户评论回复 Mapper 接口
* </p>
*
* @author xiongxiaoyang
* @date 2022/05/11
*/
public interface UserCommentReplyMapper extends BaseMapper<UserCommentReply> {
}

View File

@ -0,0 +1,16 @@
package io.github.xxyopen.novel.dao.mapper;
import io.github.xxyopen.novel.dao.entity.UserConsumeLog;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
/**
* <p>
* 用户消费记录 Mapper 接口
* </p>
*
* @author xiongxiaoyang
* @date 2022/05/11
*/
public interface UserConsumeLogMapper extends BaseMapper<UserConsumeLog> {
}

View File

@ -0,0 +1,16 @@
package io.github.xxyopen.novel.dao.mapper;
import io.github.xxyopen.novel.dao.entity.UserFeedback;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
/**
* <p>
* 用户反馈 Mapper 接口
* </p>
*
* @author xiongxiaoyang
* @date 2022/05/11
*/
public interface UserFeedbackMapper extends BaseMapper<UserFeedback> {
}

View File

@ -0,0 +1,16 @@
package io.github.xxyopen.novel.dao.mapper;
import io.github.xxyopen.novel.dao.entity.UserInfo;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
/**
* <p>
* 用户信息 Mapper 接口
* </p>
*
* @author xiongxiaoyang
* @date 2022/05/11
*/
public interface UserInfoMapper extends BaseMapper<UserInfo> {
}

View File

@ -0,0 +1,16 @@
package io.github.xxyopen.novel.dao.mapper;
import io.github.xxyopen.novel.dao.entity.UserPayLog;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
/**
* <p>
* 用户充值记录 Mapper 接口
* </p>
*
* @author xiongxiaoyang
* @date 2022/05/11
*/
public interface UserPayLogMapper extends BaseMapper<UserPayLog> {
}

View File

@ -0,0 +1,16 @@
package io.github.xxyopen.novel.dao.mapper;
import io.github.xxyopen.novel.dao.entity.UserReadHistory;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
/**
* <p>
* 用户阅读历史 Mapper 接口
* </p>
*
* @author xiongxiaoyang
* @date 2022/05/11
*/
public interface UserReadHistoryMapper extends BaseMapper<UserReadHistory> {
}

View File

@ -0,0 +1,16 @@
package io.github.xxyopen.novel.service;
import io.github.xxyopen.novel.dao.entity.AuthorCode;
import com.baomidou.mybatisplus.extension.service.IService;
/**
* <p>
* 作家邀请码 服务类
* </p>
*
* @author xiongxiaoyang
* @date 2022/05/11
*/
public interface AuthorCodeService extends IService<AuthorCode> {
}

View File

@ -0,0 +1,16 @@
package io.github.xxyopen.novel.service;
import io.github.xxyopen.novel.dao.entity.AuthorIncomeDetail;
import com.baomidou.mybatisplus.extension.service.IService;
/**
* <p>
* 稿费收入明细统计 服务类
* </p>
*
* @author xiongxiaoyang
* @date 2022/05/11
*/
public interface AuthorIncomeDetailService extends IService<AuthorIncomeDetail> {
}

View File

@ -0,0 +1,16 @@
package io.github.xxyopen.novel.service;
import io.github.xxyopen.novel.dao.entity.AuthorIncome;
import com.baomidou.mybatisplus.extension.service.IService;
/**
* <p>
* 稿费收入统计 服务类
* </p>
*
* @author xiongxiaoyang
* @date 2022/05/11
*/
public interface AuthorIncomeService extends IService<AuthorIncome> {
}

View File

@ -0,0 +1,16 @@
package io.github.xxyopen.novel.service;
import io.github.xxyopen.novel.dao.entity.AuthorInfo;
import com.baomidou.mybatisplus.extension.service.IService;
/**
* <p>
* 作者信息 服务类
* </p>
*
* @author xiongxiaoyang
* @date 2022/05/11
*/
public interface AuthorInfoService extends IService<AuthorInfo> {
}

Some files were not shown because too many files have changed in this diff Show More