Fixing .gitignore
This commit is contained in:
@@ -1,174 +1,174 @@
|
||||
package com.peanut.modules.book.entity;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.*;
|
||||
|
||||
import java.math.BigDecimal;
|
||||
import java.io.Serializable;
|
||||
import java.util.Date;
|
||||
import lombok.Data;
|
||||
|
||||
/**
|
||||
* 图书表
|
||||
*
|
||||
* @author yl
|
||||
* @email yl328572838@163.com
|
||||
* @date 2022-08-04 15:36:59
|
||||
*/
|
||||
@Data
|
||||
@TableName("book")
|
||||
public class BookEntity implements Serializable {
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
*
|
||||
*/
|
||||
@TableId(type = IdType.AUTO)
|
||||
private Integer id;
|
||||
/**
|
||||
* 书名
|
||||
*/
|
||||
private String name;
|
||||
/**
|
||||
* 作者id
|
||||
*/
|
||||
private String authorId;
|
||||
/**
|
||||
* 简介
|
||||
*/
|
||||
private String description;
|
||||
/**
|
||||
* 序言
|
||||
*/
|
||||
private String title;
|
||||
/**
|
||||
* 秒杀
|
||||
*/
|
||||
private Integer isSale;
|
||||
/**
|
||||
* 付费类型
|
||||
*/
|
||||
@TableField("isVip")
|
||||
private Integer isVip;
|
||||
/**
|
||||
* 免费章节数
|
||||
*/
|
||||
private Integer freeChapterCount;
|
||||
/**
|
||||
* 内容
|
||||
*/
|
||||
private String content;
|
||||
/**
|
||||
* 类型
|
||||
*/
|
||||
private String type;
|
||||
/**
|
||||
* 价格
|
||||
*/
|
||||
private BigDecimal price;
|
||||
/**
|
||||
* 价格
|
||||
*/
|
||||
private BigDecimal salePrice;
|
||||
/**
|
||||
* 是否加入书架
|
||||
*/
|
||||
@TableField(exist = false)
|
||||
private boolean flag;
|
||||
/**
|
||||
* 置顶
|
||||
*/
|
||||
private Integer istop;
|
||||
/**
|
||||
* 出版商id
|
||||
*/
|
||||
private String publisherId;
|
||||
/**
|
||||
* 插图
|
||||
*/
|
||||
private String images;
|
||||
|
||||
/**
|
||||
* 插图 多图
|
||||
*/
|
||||
private String imagesList;
|
||||
|
||||
/**
|
||||
* 父id
|
||||
*/
|
||||
private Integer pid;
|
||||
/**
|
||||
* 层级
|
||||
*/
|
||||
private String level;
|
||||
/**
|
||||
* 章节处理状态 0-未处理 1-处理中 2-成功 3-失败
|
||||
*/
|
||||
private String chapterStatus;
|
||||
/**
|
||||
* 内容处理状态 0-未处理 1-处理中 2-成功 3-失败
|
||||
*/
|
||||
private String contentStatus;
|
||||
/**
|
||||
* 音频处理状态 0-未处理 1-处理中 2-成功 3-失败
|
||||
*/
|
||||
private String voicesStatus;
|
||||
/**
|
||||
* 1为标题拆分,2为小节拆分
|
||||
*/
|
||||
private String splits;
|
||||
/**
|
||||
* 创建日期
|
||||
*/
|
||||
@TableField(fill = FieldFill.INSERT)//创建注解
|
||||
private Date createTime;
|
||||
/**
|
||||
* 更新日期
|
||||
*/
|
||||
@TableField(fill = FieldFill.INSERT_UPDATE)//更新注解
|
||||
private Date updateTime;
|
||||
/**
|
||||
* 排序
|
||||
*/
|
||||
private Integer sort;
|
||||
|
||||
private Integer state;
|
||||
|
||||
private String novel;
|
||||
/**
|
||||
* 删除标记
|
||||
*/
|
||||
@TableLogic
|
||||
private Integer delFlag;
|
||||
|
||||
@TableField(exist = false)
|
||||
private String publisherName;
|
||||
|
||||
@TableField(exist = false)
|
||||
private String authorName;
|
||||
|
||||
@TableField(exist = false)
|
||||
private Integer chapterId;
|
||||
|
||||
@TableField(exist = false)
|
||||
private String chapterName;
|
||||
|
||||
@TableField(exist = false)
|
||||
private Integer chapterNum;
|
||||
|
||||
@TableField(exist = false)
|
||||
private Boolean isBuy;
|
||||
|
||||
|
||||
|
||||
// @TableField(exist = false)
|
||||
// private Boolean bookAuthen;
|
||||
|
||||
|
||||
@TableField("can_listen")
|
||||
private Boolean canListen;
|
||||
|
||||
|
||||
private Integer clockIn;
|
||||
|
||||
|
||||
}
|
||||
package com.peanut.modules.book.entity;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.*;
|
||||
|
||||
import java.math.BigDecimal;
|
||||
import java.io.Serializable;
|
||||
import java.util.Date;
|
||||
import lombok.Data;
|
||||
|
||||
/**
|
||||
* 图书表
|
||||
*
|
||||
* @author yl
|
||||
* @email yl328572838@163.com
|
||||
* @date 2022-08-04 15:36:59
|
||||
*/
|
||||
@Data
|
||||
@TableName("book")
|
||||
public class BookEntity implements Serializable {
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**
|
||||
*
|
||||
*/
|
||||
@TableId(type = IdType.AUTO)
|
||||
private Integer id;
|
||||
/**
|
||||
* 书名
|
||||
*/
|
||||
private String name;
|
||||
/**
|
||||
* 作者id
|
||||
*/
|
||||
private String authorId;
|
||||
/**
|
||||
* 简介
|
||||
*/
|
||||
private String description;
|
||||
/**
|
||||
* 序言
|
||||
*/
|
||||
private String title;
|
||||
/**
|
||||
* 秒杀
|
||||
*/
|
||||
private Integer isSale;
|
||||
/**
|
||||
* 付费类型
|
||||
*/
|
||||
@TableField("isVip")
|
||||
private Integer isVip;
|
||||
/**
|
||||
* 免费章节数
|
||||
*/
|
||||
private Integer freeChapterCount;
|
||||
/**
|
||||
* 内容
|
||||
*/
|
||||
private String content;
|
||||
/**
|
||||
* 类型
|
||||
*/
|
||||
private String type;
|
||||
/**
|
||||
* 价格
|
||||
*/
|
||||
private BigDecimal price;
|
||||
/**
|
||||
* 价格
|
||||
*/
|
||||
private BigDecimal salePrice;
|
||||
/**
|
||||
* 是否加入书架
|
||||
*/
|
||||
@TableField(exist = false)
|
||||
private boolean flag;
|
||||
/**
|
||||
* 置顶
|
||||
*/
|
||||
private Integer istop;
|
||||
/**
|
||||
* 出版商id
|
||||
*/
|
||||
private String publisherId;
|
||||
/**
|
||||
* 插图
|
||||
*/
|
||||
private String images;
|
||||
|
||||
/**
|
||||
* 插图 多图
|
||||
*/
|
||||
private String imagesList;
|
||||
|
||||
/**
|
||||
* 父id
|
||||
*/
|
||||
private Integer pid;
|
||||
/**
|
||||
* 层级
|
||||
*/
|
||||
private String level;
|
||||
/**
|
||||
* 章节处理状态 0-未处理 1-处理中 2-成功 3-失败
|
||||
*/
|
||||
private String chapterStatus;
|
||||
/**
|
||||
* 内容处理状态 0-未处理 1-处理中 2-成功 3-失败
|
||||
*/
|
||||
private String contentStatus;
|
||||
/**
|
||||
* 音频处理状态 0-未处理 1-处理中 2-成功 3-失败
|
||||
*/
|
||||
private String voicesStatus;
|
||||
/**
|
||||
* 1为标题拆分,2为小节拆分
|
||||
*/
|
||||
private String splits;
|
||||
/**
|
||||
* 创建日期
|
||||
*/
|
||||
@TableField(fill = FieldFill.INSERT)//创建注解
|
||||
private Date createTime;
|
||||
/**
|
||||
* 更新日期
|
||||
*/
|
||||
@TableField(fill = FieldFill.INSERT_UPDATE)//更新注解
|
||||
private Date updateTime;
|
||||
/**
|
||||
* 排序
|
||||
*/
|
||||
private Integer sort;
|
||||
|
||||
private Integer state;
|
||||
|
||||
private String novel;
|
||||
/**
|
||||
* 删除标记
|
||||
*/
|
||||
@TableLogic
|
||||
private Integer delFlag;
|
||||
|
||||
@TableField(exist = false)
|
||||
private String publisherName;
|
||||
|
||||
@TableField(exist = false)
|
||||
private String authorName;
|
||||
|
||||
@TableField(exist = false)
|
||||
private Integer chapterId;
|
||||
|
||||
@TableField(exist = false)
|
||||
private String chapterName;
|
||||
|
||||
@TableField(exist = false)
|
||||
private Integer chapterNum;
|
||||
|
||||
@TableField(exist = false)
|
||||
private Boolean isBuy;
|
||||
|
||||
|
||||
|
||||
// @TableField(exist = false)
|
||||
// private Boolean bookAuthen;
|
||||
|
||||
|
||||
@TableField("can_listen")
|
||||
private Boolean canListen;
|
||||
|
||||
|
||||
private Integer clockIn;
|
||||
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user