宠物网站(chongwuwangzhan),java毕业设计

宠物网站登录注册界面

宠物网站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_contact(
	id int primary key auto_increment comment '主键',
	customerId int comment '用户',
	phone varchar(100) comment '联系方式',
	content varchar(100) comment '内容',
	insertDate datetime comment '日期',
	back varchar(100) comment ''
) comment '求助';

客户表创建语句如下:


create table t_customer(
	id int primary key auto_increment comment '主键',
	username varchar(100) comment '账号',
	password varchar(100) comment '密码',
	customerName varchar(100) comment '姓名',
	sex varchar(100) comment '性别',
	address varchar(100) comment '地址',
	phone varchar(100) comment '手机',
	account int comment '账户',
	jf int comment '积分'
) comment '客户';

宠物托管表创建语句如下:


create table t_cwtg(
	id int primary key auto_increment comment '主键',
	customerId int comment '用户',
	v1 varchar(100) comment '宠物名称',
	v2 varchar(100) comment '类型',
	v3 varchar(100) comment '品种',
	v4 varchar(100) comment '性别',
	v5 varchar(100) comment '年龄',
	v6 varchar(100) comment '大小',
	v7 varchar(100) comment '毛发颜色',
	status varchar(100) comment '状态'
) comment '宠物托管';

救助站表创建语句如下:


create table t_jzz(
	id int primary key auto_increment comment '主键',
	content varchar(100) comment '救助站内容'
) comment '救助站';

领养表创建语句如下:


create table t_ly(
	id int primary key auto_increment comment '主键',
	customerId int comment '用户',
	productId int comment '宠物',
	insertDate datetime comment '日期',
	status varchar(100) comment '状态',
	v1 varchar(100) comment '真实姓名',
	v2 varchar(100) comment '真实年龄',
	v3 varchar(100) comment '工作',
	v4 varchar(100) comment '现居住地',
	v5 varchar(100) comment '照片',
	v6 varchar(100) comment '邮箱'
) comment '领养';

领养过程表创建语句如下:


create table t_lygc(
	id int primary key auto_increment comment '主键',
	pic varchar(100) comment '图片',
	spurl varchar(100) comment '视频',
	content varchar(100) comment '领养过程内容'
) comment '领养过程';

宠物表表创建语句如下:


create table t_product(
	id int primary key auto_increment comment '主键',
	productName varchar(100) comment '宠物名称',
	productPic1 varchar(100) comment '图片1',
	productPic2 varchar(100) comment '图片2',
	productPic3 varchar(100) comment '图片3',
	productPic4 varchar(100) comment '图片4',
	price int comment '年龄',
	content varchar(100) comment '大小',
	nums varchar(100) comment '毛发颜色',
	tjxj varchar(100) comment '品种',
	status varchar(100) comment '状态',
	typesId int comment '类型',
	nld varchar(100) comment '性别'
) comment '宠物表';

托管项目表创建语句如下:


create table t_tg(
	id int primary key auto_increment comment '主键',
	tgName varchar(100) comment '项目名称',
	tgFee int comment '平均按天金额'
) comment '托管项目';

托管金额计算表创建语句如下:


create table t_tgfee(
	id int primary key auto_increment comment '主键',
	cwtgId int comment '托管宠物',
	ts int comment '托管天数',
	tgName varchar(100) comment '托管项目',
	fee int comment '金额总计'
) comment '托管金额计算';

类型表创建语句如下:


create table t_types(
	id int primary key auto_increment comment '主键',
	typesName varchar(100) 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 '姓名',
	gh varchar(100) comment '工号',
	mobile varchar(100) comment '手机'
) comment '普通员工';

文章表创建语句如下:


create table t_wz(
	id int primary key auto_increment comment '主键',
	title varchar(100) comment '标题',
	pic varchar(100) comment '图片',
	content varchar(100) comment '内容',
	showDate varchar(100) comment '日期'
) comment '文章';

文章表创建语句如下:


create table t_yhwz(
	id int primary key auto_increment comment '主键',
	customerId int comment '用户',
	title varchar(100) comment '文章标题',
	content varchar(100) comment '文章内容'
) comment '文章';

宠物网站oracle数据库版本源码:

超级管理员表创建语句如下:


create table t_admin(
	id integer,
	username varchar(100),
	password varchar(100)
);
insert into t_admin(id,username,password) values(1,'admin','123456');
--超级管理员字段加注释
comment on column t_admin.id is '主键';
comment on column t_admin.username is '超级管理员账号';
comment on column t_admin.password is '超级管理员密码';
--超级管理员表加注释
comment on table t_admin is '超级管理员';

求助表创建语句如下:


create table t_contact(
	id integer,
	customerId int,
	phone varchar(100),
	content varchar(100),
	insertDate datetime,
	back varchar(100)
);
--求助字段加注释
comment on column t_contact.id is '主键';
comment on column t_contact.customerId is '用户';
comment on column t_contact.phone is '联系方式';
comment on column t_contact.content is '内容';
comment on column t_contact.insertDate is '日期';
comment on column t_contact.back is '';
--求助表加注释
comment on table t_contact is '求助';

客户表创建语句如下:


create table t_customer(
	id integer,
	username varchar(100),
	password varchar(100),
	customerName varchar(100),
	sex varchar(100),
	address varchar(100),
	phone varchar(100),
	account int,
	jf 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.sex is '性别';
comment on column t_customer.address is '地址';
comment on column t_customer.phone is '手机';
comment on column t_customer.account is '账户';
comment on column t_customer.jf is '积分';
--客户表加注释
comment on table t_customer is '客户';

宠物托管表创建语句如下:


create table t_cwtg(
	id integer,
	customerId int,
	v1 varchar(100),
	v2 varchar(100),
	v3 varchar(100),
	v4 varchar(100),
	v5 varchar(100),
	v6 varchar(100),
	v7 varchar(100),
	status varchar(100)
);
--宠物托管字段加注释
comment on column t_cwtg.id is '主键';
comment on column t_cwtg.customerId is '用户';
comment on column t_cwtg.v1 is '宠物名称';
comment on column t_cwtg.v2 is '类型';
comment on column t_cwtg.v3 is '品种';
comment on column t_cwtg.v4 is '性别';
comment on column t_cwtg.v5 is '年龄';
comment on column t_cwtg.v6 is '大小';
comment on column t_cwtg.v7 is '毛发颜色';
comment on column t_cwtg.status is '状态';
--宠物托管表加注释
comment on table t_cwtg is '宠物托管';

救助站表创建语句如下:


create table t_jzz(
	id integer,
	content varchar(100)
);
--救助站字段加注释
comment on column t_jzz.id is '主键';
comment on column t_jzz.content is '救助站内容';
--救助站表加注释
comment on table t_jzz is '救助站';

领养表创建语句如下:


create table t_ly(
	id integer,
	customerId int,
	productId int,
	insertDate datetime,
	status varchar(100),
	v1 varchar(100),
	v2 varchar(100),
	v3 varchar(100),
	v4 varchar(100),
	v5 varchar(100),
	v6 varchar(100)
);
--领养字段加注释
comment on column t_ly.id is '主键';
comment on column t_ly.customerId is '用户';
comment on column t_ly.productId is '宠物';
comment on column t_ly.insertDate is '日期';
comment on column t_ly.status is '状态';
comment on column t_ly.v1 is '真实姓名';
comment on column t_ly.v2 is '真实年龄';
comment on column t_ly.v3 is '工作';
comment on column t_ly.v4 is '现居住地';
comment on column t_ly.v5 is '照片';
comment on column t_ly.v6 is '邮箱';
--领养表加注释
comment on table t_ly is '领养';

领养过程表创建语句如下:


create table t_lygc(
	id integer,
	pic varchar(100),
	spurl varchar(100),
	content varchar(100)
);
--领养过程字段加注释
comment on column t_lygc.id is '主键';
comment on column t_lygc.pic is '图片';
comment on column t_lygc.spurl is '视频';
comment on column t_lygc.content is '领养过程内容';
--领养过程表加注释
comment on table t_lygc is '领养过程';

宠物表表创建语句如下:


create table t_product(
	id integer,
	productName varchar(100),
	productPic1 varchar(100),
	productPic2 varchar(100),
	productPic3 varchar(100),
	productPic4 varchar(100),
	price int,
	content varchar(100),
	nums varchar(100),
	tjxj varchar(100),
	status varchar(100),
	typesId int,
	nld varchar(100)
);
--宠物表字段加注释
comment on column t_product.id is '主键';
comment on column t_product.productName is '宠物名称';
comment on column t_product.productPic1 is '图片1';
comment on column t_product.productPic2 is '图片2';
comment on column t_product.productPic3 is '图片3';
comment on column t_product.productPic4 is '图片4';
comment on column t_product.price is '年龄';
comment on column t_product.content is '大小';
comment on column t_product.nums is '毛发颜色';
comment on column t_product.tjxj is '品种';
comment on column t_product.status is '状态';
comment on column t_product.typesId is '类型';
comment on column t_product.nld is '性别';
--宠物表表加注释
comment on table t_product is '宠物表';

托管项目表创建语句如下:


create table t_tg(
	id integer,
	tgName varchar(100),
	tgFee int
);
--托管项目字段加注释
comment on column t_tg.id is '主键';
comment on column t_tg.tgName is '项目名称';
comment on column t_tg.tgFee is '平均按天金额';
--托管项目表加注释
comment on table t_tg is '托管项目';

托管金额计算表创建语句如下:


create table t_tgfee(
	id integer,
	cwtgId int,
	ts int,
	tgName varchar(100),
	fee int
);
--托管金额计算字段加注释
comment on column t_tgfee.id is '主键';
comment on column t_tgfee.cwtgId is '托管宠物';
comment on column t_tgfee.ts is '托管天数';
comment on column t_tgfee.tgName is '托管项目';
comment on column t_tgfee.fee is '金额总计';
--托管金额计算表加注释
comment on table t_tgfee is '托管金额计算';

类型表创建语句如下:


create table t_types(
	id integer,
	typesName varchar(100)
);
--类型字段加注释
comment on column t_types.id is '主键';
comment on column t_types.typesName is '分类';
--类型表加注释
comment on table t_types is '类型';

普通员工表创建语句如下:


create table t_user(
	id integer,
	username varchar(100),
	password varchar(100),
	name varchar(100),
	gh varchar(100),
	mobile 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.gh is '工号';
comment on column t_user.mobile is '手机';
--普通员工表加注释
comment on table t_user is '普通员工';

文章表创建语句如下:


create table t_wz(
	id integer,
	title varchar(100),
	pic varchar(100),
	content varchar(100),
	showDate varchar(100)
);
--文章字段加注释
comment on column t_wz.id is '主键';
comment on column t_wz.title is '标题';
comment on column t_wz.pic is '图片';
comment on column t_wz.content is '内容';
comment on column t_wz.showDate is '日期';
--文章表加注释
comment on table t_wz is '文章';

文章表创建语句如下:


create table t_yhwz(
	id integer,
	customerId int,
	title varchar(100),
	content varchar(100)
);
--文章字段加注释
comment on column t_yhwz.id is '主键';
comment on column t_yhwz.customerId is '用户';
comment on column t_yhwz.title is '文章标题';
comment on column t_yhwz.content is '文章内容';
--文章表加注释
comment on table t_yhwz is '文章';

oracle特有,对应序列如下:


create sequence s_t_contact;
create sequence s_t_customer;
create sequence s_t_cwtg;
create sequence s_t_jzz;
create sequence s_t_ly;
create sequence s_t_lygc;
create sequence s_t_product;
create sequence s_t_tg;
create sequence s_t_tgfee;
create sequence s_t_types;
create sequence s_t_user;
create sequence s_t_wz;
create sequence s_t_yhwz;

宠物网站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_contact(
	id int identity(1,1) primary key not null,--主键
	customerId int,--用户
	phone varchar(100),--联系方式
	content varchar(100),--内容
	insertDate datetime,--日期
	back varchar(100)--
);

客户表创建语句如下:


--客户表注释
create table t_customer(
	id int identity(1,1) primary key not null,--主键
	username varchar(100),--账号
	password varchar(100),--密码
	customerName varchar(100),--姓名
	sex varchar(100),--性别
	address varchar(100),--地址
	phone varchar(100),--手机
	account int,--账户
	jf int--积分
);

宠物托管表创建语句如下:


--宠物托管表注释
create table t_cwtg(
	id int identity(1,1) primary key not null,--主键
	customerId int,--用户
	v1 varchar(100),--宠物名称
	v2 varchar(100),--类型
	v3 varchar(100),--品种
	v4 varchar(100),--性别
	v5 varchar(100),--年龄
	v6 varchar(100),--大小
	v7 varchar(100),--毛发颜色
	status varchar(100)--状态
);

救助站表创建语句如下:


--救助站表注释
create table t_jzz(
	id int identity(1,1) primary key not null,--主键
	content varchar(100)--救助站内容
);

领养表创建语句如下:


--领养表注释
create table t_ly(
	id int identity(1,1) primary key not null,--主键
	customerId int,--用户
	productId int,--宠物
	insertDate datetime,--日期
	status varchar(100),--状态
	v1 varchar(100),--真实姓名
	v2 varchar(100),--真实年龄
	v3 varchar(100),--工作
	v4 varchar(100),--现居住地
	v5 varchar(100),--照片
	v6 varchar(100)--邮箱
);

领养过程表创建语句如下:


--领养过程表注释
create table t_lygc(
	id int identity(1,1) primary key not null,--主键
	pic varchar(100),--图片
	spurl varchar(100),--视频
	content varchar(100)--领养过程内容
);

宠物表表创建语句如下:


--宠物表表注释
create table t_product(
	id int identity(1,1) primary key not null,--主键
	productName varchar(100),--宠物名称
	productPic1 varchar(100),--图片1
	productPic2 varchar(100),--图片2
	productPic3 varchar(100),--图片3
	productPic4 varchar(100),--图片4
	price int,--年龄
	content varchar(100),--大小
	nums varchar(100),--毛发颜色
	tjxj varchar(100),--品种
	status varchar(100),--状态
	typesId int,--类型
	nld varchar(100)--性别
);

托管项目表创建语句如下:


--托管项目表注释
create table t_tg(
	id int identity(1,1) primary key not null,--主键
	tgName varchar(100),--项目名称
	tgFee int--平均按天金额
);

托管金额计算表创建语句如下:


--托管金额计算表注释
create table t_tgfee(
	id int identity(1,1) primary key not null,--主键
	cwtgId int,--托管宠物
	ts int,--托管天数
	tgName varchar(100),--托管项目
	fee int--金额总计
);

类型表创建语句如下:


--类型表注释
create table t_types(
	id int identity(1,1) primary key not null,--主键
	typesName varchar(100)--分类
);

普通员工表创建语句如下:


--普通员工表注释
create table t_user(
	id int identity(1,1) primary key not null,--主键
	username varchar(100),--账号
	password varchar(100),--密码
	name varchar(100),--姓名
	gh varchar(100),--工号
	mobile varchar(100)--手机
);

文章表创建语句如下:


--文章表注释
create table t_wz(
	id int identity(1,1) primary key not null,--主键
	title varchar(100),--标题
	pic varchar(100),--图片
	content varchar(100),--内容
	showDate varchar(100)--日期
);

文章表创建语句如下:


--文章表注释
create table t_yhwz(
	id int identity(1,1) primary key not null,--主键
	customerId int,--用户
	title varchar(100),--文章标题
	content varchar(100)--文章内容
);

宠物网站登录后主页

宠物网站spring+springMVC+hibernate框架对象(javaBean,pojo)设计:

求助javaBean创建语句如下:


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

//求助
@Table(name = "t_contact")
public class Contact {
//主键
@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 phone;
//内容
private String content;
//日期
private Date insertDate;
//
private String back;
public Integer getCustomerId() {return customerId;}
public void setCustomerId(Integer customerId) {this.customerId = customerId;}
public String getPhone() {return phone;}
public void setPhone(String phone) {this.phone = phone;}
public String getContent() {return content;}
public void setContent(String content) {this.content = content;}
public Date getInsertDate() {return insertDate;}
public void setInsertDate(Date insertDate) {this.insertDate = insertDate;}
public String getBack() {return back;}
public void setBack(String back) {this.back = back;}
}

客户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 sex;
//地址
private String address;
//手机
private String phone;
//账户
private Integer account;
//积分
private Integer jf;
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 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 getPhone() {return phone;}
public void setPhone(String phone) {this.phone = phone;}
public Integer getAccount() {return account;}
public void setAccount(Integer account) {this.account = account;}
public Integer getJf() {return jf;}
public void setJf(Integer jf) {this.jf = jf;}
}

宠物托管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_cwtg")
public class Cwtg {
//主键
@Id
@Column(name = "id")
@GeneratedValue(strategy = GenerationType.IDENTITY)
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//用户
private Integer customerId;
//宠物名称
private String v1;
//类型
private String v2;
//品种
private String v3;
//性别
private String v4;
//年龄
private String v5;
//大小
private String v6;
//毛发颜色
private String v7;
//状态
private String status;
public Integer getCustomerId() {return customerId;}
public void setCustomerId(Integer customerId) {this.customerId = customerId;}
public String getV1() {return v1;}
public void setV1(String v1) {this.v1 = v1;}
public String getV2() {return v2;}
public void setV2(String v2) {this.v2 = v2;}
public String getV3() {return v3;}
public void setV3(String v3) {this.v3 = v3;}
public String getV4() {return v4;}
public void setV4(String v4) {this.v4 = v4;}
public String getV5() {return v5;}
public void setV5(String v5) {this.v5 = v5;}
public String getV6() {return v6;}
public void setV6(String v6) {this.v6 = v6;}
public String getV7() {return v7;}
public void setV7(String v7) {this.v7 = v7;}
public 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_jzz")
public class Jzz {
//主键
@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 content;
public String getContent() {return content;}
public void setContent(String content) {this.content = content;}
}

领养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 productId;
//日期
private Date insertDate;
//状态
private String status;
//真实姓名
private String v1;
//真实年龄
private String v2;
//工作
private String v3;
//现居住地
private String v4;
//照片
private String v5;
//邮箱
private String v6;
public Integer getCustomerId() {return customerId;}
public void setCustomerId(Integer customerId) {this.customerId = customerId;}
public Integer getProductId() {return productId;}
public void setProductId(Integer productId) {this.productId = productId;}
public Date getInsertDate() {return insertDate;}
public void setInsertDate(Date insertDate) {this.insertDate = insertDate;}
public String getStatus() {return status;}
public void setStatus(String status) {this.status = status;}
public String getV1() {return v1;}
public void setV1(String v1) {this.v1 = v1;}
public String getV2() {return v2;}
public void setV2(String v2) {this.v2 = v2;}
public String getV3() {return v3;}
public void setV3(String v3) {this.v3 = v3;}
public String getV4() {return v4;}
public void setV4(String v4) {this.v4 = v4;}
public String getV5() {return v5;}
public void setV5(String v5) {this.v5 = v5;}
public String getV6() {return v6;}
public void setV6(String v6) {this.v6 = v6;}
}

领养过程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_lygc")
public class Lygc {
//主键
@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 pic;
//视频
private String spurl;
//领养过程内容
private String content;
public String getPic() {return pic;}
public void setPic(String pic) {this.pic = pic;}
public String getSpurl() {return spurl;}
public void setSpurl(String spurl) {this.spurl = spurl;}
public String getContent() {return content;}
public void setContent(String content) {this.content = content;}
}

宠物表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_product")
public class Product {
//主键
@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 productName;
//图片1
private String productPic1;
//图片2
private String productPic2;
//图片3
private String productPic3;
//图片4
private String productPic4;
//年龄
private Integer price;
//大小
private String content;
//毛发颜色
private String nums;
//品种
private String tjxj;
//状态
private String status;
//类型
private Integer typesId;
//性别
private String nld;
public String getProductName() {return productName;}
public void setProductName(String productName) {this.productName = productName;}
public String getProductPic1() {return productPic1;}
public void setProductPic1(String productPic1) {this.productPic1 = productPic1;}
public String getProductPic2() {return productPic2;}
public void setProductPic2(String productPic2) {this.productPic2 = productPic2;}
public String getProductPic3() {return productPic3;}
public void setProductPic3(String productPic3) {this.productPic3 = productPic3;}
public String getProductPic4() {return productPic4;}
public void setProductPic4(String productPic4) {this.productPic4 = productPic4;}
public Integer getPrice() {return price;}
public void setPrice(Integer price) {this.price = price;}
public String getContent() {return content;}
public void setContent(String content) {this.content = content;}
public String getNums() {return nums;}
public void setNums(String nums) {this.nums = nums;}
public String getTjxj() {return tjxj;}
public void setTjxj(String tjxj) {this.tjxj = tjxj;}
public String getStatus() {return status;}
public void setStatus(String status) {this.status = status;}
public Integer getTypesId() {return typesId;}
public void setTypesId(Integer typesId) {this.typesId = typesId;}
public String getNld() {return nld;}
public void setNld(String nld) {this.nld = nld;}
}

托管项目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_tg")
public class Tg {
//主键
@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 tgName;
//平均按天金额
private Integer tgFee;
public String getTgName() {return tgName;}
public void setTgName(String tgName) {this.tgName = tgName;}
public Integer getTgFee() {return tgFee;}
public void setTgFee(Integer tgFee) {this.tgFee = tgFee;}
}

托管金额计算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_tgfee")
public class Tgfee {
//主键
@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 cwtgId;
//托管天数
private Integer ts;
//托管项目
private String tgName;
//金额总计
private Integer fee;
public Integer getCwtgId() {return cwtgId;}
public void setCwtgId(Integer cwtgId) {this.cwtgId = cwtgId;}
public Integer getTs() {return ts;}
public void setTs(Integer ts) {this.ts = ts;}
public String getTgName() {return tgName;}
public void setTgName(String tgName) {this.tgName = tgName;}
public Integer getFee() {return fee;}
public void setFee(Integer fee) {this.fee = fee;}
}

类型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_types")
public class Types {
//主键
@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 typesName;
public String getTypesName() {return typesName;}
public void setTypesName(String typesName) {this.typesName = typesName;}
}

普通员工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 gh;
//手机
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 getGh() {return gh;}
public void setGh(String gh) {this.gh = gh;}
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_wz")
public class Wz {
//主键
@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 title;
//图片
private String pic;
//内容
private String content;
//日期
private String showDate;
public String getTitle() {return title;}
public void setTitle(String title) {this.title = title;}
public String getPic() {return pic;}
public void setPic(String pic) {this.pic = pic;}
public String getContent() {return content;}
public void setContent(String content) {this.content = content;}
public String getShowDate() {return showDate;}
public void setShowDate(String showDate) {this.showDate = showDate;}
}

文章javaBean创建语句如下:


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

//文章
@Table(name = "t_yhwz")
public class Yhwz {
//主键
@Id
@Column(name = "id")
@GeneratedValue(strategy = GenerationType.IDENTITY)
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//用户
private Integer customerId;
//文章标题
private String title;
//文章内容
private String content;
public Integer getCustomerId() {return customerId;}
public void setCustomerId(Integer customerId) {this.customerId = customerId;}
public String getTitle() {return title;}
public void setTitle(String title) {this.title = title;}
public String getContent() {return content;}
public void setContent(String content) {this.content = content;}
}

宠物网站spring+springMVC+mybatis框架对象(javaBean,pojo)设计:

求助javaBean创建语句如下:


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

//求助
public class Contact  extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//用户
private Integer customerId;
//联系方式
private String phone;
//内容
private String content;
//日期
private Date insertDate;
//
private String back;
public Integer getCustomerId() {return customerId;}
public void setCustomerId(Integer customerId) {this.customerId = customerId;}
public String getPhone() {return phone;}
public void setPhone(String phone) {this.phone = phone;}
public String getContent() {return content;}
public void setContent(String content) {this.content = content;}
public Date getInsertDate() {return insertDate;}
public void setInsertDate(Date insertDate) {this.insertDate = insertDate;}
public String getBack() {return back;}
public void setBack(String back) {this.back = back;}
}

客户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 sex;
//地址
private String address;
//手机
private String phone;
//账户
private Integer account;
//积分
private Integer jf;
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 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 getPhone() {return phone;}
public void setPhone(String phone) {this.phone = phone;}
public Integer getAccount() {return account;}
public void setAccount(Integer account) {this.account = account;}
public Integer getJf() {return jf;}
public void setJf(Integer jf) {this.jf = jf;}
}

宠物托管javaBean创建语句如下:


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

//宠物托管
public class Cwtg  extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//用户
private Integer customerId;
//宠物名称
private String v1;
//类型
private String v2;
//品种
private String v3;
//性别
private String v4;
//年龄
private String v5;
//大小
private String v6;
//毛发颜色
private String v7;
//状态
private String status;
public Integer getCustomerId() {return customerId;}
public void setCustomerId(Integer customerId) {this.customerId = customerId;}
public String getV1() {return v1;}
public void setV1(String v1) {this.v1 = v1;}
public String getV2() {return v2;}
public void setV2(String v2) {this.v2 = v2;}
public String getV3() {return v3;}
public void setV3(String v3) {this.v3 = v3;}
public String getV4() {return v4;}
public void setV4(String v4) {this.v4 = v4;}
public String getV5() {return v5;}
public void setV5(String v5) {this.v5 = v5;}
public String getV6() {return v6;}
public void setV6(String v6) {this.v6 = v6;}
public String getV7() {return v7;}
public void setV7(String v7) {this.v7 = v7;}
public 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 Jzz  extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//救助站内容
private String content;
public String getContent() {return content;}
public void setContent(String content) {this.content = content;}
}

领养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 productId;
//日期
private Date insertDate;
//状态
private String status;
//真实姓名
private String v1;
//真实年龄
private String v2;
//工作
private String v3;
//现居住地
private String v4;
//照片
private String v5;
//邮箱
private String v6;
public Integer getCustomerId() {return customerId;}
public void setCustomerId(Integer customerId) {this.customerId = customerId;}
public Integer getProductId() {return productId;}
public void setProductId(Integer productId) {this.productId = productId;}
public Date getInsertDate() {return insertDate;}
public void setInsertDate(Date insertDate) {this.insertDate = insertDate;}
public String getStatus() {return status;}
public void setStatus(String status) {this.status = status;}
public String getV1() {return v1;}
public void setV1(String v1) {this.v1 = v1;}
public String getV2() {return v2;}
public void setV2(String v2) {this.v2 = v2;}
public String getV3() {return v3;}
public void setV3(String v3) {this.v3 = v3;}
public String getV4() {return v4;}
public void setV4(String v4) {this.v4 = v4;}
public String getV5() {return v5;}
public void setV5(String v5) {this.v5 = v5;}
public String getV6() {return v6;}
public void setV6(String v6) {this.v6 = v6;}
}

领养过程javaBean创建语句如下:


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

//领养过程
public class Lygc  extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//图片
private String pic;
//视频
private String spurl;
//领养过程内容
private String content;
public String getPic() {return pic;}
public void setPic(String pic) {this.pic = pic;}
public String getSpurl() {return spurl;}
public void setSpurl(String spurl) {this.spurl = spurl;}
public String getContent() {return content;}
public void setContent(String content) {this.content = content;}
}

宠物表javaBean创建语句如下:


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

//宠物表
public class Product  extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//宠物名称
private String productName;
//图片1
private String productPic1;
//图片2
private String productPic2;
//图片3
private String productPic3;
//图片4
private String productPic4;
//年龄
private Integer price;
//大小
private String content;
//毛发颜色
private String nums;
//品种
private String tjxj;
//状态
private String status;
//类型
private Integer typesId;
//性别
private String nld;
public String getProductName() {return productName;}
public void setProductName(String productName) {this.productName = productName;}
public String getProductPic1() {return productPic1;}
public void setProductPic1(String productPic1) {this.productPic1 = productPic1;}
public String getProductPic2() {return productPic2;}
public void setProductPic2(String productPic2) {this.productPic2 = productPic2;}
public String getProductPic3() {return productPic3;}
public void setProductPic3(String productPic3) {this.productPic3 = productPic3;}
public String getProductPic4() {return productPic4;}
public void setProductPic4(String productPic4) {this.productPic4 = productPic4;}
public Integer getPrice() {return price;}
public void setPrice(Integer price) {this.price = price;}
public String getContent() {return content;}
public void setContent(String content) {this.content = content;}
public String getNums() {return nums;}
public void setNums(String nums) {this.nums = nums;}
public String getTjxj() {return tjxj;}
public void setTjxj(String tjxj) {this.tjxj = tjxj;}
public String getStatus() {return status;}
public void setStatus(String status) {this.status = status;}
public Integer getTypesId() {return typesId;}
public void setTypesId(Integer typesId) {this.typesId = typesId;}
public String getNld() {return nld;}
public void setNld(String nld) {this.nld = nld;}
}

托管项目javaBean创建语句如下:


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

//托管项目
public class Tg  extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//项目名称
private String tgName;
//平均按天金额
private Integer tgFee;
public String getTgName() {return tgName;}
public void setTgName(String tgName) {this.tgName = tgName;}
public Integer getTgFee() {return tgFee;}
public void setTgFee(Integer tgFee) {this.tgFee = tgFee;}
}

托管金额计算javaBean创建语句如下:


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

//托管金额计算
public class Tgfee  extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//托管宠物
private Integer cwtgId;
//托管天数
private Integer ts;
//托管项目
private String tgName;
//金额总计
private Integer fee;
public Integer getCwtgId() {return cwtgId;}
public void setCwtgId(Integer cwtgId) {this.cwtgId = cwtgId;}
public Integer getTs() {return ts;}
public void setTs(Integer ts) {this.ts = ts;}
public String getTgName() {return tgName;}
public void setTgName(String tgName) {this.tgName = tgName;}
public Integer getFee() {return fee;}
public void setFee(Integer fee) {this.fee = fee;}
}

类型javaBean创建语句如下:


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

//类型
public class Types  extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//分类
private String typesName;
public String getTypesName() {return typesName;}
public void setTypesName(String typesName) {this.typesName = typesName;}
}

普通员工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 gh;
//手机
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 getGh() {return gh;}
public void setGh(String gh) {this.gh = gh;}
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 Wz  extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//标题
private String title;
//图片
private String pic;
//内容
private String content;
//日期
private String showDate;
public String getTitle() {return title;}
public void setTitle(String title) {this.title = title;}
public String getPic() {return pic;}
public void setPic(String pic) {this.pic = pic;}
public String getContent() {return content;}
public void setContent(String content) {this.content = content;}
public String getShowDate() {return showDate;}
public void setShowDate(String showDate) {this.showDate = showDate;}
}

文章javaBean创建语句如下:


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

//文章
public class Yhwz  extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//用户
private Integer customerId;
//文章标题
private String title;
//文章内容
private String content;
public Integer getCustomerId() {return customerId;}
public void setCustomerId(Integer customerId) {this.customerId = customerId;}
public String getTitle() {return title;}
public void setTitle(String title) {this.title = title;}
public String getContent() {return content;}
public void setContent(String content) {this.content = content;}
}

相关毕业设计源码

基于JSP的小说推荐系统,java毕业设计

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

基于Java的养老院健康看护管理系统,java设计与开发

基于Java的养老院健康看护管理系统(yanglaoyuanjiankang),提供三种数据库:mysql,oracle,sqlserver,对应三种框架源码:springMVC/spring+springMVC+hibernate/spring+springMVC+mybatis,开发工具是myeclipse,提供基本增删改查,后台分页,图片上传,附件上传,富文本编辑器,时间选择器等功能。

学生到课率监控系统(go_class_system),优秀java设计

学生到课率监控系统(go_class_system),提供三种数据库:mysql,oracle,sqlserver,对应三种框架源码:springMVC/spring+springMVC+hibernate/spring+springMVC+mybatis,开发工具是myeclipse,提供基本增删改查,后台分页,图片上传,附件上传,富文本编辑器,时间选择器等功能。

互联网论坛系统(blog_web_system),java毕业设计项目

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

读书网站的设计与实现

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

基于JavaEE的OA系统(xga34)_mysql_oracle代码分享

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

基于WEB的图书馆借阅管理系统,java专业毕业设计

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

针对美国境内的旅游与社交网站

针对美国境内的旅游与社交网站,提供三种数据库:mysql,oracle,sqlserver,对应三种框架源码:springMVC/spring+springMVC+hibernate/spring+springMVC+mybatis,开发工具是myeclipse,提供基本增删改查,后台分页,图片上传,附件上传,富文本编辑器,时间选择器等功能。

基于JavaEE的景区游客自助系统,java专业毕业设计

基于JavaEE的景区游客自助系统(jingquyouke),提供三种数据库:mysql,oracle,sqlserver,对应三种框架源码:springMVC/spring+springMVC+hibernate/spring+springMVC+mybatis,开发工具是myeclipse,提供基本增删改查,后台分页,图片上传,附件上传,富文本编辑器,时间选择器等功能。

基于javaweb的家政服务网的设计与实现 _部分源代码分享

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

基于web的学生用品采购系统,javaweb毕业设计

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

基于JavaEE的影库资源管理平台的设计与实现

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

评论