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

📄 membermagicsid.java

📁 论坛软件系统亦称电子公告板(BBS)系统
💻 JAVA
字号:
package cn.jsprun.domain;
public class MembermagicsId  implements java.io.Serializable {

	private static final long serialVersionUID = 1486559030790111110L;
	private Integer uid;
     private Short magicid;

    public MembermagicsId() {
    }

    public MembermagicsId(Integer uid, Short magicid) {
        this.uid = uid;
        this.magicid = magicid;
    }

    public Integer getUid() {
        return this.uid;
    }
    
    public void setUid(Integer uid) {
        this.uid = uid;
    }

    public Short getMagicid() {
        return this.magicid;
    }
    
    public void setMagicid(Short magicid) {
        this.magicid = magicid;
    }



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





}

⌨️ 快捷键说明

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