📄 teacherform.java
字号:
/**
*
*/
package edu.yinhe.mis.control;
import javax.servlet.http.HttpServletRequest;
import org.apache.struts.action.ActionErrors;
import org.apache.struts.action.ActionForm;
import org.apache.struts.action.ActionMapping;
/**
* @author 朱进喜
* Creation date:05-03-2008
*/
public class TeacherForm extends ActionForm {
@Override
public void reset(ActionMapping mapping, HttpServletRequest request) {
super.reset(mapping, request);
}
@Override
public ActionErrors validate(ActionMapping mapping,
HttpServletRequest request) {
return super.validate(mapping, request);
}
/**
* 主键id号
*/
private Integer id;
/**
* 老师编号
*/
private String teacher_no;
/**
* 老师姓名
*/
private String teacher_name;
/**
* 老师职位
*/
private String teacher_post;
/**
* 老师出身日期
*/
private String birth;
/**
* 性别
*/
private String gender;
/**
* 藉贯哪个省,哪个市
*/
private String nation;
/**
* 个人移动电话
*/
private String phone;
/**
* 个人住址
*/
private String address;
/**
* 所属部门编号
*/
private String department_no;
/**
* 父亲姓名
*/
private String father_name;
/**
* 母亲姓名
*/
private String mother_name;
/**
* 家庭地址
*/
private String home_addr;
/**
* 家庭电话
*/
private String home_tel;
/**
* 婚姻状况
*/
private String marriage;
/**
* 政治面貌
*/
private String polity;
/**
* 身份证号
*/
private String cid;
/**
* 备注
*/
private String remark_info;
/**
* 上级编号
*/
private String super_teacher_no;
/**
* 个人状态
*/
private String teacher_states;
/**
* 个人能力
*/
private String teacher_ability;
/**
* 老师等级
*/
private String grade;
/**
* 入职时间
*/
private String enter_time;
/**
* 离职时间
*/
private String left_time;
/**
* 备用字段1
*/
private Integer remark1;
/**
* 备用字段2
*/
private String remark2;
/**
* 备用字段2
*/
private String remark3;
/**
* 当前页
*/
private String currentPage;
/**
* 每页几条记录
*/
private String rowPerPage;
/**
* 权限
*/
private String power;
/**
* @return the id
*/
public Integer getId() {
return id;
}
/**
* @param id the id to set
*/
public void setId(Integer id) {
this.id = id;
}
/**
* @return the teacher_no
*/
public String getTeacher_no() {
return teacher_no;
}
/**
* @param teacher_no the teacher_no to set
*/
public void setTeacher_no(String teacher_no) {
this.teacher_no = teacher_no;
}
/**
* @return the teacher_name
*/
public String getTeacher_name() {
return teacher_name;
}
/**
* @param teacher_name the teacher_name to set
*/
public void setTeacher_name(String teacher_name) {
this.teacher_name = teacher_name;
}
/**
* @return the teacher_post
*/
public String getTeacher_post() {
return teacher_post;
}
/**
* @param teacher_post the teacher_post to set
*/
public void setTeacher_post(String teacher_post) {
this.teacher_post = teacher_post;
}
/**
* @return the birth
*/
public String getBirth() {
return birth;
}
/**
* @param birth the birth to set
*/
public void setBirth(String birth) {
this.birth = birth;
}
/**
* @return the gender
*/
public String getGender() {
return gender;
}
/**
* @param gender the gender to set
*/
public void setGender(String gender) {
this.gender = gender;
}
/**
* @return the nation
*/
public String getNation() {
return nation;
}
/**
* @param nation the nation to set
*/
public void setNation(String nation) {
this.nation = nation;
}
/**
* @return the phone
*/
public String getPhone() {
return phone;
}
/**
* @param phone the phone to set
*/
public void setPhone(String phone) {
this.phone = phone;
}
/**
* @return the address
*/
public String getAddress() {
return address;
}
/**
* @param address the address to set
*/
public void setAddress(String address) {
this.address = address;
}
/**
* @return the department_no
*/
public String getDepartment_no() {
return department_no;
}
/**
* @param department_no the department_no to set
*/
public void setDepartment_no(String department_no) {
this.department_no = department_no;
}
/**
* @return the father_name
*/
public String getFather_name() {
return father_name;
}
/**
* @param father_name the father_name to set
*/
public void setFather_name(String father_name) {
this.father_name = father_name;
}
/**
* @return the mother_name
*/
public String getMother_name() {
return mother_name;
}
/**
* @param mother_name the mother_name to set
*/
public void setMother_name(String mother_name) {
this.mother_name = mother_name;
}
/**
* @return the home_addr
*/
public String getHome_addr() {
return home_addr;
}
/**
* @param home_addr the home_addr to set
*/
public void setHome_addr(String home_addr) {
this.home_addr = home_addr;
}
/**
* @return the home_tel
*/
public String getHome_tel() {
return home_tel;
}
/**
* @param home_tel the home_tel to set
*/
public void setHome_tel(String home_tel) {
this.home_tel = home_tel;
}
/**
* @return the marriage
*/
public String getMarriage() {
return marriage;
}
/**
* @param marriage the marriage to set
*/
public void setMarriage(String marriage) {
this.marriage = marriage;
}
/**
* @return the polity
*/
public String getPolity() {
return polity;
}
/**
* @param polity the polity to set
*/
public void setPolity(String polity) {
this.polity = polity;
}
/**
* @return the cid
*/
public String getCid() {
return cid;
}
/**
* @param cid the cid to set
*/
public void setCid(String cid) {
this.cid = cid;
}
/**
* @return the remark_info
*/
public String getRemark_info() {
return remark_info;
}
/**
* @param remark_info the remark_info to set
*/
public void setRemark_info(String remark_info) {
this.remark_info = remark_info;
}
/**
* @return the super_teacher_no
*/
public String getSuper_teacher_no() {
return super_teacher_no;
}
/**
* @param super_teacher_no the super_teacher_no to set
*/
public void setSuper_teacher_no(String super_teacher_no) {
this.super_teacher_no = super_teacher_no;
}
/**
* @return the teacher_states
*/
public String getTeacher_states() {
return teacher_states;
}
/**
* @param teacher_states the teacher_states to set
*/
public void setTeacher_states(String teacher_states) {
this.teacher_states = teacher_states;
}
/**
* @return the teacher_ability
*/
public String getTeacher_ability() {
return teacher_ability;
}
/**
* @param teacher_ability the teacher_ability to set
*/
public void setTeacher_ability(String teacher_ability) {
this.teacher_ability = teacher_ability;
}
/**
* @return the grade
*/
public String getGrade() {
return grade;
}
/**
* @param grade the grade to set
*/
public void setGrade(String grade) {
this.grade = grade;
}
/**
* @return the enter_time
*/
public String getEnter_time() {
return enter_time;
}
/**
* @param enter_time the enter_time to set
*/
public void setEnter_time(String enter_time) {
this.enter_time = enter_time;
}
/**
* @return the left_time
*/
public String getLeft_time() {
return left_time;
}
/**
* @param left_time the left_time to set
*/
public void setLeft_time(String left_time) {
this.left_time = left_time;
}
/**
* @return the remark1
*/
public Integer getRemark1() {
return remark1;
}
/**
* @param remark1 the remark1 to set
*/
public void setRemark1(Integer remark1) {
this.remark1 = remark1;
}
/**
* @return the remark2
*/
public String getRemark2() {
return remark2;
}
/**
* @param remark2 the remark2 to set
*/
public void setRemark2(String remark2) {
this.remark2 = remark2;
}
/**
* @return the remark3
*/
public String getRemark3() {
return remark3;
}
/**
* @param remark3 the remark3 to set
*/
public void setRemark3(String remark3) {
this.remark3 = remark3;
}
/**
* @return the currentPage
*/
public String getCurrentPage() {
return currentPage;
}
/**
* @param currentPage the currentPage to set
*/
public void setCurrentPage(String currentPage) {
this.currentPage = currentPage;
}
/**
* @return the rowPerPage
*/
public String getRowPerPage() {
return rowPerPage;
}
/**
* @param rowPerPage the rowPerPage to set
*/
public void setRowPerPage(String rowPerPage) {
this.rowPerPage = rowPerPage;
}
/**
* @return the power
*/
public String getPower() {
return power;
}
/**
* @param power the power to set
*/
public void setPower(String power) {
this.power = power;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -