📄 topicform.java
字号:
import javax.servlet.http.HttpServletRequest;
import org.apache.struts.action.ActionErrors;
import org.apache.struts.action.ActionError;
import org.apache.struts.action.ActionForm;
import org.apache.struts.action.ActionMapping;
public class topicForm extends ActionForm implement Topic{
public int getTopicId() {
return topicId;
}
public void setTopicId(int topicId) {
this.topicId = topicId;
}
/**
* 主题名
* @return String
*/
public String getTopicTitle() {
return topicTitle;
}
public void setTopicTitle(String topicTitle) {
this.topicTitle = topicTitle;
}
/**
* 主题内容
* @return String
*/
public String getTopicContent() {
return topicContent;
}
public void setTopicContent(String topicContent) {
this.topicContent = topicContent;
}
/**
* 主题发表者
* @return String
*/
public String getTopicAuthor() {
return topicAuthor;
}
public void setTopicAuthor(String topicAuthor) {
this.topicAuthor = topicAuthor;
}
public String getTopicPubTime() {
return topicPubTime;
}
public void setTopicPubTime(String topicPubTime) {
this.topicPubTime = topicPubTime;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -