基於SSH培訓機構管理系統的設計與實現
基於SSH培訓機構管理系統的設計與實現
- 基於SSH培訓機構管理系統的設計與實現mysql資料庫建立語句
- 基於SSH培訓機構管理系統的設計與實現oracle資料庫建立語句
- 基於SSH培訓機構管理系統的設計與實現sqlserver資料庫建立語句
- 基於SSH培訓機構管理系統的設計與實現spring springMVC hibernate框架物件(javaBean,pojo)設計
- 基於SSH培訓機構管理系統的設計與實現spring springMVC mybatis框架物件(javaBean,pojo)設計
基於SSH培訓機構管理系統的設計與實現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 '姓名',
age varchar(100) comment '年齡',
sex varchar(100) comment '性別',
phone varchar(100) comment '電話',
status varchar(100) comment '狀態'
) comment '學生';
試卷表建立語句如下:
create table t_exam(
id int primary key auto_increment comment '主鍵',
examName varchar(100) comment '名稱',
showDate varchar(100) comment '日期',
status varchar(100) comment '狀態',
ny varchar(100) comment ''
) comment '試卷';
答案表建立語句如下:
create table t_examanswer(
id int primary key auto_increment comment '主鍵',
customerId int comment '使用者',
examName varchar(100) comment '試卷名稱',
insertDate datetime comment '日期',
tm varchar(100) comment '題目',
da varchar(100) comment '客戶答案',
answer varchar(100) comment '正確答案',
batchId varchar(100) comment '',
df varchar(100) comment '',
v1 int comment '',
v2 int comment '',
v3 int comment '',
isdl varchar(100) comment ''
) comment '答案';
試卷題目表建立語句如下:
create table t_examlist(
id int primary key auto_increment comment '主鍵',
examId int comment '試卷',
examtmId int comment '題目'
) comment '試卷題目';
考試題目表建立語句如下:
create table t_examtm(
id int primary key auto_increment comment '主鍵',
types int comment '型別',
v1 varchar(100) comment '題目標題',
v2 varchar(100) comment '選項A',
v3 varchar(100) comment '選項B',
v4 varchar(100) comment '選項C',
v5 varchar(100) comment '選項D',
v6 varchar(100) comment '答案',
v7 varchar(100) comment '題目',
v8 varchar(100) comment '答案',
v9 varchar(100) comment '題目',
v10 varchar(100) comment '答案'
) comment '考試題目';
公告表建立語句如下:
create table t_gg(
id int primary key auto_increment comment '主鍵',
title varchar(100) comment '標題',
pic varchar(100) comment '圖片',
content varchar(100) comment '內容',
showDate datetime comment '日期'
) comment '公告';
簡介表建立語句如下:
create table t_jj(
id int primary key auto_increment comment '主鍵',
content varchar(100) comment '內容'
) comment '簡介';
課程表建立語句如下:
create table t_kc(
id int primary key auto_increment comment '主鍵',
teacherId int comment '老師',
kcName varchar(100) comment '課程名稱',
address varchar(100) comment '地址',
showDate datetime comment '上課時間'
) comment '課程';
簽到表建立語句如下:
create table t_qd(
id int primary key auto_increment comment '主鍵',
customerId int comment '學生',
insertDate datetime comment '簽到時間'
) comment '簽到';
老師表建立語句如下:
create table t_teacher(
id int primary key auto_increment comment '主鍵',
username varchar(100) comment '工號',
password varchar(100) comment '密碼 ',
teacherName varchar(100) comment '姓名',
age varchar(100) comment '年齡',
sex varchar(100) comment '性別',
phone varchar(100) comment '電話'
) comment '老師';
基於SSH培訓機構管理系統的設計與實現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),
age varchar(100),
sex varchar(100),
phone varchar(100),
status 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.age is '年齡';
comment on column t_customer.sex is '性別';
comment on column t_customer.phone is '電話';
comment on column t_customer.status is '狀態';
--學生表加註釋
comment on table t_customer is '學生';
試卷表建立語句如下:
create table t_exam(
id integer,
examName varchar(100),
showDate varchar(100),
status varchar(100),
ny varchar(100)
);
--試卷欄位加註釋
comment on column t_exam.id is '主鍵';
comment on column t_exam.examName is '名稱';
comment on column t_exam.showDate is '日期';
comment on column t_exam.status is '狀態';
comment on column t_exam.ny is '';
--試卷表加註釋
comment on table t_exam is '試卷';
答案表建立語句如下:
create table t_examanswer(
id integer,
customerId int,
examName varchar(100),
insertDate datetime,
tm varchar(100),
da varchar(100),
answer varchar(100),
batchId varchar(100),
df varchar(100),
v1 int,
v2 int,
v3 int,
isdl varchar(100)
);
--答案欄位加註釋
comment on column t_examanswer.id is '主鍵';
comment on column t_examanswer.customerId is '使用者';
comment on column t_examanswer.examName is '試卷名稱';
comment on column t_examanswer.insertDate is '日期';
comment on column t_examanswer.tm is '題目';
comment on column t_examanswer.da is '客戶答案';
comment on column t_examanswer.answer is '正確答案';
comment on column t_examanswer.batchId is '';
comment on column t_examanswer.df is '';
comment on column t_examanswer.v1 is '';
comment on column t_examanswer.v2 is '';
comment on column t_examanswer.v3 is '';
comment on column t_examanswer.isdl is '';
--答案表加註釋
comment on table t_examanswer is '答案';
試卷題目表建立語句如下:
create table t_examlist(
id integer,
examId int,
examtmId int
);
--試卷題目欄位加註釋
comment on column t_examlist.id is '主鍵';
comment on column t_examlist.examId is '試卷';
comment on column t_examlist.examtmId is '題目';
--試卷題目表加註釋
comment on table t_examlist is '試卷題目';
考試題目表建立語句如下:
create table t_examtm(
id integer,
types int,
v1 varchar(100),
v2 varchar(100),
v3 varchar(100),
v4 varchar(100),
v5 varchar(100),
v6 varchar(100),
v7 varchar(100),
v8 varchar(100),
v9 varchar(100),
v10 varchar(100)
);
--考試題目欄位加註釋
comment on column t_examtm.id is '主鍵';
comment on column t_examtm.types is '型別';
comment on column t_examtm.v1 is '題目標題';
comment on column t_examtm.v2 is '選項A';
comment on column t_examtm.v3 is '選項B';
comment on column t_examtm.v4 is '選項C';
comment on column t_examtm.v5 is '選項D';
comment on column t_examtm.v6 is '答案';
comment on column t_examtm.v7 is '題目';
comment on column t_examtm.v8 is '答案';
comment on column t_examtm.v9 is '題目';
comment on column t_examtm.v10 is '答案';
--考試題目表加註釋
comment on table t_examtm is '考試題目';
公告表建立語句如下:
create table t_gg(
id integer,
title varchar(100),
pic varchar(100),
content varchar(100),
showDate datetime
);
--公告欄位加註釋
comment on column t_gg.id is '主鍵';
comment on column t_gg.title is '標題';
comment on column t_gg.pic is '圖片';
comment on column t_gg.content is '內容';
comment on column t_gg.showDate is '日期';
--公告表加註釋
comment on table t_gg is '公告';
簡介表建立語句如下:
create table t_jj(
id integer,
content varchar(100)
);
--簡介欄位加註釋
comment on column t_jj.id is '主鍵';
comment on column t_jj.content is '內容';
--簡介表加註釋
comment on table t_jj is '簡介';
課程表建立語句如下:
create table t_kc(
id integer,
teacherId int,
kcName varchar(100),
address varchar(100),
showDate datetime
);
--課程欄位加註釋
comment on column t_kc.id is '主鍵';
comment on column t_kc.teacherId is '老師';
comment on column t_kc.kcName is '課程名稱';
comment on column t_kc.address is '地址';
comment on column t_kc.showDate is '上課時間';
--課程表加註釋
comment on table t_kc is '課程';
簽到表建立語句如下:
create table t_qd(
id integer,
customerId int,
insertDate datetime
);
--簽到欄位加註釋
comment on column t_qd.id is '主鍵';
comment on column t_qd.customerId is '學生';
comment on column t_qd.insertDate is '簽到時間';
--簽到表加註釋
comment on table t_qd is '簽到';
老師表建立語句如下:
create table t_teacher(
id integer,
username varchar(100),
password varchar(100),
teacherName varchar(100),
age varchar(100),
sex varchar(100),
phone varchar(100)
);
--老師欄位加註釋
comment on column t_teacher.id is '主鍵';
comment on column t_teacher.username is '工號';
comment on column t_teacher.password is '密碼 ';
comment on column t_teacher.teacherName is '姓名';
comment on column t_teacher.age is '年齡';
comment on column t_teacher.sex is '性別';
comment on column t_teacher.phone is '電話';
--老師表加註釋
comment on table t_teacher 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_gg;
create sequence s_t_jj;
create sequence s_t_kc;
create sequence s_t_qd;
create sequence s_t_teacher;
基於SSH培訓機構管理系統的設計與實現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),--姓名
age varchar(100),--年齡
sex varchar(100),--性別
phone varchar(100),--電話
status varchar(100)--狀態
);
試卷表建立語句如下:
--試卷表註釋
create table t_exam(
id int identity(1,1) primary key not null,--主鍵
examName varchar(100),--名稱
showDate varchar(100),--日期
status varchar(100),--狀態
ny varchar(100)--
);
答案表建立語句如下:
--答案表註釋
create table t_examanswer(
id int identity(1,1) primary key not null,--主鍵
customerId int,--使用者
examName varchar(100),--試卷名稱
insertDate datetime,--日期
tm varchar(100),--題目
da varchar(100),--客戶答案
answer varchar(100),--正確答案
batchId varchar(100),--
df varchar(100),--
v1 int,--
v2 int,--
v3 int,--
isdl varchar(100)--
);
試卷題目表建立語句如下:
--試卷題目表註釋
create table t_examlist(
id int identity(1,1) primary key not null,--主鍵
examId int,--試卷
examtmId int--題目
);
考試題目表建立語句如下:
--考試題目表註釋
create table t_examtm(
id int identity(1,1) primary key not null,--主鍵
types int,--型別
v1 varchar(100),--題目標題
v2 varchar(100),--選項A
v3 varchar(100),--選項B
v4 varchar(100),--選項C
v5 varchar(100),--選項D
v6 varchar(100),--答案
v7 varchar(100),--題目
v8 varchar(100),--答案
v9 varchar(100),--題目
v10 varchar(100)--答案
);
公告表建立語句如下:
--公告表註釋
create table t_gg(
id int identity(1,1) primary key not null,--主鍵
title varchar(100),--標題
pic varchar(100),--圖片
content varchar(100),--內容
showDate datetime--日期
);
簡介表建立語句如下:
--簡介表註釋
create table t_jj(
id int identity(1,1) primary key not null,--主鍵
content varchar(100)--內容
);
課程表建立語句如下:
--課程表註釋
create table t_kc(
id int identity(1,1) primary key not null,--主鍵
teacherId int,--老師
kcName varchar(100),--課程名稱
address varchar(100),--地址
showDate datetime--上課時間
);
簽到表建立語句如下:
--簽到表註釋
create table t_qd(
id int identity(1,1) primary key not null,--主鍵
customerId int,--學生
insertDate datetime--簽到時間
);
老師表建立語句如下:
--老師表註釋
create table t_teacher(
id int identity(1,1) primary key not null,--主鍵
username varchar(100),--工號
password varchar(100),--密碼
teacherName varchar(100),--姓名
age varchar(100),--年齡
sex varchar(100),--性別
phone varchar(100)--電話
);
基於SSH培訓機構管理系統的設計與實現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 age;
//性別
private String sex;
//電話
private String phone;
//狀態
private String status;
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 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 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_exam")
public class Exam {
//主鍵
@Id
@Column(name = "id")
@GeneratedValue(strategy = GenerationType.IDENTITY)
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//名稱
private String examName;
//日期
private String showDate;
//狀態
private String status;
//
private String ny;
public String getExamName() {return examName;}
public void setExamName(String examName) {this.examName = examName;}
public String getShowDate() {return showDate;}
public void setShowDate(String showDate) {this.showDate = showDate;}
public String getStatus() {return status;}
public void setStatus(String status) {this.status = status;}
public String getNy() {return ny;}
public void setNy(String ny) {this.ny = ny;}
}
答案javaBean建立語句如下:
package project.model;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;
@Entity
//答案
@Table(name = "t_examanswer")
public class Examanswer {
//主鍵
@Id
@Column(name = "id")
@GeneratedValue(strategy = GenerationType.IDENTITY)
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//使用者
private Integer customerId;
//試卷名稱
private String examName;
//日期
private Date insertDate;
//題目
private String tm;
//客戶答案
private String da;
//正確答案
private String answer;
//
private String batchId;
//
private String df;
//
private Integer v1;
//
private Integer v2;
//
private Integer v3;
//
private String isdl;
public Integer getCustomerId() {return customerId;}
public void setCustomerId(Integer customerId) {this.customerId = customerId;}
public String getExamName() {return examName;}
public void setExamName(String examName) {this.examName = examName;}
public Date getInsertDate() {return insertDate;}
public void setInsertDate(Date insertDate) {this.insertDate = insertDate;}
public String getTm() {return tm;}
public void setTm(String tm) {this.tm = tm;}
public String getDa() {return da;}
public void setDa(String da) {this.da = da;}
public String getAnswer() {return answer;}
public void setAnswer(String answer) {this.answer = answer;}
public String getBatchId() {return batchId;}
public void setBatchId(String batchId) {this.batchId = batchId;}
public String getDf() {return df;}
public void setDf(String df) {this.df = df;}
public Integer getV1() {return v1;}
public void setV1(Integer v1) {this.v1 = v1;}
public Integer getV2() {return v2;}
public void setV2(Integer v2) {this.v2 = v2;}
public Integer getV3() {return v3;}
public void setV3(Integer v3) {this.v3 = v3;}
public String getIsdl() {return isdl;}
public void setIsdl(String isdl) {this.isdl = isdl;}
}
試卷題目javaBean建立語句如下:
package project.model;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;
@Entity
//試卷題目
@Table(name = "t_examlist")
public class Examlist {
//主鍵
@Id
@Column(name = "id")
@GeneratedValue(strategy = GenerationType.IDENTITY)
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//試卷
private Integer examId;
//題目
private Integer examtmId;
public Integer getExamId() {return examId;}
public void setExamId(Integer examId) {this.examId = examId;}
public Integer getExamtmId() {return examtmId;}
public void setExamtmId(Integer examtmId) {this.examtmId = examtmId;}
}
考試題目javaBean建立語句如下:
package project.model;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;
@Entity
//考試題目
@Table(name = "t_examtm")
public class Examtm {
//主鍵
@Id
@Column(name = "id")
@GeneratedValue(strategy = GenerationType.IDENTITY)
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//型別
private Integer types;
//題目標題
private String v1;
//選項A
private String v2;
//選項B
private String v3;
//選項C
private String v4;
//選項D
private String v5;
//答案
private String v6;
//題目
private String v7;
//答案
private String v8;
//題目
private String v9;
//答案
private String v10;
public Integer getTypes() {return types;}
public void setTypes(Integer types) {this.types = types;}
public String getV1() {return v1;}
public void setV1(String v1) {this.v1 = v1;}
public String getV2() {return v2;}
public void setV2(String v2) {this.v2 = v2;}
public String getV3() {return v3;}
public void setV3(String v3) {this.v3 = v3;}
public String getV4() {return v4;}
public void setV4(String v4) {this.v4 = v4;}
public String getV5() {return v5;}
public void setV5(String v5) {this.v5 = v5;}
public String getV6() {return v6;}
public void setV6(String v6) {this.v6 = v6;}
public String getV7() {return v7;}
public void setV7(String v7) {this.v7 = v7;}
public String getV8() {return v8;}
public void setV8(String v8) {this.v8 = v8;}
public String getV9() {return v9;}
public void setV9(String v9) {this.v9 = v9;}
public String getV10() {return v10;}
public void setV10(String v10) {this.v10 = v10;}
}
公告javaBean建立語句如下:
package project.model;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;
@Entity
//公告
@Table(name = "t_gg")
public class Gg {
//主鍵
@Id
@Column(name = "id")
@GeneratedValue(strategy = GenerationType.IDENTITY)
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//標題
private String title;
//圖片
private String pic;
//內容
private String content;
//日期
private Date showDate;
public String getTitle() {return title;}
public void setTitle(String title) {this.title = title;}
public String getPic() {return pic;}
public void setPic(String pic) {this.pic = pic;}
public String getContent() {return content;}
public void setContent(String content) {this.content = content;}
public Date getShowDate() {return showDate;}
public void setShowDate(Date showDate) {this.showDate = showDate;}
}
簡介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_jj")
public class Jj {
//主鍵
@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 content;
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_kc")
public class Kc {
//主鍵
@Id
@Column(name = "id")
@GeneratedValue(strategy = GenerationType.IDENTITY)
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//老師
private Integer teacherId;
//課程名稱
private String kcName;
//地址
private String address;
//上課時間
private Date showDate;
public Integer getTeacherId() {return teacherId;}
public void setTeacherId(Integer teacherId) {this.teacherId = teacherId;}
public String getKcName() {return kcName;}
public void setKcName(String kcName) {this.kcName = kcName;}
public String getAddress() {return address;}
public void setAddress(String address) {this.address = address;}
public Date getShowDate() {return showDate;}
public void setShowDate(Date showDate) {this.showDate = showDate;}
}
簽到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_qd")
public class Qd {
//主鍵
@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 Date insertDate;
public Integer getCustomerId() {return customerId;}
public void setCustomerId(Integer customerId) {this.customerId = customerId;}
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_teacher")
public class Teacher {
//主鍵
@Id
@Column(name = "id")
@GeneratedValue(strategy = GenerationType.IDENTITY)
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//工號
private String username;
//密碼
private String password;
//姓名
private String teacherName;
//年齡
private String age;
//性別
private String sex;
//電話
private String phone;
public String getUsername() {return username;}
public void setUsername(String username) {this.username = username;}
public String getPassword() {return password;}
public void setPassword(String password) {this.password = password;}
public String getTeacherName() {return teacherName;}
public void setTeacherName(String teacherName) {this.teacherName = teacherName;}
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;}
}
基於SSH培訓機構管理系統的設計與實現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 age;
//性別
private String sex;
//電話
private String phone;
//狀態
private String status;
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 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 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 Exam extends BaseBean{
//主鍵
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//名稱
private String examName;
//日期
private String showDate;
//狀態
private String status;
//
private String ny;
public String getExamName() {return examName;}
public void setExamName(String examName) {this.examName = examName;}
public String getShowDate() {return showDate;}
public void setShowDate(String showDate) {this.showDate = showDate;}
public String getStatus() {return status;}
public void setStatus(String status) {this.status = status;}
public String getNy() {return ny;}
public void setNy(String ny) {this.ny = ny;}
}
答案javaBean建立語句如下:
package project.model;
import org.springframework.format.annotation.DateTimeFormat;
import java.util.Date;
//答案
public class Examanswer extends BaseBean{
//主鍵
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//使用者
private Integer customerId;
//試卷名稱
private String examName;
//日期
private Date insertDate;
//題目
private String tm;
//客戶答案
private String da;
//正確答案
private String answer;
//
private String batchId;
//
private String df;
//
private Integer v1;
//
private Integer v2;
//
private Integer v3;
//
private String isdl;
public Integer getCustomerId() {return customerId;}
public void setCustomerId(Integer customerId) {this.customerId = customerId;}
public String getExamName() {return examName;}
public void setExamName(String examName) {this.examName = examName;}
public Date getInsertDate() {return insertDate;}
public void setInsertDate(Date insertDate) {this.insertDate = insertDate;}
public String getTm() {return tm;}
public void setTm(String tm) {this.tm = tm;}
public String getDa() {return da;}
public void setDa(String da) {this.da = da;}
public String getAnswer() {return answer;}
public void setAnswer(String answer) {this.answer = answer;}
public String getBatchId() {return batchId;}
public void setBatchId(String batchId) {this.batchId = batchId;}
public String getDf() {return df;}
public void setDf(String df) {this.df = df;}
public Integer getV1() {return v1;}
public void setV1(Integer v1) {this.v1 = v1;}
public Integer getV2() {return v2;}
public void setV2(Integer v2) {this.v2 = v2;}
public Integer getV3() {return v3;}
public void setV3(Integer v3) {this.v3 = v3;}
public String getIsdl() {return isdl;}
public void setIsdl(String isdl) {this.isdl = isdl;}
}
試卷題目javaBean建立語句如下:
package project.model;
import org.springframework.format.annotation.DateTimeFormat;
import java.util.Date;
//試卷題目
public class Examlist extends BaseBean{
//主鍵
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//試卷
private Integer examId;
//題目
private Integer examtmId;
public Integer getExamId() {return examId;}
public void setExamId(Integer examId) {this.examId = examId;}
public Integer getExamtmId() {return examtmId;}
public void setExamtmId(Integer examtmId) {this.examtmId = examtmId;}
}
考試題目javaBean建立語句如下:
package project.model;
import org.springframework.format.annotation.DateTimeFormat;
import java.util.Date;
//考試題目
public class Examtm extends BaseBean{
//主鍵
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//型別
private Integer types;
//題目標題
private String v1;
//選項A
private String v2;
//選項B
private String v3;
//選項C
private String v4;
//選項D
private String v5;
//答案
private String v6;
//題目
private String v7;
//答案
private String v8;
//題目
private String v9;
//答案
private String v10;
public Integer getTypes() {return types;}
public void setTypes(Integer types) {this.types = types;}
public String getV1() {return v1;}
public void setV1(String v1) {this.v1 = v1;}
public String getV2() {return v2;}
public void setV2(String v2) {this.v2 = v2;}
public String getV3() {return v3;}
public void setV3(String v3) {this.v3 = v3;}
public String getV4() {return v4;}
public void setV4(String v4) {this.v4 = v4;}
public String getV5() {return v5;}
public void setV5(String v5) {this.v5 = v5;}
public String getV6() {return v6;}
public void setV6(String v6) {this.v6 = v6;}
public String getV7() {return v7;}
public void setV7(String v7) {this.v7 = v7;}
public String getV8() {return v8;}
public void setV8(String v8) {this.v8 = v8;}
public String getV9() {return v9;}
public void setV9(String v9) {this.v9 = v9;}
public String getV10() {return v10;}
public void setV10(String v10) {this.v10 = v10;}
}
公告javaBean建立語句如下:
package project.model;
import org.springframework.format.annotation.DateTimeFormat;
import java.util.Date;
//公告
public class Gg extends BaseBean{
//主鍵
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//標題
private String title;
//圖片
private String pic;
//內容
private String content;
//日期
private Date showDate;
public String getTitle() {return title;}
public void setTitle(String title) {this.title = title;}
public String getPic() {return pic;}
public void setPic(String pic) {this.pic = pic;}
public String getContent() {return content;}
public void setContent(String content) {this.content = content;}
public Date getShowDate() {return showDate;}
public void setShowDate(Date showDate) {this.showDate = showDate;}
}
簡介javaBean建立語句如下:
package project.model;
import org.springframework.format.annotation.DateTimeFormat;
import java.util.Date;
//簡介
public class Jj extends BaseBean{
//主鍵
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//內容
private String content;
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 Kc extends BaseBean{
//主鍵
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//老師
private Integer teacherId;
//課程名稱
private String kcName;
//地址
private String address;
//上課時間
private Date showDate;
public Integer getTeacherId() {return teacherId;}
public void setTeacherId(Integer teacherId) {this.teacherId = teacherId;}
public String getKcName() {return kcName;}
public void setKcName(String kcName) {this.kcName = kcName;}
public String getAddress() {return address;}
public void setAddress(String address) {this.address = address;}
public Date getShowDate() {return showDate;}
public void setShowDate(Date showDate) {this.showDate = showDate;}
}
簽到javaBean建立語句如下:
package project.model;
import org.springframework.format.annotation.DateTimeFormat;
import java.util.Date;
//簽到
public class Qd extends BaseBean{
//主鍵
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//學生
private Integer customerId;
//簽到時間
private Date insertDate;
public Integer getCustomerId() {return customerId;}
public void setCustomerId(Integer customerId) {this.customerId = customerId;}
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 Teacher extends BaseBean{
//主鍵
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//工號
private String username;
//密碼
private String password;
//姓名
private String teacherName;
//年齡
private String age;
//性別
private String sex;
//電話
private String phone;
public String getUsername() {return username;}
public void setUsername(String username) {this.username = username;}
public String getPassword() {return password;}
public void setPassword(String password) {this.password = password;}
public String getTeacherName() {return teacherName;}
public void setTeacherName(String teacherName) {this.teacherName = teacherName;}
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;}
}
相關文章
- 基於SysML和EA進行系統設計與建模培訓
- Java畢業設計_基於MySQL網盤管理系統的設計與實現JavaMySql
- 基於java的企業車輛管理系統的設計與實現Java
- 舞蹈機構管理系統:舞蹈培訓班的管理系統怎麼選?
- 教育培訓機構客戶管理系統有哪些?
- 基於java的大學生健康資訊管理系統的設計與實現Java
- 單機秒殺系統的架構設計與實現架構
- 基於java的網路招聘系統的設計與實現Java
- 基於java的文章釋出系統的設計與實現Java
- 基於jsp學生資訊管理系統的設計與實現(含原始檔)JS
- 基於java的陶瓷工廠進銷存管理系統的設計與實現Java
- 基於 LLM 的智慧運維 Agent 系統設計與實現運維
- 基於spring的醫院人事管理系統設計和實現Spring
- 網校系統開發時應如何實現與線下教育培訓機構的結合?
- 從0帶你設計與實現基於STM32的智慧農業管理系統
- .NET 8.0 酒店管理系統設計與實現
- 基於ZooKeeper,Spring設計實現的引數系統Spring
- 基於jsp運動會賽前管理子系統的設計與實現3(含原始檔)JS
- 基於Java+SSM+JSP+MYSQL實現的寵物領養收養管理系統功能設計與實現四JavaSSMJSMySql
- 基於Java+SSM+JSP+MYSQL實現的寵物領養收養管理系統功能設計與實現七JavaSSMJSMySql
- 基於 HTML5 WebGL + WebVR 的 3D 虛實現實視覺化培訓系統HTMLWebVR3D視覺化
- 就業資訊管理系統設計與實現就業
- 成都UI設計培訓機構如何選擇?UI
- UI設計培訓之UI設計系統知識UI
- 手撕商城系統架構設計與實現架構
- 實現有效的機器人教育培訓管理模式機器人模式
- 基於使用者偏好的新聞推薦系統的設計與實現
- 基於KubeEdge的邊緣節點分組管理設計與實現
- C語言-超市倉庫管理系統的設計與實現C語言
- 基於JSP技術的學生網上選課系統的設計與實現JS
- 基於“結構體”實現簡易版學生管理系統(Golang)結構體Golang
- 基於Vue2和Node.js的反欺詐系統設計與實現VueNode.js
- 國內UI設計培訓機構哪家比較好UI
- 現在程式設計師的工資是不是被培訓機構誇大了?程式設計師
- UI培訓教程之系統圖示如何設計?UI
- 駕校管理系統設計和實現
- 基於android的智慧導診的設計與實現Android
- 短連結系統的設計與實現