?? testusertableid.java
字號(hào):
package exam.dao;
/**
* TestuserTableId entity. @author MyEclipse Persistence Tools
*/
public class TestuserTableId implements java.io.Serializable {
// Fields
private Integer testid;
private Integer testpaperid;
// Constructors
/** default constructor */
public TestuserTableId() {
}
/** full constructor */
public TestuserTableId(Integer testid, Integer testpaperid) {
this.testid = testid;
this.testpaperid = testpaperid;
}
// Property accessors
public Integer getTestid() {
return this.testid;
}
public void setTestid(Integer testid) {
this.testid = testid;
}
public Integer getTestpaperid() {
return this.testpaperid;
}
public void setTestpaperid(Integer testpaperid) {
this.testpaperid = testpaperid;
}
public boolean equals(Object other) {
if ((this == other))
return true;
if ((other == null))
return false;
if (!(other instanceof TestuserTableId))
return false;
TestuserTableId castOther = (TestuserTableId) other;
return ((this.getTestid() == castOther.getTestid()) || (this
.getTestid() != null
&& castOther.getTestid() != null && this.getTestid().equals(
castOther.getTestid())))
&& ((this.getTestpaperid() == castOther.getTestpaperid()) || (this
.getTestpaperid() != null
&& castOther.getTestpaperid() != null && this
.getTestpaperid().equals(castOther.getTestpaperid())));
}
public int hashCode() {
int result = 17;
result = 37 * result
+ (getTestid() == null ? 0 : this.getTestid().hashCode());
result = 37
* result
+ (getTestpaperid() == null ? 0 : this.getTestpaperid()
.hashCode());
return result;
}
}
?? 快捷鍵說(shuō)明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -