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