topic.java
来自「用JSP+hibernate做的一个MVC的论坛,结构清晰,可扩展性强,适合二次」· Java 代码 · 共 52 行
JAVA
52 行
package org.hibernate.forum;
import java.util.*;
public class Topic{
private Long CategoryID;
private Long id;
private String TopicMsg;
private String TopicAuthor;
public Topic() {
}
public Topic(Long nTID, Long nCID) {
id = nTID;
CategoryID = nCID;
}
public Long getId() {
return this.id;
}
public void setId(Long nID) {
this.id = nID;
}
public Long getCategoryID() {
return this.CategoryID;
}
public String getTopicMsg() {
return this.TopicMsg;
}
public String getTopicAuthor() {
return this.TopicAuthor;
}
public void setCategoryID(Long nID) {
this.CategoryID = nID;
}
public void setTopicMsg(String string) {
this.TopicMsg = string;
}
public void setTopicAuthor(String string) {
this.TopicAuthor = string;
}
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?