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

📄 chapter.java

📁 一个在线学习系统的服务端SERVLET程序
💻 JAVA
字号:
package eols.bean.course;
/**
 * Information of a specific chapter, such as name, description
 *
 * @author Fasheng Qiu
 *
 */
public class Chapter {

	private long categoryID;	// Category id
	private long courseID;		// Course id
	private long id;			// Chapter id
	private String name;		// Chapter name
	private String desc;		// Chapter description

	public Chapter() {}
	public Chapter(long categoryID, long courseID) {
		this.categoryID = categoryID;
		this.courseID = courseID;
	}
	public Chapter(long categoryID, long courseID,
			long chapterID){
		this.categoryID = categoryID;
		this.courseID = courseID;
		this.id = chapterID;
	}

	public long getCategoryID() {
		return categoryID;
	}
	public void setCategoryID(long categoryID) {
		this.categoryID = categoryID;
	}
	public long getCourseID() {
		return courseID;
	}
	public void setCourseID(long courseID) {
		this.courseID = courseID;
	}
	public long getId() {
		return id;
	}
	public void setId(long id) {
		this.id = id;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getDesc() {
		return desc;
	}
	public void setDesc(String desc) {
		this.desc = desc;
	}
}

⌨️ 快捷键说明

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