Files
nuttyreading-java/src/main/java/com/peanut/modules/common/entity/BookChapterEntity.java
wangjinlei 3cef570c97 1
2024-03-15 10:19:03 +08:00

78 lines
1.1 KiB
Java
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
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;
}