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

📄 advicedealid.java

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



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

public class AdviceDealId  implements java.io.Serializable {


    // Fields    

     private Long notionId;
     private Long foundItem;
     private Long item;
     private Long version;


    // Constructors

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

    

   
    // Property accessors

    public Long getNotionId() {
        return this.notionId;
    }
    
    public void setNotionId(Long notionId) {
        this.notionId = notionId;
    }

    public Long getFoundItem() {
        return this.foundItem;
    }
    
    public void setFoundItem(Long foundItem) {
        this.foundItem = foundItem;
    }

    public Long getItem() {
        return this.item;
    }
    
    public void setItem(Long item) {
        this.item = item;
    }

    public Long getVersion() {
        return this.version;
    }
    
    public void setVersion(Long version) {
        this.version = version;
    }
   



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





}

⌨️ 快捷键说明

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