attachpaymentlogid.java

来自「论坛软件系统亦称电子公告板(BBS)系统」· Java 代码 · 共 55 行

JAVA
55
字号
package cn.jsprun.domain;

public class AttachpaymentlogId  implements java.io.Serializable {
	private static final long serialVersionUID = 6967529071305792483L;
	private Integer aid;
     private Integer uid;
    public AttachpaymentlogId() {
    }
    public AttachpaymentlogId(Integer aid, Integer uid) {
        this.aid = aid;
        this.uid = uid;
    }

    public Integer getAid() {
        return this.aid;
    }
    
    public void setAid(Integer aid) {
        this.aid = aid;
    }

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



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





}

⌨️ 快捷键说明

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