📄 abstractsys角色菜单表id.java
字号:
package hospital.Model;
/**
* AbstractSys角色菜单表Id generated by MyEclipse - Hibernate Tools
*/
public abstract class AbstractSys角色菜单表Id implements java.io.Serializable {
// Fields
private Sys菜单表 sys菜单表;
private Sys角色表 sys角色表;
// Constructors
/** default constructor */
public AbstractSys角色菜单表Id() {
}
/** full constructor */
public AbstractSys角色菜单表Id(Sys菜单表 sys菜单表, Sys角色表 sys角色表) {
this.sys菜单表 = sys菜单表;
this.sys角色表 = sys角色表;
}
// Property accessors
public Sys菜单表 getSys菜单表() {
return this.sys菜单表;
}
public void setSys菜单表(Sys菜单表 sys菜单表) {
this.sys菜单表 = sys菜单表;
}
public Sys角色表 getSys角色表() {
return this.sys角色表;
}
public void setSys角色表(Sys角色表 sys角色表) {
this.sys角色表 = sys角色表;
}
public boolean equals(Object other) {
if ( (this == other ) ) return true;
if ( (other == null ) ) return false;
if ( !(other instanceof AbstractSys角色菜单表Id) ) return false;
AbstractSys角色菜单表Id castOther = ( AbstractSys角色菜单表Id ) other;
return ( (this.getSys菜单表()==castOther.getSys菜单表()) || ( this.getSys菜单表()!=null && castOther.getSys菜单表()!=null && this.getSys菜单表().equals(castOther.getSys菜单表()) ) ) && ( (this.getSys角色表()==castOther.getSys角色表()) || ( this.getSys角色表()!=null && castOther.getSys角色表()!=null && this.getSys角色表().equals(castOther.getSys角色表()) ) );
}
public int hashCode() {
int result = 17;
result = 37 * result + ( getSys菜单表() == null ? 0 : this.getSys菜单表().hashCode() );
result = 37 * result + ( getSys角色表() == null ? 0 : this.getSys角色表().hashCode() );
return result;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -