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

📄 roletypemgrroletypeid.java

📁 使用spring ,hibernate 框架的稽查管理系统
💻 JAVA
字号:
package com.je.ims.hibernate;



/**
 * RoleTypeMgrRoleTypeId generated by MyEclipse - Hibernate Tools
 */

public class RoleTypeMgrRoleTypeId  implements java.io.Serializable {


    // Fields    

     private Long roleTypeId;
     private Long mgrRoleTypeId;


    // Constructors

    /** default constructor */
    public RoleTypeMgrRoleTypeId() {
    }

    

   
    // Property accessors

    public Long getRoleTypeId() {
        return this.roleTypeId;
    }
    
    public void setRoleTypeId(Long roleTypeId) {
        this.roleTypeId = roleTypeId;
    }

    public Long getMgrRoleTypeId() {
        return this.mgrRoleTypeId;
    }
    
    public void setMgrRoleTypeId(Long mgrRoleTypeId) {
        this.mgrRoleTypeId = mgrRoleTypeId;
    }
   



   public boolean equals(Object other) {
         if ( (this == other ) ) return true;
		 if ( (other == null ) ) return false;
		 if ( !(other instanceof RoleTypeMgrRoleTypeId) ) return false;
		 RoleTypeMgrRoleTypeId castOther = ( RoleTypeMgrRoleTypeId ) other; 
         
		 return ( (this.getRoleTypeId()==castOther.getRoleTypeId()) || ( this.getRoleTypeId()!=null && castOther.getRoleTypeId()!=null && this.getRoleTypeId().equals(castOther.getRoleTypeId()) ) )
 && ( (this.getMgrRoleTypeId()==castOther.getMgrRoleTypeId()) || ( this.getMgrRoleTypeId()!=null && castOther.getMgrRoleTypeId()!=null && this.getMgrRoleTypeId().equals(castOther.getMgrRoleTypeId()) ) );
   }
   
   public int hashCode() {
         int result = 17;
         
         result = 37 * result + ( getRoleTypeId() == null ? 0 : this.getRoleTypeId().hashCode() );
         result = 37 * result + ( getMgrRoleTypeId() == null ? 0 : this.getMgrRoleTypeId().hashCode() );
         return result;
   }   





}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -