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

📄 abstractsys用户角色表id.java

📁 医院信息系统(Hospital Information System
💻 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 + -