更多成品,定做java毕业设计,请咨询管理员qq:2812491287

教务系统中生活服务模块的设计与实现

教务系统中生活服务模块的设计与实现登录注册界面

教务系统中生活服务模块的设计与实现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_bc(
	id int primary key auto_increment comment '主键',
	title varchar(100) comment '班车号',
	sjd varchar(100) comment '时间段',
	bcxl varchar(100) comment '班车线路',
	lxdh varchar(100) comment '联系电话'
) comment '班车';

部门信息表创建语句如下:


create table t_bmbg(
	id int primary key auto_increment comment '主键',
	title varchar(100) comment '部门',
	fzr varchar(100) comment '负责人',
	lxdh varchar(100) comment '联系电话',
	content varchar(100) comment '备注'
) comment '部门信息';

成绩复核申请表创建语句如下:


create table t_cjfh(
	id int primary key auto_increment comment '主键',
	customerId int comment '用户',
	title varchar(100) comment '申请课程',
	content varchar(100) comment '申请说明',
	status varchar(100) comment '状态',
	insertDate datetime comment '申请日期',
	back 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 '姓名',
	headPic varchar(100) comment '头像',
	phone varchar(100) comment '电话',
	age varchar(100) comment '年龄',
	sex varchar(100) comment '性别',
	xh varchar(100) comment '学号工号',
	js varchar(100) comment '角色'
) comment '用户';

公告表创建语句如下:


create table t_gg(
	id int primary key auto_increment comment '主键',
	title varchar(100) comment '标题',
	showDate datetime comment '公告日期',
	pic varchar(100) comment '图片',
	content varchar(100) comment '公告内容'
) comment '公告';

教材申请表创建语句如下:


create table t_jcsq(
	id int primary key auto_increment comment '主键',
	customerId int comment '用户',
	title varchar(100) comment '教材名称',
	zz varchar(100) comment '作者',
	content varchar(100) comment '申请说明',
	status varchar(100) comment '状态',
	insertDate datetime comment '申请日期',
	back varchar(100) comment '回复'
) comment '教材申请';

教材预定表创建语句如下:


create table t_jcyd(
	id int primary key auto_increment comment '主键',
	customerId int comment '用户',
	jcsqId int comment '教材',
	insertDate datetime comment '发起日期'
) comment '教材预定';

教室申请表创建语句如下:


create table t_jssq(
	id int primary key auto_increment comment '主键',
	customerId int comment '用户',
	title varchar(100) comment '标题',
	content varchar(100) comment '申请说明',
	sqjs varchar(100) comment '申请教室',
	status varchar(100) comment '状态',
	insertDate datetime comment '申请日期',
	back varchar(100) comment '回复'
) comment '教室申请';

失物招领表创建语句如下:


create table t_swzl(
	id int primary key auto_increment comment '主键',
	customerId int comment '用户',
	types varchar(100) comment '类型',
	title varchar(100) comment '标题',
	pic varchar(100) comment '图片',
	content varchar(100) comment '详细说明',
	showDate datetime comment '日期',
	lxdh varchar(100) comment '联系电话'
) comment '失物招领';

通知表创建语句如下:


create table t_tongzhi(
	id int primary key auto_increment comment '主键',
	customerId int comment '用户',
	title varchar(100) comment '标题',
	insertDate datetime comment '通知日期',
	content 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_bc(
	id integer,
	title varchar(100),
	sjd varchar(100),
	bcxl varchar(100),
	lxdh varchar(100)
);
--班车字段加注释
comment on column t_bc.id is '主键';
comment on column t_bc.title is '班车号';
comment on column t_bc.sjd is '时间段';
comment on column t_bc.bcxl is '班车线路';
comment on column t_bc.lxdh is '联系电话';
--班车表加注释
comment on table t_bc is '班车';

部门信息表创建语句如下:


create table t_bmbg(
	id integer,
	title varchar(100),
	fzr varchar(100),
	lxdh varchar(100),
	content varchar(100)
);
--部门信息字段加注释
comment on column t_bmbg.id is '主键';
comment on column t_bmbg.title is '部门';
comment on column t_bmbg.fzr is '负责人';
comment on column t_bmbg.lxdh is '联系电话';
comment on column t_bmbg.content is '备注';
--部门信息表加注释
comment on table t_bmbg is '部门信息';

成绩复核申请表创建语句如下:


create table t_cjfh(
	id integer,
	customerId int,
	title varchar(100),
	content varchar(100),
	status varchar(100),
	insertDate datetime,
	back varchar(100)
);
--成绩复核申请字段加注释
comment on column t_cjfh.id is '主键';
comment on column t_cjfh.customerId is '用户';
comment on column t_cjfh.title is '申请课程';
comment on column t_cjfh.content is '申请说明';
comment on column t_cjfh.status is '状态';
comment on column t_cjfh.insertDate is '申请日期';
comment on column t_cjfh.back is '回复';
--成绩复核申请表加注释
comment on table t_cjfh is '成绩复核申请';

用户表创建语句如下:


create table t_customer(
	id integer,
	username varchar(100),
	password varchar(100),
	customerName varchar(100),
	headPic varchar(100),
	phone varchar(100),
	age varchar(100),
	sex varchar(100),
	xh 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.headPic is '头像';
comment on column t_customer.phone is '电话';
comment on column t_customer.age is '年龄';
comment on column t_customer.sex is '性别';
comment on column t_customer.xh is '学号工号';
comment on column t_customer.js is '角色';
--用户表加注释
comment on table t_customer is '用户';

公告表创建语句如下:


create table t_gg(
	id integer,
	title varchar(100),
	showDate datetime,
	pic varchar(100),
	content varchar(100)
);
--公告字段加注释
comment on column t_gg.id is '主键';
comment on column t_gg.title is '标题';
comment on column t_gg.showDate is '公告日期';
comment on column t_gg.pic is '图片';
comment on column t_gg.content is '公告内容';
--公告表加注释
comment on table t_gg is '公告';

教材申请表创建语句如下:


create table t_jcsq(
	id integer,
	customerId int,
	title varchar(100),
	zz varchar(100),
	content varchar(100),
	status varchar(100),
	insertDate datetime,
	back varchar(100)
);
--教材申请字段加注释
comment on column t_jcsq.id is '主键';
comment on column t_jcsq.customerId is '用户';
comment on column t_jcsq.title is '教材名称';
comment on column t_jcsq.zz is '作者';
comment on column t_jcsq.content is '申请说明';
comment on column t_jcsq.status is '状态';
comment on column t_jcsq.insertDate is '申请日期';
comment on column t_jcsq.back is '回复';
--教材申请表加注释
comment on table t_jcsq is '教材申请';

教材预定表创建语句如下:


create table t_jcyd(
	id integer,
	customerId int,
	jcsqId int,
	insertDate datetime
);
--教材预定字段加注释
comment on column t_jcyd.id is '主键';
comment on column t_jcyd.customerId is '用户';
comment on column t_jcyd.jcsqId is '教材';
comment on column t_jcyd.insertDate is '发起日期';
--教材预定表加注释
comment on table t_jcyd is '教材预定';

教室申请表创建语句如下:


create table t_jssq(
	id integer,
	customerId int,
	title varchar(100),
	content varchar(100),
	sqjs varchar(100),
	status varchar(100),
	insertDate datetime,
	back varchar(100)
);
--教室申请字段加注释
comment on column t_jssq.id is '主键';
comment on column t_jssq.customerId is '用户';
comment on column t_jssq.title is '标题';
comment on column t_jssq.content is '申请说明';
comment on column t_jssq.sqjs is '申请教室';
comment on column t_jssq.status is '状态';
comment on column t_jssq.insertDate is '申请日期';
comment on column t_jssq.back is '回复';
--教室申请表加注释
comment on table t_jssq is '教室申请';

失物招领表创建语句如下:


create table t_swzl(
	id integer,
	customerId int,
	types varchar(100),
	title varchar(100),
	pic varchar(100),
	content varchar(100),
	showDate datetime,
	lxdh varchar(100)
);
--失物招领字段加注释
comment on column t_swzl.id is '主键';
comment on column t_swzl.customerId is '用户';
comment on column t_swzl.types is '类型';
comment on column t_swzl.title is '标题';
comment on column t_swzl.pic is '图片';
comment on column t_swzl.content is '详细说明';
comment on column t_swzl.showDate is '日期';
comment on column t_swzl.lxdh is '联系电话';
--失物招领表加注释
comment on table t_swzl is '失物招领';

通知表创建语句如下:


create table t_tongzhi(
	id integer,
	customerId int,
	title varchar(100),
	insertDate datetime,
	content varchar(100)
);
--通知字段加注释
comment on column t_tongzhi.id is '主键';
comment on column t_tongzhi.customerId is '用户';
comment on column t_tongzhi.title is '标题';
comment on column t_tongzhi.insertDate is '通知日期';
comment on column t_tongzhi.content is '通知内容';
--通知表加注释
comment on table t_tongzhi is '通知';

oracle特有,对应序列如下:


create sequence s_t_bc;
create sequence s_t_bmbg;
create sequence s_t_cjfh;
create sequence s_t_customer;
create sequence s_t_gg;
create sequence s_t_jcsq;
create sequence s_t_jcyd;
create sequence s_t_jssq;
create sequence s_t_swzl;
create sequence s_t_tongzhi;

教务系统中生活服务模块的设计与实现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_bc(
	id int identity(1,1) primary key not null,--主键
	title varchar(100),--班车号
	sjd varchar(100),--时间段
	bcxl varchar(100),--班车线路
	lxdh varchar(100)--联系电话
);

部门信息表创建语句如下:


--部门信息表注释
create table t_bmbg(
	id int identity(1,1) primary key not null,--主键
	title varchar(100),--部门
	fzr varchar(100),--负责人
	lxdh varchar(100),--联系电话
	content varchar(100)--备注
);

成绩复核申请表创建语句如下:


--成绩复核申请表注释
create table t_cjfh(
	id int identity(1,1) primary key not null,--主键
	customerId int,--用户
	title varchar(100),--申请课程
	content varchar(100),--申请说明
	status varchar(100),--状态
	insertDate datetime,--申请日期
	back varchar(100)--回复
);

用户表创建语句如下:


--用户表注释
create table t_customer(
	id int identity(1,1) primary key not null,--主键
	username varchar(100),--账号
	password varchar(100),--密码
	customerName varchar(100),--姓名
	headPic varchar(100),--头像
	phone varchar(100),--电话
	age varchar(100),--年龄
	sex varchar(100),--性别
	xh varchar(100),--学号工号
	js varchar(100)--角色
);

公告表创建语句如下:


--公告表注释
create table t_gg(
	id int identity(1,1) primary key not null,--主键
	title varchar(100),--标题
	showDate datetime,--公告日期
	pic varchar(100),--图片
	content varchar(100)--公告内容
);

教材申请表创建语句如下:


--教材申请表注释
create table t_jcsq(
	id int identity(1,1) primary key not null,--主键
	customerId int,--用户
	title varchar(100),--教材名称
	zz varchar(100),--作者
	content varchar(100),--申请说明
	status varchar(100),--状态
	insertDate datetime,--申请日期
	back varchar(100)--回复
);

教材预定表创建语句如下:


--教材预定表注释
create table t_jcyd(
	id int identity(1,1) primary key not null,--主键
	customerId int,--用户
	jcsqId int,--教材
	insertDate datetime--发起日期
);

教室申请表创建语句如下:


--教室申请表注释
create table t_jssq(
	id int identity(1,1) primary key not null,--主键
	customerId int,--用户
	title varchar(100),--标题
	content varchar(100),--申请说明
	sqjs varchar(100),--申请教室
	status varchar(100),--状态
	insertDate datetime,--申请日期
	back varchar(100)--回复
);

失物招领表创建语句如下:


--失物招领表注释
create table t_swzl(
	id int identity(1,1) primary key not null,--主键
	customerId int,--用户
	types varchar(100),--类型
	title varchar(100),--标题
	pic varchar(100),--图片
	content varchar(100),--详细说明
	showDate datetime,--日期
	lxdh varchar(100)--联系电话
);

通知表创建语句如下:


--通知表注释
create table t_tongzhi(
	id int identity(1,1) primary key not null,--主键
	customerId int,--用户
	title varchar(100),--标题
	insertDate datetime,--通知日期
	content 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_bc")
public class Bc {
//主键
@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 sjd;
//班车线路
private String bcxl;
//联系电话
private String lxdh;
public String getTitle() {return title;}
public void setTitle(String title) {this.title = title;}
public String getSjd() {return sjd;}
public void setSjd(String sjd) {this.sjd = sjd;}
public String getBcxl() {return bcxl;}
public void setBcxl(String bcxl) {this.bcxl = bcxl;}
public String getLxdh() {return lxdh;}
public void setLxdh(String lxdh) {this.lxdh = lxdh;}
}

部门信息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_bmbg")
public class Bmbg {
//主键
@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 fzr;
//联系电话
private String lxdh;
//备注
private String content;
public String getTitle() {return title;}
public void setTitle(String title) {this.title = title;}
public String getFzr() {return fzr;}
public void setFzr(String fzr) {this.fzr = fzr;}
public String getLxdh() {return lxdh;}
public void setLxdh(String lxdh) {this.lxdh = lxdh;}
public String getContent() {return content;}
public void setContent(String content) {this.content = content;}
}

成绩复核申请javaBean创建语句如下:


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

//成绩复核申请
@Table(name = "t_cjfh")
public class Cjfh {
//主键
@Id
@Column(name = "id")
@GeneratedValue(strategy = GenerationType.IDENTITY)
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//用户
private Integer customerId;
//申请课程
private String title;
//申请说明
private String content;
//状态
private String status;
//申请日期
private Date insertDate;
//回复
private String back;
public Integer getCustomerId() {return customerId;}
public void setCustomerId(Integer customerId) {this.customerId = customerId;}
public String getTitle() {return title;}
public void setTitle(String title) {this.title = title;}
public String getContent() {return content;}
public void setContent(String content) {this.content = content;}
public String getStatus() {return status;}
public void setStatus(String status) {this.status = status;}
public Date getInsertDate() {return insertDate;}
public void setInsertDate(Date insertDate) {this.insertDate = insertDate;}
public String getBack() {return back;}
public void setBack(String back) {this.back = back;}
}

用户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 headPic;
//电话
private String phone;
//年龄
private String age;
//性别
private String sex;
//学号工号
private String xh;
//角色
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 getHeadPic() {return headPic;}
public void setHeadPic(String headPic) {this.headPic = headPic;}
public String getPhone() {return phone;}
public void setPhone(String phone) {this.phone = phone;}
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 getXh() {return xh;}
public void setXh(String xh) {this.xh = xh;}
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_gg")
public class Gg {
//主键
@Id
@Column(name = "id")
@GeneratedValue(strategy = GenerationType.IDENTITY)
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//标题
private String title;
//公告日期
private Date showDate;
//图片
private String pic;
//公告内容
private String content;
public String getTitle() {return title;}
public void setTitle(String title) {this.title = title;}
public Date getShowDate() {return showDate;}
public void setShowDate(Date showDate) {this.showDate = showDate;}
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;}
}

教材申请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_jcsq")
public class Jcsq {
//主键
@Id
@Column(name = "id")
@GeneratedValue(strategy = GenerationType.IDENTITY)
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//用户
private Integer customerId;
//教材名称
private String title;
//作者
private String zz;
//申请说明
private String content;
//状态
private String status;
//申请日期
private Date insertDate;
//回复
private String back;
public Integer getCustomerId() {return customerId;}
public void setCustomerId(Integer customerId) {this.customerId = customerId;}
public String getTitle() {return title;}
public void setTitle(String title) {this.title = title;}
public String getZz() {return zz;}
public void setZz(String zz) {this.zz = zz;}
public String getContent() {return content;}
public void setContent(String content) {this.content = content;}
public String getStatus() {return status;}
public void setStatus(String status) {this.status = status;}
public Date getInsertDate() {return insertDate;}
public void setInsertDate(Date insertDate) {this.insertDate = insertDate;}
public String getBack() {return back;}
public void setBack(String back) {this.back = back;}
}

教材预定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_jcyd")
public class Jcyd {
//主键
@Id
@Column(name = "id")
@GeneratedValue(strategy = GenerationType.IDENTITY)
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//用户
private Integer customerId;
//教材
private Integer jcsqId;
//发起日期
private Date insertDate;
public Integer getCustomerId() {return customerId;}
public void setCustomerId(Integer customerId) {this.customerId = customerId;}
public Integer getJcsqId() {return jcsqId;}
public void setJcsqId(Integer jcsqId) {this.jcsqId = jcsqId;}
public Date getInsertDate() {return insertDate;}
public void setInsertDate(Date insertDate) {this.insertDate = insertDate;}
}

教室申请javaBean创建语句如下:


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

//教室申请
@Table(name = "t_jssq")
public class Jssq {
//主键
@Id
@Column(name = "id")
@GeneratedValue(strategy = GenerationType.IDENTITY)
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//用户
private Integer customerId;
//标题
private String title;
//申请说明
private String content;
//申请教室
private String sqjs;
//状态
private String status;
//申请日期
private Date insertDate;
//回复
private String back;
public Integer getCustomerId() {return customerId;}
public void setCustomerId(Integer customerId) {this.customerId = customerId;}
public String getTitle() {return title;}
public void setTitle(String title) {this.title = title;}
public String getContent() {return content;}
public void setContent(String content) {this.content = content;}
public String getSqjs() {return sqjs;}
public void setSqjs(String sqjs) {this.sqjs = sqjs;}
public String getStatus() {return status;}
public void setStatus(String status) {this.status = status;}
public Date getInsertDate() {return insertDate;}
public void setInsertDate(Date insertDate) {this.insertDate = insertDate;}
public String getBack() {return back;}
public void setBack(String back) {this.back = back;}
}

失物招领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_swzl")
public class Swzl {
//主键
@Id
@Column(name = "id")
@GeneratedValue(strategy = GenerationType.IDENTITY)
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//用户
private Integer customerId;
//类型
private String types;
//标题
private String title;
//图片
private String pic;
//详细说明
private String content;
//日期
private Date showDate;
//联系电话
private String lxdh;
public Integer getCustomerId() {return customerId;}
public void setCustomerId(Integer customerId) {this.customerId = customerId;}
public String getTypes() {return types;}
public void setTypes(String types) {this.types = types;}
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;}
public String getLxdh() {return lxdh;}
public void setLxdh(String lxdh) {this.lxdh = lxdh;}
}

通知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_tongzhi")
public class Tongzhi {
//主键
@Id
@Column(name = "id")
@GeneratedValue(strategy = GenerationType.IDENTITY)
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//用户
private Integer customerId;
//标题
private String title;
//通知日期
private Date insertDate;
//通知内容
private String content;
public Integer getCustomerId() {return customerId;}
public void setCustomerId(Integer customerId) {this.customerId = customerId;}
public String getTitle() {return title;}
public void setTitle(String title) {this.title = title;}
public Date getInsertDate() {return insertDate;}
public void setInsertDate(Date insertDate) {this.insertDate = insertDate;}
public String getContent() {return content;}
public void setContent(String content) {this.content = content;}
}

教务系统中生活服务模块的设计与实现spring+springMVC+mybatis框架对象(javaBean,pojo)设计:

班车javaBean创建语句如下:


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

//班车
public class Bc  extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//班车号
private String title;
//时间段
private String sjd;
//班车线路
private String bcxl;
//联系电话
private String lxdh;
public String getTitle() {return title;}
public void setTitle(String title) {this.title = title;}
public String getSjd() {return sjd;}
public void setSjd(String sjd) {this.sjd = sjd;}
public String getBcxl() {return bcxl;}
public void setBcxl(String bcxl) {this.bcxl = bcxl;}
public String getLxdh() {return lxdh;}
public void setLxdh(String lxdh) {this.lxdh = lxdh;}
}

部门信息javaBean创建语句如下:


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

//部门信息
public class Bmbg  extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//部门
private String title;
//负责人
private String fzr;
//联系电话
private String lxdh;
//备注
private String content;
public String getTitle() {return title;}
public void setTitle(String title) {this.title = title;}
public String getFzr() {return fzr;}
public void setFzr(String fzr) {this.fzr = fzr;}
public String getLxdh() {return lxdh;}
public void setLxdh(String lxdh) {this.lxdh = lxdh;}
public String getContent() {return content;}
public void setContent(String content) {this.content = content;}
}

成绩复核申请javaBean创建语句如下:


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

//成绩复核申请
public class Cjfh  extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//用户
private Integer customerId;
//申请课程
private String title;
//申请说明
private String content;
//状态
private String status;
//申请日期
private Date insertDate;
//回复
private String back;
public Integer getCustomerId() {return customerId;}
public void setCustomerId(Integer customerId) {this.customerId = customerId;}
public String getTitle() {return title;}
public void setTitle(String title) {this.title = title;}
public String getContent() {return content;}
public void setContent(String content) {this.content = content;}
public String getStatus() {return status;}
public void setStatus(String status) {this.status = status;}
public Date getInsertDate() {return insertDate;}
public void setInsertDate(Date insertDate) {this.insertDate = insertDate;}
public String getBack() {return back;}
public void setBack(String back) {this.back = back;}
}

用户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 headPic;
//电话
private String phone;
//年龄
private String age;
//性别
private String sex;
//学号工号
private String xh;
//角色
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 getHeadPic() {return headPic;}
public void setHeadPic(String headPic) {this.headPic = headPic;}
public String getPhone() {return phone;}
public void setPhone(String phone) {this.phone = phone;}
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 getXh() {return xh;}
public void setXh(String xh) {this.xh = xh;}
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 Gg  extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//标题
private String title;
//公告日期
private Date showDate;
//图片
private String pic;
//公告内容
private String content;
public String getTitle() {return title;}
public void setTitle(String title) {this.title = title;}
public Date getShowDate() {return showDate;}
public void setShowDate(Date showDate) {this.showDate = showDate;}
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;}
}

教材申请javaBean创建语句如下:


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

//教材申请
public class Jcsq  extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//用户
private Integer customerId;
//教材名称
private String title;
//作者
private String zz;
//申请说明
private String content;
//状态
private String status;
//申请日期
private Date insertDate;
//回复
private String back;
public Integer getCustomerId() {return customerId;}
public void setCustomerId(Integer customerId) {this.customerId = customerId;}
public String getTitle() {return title;}
public void setTitle(String title) {this.title = title;}
public String getZz() {return zz;}
public void setZz(String zz) {this.zz = zz;}
public String getContent() {return content;}
public void setContent(String content) {this.content = content;}
public String getStatus() {return status;}
public void setStatus(String status) {this.status = status;}
public Date getInsertDate() {return insertDate;}
public void setInsertDate(Date insertDate) {this.insertDate = insertDate;}
public String getBack() {return back;}
public void setBack(String back) {this.back = back;}
}

