📄 content.java
字号:
package eols.bean.course;
/**
* Content of each chapter
*
* @author Fasheng Qiu
*
*/
public class Content {
private long categoryID; // Category ID
private long courseID; // Course ID
private long chapterID; // Chapter ID
private long id; // Content id
private String name; // Content name
private String audioPath; // The audio path of this content
private String vedioPath; // The vedio path of this content
private String imagePath; // The image path of this content
private String publishTime; // The publish time
public Content(){}
public Content(long categoryID, long courseID,
long chapterID, long id) {
this.categoryID = categoryID;
this.courseID = courseID;
this.chapterID = chapterID;
this.id = id;
}
/**
* @return the categoryID
*/
public long getCategoryID() {
return categoryID;
}
/**
* @param categoryID the categoryID to set
*/
public void setCategoryID(long categoryID) {
this.categoryID = categoryID;
}
/**
* @return the courseID
*/
public long getCourseID() {
return courseID;
}
/**
* @param courseID the courseID to set
*/
public void setCourseID(long courseID) {
this.courseID = courseID;
}
public Content(long categoryID, long courseID, long chapterID) {
this.categoryID = categoryID;
this.courseID = courseID;
this.chapterID = chapterID;
}
public long getChapterID() {
return chapterID;
}
public void setChapterID(long chapterID) {
this.chapterID = chapterID;
}
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public String getAudioPath() {
return audioPath;
}
public void setAudioPath(String audioPath) {
this.audioPath = audioPath;
}
public String getVedioPath() {
return vedioPath;
}
public void setVedioPath(String vedioPath) {
this.vedioPath = vedioPath;
}
public String getImagePath() {
return imagePath;
}
public void setImagePath(String imagePath) {
this.imagePath = imagePath;
}
public String getPublishTime() {
return publishTime;
}
public void setPublishTime(String publishTime) {
this.publishTime = publishTime;
}
public long getId() {
return id;
}
public void setId(long id) {
this.id = id;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -