📄 chapter.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 + -