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

📄 bulletinurlid.java

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



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

public class BulletinUrlId  implements java.io.Serializable {


    // Fields    

     private Long bullentinId;
     private String url;


    // Constructors

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

    

   
    // Property accessors

    public Long getBullentinId() {
        return this.bullentinId;
    }
    
    public void setBullentinId(Long bullentinId) {
        this.bullentinId = bullentinId;
    }

    public String getUrl() {
        return this.url;
    }
    
    public void setUrl(String url) {
        this.url = url;
    }
   



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





}

⌨️ 快捷键说明

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