📄 friend.java
字号:
// Decompiled by Jad v1.5.7g. Copyright 2000 Pavel Kouznetsov.
// Jad home page: http://www.geocities.com/SiliconValley/Bridge/8617/jad.html
// Decompiler options: packimports(3) fieldsfirst ansi
// Source File Name: Friend.java
package com.laoer.bbscs.bean;
import java.io.Serializable;
import org.apache.commons.lang.builder.*;
public class Friend
implements Serializable
{
private Long id;
private long userID;
private String userName;
private long fid;
private String fname;
private String fcomment;
private short isBlack;
public Friend(long userID, String userName, long fid, String fname, String fcomment,
short isBlack)
{
this.userID = userID;
this.userName = userName;
this.fid = fid;
this.fname = fname;
this.fcomment = fcomment;
this.isBlack = isBlack;
}
public Friend()
{
}
public Friend(long userID, String userName, long fid, String fname, short isBlack)
{
this.userID = userID;
this.userName = userName;
this.fid = fid;
this.fname = fname;
this.isBlack = isBlack;
}
public Long getId()
{
return id;
}
public void setId(Long id)
{
this.id = id;
}
public long getUserID()
{
return userID;
}
public void setUserID(long userID)
{
this.userID = userID;
}
public String getUserName()
{
return userName;
}
public void setUserName(String userName)
{
this.userName = userName;
}
public long getFid()
{
return fid;
}
public void setFid(long fid)
{
this.fid = fid;
}
public String getFname()
{
return fname;
}
public void setFname(String fname)
{
this.fname = fname;
}
public String getFcomment()
{
return fcomment;
}
public void setFcomment(String fcomment)
{
this.fcomment = fcomment;
}
public short getIsBlack()
{
return isBlack;
}
public void setIsBlack(short isBlack)
{
this.isBlack = isBlack;
}
public String toString()
{
return (new ToStringBuilder(this)).append("id", getId()).toString();
}
public boolean equals(Object other)
{
if(!(other instanceof Friend))
{
return false;
} else
{
Friend castOther = (Friend)other;
return (new EqualsBuilder()).append(getId(), castOther.getId()).isEquals();
}
}
public int hashCode()
{
return (new HashCodeBuilder()).append(getId()).toHashCode();
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -