📄 ttestclass.java
字号:
/*
* 创建日期 2005-4-18
*/
package biz.bluesky.pts.model;
import java.io.Serializable;
import org.apache.commons.lang.builder.EqualsBuilder;
public class TTestClass implements Serializable {
private int testClassId;
private int testId;
private int classId;
private String year;
public TTestClass () {
super();
}
public TTestClass(int testId, int classId, String year) {
super();
this.testId = testId;
this.classId = classId;
this.year = year;
}
public boolean equals(Object object) {
if(!(object instanceof TTestClass)) {
return false;
}
TTestClass other = (TTestClass)object;
return new EqualsBuilder().append(this.getTestId(),other.getTestId()).append(
this.getClassId(),other.getClassId()).append(
this.getYear(),other.getYear()).isEquals();
}
public int getClassId() {
return classId;
}
public void setClassId(int classId) {
this.classId = classId;
}
public int getTestClassId() {
return testClassId;
}
public void setTestClassId(int testClassId) {
this.testClassId = testClassId;
}
public int getTestId() {
return testId;
}
public void setTestId(int testId) {
this.testId = testId;
}
public String getYear() {
return year;
}
public void setYear(String year) {
this.year = year;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -