📄 topic.java
字号:
package cn.ialvin.bbs.bean;
import java.sql.Timestamp;
public class Topic {
private int id;
private String title;
private String content;
private Timestamp post;
private Timestamp update;
private String author;
private boolean inTop;
private int view;
private int reply;
private Timestamp lastReply;
private int forum;
public int getForum() {
return forum;
}
public void setForum(int forum) {
this.forum = forum;
}
public String getAuthor() {
return author;
}
public void setAuthor(String author) {
this.author = author;
}
public String getContent() {
return content;
}
public void setContent(String content) {
this.content = content;
}
public int getId() {
return id;
}
public void setId(int id) {
this.id = id;
}
public boolean isInTop() {
return inTop;
}
public void setInTop(boolean inTop) {
this.inTop = inTop;
}
public Timestamp getLastReply() {
return lastReply;
}
public void setLastReply(Timestamp lastReply) {
this.lastReply = lastReply;
}
public Timestamp getPost() {
return post;
}
public void setPost(Timestamp post) {
this.post = post;
}
public int getReply() {
return reply;
}
public void setReply(int reply) {
this.reply = reply;
}
public String getTitle() {
return title;
}
public void setTitle(String title) {
this.title = title;
}
public Timestamp getUpdate() {
return update;
}
public void setUpdate(Timestamp update) {
this.update = update;
}
public int getView() {
return view;
}
public void setView(int view) {
this.view = view;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -