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

📄 chiefreportadditionid.java

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



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

public class ChiefReportAdditionId  implements java.io.Serializable {


    // Fields    

     private Long chiefReportAdditionId;
     private Long orgReportId;


    // Constructors

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

    

   
    // Property accessors

    public Long getChiefReportAdditionId() {
        return this.chiefReportAdditionId;
    }
    
    public void setChiefReportAdditionId(Long chiefReportAdditionId) {
        this.chiefReportAdditionId = chiefReportAdditionId;
    }

    public Long getOrgReportId() {
        return this.orgReportId;
    }
    
    public void setOrgReportId(Long orgReportId) {
        this.orgReportId = orgReportId;
    }
   



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





}

⌨️ 快捷键说明

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