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

📄 foundproceedingid.java

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



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

public class FoundProceedingId  implements java.io.Serializable {


    // Fields    

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


    // Constructors

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

    

   
    // Property accessors

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

    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 FoundProceedingId) ) return false;
		 FoundProceedingId castOther = ( FoundProceedingId ) other; 
         
		 return ( (this.getNotionId()==castOther.getNotionId()) || ( this.getNotionId()!=null && castOther.getNotionId()!=null && this.getNotionId().equals(castOther.getNotionId()) ) )
 && ( (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 + ( 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 + -