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

📄 msg2tpcid.java

📁 使用java开发的简易论坛
💻 JAVA
字号:
package mokoda.entity;



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

public class Msg2tpcId  implements java.io.Serializable {


    // Fields    

     private Integer msgid;
     private Integer tpcid;


    // Constructors

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

    
    /** full constructor */
    public Msg2tpcId(Integer msgid, Integer tpcid) {
        this.msgid = msgid;
        this.tpcid = tpcid;
    }

   
    // Property accessors

    public Integer getMsgid() {
        return this.msgid;
    }
    
    public void setMsgid(Integer msgid) {
        this.msgid = msgid;
    }

    public Integer getTpcid() {
        return this.tpcid;
    }
    
    public void setTpcid(Integer tpcid) {
        this.tpcid = tpcid;
    }
   



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





}

⌨️ 快捷键说明

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