This commit is contained in:
wangjinlei
2024-03-15 10:19:03 +08:00
parent 0c740d33a0
commit 3cef570c97
388 changed files with 657 additions and 783 deletions

View File

@@ -0,0 +1,77 @@
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;
}