基于spring的医院人事管理系统设计和实现

基于spring的医院人事管理系统设计和实现登录注册界面

基于spring的医院人事管理系统设计和实现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_employee(
	id int primary key auto_increment comment '主键',
	username varchar(100) comment '账号',
	password varchar(100) comment '密码 ',
	employeeName varchar(100) comment '姓名',
	zc varchar(100) comment '职称',
	ksId int comment '科室',
	age varchar(100) comment '年龄',
	sex varchar(100) comment '性别',
	phone varchar(100) comment '电话',
	pic varchar(100) comment '头像',
	xl varchar(100) comment ''
) comment '员工';

公告表创建语句如下:


create table t_gg(
	id int primary key auto_increment comment '主键',
	title varchar(100) comment '标题',
	pic varchar(100) comment '图片',
	content varchar(100) comment '内容',
	showDate datetime comment '日期'
) comment '公告';

合同表创建语句如下:


create table t_ht(
	id int primary key auto_increment comment '主键',
	employeeId int comment '员工',
	htName varchar(100) comment '合同编号',
	pic varchar(100) comment '合同拍照',
	fileUrl varchar(100) comment '合同扫描件',
	remark varchar(100) comment '备注',
	beginDate datetime comment '开始时间',
	endDate datetime comment '结束时间',
	je varchar(100) comment '工资额',
	tk varchar(100) comment '条款',
	status varchar(100) comment '状态'
) comment '合同';

科室表创建语句如下:


create table t_ks(
	id int primary key auto_increment comment '主键',
	ksName varchar(100) comment '科室',
	rs int comment '科室人数'
) comment '科室';

普通管理员表创建语句如下:


create table t_ptadmin(
	id int primary key auto_increment comment '主键',
	username varchar(100) comment '账号',
	password varchar(100) comment '密码 ',
	ptadminName varchar(100) comment '姓名',
	age varchar(100) comment '年龄',
	sex varchar(100) comment '性别',
	phone varchar(100) comment '电话'
) comment '普通管理员';

培训表创建语句如下:


create table t_px(
	id int primary key auto_increment comment '主键',
	employeeId int comment '员工',
	title varchar(100) comment '标题',
	content varchar(100) comment '内容',
	address varchar(100) comment '地点',
	showDate datetime comment '日期'
) comment '培训';

请假表创建语句如下:


create table t_qj(
	id int primary key auto_increment comment '主键',
	employeeId int comment '员工',
	title varchar(100) comment '说明',
	content varchar(100) comment '原因',
	types varchar(100) comment '类型',
	beginDate datetime comment '开始时间',
	endDate datetime comment '结束时间',
	status varchar(100) comment '状态'
) comment '请假';

招聘信息表创建语句如下:


create table t_zp(
	id int primary key auto_increment comment '主键',
	title varchar(100) comment '标题',
	types varchar(100) comment '职位',
	content varchar(100) comment '要求',
	showDate datetime comment '日期'
) comment '招聘信息';

基于spring的医院人事管理系统设计和实现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_employee(
	id integer,
	username varchar(100),
	password varchar(100),
	employeeName varchar(100),
	zc varchar(100),
	ksId int,
	age varchar(100),
	sex varchar(100),
	phone varchar(100),
	pic varchar(100),
	xl varchar(100)
);
--员工字段加注释
comment on column t_employee.id is '主键';
comment on column t_employee.username is '账号';
comment on column t_employee.password is '密码 ';
comment on column t_employee.employeeName is '姓名';
comment on column t_employee.zc is '职称';
comment on column t_employee.ksId is '科室';
comment on column t_employee.age is '年龄';
comment on column t_employee.sex is '性别';
comment on column t_employee.phone is '电话';
comment on column t_employee.pic is '头像';
comment on column t_employee.xl is '';
--员工表加注释
comment on table t_employee is '员工';

公告表创建语句如下:


create table t_gg(
	id integer,
	title varchar(100),
	pic varchar(100),
	content varchar(100),
	showDate datetime
);
--公告字段加注释
comment on column t_gg.id is '主键';
comment on column t_gg.title is '标题';
comment on column t_gg.pic is '图片';
comment on column t_gg.content is '内容';
comment on column t_gg.showDate is '日期';
--公告表加注释
comment on table t_gg is '公告';

合同表创建语句如下:


create table t_ht(
	id integer,
	employeeId int,
	htName varchar(100),
	pic varchar(100),
	fileUrl varchar(100),
	remark varchar(100),
	beginDate datetime,
	endDate datetime,
	je varchar(100),
	tk varchar(100),
	status varchar(100)
);
--合同字段加注释
comment on column t_ht.id is '主键';
comment on column t_ht.employeeId is '员工';
comment on column t_ht.htName is '合同编号';
comment on column t_ht.pic is '合同拍照';
comment on column t_ht.fileUrl is '合同扫描件';
comment on column t_ht.remark is '备注';
comment on column t_ht.beginDate is '开始时间';
comment on column t_ht.endDate is '结束时间';
comment on column t_ht.je is '工资额';
comment on column t_ht.tk is '条款';
comment on column t_ht.status is '状态';
--合同表加注释
comment on table t_ht is '合同';

科室表创建语句如下:


create table t_ks(
	id integer,
	ksName varchar(100),
	rs int
);
--科室字段加注释
comment on column t_ks.id is '主键';
comment on column t_ks.ksName is '科室';
comment on column t_ks.rs is '科室人数';
--科室表加注释
comment on table t_ks is '科室';

普通管理员表创建语句如下:


create table t_ptadmin(
	id integer,
	username varchar(100),
	password varchar(100),
	ptadminName varchar(100),
	age varchar(100),
	sex varchar(100),
	phone varchar(100)
);
--普通管理员字段加注释
comment on column t_ptadmin.id is '主键';
comment on column t_ptadmin.username is '账号';
comment on column t_ptadmin.password is '密码 ';
comment on column t_ptadmin.ptadminName is '姓名';
comment on column t_ptadmin.age is '年龄';
comment on column t_ptadmin.sex is '性别';
comment on column t_ptadmin.phone is '电话';
--普通管理员表加注释
comment on table t_ptadmin is '普通管理员';

培训表创建语句如下:


create table t_px(
	id integer,
	employeeId int,
	title varchar(100),
	content varchar(100),
	address varchar(100),
	showDate datetime
);
--培训字段加注释
comment on column t_px.id is '主键';
comment on column t_px.employeeId is '员工';
comment on column t_px.title is '标题';
comment on column t_px.content is '内容';
comment on column t_px.address is '地点';
comment on column t_px.showDate is '日期';
--培训表加注释
comment on table t_px is '培训';

请假表创建语句如下:


create table t_qj(
	id integer,
	employeeId int,
	title varchar(100),
	content varchar(100),
	types varchar(100),
	beginDate datetime,
	endDate datetime,
	status varchar(100)
);
--请假字段加注释
comment on column t_qj.id is '主键';
comment on column t_qj.employeeId is '员工';
comment on column t_qj.title is '说明';
comment on column t_qj.content is '原因';
comment on column t_qj.types is '类型';
comment on column t_qj.beginDate is '开始时间';
comment on column t_qj.endDate is '结束时间';
comment on column t_qj.status is '状态';
--请假表加注释
comment on table t_qj is '请假';

招聘信息表创建语句如下:


create table t_zp(
	id integer,
	title varchar(100),
	types varchar(100),
	content varchar(100),
	showDate datetime
);
--招聘信息字段加注释
comment on column t_zp.id is '主键';
comment on column t_zp.title is '标题';
comment on column t_zp.types is '职位';
comment on column t_zp.content is '要求';
comment on column t_zp.showDate is '日期';
--招聘信息表加注释
comment on table t_zp is '招聘信息';

oracle特有,对应序列如下:


create sequence s_t_employee;
create sequence s_t_gg;
create sequence s_t_ht;
create sequence s_t_ks;
create sequence s_t_ptadmin;
create sequence s_t_px;
create sequence s_t_qj;
create sequence s_t_zp;

基于spring的医院人事管理系统设计和实现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_employee(
	id int identity(1,1) primary key not null,--主键
	username varchar(100),--账号
	password varchar(100),--密码 
	employeeName varchar(100),--姓名
	zc varchar(100),--职称
	ksId int,--科室
	age varchar(100),--年龄
	sex varchar(100),--性别
	phone varchar(100),--电话
	pic varchar(100),--头像
	xl varchar(100)--
);

公告表创建语句如下:


--公告表注释
create table t_gg(
	id int identity(1,1) primary key not null,--主键
	title varchar(100),--标题
	pic varchar(100),--图片
	content varchar(100),--内容
	showDate datetime--日期
);

合同表创建语句如下:


--合同表注释
create table t_ht(
	id int identity(1,1) primary key not null,--主键
	employeeId int,--员工
	htName varchar(100),--合同编号
	pic varchar(100),--合同拍照
	fileUrl varchar(100),--合同扫描件
	remark varchar(100),--备注
	beginDate datetime,--开始时间
	endDate datetime,--结束时间
	je varchar(100),--工资额
	tk varchar(100),--条款
	status varchar(100)--状态
);

科室表创建语句如下:


--科室表注释
create table t_ks(
	id int identity(1,1) primary key not null,--主键
	ksName varchar(100),--科室
	rs int--科室人数
);

普通管理员表创建语句如下:


--普通管理员表注释
create table t_ptadmin(
	id int identity(1,1) primary key not null,--主键
	username varchar(100),--账号
	password varchar(100),--密码 
	ptadminName varchar(100),--姓名
	age varchar(100),--年龄
	sex varchar(100),--性别
	phone varchar(100)--电话
);

培训表创建语句如下:


--培训表注释
create table t_px(
	id int identity(1,1) primary key not null,--主键
	employeeId int,--员工
	title varchar(100),--标题
	content varchar(100),--内容
	address varchar(100),--地点
	showDate datetime--日期
);

请假表创建语句如下:


--请假表注释
create table t_qj(
	id int identity(1,1) primary key not null,--主键
	employeeId int,--员工
	title varchar(100),--说明
	content varchar(100),--原因
	types varchar(100),--类型
	beginDate datetime,--开始时间
	endDate datetime,--结束时间
	status varchar(100)--状态
);

招聘信息表创建语句如下:


--招聘信息表注释
create table t_zp(
	id int identity(1,1) primary key not null,--主键
	title varchar(100),--标题
	types varchar(100),--职位
	content varchar(100),--要求
	showDate datetime--日期
);

基于spring的医院人事管理系统设计和实现登录后主页

基于spring的医院人事管理系统设计和实现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_employee")
public class Employee {
//主键
@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 employeeName;
//职称
private String zc;
//科室
private Integer ksId;
//年龄
private String age;
//性别
private String sex;
//电话
private String phone;
//头像
private String pic;
//
private String xl;
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 getEmployeeName() {return employeeName;}
public void setEmployeeName(String employeeName) {this.employeeName = employeeName;}
public String getZc() {return zc;}
public void setZc(String zc) {this.zc = zc;}
public Integer getKsId() {return ksId;}
public void setKsId(Integer ksId) {this.ksId = ksId;}
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 getPhone() {return phone;}
public void setPhone(String phone) {this.phone = phone;}
public String getPic() {return pic;}
public void setPic(String pic) {this.pic = pic;}
public String getXl() {return xl;}
public void setXl(String xl) {this.xl = xl;}
}

公告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_gg")
public class Gg {
//主键
@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 pic;
//内容
private String content;
//日期
private Date showDate;
public String getTitle() {return title;}
public void setTitle(String title) {this.title = title;}
public String getPic() {return pic;}
public void setPic(String pic) {this.pic = pic;}
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_ht")
public class Ht {
//主键
@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 employeeId;
//合同编号
private String htName;
//合同拍照
private String pic;
//合同扫描件
private String fileUrl;
//备注
private String remark;
//开始时间
private Date beginDate;
//结束时间
private Date endDate;
//工资额
private String je;
//条款
private String tk;
//状态
private String status;
public Integer getEmployeeId() {return employeeId;}
public void setEmployeeId(Integer employeeId) {this.employeeId = employeeId;}
public String getHtName() {return htName;}
public void setHtName(String htName) {this.htName = htName;}
public String getPic() {return pic;}
public void setPic(String pic) {this.pic = pic;}
public String getFileUrl() {return fileUrl;}
public void setFileUrl(String fileUrl) {this.fileUrl = fileUrl;}
public String getRemark() {return remark;}
public void setRemark(String remark) {this.remark = remark;}
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 getJe() {return je;}
public void setJe(String je) {this.je = je;}
public String getTk() {return tk;}
public void setTk(String tk) {this.tk = tk;}
public String getStatus() {return status;}
public void setStatus(String status) {this.status = status;}
}

科室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_ks")
public class Ks {
//主键
@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 ksName;
//科室人数
private Integer rs;
public String getKsName() {return ksName;}
public void setKsName(String ksName) {this.ksName = ksName;}
public Integer getRs() {return rs;}
public void setRs(Integer rs) {this.rs = rs;}
}

普通管理员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_ptadmin")
public class Ptadmin {
//主键
@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 ptadminName;
//年龄
private String age;
//性别
private String sex;
//电话
private String phone;
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 getPtadminName() {return ptadminName;}
public void setPtadminName(String ptadminName) {this.ptadminName = ptadminName;}
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 getPhone() {return phone;}
public void setPhone(String phone) {this.phone = phone;}
}

培训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_px")
public class Px {
//主键
@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 employeeId;
//标题
private String title;
//内容
private String content;
//地点
private String address;
//日期
private Date showDate;
public Integer getEmployeeId() {return employeeId;}
public void setEmployeeId(Integer employeeId) {this.employeeId = employeeId;}
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 getAddress() {return address;}
public void setAddress(String address) {this.address = address;}
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_qj")
public class Qj {
//主键
@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 employeeId;
//说明
private String title;
//原因
private String content;
//类型
private String types;
//开始时间
private Date beginDate;
//结束时间
private Date endDate;
//状态
private String status;
public Integer getEmployeeId() {return employeeId;}
public void setEmployeeId(Integer employeeId) {this.employeeId = employeeId;}
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 getTypes() {return types;}
public void setTypes(String types) {this.types = types;}
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;}
}

招聘信息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_zp")
public class Zp {
//主键
@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 types;
//要求
private String content;
//日期
private Date showDate;
public String getTitle() {return title;}
public void setTitle(String title) {this.title = title;}
public String getTypes() {return types;}
public void setTypes(String types) {this.types = types;}
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;}
}

基于spring的医院人事管理系统设计和实现spring+springMVC+mybatis框架对象(javaBean,pojo)设计:

员工javaBean创建语句如下:


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

//员工
public class Employee  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 employeeName;
//职称
private String zc;
//科室
private Integer ksId;
//年龄
private String age;
//性别
private String sex;
//电话
private String phone;
//头像
private String pic;
//
private String xl;
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 getEmployeeName() {return employeeName;}
public void setEmployeeName(String employeeName) {this.employeeName = employeeName;}
public String getZc() {return zc;}
public void setZc(String zc) {this.zc = zc;}
public Integer getKsId() {return ksId;}
public void setKsId(Integer ksId) {this.ksId = ksId;}
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 getPhone() {return phone;}
public void setPhone(String phone) {this.phone = phone;}
public String getPic() {return pic;}
public void setPic(String pic) {this.pic = pic;}
public String getXl() {return xl;}
public void setXl(String xl) {this.xl = xl;}
}

公告javaBean创建语句如下:


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

//公告
public class Gg  extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//标题
private String title;
//图片
private String pic;
//内容
private String content;
//日期
private Date showDate;
public String getTitle() {return title;}
public void setTitle(String title) {this.title = title;}
public String getPic() {return pic;}
public void setPic(String pic) {this.pic = pic;}
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 Ht  extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//员工
private Integer employeeId;
//合同编号
private String htName;
//合同拍照
private String pic;
//合同扫描件
private String fileUrl;
//备注
private String remark;
//开始时间
private Date beginDate;
//结束时间
private Date endDate;
//工资额
private String je;
//条款
private String tk;
//状态
private String status;
public Integer getEmployeeId() {return employeeId;}
public void setEmployeeId(Integer employeeId) {this.employeeId = employeeId;}
public String getHtName() {return htName;}
public void setHtName(String htName) {this.htName = htName;}
public String getPic() {return pic;}
public void setPic(String pic) {this.pic = pic;}
public String getFileUrl() {return fileUrl;}
public void setFileUrl(String fileUrl) {this.fileUrl = fileUrl;}
public String getRemark() {return remark;}
public void setRemark(String remark) {this.remark = remark;}
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 getJe() {return je;}
public void setJe(String je) {this.je = je;}
public String getTk() {return tk;}
public void setTk(String tk) {this.tk = tk;}
public String getStatus() {return status;}
public void setStatus(String status) {this.status = status;}
}

科室javaBean创建语句如下:


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

//科室
public class Ks  extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//科室
private String ksName;
//科室人数
private Integer rs;
public String getKsName() {return ksName;}
public void setKsName(String ksName) {this.ksName = ksName;}
public Integer getRs() {return rs;}
public void setRs(Integer rs) {this.rs = rs;}
}

普通管理员javaBean创建语句如下:


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

//普通管理员
public class Ptadmin  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 ptadminName;
//年龄
private String age;
//性别
private String sex;
//电话
private String phone;
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 getPtadminName() {return ptadminName;}
public void setPtadminName(String ptadminName) {this.ptadminName = ptadminName;}
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 getPhone() {return phone;}
public void setPhone(String phone) {this.phone = phone;}
}

培训javaBean创建语句如下:


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

//培训
public class Px  extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//员工
private Integer employeeId;
//标题
private String title;
//内容
private String content;
//地点
private String address;
//日期
private Date showDate;
public Integer getEmployeeId() {return employeeId;}
public void setEmployeeId(Integer employeeId) {this.employeeId = employeeId;}
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 getAddress() {return address;}
public void setAddress(String address) {this.address = address;}
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 Qj  extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//员工
private Integer employeeId;
//说明
private String title;
//原因
private String content;
//类型
private String types;
//开始时间
private Date beginDate;
//结束时间
private Date endDate;
//状态
private String status;
public Integer getEmployeeId() {return employeeId;}
public void setEmployeeId(Integer employeeId) {this.employeeId = employeeId;}
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 getTypes() {return types;}
public void setTypes(String types) {this.types = types;}
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;}
}

招聘信息javaBean创建语句如下:


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

//招聘信息
public class Zp  extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//标题
private String title;
//职位
private String types;
//要求
private String content;
//日期
private Date showDate;
public String getTitle() {return title;}
public void setTitle(String title) {this.title = title;}
public String getTypes() {return types;}
public void setTypes(String types) {this.types = types;}
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;}
}

源代码下载点这里

评论