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

📄 mgrkindid.java

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



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

public class MgrKindId  implements java.io.Serializable {


    // Fields    

     private Long year;
     private Long month;
     private String kindId;


    // Constructors

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

    

   
    // Property accessors

    public Long getYear() {
        return this.year;
    }
    
    public void setYear(Long year) {
        this.year = year;
    }

    public Long getMonth() {
        return this.month;
    }
    
    public void setMonth(Long month) {
        this.month = month;
    }

    public String getKindId() {
        return this.kindId;
    }
    
    public void setKindId(String kindId) {
        this.kindId = kindId;
    }
   



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





}

⌨️ 快捷键说明

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