更多成品,定做java毕业设计,请咨询管理员qq:2812491287

基于HTML5的小型公司人事管理系统的设计与实现

基于HTML5的小型公司人事管理系统的设计与实现登录注册界面

基于HTML5的小型公司人事管理系统的设计与实现mysql数据库版本源码:

超级管理员表创建语句如下:


create table t_admin(
	id int primary key auto_increment comment '主键',
	username varchar(100) comment '超级管理员账号',
	password varchar(100) comment '超级管理员密码'
) comment '超级管理员';
insert into t_admin(username,password) values('admin','123456');

客户表创建语句如下:


create table t_customer(
	id int primary key auto_increment comment '主键',
	username varchar(100) comment '账号',
	password varchar(100) comment '密码',
	customerName varchar(100) comment '姓名',
	sex varchar(100) comment '性别',
	address varchar(100) comment '地址',
	phone varchar(100) comment '手机',
	account int comment '账户',
	jf int comment '积分',
	headPic varchar(100) comment '头像'
) comment '客户';

教育培训表创建语句如下:


create table t_jypx(
	id int primary key auto_increment comment '主键',
	ygId int comment '员工',
	v1 varchar(100) comment '培训标题',
	content varchar(100) comment '培训内容',
	beginDate datetime comment '开始时间',
	endDate datetime comment '结束时间',
	pxzj varchar(100) comment '培训总结'
) comment '教育培训';

考勤表创建语句如下:


create table t_kq(
	id int primary key auto_increment comment '主键',
	ygId int comment '员工',
	types varchar(100) comment '类型',
	v1 varchar(100) comment '标题',
	content varchar(100) comment '内容',
	beginDate datetime comment '开始时间',
	endDate datetime comment '结束时间',
	status varchar(100) comment '状态',
	insertDate datetime comment '申请日期'
) comment '考勤';

轮播图表创建语句如下:


create table t_lbt(
	id int primary key auto_increment comment '主键',
	pic varchar(100) comment '图片'
) comment '轮播图';

人员调配表创建语句如下:


create table t_rstp(
	id int primary key auto_increment comment '主键',
	ygId int comment '员工',
	v1 varchar(100) comment '原部门岗位',
	v2 varchar(100) comment '新部门岗位',
	content varchar(100) comment '说明',
	showDate datetime comment '调配日期'
) comment '人员调配';

薪酬表创建语句如下:


create table t_xc(
	id int primary key auto_increment comment '主键',
	ygId int comment '员工',
	v1 int comment '基本工资',
	v2 int comment '奖金',
	v3 int comment '绩效',
	v4 int comment '处罚',
	yf varchar(100) comment '月份'
) comment '薪酬';

员工表创建语句如下:


create table t_yg(
	id int primary key auto_increment comment '主键',
	username varchar(100) comment '账号',
	password varchar(100) comment '密码',
	ygName varchar(100) comment '姓名',
	headPic varchar(100) comment '头像',
	phone varchar(100) comment '电话',
	age varchar(100) comment '年龄',
	sex varchar(100) comment '性别',
	bm varchar(100) comment '部门',
	gw varchar(100) comment '岗位'
) comment '员工';

招聘表创建语句如下:


create table t_zhaopin(
	id int primary key auto_increment comment '主键',
	customerId int comment '用户',
	v1 varchar(100) comment '姓名',
	v2 varchar(100) comment '年龄',
	v3 varchar(100) comment '性别',
	v4 varchar(100) comment '学历',
	v5 varchar(100) comment '目标岗位',
	v6 varchar(100) comment '薪酬范围',
	v7 varchar(100) comment '详细简历',
	insertDate datetime comment '发送日期'
) comment '招聘';

资讯表创建语句如下:


create table t_zx(
	id int primary key auto_increment comment '主键',
	title varchar(100) comment '标题',
	content varchar(100) comment '内容',
	pic varchar(100) comment '图片'
) comment '资讯';

基于HTML5的小型公司人事管理系统的设计与实现oracle数据库版本源码:

超级管理员表创建语句如下:


create table t_admin(
	id integer,
	username varchar(100),
	password varchar(100)
);
insert into t_admin(id,username,password) values(1,'admin','123456');
--超级管理员字段加注释
comment on column t_admin.id is '主键';
comment on column t_admin.username is '超级管理员账号';
comment on column t_admin.password is '超级管理员密码';
--超级管理员表加注释
comment on table t_admin is '超级管理员';

客户表创建语句如下:


create table t_customer(
	id integer,
	username varchar(100),
	password varchar(100),
	customerName varchar(100),
	sex varchar(100),
	address varchar(100),
	phone varchar(100),
	account int,
	jf int,
	headPic varchar(100)
);
--客户字段加注释
comment on column t_customer.id is '主键';
comment on column t_customer.username is '账号';
comment on column t_customer.password is '密码';
comment on column t_customer.customerName is '姓名';
comment on column t_customer.sex is '性别';
comment on column t_customer.address is '地址';
comment on column t_customer.phone is '手机';
comment on column t_customer.account is '账户';
comment on column t_customer.jf is '积分';
comment on column t_customer.headPic is '头像';
--客户表加注释
comment on table t_customer is '客户';

教育培训表创建语句如下:


create table t_jypx(
	id integer,
	ygId int,
	v1 varchar(100),
	content varchar(100),
	beginDate datetime,
	endDate datetime,
	pxzj varchar(100)
);
--教育培训字段加注释
comment on column t_jypx.id is '主键';
comment on column t_jypx.ygId is '员工';
comment on column t_jypx.v1 is '培训标题';
comment on column t_jypx.content is '培训内容';
comment on column t_jypx.beginDate is '开始时间';
comment on column t_jypx.endDate is '结束时间';
comment on column t_jypx.pxzj is '培训总结';
--教育培训表加注释
comment on table t_jypx is '教育培训';

考勤表创建语句如下:


create table t_kq(
	id integer,
	ygId int,
	types varchar(100),
	v1 varchar(100),
	content varchar(100),
	beginDate datetime,
	endDate datetime,
	status varchar(100),
	insertDate datetime
);
--考勤字段加注释
comment on column t_kq.id is '主键';
comment on column t_kq.ygId is '员工';
comment on column t_kq.types is '类型';
comment on column t_kq.v1 is '标题';
comment on column t_kq.content is '内容';
comment on column t_kq.beginDate is '开始时间';
comment on column t_kq.endDate is '结束时间';
comment on column t_kq.status is '状态';
comment on column t_kq.insertDate is '申请日期';
--考勤表加注释
comment on table t_kq is '考勤';

轮播图表创建语句如下:


create table t_lbt(
	id integer,
	pic varchar(100)
);
--轮播图字段加注释
comment on column t_lbt.id is '主键';
comment on column t_lbt.pic is '图片';
--轮播图表加注释
comment on table t_lbt is '轮播图';

人员调配表创建语句如下:


create table t_rstp(
	id integer,
	ygId int,
	v1 varchar(100),
	v2 varchar(100),
	content varchar(100),
	showDate datetime
);
--人员调配字段加注释
comment on column t_rstp.id is '主键';
comment on column t_rstp.ygId is '员工';
comment on column t_rstp.v1 is '原部门岗位';
comment on column t_rstp.v2 is '新部门岗位';
comment on column t_rstp.content is '说明';
comment on column t_rstp.showDate is '调配日期';
--人员调配表加注释
comment on table t_rstp is '人员调配';

薪酬表创建语句如下:


create table t_xc(
	id integer,
	ygId int,
	v1 int,
	v2 int,
	v3 int,
	v4 int,
	yf varchar(100)
);
--薪酬字段加注释
comment on column t_xc.id is '主键';
comment on column t_xc.ygId is '员工';
comment on column t_xc.v1 is '基本工资';
comment on column t_xc.v2 is '奖金';
comment on column t_xc.v3 is '绩效';
comment on column t_xc.v4 is '处罚';
comment on column t_xc.yf is '月份';
--薪酬表加注释
comment on table t_xc is '薪酬';

员工表创建语句如下:


create table t_yg(
	id integer,
	username varchar(100),
	password varchar(100),
	ygName varchar(100),
	headPic varchar(100),
	phone varchar(100),
	age varchar(100),
	sex varchar(100),
	bm varchar(100),
	gw varchar(100)
);
--员工字段加注释
comment on column t_yg.id is '主键';
comment on column t_yg.username is '账号';
comment on column t_yg.password is '密码';
comment on column t_yg.ygName is '姓名';
comment on column t_yg.headPic is '头像';
comment on column t_yg.phone is '电话';
comment on column t_yg.age is '年龄';
comment on column t_yg.sex is '性别';
comment on column t_yg.bm is '部门';
comment on column t_yg.gw is '岗位';
--员工表加注释
comment on table t_yg is '员工';

招聘表创建语句如下:


create table t_zhaopin(
	id integer,
	customerId int,
	v1 varchar(100),
	v2 varchar(100),
	v3 varchar(100),
	v4 varchar(100),
	v5 varchar(100),
	v6 varchar(100),
	v7 varchar(100),
	insertDate datetime
);
--招聘字段加注释
comment on column t_zhaopin.id is '主键';
comment on column t_zhaopin.customerId is '用户';
comment on column t_zhaopin.v1 is '姓名';
comment on column t_zhaopin.v2 is '年龄';
comment on column t_zhaopin.v3 is '性别';
comment on column t_zhaopin.v4 is '学历';
comment on column t_zhaopin.v5 is '目标岗位';
comment on column t_zhaopin.v6 is '薪酬范围';
comment on column t_zhaopin.v7 is '详细简历';
comment on column t_zhaopin.insertDate is '发送日期';
--招聘表加注释
comment on table t_zhaopin is '招聘';

资讯表创建语句如下:


create table t_zx(
	id integer,
	title varchar(100),
	content varchar(100),
	pic varchar(100)
);
--资讯字段加注释
comment on column t_zx.id is '主键';
comment on column t_zx.title is '标题';
comment on column t_zx.content is '内容';
comment on column t_zx.pic is '图片';
--资讯表加注释
comment on table t_zx is '资讯';

oracle特有,对应序列如下:


create sequence s_t_customer;
create sequence s_t_jypx;
create sequence s_t_kq;
create sequence s_t_lbt;
create sequence s_t_rstp;
create sequence s_t_xc;
create sequence s_t_yg;
create sequence s_t_zhaopin;
create sequence s_t_zx;

基于HTML5的小型公司人事管理系统的设计与实现sqlserver数据库版本源码:

超级管理员表创建语句如下:


--超级管理员
create table t_admin(
	id int identity(1,1) primary key not null,--主键
	username varchar(100),--超级管理员账号
	password varchar(100)--超级管理员密码
);
insert into t_admin(username,password) values('admin','123456');

客户表创建语句如下:


--客户表注释
create table t_customer(
	id int identity(1,1) primary key not null,--主键
	username varchar(100),--账号
	password varchar(100),--密码
	customerName varchar(100),--姓名
	sex varchar(100),--性别
	address varchar(100),--地址
	phone varchar(100),--手机
	account int,--账户
	jf int,--积分
	headPic varchar(100)--头像
);

教育培训表创建语句如下:


--教育培训表注释
create table t_jypx(
	id int identity(1,1) primary key not null,--主键
	ygId int,--员工
	v1 varchar(100),--培训标题
	content varchar(100),--培训内容
	beginDate datetime,--开始时间
	endDate datetime,--结束时间
	pxzj varchar(100)--培训总结
);

考勤表创建语句如下:


--考勤表注释
create table t_kq(
	id int identity(1,1) primary key not null,--主键
	ygId int,--员工
	types varchar(100),--类型
	v1 varchar(100),--标题
	content varchar(100),--内容
	beginDate datetime,--开始时间
	endDate datetime,--结束时间
	status varchar(100),--状态
	insertDate datetime--申请日期
);

轮播图表创建语句如下:


--轮播图表注释
create table t_lbt(
	id int identity(1,1) primary key not null,--主键
	pic varchar(100)--图片
);

人员调配表创建语句如下:


--人员调配表注释
create table t_rstp(
	id int identity(1,1) primary key not null,--主键
	ygId int,--员工
	v1 varchar(100),--原部门岗位
	v2 varchar(100),--新部门岗位
	content varchar(100),--说明
	showDate datetime--调配日期
);

薪酬表创建语句如下:


--薪酬表注释
create table t_xc(
	id int identity(1,1) primary key not null,--主键
	ygId int,--员工
	v1 int,--基本工资
	v2 int,--奖金
	v3 int,--绩效
	v4 int,--处罚
	yf varchar(100)--月份
);

员工表创建语句如下:


--员工表注释
create table t_yg(
	id int identity(1,1) primary key not null,--主键
	username varchar(100),--账号
	password varchar(100),--密码
	ygName varchar(100),--姓名
	headPic varchar(100),--头像
	phone varchar(100),--电话
	age varchar(100),--年龄
	sex varchar(100),--性别
	bm varchar(100),--部门
	gw varchar(100)--岗位
);

招聘表创建语句如下:


--招聘表注释
create table t_zhaopin(
	id int identity(1,1) primary key not null,--主键
	customerId int,--用户
	v1 varchar(100),--姓名
	v2 varchar(100),--年龄
	v3 varchar(100),--性别
	v4 varchar(100),--学历
	v5 varchar(100),--目标岗位
	v6 varchar(100),--薪酬范围
	v7 varchar(100),--详细简历
	insertDate datetime--发送日期
);

资讯表创建语句如下:


--资讯表注释
create table t_zx(
	id int identity(1,1) primary key not null,--主键
	title varchar(100),--标题
	content varchar(100),--内容
	pic varchar(100)--图片
);

基于HTML5的小型公司人事管理系统的设计与实现登录后主页

基于HTML5的小型公司人事管理系统的设计与实现spring+springMVC+hibernate框架对象(javaBean,pojo)设计:

客户javaBean创建语句如下:


package project.model;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;
@Entity

//客户
@Table(name = "t_customer")
public class Customer {
//主键
@Id
@Column(name = "id")
@GeneratedValue(strategy = GenerationType.IDENTITY)
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//账号
private String username;
//密码
private String password;
//姓名
private String customerName;
//性别
private String sex;
//地址
private String address;
//手机
private String phone;
//账户
private Integer account;
//积分
private Integer jf;
//头像
private String headPic;
public String getUsername() {return username;}
public void setUsername(String username) {this.username = username;}
public String getPassword() {return password;}
public void setPassword(String password) {this.password = password;}
public String getCustomerName() {return customerName;}
public void setCustomerName(String customerName) {this.customerName = customerName;}
public String getSex() {return sex;}
public void setSex(String sex) {this.sex = sex;}
public String getAddress() {return address;}
public void setAddress(String address) {this.address = address;}
public String getPhone() {return phone;}
public void setPhone(String phone) {this.phone = phone;}
public Integer getAccount() {return account;}
public void setAccount(Integer account) {this.account = account;}
public Integer getJf() {return jf;}
public void setJf(Integer jf) {this.jf = jf;}
public String getHeadPic() {return headPic;}
public void setHeadPic(String headPic) {this.headPic = headPic;}
}

教育培训javaBean创建语句如下:


package project.model;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;
@Entity

//教育培训
@Table(name = "t_jypx")
public class Jypx {
//主键
@Id
@Column(name = "id")
@GeneratedValue(strategy = GenerationType.IDENTITY)
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//员工
private Integer ygId;
//培训标题
private String v1;
//培训内容
private String content;
//开始时间
private Date beginDate;
//结束时间
private Date endDate;
//培训总结
private String pxzj;
public Integer getYgId() {return ygId;}
public void setYgId(Integer ygId) {this.ygId = ygId;}
public String getV1() {return v1;}
public void setV1(String v1) {this.v1 = v1;}
public String getContent() {return content;}
public void setContent(String content) {this.content = content;}
public Date getBeginDate() {return beginDate;}
public void setBeginDate(Date beginDate) {this.beginDate = beginDate;}
public Date getEndDate() {return endDate;}
public void setEndDate(Date endDate) {this.endDate = endDate;}
public String getPxzj() {return pxzj;}
public void setPxzj(String pxzj) {this.pxzj = pxzj;}
}

考勤javaBean创建语句如下:


package project.model;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;
@Entity

//考勤
@Table(name = "t_kq")
public class Kq {
//主键
@Id
@Column(name = "id")
@GeneratedValue(strategy = GenerationType.IDENTITY)
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//员工
private Integer ygId;
//类型
private String types;
//标题
private String v1;
//内容
private String content;
//开始时间
private Date beginDate;
//结束时间
private Date endDate;
//状态
private String status;
//申请日期
private Date insertDate;
public Integer getYgId() {return ygId;}
public void setYgId(Integer ygId) {this.ygId = ygId;}
public String getTypes() {return types;}
public void setTypes(String types) {this.types = types;}
public String getV1() {return v1;}
public void setV1(String v1) {this.v1 = v1;}
public String getContent() {return content;}
public void setContent(String content) {this.content = content;}
public Date getBeginDate() {return beginDate;}
public void setBeginDate(Date beginDate) {this.beginDate = beginDate;}
public Date getEndDate() {return endDate;}
public void setEndDate(Date endDate) {this.endDate = endDate;}
public String getStatus() {return status;}
public void setStatus(String status) {this.status = status;}
public Date getInsertDate() {return insertDate;}
public void setInsertDate(Date insertDate) {this.insertDate = insertDate;}
}

轮播图javaBean创建语句如下:


package project.model;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;
@Entity

//轮播图
@Table(name = "t_lbt")
public class Lbt {
//主键
@Id
@Column(name = "id")
@GeneratedValue(strategy = GenerationType.IDENTITY)
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//图片
private String pic;
public String getPic() {return pic;}
public void setPic(String pic) {this.pic = pic;}
}

人员调配javaBean创建语句如下:


package project.model;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;
@Entity

//人员调配
@Table(name = "t_rstp")
public class Rstp {
//主键
@Id
@Column(name = "id")
@GeneratedValue(strategy = GenerationType.IDENTITY)
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//员工
private Integer ygId;
//原部门岗位
private String v1;
//新部门岗位
private String v2;
//说明
private String content;
//调配日期
private Date showDate;
public Integer getYgId() {return ygId;}
public void setYgId(Integer ygId) {this.ygId = ygId;}
public String getV1() {return v1;}
public void setV1(String v1) {this.v1 = v1;}
public String getV2() {return v2;}
public void setV2(String v2) {this.v2 = v2;}
public String getContent() {return content;}
public void setContent(String content) {this.content = content;}
public Date getShowDate() {return showDate;}
public void setShowDate(Date showDate) {this.showDate = showDate;}
}

薪酬javaBean创建语句如下:


package project.model;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;
@Entity

//薪酬
@Table(name = "t_xc")
public class Xc {
//主键
@Id
@Column(name = "id")
@GeneratedValue(strategy = GenerationType.IDENTITY)
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//员工
private Integer ygId;
//基本工资
private Integer v1;
//奖金
private Integer v2;
//绩效
private Integer v3;
//处罚
private Integer v4;
//月份
private String yf;
public Integer getYgId() {return ygId;}
public void setYgId(Integer ygId) {this.ygId = ygId;}
public Integer getV1() {return v1;}
public void setV1(Integer v1) {this.v1 = v1;}
public Integer getV2() {return v2;}
public void setV2(Integer v2) {this.v2 = v2;}
public Integer getV3() {return v3;}
public void setV3(Integer v3) {this.v3 = v3;}
public Integer getV4() {return v4;}
public void setV4(Integer v4) {this.v4 = v4;}
public String getYf() {return yf;}
public void setYf(String yf) {this.yf = yf;}
}

