基于WEB项目的办公OA系统

基于WEB项目的办公OA系统登录注册界面

基于WEB项目的办公OA系统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_gly(
	id int primary key auto_increment comment '主键',
	username varchar(100) comment '账号',
	password varchar(100) comment '密码',
	glyName varchar(100) comment '姓名',
	sex varchar(100) comment '性别',
	phone varchar(100) comment '电话',
	email varchar(100) comment '邮箱',
	address varchar(100) comment '地址',
	headPic varchar(100) comment '头像',
	status varchar(100) comment '状态'
) comment '公司领导';

工作记录表创建语句如下:


create table t_gzjl(
	id int primary key auto_increment comment '主键',
	ygId int comment '员工',
	title varchar(100) comment '工作名称',
	remark varchar(100) comment '备注',
	jd varchar(100) comment '进度'
) comment '工作记录';

合同表创建语句如下:


create table t_ht(
	id int primary key auto_increment comment '主键',
	ygId int comment '员工',
	htUrl varchar(100) comment '文件',
	pic varchar(100) comment '图片',
	rzsj datetime comment '入职时间',
	beginDate datetime comment '开始时间',
	endDate datetime comment '结束时间',
	sfz varchar(100) comment '身份证',
	phone varchar(100) comment '电话'
) comment '合同';

考勤表创建语句如下:


create table t_kq(
	id int primary key auto_increment comment '主键',
	ygId int comment '员工',
	insertDate datetime comment '日期'
) comment '考勤';

每日任务进度表创建语句如下:


create table t_mrwcqk(
	id int primary key auto_increment comment '主键',
	gzjlId int comment '工作记录',
	content varchar(100) comment '进度内容',
	insertDate datetime comment '日期'
) comment '每日任务进度';

工单流程表创建语句如下:


create table t_order(
	id int primary key auto_increment comment '主键',
	types varchar(100) comment '工单类型',
	title varchar(100) comment '标题',
	content varchar(100) comment '内容',
	fqrId int comment '发起人',
	insertDate datetime comment '发起日期',
	file1 varchar(100) comment '文件一',
	file2 varchar(100) comment '文件二',
	file3 varchar(100) comment '文件三',
	remark 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 '姓名',
	sex varchar(100) comment '性别',
	phone varchar(100) comment '手机',
	email varchar(100) comment '邮箱',
	address varchar(100) comment '地址',
	headPic varchar(100) comment '头像',
	deptId int comment '部门',
	isDeptL varchar(100) comment '是否部门领导',
	status varchar(100) comment '状态'
) comment '员工';

员工薪资表创建语句如下:


create table t_ygxz(
	id int primary key auto_increment comment '主键',
	ygId int comment '员工',
	xz int comment '薪资',
	yf varchar(100) comment '月份',
	bz varchar(100) comment '薪资说明'
) comment '员工薪资';

基于WEB项目的办公OA系统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_gly(
	id integer,
	username varchar(100),
	password varchar(100),
	glyName varchar(100),
	sex varchar(100),
	phone varchar(100),
	email varchar(100),
	address varchar(100),
	headPic varchar(100),
	status varchar(100)
);
--公司领导字段加注释
comment on column t_gly.id is '主键';
comment on column t_gly.username is '账号';
comment on column t_gly.password is '密码';
comment on column t_gly.glyName is '姓名';
comment on column t_gly.sex is '性别';
comment on column t_gly.phone is '电话';
comment on column t_gly.email is '邮箱';
comment on column t_gly.address is '地址';
comment on column t_gly.headPic is '头像';
comment on column t_gly.status is '状态';
--公司领导表加注释
comment on table t_gly is '公司领导';

工作记录表创建语句如下:


create table t_gzjl(
	id integer,
	ygId int,
	title varchar(100),
	remark varchar(100),
	jd varchar(100)
);
--工作记录字段加注释
comment on column t_gzjl.id is '主键';
comment on column t_gzjl.ygId is '员工';
comment on column t_gzjl.title is '工作名称';
comment on column t_gzjl.remark is '备注';
comment on column t_gzjl.jd is '进度';
--工作记录表加注释
comment on table t_gzjl is '工作记录';

合同表创建语句如下:


create table t_ht(
	id integer,
	ygId int,
	htUrl varchar(100),
	pic varchar(100),
	rzsj datetime,
	beginDate datetime,
	endDate datetime,
	sfz varchar(100),
	phone varchar(100)
);
--合同字段加注释
comment on column t_ht.id is '主键';
comment on column t_ht.ygId is '员工';
comment on column t_ht.htUrl is '文件';
comment on column t_ht.pic is '图片';
comment on column t_ht.rzsj is '入职时间';
comment on column t_ht.beginDate is '开始时间';
comment on column t_ht.endDate is '结束时间';
comment on column t_ht.sfz is '身份证';
comment on column t_ht.phone is '电话';
--合同表加注释
comment on table t_ht is '合同';

考勤表创建语句如下:


create table t_kq(
	id integer,
	ygId int,
	insertDate datetime
);
--考勤字段加注释
comment on column t_kq.id is '主键';
comment on column t_kq.ygId is '员工';
comment on column t_kq.insertDate is '日期';
--考勤表加注释
comment on table t_kq is '考勤';

每日任务进度表创建语句如下:


create table t_mrwcqk(
	id integer,
	gzjlId int,
	content varchar(100),
	insertDate datetime
);
--每日任务进度字段加注释
comment on column t_mrwcqk.id is '主键';
comment on column t_mrwcqk.gzjlId is '工作记录';
comment on column t_mrwcqk.content is '进度内容';
comment on column t_mrwcqk.insertDate is '日期';
--每日任务进度表加注释
comment on table t_mrwcqk is '每日任务进度';

工单流程表创建语句如下:


create table t_order(
	id integer,
	types varchar(100),
	title varchar(100),
	content varchar(100),
	fqrId int,
	insertDate datetime,
	file1 varchar(100),
	file2 varchar(100),
	file3 varchar(100),
	remark varchar(100),
	status varchar(100)
);
--工单流程字段加注释
comment on column t_order.id is '主键';
comment on column t_order.types is '工单类型';
comment on column t_order.title is '标题';
comment on column t_order.content is '内容';
comment on column t_order.fqrId is '发起人';
comment on column t_order.insertDate is '发起日期';
comment on column t_order.file1 is '文件一';
comment on column t_order.file2 is '文件二';
comment on column t_order.file3 is '文件三';
comment on column t_order.remark is '记录';
comment on column t_order.status is '状态';
--工单流程表加注释
comment on table t_order is '工单流程';

员工表创建语句如下:


create table t_yg(
	id integer,
	username varchar(100),
	password varchar(100),
	ygName varchar(100),
	sex varchar(100),
	phone varchar(100),
	email varchar(100),
	address varchar(100),
	headPic varchar(100),
	deptId int,
	isDeptL varchar(100),
	status 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.sex is '性别';
comment on column t_yg.phone is '手机';
comment on column t_yg.email is '邮箱';
comment on column t_yg.address is '地址';
comment on column t_yg.headPic is '头像';
comment on column t_yg.deptId is '部门';
comment on column t_yg.isDeptL is '是否部门领导';
comment on column t_yg.status is '状态';
--员工表加注释
comment on table t_yg is '员工';

员工薪资表创建语句如下:


create table t_ygxz(
	id integer,
	ygId int,
	xz int,
	yf varchar(100),
	bz varchar(100)
);
--员工薪资字段加注释
comment on column t_ygxz.id is '主键';
comment on column t_ygxz.ygId is '员工';
comment on column t_ygxz.xz is '薪资';
comment on column t_ygxz.yf is '月份';
comment on column t_ygxz.bz is '薪资说明';
--员工薪资表加注释
comment on table t_ygxz is '员工薪资';

oracle特有,对应序列如下:


create sequence s_t_dept;
create sequence s_t_gly;
create sequence s_t_gzjl;
create sequence s_t_ht;
create sequence s_t_kq;
create sequence s_t_mrwcqk;
create sequence s_t_order;
create sequence s_t_yg;
create sequence s_t_ygxz;

基于WEB项目的办公OA系统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_gly(
	id int identity(1,1) primary key not null,--主键
	username varchar(100),--账号
	password varchar(100),--密码
	glyName varchar(100),--姓名
	sex varchar(100),--性别
	phone varchar(100),--电话
	email varchar(100),--邮箱
	address varchar(100),--地址
	headPic varchar(100),--头像
	status varchar(100)--状态
);

工作记录表创建语句如下:


--工作记录表注释
create table t_gzjl(
	id int identity(1,1) primary key not null,--主键
	ygId int,--员工
	title varchar(100),--工作名称
	remark varchar(100),--备注
	jd varchar(100)--进度
);

合同表创建语句如下:


--合同表注释
create table t_ht(
	id int identity(1,1) primary key not null,--主键
	ygId int,--员工
	htUrl varchar(100),--文件
	pic varchar(100),--图片
	rzsj datetime,--入职时间
	beginDate datetime,--开始时间
	endDate datetime,--结束时间
	sfz varchar(100),--身份证
	phone varchar(100)--电话
);

考勤表创建语句如下:


--考勤表注释
create table t_kq(
	id int identity(1,1) primary key not null,--主键
	ygId int,--员工
	insertDate datetime--日期
);

每日任务进度表创建语句如下:


--每日任务进度表注释
create table t_mrwcqk(
	id int identity(1,1) primary key not null,--主键
	gzjlId int,--工作记录
	content varchar(100),--进度内容
	insertDate datetime--日期
);

工单流程表创建语句如下:


--工单流程表注释
create table t_order(
	id int identity(1,1) primary key not null,--主键
	types varchar(100),--工单类型
	title varchar(100),--标题
	content varchar(100),--内容
	fqrId int,--发起人
	insertDate datetime,--发起日期
	file1 varchar(100),--文件一
	file2 varchar(100),--文件二
	file3 varchar(100),--文件三
	remark 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),--姓名
	sex varchar(100),--性别
	phone varchar(100),--手机
	email varchar(100),--邮箱
	address varchar(100),--地址
	headPic varchar(100),--头像
	deptId int,--部门
	isDeptL varchar(100),--是否部门领导
	status varchar(100)--状态
);

员工薪资表创建语句如下:


--员工薪资表注释
create table t_ygxz(
	id int identity(1,1) primary key not null,--主键
	ygId int,--员工
	xz int,--薪资
	yf varchar(100),--月份
	bz varchar(100)--薪资说明
);

基于WEB项目的办公OA系统登录后主页

基于WEB项目的办公OA系统spring+springMVC+hibernate框架对象(javaBean,pojo)设计:

1.员工基本信息管理 ①员工入职合同管理(合同电子档,入职时间,合同签订时间限期等具体信息) ②员工其他信息(姓名,头像,履历,职位,所属部门等) 2.员工部门职位调度管理 员工工作发生变动时对员工信息进行管理,通过查找部门员工信息进行修改 3.员工每日考勤管理 通过指纹识别完成员工工作日的考勤情况 4.员工工作任务管理 ①记录员工任务分配 ②记录员工每日任务完成情况及进度

部门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_gly")
public class Gly {
//主键
@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 glyName;
//性别
private String sex;
//电话
private String phone;
//邮箱
private String email;
//地址
private String address;
//头像
private String headPic;
//状态
private String status;
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 getGlyName() {return glyName;}
public void setGlyName(String glyName) {this.glyName = glyName;}
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 getEmail() {return email;}
public void setEmail(String email) {this.email = email;}
public String getAddress() {return address;}
public void setAddress(String address) {this.address = address;}
public String getHeadPic() {return headPic;}
public void setHeadPic(String headPic) {this.headPic = headPic;}
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_gzjl")
public class Gzjl {
//主键
@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 title;
//备注
private String remark;
//进度
private String jd;
public Integer getYgId() {return ygId;}
public void setYgId(Integer ygId) {this.ygId = ygId;}
public String getTitle() {return title;}
public void setTitle(String title) {this.title = title;}
public String getRemark() {return remark;}
public void setRemark(String remark) {this.remark = remark;}
public String getJd() {return jd;}
public void setJd(String jd) {this.jd = jd;}
}

合同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 ygId;
//文件
private String htUrl;
//图片
private String pic;
//入职时间
private Date rzsj;
//开始时间
private Date beginDate;
//结束时间
private Date endDate;
//身份证
private String sfz;
//电话
private String phone;
public Integer getYgId() {return ygId;}
public void setYgId(Integer ygId) {this.ygId = ygId;}
public String getHtUrl() {return htUrl;}
public void setHtUrl(String htUrl) {this.htUrl = htUrl;}
public String getPic() {return pic;}
public void setPic(String pic) {this.pic = pic;}
public Date getRzsj() {return rzsj;}
public void setRzsj(Date rzsj) {this.rzsj = rzsj;}
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 getSfz() {return sfz;}
public void setSfz(String sfz) {this.sfz = sfz;}
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_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 Date insertDate;
public Integer getYgId() {return ygId;}
public void setYgId(Integer ygId) {this.ygId = ygId;}
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_mrwcqk")
public class Mrwcqk {
//主键
@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 gzjlId;
//进度内容
private String content;
//日期
private Date insertDate;
public Integer getGzjlId() {return gzjlId;}
public void setGzjlId(Integer gzjlId) {this.gzjlId = gzjlId;}
public String getContent() {return content;}
public void setContent(String content) {this.content = content;}
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_order")
public class Order {
//主键
@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 types;
//标题
private String title;
//内容
private String content;
//发起人
private Integer fqrId;
//发起日期
private Date insertDate;
//文件一
private String file1;
//文件二
private String file2;
//文件三
private String file3;
//记录
private String remark;
//状态
private String status;
public String getTypes() {return types;}
public void setTypes(String types) {this.types = types;}
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 Integer getFqrId() {return fqrId;}
public void setFqrId(Integer fqrId) {this.fqrId = fqrId;}
public Date getInsertDate() {return insertDate;}
public void setInsertDate(Date insertDate) {this.insertDate = insertDate;}
public String getFile1() {return file1;}
public void setFile1(String file1) {this.file1 = file1;}
public String getFile2() {return file2;}
public void setFile2(String file2) {this.file2 = file2;}
public String getFile3() {return file3;}
public void setFile3(String file3) {this.file3 = file3;}
public String getRemark() {return remark;}
public void setRemark(String remark) {this.remark = remark;}
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 sex;
//手机
private String phone;
//邮箱
private String email;
//地址
private String address;
//头像
private String headPic;
//部门
private Integer deptId;
//是否部门领导
private String isDeptL;
//状态
private String status;
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 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 getEmail() {return email;}
public void setEmail(String email) {this.email = email;}
public String getAddress() {return address;}
public void setAddress(String address) {this.address = address;}
public String getHeadPic() {return headPic;}
public void setHeadPic(String headPic) {this.headPic = headPic;}
public Integer getDeptId() {return deptId;}
public void setDeptId(Integer deptId) {this.deptId = deptId;}
public String getIsDeptL() {return isDeptL;}
public void setIsDeptL(String isDeptL) {this.isDeptL = isDeptL;}
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_ygxz")
public class Ygxz {
//主键
@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 xz;
//月份
private String yf;
//薪资说明
private String bz;
public Integer getYgId() {return ygId;}
public void setYgId(Integer ygId) {this.ygId = ygId;}
public Integer getXz() {return xz;}
public void setXz(Integer xz) {this.xz = xz;}
public String getYf() {return yf;}
public void setYf(String yf) {this.yf = yf;}
public String getBz() {return bz;}
public void setBz(String bz) {this.bz = bz;}
}

基于WEB项目的办公OA系统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 Gly  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 glyName;
//性别
private String sex;
//电话
private String phone;
//邮箱
private String email;
//地址
private String address;
//头像
private String headPic;
//状态
private String status;
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 getGlyName() {return glyName;}
public void setGlyName(String glyName) {this.glyName = glyName;}
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 getEmail() {return email;}
public void setEmail(String email) {this.email = email;}
public String getAddress() {return address;}
public void setAddress(String address) {this.address = address;}
public String getHeadPic() {return headPic;}
public void setHeadPic(String headPic) {this.headPic = headPic;}
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 Gzjl  extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//员工
private Integer ygId;
//工作名称
private String title;
//备注
private String remark;
//进度
private String jd;
public Integer getYgId() {return ygId;}
public void setYgId(Integer ygId) {this.ygId = ygId;}
public String getTitle() {return title;}
public void setTitle(String title) {this.title = title;}
public String getRemark() {return remark;}
public void setRemark(String remark) {this.remark = remark;}
public String getJd() {return jd;}
public void setJd(String jd) {this.jd = jd;}
}

合同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 ygId;
//文件
private String htUrl;
//图片
private String pic;
//入职时间
private Date rzsj;
//开始时间
private Date beginDate;
//结束时间
private Date endDate;
//身份证
private String sfz;
//电话
private String phone;
public Integer getYgId() {return ygId;}
public void setYgId(Integer ygId) {this.ygId = ygId;}
public String getHtUrl() {return htUrl;}
public void setHtUrl(String htUrl) {this.htUrl = htUrl;}
public String getPic() {return pic;}
public void setPic(String pic) {this.pic = pic;}
public Date getRzsj() {return rzsj;}
public void setRzsj(Date rzsj) {this.rzsj = rzsj;}
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 getSfz() {return sfz;}
public void setSfz(String sfz) {this.sfz = sfz;}
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 Kq  extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//员工
private Integer ygId;
//日期
private Date insertDate;
public Integer getYgId() {return ygId;}
public void setYgId(Integer ygId) {this.ygId = ygId;}
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 Mrwcqk  extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//工作记录
private Integer gzjlId;
//进度内容
private String content;
//日期
private Date insertDate;
public Integer getGzjlId() {return gzjlId;}
public void setGzjlId(Integer gzjlId) {this.gzjlId = gzjlId;}
public String getContent() {return content;}
public void setContent(String content) {this.content = content;}
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 Order  extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//工单类型
private String types;
//标题
private String title;
//内容
private String content;
//发起人
private Integer fqrId;
//发起日期
private Date insertDate;
//文件一
private String file1;
//文件二
private String file2;
//文件三
private String file3;
//记录
private String remark;
//状态
private String status;
public String getTypes() {return types;}
public void setTypes(String types) {this.types = types;}
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 Integer getFqrId() {return fqrId;}
public void setFqrId(Integer fqrId) {this.fqrId = fqrId;}
public Date getInsertDate() {return insertDate;}
public void setInsertDate(Date insertDate) {this.insertDate = insertDate;}
public String getFile1() {return file1;}
public void setFile1(String file1) {this.file1 = file1;}
public String getFile2() {return file2;}
public void setFile2(String file2) {this.file2 = file2;}
public String getFile3() {return file3;}
public void setFile3(String file3) {this.file3 = file3;}
public String getRemark() {return remark;}
public void setRemark(String remark) {this.remark = remark;}
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 sex;
//手机
private String phone;
//邮箱
private String email;
//地址
private String address;
//头像
private String headPic;
//部门
private Integer deptId;
//是否部门领导
private String isDeptL;
//状态
private String status;
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 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 getEmail() {return email;}
public void setEmail(String email) {this.email = email;}
public String getAddress() {return address;}
public void setAddress(String address) {this.address = address;}
public String getHeadPic() {return headPic;}
public void setHeadPic(String headPic) {this.headPic = headPic;}
public Integer getDeptId() {return deptId;}
public void setDeptId(Integer deptId) {this.deptId = deptId;}
public String getIsDeptL() {return isDeptL;}
public void setIsDeptL(String isDeptL) {this.isDeptL = isDeptL;}
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 Ygxz  extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//员工
private Integer ygId;
//薪资
private Integer xz;
//月份
private String yf;
//薪资说明
private String bz;
public Integer getYgId() {return ygId;}
public void setYgId(Integer ygId) {this.ygId = ygId;}
public Integer getXz() {return xz;}
public void setXz(Integer xz) {this.xz = xz;}
public String getYf() {return yf;}
public void setYf(String yf) {this.yf = yf;}
public String getBz() {return bz;}
public void setBz(String bz) {this.bz = bz;}
}

源代码下载点这里

评论