#############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_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 varchar(100) comment '地址',phone varchar(100) comment '手机',account int(11) comment '账户',jf int(11) comment '积分',headPic varchar(50) comment '头像',status varchar(50) comment ''
) comment '客户';create table t_lbt(id int primary key auto_increment comment '主键',pic varchar(100) comment '图片',url varchar(1000) 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(50) comment '地址',lxr varchar(50) comment '联系人',lxfs varchar(50) comment '联系方式',pj text comment '评价',back text comment '回复',productId int(11) comment '',zffs 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 '菜品'
) 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 '评论日期'
) 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(11) 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 '积分',userId int(11) comment '商家',bqId int(11) comment '标签',djl int(11) comment '点击量'
) comment '课程';create table t_productclick(id int primary key auto_increment comment '主键',productId int(11) comment '产品',customerId int(11) comment '用户',insertDate datetime comment '日期'
) comment '产品点击';create table t_sc(id int primary key auto_increment comment '主键',customerId int(11) comment '用户',productId int(11) comment '产品',insertDate datetime comment '日期'
) comment '收藏';create table t_temp1(id int primary key auto_increment comment '主键',title varchar(100) comment '备用表1标题',pic varchar(100) comment '备用表1图片',fileUrl varchar(100) comment '备用表1附件',content text comment '备用表1内容',insertDate datetime comment '入库时间',v1 varchar(100) comment '备用表1v1',v2 varchar(100) comment '备用表1v2',v3 varchar(100) comment '备用表1v3',v4 varchar(100) comment '备用表1v4',v5 varchar(100) comment '备用表1v5',status varchar(100) comment '状态',customerId int(11) comment ''
) comment '作业';create table t_temp2(id int primary key auto_increment comment '主键',title varchar(100) comment '备用表2标题',pic varchar(100) comment '备用表2图片',fileUrl varchar(100) comment '备用表2附件',content text comment '备用表2内容',insertDate datetime comment '入库时间',v1 varchar(100) comment '备用表2v1',v2 varchar(100) comment '备用表2v2',v3 varchar(100) comment '备用表2v3',v4 varchar(100) comment '备用表2v4',v5 varchar(100) comment '备用表2v5',status varchar(100) 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 '手机',status varchar(100) comment '',jf 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_xiaoxi(id int primary key auto_increment comment '主键',customerId int(11) comment '用户',title varchar(100) comment '标题',content text comment '内容',insertDate datetime comment '日期'
) comment '消息';create table t_zx(id int primary key auto_increment comment '主键',title varchar(100) comment '标题',content longtext comment '内容',pic varchar(100) 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_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 varchar(100) comment '地址',phone varchar(100) comment '手机',account int(11) comment '账户',jf int(11) comment '积分',headPic varchar(50) comment '头像',status varchar(50) comment ''
) comment '客户';create table t_lbt(id int primary key auto_increment comment '主键',pic varchar(100) comment '图片',url varchar(1000) 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(50) comment '地址',lxr varchar(50) comment '联系人',lxfs varchar(50) comment '联系方式',pj text comment '评价',back text comment '回复',productId int(11) comment '',zffs 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 '菜品'
) 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 '评论日期'
) 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(11) 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 '积分',userId int(11) comment '商家',bqId int(11) comment '标签',djl int(11) comment '点击量'
) comment '课程';create table t_productclick(id int primary key auto_increment comment '主键',productId int(11) comment '产品',customerId int(11) comment '用户',insertDate datetime comment '日期'
) comment '产品点击';create table t_sc(id int primary key auto_increment comment '主键',customerId int(11) comment '用户',productId int(11) comment '产品',insertDate datetime comment '日期'
) comment '收藏';create table t_temp1(id int primary key auto_increment comment '主键',title varchar(100) comment '备用表1标题',pic varchar(100) comment '备用表1图片',fileUrl varchar(100) comment '备用表1附件',content text comment '备用表1内容',insertDate datetime comment '入库时间',v1 varchar(100) comment '备用表1v1',v2 varchar(100) comment '备用表1v2',v3 varchar(100) comment '备用表1v3',v4 varchar(100) comment '备用表1v4',v5 varchar(100) comment '备用表1v5',status varchar(100) comment '状态',customerId int(11) comment ''
) comment '作业';create table t_temp2(id int primary key auto_increment comment '主键',title varchar(100) comment '备用表2标题',pic varchar(100) comment '备用表2图片',fileUrl varchar(100) comment '备用表2附件',content text comment '备用表2内容',insertDate datetime comment '入库时间',v1 varchar(100) comment '备用表2v1',v2 varchar(100) comment '备用表2v2',v3 varchar(100) comment '备用表2v3',v4 varchar(100) comment '备用表2v4',v5 varchar(100) comment '备用表2v5',status varchar(100) 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 '手机',status varchar(100) comment '',jf 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_xiaoxi(id int primary key auto_increment comment '主键',customerId int(11) comment '用户',title varchar(100) comment '标题',content text comment '内容',insertDate datetime comment '日期'
) comment '消息';create table t_zx(id int primary key auto_increment comment '主键',title varchar(100) comment '标题',content longtext comment '内容',pic varchar(100) comment '图片'
) comment '资讯';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 varchar(100),phone varchar(100),account int(11),jf int(11),headPic varchar(50),status 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.headPic is '头像';
comment on column t_customer.status is '';
--客户表加注释
comment on table t_customer is '客户';create table t_lbt(id integer,pic varchar(100),url varchar(1000)
);
--轮播图字段加注释
comment on column t_lbt.id is '主键';
comment on column t_lbt.id is '主键唯一ID';
comment on column t_lbt.pic is '图片';
comment on column t_lbt.url is '';
--轮播图表加注释
comment on table t_lbt 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(50),lxr varchar(50),lxfs varchar(50),pj text,back text,productId int(11),zffs 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.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 column t_order.zffs is '支付方式';
--订单表加注释
comment on table t_order is '订单';create table t_orderlist(id integer,customerId int(11),orderId int(11),productId int(11)
);
--订单详情字段加注释
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 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
);
--字段加注释
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 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 int(11),oldPrice int(11),content text,nums int(11),tjxj varchar(50),status varchar(50),typesId int(11),jf int(11),userId int(11),bqId int(11),djl int(11)
);
--课程字段加注释
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.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(11),customerId int(11),insertDate datetime
);
--产品点击字段加注释
comment on column t_productclick.id is '主键';
comment on column t_productclick.id is '主键唯一ID';
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_sc(id integer,customerId int(11),productId int(11),insertDate datetime
);
--收藏字段加注释
comment on column t_sc.id is '主键';
comment on column t_sc.id is '主键唯一ID';
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_temp1(id integer,title varchar(100),pic varchar(100),fileUrl varchar(100),content text,insertDate datetime,v1 varchar(100),v2 varchar(100),v3 varchar(100),v4 varchar(100),v5 varchar(100),status varchar(100),customerId int(11)
);
--作业字段加注释
comment on column t_temp1.id is '主键';
comment on column t_temp1.id is '主键唯一ID';
comment on column t_temp1.title is '备用表1标题';
comment on column t_temp1.pic is '备用表1图片';
comment on column t_temp1.fileUrl is '备用表1附件';
comment on column t_temp1.content is '备用表1内容';
comment on column t_temp1.insertDate is '入库时间';
comment on column t_temp1.v1 is '备用表1v1';
comment on column t_temp1.v2 is '备用表1v2';
comment on column t_temp1.v3 is '备用表1v3';
comment on column t_temp1.v4 is '备用表1v4';
comment on column t_temp1.v5 is '备用表1v5';
comment on column t_temp1.status is '状态';
comment on column t_temp1.customerId is '';
--作业表加注释
comment on table t_temp1 is '作业';create table t_temp2(id integer,title varchar(100),pic varchar(100),fileUrl varchar(100),content text,insertDate datetime,v1 varchar(100),v2 varchar(100),v3 varchar(100),v4 varchar(100),v5 varchar(100),status varchar(100)
);
--资料下载字段加注释
comment on column t_temp2.id is '主键';
comment on column t_temp2.id is '主键唯一ID';
comment on column t_temp2.title is '备用表2标题';
comment on column t_temp2.pic is '备用表2图片';
comment on column t_temp2.fileUrl is '备用表2附件';
comment on column t_temp2.content is '备用表2内容';
comment on column t_temp2.insertDate is '入库时间';
comment on column t_temp2.v1 is '备用表2v1';
comment on column t_temp2.v2 is '备用表2v2';
comment on column t_temp2.v3 is '备用表2v3';
comment on column t_temp2.v4 is '备用表2v4';
comment on column t_temp2.v5 is '备用表2v5';
comment on column t_temp2.status is '状态';
--资料下载表加注释
comment on table t_temp2 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),status varchar(100),jf 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 column t_user.status is '';
comment on column t_user.jf 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_xiaoxi(id integer,customerId int(11),title varchar(100),content text,insertDate datetime
);
--消息字段加注释
comment on column t_xiaoxi.id is '主键';
comment on column t_xiaoxi.id is '主键唯一ID';
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 longtext,pic varchar(100)
);
--资讯字段加注释
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 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_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 varchar(100) comment '地址',phone varchar(100) comment '手机',account int(11) comment '账户',jf int(11) comment '积分',headPic varchar(50) comment '头像',status varchar(50) comment ''
) comment '客户';create table t_lbt(id int primary key auto_increment comment '主键',pic varchar(100) comment '图片',url varchar(1000) 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(50) comment '地址',lxr varchar(50) comment '联系人',lxfs varchar(50) comment '联系方式',pj text comment '评价',back text comment '回复',productId int(11) comment '',zffs 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 '菜品'
) 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 '评论日期'
) 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(11) 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 '积分',userId int(11) comment '商家',bqId int(11) comment '标签',djl int(11) comment '点击量'
) comment '课程';create table t_productclick(id int primary key auto_increment comment '主键',productId int(11) comment '产品',customerId int(11) comment '用户',insertDate datetime comment '日期'
) comment '产品点击';create table t_sc(id int primary key auto_increment comment '主键',customerId int(11) comment '用户',productId int(11) comment '产品',insertDate datetime comment '日期'
) comment '收藏';create table t_temp1(id int primary key auto_increment comment '主键',title varchar(100) comment '备用表1标题',pic varchar(100) comment '备用表1图片',fileUrl varchar(100) comment '备用表1附件',content text comment '备用表1内容',insertDate datetime comment '入库时间',v1 varchar(100) comment '备用表1v1',v2 varchar(100) comment '备用表1v2',v3 varchar(100) comment '备用表1v3',v4 varchar(100) comment '备用表1v4',v5 varchar(100) comment '备用表1v5',status varchar(100) comment '状态',customerId int(11) comment ''
) comment '作业';create table t_temp2(id int primary key auto_increment comment '主键',title varchar(100) comment '备用表2标题',pic varchar(100) comment '备用表2图片',fileUrl varchar(100) comment '备用表2附件',content text comment '备用表2内容',insertDate datetime comment '入库时间',v1 varchar(100) comment '备用表2v1',v2 varchar(100) comment '备用表2v2',v3 varchar(100) comment '备用表2v3',v4 varchar(100) comment '备用表2v4',v5 varchar(100) comment '备用表2v5',status varchar(100) 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 '手机',status varchar(100) comment '',jf 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_xiaoxi(id int primary key auto_increment comment '主键',customerId int(11) comment '用户',title varchar(100) comment '标题',content text comment '内容',insertDate datetime comment '日期'
) comment '消息';create table t_zx(id int primary key auto_increment comment '主键',title varchar(100) comment '标题',content longtext comment '内容',pic varchar(100) comment '图片'
) comment '资讯';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 varchar(100),phone varchar(100),account int(11),jf int(11),headPic varchar(50),status 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.headPic is '头像';
comment on column t_customer.status is '';
--客户表加注释
comment on table t_customer is '客户';create table t_lbt(id integer,pic varchar(100),url varchar(1000)
);
--轮播图字段加注释
comment on column t_lbt.id is '主键';
comment on column t_lbt.id is '主键唯一ID';
comment on column t_lbt.pic is '图片';
comment on column t_lbt.url is '';
--轮播图表加注释
comment on table t_lbt 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(50),lxr varchar(50),lxfs varchar(50),pj text,back text,productId int(11),zffs 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.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 column t_order.zffs is '支付方式';
--订单表加注释
comment on table t_order is '订单';create table t_orderlist(id integer,customerId int(11),orderId int(11),productId int(11)
);
--订单详情字段加注释
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 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
);
--字段加注释
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 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 int(11),oldPrice int(11),content text,nums int(11),tjxj varchar(50),status varchar(50),typesId int(11),jf int(11),userId int(11),bqId int(11),djl int(11)
);
--课程字段加注释
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.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(11),customerId int(11),insertDate datetime
);
--产品点击字段加注释
comment on column t_productclick.id is '主键';
comment on column t_productclick.id is '主键唯一ID';
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_sc(id integer,customerId int(11),productId int(11),insertDate datetime
);
--收藏字段加注释
comment on column t_sc.id is '主键';
comment on column t_sc.id is '主键唯一ID';
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_temp1(id integer,title varchar(100),pic varchar(100),fileUrl varchar(100),content text,insertDate datetime,v1 varchar(100),v2 varchar(100),v3 varchar(100),v4 varchar(100),v5 varchar(100),status varchar(100),customerId int(11)
);
--作业字段加注释
comment on column t_temp1.id is '主键';
comment on column t_temp1.id is '主键唯一ID';
comment on column t_temp1.title is '备用表1标题';
comment on column t_temp1.pic is '备用表1图片';
comment on column t_temp1.fileUrl is '备用表1附件';
comment on column t_temp1.content is '备用表1内容';
comment on column t_temp1.insertDate is '入库时间';
comment on column t_temp1.v1 is '备用表1v1';
comment on column t_temp1.v2 is '备用表1v2';
comment on column t_temp1.v3 is '备用表1v3';
comment on column t_temp1.v4 is '备用表1v4';
comment on column t_temp1.v5 is '备用表1v5';
comment on column t_temp1.status is '状态';
comment on column t_temp1.customerId is '';
--作业表加注释
comment on table t_temp1 is '作业';create table t_temp2(id integer,title varchar(100),pic varchar(100),fileUrl varchar(100),content text,insertDate datetime,v1 varchar(100),v2 varchar(100),v3 varchar(100),v4 varchar(100),v5 varchar(100),status varchar(100)
);
--资料下载字段加注释
comment on column t_temp2.id is '主键';
comment on column t_temp2.id is '主键唯一ID';
comment on column t_temp2.title is '备用表2标题';
comment on column t_temp2.pic is '备用表2图片';
comment on column t_temp2.fileUrl is '备用表2附件';
comment on column t_temp2.content is '备用表2内容';
comment on column t_temp2.insertDate is '入库时间';
comment on column t_temp2.v1 is '备用表2v1';
comment on column t_temp2.v2 is '备用表2v2';
comment on column t_temp2.v3 is '备用表2v3';
comment on column t_temp2.v4 is '备用表2v4';
comment on column t_temp2.v5 is '备用表2v5';
comment on column t_temp2.status is '状态';
--资料下载表加注释
comment on table t_temp2 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),status varchar(100),jf 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 column t_user.status is '';
comment on column t_user.jf 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_xiaoxi(id integer,customerId int(11),title varchar(100),content text,insertDate datetime
);
--消息字段加注释
comment on column t_xiaoxi.id is '主键';
comment on column t_xiaoxi.id is '主键唯一ID';
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 longtext,pic varchar(100)
);
--资讯字段加注释
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 table t_zx is '资讯';--建议表注释
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 varchar(100),--地址phone varchar(100),--手机account int(11),--账户jf int(11),--积分headPic varchar(50),--头像status varchar(50)--
);--轮播图表注释
create table t_lbt(id int identity(1,1) primary key not null,--主键pic varchar(100),--图片url varchar(1000)--
);--订单表注释
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(50),--地址lxr varchar(50),--联系人lxfs varchar(50),--联系方式pj text,--评价back text,--回复productId int(11),--zffs varchar(50)--支付方式
);--订单详情表注释
create table t_orderlist(id int identity(1,1) primary key not null,--主键customerId int(11),--用户orderId int(11),--订单productId int(11)--菜品
);--评论表注释
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--评论日期
);--课程表注释
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 int(11),--价格oldPrice int(11),--原价content text,--内容nums int(11),--数量tjxj varchar(50),--推荐星级status varchar(50),--状态typesId int(11),--分类jf int(11),--积分userId int(11),--商家bqId int(11),--标签djl int(11)--点击量
);--产品点击表注释
create table t_productclick(id int identity(1,1) primary key not null,--主键productId int(11),--产品customerId int(11),--用户insertDate datetime--日期
);--收藏表注释
create table t_sc(id int identity(1,1) primary key not null,--主键customerId int(11),--用户productId int(11),--产品insertDate datetime--日期
);--作业表注释
create table t_temp1(id int identity(1,1) primary key not null,--主键title varchar(100),--备用表1标题pic varchar(100),--备用表1图片fileUrl varchar(100),--备用表1附件content text,--备用表1内容insertDate datetime,--入库时间v1 varchar(100),--备用表1v1v2 varchar(100),--备用表1v2v3 varchar(100),--备用表1v3v4 varchar(100),--备用表1v4v5 varchar(100),--备用表1v5status varchar(100),--状态customerId int(11)--
);--资料下载表注释
create table t_temp2(id int identity(1,1) primary key not null,--主键title varchar(100),--备用表2标题pic varchar(100),--备用表2图片fileUrl varchar(100),--备用表2附件content text,--备用表2内容insertDate datetime,--入库时间v1 varchar(100),--备用表2v1v2 varchar(100),--备用表2v2v3 varchar(100),--备用表2v3v4 varchar(100),--备用表2v4v5 varchar(100),--备用表2v5status varchar(100)--状态
);--分类表注释
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),--手机status varchar(100),--jf 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_xiaoxi(id int identity(1,1) primary key not null,--主键customerId int(11),--用户title varchar(100),--标题content text,--内容insertDate datetime--日期
);--资讯表注释
create table t_zx(id int identity(1,1) primary key not null,--主键title varchar(100),--标题content longtext,--内容pic varchar(100)--图片
);
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 String address;
//手机
private String phone;
//账户
private int account;
//积分
private int jf;
//头像
private String headPic;
//
private String status;
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 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 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 getHeadPic() {return headPic;}
public void setHeadPic(String headPic) {this.headPic = headPic;}
public String getStatus() {return status;}
public void setStatus(String status) {this.status = status;}
}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;
//
private String url;
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;}
public String getUrl() {return url;}
public void setUrl(String url) {this.url = url;}
}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 lxr;
//联系方式
private String lxfs;
//评价
private String pj;
//回复
private String back;
//
private int productId;
//支付方式
private String zffs;
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 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 int getProductId() {return productId;}
public void setProductId(int productId) {this.productId = productId;}
public String getZffs() {return zffs;}
public void setZffs(String zffs) {this.zffs = zffs;}
}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;
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;}
}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;
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;}
}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 int price;
//原价
private int oldPrice;
//内容
private String content;
//数量
private int nums;
//推荐星级
private String tjxj;
//状态
private String status;
//分类
private int typesId;
//积分
private int jf;
//商家
private int userId;
//标签
private int bqId;
//点击量
private int djl;
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 int getPrice() {return price;}
public void setPrice(int 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 getUserId() {return userId;}
public void setUserId(int userId) {this.userId = userId;}
public int getBqId() {return bqId;}
public void setBqId(int bqId) {this.bqId = bqId;}
public int getDjl() {return djl;}
public void setDjl(int djl) {this.djl = djl;}
}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;}
//主键唯一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 Sc  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 productId;
//日期
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 int getProductId() {return productId;}
public void setProductId(int productId) {this.productId = productId;}
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 Temp1  extends BaseBean{//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//主键唯一ID
private int id;
//备用表1标题
private String title;
//备用表1图片
private String pic;
//备用表1附件
private String fileUrl;
//备用表1内容
private String content;
//入库时间
private Date insertDate;
//备用表1v1
private String v1;
//备用表1v2
private String v2;
//备用表1v3
private String v3;
//备用表1v4
private String v4;
//备用表1v5
private String v5;
//状态
private String status;
//
private int customerId;
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 getPic() {return pic;}
public void setPic(String pic) {this.pic = pic;}
public String getFileUrl() {return fileUrl;}
public void setFileUrl(String fileUrl) {this.fileUrl = fileUrl;}
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 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;}
public String getV4() {return v4;}
public void setV4(String v4) {this.v4 = v4;}
public String getV5() {return v5;}
public void setV5(String v5) {this.v5 = v5;}
public String getStatus() {return status;}
public void setStatus(String status) {this.status = status;}
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 Temp2  extends BaseBean{//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//主键唯一ID
private int id;
//备用表2标题
private String title;
//备用表2图片
private String pic;
//备用表2附件
private String fileUrl;
//备用表2内容
private String content;
//入库时间
private Date insertDate;
//备用表2v1
private String v1;
//备用表2v2
private String v2;
//备用表2v3
private String v3;
//备用表2v4
private String v4;
//备用表2v5
private String v5;
//状态
private String status;
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 getPic() {return pic;}
public void setPic(String pic) {this.pic = pic;}
public String getFileUrl() {return fileUrl;}
public void setFileUrl(String fileUrl) {this.fileUrl = fileUrl;}
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 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;}
public String getV4() {return v4;}
public void setV4(String v4) {this.v4 = v4;}
public String getV5() {return v5;}
public void setV5(String v5) {this.v5 = v5;}
public String getStatus() {return status;}
public void setStatus(String status) {this.status = status;}
}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;
//
private String status;
//
private String jf;
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;}
public String getStatus() {return status;}
public void setStatus(String status) {this.status = status;}
public String getJf() {return jf;}
public void setJf(String jf) {this.jf = jf;}
}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 Xiaoxi  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 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 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;}
}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;
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;}
}

基于web前端的在线视频播放网页相关推荐

  1. Web前端开发入门之网页制作三要素!

    Web前端开发是由网页制作演变而来的,主要由HTML.CSS.JavaScript三大要素组成.专业的Web前端开发入门知识也一定会包含这些内容,今天小千就给大家简单介绍一下. HTML,超文本标记语 ...

  2. 基于Web的网络在线考试系统

    基于Web的网络在线考试系统 一.系统简介 本系统是一种基于Web的网络在线考试系统,各个模块主要从JSP.Servlet.JDBC.JavaBean四部分技术角度出发搭建框架,其中Servlet是运 ...

  3. 个人设计web前端大作业~ 酒店网页设计(HTML5+CSS3+Bootstrap)

    个人设计web前端大作业~ 酒店网页设计(HTML5+CSS3+Bootstrap)瑞豪国际酒店 临近期末, 你还在为HTML网页设计结课作业,老师的作业要求感到头大?HTML网页作业无从下手?网页要 ...

  4. Web 前端学习之制作网页音频

    Web 前端学习之制作网页音频 1. 新建目录(image) 2. 完整代码如下所示 结束语 1. 新建目录(image) 用来存放音频文件 2. 完整代码如下所示 <!DOCTYPE html ...

  5. web前端开发基础——在网页中使用表格

    web前端开发基础--在网页中使用表格 文章目录 web前端开发基础--在网页中使用表格 前言 一.表格 1.表格及其基本使用 2.引用css 二.单元格的合并 1.样例 2.样例代码 前言 本篇主要 ...

  6. Web前端开发实验作业 - 网页计算器

    Web前端开发实验作业 - 网页计算器 项目已上传至GitHub 仅供学习交流 需要自取 不妨点个start 谢谢 https://github.com/zhenggengqiong/Computer ...

  7. ssm基于B/S的在线视频播放系统java项目

    视频播放为人们提供了丰富的信息来源,并在一定程度上丰富了人们的精神文明.而传统的视频播放手段如电视播放.影院播放,都存在一定的局限性.人们亟需一种能够实时播放网络视频资源的产品,在线视频播放系统的出现 ...

  8. 2014阿里巴巴WEB前端实习生在线笔试题

    2014年3月31日晚,我怀着略微忐忑的心情(第一次在线笔试^_^!!)进行了笔试,阿里巴巴的笔试题共有10道,几乎包含了Web前端开发的各个方面,有程序题.有叙述题,时间非常紧张,只完成了大概6道题 ...

  9. WEB前端实现在线预览、编辑Office文档

    这篇文章介绍如何在web前端引入JS插件实现在线预览.编辑Office文档. 使用插件:Spire.Cloud在线Office文档编辑器(官网:冰蓝科技在线编辑) 重点:该方案仅需浏览器支持HTML5 ...

最新文章

  1. 如何识别南孚电池是号码
  2. 【2012百度之星/初赛上】D:轮子上的度度熊
  3. adb启动失败 ADB server didn't ACK
  4. mysql 数据修改记录日志_mysql对数据的更新操作记录在哪个日志中?
  5. ExtJS4.2学习(21)动态菜单与表格数据展示操作总结篇2
  6. mysql between 等于_MySQL中BETWEEN子句的用法详解
  7. 关于VC9和VC6以及Thread Safe和Non Thread Safe版本选择的问题
  8. 在OPPO的开发者大会上,看到了另一个OPPO
  9. 人脸生成:Beyond Face Rotation: Global and Local Perception GAN
  10. 富斯FS_I6六通道遥控器玩转APM飞控失控保护
  11. 电脑连接Wifi,只能上QQ不能上网。关键字:无Internet访问权限。
  12. K3C使用校园网折腾之路
  13. windows开机启动方法
  14. 在虚拟机安装Win7出现:directory ezboot not found error loading image:CDMENU.EZB
  15. 本学期课程教学要解决问题要点备忘录
  16. 3dmax简单的bip制作
  17. word 计算机内存不足,电脑office打不开显示内存不足怎么办
  18. I2S/IIS总线介绍及相关EMC问题
  19. 空间句法高阶技能sDNA
  20. 使用editor编辑器遇到的小问题:editor.md工具栏置顶

热门文章

  1. ReactJs入门教程
  2. 自我介绍500字中专计算机,中专生一分钟的自我介绍范文
  3. 【详解】计算机视觉之目标分割
  4. 万字长文!手把手教你用 AI 整点好玩的...
  5. c++ 函数返回数组
  6. 解决go udp广播包无法接收
  7. 客服工作日记-20220815
  8. R语言使用aov函数进行单因素协方差分析(One-way ANCOVA)、使用HH包中的ancova函数可视化单因素协方差分析中的因变量、协变量和因子之间关系的图
  9. P5.js开发之——开发环境(2)
  10. 写在2010年春节前