1. 程式人生 > >基於WEB的網上選課系統的設計與實現

基於WEB的網上選課系統的設計與實現

**基於WEB的網上選課系統的設計與實現** 基於WEB的網上選課系統的設計與實現登入註冊介面

基於WEB的網上選課系統的設計與實現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 '密碼',
	customerName varchar(100) comment '姓名',
	phone varchar(100) comment '手機',
	sex varchar(100) comment '性別',
	age varchar(100) comment '年齡',
	address varchar(100) comment '家庭住址',
	idcard varchar(100) comment '身份證',
	insertDate datetime comment '入庫日期',
	types 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 '狀態'
) 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 ''
) 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_kb(
	id int primary key auto_increment comment '主鍵',
	va1 int comment '星期一第一節',
	va2 int comment '星期一第二節',
	va3 int comment '星期一第三節',
	va4 int comment '星期一第四節',
	vb1 int comment '星期二第一節',
	vb2 int comment '星期二第二節',
	vb3 int comment '星期二第三節',
	vb4 int comment '星期二第四節',
	vc1 int comment '星期三第一節',
	vc2 int comment '星期三第二節',
	vc3 int comment '星期三第三節',
	vc4 int comment '星期三第四節',
	vd1 int comment '星期四第一節',
	vd2 int comment '星期四第二節',
	vd3 int comment '星期四第三節',
	vd4 int comment '星期四第四節',
	ve1 int comment '星期五第一節',
	ve2 int comment '星期五第二節',
	ve3 int comment '星期五第三節',
	ve4 int comment '星期五第四節'
) comment '課表';

輪播圖表建立語句如下:


create table t_lbt(
	id int primary key auto_increment comment '主鍵',
	lbtName varchar(100) comment '標題',
	lbtPic varchar(100) comment '圖片',
	url varchar(100) comment '連結'
) comment '輪播圖';

選課歷史表建立語句如下:


create table t_ls(
	id int primary key auto_increment comment '主鍵',
	customerId int comment '使用者',
	wdxxId int comment '課程',
	insertDate datetime comment '日期'
) comment '選課歷史';

年級表建立語句如下:


create table t_nj(
	id int primary key auto_increment comment '主鍵',
	njName varchar(100) comment '年級名稱'
) comment '年級';

評論表建立語句如下:


create table t_pinglun(
	id int primary key auto_increment comment '主鍵',
	wdxxId int comment '評論資訊',
	customerId int comment '評論人',
	content varchar(100) comment '評論內容',
	insertDate datetime comment '評論日期'
) comment '評論';

視訊表建立語句如下:


create table t_radios(
	id int primary key auto_increment comment '主鍵',
	radiosName varchar(100) comment '標題',
	radiosUrl varchar(100) comment '視訊',
	radiosContent varchar(100) comment '內容',
	radiosDate varchar(100) comment '日期'
) comment '視訊';

我的訊息表建立語句如下:


create table t_wdxx(
	id int primary key auto_increment comment '主鍵',
	customerId int comment '我',
	title varchar(100) comment '標題',
	pic varchar(100) comment '圖片',
	content varchar(100) comment '內容',
	zan int comment '贊',
	insertDate datetime comment '釋出日期',
	njId int comment '年級',
	yxId int comment '院系',
	zyId int comment '專業',
	num int comment '報名總數'
) comment '我的訊息';

選課表建立語句如下:


create table t_xk(
	id int primary key auto_increment comment '主鍵',
	customerId int comment '使用者',
	wdxxId int comment '課程',
	insertDate datetime comment '日期'
) comment '選課';

新聞表建立語句如下:


create table t_xw(
	id int primary key auto_increment comment '主鍵',
	xwName varchar(100) comment '標題',
	xwPic varchar(100) comment '圖片',
	xwContent varchar(100) comment '內容',
	xwDate varchar(100) comment '日期'
) comment '新聞';

院系表建立語句如下:


create table t_yx(
	id int primary key auto_increment comment '主鍵',
	yxName varchar(100) comment '院系名稱'
) comment '院系';

專業表建立語句如下:


create table t_zy(
	id int primary key auto_increment comment '主鍵',
	zyName varchar(100) comment '專業名稱'
) comment '專業';

基於WEB的網上選課系統的設計與實現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),
	customerName varchar(100),
	phone varchar(100),
	sex varchar(100),
	age varchar(100),
	address varchar(100),
	idcard varchar(100),
	insertDate datetime,
	types 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.customerName is '姓名';
comment on column t_customer.phone is '手機';
comment on column t_customer.sex is '性別';
comment on column t_customer.age is '年齡';
comment on column t_customer.address is '家庭住址';
comment on column t_customer.idcard is '身份證';
comment on column t_customer.insertDate is '入庫日期';
comment on column t_customer.types is '類別';
--使用者表加註釋
comment on table t_customer is '使用者';

試卷表建立語句如下:


create table t_exam(
	id integer,
	examName varchar(100),
	showDate varchar(100),
	status 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 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)
);
--答案欄位加註釋
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 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_kb(
	id integer,
	va1 int,
	va2 int,
	va3 int,
	va4 int,
	vb1 int,
	vb2 int,
	vb3 int,
	vb4 int,
	vc1 int,
	vc2 int,
	vc3 int,
	vc4 int,
	vd1 int,
	vd2 int,
	vd3 int,
	vd4 int,
	ve1 int,
	ve2 int,
	ve3 int,
	ve4 int
);
--課表欄位加註釋
comment on column t_kb.id is '主鍵';
comment on column t_kb.va1 is '星期一第一節';
comment on column t_kb.va2 is '星期一第二節';
comment on column t_kb.va3 is '星期一第三節';
comment on column t_kb.va4 is '星期一第四節';
comment on column t_kb.vb1 is '星期二第一節';
comment on column t_kb.vb2 is '星期二第二節';
comment on column t_kb.vb3 is '星期二第三節';
comment on column t_kb.vb4 is '星期二第四節';
comment on column t_kb.vc1 is '星期三第一節';
comment on column t_kb.vc2 is '星期三第二節';
comment on column t_kb.vc3 is '星期三第三節';
comment on column t_kb.vc4 is '星期三第四節';
comment on column t_kb.vd1 is '星期四第一節';
comment on column t_kb.vd2 is '星期四第二節';
comment on column t_kb.vd3 is '星期四第三節';
comment on column t_kb.vd4 is '星期四第四節';
comment on column t_kb.ve1 is '星期五第一節';
comment on column t_kb.ve2 is '星期五第二節';
comment on column t_kb.ve3 is '星期五第三節';
comment on column t_kb.ve4 is '星期五第四節';
--課表表加註釋
comment on table t_kb is '課表';

輪播圖表建立語句如下:


create table t_lbt(
	id integer,
	lbtName varchar(100),
	lbtPic varchar(100),
	url varchar(100)
);
--輪播圖欄位加註釋
comment on column t_lbt.id is '主鍵';
comment on column t_lbt.lbtName is '標題';
comment on column t_lbt.lbtPic is '圖片';
comment on column t_lbt.url is '連結';
--輪播圖表加註釋
comment on table t_lbt is '輪播圖';

選課歷史表建立語句如下:


create table t_ls(
	id integer,
	customerId int,
	wdxxId int,
	insertDate datetime
);
--選課歷史欄位加註釋
comment on column t_ls.id is '主鍵';
comment on column t_ls.customerId is '使用者';
comment on column t_ls.wdxxId is '課程';
comment on column t_ls.insertDate is '日期';
--選課歷史表加註釋
comment on table t_ls is '選課歷史';

年級表建立語句如下:


create table t_nj(
	id integer,
	njName varchar(100)
);
--年級欄位加註釋
comment on column t_nj.id is '主鍵';
comment on column t_nj.njName is '年級名稱';
--年級表加註釋
comment on table t_nj is '年級';

評論表建立語句如下:


create table t_pinglun(
	id integer,
	wdxxId int,
	customerId int,
	content varchar(100),
	insertDate datetime
);
--評論欄位加註釋
comment on column t_pinglun.id is '主鍵';
comment on column t_pinglun.wdxxId is '評論資訊';
comment on column t_pinglun.customerId is '評論人';
comment on column t_pinglun.content is '評論內容';
comment on column t_pinglun.insertDate is '評論日期';
--評論表加註釋
comment on table t_pinglun is '評論';

視訊表建立語句如下:


create table t_radios(
	id integer,
	radiosName varchar(100),
	radiosUrl varchar(100),
	radiosContent varchar(100),
	radiosDate varchar(100)
);
--視訊欄位加註釋
comment on column t_radios.id is '主鍵';
comment on column t_radios.radiosName is '標題';
comment on column t_radios.radiosUrl is '視訊';
comment on column t_radios.radiosContent is '內容';
comment on column t_radios.radiosDate is '日期';
--視訊表加註釋
comment on table t_radios is '視訊';

我的訊息表建立語句如下:


create table t_wdxx(
	id integer,
	customerId int,
	title varchar(100),
	pic varchar(100),
	content varchar(100),
	zan int,
	insertDate datetime,
	njId int,
	yxId int,
	zyId int,
	num int
);
--我的訊息欄位加註釋
comment on column t_wdxx.id is '主鍵';
comment on column t_wdxx.customerId is '我';
comment on column t_wdxx.title is '標題';
comment on column t_wdxx.pic is '圖片';
comment on column t_wdxx.content is '內容';
comment on column t_wdxx.zan is '贊';
comment on column t_wdxx.insertDate is '釋出日期';
comment on column t_wdxx.njId is '年級';
comment on column t_wdxx.yxId is '院系';
comment on column t_wdxx.zyId is '專業';
comment on column t_wdxx.num is '報名總數';
--我的訊息表加註釋
comment on table t_wdxx is '我的訊息';

選課表建立語句如下:


create table t_xk(
	id integer,
	customerId int,
	wdxxId int,
	insertDate datetime
);
--選課欄位加註釋
comment on column t_xk.id is '主鍵';
comment on column t_xk.customerId is '使用者';
comment on column t_xk.wdxxId is '課程';
comment on column t_xk.insertDate is '日期';
--選課表加註釋
comment on table t_xk is '選課';

新聞表建立語句如下:


create table t_xw(
	id integer,
	xwName varchar(100),
	xwPic varchar(100),
	xwContent varchar(100),
	xwDate varchar(100)
);
--新聞欄位加註釋
comment on column t_xw.id is '主鍵';
comment on column t_xw.xwName is '標題';
comment on column t_xw.xwPic is '圖片';
comment on column t_xw.xwContent is '內容';
comment on column t_xw.xwDate is '日期';
--新聞表加註釋
comment on table t_xw is '新聞';

院系表建立語句如下:


create table t_yx(
	id integer,
	yxName varchar(100)
);
--院系欄位加註釋
comment on column t_yx.id is '主鍵';
comment on column t_yx.yxName is '院系名稱';
--院系表加註釋
comment on table t_yx is '院系';

專業表建立語句如下:


create table t_zy(
	id integer,
	zyName varchar(100)
);
--專業欄位加註釋
comment on column t_zy.id is '主鍵';
comment on column t_zy.zyName is '專業名稱';
--專業表加註釋
comment on table t_zy 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_kb;
create sequence s_t_lbt;
create sequence s_t_ls;
create sequence s_t_nj;
create sequence s_t_pinglun;
create sequence s_t_radios;
create sequence s_t_wdxx;
create sequence s_t_xk;
create sequence s_t_xw;
create sequence s_t_yx;
create sequence s_t_zy;

基於WEB的網上選課系統的設計與實現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),--密碼
	customerName varchar(100),--姓名
	phone varchar(100),--手機
	sex varchar(100),--性別
	age varchar(100),--年齡
	address varchar(100),--家庭住址
	idcard varchar(100),--身份證
	insertDate datetime,--入庫日期
	types varchar(100)--類別
);

試卷表建立語句如下:


--試卷表註釋
create table t_exam(
	id int identity(1,1) primary key not null,--主鍵
	examName varchar(100),--名稱
	showDate varchar(100),--日期
	status 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)--
);

試卷題目表建立語句如下:


--試卷題目表註釋
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_kb(
	id int identity(1,1) primary key not null,--主鍵
	va1 int,--星期一第一節
	va2 int,--星期一第二節
	va3 int,--星期一第三節
	va4 int,--星期一第四節
	vb1 int,--星期二第一節
	vb2 int,--星期二第二節
	vb3 int,--星期二第三節
	vb4 int,--星期二第四節
	vc1 int,--星期三第一節
	vc2 int,--星期三第二節
	vc3 int,--星期三第三節
	vc4 int,--星期三第四節
	vd1 int,--星期四第一節
	vd2 int,--星期四第二節
	vd3 int,--星期四第三節
	vd4 int,--星期四第四節
	ve1 int,--星期五第一節
	ve2 int,--星期五第二節
	ve3 int,--星期五第三節
	ve4 int--星期五第四節
);

輪播圖表建立語句如下:


--輪播圖表註釋
create table t_lbt(
	id int identity(1,1) primary key not null,--主鍵
	lbtName varchar(100),--標題
	lbtPic varchar(100),--圖片
	url varchar(100)--連結
);

選課歷史表建立語句如下:


--選課歷史表註釋
create table t_ls(
	id int identity(1,1) primary key not null,--主鍵
	customerId int,--使用者
	wdxxId int,--課程
	insertDate datetime--日期
);

年級表建立語句如下:


--年級表註釋
create table t_nj(
	id int identity(1,1) primary key not null,--主鍵
	njName varchar(100)--年級名稱
);

評論表建立語句如下:


--評論表註釋
create table t_pinglun(
	id int identity(1,1) primary key not null,--主鍵
	wdxxId int,--評論資訊
	customerId int,--評論人
	content varchar(100),--評論內容
	insertDate datetime--評論日期
);

視訊表建立語句如下:


--視訊表註釋
create table t_radios(
	id int identity(1,1) primary key not null,--主鍵
	radiosName varchar(100),--標題
	radiosUrl varchar(100),--視訊
	radiosContent varchar(100),--內容
	radiosDate varchar(100)--日期
);

我的訊息表建立語句如下:


--我的訊息表註釋
create table t_wdxx(
	id int identity(1,1) primary key not null,--主鍵
	customerId int,--我
	title varchar(100),--標題
	pic varchar(100),--圖片
	content varchar(100),--內容
	zan int,--贊
	insertDate datetime,--釋出日期
	njId int,--年級
	yxId int,--院系
	zyId int,--專業
	num int--報名總數
);

選課表建立語句如下:


--選課表註釋
create table t_xk(
	id int identity(1,1) primary key not null,--主鍵
	customerId int,--使用者
	wdxxId int,--課程
	insertDate datetime--日期
);

新聞表建立語句如下:


--新聞表註釋
create table t_xw(
	id int identity(1,1) primary key not null,--主鍵
	xwName varchar(100),--標題
	xwPic varchar(100),--圖片
	xwContent varchar(100),--內容
	xwDate varchar(100)--日期
);

院系表建立語句如下:


--院系表註釋
create table t_yx(
	id int identity(1,1) primary key not null,--主鍵
	yxName varchar(100)--院系名稱
);

專業表建立語句如下:


--專業表註釋
create table t_zy(
	id int identity(1,1) primary key not null,--主鍵
	zyName varchar(100)--專業名稱
);

基於WEB的網上選課系統的設計與實現登入後主頁

基於WEB的網上選課系統的設計與實現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 customerName;
//手機
private String phone;
//性別
private String sex;
//年齡
private String age;
//家庭住址
private String address;
//身份證
private String idcard;
//入庫日期
private Date insertDate;
//類別
private String types;
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 getCustomerName() {return customerName;}
public void setCustomerName(String customerName) {this.customerName = customerName;}
public String getPhone() {return phone;}
public void setPhone(String phone) {this.phone = phone;}
public String getSex() {return sex;}
public void setSex(String sex) {this.sex = sex;}
public String getAge() {return age;}
public void setAge(String age) {this.age = age;}
public String getAddress() {return address;}
public void setAddress(String address) {this.address = address;}
public String getIdcard() {return idcard;}
public void setIdcard(String idcard) {this.idcard = idcard;}
public Date getInsertDate() {return insertDate;}
public void setInsertDate(Date insertDate) {this.insertDate = insertDate;}
public String getTypes() {return types;}
public void setTypes(String types) {this.types = types;}
}

試卷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;
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;}
}

答案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;
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;}
}

試卷題目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_kb")
public class Kb {
//主鍵
@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 va1;
//星期一第二節
private Integer va2;
//星期一第三節
private Integer va3;
//星期一第四節
private Integer va4;
//星期二第一節
private Integer vb1;
//星期二第二節
private Integer vb2;
//星期二第三節
private Integer vb3;
//星期二第四節
private Integer vb4;
//星期三第一節
private Integer vc1;
//星期三第二節
private Integer vc2;
//星期三第三節
private Integer vc3;
//星期三第四節
private Integer vc4;
//星期四第一節
private Integer vd1;
//星期四第二節
private Integer vd2;
//星期四第三節
private Integer vd3;
//星期四第四節
private Integer vd4;
//星期五第一節
private Integer ve1;
//星期五第二節
private Integer ve2;
//星期五第三節
private Integer ve3;
//星期五第四節
private Integer ve4;
public Integer getVa1() {return va1;}
public void setVa1(Integer va1) {this.va1 = va1;}
public Integer getVa2() {return va2;}
public void setVa2(Integer va2) {this.va2 = va2;}
public Integer getVa3() {return va3;}
public void setVa3(Integer va3) {this.va3 = va3;}
public Integer getVa4() {return va4;}
public void setVa4(Integer va4) {this.va4 = va4;}
public Integer getVb1() {return vb1;}
public void setVb1(Integer vb1) {this.vb1 = vb1;}
public Integer getVb2() {return vb2;}
public void setVb2(Integer vb2) {this.vb2 = vb2;}
public Integer getVb3() {return vb3;}
public void setVb3(Integer vb3) {this.vb3 = vb3;}
public Integer getVb4() {return vb4;}
public void setVb4(Integer vb4) {this.vb4 = vb4;}
public Integer getVc1() {return vc1;}
public void setVc1(Integer vc1) {this.vc1 = vc1;}
public Integer getVc2() {return vc2;}
public void setVc2(Integer vc2) {this.vc2 = vc2;}
public Integer getVc3() {return vc3;}
public void setVc3(Integer vc3) {this.vc3 = vc3;}
public Integer getVc4() {return vc4;}
public void setVc4(Integer vc4) {this.vc4 = vc4;}
public Integer getVd1() {return vd1;}
public void setVd1(Integer vd1) {this.vd1 = vd1;}
public Integer getVd2() {return vd2;}
public void setVd2(Integer vd2) {this.vd2 = vd2;}
public Integer getVd3() {return vd3;}
public void setVd3(Integer vd3) {this.vd3 = vd3;}
public Integer getVd4() {return vd4;}
public void setVd4(Integer vd4) {this.vd4 = vd4;}
public Integer getVe1() {return ve1;}
public void setVe1(Integer ve1) {this.ve1 = ve1;}
public Integer getVe2() {return ve2;}
public void setVe2(Integer ve2) {this.ve2 = ve2;}
public Integer getVe3() {return ve3;}
public void setVe3(Integer ve3) {this.ve3 = ve3;}
public Integer getVe4() {return ve4;}
public void setVe4(Integer ve4) {this.ve4 = ve4;}
}

輪播圖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_lbt")
public class Lbt {
//主鍵
@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 lbtName;
//圖片
private String lbtPic;
//連結
private String url;
public String getLbtName() {return lbtName;}
public void setLbtName(String lbtName) {this.lbtName = lbtName;}
public String getLbtPic() {return lbtPic;}
public void setLbtPic(String lbtPic) {this.lbtPic = lbtPic;}
public String getUrl() {return url;}
public void setUrl(String url) {this.url = url;}
}

選課歷史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_ls")
public class Ls {
//主鍵
@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 wdxxId;
//日期
private Date insertDate;
public Integer getCustomerId() {return customerId;}
public void setCustomerId(Integer customerId) {this.customerId = customerId;}
public Integer getWdxxId() {return wdxxId;}
public void setWdxxId(Integer wdxxId) {this.wdxxId = wdxxId;}
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_nj")
public class Nj {
//主鍵
@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 njName;
public String getNjName() {return njName;}
public void setNjName(String njName) {this.njName = njName;}
}

評論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_pinglun")
public class Pinglun {
//主鍵
@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 wdxxId;
//評論人
private Integer customerId;
//評論內容
private String content;
//評論日期
private Date insertDate;
public Integer getWdxxId() {return wdxxId;}
public void setWdxxId(Integer wdxxId) {this.wdxxId = wdxxId;}
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;}
}

視訊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_radios")
public class Radios {
//主鍵
@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 radiosName;
//視訊
private String radiosUrl;
//內容
private String radiosContent;
//日期
private String radiosDate;
public String getRadiosName() {return radiosName;}
public void setRadiosName(String radiosName) {this.radiosName = radiosName;}
public String getRadiosUrl() {return radiosUrl;}
public void setRadiosUrl(String radiosUrl) {this.radiosUrl = radiosUrl;}
public String getRadiosContent() {return radiosContent;}
public void setRadiosContent(String radiosContent) {this.radiosContent = radiosContent;}
public String getRadiosDate() {return radiosDate;}
public void setRadiosDate(String radiosDate) {this.radiosDate = radiosDate;}
}

我的訊息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_wdxx")
public class Wdxx {
//主鍵
@Id
@Column(name = "id")
@GeneratedValue(strategy = GenerationType.IDENTITY)
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//我
private Integer customerId;
//標題
private String title;
//圖片
private String pic;
//內容
private String content;
//贊
private Integer zan;
//釋出日期
private Date insertDate;
//年級
private Integer njId;
//院系
private Integer yxId;
//專業
private Integer zyId;
//報名總數
private Integer num;
public Integer getCustomerId() {return customerId;}
public void setCustomerId(Integer customerId) {this.customerId = customerId;}
public String getTitle() {return title;}
public void setTitle(String title) {this.title = title;}
public String 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 Integer getZan() {return zan;}
public void setZan(Integer zan) {this.zan = zan;}
public Date getInsertDate() {return insertDate;}
public void setInsertDate(Date insertDate) {this.insertDate = insertDate;}
public Integer getNjId() {return njId;}
public void setNjId(Integer njId) {this.njId = njId;}
public Integer getYxId() {return yxId;}
public void setYxId(Integer yxId) {this.yxId = yxId;}
public Integer getZyId() {return zyId;}
public void setZyId(Integer zyId) {this.zyId = zyId;}
public Integer getNum() {return num;}
public void setNum(Integer num) {this.num = num;}
}

