更多成品,定做java毕业设计,请咨询管理员qq:2812491287

基于安卓的企业员工管理系统

基于安卓的企业员工管理系统登录注册界面

基于安卓的企业员工管理系统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_bumen(
	id int primary key auto_increment comment '主键',
	bumenName varchar(100) comment '部门名称'
) comment '部门';

建议表创建语句如下:


create table t_contact(
	id int primary key auto_increment comment '主键',
	customerId int comment '用户',
	phone varchar(100) comment '联系方式',
	content varchar(100) comment '内容',
	insertDate datetime comment '日期'
) comment '建议';

客户表创建语句如下:


create table t_customer(
	id int primary key auto_increment comment '主键',
	username varchar(100) comment '账号',
	password varchar(100) comment '密码',
	name varchar(100) comment '姓名',
	sex varchar(100) comment '性别',
	address varchar(100) comment '地址',
	mobile varchar(100) comment '手机',
	zhiweiId int comment '',
	bumenId int comment '',
	bmld varchar(100) comment '是否部门领导'
) comment '客户';

公告表创建语句如下:


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

工作安排表创建语句如下:


create table t_gzap(
	id int primary key auto_increment comment '主键',
	customerId int comment '用户',
	title varchar(100) comment '标题',
	content varchar(100) comment '详细内容',
	showDate datetime comment '操作日期'
) comment '工作安排';

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


create table t_jlcf(
	id int primary key auto_increment comment '主键',
	customerId int comment '用户',
	title varchar(100) comment '说明',
	content varchar(100) comment '详细内容',
	types varchar(100) comment '奖励惩罚',
	insertDate datetime comment '日期'
) comment '奖励惩罚';

信息交流表创建语句如下:


create table t_message(
	id int primary key auto_increment comment '主键',
	customerId int comment '用户',
	messageContent varchar(100) comment '内容',
	types int comment '',
	insertDate datetime comment '时间'
) comment '信息交流';

订单表创建语句如下:


create table t_order(
	id int primary key auto_increment comment '主键',
	customerId int comment '用户',
	productDetail varchar(100) comment '订单详细',
	allPrice varchar(100) comment '订单总价格',
	status varchar(100) comment '状态',
	orderNum varchar(100) comment '',
	pl varchar(100) comment '',
	insertDate datetime comment ''
) comment '订单';

签到表创建语句如下:


create table t_qiandao(
	id int primary key auto_increment comment '主键',
	customerId int comment '用户',
	insertDate datetime comment '日期'
) comment '签到';

请假表创建语句如下:


create table t_qingjia(
	id int primary key auto_increment comment '主键',
	customerId int comment '用户',
	title varchar(100) comment '请假简要',
	showDate datetime comment '请假日期',
	content varchar(100) comment '说明',
	status varchar(100) comment '状态',
	insertDate datetime comment '日期'
) comment '请假';

事务表创建语句如下:


create table t_sw(
	id int primary key auto_increment comment '主键',
	customerId int comment '用户',
	title varchar(100) comment '工作标题',
	content varchar(100) comment '工作内容',
	status varchar(100) comment '状态',
	pj varchar(100) comment '评价'
) comment '事务';

普通员工表创建语句如下:


create table t_user(
	id int primary key auto_increment comment '主键',
	username varchar(100) comment '账号',
	password varchar(100) comment '密码',
	name varchar(100) comment '姓名',
	gh varchar(100) comment '工号',
	mobile varchar(100) comment '手机'
) comment '普通员工';

预估时间安排表创建语句如下:


create table t_ygsj(
	id int primary key auto_increment comment '主键',
	customerId int comment '用户',
	title varchar(100) comment '安排内容',
	showDate datetime comment '预估时间',
	status varchar(100) comment '状态'
) comment '预估时间安排';

职位表创建语句如下:


create table t_zhiwei(
	id int primary key auto_increment comment '主键',
	zhiweiName 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_bumen(
	id integer,
	bumenName varchar(100)
);
--部门字段加注释
comment on column t_bumen.id is '主键';
comment on column t_bumen.bumenName is '部门名称';
--部门表加注释
comment on table t_bumen is '部门';

建议表创建语句如下:


create table t_contact(
	id integer,
	customerId int,
	phone varchar(100),
	content varchar(100),
	insertDate datetime
);
--建议字段加注释
comment on column t_contact.id is '主键';
comment on column t_contact.customerId is '用户';
comment on column t_contact.phone is '联系方式';
comment on column t_contact.content is '内容';
comment on column t_contact.insertDate is '日期';
--建议表加注释
comment on table t_contact is '建议';

客户表创建语句如下:


create table t_customer(
	id integer,
	username varchar(100),
	password varchar(100),
	name varchar(100),
	sex varchar(100),
	address varchar(100),
	mobile varchar(100),
	zhiweiId int,
	bumenId int,
	bmld 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.name is '姓名';
comment on column t_customer.sex is '性别';
comment on column t_customer.address is '地址';
comment on column t_customer.mobile is '手机';
comment on column t_customer.zhiweiId is '';
comment on column t_customer.bumenId is '';
comment on column t_customer.bmld is '是否部门领导';
--客户表加注释
comment on table t_customer is '客户';

公告表创建语句如下:


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

工作安排表创建语句如下:


create table t_gzap(
	id integer,
	customerId int,
	title varchar(100),
	content varchar(100),
	showDate datetime
);
--工作安排字段加注释
comment on column t_gzap.id is '主键';
comment on column t_gzap.customerId is '用户';
comment on column t_gzap.title is '标题';
comment on column t_gzap.content is '详细内容';
comment on column t_gzap.showDate is '操作日期';
--工作安排表加注释
comment on table t_gzap is '工作安排';

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


create table t_jlcf(
	id integer,
	customerId int,
	title varchar(100),
	content varchar(100),
	types varchar(100),
	insertDate datetime
);
--奖励惩罚字段加注释
comment on column t_jlcf.id is '主键';
comment on column t_jlcf.customerId is '用户';
comment on column t_jlcf.title is '说明';
comment on column t_jlcf.content is '详细内容';
comment on column t_jlcf.types is '奖励惩罚';
comment on column t_jlcf.insertDate is '日期';
--奖励惩罚表加注释
comment on table t_jlcf is '奖励惩罚';

信息交流表创建语句如下:


create table t_message(
	id integer,
	customerId int,
	messageContent varchar(100),
	types int,
	insertDate datetime
);
--信息交流字段加注释
comment on column t_message.id is '主键';
comment on column t_message.customerId is '用户';
comment on column t_message.messageContent is '内容';
comment on column t_message.types is '';
comment on column t_message.insertDate is '时间';
--信息交流表加注释
comment on table t_message is '信息交流';

订单表创建语句如下:


create table t_order(
	id integer,
	customerId int,
	productDetail varchar(100),
	allPrice varchar(100),
	status varchar(100),
	orderNum varchar(100),
	pl varchar(100),
	insertDate datetime
);
--订单字段加注释
comment on column t_order.id is '主键';
comment on column t_order.customerId is '用户';
comment on column t_order.productDetail is '订单详细';
comment on column t_order.allPrice is '订单总价格';
comment on column t_order.status is '状态';
comment on column t_order.orderNum is '';
comment on column t_order.pl is '';
comment on column t_order.insertDate is '';
--订单表加注释
comment on table t_order is '订单';

签到表创建语句如下:


create table t_qiandao(
	id integer,
	customerId int,
	insertDate datetime
);
--签到字段加注释
comment on column t_qiandao.id is '主键';
comment on column t_qiandao.customerId is '用户';
comment on column t_qiandao.insertDate is '日期';
--签到表加注释
comment on table t_qiandao is '签到';

请假表创建语句如下:


create table t_qingjia(
	id integer,
	customerId int,
	title varchar(100),
	showDate datetime,
	content varchar(100),
	status varchar(100),
	insertDate datetime
);
--请假字段加注释
comment on column t_qingjia.id is '主键';
comment on column t_qingjia.customerId is '用户';
comment on column t_qingjia.title is '请假简要';
comment on column t_qingjia.showDate is '请假日期';
comment on column t_qingjia.content is '说明';
comment on column t_qingjia.status is '状态';
comment on column t_qingjia.insertDate is '日期';
--请假表加注释
comment on table t_qingjia is '请假';

事务表创建语句如下:


create table t_sw(
	id integer,
	customerId int,
	title varchar(100),
	content varchar(100),
	status varchar(100),
	pj varchar(100)
);
--事务字段加注释
comment on column t_sw.id is '主键';
comment on column t_sw.customerId is '用户';
comment on column t_sw.title is '工作标题';
comment on column t_sw.content is '工作内容';
comment on column t_sw.status is '状态';
comment on column t_sw.pj is '评价';
--事务表加注释
comment on table t_sw is '事务';

普通员工表创建语句如下:


create table t_user(
	id integer,
	username varchar(100),
	password varchar(100),
	name varchar(100),
	gh varchar(100),
	mobile varchar(100)
);
--普通员工字段加注释
comment on column t_user.id is '主键';
comment on column t_user.username is '账号';
comment on column t_user.password is '密码';
comment on column t_user.name is '姓名';
comment on column t_user.gh is '工号';
comment on column t_user.mobile is '手机';
--普通员工表加注释
comment on table t_user is '普通员工';

预估时间安排表创建语句如下:


create table t_ygsj(
	id integer,
	customerId int,
	title varchar(100),
	showDate datetime,
	status varchar(100)
);
--预估时间安排字段加注释
comment on column t_ygsj.id is '主键';
comment on column t_ygsj.customerId is '用户';
comment on column t_ygsj.title is '安排内容';
comment on column t_ygsj.showDate is '预估时间';
comment on column t_ygsj.status is '状态';
--预估时间安排表加注释
comment on table t_ygsj is '预估时间安排';

职位表创建语句如下:


create table t_zhiwei(
	id integer,
	zhiweiName varchar(100)
);
--职位字段加注释
comment on column t_zhiwei.id is '主键';
comment on column t_zhiwei.zhiweiName is '职位名称';
--职位表加注释
comment on table t_zhiwei is '职位';

oracle特有,对应序列如下:


create sequence s_t_bumen;
create sequence s_t_contact;
create sequence s_t_customer;
create sequence s_t_gonggao;
create sequence s_t_gzap;
create sequence s_t_jlcf;
create sequence s_t_message;
create sequence s_t_order;
create sequence s_t_qiandao;
create sequence s_t_qingjia;
create sequence s_t_sw;
create sequence s_t_user;
create sequence s_t_ygsj;
create sequence s_t_zhiwei;

基于安卓的企业员工管理系统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_bumen(
	id int identity(1,1) primary key not null,--主键
	bumenName varchar(100)--部门名称
);

建议表创建语句如下:


--建议表注释
create table t_contact(
	id int identity(1,1) primary key not null,--主键
	customerId int,--用户
	phone varchar(100),--联系方式
	content varchar(100),--内容
	insertDate datetime--日期
);

客户表创建语句如下:


--客户表注释
create table t_customer(
	id int identity(1,1) primary key not null,--主键
	username varchar(100),--账号
	password varchar(100),--密码
	name varchar(100),--姓名
	sex varchar(100),--性别
	address varchar(100),--地址
	mobile varchar(100),--手机
	zhiweiId int,--
	bumenId int,--
	bmld varchar(100)--是否部门领导
);

公告表创建语句如下:


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

工作安排表创建语句如下:


--工作安排表注释
create table t_gzap(
	id int identity(1,1) primary key not null,--主键
	customerId int,--用户
	title varchar(100),--标题
	content varchar(100),--详细内容
	showDate datetime--操作日期
);

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


--奖励惩罚表注释
create table t_jlcf(
	id int identity(1,1) primary key not null,--主键
	customerId int,--用户
	title varchar(100),--说明
	content varchar(100),--详细内容
	types varchar(100),--奖励惩罚
	insertDate datetime--日期
);

信息交流表创建语句如下:


--信息交流表注释
create table t_message(
	id int identity(1,1) primary key not null,--主键
	customerId int,--用户
	messageContent varchar(100),--内容
	types int,--
	insertDate datetime--时间
);

订单表创建语句如下:


--订单表注释
create table t_order(
	id int identity(1,1) primary key not null,--主键
	customerId int,--用户
	productDetail varchar(100),--订单详细
	allPrice varchar(100),--订单总价格
	status varchar(100),--状态
	orderNum varchar(100),--
	pl varchar(100),--
	insertDate datetime--
);

签到表创建语句如下:


--签到表注释
create table t_qiandao(
	id int identity(1,1) primary key not null,--主键
	customerId int,--用户
	insertDate datetime--日期
);

请假表创建语句如下:


--请假表注释
create table t_qingjia(
	id int identity(1,1) primary key not null,--主键
	customerId int,--用户
	title varchar(100),--请假简要
	showDate datetime,--请假日期
	content varchar(100),--说明
	status varchar(100),--状态
	insertDate datetime--日期
);

事务表创建语句如下:


--事务表注释
create table t_sw(
	id int identity(1,1) primary key not null,--主键
	customerId int,--用户
	title varchar(100),--工作标题
	content varchar(100),--工作内容
	status varchar(100),--状态
	pj varchar(100)--评价
);

普通员工表创建语句如下:


--普通员工表注释
create table t_user(
	id int identity(1,1) primary key not null,--主键
	username varchar(100),--账号
	password varchar(100),--密码
	name varchar(100),--姓名
	gh varchar(100),--工号
	mobile varchar(100)--手机
);

预估时间安排表创建语句如下:


--预估时间安排表注释
create table t_ygsj(
	id int identity(1,1) primary key not null,--主键
	customerId int,--用户
	title varchar(100),--安排内容
	showDate datetime,--预估时间
	status varchar(100)--状态
);

职位表创建语句如下:


--职位表注释
create table t_zhiwei(
	id int identity(1,1) primary key not null,--主键
	zhiweiName 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_bumen")
public class Bumen {
//主键
@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 bumenName;
public String getBumenName() {return bumenName;}
public void setBumenName(String bumenName) {this.bumenName = bumenName;}
}

建议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_contact")
public class Contact {
//主键
@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 phone;
//内容
private String content;
//日期
private Date insertDate;
public Integer getCustomerId() {return customerId;}
public void setCustomerId(Integer customerId) {this.customerId = customerId;}
public String getPhone() {return phone;}
public void setPhone(String phone) {this.phone = phone;}
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_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 name;
//性别
private String sex;
//地址
private String address;
//手机
private String mobile;
//
private Integer zhiweiId;
//
private Integer bumenId;
//是否部门领导
private String bmld;
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 getName() {return name;}
public void setName(String name) {this.name = name;}
public String getSex() {return sex;}
public void setSex(String sex) {this.sex = sex;}
public String getAddress() {return address;}
public void setAddress(String address) {this.address = address;}
public String getMobile() {return mobile;}
public void setMobile(String mobile) {this.mobile = mobile;}
public Integer getZhiweiId() {return zhiweiId;}
public void setZhiweiId(Integer zhiweiId) {this.zhiweiId = zhiweiId;}
public Integer getBumenId() {return bumenId;}
public void setBumenId(Integer bumenId) {this.bumenId = bumenId;}
public String getBmld() {return bmld;}
public void setBmld(String bmld) {this.bmld = bmld;}
}

公告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_gonggao")
public class Gonggao {
//主键
@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 content;
//图片
private String pic;
//公告日期
private Date insertDate;
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 getPic() {return pic;}
public void setPic(String pic) {this.pic = pic;}
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_gzap")
public class Gzap {
//主键
@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 content;
//操作日期
private Date showDate;
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 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_jlcf")
public class Jlcf {
//主键
@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 content;
//奖励惩罚
private String types;
//日期
private Date insertDate;
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 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 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_message")
public class Message {
//主键
@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 messageContent;
//
private Integer types;
//时间
private Date insertDate;
public Integer getCustomerId() {return customerId;}
public void setCustomerId(Integer customerId) {this.customerId = customerId;}
public String getMessageContent() {return messageContent;}
public void setMessageContent(String messageContent) {this.messageContent = messageContent;}
public Integer getTypes() {return types;}
public void setTypes(Integer types) {this.types = types;}
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 Integer customerId;
//订单详细
private String productDetail;
//订单总价格
private String allPrice;
//状态
private String status;
//
private String orderNum;
//
private String pl;
//
private Date insertDate;
public Integer getCustomerId() {return customerId;}
public void setCustomerId(Integer customerId) {this.customerId = customerId;}
public String getProductDetail() {return productDetail;}
public void setProductDetail(String productDetail) {this.productDetail = productDetail;}
public String getAllPrice() {return allPrice;}
public void setAllPrice(String allPrice) {this.allPrice = allPrice;}
public String getStatus() {return status;}
public void setStatus(String status) {this.status = status;}
public String getOrderNum() {return orderNum;}
public void setOrderNum(String orderNum) {this.orderNum = orderNum;}
public String getPl() {return pl;}
public void setPl(String pl) {this.pl = pl;}
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_qiandao")
public class Qiandao {
//主键
@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 Date insertDate;
public Integer getCustomerId() {return customerId;}
public void setCustomerId(Integer customerId) {this.customerId = customerId;}
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_qingjia")
public class Qingjia {
//主键
@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 Date showDate;
//说明
private String content;
//状态
private String status;
//日期
private Date insertDate;
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 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;}
public String getStatus() {return status;}
public void setStatus(String status) {this.status = status;}
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_sw")
public class Sw {
//主键
@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 content;
//状态
private String status;
//评价
private String pj;
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 getContent() {return content;}
public void setContent(String content) {this.content = content;}
public String getStatus() {return status;}
public void setStatus(String status) {this.status = status;}
public String getPj() {return pj;}
public void setPj(String pj) {this.pj = pj;}
}

普通员工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_user")
public class User {
//主键
@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 name;
//工号
private String gh;
//手机
private String mobile;
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 getName() {return name;}
public void setName(String name) {this.name = name;}
public String getGh() {return gh;}
public void setGh(String gh) {this.gh = gh;}
public String getMobile() {return mobile;}
public void setMobile(String mobile) {this.mobile = mobile;}
}

预估时间安排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_ygsj")
public class Ygsj {
//主键
@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 Date showDate;
//状态
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 Date getShowDate() {return showDate;}
public void setShowDate(Date showDate) {this.showDate = showDate;}
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_zhiwei")
public class Zhiwei {
//主键
@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 zhiweiName;
public String getZhiweiName() {return zhiweiName;}
public void setZhiweiName(String zhiweiName) {this.zhiweiName = zhiweiName;}
}

基于安卓的企业员工管理系统spring+springMVC+mybatis框架对象(javaBean,pojo)设计:

部门javaBean创建语句如下:


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

//部门
public class Bumen  extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//部门名称
private String bumenName;
public String getBumenName() {return bumenName;}
public void setBumenName(String bumenName) {this.bumenName = bumenName;}
}

建议javaBean创建语句如下:


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

//建议
public class Contact  extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//用户
private Integer customerId;
//联系方式
private String phone;
//内容
private String content;
//日期
private Date insertDate;
public Integer getCustomerId() {return customerId;}
public void setCustomerId(Integer customerId) {this.customerId = customerId;}
public String getPhone() {return phone;}
public void setPhone(String phone) {this.phone = phone;}
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 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 name;
//性别
private String sex;
//地址
private String address;
//手机
private String mobile;
//
private Integer zhiweiId;
//
private Integer bumenId;
//是否部门领导
private String bmld;
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 getName() {return name;}
public void setName(String name) {this.name = name;}
public String getSex() {return sex;}
public void setSex(String sex) {this.sex = sex;}
public String getAddress() {return address;}
public void setAddress(String address) {this.address = address;}
public String getMobile() {return mobile;}
public void setMobile(String mobile) {this.mobile = mobile;}
public Integer getZhiweiId() {return zhiweiId;}
public void setZhiweiId(Integer zhiweiId) {this.zhiweiId = zhiweiId;}
public Integer getBumenId() {return bumenId;}
public void setBumenId(Integer bumenId) {this.bumenId = bumenId;}
public String getBmld() {return bmld;}
public void setBmld(String bmld) {this.bmld = bmld;}
}

公告javaBean创建语句如下:


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

//公告
public class Gonggao  extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//标题
private String title;
//详细内容
private String content;
//图片
private String pic;
//公告日期
private Date insertDate;
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 getPic() {return pic;}
public void setPic(String pic) {this.pic = pic;}
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 Gzap  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 content;
//操作日期
private Date showDate;
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 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 Jlcf  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 content;
//奖励惩罚
private String types;
//日期
private Date insertDate;
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 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 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 Message  extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//用户
private Integer customerId;
//内容
private String messageContent;
//
private Integer types;
//时间
private Date insertDate;
public Integer getCustomerId() {return customerId;}
public void setCustomerId(Integer customerId) {this.customerId = customerId;}
public String getMessageContent() {return messageContent;}
public void setMessageContent(String messageContent) {this.messageContent = messageContent;}
public Integer getTypes() {return types;}
public void setTypes(Integer types) {this.types = types;}
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 Integer customerId;
//订单详细
private String productDetail;
//订单总价格
private String allPrice;
//状态
private String status;
//
private String orderNum;
//
private String pl;
//
private Date insertDate;
public Integer getCustomerId() {return customerId;}
public void setCustomerId(Integer customerId) {this.customerId = customerId;}
public String getProductDetail() {return productDetail;}
public void setProductDetail(String productDetail) {this.productDetail = productDetail;}
public String getAllPrice() {return allPrice;}
public void setAllPrice(String allPrice) {this.allPrice = allPrice;}
public String getStatus() {return status;}
public void setStatus(String status) {this.status = status;}
public String getOrderNum() {return orderNum;}
public void setOrderNum(String orderNum) {this.orderNum = orderNum;}
public String getPl() {return pl;}
public void setPl(String pl) {this.pl = pl;}
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 Qiandao  extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//用户
private Integer customerId;
//日期
private Date insertDate;
public Integer getCustomerId() {return customerId;}
public void setCustomerId(Integer customerId) {this.customerId = customerId;}
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 Qingjia  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 Date showDate;
//说明
private String content;
//状态
private String status;
//日期
private Date insertDate;
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 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;}
public String getStatus() {return status;}
public void setStatus(String status) {this.status = status;}
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 Sw  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 content;
//状态
private String status;
//评价
private String pj;
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 getContent() {return content;}
public void setContent(String content) {this.content = content;}
public String getStatus() {return status;}
public void setStatus(String status) {this.status = status;}
public String getPj() {return pj;}
public void setPj(String pj) {this.pj = pj;}
}

普通员工javaBean创建语句如下:


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

//普通员工
public class User  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 name;
//工号
private String gh;
//手机
private String mobile;
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 getName() {return name;}
public void setName(String name) {this.name = name;}
public String getGh() {return gh;}
public void setGh(String gh) {this.gh = gh;}
public String getMobile() {return mobile;}
public void setMobile(String mobile) {this.mobile = mobile;}
}

预估时间安排javaBean创建语句如下:


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

//预估时间安排
public class Ygsj  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 Date showDate;
//状态
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 Date getShowDate() {return showDate;}
public void setShowDate(Date showDate) {this.showDate = showDate;}
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 Zhiwei  extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//职位名称
private String zhiweiName;
public String getZhiweiName() {return zhiweiName;}
public void setZhiweiName(String zhiweiName) {this.zhiweiName = zhiweiName;}
}

评论