基於WEB的駕校綜合網,優秀java設計
- 基於WEB的駕校綜合網mysql資料庫建立語句
- 基於WEB的駕校綜合網oracle資料庫建立語句
- 基於WEB的駕校綜合網sqlserver資料庫建立語句
- 基於WEB的駕校綜合網spring springMVC hibernate框架物件(javaBean,pojo)設計
- 基於WEB的駕校綜合網spring springMVC mybatis框架物件(javaBean,pojo)設計
基於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_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 '入庫日期', headPic 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 '' ) 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_jl(
id int primary key auto_increment comment '主鍵',
username varchar(100) comment '賬號',
password varchar(100) comment '密碼',
jlName varchar(100) comment '教練',
age varchar(100) comment '年齡',
sex varchar(100) comment '性別',
phone varchar(100) comment '電話',
idcard varchar(100) comment '身份證'
) comment '教練';
駕校表建立語句如下:
create table t_jx(
id int primary key auto_increment comment '主鍵',
jxName varchar(100) comment '駕校名稱',
jxPic varchar(100) comment '圖片',
jxContent varchar(100) comment '駕校簡介'
) comment '駕校';
考題詳解表建立語句如下:
create table t_ktxj(
id int primary key auto_increment comment '主鍵',
ktxjName varchar(100) comment '考題標題',
ktPic varchar(100) comment '圖片',
content varchar(100) 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_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 '釋出日期'
) 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_yy(
id int primary key auto_increment comment '主鍵',
jlId int comment '教練',
yyDate varchar(100) comment '預約日期',
swxw varchar(100) comment '上午還是下午',
customerId varchar(100) comment '客戶'
) comment '預約';
預約練車表建立語句如下:
create table t_yylc(
id int primary key auto_increment comment '主鍵',
customerId int comment '使用者',
content varchar(100) comment '預約練車說明',
yyDate varchar(100) comment '預約時間'
) comment '預約練車';
線上報名表建立語句如下:
create table t_zxbm(
id int primary key auto_increment comment '主鍵',
customerId int comment '使用者',
jxId int comment '駕校',
insertDate datetime 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_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,
headPic 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.headPic 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)
);
--答案欄位加註釋
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_jl(
id integer,
username varchar(100),
password varchar(100),
jlName varchar(100),
age varchar(100),
sex varchar(100),
phone varchar(100),
idcard varchar(100)
);
--教練欄位加註釋
comment on column t_jl.id is '主鍵';
comment on column t_jl.username is '賬號';
comment on column t_jl.password is '密碼';
comment on column t_jl.jlName is '教練';
comment on column t_jl.age is '年齡';
comment on column t_jl.sex is '性別';
comment on column t_jl.phone is '電話';
comment on column t_jl.idcard is '身份證';
--教練表加註釋
comment on table t_jl is '教練';
駕校表建立語句如下:
create table t_jx(
id integer,
jxName varchar(100),
jxPic varchar(100),
jxContent varchar(100)
);
--駕校欄位加註釋
comment on column t_jx.id is '主鍵';
comment on column t_jx.jxName is '駕校名稱';
comment on column t_jx.jxPic is '圖片';
comment on column t_jx.jxContent is '駕校簡介';
--駕校表加註釋
comment on table t_jx is '駕校';
考題詳解表建立語句如下:
create table t_ktxj(
id integer,
ktxjName varchar(100),
ktPic varchar(100),
content varchar(100)
);
--考題詳解欄位加註釋
comment on column t_ktxj.id is '主鍵';
comment on column t_ktxj.ktxjName is '考題標題';
comment on column t_ktxj.ktPic is '圖片';
comment on column t_ktxj.content is '詳解內容';
--考題詳解表加註釋
comment on table t_ktxj 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_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
);
--我的訊息欄位加註釋
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 table t_wdxx 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_yy(
id integer,
jlId int,
yyDate varchar(100),
swxw varchar(100),
customerId varchar(100)
);
--預約欄位加註釋
comment on column t_yy.id is '主鍵';
comment on column t_yy.jlId is '教練';
comment on column t_yy.yyDate is '預約日期';
comment on column t_yy.swxw is '上午還是下午';
comment on column t_yy.customerId is '客戶';
--預約表加註釋
comment on table t_yy is '預約';
預約練車表建立語句如下:
create table t_yylc(
id integer,
customerId int,
content varchar(100),
yyDate varchar(100)
);
--預約練車欄位加註釋
comment on column t_yylc.id is '主鍵';
comment on column t_yylc.customerId is '使用者';
comment on column t_yylc.content is '預約練車說明';
comment on column t_yylc.yyDate is '預約時間';
--預約練車表加註釋
comment on table t_yylc is '預約練車';
線上報名表建立語句如下:
create table t_zxbm(
id integer,
customerId int,
jxId int,
insertDate datetime
);
--線上報名欄位加註釋
comment on column t_zxbm.id is '主鍵';
comment on column t_zxbm.customerId is '使用者';
comment on column t_zxbm.jxId is '駕校';
comment on column t_zxbm.insertDate is '日期';
--線上報名表加註釋
comment on table t_zxbm is '線上報名';
oracle特有,對應序列如下:
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_jl;
create sequence s_t_jx;
create sequence s_t_ktxj;
create sequence s_t_lbt;
create sequence s_t_pinglun;
create sequence s_t_radios;
create sequence s_t_wdxx;
create sequence s_t_xw;
create sequence s_t_yy;
create sequence s_t_yylc;
create sequence s_t_zxbm;
基於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_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,--入庫日期
headPic 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)--
);
試卷題目表建立語句如下:
--試卷題目表註釋
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_jl(
id int identity(1,1) primary key not null,--主鍵
username varchar(100),--賬號
password varchar(100),--密碼
jlName varchar(100),--教練
age varchar(100),--年齡
sex varchar(100),--性別
phone varchar(100),--電話
idcard varchar(100)--身份證
);
駕校表建立語句如下:
--駕校表註釋
create table t_jx(
id int identity(1,1) primary key not null,--主鍵
jxName varchar(100),--駕校名稱
jxPic varchar(100),--圖片
jxContent varchar(100)--駕校簡介
);
考題詳解表建立語句如下:
--考題詳解表註釋
create table t_ktxj(
id int identity(1,1) primary key not null,--主鍵
ktxjName varchar(100),--考題標題
ktPic varchar(100),--圖片
content varchar(100)--詳解內容
);
輪播圖表建立語句如下:
--輪播圖表註釋
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_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--釋出日期
);
新聞表建立語句如下:
--新聞表註釋
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_yy(
id int identity(1,1) primary key not null,--主鍵
jlId int,--教練
yyDate varchar(100),--預約日期
swxw varchar(100),--上午還是下午
customerId varchar(100)--客戶
);
預約練車表建立語句如下:
--預約練車表註釋
create table t_yylc(
id int identity(1,1) primary key not null,--主鍵
customerId int,--使用者
content varchar(100),--預約練車說明
yyDate varchar(100)--預約時間
);
線上報名表建立語句如下:
--線上報名表註釋
create table t_zxbm(
id int identity(1,1) primary key not null,--主鍵
customerId int,--使用者
jxId int,--駕校
insertDate datetime--日期
);
基於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_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 headPic;
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 getHeadPic() {return headPic;}
public void setHeadPic(String headPic) {this.headPic = headPic;}
}
試卷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;
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_jl")
public class Jl {
//主鍵
@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 jlName;
//年齡
private String age;
//性別
private String sex;
//電話
private String phone;
//身份證
private String idcard;
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 getJlName() {return jlName;}
public void setJlName(String jlName) {this.jlName = jlName;}
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;}
public String getIdcard() {return idcard;}
public void setIdcard(String idcard) {this.idcard = idcard;}
}
駕校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_jx")
public class Jx {
//主鍵
@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 jxName;
//圖片
private String jxPic;
//駕校簡介
private String jxContent;
public String getJxName() {return jxName;}
public void setJxName(String jxName) {this.jxName = jxName;}
public String getJxPic() {return jxPic;}
public void setJxPic(String jxPic) {this.jxPic = jxPic;}
public String getJxContent() {return jxContent;}
public void setJxContent(String jxContent) {this.jxContent = jxContent;}
}
考題詳解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_ktxj")
public class Ktxj {
//主鍵
@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 ktxjName;
//圖片
private String ktPic;
//詳解內容
private String content;
public String getKtxjName() {return ktxjName;}
public void setKtxjName(String ktxjName) {this.ktxjName = ktxjName;}
public String getKtPic() {return ktPic;}
public void setKtPic(String ktPic) {this.ktPic = ktPic;}
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_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_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;
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;}
}
新聞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_yy")
public class Yy {
//主鍵
@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 jlId;
//預約日期
private String yyDate;
//上午還是下午
private String swxw;
//客戶
private String customerId;
public Integer getJlId() {return jlId;}
public void setJlId(Integer jlId) {this.jlId = jlId;}
public String getYyDate() {return yyDate;}
public void setYyDate(String yyDate) {this.yyDate = yyDate;}
public String getSwxw() {return swxw;}
public void setSwxw(String swxw) {this.swxw = swxw;}
public String getCustomerId() {return customerId;}
public void setCustomerId(String customerId) {this.customerId = customerId;}
}
預約練車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_yylc")
public class Yylc {
//主鍵
@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 String yyDate;
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 String getYyDate() {return yyDate;}
public void setYyDate(String yyDate) {this.yyDate = yyDate;}
}
線上報名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_zxbm")
public class Zxbm {
//主鍵
@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 jxId;
//日期
private Date insertDate;
public Integer getCustomerId() {return customerId;}
public void setCustomerId(Integer customerId) {this.customerId = customerId;}
public Integer getJxId() {return jxId;}
public void setJxId(Integer jxId) {this.jxId = jxId;}
public Date getInsertDate() {return insertDate;}
public void setInsertDate(Date insertDate) {this.insertDate = insertDate;}
}
基於WEB的駕校綜合網spring springMVC mybatis框架物件(javaBean,pojo)設計:
使用者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 headPic;
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 getHeadPic() {return headPic;}
public void setHeadPic(String headPic) {this.headPic = headPic;}
}
試卷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;
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 Jl 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 jlName;
//年齡
private String age;
//性別
private String sex;
//電話
private String phone;
//身份證
private String idcard;
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 getJlName() {return jlName;}
public void setJlName(String jlName) {this.jlName = jlName;}
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;}
public String getIdcard() {return idcard;}
public void setIdcard(String idcard) {this.idcard = idcard;}
}
駕校javaBean建立語句如下:
package project.model;
import org.springframework.format.annotation.DateTimeFormat;
import java.util.Date;
//駕校
public class Jx extends BaseBean{
//主鍵
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//駕校名稱
private String jxName;
//圖片
private String jxPic;
//駕校簡介
private String jxContent;
public String getJxName() {return jxName;}
public void setJxName(String jxName) {this.jxName = jxName;}
public String getJxPic() {return jxPic;}
public void setJxPic(String jxPic) {this.jxPic = jxPic;}
public String getJxContent() {return jxContent;}
public void setJxContent(String jxContent) {this.jxContent = jxContent;}
}
考題詳解javaBean建立語句如下:
package project.model;
import org.springframework.format.annotation.DateTimeFormat;
import java.util.Date;
//考題詳解
public class Ktxj extends BaseBean{
//主鍵
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//考題標題
private String ktxjName;
//圖片
private String ktPic;
//詳解內容
private String content;
public String getKtxjName() {return ktxjName;}
public void setKtxjName(String ktxjName) {this.ktxjName = ktxjName;}
public String getKtPic() {return ktPic;}
public void setKtPic(String ktPic) {this.ktPic = ktPic;}
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 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 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 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 org.springframework.format.annotation.DateTimeFormat;
import java.util.Date;
//我的訊息
public class Wdxx extends BaseBean{
//主鍵
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;
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;}
}
新聞javaBean建立語句如下:
package project.model;
import org.springframework.format.annotation.DateTimeFormat;
import java.util.Date;
//新聞
public class Xw extends BaseBean{
//主鍵
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//標題
private String 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 org.springframework.format.annotation.DateTimeFormat;
import java.util.Date;
//預約
public class Yy extends BaseBean{
//主鍵
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//教練
private Integer jlId;
//預約日期
private String yyDate;
//上午還是下午
private String swxw;
//客戶
private String customerId;
public Integer getJlId() {return jlId;}
public void setJlId(Integer jlId) {this.jlId = jlId;}
public String getYyDate() {return yyDate;}
public void setYyDate(String yyDate) {this.yyDate = yyDate;}
public String getSwxw() {return swxw;}
public void setSwxw(String swxw) {this.swxw = swxw;}
public String getCustomerId() {return customerId;}
public void setCustomerId(String customerId) {this.customerId = customerId;}
}
預約練車javaBean建立語句如下:
package project.model;
import org.springframework.format.annotation.DateTimeFormat;
import java.util.Date;
//預約練車
public class Yylc 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 String yyDate;
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 String getYyDate() {return yyDate;}
public void setYyDate(String yyDate) {this.yyDate = yyDate;}
}
線上報名javaBean建立語句如下:
package project.model;
import org.springframework.format.annotation.DateTimeFormat;
import java.util.Date;
//線上報名
public class Zxbm extends BaseBean{
//主鍵
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//使用者
private Integer customerId;
//駕校
private Integer jxId;
//日期
private Date insertDate;
public Integer getCustomerId() {return customerId;}
public void setCustomerId(Integer customerId) {this.customerId = customerId;}
public Integer getJxId() {return jxId;}
public void setJxId(Integer jxId) {this.jxId = jxId;}
public Date getInsertDate() {return insertDate;}
public void setInsertDate(Date insertDate) {this.insertDate = insertDate;}
}