个人简历管理系统(4)-javaBean层

该博客围绕个人简历管理系统的JavaWeb项目展开,涉及文件结构、user和resume实体类,还包含数据库创建、连接,登陆与注册界面等内容,同时介绍了用eclipse创建JavaWeb项目的方法。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

个人简历管理系统-javaBean层

  • 文件结构
    在这里插入图片描述
  • user实体
package com.resume.bean;

public class User {
	private String userid;
	private String password;
	
	@Override
	public String toString() {
		return "User [userid=" + userid + ", password=" + password + "]";
	}
	public User() {
		super();
	}
	public User(String userid, String password) {
		super();
		this.userid = userid;
		this.password = password;
	}
	public String getUserid() {
		return userid;
	}
	public void setUserid(String userid) {
		this.userid = userid;
	}
	public String getPassword() {
		return password;
	}
	public void setPassword(String password) {
		this.password = password;
	}
}
  • resume实体类
package com.resume.bean;

public class Resume {
	private int id ; 
	private String username ; 
	private String sex ; 
	private String birth ; 
	private String ethnic ; 
	private String _native ; 
	private String politic ; 
	private String mayor ; 
	private String school ; 
	private String telephone ; 
	private String email ; 
	private String skill ; 
	private String experience ; 
	private String evaluation ;
	private String userid;
	public Resume() {
		super();
	}
	public Resume(int id, String username, String sex, String birth, String ethnic, String _native, String politic,
			String mayor, String school, String telephone, String email, String skill, String experience,
			String evaluation, String userid) {
		super();
		this.id = id;
		this.username = username;
		this.sex = sex;
		this.birth = birth;
		this.ethnic = ethnic;
		this._native = _native;
		this.politic = politic;
		this.mayor = mayor;
		this.school = school;
		this.telephone = telephone;
		this.email = email;
		this.skill = skill;
		this.experience = experience;
		this.evaluation = evaluation;
		this.userid = userid;
	}
	@Override
	public String toString() {
		return "Resume [id=" + id + ", username=" + username + ", sex=" + sex + ", birth=" + birth + ", ethnic="
				+ ethnic + ", _native=" + _native + ", politic=" + politic + ", mayor=" + mayor + ", school=" + school
				+ ", telephone=" + telephone + ", email=" + email + ", skill=" + skill + ", experience=" + experience
				+ ", evaluation=" + evaluation + ", userid=" + userid + "]";
	}
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public String getUsername() {
		return username;
	}
	public void setUsername(String username) {
		this.username = username;
	}
	public String getSex() {
		return sex;
	}
	public void setSex(String sex) {
		this.sex = sex;
	}
	public String getBirth() {
		return birth;
	}
	public void setBirth(String birth) {
		this.birth = birth;
	}
	public String getEthnic() {
		return ethnic;
	}
	public void setEthnic(String ethnic) {
		this.ethnic = ethnic;
	}
	public String get_native() {
		return _native;
	}
	public void set_native(String _native) {
		this._native = _native;
	}
	public String getPolitic() {
		return politic;
	}
	public void setPolitic(String politic) {
		this.politic = politic;
	}
	public String getMayor() {
		return mayor;
	}
	public void setMayor(String mayor) {
		this.mayor = mayor;
	}
	public String getSchool() {
		return school;
	}
	public void setSchool(String school) {
		this.school = school;
	}
	public String getTelephone() {
		return telephone;
	}
	public void setTelephone(String telephone) {
		this.telephone = telephone;
	}
	public String getEmail() {
		return email;
	}
	public void setEmail(String email) {
		this.email = email;
	}
	public String getSkill() {
		return skill;
	}
	public void setSkill(String skill) {
		this.skill = skill;
	}
	public String getExperience() {
		return experience;
	}
	public void setExperience(String experience) {
		this.experience = experience;
	}
	public String getEvaluation() {
		return evaluation;
	}
	public void setEvaluation(String evaluation) {
		this.evaluation = evaluation;
	}
	public String getUserid() {
		return userid;
	}
	public void setUserid(String userid) {
		this.userid = userid;
	}
	
}

参考博客
用eclipse创建一个javaweb项目

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值