?? commend.java
字號:
package com.laoer.bbscs.bean;
import java.io.Serializable;import org.apache.commons.lang.builder.ToStringBuilder;
/** @author Hibernate CodeGenerator */
public class Commend implements Serializable {
/** identifier field */
private Long id;
/** nullable persistent field */
private long postID;
/** nullable persistent field */
private long postID2;
/** nullable persistent field */
private long bid;
/** persistent field */
private String title;
/** persistent field */
private short isBull;
/** nullable persistent field */
private String boardName;
/** nullable persistent field */
private long addTime;
/** full constructor */
public Commend(long postID, long postID2, long bid, String title, short isBull, String boardName, long addTime) {
this.postID = postID;
this.postID2 = postID2;
this.bid = bid;
this.title = title;
this.isBull = isBull;
this.boardName = boardName;
this.addTime = addTime;
}
/** default constructor */
public Commend() {
}
/** minimal constructor */
public Commend(String title, short isBull) {
this.title = title;
this.isBull = isBull;
}
public Long getId() {
return this.id;
}
public void setId(Long id) {
this.id = id;
}
public long getPostID() {
return this.postID;
}
public void setPostID(long postID) {
this.postID = postID;
}
public long getPostID2() {
return this.postID2;
}
public void setPostID2(long postID2) {
this.postID2 = postID2;
}
public long getBid() {
return this.bid;
}
public void setBid(long bid) {
this.bid = bid;
}
public String getTitle() {
return this.title;
}
public void setTitle(String title) {
this.title = title;
}
public short getIsBull() {
return this.isBull;
}
public void setIsBull(short isBull) {
this.isBull = isBull;
}
public String getBoardName() {
return this.boardName;
}
public void setBoardName(String boardName) {
this.boardName = boardName;
}
public long getAddTime() {
return this.addTime;
}
public void setAddTime(long addTime) {
this.addTime = addTime;
}
public String toString() {
return new ToStringBuilder(this)
.append("id", getId())
.toString();
}
}
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -