基于JavaWeb的健康生活推荐平台的设计与实现

基于JavaWeb的健康生活推荐平台的设计与实现登录注册界面

基于JavaWeb的健康生活推荐平台的设计与实现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_body(
	id int primary key auto_increment comment '主键',
	customerId int comment '用户',
	v1 varchar(100) comment '身高',
	v2 varchar(100) comment '体重',
	v3 varchar(100) comment 'BMI'
) comment '身体数据';

用户表创建语句如下:


create table t_customer(
	id int primary key auto_increment comment '主键',
	username varchar(100) comment '账号',
	password varchar(100) comment '密码',
	customerName varchar(100) comment '姓名',
	age varchar(100) comment '年龄',
	sex varchar(100) comment '性别',
	phone varchar(100) comment '电话',
	address varchar(100) comment '地址',
	idcard varchar(100) comment '身份证',
	account int comment '我的金额'
) comment '用户';

动作库表创建语句如下:


create table t_dzk(
	id int primary key auto_increment comment '主键',
	v1 varchar(100) comment '动作名称',
	v2 varchar(100) comment '动作图片1',
	v3 varchar(100) comment '动作图片2',
	v4 varchar(100) comment '动作图片3',
	v5 varchar(100) comment '内容'
) comment '动作库';

个人动态表创建语句如下:


create table t_grdt(
	id int primary key auto_increment comment '主键',
	customerId int comment '用户',
	v1 varchar(100) comment '标题',
	v2 varchar(100) comment '图片',
	v3 varchar(100) comment '内容'
) comment '个人动态';

活动表创建语句如下:


create table t_hd(
	id int primary key auto_increment comment '主键',
	customerId int comment '用户',
	hdName varchar(100) comment '活动名称',
	v1 varchar(100) comment '活动城市',
	v2 varchar(100) comment '活动时间',
	v3 varchar(100) comment '活动天数',
	v4 varchar(100) comment '活动图片'
) comment '活动';

活动报名表创建语句如下:


create table t_hdsq(
	id int primary key auto_increment comment '主键',
	customerId int comment '用户',
	hdId int comment '活动',
	insertDate datetime comment '报名时间'
) comment '活动报名';

课程表创建语句如下:


create table t_kc(
	id int primary key auto_increment comment '主键',
	v1 varchar(100) comment '课程名称',
	v2 varchar(100) comment '训练天数',
	v3 varchar(100) comment '详细内容',
	v4 varchar(100) comment '图片',
	v5 varchar(100) comment '是否推荐'
) comment '课程';

我的课程表创建语句如下:


create table t_wdkc(
	id int primary key auto_increment comment '主键',
	customerId int comment '用户',
	kcId int comment '课程'
) comment '我的课程';

我的计划表创建语句如下:


create table t_xljh(
	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 datetime comment '记录日期'
) comment '我的计划';

作息表表创建语句如下:


create table t_zxb(
	id int primary key auto_increment comment '主键',
	customerId int comment '用户',
	v1 varchar(100) comment '日期',
	v2 varchar(100) comment '计划'
) comment '作息表';

基于JavaWeb的健康生活推荐平台的设计与实现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_body(
	id integer,
	customerId int,
	v1 varchar(100),
	v2 varchar(100),
	v3 varchar(100)
);
--身体数据字段加注释
comment on column t_body.id is '主键';
comment on column t_body.customerId is '用户';
comment on column t_body.v1 is '身高';
comment on column t_body.v2 is '体重';
comment on column t_body.v3 is 'BMI';
--身体数据表加注释
comment on table t_body is '身体数据';

用户表创建语句如下:


create table t_customer(
	id integer,
	username varchar(100),
	password varchar(100),
	customerName varchar(100),
	age varchar(100),
	sex varchar(100),
	phone varchar(100),
	address varchar(100),
	idcard varchar(100),
	account int
);
--用户字段加注释
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.age is '年龄';
comment on column t_customer.sex is '性别';
comment on column t_customer.phone is '电话';
comment on column t_customer.address is '地址';
comment on column t_customer.idcard is '身份证';
comment on column t_customer.account is '我的金额';
--用户表加注释
comment on table t_customer is '用户';

动作库表创建语句如下:


create table t_dzk(
	id integer,
	v1 varchar(100),
	v2 varchar(100),
	v3 varchar(100),
	v4 varchar(100),
	v5 varchar(100)
);
--动作库字段加注释
comment on column t_dzk.id is '主键';
comment on column t_dzk.v1 is '动作名称';
comment on column t_dzk.v2 is '动作图片1';
comment on column t_dzk.v3 is '动作图片2';
comment on column t_dzk.v4 is '动作图片3';
comment on column t_dzk.v5 is '内容';
--动作库表加注释
comment on table t_dzk is '动作库';

个人动态表创建语句如下:


create table t_grdt(
	id integer,
	customerId int,
	v1 varchar(100),
	v2 varchar(100),
	v3 varchar(100)
);
--个人动态字段加注释
comment on column t_grdt.id is '主键';
comment on column t_grdt.customerId is '用户';
comment on column t_grdt.v1 is '标题';
comment on column t_grdt.v2 is '图片';
comment on column t_grdt.v3 is '内容';
--个人动态表加注释
comment on table t_grdt is '个人动态';

活动表创建语句如下:


create table t_hd(
	id integer,
	customerId int,
	hdName varchar(100),
	v1 varchar(100),
	v2 varchar(100),
	v3 varchar(100),
	v4 varchar(100)
);
--活动字段加注释
comment on column t_hd.id is '主键';
comment on column t_hd.customerId is '用户';
comment on column t_hd.hdName is '活动名称';
comment on column t_hd.v1 is '活动城市';
comment on column t_hd.v2 is '活动时间';
comment on column t_hd.v3 is '活动天数';
comment on column t_hd.v4 is '活动图片';
--活动表加注释
comment on table t_hd is '活动';

活动报名表创建语句如下:


create table t_hdsq(
	id integer,
	customerId int,
	hdId int,
	insertDate datetime
);
--活动报名字段加注释
comment on column t_hdsq.id is '主键';
comment on column t_hdsq.customerId is '用户';
comment on column t_hdsq.hdId is '活动';
comment on column t_hdsq.insertDate is '报名时间';
--活动报名表加注释
comment on table t_hdsq is '活动报名';

课程表创建语句如下:


create table t_kc(
	id integer,
	v1 varchar(100),
	v2 varchar(100),
	v3 varchar(100),
	v4 varchar(100),
	v5 varchar(100)
);
--课程字段加注释
comment on column t_kc.id is '主键';
comment on column t_kc.v1 is '课程名称';
comment on column t_kc.v2 is '训练天数';
comment on column t_kc.v3 is '详细内容';
comment on column t_kc.v4 is '图片';
comment on column t_kc.v5 is '是否推荐';
--课程表加注释
comment on table t_kc is '课程';

我的课程表创建语句如下:


create table t_wdkc(
	id integer,
	customerId int,
	kcId int
);
--我的课程字段加注释
comment on column t_wdkc.id is '主键';
comment on column t_wdkc.customerId is '用户';
comment on column t_wdkc.kcId is '课程';
--我的课程表加注释
comment on table t_wdkc is '我的课程';

我的计划表创建语句如下:


create table t_xljh(
	id integer,
	customerId int,
	v1 varchar(100),
	v2 varchar(100),
	v3 varchar(100),
	v4 varchar(100),
	v5 datetime
);
--我的计划字段加注释
comment on column t_xljh.id is '主键';
comment on column t_xljh.customerId is '用户';
comment on column t_xljh.v1 is '总训练时长';
comment on column t_xljh.v2 is '训练次数';
comment on column t_xljh.v3 is '训练天数';
comment on column t_xljh.v4 is '燃脂量';
comment on column t_xljh.v5 is '记录日期';
--我的计划表加注释
comment on table t_xljh is '我的计划';

作息表表创建语句如下:


create table t_zxb(
	id integer,
	customerId int,
	v1 varchar(100),
	v2 varchar(100)
);
--作息表字段加注释
comment on column t_zxb.id is '主键';
comment on column t_zxb.customerId is '用户';
comment on column t_zxb.v1 is '日期';
comment on column t_zxb.v2 is '计划';
--作息表表加注释
comment on table t_zxb is '作息表';

oracle特有,对应序列如下:


create sequence s_t_body;
create sequence s_t_customer;
create sequence s_t_dzk;
create sequence s_t_grdt;
create sequence s_t_hd;
create sequence s_t_hdsq;
create sequence s_t_kc;
create sequence s_t_wdkc;
create sequence s_t_xljh;
create sequence s_t_zxb;

