📄 dengjikaoshi.java
字号:
package dengjiKaoShi;
import java.io.Serializable;
import java.io.UnsupportedEncodingException;
public class DengjiKaoShi implements Serializable {
private String studentId;
private String rankType;
private String rankType1;
private String examTime;
private String examAddress;
private String score;
public String getStudentId() {
return studentId;
}
public String getRankType() {
return rankType;
}
public String getExamTime() {
return examTime;
}
public String getExamAddress() {
return examAddress;
}
public String getScore() {
return score;
}
//set方法
public void setStudentId(String studentId) {
this.studentId = studentId;
}
public void setRankType(String rankType) throws
UnsupportedEncodingException {
this.rankType = new String(rankType.getBytes("iso-8859-1")).trim();
}
public void setExamTime(String examTime) {
this.examTime = examTime;
}
public void setExamAddress(String examAddress) throws
UnsupportedEncodingException {
this.examAddress = new String(examAddress.getBytes("iso-8859-1")).trim();
}
public void setScore(String score) throws UnsupportedEncodingException {
this.score = new String(score.getBytes("iso-8859-1")).trim();
}
public void setRankType1(String rankType1) throws Exception {
if (rankType == null) {
this.rankType = new String(rankType1.getBytes("iso-8859-1"));
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -