#############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(11) comment '用户',phone varchar(100) comment '电话',addressVal text comment '地址',addressName varchar(100) comment '姓名',ismoren varchar(100) comment '是否默认',province varchar(100) comment '',city varchar(100) comment '',area varchar(100) comment ''
) comment '地址';create table t_contact(id int primary key auto_increment comment '主键',customerId int(11) comment '用户',phone varchar(100) comment '联系方式',content text 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 int(11) comment '地址',phone varchar(100) comment '手机',account int(11) comment '账户',jf int(11) comment '积分',sfz varchar(50) comment '',xh varchar(50) 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(11) comment '用户',toId int(11) comment '用户',content text comment '内容',insertDate datetime comment '日期',batchNum varchar(100) comment '批次'
) comment '聊天';create table t_order(id int primary key auto_increment comment '主键',customerId int(11) comment '用户',productDetail text comment '订单详细',allPrice varchar(100) comment '订单总价格',status varchar(100) comment '状态',orderNum varchar(100) comment '订单编号',pl text comment '物流信息',insertDate datetime comment '日期',userId int(11) comment '',orderDate varchar(50) comment '',address varchar(1000) comment '',xj varchar(1000) comment '',pic varchar(1000) comment '',content varchar(1000) comment '',plDate datetime comment '',plr varchar(50) comment '',productId int(11) comment '',v1 varchar(50) comment '',v2 varchar(50) comment ''
) comment '订单';create table t_orderlist(id int primary key auto_increment comment '主键',customerId int(11) comment '用户',orderId int(11) comment '订单',productId int(11) comment '菜品',sl int(11) comment '',productName varchar(200) comment '',price int(11) comment '',productPic1 varchar(200) comment '',xj varchar(200) comment '',content text comment '',plDate datetime comment '',pic varchar(200) comment '',customerName varchar(200) comment ''
) comment '订单详情';create table t_pinglun(id int primary key auto_increment comment '主键',wdxxId int(11) comment '评论信息',customerId int(11) comment '评论人',content text comment '评论内容',insertDate datetime comment '评论日期'
) comment '评论';create table t_pinglun_product(id int primary key auto_increment comment '主键',productId int(11) comment '评论信息',customerId int(11) comment '评论人',content text comment '评论内容',insertDate datetime comment '评论日期',xj varchar(50) comment '星级',pic varchar(200) 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 varchar(50) comment '价格',oldPrice int(11) comment '原价',content text comment '内容',nums int(11) comment '数量',tjxj varchar(50) comment '推荐星级',status varchar(50) comment '状态',typesId int(11) comment '分类',jf int(11) comment '积分',customerId int(11) comment '商家',bqId int(11) comment '标签',v1 varchar(100) comment '地区',v2 varchar(100) comment '房型',v3 varchar(100) comment ''
) comment '二手房';create table t_productview(id int primary key auto_increment comment '主键',productId int(11) comment '产品',customerId int(11) comment '用户',insertDate datetime comment '日期'
) comment '浏览记录';create table t_shopcar(id int primary key auto_increment comment '主键',productId int(11) comment '产品',num int(11) comment '数量',customerId int(11) comment ''
) comment '购物车';create table t_shoucang(id int primary key auto_increment comment '主键',productId int(11) comment '产品',customerId int(11) comment '用户',insertDate datetime comment '日期'
) comment '收藏';create table t_types(id int primary key auto_increment comment '主键',typesName varchar(1000) comment '分类'
) comment '分类';create table t_user(id int primary key auto_increment comment '主键',username varchar(100) comment '账号',password varchar(100) comment '密码',name varchar(100) comment '姓名',gh varchar(100) comment '工号',mobile varchar(100) comment '手机'
) comment '普通员工';create table t_wdxx(id int primary key auto_increment comment '主键',customerId int(11) comment '我',title varchar(100) comment '标题',pic varchar(100) comment '图片',content text comment '内容',zan int(11) comment '赞',insertDate datetime comment '发布日期',nologin varchar(50) comment '游客是否可见',bkId int(11) comment ''
) comment '我的消息';create table t_zx(id int primary key auto_increment comment '主键',title varchar(100) comment '标题',content longtext comment '内容',pic varchar(100) comment '图片',showDate varchar(50) comment ''
) comment '资讯';#############oracle数据库创建语句###################
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(11) comment '用户',phone varchar(100) comment '电话',addressVal text comment '地址',addressName varchar(100) comment '姓名',ismoren varchar(100) comment '是否默认',province varchar(100) comment '',city varchar(100) comment '',area varchar(100) comment ''
) comment '地址';create table t_contact(id int primary key auto_increment comment '主键',customerId int(11) comment '用户',phone varchar(100) comment '联系方式',content text 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 int(11) comment '地址',phone varchar(100) comment '手机',account int(11) comment '账户',jf int(11) comment '积分',sfz varchar(50) comment '',xh varchar(50) 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(11) comment '用户',toId int(11) comment '用户',content text comment '内容',insertDate datetime comment '日期',batchNum varchar(100) comment '批次'
) comment '聊天';create table t_order(id int primary key auto_increment comment '主键',customerId int(11) comment '用户',productDetail text comment '订单详细',allPrice varchar(100) comment '订单总价格',status varchar(100) comment '状态',orderNum varchar(100) comment '订单编号',pl text comment '物流信息',insertDate datetime comment '日期',userId int(11) comment '',orderDate varchar(50) comment '',address varchar(1000) comment '',xj varchar(1000) comment '',pic varchar(1000) comment '',content varchar(1000) comment '',plDate datetime comment '',plr varchar(50) comment '',productId int(11) comment '',v1 varchar(50) comment '',v2 varchar(50) comment ''
) comment '订单';create table t_orderlist(id int primary key auto_increment comment '主键',customerId int(11) comment '用户',orderId int(11) comment '订单',productId int(11) comment '菜品',sl int(11) comment '',productName varchar(200) comment '',price int(11) comment '',productPic1 varchar(200) comment '',xj varchar(200) comment '',content text comment '',plDate datetime comment '',pic varchar(200) comment '',customerName varchar(200) comment ''
) comment '订单详情';create table t_pinglun(id int primary key auto_increment comment '主键',wdxxId int(11) comment '评论信息',customerId int(11) comment '评论人',content text comment '评论内容',insertDate datetime comment '评论日期'
) comment '评论';create table t_pinglun_product(id int primary key auto_increment comment '主键',productId int(11) comment '评论信息',customerId int(11) comment '评论人',content text comment '评论内容',insertDate datetime comment '评论日期',xj varchar(50) comment '星级',pic varchar(200) 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 varchar(50) comment '价格',oldPrice int(11) comment '原价',content text comment '内容',nums int(11) comment '数量',tjxj varchar(50) comment '推荐星级',status varchar(50) comment '状态',typesId int(11) comment '分类',jf int(11) comment '积分',customerId int(11) comment '商家',bqId int(11) comment '标签',v1 varchar(100) comment '地区',v2 varchar(100) comment '房型',v3 varchar(100) comment ''
) comment '二手房';create table t_productview(id int primary key auto_increment comment '主键',productId int(11) comment '产品',customerId int(11) comment '用户',insertDate datetime comment '日期'
) comment '浏览记录';create table t_shopcar(id int primary key auto_increment comment '主键',productId int(11) comment '产品',num int(11) comment '数量',customerId int(11) comment ''
) comment '购物车';create table t_shoucang(id int primary key auto_increment comment '主键',productId int(11) comment '产品',customerId int(11) comment '用户',insertDate datetime comment '日期'
) comment '收藏';create table t_types(id int primary key auto_increment comment '主键',typesName varchar(1000) comment '分类'
) comment '分类';create table t_user(id int primary key auto_increment comment '主键',username varchar(100) comment '账号',password varchar(100) comment '密码',name varchar(100) comment '姓名',gh varchar(100) comment '工号',mobile varchar(100) comment '手机'
) comment '普通员工';create table t_wdxx(id int primary key auto_increment comment '主键',customerId int(11) comment '我',title varchar(100) comment '标题',pic varchar(100) comment '图片',content text comment '内容',zan int(11) comment '赞',insertDate datetime comment '发布日期',nologin varchar(50) comment '游客是否可见',bkId int(11) comment ''
) comment '我的消息';create table t_zx(id int primary key auto_increment comment '主键',title varchar(100) comment '标题',content longtext comment '内容',pic varchar(100) comment '图片',showDate varchar(50) comment ''
) comment '资讯';create table t_address(id integer,customerId int(11),phone varchar(100),addressVal text,addressName varchar(100),ismoren varchar(100),province varchar(100),city varchar(100),area varchar(100)
);
--地址字段加注释
comment on column t_address.id is '主键';
comment on column t_address.id is '主键唯一ID';
comment on column t_address.customerId is '用户';
comment on column t_address.phone is '电话';
comment on column t_address.addressVal is '地址';
comment on column t_address.addressName is '姓名';
comment on column t_address.ismoren is '是否默认';
comment on column t_address.province is '';
comment on column t_address.city is '';
comment on column t_address.area is '';
--地址表加注释
comment on table t_address is '地址';create table t_contact(id integer,customerId int(11),phone varchar(100),content text,insertDate datetime
);
--建议字段加注释
comment on column t_contact.id is '主键';
comment on column t_contact.id is '主键唯一ID';
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 int(11),phone varchar(100),account int(11),jf int(11),sfz varchar(50),xh varchar(50)
);
--客户字段加注释
comment on column t_customer.id is '主键';
comment on column t_customer.id is '主键唯一ID';
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.sfz is '';
comment on column t_customer.xh is '';
--客户表加注释
comment on table t_customer is '客户';create table t_lbt(id integer,pic varchar(100)
);
--轮播图字段加注释
comment on column t_lbt.id is '主键';
comment on column t_lbt.id is '主键唯一ID';
comment on column t_lbt.pic is '图片';
--轮播图表加注释
comment on table t_lbt is '轮播图';create table t_liaotian(id integer,customerId int(11),toId int(11),content text,insertDate datetime,batchNum varchar(100)
);
--聊天字段加注释
comment on column t_liaotian.id is '主键';
comment on column t_liaotian.id is '主键唯一ID';
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 table t_liaotian is '聊天';create table t_order(id integer,customerId int(11),productDetail text,allPrice varchar(100),status varchar(100),orderNum varchar(100),pl text,insertDate datetime,userId int(11),orderDate varchar(50),address varchar(1000),xj varchar(1000),pic varchar(1000),content varchar(1000),plDate datetime,plr varchar(50),productId int(11),v1 varchar(50),v2 varchar(50)
);
--订单字段加注释
comment on column t_order.id is '主键';
comment on column t_order.id is '主键唯一ID';
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.xj is '';
comment on column t_order.pic is '';
comment on column t_order.content is '';
comment on column t_order.plDate is '';
comment on column t_order.plr is '';
comment on column t_order.productId is '';
comment on column t_order.v1 is '';
comment on column t_order.v2 is '';
--订单表加注释
comment on table t_order is '订单';create table t_orderlist(id integer,customerId int(11),orderId int(11),productId int(11),sl int(11),productName varchar(200),price int(11),productPic1 varchar(200),xj varchar(200),content text,plDate datetime,pic varchar(200),customerName varchar(200)
);
--订单详情字段加注释
comment on column t_orderlist.id is '主键';
comment on column t_orderlist.id is '主键唯一ID';
comment on column t_orderlist.customerId is '用户';
comment on column t_orderlist.orderId is '订单';
comment on column t_orderlist.productId is '菜品';
comment on column t_orderlist.sl is '';
comment on column t_orderlist.productName is '';
comment on column t_orderlist.price is '';
comment on column t_orderlist.productPic1 is '';
comment on column t_orderlist.xj is '';
comment on column t_orderlist.content is '';
comment on column t_orderlist.plDate is '';
comment on column t_orderlist.pic is '';
comment on column t_orderlist.customerName is '';
--订单详情表加注释
comment on table t_orderlist is '订单详情';create table t_pinglun(id integer,wdxxId int(11),customerId int(11),content text,insertDate datetime
);
--评论字段加注释
comment on column t_pinglun.id is '主键';
comment on column t_pinglun.id is '主键唯一ID';
comment on column t_pinglun.wdxxId is '评论信息';
comment on column t_pinglun.customerId is '评论人';
comment on column t_pinglun.content is '评论内容';
comment on column t_pinglun.insertDate is '评论日期';
--评论表加注释
comment on table t_pinglun is '评论';create table t_pinglun_product(id integer,productId int(11),customerId int(11),content text,insertDate datetime,xj varchar(50),pic varchar(200)
);
--字段加注释
comment on column t_pinglun_product.id is '主键';
comment on column t_pinglun_product.id is '主键唯一ID';
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 column t_pinglun_product.xj is '星级';
comment on column t_pinglun_product.pic is '';
--表加注释
comment on table t_pinglun_product is '';create table t_product(id integer,productName varchar(100),productPic1 varchar(100),productPic2 varchar(100),productPic3 varchar(100),productPic4 varchar(100),price varchar(50),oldPrice int(11),content text,nums int(11),tjxj varchar(50),status varchar(50),typesId int(11),jf int(11),customerId int(11),bqId int(11),v1 varchar(100),v2 varchar(100),v3 varchar(100)
);
--二手房字段加注释
comment on column t_product.id is '主键';
comment on column t_product.id is '主键唯一ID';
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.customerId is '商家';
comment on column t_product.bqId is '标签';
comment on column t_product.v1 is '地区';
comment on column t_product.v2 is '房型';
comment on column t_product.v3 is '';
--二手房表加注释
comment on table t_product is '二手房';create table t_productview(id integer,productId int(11),customerId int(11),insertDate datetime
);
--浏览记录字段加注释
comment on column t_productview.id is '主键';
comment on column t_productview.id is '主键唯一ID';
comment on column t_productview.productId is '产品';
comment on column t_productview.customerId is '用户';
comment on column t_productview.insertDate is '日期';
--浏览记录表加注释
comment on table t_productview is '浏览记录';create table t_shopcar(id integer,productId int(11),num int(11),customerId int(11)
);
--购物车字段加注释
comment on column t_shopcar.id is '主键';
comment on column t_shopcar.id is '主键唯一ID';
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_shoucang(id integer,productId int(11),customerId int(11),insertDate datetime
);
--收藏字段加注释
comment on column t_shoucang.id is '主键';
comment on column t_shoucang.id is '主键唯一ID';
comment on column t_shoucang.productId is '产品';
comment on column t_shoucang.customerId is '用户';
comment on column t_shoucang.insertDate is '日期';
--收藏表加注释
comment on table t_shoucang is '收藏';create table t_types(id integer,typesName varchar(1000)
);
--分类字段加注释
comment on column t_types.id is '主键';
comment on column t_types.id is '主键唯一ID';
comment on column t_types.typesName is '分类';
--分类表加注释
comment on table t_types is '分类';create table t_user(id integer,username varchar(100),password varchar(100),name varchar(100),gh varchar(100),mobile varchar(100)
);
--普通员工字段加注释
comment on column t_user.id is '主键';
comment on column t_user.id is '主键唯一ID';
comment on column t_user.username is '账号';
comment on column t_user.password is '密码';
comment on column t_user.name is '姓名';
comment on column t_user.gh is '工号';
comment on column t_user.mobile is '手机';
--普通员工表加注释
comment on table t_user is '普通员工';create table t_wdxx(id integer,customerId int(11),title varchar(100),pic varchar(100),content text,zan int(11),insertDate datetime,nologin varchar(50),bkId int(11)
);
--我的消息字段加注释
comment on column t_wdxx.id is '主键';
comment on column t_wdxx.id is '主键唯一ID';
comment on column t_wdxx.customerId is '我';
comment on column t_wdxx.title is '标题';
comment on column t_wdxx.pic is '图片';
comment on column t_wdxx.content is '内容';
comment on column t_wdxx.zan is '赞';
comment on column t_wdxx.insertDate is '发布日期';
comment on column t_wdxx.nologin is '游客是否可见';
comment on column t_wdxx.bkId is '';
--我的消息表加注释
comment on table t_wdxx is '我的消息';create table t_zx(id integer,title varchar(100),content longtext,pic varchar(100),showDate varchar(50)
);
--资讯字段加注释
comment on column t_zx.id is '主键';
comment on column t_zx.id is '主键唯一ID';
comment on column t_zx.title is '标题';
comment on column t_zx.content is '内容';
comment on column t_zx.pic is '图片';
comment on column t_zx.showDate is '';
--资讯表加注释
comment on table t_zx is '资讯';#############sqlserver数据库创建语句###################
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(11) comment '用户',phone varchar(100) comment '电话',addressVal text comment '地址',addressName varchar(100) comment '姓名',ismoren varchar(100) comment '是否默认',province varchar(100) comment '',city varchar(100) comment '',area varchar(100) comment ''
) comment '地址';create table t_contact(id int primary key auto_increment comment '主键',customerId int(11) comment '用户',phone varchar(100) comment '联系方式',content text 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 int(11) comment '地址',phone varchar(100) comment '手机',account int(11) comment '账户',jf int(11) comment '积分',sfz varchar(50) comment '',xh varchar(50) 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(11) comment '用户',toId int(11) comment '用户',content text comment '内容',insertDate datetime comment '日期',batchNum varchar(100) comment '批次'
) comment '聊天';create table t_order(id int primary key auto_increment comment '主键',customerId int(11) comment '用户',productDetail text comment '订单详细',allPrice varchar(100) comment '订单总价格',status varchar(100) comment '状态',orderNum varchar(100) comment '订单编号',pl text comment '物流信息',insertDate datetime comment '日期',userId int(11) comment '',orderDate varchar(50) comment '',address varchar(1000) comment '',xj varchar(1000) comment '',pic varchar(1000) comment '',content varchar(1000) comment '',plDate datetime comment '',plr varchar(50) comment '',productId int(11) comment '',v1 varchar(50) comment '',v2 varchar(50) comment ''
) comment '订单';create table t_orderlist(id int primary key auto_increment comment '主键',customerId int(11) comment '用户',orderId int(11) comment '订单',productId int(11) comment '菜品',sl int(11) comment '',productName varchar(200) comment '',price int(11) comment '',productPic1 varchar(200) comment '',xj varchar(200) comment '',content text comment '',plDate datetime comment '',pic varchar(200) comment '',customerName varchar(200) comment ''
) comment '订单详情';create table t_pinglun(id int primary key auto_increment comment '主键',wdxxId int(11) comment '评论信息',customerId int(11) comment '评论人',content text comment '评论内容',insertDate datetime comment '评论日期'
) comment '评论';create table t_pinglun_product(id int primary key auto_increment comment '主键',productId int(11) comment '评论信息',customerId int(11) comment '评论人',content text comment '评论内容',insertDate datetime comment '评论日期',xj varchar(50) comment '星级',pic varchar(200) 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 varchar(50) comment '价格',oldPrice int(11) comment '原价',content text comment '内容',nums int(11) comment '数量',tjxj varchar(50) comment '推荐星级',status varchar(50) comment '状态',typesId int(11) comment '分类',jf int(11) comment '积分',customerId int(11) comment '商家',bqId int(11) comment '标签',v1 varchar(100) comment '地区',v2 varchar(100) comment '房型',v3 varchar(100) comment ''
) comment '二手房';create table t_productview(id int primary key auto_increment comment '主键',productId int(11) comment '产品',customerId int(11) comment '用户',insertDate datetime comment '日期'
) comment '浏览记录';create table t_shopcar(id int primary key auto_increment comment '主键',productId int(11) comment '产品',num int(11) comment '数量',customerId int(11) comment ''
) comment '购物车';create table t_shoucang(id int primary key auto_increment comment '主键',productId int(11) comment '产品',customerId int(11) comment '用户',insertDate datetime comment '日期'
) comment '收藏';create table t_types(id int primary key auto_increment comment '主键',typesName varchar(1000) comment '分类'
) comment '分类';create table t_user(id int primary key auto_increment comment '主键',username varchar(100) comment '账号',password varchar(100) comment '密码',name varchar(100) comment '姓名',gh varchar(100) comment '工号',mobile varchar(100) comment '手机'
) comment '普通员工';create table t_wdxx(id int primary key auto_increment comment '主键',customerId int(11) comment '我',title varchar(100) comment '标题',pic varchar(100) comment '图片',content text comment '内容',zan int(11) comment '赞',insertDate datetime comment '发布日期',nologin varchar(50) comment '游客是否可见',bkId int(11) comment ''
) comment '我的消息';create table t_zx(id int primary key auto_increment comment '主键',title varchar(100) comment '标题',content longtext comment '内容',pic varchar(100) comment '图片',showDate varchar(50) comment ''
) comment '资讯';create table t_address(id integer,customerId int(11),phone varchar(100),addressVal text,addressName varchar(100),ismoren varchar(100),province varchar(100),city varchar(100),area varchar(100)
);
--地址字段加注释
comment on column t_address.id is '主键';
comment on column t_address.id is '主键唯一ID';
comment on column t_address.customerId is '用户';
comment on column t_address.phone is '电话';
comment on column t_address.addressVal is '地址';
comment on column t_address.addressName is '姓名';
comment on column t_address.ismoren is '是否默认';
comment on column t_address.province is '';
comment on column t_address.city is '';
comment on column t_address.area is '';
--地址表加注释
comment on table t_address is '地址';create table t_contact(id integer,customerId int(11),phone varchar(100),content text,insertDate datetime
);
--建议字段加注释
comment on column t_contact.id is '主键';
comment on column t_contact.id is '主键唯一ID';
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 int(11),phone varchar(100),account int(11),jf int(11),sfz varchar(50),xh varchar(50)
);
--客户字段加注释
comment on column t_customer.id is '主键';
comment on column t_customer.id is '主键唯一ID';
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.sfz is '';
comment on column t_customer.xh is '';
--客户表加注释
comment on table t_customer is '客户';create table t_lbt(id integer,pic varchar(100)
);
--轮播图字段加注释
comment on column t_lbt.id is '主键';
comment on column t_lbt.id is '主键唯一ID';
comment on column t_lbt.pic is '图片';
--轮播图表加注释
comment on table t_lbt is '轮播图';create table t_liaotian(id integer,customerId int(11),toId int(11),content text,insertDate datetime,batchNum varchar(100)
);
--聊天字段加注释
comment on column t_liaotian.id is '主键';
comment on column t_liaotian.id is '主键唯一ID';
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 table t_liaotian is '聊天';create table t_order(id integer,customerId int(11),productDetail text,allPrice varchar(100),status varchar(100),orderNum varchar(100),pl text,insertDate datetime,userId int(11),orderDate varchar(50),address varchar(1000),xj varchar(1000),pic varchar(1000),content varchar(1000),plDate datetime,plr varchar(50),productId int(11),v1 varchar(50),v2 varchar(50)
);
--订单字段加注释
comment on column t_order.id is '主键';
comment on column t_order.id is '主键唯一ID';
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.xj is '';
comment on column t_order.pic is '';
comment on column t_order.content is '';
comment on column t_order.plDate is '';
comment on column t_order.plr is '';
comment on column t_order.productId is '';
comment on column t_order.v1 is '';
comment on column t_order.v2 is '';
--订单表加注释
comment on table t_order is '订单';create table t_orderlist(id integer,customerId int(11),orderId int(11),productId int(11),sl int(11),productName varchar(200),price int(11),productPic1 varchar(200),xj varchar(200),content text,plDate datetime,pic varchar(200),customerName varchar(200)
);
--订单详情字段加注释
comment on column t_orderlist.id is '主键';
comment on column t_orderlist.id is '主键唯一ID';
comment on column t_orderlist.customerId is '用户';
comment on column t_orderlist.orderId is '订单';
comment on column t_orderlist.productId is '菜品';
comment on column t_orderlist.sl is '';
comment on column t_orderlist.productName is '';
comment on column t_orderlist.price is '';
comment on column t_orderlist.productPic1 is '';
comment on column t_orderlist.xj is '';
comment on column t_orderlist.content is '';
comment on column t_orderlist.plDate is '';
comment on column t_orderlist.pic is '';
comment on column t_orderlist.customerName is '';
--订单详情表加注释
comment on table t_orderlist is '订单详情';create table t_pinglun(id integer,wdxxId int(11),customerId int(11),content text,insertDate datetime
);
--评论字段加注释
comment on column t_pinglun.id is '主键';
comment on column t_pinglun.id is '主键唯一ID';
comment on column t_pinglun.wdxxId is '评论信息';
comment on column t_pinglun.customerId is '评论人';
comment on column t_pinglun.content is '评论内容';
comment on column t_pinglun.insertDate is '评论日期';
--评论表加注释
comment on table t_pinglun is '评论';create table t_pinglun_product(id integer,productId int(11),customerId int(11),content text,insertDate datetime,xj varchar(50),pic varchar(200)
);
--字段加注释
comment on column t_pinglun_product.id is '主键';
comment on column t_pinglun_product.id is '主键唯一ID';
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 column t_pinglun_product.xj is '星级';
comment on column t_pinglun_product.pic is '';
--表加注释
comment on table t_pinglun_product is '';create table t_product(id integer,productName varchar(100),productPic1 varchar(100),productPic2 varchar(100),productPic3 varchar(100),productPic4 varchar(100),price varchar(50),oldPrice int(11),content text,nums int(11),tjxj varchar(50),status varchar(50),typesId int(11),jf int(11),customerId int(11),bqId int(11),v1 varchar(100),v2 varchar(100),v3 varchar(100)
);
--二手房字段加注释
comment on column t_product.id is '主键';
comment on column t_product.id is '主键唯一ID';
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.customerId is '商家';
comment on column t_product.bqId is '标签';
comment on column t_product.v1 is '地区';
comment on column t_product.v2 is '房型';
comment on column t_product.v3 is '';
--二手房表加注释
comment on table t_product is '二手房';create table t_productview(id integer,productId int(11),customerId int(11),insertDate datetime
);
--浏览记录字段加注释
comment on column t_productview.id is '主键';
comment on column t_productview.id is '主键唯一ID';
comment on column t_productview.productId is '产品';
comment on column t_productview.customerId is '用户';
comment on column t_productview.insertDate is '日期';
--浏览记录表加注释
comment on table t_productview is '浏览记录';create table t_shopcar(id integer,productId int(11),num int(11),customerId int(11)
);
--购物车字段加注释
comment on column t_shopcar.id is '主键';
comment on column t_shopcar.id is '主键唯一ID';
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_shoucang(id integer,productId int(11),customerId int(11),insertDate datetime
);
--收藏字段加注释
comment on column t_shoucang.id is '主键';
comment on column t_shoucang.id is '主键唯一ID';
comment on column t_shoucang.productId is '产品';
comment on column t_shoucang.customerId is '用户';
comment on column t_shoucang.insertDate is '日期';
--收藏表加注释
comment on table t_shoucang is '收藏';create table t_types(id integer,typesName varchar(1000)
);
--分类字段加注释
comment on column t_types.id is '主键';
comment on column t_types.id is '主键唯一ID';
comment on column t_types.typesName is '分类';
--分类表加注释
comment on table t_types is '分类';create table t_user(id integer,username varchar(100),password varchar(100),name varchar(100),gh varchar(100),mobile varchar(100)
);
--普通员工字段加注释
comment on column t_user.id is '主键';
comment on column t_user.id is '主键唯一ID';
comment on column t_user.username is '账号';
comment on column t_user.password is '密码';
comment on column t_user.name is '姓名';
comment on column t_user.gh is '工号';
comment on column t_user.mobile is '手机';
--普通员工表加注释
comment on table t_user is '普通员工';create table t_wdxx(id integer,customerId int(11),title varchar(100),pic varchar(100),content text,zan int(11),insertDate datetime,nologin varchar(50),bkId int(11)
);
--我的消息字段加注释
comment on column t_wdxx.id is '主键';
comment on column t_wdxx.id is '主键唯一ID';
comment on column t_wdxx.customerId is '我';
comment on column t_wdxx.title is '标题';
comment on column t_wdxx.pic is '图片';
comment on column t_wdxx.content is '内容';
comment on column t_wdxx.zan is '赞';
comment on column t_wdxx.insertDate is '发布日期';
comment on column t_wdxx.nologin is '游客是否可见';
comment on column t_wdxx.bkId is '';
--我的消息表加注释
comment on table t_wdxx is '我的消息';create table t_zx(id integer,title varchar(100),content longtext,pic varchar(100),showDate varchar(50)
);
--资讯字段加注释
comment on column t_zx.id is '主键';
comment on column t_zx.id is '主键唯一ID';
comment on column t_zx.title is '标题';
comment on column t_zx.content is '内容';
comment on column t_zx.pic is '图片';
comment on column t_zx.showDate is '';
--资讯表加注释
comment on table t_zx is '资讯';--地址表注释
create table t_address(id int identity(1,1) primary key not null,--主键customerId int(11),--用户phone varchar(100),--电话addressVal text,--地址addressName varchar(100),--姓名ismoren varchar(100),--是否默认province varchar(100),--city varchar(100),--area varchar(100)--
);--建议表注释
create table t_contact(id int identity(1,1) primary key not null,--主键customerId int(11),--用户phone varchar(100),--联系方式content text,--内容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 int(11),--地址phone varchar(100),--手机account int(11),--账户jf int(11),--积分sfz varchar(50),--xh varchar(50)--
);--轮播图表注释
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(11),--用户toId int(11),--用户content text,--内容insertDate datetime,--日期batchNum varchar(100)--批次
);--订单表注释
create table t_order(id int identity(1,1) primary key not null,--主键customerId int(11),--用户productDetail text,--订单详细allPrice varchar(100),--订单总价格status varchar(100),--状态orderNum varchar(100),--订单编号pl text,--物流信息insertDate datetime,--日期userId int(11),--orderDate varchar(50),--address varchar(1000),--xj varchar(1000),--pic varchar(1000),--content varchar(1000),--plDate datetime,--plr varchar(50),--productId int(11),--v1 varchar(50),--v2 varchar(50)--
);--订单详情表注释
create table t_orderlist(id int identity(1,1) primary key not null,--主键customerId int(11),--用户orderId int(11),--订单productId int(11),--菜品sl int(11),--productName varchar(200),--price int(11),--productPic1 varchar(200),--xj varchar(200),--content text,--plDate datetime,--pic varchar(200),--customerName varchar(200)--
);--评论表注释
create table t_pinglun(id int identity(1,1) primary key not null,--主键wdxxId int(11),--评论信息customerId int(11),--评论人content text,--评论内容insertDate datetime--评论日期
);--表注释
create table t_pinglun_product(id int identity(1,1) primary key not null,--主键productId int(11),--评论信息customerId int(11),--评论人content text,--评论内容insertDate datetime,--评论日期xj varchar(50),--星级pic varchar(200)--
);--二手房表注释
create table t_product(id int identity(1,1) primary key not null,--主键productName varchar(100),--二手房productPic1 varchar(100),--图片1productPic2 varchar(100),--图片2productPic3 varchar(100),--图片3productPic4 varchar(100),--图片4price varchar(50),--价格oldPrice int(11),--原价content text,--内容nums int(11),--数量tjxj varchar(50),--推荐星级status varchar(50),--状态typesId int(11),--分类jf int(11),--积分customerId int(11),--商家bqId int(11),--标签v1 varchar(100),--地区v2 varchar(100),--房型v3 varchar(100)--
);--浏览记录表注释
create table t_productview(id int identity(1,1) primary key not null,--主键productId int(11),--产品customerId int(11),--用户insertDate datetime--日期
);--购物车表注释
create table t_shopcar(id int identity(1,1) primary key not null,--主键productId int(11),--产品num int(11),--数量customerId int(11)--
);--收藏表注释
create table t_shoucang(id int identity(1,1) primary key not null,--主键productId int(11),--产品customerId int(11),--用户insertDate datetime--日期
);--分类表注释
create table t_types(id int identity(1,1) primary key not null,--主键typesName varchar(1000)--分类
);--普通员工表注释
create table t_user(id int identity(1,1) primary key not null,--主键username varchar(100),--账号password varchar(100),--密码name varchar(100),--姓名gh varchar(100),--工号mobile varchar(100)--手机
);--我的消息表注释
create table t_wdxx(id int identity(1,1) primary key not null,--主键customerId int(11),--我title varchar(100),--标题pic varchar(100),--图片content text,--内容zan int(11),--赞insertDate datetime,--发布日期nologin varchar(50),--游客是否可见bkId int(11)--
);--资讯表注释
create table t_zx(id int identity(1,1) primary key not null,--主键title varchar(100),--标题content longtext,--内容pic varchar(100),--图片showDate varchar(50)--
);
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;}
//主键唯一ID
private int id;
//用户
private int customerId;
//电话
private String phone;
//地址
private String addressVal;
//姓名
private String addressName;
//是否默认
private String ismoren;
//
private String province;
//
private String city;
//
private String area;
public int getId() {return id;}
public void setId(int id) {this.id = id;}
public int getCustomerId() {return customerId;}
public void setCustomerId(int customerId) {this.customerId = customerId;}
public String getPhone() {return phone;}
public void setPhone(String phone) {this.phone = phone;}
public String getAddressVal() {return addressVal;}
public void setAddressVal(String addressVal) {this.addressVal = addressVal;}
public String getAddressName() {return addressName;}
public void setAddressName(String addressName) {this.addressName = addressName;}
public String getIsmoren() {return ismoren;}
public void setIsmoren(String ismoren) {this.ismoren = ismoren;}
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;}
}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;}
//主键唯一ID
private int id;
//用户
private int customerId;
//联系方式
private String phone;
//内容
private String content;
//日期
private Date insertDate;
public int getId() {return id;}
public void setId(int id) {this.id = id;}
public int getCustomerId() {return customerId;}
public void setCustomerId(int 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;}
}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;}
//主键唯一ID
private int id;
//账号
private String username;
//密码
private String password;
//姓名
private String customerName;
//性别
private String sex;
//地址
private int address;
//手机
private String phone;
//账户
private int account;
//积分
private int jf;
//
private String sfz;
//
private String xh;
public int getId() {return id;}
public void setId(int id) {this.id = id;}
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 int getAddress() {return address;}
public void setAddress(int address) {this.address = address;}
public String getPhone() {return phone;}
public void setPhone(String phone) {this.phone = phone;}
public int getAccount() {return account;}
public void setAccount(int account) {this.account = account;}
public int getJf() {return jf;}
public void setJf(int jf) {this.jf = jf;}
public String getSfz() {return sfz;}
public void setSfz(String sfz) {this.sfz = sfz;}
public String getXh() {return xh;}
public void setXh(String xh) {this.xh = xh;}
}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;}
//主键唯一ID
private int id;
//图片
private String pic;
public int getId() {return id;}
public void setId(int id) {this.id = id;}
public String getPic() {return pic;}
public void setPic(String pic) {this.pic = pic;}
}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;}
//主键唯一ID
private int id;
//用户
private int customerId;
//用户
private int toId;
//内容
private String content;
//日期
private Date insertDate;
//批次
private String batchNum;
public int getId() {return id;}
public void setId(int id) {this.id = id;}
public int getCustomerId() {return customerId;}
public void setCustomerId(int customerId) {this.customerId = customerId;}
public int getToId() {return toId;}
public void setToId(int 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;}
}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;}
//主键唯一ID
private int id;
//用户
private int customerId;
//订单详细
private String productDetail;
//订单总价格
private String allPrice;
//状态
private String status;
//订单编号
private String orderNum;
//物流信息
private String pl;
//日期
private Date insertDate;
//
private int userId;
//
private String orderDate;
//
private String address;
//
private String xj;
//
private String pic;
//
private String content;
//
private Date plDate;
//
private String plr;
//
private int productId;
//
private String v1;
//
private String v2;
public int getId() {return id;}
public void setId(int id) {this.id = id;}
public int getCustomerId() {return customerId;}
public void setCustomerId(int 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 int getUserId() {return userId;}
public void setUserId(int 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 getXj() {return xj;}
public void setXj(String xj) {this.xj = xj;}
public String getPic() {return pic;}
public void setPic(String pic) {this.pic = pic;}
public String getContent() {return content;}
public void setContent(String content) {this.content = content;}
public Date getPlDate() {return plDate;}
public void setPlDate(Date plDate) {this.plDate = plDate;}
public String getPlr() {return plr;}
public void setPlr(String plr) {this.plr = plr;}
public int getProductId() {return productId;}
public void setProductId(int productId) {this.productId = productId;}
public String getV1() {return v1;}
public void setV1(String v1) {this.v1 = v1;}
public String getV2() {return v2;}
public void setV2(String v2) {this.v2 = v2;}
}package project.model;
import org.springframework.format.annotation.DateTimeFormat;
import java.util.Date;//订单详情
public class Orderlist  extends BaseBean{//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//主键唯一ID
private int id;
//用户
private int customerId;
//订单
private int orderId;
//菜品
private int productId;
//
private int sl;
//
private String productName;
//
private int price;
//
private String productPic1;
//
private String xj;
//
private String content;
//
private Date plDate;
//
private String pic;
//
private String customerName;
public int getId() {return id;}
public void setId(int id) {this.id = id;}
public int getCustomerId() {return customerId;}
public void setCustomerId(int customerId) {this.customerId = customerId;}
public int getOrderId() {return orderId;}
public void setOrderId(int orderId) {this.orderId = orderId;}
public int getProductId() {return productId;}
public void setProductId(int productId) {this.productId = productId;}
public int getSl() {return sl;}
public void setSl(int sl) {this.sl = sl;}
public String getProductName() {return productName;}
public void setProductName(String productName) {this.productName = productName;}
public int getPrice() {return price;}
public void setPrice(int price) {this.price = price;}
public String getProductPic1() {return productPic1;}
public void setProductPic1(String productPic1) {this.productPic1 = productPic1;}
public String getXj() {return xj;}
public void setXj(String xj) {this.xj = xj;}
public String getContent() {return content;}
public void setContent(String content) {this.content = content;}
public Date getPlDate() {return plDate;}
public void setPlDate(Date plDate) {this.plDate = plDate;}
public String getPic() {return pic;}
public void setPic(String pic) {this.pic = pic;}
public String getCustomerName() {return customerName;}
public void setCustomerName(String customerName) {this.customerName = customerName;}
}package project.model;
import org.springframework.format.annotation.DateTimeFormat;
import java.util.Date;//评论
public class Pinglun  extends BaseBean{//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//主键唯一ID
private int id;
//评论信息
private int wdxxId;
//评论人
private int customerId;
//评论内容
private String content;
//评论日期
private Date insertDate;
public int getId() {return id;}
public void setId(int id) {this.id = id;}
public int getWdxxId() {return wdxxId;}
public void setWdxxId(int wdxxId) {this.wdxxId = wdxxId;}
public int getCustomerId() {return customerId;}
public void setCustomerId(int 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;}
}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;}
//主键唯一ID
private int id;
//评论信息
private int productId;
//评论人
private int customerId;
//评论内容
private String content;
//评论日期
private Date insertDate;
//星级
private String xj;
//
private String pic;
public int getId() {return id;}
public void setId(int id) {this.id = id;}
public int getProductId() {return productId;}
public void setProductId(int productId) {this.productId = productId;}
public int getCustomerId() {return customerId;}
public void setCustomerId(int customerId) {this.customerId = customerId;}
public String getContent() {return content;}
public void setContent(String content) {this.content = content;}
public Date getInsertDate() {return insertDate;}
public void setInsertDate(Date insertDate) {this.insertDate = insertDate;}
public String getXj() {return xj;}
public void setXj(String xj) {this.xj = xj;}
public String getPic() {return pic;}
public void setPic(String pic) {this.pic = pic;}
}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;}
//主键唯一ID
private int id;
//二手房
private String productName;
//图片1
private String productPic1;
//图片2
private String productPic2;
//图片3
private String productPic3;
//图片4
private String productPic4;
//价格
private String price;
//原价
private int oldPrice;
//内容
private String content;
//数量
private int nums;
//推荐星级
private String tjxj;
//状态
private String status;
//分类
private int typesId;
//积分
private int jf;
//商家
private int customerId;
//标签
private int bqId;
//地区
private String v1;
//房型
private String v2;
//
private String v3;
public int getId() {return id;}
public void setId(int id) {this.id = id;}
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 String getPrice() {return price;}
public void setPrice(String price) {this.price = price;}
public int getOldPrice() {return oldPrice;}
public void setOldPrice(int oldPrice) {this.oldPrice = oldPrice;}
public String getContent() {return content;}
public void setContent(String content) {this.content = content;}
public int getNums() {return nums;}
public void setNums(int 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 int getTypesId() {return typesId;}
public void setTypesId(int typesId) {this.typesId = typesId;}
public int getJf() {return jf;}
public void setJf(int jf) {this.jf = jf;}
public int getCustomerId() {return customerId;}
public void setCustomerId(int customerId) {this.customerId = customerId;}
public int getBqId() {return bqId;}
public void setBqId(int bqId) {this.bqId = bqId;}
public String getV1() {return v1;}
public void setV1(String v1) {this.v1 = v1;}
public String getV2() {return v2;}
public void setV2(String v2) {this.v2 = v2;}
public String getV3() {return v3;}
public void setV3(String v3) {this.v3 = v3;}
}package project.model;
import org.springframework.format.annotation.DateTimeFormat;
import java.util.Date;//浏览记录
public class Productview  extends BaseBean{//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//主键唯一ID
private int id;
//产品
private int productId;
//用户
private int customerId;
//日期
private Date insertDate;
public int getId() {return id;}
public void setId(int id) {this.id = id;}
public int getProductId() {return productId;}
public void setProductId(int productId) {this.productId = productId;}
public int getCustomerId() {return customerId;}
public void setCustomerId(int customerId) {this.customerId = customerId;}
public Date getInsertDate() {return insertDate;}
public void setInsertDate(Date insertDate) {this.insertDate = insertDate;}
}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;}
//主键唯一ID
private int id;
//产品
private int productId;
//数量
private int num;
//
private int customerId;
public int getId() {return id;}
public void setId(int id) {this.id = id;}
public int getProductId() {return productId;}
public void setProductId(int productId) {this.productId = productId;}
public int getNum() {return num;}
public void setNum(int num) {this.num = num;}
public int getCustomerId() {return customerId;}
public void setCustomerId(int customerId) {this.customerId = customerId;}
}package project.model;
import org.springframework.format.annotation.DateTimeFormat;
import java.util.Date;//收藏
public class Shoucang  extends BaseBean{//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//主键唯一ID
private int id;
//产品
private int productId;
//用户
private int customerId;
//日期
private Date insertDate;
public int getId() {return id;}
public void setId(int id) {this.id = id;}
public int getProductId() {return productId;}
public void setProductId(int productId) {this.productId = productId;}
public int getCustomerId() {return customerId;}
public void setCustomerId(int customerId) {this.customerId = customerId;}
public Date getInsertDate() {return insertDate;}
public void setInsertDate(Date insertDate) {this.insertDate = insertDate;}
}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;}
//主键唯一ID
private int id;
//分类
private String typesName;
public int getId() {return id;}
public void setId(int id) {this.id = id;}
public String getTypesName() {return typesName;}
public void setTypesName(String typesName) {this.typesName = typesName;}
}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;}
//主键唯一ID
private int id;
//账号
private String username;
//密码
private String password;
//姓名
private String name;
//工号
private String gh;
//手机
private String mobile;
public int getId() {return id;}
public void setId(int id) {this.id = id;}
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;}
}package project.model;
import org.springframework.format.annotation.DateTimeFormat;
import java.util.Date;//我的消息
public class Wdxx  extends BaseBean{//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//主键唯一ID
private int id;
//我
private int customerId;
//标题
private String title;
//图片
private String pic;
//内容
private String content;
//赞
private int zan;
//发布日期
private Date insertDate;
//游客是否可见
private String nologin;
//
private int bkId;
public int getId() {return id;}
public void setId(int id) {this.id = id;}
public int getCustomerId() {return customerId;}
public void setCustomerId(int customerId) {this.customerId = customerId;}
public String getTitle() {return title;}
public void setTitle(String title) {this.title = title;}
public String getPic() {return pic;}
public void setPic(String pic) {this.pic = pic;}
public String getContent() {return content;}
public void setContent(String content) {this.content = content;}
public int getZan() {return zan;}
public void setZan(int zan) {this.zan = zan;}
public Date getInsertDate() {return insertDate;}
public void setInsertDate(Date insertDate) {this.insertDate = insertDate;}
public String getNologin() {return nologin;}
public void setNologin(String nologin) {this.nologin = nologin;}
public int getBkId() {return bkId;}
public void setBkId(int bkId) {this.bkId = bkId;}
}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;}
//主键唯一ID
private int id;
//标题
private String title;
//内容
private String content;
//图片
private String pic;
//
private String showDate;
public int getId() {return id;}
public void setId(int id) {this.id = id;}
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;}
public String getShowDate() {return showDate;}
public void setShowDate(String showDate) {this.showDate = showDate;}
}

基于微信小程序的房屋租赁系统相关推荐

  1. 【计算机毕业设计】基于微信小程序的房屋租赁系统

    毕设帮助.源码交流.技术指导,见文末. 随着科学技术的飞速发展,各行各业都在努力与现代先进技术接轨,通过科技手段提高自身的优势:对于房屋租赁系统小程序当然也不能排除在外,随着网络技术的不断成熟,带动了 ...

  2. 计算机毕业设计php+vue基于微信小程序的房屋租赁小程序

    项目介绍 当今社会房屋租赁买卖是必不可少的,人们不管走到哪里都需要有一个温馨的家,有一个落脚之地,所以房屋租赁市场也是非常火爆!不管是房屋租赁公司或者是个人都需要一套完整的管理系统来掌握整个市场信息. ...

  3. 基于微信小程序的房屋租赁小程序设计与实现-计算机毕业设计源码+LW文档

    基于微信小程序的房屋租赁系统 摘要 当今社会房屋租赁买卖是必不可少的,人们不管走到哪里都需要有一个温馨的家,有一个落脚之地,所以房屋租赁市场也是非常火爆!不管是房屋租赁公司或者是个人都需要一套完整的管 ...

  4. PHP基于微信小程序的房屋租赁小程序uniapp 小程序

    当今社会房屋租赁买卖是必不可少的,人们不管走到哪里都需要有一个温馨的家,有一个落脚之地,所以房屋租赁市场也是非常火爆!不管是房屋租赁公司或者是个人都需要一套完整的管理系统来掌握整个市场信息.针对这一需 ...

  5. php+vue基于微信小程序的房屋租赁小程序

    当今社会房屋租赁买卖是必不可少的,人们不管走到哪里都需要有一个温馨的家,有一个落脚之地,所以房屋租赁市场也是非常火爆!不管是房屋租赁公司或者是个人都需要一套完整的管理系统来掌握整个市场信息.针对这一需 ...

  6. 基于微信小程序付费自习室系统(微信小程序毕业设计)

    基于微信小程序付费自习室系统 付费自习室系统是基于微信小程序端,后端采用java编程语言,ssm框架,mysql数据库和idea开发工具制作:本系统分为用户和管理员两个角色,其中用户可以注册登陆系统, ...

  7. (微信小程序毕业设计)基于微信小程序便捷记账系统

    基于微信小程序便捷记账系统 便捷记账系统用户端是基于微信小程序端,后端管理员是基于java编程语言,mysql数据库,idea开发工具,ssm框架开发,本系统分为用户和管理员两个角色,用户微信端可以注 ...

  8. 计算机毕业设计Python+uniapp基于微信小程序的旅游系统论文(小程序+源码+LW)

    计算机毕业设计Python+uniapp基于微信小程序的旅游系统论文(小程序+源码+LW) 该项目含有源码.文档.程序.数据库.配套开发软件.软件安装教程 项目运行 环境配置: Pychram社区版+ ...

  9. 基于微信小程序食堂订餐系统源码(微信小程序毕业设计)

    基于微信小程序食堂订餐系统 食堂订餐系统后台是基于java编程语言,mysql数据库,ssm框架,idea工具开发,用户端是采用微信小程序端开发,本系统主要分为用户,管理员,商家三个端,用户可以注册登 ...

最新文章

  1. linux下时区设置和时间同步
  2. solr 5.3.1安装配置
  3. Java零拷贝续——DirectByteBuffer内存回收
  4. CSS之固定定位、相对定位、绝对定位
  5. kernel中对文件的读写【学习笔记】【原创】
  6. 15 - java 继承
  7. put url带参数_一道腾讯面试题:如何快速判断某 URL 是否在 20 亿的网址 URL 集合中?...
  8. wangeditor上传html,自定义上传事件
  9. JavaSE----常用类(Object、Objects、Math)
  10. POJ2955Brackets——dp
  11. python实习生面试题_【实习】暑期实习之python笔试题(一)
  12. 方便的管理苹果Mac上菜单栏图标软件推荐:Bartender
  13. Hadoop 参数配置优化
  14. JDBC:java数据库连接对象
  15. mysql修改记录_MySQL中如何创建、查看、删除、修改表记录
  16. 犯2一周后,做一做一年多的总结
  17. 计算机二级word邀请函制作步骤,利用邮件合并制作邀请函(2)
  18. 随感——冬天走了、微软社区精英会议
  19. 我的java学习之路之Spring MVC
  20. GD32F130之USART自带的RS485方向切换功能

热门文章

  1. 移动互联网app业务逻辑图
  2. 使用ISAI EXTENSION开发IIS5.1插件
  3. Matlab绘制三维直方图、饼图
  4. JSON数据格式的基本使用-JSON序列化
  5. Access数据库防暴库技术
  6. Linux多进程读者和写者问题,读者与写者问题
  7. Fairness in Recommendation: A Survey 阅读笔记
  8. 如何优雅的打印日志?
  9. 图解Linux命令之--lsmod命令
  10. 面试题--对于Spring Aop原理的理解