智慧城市学院学生党员管理信息系统的设计与实现

智慧城市学院学生党员管理信息系统的设计与实现登录注册界面

智慧城市学院学生党员管理信息系统的设计与实现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_customer(
	id int primary key auto_increment comment '主键',
	username varchar(100) comment '账号',
	password varchar(100) comment '密码',
	customerName varchar(100) comment '姓名',
	headPic varchar(100) comment '头像',
	email varchar(100) comment '邮箱',
	phone varchar(100) comment '电话'
) comment '用户';

党员发展审批表创建语句如下:


create table t_dyfz(
	id int primary key auto_increment comment '主键',
	customerId int comment '用户',
	title varchar(100) comment '标题',
	content varchar(100) comment '内容',
	pic varchar(100) comment '图片',
	fileUlr varchar(100) comment '附件',
	insertDate datetime comment '发送日期',
	back varchar(100) comment '回复批注',
	hfr varchar(100) comment '回复人',
	hfsj datetime comment '回复时间',
	status varchar(100) comment '状态'
) comment '党员发展审批';

党支部转移表创建语句如下:


create table t_dyqy(
	id int primary key auto_increment comment '主键',
	customerId int comment '用户',
	v1 varchar(100) comment '之前支部',
	v2 varchar(100) comment '转以后支部',
	v3 varchar(100) comment '转移手续附件',
	v4 varchar(100) comment '转移手续拍照',
	remark varchar(100) comment '备注'
) comment '党支部转移';

党员信息表创建语句如下:


create table t_dyxx(
	id int primary key auto_increment comment '主键',
	customerId int comment '用户',
	v1 varchar(100) comment '姓名',
	v2 varchar(100) comment '性别',
	v3 varchar(100) comment '民族',
	v4 varchar(100) comment '身份证号',
	v5 varchar(100) comment '班级',
	v6 varchar(100) comment '手机号',
	v7 varchar(100) comment '邮箱',
	v8 datetime comment '入团时间',
	zy varchar(100) comment '专业',
	zbadminId int comment '支部'
) comment '党员信息';

公告表创建语句如下:


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

支部会议表创建语句如下:


create table t_hy(
	id int primary key auto_increment comment '主键',
	zbadminId int comment '支部',
	title varchar(100) comment '会议名称',
	address varchar(100) comment '会议地点',
	showDate datetime comment '日期',
	fj varchar(100) comment '附件'
) comment '支部会议';

支部考勤表创建语句如下:


create table t_kq(
	id int primary key auto_increment comment '主键',
	zbadminId int comment '支部',
	customerId int comment '用户',
	types varchar(100) comment '类型',
	title varchar(100) comment '考勤说明',
	showDate datetime comment '日期'
) comment '支部考勤';

党员思想汇报表创建语句如下:


create table t_sxhb(
	id int primary key auto_increment comment '主键',
	customerId int comment '用户',
	title varchar(100) comment '汇报标题',
	content varchar(100) comment '内容',
	pic varchar(100) comment '图片',
	insertDate datetime comment '汇报日期'
) comment '党员思想汇报';

支部管理员表创建语句如下:


create table t_zbadmin(
	id int primary key auto_increment comment '主键',
	username varchar(100) comment '账号',
	password varchar(100) comment '密码',
	zbadminName varchar(100) comment '负责人姓名',
	headPic varchar(100) comment '头像',
	email varchar(100) comment '邮箱',
	phone varchar(100) comment '电话',
	zy varchar(100) comment '专业',
	dzbName varchar(100) comment '支部名称',
	zbbgdd 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_customer(
	id integer,
	username varchar(100),
	password varchar(100),
	customerName varchar(100),
	headPic varchar(100),
	email varchar(100),
	phone 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.email is '邮箱';
comment on column t_customer.phone is '电话';
--用户表加注释
comment on table t_customer is '用户';

党员发展审批表创建语句如下:


create table t_dyfz(
	id integer,
	customerId int,
	title varchar(100),
	content varchar(100),
	pic varchar(100),
	fileUlr varchar(100),
	insertDate datetime,
	back varchar(100),
	hfr varchar(100),
	hfsj datetime,
	status varchar(100)
);
--党员发展审批字段加注释
comment on column t_dyfz.id is '主键';
comment on column t_dyfz.customerId is '用户';
comment on column t_dyfz.title is '标题';
comment on column t_dyfz.content is '内容';
comment on column t_dyfz.pic is '图片';
comment on column t_dyfz.fileUlr is '附件';
comment on column t_dyfz.insertDate is '发送日期';
comment on column t_dyfz.back is '回复批注';
comment on column t_dyfz.hfr is '回复人';
comment on column t_dyfz.hfsj is '回复时间';
comment on column t_dyfz.status is '状态';
--党员发展审批表加注释
comment on table t_dyfz is '党员发展审批';

党支部转移表创建语句如下:


create table t_dyqy(
	id integer,
	customerId int,
	v1 varchar(100),
	v2 varchar(100),
	v3 varchar(100),
	v4 varchar(100),
	remark varchar(100)
);
--党支部转移字段加注释
comment on column t_dyqy.id is '主键';
comment on column t_dyqy.customerId is '用户';
comment on column t_dyqy.v1 is '之前支部';
comment on column t_dyqy.v2 is '转以后支部';
comment on column t_dyqy.v3 is '转移手续附件';
comment on column t_dyqy.v4 is '转移手续拍照';
comment on column t_dyqy.remark is '备注';
--党支部转移表加注释
comment on table t_dyqy is '党支部转移';

党员信息表创建语句如下:


create table t_dyxx(
	id integer,
	customerId int,
	v1 varchar(100),
	v2 varchar(100),
	v3 varchar(100),
	v4 varchar(100),
	v5 varchar(100),
	v6 varchar(100),
	v7 varchar(100),
	v8 datetime,
	zy varchar(100),
	zbadminId int
);
--党员信息字段加注释
comment on column t_dyxx.id is '主键';
comment on column t_dyxx.customerId is '用户';
comment on column t_dyxx.v1 is '姓名';
comment on column t_dyxx.v2 is '性别';
comment on column t_dyxx.v3 is '民族';
comment on column t_dyxx.v4 is '身份证号';
comment on column t_dyxx.v5 is '班级';
comment on column t_dyxx.v6 is '手机号';
comment on column t_dyxx.v7 is '邮箱';
comment on column t_dyxx.v8 is '入团时间';
comment on column t_dyxx.zy is '专业';
comment on column t_dyxx.zbadminId is '支部';
--党员信息表加注释
comment on table t_dyxx is '党员信息';

公告表创建语句如下:


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

支部会议表创建语句如下:


create table t_hy(
	id integer,
	zbadminId int,
	title varchar(100),
	address varchar(100),
	showDate datetime,
	fj varchar(100)
);
--支部会议字段加注释
comment on column t_hy.id is '主键';
comment on column t_hy.zbadminId is '支部';
comment on column t_hy.title is '会议名称';
comment on column t_hy.address is '会议地点';
comment on column t_hy.showDate is '日期';
comment on column t_hy.fj is '附件';
--支部会议表加注释
comment on table t_hy is '支部会议';

支部考勤表创建语句如下:


create table t_kq(
	id integer,
	zbadminId int,
	customerId int,
	types varchar(100),
	title varchar(100),
	showDate datetime
);
--支部考勤字段加注释
comment on column t_kq.id is '主键';
comment on column t_kq.zbadminId is '支部';
comment on column t_kq.customerId is '用户';
comment on column t_kq.types is '类型';
comment on column t_kq.title is '考勤说明';
comment on column t_kq.showDate is '日期';
--支部考勤表加注释
comment on table t_kq is '支部考勤';

党员思想汇报表创建语句如下:


create table t_sxhb(
	id integer,
	customerId int,
	title varchar(100),
	content varchar(100),
	pic varchar(100),
	insertDate datetime
);
--党员思想汇报字段加注释
comment on column t_sxhb.id is '主键';
comment on column t_sxhb.customerId is '用户';
comment on column t_sxhb.title is '汇报标题';
comment on column t_sxhb.content is '内容';
comment on column t_sxhb.pic is '图片';
comment on column t_sxhb.insertDate is '汇报日期';
--党员思想汇报表加注释
comment on table t_sxhb is '党员思想汇报';

支部管理员表创建语句如下:


create table t_zbadmin(
	id integer,
	username varchar(100),
	password varchar(100),
	zbadminName varchar(100),
	headPic varchar(100),
	email varchar(100),
	phone varchar(100),
	zy varchar(100),
	dzbName varchar(100),
	zbbgdd varchar(100)
);
--支部管理员字段加注释
comment on column t_zbadmin.id is '主键';
comment on column t_zbadmin.username is '账号';
comment on column t_zbadmin.password is '密码';
comment on column t_zbadmin.zbadminName is '负责人姓名';
comment on column t_zbadmin.headPic is '头像';
comment on column t_zbadmin.email is '邮箱';
comment on column t_zbadmin.phone is '电话';
comment on column t_zbadmin.zy is '专业';
comment on column t_zbadmin.dzbName is '支部名称';
comment on column t_zbadmin.zbbgdd is '支部办公地点';
--支部管理员表加注释
comment on table t_zbadmin is '支部管理员';

oracle特有,对应序列如下:


create sequence s_t_customer;
create sequence s_t_dyfz;
create sequence s_t_dyqy;
create sequence s_t_dyxx;
create sequence s_t_gg;
create sequence s_t_hy;
create sequence s_t_kq;
create sequence s_t_sxhb;
create sequence s_t_zbadmin;

智慧城市学院学生党员管理信息系统的设计与实现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_customer(
	id int identity(1,1) primary key not null,--主键
	username varchar(100),--账号
	password varchar(100),--密码
	customerName varchar(100),--姓名
	headPic varchar(100),--头像
	email varchar(100),--邮箱
	phone varchar(100)--电话
);

党员发展审批表创建语句如下:


--党员发展审批表注释
create table t_dyfz(
	id int identity(1,1) primary key not null,--主键
	customerId int,--用户
	title varchar(100),--标题
	content varchar(100),--内容
	pic varchar(100),--图片
	fileUlr varchar(100),--附件
	insertDate datetime,--发送日期
	back varchar(100),--回复批注
	hfr varchar(100),--回复人
	hfsj datetime,--回复时间
	status varchar(100)--状态
);

党支部转移表创建语句如下:


--党支部转移表注释
create table t_dyqy(
	id int identity(1,1) primary key not null,--主键
	customerId int,--用户
	v1 varchar(100),--之前支部
	v2 varchar(100),--转以后支部
	v3 varchar(100),--转移手续附件
	v4 varchar(100),--转移手续拍照
	remark varchar(100)--备注
);

党员信息表创建语句如下:


--党员信息表注释
create table t_dyxx(
	id int identity(1,1) primary key not null,--主键
	customerId int,--用户
	v1 varchar(100),--姓名
	v2 varchar(100),--性别
	v3 varchar(100),--民族
	v4 varchar(100),--身份证号
	v5 varchar(100),--班级
	v6 varchar(100),--手机号
	v7 varchar(100),--邮箱
	v8 datetime,--入团时间
	zy varchar(100),--专业
	zbadminId int--支部
);

公告表创建语句如下:


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

支部会议表创建语句如下:


--支部会议表注释
create table t_hy(
	id int identity(1,1) primary key not null,--主键
	zbadminId int,--支部
	title varchar(100),--会议名称
	address varchar(100),--会议地点
	showDate datetime,--日期
	fj varchar(100)--附件
);

支部考勤表创建语句如下:


--支部考勤表注释
create table t_kq(
	id int identity(1,1) primary key not null,--主键
	zbadminId int,--支部
	customerId int,--用户
	types varchar(100),--类型
	title varchar(100),--考勤说明
	showDate datetime--日期
);

党员思想汇报表创建语句如下:


--党员思想汇报表注释
create table t_sxhb(
	id int identity(1,1) primary key not null,--主键
	customerId int,--用户
	title varchar(100),--汇报标题
	content varchar(100),--内容
	pic varchar(100),--图片
	insertDate datetime--汇报日期
);

支部管理员表创建语句如下:


--支部管理员表注释
create table t_zbadmin(
	id int identity(1,1) primary key not null,--主键
	username varchar(100),--账号
	password varchar(100),--密码
	zbadminName varchar(100),--负责人姓名
	headPic varchar(100),--头像
	email varchar(100),--邮箱
	phone varchar(100),--电话
	zy varchar(100),--专业
	dzbName varchar(100),--支部名称
	zbbgdd 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_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 email;
//电话
private String phone;
public String getUsername() {return username;}
public void setUsername(String username) {this.username = username;}
public String getPassword() {return password;}
public void setPassword(String password) {this.password = password;}
public String 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 getEmail() {return email;}
public void setEmail(String email) {this.email = email;}
public String getPhone() {return phone;}
public void setPhone(String phone) {this.phone = phone;}
}

党员发展审批javaBean创建语句如下:


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

//党员发展审批
@Table(name = "t_dyfz")
public class Dyfz {
//主键
@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 pic;
//附件
private String fileUlr;
//发送日期
private Date insertDate;
//回复批注
private String back;
//回复人
private String hfr;
//回复时间
private Date hfsj;
//状态
private String status;
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 getPic() {return pic;}
public void setPic(String pic) {this.pic = pic;}
public String getFileUlr() {return fileUlr;}
public void setFileUlr(String fileUlr) {this.fileUlr = fileUlr;}
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;}
public String getHfr() {return hfr;}
public void setHfr(String hfr) {this.hfr = hfr;}
public Date getHfsj() {return hfsj;}
public void setHfsj(Date hfsj) {this.hfsj = hfsj;}
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_dyqy")
public class Dyqy {
//主键
@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 v1;
//转以后支部
private String v2;
//转移手续附件
private String v3;
//转移手续拍照
private String v4;
//备注
private String remark;
public Integer getCustomerId() {return customerId;}
public void setCustomerId(Integer customerId) {this.customerId = customerId;}
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 getRemark() {return remark;}
public void setRemark(String remark) {this.remark = remark;}
}

党员信息javaBean创建语句如下:


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

//党员信息
@Table(name = "t_dyxx")
public class Dyxx {
//主键
@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 v1;
//性别
private String v2;
//民族
private String v3;
//身份证号
private String v4;
//班级
private String v5;
//手机号
private String v6;
//邮箱
private String v7;
//入团时间
private Date v8;
//专业
private String zy;
//支部
private Integer zbadminId;
public Integer getCustomerId() {return customerId;}
public void setCustomerId(Integer customerId) {this.customerId = customerId;}
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;}
public String getV6() {return v6;}
public void setV6(String v6) {this.v6 = v6;}
public String getV7() {return v7;}
public void setV7(String v7) {this.v7 = v7;}
public Date getV8() {return v8;}
public void setV8(Date v8) {this.v8 = v8;}
public String getZy() {return zy;}
public void setZy(String zy) {this.zy = zy;}
public Integer getZbadminId() {return zbadminId;}
public void setZbadminId(Integer zbadminId) {this.zbadminId = zbadminId;}
}

公告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 v1;
//图片
private String pic;
//日期
private Date showDate;
//内容
private String v3;
public String getV1() {return v1;}
public void setV1(String v1) {this.v1 = v1;}
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 getV3() {return v3;}
public void setV3(String v3) {this.v3 = v3;}
}

支部会议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_hy")
public class Hy {
//主键
@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 zbadminId;
//会议名称
private String title;
//会议地点
private String address;
//日期
private Date showDate;
//附件
private String fj;
public Integer getZbadminId() {return zbadminId;}
public void setZbadminId(Integer zbadminId) {this.zbadminId = zbadminId;}
public String getTitle() {return title;}
public void setTitle(String title) {this.title = title;}
public String getAddress() {return address;}
public void setAddress(String address) {this.address = address;}
public Date getShowDate() {return showDate;}
public void setShowDate(Date showDate) {this.showDate = showDate;}
public String getFj() {return fj;}
public void setFj(String fj) {this.fj = fj;}
}

支部考勤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_kq")
public class Kq {
//主键
@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 zbadminId;
//用户
private Integer customerId;
//类型
private String types;
//考勤说明
private String title;
//日期
private Date showDate;
public Integer getZbadminId() {return zbadminId;}
public void setZbadminId(Integer zbadminId) {this.zbadminId = zbadminId;}
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 Date getShowDate() {return showDate;}
public void setShowDate(Date showDate) {this.showDate = showDate;}
}

党员思想汇报javaBean创建语句如下:


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

//党员思想汇报
@Table(name = "t_sxhb")
public class Sxhb {
//主键
@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 pic;
//汇报日期
private Date insertDate;
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 getPic() {return pic;}
public void setPic(String pic) {this.pic = pic;}
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_zbadmin")
public class Zbadmin {
//主键
@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 zbadminName;
//头像
private String headPic;
//邮箱
private String email;
//电话
private String phone;
//专业
private String zy;
//支部名称
private String dzbName;
//支部办公地点
private String zbbgdd;
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 getZbadminName() {return zbadminName;}
public void setZbadminName(String zbadminName) {this.zbadminName = zbadminName;}
public String getHeadPic() {return headPic;}
public void setHeadPic(String headPic) {this.headPic = headPic;}
public String getEmail() {return email;}
public void setEmail(String email) {this.email = email;}
public String getPhone() {return phone;}
public void setPhone(String phone) {this.phone = phone;}
public String getZy() {return zy;}
public void setZy(String zy) {this.zy = zy;}
public String getDzbName() {return dzbName;}
public void setDzbName(String dzbName) {this.dzbName = dzbName;}
public String getZbbgdd() {return zbbgdd;}
public void setZbbgdd(String zbbgdd) {this.zbbgdd = zbbgdd;}
}

智慧城市学院学生党员管理信息系统的设计与实现spring+springMVC+mybatis框架对象(javaBean,pojo)设计:

用户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 email;
//电话
private String phone;
public String getUsername() {return username;}
public void setUsername(String username) {this.username = username;}
public String getPassword() {return password;}
public void setPassword(String password) {this.password = password;}
public String 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 getEmail() {return email;}
public void setEmail(String email) {this.email = email;}
public String getPhone() {return phone;}
public void setPhone(String phone) {this.phone = phone;}
}

党员发展审批javaBean创建语句如下:


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

//党员发展审批
public class Dyfz  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 pic;
//附件
private String fileUlr;
//发送日期
private Date insertDate;
//回复批注
private String back;
//回复人
private String hfr;
//回复时间
private Date hfsj;
//状态
private String status;
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 getPic() {return pic;}
public void setPic(String pic) {this.pic = pic;}
public String getFileUlr() {return fileUlr;}
public void setFileUlr(String fileUlr) {this.fileUlr = fileUlr;}
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;}
public String getHfr() {return hfr;}
public void setHfr(String hfr) {this.hfr = hfr;}
public Date getHfsj() {return hfsj;}
public void setHfsj(Date hfsj) {this.hfsj = hfsj;}
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 Dyqy  extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//用户
private Integer customerId;
//之前支部
private String v1;
//转以后支部
private String v2;
//转移手续附件
private String v3;
//转移手续拍照
private String v4;
//备注
private String remark;
public Integer getCustomerId() {return customerId;}
public void setCustomerId(Integer customerId) {this.customerId = customerId;}
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 getRemark() {return remark;}
public void setRemark(String remark) {this.remark = remark;}
}

党员信息javaBean创建语句如下:


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

//党员信息
public class Dyxx  extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//用户
private Integer customerId;
//姓名
private String v1;
//性别
private String v2;
//民族
private String v3;
//身份证号
private String v4;
//班级
private String v5;
//手机号
private String v6;
//邮箱
private String v7;
//入团时间
private Date v8;
//专业
private String zy;
//支部
private Integer zbadminId;
public Integer getCustomerId() {return customerId;}
public void setCustomerId(Integer customerId) {this.customerId = customerId;}
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;}
public String getV6() {return v6;}
public void setV6(String v6) {this.v6 = v6;}
public String getV7() {return v7;}
public void setV7(String v7) {this.v7 = v7;}
public Date getV8() {return v8;}
public void setV8(Date v8) {this.v8 = v8;}
public String getZy() {return zy;}
public void setZy(String zy) {this.zy = zy;}
public Integer getZbadminId() {return zbadminId;}
public void setZbadminId(Integer zbadminId) {this.zbadminId = zbadminId;}
}

公告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 v1;
//图片
private String pic;
//日期
private Date showDate;
//内容
private String v3;
public String getV1() {return v1;}
public void setV1(String v1) {this.v1 = v1;}
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 getV3() {return v3;}
public void setV3(String v3) {this.v3 = v3;}
}

支部会议javaBean创建语句如下:


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

//支部会议
public class Hy  extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//支部
private Integer zbadminId;
//会议名称
private String title;
//会议地点
private String address;
//日期
private Date showDate;
//附件
private String fj;
public Integer getZbadminId() {return zbadminId;}
public void setZbadminId(Integer zbadminId) {this.zbadminId = zbadminId;}
public String getTitle() {return title;}
public void setTitle(String title) {this.title = title;}
public String getAddress() {return address;}
public void setAddress(String address) {this.address = address;}
public Date getShowDate() {return showDate;}
public void setShowDate(Date showDate) {this.showDate = showDate;}
public String getFj() {return fj;}
public void setFj(String fj) {this.fj = fj;}
}

支部考勤javaBean创建语句如下:


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

//支部考勤
public class Kq  extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//支部
private Integer zbadminId;
//用户
private Integer customerId;
//类型
private String types;
//考勤说明
private String title;
//日期
private Date showDate;
public Integer getZbadminId() {return zbadminId;}
public void setZbadminId(Integer zbadminId) {this.zbadminId = zbadminId;}
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 Date getShowDate() {return showDate;}
public void setShowDate(Date showDate) {this.showDate = showDate;}
}

党员思想汇报javaBean创建语句如下:


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

//党员思想汇报
public class Sxhb  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 pic;
//汇报日期
private Date insertDate;
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 getPic() {return pic;}
public void setPic(String pic) {this.pic = pic;}
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 Zbadmin  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 zbadminName;
//头像
private String headPic;
//邮箱
private String email;
//电话
private String phone;
//专业
private String zy;
//支部名称
private String dzbName;
//支部办公地点
private String zbbgdd;
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 getZbadminName() {return zbadminName;}
public void setZbadminName(String zbadminName) {this.zbadminName = zbadminName;}
public String getHeadPic() {return headPic;}
public void setHeadPic(String headPic) {this.headPic = headPic;}
public String getEmail() {return email;}
public void setEmail(String email) {this.email = email;}
public String getPhone() {return phone;}
public void setPhone(String phone) {this.phone = phone;}
public String getZy() {return zy;}
public void setZy(String zy) {this.zy = zy;}
public String getDzbName() {return dzbName;}
public void setDzbName(String dzbName) {this.dzbName = dzbName;}
public String getZbbgdd() {return zbbgdd;}
public void setZbbgdd(String zbbgdd) {this.zbbgdd = zbbgdd;}
}

评论