123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114 |
- package com.sf.po;
- import com.baomidou.mybatisplus.annotation.IdType;
- import com.baomidou.mybatisplus.annotation.TableId;
- import com.baomidou.mybatisplus.annotation.TableName;
- import lombok.Data;
- import java.time.LocalDateTime;
- @Data
- @TableName("book_info")
- public class BookInfo {
- /**
- * 主键
- */
- @TableId(value = "id", type = IdType.AUTO)
- private Long id;
- /**
- * 作品方向;0-男频 1-女频
- */
- private Integer workDirection;
- /**
- * 类别ID
- */
- private Long categoryId;
- /**
- * 类别名
- */
- private String categoryName;
- /**
- * 小说封面地址
- */
- private String picUrl;
- /**
- * 小说名
- */
- private String bookName;
- /**
- * 作家id
- */
- private Long authorId;
- /**
- * 作家名
- */
- private String authorName;
- /**
- * 书籍描述
- */
- private String bookDesc;
- /**
- * 评分;总分:10 ,真实评分 = score/10
- */
- private Integer score;
- /**
- * 书籍状态;0-连载中 1-已完结
- */
- private Integer bookStatus;
- /**
- * 点击量
- */
- private Long visitCount;
- /**
- * 总字数
- */
- private Integer wordCount;
- /**
- * 评论数
- */
- private Integer commentCount;
- /**
- * 最新章节ID
- */
- private Long lastChapterId;
- /**
- * 最新章节名
- */
- private String lastChapterName;
- /**
- * 最新章节更新时间
- */
- private LocalDateTime lastChapterUpdateTime;
- /**
- * 是否收费;1-收费 0-免费
- */
- private Integer isVip;
- /**
- * 创建时间
- */
- private LocalDateTime createTime;
- /**
- * 更新时间
- */
- private LocalDateTime updateTime;
- }
|