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

基于ssm的新能源汽车售后服务管理系统

基于ssm的新能源汽车售后服务管理系统登录注册界面

基于ssm的新能源汽车售后服务管理系统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_car(
	id int primary key auto_increment comment '主键',
	customerId int comment '客户',
	carName varchar(100) comment '车牌',
	xh varchar(100) comment '型号',
	pp varchar(100) comment '品牌',
	tp varchar(100) comment '图片',
	status varchar(100) comment '目前状态',
	content 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 '姓名',
	phone varchar(100) comment '电话',
	age varchar(100) comment '年龄',
	sex varchar(100) comment '性别'
) comment '用户';

公告表创建语句如下:


create table t_gg(
	id int primary key auto_increment comment '主键',
	v1 varchar(100) comment '标题',
	pic varchar(100) comment '图片',
	showDate datetime comment '日期',
	v3 varchar(100) comment '内容'
) comment '公告';

故障大类表创建语句如下:


create table t_gzdl(
	id int primary key auto_increment comment '主键',
	gzdlName varchar(100) comment '故障大类'
) comment '故障大类';

故障小类表创建语句如下:


create table t_gzxl(
	id int primary key auto_increment comment '主键',
	gzxlName varchar(100) comment '故障小类',
	gzdlName varchar(100) comment '故障小类',
	yy varchar(100) comment '原因',
	tp varchar(100) comment '图片',
	jjfa varchar(100) comment '解决方案'
) comment '故障小类';

用户反馈表创建语句如下:


create table t_liuyan(
	id int primary key auto_increment comment '主键',
	customerId int comment '用户',
	content varchar(100) comment '内容',
	insertDate datetime comment '日期',
	back varchar(100) comment '回复内容',
	status varchar(100) comment '状态'
) comment '用户反馈';

零件表创建语句如下:


create table t_lj(
	id int primary key auto_increment comment '主键',
	ljName varchar(100) comment '零件名称',
	ljbh varchar(100) comment '零件编号',
	jg int comment '价格',
	kc int comment '库存',
	tp varchar(100) comment '图片',
	content varchar(100) comment '零件参数说明'
) comment '零件';

通知表创建语句如下:


create table t_tongzhi(
	id int primary key auto_increment comment '主键',
	customerId int comment '用户',
	txName varchar(100) comment '标题',
	content varchar(100) comment '内容',
	insertDate datetime comment '日期'
) comment '通知';

维修保养单表创建语句如下:


create table t_wxby(
	id int primary key auto_increment comment '主键',
	customerId int comment '客户',
	types varchar(100) comment '类型',
	wxbyName varchar(100) comment '维修保养编号',
	zje int comment '总金额',
	showDate datetime comment '日期',
	carName varchar(100) comment '车牌',
	tp varchar(100) comment '单子拍照'
) comment '维修保养单';

维修保养单详情表创建语句如下:


create table t_wxbylist(
	id int primary key auto_increment comment '主键',
	wxbyId int comment '维修保养单',
	xmName varchar(100) comment '项目名称',
	fee int comment '项目金额',
	content varchar(100) comment '项目备注'
) comment '维修保养单详情';

基于ssm的新能源汽车售后服务管理系统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_car(
	id integer,
	customerId int,
	carName varchar(100),
	xh varchar(100),
	pp varchar(100),
	tp varchar(100),
	status varchar(100),
	content varchar(100)
);
--车辆字段加注释
comment on column t_car.id is '主键';
comment on column t_car.customerId is '客户';
comment on column t_car.carName is '车牌';
comment on column t_car.xh is '型号';
comment on column t_car.pp is '品牌';
comment on column t_car.tp is '图片';
comment on column t_car.status is '目前状态';
comment on column t_car.content is '备注';
--车辆表加注释
comment on table t_car is '车辆';

用户表创建语句如下:


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

公告表创建语句如下:


create table t_gg(
	id integer,
	v1 varchar(100),
	pic varchar(100),
	showDate datetime,
	v3 varchar(100)
);
--公告字段加注释
comment on column t_gg.id is '主键';
comment on column t_gg.v1 is '标题';
comment on column t_gg.pic is '图片';
comment on column t_gg.showDate is '日期';
comment on column t_gg.v3 is '内容';
--公告表加注释
comment on table t_gg is '公告';

故障大类表创建语句如下:


create table t_gzdl(
	id integer,
	gzdlName varchar(100)
);
--故障大类字段加注释
comment on column t_gzdl.id is '主键';
comment on column t_gzdl.gzdlName is '故障大类';
--故障大类表加注释
comment on table t_gzdl is '故障大类';

故障小类表创建语句如下:


create table t_gzxl(
	id integer,
	gzxlName varchar(100),
	gzdlName varchar(100),
	yy varchar(100),
	tp varchar(100),
	jjfa varchar(100)
);
--故障小类字段加注释
comment on column t_gzxl.id is '主键';
comment on column t_gzxl.gzxlName is '故障小类';
comment on column t_gzxl.gzdlName is '故障小类';
comment on column t_gzxl.yy is '原因';
comment on column t_gzxl.tp is '图片';
comment on column t_gzxl.jjfa is '解决方案';
--故障小类表加注释
comment on table t_gzxl is '故障小类';

用户反馈表创建语句如下:


create table t_liuyan(
	id integer,
	customerId int,
	content varchar(100),
	insertDate datetime,
	back varchar(100),
	status varchar(100)
);
--用户反馈字段加注释
comment on column t_liuyan.id is '主键';
comment on column t_liuyan.customerId is '用户';
comment on column t_liuyan.content is '内容';
comment on column t_liuyan.insertDate is '日期';
comment on column t_liuyan.back is '回复内容';
comment on column t_liuyan.status is '状态';
--用户反馈表加注释
comment on table t_liuyan is '用户反馈';

零件表创建语句如下:


create table t_lj(
	id integer,
	ljName varchar(100),
	ljbh varchar(100),
	jg int,
	kc int,
	tp varchar(100),
	content varchar(100)
);
--零件字段加注释
comment on column t_lj.id is '主键';
comment on column t_lj.ljName is '零件名称';
comment on column t_lj.ljbh is '零件编号';
comment on column t_lj.jg is '价格';
comment on column t_lj.kc is '库存';
comment on column t_lj.tp is '图片';
comment on column t_lj.content is '零件参数说明';
--零件表加注释
comment on table t_lj is '零件';

通知表创建语句如下:


create table t_tongzhi(
	id integer,
	customerId int,
	txName varchar(100),
	content varchar(100),
	insertDate datetime
);
--通知字段加注释
comment on column t_tongzhi.id is '主键';
comment on column t_tongzhi.customerId is '用户';
comment on column t_tongzhi.txName is '标题';
comment on column t_tongzhi.content is '内容';
comment on column t_tongzhi.insertDate is '日期';
--通知表加注释
comment on table t_tongzhi is '通知';

维修保养单表创建语句如下:


create table t_wxby(
	id integer,
	customerId int,
	types varchar(100),
	wxbyName varchar(100),
	zje int,
	showDate datetime,
	carName varchar(100),
	tp varchar(100)
);
--维修保养单字段加注释
comment on column t_wxby.id is '主键';
comment on column t_wxby.customerId is '客户';
comment on column t_wxby.types is '类型';
comment on column t_wxby.wxbyName is '维修保养编号';
comment on column t_wxby.zje is '总金额';
comment on column t_wxby.showDate is '日期';
comment on column t_wxby.carName is '车牌';
comment on column t_wxby.tp is '单子拍照';
--维修保养单表加注释
comment on table t_wxby is '维修保养单';

维修保养单详情表创建语句如下:


create table t_wxbylist(
	id integer,
	wxbyId int,
	xmName varchar(100),
	fee int,
	content varchar(100)
);
--维修保养单详情字段加注释
comment on column t_wxbylist.id is '主键';
comment on column t_wxbylist.wxbyId is '维修保养单';
comment on column t_wxbylist.xmName is '项目名称';
comment on column t_wxbylist.fee is '项目金额';
comment on column t_wxbylist.content is '项目备注';
--维修保养单详情表加注释
comment on table t_wxbylist is '维修保养单详情';

oracle特有,对应序列如下:


create sequence s_t_car;
create sequence s_t_customer;
create sequence s_t_gg;
create sequence s_t_gzdl;
create sequence s_t_gzxl;
create sequence s_t_liuyan;
create sequence s_t_lj;
create sequence s_t_tongzhi;
create sequence s_t_wxby;
create sequence s_t_wxbylist;

基于ssm的新能源汽车售后服务管理系统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_car(
	id int identity(1,1) primary key not null,--主键
	customerId int,--客户
	carName varchar(100),--车牌
	xh varchar(100),--型号
	pp varchar(100),--品牌
	tp varchar(100),--图片
	status varchar(100),--目前状态
	content varchar(100)--备注
);

