|
@@ -3,6 +3,8 @@ package com.sf.po;
|
|
import com.baomidou.mybatisplus.annotation.IdType;
|
|
import com.baomidou.mybatisplus.annotation.IdType;
|
|
import com.baomidou.mybatisplus.annotation.TableId;
|
|
import com.baomidou.mybatisplus.annotation.TableId;
|
|
import com.baomidou.mybatisplus.annotation.TableName;
|
|
import com.baomidou.mybatisplus.annotation.TableName;
|
|
|
|
+import lombok.Data;
|
|
|
|
+
|
|
import java.io.Serializable;
|
|
import java.io.Serializable;
|
|
import java.time.LocalDateTime;
|
|
import java.time.LocalDateTime;
|
|
|
|
|
|
@@ -15,6 +17,7 @@ import java.time.LocalDateTime;
|
|
* @since 2024-01-29
|
|
* @since 2024-01-29
|
|
*/
|
|
*/
|
|
@TableName("book_info")
|
|
@TableName("book_info")
|
|
|
|
+@Data
|
|
public class BookInfo implements Serializable {
|
|
public class BookInfo implements Serializable {
|
|
|
|
|
|
private static final long serialVersionUID = 1L;
|
|
private static final long serialVersionUID = 1L;
|
|
@@ -119,190 +122,4 @@ public class BookInfo implements Serializable {
|
|
* 更新时间
|
|
* 更新时间
|
|
*/
|
|
*/
|
|
private LocalDateTime updateTime;
|
|
private LocalDateTime updateTime;
|
|
-
|
|
|
|
- public Long getId() {
|
|
|
|
- return id;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- public void setId(Long id) {
|
|
|
|
- this.id = id;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- public Byte getWorkDirection() {
|
|
|
|
- return workDirection;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- public void setWorkDirection(Byte workDirection) {
|
|
|
|
- this.workDirection = workDirection;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- public Long getCategoryId() {
|
|
|
|
- return categoryId;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- public void setCategoryId(Long categoryId) {
|
|
|
|
- this.categoryId = categoryId;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- public String getCategoryName() {
|
|
|
|
- return categoryName;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- public void setCategoryName(String categoryName) {
|
|
|
|
- this.categoryName = categoryName;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- public String getPicUrl() {
|
|
|
|
- return picUrl;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- public void setPicUrl(String picUrl) {
|
|
|
|
- this.picUrl = picUrl;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- public String getBookName() {
|
|
|
|
- return bookName;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- public void setBookName(String bookName) {
|
|
|
|
- this.bookName = bookName;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- public Long getAuthorId() {
|
|
|
|
- return authorId;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- public void setAuthorId(Long authorId) {
|
|
|
|
- this.authorId = authorId;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- public String getAuthorName() {
|
|
|
|
- return authorName;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- public void setAuthorName(String authorName) {
|
|
|
|
- this.authorName = authorName;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- public String getBookDesc() {
|
|
|
|
- return bookDesc;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- public void setBookDesc(String bookDesc) {
|
|
|
|
- this.bookDesc = bookDesc;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- public Byte getScore() {
|
|
|
|
- return score;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- public void setScore(Byte score) {
|
|
|
|
- this.score = score;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- public Byte getBookStatus() {
|
|
|
|
- return bookStatus;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- public void setBookStatus(Byte bookStatus) {
|
|
|
|
- this.bookStatus = bookStatus;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- public Long getVisitCount() {
|
|
|
|
- return visitCount;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- public void setVisitCount(Long visitCount) {
|
|
|
|
- this.visitCount = visitCount;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- public Integer getWordCount() {
|
|
|
|
- return wordCount;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- public void setWordCount(Integer wordCount) {
|
|
|
|
- this.wordCount = wordCount;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- public Integer getCommentCount() {
|
|
|
|
- return commentCount;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- public void setCommentCount(Integer commentCount) {
|
|
|
|
- this.commentCount = commentCount;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- public Long getLastChapterId() {
|
|
|
|
- return lastChapterId;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- public void setLastChapterId(Long lastChapterId) {
|
|
|
|
- this.lastChapterId = lastChapterId;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- public String getLastChapterName() {
|
|
|
|
- return lastChapterName;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- public void setLastChapterName(String lastChapterName) {
|
|
|
|
- this.lastChapterName = lastChapterName;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- public LocalDateTime getLastChapterUpdateTime() {
|
|
|
|
- return lastChapterUpdateTime;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- public void setLastChapterUpdateTime(LocalDateTime lastChapterUpdateTime) {
|
|
|
|
- this.lastChapterUpdateTime = lastChapterUpdateTime;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- public Byte getIsVip() {
|
|
|
|
- return isVip;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- public void setIsVip(Byte isVip) {
|
|
|
|
- this.isVip = isVip;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- public LocalDateTime getCreateTime() {
|
|
|
|
- return createTime;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- public void setCreateTime(LocalDateTime createTime) {
|
|
|
|
- this.createTime = createTime;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- public LocalDateTime getUpdateTime() {
|
|
|
|
- return updateTime;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- public void setUpdateTime(LocalDateTime updateTime) {
|
|
|
|
- this.updateTime = updateTime;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- @Override
|
|
|
|
- public String toString() {
|
|
|
|
- return "BookInfo{" +
|
|
|
|
- "id = " + id +
|
|
|
|
- ", workDirection = " + workDirection +
|
|
|
|
- ", categoryId = " + categoryId +
|
|
|
|
- ", categoryName = " + categoryName +
|
|
|
|
- ", picUrl = " + picUrl +
|
|
|
|
- ", bookName = " + bookName +
|
|
|
|
- ", authorId = " + authorId +
|
|
|
|
- ", authorName = " + authorName +
|
|
|
|
- ", bookDesc = " + bookDesc +
|
|
|
|
- ", score = " + score +
|
|
|
|
- ", bookStatus = " + bookStatus +
|
|
|
|
- ", visitCount = " + visitCount +
|
|
|
|
- ", wordCount = " + wordCount +
|
|
|
|
- ", commentCount = " + commentCount +
|
|
|
|
- ", lastChapterId = " + lastChapterId +
|
|
|
|
- ", lastChapterName = " + lastChapterName +
|
|
|
|
- ", lastChapterUpdateTime = " + lastChapterUpdateTime +
|
|
|
|
- ", isVip = " + isVip +
|
|
|
|
- ", createTime = " + createTime +
|
|
|
|
- ", updateTime = " + updateTime +
|
|
|
|
- "}";
|
|
|
|
- }
|
|
|
|
}
|
|
}
|