?? appraiserquestiontableid.java
字號(hào):
package exam.dao;
/**
* AppraiserQuestionTableId entity. @author MyEclipse Persistence Tools
*/
public class AppraiserQuestionTableId implements java.io.Serializable {
// Fields
private Integer appraiserid;
private Integer questionid;
private Integer testpaperid;
// Constructors
/** default constructor */
public AppraiserQuestionTableId() {
}
/** full constructor */
public AppraiserQuestionTableId(Integer appraiserid, Integer questionid,
Integer testpaperid) {
this.appraiserid = appraiserid;
this.questionid = questionid;
this.testpaperid = testpaperid;
}
// Property accessors
public Integer getAppraiserid() {
return this.appraiserid;
}
public void setAppraiserid(Integer appraiserid) {
this.appraiserid = appraiserid;
}
public Integer getQuestionid() {
return this.questionid;
}
public void setQuestionid(Integer questionid) {
this.questionid = questionid;
}
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 AppraiserQuestionTableId))
return false;
AppraiserQuestionTableId castOther = (AppraiserQuestionTableId) other;
return ((this.getAppraiserid() == castOther.getAppraiserid()) || (this
.getAppraiserid() != null
&& castOther.getAppraiserid() != null && this.getAppraiserid()
.equals(castOther.getAppraiserid())))
&& ((this.getQuestionid() == castOther.getQuestionid()) || (this
.getQuestionid() != null
&& castOther.getQuestionid() != null && this
.getQuestionid().equals(castOther.getQuestionid())))
&& ((this.getTestpaperid() == castOther.getTestpaperid()) || (this
.getTestpaperid() != null
&& castOther.getTestpaperid() != null && this
.getTestpaperid().equals(castOther.getTestpaperid())));
}
public int hashCode() {
int result = 17;
result = 37
* result
+ (getAppraiserid() == null ? 0 : this.getAppraiserid()
.hashCode());
result = 37
* result
+ (getQuestionid() == null ? 0 : this.getQuestionid()
.hashCode());
result = 37
* result
+ (getTestpaperid() == null ? 0 : this.getTestpaperid()
.hashCode());
return result;
}
}
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -