软件产业人才培训服务平台

软件产业人才培训服务平台登录注册界面

软件产业人才培训服务平台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_jczx(
	id int primary key auto_increment comment '主键',
	title varchar(100) comment '教材名称',
	url varchar(100) comment '下载地址',
	content varchar(100) comment '教材内容',
	jsId int comment '讲师',
	status varchar(100) comment '状态'
) comment '电子教材中心';

讲师表创建语句如下:


create table t_js(
	id int primary key auto_increment comment '主键',
	username varchar(100) comment '账号',
	password varchar(100) comment '密码',
	jsName varchar(100) comment '姓名',
	deptId int comment '部门',
	jsgh varchar(100) comment '工号',
	xm varchar(100) comment '项目',
	phone varchar(100) comment '电话',
	age varchar(100) comment '年龄',
	sex varchar(100) comment '性别',
	pic varchar(100) comment '头像',
	status varchar(100) comment '状态'
) comment '讲师';

电子课件中心表创建语句如下:


create table t_kjzx(
	id int primary key auto_increment comment '主键',
	title varchar(100) comment '课件名称',
	url varchar(100) comment '下载地址',
	content varchar(100) comment '课件内容',
	jsId int comment '讲师',
	status varchar(100) comment '状态'
) comment '电子课件中心';

考试信息表创建语句如下:


create table t_ksxx(
	id int primary key auto_increment comment '主键',
	jsId int comment '教师',
	ksxxName varchar(100) comment '考试标题',
	url varchar(100) comment '试卷下载地址',
	content varchar(100) comment '考试内容说明',
	status varchar(100) comment '状态',
	kssj varchar(100) comment '考试时间段'
) comment '考试信息';

考试信息表创建语句如下:


create table t_ksxxlist(
	id int primary key auto_increment comment '主键',
	ygId int comment '员工',
	ksxxId int comment '考试试卷',
	fileUrl varchar(100) comment '答案',
	df int comment '得分',
	status varchar(100) comment '状态'
) comment '考试信息';

企业信息表创建语句如下:


create table t_qyxx(
	id int primary key auto_increment comment '主键',
	qyName varchar(100) comment '企业名称',
	fr varchar(100) comment '法人代表',
	zczb varchar(100) comment '注册资本',
	address varchar(100) comment '地址',
	lxfs varchar(100) comment '联系方式'
) comment '企业信息';

新闻公告中心表创建语句如下:


create table t_xw(
	id int primary key auto_increment comment '主键',
	title varchar(100) comment '标题',
	pic varchar(100) comment '图片',
	nowDate datetime comment '时间',
	content varchar(100) comment '内容',
	zl 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 '姓名',
	deptId int comment '部门',
	yggh varchar(100) comment '工号',
	xm varchar(100) comment '项目',
	phone varchar(100) comment '电话',
	age varchar(100) comment '年龄',
	sex varchar(100) comment '性别',
	pic varchar(100) comment '头像',
	status varchar(100) comment '状态'
) comment '员工';

员工档案表创建语句如下:


create table t_ygda(
	id int primary key auto_increment comment '主键',
	ygId int comment '员工',
	damc varchar(100) comment '档案名称',
	daUrl 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_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_jczx(
	id integer,
	title varchar(100),
	url varchar(100),
	content varchar(100),
	jsId int,
	status varchar(100)
);
--电子教材中心字段加注释
comment on column t_jczx.id is '主键';
comment on column t_jczx.title is '教材名称';
comment on column t_jczx.url is '下载地址';
comment on column t_jczx.content is '教材内容';
comment on column t_jczx.jsId is '讲师';
comment on column t_jczx.status is '状态';
--电子教材中心表加注释
comment on table t_jczx is '电子教材中心';

讲师表创建语句如下:


create table t_js(
	id integer,
	username varchar(100),
	password varchar(100),
	jsName varchar(100),
	deptId int,
	jsgh varchar(100),
	xm varchar(100),
	phone varchar(100),
	age varchar(100),
	sex varchar(100),
	pic varchar(100),
	status varchar(100)
);
--讲师字段加注释
comment on column t_js.id is '主键';
comment on column t_js.username is '账号';
comment on column t_js.password is '密码';
comment on column t_js.jsName is '姓名';
comment on column t_js.deptId is '部门';
comment on column t_js.jsgh is '工号';
comment on column t_js.xm is '项目';
comment on column t_js.phone is '电话';
comment on column t_js.age is '年龄';
comment on column t_js.sex is '性别';
comment on column t_js.pic is '头像';
comment on column t_js.status is '状态';
--讲师表加注释
comment on table t_js is '讲师';

电子课件中心表创建语句如下:


create table t_kjzx(
	id integer,
	title varchar(100),
	url varchar(100),
	content varchar(100),
	jsId int,
	status varchar(100)
);
--电子课件中心字段加注释
comment on column t_kjzx.id is '主键';
comment on column t_kjzx.title is '课件名称';
comment on column t_kjzx.url is '下载地址';
comment on column t_kjzx.content is '课件内容';
comment on column t_kjzx.jsId is '讲师';
comment on column t_kjzx.status is '状态';
--电子课件中心表加注释
comment on table t_kjzx is '电子课件中心';

考试信息表创建语句如下:


create table t_ksxx(
	id integer,
	jsId int,
	ksxxName varchar(100),
	url varchar(100),
	content varchar(100),
	status varchar(100),
	kssj varchar(100)
);
--考试信息字段加注释
comment on column t_ksxx.id is '主键';
comment on column t_ksxx.jsId is '教师';
comment on column t_ksxx.ksxxName is '考试标题';
comment on column t_ksxx.url is '试卷下载地址';
comment on column t_ksxx.content is '考试内容说明';
comment on column t_ksxx.status is '状态';
comment on column t_ksxx.kssj is '考试时间段';
--考试信息表加注释
comment on table t_ksxx is '考试信息';

考试信息表创建语句如下:


create table t_ksxxlist(
	id integer,
	ygId int,
	ksxxId int,
	fileUrl varchar(100),
	df int,
	status varchar(100)
);
--考试信息字段加注释
comment on column t_ksxxlist.id is '主键';
comment on column t_ksxxlist.ygId is '员工';
comment on column t_ksxxlist.ksxxId is '考试试卷';
comment on column t_ksxxlist.fileUrl is '答案';
comment on column t_ksxxlist.df is '得分';
comment on column t_ksxxlist.status is '状态';
--考试信息表加注释
comment on table t_ksxxlist is '考试信息';

企业信息表创建语句如下:


create table t_qyxx(
	id integer,
	qyName varchar(100),
	fr varchar(100),
	zczb varchar(100),
	address varchar(100),
	lxfs varchar(100)
);
--企业信息字段加注释
comment on column t_qyxx.id is '主键';
comment on column t_qyxx.qyName is '企业名称';
comment on column t_qyxx.fr is '法人代表';
comment on column t_qyxx.zczb is '注册资本';
comment on column t_qyxx.address is '地址';
comment on column t_qyxx.lxfs is '联系方式';
--企业信息表加注释
comment on table t_qyxx is '企业信息';

新闻公告中心表创建语句如下:


create table t_xw(
	id integer,
	title varchar(100),
	pic varchar(100),
	nowDate datetime,
	content varchar(100),
	zl varchar(100)
);
--新闻公告中心字段加注释
comment on column t_xw.id is '主键';
comment on column t_xw.title is '标题';
comment on column t_xw.pic is '图片';
comment on column t_xw.nowDate is '时间';
comment on column t_xw.content is '内容';
comment on column t_xw.zl is '资料';
--新闻公告中心表加注释
comment on table t_xw is '新闻公告中心';

员工表创建语句如下:


create table t_yg(
	id integer,
	username varchar(100),
	password varchar(100),
	ygName varchar(100),
	deptId int,
	yggh varchar(100),
	xm varchar(100),
	phone varchar(100),
	age varchar(100),
	sex varchar(100),
	pic 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.deptId is '部门';
comment on column t_yg.yggh is '工号';
comment on column t_yg.xm is '项目';
comment on column t_yg.phone is '电话';
comment on column t_yg.age is '年龄';
comment on column t_yg.sex is '性别';
comment on column t_yg.pic is '头像';
comment on column t_yg.status is '状态';
--员工表加注释
comment on table t_yg is '员工';

员工档案表创建语句如下:


create table t_ygda(
	id integer,
	ygId int,
	damc varchar(100),
	daUrl varchar(100)
);
--员工档案字段加注释
comment on column t_ygda.id is '主键';
comment on column t_ygda.ygId is '员工';
comment on column t_ygda.damc is '档案名称';
comment on column t_ygda.daUrl is '档案地址';
--员工档案表加注释
comment on table t_ygda is '员工档案';

oracle特有,对应序列如下:


create sequence s_t_dept;
create sequence s_t_jczx;
create sequence s_t_js;
create sequence s_t_kjzx;
create sequence s_t_ksxx;
create sequence s_t_ksxxlist;
create sequence s_t_qyxx;
create sequence s_t_xw;
create sequence s_t_yg;
create sequence s_t_ygda;

软件产业人才培训服务平台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_jczx(
	id int identity(1,1) primary key not null,--主键
	title varchar(100),--教材名称
	url varchar(100),--下载地址
	content varchar(100),--教材内容
	jsId int,--讲师
	status varchar(100)--状态
);

讲师表创建语句如下:


--讲师表注释
create table t_js(
	id int identity(1,1) primary key not null,--主键
	username varchar(100),--账号
	password varchar(100),--密码
	jsName varchar(100),--姓名
	deptId int,--部门
	jsgh varchar(100),--工号
	xm varchar(100),--项目
	phone varchar(100),--电话
	age varchar(100),--年龄
	sex varchar(100),--性别
	pic varchar(100),--头像
	status varchar(100)--状态
);

电子课件中心表创建语句如下:


--电子课件中心表注释
create table t_kjzx(
	id int identity(1,1) primary key not null,--主键
	title varchar(100),--课件名称
	url varchar(100),--下载地址
	content varchar(100),--课件内容
	jsId int,--讲师
	status varchar(100)--状态
);

考试信息表创建语句如下:


--考试信息表注释
create table t_ksxx(
	id int identity(1,1) primary key not null,--主键
	jsId int,--教师
	ksxxName varchar(100),--考试标题
	url varchar(100),--试卷下载地址
	content varchar(100),--考试内容说明
	status varchar(100),--状态
	kssj varchar(100)--考试时间段
);

考试信息表创建语句如下:


--考试信息表注释
create table t_ksxxlist(
	id int identity(1,1) primary key not null,--主键
	ygId int,--员工
	ksxxId int,--考试试卷
	fileUrl varchar(100),--答案
	df int,--得分
	status varchar(100)--状态
);

企业信息表创建语句如下:


--企业信息表注释
create table t_qyxx(
	id int identity(1,1) primary key not null,--主键
	qyName varchar(100),--企业名称
	fr varchar(100),--法人代表
	zczb varchar(100),--注册资本
	address varchar(100),--地址
	lxfs varchar(100)--联系方式
);

新闻公告中心表创建语句如下:


--新闻公告中心表注释
create table t_xw(
	id int identity(1,1) primary key not null,--主键
	title varchar(100),--标题
	pic varchar(100),--图片
	nowDate datetime,--时间
	content varchar(100),--内容
	zl varchar(100)--资料
);

员工表创建语句如下:


--员工表注释
create table t_yg(
	id int identity(1,1) primary key not null,--主键
	username varchar(100),--账号
	password varchar(100),--密码
	ygName varchar(100),--姓名
	deptId int,--部门
	yggh varchar(100),--工号
	xm varchar(100),--项目
	phone varchar(100),--电话
	age varchar(100),--年龄
	sex varchar(100),--性别
	pic varchar(100),--头像
	status varchar(100)--状态
);

员工档案表创建语句如下:


--员工档案表注释
create table t_ygda(
	id int identity(1,1) primary key not null,--主键
	ygId int,--员工
	damc varchar(100),--档案名称
	daUrl 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_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_jczx")
public class Jczx {
//主键
@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 url;
//教材内容
private String content;
//讲师
private Integer jsId;
//状态
private String status;
public String getTitle() {return title;}
public void setTitle(String title) {this.title = title;}
public String getUrl() {return url;}
public void setUrl(String url) {this.url = url;}
public String getContent() {return content;}
public void setContent(String content) {this.content = content;}
public Integer getJsId() {return jsId;}
public void setJsId(Integer jsId) {this.jsId = jsId;}
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_js")
public class Js {
//主键
@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 jsName;
//部门
private Integer deptId;
//工号
private String jsgh;
//项目
private String xm;
//电话
private String phone;
//年龄
private String age;
//性别
private String sex;
//头像
private String pic;
//状态
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 getJsName() {return jsName;}
public void setJsName(String jsName) {this.jsName = jsName;}
public Integer getDeptId() {return deptId;}
public void setDeptId(Integer deptId) {this.deptId = deptId;}
public String getJsgh() {return jsgh;}
public void setJsgh(String jsgh) {this.jsgh = jsgh;}
public String getXm() {return xm;}
public void setXm(String xm) {this.xm = xm;}
public String getPhone() {return phone;}
public void setPhone(String phone) {this.phone = phone;}
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 getPic() {return pic;}
public void setPic(String pic) {this.pic = pic;}
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_kjzx")
public class Kjzx {
//主键
@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 url;
//课件内容
private String content;
//讲师
private Integer jsId;
//状态
private String status;
public String getTitle() {return title;}
public void setTitle(String title) {this.title = title;}
public String getUrl() {return url;}
public void setUrl(String url) {this.url = url;}
public String getContent() {return content;}
public void setContent(String content) {this.content = content;}
public Integer getJsId() {return jsId;}
public void setJsId(Integer jsId) {this.jsId = jsId;}
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_ksxx")
public class Ksxx {
//主键
@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 jsId;
//考试标题
private String ksxxName;
//试卷下载地址
private String url;
//考试内容说明
private String content;
//状态
private String status;
//考试时间段
private String kssj;
public Integer getJsId() {return jsId;}
public void setJsId(Integer jsId) {this.jsId = jsId;}
public String getKsxxName() {return ksxxName;}
public void setKsxxName(String ksxxName) {this.ksxxName = ksxxName;}
public String getUrl() {return url;}
public void setUrl(String url) {this.url = url;}
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 getKssj() {return kssj;}
public void setKssj(String kssj) {this.kssj = kssj;}
}

考试信息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_ksxxlist")
public class Ksxxlist {
//主键
@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 ksxxId;
//答案
private String fileUrl;
//得分
private Integer df;
//状态
private String status;
public Integer getYgId() {return ygId;}
public void setYgId(Integer ygId) {this.ygId = ygId;}
public Integer getKsxxId() {return ksxxId;}
public void setKsxxId(Integer ksxxId) {this.ksxxId = ksxxId;}
public String getFileUrl() {return fileUrl;}
public void setFileUrl(String fileUrl) {this.fileUrl = fileUrl;}
public Integer getDf() {return df;}
public void setDf(Integer df) {this.df = df;}
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_qyxx")
public class Qyxx {
//主键
@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 qyName;
//法人代表
private String fr;
//注册资本
private String zczb;
//地址
private String address;
//联系方式
private String lxfs;
public String getQyName() {return qyName;}
public void setQyName(String qyName) {this.qyName = qyName;}
public String getFr() {return fr;}
public void setFr(String fr) {this.fr = fr;}
public String getZczb() {return zczb;}
public void setZczb(String zczb) {this.zczb = zczb;}
public String getAddress() {return address;}
public void setAddress(String address) {this.address = address;}
public String getLxfs() {return lxfs;}
public void setLxfs(String lxfs) {this.lxfs = lxfs;}
}

新闻公告中心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_xw")
public class Xw {
//主键
@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 Date nowDate;
//内容
private String content;
//资料
private String zl;
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 Date getNowDate() {return nowDate;}
public void setNowDate(Date nowDate) {this.nowDate = nowDate;}
public String getContent() {return content;}
public void setContent(String content) {this.content = content;}
public String getZl() {return zl;}
public void setZl(String zl) {this.zl = zl;}
}

员工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 Integer deptId;
//工号
private String yggh;
//项目
private String xm;
//电话
private String phone;
//年龄
private String age;
//性别
private String sex;
//头像
private String pic;
//状态
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 Integer getDeptId() {return deptId;}
public void setDeptId(Integer deptId) {this.deptId = deptId;}
public String getYggh() {return yggh;}
public void setYggh(String yggh) {this.yggh = yggh;}
public String getXm() {return xm;}
public void setXm(String xm) {this.xm = xm;}
public String getPhone() {return phone;}
public void setPhone(String phone) {this.phone = phone;}
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 getPic() {return pic;}
public void setPic(String pic) {this.pic = pic;}
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_ygda")
public class Ygda {
//主键
@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 damc;
//档案地址
private String daUrl;
public Integer getYgId() {return ygId;}
public void setYgId(Integer ygId) {this.ygId = ygId;}
public String getDamc() {return damc;}
public void setDamc(String damc) {this.damc = damc;}
public String getDaUrl() {return daUrl;}
public void setDaUrl(String daUrl) {this.daUrl = daUrl;}
}

软件产业人才培训服务平台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 Jczx  extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//教材名称
private String title;
//下载地址
private String url;
//教材内容
private String content;
//讲师
private Integer jsId;
//状态
private String status;
public String getTitle() {return title;}
public void setTitle(String title) {this.title = title;}
public String getUrl() {return url;}
public void setUrl(String url) {this.url = url;}
public String getContent() {return content;}
public void setContent(String content) {this.content = content;}
public Integer getJsId() {return jsId;}
public void setJsId(Integer jsId) {this.jsId = jsId;}
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 Js  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 jsName;
//部门
private Integer deptId;
//工号
private String jsgh;
//项目
private String xm;
//电话
private String phone;
//年龄
private String age;
//性别
private String sex;
//头像
private String pic;
//状态
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 getJsName() {return jsName;}
public void setJsName(String jsName) {this.jsName = jsName;}
public Integer getDeptId() {return deptId;}
public void setDeptId(Integer deptId) {this.deptId = deptId;}
public String getJsgh() {return jsgh;}
public void setJsgh(String jsgh) {this.jsgh = jsgh;}
public String getXm() {return xm;}
public void setXm(String xm) {this.xm = xm;}
public String getPhone() {return phone;}
public void setPhone(String phone) {this.phone = phone;}
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 getPic() {return pic;}
public void setPic(String pic) {this.pic = pic;}
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 Kjzx  extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//课件名称
private String title;
//下载地址
private String url;
//课件内容
private String content;
//讲师
private Integer jsId;
//状态
private String status;
public String getTitle() {return title;}
public void setTitle(String title) {this.title = title;}
public String getUrl() {return url;}
public void setUrl(String url) {this.url = url;}
public String getContent() {return content;}
public void setContent(String content) {this.content = content;}
public Integer getJsId() {return jsId;}
public void setJsId(Integer jsId) {this.jsId = jsId;}
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 Ksxx  extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//教师
private Integer jsId;
//考试标题
private String ksxxName;
//试卷下载地址
private String url;
//考试内容说明
private String content;
//状态
private String status;
//考试时间段
private String kssj;
public Integer getJsId() {return jsId;}
public void setJsId(Integer jsId) {this.jsId = jsId;}
public String getKsxxName() {return ksxxName;}
public void setKsxxName(String ksxxName) {this.ksxxName = ksxxName;}
public String getUrl() {return url;}
public void setUrl(String url) {this.url = url;}
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 getKssj() {return kssj;}
public void setKssj(String kssj) {this.kssj = kssj;}
}

考试信息javaBean创建语句如下:


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

//考试信息
public class Ksxxlist  extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//员工
private Integer ygId;
//考试试卷
private Integer ksxxId;
//答案
private String fileUrl;
//得分
private Integer df;
//状态
private String status;
public Integer getYgId() {return ygId;}
public void setYgId(Integer ygId) {this.ygId = ygId;}
public Integer getKsxxId() {return ksxxId;}
public void setKsxxId(Integer ksxxId) {this.ksxxId = ksxxId;}
public String getFileUrl() {return fileUrl;}
public void setFileUrl(String fileUrl) {this.fileUrl = fileUrl;}
public Integer getDf() {return df;}
public void setDf(Integer df) {this.df = df;}
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 Qyxx  extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//企业名称
private String qyName;
//法人代表
private String fr;
//注册资本
private String zczb;
//地址
private String address;
//联系方式
private String lxfs;
public String getQyName() {return qyName;}
public void setQyName(String qyName) {this.qyName = qyName;}
public String getFr() {return fr;}
public void setFr(String fr) {this.fr = fr;}
public String getZczb() {return zczb;}
public void setZczb(String zczb) {this.zczb = zczb;}
public String getAddress() {return address;}
public void setAddress(String address) {this.address = address;}
public String getLxfs() {return lxfs;}
public void setLxfs(String lxfs) {this.lxfs = lxfs;}
}

新闻公告中心javaBean创建语句如下:


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

//新闻公告中心
public class Xw  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 Date nowDate;
//内容
private String content;
//资料
private String zl;
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 Date getNowDate() {return nowDate;}
public void setNowDate(Date nowDate) {this.nowDate = nowDate;}
public String getContent() {return content;}
public void setContent(String content) {this.content = content;}
public String getZl() {return zl;}
public void setZl(String zl) {this.zl = zl;}
}

员工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 Integer deptId;
//工号
private String yggh;
//项目
private String xm;
//电话
private String phone;
//年龄
private String age;
//性别
private String sex;
//头像
private String pic;
//状态
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 Integer getDeptId() {return deptId;}
public void setDeptId(Integer deptId) {this.deptId = deptId;}
public String getYggh() {return yggh;}
public void setYggh(String yggh) {this.yggh = yggh;}
public String getXm() {return xm;}
public void setXm(String xm) {this.xm = xm;}
public String getPhone() {return phone;}
public void setPhone(String phone) {this.phone = phone;}
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 getPic() {return pic;}
public void setPic(String pic) {this.pic = pic;}
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 Ygda  extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//员工
private Integer ygId;
//档案名称
private String damc;
//档案地址
private String daUrl;
public Integer getYgId() {return ygId;}
public void setYgId(Integer ygId) {this.ygId = ygId;}
public String getDamc() {return damc;}
public void setDamc(String damc) {this.damc = damc;}
public String getDaUrl() {return daUrl;}
public void setDaUrl(String daUrl) {this.daUrl = daUrl;}
}

源代码下载点这里

评论