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

申通物流车辆调度系统设计和实现登录注册界面

申通物流车辆调度系统设计和实现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 '主键',
	carName varchar(100) comment '车辆编号',
	pic varchar(100) comment '图片',
	pz varchar(100) comment '牌照',
	bz varchar(100) comment '备注',
	status varchar(100) comment '状态'
) comment '车辆';

车辆申请表创建语句如下:


create table t_clsq(
	id int primary key auto_increment comment '主键',
	carId int comment '车辆',
	jsyId int comment '驾驶员',
	title varchar(100) comment '标题',
	showDate datetime 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 '性别',
	address varchar(100) comment '地址'
) comment '用户';

费用登记表创建语句如下:


create table t_fytj(
	id int primary key auto_increment comment '主键',
	carId int comment '车辆',
	types varchar(100) comment '费用类型',
	fee int comment '金额',
	pic varchar(100) comment '发票',
	djrq datetime comment '日期'
) comment '费用登记';

回车登记表创建语句如下:


create table t_hcdj(
	id int primary key auto_increment comment '主键',
	carId int comment '车辆',
	hcrq datetime comment '回车日期',
	content varchar(100) comment '备注'
) comment '回车登记';

驾驶员表创建语句如下:


create table t_jsy(
	id int primary key auto_increment comment '主键',
	jsyName varchar(100) comment '姓名',
	phone varchar(100) comment '电话',
	age varchar(100) comment '年龄',
	sex varchar(100) comment '性别',
	address varchar(100) comment '地址'
) comment '驾驶员';

派遣车辆表创建语句如下:


create table t_pqcl(
	id int primary key auto_increment comment '主键',
	carId int comment '车辆',
	showDate datetime comment '日期',
	content varchar(100) comment '说明',
	jsyId int comment '驾驶员'
) comment '派遣车辆';

维保登记表创建语句如下:


create table t_wbdj(
	id int primary key auto_increment comment '主键',
	carId int comment '车辆',
	wbnr varchar(100) comment '维保内容',
	wbdjrq datetime comment '日期',
	status 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_car(
	id integer,
	carName varchar(100),
	pic varchar(100),
	pz varchar(100),
	bz varchar(100),
	status varchar(100)
);
--车辆字段加注释
comment on column t_car.id is '主键';
comment on column t_car.carName is '车辆编号';
comment on column t_car.pic is '图片';
comment on column t_car.pz is '牌照';
comment on column t_car.bz is '备注';
comment on column t_car.status is '状态';
--车辆表加注释
comment on table t_car is '车辆';

车辆申请表创建语句如下:


create table t_clsq(
	id integer,
	carId int,
	jsyId int,
	title varchar(100),
	showDate datetime,
	content varchar(100)
);
--车辆申请字段加注释
comment on column t_clsq.id is '主键';
comment on column t_clsq.carId is '车辆';
comment on column t_clsq.jsyId is '驾驶员';
comment on column t_clsq.title is '标题';
comment on column t_clsq.showDate is '日期';
comment on column t_clsq.content is '理由';
--车辆申请表加注释
comment on table t_clsq 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),
	address 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 column t_customer.address is '地址';
--用户表加注释
comment on table t_customer is '用户';

费用登记表创建语句如下:


create table t_fytj(
	id integer,
	carId int,
	types varchar(100),
	fee int,
	pic varchar(100),
	djrq datetime
);
--费用登记字段加注释
comment on column t_fytj.id is '主键';
comment on column t_fytj.carId is '车辆';
comment on column t_fytj.types is '费用类型';
comment on column t_fytj.fee is '金额';
comment on column t_fytj.pic is '发票';
comment on column t_fytj.djrq is '日期';
--费用登记表加注释
comment on table t_fytj is '费用登记';

回车登记表创建语句如下:


create table t_hcdj(
	id integer,
	carId int,
	hcrq datetime,
	content varchar(100)
);
--回车登记字段加注释
comment on column t_hcdj.id is '主键';
comment on column t_hcdj.carId is '车辆';
comment on column t_hcdj.hcrq is '回车日期';
comment on column t_hcdj.content is '备注';
--回车登记表加注释
comment on table t_hcdj is '回车登记';

驾驶员表创建语句如下:


create table t_jsy(
	id integer,
	jsyName varchar(100),
	phone varchar(100),
	age varchar(100),
	sex varchar(100),
	address varchar(100)
);
--驾驶员字段加注释
comment on column t_jsy.id is '主键';
comment on column t_jsy.jsyName is '姓名';
comment on column t_jsy.phone is '电话';
comment on column t_jsy.age is '年龄';
comment on column t_jsy.sex is '性别';
comment on column t_jsy.address is '地址';
--驾驶员表加注释
comment on table t_jsy is '驾驶员';

派遣车辆表创建语句如下:


create table t_pqcl(
	id integer,
	carId int,
	showDate datetime,
	content varchar(100),
	jsyId int
);
--派遣车辆字段加注释
comment on column t_pqcl.id is '主键';
comment on column t_pqcl.carId is '车辆';
comment on column t_pqcl.showDate is '日期';
comment on column t_pqcl.content is '说明';
comment on column t_pqcl.jsyId is '驾驶员';
--派遣车辆表加注释
comment on table t_pqcl is '派遣车辆';

维保登记表创建语句如下:


create table t_wbdj(
	id integer,
	carId int,
	wbnr varchar(100),
	wbdjrq datetime,
	status varchar(100),
	content varchar(100)
);
--维保登记字段加注释
comment on column t_wbdj.id is '主键';
comment on column t_wbdj.carId is '车辆';
comment on column t_wbdj.wbnr is '维保内容';
comment on column t_wbdj.wbdjrq is '日期';
comment on column t_wbdj.status is '状态';
comment on column t_wbdj.content is '结果';
--维保登记表加注释
comment on table t_wbdj is '维保登记';

oracle特有,对应序列如下:


create sequence s_t_car;
create sequence s_t_clsq;
create sequence s_t_customer;
create sequence s_t_fytj;
create sequence s_t_hcdj;
create sequence s_t_jsy;
create sequence s_t_pqcl;
create sequence s_t_wbdj;

申通物流车辆调度系统设计和实现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,--主键
	carName varchar(100),--车辆编号
	pic varchar(100),--图片
	pz varchar(100),--牌照
	bz varchar(100),--备注
	status varchar(100)--状态
);

车辆申请表创建语句如下:


--车辆申请表注释
create table t_clsq(
	id int identity(1,1) primary key not null,--主键
	carId int,--车辆
	jsyId int,--驾驶员
	title varchar(100),--标题
	showDate datetime,--日期
	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),--性别
	address varchar(100)--地址
);

费用登记表创建语句如下:


--费用登记表注释
create table t_fytj(
	id int identity(1,1) primary key not null,--主键
	carId int,--车辆
	types varchar(100),--费用类型
	fee int,--金额
	pic varchar(100),--发票
	djrq datetime--日期
);

回车登记表创建语句如下:


--回车登记表注释
create table t_hcdj(
	id int identity(1,1) primary key not null,--主键
	carId int,--车辆
	hcrq datetime,--回车日期
	content varchar(100)--备注
);

驾驶员表创建语句如下:


--驾驶员表注释
create table t_jsy(
	id int identity(1,1) primary key not null,--主键
	jsyName varchar(100),--姓名
	phone varchar(100),--电话
	age varchar(100),--年龄
	sex varchar(100),--性别
	address varchar(100)--地址
);

派遣车辆表创建语句如下:


--派遣车辆表注释
create table t_pqcl(
	id int identity(1,1) primary key not null,--主键
	carId int,--车辆
	showDate datetime,--日期
	content varchar(100),--说明
	jsyId int--驾驶员
);

维保登记表创建语句如下:


--维保登记表注释
create table t_wbdj(
	id int identity(1,1) primary key not null,--主键
	carId int,--车辆
	wbnr varchar(100),--维保内容
	wbdjrq datetime,--日期
	status 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_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 String carName;
//图片
private String pic;
//牌照
private String pz;
//备注
private String bz;
//状态
private String status;
public String getCarName() {return carName;}
public void setCarName(String carName) {this.carName = carName;}
public String getPic() {return pic;}
public void setPic(String pic) {this.pic = pic;}
public String getPz() {return pz;}
public void setPz(String pz) {this.pz = pz;}
public String getBz() {return bz;}
public void setBz(String bz) {this.bz = bz;}
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_clsq")
public class Clsq {
//主键
@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 carId;
//驾驶员
private Integer jsyId;
//标题
private String title;
//日期
private Date showDate;
//理由
private String content;
public Integer getCarId() {return carId;}
public void setCarId(Integer carId) {this.carId = carId;}
public Integer getJsyId() {return jsyId;}
public void setJsyId(Integer jsyId) {this.jsyId = jsyId;}
public String getTitle() {return title;}
public void setTitle(String title) {this.title = title;}
public Date getShowDate() {return showDate;}
public void setShowDate(Date showDate) {this.showDate = showDate;}
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;
//地址
private String address;
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;}
public String getAddress() {return address;}
public void setAddress(String address) {this.address = address;}
}

费用登记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_fytj")
public class Fytj {
//主键
@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 carId;
//费用类型
private String types;
//金额
private Integer fee;
//发票
private String pic;
//日期
private Date djrq;
public Integer getCarId() {return carId;}
public void setCarId(Integer carId) {this.carId = carId;}
public String getTypes() {return types;}
public void setTypes(String types) {this.types = types;}
public Integer getFee() {return fee;}
public void setFee(Integer fee) {this.fee = fee;}
public String getPic() {return pic;}
public void setPic(String pic) {this.pic = pic;}
public Date getDjrq() {return djrq;}
public void setDjrq(Date djrq) {this.djrq = djrq;}
}

回车登记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_hcdj")
public class Hcdj {
//主键
@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 carId;
//回车日期
private Date hcrq;
//备注
private String content;
public Integer getCarId() {return carId;}
public void setCarId(Integer carId) {this.carId = carId;}
public Date getHcrq() {return hcrq;}
public void setHcrq(Date hcrq) {this.hcrq = hcrq;}
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_jsy")
public class Jsy {
//主键
@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 jsyName;
//电话
private String phone;
//年龄
private String age;
//性别
private String sex;
//地址
private String address;
public String getJsyName() {return jsyName;}
public void setJsyName(String jsyName) {this.jsyName = jsyName;}
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;}
public String getAddress() {return address;}
public void setAddress(String address) {this.address = address;}
}

派遣车辆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_pqcl")
public class Pqcl {
//主键
@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 carId;
//日期
private Date showDate;
//说明
private String content;
//驾驶员
private Integer jsyId;
public Integer getCarId() {return carId;}
public void setCarId(Integer carId) {this.carId = carId;}
public Date getShowDate() {return showDate;}
public void setShowDate(Date showDate) {this.showDate = showDate;}
public String getContent() {return content;}
public void setContent(String content) {this.content = content;}
public Integer getJsyId() {return jsyId;}
public void setJsyId(Integer jsyId) {this.jsyId = jsyId;}
}

维保登记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_wbdj")
public class Wbdj {
//主键
@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 carId;
//维保内容
private String wbnr;
//日期
private Date wbdjrq;
//状态
private String status;
//结果
private String content;
public Integer getCarId() {return carId;}
public void setCarId(Integer carId) {this.carId = carId;}
public String getWbnr() {return wbnr;}
public void setWbnr(String wbnr) {this.wbnr = wbnr;}
public Date getWbdjrq() {return wbdjrq;}
public void setWbdjrq(Date wbdjrq) {this.wbdjrq = wbdjrq;}
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;}
}

申通物流车辆调度系统设计和实现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 String carName;
//图片
private String pic;
//牌照
private String pz;
//备注
private String bz;
//状态
private String status;
public String getCarName() {return carName;}
public void setCarName(String carName) {this.carName = carName;}
public String getPic() {return pic;}
public void setPic(String pic) {this.pic = pic;}
public String getPz() {return pz;}
public void setPz(String pz) {this.pz = pz;}
public String getBz() {return bz;}
public void setBz(String bz) {this.bz = bz;}
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 Clsq  extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//车辆
private Integer carId;
//驾驶员
private Integer jsyId;
//标题
private String title;
//日期
private Date showDate;
//理由
private String content;
public Integer getCarId() {return carId;}
public void setCarId(Integer carId) {this.carId = carId;}
public Integer getJsyId() {return jsyId;}
public void setJsyId(Integer jsyId) {this.jsyId = jsyId;}
public String getTitle() {return title;}
public void setTitle(String title) {this.title = title;}
public Date getShowDate() {return showDate;}
public void setShowDate(Date showDate) {this.showDate = showDate;}
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;
//地址
private String address;
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;}
public String getAddress() {return address;}
public void setAddress(String address) {this.address = address;}
}

费用登记javaBean创建语句如下:


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

//费用登记
public class Fytj  extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//车辆
private Integer carId;
//费用类型
private String types;
//金额
private Integer fee;
//发票
private String pic;
//日期
private Date djrq;
public Integer getCarId() {return carId;}
public void setCarId(Integer carId) {this.carId = carId;}
public String getTypes() {return types;}
public void setTypes(String types) {this.types = types;}
public Integer getFee() {return fee;}
public void setFee(Integer fee) {this.fee = fee;}
public String getPic() {return pic;}
public void setPic(String pic) {this.pic = pic;}
public Date getDjrq() {return djrq;}
public void setDjrq(Date djrq) {this.djrq = djrq;}
}

回车登记javaBean创建语句如下:


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

//回车登记
public class Hcdj  extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//车辆
private Integer carId;
//回车日期
private Date hcrq;
//备注
private String content;
public Integer getCarId() {return carId;}
public void setCarId(Integer carId) {this.carId = carId;}
public Date getHcrq() {return hcrq;}
public void setHcrq(Date hcrq) {this.hcrq = hcrq;}
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 Jsy  extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//姓名
private String jsyName;
//电话
private String phone;
//年龄
private String age;
//性别
private String sex;
//地址
private String address;
public String getJsyName() {return jsyName;}
public void setJsyName(String jsyName) {this.jsyName = jsyName;}
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;}
public String getAddress() {return address;}
public void setAddress(String address) {this.address = address;}
}

派遣车辆javaBean创建语句如下:


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

//派遣车辆
public class Pqcl  extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//车辆
private Integer carId;
//日期
private Date showDate;
//说明
private String content;
//驾驶员
private Integer jsyId;
public Integer getCarId() {return carId;}
public void setCarId(Integer carId) {this.carId = carId;}
public Date getShowDate() {return showDate;}
public void setShowDate(Date showDate) {this.showDate = showDate;}
public String getContent() {return content;}
public void setContent(String content) {this.content = content;}
public Integer getJsyId() {return jsyId;}
public void setJsyId(Integer jsyId) {this.jsyId = jsyId;}
}

维保登记javaBean创建语句如下:


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

//维保登记
public class Wbdj  extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//车辆
private Integer carId;
//维保内容
private String wbnr;
//日期
private Date wbdjrq;
//状态
private String status;
//结果
private String content;
public Integer getCarId() {return carId;}
public void setCarId(Integer carId) {this.carId = carId;}
public String getWbnr() {return wbnr;}
public void setWbnr(String wbnr) {this.wbnr = wbnr;}
public Date getWbdjrq() {return wbdjrq;}
public void setWbdjrq(Date wbdjrq) {this.wbdjrq = wbdjrq;}
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;}
}

源代码下载点这里

评论