parent
0c6a6d1a59
commit
08bbed4d41
@ -0,0 +1,90 @@
|
|||||||
|
package org.wlld;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @author lidapeng
|
||||||
|
* @description
|
||||||
|
* @date 3:37 下午 2020/3/6
|
||||||
|
*/
|
||||||
|
public class Student {//特征是离散值,所以实体类里所有的基础类别都是整型
|
||||||
|
private int math;
|
||||||
|
private int eng;
|
||||||
|
private int word;
|
||||||
|
private int history;
|
||||||
|
private int h1;
|
||||||
|
private int h2;
|
||||||
|
private int h3;
|
||||||
|
private int h4;
|
||||||
|
private int point;
|
||||||
|
|
||||||
|
public int getMath() {
|
||||||
|
return math;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setMath(int math) {
|
||||||
|
this.math = math;
|
||||||
|
}
|
||||||
|
|
||||||
|
public int getEng() {
|
||||||
|
return eng;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setEng(int eng) {
|
||||||
|
this.eng = eng;
|
||||||
|
}
|
||||||
|
|
||||||
|
public int getWord() {
|
||||||
|
return word;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setWord(int word) {
|
||||||
|
this.word = word;
|
||||||
|
}
|
||||||
|
|
||||||
|
public int getHistory() {
|
||||||
|
return history;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setHistory(int history) {
|
||||||
|
this.history = history;
|
||||||
|
}
|
||||||
|
|
||||||
|
public int getH1() {
|
||||||
|
return h1;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setH1(int h1) {
|
||||||
|
this.h1 = h1;
|
||||||
|
}
|
||||||
|
|
||||||
|
public int getH2() {
|
||||||
|
return h2;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setH2(int h2) {
|
||||||
|
this.h2 = h2;
|
||||||
|
}
|
||||||
|
|
||||||
|
public int getH3() {
|
||||||
|
return h3;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setH3(int h3) {
|
||||||
|
this.h3 = h3;
|
||||||
|
}
|
||||||
|
|
||||||
|
public int getH4() {
|
||||||
|
return h4;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setH4(int h4) {
|
||||||
|
this.h4 = h4;
|
||||||
|
}
|
||||||
|
|
||||||
|
public int getPoint() {
|
||||||
|
return point;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setPoint(int point) {
|
||||||
|
this.point = point;
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in new issue