java毕业设计_基于ssm的毕业设计管理系统

在这里插入图片描述
基于ssm的毕业设计管理系统设计与实现mysql数据库创建语句
基于ssm的毕业设计管理系统设计与实现oracle数据库创建语句
基于ssm的毕业设计管理系统设计与实现sqlserver数据库创建语句
基于ssm的毕业设计管理系统设计与实现spring+springMVC+hibernate框架对象(javaBean,pojo)设计
基于ssm的毕业设计管理系统设计与实现spring+springMVC+mybatis框架对象(javaBean,pojo)设计
基于ssm的毕业设计管理系统设计与实现登录注册界面
基于ssm的毕业设计管理系统设计与实现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’);
SQLCopy
公告表创建语句如下:

create table t_gg(
id int primary key auto_increment comment ‘主键’,
title varchar(100) comment ‘标题’,
pic varchar(100) comment ‘图片’,
cotnent varchar(100) comment ‘内容’,
showDate datetime comment ‘日期’
) comment ‘公告’;
SQLCopy
工作文件模板表创建语句如下:

create table t_gzwjmb(
id int primary key auto_increment comment ‘主键’,
title varchar(100) comment ‘模板名称’,
fileUrl varchar(100) comment ‘附件’,
pic varchar(100) comment ‘图片’,
insertDate datetime comment ‘上传日期’
) comment ‘工作文件模板’;
SQLCopy
阶段性报告表创建语句如下:

create table t_jdxbg(
id int primary key auto_increment comment ‘主键’,
studentId int comment ‘学生’,
ktsbId int comment ‘课题’,
jdxbgName varchar(100) comment ‘阶段性报告标题’,
fileUrl varchar(100) comment ‘附件’,
content varchar(100) comment ‘说明’,
insertDate datetime comment ‘上传日期’,
back varchar(100) comment ‘反馈’,
status varchar(100) comment ‘状态’
) comment ‘阶段性报告’;
SQLCopy
课题申报表创建语句如下:

create table t_ktsb(
id int primary key auto_increment comment ‘主键’,
studentId int comment ‘学生’,
ktsbName varchar(100) comment ‘申报课题名称’,
fileUrl varchar(100) comment ‘附件’,
pic varchar(100) comment ‘图片’,
content varchar(100) comment ‘说明’,
insertDate datetime comment ‘申报日期’,
back varchar(100) comment ‘回复’,
status varchar(100) comment ‘状态’,
teacherId int comment ‘’
) comment ‘课题申报’;
SQLCopy
学生表创建语句如下:

create table t_student(
id int primary key auto_increment comment ‘主键’,
username varchar(100) comment ‘账号’,
password varchar(100) comment ‘密码’,
studentName varchar(100) comment ‘姓名’,
phone varchar(100) comment ‘电话’,
age varchar(100) comment ‘年龄’,
sex varchar(100) comment ‘性别’,
pic varchar(100) comment ‘头像’,
xh varchar(100) comment ‘学号’
) comment ‘学生’;
SQLCopy
老师表创建语句如下:

create table t_teacher(
id int primary key auto_increment comment ‘主键’,
username varchar(100) comment ‘账号’,
password varchar(100) comment ‘密码’,
teacherName varchar(100) comment ‘姓名’,
phone varchar(100) comment ‘电话’,
age varchar(100) comment ‘年龄’,
sex varchar(100) comment ‘性别’,
pic varchar(100) comment ‘头像’,
zc varchar(100) comment ‘职称’
) comment ‘老师’;
SQLCopy
基于ssm的毕业设计管理系统设计与实现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 ‘超级管理员’;
SQLCopy
公告表创建语句如下:

create table t_gg(
id integer,
title varchar(100),
pic varchar(100),
cotnent varchar(100),
showDate datetime
);
–公告字段加注释
comment on column t_gg.id is ‘主键’;
comment on column t_gg.title is ‘标题’;
comment on column t_gg.pic is ‘图片’;
comment on column t_gg.cotnent is ‘内容’;
comment on column t_gg.showDate is ‘日期’;
–公告表加注释
comment on table t_gg is ‘公告’;
SQLCopy
工作文件模板表创建语句如下:

create table t_gzwjmb(
id integer,
title varchar(100),
fileUrl varchar(100),
pic varchar(100),
insertDate datetime
);
–工作文件模板字段加注释
comment on column t_gzwjmb.id is ‘主键’;
comment on column t_gzwjmb.title is ‘模板名称’;
comment on column t_gzwjmb.fileUrl is ‘附件’;
comment on column t_gzwjmb.pic is ‘图片’;
comment on column t_gzwjmb.insertDate is ‘上传日期’;
–工作文件模板表加注释
comment on table t_gzwjmb is ‘工作文件模板’;
SQLCopy
阶段性报告表创建语句如下:

create table t_jdxbg(
id integer,
studentId int,
ktsbId int,
jdxbgName varchar(100),
fileUrl varchar(100),
content varchar(100),
insertDate datetime,
back varchar(100),
status varchar(100)
);
–阶段性报告字段加注释
comment on column t_jdxbg.id is ‘主键’;
comment on column t_jdxbg.studentId is ‘学生’;
comment on column t_jdxbg.ktsbId is ‘课题’;
comment on column t_jdxbg.jdxbgName is ‘阶段性报告标题’;
comment on column t_jdxbg.fileUrl is ‘附件’;
comment on column t_jdxbg.content is ‘说明’;
comment on column t_jdxbg.insertDate is ‘上传日期’;
comment on column t_jdxbg.back is ‘反馈’;
comment on column t_jdxbg.status is ‘状态’;
–阶段性报告表加注释
comment on table t_jdxbg is ‘阶段性报告’;
SQLCopy
课题申报表创建语句如下:

create table t_ktsb(
id integer,
studentId int,
ktsbName varchar(100),
fileUrl varchar(100),
pic varchar(100),
content varchar(100),
insertDate datetime,
back varchar(100),
status varchar(100),
teacherId int
);
–课题申报字段加注释
comment on column t_ktsb.id is ‘主键’;
comment on column t_ktsb.studentId is ‘学生’;
comment on column t_ktsb.ktsbName is ‘申报课题名称’;
comment on column t_ktsb.fileUrl is ‘附件’;
comment on column t_ktsb.pic is ‘图片’;
comment on column t_ktsb.content is ‘说明’;
comment on column t_ktsb.insertDate is ‘申报日期’;
comment on column t_ktsb.back is ‘回复’;
comment on column t_ktsb.status is ‘状态’;
comment on column t_ktsb.teacherId is ‘’;
–课题申报表加注释
comment on table t_ktsb is ‘课题申报’;
SQLCopy
学生表创建语句如下:

create table t_student(
id integer,
username varchar(100),
password varchar(100),
studentName varchar(100),
phone varchar(100),
age varchar(100),
sex varchar(100),
pic varchar(100),
xh 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.phone is ‘电话’;
comment on column t_student.age is ‘年龄’;
comment on column t_student.sex is ‘性别’;
comment on column t_student.pic is ‘头像’;
comment on column t_student.xh is ‘学号’;
–学生表加注释
comment on table t_student is ‘学生’;
SQLCopy
老师表创建语句如下:

create table t_teacher(
id integer,
username varchar(100),
password varchar(100),
teacherName varchar(100),
phone varchar(100),
age varchar(100),
sex varchar(100),
pic varchar(100),
zc 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.phone is ‘电话’;
comment on column t_teacher.age is ‘年龄’;
comment on column t_teacher.sex is ‘性别’;
comment on column t_teacher.pic is ‘头像’;
comment on column t_teacher.zc is ‘职称’;
–老师表加注释
comment on table t_teacher is ‘老师’;
SQLCopy
oracle特有,对应序列如下:

create sequence s_t_gg;
create sequence s_t_gzwjmb;
create sequence s_t_jdxbg;
create sequence s_t_ktsb;
create sequence s_t_student;
create sequence s_t_teacher;
SQLCopy
基于ssm的毕业设计管理系统设计与实现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’);
SQLCopy
公告表创建语句如下:

–公告表注释
create table t_gg(
id int identity(1,1) primary key not null,–主键
title varchar(100),–标题
pic varchar(100),–图片
cotnent varchar(100),–内容
showDate datetime–日期
);
SQLCopy
工作文件模板表创建语句如下:

–工作文件模板表注释
create table t_gzwjmb(
id int identity(1,1) primary key not null,–主键
title varchar(100),–模板名称
fileUrl varchar(100),–附件
pic varchar(100),–图片
insertDate datetime–上传日期
);
SQLCopy
阶段性报告表创建语句如下:

–阶段性报告表注释
create table t_jdxbg(
id int identity(1,1) primary key not null,–主键
studentId int,–学生
ktsbId int,–课题
jdxbgName varchar(100),–阶段性报告标题
fileUrl varchar(100),–附件
content varchar(100),–说明
insertDate datetime,–上传日期
back varchar(100),–反馈
status varchar(100)–状态
);
SQLCopy
课题申报表创建语句如下:

–课题申报表注释
create table t_ktsb(
id int identity(1,1) primary key not null,–主键
studentId int,–学生
ktsbName varchar(100),–申报课题名称
fileUrl varchar(100),–附件
pic varchar(100),–图片
content varchar(100),–说明
insertDate datetime,–申报日期
back varchar(100),–回复
status varchar(100),–状态
teacherId int–
);
SQLCopy
学生表创建语句如下:

–学生表注释
create table t_student(
id int identity(1,1) primary key not null,–主键
username varchar(100),–账号
password varchar(100),–密码
studentName varchar(100),–姓名
phone varchar(100),–电话
age varchar(100),–年龄
sex varchar(100),–性别
pic varchar(100),–头像
xh varchar(100)–学号
);
SQLCopy
老师表创建语句如下:

–老师表注释
create table t_teacher(
id int identity(1,1) primary key not null,–主键
username varchar(100),–账号
password varchar(100),–密码
teacherName varchar(100),–姓名
phone varchar(100),–电话
age varchar(100),–年龄
sex varchar(100),–性别
pic varchar(100),–头像
zc varchar(100)–职称
);
SQLCopy
基于ssm的毕业设计管理系统设计与实现登录后主页
基于ssm的毕业设计管理系统设计与实现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_gg”)
public class Gg {
//主键
@Id
@Column(name = “id”)
@GeneratedValue(strategy = GenerationType.IDENTITY)
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//标题
private String title;
//图片
private String pic;
//内容
private String cotnent;
//日期
private Date showDate;
public String getTitle() {return title;}
public void setTitle(String title) {this.title = title;}
public String getPic() {return pic;}
public void setPic(String pic) {this.pic = pic;}
public String getCotnent() {return cotnent;}
public void setCotnent(String cotnent) {this.cotnent = cotnent;}
public Date getShowDate() {return showDate;}
public void setShowDate(Date showDate) {this.showDate = showDate;}
}
JavaCopy
工作文件模板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_gzwjmb”)
public class Gzwjmb {
//主键
@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 fileUrl;
//图片
private String pic;
//上传日期
private Date insertDate;
public String getTitle() {return title;}
public void setTitle(String title) {this.title = title;}
public String getFileUrl() {return fileUrl;}
public void setFileUrl(String fileUrl) {this.fileUrl = fileUrl;}
public String getPic() {return pic;}
public void setPic(String pic) {this.pic = pic;}
public Date getInsertDate() {return insertDate;}
public void setInsertDate(Date insertDate) {this.insertDate = insertDate;}
}
JavaCopy
阶段性报告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_jdxbg”)
public class Jdxbg {
//主键
@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 ktsbId;
//阶段性报告标题
private String jdxbgName;
//附件
private String fileUrl;
//说明
private String content;
//上传日期
private Date insertDate;
//反馈
private String back;
//状态
private String status;
public Integer getStudentId() {return studentId;}
public void setStudentId(Integer studentId) {this.studentId = studentId;}
public Integer getKtsbId() {return ktsbId;}
public void setKtsbId(Integer ktsbId) {this.ktsbId = ktsbId;}
public String getJdxbgName() {return jdxbgName;}
public void setJdxbgName(String jdxbgName) {this.jdxbgName = jdxbgName;}
public String getFileUrl() {return fileUrl;}
public void setFileUrl(String fileUrl) {this.fileUrl = fileUrl;}
public String getContent() {return content;}
public void setContent(String content) {this.content = content;}
public Date getInsertDate() {return insertDate;}
public void setInsertDate(Date insertDate) {this.insertDate = insertDate;}
public String getBack() {return back;}
public void setBack(String back) {this.back = back;}
public String getStatus() {return status;}
public void setStatus(String status) {this.status = status;}
}
JavaCopy
课题申报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_ktsb”)
public class Ktsb {
//主键
@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 ktsbName;
//附件
private String fileUrl;
//图片
private String pic;
//说明
private String content;
//申报日期
private Date insertDate;
//回复
private String back;
//状态
private String status;
//
private Integer teacherId;
public Integer getStudentId() {return studentId;}
public void setStudentId(Integer studentId) {this.studentId = studentId;}
public String getKtsbName() {return ktsbName;}
public void setKtsbName(String ktsbName) {this.ktsbName = ktsbName;}
public String getFileUrl() {return fileUrl;}
public void setFileUrl(String fileUrl) {this.fileUrl = fileUrl;}
public String getPic() {return pic;}
public void setPic(String pic) {this.pic = pic;}
public String getContent() {return content;}
public void setContent(String content) {this.content = content;}
public Date getInsertDate() {return insertDate;}
public void setInsertDate(Date insertDate) {this.insertDate = insertDate;}
public String getBack() {return back;}
public void setBack(String back) {this.back = back;}
public String getStatus() {return status;}
public void setStatus(String status) {this.status = status;}
public Integer getTeacherId() {return teacherId;}
public void setTeacherId(Integer teacherId) {this.teacherId = teacherId;}
}
JavaCopy
学生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 phone;
//年龄
private String age;
//性别
private String sex;
//头像
private String pic;
//学号
private String xh;
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 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 getXh() {return xh;}
public void setXh(String xh) {this.xh = xh;}
}
JavaCopy
老师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 phone;
//年龄
private String age;
//性别
private String sex;
//头像
private String pic;
//职称
private String zc;
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 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 getZc() {return zc;}
public void setZc(String zc) {this.zc = zc;}
}
JavaCopy
基于ssm的毕业设计管理系统设计与实现spring+springMVC+mybatis框架对象(javaBean,pojo)设计:
公告javaBean创建语句如下:

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

//公告
public class Gg extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//标题
private String title;
//图片
private String pic;
//内容
private String cotnent;
//日期
private Date showDate;
public String getTitle() {return title;}
public void setTitle(String title) {this.title = title;}
public String getPic() {return pic;}
public void setPic(String pic) {this.pic = pic;}
public String getCotnent() {return cotnent;}
public void setCotnent(String cotnent) {this.cotnent = cotnent;}
public Date getShowDate() {return showDate;}
public void setShowDate(Date showDate) {this.showDate = showDate;}
}
JavaCopy
工作文件模板javaBean创建语句如下:

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

//工作文件模板
public class Gzwjmb extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//模板名称
private String title;
//附件
private String fileUrl;
//图片
private String pic;
//上传日期
private Date insertDate;
public String getTitle() {return title;}
public void setTitle(String title) {this.title = title;}
public String getFileUrl() {return fileUrl;}
public void setFileUrl(String fileUrl) {this.fileUrl = fileUrl;}
public String getPic() {return pic;}
public void setPic(String pic) {this.pic = pic;}
public Date getInsertDate() {return insertDate;}
public void setInsertDate(Date insertDate) {this.insertDate = insertDate;}
}
JavaCopy
阶段性报告javaBean创建语句如下:

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

//阶段性报告
public class Jdxbg extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//学生
private Integer studentId;
//课题
private Integer ktsbId;
//阶段性报告标题
private String jdxbgName;
//附件
private String fileUrl;
//说明
private String content;
//上传日期
private Date insertDate;
//反馈
private String back;
//状态
private String status;
public Integer getStudentId() {return studentId;}
public void setStudentId(Integer studentId) {this.studentId = studentId;}
public Integer getKtsbId() {return ktsbId;}
public void setKtsbId(Integer ktsbId) {this.ktsbId = ktsbId;}
public String getJdxbgName() {return jdxbgName;}
public void setJdxbgName(String jdxbgName) {this.jdxbgName = jdxbgName;}
public String getFileUrl() {return fileUrl;}
public void setFileUrl(String fileUrl) {this.fileUrl = fileUrl;}
public String getContent() {return content;}
public void setContent(String content) {this.content = content;}
public Date getInsertDate() {return insertDate;}
public void setInsertDate(Date insertDate) {this.insertDate = insertDate;}
public String getBack() {return back;}
public void setBack(String back) {this.back = back;}
public String getStatus() {return status;}
public void setStatus(String status) {this.status = status;}
}
JavaCopy
课题申报javaBean创建语句如下:

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

//课题申报
public class Ktsb extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//学生
private Integer studentId;
//申报课题名称
private String ktsbName;
//附件
private String fileUrl;
//图片
private String pic;
//说明
private String content;
//申报日期
private Date insertDate;
//回复
private String back;
//状态
private String status;
//
private Integer teacherId;
public Integer getStudentId() {return studentId;}
public void setStudentId(Integer studentId) {this.studentId = studentId;}
public String getKtsbName() {return ktsbName;}
public void setKtsbName(String ktsbName) {this.ktsbName = ktsbName;}
public String getFileUrl() {return fileUrl;}
public void setFileUrl(String fileUrl) {this.fileUrl = fileUrl;}
public String getPic() {return pic;}
public void setPic(String pic) {this.pic = pic;}
public String getContent() {return content;}
public void setContent(String content) {this.content = content;}
public Date getInsertDate() {return insertDate;}
public void setInsertDate(Date insertDate) {this.insertDate = insertDate;}
public String getBack() {return back;}
public void setBack(String back) {this.back = back;}
public String getStatus() {return status;}
public void setStatus(String status) {this.status = status;}
public Integer getTeacherId() {return teacherId;}
public void setTeacherId(Integer teacherId) {this.teacherId = teacherId;}
}
JavaCopy
学生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 phone;
//年龄
private String age;
//性别
private String sex;
//头像
private String pic;
//学号
private String xh;
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 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 getXh() {return xh;}
public void setXh(String xh) {this.xh = xh;}
}
JavaCopy
老师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 phone;
//年龄
private String age;
//性别
private String sex;
//头像
private String pic;
//职称
private String zc;
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 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 getZc() {return zc;}
public void setZc(String zc) {this.zc = zc;}
}

已标记关键词 清除标记
©️2020 CSDN 皮肤主题: 游动-白 设计师:上身试试 返回首页