基于Android的移动学习平台设计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');

SQL

Copy

地址表创建语句如下:

create table t_address(id int primary key auto_increment comment '主键',customerId int comment '用户',phone varchar(100) comment '电话',addressVal varchar(100) comment '地址',addressName varchar(100) comment '姓名',ismoren varchar(100) comment '是否默认',province varchar(100) comment '',city varchar(100) comment '',area varchar(100) comment ''
) comment '地址';

SQL

Copy

分类表创建语句如下:

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

SQL

Copy

标签表创建语句如下:

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

SQL

Copy

建议表创建语句如下:

create table t_contact(id int primary key auto_increment comment '主键',customerId int comment '用户',phone varchar(100) comment '联系方式',content varchar(100) comment '内容',insertDate datetime comment '日期'
) comment '建议';

SQL

Copy

客户表创建语句如下:

create table t_customer(id int primary key auto_increment comment '主键',username varchar(100) comment '账号',password varchar(100) comment '密码',customerName varchar(100) comment '姓名',sex varchar(100) comment '性别',address varchar(100) comment '地址',phone varchar(100) comment '手机',account int comment '账户',jf int comment '积分',email varchar(100) comment '邮箱',headPic varchar(100) comment '头像'
) comment '客户';

SQL

Copy

课程表创建语句如下:

create table t_exam(id int primary key auto_increment comment '主键',examName varchar(100) comment '课程名称',showDate varchar(100) comment '日期',status varchar(100) comment '状态',ny varchar(100) comment '',sj int comment '',skls varchar(100) comment '授课老师',skdx varchar(100) comment '授课对象',sksj varchar(100) comment '授课时间',skbj varchar(100) comment '授课班级',skxq varchar(100) comment '授课学期',ppp varchar(100) comment ''
) comment '课程';

SQL

Copy

答案表创建语句如下:

create table t_examanswer(id int primary key auto_increment comment '主键',customerId int comment '用户',examName varchar(100) comment '试卷名称',insertDate datetime comment '日期',tm varchar(100) comment '题目',da varchar(100) comment '客户答案',answer varchar(100) comment '正确答案',batchId varchar(100) comment '',df varchar(100) comment '',v1 int comment '',v2 int comment '',v3 int comment '',isdl varchar(100) comment '',skbj varchar(100) comment '',skxq varchar(100) comment '',types int comment '',examId int comment '',v1all int comment '',v2all int comment '',v3all int comment '',v4all int comment ''
) comment '答案';

SQL

Copy

表创建语句如下:

create table t_examas(id int primary key auto_increment comment '主键',examName varchar(100) comment '课程名称',showDate varchar(100) comment '日期',status varchar(100) comment '状态',ny varchar(100) comment '',sj int comment '',skls varchar(100) comment '授课老师',skdx varchar(100) comment '授课对象',sksj varchar(100) comment '授课时间',skbj varchar(100) comment '授课班级',skxq varchar(100) comment '授课学期',v1 int comment '',v2 int comment '',v3 int comment '',v4 int comment ''
) comment '';

SQL

Copy

试卷题目表创建语句如下:

create table t_examlist(id int primary key auto_increment comment '主键',examId int comment '试卷',examtmId int comment '题目'
) comment '试卷题目';

SQL

Copy

考试题目表创建语句如下:

create table t_examtm(id int primary key auto_increment comment '主键',types int comment '类型',v1 varchar(100) comment '题目标题',v2 varchar(100) comment '选项A',v3 varchar(100) comment '选项B',v4 varchar(100) comment '选项C',v5 varchar(100) comment '选项D',v6 varchar(100) comment '答案',v7 varchar(100) comment '题目',v8 varchar(100) comment '答案',v9 varchar(100) comment '题目',v10 varchar(100) comment '答案',fl varchar(100) comment ''
) comment '考试题目';

SQL

Copy

积分兑换产品表创建语句如下:

create table t_jfdh(id int primary key auto_increment comment '主键',jfName varchar(100) comment '积分产品名称',jfCost int comment '积分数量',jfPic varchar(100) comment '产品图片'
) comment '积分兑换产品';

SQL

Copy

库存表创建语句如下:

create table t_kc(id int primary key auto_increment comment '主键',productId int comment '产品',kcNum int comment '库存数量',insertDate datetime comment '日期'
) comment '库存';

SQL

Copy

轮播图表创建语句如下:

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

SQL

Copy

留言表创建语句如下:

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

SQL

Copy

信息交流表创建语句如下:

create table t_message(id int primary key auto_increment comment '主键',customerId int comment '用户',messageContent varchar(100) comment '内容',types int comment '',insertDate datetime comment '时间'
) comment '信息交流';

SQL

Copy

订单表创建语句如下:

create table t_order(id int primary key auto_increment comment '主键',customerId int comment '用户',productDetail varchar(100) comment '订单详细',allPrice varchar(100) comment '订单总价格',status varchar(100) comment '状态',orderNum varchar(100) comment '订单编号',pl varchar(100) comment '物流信息',insertDate datetime comment '日期',userId int comment '',orderDate varchar(100) comment '',address varchar(100) comment '',xj varchar(100) comment '',pic varchar(100) comment '',content varchar(100) comment '',plDate datetime comment '',plr varchar(100) comment ''
) comment '订单';

SQL

Copy

订单详情表创建语句如下:

create table t_orderlist(id int primary key auto_increment comment '主键',customerId int comment '用户',orderId int comment '订单',productId int comment '菜品',sl int comment '',productName varchar(100) comment '',price int comment '',productPic1 varchar(100) comment '',xj varchar(100) comment '',content varchar(100) comment '',plDate datetime comment '',pic varchar(100) comment '',customerName varchar(100) comment ''
) comment '订单详情';

SQL

Copy

评论表创建语句如下:

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

SQL

Copy

表创建语句如下:

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

SQL

Copy

产品表创建语句如下:

create table t_product(id int primary key auto_increment comment '主键',productName varchar(100) comment '产品名称',productPic1 varchar(100) comment '图片1',productPic2 varchar(100) comment '图片2',productPic3 varchar(100) comment '图片3',productPic4 varchar(100) comment '图片4',price int comment '价格',oldPrice int comment '原价',content varchar(100) comment '内容',nums int comment '数量',tjxj varchar(100) comment '推荐星级',status varchar(100) comment '状态',typesId int comment '分类',jf int comment '积分',userId int comment '商家',bqId int comment '标签'
) comment '产品';

SQL

Copy

浏览记录表创建语句如下:

create table t_productview(id int primary key auto_increment comment '主键',productId int comment '产品',customerId int comment '用户',insertDate datetime comment '日期'
) comment '浏览记录';

SQL

Copy

购物车表创建语句如下:

create table t_shopcar(id int primary key auto_increment comment '主键',productId int comment '产品',num int comment '数量',customerId int comment ''
) comment '购物车';

SQL

Copy

收藏表创建语句如下:

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

SQL

Copy

分类表创建语句如下:

create table t_types(id int primary key auto_increment comment '主键',typesName varchar(100) comment '分类'
) comment '分类';

SQL

Copy

普通员工表创建语句如下:

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 '普通员工';

SQL

Copy

我的消息表创建语句如下:

create table t_wdxx(id int primary key auto_increment comment '主键',customerId int comment '我',title varchar(100) comment '标题',pic varchar(100) comment '图片',content varchar(100) comment '内容',zan int comment '赞',insertDate datetime comment '发布日期',nologin varchar(100) comment '游客是否可见',bkId int comment ''
) comment '我的消息';

SQL

Copy

作业表创建语句如下:

create table t_zuoye(id int primary key auto_increment comment '主键',customerId int comment '用户',content varchar(100) comment '说明',fileUrl varchar(100) comment '附件',insertDate datetime comment '日期',back varchar(100) comment '回复',pf int comment '评分',status varchar(100) comment '状态'
) comment '作业';

SQL

Copy

资讯表创建语句如下:

create table t_zx(id int primary key auto_increment comment '主键',title varchar(100) comment '标题',content varchar(100) comment '内容',pic varchar(100) comment '图片',showDate varchar(100) comment ''
) comment '资讯';

SQL

Copy

基于Android的移动学习平台设计oracle数据库版本源码:

超级管理员表创建语句如下:

create table t_admin(id integer,username varchar(100),password varchar(100)
);
insert into t_admin(id,username,password) values(1,'admin','123456');
--超级管理员字段加注释
comment on column t_admin.id is '主键';
comment on column t_admin.username is '超级管理员账号';
comment on column t_admin.password is '超级管理员密码';
--超级管理员表加注释
comment on table t_admin is '超级管理员';

SQL

Copy

地址表创建语句如下:

create table t_address(id integer,customerId int,phone varchar(100),addressVal varchar(100),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.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 '地址';

SQL

Copy

分类表创建语句如下:

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

SQL

Copy

标签表创建语句如下:

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

SQL

Copy

建议表创建语句如下:

create table t_contact(id integer,customerId int,phone varchar(100),content varchar(100),insertDate datetime
);
--建议字段加注释
comment on column t_contact.id is '主键';
comment on column t_contact.customerId is '用户';
comment on column t_contact.phone is '联系方式';
comment on column t_contact.content is '内容';
comment on column t_contact.insertDate is '日期';
--建议表加注释
comment on table t_contact is '建议';

SQL

Copy

客户表创建语句如下:

create table t_customer(id integer,username varchar(100),password varchar(100),customerName varchar(100),sex varchar(100),address varchar(100),phone varchar(100),account int,jf int,email varchar(100),headPic varchar(100)
);
--客户字段加注释
comment on column t_customer.id is '主键';
comment on column t_customer.username is '账号';
comment on column t_customer.password is '密码';
comment on column t_customer.customerName is '姓名';
comment on column t_customer.sex is '性别';
comment on column t_customer.address is '地址';
comment on column t_customer.phone is '手机';
comment on column t_customer.account is '账户';
comment on column t_customer.jf is '积分';
comment on column t_customer.email is '邮箱';
comment on column t_customer.headPic is '头像';
--客户表加注释
comment on table t_customer is '客户';

SQL

Copy

课程表创建语句如下:

create table t_exam(id integer,examName varchar(100),showDate varchar(100),status varchar(100),ny varchar(100),sj int,skls varchar(100),skdx varchar(100),sksj varchar(100),skbj varchar(100),skxq varchar(100),ppp varchar(100)
);
--课程字段加注释
comment on column t_exam.id is '主键';
comment on column t_exam.examName is '课程名称';
comment on column t_exam.showDate is '日期';
comment on column t_exam.status is '状态';
comment on column t_exam.ny is '';
comment on column t_exam.sj is '';
comment on column t_exam.skls is '授课老师';
comment on column t_exam.skdx is '授课对象';
comment on column t_exam.sksj is '授课时间';
comment on column t_exam.skbj is '授课班级';
comment on column t_exam.skxq is '授课学期';
comment on column t_exam.ppp is '';
--课程表加注释
comment on table t_exam is '课程';

SQL

Copy

答案表创建语句如下:

create table t_examanswer(id integer,customerId int,examName varchar(100),insertDate datetime,tm varchar(100),da varchar(100),answer varchar(100),batchId varchar(100),df varchar(100),v1 int,v2 int,v3 int,isdl varchar(100),skbj varchar(100),skxq varchar(100),types int,examId int,v1all int,v2all int,v3all int,v4all int
);
--答案字段加注释
comment on column t_examanswer.id is '主键';
comment on column t_examanswer.customerId is '用户';
comment on column t_examanswer.examName is '试卷名称';
comment on column t_examanswer.insertDate is '日期';
comment on column t_examanswer.tm is '题目';
comment on column t_examanswer.da is '客户答案';
comment on column t_examanswer.answer is '正确答案';
comment on column t_examanswer.batchId is '';
comment on column t_examanswer.df is '';
comment on column t_examanswer.v1 is '';
comment on column t_examanswer.v2 is '';
comment on column t_examanswer.v3 is '';
comment on column t_examanswer.isdl is '';
comment on column t_examanswer.skbj is '';
comment on column t_examanswer.skxq is '';
comment on column t_examanswer.types is '';
comment on column t_examanswer.examId is '';
comment on column t_examanswer.v1all is '';
comment on column t_examanswer.v2all is '';
comment on column t_examanswer.v3all is '';
comment on column t_examanswer.v4all is '';
--答案表加注释
comment on table t_examanswer is '答案';

SQL

Copy

表创建语句如下:

create table t_examas(id integer,examName varchar(100),showDate varchar(100),status varchar(100),ny varchar(100),sj int,skls varchar(100),skdx varchar(100),sksj varchar(100),skbj varchar(100),skxq varchar(100),v1 int,v2 int,v3 int,v4 int
);
--字段加注释
comment on column t_examas.id is '主键';
comment on column t_examas.examName is '课程名称';
comment on column t_examas.showDate is '日期';
comment on column t_examas.status is '状态';
comment on column t_examas.ny is '';
comment on column t_examas.sj is '';
comment on column t_examas.skls is '授课老师';
comment on column t_examas.skdx is '授课对象';
comment on column t_examas.sksj is '授课时间';
comment on column t_examas.skbj is '授课班级';
comment on column t_examas.skxq is '授课学期';
comment on column t_examas.v1 is '';
comment on column t_examas.v2 is '';
comment on column t_examas.v3 is '';
comment on column t_examas.v4 is '';
--表加注释
comment on table t_examas is '';

SQL

Copy

试卷题目表创建语句如下:

create table t_examlist(id integer,examId int,examtmId int
);
--试卷题目字段加注释
comment on column t_examlist.id is '主键';
comment on column t_examlist.examId is '试卷';
comment on column t_examlist.examtmId is '题目';
--试卷题目表加注释
comment on table t_examlist is '试卷题目';

SQL

Copy

考试题目表创建语句如下:

create table t_examtm(id integer,types int,v1 varchar(100),v2 varchar(100),v3 varchar(100),v4 varchar(100),v5 varchar(100),v6 varchar(100),v7 varchar(100),v8 varchar(100),v9 varchar(100),v10 varchar(100),fl varchar(100)
);
--考试题目字段加注释
comment on column t_examtm.id is '主键';
comment on column t_examtm.types is '类型';
comment on column t_examtm.v1 is '题目标题';
comment on column t_examtm.v2 is '选项A';
comment on column t_examtm.v3 is '选项B';
comment on column t_examtm.v4 is '选项C';
comment on column t_examtm.v5 is '选项D';
comment on column t_examtm.v6 is '答案';
comment on column t_examtm.v7 is '题目';
comment on column t_examtm.v8 is '答案';
comment on column t_examtm.v9 is '题目';
comment on column t_examtm.v10 is '答案';
comment on column t_examtm.fl is '';
--考试题目表加注释
comment on table t_examtm is '考试题目';

SQL

Copy

积分兑换产品表创建语句如下:

create table t_jfdh(id integer,jfName varchar(100),jfCost int,jfPic varchar(100)
);
--积分兑换产品字段加注释
comment on column t_jfdh.id is '主键';
comment on column t_jfdh.jfName is '积分产品名称';
comment on column t_jfdh.jfCost is '积分数量';
comment on column t_jfdh.jfPic is '产品图片';
--积分兑换产品表加注释
comment on table t_jfdh is '积分兑换产品';

SQL

Copy

库存表创建语句如下:

create table t_kc(id integer,productId int,kcNum int,insertDate datetime
);
--库存字段加注释
comment on column t_kc.id is '主键';
comment on column t_kc.productId is '产品';
comment on column t_kc.kcNum is '库存数量';
comment on column t_kc.insertDate is '日期';
--库存表加注释
comment on table t_kc is '库存';

SQL

Copy

轮播图表创建语句如下:

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

SQL

Copy

留言表创建语句如下:

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

SQL

Copy

信息交流表创建语句如下:

create table t_message(id integer,customerId int,messageContent varchar(100),types int,insertDate datetime
);
--信息交流字段加注释
comment on column t_message.id is '主键';
comment on column t_message.customerId is '用户';
comment on column t_message.messageContent is '内容';
comment on column t_message.types is '';
comment on column t_message.insertDate is '时间';
--信息交流表加注释
comment on table t_message is '信息交流';

SQL

Copy

订单表创建语句如下:

create table t_order(id integer,customerId int,productDetail varchar(100),allPrice varchar(100),status varchar(100),orderNum varchar(100),pl varchar(100),insertDate datetime,userId int,orderDate varchar(100),address varchar(100),xj varchar(100),pic varchar(100),content varchar(100),plDate datetime,plr varchar(100)
);
--订单字段加注释
comment on column t_order.id is '主键';
comment on column t_order.customerId is '用户';
comment on column t_order.productDetail is '订单详细';
comment on column t_order.allPrice is '订单总价格';
comment on column t_order.status is '状态';
comment on column t_order.orderNum is '订单编号';
comment on column t_order.pl is '物流信息';
comment on column t_order.insertDate is '日期';
comment on column t_order.userId is '';
comment on column t_order.orderDate is '';
comment on column t_order.address is '';
comment on column t_order.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 table t_order is '订单';

SQL

Copy

订单详情表创建语句如下:

create table t_orderlist(id integer,customerId int,orderId int,productId int,sl int,productName varchar(100),price int,productPic1 varchar(100),xj varchar(100),content varchar(100),plDate datetime,pic varchar(100),customerName varchar(100)
);
--订单详情字段加注释
comment on column t_orderlist.id is '主键';
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 '订单详情';

SQL

Copy

评论表创建语句如下:

create table t_pinglun(id integer,wdxxId int,customerId int,content varchar(100),insertDate datetime
);
--评论字段加注释
comment on column t_pinglun.id is '主键';
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 '评论';

SQL

Copy

表创建语句如下:

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

SQL

Copy

产品表创建语句如下:

create table t_product(id integer,productName varchar(100),productPic1 varchar(100),productPic2 varchar(100),productPic3 varchar(100),productPic4 varchar(100),price int,oldPrice int,content varchar(100),nums int,tjxj varchar(100),status varchar(100),typesId int,jf int,userId int,bqId int
);
--产品字段加注释
comment on column t_product.id is '主键';
comment on column t_product.productName is '产品名称';
comment on column t_product.productPic1 is '图片1';
comment on column t_product.productPic2 is '图片2';
comment on column t_product.productPic3 is '图片3';
comment on column t_product.productPic4 is '图片4';
comment on column t_product.price is '价格';
comment on column t_product.oldPrice is '原价';
comment on column t_product.content is '内容';
comment on column t_product.nums is '数量';
comment on column t_product.tjxj is '推荐星级';
comment on column t_product.status is '状态';
comment on column t_product.typesId is '分类';
comment on column t_product.jf is '积分';
comment on column t_product.userId is '商家';
comment on column t_product.bqId is '标签';
--产品表加注释
comment on table t_product is '产品';

SQL

Copy

浏览记录表创建语句如下:

create table t_productview(id integer,productId int,customerId int,insertDate datetime
);
--浏览记录字段加注释
comment on column t_productview.id is '主键';
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 '浏览记录';

SQL

Copy

购物车表创建语句如下:

create table t_shopcar(id integer,productId int,num int,customerId int
);
--购物车字段加注释
comment on column t_shopcar.id is '主键';
comment on column t_shopcar.productId is '产品';
comment on column t_shopcar.num is '数量';
comment on column t_shopcar.customerId is '';
--购物车表加注释
comment on table t_shopcar is '购物车';

SQL

Copy

收藏表创建语句如下:

create table t_shoucang(id integer,productId int,customerId int,insertDate datetime
);
--收藏字段加注释
comment on column t_shoucang.id is '主键';
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 '收藏';

SQL

Copy

分类表创建语句如下:

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

SQL

Copy

普通员工表创建语句如下:

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.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 '普通员工';

SQL

Copy

我的消息表创建语句如下:

create table t_wdxx(id integer,customerId int,title varchar(100),pic varchar(100),content varchar(100),zan int,insertDate datetime,nologin varchar(100),bkId int
);
--我的消息字段加注释
comment on column t_wdxx.id is '主键';
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 '我的消息';

SQL

Copy

作业表创建语句如下:

create table t_zuoye(id integer,customerId int,content varchar(100),fileUrl varchar(100),insertDate datetime,back varchar(100),pf int,status varchar(100)
);
--作业字段加注释
comment on column t_zuoye.id is '主键';
comment on column t_zuoye.customerId is '用户';
comment on column t_zuoye.content is '说明';
comment on column t_zuoye.fileUrl is '附件';
comment on column t_zuoye.insertDate is '日期';
comment on column t_zuoye.back is '回复';
comment on column t_zuoye.pf is '评分';
comment on column t_zuoye.status is '状态';
--作业表加注释
comment on table t_zuoye is '作业';

SQL

Copy

资讯表创建语句如下:

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

SQL

Copy

oracle特有,对应序列如下:

create sequence s_t_address;
create sequence s_t_bk;
create sequence s_t_bq;
create sequence s_t_contact;
create sequence s_t_customer;
create sequence s_t_exam;
create sequence s_t_examanswer;
create sequence s_t_examas;
create sequence s_t_examlist;
create sequence s_t_examtm;
create sequence s_t_jfdh;
create sequence s_t_kc;
create sequence s_t_lbt;
create sequence s_t_liuyan;
create sequence s_t_message;
create sequence s_t_order;
create sequence s_t_orderlist;
create sequence s_t_pinglun;
create sequence s_t_pinglun_product;
create sequence s_t_product;
create sequence s_t_productview;
create sequence s_t_shopcar;
create sequence s_t_shoucang;
create sequence s_t_types;
create sequence s_t_user;
create sequence s_t_wdxx;
create sequence s_t_zuoye;
create sequence s_t_zx;

SQL

Copy

基于Android的移动学习平台设计sqlserver数据库版本源码:

超级管理员表创建语句如下:

--超级管理员
create table t_admin(id int identity(1,1) primary key not null,--主键username varchar(100),--超级管理员账号password varchar(100)--超级管理员密码
);
insert into t_admin(username,password) values('admin','123456');

SQL

Copy

地址表创建语句如下:

--地址表注释
create table t_address(id int identity(1,1) primary key not null,--主键customerId int,--用户phone varchar(100),--电话addressVal varchar(100),--地址addressName varchar(100),--姓名ismoren varchar(100),--是否默认province varchar(100),--city varchar(100),--area varchar(100)--
);

SQL

Copy

分类表创建语句如下:

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

SQL

Copy

标签表创建语句如下:

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

SQL

Copy

建议表创建语句如下:

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

SQL

Copy

客户表创建语句如下:

--客户表注释
create table t_customer(id int identity(1,1) primary key not null,--主键username varchar(100),--账号password varchar(100),--密码customerName varchar(100),--姓名sex varchar(100),--性别address varchar(100),--地址phone varchar(100),--手机account int,--账户jf int,--积分email varchar(100),--邮箱headPic varchar(100)--头像
);

SQL

Copy

课程表创建语句如下:

--课程表注释
create table t_exam(id int identity(1,1) primary key not null,--主键examName varchar(100),--课程名称showDate varchar(100),--日期status varchar(100),--状态ny varchar(100),--sj int,--skls varchar(100),--授课老师skdx varchar(100),--授课对象sksj varchar(100),--授课时间skbj varchar(100),--授课班级skxq varchar(100),--授课学期ppp varchar(100)--
);

SQL

Copy

答案表创建语句如下:

--答案表注释
create table t_examanswer(id int identity(1,1) primary key not null,--主键customerId int,--用户examName varchar(100),--试卷名称insertDate datetime,--日期tm varchar(100),--题目da varchar(100),--客户答案answer varchar(100),--正确答案batchId varchar(100),--df varchar(100),--v1 int,--v2 int,--v3 int,--isdl varchar(100),--skbj varchar(100),--skxq varchar(100),--types int,--examId int,--v1all int,--v2all int,--v3all int,--v4all int--
);

SQL

Copy

表创建语句如下:

--表注释
create table t_examas(id int identity(1,1) primary key not null,--主键examName varchar(100),--课程名称showDate varchar(100),--日期status varchar(100),--状态ny varchar(100),--sj int,--skls varchar(100),--授课老师skdx varchar(100),--授课对象sksj varchar(100),--授课时间skbj varchar(100),--授课班级skxq varchar(100),--授课学期v1 int,--v2 int,--v3 int,--v4 int--
);

SQL

Copy

试卷题目表创建语句如下:

--试卷题目表注释
create table t_examlist(id int identity(1,1) primary key not null,--主键examId int,--试卷examtmId int--题目
);

SQL

Copy

考试题目表创建语句如下:

--考试题目表注释
create table t_examtm(id int identity(1,1) primary key not null,--主键types int,--类型v1 varchar(100),--题目标题v2 varchar(100),--选项Av3 varchar(100),--选项Bv4 varchar(100),--选项Cv5 varchar(100),--选项Dv6 varchar(100),--答案v7 varchar(100),--题目v8 varchar(100),--答案v9 varchar(100),--题目v10 varchar(100),--答案fl varchar(100)--
);

SQL

Copy

积分兑换产品表创建语句如下:

--积分兑换产品表注释
create table t_jfdh(id int identity(1,1) primary key not null,--主键jfName varchar(100),--积分产品名称jfCost int,--积分数量jfPic varchar(100)--产品图片
);

SQL

Copy

库存表创建语句如下:

--库存表注释
create table t_kc(id int identity(1,1) primary key not null,--主键productId int,--产品kcNum int,--库存数量insertDate datetime--日期
);

SQL

Copy

轮播图表创建语句如下:

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

SQL

Copy

留言表创建语句如下:

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

SQL

Copy

信息交流表创建语句如下:

--信息交流表注释
create table t_message(id int identity(1,1) primary key not null,--主键customerId int,--用户messageContent varchar(100),--内容types int,--insertDate datetime--时间
);

SQL

Copy

订单表创建语句如下:

--订单表注释
create table t_order(id int identity(1,1) primary key not null,--主键customerId int,--用户productDetail varchar(100),--订单详细allPrice varchar(100),--订单总价格status varchar(100),--状态orderNum varchar(100),--订单编号pl varchar(100),--物流信息insertDate datetime,--日期userId int,--orderDate varchar(100),--address varchar(100),--xj varchar(100),--pic varchar(100),--content varchar(100),--plDate datetime,--plr varchar(100)--
);

SQL

Copy

订单详情表创建语句如下:

--订单详情表注释
create table t_orderlist(id int identity(1,1) primary key not null,--主键customerId int,--用户orderId int,--订单productId int,--菜品sl int,--productName varchar(100),--price int,--productPic1 varchar(100),--xj varchar(100),--content varchar(100),--plDate datetime,--pic varchar(100),--customerName varchar(100)--
);

SQL

Copy

评论表创建语句如下:

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

SQL

Copy

表创建语句如下:

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

SQL

Copy

产品表创建语句如下:

--产品表注释
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,--价格oldPrice int,--原价content varchar(100),--内容nums int,--数量tjxj varchar(100),--推荐星级status varchar(100),--状态typesId int,--分类jf int,--积分userId int,--商家bqId int--标签
);

SQL

Copy

浏览记录表创建语句如下:

--浏览记录表注释
create table t_productview(id int identity(1,1) primary key not null,--主键productId int,--产品customerId int,--用户insertDate datetime--日期
);

SQL

Copy

购物车表创建语句如下:

--购物车表注释
create table t_shopcar(id int identity(1,1) primary key not null,--主键productId int,--产品num int,--数量customerId int--
);

SQL

Copy

收藏表创建语句如下:

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

SQL

Copy

分类表创建语句如下:

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

SQL

Copy

普通员工表创建语句如下:

--普通员工表注释
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)--手机
);

SQL

Copy

我的消息表创建语句如下:

--我的消息表注释
create table t_wdxx(id int identity(1,1) primary key not null,--主键customerId int,--我title varchar(100),--标题pic varchar(100),--图片content varchar(100),--内容zan int,--赞insertDate datetime,--发布日期nologin varchar(100),--游客是否可见bkId int--
);

SQL

Copy

作业表创建语句如下:

--作业表注释
create table t_zuoye(id int identity(1,1) primary key not null,--主键customerId int,--用户content varchar(100),--说明fileUrl varchar(100),--附件insertDate datetime,--日期back varchar(100),--回复pf int,--评分status varchar(100)--状态
);

SQL

Copy

资讯表创建语句如下:

--资讯表注释
create table t_zx(id int identity(1,1) primary key not null,--主键title varchar(100),--标题content varchar(100),--内容pic varchar(100),--图片showDate varchar(100)--
);

SQL

Copy

基于Android的移动学习平台设计spring+springMVC+hibernate框架对象(javaBean,pojo)设计:

地址javaBean创建语句如下:

package project.model;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;
@Entity//地址
@Table(name = "t_address")
public class Address {
//主键
@Id
@Column(name = "id")
@GeneratedValue(strategy = GenerationType.IDENTITY)
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//用户
private Integer customerId;
//电话
private String phone;
//地址
private String addressVal;
//姓名
private String addressName;
//是否默认
private String ismoren;
//
private String province;
//
private String city;
//
private String area;
public Integer getCustomerId() {return customerId;}
public void setCustomerId(Integer customerId) {this.customerId = customerId;}
public String getPhone() {return phone;}
public void setPhone(String phone) {this.phone = phone;}
public String 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;}
}

Java

Copy

分类javaBean创建语句如下:

package project.model;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;
@Entity//分类
@Table(name = "t_bk")
public class Bk {
//主键
@Id
@Column(name = "id")
@GeneratedValue(strategy = GenerationType.IDENTITY)
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//分类名称
private String bkName;
public String getBkName() {return bkName;}
public void setBkName(String bkName) {this.bkName = bkName;}
}

Java

Copy

标签javaBean创建语句如下:

package project.model;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;
@Entity//标签
@Table(name = "t_bq")
public class Bq {
//主键
@Id
@Column(name = "id")
@GeneratedValue(strategy = GenerationType.IDENTITY)
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//标签
private String bqName;
public String getBqName() {return bqName;}
public void setBqName(String bqName) {this.bqName = bqName;}
}

Java

Copy

建议javaBean创建语句如下:

package project.model;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;
@Entity//建议
@Table(name = "t_contact")
public class Contact {
//主键
@Id
@Column(name = "id")
@GeneratedValue(strategy = GenerationType.IDENTITY)
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//用户
private Integer customerId;
//联系方式
private String phone;
//内容
private String content;
//日期
private Date insertDate;
public Integer getCustomerId() {return customerId;}
public void setCustomerId(Integer customerId) {this.customerId = customerId;}
public String getPhone() {return phone;}
public void setPhone(String phone) {this.phone = phone;}
public String getContent() {return content;}
public void setContent(String content) {this.content = content;}
public Date getInsertDate() {return insertDate;}
public void setInsertDate(Date insertDate) {this.insertDate = insertDate;}
}

Java

Copy

客户javaBean创建语句如下:

package project.model;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;
@Entity//客户
@Table(name = "t_customer")
public class Customer {
//主键
@Id
@Column(name = "id")
@GeneratedValue(strategy = GenerationType.IDENTITY)
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//账号
private String username;
//密码
private String password;
//姓名
private String customerName;
//性别
private String sex;
//地址
private String address;
//手机
private String phone;
//账户
private Integer account;
//积分
private Integer jf;
//邮箱
private String email;
//头像
private String headPic;
public String getUsername() {return username;}
public void setUsername(String username) {this.username = username;}
public String getPassword() {return password;}
public void setPassword(String password) {this.password = password;}
public String getCustomerName() {return customerName;}
public void setCustomerName(String customerName) {this.customerName = customerName;}
public String getSex() {return sex;}
public void setSex(String sex) {this.sex = sex;}
public String getAddress() {return address;}
public void setAddress(String address) {this.address = address;}
public String getPhone() {return phone;}
public void setPhone(String phone) {this.phone = phone;}
public Integer getAccount() {return account;}
public void setAccount(Integer account) {this.account = account;}
public Integer getJf() {return jf;}
public void setJf(Integer jf) {this.jf = jf;}
public String getEmail() {return email;}
public void setEmail(String email) {this.email = email;}
public String getHeadPic() {return headPic;}
public void setHeadPic(String headPic) {this.headPic = headPic;}
}

