📄 addstaffhrmform.java
字号:
//Created by MyEclipse Struts// XSL source (default): platform:/plugin/com.genuitec.eclipse.cross.easystruts.eclipse_4.1.1/xslt/JavaClass.xslpackage com.yourcompany.struts.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: 10-19-2005 * * XDoclet definition: * @struts.form name="addStaffHRMForm" */public class AddStaffHRMForm extends ActionForm { // --------------------------------------------------------- Instance Variables /** password property */ private String password; /** tele property */ private String tele; /** position property */ private String position; /** contract_type property */ private String contract_type; /** address property */ private String address; /** l_name property */ private String l_name; /** hours property */ private String hours; /** sex property */ private String sex; /** min property */ private String min; /** wardId property */ private String wardId; /** f_name property */ private String f_name; /** birth property */ private String birth; /** salary_type property */ private String salary_type; private String salary = "0"; private String paidtype; // --------------------------------------------------------- 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 password. * @return String */ public String getPassword() { return password; } /** * Set the password. * @param password The password to set */ public void setPassword(String password) { this.password = password; } /** * Returns the tele. * @return String */ public String getTele() { return tele; } /** * Set the tele. * @param tele The tele to set */ public void setTele(String tele) { this.tele = tele; } /** * Returns the position. * @return String */ public String getPosition() { return position; } /** * Set the position. * @param position The position to set */ public void setPosition(String position) { this.position = position; } /** * Returns the contract_type. * @return String */ public String getContract_type() { return contract_type; } /** * Set the contract_type. * @param contract_type The contract_type to set */ public void setContract_type(String contract_type) { this.contract_type = contract_type; } /** * Returns the address. * @return String */ public String getAddress() { return address; } /** * Set the address. * @param address The address to set */ public void setAddress(String address) { this.address = address; } /** * Returns the l_name. * @return String */ public String getL_name() { return l_name; } /** * Set the l_name. * @param l_name The l_name to set */ public void setL_name(String l_name) { this.l_name = l_name; } /** * Returns the hours. * @return String */ public String getHours() { return hours; } /** * Set the hours. * @param hours The hours to set */ public void setHours(String hours) { this.hours = hours; } /** * Returns the sex. * @return String */ public String getSex() { return sex; } /** * Set the sex. * @param sex The sex to set */ public void setSex(String sex) { this.sex = sex; } /** * Returns the min. * @return String */ public String getMin() { return min; } /** * Set the min. * @param min The min to set */ public void setMin(String min) { this.min = min; } /** * Returns the wardId. * @return String */ public String getWardId() { return "000"; } /** * Set the wardId. * @param wardId The wardId to set */ public void setWardId(String wardId) { this.wardId = wardId; } /** * Returns the f_name. * @return String */ public String getF_name() { return f_name; } /** * Set the f_name. * @param f_name The f_name to set */ public void setF_name(String f_name) { this.f_name = f_name; } /** * Returns the birth. * @return String */ public String getBirth() { return birth; } /** * Set the birth. * @param birth The birth to set */ public void setBirth(String birth) { this.birth = birth; } /** * Returns the salary_type. * @return String */ public String getSalary_type() { return salary_type; } /** * Set the salary_type. * @param salary_type The salary_type to set */ public void setSalary_type(String salary_type) { this.salary_type = salary_type; } public String getSalary(){ return salary; } public void setSalary(){ this.salary = salary; } public String getPaidtype(){ return paidtype; } public void setPaidtype(){ this.paidtype = paidtype; }}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -