?? forum.java
字號:
package src.com.laoer.bbscs.bean;
import java.io.Serializable;
import org.apache.commons.lang.builder.EqualsBuilder;
import org.apache.commons.lang.builder.HashCodeBuilder;
import org.apache.commons.lang.builder.ToStringBuilder;
/**
* <p>Title: TianYi BBS</p>
* <p>Description: TianYi BBS System</p>
* <p>Copyright: Copyright (c) 2004</p>
* <p>Company: LAOER.COM/TIANYISOFT.NET</p>
* @author laoer
* @version 6.0
*/
public class Forum
implements Serializable {
/** identifier field */
private Long id;
/** persistent field */
private long id1;
/** persistent field */
private long id2;
/** nullable persistent field */
private long boardID;
/** nullable persistent field */
private String boardName;
/** nullable persistent field */
private int reNum;
/** nullable persistent field */
private short face;
/** nullable persistent field */
private long userID;
/** nullable persistent field */
private String userName;
/** nullable persistent field */
private String title;
/** nullable persistent field */
private String detail;
/** nullable persistent field */
private String sign;
/** nullable persistent field */
private int artSize;
/** nullable persistent field */
private short emailInform;
/** nullable persistent field */
private short msgInform;
/** nullable persistent field */
private int click;
/** nullable persistent field */
private long postTime;
/** nullable persistent field */
private long lastTime;
/** nullable persistent field */
private String ipAddress;
/** nullable persistent field */
private String vtime;
/** nullable persistent field */
private short isNew;
/** nullable persistent field */
private String nickName;
/** nullable persistent field */
private long elite;
/** nullable persistent field */
private long eliteID;
/** nullable persistent field */
private int agree;
/** nullable persistent field */
private int beAgainst;
/** nullable persistent field */
private short canNotDel;
/** nullable persistent field */
private short delSign;
/** nullable persistent field */
private long delUserID;
/** nullable persistent field */
private String delUserName;
/** nullable persistent field */
private long delTime;
/** nullable persistent field */
private String delIP;
/** nullable persistent field */
private short canNotRe;
/** nullable persistent field */
private String amend;
/** nullable persistent field */
private String doEliteName;
/** nullable persistent field */
private long doEliteTime;
/** nullable persistent field */
private short havePic;
/** nullable persistent field */
private String picName;
/** nullable persistent field */
private String lastPostUserName;
/** nullable persistent field */
private String lastPostTitle;
/** nullable persistent field */
private short isTop;
/** nullable persistent field */
private short isB;
/** nullable persistent field */
private short isLock;
/** nullable persistent field */
private String lastPostNickName;
/** nullable persistent field */
private short auditing;
/** nullable persistent field */
private short isVote;
/** nullable persistent field */
private int canReadExp;
/** full constructor */
public Forum(long id1, long id2, long boardID, String boardName, int reNum,
short face, long userID, String userName, String title,
String detail, String sign, int artSize, short emailInform,
short msgInform, int click, long postTime, long lastTime,
String ipAddress, String vtime, short isNew, String nickName,
long elite, long eliteID, int agree, int beAgainst,
short canNotDel, short delSign, long delUserID,
String delUserName, long delTime, String delIP, short canNotRe,
String amend, String doEliteName, long doEliteTime,
short havePic, String picName, String lastPostUserName,
String lastPostTitle, short isTop, short isB, short isLock,
String lastPostNickName, short auditing, short isVote,
int canReadExp) {
this.id1 = id1;
this.id2 = id2;
this.boardID = boardID;
this.boardName = boardName;
this.reNum = reNum;
this.face = face;
this.userID = userID;
this.userName = userName;
this.title = title;
this.detail = detail;
this.sign = sign;
this.artSize = artSize;
this.emailInform = emailInform;
this.msgInform = msgInform;
this.click = click;
this.postTime = postTime;
this.lastTime = lastTime;
this.ipAddress = ipAddress;
this.vtime = vtime;
this.isNew = isNew;
this.nickName = nickName;
this.elite = elite;
this.eliteID = eliteID;
this.agree = agree;
this.beAgainst = beAgainst;
this.canNotDel = canNotDel;
this.delSign = delSign;
this.delUserID = delUserID;
this.delUserName = delUserName;
this.delTime = delTime;
this.delIP = delIP;
this.canNotRe = canNotRe;
this.amend = amend;
this.doEliteName = doEliteName;
this.doEliteTime = doEliteTime;
this.havePic = havePic;
this.picName = picName;
this.lastPostUserName = lastPostUserName;
this.lastPostTitle = lastPostTitle;
this.isTop = isTop;
this.isB = isB;
this.isLock = isLock;
this.lastPostNickName = lastPostNickName;
this.auditing = auditing;
this.isVote = isVote;
this.canReadExp = canReadExp;
}
/** default constructor */
public Forum() {
}
/** minimal constructor */
public Forum(long id1, long id2) {
this.id1 = id1;
this.id2 = id2;
}
public Long getId() {
return this.id;
}
public void setId(Long id) {
this.id = id;
}
public long getId1() {
return this.id1;
}
public void setId1(long id1) {
this.id1 = id1;
}
public long getId2() {
return this.id2;
}
public void setId2(long id2) {
this.id2 = id2;
}
public long getBoardID() {
return this.boardID;
}
public void setBoardID(long boardID) {
this.boardID = boardID;
}
public String getBoardName() {
return this.boardName;
}
public void setBoardName(String boardName) {
this.boardName = boardName;
}
public int getReNum() {
return this.reNum;
}
public void setReNum(int reNum) {
this.reNum = reNum;
}
public short getFace() {
return this.face;
}
public void setFace(short face) {
this.face = face;
}
public long getUserID() {
return this.userID;
}
public void setUserID(long userID) {
this.userID = userID;
}
public String getUserName() {
return this.userName;
}
public void setUserName(String userName) {
this.userName = userName;
}
public String getTitle() {
return this.title;
}
public void setTitle(String title) {
this.title = title;
}
public String getDetail() {
return this.detail;
}
public void setDetail(String detail) {
this.detail = detail;
}
public String getSign() {
return this.sign;
}
public void setSign(String sign) {
this.sign = sign;
}
public int getArtSize() {
return this.artSize;
}
public void setArtSize(int artSize) {
this.artSize = artSize;
}
public short getEmailInform() {
return this.emailInform;
}
public void setEmailInform(short emailInform) {
this.emailInform = emailInform;
}
public short getMsgInform() {
return this.msgInform;
}
public void setMsgInform(short msgInform) {
this.msgInform = msgInform;
}
public int getClick() {
return this.click;
}
public void setClick(int click) {
this.click = click;
}
public long getPostTime() {
return this.postTime;
}
public void setPostTime(long postTime) {
this.postTime = postTime;
}
public long getLastTime() {
return this.lastTime;
}
public void setLastTime(long lastTime) {
this.lastTime = lastTime;
}
public String getIpAddress() {
return this.ipAddress;
}
public void setIpAddress(String ipAddress) {
this.ipAddress = ipAddress;
}
public String getVtime() {
return this.vtime;
}
public void setVtime(String vtime) {
this.vtime = vtime;
}
public short getIsNew() {
return this.isNew;
}
public void setIsNew(short isNew) {
this.isNew = isNew;
}
public String getNickName() {
return this.nickName;
}
public void setNickName(String nickName) {
this.nickName = nickName;
}
public long getElite() {
return this.elite;
}
public void setElite(long elite) {
this.elite = elite;
}
public long getEliteID() {
return this.eliteID;
}
public void setEliteID(long eliteID) {
this.eliteID = eliteID;
}
public int getAgree() {
return this.agree;
}
public void setAgree(int agree) {
this.agree = agree;
}
public int getBeAgainst() {
return this.beAgainst;
}
public void setBeAgainst(int beAgainst) {
this.beAgainst = beAgainst;
}
public short getCanNotDel() {
return this.canNotDel;
}
public void setCanNotDel(short canNotDel) {
this.canNotDel = canNotDel;
}
public short getDelSign() {
return this.delSign;
}
public void setDelSign(short delSign) {
this.delSign = delSign;
}
public long getDelUserID() {
return this.delUserID;
}
public void setDelUserID(long delUserID) {
this.delUserID = delUserID;
}
public String getDelUserName() {
return this.delUserName;
}
public void setDelUserName(String delUserName) {
this.delUserName = delUserName;
}
public long getDelTime() {
return this.delTime;
}
public void setDelTime(long delTime) {
this.delTime = delTime;
}
public String getDelIP() {
return this.delIP;
}
public void setDelIP(String delIP) {
this.delIP = delIP;
}
public short getCanNotRe() {
return this.canNotRe;
}
public void setCanNotRe(short canNotRe) {
this.canNotRe = canNotRe;
}
public String getAmend() {
return this.amend;
}
public void setAmend(String amend) {
this.amend = amend;
}
public String getDoEliteName() {
return this.doEliteName;
}
public void setDoEliteName(String doEliteName) {
this.doEliteName = doEliteName;
}
public long getDoEliteTime() {
return this.doEliteTime;
}
public void setDoEliteTime(long doEliteTime) {
this.doEliteTime = doEliteTime;
}
public short getHavePic() {
return this.havePic;
}
public void setHavePic(short havePic) {
this.havePic = havePic;
}
public String getPicName() {
return this.picName;
}
public void setPicName(String picName) {
this.picName = picName;
}
public String getLastPostUserName() {
return this.lastPostUserName;
}
public void setLastPostUserName(String lastPostUserName) {
this.lastPostUserName = lastPostUserName;
}
public String getLastPostTitle() {
return this.lastPostTitle;
}
public void setLastPostTitle(String lastPostTitle) {
this.lastPostTitle = lastPostTitle;
}
public short getIsTop() {
return this.isTop;
}
public void setIsTop(short isTop) {
this.isTop = isTop;
}
public short getIsB() {
return this.isB;
}
public void setIsB(short isB) {
this.isB = isB;
}
public short getIsLock() {
return this.isLock;
}
public void setIsLock(short isLock) {
this.isLock = isLock;
}
public String getLastPostNickName() {
return this.lastPostNickName;
}
public void setLastPostNickName(String lastPostNickName) {
this.lastPostNickName = lastPostNickName;
}
public short getAuditing() {
return this.auditing;
}
public void setAuditing(short auditing) {
this.auditing = auditing;
}
public short getIsVote() {
return this.isVote;
}
public void setIsVote(short isVote) {
this.isVote = isVote;
}
public int getCanReadExp() {
return this.canReadExp;
}
public void setCanReadExp(int canReadExp) {
this.canReadExp = canReadExp;
}
public String toString() {
return new ToStringBuilder(this)
.append("id", getId())
.toString();
}
public boolean equals(Object other) {
if (! (other instanceof Forum)) {
return false;
}
Forum castOther = (Forum) other;
return new EqualsBuilder()
.append(this.getId(), castOther.getId())
.isEquals();
}
public int hashCode() {
return new HashCodeBuilder()
.append(getId())
.toHashCode();
}
}
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -