更多成品,定做java毕业设计,请咨询管理员qq:2812491287

基于JSP的家政服务网站,毕业设计java

基于JSP的家政服务网站登录注册界面

基于JSP的家政服务网站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_another(
	id int primary key auto_increment comment '主键',
	username varchar(100) comment '账号',
	password varchar(100) comment '密码',
	anotherName varchar(100) comment '家政人员姓名',
	sex varchar(100) comment '性别',
	age varchar(100) comment '年龄',
	idcard varchar(100) comment '身份证',
	tx varchar(100) comment '头像',
	fwlx varchar(100) comment '服务类型',
	jg int comment '价格',
	ljfwcs int comment '累积服务次数',
	pjdf int comment '平均得分',
	ljpjrs int comment '累积评价人数',
	status varchar(100) comment '状态',
	v1 varchar(100) comment '工作经验',
	v2 varchar(100) comment '擅长项目',
	v3 varchar(100) comment ''
) comment '家政人员';

用户表创建语句如下:


create table t_customer(
	id int primary key auto_increment comment '主键',
	username varchar(100) comment '账号',
	password varchar(100) comment '密码',
	name varchar(100) comment '姓名',
	phone varchar(100) comment '手机',
	sex varchar(100) comment '性别',
	age varchar(100) comment '年龄',
	address varchar(100) comment '家庭住址',
	idcard varchar(100) comment '身份证',
	insertDate datetime comment '入库日期'
) comment '用户';

服务表创建语句如下:


create table t_fw(
	id int primary key auto_increment comment '主键',
	anotherId int comment '家政人员',
	fwTitle varchar(100) comment '服务标题',
	fwContent varchar(100) comment '服务内容',
	fwPic varchar(100) comment '服务图片',
	fwPrice varchar(100) comment '服务价格',
	fl varchar(100) comment '分类'
) comment '服务';

轮播图表创建语句如下:


create table t_lbt(
	id int primary key auto_increment comment '主键',
	title varchar(100) comment '标题',
	pic varchar(100) comment '图片',
	url varchar(100) comment '连接'
) comment '轮播图';

常见问题表创建语句如下:


create table t_wt(
	id int primary key auto_increment comment '主键',
	title varchar(100) comment '标题',
	pic varchar(100) comment '图片',
	content varchar(100) comment '内容',
	fileurl varchar(100) comment '附件',
	showDate varchar(100) comment '显示日期'
) comment '常见问题';

服务预约表创建语句如下:


create table t_yyfw(
	id int primary key auto_increment comment '主键',
	fwId int comment '服务',
	status varchar(100) comment '状态',
	pingjia varchar(100) comment '评价',
	customerId int comment '用户',
	df int comment '',
	yysj varchar(100) comment ''
) comment '服务预约';

基于JSP的家政服务网站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_another(
	id integer,
	username varchar(100),
	password varchar(100),
	anotherName varchar(100),
	sex varchar(100),
	age varchar(100),
	idcard varchar(100),
	tx varchar(100),
	fwlx varchar(100),
	jg int,
	ljfwcs int,
	pjdf int,
	ljpjrs int,
	status varchar(100),
	v1 varchar(100),
	v2 varchar(100),
	v3 varchar(100)
);
--家政人员字段加注释
comment on column t_another.id is '主键';
comment on column t_another.username is '账号';
comment on column t_another.password is '密码';
comment on column t_another.anotherName is '家政人员姓名';
comment on column t_another.sex is '性别';
comment on column t_another.age is '年龄';
comment on column t_another.idcard is '身份证';
comment on column t_another.tx is '头像';
comment on column t_another.fwlx is '服务类型';
comment on column t_another.jg is '价格';
comment on column t_another.ljfwcs is '累积服务次数';
comment on column t_another.pjdf is '平均得分';
comment on column t_another.ljpjrs is '累积评价人数';
comment on column t_another.status is '状态';
comment on column t_another.v1 is '工作经验';
comment on column t_another.v2 is '擅长项目';
comment on column t_another.v3 is '';
--家政人员表加注释
comment on table t_another is '家政人员';

