基于J2EE的农村管理信息系统的设计与实现mysql数据库创建语句
基于J2EE的农村管理信息系统的设计与实现oracle数据库创建语句
基于J2EE的农村管理信息系统的设计与实现sqlserver数据库创建语句
基于J2EE的农村管理信息系统的设计与实现spring+springMVC+hibernate框架对象(javaBean,pojo)设计
基于J2EE的农村管理信息系统的设计与实现spring+springMVC+mybatis框架对象(javaBean,pojo)设计
基于J2EE的农村管理信息系统的设计与实现登录注册界面
基于J2EE的农村管理信息系统的设计与实现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’);
SQLCopy
用户表创建语句如下:
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 ‘性别’
) comment ‘用户’;
SQLCopy
会议决策表创建语句如下:
create table t_hyjc(
id int primary key auto_increment comment ‘主键’,
v1 varchar(100) comment ‘会议标题’,
showDate datetime comment ‘会议日期’,
v3 varchar(100) comment ‘会议内容’,
v4 varchar(100) comment ‘会议附件’
) comment ‘会议决策’;
SQLCopy
讨论平台表创建语句如下:
create table t_jiaoliu(
id int primary key auto_increment comment ‘主键’,
fbr varchar(100) comment ‘发布人’,
title varchar(100) comment ‘标题’,
pic varchar(100) comment ‘图片’,
content varchar(100) comment ‘内容’
) comment ‘讨论平台’;
SQLCopy
讨论平台记录表创建语句如下:
create table t_jiaoliulist(
id int primary key auto_increment comment ‘主键’,
jiaoliuId int comment ‘交流平台’,
hdrName varchar(100) comment ‘回答人’,
insertDate datetime comment ‘日期’,
content varchar(100) comment ‘内容’
) comment ‘讨论平台记录’;
SQLCopy
民主监督表创建语句如下:
create table t_mzjd(
id int primary key auto_increment comment ‘主键’,
customerId int comment ‘用户’,
title varchar(100) comment ‘标题’,
zy varchar(100) comment ‘附件’,
pic varchar(100) comment ‘图片’,
insertDate datetime comment ‘提交日期’,
content varchar(100) comment ‘详细内容说明’
) comment ‘民主监督’;
SQLCopy
社区建设表创建语句如下:
create table t_sqjs(
id int primary key auto_increment comment ‘主键’,
v1 varchar(100) comment ‘建设标题’,
v2 varchar(100) comment ‘建设内容’,
beginDate datetime comment ‘建设规划开始日期’,
endDate datetime comment ‘建设规划结束日期’,
v5 varchar(100) comment ‘建设平面图’
) comment ‘社区建设’;
SQLCopy
选举信息表创建语句如下:
create table t_xjxx(
id int primary key auto_increment comment ‘主键’,
v1 varchar(100) comment ‘选举标题’,
v2 varchar(100) comment ‘选举对象’,
v3 varchar(100) comment ‘选举规则’,
v4 varchar(100) comment ‘详细说明’,
showDate datetime comment ‘选举截至日期’,
xjdz varchar(100) comment ‘投票地址’,
status varchar(100) comment ‘状态’
) comment ‘选举信息’;
SQLCopy
基于J2EE的农村管理信息系统的设计与实现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 ‘超级管理员’;
SQLCopy
用户表创建语句如下:
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)
);
–用户字段加注释
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 table t_customer is ‘用户’;
SQLCopy
会议决策表创建语句如下:
create table t_hyjc(
id integer,
v1 varchar(100),
showDate datetime,
v3 varchar(100),
v4 varchar(100)
);
–会议决策字段加注释
comment on column t_hyjc.id is ‘主键’;
comment on column t_hyjc.v1 is ‘会议标题’;
comment on column t_hyjc.showDate is ‘会议日期’;
comment on column t_hyjc.v3 is ‘会议内容’;
comment on column t_hyjc.v4 is ‘会议附件’;
–会议决策表加注释
comment on table t_hyjc is ‘会议决策’;
SQLCopy
讨论平台表创建语句如下:
create table t_jiaoliu(
id integer,
fbr varchar(100),
title varchar(100),
pic varchar(100),
content varchar(100)
);
–讨论平台字段加注释
comment on column t_jiaoliu.id is ‘主键’;
comment on column t_jiaoliu.fbr is ‘发布人’;
comment on column t_jiaoliu.title is ‘标题’;
comment on column t_jiaoliu.pic is ‘图片’;
comment on column t_jiaoliu.content is ‘内容’;
–讨论平台表加注释
comment on table t_jiaoliu is ‘讨论平台’;
SQLCopy
讨论平台记录表创建语句如下:
create table t_jiaoliulist(
id integer,
jiaoliuId int,
hdrName varchar(100),
insertDate datetime,
content varchar(100)
);
–讨论平台记录字段加注释
comment on column t_jiaoliulist.id is ‘主键’;
comment on column t_jiaoliulist.jiaoliuId is ‘交流平台’;
comment on column t_jiaoliulist.hdrName is ‘回答人’;
comment on column t_jiaoliulist.insertDate is ‘日期’;
comment on column t_jiaoliulist.content is ‘内容’;
–讨论平台记录表加注释
comment on table t_jiaoliulist is ‘讨论平台记录’;
SQLCopy
民主监督表创建语句如下:
create table t_mzjd(
id integer,
customerId int,
title varchar(100),
zy varchar(100),
pic varchar(100),
insertDate datetime,
content varchar(100)
);
–民主监督字段加注释
comment on column t_mzjd.id is ‘主键’;
comment on column t_mzjd.customerId is ‘用户’;
comment on column t_mzjd.title is ‘标题’;
comment on column t_mzjd.zy is ‘附件’;
comment on column t_mzjd.pic is ‘图片’;
comment on column t_mzjd.insertDate is ‘提交日期’;
comment on column t_mzjd.content is ‘详细内容说明’;
–民主监督表加注释
comment on table t_mzjd is ‘民主监督’;
SQLCopy
社区建设表创建语句如下:
create table t_sqjs(
id integer,
v1 varchar(100),
v2 varchar(100),
beginDate datetime,
endDate datetime,
v5 varchar(100)
);
–社区建设字段加注释
comment on column t_sqjs.id is ‘主键’;
comment on column t_sqjs.v1 is ‘建设标题’;
comment on column t_sqjs.v2 is ‘建设内容’;
comment on column t_sqjs.beginDate is ‘建设规划开始日期’;
comment on column t_sqjs.endDate is ‘建设规划结束日期’;
comment on column t_sqjs.v5 is ‘建设平面图’;
–社区建设表加注释
comment on table t_sqjs is ‘社区建设’;
SQLCopy
选举信息表创建语句如下:
create table t_xjxx(
id integer,
v1 varchar(100),
v2 varchar(100),
v3 varchar(100),
v4 varchar(100),
showDate datetime,
xjdz varchar(100),
status varchar(100)
);
–选举信息字段加注释
comment on column t_xjxx.id is ‘主键’;
comment on column t_xjxx.v1 is ‘选举标题’;
comment on column t_xjxx.v2 is ‘选举对象’;
comment on column t_xjxx.v3 is ‘选举规则’;
comment on column t_xjxx.v4 is ‘详细说明’;
comment on column t_xjxx.showDate is ‘选举截至日期’;
comment on column t_xjxx.xjdz is ‘投票地址’;
comment on column t_xjxx.status is ‘状态’;
–选举信息表加注释
comment on table t_xjxx is ‘选举信息’;
SQLCopy
oracle特有,对应序列如下:
create sequence s_t_customer;
create sequence s_t_hyjc;
create sequence s_t_jiaoliu;
create sequence s_t_jiaoliulist;
create sequence s_t_mzjd;
create sequence s_t_sqjs;
create sequence s_t_xjxx;
SQLCopy
基于J2EE的农村管理信息系统的设计与实现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’);
SQLCopy
用户表创建语句如下:
–用户表注释
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)–性别
);
SQLCopy
会议决策表创建语句如下:
–会议决策表注释
create table t_hyjc(
id int identity(1,1) primary key not null,–主键
v1 varchar(100),–会议标题
showDate datetime,–会议日期
v3 varchar(100),–会议内容
v4 varchar(100)–会议附件
);
SQLCopy
讨论平台表创建语句如下:
–讨论平台表注释
create table t_jiaoliu(
id int identity(1,1) primary key not null,–主键
fbr varchar(100),–发布人
title varchar(100),–标题
pic varchar(100),–图片
content varchar(100)–内容
);
SQLCopy
讨论平台记录表创建语句如下:
–讨论平台记录表注释
create table t_jiaoliulist(
id int identity(1,1) primary key not null,–主键
jiaoliuId int,–交流平台
hdrName varchar(100),–回答人
insertDate datetime,–日期
content varchar(100)–内容
);
SQLCopy
民主监督表创建语句如下:
–民主监督表注释
create table t_mzjd(
id int identity(1,1) primary key not null,–主键
customerId int,–用户
title varchar(100),–标题
zy varchar(100),–附件
pic varchar(100),–图片
insertDate datetime,–提交日期
content varchar(100)–详细内容说明
);
SQLCopy
社区建设表创建语句如下:
–社区建设表注释
create table t_sqjs(
id int identity(1,1) primary key not null,–主键
v1 varchar(100),–建设标题
v2 varchar(100),–建设内容
beginDate datetime,–建设规划开始日期
endDate datetime,–建设规划结束日期
v5 varchar(100)–建设平面图
);
SQLCopy
选举信息表创建语句如下:
–选举信息表注释
create table t_xjxx(
id int identity(1,1) primary key not null,–主键
v1 varchar(100),–选举标题
v2 varchar(100),–选举对象
v3 varchar(100),–选举规则
v4 varchar(100),–详细说明
showDate datetime,–选举截至日期
xjdz varchar(100),–投票地址
status varchar(100)–状态
);
SQLCopy
基于J2EE的农村管理信息系统的设计与实现登录后主页
基于J2EE的农村管理信息系统的设计与实现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 phone;
//年龄
private String age;
//性别
private String sex;
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;}
}
JavaCopy
会议决策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_hyjc”)
public class Hyjc {
//主键
@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 Date showDate;
//会议内容
private String v3;
//会议附件
private String v4;
public String getV1() {return v1;}
public void setV1(String v1) {this.v1 = v1;}
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;}
public String getV4() {return v4;}
public void setV4(String v4) {this.v4 = v4;}
}
JavaCopy
讨论平台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_jiaoliu”)
public class Jiaoliu {
//主键
@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 fbr;
//标题
private String title;
//图片
private String pic;
//内容
private String content;
public String getFbr() {return fbr;}
public void setFbr(String fbr) {this.fbr = fbr;}
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;}
}
JavaCopy
讨论平台记录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_jiaoliulist”)
public class Jiaoliulist {
//主键
@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 jiaoliuId;
//回答人
private String hdrName;
//日期
private Date insertDate;
//内容
private String content;
public Integer getJiaoliuId() {return jiaoliuId;}
public void setJiaoliuId(Integer jiaoliuId) {this.jiaoliuId = jiaoliuId;}
public String getHdrName() {return hdrName;}
public void setHdrName(String hdrName) {this.hdrName = hdrName;}
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;}
}
JavaCopy
民主监督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_mzjd”)
public class Mzjd {
//主键
@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 zy;
//图片
private String pic;
//提交日期
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 String getZy() {return zy;}
public void setZy(String zy) {this.zy = zy;}
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;}
public String getContent() {return content;}
public void setContent(String content) {this.content = content;}
}
JavaCopy
社区建设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_sqjs”)
public class Sqjs {
//主键
@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 v2;
//建设规划开始日期
private Date beginDate;
//建设规划结束日期
private Date endDate;
//建设平面图
private String v5;
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 Date getBeginDate() {return beginDate;}
public void setBeginDate(Date beginDate) {this.beginDate = beginDate;}
public Date getEndDate() {return endDate;}
public void setEndDate(Date endDate) {this.endDate = endDate;}
public String getV5() {return v5;}
public void setV5(String v5) {this.v5 = v5;}
}
JavaCopy
选举信息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_xjxx”)
public class Xjxx {
//主键
@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 v2;
//选举规则
private String v3;
//详细说明
private String v4;
//选举截至日期
private Date showDate;
//投票地址
private String xjdz;
//状态
private String status;
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 Date getShowDate() {return showDate;}
public void setShowDate(Date showDate) {this.showDate = showDate;}
public String getXjdz() {return xjdz;}
public void setXjdz(String xjdz) {this.xjdz = xjdz;}
public String getStatus() {return status;}
public void setStatus(String status) {this.status = status;}
}
JavaCopy
基于J2EE的农村管理信息系统的设计与实现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 phone;
//年龄
private String age;
//性别
private String sex;
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;}
}
JavaCopy
会议决策javaBean创建语句如下:
package project.model;
import org.springframework.format.annotation.DateTimeFormat;
import java.util.Date;
//会议决策
public class Hyjc extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//会议标题
private String v1;
//会议日期
private Date showDate;
//会议内容
private String v3;
//会议附件
private String v4;
public String getV1() {return v1;}
public void setV1(String v1) {this.v1 = v1;}
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;}
public String getV4() {return v4;}
public void setV4(String v4) {this.v4 = v4;}
}
JavaCopy
讨论平台javaBean创建语句如下:
package project.model;
import org.springframework.format.annotation.DateTimeFormat;
import java.util.Date;
//讨论平台
public class Jiaoliu extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//发布人
private String fbr;
//标题
private String title;
//图片
private String pic;
//内容
private String content;
public String getFbr() {return fbr;}
public void setFbr(String fbr) {this.fbr = fbr;}
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;}
}
JavaCopy
讨论平台记录javaBean创建语句如下:
package project.model;
import org.springframework.format.annotation.DateTimeFormat;
import java.util.Date;
//讨论平台记录
public class Jiaoliulist extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//交流平台
private Integer jiaoliuId;
//回答人
private String hdrName;
//日期
private Date insertDate;
//内容
private String content;
public Integer getJiaoliuId() {return jiaoliuId;}
public void setJiaoliuId(Integer jiaoliuId) {this.jiaoliuId = jiaoliuId;}
public String getHdrName() {return hdrName;}
public void setHdrName(String hdrName) {this.hdrName = hdrName;}
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;}
}
JavaCopy
民主监督javaBean创建语句如下:
package project.model;
import org.springframework.format.annotation.DateTimeFormat;
import java.util.Date;
//民主监督
public class Mzjd 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 zy;
//图片
private String pic;
//提交日期
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 String getZy() {return zy;}
public void setZy(String zy) {this.zy = zy;}
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;}
public String getContent() {return content;}
public void setContent(String content) {this.content = content;}
}
JavaCopy
社区建设javaBean创建语句如下:
package project.model;
import org.springframework.format.annotation.DateTimeFormat;
import java.util.Date;
//社区建设
public class Sqjs extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//建设标题
private String v1;
//建设内容
private String v2;
//建设规划开始日期
private Date beginDate;
//建设规划结束日期
private Date endDate;
//建设平面图
private String v5;
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 Date getBeginDate() {return beginDate;}
public void setBeginDate(Date beginDate) {this.beginDate = beginDate;}
public Date getEndDate() {return endDate;}
public void setEndDate(Date endDate) {this.endDate = endDate;}
public String getV5() {return v5;}
public void setV5(String v5) {this.v5 = v5;}
}
JavaCopy
选举信息javaBean创建语句如下:
package project.model;
import org.springframework.format.annotation.DateTimeFormat;
import java.util.Date;
//选举信息
public class Xjxx extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//选举标题
private String v1;
//选举对象
private String v2;
//选举规则
private String v3;
//详细说明
private String v4;
//选举截至日期
private Date showDate;
//投票地址
private String xjdz;
//状态
private String status;
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 Date getShowDate() {return showDate;}
public void setShowDate(Date showDate) {this.showDate = showDate;}
public String getXjdz() {return xjdz;}
public void setXjdz(String xjdz) {this.xjdz = xjdz;}
public String getStatus() {return status;}
public void setStatus(String status) {this.status = status;}
}
来源:CSDN
作者:qq1249870753
链接:https://blog.csdn.net/biyesheji_/article/details/104583001