教材预定javaBean创建语句如下:


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

//教材预定
public class Jcyd  extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//用户
private Integer customerId;
//教材
private Integer jcsqId;
//发起日期
private Date insertDate;
public Integer getCustomerId() {return customerId;}
public void setCustomerId(Integer customerId) {this.customerId = customerId;}
public Integer getJcsqId() {return jcsqId;}
public void setJcsqId(Integer jcsqId) {this.jcsqId = jcsqId;}
public Date getInsertDate() {return insertDate;}
public void setInsertDate(Date insertDate) {this.insertDate = insertDate;}
}

教室申请javaBean创建语句如下:


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

//教室申请
public class Jssq  extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//用户
private Integer customerId;
//标题
private String title;
//申请说明
private String content;
//申请教室
private String sqjs;
//状态
private String status;
//申请日期
private Date insertDate;
//回复
private String back;
public Integer getCustomerId() {return customerId;}
public void setCustomerId(Integer customerId) {this.customerId = customerId;}
public String getTitle() {return title;}
public void setTitle(String title) {this.title = title;}
public String getContent() {return content;}
public void setContent(String content) {this.content = content;}
public String getSqjs() {return sqjs;}
public void setSqjs(String sqjs) {this.sqjs = sqjs;}
public String getStatus() {return status;}
public void setStatus(String status) {this.status = status;}
public Date getInsertDate() {return insertDate;}
public void setInsertDate(Date insertDate) {this.insertDate = insertDate;}
public String getBack() {return back;}
public void setBack(String back) {this.back = back;}
}

失物招领javaBean创建语句如下:


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

//失物招领
public class Swzl  extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//用户
private Integer customerId;
//类型
private String types;
//标题
private String title;
//图片
private String pic;
//详细说明
private String content;
//日期
private Date showDate;
//联系电话
private String lxdh;
public Integer getCustomerId() {return customerId;}
public void setCustomerId(Integer customerId) {this.customerId = customerId;}
public String getTypes() {return types;}
public void setTypes(String types) {this.types = types;}
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;}
public String getLxdh() {return lxdh;}
public void setLxdh(String lxdh) {this.lxdh = lxdh;}
}

通知javaBean创建语句如下:


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

//通知
public class Tongzhi  extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//用户
private Integer customerId;
//标题
private String title;
//通知日期
private Date insertDate;
//通知内容
private String content;
public Integer getCustomerId() {return customerId;}
public void setCustomerId(Integer customerId) {this.customerId = customerId;}
public String getTitle() {return title;}
public void setTitle(String title) {this.title = title;}
public Date getInsertDate() {return insertDate;}
public void setInsertDate(Date insertDate) {this.insertDate = insertDate;}
public String getContent() {return content;}
public void setContent(String content) {this.content = content;}
}

评论