📄 cpreportform.java
字号:
package com.longtime.wap.module.cp.web.form;
import javax.servlet.http.HttpServletRequest;
import org.apache.struts.action.ActionMapping;
import org.apache.struts.validator.ValidatorForm;
/**
* 产生报表表单
* @author liuzb
* @date Nov 20, 2007
*/
public class CpReportForm extends ValidatorForm {
private static final long serialVersionUID = 1L;
private String fromDate;
private String toDate;
private String currentPage;
/**
* @return 返回 currentPage。
*/
public String getCurrentPage() {
return currentPage;
}
/**
* @param currentPage 要设置的 currentPage。
*/
public void setCurrentPage(String currentPage) {
this.currentPage = currentPage;
}
/**
* 重写回复函数
*
* @param mapping
* ActionMapping对象
* @param request
* HttpServletRequest对象
*/
public void reset(ActionMapping mapping, HttpServletRequest request) {
fromDate = null;
toDate = null;
}
/**
* @return 返回 fromDate。
*/
public String getFromDate() {
return fromDate;
}
/**
* @param fromDate 要设置的 fromDate。
*/
public void setFromDate(String fromDate) {
this.fromDate = fromDate;
}
/**
* @return 返回 toDate。
*/
public String getToDate() {
return toDate;
}
/**
* @param toDate 要设置的 toDate。
*/
public void setToDate(String toDate) {
this.toDate = toDate;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -