📄 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 + -