📄 topic.java
字号:
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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -