基於spring的醫院人事管理系統設計和實現

qq_2812491287發表於2019-02-14
基於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;}
}

相關文章