用户表创建语句如下:


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

公告表创建语句如下:


--公告表注释
create table t_gg(
	id int identity(1,1) primary key not null,--主键
	v1 varchar(100),--标题
	pic varchar(100),--图片
	showDate datetime,--日期
	v3 varchar(100)--内容
);

故障大类表创建语句如下:


--故障大类表注释
create table t_gzdl(
	id int identity(1,1) primary key not null,--主键
	gzdlName varchar(100)--故障大类
);

故障小类表创建语句如下:


--故障小类表注释
create table t_gzxl(
	id int identity(1,1) primary key not null,--主键
	gzxlName varchar(100),--故障小类
	gzdlName varchar(100),--故障小类
	yy varchar(100),--原因
	tp varchar(100),--图片
	jjfa varchar(100)--解决方案
);

用户反馈表创建语句如下:


--用户反馈表注释
create table t_liuyan(
	id int identity(1,1) primary key not null,--主键
	customerId int,--用户
	content varchar(100),--内容
	insertDate datetime,--日期
	back varchar(100),--回复内容
	status varchar(100)--状态
);

零件表创建语句如下:


--零件表注释
create table t_lj(
	id int identity(1,1) primary key not null,--主键
	ljName varchar(100),--零件名称
	ljbh varchar(100),--零件编号
	jg int,--价格
	kc int,--库存
	tp varchar(100),--图片
	content varchar(100)--零件参数说明
);

通知表创建语句如下:


--通知表注释
create table t_tongzhi(
	id int identity(1,1) primary key not null,--主键
	customerId int,--用户
	txName varchar(100),--标题
	content varchar(100),--内容
	insertDate datetime--日期
);

维修保养单表创建语句如下:


--维修保养单表注释
create table t_wxby(
	id int identity(1,1) primary key not null,--主键
	customerId int,--客户
	types varchar(100),--类型
	wxbyName varchar(100),--维修保养编号
	zje int,--总金额
	showDate datetime,--日期
	carName varchar(100),--车牌
	tp varchar(100)--单子拍照
);

维修保养单详情表创建语句如下:


--维修保养单详情表注释
create table t_wxbylist(
	id int identity(1,1) primary key not null,--主键
	wxbyId int,--维修保养单
	xmName varchar(100),--项目名称
	fee int,--项目金额
	content varchar(100)--项目备注
);

基于ssm的新能源汽车售后服务管理系统登录后主页

基于ssm的新能源汽车售后服务管理系统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_car")
public class Car {
//主键
@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 carName;
//型号
private String xh;
//品牌
private String pp;
//图片
private String tp;
//目前状态
private String status;
//备注
private String content;
public Integer getCustomerId() {return customerId;}
public void setCustomerId(Integer customerId) {this.customerId = customerId;}
public String getCarName() {return carName;}
public void setCarName(String carName) {this.carName = carName;}
public String getXh() {return xh;}
public void setXh(String xh) {this.xh = xh;}
public String getPp() {return pp;}
public void setPp(String pp) {this.pp = pp;}
public String getTp() {return tp;}
public void setTp(String tp) {this.tp = tp;}
public String getStatus() {return status;}
public void setStatus(String status) {this.status = status;}
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_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 phone;
//年龄
private String age;
//性别
private String sex;
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 getPhone() {return phone;}
public void setPhone(String phone) {this.phone = phone;}
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;}
}

公告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_gg")
public class Gg {
//主键
@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 pic;
//日期
private Date showDate;
//内容
private String v3;
public String getV1() {return v1;}
public void setV1(String v1) {this.v1 = v1;}
public String getPic() {return pic;}
public void setPic(String pic) {this.pic = pic;}
public Date getShowDate() {return showDate;}
public void setShowDate(Date showDate) {this.showDate = showDate;}
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_gzdl")
public class Gzdl {
//主键
@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 gzdlName;
public String getGzdlName() {return gzdlName;}
public void setGzdlName(String gzdlName) {this.gzdlName = gzdlName;}
}

故障小类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_gzxl")
public class Gzxl {
//主键
@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 gzxlName;
//故障小类
private String gzdlName;
//原因
private String yy;
//图片
private String tp;
//解决方案
private String jjfa;
public String getGzxlName() {return gzxlName;}
public void setGzxlName(String gzxlName) {this.gzxlName = gzxlName;}
public String getGzdlName() {return gzdlName;}
public void setGzdlName(String gzdlName) {this.gzdlName = gzdlName;}
public String getYy() {return yy;}
public void setYy(String yy) {this.yy = yy;}
public String getTp() {return tp;}
public void setTp(String tp) {this.tp = tp;}
public String getJjfa() {return jjfa;}
public void setJjfa(String jjfa) {this.jjfa = jjfa;}
}

用户反馈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_liuyan")
public class Liuyan {
//主键
@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 content;
//日期
private Date insertDate;
//回复内容
private String back;
//状态
private String status;
public Integer getCustomerId() {return customerId;}
public void setCustomerId(Integer customerId) {this.customerId = customerId;}
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;}
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_lj")
public class Lj {
//主键
@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 ljName;
//零件编号
private String ljbh;
//价格
private Integer jg;
//库存
private Integer kc;
//图片
private String tp;
//零件参数说明
private String content;
public String getLjName() {return ljName;}
public void setLjName(String ljName) {this.ljName = ljName;}
public String getLjbh() {return ljbh;}
public void setLjbh(String ljbh) {this.ljbh = ljbh;}
public Integer getJg() {return jg;}
public void setJg(Integer jg) {this.jg = jg;}
public Integer getKc() {return kc;}
public void setKc(Integer kc) {this.kc = kc;}
public String getTp() {return tp;}
public void setTp(String tp) {this.tp = tp;}
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_tongzhi")
public class Tongzhi {
//主键
@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 txName;
//内容
private String content;
//日期
private Date insertDate;
public Integer getCustomerId() {return customerId;}
public void setCustomerId(Integer customerId) {this.customerId = customerId;}
public String getTxName() {return txName;}
public void setTxName(String txName) {this.txName = txName;}
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;}
}

维修保养单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_wxby")
public class Wxby {
//主键
@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 types;
//维修保养编号
private String wxbyName;
//总金额
private Integer zje;
//日期
private Date showDate;
//车牌
private String carName;
//单子拍照
private String tp;
public Integer getCustomerId() {return customerId;}
public void setCustomerId(Integer customerId) {this.customerId = customerId;}
public String getTypes() {return types;}
public void setTypes(String types) {this.types = types;}
public String getWxbyName() {return wxbyName;}
public void setWxbyName(String wxbyName) {this.wxbyName = wxbyName;}
public Integer getZje() {return zje;}
public void setZje(Integer zje) {this.zje = zje;}
public Date getShowDate() {return showDate;}
public void setShowDate(Date showDate) {this.showDate = showDate;}
public String getCarName() {return carName;}
public void setCarName(String carName) {this.carName = carName;}
public String getTp() {return tp;}
public void setTp(String tp) {this.tp = tp;}
}

维修保养单详情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_wxbylist")
public class Wxbylist {
//主键
@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 wxbyId;
//项目名称
private String xmName;
//项目金额
private Integer fee;
//项目备注
private String content;
public Integer getWxbyId() {return wxbyId;}
public void setWxbyId(Integer wxbyId) {this.wxbyId = wxbyId;}
public String getXmName() {return xmName;}
public void setXmName(String xmName) {this.xmName = xmName;}
public Integer getFee() {return fee;}
public void setFee(Integer fee) {this.fee = fee;}
public String getContent() {return content;}
public void setContent(String content) {this.content = content;}
}

基于ssm的新能源汽车售后服务管理系统spring+springMVC+mybatis框架对象(javaBean,pojo)设计:

车辆javaBean创建语句如下:


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

//车辆
public class Car  extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//客户
private Integer customerId;
//车牌
private String carName;
//型号
private String xh;
//品牌
private String pp;
//图片
private String tp;
//目前状态
private String status;
//备注
private String content;
public Integer getCustomerId() {return customerId;}
public void setCustomerId(Integer customerId) {this.customerId = customerId;}
public String getCarName() {return carName;}
public void setCarName(String carName) {this.carName = carName;}
public String getXh() {return xh;}
public void setXh(String xh) {this.xh = xh;}
public String getPp() {return pp;}
public void setPp(String pp) {this.pp = pp;}
public String getTp() {return tp;}
public void setTp(String tp) {this.tp = tp;}
public String getStatus() {return status;}
public void setStatus(String status) {this.status = status;}
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 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 phone;
//年龄
private String age;
//性别
private String sex;
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 getPhone() {return phone;}
public void setPhone(String phone) {this.phone = phone;}
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;}
}

公告javaBean创建语句如下:


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

//公告
public class Gg  extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//标题
private String v1;
//图片
private String pic;
//日期
private Date showDate;
//内容
private String v3;
public String getV1() {return v1;}
public void setV1(String v1) {this.v1 = v1;}
public String getPic() {return pic;}
public void setPic(String pic) {this.pic = pic;}
public Date getShowDate() {return showDate;}
public void setShowDate(Date showDate) {this.showDate = showDate;}
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 Gzdl  extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//故障大类
private String gzdlName;
public String getGzdlName() {return gzdlName;}
public void setGzdlName(String gzdlName) {this.gzdlName = gzdlName;}
}

故障小类javaBean创建语句如下:


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

//故障小类
public class Gzxl  extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//故障小类
private String gzxlName;
//故障小类
private String gzdlName;
//原因
private String yy;
//图片
private String tp;
//解决方案
private String jjfa;
public String getGzxlName() {return gzxlName;}
public void setGzxlName(String gzxlName) {this.gzxlName = gzxlName;}
public String getGzdlName() {return gzdlName;}
public void setGzdlName(String gzdlName) {this.gzdlName = gzdlName;}
public String getYy() {return yy;}
public void setYy(String yy) {this.yy = yy;}
public String getTp() {return tp;}
public void setTp(String tp) {this.tp = tp;}
public String getJjfa() {return jjfa;}
public void setJjfa(String jjfa) {this.jjfa = jjfa;}
}

用户反馈javaBean创建语句如下:


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

//用户反馈
public class Liuyan  extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//用户
private Integer customerId;
//内容
private String content;
//日期
private Date insertDate;
//回复内容
private String back;
//状态
private String status;
public Integer getCustomerId() {return customerId;}
public void setCustomerId(Integer customerId) {this.customerId = customerId;}
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;}
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 Lj  extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//零件名称
private String ljName;
//零件编号
private String ljbh;
//价格
private Integer jg;
//库存
private Integer kc;
//图片
private String tp;
//零件参数说明
private String content;
public String getLjName() {return ljName;}
public void setLjName(String ljName) {this.ljName = ljName;}
public String getLjbh() {return ljbh;}
public void setLjbh(String ljbh) {this.ljbh = ljbh;}
public Integer getJg() {return jg;}
public void setJg(Integer jg) {this.jg = jg;}
public Integer getKc() {return kc;}
public void setKc(Integer kc) {this.kc = kc;}
public String getTp() {return tp;}
public void setTp(String tp) {this.tp = tp;}
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 Tongzhi  extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//用户
private Integer customerId;
//标题
private String txName;
//内容
private String content;
//日期
private Date insertDate;
public Integer getCustomerId() {return customerId;}
public void setCustomerId(Integer customerId) {this.customerId = customerId;}
public String getTxName() {return txName;}
public void setTxName(String txName) {this.txName = txName;}
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;}
}

维修保养单javaBean创建语句如下:


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

//维修保养单
public class Wxby  extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//客户
private Integer customerId;
//类型
private String types;
//维修保养编号
private String wxbyName;
//总金额
private Integer zje;
//日期
private Date showDate;
//车牌
private String carName;
//单子拍照
private String tp;
public Integer getCustomerId() {return customerId;}
public void setCustomerId(Integer customerId) {this.customerId = customerId;}
public String getTypes() {return types;}
public void setTypes(String types) {this.types = types;}
public String getWxbyName() {return wxbyName;}
public void setWxbyName(String wxbyName) {this.wxbyName = wxbyName;}
public Integer getZje() {return zje;}
public void setZje(Integer zje) {this.zje = zje;}
public Date getShowDate() {return showDate;}
public void setShowDate(Date showDate) {this.showDate = showDate;}
public String getCarName() {return carName;}
public void setCarName(String carName) {this.carName = carName;}
public String getTp() {return tp;}
public void setTp(String tp) {this.tp = tp;}
}

维修保养单详情javaBean创建语句如下:


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

//维修保养单详情
public class Wxbylist  extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//维修保养单
private Integer wxbyId;
//项目名称
private String xmName;
//项目金额
private Integer fee;
//项目备注
private String content;
public Integer getWxbyId() {return wxbyId;}
public void setWxbyId(Integer wxbyId) {this.wxbyId = wxbyId;}
public String getXmName() {return xmName;}
public void setXmName(String xmName) {this.xmName = xmName;}
public Integer getFee() {return fee;}
public void setFee(Integer fee) {this.fee = fee;}
public String getContent() {return content;}
public void setContent(String content) {this.content = content;}
}

评论