package com.hr.action;
import javax.servlet.http.HttpServletRequest;
import org.apache.struts.action.ActionErrors;
import org.apache.struts.action.ActionForm;
import org.apache.struts.action.ActionMapping;
import com.hr.bean.Job;
import com.hr.util.DateUtil;
/**
* @author BWeiMing
*
*/
public class JobForm extends ActionForm {
/** identifier field */
private Long id;
/** nullable persistent field */
private String name;
/** nullable persistent field */
private Byte sex;
/** nullable persistent field */
private Integer age;
/** nullable persistent field */
private String job;
/** nullable persistent field */
private String specialty;
/** nullable persistent field */
private String experience;
/** nullable persistent field */
private String studyeffort;
/** nullable persistent field */
private String school;
/** nullable persistent field */
private String tel;
/** nullable persistent field */
private String content;
/** nullable persistent field */
private Byte isstock;
private String createtime;
private String email;
/**
* @return Returns the email.
*/
public String getEmail() {
return email;
}
/**
* @param email The email to set.
*/
public void setEmail(String email) {
this.email = email;
}
/** full constructor */
public void reset(ActionMapping arg0, HttpServletRequest arg1) {
this.id=null;
this.name = null;
this.sex = null;
this.age = null;
this.job = null;
this.specialty = null;
this.experience = null;
this.studyeffort = null;
this.school = null;
this.tel = null;
this.createtime=null;
this.email=null;
this.content = null;
this.isstock = null;
}
public Long getId() {
return this.id;
}
public void setId(Long id) {
this.id = id;
}
public String getName() {
return this.name;
}
public void setName(String name) {
this.name = name;
}
public Byte getSex() {
return this.sex;
}
public void setSex(Byte sex) {
this.sex = sex;
}
public Integer getAge() {
return this.age;
}
public void setAge(Integer age) {
this.age = age;
}
public String getJob() {
return this.job;
}
public void setJob(String job) {
this.job = job;
}
public String getSpecialty() {
return this.specialty;
}
public void setSpecialty(String specialty) {
this.specialty = specialty;
}
public String getExperience() {
return this.experience;
}
public void setExperience(String experience) {
this.experience = experience;
}
public String getStudyeffort() {
return this.studyeffort;
}
public void setStudyeffort(String studyeffort) {
this.studyeffort = studyeffort;
}
public String getSchool() {
return this.school;
}
public void setSchool(String school) {
this.school = school;
}
public String getTel() {
return this.tel;
}
public void setTel(String tel) {
this.tel = tel;
}
public String getContent() {
return this.content;
}
public void setContent(String content) {
this.content = content;
}
public Byte getIsstock() {
return this.isstock;
}
public void setIsstock(Byte isstock) {
this.isstock = isstock;
}
public String toString() {
StringBuffer toStr = new StringBuffer();
toStr.append("[JobForm] = [\n");
toStr.append(" id = " + this.id + ";\n");
toStr.append(" name = " + this.name + ";\n");
toStr.append(" sex = " + this.sex + ";\n");
toStr.append(" age = " + this.age + ";\n");
toStr.append(" job = " + this.job + ";\n");
toStr.append(" specialty = " + this.specialty + ";\n");
toStr.append(" experience = " + this.experience + ";\n");
toStr.append(" studyeffort = " + this.studyeffort + ";\n");
toStr.append(" school = " + this.school + ";\n");
toStr.append(" tel = " + this.tel + ";\n");
toStr.append(" createtime = " + this.createtime+ ";\n");
toStr.append(" email= " + this.email+ ";\n");
toStr.append(" content = " + this.content+ ";\n");
toStr.append(" isstock = " + this.isstock + ";\n");
toStr.append(" ];\n");
return toStr.toString();
}
public ActionErrors validate(ActionMapping arg0, HttpServletRequest arg1) {
return null;
}
public Job populate(){
Job j=new Job();
j.setAge(this.getAge());
j.setContent(this.getContent());
j.setCreatetime(DateUtil.parseToDate(this.getCreatetime(),DateUtil.yyyyMMddHHmmss));
j.setExperience(this.getExperience());
j.setId(this.getId());
j.setIsstock(this.getIsstock());
j.setJob(this.getJob());
j.setName(this.getName());
j.setSchool(this.getSchool());
j.setSex(this.getSex());
j.setSpecialty(this.getSpecialty());
j.setStudyeffort(this.getStudyeffort());
j.setTel(this.getTel());
j.setEmail(this.getEmail());
return j;
}
/**
* @return Returns the createtime.
*/
public String getCreatetime() {
return createtime;
}
/**
* @param createtime The createtime to set.
*/
public void setCreatetime(String createtime) {
this.createtime = createtime;
}
}
没有合适的资源?快使用搜索试试~ 我知道了~
HRM.zip_hrm_人力资源
共246个文件
gif:65个
jar:49个
java:28个
1.该资源内容由用户上传,如若侵权请联系客服进行举报
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
版权申诉
0 下载量 197 浏览量
2022-09-19
21:41:43
上传
评论
收藏 14.12MB ZIP 举报
温馨提示
人力资源管理系统,是个小型的系统基本功能都有。
资源推荐
资源详情
资源评论
收起资源包目录
HRM.zip_hrm_人力资源 (246个子文件)
JobForm.class 6KB
EducateForm.class 5KB
Job.class 5KB
StipendForm.class 5KB
Educate.class 4KB
BaseDaoSupport.class 4KB
Stipend.class 4KB
UsersForm.class 4KB
UsersAction.class 4KB
EducateAction.class 4KB
InstitutionAction.class 4KB
StipendAction.class 3KB
JobAction.class 3KB
Users.class 3KB
QueryHelper.class 3KB
InstitutionForm.class 3KB
UsersDao.class 3KB
EducateDao.class 3KB
JobDao.class 3KB
HibernateSessionFactory.class 2KB
Institution.class 2KB
StipendDao.class 2KB
PageBean.class 2KB
InstitutionDao.class 2KB
DateUtil.class 2KB
ActionServlet.class 1KB
BaseAction.class 1KB
StringUtil.class 489B
.classpath 5KB
org.eclipse.wst.common.component 609B
org.eclipse.wst.jsdt.ui.superType.container 49B
css.css 16KB
style.css 11KB
head.css 6KB
control.css 5KB
common1.css 4KB
style0.css 1KB
Entries 48B
Entries 46B
welcome.gif 164KB
top03.gif 23KB
ico15.gif 8KB
ico14.gif 8KB
ico16.gif 8KB
ico13.gif 7KB
pic05.gif 5KB
bu13.gif 4KB
bu10.gif 4KB
nav03.gif 4KB
nav01.gif 4KB
bu09.gif 4KB
bu07.gif 4KB
bu04.gif 4KB
logo.gif 4KB
bu05.gif 3KB
bu11.gif 3KB
bu06.gif 3KB
bu12.gif 3KB
bu08.gif 3KB
shape01.gif 3KB
bu02.gif 3KB
bu03.gif 3KB
bu01.gif 2KB
ico02.gif 2KB
ico24.gif 1KB
nav02.gif 1KB
ico07.gif 1KB
line01.gif 935B
navbutton04.gif 662B
ico01.gif 654B
navbutton02.gif 635B
navbutton03.gif 576B
top02.gif 559B
navbutton01.gif 547B
loadon.gif 538B
dhbutton01.gif 499B
dhbutton03.gif 499B
dhbutton04.gif 499B
dhbutton02.gif 499B
dhbutton05.gif 415B
ico12.gif 361B
ico11.gif 326B
button05.gif 324B
button10.gif 301B
button06.gif 288B
button09.gif 272B
button03.gif 256B
button04.gif 224B
button08.gif 210B
button07.gif 203B
ico05.gif 185B
ico06.gif 180B
nav04.gif 163B
nav06.gif 152B
nav05.gif 98B
top.gif 73B
navend.gif 67B
ico04.gif 64B
left.gif 62B
ico03.gif 60B
共 246 条
- 1
- 2
- 3
资源评论
weixin_42651887
- 粉丝: 79
- 资源: 1万+
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功