Java

Copy

课程javaBean创建语句如下:

package project.model;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;
@Entity//课程
@Table(name = "t_exam")
public class Exam {
//主键
@Id
@Column(name = "id")
@GeneratedValue(strategy = GenerationType.IDENTITY)
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//课程名称
private String examName;
//日期
private String showDate;
//状态
private String status;
//
private String ny;
//
private Integer sj;
//授课老师
private String skls;
//授课对象
private String skdx;
//授课时间
private String sksj;
//授课班级
private String skbj;
//授课学期
private String skxq;
//
private String ppp;
public String getExamName() {return examName;}
public void setExamName(String examName) {this.examName = examName;}
public String getShowDate() {return showDate;}
public void setShowDate(String showDate) {this.showDate = showDate;}
public String getStatus() {return status;}
public void setStatus(String status) {this.status = status;}
public String getNy() {return ny;}
public void setNy(String ny) {this.ny = ny;}
public Integer getSj() {return sj;}
public void setSj(Integer sj) {this.sj = sj;}
public String getSkls() {return skls;}
public void setSkls(String skls) {this.skls = skls;}
public String getSkdx() {return skdx;}
public void setSkdx(String skdx) {this.skdx = skdx;}
public String getSksj() {return sksj;}
public void setSksj(String sksj) {this.sksj = sksj;}
public String getSkbj() {return skbj;}
public void setSkbj(String skbj) {this.skbj = skbj;}
public String getSkxq() {return skxq;}
public void setSkxq(String skxq) {this.skxq = skxq;}
public String getPpp() {return ppp;}
public void setPpp(String ppp) {this.ppp = ppp;}
}

Java

Copy

答案javaBean创建语句如下:

package project.model;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;
@Entity//答案
@Table(name = "t_examanswer")
public class Examanswer {
//主键
@Id
@Column(name = "id")
@GeneratedValue(strategy = GenerationType.IDENTITY)
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//用户
private Integer customerId;
//试卷名称
private String examName;
//日期
private Date insertDate;
//题目
private String tm;
//客户答案
private String da;
//正确答案
private String answer;
//
private String batchId;
//
private String df;
//
private Integer v1;
//
private Integer v2;
//
private Integer v3;
//
private String isdl;
//
private String skbj;
//
private String skxq;
//
private Integer types;
//
private Integer examId;
//
private Integer v1all;
//
private Integer v2all;
//
private Integer v3all;
//
private Integer v4all;
public Integer getCustomerId() {return customerId;}
public void setCustomerId(Integer customerId) {this.customerId = customerId;}
public String getExamName() {return examName;}
public void setExamName(String examName) {this.examName = examName;}
public Date getInsertDate() {return insertDate;}
public void setInsertDate(Date insertDate) {this.insertDate = insertDate;}
public String getTm() {return tm;}
public void setTm(String tm) {this.tm = tm;}
public String getDa() {return da;}
public void setDa(String da) {this.da = da;}
public String getAnswer() {return answer;}
public void setAnswer(String answer) {this.answer = answer;}
public String getBatchId() {return batchId;}
public void setBatchId(String batchId) {this.batchId = batchId;}
public String getDf() {return df;}
public void setDf(String df) {this.df = df;}
public Integer getV1() {return v1;}
public void setV1(Integer v1) {this.v1 = v1;}
public Integer getV2() {return v2;}
public void setV2(Integer v2) {this.v2 = v2;}
public Integer getV3() {return v3;}
public void setV3(Integer v3) {this.v3 = v3;}
public String getIsdl() {return isdl;}
public void setIsdl(String isdl) {this.isdl = isdl;}
public String getSkbj() {return skbj;}
public void setSkbj(String skbj) {this.skbj = skbj;}
public String getSkxq() {return skxq;}
public void setSkxq(String skxq) {this.skxq = skxq;}
public Integer getTypes() {return types;}
public void setTypes(Integer types) {this.types = types;}
public Integer getExamId() {return examId;}
public void setExamId(Integer examId) {this.examId = examId;}
public Integer getV1all() {return v1all;}
public void setV1all(Integer v1all) {this.v1all = v1all;}
public Integer getV2all() {return v2all;}
public void setV2all(Integer v2all) {this.v2all = v2all;}
public Integer getV3all() {return v3all;}
public void setV3all(Integer v3all) {this.v3all = v3all;}
public Integer getV4all() {return v4all;}
public void setV4all(Integer v4all) {this.v4all = v4all;}
}

Java

Copy

javaBean创建语句如下:

package project.model;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;
@Entity//
@Table(name = "t_examas")
public class Examas {
//主键
@Id
@Column(name = "id")
@GeneratedValue(strategy = GenerationType.IDENTITY)
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//课程名称
private String examName;
//日期
private String showDate;
//状态
private String status;
//
private String ny;
//
private Integer sj;
//授课老师
private String skls;
//授课对象
private String skdx;
//授课时间
private String sksj;
//授课班级
private String skbj;
//授课学期
private String skxq;
//
private Integer v1;
//
private Integer v2;
//
private Integer v3;
//
private Integer v4;
public String getExamName() {return examName;}
public void setExamName(String examName) {this.examName = examName;}
public String getShowDate() {return showDate;}
public void setShowDate(String showDate) {this.showDate = showDate;}
public String getStatus() {return status;}
public void setStatus(String status) {this.status = status;}
public String getNy() {return ny;}
public void setNy(String ny) {this.ny = ny;}
public Integer getSj() {return sj;}
public void setSj(Integer sj) {this.sj = sj;}
public String getSkls() {return skls;}
public void setSkls(String skls) {this.skls = skls;}
public String getSkdx() {return skdx;}
public void setSkdx(String skdx) {this.skdx = skdx;}
public String getSksj() {return sksj;}
public void setSksj(String sksj) {this.sksj = sksj;}
public String getSkbj() {return skbj;}
public void setSkbj(String skbj) {this.skbj = skbj;}
public String getSkxq() {return skxq;}
public void setSkxq(String skxq) {this.skxq = skxq;}
public Integer getV1() {return v1;}
public void setV1(Integer v1) {this.v1 = v1;}
public Integer getV2() {return v2;}
public void setV2(Integer v2) {this.v2 = v2;}
public Integer getV3() {return v3;}
public void setV3(Integer v3) {this.v3 = v3;}
public Integer getV4() {return v4;}
public void setV4(Integer v4) {this.v4 = v4;}
}

Java

Copy

试卷题目javaBean创建语句如下:

package project.model;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;
@Entity//试卷题目
@Table(name = "t_examlist")
public class Examlist {
//主键
@Id
@Column(name = "id")
@GeneratedValue(strategy = GenerationType.IDENTITY)
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//试卷
private Integer examId;
//题目
private Integer examtmId;
public Integer getExamId() {return examId;}
public void setExamId(Integer examId) {this.examId = examId;}
public Integer getExamtmId() {return examtmId;}
public void setExamtmId(Integer examtmId) {this.examtmId = examtmId;}
}

Java

Copy

考试题目javaBean创建语句如下:

package project.model;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;
@Entity//考试题目
@Table(name = "t_examtm")
public class Examtm {
//主键
@Id
@Column(name = "id")
@GeneratedValue(strategy = GenerationType.IDENTITY)
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//类型
private Integer types;
//题目标题
private String v1;
//选项A
private String v2;
//选项B
private String v3;
//选项C
private String v4;
//选项D
private String v5;
//答案
private String v6;
//题目
private String v7;
//答案
private String v8;
//题目
private String v9;
//答案
private String v10;
//
private String fl;
public Integer getTypes() {return types;}
public void setTypes(Integer types) {this.types = types;}
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 getV6() {return v6;}
public void setV6(String v6) {this.v6 = v6;}
public String getV7() {return v7;}
public void setV7(String v7) {this.v7 = v7;}
public String getV8() {return v8;}
public void setV8(String v8) {this.v8 = v8;}
public String getV9() {return v9;}
public void setV9(String v9) {this.v9 = v9;}
public String getV10() {return v10;}
public void setV10(String v10) {this.v10 = v10;}
public String getFl() {return fl;}
public void setFl(String fl) {this.fl = fl;}
}

Java

Copy

积分兑换产品javaBean创建语句如下:

package project.model;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;
@Entity//积分兑换产品
@Table(name = "t_jfdh")
public class Jfdh {
//主键
@Id
@Column(name = "id")
@GeneratedValue(strategy = GenerationType.IDENTITY)
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//积分产品名称
private String jfName;
//积分数量
private Integer jfCost;
//产品图片
private String jfPic;
public String getJfName() {return jfName;}
public void setJfName(String jfName) {this.jfName = jfName;}
public Integer getJfCost() {return jfCost;}
public void setJfCost(Integer jfCost) {this.jfCost = jfCost;}
public String getJfPic() {return jfPic;}
public void setJfPic(String jfPic) {this.jfPic = jfPic;}
}

Java

Copy

库存javaBean创建语句如下:

package project.model;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;
@Entity//库存
@Table(name = "t_kc")
public class Kc {
//主键
@Id
@Column(name = "id")
@GeneratedValue(strategy = GenerationType.IDENTITY)
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//产品
private Integer productId;
//库存数量
private Integer kcNum;
//日期
private Date insertDate;
public Integer getProductId() {return productId;}
public void setProductId(Integer productId) {this.productId = productId;}
public Integer getKcNum() {return kcNum;}
public void setKcNum(Integer kcNum) {this.kcNum = kcNum;}
public Date getInsertDate() {return insertDate;}
public void setInsertDate(Date insertDate) {this.insertDate = insertDate;}
}

Java

Copy

轮播图javaBean创建语句如下:

package project.model;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;
@Entity//轮播图
@Table(name = "t_lbt")
public class Lbt {
//主键
@Id
@Column(name = "id")
@GeneratedValue(strategy = GenerationType.IDENTITY)
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//图片
private String pic;
public String getPic() {return pic;}
public void setPic(String pic) {this.pic = pic;}
}

Java

Copy

留言javaBean创建语句如下:

package project.model;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;
@Entity//留言
@Table(name = "t_liuyan")
public class Liuyan {
//主键
@Id
@Column(name = "id")
@GeneratedValue(strategy = GenerationType.IDENTITY)
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//用户
private Integer customerId;
//内容
private String content;
//日期
private Date insertDate;
//回复
private String back;
//状态
private String status;
public Integer getCustomerId() {return customerId;}
public void setCustomerId(Integer customerId) {this.customerId = customerId;}
public String getContent() {return content;}
public void setContent(String content) {this.content = content;}
public Date getInsertDate() {return insertDate;}
public void setInsertDate(Date insertDate) {this.insertDate = insertDate;}
public String getBack() {return back;}
public void setBack(String back) {this.back = back;}
public String getStatus() {return status;}
public void setStatus(String status) {this.status = status;}
}

Java

Copy

信息交流javaBean创建语句如下:

package project.model;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;
@Entity//信息交流
@Table(name = "t_message")
public class Message {
//主键
@Id
@Column(name = "id")
@GeneratedValue(strategy = GenerationType.IDENTITY)
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//用户
private Integer customerId;
//内容
private String messageContent;
//
private Integer types;
//时间
private Date insertDate;
public Integer getCustomerId() {return customerId;}
public void setCustomerId(Integer customerId) {this.customerId = customerId;}
public String getMessageContent() {return messageContent;}
public void setMessageContent(String messageContent) {this.messageContent = messageContent;}
public Integer getTypes() {return types;}
public void setTypes(Integer types) {this.types = types;}
public Date getInsertDate() {return insertDate;}
public void setInsertDate(Date insertDate) {this.insertDate = insertDate;}
}

Java

Copy

订单javaBean创建语句如下:

package project.model;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;
@Entity//订单
@Table(name = "t_order")
public class Order {
//主键
@Id
@Column(name = "id")
@GeneratedValue(strategy = GenerationType.IDENTITY)
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//用户
private Integer customerId;
//订单详细
private String productDetail;
//订单总价格
private String allPrice;
//状态
private String status;
//订单编号
private String orderNum;
//物流信息
private String pl;
//日期
private Date insertDate;
//
private Integer userId;
//
private String orderDate;
//
private String address;
//
private String xj;
//
private String pic;
//
private String content;
//
private Date plDate;
//
private String plr;
public Integer getCustomerId() {return customerId;}
public void setCustomerId(Integer customerId) {this.customerId = customerId;}
public String getProductDetail() {return productDetail;}
public void setProductDetail(String productDetail) {this.productDetail = productDetail;}
public String getAllPrice() {return allPrice;}
public void setAllPrice(String allPrice) {this.allPrice = allPrice;}
public String getStatus() {return status;}
public void setStatus(String status) {this.status = status;}
public String getOrderNum() {return orderNum;}
public void setOrderNum(String orderNum) {this.orderNum = orderNum;}
public String getPl() {return pl;}
public void setPl(String pl) {this.pl = pl;}
public Date getInsertDate() {return insertDate;}
public void setInsertDate(Date insertDate) {this.insertDate = insertDate;}
public Integer getUserId() {return userId;}
public void setUserId(Integer userId) {this.userId = userId;}
public String getOrderDate() {return orderDate;}
public void setOrderDate(String orderDate) {this.orderDate = orderDate;}
public String getAddress() {return address;}
public void setAddress(String address) {this.address = address;}
public String 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;}
}

Java

Copy

订单详情javaBean创建语句如下:

package project.model;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;
@Entity//订单详情
@Table(name = "t_orderlist")
public class Orderlist {
//主键
@Id
@Column(name = "id")
@GeneratedValue(strategy = GenerationType.IDENTITY)
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//用户
private Integer customerId;
//订单
private Integer orderId;
//菜品
private Integer productId;
//
private Integer sl;
//
private String productName;
//
private Integer price;
//
private String productPic1;
//
private String xj;
//
private String content;
//
private Date plDate;
//
private String pic;
//
private String customerName;
public Integer getCustomerId() {return customerId;}
public void setCustomerId(Integer customerId) {this.customerId = customerId;}
public Integer getOrderId() {return orderId;}
public void setOrderId(Integer orderId) {this.orderId = orderId;}
public Integer getProductId() {return productId;}
public void setProductId(Integer productId) {this.productId = productId;}
public Integer getSl() {return sl;}
public void setSl(Integer sl) {this.sl = sl;}
public String getProductName() {return productName;}
public void setProductName(String productName) {this.productName = productName;}
public Integer getPrice() {return price;}
public void setPrice(Integer 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;}
}

Java

Copy

评论javaBean创建语句如下:

package project.model;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;
@Entity//评论
@Table(name = "t_pinglun")
public class Pinglun {
//主键
@Id
@Column(name = "id")
@GeneratedValue(strategy = GenerationType.IDENTITY)
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//评论信息
private Integer wdxxId;
//评论人
private Integer customerId;
//评论内容
private String content;
//评论日期
private Date insertDate;
public Integer getWdxxId() {return wdxxId;}
public void setWdxxId(Integer wdxxId) {this.wdxxId = wdxxId;}
public Integer getCustomerId() {return customerId;}
public void setCustomerId(Integer customerId) {this.customerId = customerId;}
public String getContent() {return content;}
public void setContent(String content) {this.content = content;}
public Date getInsertDate() {return insertDate;}
public void setInsertDate(Date insertDate) {this.insertDate = insertDate;}
}

Java

Copy

javaBean创建语句如下:

package project.model;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;
@Entity//
@Table(name = "t_pinglun_product")
public class Pinglun_product {
//主键
@Id
@Column(name = "id")
@GeneratedValue(strategy = GenerationType.IDENTITY)
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//评论信息
private Integer productId;
//评论人
private Integer customerId;
//评论内容
private String content;
//评论日期
private Date insertDate;
//星级
private String xj;
//
private String pic;
public Integer getProductId() {return productId;}
public void setProductId(Integer productId) {this.productId = productId;}
public Integer getCustomerId() {return customerId;}
public void setCustomerId(Integer customerId) {this.customerId = customerId;}
public String getContent() {return content;}
public void setContent(String content) {this.content = content;}
public Date getInsertDate() {return insertDate;}
public void setInsertDate(Date insertDate) {this.insertDate = insertDate;}
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;}
}

Java

Copy

产品javaBean创建语句如下:

package project.model;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;
@Entity//产品
@Table(name = "t_product")
public class Product {
//主键
@Id
@Column(name = "id")
@GeneratedValue(strategy = GenerationType.IDENTITY)
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//产品名称
private String productName;
//图片1
private String productPic1;
//图片2
private String productPic2;
//图片3
private String productPic3;
//图片4
private String productPic4;
//价格
private Integer price;
//原价
private Integer oldPrice;
//内容
private String content;
//数量
private Integer nums;
//推荐星级
private String tjxj;
//状态
private String status;
//分类
private Integer typesId;
//积分
private Integer jf;
//商家
private Integer userId;
//标签
private Integer bqId;
public String getProductName() {return productName;}
public void setProductName(String productName) {this.productName = productName;}
public String getProductPic1() {return productPic1;}
public void setProductPic1(String productPic1) {this.productPic1 = productPic1;}
public String getProductPic2() {return productPic2;}
public void setProductPic2(String productPic2) {this.productPic2 = productPic2;}
public String getProductPic3() {return productPic3;}
public void setProductPic3(String productPic3) {this.productPic3 = productPic3;}
public String getProductPic4() {return productPic4;}
public void setProductPic4(String productPic4) {this.productPic4 = productPic4;}
public Integer getPrice() {return price;}
public void setPrice(Integer price) {this.price = price;}
public Integer getOldPrice() {return oldPrice;}
public void setOldPrice(Integer oldPrice) {this.oldPrice = oldPrice;}
public String getContent() {return content;}
public void setContent(String content) {this.content = content;}
public Integer getNums() {return nums;}
public void setNums(Integer nums) {this.nums = nums;}
public String getTjxj() {return tjxj;}
public void setTjxj(String tjxj) {this.tjxj = tjxj;}
public String getStatus() {return status;}
public void setStatus(String status) {this.status = status;}
public Integer getTypesId() {return typesId;}
public void setTypesId(Integer typesId) {this.typesId = typesId;}
public Integer getJf() {return jf;}
public void setJf(Integer jf) {this.jf = jf;}
public Integer getUserId() {return userId;}
public void setUserId(Integer userId) {this.userId = userId;}
public Integer getBqId() {return bqId;}
public void setBqId(Integer bqId) {this.bqId = bqId;}
}

Java

Copy

浏览记录javaBean创建语句如下:

package project.model;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;
@Entity//浏览记录
@Table(name = "t_productview")
public class Productview {
//主键
@Id
@Column(name = "id")
@GeneratedValue(strategy = GenerationType.IDENTITY)
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//产品
private Integer productId;
//用户
private Integer customerId;
//日期
private Date insertDate;
public Integer getProductId() {return productId;}
public void setProductId(Integer productId) {this.productId = productId;}
public Integer getCustomerId() {return customerId;}
public void setCustomerId(Integer customerId) {this.customerId = customerId;}
public Date getInsertDate() {return insertDate;}
public void setInsertDate(Date insertDate) {this.insertDate = insertDate;}
}

Java

Copy

购物车javaBean创建语句如下:

package project.model;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;
@Entity//购物车
@Table(name = "t_shopcar")
public class Shopcar {
//主键
@Id
@Column(name = "id")
@GeneratedValue(strategy = GenerationType.IDENTITY)
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//产品
private Integer productId;
//数量
private Integer num;
//
private Integer customerId;
public Integer getProductId() {return productId;}
public void setProductId(Integer productId) {this.productId = productId;}
public Integer getNum() {return num;}
public void setNum(Integer num) {this.num = num;}
public Integer getCustomerId() {return customerId;}
public void setCustomerId(Integer customerId) {this.customerId = customerId;}
}

Java

Copy

收藏javaBean创建语句如下:

package project.model;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;
@Entity//收藏
@Table(name = "t_shoucang")
public class Shoucang {
//主键
@Id
@Column(name = "id")
@GeneratedValue(strategy = GenerationType.IDENTITY)
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//产品
private Integer productId;
//用户
private Integer customerId;
//日期
private Date insertDate;
public Integer getProductId() {return productId;}
public void setProductId(Integer productId) {this.productId = productId;}
public Integer getCustomerId() {return customerId;}
public void setCustomerId(Integer customerId) {this.customerId = customerId;}
public Date getInsertDate() {return insertDate;}
public void setInsertDate(Date insertDate) {this.insertDate = insertDate;}
}

Java

Copy

分类javaBean创建语句如下:

package project.model;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;
@Entity//分类
@Table(name = "t_types")
public class Types {
//主键
@Id
@Column(name = "id")
@GeneratedValue(strategy = GenerationType.IDENTITY)
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//分类
private String typesName;
public String getTypesName() {return typesName;}
public void setTypesName(String typesName) {this.typesName = typesName;}
}

Java

Copy

普通员工javaBean创建语句如下:

package project.model;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;
@Entity//普通员工
@Table(name = "t_user")
public class User {
//主键
@Id
@Column(name = "id")
@GeneratedValue(strategy = GenerationType.IDENTITY)
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//账号
private String username;
//密码
private String password;
//姓名
private String name;
//工号
private String gh;
//手机
private String mobile;
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;}
}

Java

Copy

我的消息javaBean创建语句如下:

package project.model;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;
@Entity//我的消息
@Table(name = "t_wdxx")
public class Wdxx {
//主键
@Id
@Column(name = "id")
@GeneratedValue(strategy = GenerationType.IDENTITY)
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//我
private Integer customerId;
//标题
private String title;
//图片
private String pic;
//内容
private String content;
//赞
private Integer zan;
//发布日期
private Date insertDate;
//游客是否可见
private String nologin;
//
private Integer bkId;
public Integer getCustomerId() {return customerId;}
public void setCustomerId(Integer customerId) {this.customerId = customerId;}
public String getTitle() {return title;}
public void setTitle(String title) {this.title = title;}
public String 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 Integer getZan() {return zan;}
public void setZan(Integer 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 Integer getBkId() {return bkId;}
public void setBkId(Integer bkId) {this.bkId = bkId;}
}

Java

Copy

作业javaBean创建语句如下:

package project.model;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;
@Entity//作业
@Table(name = "t_zuoye")
public class Zuoye {
//主键
@Id
@Column(name = "id")
@GeneratedValue(strategy = GenerationType.IDENTITY)
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//用户
private Integer customerId;
//说明
private String content;
//附件
private String fileUrl;
//日期
private Date insertDate;
//回复
private String back;
//评分
private Integer pf;
//状态
private String status;
public Integer getCustomerId() {return customerId;}
public void setCustomerId(Integer customerId) {this.customerId = customerId;}
public String getContent() {return content;}
public void setContent(String content) {this.content = content;}
public String getFileUrl() {return fileUrl;}
public void setFileUrl(String fileUrl) {this.fileUrl = fileUrl;}
public Date getInsertDate() {return insertDate;}
public void setInsertDate(Date insertDate) {this.insertDate = insertDate;}
public String getBack() {return back;}
public void setBack(String back) {this.back = back;}
public Integer getPf() {return pf;}
public void setPf(Integer pf) {this.pf = pf;}
public String getStatus() {return status;}
public void setStatus(String status) {this.status = status;}
}

Java

Copy

资讯javaBean创建语句如下:

package project.model;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;
@Entity//资讯
@Table(name = "t_zx")
public class Zx {
//主键
@Id
@Column(name = "id")
@GeneratedValue(strategy = GenerationType.IDENTITY)
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//标题
private String title;
//内容
private String content;
//图片
private String pic;
//
private String showDate;
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;}
}

Java

Copy

基于Android的移动学习平台设计spring+springMVC+mybatis框架对象(javaBean,pojo)设计:

地址javaBean创建语句如下:

package project.model;
import org.springframework.format.annotation.DateTimeFormat;
import java.util.Date;//地址
public class Address  extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//用户
private Integer customerId;
//电话
private String phone;
//地址
private String addressVal;
//姓名
private String addressName;
//是否默认
private String ismoren;
//
private String province;
//
private String city;
//
private String area;
public Integer getCustomerId() {return customerId;}
public void setCustomerId(Integer customerId) {this.customerId = customerId;}
public String getPhone() {return phone;}
public void setPhone(String phone) {this.phone = phone;}
public String 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;}
}

Java

Copy

分类javaBean创建语句如下:

package project.model;
import org.springframework.format.annotation.DateTimeFormat;
import java.util.Date;//分类
public class Bk  extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//分类名称
private String bkName;
public String getBkName() {return bkName;}
public void setBkName(String bkName) {this.bkName = bkName;}
}

Java

Copy

标签javaBean创建语句如下:

package project.model;
import org.springframework.format.annotation.DateTimeFormat;
import java.util.Date;//标签
public class Bq  extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//标签
private String bqName;
public String getBqName() {return bqName;}
public void setBqName(String bqName) {this.bqName = bqName;}
}

Java

Copy

建议javaBean创建语句如下:

package project.model;
import org.springframework.format.annotation.DateTimeFormat;
import java.util.Date;//建议
public class Contact  extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//用户
private Integer customerId;
//联系方式
private String phone;
//内容
private String content;
//日期
private Date insertDate;
public Integer getCustomerId() {return customerId;}
public void setCustomerId(Integer customerId) {this.customerId = customerId;}
public String getPhone() {return phone;}
public void setPhone(String phone) {this.phone = phone;}
public String getContent() {return content;}
public void setContent(String content) {this.content = content;}
public Date getInsertDate() {return insertDate;}
public void setInsertDate(Date insertDate) {this.insertDate = insertDate;}
}

Java

Copy

客户javaBean创建语句如下:

package project.model;
import org.springframework.format.annotation.DateTimeFormat;
import java.util.Date;//客户
public class Customer  extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//账号
private String username;
//密码
private String password;
//姓名
private String customerName;
//性别
private String sex;
//地址
private String address;
//手机
private String phone;
//账户
private Integer account;
//积分
private Integer jf;
//邮箱
private String email;
//头像
private String headPic;
public String getUsername() {return username;}
public void setUsername(String username) {this.username = username;}
public String getPassword() {return password;}
public void setPassword(String password) {this.password = password;}
public String getCustomerName() {return customerName;}
public void setCustomerName(String customerName) {this.customerName = customerName;}
public String getSex() {return sex;}
public void setSex(String sex) {this.sex = sex;}
public String getAddress() {return address;}
public void setAddress(String address) {this.address = address;}
public String getPhone() {return phone;}
public void setPhone(String phone) {this.phone = phone;}
public Integer getAccount() {return account;}
public void setAccount(Integer account) {this.account = account;}
public Integer getJf() {return jf;}
public void setJf(Integer jf) {this.jf = jf;}
public String getEmail() {return email;}
public void setEmail(String email) {this.email = email;}
public String getHeadPic() {return headPic;}
public void setHeadPic(String headPic) {this.headPic = headPic;}
}

Java

Copy

课程javaBean创建语句如下:

package project.model;
import org.springframework.format.annotation.DateTimeFormat;
import java.util.Date;//课程
public class Exam  extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//课程名称
private String examName;
//日期
private String showDate;
//状态
private String status;
//
private String ny;
//
private Integer sj;
//授课老师
private String skls;
//授课对象
private String skdx;
//授课时间
private String sksj;
//授课班级
private String skbj;
//授课学期
private String skxq;
//
private String ppp;
public String getExamName() {return examName;}
public void setExamName(String examName) {this.examName = examName;}
public String getShowDate() {return showDate;}
public void setShowDate(String showDate) {this.showDate = showDate;}
public String getStatus() {return status;}
public void setStatus(String status) {this.status = status;}
public String getNy() {return ny;}
public void setNy(String ny) {this.ny = ny;}
public Integer getSj() {return sj;}
public void setSj(Integer sj) {this.sj = sj;}
public String getSkls() {return skls;}
public void setSkls(String skls) {this.skls = skls;}
public String getSkdx() {return skdx;}
public void setSkdx(String skdx) {this.skdx = skdx;}
public String getSksj() {return sksj;}
public void setSksj(String sksj) {this.sksj = sksj;}
public String getSkbj() {return skbj;}
public void setSkbj(String skbj) {this.skbj = skbj;}
public String getSkxq() {return skxq;}
public void setSkxq(String skxq) {this.skxq = skxq;}
public String getPpp() {return ppp;}
public void setPpp(String ppp) {this.ppp = ppp;}
}

Java

Copy

答案javaBean创建语句如下:

package project.model;
import org.springframework.format.annotation.DateTimeFormat;
import java.util.Date;//答案
public class Examanswer  extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//用户
private Integer customerId;
//试卷名称
private String examName;
//日期
private Date insertDate;
//题目
private String tm;
//客户答案
private String da;
//正确答案
private String answer;
//
private String batchId;
//
private String df;
//
private Integer v1;
//
private Integer v2;
//
private Integer v3;
//
private String isdl;
//
private String skbj;
//
private String skxq;
//
private Integer types;
//
private Integer examId;
//
private Integer v1all;
//
private Integer v2all;
//
private Integer v3all;
//
private Integer v4all;
public Integer getCustomerId() {return customerId;}
public void setCustomerId(Integer customerId) {this.customerId = customerId;}
public String getExamName() {return examName;}
public void setExamName(String examName) {this.examName = examName;}
public Date getInsertDate() {return insertDate;}
public void setInsertDate(Date insertDate) {this.insertDate = insertDate;}
public String getTm() {return tm;}
public void setTm(String tm) {this.tm = tm;}
public String getDa() {return da;}
public void setDa(String da) {this.da = da;}
public String getAnswer() {return answer;}
public void setAnswer(String answer) {this.answer = answer;}
public String getBatchId() {return batchId;}
public void setBatchId(String batchId) {this.batchId = batchId;}
public String getDf() {return df;}
public void setDf(String df) {this.df = df;}
public Integer getV1() {return v1;}
public void setV1(Integer v1) {this.v1 = v1;}
public Integer getV2() {return v2;}
public void setV2(Integer v2) {this.v2 = v2;}
public Integer getV3() {return v3;}
public void setV3(Integer v3) {this.v3 = v3;}
public String getIsdl() {return isdl;}
public void setIsdl(String isdl) {this.isdl = isdl;}
public String getSkbj() {return skbj;}
public void setSkbj(String skbj) {this.skbj = skbj;}
public String getSkxq() {return skxq;}
public void setSkxq(String skxq) {this.skxq = skxq;}
public Integer getTypes() {return types;}
public void setTypes(Integer types) {this.types = types;}
public Integer getExamId() {return examId;}
public void setExamId(Integer examId) {this.examId = examId;}
public Integer getV1all() {return v1all;}
public void setV1all(Integer v1all) {this.v1all = v1all;}
public Integer getV2all() {return v2all;}
public void setV2all(Integer v2all) {this.v2all = v2all;}
public Integer getV3all() {return v3all;}
public void setV3all(Integer v3all) {this.v3all = v3all;}
public Integer getV4all() {return v4all;}
public void setV4all(Integer v4all) {this.v4all = v4all;}
}

Java

Copy

javaBean创建语句如下:

package project.model;
import org.springframework.format.annotation.DateTimeFormat;
import java.util.Date;//
public class Examas  extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//课程名称
private String examName;
//日期
private String showDate;
//状态
private String status;
//
private String ny;
//
private Integer sj;
//授课老师
private String skls;
//授课对象
private String skdx;
//授课时间
private String sksj;
//授课班级
private String skbj;
//授课学期
private String skxq;
//
private Integer v1;
//
private Integer v2;
//
private Integer v3;
//
private Integer v4;
public String getExamName() {return examName;}
public void setExamName(String examName) {this.examName = examName;}
public String getShowDate() {return showDate;}
public void setShowDate(String showDate) {this.showDate = showDate;}
public String getStatus() {return status;}
public void setStatus(String status) {this.status = status;}
public String getNy() {return ny;}
public void setNy(String ny) {this.ny = ny;}
public Integer getSj() {return sj;}
public void setSj(Integer sj) {this.sj = sj;}
public String getSkls() {return skls;}
public void setSkls(String skls) {this.skls = skls;}
public String getSkdx() {return skdx;}
public void setSkdx(String skdx) {this.skdx = skdx;}
public String getSksj() {return sksj;}
public void setSksj(String sksj) {this.sksj = sksj;}
public String getSkbj() {return skbj;}
public void setSkbj(String skbj) {this.skbj = skbj;}
public String getSkxq() {return skxq;}
public void setSkxq(String skxq) {this.skxq = skxq;}
public Integer getV1() {return v1;}
public void setV1(Integer v1) {this.v1 = v1;}
public Integer getV2() {return v2;}
public void setV2(Integer v2) {this.v2 = v2;}
public Integer getV3() {return v3;}
public void setV3(Integer v3) {this.v3 = v3;}
public Integer getV4() {return v4;}
public void setV4(Integer v4) {this.v4 = v4;}
}

Java

Copy

试卷题目javaBean创建语句如下:

package project.model;
import org.springframework.format.annotation.DateTimeFormat;
import java.util.Date;//试卷题目
public class Examlist  extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//试卷
private Integer examId;
//题目
private Integer examtmId;
public Integer getExamId() {return examId;}
public void setExamId(Integer examId) {this.examId = examId;}
public Integer getExamtmId() {return examtmId;}
public void setExamtmId(Integer examtmId) {this.examtmId = examtmId;}
}

Java

Copy

考试题目javaBean创建语句如下:

package project.model;
import org.springframework.format.annotation.DateTimeFormat;
import java.util.Date;//考试题目
public class Examtm  extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//类型
private Integer types;
//题目标题
private String v1;
//选项A
private String v2;
//选项B
private String v3;
//选项C
private String v4;
//选项D
private String v5;
//答案
private String v6;
//题目
private String v7;
//答案
private String v8;
//题目
private String v9;
//答案
private String v10;
//
private String fl;
public Integer getTypes() {return types;}
public void setTypes(Integer types) {this.types = types;}
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 getV6() {return v6;}
public void setV6(String v6) {this.v6 = v6;}
public String getV7() {return v7;}
public void setV7(String v7) {this.v7 = v7;}
public String getV8() {return v8;}
public void setV8(String v8) {this.v8 = v8;}
public String getV9() {return v9;}
public void setV9(String v9) {this.v9 = v9;}
public String getV10() {return v10;}
public void setV10(String v10) {this.v10 = v10;}
public String getFl() {return fl;}
public void setFl(String fl) {this.fl = fl;}
}

Java

Copy

积分兑换产品javaBean创建语句如下:

package project.model;
import org.springframework.format.annotation.DateTimeFormat;
import java.util.Date;//积分兑换产品
public class Jfdh  extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//积分产品名称
private String jfName;
//积分数量
private Integer jfCost;
//产品图片
private String jfPic;
public String getJfName() {return jfName;}
public void setJfName(String jfName) {this.jfName = jfName;}
public Integer getJfCost() {return jfCost;}
public void setJfCost(Integer jfCost) {this.jfCost = jfCost;}
public String getJfPic() {return jfPic;}
public void setJfPic(String jfPic) {this.jfPic = jfPic;}
}

Java

Copy

库存javaBean创建语句如下:

package project.model;
import org.springframework.format.annotation.DateTimeFormat;
import java.util.Date;//库存
public class Kc  extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//产品
private Integer productId;
//库存数量
private Integer kcNum;
//日期
private Date insertDate;
public Integer getProductId() {return productId;}
public void setProductId(Integer productId) {this.productId = productId;}
public Integer getKcNum() {return kcNum;}
public void setKcNum(Integer kcNum) {this.kcNum = kcNum;}
public Date getInsertDate() {return insertDate;}
public void setInsertDate(Date insertDate) {this.insertDate = insertDate;}
}

Java

Copy

轮播图javaBean创建语句如下:

package project.model;
import org.springframework.format.annotation.DateTimeFormat;
import java.util.Date;//轮播图
public class Lbt  extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//图片
private String pic;
public String getPic() {return pic;}
public void setPic(String pic) {this.pic = pic;}
}

Java

Copy

留言javaBean创建语句如下:

package project.model;
import org.springframework.format.annotation.DateTimeFormat;
import java.util.Date;//留言
public class Liuyan  extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//用户
private Integer customerId;
//内容
private String content;
//日期
private Date insertDate;
//回复
private String back;
//状态
private String status;
public Integer getCustomerId() {return customerId;}
public void setCustomerId(Integer customerId) {this.customerId = customerId;}
public String getContent() {return content;}
public void setContent(String content) {this.content = content;}
public Date getInsertDate() {return insertDate;}
public void setInsertDate(Date insertDate) {this.insertDate = insertDate;}
public String getBack() {return back;}
public void setBack(String back) {this.back = back;}
public String getStatus() {return status;}
public void setStatus(String status) {this.status = status;}
}

Java

Copy

信息交流javaBean创建语句如下:

package project.model;
import org.springframework.format.annotation.DateTimeFormat;
import java.util.Date;//信息交流
public class Message  extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//用户
private Integer customerId;
//内容
private String messageContent;
//
private Integer types;
//时间
private Date insertDate;
public Integer getCustomerId() {return customerId;}
public void setCustomerId(Integer customerId) {this.customerId = customerId;}
public String getMessageContent() {return messageContent;}
public void setMessageContent(String messageContent) {this.messageContent = messageContent;}
public Integer getTypes() {return types;}
public void setTypes(Integer types) {this.types = types;}
public Date getInsertDate() {return insertDate;}
public void setInsertDate(Date insertDate) {this.insertDate = insertDate;}
}

Java

Copy

订单javaBean创建语句如下:

package project.model;
import org.springframework.format.annotation.DateTimeFormat;
import java.util.Date;//订单
public class Order  extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//用户
private Integer customerId;
//订单详细
private String productDetail;
//订单总价格
private String allPrice;
//状态
private String status;
//订单编号
private String orderNum;
//物流信息
private String pl;
//日期
private Date insertDate;
//
private Integer userId;
//
private String orderDate;
//
private String address;
//
private String xj;
//
private String pic;
//
private String content;
//
private Date plDate;
//
private String plr;
public Integer getCustomerId() {return customerId;}
public void setCustomerId(Integer customerId) {this.customerId = customerId;}
public String getProductDetail() {return productDetail;}
public void setProductDetail(String productDetail) {this.productDetail = productDetail;}
public String getAllPrice() {return allPrice;}
public void setAllPrice(String allPrice) {this.allPrice = allPrice;}
public String getStatus() {return status;}
public void setStatus(String status) {this.status = status;}
public String getOrderNum() {return orderNum;}
public void setOrderNum(String orderNum) {this.orderNum = orderNum;}
public String getPl() {return pl;}
public void setPl(String pl) {this.pl = pl;}
public Date getInsertDate() {return insertDate;}
public void setInsertDate(Date insertDate) {this.insertDate = insertDate;}
public Integer getUserId() {return userId;}
public void setUserId(Integer userId) {this.userId = userId;}
public String getOrderDate() {return orderDate;}
public void setOrderDate(String orderDate) {this.orderDate = orderDate;}
public String getAddress() {return address;}
public void setAddress(String address) {this.address = address;}
public String 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;}
}

Java

Copy

订单详情javaBean创建语句如下:

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;}
//用户
private Integer customerId;
//订单
private Integer orderId;
//菜品
private Integer productId;
//
private Integer sl;
//
private String productName;
//
private Integer price;
//
private String productPic1;
//
private String xj;
//
private String content;
//
private Date plDate;
//
private String pic;
//
private String customerName;
public Integer getCustomerId() {return customerId;}
public void setCustomerId(Integer customerId) {this.customerId = customerId;}
public Integer getOrderId() {return orderId;}
public void setOrderId(Integer orderId) {this.orderId = orderId;}
public Integer getProductId() {return productId;}
public void setProductId(Integer productId) {this.productId = productId;}
public Integer getSl() {return sl;}
public void setSl(Integer sl) {this.sl = sl;}
public String getProductName() {return productName;}
public void setProductName(String productName) {this.productName = productName;}
public Integer getPrice() {return price;}
public void setPrice(Integer 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;}
}

Java

Copy

评论javaBean创建语句如下:

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;}
//评论信息
private Integer wdxxId;
//评论人
private Integer customerId;
//评论内容
private String content;
//评论日期
private Date insertDate;
public Integer getWdxxId() {return wdxxId;}
public void setWdxxId(Integer wdxxId) {this.wdxxId = wdxxId;}
public Integer getCustomerId() {return customerId;}
public void setCustomerId(Integer customerId) {this.customerId = customerId;}
public String getContent() {return content;}
public void setContent(String content) {this.content = content;}
public Date getInsertDate() {return insertDate;}
public void setInsertDate(Date insertDate) {this.insertDate = insertDate;}
}

Java

Copy

javaBean创建语句如下:

package project.model;
import org.springframework.format.annotation.DateTimeFormat;
import java.util.Date;//
public class Pinglun_product  extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//评论信息
private Integer productId;
//评论人
private Integer customerId;
//评论内容
private String content;
//评论日期
private Date insertDate;
//星级
private String xj;
//
private String pic;
public Integer getProductId() {return productId;}
public void setProductId(Integer productId) {this.productId = productId;}
public Integer getCustomerId() {return customerId;}
public void setCustomerId(Integer customerId) {this.customerId = customerId;}
public String getContent() {return content;}
public void setContent(String content) {this.content = content;}
public Date getInsertDate() {return insertDate;}
public void setInsertDate(Date insertDate) {this.insertDate = insertDate;}
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;}
}

Java

Copy

产品javaBean创建语句如下:

