📄 userandrole.java
字号:
package com.isoftstone.isscrmweb.web.mapping;
/**
* Userandrole generated by MyEclipse - Hibernate Tools
*/
public class Userandrole extends org.pontifex.web.mapping.PageInfo implements java.io.Serializable {
// Fields
private Userinfo userinfo;
private Roleinfo roleinfo;
// Constructors
/** default constructor */
public Userandrole() {
}
/** full constructor */
public Userandrole(Userinfo userinfo, Roleinfo roleinfo) {
this.userinfo = userinfo;
this.roleinfo = roleinfo;
}
// Property accessors
public Userinfo getUserinfo() {
return this.userinfo;
}
public void setUserinfo(Userinfo userinfo) {
this.userinfo = userinfo;
}
public Roleinfo getRoleinfo() {
return this.roleinfo;
}
public void setRoleinfo(Roleinfo roleinfo) {
this.roleinfo = roleinfo;
}
public boolean equals(Object other) {
if ( (this == other ) ) return true;
if ( (other == null ) ) return false;
if ( !(other instanceof Userandrole) ) return false;
Userandrole castOther = ( Userandrole ) other;
return ( (this.getUserinfo()==castOther.getUserinfo()) || ( this.getUserinfo()!=null && castOther.getUserinfo()!=null && this.getUserinfo().equals(castOther.getUserinfo()) ) )
&& ( (this.getRoleinfo()==castOther.getRoleinfo()) || ( this.getRoleinfo()!=null && castOther.getRoleinfo()!=null && this.getRoleinfo().equals(castOther.getRoleinfo()) ) );
}
public int hashCode() {
int result = 17;
result = 37 * result + ( getUserinfo() == null ? 0 : this.getUserinfo().hashCode() );
result = 37 * result + ( getRoleinfo() == null ? 0 : this.getRoleinfo().hashCode() );
return result;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -