智能排课管理系统
- 智能排课管理系统mysql数据库创建语句
- 智能排课管理系统oracle数据库创建语句
- 智能排课管理系统sqlserver数据库创建语句
- 智能排课管理系统spring springMVC hibernate框架对象(javaBean,pojo)设计
- 智能排课管理系统spring springMVC mybatis框架对象(javaBean,pojo)设计
![智能排课管理系统登录注册界面](http://img.javabysj.cn/upload/20181016/智能排课管理系统(zhinengpaike)登录注册界面.jpg?x-oss-process=style/java)
智能排课管理系统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_bj(
id int primary key auto_increment comment '主键',
bjName varchar(100) comment '班级名称',
bzr varchar(100) comment '班主任',
bz varchar(100) comment '班长'
) comment '班级';
班级排课表创建语句如下:
create table t_bjpk(
id int primary key auto_increment comment '主键',
djz varchar(100) comment '周次',
abj1 int comment '礼拜一上午班级',
akc1 int comment '礼拜一上午课程',
bbj1 int comment '礼拜一下午班级',
bkc1 int comment '礼拜一下午课程',
abj2 int comment '礼拜二上午班级',
akc2 int comment '礼拜二上午课程',
bbj2 int comment '礼拜二下午班级',
bkc2 int comment '礼拜二下午课程',
abj3 int comment '礼拜三上午班级',
akc3 int comment '礼拜三上午课程',
bbj3 int comment '礼拜三下午班级',
bkc3 int comment '礼拜三下午课程',
abj4 int comment '礼拜四上午班级',
akc4 int comment '礼拜四上午课程',
bbj4 int comment '礼拜四下午班级',
bkc4 int comment '礼拜四下午课程',
abj5 int comment '礼拜五上午班级',
akc5 int comment '礼拜五上午课程',
bbj5 int comment '礼拜五下午班级'
) comment '班级排课';
课程表创建语句如下:
create table t_kc(
id int primary key auto_increment comment '主键',
kcName varchar(100) comment '课程名称',
content varchar(100) comment '说明',
teacherId int 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 '姓名',
pic varchar(100) comment '图片',
age varchar(100) comment '年龄',
sex varchar(100) comment '性别',
phone varchar(100) comment '电话'
) comment '普通管理员';
教室表创建语句如下:
create table t_room(
id int primary key auto_increment comment '主键',
roomName varchar(100) comment '教室编号',
address varchar(100) comment '地址'
) comment '教室';
教师表创建语句如下:
create table t_student(
id int primary key auto_increment comment '主键',
username varchar(100) comment '学号',
password varchar(100) comment '密码',
bjId int comment '班级',
studentName varchar(100) comment '姓名',
pic varchar(100) comment '图片',
age varchar(100) comment '年龄',
sex varchar(100) comment '性别',
phone 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 '姓名',
pic varchar(100) comment '图片',
age varchar(100) comment '年龄',
sex varchar(100) comment '性别',
phone varchar(100) comment '电话'
) comment '教师';
表创建语句如下:
create table t_years(
id int primary key auto_increment comment '主键',
year int comment '',
week int 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_bj(
id integer,
bjName varchar(100),
bzr varchar(100),
bz varchar(100)
);
--班级字段加注释
comment on column t_bj.id is '主键';
comment on column t_bj.bjName is '班级名称';
comment on column t_bj.bzr is '班主任';
comment on column t_bj.bz is '班长';
--班级表加注释
comment on table t_bj is '班级';
班级排课表创建语句如下:
create table t_bjpk(
id integer,
djz varchar(100),
abj1 int,
akc1 int,
bbj1 int,
bkc1 int,
abj2 int,
akc2 int,
bbj2 int,
bkc2 int,
abj3 int,
akc3 int,
bbj3 int,
bkc3 int,
abj4 int,
akc4 int,
bbj4 int,
bkc4 int,
abj5 int,
akc5 int,
bbj5 int
);
--班级排课字段加注释
comment on column t_bjpk.id is '主键';
comment on column t_bjpk.djz is '周次';
comment on column t_bjpk.abj1 is '礼拜一上午班级';
comment on column t_bjpk.akc1 is '礼拜一上午课程';
comment on column t_bjpk.bbj1 is '礼拜一下午班级';
comment on column t_bjpk.bkc1 is '礼拜一下午课程';
comment on column t_bjpk.abj2 is '礼拜二上午班级';
comment on column t_bjpk.akc2 is '礼拜二上午课程';
comment on column t_bjpk.bbj2 is '礼拜二下午班级';
comment on column t_bjpk.bkc2 is '礼拜二下午课程';
comment on column t_bjpk.abj3 is '礼拜三上午班级';
comment on column t_bjpk.akc3 is '礼拜三上午课程';
comment on column t_bjpk.bbj3 is '礼拜三下午班级';
comment on column t_bjpk.bkc3 is '礼拜三下午课程';
comment on column t_bjpk.abj4 is '礼拜四上午班级';
comment on column t_bjpk.akc4 is '礼拜四上午课程';
comment on column t_bjpk.bbj4 is '礼拜四下午班级';
comment on column t_bjpk.bkc4 is '礼拜四下午课程';
comment on column t_bjpk.abj5 is '礼拜五上午班级';
comment on column t_bjpk.akc5 is '礼拜五上午课程';
comment on column t_bjpk.bbj5 is '礼拜五下午班级';
--班级排课表加注释
comment on table t_bjpk is '班级排课';
课程表创建语句如下:
create table t_kc(
id integer,
kcName varchar(100),
content varchar(100),
teacherId int
);
--课程字段加注释
comment on column t_kc.id is '主键';
comment on column t_kc.kcName is '课程名称';
comment on column t_kc.content is '说明';
comment on column t_kc.teacherId is '授课老师';
--课程表加注释
comment on table t_kc is '课程';
普通管理员表创建语句如下:
create table t_ptadmin(
id integer,
username varchar(100),
password varchar(100),
ptadminName varchar(100),
pic 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.pic 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_room(
id integer,
roomName varchar(100),
address varchar(100)
);
--教室字段加注释
comment on column t_room.id is '主键';
comment on column t_room.roomName is '教室编号';
comment on column t_room.address is '地址';
--教室表加注释
comment on table t_room is '教室';
教师表创建语句如下:
create table t_student(
id integer,
username varchar(100),
password varchar(100),
bjId int,
studentName varchar(100),
pic varchar(100),
age varchar(100),
sex varchar(100),
phone 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.bjId is '班级';
comment on column t_student.studentName is '姓名';
comment on column t_student.pic is '图片';
comment on column t_student.age is '年龄';
comment on column t_student.sex is '性别';
comment on column t_student.phone is '电话';
--教师表加注释
comment on table t_student is '教师';
教师表创建语句如下:
create table t_teacher(
id integer,
username varchar(100),
password varchar(100),
teacherName varchar(100),
pic 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.pic 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 '教师';
表创建语句如下:
create table t_years(
id integer,
year int,
week int
);
--字段加注释
comment on column t_years.id is '主键';
comment on column t_years.year is '';
comment on column t_years.week is '';
--表加注释
comment on table t_years is '';
oracle特有,对应序列如下:
create sequence s_t_bj;
create sequence s_t_bjpk;
create sequence s_t_kc;
create sequence s_t_ptadmin;
create sequence s_t_room;
create sequence s_t_student;
create sequence s_t_teacher;
create sequence s_t_years;
智能排课管理系统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_bj(
id int identity(1,1) primary key not null,--主键
bjName varchar(100),--班级名称
bzr varchar(100),--班主任
bz varchar(100)--班长
);
班级排课表创建语句如下:
--班级排课表注释
create table t_bjpk(
id int identity(1,1) primary key not null,--主键
djz varchar(100),--周次
abj1 int,--礼拜一上午班级
akc1 int,--礼拜一上午课程
bbj1 int,--礼拜一下午班级
bkc1 int,--礼拜一下午课程
abj2 int,--礼拜二上午班级
akc2 int,--礼拜二上午课程
bbj2 int,--礼拜二下午班级
bkc2 int,--礼拜二下午课程
abj3 int,--礼拜三上午班级
akc3 int,--礼拜三上午课程
bbj3 int,--礼拜三下午班级
bkc3 int,--礼拜三下午课程
abj4 int,--礼拜四上午班级
akc4 int,--礼拜四上午课程
bbj4 int,--礼拜四下午班级
bkc4 int,--礼拜四下午课程
abj5 int,--礼拜五上午班级
akc5 int,--礼拜五上午课程
bbj5 int--礼拜五下午班级
);
课程表创建语句如下:
--课程表注释
create table t_kc(
id int identity(1,1) primary key not null,--主键
kcName varchar(100),--课程名称
content varchar(100),--说明
teacherId int--授课老师
);
普通管理员表创建语句如下:
--普通管理员表注释
create table t_ptadmin(
id int identity(1,1) primary key not null,--主键
username varchar(100),--账号
password varchar(100),--密码
ptadminName varchar(100),--姓名
pic varchar(100),--图片
age varchar(100),--年龄
sex varchar(100),--性别
phone varchar(100)--电话
);
教室表创建语句如下:
--教室表注释
create table t_room(
id int identity(1,1) primary key not null,--主键
roomName varchar(100),--教室编号
address varchar(100)--地址
);
教师表创建语句如下:
--教师表注释
create table t_student(
id int identity(1,1) primary key not null,--主键
username varchar(100),--学号
password varchar(100),--密码
bjId int,--班级
studentName varchar(100),--姓名
pic varchar(100),--图片
age varchar(100),--年龄
sex varchar(100),--性别
phone varchar(100)--电话
);
教师表创建语句如下:
--教师表注释
create table t_teacher(
id int identity(1,1) primary key not null,--主键
username varchar(100),--工号
password varchar(100),--密码
teacherName varchar(100),--姓名
pic varchar(100),--图片
age varchar(100),--年龄
sex varchar(100),--性别
phone varchar(100)--电话
);
表创建语句如下:
--表注释
create table t_years(
id int identity(1,1) primary key not null,--主键
year int,--
week int--
);
![智能排课管理系统登录后主页](http://img.javabysj.cn/upload/20181016/智能排课管理系统(zhinengpaike)登录后主页.jpg?x-oss-process=style/java)
智能排课管理系统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_bj")
public class Bj {
//主键
@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 bjName;
//班主任
private String bzr;
//班长
private String bz;
public String getBjName() {return bjName;}
public void setBjName(String bjName) {this.bjName = bjName;}
public String getBzr() {return bzr;}
public void setBzr(String bzr) {this.bzr = bzr;}
public String getBz() {return bz;}
public void setBz(String bz) {this.bz = bz;}
}
班级排课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_bjpk")
public class Bjpk {
//主键
@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 djz;
//礼拜一上午班级
private Integer abj1;
//礼拜一上午课程
private Integer akc1;
//礼拜一下午班级
private Integer bbj1;
//礼拜一下午课程
private Integer bkc1;
//礼拜二上午班级
private Integer abj2;
//礼拜二上午课程
private Integer akc2;
//礼拜二下午班级
private Integer bbj2;
//礼拜二下午课程
private Integer bkc2;
//礼拜三上午班级
private Integer abj3;
//礼拜三上午课程
private Integer akc3;
//礼拜三下午班级
private Integer bbj3;
//礼拜三下午课程
private Integer bkc3;
//礼拜四上午班级
private Integer abj4;
//礼拜四上午课程
private Integer akc4;
//礼拜四下午班级
private Integer bbj4;
//礼拜四下午课程
private Integer bkc4;
//礼拜五上午班级
private Integer abj5;
//礼拜五上午课程
private Integer akc5;
//礼拜五下午班级
private Integer bbj5;
public String getDjz() {return djz;}
public void setDjz(String djz) {this.djz = djz;}
public Integer getAbj1() {return abj1;}
public void setAbj1(Integer abj1) {this.abj1 = abj1;}
public Integer getAkc1() {return akc1;}
public void setAkc1(Integer akc1) {this.akc1 = akc1;}
public Integer getBbj1() {return bbj1;}
public void setBbj1(Integer bbj1) {this.bbj1 = bbj1;}
public Integer getBkc1() {return bkc1;}
public void setBkc1(Integer bkc1) {this.bkc1 = bkc1;}
public Integer getAbj2() {return abj2;}
public void setAbj2(Integer abj2) {this.abj2 = abj2;}
public Integer getAkc2() {return akc2;}
public void setAkc2(Integer akc2) {this.akc2 = akc2;}
public Integer getBbj2() {return bbj2;}
public void setBbj2(Integer bbj2) {this.bbj2 = bbj2;}
public Integer getBkc2() {return bkc2;}
public void setBkc2(Integer bkc2) {this.bkc2 = bkc2;}
public Integer getAbj3() {return abj3;}
public void setAbj3(Integer abj3) {this.abj3 = abj3;}
public Integer getAkc3() {return akc3;}
public void setAkc3(Integer akc3) {this.akc3 = akc3;}
public Integer getBbj3() {return bbj3;}
public void setBbj3(Integer bbj3) {this.bbj3 = bbj3;}
public Integer getBkc3() {return bkc3;}
public void setBkc3(Integer bkc3) {this.bkc3 = bkc3;}
public Integer getAbj4() {return abj4;}
public void setAbj4(Integer abj4) {this.abj4 = abj4;}
public Integer getAkc4() {return akc4;}
public void setAkc4(Integer akc4) {this.akc4 = akc4;}
public Integer getBbj4() {return bbj4;}
public void setBbj4(Integer bbj4) {this.bbj4 = bbj4;}
public Integer getBkc4() {return bkc4;}
public void setBkc4(Integer bkc4) {this.bkc4 = bkc4;}
public Integer getAbj5() {return abj5;}
public void setAbj5(Integer abj5) {this.abj5 = abj5;}
public Integer getAkc5() {return akc5;}
public void setAkc5(Integer akc5) {this.akc5 = akc5;}
public Integer getBbj5() {return bbj5;}
public void setBbj5(Integer bbj5) {this.bbj5 = bbj5;}
}
课程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 String kcName;
//说明
private String content;
//授课老师
private Integer teacherId;
public String getKcName() {return kcName;}
public void setKcName(String kcName) {this.kcName = kcName;}
public String getContent() {return content;}
public void setContent(String content) {this.content = content;}
public Integer getTeacherId() {return teacherId;}
public void setTeacherId(Integer teacherId) {this.teacherId = teacherId;}
}
普通管理员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 pic;
//年龄
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 getPic() {return pic;}
public void setPic(String pic) {this.pic = pic;}
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_room")
public class Room {
//主键
@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 roomName;
//地址
private String address;
public String getRoomName() {return roomName;}
public void setRoomName(String roomName) {this.roomName = roomName;}
public String getAddress() {return address;}
public void setAddress(String address) {this.address = address;}
}
教师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 Integer bjId;
//姓名
private String studentName;
//图片
private String pic;
//年龄
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 Integer getBjId() {return bjId;}
public void setBjId(Integer bjId) {this.bjId = bjId;}
public String getStudentName() {return studentName;}
public void setStudentName(String studentName) {this.studentName = studentName;}
public String getPic() {return pic;}
public void setPic(String pic) {this.pic = pic;}
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_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 pic;
//年龄
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 getPic() {return pic;}
public void setPic(String pic) {this.pic = pic;}
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_years")
public class Years {
//主键
@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 year;
//
private Integer week;
public Integer getYear() {return year;}
public void setYear(Integer year) {this.year = year;}
public Integer getWeek() {return week;}
public void setWeek(Integer week) {this.week = week;}
}
智能排课管理系统spring springMVC mybatis框架对象(javaBean,pojo)设计:
班级javaBean创建语句如下:
package project.model;
import org.springframework.format.annotation.DateTimeFormat;
import java.util.Date;
//班级
public class Bj extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//班级名称
private String bjName;
//班主任
private String bzr;
//班长
private String bz;
public String getBjName() {return bjName;}
public void setBjName(String bjName) {this.bjName = bjName;}
public String getBzr() {return bzr;}
public void setBzr(String bzr) {this.bzr = bzr;}
public String getBz() {return bz;}
public void setBz(String bz) {this.bz = bz;}
}
班级排课javaBean创建语句如下:
package project.model;
import org.springframework.format.annotation.DateTimeFormat;
import java.util.Date;
//班级排课
public class Bjpk extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//周次
private String djz;
//礼拜一上午班级
private Integer abj1;
//礼拜一上午课程
private Integer akc1;
//礼拜一下午班级
private Integer bbj1;
//礼拜一下午课程
private Integer bkc1;
//礼拜二上午班级
private Integer abj2;
//礼拜二上午课程
private Integer akc2;
//礼拜二下午班级
private Integer bbj2;
//礼拜二下午课程
private Integer bkc2;
//礼拜三上午班级
private Integer abj3;
//礼拜三上午课程
private Integer akc3;
//礼拜三下午班级
private Integer bbj3;
//礼拜三下午课程
private Integer bkc3;
//礼拜四上午班级
private Integer abj4;
//礼拜四上午课程
private Integer akc4;
//礼拜四下午班级
private Integer bbj4;
//礼拜四下午课程
private Integer bkc4;
//礼拜五上午班级
private Integer abj5;
//礼拜五上午课程
private Integer akc5;
//礼拜五下午班级
private Integer bbj5;
public String getDjz() {return djz;}
public void setDjz(String djz) {this.djz = djz;}
public Integer getAbj1() {return abj1;}
public void setAbj1(Integer abj1) {this.abj1 = abj1;}
public Integer getAkc1() {return akc1;}
public void setAkc1(Integer akc1) {this.akc1 = akc1;}
public Integer getBbj1() {return bbj1;}
public void setBbj1(Integer bbj1) {this.bbj1 = bbj1;}
public Integer getBkc1() {return bkc1;}
public void setBkc1(Integer bkc1) {this.bkc1 = bkc1;}
public Integer getAbj2() {return abj2;}
public void setAbj2(Integer abj2) {this.abj2 = abj2;}
public Integer getAkc2() {return akc2;}
public void setAkc2(Integer akc2) {this.akc2 = akc2;}
public Integer getBbj2() {return bbj2;}
public void setBbj2(Integer bbj2) {this.bbj2 = bbj2;}
public Integer getBkc2() {return bkc2;}
public void setBkc2(Integer bkc2) {this.bkc2 = bkc2;}
public Integer getAbj3() {return abj3;}
public void setAbj3(Integer abj3) {this.abj3 = abj3;}
public Integer getAkc3() {return akc3;}
public void setAkc3(Integer akc3) {this.akc3 = akc3;}
public Integer getBbj3() {return bbj3;}
public void setBbj3(Integer bbj3) {this.bbj3 = bbj3;}
public Integer getBkc3() {return bkc3;}
public void setBkc3(Integer bkc3) {this.bkc3 = bkc3;}
public Integer getAbj4() {return abj4;}
public void setAbj4(Integer abj4) {this.abj4 = abj4;}
public Integer getAkc4() {return akc4;}
public void setAkc4(Integer akc4) {this.akc4 = akc4;}
public Integer getBbj4() {return bbj4;}
public void setBbj4(Integer bbj4) {this.bbj4 = bbj4;}
public Integer getBkc4() {return bkc4;}
public void setBkc4(Integer bkc4) {this.bkc4 = bkc4;}
public Integer getAbj5() {return abj5;}
public void setAbj5(Integer abj5) {this.abj5 = abj5;}
public Integer getAkc5() {return akc5;}
public void setAkc5(Integer akc5) {this.akc5 = akc5;}
public Integer getBbj5() {return bbj5;}
public void setBbj5(Integer bbj5) {this.bbj5 = bbj5;}
}
课程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 String kcName;
//说明
private String content;
//授课老师
private Integer teacherId;
public String getKcName() {return kcName;}
public void setKcName(String kcName) {this.kcName = kcName;}
public String getContent() {return content;}
public void setContent(String content) {this.content = content;}
public Integer getTeacherId() {return teacherId;}
public void setTeacherId(Integer teacherId) {this.teacherId = teacherId;}
}
普通管理员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 pic;
//年龄
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 getPic() {return pic;}
public void setPic(String pic) {this.pic = pic;}
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 Room extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//教室编号
private String roomName;
//地址
private String address;
public String getRoomName() {return roomName;}
public void setRoomName(String roomName) {this.roomName = roomName;}
public String getAddress() {return address;}
public void setAddress(String address) {this.address = address;}
}
教师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 Integer bjId;
//姓名
private String studentName;
//图片
private String pic;
//年龄
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 Integer getBjId() {return bjId;}
public void setBjId(Integer bjId) {this.bjId = bjId;}
public String getStudentName() {return studentName;}
public void setStudentName(String studentName) {this.studentName = studentName;}
public String getPic() {return pic;}
public void setPic(String pic) {this.pic = pic;}
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 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 pic;
//年龄
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 getPic() {return pic;}
public void setPic(String pic) {this.pic = pic;}
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 Years extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//
private Integer year;
//
private Integer week;
public Integer getYear() {return year;}
public void setYear(Integer year) {this.year = year;}
public Integer getWeek() {return week;}
public void setWeek(Integer week) {this.week = week;}
}