员工javaBean创建语句如下:


package project.model;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;
@Entity

//员工
@Table(name = "t_yg")
public class Yg {
//主键
@Id
@Column(name = "id")
@GeneratedValue(strategy = GenerationType.IDENTITY)
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//账号
private String username;
//密码
private String password;
//姓名
private String ygName;
//头像
private String headPic;
//电话
private String phone;
//年龄
private String age;
//性别
private String sex;
//部门
private String bm;
//岗位
private String gw;
public String getUsername() {return username;}
public void setUsername(String username) {this.username = username;}
public String getPassword() {return password;}
public void setPassword(String password) {this.password = password;}
public String getYgName() {return ygName;}
public void setYgName(String ygName) {this.ygName = ygName;}
public String getHeadPic() {return headPic;}
public void setHeadPic(String headPic) {this.headPic = headPic;}
public String getPhone() {return phone;}
public void setPhone(String phone) {this.phone = phone;}
public String getAge() {return age;}
public void setAge(String age) {this.age = age;}
public String getSex() {return sex;}
public void setSex(String sex) {this.sex = sex;}
public String getBm() {return bm;}
public void setBm(String bm) {this.bm = bm;}
public String getGw() {return gw;}
public void setGw(String gw) {this.gw = gw;}
}

招聘javaBean创建语句如下:


package project.model;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;
@Entity

//招聘
@Table(name = "t_zhaopin")
public class Zhaopin {
//主键
@Id
@Column(name = "id")
@GeneratedValue(strategy = GenerationType.IDENTITY)
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//用户
private Integer customerId;
//姓名
private String v1;
//年龄
private String v2;
//性别
private String v3;
//学历
private String v4;
//目标岗位
private String v5;
//薪酬范围
private String v6;
//详细简历
private String v7;
//发送日期
private Date insertDate;
public Integer getCustomerId() {return customerId;}
public void setCustomerId(Integer customerId) {this.customerId = customerId;}
public String getV1() {return v1;}
public void setV1(String v1) {this.v1 = v1;}
public String getV2() {return v2;}
public void setV2(String v2) {this.v2 = v2;}
public String getV3() {return v3;}
public void setV3(String v3) {this.v3 = v3;}
public String getV4() {return v4;}
public void setV4(String v4) {this.v4 = v4;}
public String getV5() {return v5;}
public void setV5(String v5) {this.v5 = v5;}
public String getV6() {return v6;}
public void setV6(String v6) {this.v6 = v6;}
public String getV7() {return v7;}
public void setV7(String v7) {this.v7 = v7;}
public Date getInsertDate() {return insertDate;}
public void setInsertDate(Date insertDate) {this.insertDate = insertDate;}
}

资讯javaBean创建语句如下:


package project.model;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;
@Entity

//资讯
@Table(name = "t_zx")
public class Zx {
//主键
@Id
@Column(name = "id")
@GeneratedValue(strategy = GenerationType.IDENTITY)
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//标题
private String title;
//内容
private String content;
//图片
private String pic;
public String getTitle() {return title;}
public void setTitle(String title) {this.title = title;}
public String getContent() {return content;}
public void setContent(String content) {this.content = content;}
public String getPic() {return pic;}
public void setPic(String pic) {this.pic = pic;}
}

基于HTML5的小型公司人事管理系统的设计与实现spring+springMVC+mybatis框架对象(javaBean,pojo)设计:

客户javaBean创建语句如下:


package project.model;
import org.springframework.format.annotation.DateTimeFormat;
import java.util.Date;

