📄 roletypemenuid.java
字号:
package com.je.ims.hibernate;
/**
* RoleTypeMenuId generated by MyEclipse - Hibernate Tools
*/
public class RoleTypeMenuId implements java.io.Serializable {
// Fields
private Long roleTypeId;
private String menuId;
// Constructors
/** default constructor */
public RoleTypeMenuId() {
}
// Property accessors
public Long getRoleTypeId() {
return this.roleTypeId;
}
public void setRoleTypeId(Long roleTypeId) {
this.roleTypeId = roleTypeId;
}
public String getMenuId() {
return this.menuId;
}
public void setMenuId(String menuId) {
this.menuId = menuId;
}
public boolean equals(Object other) {
if ( (this == other ) ) return true;
if ( (other == null ) ) return false;
if ( !(other instanceof RoleTypeMenuId) ) return false;
RoleTypeMenuId castOther = ( RoleTypeMenuId ) other;
return ( (this.getRoleTypeId()==castOther.getRoleTypeId()) || ( this.getRoleTypeId()!=null && castOther.getRoleTypeId()!=null && this.getRoleTypeId().equals(castOther.getRoleTypeId()) ) )
&& ( (this.getMenuId()==castOther.getMenuId()) || ( this.getMenuId()!=null && castOther.getMenuId()!=null && this.getMenuId().equals(castOther.getMenuId()) ) );
}
public int hashCode() {
int result = 17;
result = 37 * result + ( getRoleTypeId() == null ? 0 : this.getRoleTypeId().hashCode() );
result = 37 * result + ( getMenuId() == null ? 0 : this.getMenuId().hashCode() );
return result;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -