1. 程式人生 > >基於spring的社團管理系統,畢業設計java專案

基於spring的社團管理系統,畢業設計java專案

**基於spring的社團管理系統,畢業設計java專案** 基於spring的社團管理系統登入註冊介面

基於spring的社團管理系統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 '密碼',
	name varchar(100) comment '姓名',
	phone varchar(100) comment '手機',
	sex varchar(100) comment '性別',
	age varchar(100) comment '年齡',
	address varchar(100) comment '家庭住址',
	idcard varchar(100) comment '身份證',
	insertDate datetime comment '入庫日期',
	v1 varchar(100) comment '',
	v2 varchar(100) comment '',
	v3 varchar(100) comment ''
) comment '使用者';

社團負責人表建立語句如下:


create table t_fzr(
	id int primary key auto_increment comment '主鍵',
	username varchar(100) comment '賬號',
	password varchar(100) comment '密碼',
	fzrName varchar(100) comment '負責人姓名',
	st varchar(100) comment ''
) comment '社團負責人';

計算機社團表建立語句如下:


create table t_jsj(
	id int primary key auto_increment comment '主鍵',
	customerId int comment '使用者',
	jsjDate varchar(100) comment '日期',
	status varchar(100) comment '狀態'
) comment '計算機社團';

留言表建立語句如下:


create table t_ly(
	id int primary key auto_increment comment '主鍵',
	customerId int comment '使用者',
	toC int comment '對誰留言',
	dpContent varchar(100) comment '內容',
	sydpDate datetime comment '日期'
) comment '留言';

社團列表表建立語句如下:


create table t_stlb(
	id int primary key auto_increment comment '主鍵',
	types varchar(100) comment '型別',
	v1 varchar(100) comment '社團名稱',
	v2 varchar(100) comment '社團負責人',
	v3 varchar(100) comment '成立時間',
	v4 varchar(100) comment '社團介紹'
) comment '社團列表';

攝影社團表建立語句如下:


create table t_sy(
	id int primary key auto_increment comment '主鍵',
	customerId int comment '使用者',
	syPic varchar(100) comment '圖片',
	status varchar(100) comment '狀態'
) comment '攝影社團';

攝影點評表建立語句如下:


create table t_sydp(
	id int primary key auto_increment comment '主鍵',
	syId int comment '攝影',
	customerId int comment '使用者',
	dpContent varchar(100) comment '點評內容',
	sydpDate datetime comment '評論日期'
) comment '攝影點評';

文學社團表建立語句如下:


create table t_wx(
	id int primary key auto_increment comment '主鍵',
	customerId int comment '使用者',
	wxName varchar(100) comment '文章',
	status varchar(100) comment '狀態'
) comment '文學社團';

文學點評表建立語句如下:


create table t_wxdp(
	id int primary key auto_increment comment '主鍵',
	wxId int comment '文學',
	customerId int comment '使用者',
	dpContent varchar(100) comment '點評內容',
	wxdpDate datetime comment '評論日期'
) comment '文學點評';

社團新聞表建立語句如下:


create table t_xw(
	id int primary key auto_increment comment '主鍵',
	xwtitle varchar(100) comment '新聞標題',
	xwContent varchar(100) comment '新聞內容',
	xwDate varchar(100) comment '新聞日期'
) comment '社團新聞';

基於spring的社團管理系統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),
	name varchar(100),
	phone varchar(100),
	sex varchar(100),
	age varchar(100),
	address varchar(100),
	idcard varchar(100),
	insertDate datetime,
	v1 varchar(100),
	v2 varchar(100),
	v3 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.name is '姓名';
comment on column t_customer.phone is '手機';
comment on column t_customer.sex is '性別';
comment on column t_customer.age is '年齡';
comment on column t_customer.address is '家庭住址';
comment on column t_customer.idcard is '身份證';
comment on column t_customer.insertDate is '入庫日期';
comment on column t_customer.v1 is '';
comment on column t_customer.v2 is '';
comment on column t_customer.v3 is '';
--使用者表加註釋
comment on table t_customer is '使用者';

社團負責人表建立語句如下:


create table t_fzr(
	id integer,
	username varchar(100),
	password varchar(100),
	fzrName varchar(100),
	st varchar(100)
);
--社團負責人欄位加註釋
comment on column t_fzr.id is '主鍵';
comment on column t_fzr.username is '賬號';
comment on column t_fzr.password is '密碼';
comment on column t_fzr.fzrName is '負責人姓名';
comment on column t_fzr.st is '';
--社團負責人表加註釋
comment on table t_fzr is '社團負責人';

計算機社團表建立語句如下:


create table t_jsj(
	id integer,
	customerId int,
	jsjDate varchar(100),
	status varchar(100)
);
--計算機社團欄位加註釋
comment on column t_jsj.id is '主鍵';
comment on column t_jsj.customerId is '使用者';
comment on column t_jsj.jsjDate is '日期';
comment on column t_jsj.status is '狀態';
--計算機社團表加註釋
comment on table t_jsj is '計算機社團';

留言表建立語句如下:


create table t_ly(
	id integer,
	customerId int,
	toC int,
	dpContent varchar(100),
	sydpDate datetime
);
--留言欄位加註釋
comment on column t_ly.id is '主鍵';
comment on column t_ly.customerId is '使用者';
comment on column t_ly.toC is '對誰留言';
comment on column t_ly.dpContent is '內容';
comment on column t_ly.sydpDate is '日期';
--留言表加註釋
comment on table t_ly is '留言';

社團列表表建立語句如下:


create table t_stlb(
	id integer,
	types varchar(100),
	v1 varchar(100),
	v2 varchar(100),
	v3 varchar(100),
	v4 varchar(100)
);
--社團列表欄位加註釋
comment on column t_stlb.id is '主鍵';
comment on column t_stlb.types is '型別';
comment on column t_stlb.v1 is '社團名稱';
comment on column t_stlb.v2 is '社團負責人';
comment on column t_stlb.v3 is '成立時間';
comment on column t_stlb.v4 is '社團介紹';
--社團列表表加註釋
comment on table t_stlb is '社團列表';

攝影社團表建立語句如下:


create table t_sy(
	id integer,
	customerId int,
	syPic varchar(100),
	status varchar(100)
);
--攝影社團欄位加註釋
comment on column t_sy.id is '主鍵';
comment on column t_sy.customerId is '使用者';
comment on column t_sy.syPic is '圖片';
comment on column t_sy.status is '狀態';
--攝影社團表加註釋
comment on table t_sy is '攝影社團';

攝影點評表建立語句如下:


create table t_sydp(
	id integer,
	syId int,
	customerId int,
	dpContent varchar(100),
	sydpDate datetime
);
--攝影點評欄位加註釋
comment on column t_sydp.id is '主鍵';
comment on column t_sydp.syId is '攝影';
comment on column t_sydp.customerId is '使用者';
comment on column t_sydp.dpContent is '點評內容';
comment on column t_sydp.sydpDate is '評論日期';
--攝影點評表加註釋
comment on table t_sydp is '攝影點評';

文學社團表建立語句如下:


create table t_wx(
	id integer,
	customerId int,
	wxName varchar(100),
	status varchar(100)
);
--文學社團欄位加註釋
comment on column t_wx.id is '主鍵';
comment on column t_wx.customerId is '使用者';
comment on column t_wx.wxName is '文章';
comment on column t_wx.status is '狀態';
--文學社團表加註釋
comment on table t_wx is '文學社團';

文學點評表建立語句如下:


create table t_wxdp(
	id integer,
	wxId int,
	customerId int,
	dpContent varchar(100),
	wxdpDate datetime
);
--文學點評欄位加註釋
comment on column t_wxdp.id is '主鍵';
comment on column t_wxdp.wxId is '文學';
comment on column t_wxdp.customerId is '使用者';
comment on column t_wxdp.dpContent is '點評內容';
comment on column t_wxdp.wxdpDate is '評論日期';
--文學點評表加註釋
comment on table t_wxdp is '文學點評';

社團新聞表建立語句如下:


create table t_xw(
	id integer,
	xwtitle varchar(100),
	xwContent varchar(100),
	xwDate varchar(100)
);
--社團新聞欄位加註釋
comment on column t_xw.id is '主鍵';
comment on column t_xw.xwtitle is '新聞標題';
comment on column t_xw.xwContent is '新聞內容';
comment on column t_xw.xwDate is '新聞日期';
--社團新聞表加註釋
comment on table t_xw is '社團新聞';

oracle特有,對應序列如下:


create sequence s_t_customer;
create sequence s_t_fzr;
create sequence s_t_jsj;
create sequence s_t_ly;
create sequence s_t_stlb;
create sequence s_t_sy;
create sequence s_t_sydp;
create sequence s_t_wx;
create sequence s_t_wxdp;
create sequence s_t_xw;

基於spring的社團管理系統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),--密碼
	name varchar(100),--姓名
	phone varchar(100),--手機
	sex varchar(100),--性別
	age varchar(100),--年齡
	address varchar(100),--家庭住址
	idcard varchar(100),--身份證
	insertDate datetime,--入庫日期
	v1 varchar(100),--
	v2 varchar(100),--
	v3 varchar(100)--
);

社團負責人表建立語句如下:


--社團負責人表註釋
create table t_fzr(
	id int identity(1,1) primary key not null,--主鍵
	username varchar(100),--賬號
	password varchar(100),--密碼
	fzrName varchar(100),--負責人姓名
	st varchar(100)--
);

計算機社團表建立語句如下:


--計算機社團表註釋
create table t_jsj(
	id int identity(1,1) primary key not null,--主鍵
	customerId int,--使用者
	jsjDate varchar(100),--日期
	status varchar(100)--狀態
);

留言表建立語句如下:


--留言表註釋
create table t_ly(
	id int identity(1,1) primary key not null,--主鍵
	customerId int,--使用者
	toC int,--對誰留言
	dpContent varchar(100),--內容
	sydpDate datetime--日期
);

社團列表表建立語句如下:


--社團列表表註釋
create table t_stlb(
	id int identity(1,1) primary key not null,--主鍵
	types varchar(100),--型別
	v1 varchar(100),--社團名稱
	v2 varchar(100),--社團負責人
	v3 varchar(100),--成立時間
	v4 varchar(100)--社團介紹
);

攝影社團表建立語句如下:


--攝影社團表註釋
create table t_sy(
	id int identity(1,1) primary key not null,--主鍵
	customerId int,--使用者
	syPic varchar(100),--圖片
	status varchar(100)--狀態
);

攝影點評表建立語句如下:


--攝影點評表註釋
create table t_sydp(
	id int identity(1,1) primary key not null,--主鍵
	syId int,--攝影
	customerId int,--使用者
	dpContent varchar(100),--點評內容
	sydpDate datetime--評論日期
);

文學社團表建立語句如下:


--文學社團表註釋
create table t_wx(
	id int identity(1,1) primary key not null,--主鍵
	customerId int,--使用者
	wxName varchar(100),--文章
	status varchar(100)--狀態
);

文學點評表建立語句如下:


--文學點評表註釋
create table t_wxdp(
	id int identity(1,1) primary key not null,--主鍵
	wxId int,--文學
	customerId int,--使用者
	dpContent varchar(100),--點評內容
	wxdpDate datetime--評論日期
);

社團新聞表建立語句如下:


--社團新聞表註釋
create table t_xw(
	id int identity(1,1) primary key not null,--主鍵
	xwtitle varchar(100),--新聞標題
	xwContent varchar(100),--新聞內容
	xwDate varchar(100)--新聞日期
);

基於spring的社團管理系統登入後主頁

基於spring的社團管理系統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 name;
//手機
private String phone;
//性別
private String sex;
//年齡
private String age;
//家庭住址
private String address;
//身份證
private String idcard;
//入庫日期
private Date insertDate;
//
private String v1;
//
private String v2;
//
private String v3;
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 getName() {return name;}
public void setName(String name) {this.name = name;}
public String getPhone() {return phone;}
public void setPhone(String phone) {this.phone = phone;}
public String getSex() {return sex;}
public void setSex(String sex) {this.sex = sex;}
public String getAge() {return age;}
public void setAge(String age) {this.age = age;}
public String getAddress() {return address;}
public void setAddress(String address) {this.address = address;}
public String getIdcard() {return idcard;}
public void setIdcard(String idcard) {this.idcard = idcard;}
public Date getInsertDate() {return insertDate;}
public void setInsertDate(Date insertDate) {this.insertDate = insertDate;}
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;}
}

社團負責人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_fzr")
public class Fzr {
//主鍵
@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 fzrName;
//
private String st;
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 getFzrName() {return fzrName;}
public void setFzrName(String fzrName) {this.fzrName = fzrName;}
public String getSt() {return st;}
public void setSt(String st) {this.st = st;}
}

計算機社團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_jsj")
public class Jsj {
//主鍵
@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 jsjDate;
//狀態
private String status;
public Integer getCustomerId() {return customerId;}
public void setCustomerId(Integer customerId) {this.customerId = customerId;}
public String getJsjDate() {return jsjDate;}
public void setJsjDate(String jsjDate) {this.jsjDate = jsjDate;}
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_ly")
public class Ly {
//主鍵
@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 toC;
//內容
private String dpContent;
//日期
private Date sydpDate;
public Integer getCustomerId() {return customerId;}
public void setCustomerId(Integer customerId) {this.customerId = customerId;}
public Integer getToC() {return toC;}
public void setToC(Integer toC) {this.toC = toC;}
public String getDpContent() {return dpContent;}
public void setDpContent(String dpContent) {this.dpContent = dpContent;}
public Date getSydpDate() {return sydpDate;}
public void setSydpDate(Date sydpDate) {this.sydpDate = sydpDate;}
}

社團列表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_stlb")
public class Stlb {
//主鍵
@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 String v1;
//社團負責人
private String v2;
//成立時間
private String v3;
//社團介紹
private String v4;
public String getTypes() {return types;}
public void setTypes(String types) {this.types = types;}
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;}
}

攝影社團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_sy")
public class Sy {
//主鍵
@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 syPic;
//狀態
private String status;
public Integer getCustomerId() {return customerId;}
public void setCustomerId(Integer customerId) {this.customerId = customerId;}
public String getSyPic() {return syPic;}
public void setSyPic(String syPic) {this.syPic = syPic;}
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_sydp")
public class Sydp {
//主鍵
@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 syId;
//使用者
private Integer customerId;
//點評內容
private String dpContent;
//評論日期
private Date sydpDate;
public Integer getSyId() {return syId;}
public void setSyId(Integer syId) {this.syId = syId;}
public Integer getCustomerId() {return customerId;}
public void setCustomerId(Integer customerId) {this.customerId = customerId;}
public String getDpContent() {return dpContent;}
public void setDpContent(String dpContent) {this.dpContent = dpContent;}
public Date getSydpDate() {return sydpDate;}
public void setSydpDate(Date sydpDate) {this.sydpDate = sydpDate;}
}

文學社團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_wx")
public class Wx {
//主鍵
@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 wxName;
//狀態
private String status;
public Integer getCustomerId() {return customerId;}
public void setCustomerId(Integer customerId) {this.customerId = customerId;}
public String getWxName() {return wxName;}
public void setWxName(String wxName) {this.wxName = wxName;}
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_wxdp")
public class Wxdp {
//主鍵
@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 wxId;
//使用者
private Integer customerId;
//點評內容
private String dpContent;
//評論日期
private Date wxdpDate;
public Integer getWxId() {return wxId;}
public void setWxId(Integer wxId) {this.wxId = wxId;}
public Integer getCustomerId() {return customerId;}
public void setCustomerId(Integer customerId) {this.customerId = customerId;}
public String getDpContent() {return dpContent;}
public void setDpContent(String dpContent) {this.dpContent = dpContent;}
public Date getWxdpDate() {return wxdpDate;}
public void setWxdpDate(Date wxdpDate) {this.wxdpDate = wxdpDate;}
}

社團新聞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_xw")
public class Xw {
//主鍵
@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 xwtitle;
//新聞內容
private String xwContent;
//新聞日期
private String xwDate;
public String getXwtitle() {return xwtitle;}
public void setXwtitle(String xwtitle) {this.xwtitle = xwtitle;}
public String getXwContent() {return xwContent;}
public void setXwContent(String xwContent) {this.xwContent = xwContent;}
public String getXwDate() {return xwDate;}
public void setXwDate(String xwDate) {this.xwDate = xwDate;}
}

基於spring的社團管理系統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 name;
//手機
private String phone;
//性別
private String sex;
//年齡
private String age;
//家庭住址
private String address;
//身份證
private String idcard;
//入庫日期
private Date insertDate;
//
private String v1;
//
private String v2;
//
private String v3;
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 getName() {return name;}
public void setName(String name) {this.name = name;}
public String getPhone() {return phone;}
public void setPhone(String phone) {this.phone = phone;}
public String getSex() {return sex;}
public void setSex(String sex) {this.sex = sex;}
public String getAge() {return age;}
public void setAge(String age) {this.age = age;}
public String getAddress() {return address;}
public void setAddress(String address) {this.address = address;}
public String getIdcard() {return idcard;}
public void setIdcard(String idcard) {this.idcard = idcard;}
public Date getInsertDate() {return insertDate;}
public void setInsertDate(Date insertDate) {this.insertDate = insertDate;}
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;}
}

社團負責人javaBean建立語句如下:


package project.model;
import org.springframework.format.annotation.DateTimeFormat;
import java.util.Date;
//社團負責人
public class Fzr  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 fzrName;
//
private String st;
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 getFzrName() {return fzrName;}
public void setFzrName(String fzrName) {this.fzrName = fzrName;}
public String getSt() {return st;}
public void setSt(String st) {this.st = st;}
}

計算機社團javaBean建立語句如下:


package project.model;
import org.springframework.format.annotation.DateTimeFormat;
import java.util.Date;
//計算機社團
public class Jsj  extends BaseBean{
//主鍵
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//使用者
private Integer customerId;
//日期
private String jsjDate;
//狀態
private String status;
public Integer getCustomerId() {return customerId;}
public void setCustomerId(Integer customerId) {this.customerId = customerId;}
public String getJsjDate() {return jsjDate;}
public void setJsjDate(String jsjDate) {this.jsjDate = jsjDate;}
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 Ly  extends BaseBean{
//主鍵
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//使用者
private Integer customerId;
//對誰留言
private Integer toC;
//內容
private String dpContent;
//日期
private Date sydpDate;
public Integer getCustomerId() {return customerId;}
public void setCustomerId(Integer customerId) {this.customerId = customerId;}
public Integer getToC() {return toC;}
public void setToC(Integer toC) {this.toC = toC;}
public String getDpContent() {return dpContent;}
public void setDpContent(String dpContent) {this.dpContent = dpContent;}
public Date getSydpDate() {return sydpDate;}
public void setSydpDate(Date sydpDate) {this.sydpDate = sydpDate;}
}

社團列表javaBean建立語句如下:


package project.model;
import org.springframework.format.annotation.DateTimeFormat;
import java.util.Date;
//社團列表
public class Stlb  extends BaseBean{
//主鍵
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//型別
private String types;
//社團名稱
private String v1;
//社團負責人
private String v2;
//成立時間
private String v3;
//社團介紹
private String v4;
public String getTypes() {return types;}
public void setTypes(String types) {this.types = types;}
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;}
}

攝影社團javaBean建立語句如下:


package project.model;
import org.springframework.format.annotation.DateTimeFormat;
import java.util.Date;
//攝影社團
public class Sy  extends BaseBean{
//主鍵
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//使用者
private Integer customerId;
//圖片
private String syPic;
//狀態
private String status;
public Integer getCustomerId() {return customerId;}
public void setCustomerId(Integer customerId) {this.customerId = customerId;}
public String getSyPic() {return syPic;}
public void setSyPic(String syPic) {this.syPic = syPic;}
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 Sydp  extends BaseBean{
//主鍵
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//攝影
private Integer syId;
//使用者
private Integer customerId;
//點評內容
private String dpContent;
//評論日期
private Date sydpDate;
public Integer getSyId() {return syId;}
public void setSyId(Integer syId) {this.syId = syId;}
public Integer getCustomerId() {return customerId;}
public void setCustomerId(Integer customerId) {this.customerId = customerId;}
public String getDpContent() {return dpContent;}
public void setDpContent(String dpContent) {this.dpContent = dpContent;}
public Date getSydpDate() {return sydpDate;}
public void setSydpDate(Date sydpDate) {this.sydpDate = sydpDate;}
}

文學社團javaBean建立語句如下:


package project.model;
import org.springframework.format.annotation.DateTimeFormat;
import java.util.Date;
//文學社團
public class Wx  extends BaseBean{
//主鍵
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//使用者
private Integer customerId;
//文章
private String wxName;
//狀態
private String status;
public Integer getCustomerId() {return customerId;}
public void setCustomerId(Integer customerId) {this.customerId = customerId;}
public String getWxName() {return wxName;}
public void setWxName(String wxName) {this.wxName = wxName;}
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 Wxdp  extends BaseBean{
//主鍵
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//文學
private Integer wxId;
//使用者
private Integer customerId;
//點評內容
private String dpContent;
//評論日期
private Date wxdpDate;
public Integer getWxId() {return wxId;}
public void setWxId(Integer wxId) {this.wxId = wxId;}
public Integer getCustomerId() {return customerId;}
public void setCustomerId(Integer customerId) {this.customerId = customerId;}
public String getDpContent() {return dpContent;}
public void setDpContent(String dpContent) {this.dpContent = dpContent;}
public Date getWxdpDate() {return wxdpDate;}
public void setWxdpDate(Date wxdpDate) {this.wxdpDate = wxdpDate;}
}

社團新聞javaBean建立語句如下:


package project.model;
import org.springframework.format.annotation.DateTimeFormat;
import java.util.Date;
//社團新聞
public class Xw  extends BaseBean{
//主鍵
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//新聞標題
private String xwtitle;
//新聞內容
private String xwContent;
//新聞日期
private String xwDate;
public String getXwtitle() {return xwtitle;}
public void setXwtitle(String xwtitle) {this.xwtitle = xwtitle;}
public String getXwContent() {return xwContent;}
public void setXwContent(String xwContent) {this.xwContent = xwContent;}
public String getXwDate() {return xwDate;}
public void setXwDate(String xwDate) {this.xwDate = xwDate;}
}