高校教材管理系统

高校教材管理系统登录注册界面

高校教材管理系统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 '主键',
	bjbh varchar(100) comment '班级编号',
	bjName varchar(100) comment '班级名称',
	bjrs varchar(100) comment '班级人数',
	xy varchar(100) comment ''
) comment '班级';

用户表创建语句如下:


create table t_customer(
	id int primary key auto_increment comment '主键',
	username varchar(100) comment '账号',
	password varchar(100) comment '密码',
	customerName varchar(100) comment '姓名',
	phone varchar(100) comment '电话',
	sex varchar(100) comment '性别',
	address varchar(100) comment '地址',
	js varchar(100) comment '角色'
) comment '用户';

订单付费表创建语句如下:


create table t_ddfy(
	id int primary key auto_increment comment '主键',
	types varchar(100) comment '类型',
	gysId int comment '供应商',
	fee int comment '费用'
) comment '订单付费';

订单退款表创建语句如下:


create table t_ddtk(
	id int primary key auto_increment comment '主键',
	types varchar(100) comment '类型',
	gysId int comment '供应商',
	fee int comment '费用'
) comment '订单退款';

学生缴费表创建语句如下:


create table t_fee(
	id int primary key auto_increment comment '主键',
	studentId int comment '学生',
	fee int comment '费用'
) comment '学生缴费';

供应商表创建语句如下:


create table t_gys(
	id int primary key auto_increment comment '主键',
	gysbh varchar(100) comment '供应商编号',
	gysName varchar(100) comment '供应商名称'
) comment '供应商';

教材 教材编号、教材名称、教材单价、作者、出版社、出版日期、获奖种类、库存数量表创建语句如下:


create table t_jc(
	id int primary key auto_increment comment '主键',
	jcbm varchar(100) comment '教材编码',
	jcmc varchar(100) comment '教材名称',
	kc int comment '库存',
	v1 varchar(100) comment '教材单价',
	v2 varchar(100) comment '作者',
	v3 varchar(100) comment '出版社',
	v4 varchar(100) comment '出版日期',
	v5 varchar(100) comment '获奖种类'
) comment '教材
教材编号、教材名称、教材单价、作者、出版社、出版日期、获奖种类、库存数量';

教材出库表创建语句如下:


create table t_jcck(
	id int primary key auto_increment comment '主键',
	jcId int comment '教材',
	xqId int comment '学期',
	insertDate datetime comment '日期',
	teacherId int comment '老师'
) comment '教材出库';

教材入库表创建语句如下:


create table t_jcrk(
	id int primary key auto_increment comment '主键',
	jcId int comment '教材',
	xqId int comment '学期',
	insertDate datetime comment '日期',
	teacherId int comment '老师'
) comment '教材入库';

教材征订表创建语句如下:


create table t_jczd(
	id int primary key auto_increment comment '主键',
	bjrs int comment '班级人数',
	xqId int comment '学期',
	jcId int comment '教材',
	sl int comment '数量',
	gysId int comment '供应商'
) comment '教材征订';

教材增订表创建语句如下:


create table t_jczdadd(
	id int primary key auto_increment comment '主键',
	bjrs int comment '班级人数',
	jcId int comment '教材',
	sl int comment '数量',
	gysId int comment '供应商'
) comment '教材增订';

教材退订表创建语句如下:


create table t_jczddelete(
	id int primary key auto_increment comment '主键',
	bjrs int comment '班级人数',
	jcId int comment '教材',
	sl int comment '数量',
	gysId int comment '供应商'
) comment '教材退订';

课程表创建语句如下:


create table t_kc(
	id int primary key auto_increment comment '主键',
	kcName varchar(100) comment '课程名称',
	kcbh varchar(100) comment '课程编号'
) comment '课程';

领书单表创建语句如下:


create table t_lsd(
	id int primary key auto_increment comment '主键',
	lybh varchar(100) comment '领用编号',
	xqId int comment '学期',
	bjId int comment '班级',
	jcId int comment '教材',
	kcId int comment '课程',
	sl int comment '数量'
) comment '领书单';

学生表创建语句如下:


create table t_student(
	id int primary key auto_increment comment '主键',
	xh varchar(100) comment '学号',
	bjId int comment '班级',
	studentName varchar(100) comment '姓名',
	phone varchar(100) comment '电话',
	sex varchar(100) comment '性别',
	address varchar(100) comment '地址'
) comment '学生';

教师表创建语句如下:


create table t_teacher(
	id int primary key auto_increment comment '主键',
	username varchar(100) comment '账号',
	password varchar(100) comment '密码',
	jsbh varchar(100) comment '教师编号',
	teacherName varchar(100) comment '姓名',
	phone varchar(100) comment '电话',
	sex varchar(100) comment '性别',
	address varchar(100) comment '地址'
) comment '教师';

学生退费表创建语句如下:


create table t_tui(
	id int primary key auto_increment comment '主键',
	studentId int comment '学生',
	fee int comment '费用'
) comment '学生退费';

学期表创建语句如下:


create table t_xq(
	id int primary key auto_increment comment '主键',
	title 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_bj(
	id integer,
	bjbh varchar(100),
	bjName varchar(100),
	bjrs varchar(100),
	xy varchar(100)
);
--班级字段加注释
comment on column t_bj.id is '主键';
comment on column t_bj.bjbh is '班级编号';
comment on column t_bj.bjName is '班级名称';
comment on column t_bj.bjrs is '班级人数';
comment on column t_bj.xy is '';
--班级表加注释
comment on table t_bj is '班级';

用户表创建语句如下:


create table t_customer(
	id integer,
	username varchar(100),
	password varchar(100),
	customerName varchar(100),
	phone varchar(100),
	sex varchar(100),
	address varchar(100),
	js varchar(100)
);
--用户字段加注释
comment on column t_customer.id is '主键';
comment on column t_customer.username is '账号';
comment on column t_customer.password is '密码';
comment on column t_customer.customerName is '姓名';
comment on column t_customer.phone is '电话';
comment on column t_customer.sex is '性别';
comment on column t_customer.address is '地址';
comment on column t_customer.js is '角色';
--用户表加注释
comment on table t_customer is '用户';

订单付费表创建语句如下:


create table t_ddfy(
	id integer,
	types varchar(100),
	gysId int,
	fee int
);
--订单付费字段加注释
comment on column t_ddfy.id is '主键';
comment on column t_ddfy.types is '类型';
comment on column t_ddfy.gysId is '供应商';
comment on column t_ddfy.fee is '费用';
--订单付费表加注释
comment on table t_ddfy is '订单付费';

订单退款表创建语句如下:


create table t_ddtk(
	id integer,
	types varchar(100),
	gysId int,
	fee int
);
--订单退款字段加注释
comment on column t_ddtk.id is '主键';
comment on column t_ddtk.types is '类型';
comment on column t_ddtk.gysId is '供应商';
comment on column t_ddtk.fee is '费用';
--订单退款表加注释
comment on table t_ddtk is '订单退款';

学生缴费表创建语句如下:


create table t_fee(
	id integer,
	studentId int,
	fee int
);
--学生缴费字段加注释
comment on column t_fee.id is '主键';
comment on column t_fee.studentId is '学生';
comment on column t_fee.fee is '费用';
--学生缴费表加注释
comment on table t_fee is '学生缴费';

供应商表创建语句如下:


create table t_gys(
	id integer,
	gysbh varchar(100),
	gysName varchar(100)
);
--供应商字段加注释
comment on column t_gys.id is '主键';
comment on column t_gys.gysbh is '供应商编号';
comment on column t_gys.gysName is '供应商名称';
--供应商表加注释
comment on table t_gys is '供应商';

教材 教材编号、教材名称、教材单价、作者、出版社、出版日期、获奖种类、库存数量表创建语句如下:


create table t_jc(
	id integer,
	jcbm varchar(100),
	jcmc varchar(100),
	kc int,
	v1 varchar(100),
	v2 varchar(100),
	v3 varchar(100),
	v4 varchar(100),
	v5 varchar(100)
);
--教材
教材编号、教材名称、教材单价、作者、出版社、出版日期、获奖种类、库存数量字段加注释
comment on column t_jc.id is '主键';
comment on column t_jc.jcbm is '教材编码';
comment on column t_jc.jcmc is '教材名称';
comment on column t_jc.kc is '库存';
comment on column t_jc.v1 is '教材单价';
comment on column t_jc.v2 is '作者';
comment on column t_jc.v3 is '出版社';
comment on column t_jc.v4 is '出版日期';
comment on column t_jc.v5 is '获奖种类';
--教材
教材编号、教材名称、教材单价、作者、出版社、出版日期、获奖种类、库存数量表加注释
comment on table t_jc is '教材
教材编号、教材名称、教材单价、作者、出版社、出版日期、获奖种类、库存数量';

教材出库表创建语句如下:


create table t_jcck(
	id integer,
	jcId int,
	xqId int,
	insertDate datetime,
	teacherId int
);
--教材出库字段加注释
comment on column t_jcck.id is '主键';
comment on column t_jcck.jcId is '教材';
comment on column t_jcck.xqId is '学期';
comment on column t_jcck.insertDate is '日期';
comment on column t_jcck.teacherId is '老师';
--教材出库表加注释
comment on table t_jcck is '教材出库';

教材入库表创建语句如下:


create table t_jcrk(
	id integer,
	jcId int,
	xqId int,
	insertDate datetime,
	teacherId int
);
--教材入库字段加注释
comment on column t_jcrk.id is '主键';
comment on column t_jcrk.jcId is '教材';
comment on column t_jcrk.xqId is '学期';
comment on column t_jcrk.insertDate is '日期';
comment on column t_jcrk.teacherId is '老师';
--教材入库表加注释
comment on table t_jcrk is '教材入库';

教材征订表创建语句如下:


create table t_jczd(
	id integer,
	bjrs int,
	xqId int,
	jcId int,
	sl int,
	gysId int
);
--教材征订字段加注释
comment on column t_jczd.id is '主键';
comment on column t_jczd.bjrs is '班级人数';
comment on column t_jczd.xqId is '学期';
comment on column t_jczd.jcId is '教材';
comment on column t_jczd.sl is '数量';
comment on column t_jczd.gysId is '供应商';
--教材征订表加注释
comment on table t_jczd is '教材征订';

教材增订表创建语句如下:


create table t_jczdadd(
	id integer,
	bjrs int,
	jcId int,
	sl int,
	gysId int
);
--教材增订字段加注释
comment on column t_jczdadd.id is '主键';
comment on column t_jczdadd.bjrs is '班级人数';
comment on column t_jczdadd.jcId is '教材';
comment on column t_jczdadd.sl is '数量';
comment on column t_jczdadd.gysId is '供应商';
--教材增订表加注释
comment on table t_jczdadd is '教材增订';

教材退订表创建语句如下:


create table t_jczddelete(
	id integer,
	bjrs int,
	jcId int,
	sl int,
	gysId int
);
--教材退订字段加注释
comment on column t_jczddelete.id is '主键';
comment on column t_jczddelete.bjrs is '班级人数';
comment on column t_jczddelete.jcId is '教材';
comment on column t_jczddelete.sl is '数量';
comment on column t_jczddelete.gysId is '供应商';
--教材退订表加注释
comment on table t_jczddelete is '教材退订';

课程表创建语句如下:


create table t_kc(
	id integer,
	kcName varchar(100),
	kcbh varchar(100)
);
--课程字段加注释
comment on column t_kc.id is '主键';
comment on column t_kc.kcName is '课程名称';
comment on column t_kc.kcbh is '课程编号';
--课程表加注释
comment on table t_kc is '课程';

领书单表创建语句如下:


create table t_lsd(
	id integer,
	lybh varchar(100),
	xqId int,
	bjId int,
	jcId int,
	kcId int,
	sl int
);
--领书单字段加注释
comment on column t_lsd.id is '主键';
comment on column t_lsd.lybh is '领用编号';
comment on column t_lsd.xqId is '学期';
comment on column t_lsd.bjId is '班级';
comment on column t_lsd.jcId is '教材';
comment on column t_lsd.kcId is '课程';
comment on column t_lsd.sl is '数量';
--领书单表加注释
comment on table t_lsd is '领书单';

学生表创建语句如下:


create table t_student(
	id integer,
	xh varchar(100),
	bjId int,
	studentName varchar(100),
	phone varchar(100),
	sex varchar(100),
	address varchar(100)
);
--学生字段加注释
comment on column t_student.id is '主键';
comment on column t_student.xh is '学号';
comment on column t_student.bjId is '班级';
comment on column t_student.studentName is '姓名';
comment on column t_student.phone is '电话';
comment on column t_student.sex is '性别';
comment on column t_student.address is '地址';
--学生表加注释
comment on table t_student is '学生';

教师表创建语句如下:


create table t_teacher(
	id integer,
	username varchar(100),
	password varchar(100),
	jsbh varchar(100),
	teacherName varchar(100),
	phone varchar(100),
	sex varchar(100),
	address 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.jsbh is '教师编号';
comment on column t_teacher.teacherName is '姓名';
comment on column t_teacher.phone is '电话';
comment on column t_teacher.sex is '性别';
comment on column t_teacher.address is '地址';
--教师表加注释
comment on table t_teacher is '教师';

学生退费表创建语句如下:


create table t_tui(
	id integer,
	studentId int,
	fee int
);
--学生退费字段加注释
comment on column t_tui.id is '主键';
comment on column t_tui.studentId is '学生';
comment on column t_tui.fee is '费用';
--学生退费表加注释
comment on table t_tui is '学生退费';

学期表创建语句如下:


create table t_xq(
	id integer,
	title varchar(100)
);
--学期字段加注释
comment on column t_xq.id is '主键';
comment on column t_xq.title is '学期';
--学期表加注释
comment on table t_xq is '学期';

oracle特有,对应序列如下:


create sequence s_t_bj;
create sequence s_t_customer;
create sequence s_t_ddfy;
create sequence s_t_ddtk;
create sequence s_t_fee;
create sequence s_t_gys;
create sequence s_t_jc;
create sequence s_t_jcck;
create sequence s_t_jcrk;
create sequence s_t_jczd;
create sequence s_t_jczdadd;
create sequence s_t_jczddelete;
create sequence s_t_kc;
create sequence s_t_lsd;
create sequence s_t_student;
create sequence s_t_teacher;
create sequence s_t_tui;
create sequence s_t_xq;

高校教材管理系统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,--主键
	bjbh varchar(100),--班级编号
	bjName varchar(100),--班级名称
	bjrs varchar(100),--班级人数
	xy varchar(100)--
);

用户表创建语句如下:


--用户表注释
create table t_customer(
	id int identity(1,1) primary key not null,--主键
	username varchar(100),--账号
	password varchar(100),--密码
	customerName varchar(100),--姓名
	phone varchar(100),--电话
	sex varchar(100),--性别
	address varchar(100),--地址
	js varchar(100)--角色
);

订单付费表创建语句如下:


--订单付费表注释
create table t_ddfy(
	id int identity(1,1) primary key not null,--主键
	types varchar(100),--类型
	gysId int,--供应商
	fee int--费用
);

订单退款表创建语句如下:


--订单退款表注释
create table t_ddtk(
	id int identity(1,1) primary key not null,--主键
	types varchar(100),--类型
	gysId int,--供应商
	fee int--费用
);

学生缴费表创建语句如下:


--学生缴费表注释
create table t_fee(
	id int identity(1,1) primary key not null,--主键
	studentId int,--学生
	fee int--费用
);

供应商表创建语句如下:


--供应商表注释
create table t_gys(
	id int identity(1,1) primary key not null,--主键
	gysbh varchar(100),--供应商编号
	gysName varchar(100)--供应商名称
);

教材 教材编号、教材名称、教材单价、作者、出版社、出版日期、获奖种类、库存数量表创建语句如下:


--教材
教材编号、教材名称、教材单价、作者、出版社、出版日期、获奖种类、库存数量表注释
create table t_jc(
	id int identity(1,1) primary key not null,--主键
	jcbm varchar(100),--教材编码
	jcmc varchar(100),--教材名称
	kc int,--库存
	v1 varchar(100),--教材单价
	v2 varchar(100),--作者
	v3 varchar(100),--出版社
	v4 varchar(100),--出版日期
	v5 varchar(100)--获奖种类
);

教材出库表创建语句如下:


--教材出库表注释
create table t_jcck(
	id int identity(1,1) primary key not null,--主键
	jcId int,--教材
	xqId int,--学期
	insertDate datetime,--日期
	teacherId int--老师
);

教材入库表创建语句如下:


--教材入库表注释
create table t_jcrk(
	id int identity(1,1) primary key not null,--主键
	jcId int,--教材
	xqId int,--学期
	insertDate datetime,--日期
	teacherId int--老师
);

教材征订表创建语句如下:


--教材征订表注释
create table t_jczd(
	id int identity(1,1) primary key not null,--主键
	bjrs int,--班级人数
	xqId int,--学期
	jcId int,--教材
	sl int,--数量
	gysId int--供应商
);

教材增订表创建语句如下:


--教材增订表注释
create table t_jczdadd(
	id int identity(1,1) primary key not null,--主键
	bjrs int,--班级人数
	jcId int,--教材
	sl int,--数量
	gysId int--供应商
);

教材退订表创建语句如下:


--教材退订表注释
create table t_jczddelete(
	id int identity(1,1) primary key not null,--主键
	bjrs int,--班级人数
	jcId int,--教材
	sl int,--数量
	gysId int--供应商
);

课程表创建语句如下:


--课程表注释
create table t_kc(
	id int identity(1,1) primary key not null,--主键
	kcName varchar(100),--课程名称
	kcbh varchar(100)--课程编号
);

领书单表创建语句如下:


--领书单表注释
create table t_lsd(
	id int identity(1,1) primary key not null,--主键
	lybh varchar(100),--领用编号
	xqId int,--学期
	bjId int,--班级
	jcId int,--教材
	kcId int,--课程
	sl int--数量
);

学生表创建语句如下:


--学生表注释
create table t_student(
	id int identity(1,1) primary key not null,--主键
	xh varchar(100),--学号
	bjId int,--班级
	studentName varchar(100),--姓名
	phone varchar(100),--电话
	sex varchar(100),--性别
	address varchar(100)--地址
);

教师表创建语句如下:


--教师表注释
create table t_teacher(
	id int identity(1,1) primary key not null,--主键
	username varchar(100),--账号
	password varchar(100),--密码
	jsbh varchar(100),--教师编号
	teacherName varchar(100),--姓名
	phone varchar(100),--电话
	sex varchar(100),--性别
	address varchar(100)--地址
);

学生退费表创建语句如下:


--学生退费表注释
create table t_tui(
	id int identity(1,1) primary key not null,--主键
	studentId int,--学生
	fee int--费用
);

学期表创建语句如下:


--学期表注释
create table t_xq(
	id int identity(1,1) primary key not null,--主键
	title 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_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 bjbh;
//班级名称
private String bjName;
//班级人数
private String bjrs;
//
private String xy;
public String getBjbh() {return bjbh;}
public void setBjbh(String bjbh) {this.bjbh = bjbh;}
public String getBjName() {return bjName;}
public void setBjName(String bjName) {this.bjName = bjName;}
public String getBjrs() {return bjrs;}
public void setBjrs(String bjrs) {this.bjrs = bjrs;}
public String getXy() {return xy;}
public void setXy(String xy) {this.xy = xy;}
}

用户javaBean创建语句如下:


package project.model;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;
@Entity

//用户
@Table(name = "t_customer")
public class Customer {
//主键
@Id
@Column(name = "id")
@GeneratedValue(strategy = GenerationType.IDENTITY)
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//账号
private String username;
//密码
private String password;
//姓名
private String customerName;
//电话
private String phone;
//性别
private String sex;
//地址
private String address;
//角色
private String js;
public String getUsername() {return username;}
public void setUsername(String username) {this.username = username;}
public String getPassword() {return password;}
public void setPassword(String password) {this.password = password;}
public String getCustomerName() {return customerName;}
public void setCustomerName(String customerName) {this.customerName = customerName;}
public String getPhone() {return phone;}
public void setPhone(String phone) {this.phone = phone;}
public String getSex() {return sex;}
public void setSex(String sex) {this.sex = sex;}
public String getAddress() {return address;}
public void setAddress(String address) {this.address = address;}
public String getJs() {return js;}
public void setJs(String js) {this.js = js;}
}

订单付费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_ddfy")
public class Ddfy {
//主键
@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 types;
//供应商
private Integer gysId;
//费用
private Integer fee;
public String getTypes() {return types;}
public void setTypes(String types) {this.types = types;}
public Integer getGysId() {return gysId;}
public void setGysId(Integer gysId) {this.gysId = gysId;}
public Integer getFee() {return fee;}
public void setFee(Integer fee) {this.fee = fee;}
}

订单退款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_ddtk")
public class Ddtk {
//主键
@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 types;
//供应商
private Integer gysId;
//费用
private Integer fee;
public String getTypes() {return types;}
public void setTypes(String types) {this.types = types;}
public Integer getGysId() {return gysId;}
public void setGysId(Integer gysId) {this.gysId = gysId;}
public Integer getFee() {return fee;}
public void setFee(Integer fee) {this.fee = fee;}
}

学生缴费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_fee")
public class Fee {
//主键
@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 fee;
public Integer getStudentId() {return studentId;}
public void setStudentId(Integer studentId) {this.studentId = studentId;}
public Integer getFee() {return fee;}
public void setFee(Integer fee) {this.fee = fee;}
}

供应商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_gys")
public class Gys {
//主键
@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 gysbh;
//供应商名称
private String gysName;
public String getGysbh() {return gysbh;}
public void setGysbh(String gysbh) {this.gysbh = gysbh;}
public String getGysName() {return gysName;}
public void setGysName(String gysName) {this.gysName = gysName;}
}

教材 教材编号、教材名称、教材单价、作者、出版社、出版日期、获奖种类、库存数量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_jc")
public class Jc {
//主键
@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 jcbm;
//教材名称
private String jcmc;
//库存
private Integer kc;
//教材单价
private String v1;
//作者
private String v2;
//出版社
private String v3;
//出版日期
private String v4;
//获奖种类
private String v5;
public String getJcbm() {return jcbm;}
public void setJcbm(String jcbm) {this.jcbm = jcbm;}
public String getJcmc() {return jcmc;}
public void setJcmc(String jcmc) {this.jcmc = jcmc;}
public Integer getKc() {return kc;}
public void setKc(Integer kc) {this.kc = kc;}
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;}
}

教材出库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_jcck")
public class Jcck {
//主键
@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 jcId;
//学期
private Integer xqId;
//日期
private Date insertDate;
//老师
private Integer teacherId;
public Integer getJcId() {return jcId;}
public void setJcId(Integer jcId) {this.jcId = jcId;}
public Integer getXqId() {return xqId;}
public void setXqId(Integer xqId) {this.xqId = xqId;}
public Date getInsertDate() {return insertDate;}
public void setInsertDate(Date insertDate) {this.insertDate = insertDate;}
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_jcrk")
public class Jcrk {
//主键
@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 jcId;
//学期
private Integer xqId;
//日期
private Date insertDate;
//老师
private Integer teacherId;
public Integer getJcId() {return jcId;}
public void setJcId(Integer jcId) {this.jcId = jcId;}
public Integer getXqId() {return xqId;}
public void setXqId(Integer xqId) {this.xqId = xqId;}
public Date getInsertDate() {return insertDate;}
public void setInsertDate(Date insertDate) {this.insertDate = insertDate;}
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_jczd")
public class Jczd {
//主键
@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 bjrs;
//学期
private Integer xqId;
//教材
private Integer jcId;
//数量
private Integer sl;
//供应商
private Integer gysId;
public Integer getBjrs() {return bjrs;}
public void setBjrs(Integer bjrs) {this.bjrs = bjrs;}
public Integer getXqId() {return xqId;}
public void setXqId(Integer xqId) {this.xqId = xqId;}
public Integer getJcId() {return jcId;}
public void setJcId(Integer jcId) {this.jcId = jcId;}
public Integer getSl() {return sl;}
public void setSl(Integer sl) {this.sl = sl;}
public Integer getGysId() {return gysId;}
public void setGysId(Integer gysId) {this.gysId = gysId;}
}

教材增订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_jczdadd")
public class Jczdadd {
//主键
@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 bjrs;
//教材
private Integer jcId;
//数量
private Integer sl;
//供应商
private Integer gysId;
public Integer getBjrs() {return bjrs;}
public void setBjrs(Integer bjrs) {this.bjrs = bjrs;}
public Integer getJcId() {return jcId;}
public void setJcId(Integer jcId) {this.jcId = jcId;}
public Integer getSl() {return sl;}
public void setSl(Integer sl) {this.sl = sl;}
public Integer getGysId() {return gysId;}
public void setGysId(Integer gysId) {this.gysId = gysId;}
}

教材退订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_jczddelete")
public class Jczddelete {
//主键
@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 bjrs;
//教材
private Integer jcId;
//数量
private Integer sl;
//供应商
private Integer gysId;
public Integer getBjrs() {return bjrs;}
public void setBjrs(Integer bjrs) {this.bjrs = bjrs;}
public Integer getJcId() {return jcId;}
public void setJcId(Integer jcId) {this.jcId = jcId;}
public Integer getSl() {return sl;}
public void setSl(Integer sl) {this.sl = sl;}
public Integer getGysId() {return gysId;}
public void setGysId(Integer gysId) {this.gysId = gysId;}
}

课程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 kcbh;
public String getKcName() {return kcName;}
public void setKcName(String kcName) {this.kcName = kcName;}
public String getKcbh() {return kcbh;}
public void setKcbh(String kcbh) {this.kcbh = kcbh;}
}

领书单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_lsd")
public class Lsd {
//主键
@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 lybh;
//学期
private Integer xqId;
//班级
private Integer bjId;
//教材
private Integer jcId;
//课程
private Integer kcId;
//数量
private Integer sl;
public String getLybh() {return lybh;}
public void setLybh(String lybh) {this.lybh = lybh;}
public Integer getXqId() {return xqId;}
public void setXqId(Integer xqId) {this.xqId = xqId;}
public Integer getBjId() {return bjId;}
public void setBjId(Integer bjId) {this.bjId = bjId;}
public Integer getJcId() {return jcId;}
public void setJcId(Integer jcId) {this.jcId = jcId;}
public Integer getKcId() {return kcId;}
public void setKcId(Integer kcId) {this.kcId = kcId;}
public Integer getSl() {return sl;}
public void setSl(Integer sl) {this.sl = sl;}
}

学生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 xh;
//班级
private Integer bjId;
//姓名
private String studentName;
//电话
private String phone;
//性别
private String sex;
//地址
private String address;
public String getXh() {return xh;}
public void setXh(String xh) {this.xh = xh;}
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 getPhone() {return phone;}
public void setPhone(String phone) {this.phone = phone;}
public String getSex() {return sex;}
public void setSex(String sex) {this.sex = sex;}
public String 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_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 jsbh;
//姓名
private String teacherName;
//电话
private String phone;
//性别
private String sex;
//地址
private String address;
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 getJsbh() {return jsbh;}
public void setJsbh(String jsbh) {this.jsbh = jsbh;}
public String getTeacherName() {return teacherName;}
public void setTeacherName(String teacherName) {this.teacherName = teacherName;}
public String getPhone() {return phone;}
public void setPhone(String phone) {this.phone = phone;}
public String getSex() {return sex;}
public void setSex(String sex) {this.sex = sex;}
public String 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_tui")
public class Tui {
//主键
@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 fee;
public Integer getStudentId() {return studentId;}
public void setStudentId(Integer studentId) {this.studentId = studentId;}
public Integer getFee() {return fee;}
public void setFee(Integer fee) {this.fee = fee;}
}

学期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_xq")
public class Xq {
//主键
@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;
public String getTitle() {return title;}
public void setTitle(String title) {this.title = title;}
}

高校教材管理系统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 bjbh;
//班级名称
private String bjName;
//班级人数
private String bjrs;
//
private String xy;
public String getBjbh() {return bjbh;}
public void setBjbh(String bjbh) {this.bjbh = bjbh;}
public String getBjName() {return bjName;}
public void setBjName(String bjName) {this.bjName = bjName;}
public String getBjrs() {return bjrs;}
public void setBjrs(String bjrs) {this.bjrs = bjrs;}
public String getXy() {return xy;}
public void setXy(String xy) {this.xy = xy;}
}

用户javaBean创建语句如下:


package project.model;
import org.springframework.format.annotation.DateTimeFormat;
import java.util.Date;

//用户
public class Customer  extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//账号
private String username;
//密码
private String password;
//姓名
private String customerName;
//电话
private String phone;
//性别
private String sex;
//地址
private String address;
//角色
private String js;
public String getUsername() {return username;}
public void setUsername(String username) {this.username = username;}
public String getPassword() {return password;}
public void setPassword(String password) {this.password = password;}
public String getCustomerName() {return customerName;}
public void setCustomerName(String customerName) {this.customerName = customerName;}
public String getPhone() {return phone;}
public void setPhone(String phone) {this.phone = phone;}
public String getSex() {return sex;}
public void setSex(String sex) {this.sex = sex;}
public String getAddress() {return address;}
public void setAddress(String address) {this.address = address;}
public String getJs() {return js;}
public void setJs(String js) {this.js = js;}
}

订单付费javaBean创建语句如下:


package project.model;
import org.springframework.format.annotation.DateTimeFormat;
import java.util.Date;

//订单付费
public class Ddfy  extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//类型
private String types;
//供应商
private Integer gysId;
//费用
private Integer fee;
public String getTypes() {return types;}
public void setTypes(String types) {this.types = types;}
public Integer getGysId() {return gysId;}
public void setGysId(Integer gysId) {this.gysId = gysId;}
public Integer getFee() {return fee;}
public void setFee(Integer fee) {this.fee = fee;}
}