選課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_xk")
public class Xk {
//主鍵
@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 wdxxId;
//日期
private Date insertDate;
public Integer getCustomerId() {return customerId;}
public void setCustomerId(Integer customerId) {this.customerId = customerId;}
public Integer getWdxxId() {return wdxxId;}
public void setWdxxId(Integer wdxxId) {this.wdxxId = wdxxId;}
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_xw")
public class Xw {
//主鍵
@Id
@Column(name = "id")
@GeneratedValue(strategy = GenerationType.IDENTITY)
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//標題
private String xwName;
//圖片
private String xwPic;
//內容
private String xwContent;
//日期
private String xwDate;
public String getXwName() {return xwName;}
public void setXwName(String xwName) {this.xwName = xwName;}
public String getXwPic() {return xwPic;}
public void setXwPic(String xwPic) {this.xwPic = xwPic;}
public String getXwContent() {return xwContent;}
public void setXwContent(String xwContent) {this.xwContent = xwContent;}
public String getXwDate() {return xwDate;}
public void setXwDate(String xwDate) {this.xwDate = xwDate;}
}

院系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_yx")
public class Yx {
//主鍵
@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 yxName;
public String getYxName() {return yxName;}
public void setYxName(String yxName) {this.yxName = yxName;}
}

專業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_zy")
public class Zy {
//主鍵
@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 zyName;
public String getZyName() {return zyName;}
public void setZyName(String zyName) {this.zyName = zyName;}
}

基於WEB的網上選課系統的設計與實現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 customerName;
//手機
private String phone;
//性別
private String sex;
//年齡
private String age;
//家庭住址
private String address;
//身份證
private String idcard;
//入庫日期
private Date insertDate;
//類別
private String types;
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 getCustomerName() {return customerName;}
public void setCustomerName(String customerName) {this.customerName = customerName;}
public String getPhone() {return phone;}
public void setPhone(String phone) {this.phone = phone;}
public String getSex() {return sex;}
public void setSex(String sex) {this.sex = sex;}
public String getAge() {return age;}
public void setAge(String age) {this.age = age;}
public String getAddress() {return address;}
public void setAddress(String address) {this.address = address;}
public String getIdcard() {return idcard;}
public void setIdcard(String idcard) {this.idcard = idcard;}
public Date getInsertDate() {return insertDate;}
public void setInsertDate(Date insertDate) {this.insertDate = insertDate;}
public String getTypes() {return types;}
public void setTypes(String types) {this.types = types;}
}

試卷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;
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;}
}

答案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;
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;}
}

試卷題目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 Kb  extends BaseBean{
//主鍵
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//星期一第一節
private Integer va1;
//星期一第二節
private Integer va2;
//星期一第三節
private Integer va3;
//星期一第四節
private Integer va4;
//星期二第一節
private Integer vb1;
//星期二第二節
private Integer vb2;
//星期二第三節
private Integer vb3;
//星期二第四節
private Integer vb4;
//星期三第一節
private Integer vc1;
//星期三第二節
private Integer vc2;
//星期三第三節
private Integer vc3;
//星期三第四節
private Integer vc4;
//星期四第一節
private Integer vd1;
//星期四第二節
private Integer vd2;
//星期四第三節
private Integer vd3;
//星期四第四節
private Integer vd4;
//星期五第一節
private Integer ve1;
//星期五第二節
private Integer ve2;
//星期五第三節
private Integer ve3;
//星期五第四節
private Integer ve4;
public Integer getVa1() {return va1;}
public void setVa1(Integer va1) {this.va1 = va1;}
public Integer getVa2() {return va2;}
public void setVa2(Integer va2) {this.va2 = va2;}
public Integer getVa3() {return va3;}
public void setVa3(Integer va3) {this.va3 = va3;}
public Integer getVa4() {return va4;}
public void setVa4(Integer va4) {this.va4 = va4;}
public Integer getVb1() {return vb1;}
public void setVb1(Integer vb1) {this.vb1 = vb1;}
public Integer getVb2() {return vb2;}
public void setVb2(Integer vb2) {this.vb2 = vb2;}
public Integer getVb3() {return vb3;}
public void setVb3(Integer vb3) {this.vb3 = vb3;}
public Integer getVb4() {return vb4;}
public void setVb4(Integer vb4) {this.vb4 = vb4;}
public Integer getVc1() {return vc1;}
public void setVc1(Integer vc1) {this.vc1 = vc1;}
public Integer getVc2() {return vc2;}
public void setVc2(Integer vc2) {this.vc2 = vc2;}
public Integer getVc3() {return vc3;}
public void setVc3(Integer vc3) {this.vc3 = vc3;}
public Integer getVc4() {return vc4;}
public void setVc4(Integer vc4) {this.vc4 = vc4;}
public Integer getVd1() {return vd1;}
public void setVd1(Integer vd1) {this.vd1 = vd1;}
public Integer getVd2() {return vd2;}
public void setVd2(Integer vd2) {this.vd2 = vd2;}
public Integer getVd3() {return vd3;}
public void setVd3(Integer vd3) {this.vd3 = vd3;}
public Integer getVd4() {return vd4;}
public void setVd4(Integer vd4) {this.vd4 = vd4;}
public Integer getVe1() {return ve1;}
public void setVe1(Integer ve1) {this.ve1 = ve1;}
public Integer getVe2() {return ve2;}
public void setVe2(Integer ve2) {this.ve2 = ve2;}
public Integer getVe3() {return ve3;}
public void setVe3(Integer ve3) {this.ve3 = ve3;}
public Integer getVe4() {return ve4;}
public void setVe4(Integer ve4) {this.ve4 = ve4;}
}

輪播圖javaBean建立語句如下:


package project.model;
import org.springframework.format.annotation.DateTimeFormat;
import java.util.Date;
//輪播圖
public class Lbt  extends BaseBean{
//主鍵
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//標題
private String lbtName;
//圖片
private String lbtPic;
//連結
private String url;
public String getLbtName() {return lbtName;}
public void setLbtName(String lbtName) {this.lbtName = lbtName;}
public String getLbtPic() {return lbtPic;}
public void setLbtPic(String lbtPic) {this.lbtPic = lbtPic;}
public String getUrl() {return url;}
public void setUrl(String url) {this.url = url;}
}

選課歷史javaBean建立語句如下:


package project.model;
import org.springframework.format.annotation.DateTimeFormat;
import java.util.Date;
//選課歷史
public class Ls  extends BaseBean{
//主鍵
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//使用者
private Integer customerId;
//課程
private Integer wdxxId;
//日期
private Date insertDate;
public Integer getCustomerId() {return customerId;}
public void setCustomerId(Integer customerId) {this.customerId = customerId;}
public Integer getWdxxId() {return wdxxId;}
public void setWdxxId(Integer wdxxId) {this.wdxxId = wdxxId;}
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 Nj  extends BaseBean{
//主鍵
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//年級名稱
private String njName;
public String getNjName() {return njName;}
public void setNjName(String njName) {this.njName = njName;}
}

評論javaBean建立語句如下:


package project.model;
import org.springframework.format.annotation.DateTimeFormat;
import java.util.Date;
//評論
public class Pinglun  extends BaseBean{
//主鍵
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//評論資訊
private Integer wdxxId;
//評論人
private Integer customerId;
//評論內容
private String content;
//評論日期
private Date insertDate;
public Integer getWdxxId() {return wdxxId;}
public void setWdxxId(Integer wdxxId) {this.wdxxId = wdxxId;}
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;}
}

視訊javaBean建立語句如下:


package project.model;
import org.springframework.format.annotation.DateTimeFormat;
import java.util.Date;
//視訊
public class Radios  extends BaseBean{
//主鍵
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//標題
private Strin