考研辅导管理系统分析与设计

考研辅导管理系统分析与设计登录注册界面

考研辅导管理系统分析与设计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_contact(
	id int primary key auto_increment comment '主键',
	customerId int comment '用户',
	phone varchar(100) comment '联系方式',
	content varchar(100) comment '内容',
	insertDate datetime comment '日期'
) comment '建议';

客户表创建语句如下:


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

试卷表创建语句如下:


create table t_exam(
	id int primary key auto_increment comment '主键',
	examName varchar(100) comment '名称',
	showDate varchar(100) comment '日期',
	status varchar(100) comment '状态',
	ny varchar(100) comment ''
) comment '试卷';

答案表创建语句如下:


create table t_examanswer(
	id int primary key auto_increment comment '主键',
	customerId int comment '用户',
	examName varchar(100) comment '试卷名称',
	insertDate datetime comment '日期',
	tm varchar(100) comment '题目',
	da varchar(100) comment '客户答案',
	answer varchar(100) comment '正确答案',
	batchId varchar(100) comment '',
	df varchar(100) comment '',
	v1 int comment '',
	v2 int comment '',
	v3 int comment '',
	isdl varchar(100) comment ''
) comment '答案';

试卷题目表创建语句如下:


create table t_examlist(
	id int primary key auto_increment comment '主键',
	examId int comment '试卷',
	examtmId int comment '题目'
) comment '试卷题目';

考试题目表创建语句如下:


create table t_examtm(
	id int primary key auto_increment comment '主键',
	types int comment '类型',
	v1 varchar(100) comment '题目标题',
	v2 varchar(100) comment '选项A',
	v3 varchar(100) comment '选项B',
	v4 varchar(100) comment '选项C',
	v5 varchar(100) comment '选项D',
	v6 varchar(100) comment '答案',
	v7 varchar(100) comment '题目',
	v8 varchar(100) comment '答案',
	v9 varchar(100) comment '题目',
	v10 varchar(100) comment '答案'
) comment '考试题目';

广告策划表创建语句如下:


create table t_ggch(
	id int primary key auto_increment comment '主键',
	title varchar(100) comment '名称',
	pic varchar(100) comment '图片',
	content varchar(100) comment '内容'
) comment '广告策划';

老师表创建语句如下:


create table t_jky(
	id int primary key auto_increment comment '主键',
	username varchar(100) comment '账号',
	password varchar(100) comment '密码',
	jkyName varchar(100) comment '姓名',
	age varchar(100) comment '年龄',
	sex varchar(100) comment '性别',
	phone varchar(100) comment '电话'
) comment '老师';

课程表创建语句如下:


create table t_kc(
	id int primary key auto_increment comment '主键',
	jkyId int comment '老师',
	title varchar(100) comment '课程名称',
	content varchar(100) comment '内容',
	fileUrl varchar(100) comment '视频文件',
	status varchar(100) comment '状态'
) comment '课程';

课程选择表创建语句如下:


create table t_kcxz(
	id int primary key auto_increment comment '主键',
	customerId int comment '学生',
	kcId int comment '课程',
	insertDate datetime comment '日期',
	kcFee int comment '课程费用',
	status varchar(100) comment '状态'
) comment '课程选择';

上课讲义表创建语句如下:


create table t_skjy(
	id int primary key auto_increment comment '主键',
	jkyId int comment '老师',
	title varchar(100) comment '讲义名称',
	content varchar(100) comment '内容',
	fileUrl varchar(100) comment '附件'
) comment '上课讲义';

在线答疑表创建语句如下:


create table t_zxdy(
	id int primary key auto_increment comment '主键',
	customerId int comment '学生',
	content varchar(100) comment '内容',
	insertDate datetime comment '发起日期',
	jkyId int comment '老师',
	back varchar(100) comment '回复',
	backDate datetime comment '回复日期',
	status 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_contact(
	id integer,
	customerId int,
	phone varchar(100),
	content varchar(100),
	insertDate datetime
);
--建议字段加注释
comment on column t_contact.id is '主键';
comment on column t_contact.customerId is '用户';
comment on column t_contact.phone is '联系方式';
comment on column t_contact.content is '内容';
comment on column t_contact.insertDate is '日期';
--建议表加注释
comment on table t_contact is '建议';

客户表创建语句如下:


create table t_customer(
	id integer,
	username varchar(100),
	password varchar(100),
	name varchar(100),
	sex varchar(100),
	address varchar(100),
	mobile varchar(100)
);
--客户字段加注释
comment on column t_customer.id is '主键';
comment on column t_customer.username is '账号';
comment on column t_customer.password is '密码';
comment on column t_customer.name is '姓名';
comment on column t_customer.sex is '性别';
comment on column t_customer.address is '地址';
comment on column t_customer.mobile is '手机';
--客户表加注释
comment on table t_customer is '客户';

试卷表创建语句如下:


create table t_exam(
	id integer,
	examName varchar(100),
	showDate varchar(100),
	status varchar(100),
	ny varchar(100)
);
--试卷字段加注释
comment on column t_exam.id is '主键';
comment on column t_exam.examName is '名称';
comment on column t_exam.showDate is '日期';
comment on column t_exam.status is '状态';
comment on column t_exam.ny is '';
--试卷表加注释
comment on table t_exam is '试卷';

答案表创建语句如下:


create table t_examanswer(
	id integer,
	customerId int,
	examName varchar(100),
	insertDate datetime,
	tm varchar(100),
	da varchar(100),
	answer varchar(100),
	batchId varchar(100),
	df varchar(100),
	v1 int,
	v2 int,
	v3 int,
	isdl varchar(100)
);
--答案字段加注释
comment on column t_examanswer.id is '主键';
comment on column t_examanswer.customerId is '用户';
comment on column t_examanswer.examName is '试卷名称';
comment on column t_examanswer.insertDate is '日期';
comment on column t_examanswer.tm is '题目';
comment on column t_examanswer.da is '客户答案';
comment on column t_examanswer.answer is '正确答案';
comment on column t_examanswer.batchId is '';
comment on column t_examanswer.df is '';
comment on column t_examanswer.v1 is '';
comment on column t_examanswer.v2 is '';
comment on column t_examanswer.v3 is '';
comment on column t_examanswer.isdl is '';
--答案表加注释
comment on table t_examanswer is '答案';

试卷题目表创建语句如下:


create table t_examlist(
	id integer,
	examId int,
	examtmId int
);
--试卷题目字段加注释
comment on column t_examlist.id is '主键';
comment on column t_examlist.examId is '试卷';
comment on column t_examlist.examtmId is '题目';
--试卷题目表加注释
comment on table t_examlist is '试卷题目';

考试题目表创建语句如下:


create table t_examtm(
	id integer,
	types int,
	v1 varchar(100),
	v2 varchar(100),
	v3 varchar(100),
	v4 varchar(100),
	v5 varchar(100),
	v6 varchar(100),
	v7 varchar(100),
	v8 varchar(100),
	v9 varchar(100),
	v10 varchar(100)
);
--考试题目字段加注释
comment on column t_examtm.id is '主键';
comment on column t_examtm.types is '类型';
comment on column t_examtm.v1 is '题目标题';
comment on column t_examtm.v2 is '选项A';
comment on column t_examtm.v3 is '选项B';
comment on column t_examtm.v4 is '选项C';
comment on column t_examtm.v5 is '选项D';
comment on column t_examtm.v6 is '答案';
comment on column t_examtm.v7 is '题目';
comment on column t_examtm.v8 is '答案';
comment on column t_examtm.v9 is '题目';
comment on column t_examtm.v10 is '答案';
--考试题目表加注释
comment on table t_examtm is '考试题目';

广告策划表创建语句如下:


create table t_ggch(
	id integer,
	title varchar(100),
	pic varchar(100),
	content varchar(100)
);
--广告策划字段加注释
comment on column t_ggch.id is '主键';
comment on column t_ggch.title is '名称';
comment on column t_ggch.pic is '图片';
comment on column t_ggch.content is '内容';
--广告策划表加注释
comment on table t_ggch is '广告策划';

老师表创建语句如下:


create table t_jky(
	id integer,
	username varchar(100),
	password varchar(100),
	jkyName varchar(100),
	age varchar(100),
	sex varchar(100),
	phone varchar(100)
);
--老师字段加注释
comment on column t_jky.id is '主键';
comment on column t_jky.username is '账号';
comment on column t_jky.password is '密码';
comment on column t_jky.jkyName is '姓名';
comment on column t_jky.age is '年龄';
comment on column t_jky.sex is '性别';
comment on column t_jky.phone is '电话';
--老师表加注释
comment on table t_jky is '老师';

课程表创建语句如下:


create table t_kc(
	id integer,
	jkyId int,
	title varchar(100),
	content varchar(100),
	fileUrl varchar(100),
	status varchar(100)
);
--课程字段加注释
comment on column t_kc.id is '主键';
comment on column t_kc.jkyId is '老师';
comment on column t_kc.title is '课程名称';
comment on column t_kc.content is '内容';
comment on column t_kc.fileUrl is '视频文件';
comment on column t_kc.status is '状态';
--课程表加注释
comment on table t_kc is '课程';

课程选择表创建语句如下:


create table t_kcxz(
	id integer,
	customerId int,
	kcId int,
	insertDate datetime,
	kcFee int,
	status varchar(100)
);
--课程选择字段加注释
comment on column t_kcxz.id is '主键';
comment on column t_kcxz.customerId is '学生';
comment on column t_kcxz.kcId is '课程';
comment on column t_kcxz.insertDate is '日期';
comment on column t_kcxz.kcFee is '课程费用';
comment on column t_kcxz.status is '状态';
--课程选择表加注释
comment on table t_kcxz is '课程选择';

上课讲义表创建语句如下:


create table t_skjy(
	id integer,
	jkyId int,
	title varchar(100),
	content varchar(100),
	fileUrl varchar(100)
);
--上课讲义字段加注释
comment on column t_skjy.id is '主键';
comment on column t_skjy.jkyId is '老师';
comment on column t_skjy.title is '讲义名称';
comment on column t_skjy.content is '内容';
comment on column t_skjy.fileUrl is '附件';
--上课讲义表加注释
comment on table t_skjy is '上课讲义';

在线答疑表创建语句如下:


create table t_zxdy(
	id integer,
	customerId int,
	content varchar(100),
	insertDate datetime,
	jkyId int,
	back varchar(100),
	backDate datetime,
	status varchar(100)
);
--在线答疑字段加注释
comment on column t_zxdy.id is '主键';
comment on column t_zxdy.customerId is '学生';
comment on column t_zxdy.content is '内容';
comment on column t_zxdy.insertDate is '发起日期';
comment on column t_zxdy.jkyId is '老师';
comment on column t_zxdy.back is '回复';
comment on column t_zxdy.backDate is '回复日期';
comment on column t_zxdy.status is '状态';
--在线答疑表加注释
comment on table t_zxdy is '在线答疑';

oracle特有,对应序列如下:


create sequence s_t_contact;
create sequence s_t_customer;
create sequence s_t_exam;
create sequence s_t_examanswer;
create sequence s_t_examlist;
create sequence s_t_examtm;
create sequence s_t_ggch;
create sequence s_t_jky;
create sequence s_t_kc;
create sequence s_t_kcxz;
create sequence s_t_skjy;
create sequence s_t_zxdy;

考研辅导管理系统分析与设计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_contact(
	id int identity(1,1) primary key not null,--主键
	customerId int,--用户
	phone varchar(100),--联系方式
	content varchar(100),--内容
	insertDate datetime--日期
);

客户表创建语句如下:


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

试卷表创建语句如下:


--试卷表注释
create table t_exam(
	id int identity(1,1) primary key not null,--主键
	examName varchar(100),--名称
	showDate varchar(100),--日期
	status varchar(100),--状态
	ny varchar(100)--
);

答案表创建语句如下:


--答案表注释
create table t_examanswer(
	id int identity(1,1) primary key not null,--主键
	customerId int,--用户
	examName varchar(100),--试卷名称
	insertDate datetime,--日期
	tm varchar(100),--题目
	da varchar(100),--客户答案
	answer varchar(100),--正确答案
	batchId varchar(100),--
	df varchar(100),--
	v1 int,--
	v2 int,--
	v3 int,--
	isdl varchar(100)--
);

试卷题目表创建语句如下:


--试卷题目表注释
create table t_examlist(
	id int identity(1,1) primary key not null,--主键
	examId int,--试卷
	examtmId int--题目
);

考试题目表创建语句如下:


--考试题目表注释
create table t_examtm(
	id int identity(1,1) primary key not null,--主键
	types int,--类型
	v1 varchar(100),--题目标题
	v2 varchar(100),--选项A
	v3 varchar(100),--选项B
	v4 varchar(100),--选项C
	v5 varchar(100),--选项D
	v6 varchar(100),--答案
	v7 varchar(100),--题目
	v8 varchar(100),--答案
	v9 varchar(100),--题目
	v10 varchar(100)--答案
);

广告策划表创建语句如下:


--广告策划表注释
create table t_ggch(
	id int identity(1,1) primary key not null,--主键
	title varchar(100),--名称
	pic varchar(100),--图片
	content varchar(100)--内容
);

老师表创建语句如下:


--老师表注释
create table t_jky(
	id int identity(1,1) primary key not null,--主键
	username varchar(100),--账号
	password varchar(100),--密码
	jkyName varchar(100),--姓名
	age varchar(100),--年龄
	sex varchar(100),--性别
	phone varchar(100)--电话
);

课程表创建语句如下:


--课程表注释
create table t_kc(
	id int identity(1,1) primary key not null,--主键
	jkyId int,--老师
	title varchar(100),--课程名称
	content varchar(100),--内容
	fileUrl varchar(100),--视频文件
	status varchar(100)--状态
);

课程选择表创建语句如下:


--课程选择表注释
create table t_kcxz(
	id int identity(1,1) primary key not null,--主键
	customerId int,--学生
	kcId int,--课程
	insertDate datetime,--日期
	kcFee int,--课程费用
	status varchar(100)--状态
);

上课讲义表创建语句如下:


--上课讲义表注释
create table t_skjy(
	id int identity(1,1) primary key not null,--主键
	jkyId int,--老师
	title varchar(100),--讲义名称
	content varchar(100),--内容
	fileUrl varchar(100)--附件
);

在线答疑表创建语句如下:


--在线答疑表注释
create table t_zxdy(
	id int identity(1,1) primary key not null,--主键
	customerId int,--学生
	content varchar(100),--内容
	insertDate datetime,--发起日期
	jkyId int,--老师
	back varchar(100),--回复
	backDate datetime,--回复日期
	status 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_contact")
public class Contact {
//主键
@Id
@Column(name = "id")
@GeneratedValue(strategy = GenerationType.IDENTITY)
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//用户
private Integer customerId;
//联系方式
private String phone;
//内容
private String content;
//日期
private Date insertDate;
public Integer getCustomerId() {return customerId;}
public void setCustomerId(Integer customerId) {this.customerId = customerId;}
public String getPhone() {return phone;}
public void setPhone(String phone) {this.phone = phone;}
public String getContent() {return content;}
public void setContent(String content) {this.content = content;}
public Date getInsertDate() {return insertDate;}
public void setInsertDate(Date insertDate) {this.insertDate = insertDate;}
}

客户javaBean创建语句如下:


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

//客户
@Table(name = "t_customer")
public class Customer {
//主键
@Id
@Column(name = "id")
@GeneratedValue(strategy = GenerationType.IDENTITY)
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//账号
private String username;
//密码
private String password;
//姓名
private String name;
//性别
private String sex;
//地址
private String address;
//手机
private String mobile;
public String getUsername() {return username;}
public void setUsername(String username) {this.username = username;}
public String getPassword() {return password;}
public void setPassword(String password) {this.password = password;}
public String getName() {return name;}
public void setName(String name) {this.name = name;}
public String getSex() {return sex;}
public void setSex(String sex) {this.sex = sex;}
public String getAddress() {return address;}
public void setAddress(String address) {this.address = address;}
public String getMobile() {return mobile;}
public void setMobile(String mobile) {this.mobile = mobile;}
}

试卷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_exam")
public class Exam {
//主键
@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 examName;
//日期
private String showDate;
//状态
private String status;
//
private String ny;
public String getExamName() {return examName;}
public void setExamName(String examName) {this.examName = examName;}
public String getShowDate() {return showDate;}
public void setShowDate(String showDate) {this.showDate = showDate;}
public String getStatus() {return status;}
public void setStatus(String status) {this.status = status;}
public String getNy() {return ny;}
public void setNy(String ny) {this.ny = ny;}
}

答案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_examanswer")
public class Examanswer {
//主键
@Id
@Column(name = "id")
@GeneratedValue(strategy = GenerationType.IDENTITY)
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//用户
private Integer customerId;
//试卷名称
private String examName;
//日期
private Date insertDate;
//题目
private String tm;
//客户答案
private String da;
//正确答案
private String answer;
//
private String batchId;
//
private String df;
//
private Integer v1;
//
private Integer v2;
//
private Integer v3;
//
private String isdl;
public Integer getCustomerId() {return customerId;}
public void setCustomerId(Integer customerId) {this.customerId = customerId;}
public String getExamName() {return examName;}
public void setExamName(String examName) {this.examName = examName;}
public Date getInsertDate() {return insertDate;}
public void setInsertDate(Date insertDate) {this.insertDate = insertDate;}
public String getTm() {return tm;}
public void setTm(String tm) {this.tm = tm;}
public String getDa() {return da;}
public void setDa(String da) {this.da = da;}
public String getAnswer() {return answer;}
public void setAnswer(String answer) {this.answer = answer;}
public String getBatchId() {return batchId;}
public void setBatchId(String batchId) {this.batchId = batchId;}
public String getDf() {return df;}
public void setDf(String df) {this.df = df;}
public Integer getV1() {return v1;}
public void setV1(Integer v1) {this.v1 = v1;}
public Integer getV2() {return v2;}
public void setV2(Integer v2) {this.v2 = v2;}
public Integer getV3() {return v3;}
public void setV3(Integer v3) {this.v3 = v3;}
public String getIsdl() {return isdl;}
public void setIsdl(String isdl) {this.isdl = isdl;}
}

试卷题目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_examlist")
public class Examlist {
//主键
@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 examId;
//题目
private Integer examtmId;
public Integer getExamId() {return examId;}
public void setExamId(Integer examId) {this.examId = examId;}
public Integer getExamtmId() {return examtmId;}
public void setExamtmId(Integer examtmId) {this.examtmId = examtmId;}
}

考试题目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_examtm")
public class Examtm {
//主键
@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 types;
//题目标题
private String v1;
//选项A
private String v2;
//选项B
private String v3;
//选项C
private String v4;
//选项D
private String v5;
//答案
private String v6;
//题目
private String v7;
//答案
private String v8;
//题目
private String v9;
//答案
private String v10;
public Integer getTypes() {return types;}
public void setTypes(Integer types) {this.types = types;}
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;}
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;}
public String getV10() {return v10;}
public void setV10(String v10) {this.v10 = v10;}
}

广告策划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_ggch")
public class Ggch {
//主键
@Id
@Column(name = "id")
@GeneratedValue(strategy = GenerationType.IDENTITY)
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//名称
private String title;
//图片
private String pic;
//内容
private String content;
public String getTitle() {return title;}
public void setTitle(String title) {this.title = title;}
public String getPic() {return pic;}
public void setPic(String pic) {this.pic = pic;}
public String getContent() {return content;}
public void setContent(String content) {this.content = content;}
}

老师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_jky")
public class Jky {
//主键
@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 jkyName;
//年龄
private String age;
//性别
private String sex;
//电话
private String phone;
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 getJkyName() {return jkyName;}
public void setJkyName(String jkyName) {this.jkyName = jkyName;}
public String getAge() {return age;}
public void setAge(String age) {this.age = age;}
public String getSex() {return sex;}
public void setSex(String sex) {this.sex = sex;}
public String getPhone() {return phone;}
public void setPhone(String phone) {this.phone = phone;}
}

课程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_kc")
public class Kc {
//主键
@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 jkyId;
//课程名称
private String title;
//内容
private String content;
//视频文件
private String fileUrl;
//状态
private String status;
public Integer getJkyId() {return jkyId;}
public void setJkyId(Integer jkyId) {this.jkyId = jkyId;}
public String getTitle() {return title;}
public void setTitle(String title) {this.title = title;}
public String getContent() {return content;}
public void setContent(String content) {this.content = content;}
public String getFileUrl() {return fileUrl;}
public void setFileUrl(String fileUrl) {this.fileUrl = fileUrl;}
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_kcxz")
public class Kcxz {
//主键
@Id
@Column(name = "id")
@GeneratedValue(strategy = GenerationType.IDENTITY)
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//学生
private Integer customerId;
//课程
private Integer kcId;
//日期
private Date insertDate;
//课程费用
private Integer kcFee;
//状态
private String status;
public Integer getCustomerId() {return customerId;}
public void setCustomerId(Integer customerId) {this.customerId = customerId;}
public Integer getKcId() {return kcId;}
public void setKcId(Integer kcId) {this.kcId = kcId;}
public Date getInsertDate() {return insertDate;}
public void setInsertDate(Date insertDate) {this.insertDate = insertDate;}
public Integer getKcFee() {return kcFee;}
public void setKcFee(Integer kcFee) {this.kcFee = kcFee;}
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_skjy")
public class Skjy {
//主键
@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 jkyId;
//讲义名称
private String title;
//内容
private String content;
//附件
private String fileUrl;
public Integer getJkyId() {return jkyId;}
public void setJkyId(Integer jkyId) {this.jkyId = jkyId;}
public String getTitle() {return title;}
public void setTitle(String title) {this.title = title;}
public String getContent() {return content;}
public void setContent(String content) {this.content = content;}
public String getFileUrl() {return fileUrl;}
public void setFileUrl(String fileUrl) {this.fileUrl = fileUrl;}
}

在线答疑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_zxdy")
public class Zxdy {
//主键
@Id
@Column(name = "id")
@GeneratedValue(strategy = GenerationType.IDENTITY)
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//学生
private Integer customerId;
//内容
private String content;
//发起日期
private Date insertDate;
//老师
private Integer jkyId;
//回复
private String back;
//回复日期
private Date backDate;
//状态
private String status;
public Integer getCustomerId() {return customerId;}
public void setCustomerId(Integer customerId) {this.customerId = customerId;}
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 Integer getJkyId() {return jkyId;}
public void setJkyId(Integer jkyId) {this.jkyId = jkyId;}
public String getBack() {return back;}
public void setBack(String back) {this.back = back;}
public Date getBackDate() {return backDate;}
public void setBackDate(Date backDate) {this.backDate = backDate;}
public String getStatus() {return status;}
public void setStatus(String status) {this.status = status;}
}

考研辅导管理系统分析与设计spring+springMVC+mybatis框架对象(javaBean,pojo)设计:

建议javaBean创建语句如下:


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

//建议
public class Contact  extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//用户
private Integer customerId;
//联系方式
private String phone;
//内容
private String content;
//日期
private Date insertDate;
public Integer getCustomerId() {return customerId;}
public void setCustomerId(Integer customerId) {this.customerId = customerId;}
public String getPhone() {return phone;}
public void setPhone(String phone) {this.phone = phone;}
public String getContent() {return content;}
public void setContent(String content) {this.content = content;}
public Date getInsertDate() {return insertDate;}
public void setInsertDate(Date insertDate) {this.insertDate = insertDate;}
}

客户javaBean创建语句如下:


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

//客户
public class Customer  extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//账号
private String username;
//密码
private String password;
//姓名
private String name;
//性别
private String sex;
//地址
private String address;
//手机
private String mobile;
public String getUsername() {return username;}
public void setUsername(String username) {this.username = username;}
public String getPassword() {return password;}
public void setPassword(String password) {this.password = password;}
public String getName() {return name;}
public void setName(String name) {this.name = name;}
public String getSex() {return sex;}
public void setSex(String sex) {this.sex = sex;}
public String getAddress() {return address;}
public void setAddress(String address) {this.address = address;}
public String getMobile() {return mobile;}
public void setMobile(String mobile) {this.mobile = mobile;}
}

试卷javaBean创建语句如下:


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

//试卷
public class Exam  extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//名称
private String examName;
//日期
private String showDate;
//状态
private String status;
//
private String ny;
public String getExamName() {return examName;}
public void setExamName(String examName) {this.examName = examName;}
public String getShowDate() {return showDate;}
public void setShowDate(String showDate) {this.showDate = showDate;}
public String getStatus() {return status;}
public void setStatus(String status) {this.status = status;}
public String getNy() {return ny;}
public void setNy(String ny) {this.ny = ny;}
}

答案javaBean创建语句如下:


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

//答案
public class Examanswer  extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//用户
private Integer customerId;
//试卷名称
private String examName;
//日期
private Date insertDate;
//题目
private String tm;
//客户答案
private String da;
//正确答案
private String answer;
//
private String batchId;
//
private String df;
//
private Integer v1;
//
private Integer v2;
//
private Integer v3;
//
private String isdl;
public Integer getCustomerId() {return customerId;}
public void setCustomerId(Integer customerId) {this.customerId = customerId;}
public String getExamName() {return examName;}
public void setExamName(String examName) {this.examName = examName;}
public Date getInsertDate() {return insertDate;}
public void setInsertDate(Date insertDate) {this.insertDate = insertDate;}
public String getTm() {return tm;}
public void setTm(String tm) {this.tm = tm;}
public String getDa() {return da;}
public void setDa(String da) {this.da = da;}
public String getAnswer() {return answer;}
public void setAnswer(String answer) {this.answer = answer;}
public String getBatchId() {return batchId;}
public void setBatchId(String batchId) {this.batchId = batchId;}
public String getDf() {return df;}
public void setDf(String df) {this.df = df;}
public Integer getV1() {return v1;}
public void setV1(Integer v1) {this.v1 = v1;}
public Integer getV2() {return v2;}
public void setV2(Integer v2) {this.v2 = v2;}
public Integer getV3() {return v3;}
public void setV3(Integer v3) {this.v3 = v3;}
public String getIsdl() {return isdl;}
public void setIsdl(String isdl) {this.isdl = isdl;}
}

试卷题目javaBean创建语句如下:


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

//试卷题目
public class Examlist  extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//试卷
private Integer examId;
//题目
private Integer examtmId;
public Integer getExamId() {return examId;}
public void setExamId(Integer examId) {this.examId = examId;}
public Integer getExamtmId() {return examtmId;}
public void setExamtmId(Integer examtmId) {this.examtmId = examtmId;}
}

考试题目javaBean创建语句如下:


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

//考试题目
public class Examtm  extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//类型
private Integer types;
//题目标题
private String v1;
//选项A
private String v2;
//选项B
private String v3;
//选项C
private String v4;
//选项D
private String v5;
//答案
private String v6;
//题目
private String v7;
//答案
private String v8;
//题目
private String v9;
//答案
private String v10;
public Integer getTypes() {return types;}
public void setTypes(Integer types) {this.types = types;}
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;}
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;}
public String getV10() {return v10;}
public void setV10(String v10) {this.v10 = v10;}
}

广告策划javaBean创建语句如下:


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

//广告策划
public class Ggch  extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//名称
private String title;
//图片
private String pic;
//内容
private String content;
public String getTitle() {return title;}
public void setTitle(String title) {this.title = title;}
public String getPic() {return pic;}
public void setPic(String pic) {this.pic = pic;}
public String getContent() {return content;}
public void setContent(String content) {this.content = content;}
}

老师javaBean创建语句如下:


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

//老师
public class Jky  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 jkyName;
//年龄
private String age;
//性别
private String sex;
//电话
private String phone;
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 getJkyName() {return jkyName;}
public void setJkyName(String jkyName) {this.jkyName = jkyName;}
public String getAge() {return age;}
public void setAge(String age) {this.age = age;}
public String getSex() {return sex;}
public void setSex(String sex) {this.sex = sex;}
public String getPhone() {return phone;}
public void setPhone(String phone) {this.phone = phone;}
}

课程javaBean创建语句如下:


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

//课程
public class Kc  extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//老师
private Integer jkyId;
//课程名称
private String title;
//内容
private String content;
//视频文件
private String fileUrl;
//状态
private String status;
public Integer getJkyId() {return jkyId;}
public void setJkyId(Integer jkyId) {this.jkyId = jkyId;}
public String getTitle() {return title;}
public void setTitle(String title) {this.title = title;}
public String getContent() {return content;}
public void setContent(String content) {this.content = content;}
public String getFileUrl() {return fileUrl;}
public void setFileUrl(String fileUrl) {this.fileUrl = fileUrl;}
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 Kcxz  extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//学生
private Integer customerId;
//课程
private Integer kcId;
//日期
private Date insertDate;
//课程费用
private Integer kcFee;
//状态
private String status;
public Integer getCustomerId() {return customerId;}
public void setCustomerId(Integer customerId) {this.customerId = customerId;}
public Integer getKcId() {return kcId;}
public void setKcId(Integer kcId) {this.kcId = kcId;}
public Date getInsertDate() {return insertDate;}
public void setInsertDate(Date insertDate) {this.insertDate = insertDate;}
public Integer getKcFee() {return kcFee;}
public void setKcFee(Integer kcFee) {this.kcFee = kcFee;}
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 Skjy  extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//老师
private Integer jkyId;
//讲义名称
private String title;
//内容
private String content;
//附件
private String fileUrl;
public Integer getJkyId() {return jkyId;}
public void setJkyId(Integer jkyId) {this.jkyId = jkyId;}
public String getTitle() {return title;}
public void setTitle(String title) {this.title = title;}
public String getContent() {return content;}
public void setContent(String content) {this.content = content;}
public String getFileUrl() {return fileUrl;}
public void setFileUrl(String fileUrl) {this.fileUrl = fileUrl;}
}

在线答疑javaBean创建语句如下:


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

//在线答疑
public class Zxdy  extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//学生
private Integer customerId;
//内容
private String content;
//发起日期
private Date insertDate;
//老师
private Integer jkyId;
//回复
private String back;
//回复日期
private Date backDate;
//状态
private String status;
public Integer getCustomerId() {return customerId;}
public void setCustomerId(Integer customerId) {this.customerId = customerId;}
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 Integer getJkyId() {return jkyId;}
public void setJkyId(Integer jkyId) {this.jkyId = jkyId;}
public String getBack() {return back;}
public void setBack(String back) {this.back = back;}
public Date getBackDate() {return backDate;}
public void setBackDate(Date backDate) {this.backDate = backDate;}
public String getStatus() {return status;}
public void setStatus(String status) {this.status = status;}
}

源代码下载点这里

评论