//客户
public class Customer  extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//账号
private String username;
//密码
private String password;
//姓名
private String customerName;
//性别
private String sex;
//地址
private String address;
//手机
private String phone;
//账户
private Integer account;
//积分
private Integer jf;
//头像
private String headPic;
public String getUsername() {return username;}
public void setUsername(String username) {this.username = username;}
public String getPassword() {return password;}
public void setPassword(String password) {this.password = password;}
public String getCustomerName() {return customerName;}
public void setCustomerName(String customerName) {this.customerName = customerName;}
public String getSex() {return sex;}
public void setSex(String sex) {this.sex = sex;}
public String getAddress() {return address;}
public void setAddress(String address) {this.address = address;}
public String getPhone() {return phone;}
public void setPhone(String phone) {this.phone = phone;}
public Integer getAccount() {return account;}
public void setAccount(Integer account) {this.account = account;}
public Integer getJf() {return jf;}
public void setJf(Integer jf) {this.jf = jf;}
public String getHeadPic() {return headPic;}
public void setHeadPic(String headPic) {this.headPic = headPic;}
}

教育培训javaBean创建语句如下:


package project.model;
import org.springframework.format.annotation.DateTimeFormat;
import java.util.Date;

//教育培训
public class Jypx  extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//员工
private Integer ygId;
//培训标题
private String v1;
//培训内容
private String content;
//开始时间
private Date beginDate;
//结束时间
private Date endDate;
//培训总结
private String pxzj;
public Integer getYgId() {return ygId;}
public void setYgId(Integer ygId) {this.ygId = ygId;}
public String getV1() {return v1;}
public void setV1(String v1) {this.v1 = v1;}
public String getContent() {return content;}
public void setContent(String content) {this.content = content;}
public Date getBeginDate() {return beginDate;}
public void setBeginDate(Date beginDate) {this.beginDate = beginDate;}
public Date getEndDate() {return endDate;}
public void setEndDate(Date endDate) {this.endDate = endDate;}
public String getPxzj() {return pxzj;}
public void setPxzj(String pxzj) {this.pxzj = pxzj;}
}

考勤javaBean创建语句如下:


package project.model;
import org.springframework.format.annotation.DateTimeFormat;
import java.util.Date;

//考勤
public class Kq  extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//员工
private Integer ygId;
//类型
private String types;
//标题
private String v1;
//内容
private String content;
//开始时间
private Date beginDate;
//结束时间
private Date endDate;
//状态
private String status;
//申请日期
private Date insertDate;
public Integer getYgId() {return ygId;}
public void setYgId(Integer ygId) {this.ygId = ygId;}
public String getTypes() {return types;}
public void setTypes(String types) {this.types = types;}
public String getV1() {return v1;}
public void setV1(String v1) {this.v1 = v1;}
public String getContent() {return content;}
public void setContent(String content) {this.content = content;}
public Date getBeginDate() {return beginDate;}
public void setBeginDate(Date beginDate) {this.beginDate = beginDate;}
public Date getEndDate() {return endDate;}
public void setEndDate(Date endDate) {this.endDate = endDate;}
public String getStatus() {return status;}
public void setStatus(String status) {this.status = status;}
public Date getInsertDate() {return insertDate;}
public void setInsertDate(Date insertDate) {this.insertDate = insertDate;}
}

轮播图javaBean创建语句如下:


package project.model;
import org.springframework.format.annotation.DateTimeFormat;
import java.util.Date;

//轮播图
public class Lbt  extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//图片
private String pic;
public String getPic() {return pic;}
public void setPic(String pic) {this.pic = pic;}
}

人员调配javaBean创建语句如下:


package project.model;
import org.springframework.format.annotation.DateTimeFormat;
import java.util.Date;

//人员调配
public class Rstp  extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//员工
private Integer ygId;
//原部门岗位
private String v1;
//新部门岗位
private String v2;
//说明
private String content;
//调配日期
private Date showDate;
public Integer getYgId() {return ygId;}
public void setYgId(Integer ygId) {this.ygId = ygId;}
public String getV1() {return v1;}
public void setV1(String v1) {this.v1 = v1;}
public String getV2() {return v2;}
public void setV2(String v2) {this.v2 = v2;}
public String getContent() {return content;}
public void setContent(String content) {this.content = content;}
public Date getShowDate() {return showDate;}
public void setShowDate(Date showDate) {this.showDate = showDate;}
}

