📄 replyactionform.java
字号:
package com.ntsky.bbs.form;
import org.apache.struts.action.*;
import javax.servlet.http.*;
/**
* <p>Title: Ntsky OpenSource BBS</p>
* <p>Description: 帖子主题</p>
* <p>Copyright: Copyright (c) 2004</p>
* <p>Company: WWW.FM880.COM</p>
* @author 姚君林
* @version 1.0
*/
public class ReplyActionForm extends ActionForm {
private String repUsrName;
private String repContent;
private String repTime;
private String repIp;
private int repId;
private int repTopicId;
private String action;
public ActionErrors validate(ActionMapping actionMapping,
HttpServletRequest httpServletRequest) {
/**@todo: finish this method, this is just the skeleton.*/
return null;
}
public void reset(ActionMapping actionMapping,
HttpServletRequest httpServletRequest) {
}
/**
* 回复ID
* @return String
*/
public int getRepId() {
return repId;
}
public void setRepId(int repId) {
this.repId = repId;
}
/**
* 隶属的主题
* @return String
*/
public int getRepTopicId() {
return repTopicId;
}
public void setRepTopicId(int repTopicId) {
this.repTopicId = repTopicId;
}
/**
* 用户ID
* @return String
*/
public String getRepUsrName() {
return repUsrName;
}
public void setRepUsrName(String repUsrName) {
this.repUsrName = repUsrName;
}
/**
* 回复的内容
* @return String
*/
public String getRepContent() {
return repContent;
}
public void setRepContent(String repContent) {
this.repContent = repContent;
}
/**
* 回复时间
* @return String
*/
public String getRepTime() {
return repTime;
}
public void setRepTime(String repTime) {
this.repTime = repTime;
}
/**
* 回复人的IP
* @return String
*/
public String getRepIp() {
return repIp;
}
public void setRepIp(String repIp) {
this.repIp = repIp;
}
/**
* 用户动作
* @return String
*/
public String getAction() {
return action;
}
public void setAction(String action) {
this.action = action;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -