毕业实训管理系统

毕业实训管理系统登录注册界面

毕业实训管理系统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_bm(
	id int primary key auto_increment comment '主键',
	studentId int comment '学生',
	gsId int comment '公司',
	v1 varchar(100) comment '专业',
	v2 datetime comment '出生日期',
	v3 varchar(100) comment '身份证号',
	v4 varchar(100) comment '政汉面貌',
	v5 varchar(100) comment '民族',
	v6 varchar(100) comment '手机号码',
	v7 varchar(100) comment '邮箱',
	v8 varchar(100) comment '家庭住址',
	v9 varchar(100) comment '备注'
) comment '报名';

成绩表创建语句如下:


create table t_cj(
	id int primary key auto_increment comment '主键',
	studentId int comment '学生',
	pscj varchar(100) comment '平时成绩',
	khcj varchar(100) comment '考核成绩'
) comment '成绩';

公司表创建语句如下:


create table t_gs(
	id int primary key auto_increment comment '主键',
	gsName varchar(100) comment '名称',
	v1 varchar(100) comment '地址',
	v2 varchar(100) comment '实训联系人',
	v3 varchar(100) comment '实训联系人电话',
	v4 varchar(100) comment '实训周期',
	v5 varchar(100) comment '实训费用'
) comment '公司';

公司人员表创建语句如下:


create table t_gsry(
	id int primary key auto_increment comment '主键',
	gsId int comment '公司',
	username varchar(100) comment '账号',
	password varchar(100) comment '密码',
	gsryName varchar(100) comment '姓名',
	sex varchar(100) comment '性别',
	phone varchar(100) comment '电话',
	email varchar(100) comment '邮箱',
	remark varchar(100) comment '简介'
) comment '公司人员';

教师安排表创建语句如下:


create table t_jsap(
	id int primary key auto_increment comment '主键',
	studentId int comment '学生',
	teacherId int comment '教师'
) comment '教师安排';

任务信息表创建语句如下:


create table t_rwxx(
	id int primary key auto_increment comment '主键',
	teacherId int comment '教师',
	rq datetime comment '日期',
	xx varchar(100) comment '信息',
	rwdh varchar(100) comment '任务单号'
) comment '任务信息';

学生表创建语句如下:


create table t_student(
	id int primary key auto_increment comment '主键',
	username varchar(100) comment '账号',
	password varchar(100) comment '密码',
	studentName varchar(100) comment '姓名',
	sex varchar(100) comment '性别',
	zy varchar(100) comment '专业',
	bj varchar(100) comment '班级',
	birthday datetime comment '生日',
	phone varchar(100) comment '电话',
	email varchar(100) comment '邮箱',
	remark varchar(100) comment '备注'
) comment '学生';

实训进度信息表创建语句如下:


create table t_sxjdxx(
	id int primary key auto_increment comment '主键',
	studentId int comment '教师',
	rq datetime comment '日期',
	xx varchar(100) comment '信息',
	rwdh varchar(100) comment '任务单号'
) comment '实训进度信息';

实训信息表创建语句如下:


create table t_sxxx(
	id int primary key auto_increment comment '主键',
	gsId int comment '公司',
	rq datetime comment '日期',
	xx varchar(100) comment '信息',
	rwdh varchar(100) comment '任务单号'
) comment '实训信息';

老师表创建语句如下:


create table t_teacher(
	id int primary key auto_increment comment '主键',
	username varchar(100) comment '账号',
	password varchar(100) comment '密码',
	teacherName varchar(100) comment '姓名',
	sex varchar(100) comment '性别',
	phone varchar(100) comment '电话',
	email varchar(100) comment '邮箱',
	remark 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_bm(
	id integer,
	studentId int,
	gsId int,
	v1 varchar(100),
	v2 datetime,
	v3 varchar(100),
	v4 varchar(100),
	v5 varchar(100),
	v6 varchar(100),
	v7 varchar(100),
	v8 varchar(100),
	v9 varchar(100)
);
--报名字段加注释
comment on column t_bm.id is '主键';
comment on column t_bm.studentId is '学生';
comment on column t_bm.gsId is '公司';
comment on column t_bm.v1 is '专业';
comment on column t_bm.v2 is '出生日期';
comment on column t_bm.v3 is '身份证号';
comment on column t_bm.v4 is '政汉面貌';
comment on column t_bm.v5 is '民族';
comment on column t_bm.v6 is '手机号码';
comment on column t_bm.v7 is '邮箱';
comment on column t_bm.v8 is '家庭住址';
comment on column t_bm.v9 is '备注';
--报名表加注释
comment on table t_bm is '报名';

成绩表创建语句如下:


create table t_cj(
	id integer,
	studentId int,
	pscj varchar(100),
	khcj varchar(100)
);
--成绩字段加注释
comment on column t_cj.id is '主键';
comment on column t_cj.studentId is '学生';
comment on column t_cj.pscj is '平时成绩';
comment on column t_cj.khcj is '考核成绩';
--成绩表加注释
comment on table t_cj is '成绩';

公司表创建语句如下:


create table t_gs(
	id integer,
	gsName varchar(100),
	v1 varchar(100),
	v2 varchar(100),
	v3 varchar(100),
	v4 varchar(100),
	v5 varchar(100)
);
--公司字段加注释
comment on column t_gs.id is '主键';
comment on column t_gs.gsName is '名称';
comment on column t_gs.v1 is '地址';
comment on column t_gs.v2 is '实训联系人';
comment on column t_gs.v3 is '实训联系人电话';
comment on column t_gs.v4 is '实训周期';
comment on column t_gs.v5 is '实训费用';
--公司表加注释
comment on table t_gs is '公司';

公司人员表创建语句如下:


create table t_gsry(
	id integer,
	gsId int,
	username varchar(100),
	password varchar(100),
	gsryName varchar(100),
	sex varchar(100),
	phone varchar(100),
	email varchar(100),
	remark varchar(100)
);
--公司人员字段加注释
comment on column t_gsry.id is '主键';
comment on column t_gsry.gsId is '公司';
comment on column t_gsry.username is '账号';
comment on column t_gsry.password is '密码';
comment on column t_gsry.gsryName is '姓名';
comment on column t_gsry.sex is '性别';
comment on column t_gsry.phone is '电话';
comment on column t_gsry.email is '邮箱';
comment on column t_gsry.remark is '简介';
--公司人员表加注释
comment on table t_gsry is '公司人员';

教师安排表创建语句如下:


create table t_jsap(
	id integer,
	studentId int,
	teacherId int
);
--教师安排字段加注释
comment on column t_jsap.id is '主键';
comment on column t_jsap.studentId is '学生';
comment on column t_jsap.teacherId is '教师';
--教师安排表加注释
comment on table t_jsap is '教师安排';

任务信息表创建语句如下:


create table t_rwxx(
	id integer,
	teacherId int,
	rq datetime,
	xx varchar(100),
	rwdh varchar(100)
);
--任务信息字段加注释
comment on column t_rwxx.id is '主键';
comment on column t_rwxx.teacherId is '教师';
comment on column t_rwxx.rq is '日期';
comment on column t_rwxx.xx is '信息';
comment on column t_rwxx.rwdh is '任务单号';
--任务信息表加注释
comment on table t_rwxx is '任务信息';

学生表创建语句如下:


create table t_student(
	id integer,
	username varchar(100),
	password varchar(100),
	studentName varchar(100),
	sex varchar(100),
	zy varchar(100),
	bj varchar(100),
	birthday datetime,
	phone varchar(100),
	email varchar(100),
	remark varchar(100)
);
--学生字段加注释
comment on column t_student.id is '主键';
comment on column t_student.username is '账号';
comment on column t_student.password is '密码';
comment on column t_student.studentName is '姓名';
comment on column t_student.sex is '性别';
comment on column t_student.zy is '专业';
comment on column t_student.bj is '班级';
comment on column t_student.birthday is '生日';
comment on column t_student.phone is '电话';
comment on column t_student.email is '邮箱';
comment on column t_student.remark is '备注';
--学生表加注释
comment on table t_student is '学生';

实训进度信息表创建语句如下:


create table t_sxjdxx(
	id integer,
	studentId int,
	rq datetime,
	xx varchar(100),
	rwdh varchar(100)
);
--实训进度信息字段加注释
comment on column t_sxjdxx.id is '主键';
comment on column t_sxjdxx.studentId is '教师';
comment on column t_sxjdxx.rq is '日期';
comment on column t_sxjdxx.xx is '信息';
comment on column t_sxjdxx.rwdh is '任务单号';
--实训进度信息表加注释
comment on table t_sxjdxx is '实训进度信息';

实训信息表创建语句如下:


create table t_sxxx(
	id integer,
	gsId int,
	rq datetime,
	xx varchar(100),
	rwdh varchar(100)
);
--实训信息字段加注释
comment on column t_sxxx.id is '主键';
comment on column t_sxxx.gsId is '公司';
comment on column t_sxxx.rq is '日期';
comment on column t_sxxx.xx is '信息';
comment on column t_sxxx.rwdh is '任务单号';
--实训信息表加注释
comment on table t_sxxx is '实训信息';

老师表创建语句如下:


create table t_teacher(
	id integer,
	username varchar(100),
	password varchar(100),
	teacherName varchar(100),
	sex varchar(100),
	phone varchar(100),
	email varchar(100),
	remark varchar(100)
);
--老师字段加注释
comment on column t_teacher.id is '主键';
comment on column t_teacher.username is '账号';
comment on column t_teacher.password is '密码';
comment on column t_teacher.teacherName is '姓名';
comment on column t_teacher.sex is '性别';
comment on column t_teacher.phone is '电话';
comment on column t_teacher.email is '邮箱';
comment on column t_teacher.remark is '简介';
--老师表加注释
comment on table t_teacher is '老师';

oracle特有,对应序列如下:


create sequence s_t_bm;
create sequence s_t_cj;
create sequence s_t_gs;
create sequence s_t_gsry;
create sequence s_t_jsap;
create sequence s_t_rwxx;
create sequence s_t_student;
create sequence s_t_sxjdxx;
create sequence s_t_sxxx;
create sequence s_t_teacher;

毕业实训管理系统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_bm(
	id int identity(1,1) primary key not null,--主键
	studentId int,--学生
	gsId int,--公司
	v1 varchar(100),--专业
	v2 datetime,--出生日期
	v3 varchar(100),--身份证号
	v4 varchar(100),--政汉面貌
	v5 varchar(100),--民族
	v6 varchar(100),--手机号码
	v7 varchar(100),--邮箱
	v8 varchar(100),--家庭住址
	v9 varchar(100)--备注
);

成绩表创建语句如下:


--成绩表注释
create table t_cj(
	id int identity(1,1) primary key not null,--主键
	studentId int,--学生
	pscj varchar(100),--平时成绩
	khcj varchar(100)--考核成绩
);

公司表创建语句如下:


--公司表注释
create table t_gs(
	id int identity(1,1) primary key not null,--主键
	gsName varchar(100),--名称
	v1 varchar(100),--地址
	v2 varchar(100),--实训联系人
	v3 varchar(100),--实训联系人电话
	v4 varchar(100),--实训周期
	v5 varchar(100)--实训费用
);

公司人员表创建语句如下:


--公司人员表注释
create table t_gsry(
	id int identity(1,1) primary key not null,--主键
	gsId int,--公司
	username varchar(100),--账号
	password varchar(100),--密码
	gsryName varchar(100),--姓名
	sex varchar(100),--性别
	phone varchar(100),--电话
	email varchar(100),--邮箱
	remark varchar(100)--简介
);

教师安排表创建语句如下:


--教师安排表注释
create table t_jsap(
	id int identity(1,1) primary key not null,--主键
	studentId int,--学生
	teacherId int--教师
);

任务信息表创建语句如下:


--任务信息表注释
create table t_rwxx(
	id int identity(1,1) primary key not null,--主键
	teacherId int,--教师
	rq datetime,--日期
	xx varchar(100),--信息
	rwdh varchar(100)--任务单号
);

学生表创建语句如下:


--学生表注释
create table t_student(
	id int identity(1,1) primary key not null,--主键
	username varchar(100),--账号
	password varchar(100),--密码
	studentName varchar(100),--姓名
	sex varchar(100),--性别
	zy varchar(100),--专业
	bj varchar(100),--班级
	birthday datetime,--生日
	phone varchar(100),--电话
	email varchar(100),--邮箱
	remark varchar(100)--备注
);

实训进度信息表创建语句如下:


--实训进度信息表注释
create table t_sxjdxx(
	id int identity(1,1) primary key not null,--主键
	studentId int,--教师
	rq datetime,--日期
	xx varchar(100),--信息
	rwdh varchar(100)--任务单号
);

实训信息表创建语句如下:


--实训信息表注释
create table t_sxxx(
	id int identity(1,1) primary key not null,--主键
	gsId int,--公司
	rq datetime,--日期
	xx varchar(100),--信息
	rwdh varchar(100)--任务单号
);

老师表创建语句如下:


--老师表注释
create table t_teacher(
	id int identity(1,1) primary key not null,--主键
	username varchar(100),--账号
	password varchar(100),--密码
	teacherName varchar(100),--姓名
	sex varchar(100),--性别
	phone varchar(100),--电话
	email varchar(100),--邮箱
	remark 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_bm")
public class Bm {
//主键
@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 studentId;
//公司
private Integer gsId;
//专业
private String v1;
//出生日期
private Date v2;
//身份证号
private String v3;
//政汉面貌
private String v4;
//民族
private String v5;
//手机号码
private String v6;
//邮箱
private String v7;
//家庭住址
private String v8;
//备注
private String v9;
public Integer getStudentId() {return studentId;}
public void setStudentId(Integer studentId) {this.studentId = studentId;}
public Integer getGsId() {return gsId;}
public void setGsId(Integer gsId) {this.gsId = gsId;}
public String getV1() {return v1;}
public void setV1(String v1) {this.v1 = v1;}
public Date getV2() {return v2;}
public void setV2(Date v2) {this.v2 = v2;}
public String getV3() {return v3;}
public void setV3(String v3) {this.v3 = v3;}
public String getV4() {return v4;}
public void setV4(String v4) {this.v4 = v4;}
public String getV5() {return v5;}
public void setV5(String v5) {this.v5 = v5;}
public String getV6() {return v6;}
public void setV6(String v6) {this.v6 = v6;}
public String getV7() {return v7;}
public void setV7(String v7) {this.v7 = v7;}
public String getV8() {return v8;}
public void setV8(String v8) {this.v8 = v8;}
public String getV9() {return v9;}
public void setV9(String v9) {this.v9 = v9;}
}

成绩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_cj")
public class Cj {
//主键
@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 studentId;
//平时成绩
private String pscj;
//考核成绩
private String khcj;
public Integer getStudentId() {return studentId;}
public void setStudentId(Integer studentId) {this.studentId = studentId;}
public String getPscj() {return pscj;}
public void setPscj(String pscj) {this.pscj = pscj;}
public String getKhcj() {return khcj;}
public void setKhcj(String khcj) {this.khcj = khcj;}
}

公司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_gs")
public class Gs {
//主键
@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 gsName;
//地址
private String v1;
//实训联系人
private String v2;
//实训联系人电话
private String v3;
//实训周期
private String v4;
//实训费用
private String v5;
public String getGsName() {return gsName;}
public void setGsName(String gsName) {this.gsName = gsName;}
public String getV1() {return v1;}
public void setV1(String v1) {this.v1 = v1;}
public String getV2() {return v2;}
public void setV2(String v2) {this.v2 = v2;}
public String getV3() {return v3;}
public void setV3(String v3) {this.v3 = v3;}
public String getV4() {return v4;}
public void setV4(String v4) {this.v4 = v4;}
public String getV5() {return v5;}
public void setV5(String v5) {this.v5 = v5;}
}

公司人员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_gsry")
public class Gsry {
//主键
@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 gsId;
//账号
private String username;
//密码
private String password;
//姓名
private String gsryName;
//性别
private String sex;
//电话
private String phone;
//邮箱
private String email;
//简介
private String remark;
public Integer getGsId() {return gsId;}
public void setGsId(Integer gsId) {this.gsId = gsId;}
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 getGsryName() {return gsryName;}
public void setGsryName(String gsryName) {this.gsryName = gsryName;}
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 getRemark() {return remark;}
public void setRemark(String remark) {this.remark = remark;}
}

教师安排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_jsap")
public class Jsap {
//主键
@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 studentId;
//教师
private Integer teacherId;
public Integer getStudentId() {return studentId;}
public void setStudentId(Integer studentId) {this.studentId = studentId;}
public Integer getTeacherId() {return teacherId;}
public void setTeacherId(Integer teacherId) {this.teacherId = teacherId;}
}

任务信息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_rwxx")
public class Rwxx {
//主键
@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 teacherId;
//日期
private Date rq;
//信息
private String xx;
//任务单号
private String rwdh;
public Integer getTeacherId() {return teacherId;}
public void setTeacherId(Integer teacherId) {this.teacherId = teacherId;}
public Date getRq() {return rq;}
public void setRq(Date rq) {this.rq = rq;}
public String getXx() {return xx;}
public void setXx(String xx) {this.xx = xx;}
public String getRwdh() {return rwdh;}
public void setRwdh(String rwdh) {this.rwdh = rwdh;}
}

学生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_student")
public class Student {
//主键
@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 studentName;
//性别
private String sex;
//专业
private String zy;
//班级
private String bj;
//生日
private Date birthday;
//电话
private String phone;
//邮箱
private String email;
//备注
private String remark;
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 getStudentName() {return studentName;}
public void setStudentName(String studentName) {this.studentName = studentName;}
public String getSex() {return sex;}
public void setSex(String sex) {this.sex = sex;}
public String getZy() {return zy;}
public void setZy(String zy) {this.zy = zy;}
public String getBj() {return bj;}
public void setBj(String bj) {this.bj = bj;}
public Date getBirthday() {return birthday;}
public void setBirthday(Date birthday) {this.birthday = birthday;}
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 getRemark() {return remark;}
public void setRemark(String remark) {this.remark = remark;}
}

实训进度信息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_sxjdxx")
public class Sxjdxx {
//主键
@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 studentId;
//日期
private Date rq;
//信息
private String xx;
//任务单号
private String rwdh;
public Integer getStudentId() {return studentId;}
public void setStudentId(Integer studentId) {this.studentId = studentId;}
public Date getRq() {return rq;}
public void setRq(Date rq) {this.rq = rq;}
public String getXx() {return xx;}
public void setXx(String xx) {this.xx = xx;}
public String getRwdh() {return rwdh;}
public void setRwdh(String rwdh) {this.rwdh = rwdh;}
}

实训信息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_sxxx")
public class Sxxx {
//主键
@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 gsId;
//日期
private Date rq;
//信息
private String xx;
//任务单号
private String rwdh;
public Integer getGsId() {return gsId;}
public void setGsId(Integer gsId) {this.gsId = gsId;}
public Date getRq() {return rq;}
public void setRq(Date rq) {this.rq = rq;}
public String getXx() {return xx;}
public void setXx(String xx) {this.xx = xx;}
public String getRwdh() {return rwdh;}
public void setRwdh(String rwdh) {this.rwdh = rwdh;}
}

老师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_teacher")
public class Teacher {
//主键
@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 teacherName;
//性别
private String sex;
//电话
private String phone;
//邮箱
private String email;
//简介
private String remark;
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 getTeacherName() {return teacherName;}
public void setTeacherName(String teacherName) {this.teacherName = teacherName;}
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 getRemark() {return remark;}
public void setRemark(String remark) {this.remark = remark;}
}

毕业实训管理系统spring+springMVC+mybatis框架对象(javaBean,pojo)设计:

报名javaBean创建语句如下:


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

//报名
public class Bm  extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//学生
private Integer studentId;
//公司
private Integer gsId;
//专业
private String v1;
//出生日期
private Date v2;
//身份证号
private String v3;
//政汉面貌
private String v4;
//民族
private String v5;
//手机号码
private String v6;
//邮箱
private String v7;
//家庭住址
private String v8;
//备注
private String v9;
public Integer getStudentId() {return studentId;}
public void setStudentId(Integer studentId) {this.studentId = studentId;}
public Integer getGsId() {return gsId;}
public void setGsId(Integer gsId) {this.gsId = gsId;}
public String getV1() {return v1;}
public void setV1(String v1) {this.v1 = v1;}
public Date getV2() {return v2;}
public void setV2(Date v2) {this.v2 = v2;}
public String getV3() {return v3;}
public void setV3(String v3) {this.v3 = v3;}
public String getV4() {return v4;}
public void setV4(String v4) {this.v4 = v4;}
public String getV5() {return v5;}
public void setV5(String v5) {this.v5 = v5;}
public String getV6() {return v6;}
public void setV6(String v6) {this.v6 = v6;}
public String getV7() {return v7;}
public void setV7(String v7) {this.v7 = v7;}
public String getV8() {return v8;}
public void setV8(String v8) {this.v8 = v8;}
public String getV9() {return v9;}
public void setV9(String v9) {this.v9 = v9;}
}

成绩javaBean创建语句如下:


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

//成绩
public class Cj  extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//学生
private Integer studentId;
//平时成绩
private String pscj;
//考核成绩
private String khcj;
public Integer getStudentId() {return studentId;}
public void setStudentId(Integer studentId) {this.studentId = studentId;}
public String getPscj() {return pscj;}
public void setPscj(String pscj) {this.pscj = pscj;}
public String getKhcj() {return khcj;}
public void setKhcj(String khcj) {this.khcj = khcj;}
}

公司javaBean创建语句如下:


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

//公司
public class Gs  extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//名称
private String gsName;
//地址
private String v1;
//实训联系人
private String v2;
//实训联系人电话
private String v3;
//实训周期
private String v4;
//实训费用
private String v5;
public String getGsName() {return gsName;}
public void setGsName(String gsName) {this.gsName = gsName;}
public String getV1() {return v1;}
public void setV1(String v1) {this.v1 = v1;}
public String getV2() {return v2;}
public void setV2(String v2) {this.v2 = v2;}
public String getV3() {return v3;}
public void setV3(String v3) {this.v3 = v3;}
public String getV4() {return v4;}
public void setV4(String v4) {this.v4 = v4;}
public String getV5() {return v5;}
public void setV5(String v5) {this.v5 = v5;}
}

公司人员javaBean创建语句如下:


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

//公司人员
public class Gsry  extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//公司
private Integer gsId;
//账号
private String username;
//密码
private String password;
//姓名
private String gsryName;
//性别
private String sex;
//电话
private String phone;
//邮箱
private String email;
//简介
private String remark;
public Integer getGsId() {return gsId;}
public void setGsId(Integer gsId) {this.gsId = gsId;}
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 getGsryName() {return gsryName;}
public void setGsryName(String gsryName) {this.gsryName = gsryName;}
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 getRemark() {return remark;}
public void setRemark(String remark) {this.remark = remark;}
}

教师安排javaBean创建语句如下:


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

//教师安排
public class Jsap  extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//学生
private Integer studentId;
//教师
private Integer teacherId;
public Integer getStudentId() {return studentId;}
public void setStudentId(Integer studentId) {this.studentId = studentId;}
public Integer getTeacherId() {return teacherId;}
public void setTeacherId(Integer teacherId) {this.teacherId = teacherId;}
}

任务信息javaBean创建语句如下:


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

//任务信息
public class Rwxx  extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//教师
private Integer teacherId;
//日期
private Date rq;
//信息
private String xx;
//任务单号
private String rwdh;
public Integer getTeacherId() {return teacherId;}
public void setTeacherId(Integer teacherId) {this.teacherId = teacherId;}
public Date getRq() {return rq;}
public void setRq(Date rq) {this.rq = rq;}
public String getXx() {return xx;}
public void setXx(String xx) {this.xx = xx;}
public String getRwdh() {return rwdh;}
public void setRwdh(String rwdh) {this.rwdh = rwdh;}
}

学生javaBean创建语句如下:


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

//学生
public class Student  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 studentName;
//性别
private String sex;
//专业
private String zy;
//班级
private String bj;
//生日
private Date birthday;
//电话
private String phone;
//邮箱
private String email;
//备注
private String remark;
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 getStudentName() {return studentName;}
public void setStudentName(String studentName) {this.studentName = studentName;}
public String getSex() {return sex;}
public void setSex(String sex) {this.sex = sex;}
public String getZy() {return zy;}
public void setZy(String zy) {this.zy = zy;}
public String getBj() {return bj;}
public void setBj(String bj) {this.bj = bj;}
public Date getBirthday() {return birthday;}
public void setBirthday(Date birthday) {this.birthday = birthday;}
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 getRemark() {return remark;}
public void setRemark(String remark) {this.remark = remark;}
}

实训进度信息javaBean创建语句如下:


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

//实训进度信息
public class Sxjdxx  extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//教师
private Integer studentId;
//日期
private Date rq;
//信息
private String xx;
//任务单号
private String rwdh;
public Integer getStudentId() {return studentId;}
public void setStudentId(Integer studentId) {this.studentId = studentId;}
public Date getRq() {return rq;}
public void setRq(Date rq) {this.rq = rq;}
public String getXx() {return xx;}
public void setXx(String xx) {this.xx = xx;}
public String getRwdh() {return rwdh;}
public void setRwdh(String rwdh) {this.rwdh = rwdh;}
}

实训信息javaBean创建语句如下:


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

//实训信息
public class Sxxx  extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//公司
private Integer gsId;
//日期
private Date rq;
//信息
private String xx;
//任务单号
private String rwdh;
public Integer getGsId() {return gsId;}
public void setGsId(Integer gsId) {this.gsId = gsId;}
public Date getRq() {return rq;}
public void setRq(Date rq) {this.rq = rq;}
public String getXx() {return xx;}
public void setXx(String xx) {this.xx = xx;}
public String getRwdh() {return rwdh;}
public void setRwdh(String rwdh) {this.rwdh = rwdh;}
}

老师javaBean创建语句如下:


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

//老师
public class Teacher  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 teacherName;
//性别
private String sex;
//电话
private String phone;
//邮箱
private String email;
//简介
private String remark;
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 getTeacherName() {return teacherName;}
public void setTeacherName(String teacherName) {this.teacherName = teacherName;}
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 getRemark() {return remark;}
public void setRemark(String remark) {this.remark = remark;}
}

源代码下载点这里

评论