📄 appraiserquestiontableid.java
字号:
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;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -