package model; import java.io.Serializable; import java.util.List; public class Novel implements Serializable { private static final long serialVersionUID = 1L; private String siteName; private String title; private String author; private String link; private String category; private String wordCount; private String status; private String introduction; private Author authorInfo; private List topComments; private Integer rank; public String getSiteName() { return siteName; } public void setSiteName(String siteName) { this.siteName = siteName; } public String getTitle() { return title; } public void setTitle(String title) { this.title = title; } public String getAuthor() { return author; } public void setAuthor(String author) { this.author = author; } public String getLink() { return link; } public void setLink(String link) { this.link = link; } public String getCategory() { return category; } public void setCategory(String category) { this.category = category; } public String getWordCount() { return wordCount; } public void setWordCount(String wordCount) { this.wordCount = wordCount; } public String getStatus() { return status; } public void setStatus(String status) { this.status = status; } public String getIntroduction() { return introduction; } public void setIntroduction(String introduction) { this.introduction = introduction; } public Author getAuthorInfo() { return authorInfo; } public void setAuthorInfo(Author authorInfo) { this.authorInfo = authorInfo; } public List getTopComments() { return topComments; } public void setTopComments(List topComments) { this.topComments = topComments; } public Integer getRank() { return rank; } public void setRank(Integer rank) { this.rank = rank; } @Override public String toString() { return "Novel{" + "siteName='" + siteName + '\'' + ", rank=" + rank + ", title='" + title + '\'' + ", author='" + author + '\'' + ", category='" + category + '\'' + ", wordCount='" + wordCount + '\'' + ", status='" + status + '\'' + '}'; } }