订单退款javaBean创建语句如下:


package project.model;
import org.springframework.format.annotation.DateTimeFormat;
import java.util.Date;

//订单退款
public class Ddtk  extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//类型
private String types;
//供应商
private Integer gysId;
//费用
private Integer fee;
public String getTypes() {return types;}
public void setTypes(String types) {this.types = types;}
public Integer getGysId() {return gysId;}
public void setGysId(Integer gysId) {this.gysId = gysId;}
public Integer getFee() {return fee;}
public void setFee(Integer fee) {this.fee = fee;}
}

学生缴费javaBean创建语句如下:


package project.model;
import org.springframework.format.annotation.DateTimeFormat;
import java.util.Date;

//学生缴费
public class Fee  extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//学生
private Integer studentId;
//费用
private Integer fee;
public Integer getStudentId() {return studentId;}
public void setStudentId(Integer studentId) {this.studentId = studentId;}
public Integer getFee() {return fee;}
public void setFee(Integer fee) {this.fee = fee;}
}

供应商javaBean创建语句如下:


package project.model;
import org.springframework.format.annotation.DateTimeFormat;
import java.util.Date;

//供应商
public class Gys  extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//供应商编号
private String gysbh;
//供应商名称
private String gysName;
public String getGysbh() {return gysbh;}
public void setGysbh(String gysbh) {this.gysbh = gysbh;}
public String getGysName() {return gysName;}
public void setGysName(String gysName) {this.gysName = gysName;}
}

教材 教材编号、教材名称、教材单价、作者、出版社、出版日期、获奖种类、库存数量javaBean创建语句如下:


package project.model;
import org.springframework.format.annotation.DateTimeFormat;
import java.util.Date;

//教材
教材编号、教材名称、教材单价、作者、出版社、出版日期、获奖种类、库存数量
public class Jc  extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//教材编码
private String jcbm;
//教材名称
private String jcmc;
//库存
private Integer kc;
//教材单价
private String v1;
//作者
private String v2;
//出版社
private String v3;
//出版日期
private String v4;
//获奖种类
private String v5;
public String getJcbm() {return jcbm;}
public void setJcbm(String jcbm) {this.jcbm = jcbm;}
public String getJcmc() {return jcmc;}
public void setJcmc(String jcmc) {this.jcmc = jcmc;}
public Integer getKc() {return kc;}
public void setKc(Integer kc) {this.kc = kc;}
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;}
}

教材出库javaBean创建语句如下:


package project.model;
import org.springframework.format.annotation.DateTimeFormat;
import java.util.Date;

//教材出库
public class Jcck  extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//教材
private Integer jcId;
//学期
private Integer xqId;
//日期
private Date insertDate;
//老师
private Integer teacherId;
public Integer getJcId() {return jcId;}
public void setJcId(Integer jcId) {this.jcId = jcId;}
public Integer getXqId() {return xqId;}
public void setXqId(Integer xqId) {this.xqId = xqId;}
public Date getInsertDate() {return insertDate;}
public void setInsertDate(Date insertDate) {this.insertDate = insertDate;}
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 Jcrk  extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//教材
private Integer jcId;
//学期
private Integer xqId;
//日期
private Date insertDate;
//老师
private Integer teacherId;
public Integer getJcId() {return jcId;}
public void setJcId(Integer jcId) {this.jcId = jcId;}
public Integer getXqId() {return xqId;}
public void setXqId(Integer xqId) {this.xqId = xqId;}
public Date getInsertDate() {return insertDate;}
public void setInsertDate(Date insertDate) {this.insertDate = insertDate;}
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 Jczd  extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//班级人数
private Integer bjrs;
//学期
private Integer xqId;
//教材
private Integer jcId;
//数量
private Integer sl;
//供应商
private Integer gysId;
public Integer getBjrs() {return bjrs;}
public void setBjrs(Integer bjrs) {this.bjrs = bjrs;}
public Integer getXqId() {return xqId;}
public void setXqId(Integer xqId) {this.xqId = xqId;}
public Integer getJcId() {return jcId;}
public void setJcId(Integer jcId) {this.jcId = jcId;}
public Integer getSl() {return sl;}
public void setSl(Integer sl) {this.sl = sl;}
public Integer getGysId() {return gysId;}
public void setGysId(Integer gysId) {this.gysId = gysId;}
}

教材增订javaBean创建语句如下:


package project.model;
import org.springframework.format.annotation.DateTimeFormat;
import java.util.Date;

//教材增订
public class Jczdadd  extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//班级人数
private Integer bjrs;
//教材
private Integer jcId;
//数量
private Integer sl;
//供应商
private Integer gysId;
public Integer getBjrs() {return bjrs;}
public void setBjrs(Integer bjrs) {this.bjrs = bjrs;}
public Integer getJcId() {return jcId;}
public void setJcId(Integer jcId) {this.jcId = jcId;}
public Integer getSl() {return sl;}
public void setSl(Integer sl) {this.sl = sl;}
public Integer getGysId() {return gysId;}
public void setGysId(Integer gysId) {this.gysId = gysId;}
}

教材退订javaBean创建语句如下:


package project.model;
import org.springframework.format.annotation.DateTimeFormat;
import java.util.Date;

//教材退订
public class Jczddelete  extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//班级人数
private Integer bjrs;
//教材
private Integer jcId;
//数量
private Integer sl;
//供应商
private Integer gysId;
public Integer getBjrs() {return bjrs;}
public void setBjrs(Integer bjrs) {this.bjrs = bjrs;}
public Integer getJcId() {return jcId;}
public void setJcId(Integer jcId) {this.jcId = jcId;}
public Integer getSl() {return sl;}
public void setSl(Integer sl) {this.sl = sl;}
public Integer getGysId() {return gysId;}
public void setGysId(Integer gysId) {this.gysId = gysId;}
}

