61 lines
1.3 KiB
Java
61 lines
1.3 KiB
Java
package com.bwie.domain;
|
|
|
|
public class Student {
|
|
private Integer studentId;
|
|
private String studentName;
|
|
private String className;
|
|
private Integer score;
|
|
|
|
public Student(Integer studentId, String studentName, String className, Integer score) {
|
|
this.studentId = studentId;
|
|
this.studentName = studentName;
|
|
this.className = className;
|
|
this.score = score;
|
|
}
|
|
|
|
public Student() {
|
|
}
|
|
|
|
public Integer getStudentId() {
|
|
return studentId;
|
|
}
|
|
|
|
public void setStudentId(Integer studentId) {
|
|
this.studentId = studentId;
|
|
}
|
|
|
|
public String getStudentName() {
|
|
return studentName;
|
|
}
|
|
|
|
public void setStudentName(String studentName) {
|
|
this.studentName = studentName;
|
|
}
|
|
|
|
public String getClassName() {
|
|
return className;
|
|
}
|
|
|
|
public void setClassName(String className) {
|
|
this.className = className;
|
|
}
|
|
|
|
public Integer getScore() {
|
|
return score;
|
|
}
|
|
|
|
public void setScore(Integer score) {
|
|
this.score = score;
|
|
}
|
|
|
|
@Override
|
|
public String toString() {
|
|
return "Student{" +
|
|
"," + studentId +
|
|
",'" + studentName + '\'' +
|
|
"," + className + '\'' +
|
|
"," + score +
|
|
'}';
|
|
}
|
|
}
|