新版
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -52,7 +52,7 @@ public class BookForumArticlesEntity {
|
||||
@TableField("bookid")
|
||||
private Integer bookid;
|
||||
|
||||
@TableField("fine_work")
|
||||
@TableField("finework")
|
||||
private Integer finework;
|
||||
/**
|
||||
*开始时间
|
||||
|
||||
@@ -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;
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user