駕校管理系統設計和實現
- 駕校管理系統設計和實現mysql資料庫建立語句
- 駕校管理系統設計和實現oracle資料庫建立語句
- 駕校管理系統設計和實現sqlserver資料庫建立語句
- 駕校管理系統設計和實現spring springMVC hibernate框架物件(javaBean,pojo)設計
- 駕校管理系統設計和實現spring springMVC mybatis框架物件(javaBean,pojo)設計
駕校管理系統設計和實現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_fpxy(
id int primary key auto_increment comment '主鍵',
studentId int comment '學員',
teacherId int comment '教練',
remark varchar(100) comment '備註'
) comment '分配學員';
考試資訊表建立語句如下:
create table t_ksxx(
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_ptadmin(
id int primary key auto_increment comment '主鍵',
username varchar(100) comment '賬號',
password varchar(100) comment '密碼 ',
ptadminName varchar(100) comment '姓名',
age varchar(100) comment '年齡',
sex varchar(100) comment '性別',
phone varchar(100) comment '電話'
) comment '普通管理員';
學員表建立語句如下:
create table t_student(
id int primary key auto_increment comment '主鍵',
username varchar(100) comment '賬號',
password varchar(100) comment '密碼 ',
studentName varchar(100) comment '姓名',
age varchar(100) comment '年齡',
sex varchar(100) comment '性別',
phone varchar(100) comment '電話',
qq varchar(100) comment 'QQ',
email varchar(100) comment '郵箱',
pic varchar(100) comment '頭像',
status varchar(100) 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 '電話',
pic varchar(100) comment '頭像',
clfe varchar(100) comment '車輛分配(牌照)',
status varchar(100) comment '狀態'
) comment '教練';
學員補考表建立語句如下:
create table t_xybk(
id int primary key auto_increment comment '主鍵',
studentId int comment '學員',
bkDate datetime comment '補考日期',
fee int comment '補考金額',
remark varchar(100) comment '備註'
) comment '學員補考';
學員報名表建立語句如下:
create table t_xybm(
id int primary key auto_increment comment '主鍵',
studentId int comment '學員',
bmrq datetime comment '報名日期',
fee int comment '金額',
remark varchar(100) comment '備註'
) comment '學員報名';
學員退學表建立語句如下:
create table t_xytx(
id int primary key auto_increment comment '主鍵',
studentId int comment '學員',
txrq datetime comment '退學日期',
fee int comment '回退金額',
remark varchar(100) comment '備註'
) comment '學員退學';
員工工資表建立語句如下:
create table t_yggz(
id int primary key auto_increment comment '主鍵',
teacherId int comment '教練',
bkDate datetime comment '工資日期',
fee int comment '工資額',
remark varchar(100) comment '備註'
) comment '員工工資';
預約考試表建立語句如下:
create table t_yyks(
id int primary key auto_increment comment '主鍵',
studentId int comment '學員',
yyDate datetime comment '預約日期',
kstp varchar(100) comment '考試圖片',
kswj varchar(100) comment '考試檔案',
cj1 int comment '第一科目成績',
cj2 int comment '第二科目成績',
cj3 int comment '第三科目成績',
status varchar(100) comment '狀態'
) comment '預約考試';
預約練車表建立語句如下:
create table t_yyxc(
id int primary key auto_increment comment '主鍵',
studentId int comment '學員',
yyDate datetime comment '預約日期',
cx varchar(100) comment '車型',
remark varchar(100) comment '記錄內容',
jd int comment '進度',
status varchar(100) comment '狀態'
) comment '預約練車';
駕校管理系統設計和實現oracle資料庫版本原始碼:
超級管理員表建立語句如下:
create table t_admin(
id integer,
username varchar(100),
password varchar(100)
);
insert into t_admin(id,username,password) values(1,'admin','123456');
--超級管理員欄位加註釋
comment on column t_admin.id is '主鍵';
comment on column t_admin.username is '超級管理員賬號';
comment on column t_admin.password is '超級管理員密碼';
--超級管理員表加註釋
comment on table t_admin is '超級管理員';
分配學員表建立語句如下:
create table t_fpxy(
id integer,
studentId int,
teacherId int,
remark varchar(100)
);
--分配學員欄位加註釋
comment on column t_fpxy.id is '主鍵';
comment on column t_fpxy.studentId is '學員';
comment on column t_fpxy.teacherId is '教練';
comment on column t_fpxy.remark is '備註';
--分配學員表加註釋
comment on table t_fpxy is '分配學員';
考試資訊表建立語句如下:
create table t_ksxx(
id integer,
title varchar(100),
pic varchar(100),
content varchar(100),
showDate datetime
);
--考試資訊欄位加註釋
comment on column t_ksxx.id is '主鍵';
comment on column t_ksxx.title is '標題';
comment on column t_ksxx.pic is '圖片';
comment on column t_ksxx.content is '內容';
comment on column t_ksxx.showDate is '日期';
--考試資訊表加註釋
comment on table t_ksxx is '考試資訊';
普通管理員表建立語句如下:
create table t_ptadmin(
id integer,
username varchar(100),
password varchar(100),
ptadminName varchar(100),
age varchar(100),
sex varchar(100),
phone varchar(100)
);
--普通管理員欄位加註釋
comment on column t_ptadmin.id is '主鍵';
comment on column t_ptadmin.username is '賬號';
comment on column t_ptadmin.password is '密碼 ';
comment on column t_ptadmin.ptadminName is '姓名';
comment on column t_ptadmin.age is '年齡';
comment on column t_ptadmin.sex is '性別';
comment on column t_ptadmin.phone is '電話';
--普通管理員表加註釋
comment on table t_ptadmin is '普通管理員';
學員表建立語句如下:
create table t_student(
id integer,
username varchar(100),
password varchar(100),
studentName varchar(100),
age varchar(100),
sex varchar(100),
phone varchar(100),
qq varchar(100),
email varchar(100),
pic varchar(100),
status varchar(100)
);
--學員欄位加註釋
comment on column t_student.id is '主鍵';
comment on column t_student.username is '賬號';
comment on column t_student.password is '密碼 ';
comment on column t_student.studentName is '姓名';
comment on column t_student.age is '年齡';
comment on column t_student.sex is '性別';
comment on column t_student.phone is '電話';
comment on column t_student.qq is 'QQ';
comment on column t_student.email is '郵箱';
comment on column t_student.pic is '頭像';
comment on column t_student.status is '狀態';
--學員表加註釋
comment on table t_student 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),
pic varchar(100),
clfe varchar(100),
status 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 column t_teacher.pic is '頭像';
comment on column t_teacher.clfe is '車輛分配(牌照)';
comment on column t_teacher.status is '狀態';
--教練表加註釋
comment on table t_teacher is '教練';
學員補考表建立語句如下:
create table t_xybk(
id integer,
studentId int,
bkDate datetime,
fee int,
remark varchar(100)
);
--學員補考欄位加註釋
comment on column t_xybk.id is '主鍵';
comment on column t_xybk.studentId is '學員';
comment on column t_xybk.bkDate is '補考日期';
comment on column t_xybk.fee is '補考金額';
comment on column t_xybk.remark is '備註';
--學員補考表加註釋
comment on table t_xybk is '學員補考';
學員報名表建立語句如下:
create table t_xybm(
id integer,
studentId int,
bmrq datetime,
fee int,
remark varchar(100)
);
--學員報名欄位加註釋
comment on column t_xybm.id is '主鍵';
comment on column t_xybm.studentId is '學員';
comment on column t_xybm.bmrq is '報名日期';
comment on column t_xybm.fee is '金額';
comment on column t_xybm.remark is '備註';
--學員報名表加註釋
comment on table t_xybm is '學員報名';
學員退學表建立語句如下:
create table t_xytx(
id integer,
studentId int,
txrq datetime,
fee int,
remark varchar(100)
);
--學員退學欄位加註釋
comment on column t_xytx.id is '主鍵';
comment on column t_xytx.studentId is '學員';
comment on column t_xytx.txrq is '退學日期';
comment on column t_xytx.fee is '回退金額';
comment on column t_xytx.remark is '備註';
--學員退學表加註釋
comment on table t_xytx is '學員退學';
員工工資表建立語句如下:
create table t_yggz(
id integer,
teacherId int,
bkDate datetime,
fee int,
remark varchar(100)
);
--員工工資欄位加註釋
comment on column t_yggz.id is '主鍵';
comment on column t_yggz.teacherId is '教練';
comment on column t_yggz.bkDate is '工資日期';
comment on column t_yggz.fee is '工資額';
comment on column t_yggz.remark is '備註';
--員工工資表加註釋
comment on table t_yggz is '員工工資';
預約考試表建立語句如下:
create table t_yyks(
id integer,
studentId int,
yyDate datetime,
kstp varchar(100),
kswj varchar(100),
cj1 int,
cj2 int,
cj3 int,
status varchar(100)
);
--預約考試欄位加註釋
comment on column t_yyks.id is '主鍵';
comment on column t_yyks.studentId is '學員';
comment on column t_yyks.yyDate is '預約日期';
comment on column t_yyks.kstp is '考試圖片';
comment on column t_yyks.kswj is '考試檔案';
comment on column t_yyks.cj1 is '第一科目成績';
comment on column t_yyks.cj2 is '第二科目成績';
comment on column t_yyks.cj3 is '第三科目成績';
comment on column t_yyks.status is '狀態';
--預約考試表加註釋
comment on table t_yyks is '預約考試';
預約練車表建立語句如下:
create table t_yyxc(
id integer,
studentId int,
yyDate datetime,
cx varchar(100),
remark varchar(100),
jd int,
status varchar(100)
);
--預約練車欄位加註釋
comment on column t_yyxc.id is '主鍵';
comment on column t_yyxc.studentId is '學員';
comment on column t_yyxc.yyDate is '預約日期';
comment on column t_yyxc.cx is '車型';
comment on column t_yyxc.remark is '記錄內容';
comment on column t_yyxc.jd is '進度';
comment on column t_yyxc.status is '狀態';
--預約練車表加註釋
comment on table t_yyxc is '預約練車';
oracle特有,對應序列如下:
create sequence s_t_fpxy;
create sequence s_t_ksxx;
create sequence s_t_ptadmin;
create sequence s_t_student;
create sequence s_t_teacher;
create sequence s_t_xybk;
create sequence s_t_xybm;
create sequence s_t_xytx;
create sequence s_t_yggz;
create sequence s_t_yyks;
create sequence s_t_yyxc;
駕校管理系統設計和實現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_fpxy(
id int identity(1,1) primary key not null,--主鍵
studentId int,--學員
teacherId int,--教練
remark varchar(100)--備註
);
考試資訊表建立語句如下:
--考試資訊表註釋
create table t_ksxx(
id int identity(1,1) primary key not null,--主鍵
title varchar(100),--標題
pic varchar(100),--圖片
content varchar(100),--內容
showDate datetime--日期
);
普通管理員表建立語句如下:
--普通管理員表註釋
create table t_ptadmin(
id int identity(1,1) primary key not null,--主鍵
username varchar(100),--賬號
password varchar(100),--密碼
ptadminName varchar(100),--姓名
age varchar(100),--年齡
sex varchar(100),--性別
phone varchar(100)--電話
);
學員表建立語句如下:
--學員表註釋
create table t_student(
id int identity(1,1) primary key not null,--主鍵
username varchar(100),--賬號
password varchar(100),--密碼
studentName varchar(100),--姓名
age varchar(100),--年齡
sex varchar(100),--性別
phone varchar(100),--電話
qq varchar(100),--QQ
email varchar(100),--郵箱
pic varchar(100),--頭像
status varchar(100)--狀態
);
教練表建立語句如下:
--教練表註釋
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),--電話
pic varchar(100),--頭像
clfe varchar(100),--車輛分配(牌照)
status varchar(100)--狀態
);
學員補考表建立語句如下:
--學員補考表註釋
create table t_xybk(
id int identity(1,1) primary key not null,--主鍵
studentId int,--學員
bkDate datetime,--補考日期
fee int,--補考金額
remark varchar(100)--備註
);
學員報名表建立語句如下:
--學員報名表註釋
create table t_xybm(
id int identity(1,1) primary key not null,--主鍵
studentId int,--學員
bmrq datetime,--報名日期
fee int,--金額
remark varchar(100)--備註
);
學員退學表建立語句如下:
--學員退學表註釋
create table t_xytx(
id int identity(1,1) primary key not null,--主鍵
studentId int,--學員
txrq datetime,--退學日期
fee int,--回退金額
remark varchar(100)--備註
);
員工工資表建立語句如下:
--員工工資表註釋
create table t_yggz(
id int identity(1,1) primary key not null,--主鍵
teacherId int,--教練
bkDate datetime,--工資日期
fee int,--工資額
remark varchar(100)--備註
);
預約考試表建立語句如下:
--預約考試表註釋
create table t_yyks(
id int identity(1,1) primary key not null,--主鍵
studentId int,--學員
yyDate datetime,--預約日期
kstp varchar(100),--考試圖片
kswj varchar(100),--考試檔案
cj1 int,--第一科目成績
cj2 int,--第二科目成績
cj3 int,--第三科目成績
status varchar(100)--狀態
);
預約練車表建立語句如下:
--預約練車表註釋
create table t_yyxc(
id int identity(1,1) primary key not null,--主鍵
studentId int,--學員
yyDate datetime,--預約日期
cx varchar(100),--車型
remark varchar(100),--記錄內容
jd int,--進度
status varchar(100)--狀態
);
駕校管理系統設計和實現spring springMVC hibernate框架物件(javaBean,pojo)設計:
分配學員javaBean建立語句如下:
package project.model;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;
@Entity
//分配學員
@Table(name = "t_fpxy")
public class Fpxy {
//主鍵
@Id
@Column(name = "id")
@GeneratedValue(strategy = GenerationType.IDENTITY)
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//學員
private Integer studentId;
//教練
private Integer teacherId;
//備註
private String remark;
public Integer getStudentId() {return studentId;}
public void setStudentId(Integer studentId) {this.studentId = studentId;}
public Integer getTeacherId() {return teacherId;}
public void setTeacherId(Integer teacherId) {this.teacherId = teacherId;}
public String getRemark() {return remark;}
public void setRemark(String remark) {this.remark = remark;}
}
考試資訊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_ksxx")
public class Ksxx {
//主鍵
@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_ptadmin")
public class Ptadmin {
//主鍵
@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 ptadminName;
//年齡
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 getPtadminName() {return ptadminName;}
public void setPtadminName(String ptadminName) {this.ptadminName = ptadminName;}
public String getAge() {return age;}
public void setAge(String age) {this.age = age;}
public String getSex() {return sex;}
public void setSex(String sex) {this.sex = sex;}
public String getPhone() {return phone;}
public void setPhone(String phone) {this.phone = phone;}
}
學員javaBean建立語句如下:
package project.model;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;
@Entity
//學員
@Table(name = "t_student")
public class Student {
//主鍵
@Id
@Column(name = "id")
@GeneratedValue(strategy = GenerationType.IDENTITY)
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//賬號
private String username;
//密碼
private String password;
//姓名
private String studentName;
//年齡
private String age;
//性別
private String sex;
//電話
private String phone;
//QQ
private String qq;
//郵箱
private String email;
//頭像
private String pic;
//狀態
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 getStudentName() {return studentName;}
public void setStudentName(String studentName) {this.studentName = studentName;}
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 getQq() {return qq;}
public void setQq(String qq) {this.qq = qq;}
public String getEmail() {return email;}
public void setEmail(String email) {this.email = email;}
public String getPic() {return pic;}
public void setPic(String pic) {this.pic = pic;}
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_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;
//頭像
private String pic;
//車輛分配(牌照)
private String clfe;
//狀態
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 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;}
public String getPic() {return pic;}
public void setPic(String pic) {this.pic = pic;}
public String getClfe() {return clfe;}
public void setClfe(String clfe) {this.clfe = clfe;}
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_xybk")
public class Xybk {
//主鍵
@Id
@Column(name = "id")
@GeneratedValue(strategy = GenerationType.IDENTITY)
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//學員
private Integer studentId;
//補考日期
private Date bkDate;
//補考金額
private Integer fee;
//備註
private String remark;
public Integer getStudentId() {return studentId;}
public void setStudentId(Integer studentId) {this.studentId = studentId;}
public Date getBkDate() {return bkDate;}
public void setBkDate(Date bkDate) {this.bkDate = bkDate;}
public Integer getFee() {return fee;}
public void setFee(Integer fee) {this.fee = fee;}
public String getRemark() {return remark;}
public void setRemark(String remark) {this.remark = remark;}
}
學員報名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_xybm")
public class Xybm {
//主鍵
@Id
@Column(name = "id")
@GeneratedValue(strategy = GenerationType.IDENTITY)
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//學員
private Integer studentId;
//報名日期
private Date bmrq;
//金額
private Integer fee;
//備註
private String remark;
public Integer getStudentId() {return studentId;}
public void setStudentId(Integer studentId) {this.studentId = studentId;}
public Date getBmrq() {return bmrq;}
public void setBmrq(Date bmrq) {this.bmrq = bmrq;}
public Integer getFee() {return fee;}
public void setFee(Integer fee) {this.fee = fee;}
public String getRemark() {return remark;}
public void setRemark(String remark) {this.remark = remark;}
}
學員退學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_xytx")
public class Xytx {
//主鍵
@Id
@Column(name = "id")
@GeneratedValue(strategy = GenerationType.IDENTITY)
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//學員
private Integer studentId;
//退學日期
private Date txrq;
//回退金額
private Integer fee;
//備註
private String remark;
public Integer getStudentId() {return studentId;}
public void setStudentId(Integer studentId) {this.studentId = studentId;}
public Date getTxrq() {return txrq;}
public void setTxrq(Date txrq) {this.txrq = txrq;}
public Integer getFee() {return fee;}
public void setFee(Integer fee) {this.fee = fee;}
public String getRemark() {return remark;}
public void setRemark(String remark) {this.remark = remark;}
}
員工工資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_yggz")
public class Yggz {
//主鍵
@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 Date bkDate;
//工資額
private Integer fee;
//備註
private String remark;
public Integer getTeacherId() {return teacherId;}
public void setTeacherId(Integer teacherId) {this.teacherId = teacherId;}
public Date getBkDate() {return bkDate;}
public void setBkDate(Date bkDate) {this.bkDate = bkDate;}
public Integer getFee() {return fee;}
public void setFee(Integer fee) {this.fee = fee;}
public String getRemark() {return remark;}
public void setRemark(String remark) {this.remark = remark;}
}
預約考試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_yyks")
public class Yyks {
//主鍵
@Id
@Column(name = "id")
@GeneratedValue(strategy = GenerationType.IDENTITY)
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//學員
private Integer studentId;
//預約日期
private Date yyDate;
//考試圖片
private String kstp;
//考試檔案
private String kswj;
//第一科目成績
private Integer cj1;
//第二科目成績
private Integer cj2;
//第三科目成績
private Integer cj3;
//狀態
private String status;
public Integer getStudentId() {return studentId;}
public void setStudentId(Integer studentId) {this.studentId = studentId;}
public Date getYyDate() {return yyDate;}
public void setYyDate(Date yyDate) {this.yyDate = yyDate;}
public String getKstp() {return kstp;}
public void setKstp(String kstp) {this.kstp = kstp;}
public String getKswj() {return kswj;}
public void setKswj(String kswj) {this.kswj = kswj;}
public Integer getCj1() {return cj1;}
public void setCj1(Integer cj1) {this.cj1 = cj1;}
public Integer getCj2() {return cj2;}
public void setCj2(Integer cj2) {this.cj2 = cj2;}
public Integer getCj3() {return cj3;}
public void setCj3(Integer cj3) {this.cj3 = cj3;}
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_yyxc")
public class Yyxc {
//主鍵
@Id
@Column(name = "id")
@GeneratedValue(strategy = GenerationType.IDENTITY)
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//學員
private Integer studentId;
//預約日期
private Date yyDate;
//車型
private String cx;
//記錄內容
private String remark;
//進度
private Integer jd;
//狀態
private String status;
public Integer getStudentId() {return studentId;}
public void setStudentId(Integer studentId) {this.studentId = studentId;}
public Date getYyDate() {return yyDate;}
public void setYyDate(Date yyDate) {this.yyDate = yyDate;}
public String getCx() {return cx;}
public void setCx(String cx) {this.cx = cx;}
public String getRemark() {return remark;}
public void setRemark(String remark) {this.remark = remark;}
public Integer getJd() {return jd;}
public void setJd(Integer jd) {this.jd = jd;}
public String getStatus() {return status;}
public void setStatus(String status) {this.status = status;}
}
駕校管理系統設計和實現spring springMVC mybatis框架物件(javaBean,pojo)設計:
分配學員javaBean建立語句如下:
package project.model;
import org.springframework.format.annotation.DateTimeFormat;
import java.util.Date;
//分配學員
public class Fpxy extends BaseBean{
//主鍵
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//學員
private Integer studentId;
//教練
private Integer teacherId;
//備註
private String remark;
public Integer getStudentId() {return studentId;}
public void setStudentId(Integer studentId) {this.studentId = studentId;}
public Integer getTeacherId() {return teacherId;}
public void setTeacherId(Integer teacherId) {this.teacherId = teacherId;}
public String getRemark() {return remark;}
public void setRemark(String remark) {this.remark = remark;}
}
考試資訊javaBean建立語句如下:
package project.model;
import org.springframework.format.annotation.DateTimeFormat;
import java.util.Date;
//考試資訊
public class Ksxx 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 Ptadmin 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 ptadminName;
//年齡
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 getPtadminName() {return ptadminName;}
public void setPtadminName(String ptadminName) {this.ptadminName = ptadminName;}
public String getAge() {return age;}
public void setAge(String age) {this.age = age;}
public String getSex() {return sex;}
public void setSex(String sex) {this.sex = sex;}
public String getPhone() {return phone;}
public void setPhone(String phone) {this.phone = phone;}
}
學員javaBean建立語句如下:
package project.model;
import org.springframework.format.annotation.DateTimeFormat;
import java.util.Date;
//學員
public class Student extends BaseBean{
//主鍵
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//賬號
private String username;
//密碼
private String password;
//姓名
private String studentName;
//年齡
private String age;
//性別
private String sex;
//電話
private String phone;
//QQ
private String qq;
//郵箱
private String email;
//頭像
private String pic;
//狀態
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 getStudentName() {return studentName;}
public void setStudentName(String studentName) {this.studentName = studentName;}
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 getQq() {return qq;}
public void setQq(String qq) {this.qq = qq;}
public String getEmail() {return email;}
public void setEmail(String email) {this.email = email;}
public String getPic() {return pic;}
public void setPic(String pic) {this.pic = pic;}
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 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;
//頭像
private String pic;
//車輛分配(牌照)
private String clfe;
//狀態
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 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;}
public String getPic() {return pic;}
public void setPic(String pic) {this.pic = pic;}
public String getClfe() {return clfe;}
public void setClfe(String clfe) {this.clfe = clfe;}
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 Xybk extends BaseBean{
//主鍵
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//學員
private Integer studentId;
//補考日期
private Date bkDate;
//補考金額
private Integer fee;
//備註
private String remark;
public Integer getStudentId() {return studentId;}
public void setStudentId(Integer studentId) {this.studentId = studentId;}
public Date getBkDate() {return bkDate;}
public void setBkDate(Date bkDate) {this.bkDate = bkDate;}
public Integer getFee() {return fee;}
public void setFee(Integer fee) {this.fee = fee;}
public String getRemark() {return remark;}
public void setRemark(String remark) {this.remark = remark;}
}
學員報名javaBean建立語句如下:
package project.model;
import org.springframework.format.annotation.DateTimeFormat;
import java.util.Date;
//學員報名
public class Xybm extends BaseBean{
//主鍵
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//學員
private Integer studentId;
//報名日期
private Date bmrq;
//金額
private Integer fee;
//備註
private String remark;
public Integer getStudentId() {return studentId;}
public void setStudentId(Integer studentId) {this.studentId = studentId;}
public Date getBmrq() {return bmrq;}
public void setBmrq(Date bmrq) {this.bmrq = bmrq;}
public Integer getFee() {return fee;}
public void setFee(Integer fee) {this.fee = fee;}
public String getRemark() {return remark;}
public void setRemark(String remark) {this.remark = remark;}
}
學員退學javaBean建立語句如下:
package project.model;
import org.springframework.format.annotation.DateTimeFormat;
import java.util.Date;
//學員退學
public class Xytx extends BaseBean{
//主鍵
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//學員
private Integer studentId;
//退學日期
private Date txrq;
//回退金額
private Integer fee;
//備註
private String remark;
public Integer getStudentId() {return studentId;}
public void setStudentId(Integer studentId) {this.studentId = studentId;}
public Date getTxrq() {return txrq;}
public void setTxrq(Date txrq) {this.txrq = txrq;}
public Integer getFee() {return fee;}
public void setFee(Integer fee) {this.fee = fee;}
public String getRemark() {return remark;}
public void setRemark(String remark) {this.remark = remark;}
}
員工工資javaBean建立語句如下:
package project.model;
import org.springframework.format.annotation.DateTimeFormat;
import java.util.Date;
//員工工資
public class Yggz extends BaseBean{
//主鍵
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//教練
private Integer teacherId;
//工資日期
private Date bkDate;
//工資額
private Integer fee;
//備註
private String remark;
public Integer getTeacherId() {return teacherId;}
public void setTeacherId(Integer teacherId) {this.teacherId = teacherId;}
public Date getBkDate() {return bkDate;}
public void setBkDate(Date bkDate) {this.bkDate = bkDate;}
public Integer getFee() {return fee;}
public void setFee(Integer fee) {this.fee = fee;}
public String getRemark() {return remark;}
public void setRemark(String remark) {this.remark = remark;}
}
預約考試javaBean建立語句如下:
package project.model;
import org.springframework.format.annotation.DateTimeFormat;
import java.util.Date;
//預約考試
public class Yyks extends BaseBean{
//主鍵
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//學員
private Integer studentId;
//預約日期
private Date yyDate;
//考試圖片
private String kstp;
//考試檔案
private String kswj;
//第一科目成績
private Integer cj1;
//第二科目成績
private Integer cj2;
//第三科目成績
private Integer cj3;
//狀態
private String status;
public Integer getStudentId() {return studentId;}
public void setStudentId(Integer studentId) {this.studentId = studentId;}
public Date getYyDate() {return yyDate;}
public void setYyDate(Date yyDate) {this.yyDate = yyDate;}
public String getKstp() {return kstp;}
public void setKstp(String kstp) {this.kstp = kstp;}
public String getKswj() {return kswj;}
public void setKswj(String kswj) {this.kswj = kswj;}
public Integer getCj1() {return cj1;}
public void setCj1(Integer cj1) {this.cj1 = cj1;}
public Integer getCj2() {return cj2;}
public void setCj2(Integer cj2) {this.cj2 = cj2;}
public Integer getCj3() {return cj3;}
public void setCj3(Integer cj3) {this.cj3 = cj3;}
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 Yyxc extends BaseBean{
//主鍵
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//學員
private Integer studentId;
//預約日期
private Date yyDate;
//車型
private String cx;
//記錄內容
private String remark;
//進度
private Integer jd;
//狀態
private String status;
public Integer getStudentId() {return studentId;}
public void setStudentId(Integer studentId) {this.studentId = studentId;}
public Date getYyDate() {return yyDate;}
public void setYyDate(Date yyDate) {this.yyDate = yyDate;}
public String getCx() {return cx;}
public void setCx(String cx) {this.cx = cx;}
public String getRemark() {return remark;}
public void setRemark(String remark) {this.remark = remark;}
public Integer getJd() {return jd;}
public void setJd(Integer jd) {this.jd = jd;}
public String getStatus() {return status;}
public void setStatus(String status) {this.status = status;}
}
相關文章
- 資料管理系統設計和實現
- 管理系統之許可權的設計和實現
- 就業資訊管理系統設計與實現就業
- .NET 8.0 酒店管理系統設計與實現
- 軟體系統的設計和實現
- 資料庫系統-設計、實現與管理(一)資料庫
- 基於spring的醫院人事管理系統設計和實現Spring
- 線上消費行為統計與分析系統設計和實現
- WebServlet.Sqlite OkHttp實現賬戶管理系統的設計WebServletSQLiteHTTP
- SchoolCMS學校管理系統
- 校園實驗室智慧管理系統開發
- Java畢業設計_基於MySQL網盤管理系統的設計與實現JavaMySql
- C語言-超市倉庫管理系統的設計與實現C語言
- 基於SSH培訓機構管理系統的設計與實現
- 設計實現業務系統中的使用者許可權管理
- 圖片管理系統:原理、設計與實踐
- 合同管理系統的設計
- 高校教材管理系統設計
- 得物社群計數系統設計與實現
- 基於java的企業車輛管理系統的設計與實現Java
- 短連結系統的設計與實現
- Vert.x IM聊天系統設計實現
- 計算機軟體實習專案四 —— 校園一卡通管理系統 (程式碼實現) 12-27計算機
- 後設資料管理—動態表單設計器在crudapi系統中完整實現API
- jsp struts2 mysql實現的校園宿舍管理系統專案原始碼JSMySql原始碼
- 基於java的大學生健康資訊管理系統的設計與實現Java
- 多系統管理混亂?SAP系統整合其他系統實現統一管理
- 程式設計作業——系統管理程式設計
- 虛擬IP管理系統設計
- 設計與實現模組管理系統基本功能定義自己(18--設計模組附件[1])
- 分散式抽獎秒殺系統,DDD架構設計和實現分享分散式架構
- 手撕商城系統架構設計與實現架構
- VMware 實現自己設計的最小作業系統作業系統
- 基於jsp學生資訊管理系統的設計與實現(含原始檔)JS
- 資料庫課程設計—超市零售資訊管理系統(Python實現)資料庫Python
- jsp畢業生離校管理系統JS
- 自寫資訊管理系統—— C 實現
- 自寫資訊管理系統——C實現