78 lines
1.1 KiB
Java
78 lines
1.1 KiB
Java
package com.peanut.modules.common.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-12 09:53:25
|
||
*/
|
||
@Data
|
||
@TableName("book_chapter")
|
||
public class BookChapterEntity implements Serializable {
|
||
private static final long serialVersionUID = 1L;
|
||
|
||
/**
|
||
*
|
||
*/
|
||
@TableId
|
||
private Integer id;
|
||
/**
|
||
* 图书id
|
||
*/
|
||
private Integer bookId;
|
||
/**
|
||
* 章节号
|
||
*/
|
||
private Integer number;
|
||
/**
|
||
* 章节
|
||
*/
|
||
private String chapter;
|
||
/**
|
||
* 内容
|
||
*/
|
||
private String content;
|
||
|
||
|
||
/**
|
||
* 音频文件地址
|
||
*/
|
||
private String voices;
|
||
/**
|
||
*
|
||
*/
|
||
@TableField(fill = FieldFill.INSERT)//创建注解
|
||
private Date createTime;
|
||
/**
|
||
*
|
||
*/
|
||
@TableField(fill = FieldFill.INSERT_UPDATE)//更新注解
|
||
private Date updateTime;
|
||
/**
|
||
* 0免费,1限制
|
||
*/
|
||
private Integer sort;
|
||
/**
|
||
*
|
||
*/
|
||
@TableLogic
|
||
private Integer delFlag;
|
||
|
||
@TableField(exist = false)
|
||
private Integer isFree;
|
||
|
||
@TableField(exist = false)
|
||
private String bookImage;
|
||
|
||
@TableField(exist = false)
|
||
private String picAndWord;
|
||
|
||
}
|