用户表创建语句如下:


create table t_customer(
	id integer,
	username varchar(100),
	password varchar(100),
	name varchar(100),
	phone varchar(100),
	sex varchar(100),
	age varchar(100),
	address varchar(100),
	idcard varchar(100),
	insertDate datetime
);
--用户字段加注释
comment on column t_customer.id is '主键';
comment on column t_customer.username is '账号';
comment on column t_customer.password is '密码';
comment on column t_customer.name is '姓名';
comment on column t_customer.phone is '手机';
comment on column t_customer.sex is '性别';
comment on column t_customer.age is '年龄';
comment on column t_customer.address is '家庭住址';
comment on column t_customer.idcard is '身份证';
comment on column t_customer.insertDate is '入库日期';
--用户表加注释
comment on table t_customer is '用户';

服务表创建语句如下:


create table t_fw(
	id integer,
	anotherId int,
	fwTitle varchar(100),
	fwContent varchar(100),
	fwPic varchar(100),
	fwPrice varchar(100),
	fl varchar(100)
);
--服务字段加注释
comment on column t_fw.id is '主键';
comment on column t_fw.anotherId is '家政人员';
comment on column t_fw.fwTitle is '服务标题';
comment on column t_fw.fwContent is '服务内容';
comment on column t_fw.fwPic is '服务图片';
comment on column t_fw.fwPrice is '服务价格';
comment on column t_fw.fl is '分类';
--服务表加注释
comment on table t_fw is '服务';

轮播图表创建语句如下:


create table t_lbt(
	id integer,
	title varchar(100),
	pic varchar(100),
	url varchar(100)
);
--轮播图字段加注释
comment on column t_lbt.id is '主键';
comment on column t_lbt.title is '标题';
comment on column t_lbt.pic is '图片';
comment on column t_lbt.url is '连接';
--轮播图表加注释
comment on table t_lbt is '轮播图';

常见问题表创建语句如下:


create table t_wt(
	id integer,
	title varchar(100),
	pic varchar(100),
	content varchar(100),
	fileurl varchar(100),
	showDate varchar(100)
);
--常见问题字段加注释
comment on column t_wt.id is '主键';
comment on column t_wt.title is '标题';
comment on column t_wt.pic is '图片';
comment on column t_wt.content is '内容';
comment on column t_wt.fileurl is '附件';
comment on column t_wt.showDate is '显示日期';
--常见问题表加注释
comment on table t_wt is '常见问题';

服务预约表创建语句如下:


create table t_yyfw(
	id integer,
	fwId int,
	status varchar(100),
	pingjia varchar(100),
	customerId int,
	df int,
	yysj varchar(100)
);
--服务预约字段加注释
comment on column t_yyfw.id is '主键';
comment on column t_yyfw.fwId is '服务';
comment on column t_yyfw.status is '状态';
comment on column t_yyfw.pingjia is '评价';
comment on column t_yyfw.customerId is '用户';
comment on column t_yyfw.df is '';
comment on column t_yyfw.yysj is '';
--服务预约表加注释
comment on table t_yyfw is '服务预约';

oracle特有,对应序列如下:


create sequence s_t_another;
create sequence s_t_customer;
create sequence s_t_fw;
create sequence s_t_lbt;
create sequence s_t_wt;
create sequence s_t_yyfw;

基于JSP的家政服务网站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_another(
	id int identity(1,1) primary key not null,--主键
	username varchar(100),--账号
	password varchar(100),--密码
	anotherName varchar(100),--家政人员姓名
	sex varchar(100),--性别
	age varchar(100),--年龄
	idcard varchar(100),--身份证
	tx varchar(100),--头像
	fwlx varchar(100),--服务类型
	jg int,--价格
	ljfwcs int,--累积服务次数
	pjdf int,--平均得分
	ljpjrs int,--累积评价人数
	status varchar(100),--状态
	v1 varchar(100),--工作经验
	v2 varchar(100),--擅长项目
	v3 varchar(100)--
);

用户表创建语句如下:


--用户表注释
create table t_customer(
	id int identity(1,1) primary key not null,--主键
	username varchar(100),--账号
	password varchar(100),--密码
	name varchar(100),--姓名
	phone varchar(100),--手机
	sex varchar(100),--性别
	age varchar(100),--年龄
	address varchar(100),--家庭住址
	idcard varchar(100),--身份证
	insertDate datetime--入库日期
);

服务表创建语句如下:


--服务表注释
create table t_fw(
	id int identity(1,1) primary key not null,--主键
	anotherId int,--家政人员
	fwTitle varchar(100),--服务标题
	fwContent varchar(100),--服务内容
	fwPic varchar(100),--服务图片
	fwPrice varchar(100),--服务价格
	fl varchar(100)--分类
);

轮播图表创建语句如下:


--轮播图表注释
create table t_lbt(
	id int identity(1,1) primary key not null,--主键
	title varchar(100),--标题
	pic varchar(100),--图片
	url varchar(100)--连接
);

常见问题表创建语句如下:


--常见问题表注释
create table t_wt(
	id int identity(1,1) primary key not null,--主键
	title varchar(100),--标题
	pic varchar(100),--图片
	content varchar(100),--内容
	fileurl varchar(100),--附件
	showDate varchar(100)--显示日期
);

服务预约表创建语句如下:


--服务预约表注释
create table t_yyfw(
	id int identity(1,1) primary key not null,--主键
	fwId int,--服务
	status varchar(100),--状态
	pingjia varchar(100),--评价
	customerId int,--用户
	df int,--
	yysj varchar(100)--
);

基于JSP的家政服务网站登录后主页

基于JSP的家政服务网站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_another")
public class Another {
//主键
@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 anotherName;
//性别
private String sex;
//年龄
private String age;
//身份证
private String idcard;
//头像
private String tx;
//服务类型
private String fwlx;
//价格
private Integer jg;
//累积服务次数
private Integer ljfwcs;
//平均得分
private Integer pjdf;
//累积评价人数
private Integer ljpjrs;
//状态
private String status;
//工作经验
private String v1;
//擅长项目
private String v2;
//
private String v3;
public String getUsername() {return username;}
public void setUsername(String username) {this.username = username;}
public String getPassword() {return password;}
public void setPassword(String password) {this.password = password;}
public String getAnotherName() {return anotherName;}
public void setAnotherName(String anotherName) {this.anotherName = anotherName;}
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 getIdcard() {return idcard;}
public void setIdcard(String idcard) {this.idcard = idcard;}
public String getTx() {return tx;}
public void setTx(String tx) {this.tx = tx;}
public String getFwlx() {return fwlx;}
public void setFwlx(String fwlx) {this.fwlx = fwlx;}
public Integer getJg() {return jg;}
public void setJg(Integer jg) {this.jg = jg;}
public Integer getLjfwcs() {return ljfwcs;}
public void setLjfwcs(Integer ljfwcs) {this.ljfwcs = ljfwcs;}
public Integer getPjdf() {return pjdf;}
public void setPjdf(Integer pjdf) {this.pjdf = pjdf;}
public Integer getLjpjrs() {return ljpjrs;}
public void setLjpjrs(Integer ljpjrs) {this.ljpjrs = ljpjrs;}
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;}
}

用户javaBean创建语句如下:


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

//用户
@Table(name = "t_customer")
public class Customer {
//主键
@Id
@Column(name = "id")
@GeneratedValue(strategy = GenerationType.IDENTITY)
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//账号
private String username;
//密码
private String password;
//姓名
private String name;
//手机
private String phone;
//性别
private String sex;
//年龄
private String age;
//家庭住址
private String address;
//身份证
private String idcard;
//入库日期
private Date insertDate;
public String getUsername() {return username;}
public void setUsername(String username) {this.username = username;}
public String getPassword() {return password;}
public void setPassword(String password) {this.password = password;}
public String getName() {return name;}
public void setName(String name) {this.name = name;}
public String getPhone() {return phone;}
public void setPhone(String phone) {this.phone = phone;}
public String getSex() {return sex;}
public void setSex(String sex) {this.sex = sex;}
public String getAge() {return age;}
public void setAge(String age) {this.age = age;}
public String getAddress() {return address;}
public void setAddress(String address) {this.address = address;}
public String getIdcard() {return idcard;}
public void setIdcard(String idcard) {this.idcard = idcard;}
public Date getInsertDate() {return insertDate;}
public void setInsertDate(Date insertDate) {this.insertDate = insertDate;}
}

服务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 anotherId;
//服务标题
private String fwTitle;
//服务内容
private String fwContent;
//服务图片
private String fwPic;
//服务价格
private String fwPrice;
//分类
private String fl;
public Integer getAnotherId() {return anotherId;}
public void setAnotherId(Integer anotherId) {this.anotherId = anotherId;}
public String getFwTitle() {return fwTitle;}
public void setFwTitle(String fwTitle) {this.fwTitle = fwTitle;}
public String getFwContent() {return fwContent;}
public void setFwContent(String fwContent) {this.fwContent = fwContent;}
public String getFwPic() {return fwPic;}
public void setFwPic(String fwPic) {this.fwPic = fwPic;}
public String getFwPrice() {return fwPrice;}
public void setFwPrice(String fwPrice) {this.fwPrice = fwPrice;}
public String getFl() {return fl;}
public void setFl(String fl) {this.fl = fl;}
}

轮播图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_lbt")
public class Lbt {
//主键
@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 url;
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 getUrl() {return url;}
public void setUrl(String url) {this.url = url;}
}

常见问题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_wt")
public class Wt {
//主键
@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 fileurl;
//显示日期
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 getFileurl() {return fileurl;}
public void setFileurl(String fileurl) {this.fileurl = fileurl;}
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_yyfw")
public class Yyfw {
//主键
@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 fwId;
//状态
private String status;
//评价
private String pingjia;
//用户
private Integer customerId;
//
private Integer df;
//
private String yysj;
public Integer getFwId() {return fwId;}
public void setFwId(Integer fwId) {this.fwId = fwId;}
public String getStatus() {return status;}
public void setStatus(String status) {this.status = status;}
public String getPingjia() {return pingjia;}
public void setPingjia(String pingjia) {this.pingjia = pingjia;}
public Integer getCustomerId() {return customerId;}
public void setCustomerId(Integer customerId) {this.customerId = customerId;}
public Integer getDf() {return df;}
public void setDf(Integer df) {this.df = df;}
public String getYysj() {return yysj;}
public void setYysj(String yysj) {this.yysj = yysj;}
}

基于JSP的家政服务网站spring+springMVC+mybatis框架对象(javaBean,pojo)设计:

家政人员javaBean创建语句如下:


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

//家政人员
public class Another  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 anotherName;
//性别
private String sex;
//年龄
private String age;
//身份证
private String idcard;
//头像
private String tx;
//服务类型
private String fwlx;
//价格
private Integer jg;
//累积服务次数
private Integer ljfwcs;
//平均得分
private Integer pjdf;
//累积评价人数
private Integer ljpjrs;
//状态
private String status;
//工作经验
private String v1;
//擅长项目
private String v2;
//
private String v3;
public String getUsername() {return username;}
public void setUsername(String username) {this.username = username;}
public String getPassword() {return password;}
public void setPassword(String password) {this.password = password;}
public String getAnotherName() {return anotherName;}
public void setAnotherName(String anotherName) {this.anotherName = anotherName;}
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 getIdcard() {return idcard;}
public void setIdcard(String idcard) {this.idcard = idcard;}
public String getTx() {return tx;}
public void setTx(String tx) {this.tx = tx;}
public String getFwlx() {return fwlx;}
public void setFwlx(String fwlx) {this.fwlx = fwlx;}
public Integer getJg() {return jg;}
public void setJg(Integer jg) {this.jg = jg;}
public Integer getLjfwcs() {return ljfwcs;}
public void setLjfwcs(Integer ljfwcs) {this.ljfwcs = ljfwcs;}
public Integer getPjdf() {return pjdf;}
public void setPjdf(Integer pjdf) {this.pjdf = pjdf;}
public Integer getLjpjrs() {return ljpjrs;}
public void setLjpjrs(Integer ljpjrs) {this.ljpjrs = ljpjrs;}
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;}
}

用户javaBean创建语句如下:


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

//用户
public class Customer  extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//账号
private String username;
//密码
private String password;
//姓名
private String name;
//手机
private String phone;
//性别
private String sex;
//年龄
private String age;
//家庭住址
private String address;
//身份证
private String idcard;
//入库日期
private Date insertDate;
public String getUsername() {return username;}
public void setUsername(String username) {this.username = username;}
public String getPassword() {return password;}
public void setPassword(String password) {this.password = password;}
public String getName() {return name;}
public void setName(String name) {this.name = name;}
public String getPhone() {return phone;}
public void setPhone(String phone) {this.phone = phone;}
public String getSex() {return sex;}
public void setSex(String sex) {this.sex = sex;}
public String getAge() {return age;}
public void setAge(String age) {this.age = age;}
public String getAddress() {return address;}
public void setAddress(String address) {this.address = address;}
public String getIdcard() {return idcard;}
public void setIdcard(String idcard) {this.idcard = idcard;}
public Date getInsertDate() {return insertDate;}
public void setInsertDate(Date insertDate) {this.insertDate = insertDate;}
}

服务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 anotherId;
//服务标题
private String fwTitle;
//服务内容
private String fwContent;
//服务图片
private String fwPic;
//服务价格
private String fwPrice;
//分类
private String fl;
public Integer getAnotherId() {return anotherId;}
public void setAnotherId(Integer anotherId) {this.anotherId = anotherId;}
public String getFwTitle() {return fwTitle;}
public void setFwTitle(String fwTitle) {this.fwTitle = fwTitle;}
public String getFwContent() {return fwContent;}
public void setFwContent(String fwContent) {this.fwContent = fwContent;}
public String getFwPic() {return fwPic;}
public void setFwPic(String fwPic) {this.fwPic = fwPic;}
public String getFwPrice() {return fwPrice;}
public void setFwPrice(String fwPrice) {this.fwPrice = fwPrice;}
public String getFl() {return fl;}
public void setFl(String fl) {this.fl = fl;}
}

轮播图javaBean创建语句如下:


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

//轮播图
public class Lbt  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 url;
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 getUrl() {return url;}
public void setUrl(String url) {this.url = url;}
}

常见问题javaBean创建语句如下:


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

//常见问题
public class Wt  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 fileurl;
//显示日期
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 getFileurl() {return fileurl;}
public void setFileurl(String fileurl) {this.fileurl = fileurl;}
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 Yyfw  extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//服务
private Integer fwId;
//状态
private String status;
//评价
private String pingjia;
//用户
private Integer customerId;
//
private Integer df;
//
private String yysj;
public Integer getFwId() {return fwId;}
public void setFwId(Integer fwId) {this.fwId = fwId;}
public String getStatus() {return status;}
public void setStatus(String status) {this.status = status;}
public String getPingjia() {return pingjia;}
public void setPingjia(String pingjia) {this.pingjia = pingjia;}
public Integer getCustomerId() {return customerId;}
public void setCustomerId(Integer customerId) {this.customerId = customerId;}
public Integer getDf() {return df;}
public void setDf(Integer df) {this.df = df;}
public String getYysj() {return yysj;}
public void setYysj(String yysj) {this.yysj = yysj;}
}

评论