课程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 kcbh;
public String getKcName() {return kcName;}
public void setKcName(String kcName) {this.kcName = kcName;}
public String getKcbh() {return kcbh;}
public void setKcbh(String kcbh) {this.kcbh = kcbh;}
}

领书单javaBean创建语句如下:


package project.model;
import org.springframework.format.annotation.DateTimeFormat;
import java.util.Date;

//领书单
public class Lsd  extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//领用编号
private String lybh;
//学期
private Integer xqId;
//班级
private Integer bjId;
//教材
private Integer jcId;
//课程
private Integer kcId;
//数量
private Integer sl;
public String getLybh() {return lybh;}
public void setLybh(String lybh) {this.lybh = lybh;}
public Integer getXqId() {return xqId;}
public void setXqId(Integer xqId) {this.xqId = xqId;}
public Integer getBjId() {return bjId;}
public void setBjId(Integer bjId) {this.bjId = bjId;}
public Integer getJcId() {return jcId;}
public void setJcId(Integer jcId) {this.jcId = jcId;}
public Integer getKcId() {return kcId;}
public void setKcId(Integer kcId) {this.kcId = kcId;}
public Integer getSl() {return sl;}
public void setSl(Integer sl) {this.sl = sl;}
}

学生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 xh;
//班级
private Integer bjId;
//姓名
private String studentName;
//电话
private String phone;
//性别
private String sex;
//地址
private String address;
public String getXh() {return xh;}
public void setXh(String xh) {this.xh = xh;}
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 getPhone() {return phone;}
public void setPhone(String phone) {this.phone = phone;}
public String getSex() {return sex;}
public void setSex(String sex) {this.sex = sex;}
public String 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 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 jsbh;
//姓名
private String teacherName;
//电话
private String phone;
//性别
private String sex;
//地址
private String address;
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 getJsbh() {return jsbh;}
public void setJsbh(String jsbh) {this.jsbh = jsbh;}
public String getTeacherName() {return teacherName;}
public void setTeacherName(String teacherName) {this.teacherName = teacherName;}
public String getPhone() {return phone;}
public void setPhone(String phone) {this.phone = phone;}
public String getSex() {return sex;}
public void setSex(String sex) {this.sex = sex;}
public String 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 Tui  extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//学生
private Integer studentId;
//费用
private Integer fee;
public Integer getStudentId() {return studentId;}
public void setStudentId(Integer studentId) {this.studentId = studentId;}
public Integer getFee() {return fee;}
public void setFee(Integer fee) {this.fee = fee;}
}

学期javaBean创建语句如下:


package project.model;
import org.springframework.format.annotation.DateTimeFormat;
import java.util.Date;

//学期
public class Xq  extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//学期
private String title;
public String getTitle() {return title;}
public void setTitle(String title) {this.title = title;}
}

源代码下载点这里

评论