基于SSH的心理测评系统,毕业设计java

**基于SSH的心理测评系统,毕业设计java**
基于SSH的心理测评系统登录注册界面

基于SSH的心理测评系统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 '姓名',
	sex varchar(100) comment '性别',
	address varchar(100) comment '地址',
	mobile varchar(100) comment '手机'
) comment '客户';

访问量表创建语句如下:


create table t_fw(
	id int primary key auto_increment comment '主键',
	customerId int comment '用户',
	insertDate datetime comment '日期',
	fwlx varchar(100) comment '访问类型'
) comment '访问量';

心里评测档案表创建语句如下:


create table t_h1(
	id int primary key auto_increment comment '主键',
	v1 varchar(100) comment '姓名',
	v2 varchar(100) comment '说明'
) comment '心里评测档案';

问卷调查档案表创建语句如下:


create table t_h2(
	id int primary key auto_increment comment '主键',
	v1 varchar(100) comment '姓名',
	v2 varchar(100) comment '说明'
) comment '问卷调查档案';

个体辅导档案表创建语句如下:


create table t_h3(
	id int primary key auto_increment comment '主键',
	v1 varchar(100) comment '姓名',
	v2 varchar(100) comment '说明'
) comment '个体辅导档案';

个体信息档案表创建语句如下:


create table t_h4(
	id int primary key auto_increment comment '主键',
	name varchar(100) comment '姓名',
	sex varchar(100) comment '性别',
	age varchar(100) comment '年龄',
	phone varchar(100) comment '电话',
	v2 varchar(100) comment '说明'
) comment '个体信息档案';

签到表创建语句如下:


create table t_qd(
	id int primary key auto_increment comment '主键',
	customerId int comment '用户',
	insertDate datetime comment '日期'
) comment '签到';

咨询师签到表创建语句如下:


create table t_qduser(
	id int primary key auto_increment comment '主键',
	userId int comment '咨询师',
	insertDate datetime comment '日期'
) comment '咨询师签到';

咨询师表创建语句如下:


create table t_user(
	id int primary key auto_increment comment '主键',
	username varchar(100) comment '账户',
	password varchar(100) comment '密码',
	name varchar(100) comment '姓名',
	sex varchar(100) comment '性别',
	age varchar(100) comment '年龄',
	phone varchar(100) comment '电话'
) comment '咨询师';

心灵辅导表创建语句如下:


create table t_xlfd(
	id int primary key auto_increment comment '主键',
	v1 varchar(100) comment '标题',
	v2 varchar(100) comment '类型',
	v3 varchar(100) comment '内容',
	v4 varchar(100) comment '连接'
) comment '心灵辅导';

心里评测表创建语句如下:


create table t_xlpc(
	id int primary key auto_increment comment '主键',
	v1 varchar(100) comment '评测标题',
	v2 varchar(100) comment '评测内容',
	v3 varchar(100) comment ''
) comment '心里评测';

心里评测答案表创建语句如下:


create table t_xlpcda(
	id int primary key auto_increment comment '主键',
	customerId int comment '用户',
	xlpcId int comment '评测',
	da varchar(100) comment '评测内容',
	insertDate datetime comment '日期'
) comment '心里评测答案';

在线留言表创建语句如下:


create table t_zxly(
	id int primary key auto_increment comment '主键',
	customerId int comment '用户',
	v1 varchar(100) comment '内容',
	v2 varchar(100) comment '回复内容',
	v3 varchar(100) comment '状态',
	userId int comment '回复人'
) comment '在线留言';

在线预约表创建语句如下:


create table t_zxyy(
	id int primary key auto_increment comment '主键',
	customerId int comment '用户',
	v1 varchar(100) comment '预约内容',
	v4 varchar(100) comment '预约时间',
	v2 varchar(100) comment '回复内容',
	v3 varchar(100) comment '状态',
	userId int comment '回复人'
) comment '在线预约';

基于SSH的心理测评系统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),
	sex varchar(100),
	address varchar(100),
	mobile 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.sex is '性别';
comment on column t_customer.address is '地址';
comment on column t_customer.mobile is '手机';
--客户表加注释
comment on table t_customer is '客户';

访问量表创建语句如下:


create table t_fw(
	id integer,
	customerId int,
	insertDate datetime,
	fwlx varchar(100)
);
--访问量字段加注释
comment on column t_fw.id is '主键';
comment on column t_fw.customerId is '用户';
comment on column t_fw.insertDate is '日期';
comment on column t_fw.fwlx is '访问类型';
--访问量表加注释
comment on table t_fw is '访问量';

心里评测档案表创建语句如下:


create table t_h1(
	id integer,
	v1 varchar(100),
	v2 varchar(100)
);
--心里评测档案字段加注释
comment on column t_h1.id is '主键';
comment on column t_h1.v1 is '姓名';
comment on column t_h1.v2 is '说明';
--心里评测档案表加注释
comment on table t_h1 is '心里评测档案';

问卷调查档案表创建语句如下:


create table t_h2(
	id integer,
	v1 varchar(100),
	v2 varchar(100)
);
--问卷调查档案字段加注释
comment on column t_h2.id is '主键';
comment on column t_h2.v1 is '姓名';
comment on column t_h2.v2 is '说明';
--问卷调查档案表加注释
comment on table t_h2 is '问卷调查档案';

个体辅导档案表创建语句如下:


create table t_h3(
	id integer,
	v1 varchar(100),
	v2 varchar(100)
);
--个体辅导档案字段加注释
comment on column t_h3.id is '主键';
comment on column t_h3.v1 is '姓名';
comment on column t_h3.v2 is '说明';
--个体辅导档案表加注释
comment on table t_h3 is '个体辅导档案';

个体信息档案表创建语句如下:


create table t_h4(
	id integer,
	name varchar(100),
	sex varchar(100),
	age varchar(100),
	phone varchar(100),
	v2 varchar(100)
);
--个体信息档案字段加注释
comment on column t_h4.id is '主键';
comment on column t_h4.name is '姓名';
comment on column t_h4.sex is '性别';
comment on column t_h4.age is '年龄';
comment on column t_h4.phone is '电话';
comment on column t_h4.v2 is '说明';
--个体信息档案表加注释
comment on table t_h4 is '个体信息档案';

签到表创建语句如下:


create table t_qd(
	id integer,
	customerId int,
	insertDate datetime
);
--签到字段加注释
comment on column t_qd.id is '主键';
comment on column t_qd.customerId is '用户';
comment on column t_qd.insertDate is '日期';
--签到表加注释
comment on table t_qd is '签到';

咨询师签到表创建语句如下:


create table t_qduser(
	id integer,
	userId int,
	insertDate datetime
);
--咨询师签到字段加注释
comment on column t_qduser.id is '主键';
comment on column t_qduser.userId is '咨询师';
comment on column t_qduser.insertDate is '日期';
--咨询师签到表加注释
comment on table t_qduser is '咨询师签到';

咨询师表创建语句如下:


create table t_user(
	id integer,
	username varchar(100),
	password varchar(100),
	name varchar(100),
	sex varchar(100),
	age varchar(100),
	phone varchar(100)
);
--咨询师字段加注释
comment on column t_user.id is '主键';
comment on column t_user.username is '账户';
comment on column t_user.password is '密码';
comment on column t_user.name is '姓名';
comment on column t_user.sex is '性别';
comment on column t_user.age is '年龄';
comment on column t_user.phone is '电话';
--咨询师表加注释
comment on table t_user is '咨询师';

心灵辅导表创建语句如下:


create table t_xlfd(
	id integer,
	v1 varchar(100),
	v2 varchar(100),
	v3 varchar(100),
	v4 varchar(100)
);
--心灵辅导字段加注释
comment on column t_xlfd.id is '主键';
comment on column t_xlfd.v1 is '标题';
comment on column t_xlfd.v2 is '类型';
comment on column t_xlfd.v3 is '内容';
comment on column t_xlfd.v4 is '连接';
--心灵辅导表加注释
comment on table t_xlfd is '心灵辅导';

心里评测表创建语句如下:


create table t_xlpc(
	id integer,
	v1 varchar(100),
	v2 varchar(100),
	v3 varchar(100)
);
--心里评测字段加注释
comment on column t_xlpc.id is '主键';
comment on column t_xlpc.v1 is '评测标题';
comment on column t_xlpc.v2 is '评测内容';
comment on column t_xlpc.v3 is '';
--心里评测表加注释
comment on table t_xlpc is '心里评测';

心里评测答案表创建语句如下:


create table t_xlpcda(
	id integer,
	customerId int,
	xlpcId int,
	da varchar(100),
	insertDate datetime
);
--心里评测答案字段加注释
comment on column t_xlpcda.id is '主键';
comment on column t_xlpcda.customerId is '用户';
comment on column t_xlpcda.xlpcId is '评测';
comment on column t_xlpcda.da is '评测内容';
comment on column t_xlpcda.insertDate is '日期';
--心里评测答案表加注释
comment on table t_xlpcda is '心里评测答案';

在线留言表创建语句如下:


create table t_zxly(
	id integer,
	customerId int,
	v1 varchar(100),
	v2 varchar(100),
	v3 varchar(100),
	userId int
);
--在线留言字段加注释
comment on column t_zxly.id is '主键';
comment on column t_zxly.customerId is '用户';
comment on column t_zxly.v1 is '内容';
comment on column t_zxly.v2 is '回复内容';
comment on column t_zxly.v3 is '状态';
comment on column t_zxly.userId is '回复人';
--在线留言表加注释
comment on table t_zxly is '在线留言';

在线预约表创建语句如下:


create table t_zxyy(
	id integer,
	customerId int,
	v1 varchar(100),
	v4 varchar(100),
	v2 varchar(100),
	v3 varchar(100),
	userId int
);
--在线预约字段加注释
comment on column t_zxyy.id is '主键';
comment on column t_zxyy.customerId is '用户';
comment on column t_zxyy.v1 is '预约内容';
comment on column t_zxyy.v4 is '预约时间';
comment on column t_zxyy.v2 is '回复内容';
comment on column t_zxyy.v3 is '状态';
comment on column t_zxyy.userId is '回复人';
--在线预约表加注释
comment on table t_zxyy is '在线预约';

oracle特有,对应序列如下:


create sequence s_t_customer;
create sequence s_t_fw;
create sequence s_t_h1;
create sequence s_t_h2;
create sequence s_t_h3;
create sequence s_t_h4;
create sequence s_t_qd;
create sequence s_t_qduser;
create sequence s_t_user;
create sequence s_t_xlfd;
create sequence s_t_xlpc;
create sequence s_t_xlpcda;
create sequence s_t_zxly;
create sequence s_t_zxyy;

基于SSH的心理测评系统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),--姓名
	sex varchar(100),--性别
	address varchar(100),--地址
	mobile varchar(100)--手机
);

访问量表创建语句如下:


--访问量表注释
create table t_fw(
	id int identity(1,1) primary key not null,--主键
	customerId int,--用户
	insertDate datetime,--日期
	fwlx varchar(100)--访问类型
);

心里评测档案表创建语句如下:


--心里评测档案表注释
create table t_h1(
	id int identity(1,1) primary key not null,--主键
	v1 varchar(100),--姓名
	v2 varchar(100)--说明
);

问卷调查档案表创建语句如下:


--问卷调查档案表注释
create table t_h2(
	id int identity(1,1) primary key not null,--主键
	v1 varchar(100),--姓名
	v2 varchar(100)--说明
);

个体辅导档案表创建语句如下:


--个体辅导档案表注释
create table t_h3(
	id int identity(1,1) primary key not null,--主键
	v1 varchar(100),--姓名
	v2 varchar(100)--说明
);

个体信息档案表创建语句如下:


--个体信息档案表注释
create table t_h4(
	id int identity(1,1) primary key not null,--主键
	name varchar(100),--姓名
	sex varchar(100),--性别
	age varchar(100),--年龄
	phone varchar(100),--电话
	v2 varchar(100)--说明
);

签到表创建语句如下:


--签到表注释
create table t_qd(
	id int identity(1,1) primary key not null,--主键
	customerId int,--用户
	insertDate datetime--日期
);

咨询师签到表创建语句如下:


--咨询师签到表注释
create table t_qduser(
	id int identity(1,1) primary key not null,--主键
	userId int,--咨询师
	insertDate datetime--日期
);

咨询师表创建语句如下:


--咨询师表注释
create table t_user(
	id int identity(1,1) primary key not null,--主键
	username varchar(100),--账户
	password varchar(100),--密码
	name varchar(100),--姓名
	sex varchar(100),--性别
	age varchar(100),--年龄
	phone varchar(100)--电话
);

心灵辅导表创建语句如下:


--心灵辅导表注释
create table t_xlfd(
	id int identity(1,1) primary key not null,--主键
	v1 varchar(100),--标题
	v2 varchar(100),--类型
	v3 varchar(100),--内容
	v4 varchar(100)--连接
);

心里评测表创建语句如下:


--心里评测表注释
create table t_xlpc(
	id int identity(1,1) primary key not null,--主键
	v1 varchar(100),--评测标题
	v2 varchar(100),--评测内容
	v3 varchar(100)--
);

心里评测答案表创建语句如下:


--心里评测答案表注释
create table t_xlpcda(
	id int identity(1,1) primary key not null,--主键
	customerId int,--用户
	xlpcId int,--评测
	da varchar(100),--评测内容
	insertDate datetime--日期
);

在线留言表创建语句如下:


--在线留言表注释
create table t_zxly(
	id int identity(1,1) primary key not null,--主键
	customerId int,--用户
	v1 varchar(100),--内容
	v2 varchar(100),--回复内容
	v3 varchar(100),--状态
	userId int--回复人
);

在线预约表创建语句如下:


--在线预约表注释
create table t_zxyy(
	id int identity(1,1) primary key not null,--主键
	customerId int,--用户
	v1 varchar(100),--预约内容
	v4 varchar(100),--预约时间
	v2 varchar(100),--回复内容
	v3 varchar(100),--状态
	userId int--回复人
);

基于SSH的心理测评系统登录后主页

基于SSH的心理测评系统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 sex;
//地址
private String address;
//手机
private String mobile;
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 getSex() {return sex;}
public void setSex(String sex) {this.sex = sex;}
public String getAddress() {return address;}
public void setAddress(String address) {this.address = address;}
public String getMobile() {return mobile;}
public void setMobile(String mobile) {this.mobile = mobile;}
}

访问量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_fw")
public class Fw {
//主键
@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 Date insertDate;
//访问类型
private String fwlx;
public Integer getCustomerId() {return customerId;}
public void setCustomerId(Integer customerId) {this.customerId = customerId;}
public Date getInsertDate() {return insertDate;}
public void setInsertDate(Date insertDate) {this.insertDate = insertDate;}
public String getFwlx() {return fwlx;}
public void setFwlx(String fwlx) {this.fwlx = fwlx;}
}

心里评测档案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_h1")
public class H1 {
//主键
@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;
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;}
}

问卷调查档案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_h2")
public class H2 {
//主键
@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;
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;}
}

个体辅导档案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_h3")
public class H3 {
//主键
@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;
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;}
}

个体信息档案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_h4")
public class H4 {
//主键
@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 name;
//性别
private String sex;
//年龄
private String age;
//电话
private String phone;
//说明
private String v2;
public String getName() {return name;}
public void setName(String name) {this.name = name;}
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 getPhone() {return phone;}
public void setPhone(String phone) {this.phone = phone;}
public String getV2() {return v2;}
public void setV2(String v2) {this.v2 = v2;}
}

签到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_qd")
public class Qd {
//主键
@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 Date insertDate;
public Integer getCustomerId() {return customerId;}
public void setCustomerId(Integer customerId) {this.customerId = customerId;}
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_qduser")
public class Qduser {
//主键
@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 userId;
//日期
private Date insertDate;
public Integer getUserId() {return userId;}
public void setUserId(Integer userId) {this.userId = userId;}
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_user")
public class User {
//主键
@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 sex;
//年龄
private String age;
//电话
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 getName() {return name;}
public void setName(String name) {this.name = name;}
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 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_xlfd")
public class Xlfd {
//主键
@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;
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_xlpc")
public class Xlpc {
//主键
@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;
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_xlpcda")
public class Xlpcda {
//主键
@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 xlpcId;
//评测内容
private String da;
//日期
private Date insertDate;
public Integer getCustomerId() {return customerId;}
public void setCustomerId(Integer customerId) {this.customerId = customerId;}
public Integer getXlpcId() {return xlpcId;}
public void setXlpcId(Integer xlpcId) {this.xlpcId = xlpcId;}
public String getDa() {return da;}
public void setDa(String da) {this.da = da;}
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_zxly")
public class Zxly {
//主键
@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 Integer userId;
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 Integer getUserId() {return userId;}
public void setUserId(Integer userId) {this.userId = userId;}
}

在线预约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_zxyy")
public class Zxyy {
//主键
@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 v4;
//回复内容
private String v2;
//状态
private String v3;
//回复人
private Integer userId;
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 getV4() {return v4;}
public void setV4(String v4) {this.v4 = v4;}
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 Integer getUserId() {return userId;}
public void setUserId(Integer userId) {this.userId = userId;}
}

基于SSH的心理测评系统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 sex;
//地址
private String address;
//手机
private String mobile;
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 getSex() {return sex;}
public void setSex(String sex) {this.sex = sex;}
public String getAddress() {return address;}
public void setAddress(String address) {this.address = address;}
public String getMobile() {return mobile;}
public void setMobile(String mobile) {this.mobile = mobile;}
}

访问量javaBean创建语句如下:


package project.model;
import org.springframework.format.annotation.DateTimeFormat;
import java.util.Date;
//访问量
public class Fw  extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//用户
private Integer customerId;
//日期
private Date insertDate;
//访问类型
private String fwlx;
public Integer getCustomerId() {return customerId;}
public void setCustomerId(Integer customerId) {this.customerId = customerId;}
public Date getInsertDate() {return insertDate;}
public void setInsertDate(Date insertDate) {this.insertDate = insertDate;}
public String getFwlx() {return fwlx;}
public void setFwlx(String fwlx) {this.fwlx = fwlx;}
}

心里评测档案javaBean创建语句如下:


package project.model;
import org.springframework.format.annotation.DateTimeFormat;
import java.util.Date;
//心里评测档案
public class H1  extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//姓名
private String v1;
//说明
private String v2;
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;}
}

问卷调查档案javaBean创建语句如下:


package project.model;
import org.springframework.format.annotation.DateTimeFormat;
import java.util.Date;
//问卷调查档案
public class H2  extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//姓名
private String v1;
//说明
private String v2;
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;}
}

个体辅导档案javaBean创建语句如下:


package project.model;
import org.springframework.format.annotation.DateTimeFormat;
import java.util.Date;
//个体辅导档案
public class H3  extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//姓名
private String v1;
//说明
private String v2;
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;}
}

个体信息档案javaBean创建语句如下:


package project.model;
import org.springframework.format.annotation.DateTimeFormat;
import java.util.Date;
//个体信息档案
public class H4  extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//姓名
private String name;
//性别
private String sex;
//年龄
private String age;
//电话
private String phone;
//说明
private String v2;
public String getName() {return name;}
public void setName(String name) {this.name = name;}
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 getPhone() {return phone;}
public void setPhone(String phone) {this.phone = phone;}
public String getV2() {return v2;}
public void setV2(String v2) {this.v2 = v2;}
}

签到javaBean创建语句如下:


package project.model;
import org.springframework.format.annotation.DateTimeFormat;
import java.util.Date;
//签到
public class Qd  extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//用户
private Integer customerId;
//日期
private Date insertDate;
public Integer getCustomerId() {return customerId;}
public void setCustomerId(Integer customerId) {this.customerId = customerId;}
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 Qduser  extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//咨询师
private Integer userId;
//日期
private Date insertDate;
public Integer getUserId() {return userId;}
public void setUserId(Integer userId) {this.userId = userId;}
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 User  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 sex;
//年龄
private String age;
//电话
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 getName() {return name;}
public void setName(String name) {this.name = name;}
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 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 Xlfd  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;
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 Xlpc  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;
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 Xlpcda  extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//用户
private Integer customerId;
//评测
private Integer xlpcId;
//评测内容
private String da;
//日期
private Date insertDate;
public Integer getCustomerId() {return customerId;}
public void setCustomerId(Integer customerId) {this.customerId = customerId;}
public Integer getXlpcId() {return xlpcId;}
public void setXlpcId(Integer xlpcId) {this.xlpcId = xlpcId;}
public String getDa() {return da;}
public void setDa(String da) {this.da = da;}
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 Zxly  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 Integer userId;
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 Integer getUserId() {return userId;}
public void setUserId(Integer userId) {this.userId = userId;}
}

在线预约javaBean创建语句如下:


package project.model;
import org.springframework.format.annotation.DateTimeFormat;
import java.util.Date;
//在线预约
public class Zxyy  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 v4;
//回复内容
private String v2;
//状态
private String v3;
//回复人
private Integer userId;
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 getV4() {return v4;}
public void setV4(String v4) {this.v4 = v4;}
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 Integer getUserId() {return userId;}
public void setUserId(Integer userId) {this.userId = userId;}
}

猜你喜欢

转载自blog.csdn.net/weixin_44062395/article/details/85292958