Files
nuttyreading-java/src/main/java/com/peanut/modules/common/entity/BookChapterContentEntity.java
wuchunlei 00ec90334e 转音频
2024-12-11 09:23:30 +08:00

81 lines
1.2 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-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 voicesSize;
@TableField(exist = false)
private int voicesStart;
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;
}