基于JavaWeb的健康生活推荐平台的设计与实现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_body(
	id int identity(1,1) primary key not null,--主键
	customerId int,--用户
	v1 varchar(100),--身高
	v2 varchar(100),--体重
	v3 varchar(100)--BMI
);

用户表创建语句如下:


--用户表注释
create table t_customer(
	id int identity(1,1) primary key not null,--主键
	username varchar(100),--账号
	password varchar(100),--密码
	customerName varchar(100),--姓名
	age varchar(100),--年龄
	sex varchar(100),--性别
	phone varchar(100),--电话
	address varchar(100),--地址
	idcard varchar(100),--身份证
	account int--我的金额
);

动作库表创建语句如下:


--动作库表注释
create table t_dzk(
	id int identity(1,1) primary key not null,--主键
	v1 varchar(100),--动作名称
	v2 varchar(100),--动作图片1
	v3 varchar(100),--动作图片2
	v4 varchar(100),--动作图片3
	v5 varchar(100)--内容
);

个人动态表创建语句如下:


--个人动态表注释
create table t_grdt(
	id int identity(1,1) primary key not null,--主键
	customerId int,--用户
	v1 varchar(100),--标题
	v2 varchar(100),--图片
	v3 varchar(100)--内容
);

活动表创建语句如下:


--活动表注释
create table t_hd(
	id int identity(1,1) primary key not null,--主键
	customerId int,--用户
	hdName varchar(100),--活动名称
	v1 varchar(100),--活动城市
	v2 varchar(100),--活动时间
	v3 varchar(100),--活动天数
	v4 varchar(100)--活动图片
);

活动报名表创建语句如下:


--活动报名表注释
create table t_hdsq(
	id int identity(1,1) primary key not null,--主键
	customerId int,--用户
	hdId int,--活动
	insertDate datetime--报名时间
);

课程表创建语句如下:


--课程表注释
create table t_kc(
	id int identity(1,1) primary key not null,--主键
	v1 varchar(100),--课程名称
	v2 varchar(100),--训练天数
	v3 varchar(100),--详细内容
	v4 varchar(100),--图片
	v5 varchar(100)--是否推荐
);

我的课程表创建语句如下:


--我的课程表注释
create table t_wdkc(
	id int identity(1,1) primary key not null,--主键
	customerId int,--用户
	kcId int--课程
);

我的计划表创建语句如下:


--我的计划表注释
create table t_xljh(
	id int identity(1,1) primary key not null,--主键
	customerId int,--用户
	v1 varchar(100),--总训练时长
	v2 varchar(100),--训练次数
	v3 varchar(100),--训练天数
	v4 varchar(100),--燃脂量
	v5 datetime--记录日期
);

作息表表创建语句如下:


--作息表表注释
create table t_zxb(
	id int identity(1,1) primary key not null,--主键
	customerId int,--用户
	v1 varchar(100),--日期
	v2 varchar(100)--计划
);

基于JavaWeb的健康生活推荐平台的设计与实现登录后主页

基于JavaWeb的健康生活推荐平台的设计与实现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_body")
public class Body {
//主键
@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;
//BMI
private String v3;
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;}
}

用户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 age;
//性别
private String sex;
//电话
private String phone;
//地址
private String address;
//身份证
private String idcard;
//我的金额
private Integer account;
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 getAge() {return age;}
public void setAge(String age) {this.age = age;}
public String getSex() {return sex;}
public void setSex(String sex) {this.sex = sex;}
public String getPhone() {return phone;}
public void setPhone(String phone) {this.phone = phone;}
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 Integer getAccount() {return account;}
public void setAccount(Integer account) {this.account = account;}
}

动作库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_dzk")
public class Dzk {
//主键
@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;
//动作图片1
private String v2;
//动作图片2
private String v3;
//动作图片3
private String v4;
//内容
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 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;}
}

个人动态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_grdt")
public class Grdt {
//主键
@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;
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;}
}

活动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_hd")
public class Hd {
//主键
@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 hdName;
//活动城市
private String v1;
//活动时间
private String v2;
//活动天数
private String v3;
//活动图片
private String v4;
public Integer getCustomerId() {return customerId;}
public void setCustomerId(Integer customerId) {this.customerId = customerId;}
public String getHdName() {return hdName;}
public void setHdName(String hdName) {this.hdName = hdName;}
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_hdsq")
public class Hdsq {
//主键
@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 hdId;
//报名时间
private Date insertDate;
public Integer getCustomerId() {return customerId;}
public void setCustomerId(Integer customerId) {this.customerId = customerId;}
public Integer getHdId() {return hdId;}
public void setHdId(Integer hdId) {this.hdId = hdId;}
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_kc")
public class Kc {
//主键
@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 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 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;}
}

我的课程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_wdkc")
public class Wdkc {
//主键
@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 kcId;
public Integer getCustomerId() {return customerId;}
public void setCustomerId(Integer customerId) {this.customerId = customerId;}
public Integer getKcId() {return kcId;}
public void setKcId(Integer kcId) {this.kcId = kcId;}
}

我的计划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_xljh")
public class Xljh {
//主键
@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 Date v5;
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 Date getV5() {return v5;}
public void setV5(Date v5) {this.v5 = v5;}
}

作息表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_zxb")
public class Zxb {
//主键
@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;
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;}
}

基于JavaWeb的健康生活推荐平台的设计与实现spring+springMVC+mybatis框架对象(javaBean,pojo)设计:

身体数据javaBean创建语句如下:


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

//身体数据
public class Body  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;
//BMI
private String v3;
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;}
}

用户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 age;
//性别
private String sex;
//电话
private String phone;
//地址
private String address;
//身份证
private String idcard;
//我的金额
private Integer account;
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 getAge() {return age;}
public void setAge(String age) {this.age = age;}
public String getSex() {return sex;}
public void setSex(String sex) {this.sex = sex;}
public String getPhone() {return phone;}
public void setPhone(String phone) {this.phone = phone;}
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 Integer getAccount() {return account;}
public void setAccount(Integer account) {this.account = account;}
}

动作库javaBean创建语句如下:


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

//动作库
public class Dzk  extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//动作名称
private String v1;
//动作图片1
private String v2;
//动作图片2
private String v3;
//动作图片3
private String v4;
//内容
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 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;}
}

个人动态javaBean创建语句如下:


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

//个人动态
public class Grdt  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;
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;}
}

活动javaBean创建语句如下:


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

//活动
public class Hd  extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//用户
private Integer customerId;
//活动名称
private String hdName;
//活动城市
private String v1;
//活动时间
private String v2;
//活动天数
private String v3;
//活动图片
private String v4;
public Integer getCustomerId() {return customerId;}
public void setCustomerId(Integer customerId) {this.customerId = customerId;}
public String getHdName() {return hdName;}
public void setHdName(String hdName) {this.hdName = hdName;}
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 Hdsq  extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//用户
private Integer customerId;
//活动
private Integer hdId;
//报名时间
private Date insertDate;
public Integer getCustomerId() {return customerId;}
public void setCustomerId(Integer customerId) {this.customerId = customerId;}
public Integer getHdId() {return hdId;}
public void setHdId(Integer hdId) {this.hdId = hdId;}
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 Kc  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 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 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;}
}

我的课程javaBean创建语句如下:


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

//我的课程
public class Wdkc  extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//用户
private Integer customerId;
//课程
private Integer kcId;
public Integer getCustomerId() {return customerId;}
public void setCustomerId(Integer customerId) {this.customerId = customerId;}
public Integer getKcId() {return kcId;}
public void setKcId(Integer kcId) {this.kcId = kcId;}
}

我的计划javaBean创建语句如下:


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

//我的计划
public class Xljh  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 Date v5;
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 Date getV5() {return v5;}
public void setV5(Date v5) {this.v5 = v5;}
}

作息表javaBean创建语句如下:


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

//作息表
public class Zxb  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;
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;}
}

相关毕业设计源码

申通物流车辆调度系统设计和实现

申通物流车辆调度系统设计和实现(zheliangdiaodu),提供三种数据库:mysql,oracle,sqlserver,对应三种框架源码:springMVC/spring+springMVC+hibernate/spring+springMVC+mybatis,开发工具是myeclipse,提供基本增删改查,后台分页,图片上传,附件上传,富文本编辑器,时间选择器等功能。

社区网上便利店的设计与实现

社区网上便利店的设计与实现,提供三种数据库:mysql,oracle,sqlserver,对应三种框架源码:springMVC/spring+springMVC+hibernate/spring+springMVC+mybatis,开发工具是myeclipse,提供基本增删改查,后台分页,图片上传,附件上传,富文本编辑器,时间选择器等功能。

网络攻防课程在线资源网站设计与实现

网络攻防课程在线资源网站设计与实现,提供三种数据库:mysql,oracle,sqlserver,对应三种框架源码:springMVC/spring+springMVC+hibernate/spring+springMVC+mybatis,开发工具是myeclipse,提供基本增删改查,后台分页,图片上传,附件上传,富文本编辑器,时间选择器等功能。

企业网站系统设计

企业网站系统设计,提供三种数据库:mysql,oracle,sqlserver,对应三种框架源码:springMVC/spring+springMVC+hibernate/spring+springMVC+mybatis,开发工具是myeclipse,提供基本增删改查,后台分页,图片上传,附件上传,富文本编辑器,时间选择器等功能。

基于Android和SNS的音乐星球软件的设计与实现

基于Android和SNS的音乐星球软件的设计与实现,提供三种数据库:mysql,oracle,sqlserver,对应三种框架源码:springMVC/spring+springMVC+hibernate/spring+springMVC+mybatis,开发工具是myeclipse,提供基本增删改查,后台分页,图片上传,附件上传,富文本编辑器,时间选择器等功能。

基于WEB的高速危险化学品应急处置系统,java网站毕业设计

基于WEB的高速危险化学品应急处置系统(weixianhuaxue),提供三种数据库:mysql,oracle,sqlserver,对应三种框架源码:springMVC/spring+springMVC+hibernate/spring+springMVC+mybatis,开发工具是myeclipse,提供基本增删改查,后台分页,图片上传,附件上传,富文本编辑器,时间选择器等功能。

基于JSP项目任务系统的设计与实现

基于JSP项目任务系统的设计与实现(xiangmurenwu),提供三种数据库:mysql,oracle,sqlserver,对应三种框架源码:springMVC/spring+springMVC+hibernate/spring+springMVC+mybatis,开发工具是myeclipse,提供基本增删改查,后台分页,图片上传,附件上传,富文本编辑器,时间选择器等功能。

基于JAVA的网上商城商家管理系统设计与实现

基于JAVA的网上商城商家管理系统设计与实现(wangshangshangcehng),提供三种数据库:mysql,oracle,sqlserver,对应三种框架源码:springMVC/spring+springMVC+hibernate/spring+springMVC+mybatis,开发工具是myeclipse,提供基本增删改查,后台分页,图片上传,附件上传,富文本编辑器,时间选择器等功能。

基于微信公众平台的C语言自主学习系统设计与实现

基于微信公众平台的C语言自主学习系统设计与实现,提供三种数据库:mysql,oracle,sqlserver,对应三种框架源码:springMVC/spring+springMVC+hibernate/spring+springMVC+mybatis,开发工具是myeclipse,提供基本增删改查,后台分页,图片上传,附件上传,富文本编辑器,时间选择器等功能。

电子资源账务管理系统(electronic_resources),毕业设计java

电子资源账务管理系统(electronic_resources),提供三种数据库:mysql,oracle,sqlserver,对应三种框架源码:springMVC/spring+springMVC+hibernate/spring+springMVC+mybatis,开发工具是myeclipse,提供基本增删改查,后台分页,图片上传,附件上传,富文本编辑器,时间选择器等功能。

基于Android的汽车交友平台的设计及实现,设计及实现

基于Android的汽车交友平台的设计及实现(qichejiaoyou),提供三种数据库:mysql,oracle,sqlserver,对应三种框架源码:springMVC/spring+springMVC+hibernate/spring+springMVC+mybatis,开发工具是myeclipse,提供基本增删改查,后台分页,图片上传,附件上传,富文本编辑器,时间选择器等功能。

奇石展销系统设计

奇石展销系统设计,提供三种数据库:mysql,oracle,sqlserver,对应三种框架源码:springMVC/spring+springMVC+hibernate/spring+springMVC+mybatis,开发工具是myeclipse,提供基本增删改查,后台分页,图片上传,附件上传,富文本编辑器,时间选择器等功能。

评论