薪酬javaBean创建语句如下:


package project.model;
import org.springframework.format.annotation.DateTimeFormat;
import java.util.Date;

//薪酬
public class Xc  extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//员工
private Integer ygId;
//基本工资
private Integer v1;
//奖金
private Integer v2;
//绩效
private Integer v3;
//处罚
private Integer v4;
//月份
private String yf;
public Integer getYgId() {return ygId;}
public void setYgId(Integer ygId) {this.ygId = ygId;}
public Integer getV1() {return v1;}
public void setV1(Integer v1) {this.v1 = v1;}
public Integer getV2() {return v2;}
public void setV2(Integer v2) {this.v2 = v2;}
public Integer getV3() {return v3;}
public void setV3(Integer v3) {this.v3 = v3;}
public Integer getV4() {return v4;}
public void setV4(Integer v4) {this.v4 = v4;}
public String getYf() {return yf;}
public void setYf(String yf) {this.yf = yf;}
}

员工javaBean创建语句如下:


package project.model;
import org.springframework.format.annotation.DateTimeFormat;
import java.util.Date;

//员工
public class Yg  extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//账号
private String username;
//密码
private String password;
//姓名
private String ygName;
//头像
private String headPic;
//电话
private String phone;
//年龄
private String age;
//性别
private String sex;
//部门
private String bm;
//岗位
private String gw;
public String getUsername() {return username;}
public void setUsername(String username) {this.username = username;}
public String getPassword() {return password;}
public void setPassword(String password) {this.password = password;}
public String getYgName() {return ygName;}
public void setYgName(String ygName) {this.ygName = ygName;}
public String getHeadPic() {return headPic;}
public void setHeadPic(String headPic) {this.headPic = headPic;}
public String getPhone() {return phone;}
public void setPhone(String phone) {this.phone = phone;}
public String getAge() {return age;}
public void setAge(String age) {this.age = age;}
public String getSex() {return sex;}
public void setSex(String sex) {this.sex = sex;}
public String getBm() {return bm;}
public void setBm(String bm) {this.bm = bm;}
public String getGw() {return gw;}
public void setGw(String gw) {this.gw = gw;}
}

招聘javaBean创建语句如下:


package project.model;
import org.springframework.format.annotation.DateTimeFormat;
import java.util.Date;

//招聘
public class Zhaopin  extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//用户
private Integer customerId;
//姓名
private String v1;
//年龄
private String v2;
//性别
private String v3;
//学历
private String v4;
//目标岗位
private String v5;
//薪酬范围
private String v6;
//详细简历
private String v7;
//发送日期
private Date insertDate;
public Integer getCustomerId() {return customerId;}
public void setCustomerId(Integer customerId) {this.customerId = customerId;}
public String getV1() {return v1;}
public void setV1(String v1) {this.v1 = v1;}
public String getV2() {return v2;}
public void setV2(String v2) {this.v2 = v2;}
public String getV3() {return v3;}
public void setV3(String v3) {this.v3 = v3;}
public String getV4() {return v4;}
public void setV4(String v4) {this.v4 = v4;}
public String getV5() {return v5;}
public void setV5(String v5) {this.v5 = v5;}
public String getV6() {return v6;}
public void setV6(String v6) {this.v6 = v6;}
public String getV7() {return v7;}
public void setV7(String v7) {this.v7 = v7;}
public Date getInsertDate() {return insertDate;}
public void setInsertDate(Date insertDate) {this.insertDate = insertDate;}
}

资讯javaBean创建语句如下:


package project.model;
import org.springframework.format.annotation.DateTimeFormat;
import java.util.Date;

//资讯
public class Zx  extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//标题
private String title;
//内容
private String content;
//图片
private String pic;
public String getTitle() {return title;}
public void setTitle(String title) {this.title = title;}
public String getContent() {return content;}
public void setContent(String content) {this.content = content;}
public String getPic() {return pic;}
public void setPic(String pic) {this.pic = pic;}
}

评论