77 lines
1.1 KiB
Java
77 lines
1.1 KiB
Java
package com.peanut.modules.book.entity;
|
|
|
|
import com.baomidou.mybatisplus.annotation.*;
|
|
|
|
import java.io.Serializable;
|
|
import java.util.Date;
|
|
import lombok.Data;
|
|
|
|
/**
|
|
*
|
|
*
|
|
* @author yl
|
|
* @email yl328572838@163.com
|
|
* @date 2022-08-16 14:32:06
|
|
*/
|
|
@Data
|
|
@TableName("book_chapter_content")
|
|
public class BookChapterContentEntity implements Serializable {
|
|
private static final long serialVersionUID = 1L;
|
|
|
|
/**
|
|
*
|
|
*/
|
|
@TableId
|
|
private Integer id;
|
|
/**
|
|
*
|
|
*/
|
|
private Integer bookId;
|
|
/**
|
|
*
|
|
*/
|
|
private Integer bookChatperId;
|
|
/**
|
|
*
|
|
*/
|
|
private Integer number;
|
|
/**
|
|
*
|
|
*/
|
|
private String content;
|
|
/**
|
|
*
|
|
*/
|
|
private String voices;
|
|
|
|
private String otherContent;
|
|
/**
|
|
*
|
|
*/
|
|
@TableField(fill = FieldFill.INSERT)//创建注解
|
|
private Date createTime;
|
|
/**
|
|
*
|
|
*/
|
|
@TableField(fill = FieldFill.INSERT_UPDATE)//更新注解
|
|
private Date updateTime;
|
|
|
|
@TableField(exist = false)
|
|
private String picAndWord;
|
|
/**
|
|
*
|
|
*/
|
|
private Integer sort;
|
|
|
|
/**
|
|
*
|
|
*/
|
|
private Integer level;
|
|
/**
|
|
*
|
|
*/
|
|
@TableLogic
|
|
private Integer delFlag;
|
|
|
|
}
|