基于ssm的校园宿舍资产管理系统

基于SSM的校园宿舍资产管理

宿舍资产:

空调、衣柜、床、窗户、窗帘、衣柜、凳子、抽水马桶

违规大功率电器:吹风机,电暖宝,电热锅

功能模块:

学生功能:登录、(密码登录-修改登录密码,忘记密码(弹出管理员电话联系方式或线上申请密码重置))

管理员功能:

系统后台管理:增/删/改系统用户信息(包含登录密码的初始化),新增用户并为用户分配登录名和登录密码

 

学生功能:

  • 宿舍资产报修:填写维修申请,查看申请状态

申请表内容:楼号、宿舍号、报修人、报修物、损坏数量、申请时间

2.催促维修;

管理员功能:

1.审核维修信息(通过/不通过),电话联系维修人员

2.资产维修记录

 

基于ssm的校园宿舍资产管理系统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_cgrk(
	id int primary key auto_increment comment '主键',
	types varchar(100) comment '物品',
	jg int comment '价格',
	sl int comment '数量',
	zj int comment '总价',
	gg varchar(100) comment '规格',
	rq datetime comment '日期'
) comment '采购入库';

学生表创建语句如下:


create table t_student(
	id int primary key auto_increment comment '主键',
	username varchar(100) comment '学号',
	password varchar(100) comment '密码',
	studentName varchar(100) comment '姓名',
	phone varchar(100) comment '电话',
	age varchar(100) comment '年龄',
	sex varchar(100) comment '性别',
	address varchar(100) comment '地址'
) comment '学生';

违规电器处理表创建语句如下:


create table t_wgdqcl(
	id int primary key auto_increment comment '主键',
	lh varchar(100) comment '楼号',
	ssh varchar(100) comment '宿舍号',
	wgdq varchar(100) comment '违规电器',
	status varchar(100) comment '状态'
) comment '违规电器处理';

维修出库表创建语句如下:


create table t_wxck(
	id int primary key auto_increment comment '主键',
	types varchar(100) comment '物品',
	sl int comment '数量',
	rq datetime comment '日期'
) comment '维修出库';

信息表创建语句如下:


create table t_xx(
	id int primary key auto_increment comment '主键',
	xxName varchar(100) comment '信息标题',
	pic varchar(100) comment '图片',
	showDate datetime comment '信息日期',
	content varchar(100) comment '详细内容'
) comment '信息';

资产报修表创建语句如下:


create table t_zcbx(
	id int primary key auto_increment comment '主键',
	studentId int comment '学生',
	lh varchar(100) comment '楼号',
	ssh varchar(100) comment '宿舍号',
	bxr varchar(100) comment '报修人',
	bxw varchar(100) comment '报修物',
	shsl int comment '损坏数量',
	sqsj datetime comment '申请时间',
	cc varchar(100) comment '催促',
	status varchar(100) comment '状态'
) comment '资产报修';

资产改善建议表创建语句如下:


create table t_zcgsjy(
	id int primary key auto_increment comment '主键',
	studentId int comment '学生',
	title varchar(100) comment '标题',
	pic varchar(100) comment '图片',
	fileUrl varchar(100) comment '文件',
	status varchar(100) comment '状态',
	content varchar(100) comment '反馈'
) comment '资产改善建议';

基于ssm的校园宿舍资产管理系统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_cgrk(
	id integer,
	types varchar(100),
	jg int,
	sl int,
	zj int,
	gg varchar(100),
	rq datetime
);
--采购入库字段加注释
comment on column t_cgrk.id is '主键';
comment on column t_cgrk.types is '物品';
comment on column t_cgrk.jg is '价格';
comment on column t_cgrk.sl is '数量';
comment on column t_cgrk.zj is '总价';
comment on column t_cgrk.gg is '规格';
comment on column t_cgrk.rq is '日期';
--采购入库表加注释
comment on table t_cgrk is '采购入库';

学生表创建语句如下:


create table t_student(
	id integer,
	username varchar(100),
	password varchar(100),
	studentName varchar(100),
	phone varchar(100),
	age varchar(100),
	sex varchar(100),
	address varchar(100)
);
--学生字段加注释
comment on column t_student.id is '主键';
comment on column t_student.username is '学号';
comment on column t_student.password is '密码';
comment on column t_student.studentName is '姓名';
comment on column t_student.phone is '电话';
comment on column t_student.age is '年龄';
comment on column t_student.sex is '性别';
comment on column t_student.address is '地址';
--学生表加注释
comment on table t_student is '学生';

违规电器处理表创建语句如下:


create table t_wgdqcl(
	id integer,
	lh varchar(100),
	ssh varchar(100),
	wgdq varchar(100),
	status varchar(100)
);
--违规电器处理字段加注释
comment on column t_wgdqcl.id is '主键';
comment on column t_wgdqcl.lh is '楼号';
comment on column t_wgdqcl.ssh is '宿舍号';
comment on column t_wgdqcl.wgdq is '违规电器';
comment on column t_wgdqcl.status is '状态';
--违规电器处理表加注释
comment on table t_wgdqcl is '违规电器处理';

维修出库表创建语句如下:


create table t_wxck(
	id integer,
	types varchar(100),
	sl int,
	rq datetime
);
--维修出库字段加注释
comment on column t_wxck.id is '主键';
comment on column t_wxck.types is '物品';
comment on column t_wxck.sl is '数量';
comment on column t_wxck.rq is '日期';
--维修出库表加注释
comment on table t_wxck is '维修出库';

信息表创建语句如下:


create table t_xx(
	id integer,
	xxName varchar(100),
	pic varchar(100),
	showDate datetime,
	content varchar(100)
);
--信息字段加注释
comment on column t_xx.id is '主键';
comment on column t_xx.xxName is '信息标题';
comment on column t_xx.pic is '图片';
comment on column t_xx.showDate is '信息日期';
comment on column t_xx.content is '详细内容';
--信息表加注释
comment on table t_xx is '信息';

资产报修表创建语句如下:


create table t_zcbx(
	id integer,
	studentId int,
	lh varchar(100),
	ssh varchar(100),
	bxr varchar(100),
	bxw varchar(100),
	shsl int,
	sqsj datetime,
	cc varchar(100),
	status varchar(100)
);
--资产报修字段加注释
comment on column t_zcbx.id is '主键';
comment on column t_zcbx.studentId is '学生';
comment on column t_zcbx.lh is '楼号';
comment on column t_zcbx.ssh is '宿舍号';
comment on column t_zcbx.bxr is '报修人';
comment on column t_zcbx.bxw is '报修物';
comment on column t_zcbx.shsl is '损坏数量';
comment on column t_zcbx.sqsj is '申请时间';
comment on column t_zcbx.cc is '催促';
comment on column t_zcbx.status is '状态';
--资产报修表加注释
comment on table t_zcbx is '资产报修';

资产改善建议表创建语句如下:


create table t_zcgsjy(
	id integer,
	studentId int,
	title varchar(100),
	pic varchar(100),
	fileUrl varchar(100),
	status varchar(100),
	content varchar(100)
);
--资产改善建议字段加注释
comment on column t_zcgsjy.id is '主键';
comment on column t_zcgsjy.studentId is '学生';
comment on column t_zcgsjy.title is '标题';
comment on column t_zcgsjy.pic is '图片';
comment on column t_zcgsjy.fileUrl is '文件';
comment on column t_zcgsjy.status is '状态';
comment on column t_zcgsjy.content is '反馈';
--资产改善建议表加注释
comment on table t_zcgsjy is '资产改善建议';

oracle特有,对应序列如下:


create sequence s_t_cgrk;
create sequence s_t_student;
create sequence s_t_wgdqcl;
create sequence s_t_wxck;
create sequence s_t_xx;
create sequence s_t_zcbx;
create sequence s_t_zcgsjy;

基于ssm的校园宿舍资产管理系统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_cgrk(
	id int identity(1,1) primary key not null,--主键
	types varchar(100),--物品
	jg int,--价格
	sl int,--数量
	zj int,--总价
	gg varchar(100),--规格
	rq datetime--日期
);

学生表创建语句如下:


--学生表注释
create table t_student(
	id int identity(1,1) primary key not null,--主键
	username varchar(100),--学号
	password varchar(100),--密码
	studentName varchar(100),--姓名
	phone varchar(100),--电话
	age varchar(100),--年龄
	sex varchar(100),--性别
	address varchar(100)--地址
);

违规电器处理表创建语句如下:


--违规电器处理表注释
create table t_wgdqcl(
	id int identity(1,1) primary key not null,--主键
	lh varchar(100),--楼号
	ssh varchar(100),--宿舍号
	wgdq varchar(100),--违规电器
	status varchar(100)--状态
);

维修出库表创建语句如下:


--维修出库表注释
create table t_wxck(
	id int identity(1,1) primary key not null,--主键
	types varchar(100),--物品
	sl int,--数量
	rq datetime--日期
);

信息表创建语句如下:


--信息表注释
create table t_xx(
	id int identity(1,1) primary key not null,--主键
	xxName varchar(100),--信息标题
	pic varchar(100),--图片
	showDate datetime,--信息日期
	content varchar(100)--详细内容
);

资产报修表创建语句如下:


--资产报修表注释
create table t_zcbx(
	id int identity(1,1) primary key not null,--主键
	studentId int,--学生
	lh varchar(100),--楼号
	ssh varchar(100),--宿舍号
	bxr varchar(100),--报修人
	bxw varchar(100),--报修物
	shsl int,--损坏数量
	sqsj datetime,--申请时间
	cc varchar(100),--催促
	status varchar(100)--状态
);

资产改善建议表创建语句如下:


--资产改善建议表注释
create table t_zcgsjy(
	id int identity(1,1) primary key not null,--主键
	studentId int,--学生
	title varchar(100),--标题
	pic varchar(100),--图片
	fileUrl varchar(100),--文件
	status varchar(100),--状态
	content varchar(100)--反馈
);

基于ssm的校园宿舍资产管理系统登录后主页

基于ssm的校园宿舍资产管理系统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_cgrk")
public class Cgrk {
//主键
@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 jg;
//数量
private Integer sl;
//总价
private Integer zj;
//规格
private String gg;
//日期
private Date rq;
public String getTypes() {return types;}
public void setTypes(String types) {this.types = types;}
public Integer getJg() {return jg;}
public void setJg(Integer jg) {this.jg = jg;}
public Integer getSl() {return sl;}
public void setSl(Integer sl) {this.sl = sl;}
public Integer getZj() {return zj;}
public void setZj(Integer zj) {this.zj = zj;}
public String getGg() {return gg;}
public void setGg(String gg) {this.gg = gg;}
public Date getRq() {return rq;}
public void setRq(Date rq) {this.rq = rq;}
}

学生javaBean创建语句如下:


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

//学生
@Table(name = "t_student")
public class Student {
//主键
@Id
@Column(name = "id")
@GeneratedValue(strategy = GenerationType.IDENTITY)
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//学号
private String username;
//密码
private String password;
//姓名
private String studentName;
//电话
private String phone;
//年龄
private String age;
//性别
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 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 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 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_wgdqcl")
public class Wgdqcl {
//主键
@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 lh;
//宿舍号
private String ssh;
//违规电器
private String wgdq;
//状态
private String status;
public String getLh() {return lh;}
public void setLh(String lh) {this.lh = lh;}
public String getSsh() {return ssh;}
public void setSsh(String ssh) {this.ssh = ssh;}
public String getWgdq() {return wgdq;}
public void setWgdq(String wgdq) {this.wgdq = wgdq;}
public String getStatus() {return status;}
public void setStatus(String status) {this.status = status;}
}

维修出库javaBean创建语句如下:


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

//维修出库
@Table(name = "t_wxck")
public class Wxck {
//主键
@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 sl;
//日期
private Date rq;
public String getTypes() {return types;}
public void setTypes(String types) {this.types = types;}
public Integer getSl() {return sl;}
public void setSl(Integer sl) {this.sl = sl;}
public Date getRq() {return rq;}
public void setRq(Date rq) {this.rq = rq;}
}

信息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_xx")
public class Xx {
//主键
@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 xxName;
//图片
private String pic;
//信息日期
private Date showDate;
//详细内容
private String content;
public String getXxName() {return xxName;}
public void setXxName(String xxName) {this.xxName = xxName;}
public String getPic() {return pic;}
public void setPic(String pic) {this.pic = pic;}
public Date getShowDate() {return showDate;}
public void setShowDate(Date showDate) {this.showDate = showDate;}
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_zcbx")
public class Zcbx {
//主键
@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 String lh;
//宿舍号
private String ssh;
//报修人
private String bxr;
//报修物
private String bxw;
//损坏数量
private Integer shsl;
//申请时间
private Date sqsj;
//催促
private String cc;
//状态
private String status;
public Integer getStudentId() {return studentId;}
public void setStudentId(Integer studentId) {this.studentId = studentId;}
public String getLh() {return lh;}
public void setLh(String lh) {this.lh = lh;}
public String getSsh() {return ssh;}
public void setSsh(String ssh) {this.ssh = ssh;}
public String getBxr() {return bxr;}
public void setBxr(String bxr) {this.bxr = bxr;}
public String getBxw() {return bxw;}
public void setBxw(String bxw) {this.bxw = bxw;}
public Integer getShsl() {return shsl;}
public void setShsl(Integer shsl) {this.shsl = shsl;}
public Date getSqsj() {return sqsj;}
public void setSqsj(Date sqsj) {this.sqsj = sqsj;}
public String getCc() {return cc;}
public void setCc(String cc) {this.cc = cc;}
public String getStatus() {return status;}
public void setStatus(String status) {this.status = status;}
}

资产改善建议javaBean创建语句如下:


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

//资产改善建议
@Table(name = "t_zcgsjy")
public class Zcgsjy {
//主键
@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 String title;
//图片
private String pic;
//文件
private String fileUrl;
//状态
private String status;
//反馈
private String content;
public Integer getStudentId() {return studentId;}
public void setStudentId(Integer studentId) {this.studentId = studentId;}
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 getFileUrl() {return fileUrl;}
public void setFileUrl(String fileUrl) {this.fileUrl = fileUrl;}
public String getStatus() {return status;}
public void setStatus(String status) {this.status = status;}
public String getContent() {return content;}
public void setContent(String content) {this.content = content;}
}

基于ssm的校园宿舍资产管理系统spring+springMVC+mybatis框架对象(javaBean,pojo)设计:

采购入库javaBean创建语句如下:


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

//采购入库
public class Cgrk  extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//物品
private String types;
//价格
private Integer jg;
//数量
private Integer sl;
//总价
private Integer zj;
//规格
private String gg;
//日期
private Date rq;
public String getTypes() {return types;}
public void setTypes(String types) {this.types = types;}
public Integer getJg() {return jg;}
public void setJg(Integer jg) {this.jg = jg;}
public Integer getSl() {return sl;}
public void setSl(Integer sl) {this.sl = sl;}
public Integer getZj() {return zj;}
public void setZj(Integer zj) {this.zj = zj;}
public String getGg() {return gg;}
public void setGg(String gg) {this.gg = gg;}
public Date getRq() {return rq;}
public void setRq(Date rq) {this.rq = rq;}
}

学生javaBean创建语句如下:


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

//学生
public class Student  extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//学号
private String username;
//密码
private String password;
//姓名
private String studentName;
//电话
private String phone;
//年龄
private String age;
//性别
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 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 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 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 Wgdqcl  extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//楼号
private String lh;
//宿舍号
private String ssh;
//违规电器
private String wgdq;
//状态
private String status;
public String getLh() {return lh;}
public void setLh(String lh) {this.lh = lh;}
public String getSsh() {return ssh;}
public void setSsh(String ssh) {this.ssh = ssh;}
public String getWgdq() {return wgdq;}
public void setWgdq(String wgdq) {this.wgdq = wgdq;}
public String getStatus() {return status;}
public void setStatus(String status) {this.status = status;}
}

维修出库javaBean创建语句如下:


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

//维修出库
public class Wxck  extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//物品
private String types;
//数量
private Integer sl;
//日期
private Date rq;
public String getTypes() {return types;}
public void setTypes(String types) {this.types = types;}
public Integer getSl() {return sl;}
public void setSl(Integer sl) {this.sl = sl;}
public Date getRq() {return rq;}
public void setRq(Date rq) {this.rq = rq;}
}

信息javaBean创建语句如下:


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

//信息
public class Xx  extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//信息标题
private String xxName;
//图片
private String pic;
//信息日期
private Date showDate;
//详细内容
private String content;
public String getXxName() {return xxName;}
public void setXxName(String xxName) {this.xxName = xxName;}
public String getPic() {return pic;}
public void setPic(String pic) {this.pic = pic;}
public Date getShowDate() {return showDate;}
public void setShowDate(Date showDate) {this.showDate = showDate;}
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 Zcbx  extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//学生
private Integer studentId;
//楼号
private String lh;
//宿舍号
private String ssh;
//报修人
private String bxr;
//报修物
private String bxw;
//损坏数量
private Integer shsl;
//申请时间
private Date sqsj;
//催促
private String cc;
//状态
private String status;
public Integer getStudentId() {return studentId;}
public void setStudentId(Integer studentId) {this.studentId = studentId;}
public String getLh() {return lh;}
public void setLh(String lh) {this.lh = lh;}
public String getSsh() {return ssh;}
public void setSsh(String ssh) {this.ssh = ssh;}
public String getBxr() {return bxr;}
public void setBxr(String bxr) {this.bxr = bxr;}
public String getBxw() {return bxw;}
public void setBxw(String bxw) {this.bxw = bxw;}
public Integer getShsl() {return shsl;}
public void setShsl(Integer shsl) {this.shsl = shsl;}
public Date getSqsj() {return sqsj;}
public void setSqsj(Date sqsj) {this.sqsj = sqsj;}
public String getCc() {return cc;}
public void setCc(String cc) {this.cc = cc;}
public String getStatus() {return status;}
public void setStatus(String status) {this.status = status;}
}

资产改善建议javaBean创建语句如下:


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

//资产改善建议
public class Zcgsjy  extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//学生
private Integer studentId;
//标题
private String title;
//图片
private String pic;
//文件
private String fileUrl;
//状态
private String status;
//反馈
private String content;
public Integer getStudentId() {return studentId;}
public void setStudentId(Integer studentId) {this.studentId = studentId;}
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 getFileUrl() {return fileUrl;}
public void setFileUrl(String fileUrl) {this.fileUrl = fileUrl;}
public String getStatus() {return status;}
public void setStatus(String status) {this.status = status;}
public String getContent() {return content;}
public void setContent(String content) {this.content = content;}
}

源代码下载点这里

评论