⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 roleandmenu.java

📁 这是一个用java三层框架做的ISS学员管理系统
💻 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 + -