package project.model;
import org.springframework.format.annotation.DateTimeFormat;
import java.util.Date;//产品
public class Product  extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//产品名称
private String productName;
//图片1
private String productPic1;
//图片2
private String productPic2;
//图片3
private String productPic3;
//图片4
private String productPic4;
//价格
private Integer price;
//原价
private Integer oldPrice;
//内容
private String content;
//数量
private Integer nums;
//推荐星级
private String tjxj;
//状态
private String status;
//分类
private Integer typesId;
//积分
private Integer jf;
//商家
private Integer userId;
//标签
private Integer bqId;
public String getProductName() {return productName;}
public void setProductName(String productName) {this.productName = productName;}
public String getProductPic1() {return productPic1;}
public void setProductPic1(String productPic1) {this.productPic1 = productPic1;}
public String getProductPic2() {return productPic2;}
public void setProductPic2(String productPic2) {this.productPic2 = productPic2;}
public String getProductPic3() {return productPic3;}
public void setProductPic3(String productPic3) {this.productPic3 = productPic3;}
public String getProductPic4() {return productPic4;}
public void setProductPic4(String productPic4) {this.productPic4 = productPic4;}
public Integer getPrice() {return price;}
public void setPrice(Integer price) {this.price = price;}
public Integer getOldPrice() {return oldPrice;}
public void setOldPrice(Integer oldPrice) {this.oldPrice = oldPrice;}
public String getContent() {return content;}
public void setContent(String content) {this.content = content;}
public Integer getNums() {return nums;}
public void setNums(Integer nums) {this.nums = nums;}
public String getTjxj() {return tjxj;}
public void setTjxj(String tjxj) {this.tjxj = tjxj;}
public String getStatus() {return status;}
public void setStatus(String status) {this.status = status;}
public Integer getTypesId() {return typesId;}
public void setTypesId(Integer typesId) {this.typesId = typesId;}
public Integer getJf() {return jf;}
public void setJf(Integer jf) {this.jf = jf;}
public Integer getUserId() {return userId;}
public void setUserId(Integer userId) {this.userId = userId;}
public Integer getBqId() {return bqId;}
public void setBqId(Integer bqId) {this.bqId = bqId;}
}

Java

Copy

浏览记录javaBean创建语句如下:

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;}
//产品
private Integer productId;
//用户
private Integer customerId;
//日期
private Date insertDate;
public Integer getProductId() {return productId;}
public void setProductId(Integer productId) {this.productId = productId;}
public Integer getCustomerId() {return customerId;}
public void setCustomerId(Integer customerId) {this.customerId = customerId;}
public Date getInsertDate() {return insertDate;}
public void setInsertDate(Date insertDate) {this.insertDate = insertDate;}
}

Java

Copy

购物车javaBean创建语句如下:

package project.model;
import org.springframework.format.annotation.DateTimeFormat;
import java.util.Date;//购物车
public class Shopcar  extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//产品
private Integer productId;
//数量
private Integer num;
//
private Integer customerId;
public Integer getProductId() {return productId;}
public void setProductId(Integer productId) {this.productId = productId;}
public Integer getNum() {return num;}
public void setNum(Integer num) {this.num = num;}
public Integer getCustomerId() {return customerId;}
public void setCustomerId(Integer customerId) {this.customerId = customerId;}
}

Java

Copy

收藏javaBean创建语句如下:

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;}
//产品
private Integer productId;
//用户
private Integer customerId;
//日期
private Date insertDate;
public Integer getProductId() {return productId;}
public void setProductId(Integer productId) {this.productId = productId;}
public Integer getCustomerId() {return customerId;}
public void setCustomerId(Integer customerId) {this.customerId = customerId;}
public Date getInsertDate() {return insertDate;}
public void setInsertDate(Date insertDate) {this.insertDate = insertDate;}
}

Java

Copy

分类javaBean创建语句如下:

package project.model;
import org.springframework.format.annotation.DateTimeFormat;
import java.util.Date;//分类
public class Types  extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//分类
private String typesName;
public String getTypesName() {return typesName;}
public void setTypesName(String typesName) {this.typesName = typesName;}
}

Java

Copy

普通员工javaBean创建语句如下:

package project.model;
import org.springframework.format.annotation.DateTimeFormat;
import java.util.Date;//普通员工
public class User  extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//账号
private String username;
//密码
private String password;
//姓名
private String name;
//工号
private String gh;
//手机
private String mobile;
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;}
}

Java

Copy

我的消息javaBean创建语句如下:

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;}
//我
private Integer customerId;
//标题
private String title;
//图片
private String pic;
//内容
private String content;
//赞
private Integer zan;
//发布日期
private Date insertDate;
//游客是否可见
private String nologin;
//
private Integer bkId;
public Integer getCustomerId() {return customerId;}
public void setCustomerId(Integer customerId) {this.customerId = customerId;}
public String getTitle() {return title;}
public void setTitle(String title) {this.title = title;}
public String 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 Integer getZan() {return zan;}
public void setZan(Integer 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 Integer getBkId() {return bkId;}
public void setBkId(Integer bkId) {this.bkId = bkId;}
}

Java

Copy

作业javaBean创建语句如下:

package project.model;
import org.springframework.format.annotation.DateTimeFormat;
import java.util.Date;//作业
public class Zuoye  extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//用户
private Integer customerId;
//说明
private String content;
//附件
private String fileUrl;
//日期
private Date insertDate;
//回复
private String back;
//评分
private Integer pf;
//状态
private String status;
public Integer getCustomerId() {return customerId;}
public void setCustomerId(Integer customerId) {this.customerId = customerId;}
public String getContent() {return content;}
public void setContent(String content) {this.content = content;}
public String getFileUrl() {return fileUrl;}
public void setFileUrl(String fileUrl) {this.fileUrl = fileUrl;}
public Date getInsertDate() {return insertDate;}
public void setInsertDate(Date insertDate) {this.insertDate = insertDate;}
public String getBack() {return back;}
public void setBack(String back) {this.back = back;}
public Integer getPf() {return pf;}
public void setPf(Integer pf) {this.pf = pf;}
public String getStatus() {return status;}
public void setStatus(String status) {this.status = status;}
}

Java

Copy

资讯javaBean创建语句如下:

package project.model;
import org.springframework.format.annotation.DateTimeFormat;
import java.util.Date;//资讯
public class Zx  extends BaseBean{
//主键
private Integer id;
public Integer getId() {return id;}
public void setId(Integer id) {this.id = id;}
//标题
private String title;
//内容
private String content;
//图片
private String pic;
//
private String showDate;
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;}
}

Android毕业设计_基于Android的移动学习平台设计相关推荐

  1. Java毕业设计_基于Android的校园二手商品交易平台

    基于Android的校园二手商品交易平台 基于Android的校园二手商品交易平台mysql数据库创建语句 基于Android的校园二手商品交易平台oracle数据库创建语句 基于Android的校园 ...

  2. java毕业设计_基于Android的人人保险App

    基于Android的人人保险App的设计与实现mysql数据库创建语句 基于Android的人人保险App的设计与实现oracle数据库创建语句 基于Android的人人保险App的设计与实现sqls ...

  3. Java毕业设计_基于Android 的日用百货销售App

    基于Android 的日用百货销售App 基于Android 的日用百货销售Appmysql数据库创建语句 基于Android 的日用百货销售Apporacle数据库创建语句 基于Android 的日 ...

  4. Java毕业设计_基于Android的签到点名系统

    基于Android的签到点名系统 基于Android的签到点名系统mysql数据库创建语句 基于Android的签到点名系统oracle数据库创建语句 基于Android的签到点名系统sqlserve ...

  5. Java毕业设计_基于Android的智能导游APP设计与实现

    基于Android的智能导游APP设计与实现 基于Android的智能导游APP设计与实现mysql数据库创建语句 基于Android的智能导游APP设计与实现oracle数据库创建语句 基于Andr ...

  6. java android五子棋_基于android实现五子棋开发

    基于Android的五子棋的开发,供大家参考,具体内容如下 需求分析 1 棋盘和棋子绘制 2 按照五子棋的规则制定游戏胜负规则 3 鼠标响应 在对战中 需要通过鼠标点击下棋 进行游戏的基本操作 4 游 ...

  7. android毕业设计答辩,基于Android的“智慧校园”的设计与实现(任务书 中期检查 翻译 毕业论文 答辩 源码)...

    摘  要 移动互联网的发展,智能手机的普及,其中Android系统以其特有的技术优势占据了智能手机操作系统的主要份额,Android在移动领域得到了广泛的应用,已成为智能手机市场的领跑者,这使越来越多 ...

  8. java毕业设计_基于web的游泳馆管理系统的设计与实现

    基于web的游泳馆管理系统的设计与实现 基于web的游泳馆管理系统的设计与实现mysql数据库创建语句 基于web的游泳馆管理系统的设计与实现oracle数据库创建语句 基于web的游泳馆管理系统的设 ...

  9. Java毕业设计_基于HTML5的摄影社区的设计与实现

    基于HTML5的摄影社区的设计与实现 基于HTML5的摄影社区的设计与实现mysql数据库创建语句 基于HTML5的摄影社区的设计与实现oracle数据库创建语句 基于HTML5的摄影社区的设计与实现 ...

最新文章

  1. 【linux】Valgrind工具集详解(十二):DHAT:动态堆分析器
  2. 点击通知栏后打开Activity,并传参
  3. 楼盘历史价格管理导入功能优化
  4. 工大附中、铁一太牛了,2019年高分段人数令人震惊!
  5. iSensor APP 之 摄像头调试 OV3640 OV2640 MT9d112
  6. C# Replace函数与JS replace函数
  7. django-后台管理-表显示相关
  8. 20个开源Flutter项目推荐
  9. java lua脚本_请问该如何在Java中使用Lua脚本语言?
  10. Mysql提权之反弹shell
  11. 高等数学18讲(19版)反常积分的计算与敛散性判别
  12. 易辅客栈网页游戏脚本实战(绝世仙王)
  13. 7.camera驱动08-全志-media framework
  14. 高等数学:第九章 重积分(1)二重积分的概念、计算法和应用
  15. iPhone、iPad屏幕分辨率尺寸对比
  16. 天正菜单栏不见了怎么显示出来_天正建筑菜单栏不见了怎么调出来? _ 设计学院_设计软件教程自学网...
  17. Java8 - 定制归一化收集器(reducing)得到自定义结果集
  18. Django个人博客搭建教程---图片存储与展示
  19. 使用FlexPaper加载swf出现无法加载的问题
  20. web前端人员培训要学些什么?

热门文章

  1. ubuntu14.04中利用samba访问linux/windows共享目录的方法
  2. 罗德与施瓦茨CBT蓝牙测试仪
  3. 使用HTML5的Canvas和raycasting创建一个伪3D游戏(part1)
  4. (附源码)计算机毕业设计SSM基于Java的校园交友平台
  5. 【Codeforces 1041D】Glider
  6. 艾永亮:小天才手表如何成为业内巨头,大佬教你如何满足用户需求
  7. Chrome DevTools移动端调试
  8. 计算机大学生英语自我介绍ppt,计算机专业英语自我介绍的范文精选.doc
  9. 阿里平头哥 数字IC验证 校招一面面经
  10. 移远通信RM502Q-AE 5G模组率先获得T-Mobile认证证书