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

📄 abstractchapter.java

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

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

/**
 * AbstractChapter entity provides the base persistence definition of the
 * Chapter entity.
 * 
 * @author MyEclipse Persistence Tools
 */

public abstract class AbstractChapter  implements java.io.Serializable {

	// Fields

	private Integer chapterId;
	private String chapterName;
	private Integer bookId;
	private Integer chapterNum;
	private String chapterText;
	private Date postdate;
	
	private Set<Comment> comments=new HashSet();

	// Constructors

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

	/** minimal constructor */
	public AbstractChapter(String chapterName, Integer bookId,
			Integer chapterNum) {
		this.chapterName = chapterName;
		this.bookId = bookId;
		this.chapterNum = chapterNum;
	}

	/** full constructor */
	public AbstractChapter(String chapterName, Integer bookId,
			Integer chapterNum, String chapterText, Date postdate) {
		this.chapterName = chapterName;
		this.bookId = bookId;
		this.chapterNum = chapterNum;
		this.chapterText = chapterText;
		this.postdate = postdate;
	}

	// Property accessors

	public Integer getChapterId() {
		return this.chapterId;
	}

	public void setChapterId(Integer chapterId) {
		this.chapterId = chapterId;
	}

	public String getChapterName() {
		return this.chapterName;
	}

	public void setChapterName(String chapterName) {
		this.chapterName = chapterName;
	}

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

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

	public Integer getChapterNum() {
		return this.chapterNum;
	}

	public void setChapterNum(Integer chapterNum) {
		this.chapterNum = chapterNum;
	}

	public String getChapterText() {
		return this.chapterText;
	}

	public void setChapterText(String chapterText) {
		this.chapterText = chapterText;
	}

	public Date getPostdate() {
		return this.postdate;
	}

	public void setPostdate(Date postdate) {
		this.postdate = postdate;
	}

	public Set<Comment> getComments() {
		return comments;
	}

	public void setComments(Set<Comment> comments) {
		this.comments = comments;
	}

}

⌨️ 快捷键说明

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