**基于WEB的面向医院护士的员工排班系统,基于java的毕业设计**
- 基于WEB的面向医院护士的员工排班系统mysql数据库创建语句
- 基于WEB的面向医院护士的员工排班系统oracle数据库创建语句
- 基于WEB的面向医院护士的员工排班系统sqlserver数据库创建语句
- 基于WEB的面向医院护士的员工排班系统spring springMVC hibernate框架对象(javaBean,pojo)设计
- 基于WEB的面向医院护士的员工排班系统spring springMVC mybatis框架对象(javaBean,pojo)设计
基于WEB的面向医院护士的员工排班系统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_dept(
id int primary key auto_increment comment '主键',
deptName varchar(100) comment '部门'
) comment '部门';
分组表创建语句如下:
create table t_fz(
id int primary key auto_increment comment '主键',
fzName varchar(100) comment '分组'
) comment '分组';
岗位表创建语句如下:
create table t_gw(
id int primary key auto_increment comment '主键',
gwName varchar(100) comment '岗位'
) comment '岗位';
班次表创建语句如下:
create table t_pb(
id int primary key auto_increment comment '主键',
pbName varchar(100) comment '班次名称',
bclx varchar(100) comment '班次类型',
beginDate varchar(100) comment '起始时间',
endDate varchar(100) comment '结束时间',
zsc varchar(100) comment '总时长'
) comment '班次';
排班人员表创建语句如下:
create table t_pblist(
id int primary key auto_increment comment '主键',
pbId int comment '班次',
ygId int comment '员工',
sjd varchar(100) comment '时间段',
pbDate varchar(100) comment '时间'
) comment '排班人员';
请假表创建语句如下:
create table t_qj(
id int primary key auto_increment comment '主键',
ygId int comment '员工',
content varchar(100) comment '请假原因',
qjDate varchar(100) comment '请假日期',
status 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 '员工名称',
age varchar(100) comment '年龄',
sex varchar(100) comment '性别',
phone varchar(100) comment '电话',
ispb varchar(100) comment '是否参与排班'
) comment '员工';
基于WEB的面向医院护士的员工排班系统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_dept(
id integer,
deptName varchar(100)
);
--部门字段加注释
comment on column t_dept.id is '主键';
comment on column t_dept.deptName is '部门';
--部门表加注释
comment on table t_dept is '部门';
分组表创建语句如下:
create table t_fz(
id integer,
fzName varchar(100)
);
--分组字段加注释
comment on column t_fz.id is '主键';
comment on column t_fz.fzName is '分组';
--分组表加注释
comment on table t_fz is '分组';
岗位表创建语句如下:
create table t_gw(
id integer,
gwName varchar(100)
);
--岗位字段加注释
comment on column t_gw.id is '主键';
comment on column t_gw.gwName is '岗位';
--岗位表加注释
comment on table t_gw is '岗位';
班次表创建语句如下:
create table t_pb(
id integer,
pbName varchar(100),
bclx varchar(100),
beginDate varchar(100),
endDate varchar(100),
zsc varchar(100)
);
--班次字段加注释
comment on column t_pb.id is '主键';
comment on column t_pb.pbName is '班次名称';
comment on column t_pb.bclx is '班次类型';
comment on column t_pb.beginDate is '起始时间';
comment on column t_pb.endDate is '结束时间';
comment on column t_pb.zsc is '总时长';
--班次表加注释
comment on table t_pb is '班次';
排班人员表创建语句如下:
create table t_pblist(
id integer,
pbId int,
ygId int,
sjd varchar(100),
pbDate varchar(100)
);
--排班人员字段加注释
comment on column t_pblist.id is '主键';
comment on column t_pblist.pbId is '班次';
comment on column t_pblist.ygId is '员工';
comment on column t_pblist.sjd is '时间段';
comment on column t_pblist.pbDate is '时间';
--排班人员表加注释
comment on table t_pblist is '排班人员';
请假表创建语句如下:
create table t_qj(
id integer,
ygId int,
content varchar(100),
qjDate varchar(100),
status varchar(100)
);
--请假字段加注释
comment on column t_qj.id is '主键';
comment on column t_qj.ygId is '员工';
comment on column t_qj.content is '请假原因';
comment on column t_qj.qjDate is '请假日期';
comment on column t_qj.status is '状态';
--请假表加注释
comment on table t_qj is '请假';
员工表创建语句如下:
create table t_yg(
id integer,
username varchar(100),
password varchar(100),
ygName varchar(100),
age varchar(100),
sex varchar(100),
phone varchar(100),
ispb 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.age is '年龄';
comment on column t_yg.sex is '性别';
comment on column t_yg.phone is '电话';
comment on column t_yg.ispb is '是否参与排班';
--员工表加注释
comment on table t_yg is '员工';
oracle特有,对应序列如下:
create sequence s_t_dept;
create sequence s_t_fz;
create sequence s_t_gw;
create sequence s_t_pb;
create sequence s_t_pblist;
create sequence s_t_qj;
create sequence s_t_yg;
基于WEB的面向医院护士的员工排班系统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_dept(
id int identity(1,1) primary key not null,--主键
deptName varchar(100)--部门
);
分组表创建语句如下:
--分组表注释
create table t_fz(
id int identity(1,1) primary key not null,--主键
fzName varchar(100)--分组
);
岗位表创建语句如下:
--岗位表注释
create table t_gw(
id int identity(1,1) primary key not null,--主键
gwName varchar(100)--岗位
);
班次表创建语句如下:
--班次表注释
create table t_pb(
id int identity(1,1) primary key not null,--主键
pbName varchar(100),--班次名称
bclx varchar(100),--班次类型
beginDate varchar(100),--起始时间
endDate varchar(100),--结束时间
zsc varchar(100)--总时长
);
排班人员表创建语句如下:
--排班人员表注释
create table t_pblist(
id int identity(1,1) primary key not null,--主键
pbId int,--班次
ygId int,--员工
sjd varchar(100),--时间段
pbDate varchar(100)--时间
);
请假表创建语句如下:
--请假表注释
create table t_qj(
id int identity(1,1) primary key not null,--主键
ygId int,--员工
content varchar(100),--请假原因
qjDate varchar(100),--请假日期
status varchar(100)--状态
);
员工表创建语句如下:
--员工表注释
create table t_yg(
id int identity(1,1) primary key not null,--主键
username varchar(100),--账号
password varchar(100),--密码
ygName varchar(100),--员工名称
age varchar(100),--年龄
sex varchar(100),--性别
phone varchar(100),--电话
ispb varchar(100)--是否参与排班
);
基于WEB的面向医院护士的员工排班系统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_dept")
public class Dept {
//主键
@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 deptName;
public String getDeptName() {return deptName;}
public void setDeptName(String deptName) {this.deptName = deptName;}
}
分组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_fz")
public class Fz {
//主键
@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 fzName;
public String getFzName() {return fzName;}
public void setFzName(String fzName) {this.fzName = fzName;}
}
岗位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_gw")
public class Gw {
//主键
@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 gwName;
public String getGwName() {return gwName;}
public void setGwName(String gwName) {this.gwName = gwName;}
}
班次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_pb")
public class Pb {
//主键
@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 pbName;
//班次类型
private String bclx;
//起始时间
private String beginDate;
//结束时间
private String endDate;
//总时长
private String zsc;
public String getPbName() {return pbName;}
public void setPbName(String pbName) {this.pbName = pbName;}
public String getBclx() {return bclx;}
public void setBclx(String bclx) {this.bclx = bclx;}
public String getBeginDate() {return beginDate;}
public void setBeginDate(String beginDate) {this.beginDate = beginDate;}
public String getEndDate() {return endDate;}
public void setEndDate(String endDate) {this.endDate = endDate;}
public String getZsc() {return zsc;}
public void setZsc(String zsc) {this.zsc = zsc;}
}
排班人员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_pblist")
public class Pblist {
//主键
@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 pbId;
//员工
private Integer ygId;
//时间段
private String sjd;
//时间
private String pbDate;
public Integer getPbId() {return pbId;}
public void setPbId(Integer pbId) {this.pbId = pbId;}
public Integer getYgId() {return ygId;}
public void setYgId(Integer ygId) {this.ygId = ygId;}
public String getSjd() {return sjd;}
public void setSjd(String sjd) {this.sjd = sjd;}
public String getPbDate() {return pbDate;}
public void setPbDate(String pbDate) {this.pbDate = pbDate;}
}
请假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 ygId;
//请假原因
private String content;
//请假日期
private String qjDate;
//状态
private String status;
public Integer getYgId() {return ygId;}
public void setYgId(Integer ygId) {this.ygId = ygId;}
public String getContent() {return content;}
public void setContent(String content) {this.content = content;}
public String getQjDate() {return qjDate;}
public void setQjDate(String qjDate) {this.qjDate = qjDate;}
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_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 age;
//性别
private String sex;
//电话
private String phone;
//是否参与排班
private String ispb;
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 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 getIspb() {return ispb;}
public void setIspb(String ispb) {this.ispb = ispb;}
}
基于WEB的面向医院护士的员工排班系统spring springMVC mybatis框架对象(javaBean,pojo)设计:
部门javaBean创建语句如下:
package project.model;
import org.springframework.format.annotation.DateTimeFormat;
import java.util.Date;
//部门
public class Dept extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//部门
private String deptName;
public String getDeptName() {return deptName;}
public void setDeptName(String deptName) {this.deptName = deptName;}
}
分组javaBean创建语句如下:
package project.model;
import org.springframework.format.annotation.DateTimeFormat;
import java.util.Date;
//分组
public class Fz extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//分组
private String fzName;
public String getFzName() {return fzName;}
public void setFzName(String fzName) {this.fzName = fzName;}
}
岗位javaBean创建语句如下:
package project.model;
import org.springframework.format.annotation.DateTimeFormat;
import java.util.Date;
//岗位
public class Gw extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//岗位
private String gwName;
public String getGwName() {return gwName;}
public void setGwName(String gwName) {this.gwName = gwName;}
}
班次javaBean创建语句如下:
package project.model;
import org.springframework.format.annotation.DateTimeFormat;
import java.util.Date;
//班次
public class Pb extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//班次名称
private String pbName;
//班次类型
private String bclx;
//起始时间
private String beginDate;
//结束时间
private String endDate;
//总时长
private String zsc;
public String getPbName() {return pbName;}
public void setPbName(String pbName) {this.pbName = pbName;}
public String getBclx() {return bclx;}
public void setBclx(String bclx) {this.bclx = bclx;}
public String getBeginDate() {return beginDate;}
public void setBeginDate(String beginDate) {this.beginDate = beginDate;}
public String getEndDate() {return endDate;}
public void setEndDate(String endDate) {this.endDate = endDate;}
public String getZsc() {return zsc;}
public void setZsc(String zsc) {this.zsc = zsc;}
}
排班人员javaBean创建语句如下:
package project.model;
import org.springframework.format.annotation.DateTimeFormat;
import java.util.Date;
//排班人员
public class Pblist extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//班次
private Integer pbId;
//员工
private Integer ygId;
//时间段
private String sjd;
//时间
private String pbDate;
public Integer getPbId() {return pbId;}
public void setPbId(Integer pbId) {this.pbId = pbId;}
public Integer getYgId() {return ygId;}
public void setYgId(Integer ygId) {this.ygId = ygId;}
public String getSjd() {return sjd;}
public void setSjd(String sjd) {this.sjd = sjd;}
public String getPbDate() {return pbDate;}
public void setPbDate(String pbDate) {this.pbDate = pbDate;}
}
请假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 ygId;
//请假原因
private String content;
//请假日期
private String qjDate;
//状态
private String status;
public Integer getYgId() {return ygId;}
public void setYgId(Integer ygId) {this.ygId = ygId;}
public String getContent() {return content;}
public void setContent(String content) {this.content = content;}
public String getQjDate() {return qjDate;}
public void setQjDate(String qjDate) {this.qjDate = qjDate;}
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 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 age;
//性别
private String sex;
//电话
private String phone;
//是否参与排班
private String ispb;
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 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 getIspb() {return ispb;}
public void setIspb(String ispb) {this.ispb = ispb;}
}
来源:CSDN
作者:qq_2812491287
链接:https://blog.csdn.net/weixin_44062395/article/details/85063215