package com.peanut.modules.common.entity; import com.baomidou.mybatisplus.annotation.FieldFill; import com.baomidou.mybatisplus.annotation.TableField; import com.baomidou.mybatisplus.annotation.TableId; import com.baomidou.mybatisplus.annotation.TableName; import java.io.Serializable; import java.util.Date; import lombok.Data; /** * 阅读进度表 * * @author yl * @email yl328572838@163.com * @date 2022-08-29 15:27:44 */ @Data @TableName("book_read_rate") public class BookReadRateEntity implements Serializable { private static final long serialVersionUID = 1L; /** * */ @TableId private Integer id; /** * 用户id */ private Integer userId; /** * 图书id */ private Integer bookId; /** * 章节id */ private Integer chapterId; /** * 章节名称 */ private String chapterName; /** * 章节百分比 */ private Integer precent; /** * 章节内容id */ private Integer contentId; /** * 创建时间 */ @TableField(fill = FieldFill.INSERT) private Date createTime; /** * 更新时间 */ @TableField(fill = FieldFill.INSERT_UPDATE) private Date updateTime; /** * */ private Integer sort; /** * */ private Integer delFlag; /** * dom的Dep 用来存前端传来上下定位的 */ private String domDep; /** * dom的Value 用来存前端传来上下定位的 */ private String domValue; /** * dom的domVmCount 用来存前端传来上下定位的 */ private Integer domVmCount; /** * 阅读ID */ private String domId; /** * 与底部的距离 */ private Integer bottomGap; /** * 高度 */ private Integer heightGap; /** * 与左边的距离 */ private Integer leftGap; /** *与右边的距离 */ private Integer rightGap; /** *与头部的距离 */ private Integer topGap; /** * 宽度 */ private Integer widthGap; }