deptform.java
来自「上一上传oa系统漏掉web-inf文件夹」· Java 代码 · 共 121 行
JAVA
121 行
/*
* Generated by MyEclipse Struts
* Template path: templates/java/JavaClass.vtl
*/
package com.oa.deptoffice.form;
import javax.servlet.http.HttpServletRequest;
import org.apache.struts.action.ActionErrors;
import org.apache.struts.action.ActionForm;
import org.apache.struts.action.ActionMapping;
/**
* MyEclipse Struts
* Creation date: 08-23-2007
*
* XDoclet definition:
* @struts.form name="deptForm"
*/
public class DeptForm extends ActionForm {
/*
* Generated fields
*/
/** id property */
private int id;
/** deptintro property */
private String deptintro;
/** deptgrade property */
private String deptgrade;
/** department property */
private String department;
/*
* Generated Methods
*/
/**
* Method validate
* @param mapping
* @param request
* @return ActionErrors
*/
public ActionErrors validate(ActionMapping mapping,
HttpServletRequest request) {
// TODO Auto-generated method stub
return null;
}
/**
* Method reset
* @param mapping
* @param request
*/
public void reset(ActionMapping mapping, HttpServletRequest request) {
// TODO Auto-generated method stub
}
/**
* Returns the deptintro.
* @return String
*/
public String getDeptintro() {
return deptintro;
}
/**
* Set the deptintro.
* @param deptintro The deptintro to set
*/
public void setDeptintro(String deptintro) {
this.deptintro = deptintro;
}
/**
* Returns the deptgrade.
* @return String
*/
public String getDeptgrade() {
return deptgrade;
}
/**
* Set the deptgrade.
* @param deptgrade The deptgrade to set
*/
public void setDeptgrade(String deptgrade) {
this.deptgrade = deptgrade;
}
/**
* Returns the department.
* @return String
*/
public String getDepartment() {
return department;
}
/**
* Set the department.
* @param department The department to set
*/
public void setDepartment(String department) {
this.department = department;
}
/**
* @return the id
*/
public int getId() {
return id;
}
/**
* @param id the id to set
*/
public void setId(int id) {
this.id = id;
}
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?