You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
103 lines
2.6 KiB
103 lines
2.6 KiB
package com.ssm.ioc;
|
|
|
|
public class ClassEntity {
|
|
private Integer classId; // 班级ID
|
|
private String className; // 班级名称
|
|
private String grade; // 年级
|
|
private String major; // 专业
|
|
private String teacher; // 班主任
|
|
private Integer studentCount; // 学生人数
|
|
private String description; // 班级描述
|
|
|
|
public Integer getClassId() {
|
|
return classId;
|
|
}
|
|
|
|
public void setClassId(Integer classId) {
|
|
this.classId = classId;
|
|
}
|
|
|
|
public String getClassName() {
|
|
return className;
|
|
}
|
|
|
|
public void setClassName(String className) {
|
|
this.className = className;
|
|
}
|
|
|
|
public String getGrade() {
|
|
return grade;
|
|
}
|
|
|
|
public void setGrade(String grade) {
|
|
this.grade = grade;
|
|
}
|
|
|
|
public String getMajor() {
|
|
return major;
|
|
}
|
|
|
|
public void setMajor(String major) {
|
|
this.major = major;
|
|
}
|
|
|
|
public String getTeacher() {
|
|
return teacher;
|
|
}
|
|
|
|
public void setTeacher(String teacher) {
|
|
this.teacher = teacher;
|
|
}
|
|
|
|
public Integer getStudentCount() {
|
|
return studentCount;
|
|
}
|
|
|
|
public void setStudentCount(Integer studentCount) {
|
|
this.studentCount = studentCount;
|
|
}
|
|
|
|
public String getDescription() {
|
|
return description;
|
|
}
|
|
|
|
public void setDescription(String description) {
|
|
this.description = description;
|
|
}
|
|
|
|
@Override
|
|
public String toString() {
|
|
return "ClassEntity{" +
|
|
"classId=" + classId +
|
|
", className='" + className + '\'' +
|
|
", grade='" + grade + '\'' +
|
|
", major='" + major + '\'' +
|
|
", teacher='" + teacher + '\'' +
|
|
", studentCount=" + studentCount +
|
|
", description='" + description + '\'' +
|
|
'}';
|
|
}
|
|
|
|
public ClassEntity(Integer classId, String className, String grade, String major, String teacher, Integer studentCount, String description) {
|
|
this.classId = classId;
|
|
this.className = className;
|
|
this.grade = grade;
|
|
this.major = major;
|
|
this.teacher = teacher;
|
|
this.studentCount = studentCount;
|
|
this.description = description;
|
|
}
|
|
|
|
public ClassEntity(String className, String grade, String major, String teacher, Integer studentCount, String description) {
|
|
this.className = className;
|
|
this.grade = grade;
|
|
this.major = major;
|
|
this.teacher = teacher;
|
|
this.studentCount = studentCount;
|
|
this.description = description;
|
|
}
|
|
|
|
public ClassEntity() {
|
|
}
|
|
}
|