创新公司员工的信息管理系统

创新公司员工的信息管理系统登录注册界面

创新公司员工的信息管理系统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_cfjl(
	id int primary key auto_increment comment '主键',
	customerId int comment '员工',
	types varchar(100) comment '类型',
	fee int comment '金额',
	showDate datetime comment '日期',
	content varchar(100) comment '说明'
) comment '惩罚奖励';

员工表创建语句如下:


create table t_customer(
	id int primary key auto_increment comment '主键',
	username varchar(100) comment '账号',
	password varchar(100) comment '密码 ',
	gh varchar(100) comment '工号',
	customerName varchar(100) comment '姓名',
	deptId int comment '部门',
	age varchar(100) comment '年龄',
	sex varchar(100) comment '性别',
	phone varchar(100) comment '电话',
	email varchar(100) comment '邮箱',
	gly varchar(100) comment '是否管理员'
) comment '员工';

部门表创建语句如下:


create table t_dept(
	id int primary key auto_increment comment '主键',
	deptName 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_gzff(
	id int primary key auto_increment comment '主键',
	customerId int comment '员工',
	yf varchar(100) comment '月份',
	fee int comment '工资额',
	content varchar(100) comment '明细'
) comment '工资发放';

会议表创建语句如下:


create table t_hy(
	id int primary key auto_increment comment '主键',
	title varchar(100) comment '会议标题',
	address varchar(100) comment '地址',
	ry varchar(100) comment '参加人员(工号)',
	content varchar(100) comment '会议内容',
	fileUrl varchar(100) comment '会议文件',
	showDate datetime comment '会议日期'
) comment '会议';

基本工资表创建语句如下:


create table t_jbgz(
	id int primary key auto_increment comment '主键',
	customerId int comment '员工',
	jbgz int comment '基本工资'
) comment '基本工资';

留言板表创建语句如下:


create table t_lyb(
	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_lyblist(
	id int primary key auto_increment comment '主键',
	lybId int comment '留言板',
	name varchar(100) 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_qj(
	id int primary key auto_increment comment '主键',
	customerId int comment '员工',
	title varchar(100) comment '请假标题',
	types varchar(100) comment '类型',
	content varchar(100) comment '详细说明',
	beginDate datetime comment '请假开始日期',
	endDate datetime comment '请假结束日期',
	status varchar(100) comment '状态'
) comment '请假';

邮件表创建语句如下:


create table t_yj(
	id int primary key auto_increment comment '主键',
	customerId int comment '发送人',
	toId int comment '接收人',
	title varchar(100) comment '标题',
	fileUrl varchar(100) comment '附件',
	content varchar(100) comment '内容',
	insertDate datetime comment '日期'
) comment '邮件';

共享资料表创建语句如下:


create table t_zl(
	id int primary key auto_increment comment '主键',
	title varchar(100) comment '资料名称',
	zlUrl varchar(100) comment '资料'
) comment '共享资料';

创新公司员工的信息管理系统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_cfjl(
	id integer,
	customerId int,
	types varchar(100),
	fee int,
	showDate datetime,
	content varchar(100)
);
--惩罚奖励字段加注释
comment on column t_cfjl.id is '主键';
comment on column t_cfjl.customerId is '员工';
comment on column t_cfjl.types is '类型';
comment on column t_cfjl.fee is '金额';
comment on column t_cfjl.showDate is '日期';
comment on column t_cfjl.content is '说明';
--惩罚奖励表加注释
comment on table t_cfjl is '惩罚奖励';

员工表创建语句如下:


create table t_customer(
	id integer,
	username varchar(100),
	password varchar(100),
	gh varchar(100),
	customerName varchar(100),
	deptId int,
	age varchar(100),
	sex varchar(100),
	phone varchar(100),
	email varchar(100),
	gly varchar(100)
);
--员工字段加注释
comment on column t_customer.id is '主键';
comment on column t_customer.username is '账号';
comment on column t_customer.password is '密码 ';
comment on column t_customer.gh is '工号';
comment on column t_customer.customerName is '姓名';
comment on column t_customer.deptId is '部门';
comment on column t_customer.age is '年龄';
comment on column t_customer.sex is '性别';
comment on column t_customer.phone is '电话';
comment on column t_customer.email is '邮箱';
comment on column t_customer.gly is '是否管理员';
--员工表加注释
comment on table t_customer 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_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_gzff(
	id integer,
	customerId int,
	yf varchar(100),
	fee int,
	content varchar(100)
);
--工资发放字段加注释
comment on column t_gzff.id is '主键';
comment on column t_gzff.customerId is '员工';
comment on column t_gzff.yf is '月份';
comment on column t_gzff.fee is '工资额';
comment on column t_gzff.content is '明细';
--工资发放表加注释
comment on table t_gzff is '工资发放';

会议表创建语句如下:


create table t_hy(
	id integer,
	title varchar(100),
	address varchar(100),
	ry varchar(100),
	content varchar(100),
	fileUrl varchar(100),
	showDate datetime
);
--会议字段加注释
comment on column t_hy.id is '主键';
comment on column t_hy.title is '会议标题';
comment on column t_hy.address is '地址';
comment on column t_hy.ry is '参加人员(工号)';
comment on column t_hy.content is '会议内容';
comment on column t_hy.fileUrl is '会议文件';
comment on column t_hy.showDate is '会议日期';
--会议表加注释
comment on table t_hy is '会议';

基本工资表创建语句如下:


create table t_jbgz(
	id integer,
	customerId int,
	jbgz int
);
--基本工资字段加注释
comment on column t_jbgz.id is '主键';
comment on column t_jbgz.customerId is '员工';
comment on column t_jbgz.jbgz is '基本工资';
--基本工资表加注释
comment on table t_jbgz is '基本工资';

留言板表创建语句如下:


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

留言板内容表创建语句如下:


create table t_lyblist(
	id integer,
	lybId int,
	name varchar(100),
	content varchar(100),
	insertDate datetime
);
--留言板内容字段加注释
comment on column t_lyblist.id is '主键';
comment on column t_lyblist.lybId is '留言板';
comment on column t_lyblist.name is '姓名';
comment on column t_lyblist.content is '内容';
comment on column t_lyblist.insertDate is '日期';
--留言板内容表加注释
comment on table t_lyblist 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_qj(
	id integer,
	customerId int,
	title varchar(100),
	types varchar(100),
	content varchar(100),
	beginDate datetime,
	endDate datetime,
	status varchar(100)
);
--请假字段加注释
comment on column t_qj.id is '主键';
comment on column t_qj.customerId is '员工';
comment on column t_qj.title is '请假标题';
comment on column t_qj.types is '类型';
comment on column t_qj.content 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_yj(
	id integer,
	customerId int,
	toId int,
	title varchar(100),
	fileUrl varchar(100),
	content varchar(100),
	insertDate datetime
);
--邮件字段加注释
comment on column t_yj.id is '主键';
comment on column t_yj.customerId is '发送人';
comment on column t_yj.toId is '接收人';
comment on column t_yj.title is '标题';
comment on column t_yj.fileUrl is '附件';
comment on column t_yj.content is '内容';
comment on column t_yj.insertDate is '日期';
--邮件表加注释
comment on table t_yj is '邮件';

共享资料表创建语句如下:


create table t_zl(
	id integer,
	title varchar(100),
	zlUrl varchar(100)
);
--共享资料字段加注释
comment on column t_zl.id is '主键';
comment on column t_zl.title is '资料名称';
comment on column t_zl.zlUrl is '资料';
--共享资料表加注释
comment on table t_zl is '共享资料';

oracle特有,对应序列如下:


create sequence s_t_cfjl;
create sequence s_t_customer;
create sequence s_t_dept;
create sequence s_t_gg;
create sequence s_t_gzff;
create sequence s_t_hy;
create sequence s_t_jbgz;
create sequence s_t_lyb;
create sequence s_t_lyblist;
create sequence s_t_order;
create sequence s_t_qj;
create sequence s_t_yj;
create sequence s_t_zl;

创新公司员工的信息管理系统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_cfjl(
	id int identity(1,1) primary key not null,--主键
	customerId int,--员工
	types varchar(100),--类型
	fee int,--金额
	showDate datetime,--日期
	content varchar(100)--说明
);

员工表创建语句如下:


--员工表注释
create table t_customer(
	id int identity(1,1) primary key not null,--主键
	username varchar(100),--账号
	password varchar(100),--密码 
	gh varchar(100),--工号
	customerName varchar(100),--姓名
	deptId int,--部门
	age varchar(100),--年龄
	sex varchar(100),--性别
	phone varchar(100),--电话
	email varchar(100),--邮箱
	gly varchar(100)--是否管理员
);

部门表创建语句如下:


--部门表注释
create table t_dept(
	id int identity(1,1) primary key not null,--主键
	deptName 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_gzff(
	id int identity(1,1) primary key not null,--主键
	customerId int,--员工
	yf varchar(100),--月份
	fee int,--工资额
	content varchar(100)--明细
);

会议表创建语句如下:


--会议表注释
create table t_hy(
	id int identity(1,1) primary key not null,--主键
	title varchar(100),--会议标题
	address varchar(100),--地址
	ry varchar(100),--参加人员(工号)
	content varchar(100),--会议内容
	fileUrl varchar(100),--会议文件
	showDate datetime--会议日期
);

基本工资表创建语句如下:


--基本工资表注释
create table t_jbgz(
	id int identity(1,1) primary key not null,--主键
	customerId int,--员工
	jbgz int--基本工资
);

留言板表创建语句如下:


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

留言板内容表创建语句如下:


--留言板内容表注释
create table t_lyblist(
	id int identity(1,1) primary key not null,--主键
	lybId int,--留言板
	name varchar(100),--姓名
	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_qj(
	id int identity(1,1) primary key not null,--主键
	customerId int,--员工
	title varchar(100),--请假标题
	types varchar(100),--类型
	content varchar(100),--详细说明
	beginDate datetime,--请假开始日期
	endDate datetime,--请假结束日期
	status varchar(100)--状态
);

邮件表创建语句如下:


--邮件表注释
create table t_yj(
	id int identity(1,1) primary key not null,--主键
	customerId int,--发送人
	toId int,--接收人
	title varchar(100),--标题
	fileUrl varchar(100),--附件
	content varchar(100),--内容
	insertDate datetime--日期
);

共享资料表创建语句如下:


--共享资料表注释
create table t_zl(
	id int identity(1,1) primary key not null,--主键
	title varchar(100),--资料名称
	zlUrl varchar(100)--资料
);

创新公司员工的信息管理系统登录后主页

创新公司员工的信息管理系统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_cfjl")
public class Cfjl {
//主键
@Id
@Column(name = "id")
@GeneratedValue(strategy = GenerationType.IDENTITY)
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//员工
private Integer customerId;
//类型
private String types;
//金额
private Integer fee;
//日期
private Date showDate;
//说明
private String content;
public Integer getCustomerId() {return customerId;}
public void setCustomerId(Integer customerId) {this.customerId = customerId;}
public String getTypes() {return types;}
public void setTypes(String types) {this.types = types;}
public Integer getFee() {return fee;}
public void setFee(Integer fee) {this.fee = fee;}
public Date getShowDate() {return showDate;}
public void setShowDate(Date showDate) {this.showDate = showDate;}
public String getContent() {return content;}
public void setContent(String content) {this.content = content;}
}

员工javaBean创建语句如下:


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

//员工
@Table(name = "t_customer")
public class Customer {
//主键
@Id
@Column(name = "id")
@GeneratedValue(strategy = GenerationType.IDENTITY)
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//账号
private String username;
//密码 
private String password;
//工号
private String gh;
//姓名
private String customerName;
//部门
private Integer deptId;
//年龄
private String age;
//性别
private String sex;
//电话
private String phone;
//邮箱
private String email;
//是否管理员
private String gly;
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 getGh() {return gh;}
public void setGh(String gh) {this.gh = gh;}
public String getCustomerName() {return customerName;}
public void setCustomerName(String customerName) {this.customerName = customerName;}
public Integer getDeptId() {return deptId;}
public void setDeptId(Integer deptId) {this.deptId = deptId;}
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 getEmail() {return email;}
public void setEmail(String email) {this.email = email;}
public String getGly() {return gly;}
public void setGly(String gly) {this.gly = gly;}
}

部门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_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_gzff")
public class Gzff {
//主键
@Id
@Column(name = "id")
@GeneratedValue(strategy = GenerationType.IDENTITY)
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//员工
private Integer customerId;
//月份
private String yf;
//工资额
private Integer fee;
//明细
private String content;
public Integer getCustomerId() {return customerId;}
public void setCustomerId(Integer customerId) {this.customerId = customerId;}
public String getYf() {return yf;}
public void setYf(String yf) {this.yf = yf;}
public Integer getFee() {return fee;}
public void setFee(Integer fee) {this.fee = fee;}
public String getContent() {return content;}
public void setContent(String content) {this.content = content;}
}

会议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_hy")
public class Hy {
//主键
@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 address;
//参加人员(工号)
private String ry;
//会议内容
private String content;
//会议文件
private String fileUrl;
//会议日期
private Date showDate;
public String getTitle() {return title;}
public void setTitle(String title) {this.title = title;}
public String getAddress() {return address;}
public void setAddress(String address) {this.address = address;}
public String getRy() {return ry;}
public void setRy(String ry) {this.ry = ry;}
public String getContent() {return content;}
public void setContent(String content) {this.content = content;}
public String getFileUrl() {return fileUrl;}
public void setFileUrl(String fileUrl) {this.fileUrl = fileUrl;}
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_jbgz")
public class Jbgz {
//主键
@Id
@Column(name = "id")
@GeneratedValue(strategy = GenerationType.IDENTITY)
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//员工
private Integer customerId;
//基本工资
private Integer jbgz;
public Integer getCustomerId() {return customerId;}
public void setCustomerId(Integer customerId) {this.customerId = customerId;}
public Integer getJbgz() {return jbgz;}
public void setJbgz(Integer jbgz) {this.jbgz = jbgz;}
}

留言板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_lyb")
public class Lyb {
//主键
@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_lyblist")
public class Lyblist {
//主键
@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 lybId;
//姓名
private String name;
//内容
private String content;
//日期
private Date insertDate;
public Integer getLybId() {return lybId;}
public void setLybId(Integer lybId) {this.lybId = lybId;}
public String getName() {return name;}
public void setName(String name) {this.name = name;}
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_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 customerId;
//请假标题
private String title;
//类型
private String types;
//详细说明
private String content;
//请假开始日期
private Date beginDate;
//请假结束日期
private Date endDate;
//状态
private String status;
public Integer getCustomerId() {return customerId;}
public void setCustomerId(Integer customerId) {this.customerId = customerId;}
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 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_yj")
public class Yj {
//主键
@Id
@Column(name = "id")
@GeneratedValue(strategy = GenerationType.IDENTITY)
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//发送人
private Integer customerId;
//接收人
private Integer toId;
//标题
private String title;
//附件
private String fileUrl;
//内容
private String content;
//日期
private Date insertDate;
public Integer getCustomerId() {return customerId;}
public void setCustomerId(Integer customerId) {this.customerId = customerId;}
public Integer getToId() {return toId;}
public void setToId(Integer toId) {this.toId = toId;}
public String getTitle() {return title;}
public void setTitle(String title) {this.title = title;}
public String getFileUrl() {return fileUrl;}
public void setFileUrl(String fileUrl) {this.fileUrl = fileUrl;}
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_zl")
public class Zl {
//主键
@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 zlUrl;
public String getTitle() {return title;}
public void setTitle(String title) {this.title = title;}
public String getZlUrl() {return zlUrl;}
public void setZlUrl(String zlUrl) {this.zlUrl = zlUrl;}
}

创新公司员工的信息管理系统spring+springMVC+mybatis框架对象(javaBean,pojo)设计:

惩罚奖励javaBean创建语句如下:


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

//惩罚奖励
public class Cfjl  extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//员工
private Integer customerId;
//类型
private String types;
//金额
private Integer fee;
//日期
private Date showDate;
//说明
private String content;
public Integer getCustomerId() {return customerId;}
public void setCustomerId(Integer customerId) {this.customerId = customerId;}
public String getTypes() {return types;}
public void setTypes(String types) {this.types = types;}
public Integer getFee() {return fee;}
public void setFee(Integer fee) {this.fee = fee;}
public Date getShowDate() {return showDate;}
public void setShowDate(Date showDate) {this.showDate = showDate;}
public String getContent() {return content;}
public void setContent(String content) {this.content = content;}
}

员工javaBean创建语句如下:


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

//员工
public class Customer  extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//账号
private String username;
//密码 
private String password;
//工号
private String gh;
//姓名
private String customerName;
//部门
private Integer deptId;
//年龄
private String age;
//性别
private String sex;
//电话
private String phone;
//邮箱
private String email;
//是否管理员
private String gly;
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 getGh() {return gh;}
public void setGh(String gh) {this.gh = gh;}
public String getCustomerName() {return customerName;}
public void setCustomerName(String customerName) {this.customerName = customerName;}
public Integer getDeptId() {return deptId;}
public void setDeptId(Integer deptId) {this.deptId = deptId;}
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 getEmail() {return email;}
public void setEmail(String email) {this.email = email;}
public String getGly() {return gly;}
public void setGly(String gly) {this.gly = gly;}
}

部门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 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 Gzff  extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//员工
private Integer customerId;
//月份
private String yf;
//工资额
private Integer fee;
//明细
private String content;
public Integer getCustomerId() {return customerId;}
public void setCustomerId(Integer customerId) {this.customerId = customerId;}
public String getYf() {return yf;}
public void setYf(String yf) {this.yf = yf;}
public Integer getFee() {return fee;}
public void setFee(Integer fee) {this.fee = fee;}
public String getContent() {return content;}
public void setContent(String content) {this.content = content;}
}

会议javaBean创建语句如下:


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

//会议
public class Hy  extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//会议标题
private String title;
//地址
private String address;
//参加人员(工号)
private String ry;
//会议内容
private String content;
//会议文件
private String fileUrl;
//会议日期
private Date showDate;
public String getTitle() {return title;}
public void setTitle(String title) {this.title = title;}
public String getAddress() {return address;}
public void setAddress(String address) {this.address = address;}
public String getRy() {return ry;}
public void setRy(String ry) {this.ry = ry;}
public String getContent() {return content;}
public void setContent(String content) {this.content = content;}
public String getFileUrl() {return fileUrl;}
public void setFileUrl(String fileUrl) {this.fileUrl = fileUrl;}
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 Jbgz  extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//员工
private Integer customerId;
//基本工资
private Integer jbgz;
public Integer getCustomerId() {return customerId;}
public void setCustomerId(Integer customerId) {this.customerId = customerId;}
public Integer getJbgz() {return jbgz;}
public void setJbgz(Integer jbgz) {this.jbgz = jbgz;}
}

留言板javaBean创建语句如下:


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

//留言板
public class Lyb  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 Lyblist  extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//留言板
private Integer lybId;
//姓名
private String name;
//内容
private String content;
//日期
private Date insertDate;
public Integer getLybId() {return lybId;}
public void setLybId(Integer lybId) {this.lybId = lybId;}
public String getName() {return name;}
public void setName(String name) {this.name = name;}
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 Qj  extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//员工
private Integer customerId;
//请假标题
private String title;
//类型
private String types;
//详细说明
private String content;
//请假开始日期
private Date beginDate;
//请假结束日期
private Date endDate;
//状态
private String status;
public Integer getCustomerId() {return customerId;}
public void setCustomerId(Integer customerId) {this.customerId = customerId;}
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 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 Yj  extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//发送人
private Integer customerId;
//接收人
private Integer toId;
//标题
private String title;
//附件
private String fileUrl;
//内容
private String content;
//日期
private Date insertDate;
public Integer getCustomerId() {return customerId;}
public void setCustomerId(Integer customerId) {this.customerId = customerId;}
public Integer getToId() {return toId;}
public void setToId(Integer toId) {this.toId = toId;}
public String getTitle() {return title;}
public void setTitle(String title) {this.title = title;}
public String getFileUrl() {return fileUrl;}
public void setFileUrl(String fileUrl) {this.fileUrl = fileUrl;}
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 Zl  extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//资料名称
private String title;
//资料
private String zlUrl;
public String getTitle() {return title;}
public void setTitle(String title) {this.title = title;}
public String getZlUrl() {return zlUrl;}
public void setZlUrl(String zlUrl) {this.zlUrl = zlUrl;}
}

源代码下载点这里

评论