添加课程实体类

Signed-off-by: Chenx221 <chenx221@yandex.com>
This commit is contained in:
Chenx221 2023-06-09 20:09:55 +08:00
parent c1a9b35059
commit 166b4a6095

View File

@ -0,0 +1,48 @@
package cyou.chenx221.pojo;
public class course {
private Integer CourseID; //课程ID
private String CourseName; //课程名
private String Description; //课程描述
public course(String courseName, String description) {
CourseName = courseName;
Description = description;
}
public course() {
}
public Integer getCourseID() {
return CourseID;
}
public void setCourseID(Integer courseID) {
CourseID = courseID;
}
public String getCourseName() {
return CourseName;
}
public void setCourseName(String courseName) {
CourseName = courseName;
}
public String getDescription() {
return Description;
}
public void setDescription(String description) {
Description = description;
}
@Override
public String toString() {
return "course{" +
"CourseID=" + CourseID +
", CourseName='" + CourseName + '\'' +
", Description='" + Description + '\'' +
'}';
}
}