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

📄 course.java

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

	private long categoryID;	// The id of the course category
	private long id;			// The course id
	private String name;		// Course name
	private String imagePath;	// The path of the course image
	private String desc;		// The description of the image

	public Course() {}
	public Course(long cID) {this.categoryID = cID;}
	public Course(long cID, long id) {
		this.categoryID = cID;
		this.id = id;
	}

	public long getCategoryID() {
		return categoryID;
	}
	public void setCategoryID(long categoryID) {
		this.categoryID = categoryID;
	}
	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 getImagePath() {
		return imagePath;
	}
	public void setImagePath(String imagePath) {
		this.imagePath = imagePath;
	}
	public String getDesc() {
		return desc;
	}
	public void setDesc(String desc) {
		this.desc = desc;
	}



}

⌨️ 快捷键说明

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