⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 abstractbook.java

📁 在线读书交流平台
💻 JAVA
字号:
package com.olr.beans;

import java.util.Date;
import java.util.HashSet;
import java.util.Set;

/**
 * AbstractBook entity provides the base persistence definition of the Book
 * entity.
 * 
 * @author MyEclipse Persistence Tools
 */

public abstract class AbstractBook implements java.io.Serializable {

	// Fields

	private Integer bookId;
	private String bookname;
	private String writer;
	private Integer userId;
	private Integer status;
	private Integer price;
	private String category;
	private Integer clickCount;
	private Integer recomCount;
	private Date updateTime;
	private Integer wordCount;
	private String lastChapter;
	private Integer chapterCount;
	private String imagePath;
	private String discription;
	private String notice;
	private String label;
	private Set<Chapter> chapters=new HashSet();
    private Set<User> Subscribers=new HashSet();
	// Constructors

	/** default constructor */
	public AbstractBook() {
	}

	/** minimal constructor */
	public AbstractBook(String bookname, String writer, Integer status,
			Integer price, Integer chapterCount) {
		this.bookname = bookname;
		this.writer = writer;
		this.status = status;
		this.price = price;
		this.chapterCount = chapterCount;
	}

	/** full constructor */
	public AbstractBook(String bookname, String writer, Integer userId,
			Integer status, Integer price, String category, Integer clickCount,
			Integer recomCount, Date updateTime, Integer wordCount,
			String lastChapter, Integer chapterCount, String imagePath,
			String discription, String notice, String label) {
		this.bookname = bookname;
		this.writer = writer;
		this.userId = userId;
		this.status = status;
		this.price = price;
		this.category = category;
		this.clickCount = clickCount;
		this.recomCount = recomCount;
		this.updateTime = updateTime;
		this.wordCount = wordCount;
		this.lastChapter = lastChapter;
		this.chapterCount = chapterCount;
		this.imagePath = imagePath;
		this.discription = discription;
		this.notice = notice;
		this.label = label;
	}

	// Property accessors

	public Integer getBookId() {
		return this.bookId;
	}

	public void setBookId(Integer bookId) {
		this.bookId = bookId;
	}

	public String getBookname() {
		return this.bookname;
	}

	public void setBookname(String bookname) {
		this.bookname = bookname;
	}

	public String getWriter() {
		return this.writer;
	}

	public void setWriter(String writer) {
		this.writer = writer;
	}

	public Integer getUserId() {
		return this.userId;
	}

	public void setUserId(Integer userId) {
		this.userId = userId;
	}

	public Integer getStatus() {
		return this.status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

	public Integer getPrice() {
		return this.price;
	}

	public void setPrice(Integer price) {
		this.price = price;
	}

	public String getCategory() {
		return this.category;
	}

	public void setCategory(String category) {
		this.category = category;
	}

	public Integer getClickCount() {
		return this.clickCount;
	}

	public void setClickCount(Integer clickCount) {
		this.clickCount = clickCount;
	}

	public Integer getRecomCount() {
		return this.recomCount;
	}

	public void setRecomCount(Integer recomCount) {
		this.recomCount = recomCount;
	}

	public Date getUpdateTime() {
		return this.updateTime;
	}

	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}

	public Integer getWordCount() {
		return this.wordCount;
	}

	public void setWordCount(Integer wordCount) {
		this.wordCount = wordCount;
	}

	public String getLastChapter() {
		return this.lastChapter;
	}

	public void setLastChapter(String lastChapter) {
		this.lastChapter = lastChapter;
	}

	public Integer getChapterCount() {
		return this.chapterCount;
	}

	public void setChapterCount(Integer chapterCount) {
		this.chapterCount = chapterCount;
	}

	public String getImagePath() {
		return this.imagePath;
	}

	public void setImagePath(String imagePath) {
		this.imagePath = imagePath;
	}

	public String getDiscription() {
		return this.discription;
	}

	public void setDiscription(String discription) {
		this.discription = discription;
	}

	public String getNotice() {
		return this.notice;
	}

	public void setNotice(String notice) {
		this.notice = notice;
	}

	public String getLabel() {
		return this.label;
	}

	public void setLabel(String label) {
		this.label = label;
	}

	public Set<Chapter> getChapters() {
		return chapters;
	}

	public void setChapters(Set<Chapter> chapters) {
		this.chapters = chapters;
	}

	public Set<User> getSubscribers() {
		return Subscribers;
	}

	public void setSubscribers(Set<User> subscribers) {
		Subscribers = subscribers;
	}

}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -