📄 useruserid.java
字号:
package com.afuer.hib.form;
// default package
/**
* UseruserId generated by hbm2java
*/
public class UseruserId implements java.io.Serializable {
// Fields
private Integer fromid;
private Integer toid;
private String relation;
private String startdate;
private String enddate;
// Constructors
/** default constructor */
public UseruserId() {
}
// Property accessors
public Integer getFromid() {
return this.fromid;
}
public void setFromid(Integer fromid) {
this.fromid = fromid;
}
public Integer getToid() {
return this.toid;
}
public void setToid(Integer toid) {
this.toid = toid;
}
public String getRelation() {
return this.relation;
}
public void setRelation(String relation) {
this.relation = relation;
}
public String getStartdate() {
return this.startdate;
}
public void setStartdate(String startdate) {
this.startdate = startdate;
}
public String getEnddate() {
return this.enddate;
}
public void setEnddate(String enddate) {
this.enddate = enddate;
}
public boolean equals(Object other) {
if ( (this == other ) ) return true;
if ( (other == null ) ) return false;
if ( !(other instanceof UseruserId) ) return false;
UseruserId castOther = ( UseruserId ) other;
return ( (this.getFromid()==castOther.getFromid()) || ( this.getFromid()!=null && castOther.getFromid()!=null && this.getFromid().equals(castOther.getFromid()) ) ) && ( (this.getToid()==castOther.getToid()) || ( this.getToid()!=null && castOther.getToid()!=null && this.getToid().equals(castOther.getToid()) ) ) && ( (this.getRelation()==castOther.getRelation()) || ( this.getRelation()!=null && castOther.getRelation()!=null && this.getRelation().equals(castOther.getRelation()) ) ) && ( (this.getStartdate()==castOther.getStartdate()) || ( this.getStartdate()!=null && castOther.getStartdate()!=null && this.getStartdate().equals(castOther.getStartdate()) ) ) && ( (this.getEnddate()==castOther.getEnddate()) || ( this.getEnddate()!=null && castOther.getEnddate()!=null && this.getEnddate().equals(castOther.getEnddate()) ) );
}
public int hashCode() {
int result = 17;
result = 37 * result + ( getFromid() == null ? 0 : this.getFromid().hashCode() );
result = 37 * result + ( getToid() == null ? 0 : this.getToid().hashCode() );
result = 37 * result + ( getRelation() == null ? 0 : this.getRelation().hashCode() );
result = 37 * result + ( getStartdate() == null ? 0 : this.getStartdate().hashCode() );
result = 37 * result + ( getEnddate() == null ? 0 : this.getEnddate().hashCode() );
return result;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -