This commit is contained in:
wangjinlei
2023-09-25 16:04:46 +08:00
parent 51340eb1c0
commit 40717b305f
8 changed files with 85 additions and 3 deletions

View File

@@ -163,6 +163,9 @@ public class BookEntity implements Serializable {
@TableField(exist = false)
private List<BookForumArticlesEntity> forums;
@TableField(exist = false)
private Integer forumNum;
// @TableField(exist = false)
// private Boolean bookAuthen;

View File

@@ -52,7 +52,7 @@ public class BookForumArticlesEntity {
@TableField("bookid")
private Integer bookid;
@TableField("fine_work")
@TableField("finework")
private Integer finework;
/**
*开始时间

View File

@@ -0,0 +1,39 @@
package com.peanut.modules.book.entity;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import java.util.Date;
@Data
@TableName("book_teach")
public class BookTeachEntity {
private static final long serialVersionUID = 1L;
@TableId
@TableField("teach_id")
private Integer teachID;
@TableField("book_id")
private Integer bookId;
private Integer chapter;
private String voices;
private String content;
@TableField("create_time")
private Date createTime;
@TableField("del_flag")
@TableLogic
private Integer delFlag;
}