快递自动化处理系统

快递自动化处理系统登录注册界面

快递自动化处理系统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_address(
	id int primary key auto_increment comment '主键',
	customerId int comment '用户',
	province varchar(100) comment '省',
	city varchar(100) comment '市',
	area varchar(100) comment '区',
	phone varchar(100) comment '电话',
	lxr varchar(100) comment '联系人',
	xxdz varchar(100) comment '详细地址'
) comment '收货地址';

分类表创建语句如下:


create table t_bk(
	id int primary key auto_increment comment '主键',
	bkName varchar(100) comment '分类名称'
) comment '分类';

标签表创建语句如下:


create table t_bq(
	id int primary key auto_increment comment '主键',
	bqName varchar(100) comment '标签'
) comment '标签';

仓库中转站表创建语句如下:


create table t_cangku(
	id int primary key auto_increment comment '主键',
	cangkuName varchar(100) comment '仓库编号',
	wz varchar(100) comment '位置',
	fzr varchar(100) comment '负责人',
	fzrdh varchar(100) comment '负责人电话',
	userId int comment ''
) comment '仓库中转站';

车辆表创建语句如下:


create table t_car(
	id int primary key auto_increment comment '主键',
	carName varchar(100) comment '车辆编号',
	pz varchar(100) comment '牌照',
	xh varchar(100) comment '型号',
	userId int comment ''
) comment '车辆';

建议表创建语句如下:


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 '日期'
) 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 '积分',
	headPic varchar(100) comment '头像'
) comment '客户';

合约表创建语句如下:


create table t_hy(
	id int primary key auto_increment comment '主键',
	userId int comment '物流公司',
	kdyId int comment '快递员',
	fileUrl varchar(100) comment '合约附件',
	title varchar(100) comment '标题',
	je varchar(100) comment '金额',
	qx varchar(100) comment '期限',
	content varchar(100) comment '内容'
) comment '合约';

快递员表创建语句如下:


create table t_kdy(
	id int primary key auto_increment comment '主键',
	username varchar(100) comment '账号',
	password varchar(100) comment '密码',
	kdyName varchar(100) comment '姓名',
	pic varchar(100) comment '头像',
	email varchar(100) comment '邮箱',
	phone varchar(100) comment '电话',
	userId int comment '物流公司'
) comment '快递员';

轮播图表创建语句如下:


create table t_lbt(
	id int primary key auto_increment comment '主键',
	pic varchar(100) comment '图片'
) comment '轮播图';

聊天表创建语句如下:


create table t_liaotian(
	id int primary key auto_increment comment '主键',
	customerId int comment '用户',
	toId int comment '用户',
	content varchar(100) comment '内容',
	insertDate datetime comment '日期',
	batchNum varchar(100) comment '批次',
	fq int comment ''
) comment '聊天';

订单表创建语句如下:


create table t_order(
	id int primary key auto_increment comment '主键',
	customerId int comment '用户',
	productDetail varchar(100) comment '订单详细',
	allPrice varchar(100) comment '订单总价格',
	status varchar(100) comment '状态',
	orderNum varchar(100) comment '订单编号',
	pl varchar(100) comment '物流信息',
	insertDate datetime comment '日期',
	userId int comment '',
	orderDate varchar(100) comment '',
	address varchar(100) comment '地址',
	lxr varchar(100) comment '联系人',
	lxfs varchar(100) comment '联系方式',
	pj varchar(100) comment '评价',
	back varchar(100) comment '回复',
	productId int comment ''
) comment '订单';

表创建语句如下:


create table t_pinglun_product(
	id int primary key auto_increment comment '主键',
	productId int comment '评论信息',
	customerId int comment '评论人',
	content varchar(100) comment '评论内容',
	insertDate datetime comment '评论日期'
) comment '';

评价表创建语句如下:


create table t_pj(
	id int primary key auto_increment comment '主键',
	userId int comment '物流公司',
	kdyId int comment '快递员',
	customerId int 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 '价格',
	oldPrice int comment '原价',
	content varchar(100) comment '内容',
	nums int comment '数量',
	tjxj varchar(100) comment '',
	status varchar(100) comment '状态',
	typesId int comment '分类',
	jf int comment '积分',
	userId int comment '物流企业',
	bqId int comment '标签',
	djl int comment '点击量'
) comment '物流商品';

物流产品点击表创建语句如下:


create table t_productclick(
	id int primary key auto_increment comment '主键',
	productId int comment '物流产品',
	customerId int comment '用户',
	insertDate datetime comment '日期'
) comment '物流产品点击';

配送单表创建语句如下:


create table t_psd(
	id int primary key auto_increment comment '主键',
	orderNum varchar(100) comment '订单编号',
	cangkuName varchar(100) comment '仓库编号',
	carName varchar(100) comment '车辆编号',
	sjgh varchar(100) comment '司机工号',
	psygh varchar(100) comment '配送员工号',
	pic varchar(100) comment '配送单图片',
	userId int comment ''
) comment '配送单';

收藏表创建语句如下:


create table t_sc(
	id int primary key auto_increment comment '主键',
	customerId int comment '用户',
	productId int comment '产品',
	insertDate datetime comment '日期'
) comment '收藏';

物流购物车表创建语句如下:


create table t_shopcar(
	id int primary key auto_increment comment '主键',
	productId int comment '产品',
	num int comment '数量',
	customerId 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 '手机',
	js varchar(100) comment '角色'
) comment '物流公司';

消息表创建语句如下:


create table t_xiaoxi(
	id int primary key auto_increment comment '主键',
	customerId int comment '用户',
	title varchar(100) comment '标题',
	content varchar(100) comment '内容',
	insertDate datetime comment '日期'
) comment '消息';

新闻公告表创建语句如下:


create table t_zx(
	id int primary key auto_increment comment '主键',
	title varchar(100) comment '标题',
	content varchar(100) comment '内容',
	pic 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_address(
	id integer,
	customerId int,
	province varchar(100),
	city varchar(100),
	area varchar(100),
	phone varchar(100),
	lxr varchar(100),
	xxdz varchar(100)
);
--收货地址字段加注释
comment on column t_address.id is '主键';
comment on column t_address.customerId is '用户';
comment on column t_address.province is '省';
comment on column t_address.city is '市';
comment on column t_address.area is '区';
comment on column t_address.phone is '电话';
comment on column t_address.lxr is '联系人';
comment on column t_address.xxdz is '详细地址';
--收货地址表加注释
comment on table t_address is '收货地址';

分类表创建语句如下:


create table t_bk(
	id integer,
	bkName varchar(100)
);
--分类字段加注释
comment on column t_bk.id is '主键';
comment on column t_bk.bkName is '分类名称';
--分类表加注释
comment on table t_bk is '分类';

标签表创建语句如下:


create table t_bq(
	id integer,
	bqName varchar(100)
);
--标签字段加注释
comment on column t_bq.id is '主键';
comment on column t_bq.bqName is '标签';
--标签表加注释
comment on table t_bq is '标签';

仓库中转站表创建语句如下:


create table t_cangku(
	id integer,
	cangkuName varchar(100),
	wz varchar(100),
	fzr varchar(100),
	fzrdh varchar(100),
	userId int
);
--仓库中转站字段加注释
comment on column t_cangku.id is '主键';
comment on column t_cangku.cangkuName is '仓库编号';
comment on column t_cangku.wz is '位置';
comment on column t_cangku.fzr is '负责人';
comment on column t_cangku.fzrdh is '负责人电话';
comment on column t_cangku.userId is '';
--仓库中转站表加注释
comment on table t_cangku is '仓库中转站';

车辆表创建语句如下:


create table t_car(
	id integer,
	carName varchar(100),
	pz varchar(100),
	xh varchar(100),
	userId int
);
--车辆字段加注释
comment on column t_car.id is '主键';
comment on column t_car.carName is '车辆编号';
comment on column t_car.pz is '牌照';
comment on column t_car.xh is '型号';
comment on column t_car.userId is '';
--车辆表加注释
comment on table t_car is '车辆';

建议表创建语句如下:


create table t_contact(
	id integer,
	customerId int,
	phone varchar(100),
	content varchar(100),
	insertDate datetime
);
--建议字段加注释
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 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,
	headPic 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.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 column t_customer.headPic is '头像';
--客户表加注释
comment on table t_customer is '客户';

合约表创建语句如下:


create table t_hy(
	id integer,
	userId int,
	kdyId int,
	fileUrl varchar(100),
	title varchar(100),
	je varchar(100),
	qx varchar(100),
	content varchar(100)
);
--合约字段加注释
comment on column t_hy.id is '主键';
comment on column t_hy.userId is '物流公司';
comment on column t_hy.kdyId is '快递员';
comment on column t_hy.fileUrl is '合约附件';
comment on column t_hy.title is '标题';
comment on column t_hy.je is '金额';
comment on column t_hy.qx is '期限';
comment on column t_hy.content is '内容';
--合约表加注释
comment on table t_hy is '合约';

快递员表创建语句如下:


create table t_kdy(
	id integer,
	username varchar(100),
	password varchar(100),
	kdyName varchar(100),
	pic varchar(100),
	email varchar(100),
	phone varchar(100),
	userId int
);
--快递员字段加注释
comment on column t_kdy.id is '主键';
comment on column t_kdy.username is '账号';
comment on column t_kdy.password is '密码';
comment on column t_kdy.kdyName is '姓名';
comment on column t_kdy.pic is '头像';
comment on column t_kdy.email is '邮箱';
comment on column t_kdy.phone is '电话';
comment on column t_kdy.userId is '物流公司';
--快递员表加注释
comment on table t_kdy is '快递员';

轮播图表创建语句如下:


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

聊天表创建语句如下:


create table t_liaotian(
	id integer,
	customerId int,
	toId int,
	content varchar(100),
	insertDate datetime,
	batchNum varchar(100),
	fq int
);
--聊天字段加注释
comment on column t_liaotian.id is '主键';
comment on column t_liaotian.customerId is '用户';
comment on column t_liaotian.toId is '用户';
comment on column t_liaotian.content is '内容';
comment on column t_liaotian.insertDate is '日期';
comment on column t_liaotian.batchNum is '批次';
comment on column t_liaotian.fq is '';
--聊天表加注释
comment on table t_liaotian is '聊天';

订单表创建语句如下:


create table t_order(
	id integer,
	customerId int,
	productDetail varchar(100),
	allPrice varchar(100),
	status varchar(100),
	orderNum varchar(100),
	pl varchar(100),
	insertDate datetime,
	userId int,
	orderDate varchar(100),
	address varchar(100),
	lxr varchar(100),
	lxfs varchar(100),
	pj varchar(100),
	back varchar(100),
	productId int
);
--订单字段加注释
comment on column t_order.id is '主键';
comment on column t_order.customerId is '用户';
comment on column t_order.productDetail is '订单详细';
comment on column t_order.allPrice is '订单总价格';
comment on column t_order.status is '状态';
comment on column t_order.orderNum is '订单编号';
comment on column t_order.pl is '物流信息';
comment on column t_order.insertDate is '日期';
comment on column t_order.userId is '';
comment on column t_order.orderDate is '';
comment on column t_order.address is '地址';
comment on column t_order.lxr is '联系人';
comment on column t_order.lxfs is '联系方式';
comment on column t_order.pj is '评价';
comment on column t_order.back is '回复';
comment on column t_order.productId is '';
--订单表加注释
comment on table t_order is '订单';

表创建语句如下:


create table t_pinglun_product(
	id integer,
	productId int,
	customerId int,
	content varchar(100),
	insertDate datetime
);
--字段加注释
comment on column t_pinglun_product.id is '主键';
comment on column t_pinglun_product.productId is '评论信息';
comment on column t_pinglun_product.customerId is '评论人';
comment on column t_pinglun_product.content is '评论内容';
comment on column t_pinglun_product.insertDate is '评论日期';
--表加注释
comment on table t_pinglun_product is '';

评价表创建语句如下:


create table t_pj(
	id integer,
	userId int,
	kdyId int,
	customerId int,
	content varchar(100)
);
--评价字段加注释
comment on column t_pj.id is '主键';
comment on column t_pj.userId is '物流公司';
comment on column t_pj.kdyId is '快递员';
comment on column t_pj.customerId is '用户';
comment on column t_pj.content is '评价内容';
--评价表加注释
comment on table t_pj is '评价';

物流商品表创建语句如下:


create table t_product(
	id integer,
	productName varchar(100),
	productPic1 varchar(100),
	productPic2 varchar(100),
	productPic3 varchar(100),
	productPic4 varchar(100),
	price int,
	oldPrice int,
	content varchar(100),
	nums int,
	tjxj varchar(100),
	status varchar(100),
	typesId int,
	jf int,
	userId int,
	bqId int,
	djl int
);
--物流商品字段加注释
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.oldPrice 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.jf is '积分';
comment on column t_product.userId is '物流企业';
comment on column t_product.bqId is '标签';
comment on column t_product.djl is '点击量';
--物流商品表加注释
comment on table t_product is '物流商品';

物流产品点击表创建语句如下:


create table t_productclick(
	id integer,
	productId int,
	customerId int,
	insertDate datetime
);
--物流产品点击字段加注释
comment on column t_productclick.id is '主键';
comment on column t_productclick.productId is '物流产品';
comment on column t_productclick.customerId is '用户';
comment on column t_productclick.insertDate is '日期';
--物流产品点击表加注释
comment on table t_productclick is '物流产品点击';

配送单表创建语句如下:


create table t_psd(
	id integer,
	orderNum varchar(100),
	cangkuName varchar(100),
	carName varchar(100),
	sjgh varchar(100),
	psygh varchar(100),
	pic varchar(100),
	userId int
);
--配送单字段加注释
comment on column t_psd.id is '主键';
comment on column t_psd.orderNum is '订单编号';
comment on column t_psd.cangkuName is '仓库编号';
comment on column t_psd.carName is '车辆编号';
comment on column t_psd.sjgh is '司机工号';
comment on column t_psd.psygh is '配送员工号';
comment on column t_psd.pic is '配送单图片';
comment on column t_psd.userId is '';
--配送单表加注释
comment on table t_psd is '配送单';

收藏表创建语句如下:


create table t_sc(
	id integer,
	customerId int,
	productId int,
	insertDate datetime
);
--收藏字段加注释
comment on column t_sc.id is '主键';
comment on column t_sc.customerId is '用户';
comment on column t_sc.productId is '产品';
comment on column t_sc.insertDate is '日期';
--收藏表加注释
comment on table t_sc is '收藏';

物流购物车表创建语句如下:


create table t_shopcar(
	id integer,
	productId int,
	num int,
	customerId int
);
--物流购物车字段加注释
comment on column t_shopcar.id is '主键';
comment on column t_shopcar.productId is '产品';
comment on column t_shopcar.num is '数量';
comment on column t_shopcar.customerId is '';
--物流购物车表加注释
comment on table t_shopcar 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),
	js 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 column t_user.js is '角色';
--物流公司表加注释
comment on table t_user is '物流公司';

消息表创建语句如下:


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

新闻公告表创建语句如下:


create table t_zx(
	id integer,
	title varchar(100),
	content varchar(100),
	pic varchar(100)
);
--新闻公告字段加注释
comment on column t_zx.id is '主键';
comment on column t_zx.title is '标题';
comment on column t_zx.content is '内容';
comment on column t_zx.pic is '图片';
--新闻公告表加注释
comment on table t_zx is '新闻公告';

oracle特有,对应序列如下:


create sequence s_t_address;
create sequence s_t_bk;
create sequence s_t_bq;
create sequence s_t_cangku;
create sequence s_t_car;
create sequence s_t_contact;
create sequence s_t_customer;
create sequence s_t_hy;
create sequence s_t_kdy;
create sequence s_t_lbt;
create sequence s_t_liaotian;
create sequence s_t_order;
create sequence s_t_pinglun_product;
create sequence s_t_pj;
create sequence s_t_product;
create sequence s_t_productclick;
create sequence s_t_psd;
create sequence s_t_sc;
create sequence s_t_shopcar;
create sequence s_t_types;
create sequence s_t_user;
create sequence s_t_xiaoxi;
create sequence s_t_zx;

快递自动化处理系统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_address(
	id int identity(1,1) primary key not null,--主键
	customerId int,--用户
	province varchar(100),--省
	city varchar(100),--市
	area varchar(100),--区
	phone varchar(100),--电话
	lxr varchar(100),--联系人
	xxdz varchar(100)--详细地址
);

分类表创建语句如下:


--分类表注释
create table t_bk(
	id int identity(1,1) primary key not null,--主键
	bkName varchar(100)--分类名称
);

标签表创建语句如下:


--标签表注释
create table t_bq(
	id int identity(1,1) primary key not null,--主键
	bqName varchar(100)--标签
);

仓库中转站表创建语句如下:


--仓库中转站表注释
create table t_cangku(
	id int identity(1,1) primary key not null,--主键
	cangkuName varchar(100),--仓库编号
	wz varchar(100),--位置
	fzr varchar(100),--负责人
	fzrdh varchar(100),--负责人电话
	userId int--
);

车辆表创建语句如下:


--车辆表注释
create table t_car(
	id int identity(1,1) primary key not null,--主键
	carName varchar(100),--车辆编号
	pz varchar(100),--牌照
	xh varchar(100),--型号
	userId int--
);

建议表创建语句如下:


--建议表注释
create table t_contact(
	id int identity(1,1) primary key not null,--主键
	customerId int,--用户
	phone varchar(100),--联系方式
	content varchar(100),--内容
	insertDate datetime--日期
);

客户表创建语句如下:


--客户表注释
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,--积分
	headPic varchar(100)--头像
);

合约表创建语句如下:


--合约表注释
create table t_hy(
	id int identity(1,1) primary key not null,--主键
	userId int,--物流公司
	kdyId int,--快递员
	fileUrl varchar(100),--合约附件
	title varchar(100),--标题
	je varchar(100),--金额
	qx varchar(100),--期限
	content varchar(100)--内容
);

快递员表创建语句如下:


--快递员表注释
create table t_kdy(
	id int identity(1,1) primary key not null,--主键
	username varchar(100),--账号
	password varchar(100),--密码
	kdyName varchar(100),--姓名
	pic varchar(100),--头像
	email varchar(100),--邮箱
	phone varchar(100),--电话
	userId int--物流公司
);

轮播图表创建语句如下:


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

聊天表创建语句如下:


--聊天表注释
create table t_liaotian(
	id int identity(1,1) primary key not null,--主键
	customerId int,--用户
	toId int,--用户
	content varchar(100),--内容
	insertDate datetime,--日期
	batchNum varchar(100),--批次
	fq int--
);

订单表创建语句如下:


--订单表注释
create table t_order(
	id int identity(1,1) primary key not null,--主键
	customerId int,--用户
	productDetail varchar(100),--订单详细
	allPrice varchar(100),--订单总价格
	status varchar(100),--状态
	orderNum varchar(100),--订单编号
	pl varchar(100),--物流信息
	insertDate datetime,--日期
	userId int,--
	orderDate varchar(100),--
	address varchar(100),--地址
	lxr varchar(100),--联系人
	lxfs varchar(100),--联系方式
	pj varchar(100),--评价
	back varchar(100),--回复
	productId int--
);

表创建语句如下:


--表注释
create table t_pinglun_product(
	id int identity(1,1) primary key not null,--主键
	productId int,--评论信息
	customerId int,--评论人
	content varchar(100),--评论内容
	insertDate datetime--评论日期
);

评价表创建语句如下:


--评价表注释
create table t_pj(
	id int identity(1,1) primary key not null,--主键
	userId int,--物流公司
	kdyId int,--快递员
	customerId int,--用户
	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,--价格
	oldPrice int,--原价
	content varchar(100),--内容
	nums int,--数量
	tjxj varchar(100),--
	status varchar(100),--状态
	typesId int,--分类
	jf int,--积分
	userId int,--物流企业
	bqId int,--标签
	djl int--点击量
);

物流产品点击表创建语句如下:


--物流产品点击表注释
create table t_productclick(
	id int identity(1,1) primary key not null,--主键
	productId int,--物流产品
	customerId int,--用户
	insertDate datetime--日期
);

配送单表创建语句如下:


--配送单表注释
create table t_psd(
	id int identity(1,1) primary key not null,--主键
	orderNum varchar(100),--订单编号
	cangkuName varchar(100),--仓库编号
	carName varchar(100),--车辆编号
	sjgh varchar(100),--司机工号
	psygh varchar(100),--配送员工号
	pic varchar(100),--配送单图片
	userId int--
);

收藏表创建语句如下:


--收藏表注释
create table t_sc(
	id int identity(1,1) primary key not null,--主键
	customerId int,--用户
	productId int,--产品
	insertDate datetime--日期
);

物流购物车表创建语句如下:


--物流购物车表注释
create table t_shopcar(
	id int identity(1,1) primary key not null,--主键
	productId int,--产品
	num int,--数量
	customerId 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),--手机
	js varchar(100)--角色
);

消息表创建语句如下:


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

新闻公告表创建语句如下:


--新闻公告表注释
create table t_zx(
	id int identity(1,1) primary key not null,--主键
	title varchar(100),--标题
	content varchar(100),--内容
	pic 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_address")
public class Address {
//主键
@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 province;
//市
private String city;
//区
private String area;
//电话
private String phone;
//联系人
private String lxr;
//详细地址
private String xxdz;
public Integer getCustomerId() {return customerId;}
public void setCustomerId(Integer customerId) {this.customerId = customerId;}
public String getProvince() {return province;}
public void setProvince(String province) {this.province = province;}
public String getCity() {return city;}
public void setCity(String city) {this.city = city;}
public String getArea() {return area;}
public void setArea(String area) {this.area = area;}
public String getPhone() {return phone;}
public void setPhone(String phone) {this.phone = phone;}
public String getLxr() {return lxr;}
public void setLxr(String lxr) {this.lxr = lxr;}
public String getXxdz() {return xxdz;}
public void setXxdz(String xxdz) {this.xxdz = xxdz;}
}

分类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_bk")
public class Bk {
//主键
@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 bkName;
public String getBkName() {return bkName;}
public void setBkName(String bkName) {this.bkName = bkName;}
}

标签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_bq")
public class Bq {
//主键
@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 bqName;
public String getBqName() {return bqName;}
public void setBqName(String bqName) {this.bqName = bqName;}
}

仓库中转站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_cangku")
public class Cangku {
//主键
@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 cangkuName;
//位置
private String wz;
//负责人
private String fzr;
//负责人电话
private String fzrdh;
//
private Integer userId;
public String getCangkuName() {return cangkuName;}
public void setCangkuName(String cangkuName) {this.cangkuName = cangkuName;}
public String getWz() {return wz;}
public void setWz(String wz) {this.wz = wz;}
public String getFzr() {return fzr;}
public void setFzr(String fzr) {this.fzr = fzr;}
public String getFzrdh() {return fzrdh;}
public void setFzrdh(String fzrdh) {this.fzrdh = fzrdh;}
public Integer getUserId() {return userId;}
public void setUserId(Integer userId) {this.userId = userId;}
}

车辆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 pz;
//型号
private String xh;
//
private Integer userId;
public String getCarName() {return carName;}
public void setCarName(String carName) {this.carName = carName;}
public String getPz() {return pz;}
public void setPz(String pz) {this.pz = pz;}
public String getXh() {return xh;}
public void setXh(String xh) {this.xh = xh;}
public Integer getUserId() {return userId;}
public void setUserId(Integer userId) {this.userId = userId;}
}

建议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;
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;}
}

客户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;
//头像
private String headPic;
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;}
public String getHeadPic() {return headPic;}
public void setHeadPic(String headPic) {this.headPic = headPic;}
}

合约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_hy")
public class Hy {
//主键
@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 userId;
//快递员
private Integer kdyId;
//合约附件
private String fileUrl;
//标题
private String title;
//金额
private String je;
//期限
private String qx;
//内容
private String content;
public Integer getUserId() {return userId;}
public void setUserId(Integer userId) {this.userId = userId;}
public Integer getKdyId() {return kdyId;}
public void setKdyId(Integer kdyId) {this.kdyId = kdyId;}
public String getFileUrl() {return fileUrl;}
public void setFileUrl(String fileUrl) {this.fileUrl = fileUrl;}
public String getTitle() {return title;}
public void setTitle(String title) {this.title = title;}
public String getJe() {return je;}
public void setJe(String je) {this.je = je;}
public String getQx() {return qx;}
public void setQx(String qx) {this.qx = qx;}
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_kdy")
public class Kdy {
//主键
@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 kdyName;
//头像
private String pic;
//邮箱
private String email;
//电话
private String phone;
//物流公司
private Integer userId;
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 getKdyName() {return kdyName;}
public void setKdyName(String kdyName) {this.kdyName = kdyName;}
public String getPic() {return pic;}
public void setPic(String pic) {this.pic = pic;}
public String getEmail() {return email;}
public void setEmail(String email) {this.email = email;}
public String getPhone() {return phone;}
public void setPhone(String phone) {this.phone = phone;}
public Integer getUserId() {return userId;}
public void setUserId(Integer userId) {this.userId = userId;}
}

轮播图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 pic;
public String getPic() {return pic;}
public void setPic(String pic) {this.pic = pic;}
}

聊天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_liaotian")
public class Liaotian {
//主键
@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 toId;
//内容
private String content;
//日期
private Date insertDate;
//批次
private String batchNum;
//
private Integer fq;
public Integer getCustomerId() {return customerId;}
public void setCustomerId(Integer customerId) {this.customerId = customerId;}
public Integer getToId() {return toId;}
public void setToId(Integer toId) {this.toId = toId;}
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 getBatchNum() {return batchNum;}
public void setBatchNum(String batchNum) {this.batchNum = batchNum;}
public Integer getFq() {return fq;}
public void setFq(Integer fq) {this.fq = fq;}
}

订单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_order")
public class Order {
//主键
@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 productDetail;
//订单总价格
private String allPrice;
//状态
private String status;
//订单编号
private String orderNum;
//物流信息
private String pl;
//日期
private Date insertDate;
//
private Integer userId;
//
private String orderDate;
//地址
private String address;
//联系人
private String lxr;
//联系方式
private String lxfs;
//评价
private String pj;
//回复
private String back;
//
private Integer productId;
public Integer getCustomerId() {return customerId;}
public void setCustomerId(Integer customerId) {this.customerId = customerId;}
public String getProductDetail() {return productDetail;}
public void setProductDetail(String productDetail) {this.productDetail = productDetail;}
public String getAllPrice() {return allPrice;}
public void setAllPrice(String allPrice) {this.allPrice = allPrice;}
public String getStatus() {return status;}
public void setStatus(String status) {this.status = status;}
public String getOrderNum() {return orderNum;}
public void setOrderNum(String orderNum) {this.orderNum = orderNum;}
public String getPl() {return pl;}
public void setPl(String pl) {this.pl = pl;}
public Date getInsertDate() {return insertDate;}
public void setInsertDate(Date insertDate) {this.insertDate = insertDate;}
public Integer getUserId() {return userId;}
public void setUserId(Integer userId) {this.userId = userId;}
public String getOrderDate() {return orderDate;}
public void setOrderDate(String orderDate) {this.orderDate = orderDate;}
public String getAddress() {return address;}
public void setAddress(String address) {this.address = address;}
public String getLxr() {return lxr;}
public void setLxr(String lxr) {this.lxr = lxr;}
public String getLxfs() {return lxfs;}
public void setLxfs(String lxfs) {this.lxfs = lxfs;}
public String getPj() {return pj;}
public void setPj(String pj) {this.pj = pj;}
public String getBack() {return back;}
public void setBack(String back) {this.back = back;}
public Integer getProductId() {return productId;}
public void setProductId(Integer productId) {this.productId = productId;}
}

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_pinglun_product")
public class Pinglun_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 Integer productId;
//评论人
private Integer customerId;
//评论内容
private String content;
//评论日期
private Date insertDate;
public Integer getProductId() {return productId;}
public void setProductId(Integer productId) {this.productId = productId;}
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;}
}

评价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_pj")
public class Pj {
//主键
@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 userId;
//快递员
private Integer kdyId;
//用户
private Integer customerId;
//评价内容
private String content;
public Integer getUserId() {return userId;}
public void setUserId(Integer userId) {this.userId = userId;}
public Integer getKdyId() {return kdyId;}
public void setKdyId(Integer kdyId) {this.kdyId = kdyId;}
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;}
}

物流商品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 Integer oldPrice;
//内容
private String content;
//数量
private Integer nums;
//
private String tjxj;
//状态
private String status;
//分类
private Integer typesId;
//积分
private Integer jf;
//物流企业
private Integer userId;
//标签
private Integer bqId;
//点击量
private Integer djl;
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 Integer getOldPrice() {return oldPrice;}
public void setOldPrice(Integer oldPrice) {this.oldPrice = oldPrice;}
public String getContent() {return content;}
public void setContent(String content) {this.content = content;}
public Integer getNums() {return nums;}
public void setNums(Integer 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 Integer getJf() {return jf;}
public void setJf(Integer jf) {this.jf = jf;}
public Integer getUserId() {return userId;}
public void setUserId(Integer userId) {this.userId = userId;}
public Integer getBqId() {return bqId;}
public void setBqId(Integer bqId) {this.bqId = bqId;}
public Integer getDjl() {return djl;}
public void setDjl(Integer djl) {this.djl = djl;}
}

物流产品点击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_productclick")
public class Productclick {
//主键
@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 productId;
//用户
private Integer customerId;
//日期
private Date insertDate;
public Integer getProductId() {return productId;}
public void setProductId(Integer productId) {this.productId = productId;}
public Integer getCustomerId() {return customerId;}
public void setCustomerId(Integer customerId) {this.customerId = customerId;}
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_psd")
public class Psd {
//主键
@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 orderNum;
//仓库编号
private String cangkuName;
//车辆编号
private String carName;
//司机工号
private String sjgh;
//配送员工号
private String psygh;
//配送单图片
private String pic;
//
private Integer userId;
public String getOrderNum() {return orderNum;}
public void setOrderNum(String orderNum) {this.orderNum = orderNum;}
public String getCangkuName() {return cangkuName;}
public void setCangkuName(String cangkuName) {this.cangkuName = cangkuName;}
public String getCarName() {return carName;}
public void setCarName(String carName) {this.carName = carName;}
public String getSjgh() {return sjgh;}
public void setSjgh(String sjgh) {this.sjgh = sjgh;}
public String getPsygh() {return psygh;}
public void setPsygh(String psygh) {this.psygh = psygh;}
public String getPic() {return pic;}
public void setPic(String pic) {this.pic = pic;}
public Integer getUserId() {return userId;}
public void setUserId(Integer userId) {this.userId = userId;}
}

收藏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_sc")
public class Sc {
//主键
@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;
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;}
}

物流购物车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_shopcar")
public class Shopcar {
//主键
@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 productId;
//数量
private Integer num;
//
private Integer customerId;
public Integer getProductId() {return productId;}
public void setProductId(Integer productId) {this.productId = productId;}
public Integer getNum() {return num;}
public void setNum(Integer num) {this.num = num;}
public Integer getCustomerId() {return customerId;}
public void setCustomerId(Integer customerId) {this.customerId = customerId;}
}

分类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;
//角色
private String js;
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;}
public String getJs() {return js;}
public void setJs(String js) {this.js = js;}
}

消息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_xiaoxi")
public class Xiaoxi {
//主键
@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;
//日期
private Date insertDate;
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;}
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_zx")
public class Zx {
//主键
@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 content;
//图片
private String pic;
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;}
public String getPic() {return pic;}
public void setPic(String pic) {this.pic = pic;}
}

快递自动化处理系统spring+springMVC+mybatis框架对象(javaBean,pojo)设计:

收货地址javaBean创建语句如下:


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

//收货地址
public class Address  extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//用户
private Integer customerId;
//省
private String province;
//市
private String city;
//区
private String area;
//电话
private String phone;
//联系人
private String lxr;
//详细地址
private String xxdz;
public Integer getCustomerId() {return customerId;}
public void setCustomerId(Integer customerId) {this.customerId = customerId;}
public String getProvince() {return province;}
public void setProvince(String province) {this.province = province;}
public String getCity() {return city;}
public void setCity(String city) {this.city = city;}
public String getArea() {return area;}
public void setArea(String area) {this.area = area;}
public String getPhone() {return phone;}
public void setPhone(String phone) {this.phone = phone;}
public String getLxr() {return lxr;}
public void setLxr(String lxr) {this.lxr = lxr;}
public String getXxdz() {return xxdz;}
public void setXxdz(String xxdz) {this.xxdz = xxdz;}
}

分类javaBean创建语句如下:


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

//分类
public class Bk  extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//分类名称
private String bkName;
public String getBkName() {return bkName;}
public void setBkName(String bkName) {this.bkName = bkName;}
}

标签javaBean创建语句如下:


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

//标签
public class Bq  extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//标签
private String bqName;
public String getBqName() {return bqName;}
public void setBqName(String bqName) {this.bqName = bqName;}
}

仓库中转站javaBean创建语句如下:


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

//仓库中转站
public class Cangku  extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//仓库编号
private String cangkuName;
//位置
private String wz;
//负责人
private String fzr;
//负责人电话
private String fzrdh;
//
private Integer userId;
public String getCangkuName() {return cangkuName;}
public void setCangkuName(String cangkuName) {this.cangkuName = cangkuName;}
public String getWz() {return wz;}
public void setWz(String wz) {this.wz = wz;}
public String getFzr() {return fzr;}
public void setFzr(String fzr) {this.fzr = fzr;}
public String getFzrdh() {return fzrdh;}
public void setFzrdh(String fzrdh) {this.fzrdh = fzrdh;}
public Integer getUserId() {return userId;}
public void setUserId(Integer userId) {this.userId = userId;}
}

车辆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 pz;
//型号
private String xh;
//
private Integer userId;
public String getCarName() {return carName;}
public void setCarName(String carName) {this.carName = carName;}
public String getPz() {return pz;}
public void setPz(String pz) {this.pz = pz;}
public String getXh() {return xh;}
public void setXh(String xh) {this.xh = xh;}
public Integer getUserId() {return userId;}
public void setUserId(Integer userId) {this.userId = userId;}
}

建议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;
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;}
}

客户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;
//头像
private String headPic;
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;}
public String getHeadPic() {return headPic;}
public void setHeadPic(String headPic) {this.headPic = headPic;}
}

合约javaBean创建语句如下:


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

//合约
public class Hy  extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//物流公司
private Integer userId;
//快递员
private Integer kdyId;
//合约附件
private String fileUrl;
//标题
private String title;
//金额
private String je;
//期限
private String qx;
//内容
private String content;
public Integer getUserId() {return userId;}
public void setUserId(Integer userId) {this.userId = userId;}
public Integer getKdyId() {return kdyId;}
public void setKdyId(Integer kdyId) {this.kdyId = kdyId;}
public String getFileUrl() {return fileUrl;}
public void setFileUrl(String fileUrl) {this.fileUrl = fileUrl;}
public String getTitle() {return title;}
public void setTitle(String title) {this.title = title;}
public String getJe() {return je;}
public void setJe(String je) {this.je = je;}
public String getQx() {return qx;}
public void setQx(String qx) {this.qx = qx;}
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 Kdy  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 kdyName;
//头像
private String pic;
//邮箱
private String email;
//电话
private String phone;
//物流公司
private Integer userId;
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 getKdyName() {return kdyName;}
public void setKdyName(String kdyName) {this.kdyName = kdyName;}
public String getPic() {return pic;}
public void setPic(String pic) {this.pic = pic;}
public String getEmail() {return email;}
public void setEmail(String email) {this.email = email;}
public String getPhone() {return phone;}
public void setPhone(String phone) {this.phone = phone;}
public Integer getUserId() {return userId;}
public void setUserId(Integer userId) {this.userId = userId;}
}

轮播图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 pic;
public String getPic() {return pic;}
public void setPic(String pic) {this.pic = pic;}
}

聊天javaBean创建语句如下:


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

//聊天
public class Liaotian  extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//用户
private Integer customerId;
//用户
private Integer toId;
//内容
private String content;
//日期
private Date insertDate;
//批次
private String batchNum;
//
private Integer fq;
public Integer getCustomerId() {return customerId;}
public void setCustomerId(Integer customerId) {this.customerId = customerId;}
public Integer getToId() {return toId;}
public void setToId(Integer toId) {this.toId = toId;}
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 getBatchNum() {return batchNum;}
public void setBatchNum(String batchNum) {this.batchNum = batchNum;}
public Integer getFq() {return fq;}
public void setFq(Integer fq) {this.fq = fq;}
}

订单javaBean创建语句如下:


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

//订单
public class Order  extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//用户
private Integer customerId;
//订单详细
private String productDetail;
//订单总价格
private String allPrice;
//状态
private String status;
//订单编号
private String orderNum;
//物流信息
private String pl;
//日期
private Date insertDate;
//
private Integer userId;
//
private String orderDate;
//地址
private String address;
//联系人
private String lxr;
//联系方式
private String lxfs;
//评价
private String pj;
//回复
private String back;
//
private Integer productId;
public Integer getCustomerId() {return customerId;}
public void setCustomerId(Integer customerId) {this.customerId = customerId;}
public String getProductDetail() {return productDetail;}
public void setProductDetail(String productDetail) {this.productDetail = productDetail;}
public String getAllPrice() {return allPrice;}
public void setAllPrice(String allPrice) {this.allPrice = allPrice;}
public String getStatus() {return status;}
public void setStatus(String status) {this.status = status;}
public String getOrderNum() {return orderNum;}
public void setOrderNum(String orderNum) {this.orderNum = orderNum;}
public String getPl() {return pl;}
public void setPl(String pl) {this.pl = pl;}
public Date getInsertDate() {return insertDate;}
public void setInsertDate(Date insertDate) {this.insertDate = insertDate;}
public Integer getUserId() {return userId;}
public void setUserId(Integer userId) {this.userId = userId;}
public String getOrderDate() {return orderDate;}
public void setOrderDate(String orderDate) {this.orderDate = orderDate;}
public String getAddress() {return address;}
public void setAddress(String address) {this.address = address;}
public String getLxr() {return lxr;}
public void setLxr(String lxr) {this.lxr = lxr;}
public String getLxfs() {return lxfs;}
public void setLxfs(String lxfs) {this.lxfs = lxfs;}
public String getPj() {return pj;}
public void setPj(String pj) {this.pj = pj;}
public String getBack() {return back;}
public void setBack(String back) {this.back = back;}
public Integer getProductId() {return productId;}
public void setProductId(Integer productId) {this.productId = productId;}
}

javaBean创建语句如下:


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

//
public class Pinglun_product  extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//评论信息
private Integer productId;
//评论人
private Integer customerId;
//评论内容
private String content;
//评论日期
private Date insertDate;
public Integer getProductId() {return productId;}
public void setProductId(Integer productId) {this.productId = productId;}
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;}
}

评价javaBean创建语句如下:


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

//评价
public class Pj  extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//物流公司
private Integer userId;
//快递员
private Integer kdyId;
//用户
private Integer customerId;
//评价内容
private String content;
public Integer getUserId() {return userId;}
public void setUserId(Integer userId) {this.userId = userId;}
public Integer getKdyId() {return kdyId;}
public void setKdyId(Integer kdyId) {this.kdyId = kdyId;}
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;}
}

物流商品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 Integer oldPrice;
//内容
private String content;
//数量
private Integer nums;
//
private String tjxj;
//状态
private String status;
//分类
private Integer typesId;
//积分
private Integer jf;
//物流企业
private Integer userId;
//标签
private Integer bqId;
//点击量
private Integer djl;
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 Integer getOldPrice() {return oldPrice;}
public void setOldPrice(Integer oldPrice) {this.oldPrice = oldPrice;}
public String getContent() {return content;}
public void setContent(String content) {this.content = content;}
public Integer getNums() {return nums;}
public void setNums(Integer 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 Integer getJf() {return jf;}
public void setJf(Integer jf) {this.jf = jf;}
public Integer getUserId() {return userId;}
public void setUserId(Integer userId) {this.userId = userId;}
public Integer getBqId() {return bqId;}
public void setBqId(Integer bqId) {this.bqId = bqId;}
public Integer getDjl() {return djl;}
public void setDjl(Integer djl) {this.djl = djl;}
}

物流产品点击javaBean创建语句如下:


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

//物流产品点击
public class Productclick  extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//物流产品
private Integer productId;
//用户
private Integer customerId;
//日期
private Date insertDate;
public Integer getProductId() {return productId;}
public void setProductId(Integer productId) {this.productId = productId;}
public Integer getCustomerId() {return customerId;}
public void setCustomerId(Integer customerId) {this.customerId = customerId;}
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 Psd  extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//订单编号
private String orderNum;
//仓库编号
private String cangkuName;
//车辆编号
private String carName;
//司机工号
private String sjgh;
//配送员工号
private String psygh;
//配送单图片
private String pic;
//
private Integer userId;
public String getOrderNum() {return orderNum;}
public void setOrderNum(String orderNum) {this.orderNum = orderNum;}
public String getCangkuName() {return cangkuName;}
public void setCangkuName(String cangkuName) {this.cangkuName = cangkuName;}
public String getCarName() {return carName;}
public void setCarName(String carName) {this.carName = carName;}
public String getSjgh() {return sjgh;}
public void setSjgh(String sjgh) {this.sjgh = sjgh;}
public String getPsygh() {return psygh;}
public void setPsygh(String psygh) {this.psygh = psygh;}
public String getPic() {return pic;}
public void setPic(String pic) {this.pic = pic;}
public Integer getUserId() {return userId;}
public void setUserId(Integer userId) {this.userId = userId;}
}

收藏javaBean创建语句如下:


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

//收藏
public class Sc  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;
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;}
}

物流购物车javaBean创建语句如下:


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

//物流购物车
public class Shopcar  extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//产品
private Integer productId;
//数量
private Integer num;
//
private Integer customerId;
public Integer getProductId() {return productId;}
public void setProductId(Integer productId) {this.productId = productId;}
public Integer getNum() {return num;}
public void setNum(Integer num) {this.num = num;}
public Integer getCustomerId() {return customerId;}
public void setCustomerId(Integer customerId) {this.customerId = customerId;}
}

分类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;
//角色
private String js;
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;}
public String getJs() {return js;}
public void setJs(String js) {this.js = js;}
}

消息javaBean创建语句如下:


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

//消息
public class Xiaoxi  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;
//日期
private Date insertDate;
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;}
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 Zx  extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//标题
private String title;
//内容
private String content;
//图片
private String pic;
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;}
public String getPic() {return pic;}
public void setPic(String pic) {this.pic = pic;}
}

评论