BookInfo.java 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114
  1. package com.sf.po;
  2. import com.baomidou.mybatisplus.annotation.IdType;
  3. import com.baomidou.mybatisplus.annotation.TableId;
  4. import com.baomidou.mybatisplus.annotation.TableName;
  5. import lombok.Data;
  6. import java.time.LocalDateTime;
  7. @Data
  8. @TableName("book_info")
  9. public class BookInfo {
  10. /**
  11. * 主键
  12. */
  13. @TableId(value = "id", type = IdType.AUTO)
  14. private Long id;
  15. /**
  16. * 作品方向;0-男频 1-女频
  17. */
  18. private Integer workDirection;
  19. /**
  20. * 类别ID
  21. */
  22. private Long categoryId;
  23. /**
  24. * 类别名
  25. */
  26. private String categoryName;
  27. /**
  28. * 小说封面地址
  29. */
  30. private String picUrl;
  31. /**
  32. * 小说名
  33. */
  34. private String bookName;
  35. /**
  36. * 作家id
  37. */
  38. private Long authorId;
  39. /**
  40. * 作家名
  41. */
  42. private String authorName;
  43. /**
  44. * 书籍描述
  45. */
  46. private String bookDesc;
  47. /**
  48. * 评分;总分:10 ,真实评分 = score/10
  49. */
  50. private Integer score;
  51. /**
  52. * 书籍状态;0-连载中 1-已完结
  53. */
  54. private Integer bookStatus;
  55. /**
  56. * 点击量
  57. */
  58. private Long visitCount;
  59. /**
  60. * 总字数
  61. */
  62. private Integer wordCount;
  63. /**
  64. * 评论数
  65. */
  66. private Integer commentCount;
  67. /**
  68. * 最新章节ID
  69. */
  70. private Long lastChapterId;
  71. /**
  72. * 最新章节名
  73. */
  74. private String lastChapterName;
  75. /**
  76. * 最新章节更新时间
  77. */
  78. private LocalDateTime lastChapterUpdateTime;
  79. /**
  80. * 是否收费;1-收费 0-免费
  81. */
  82. private Integer isVip;
  83. /**
  84. * 创建时间
  85. */
  86. private LocalDateTime createTime;
  87. /**
  88. * 更新时间
  89. */
  90. private LocalDateTime updateTime;
  91. }