Advertisement

基于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');
    
    create table t_customer(
    	id int primary key auto_increment comment '主键',
    	username varchar(100) comment '账号',
    	password varchar(100) comment '密码',
    	customerName varchar(100) comment '姓名',
    	sex varchar(100) comment '性别',
    	address varchar(100) comment '地址',
    	phone varchar(100) comment '手机',
    	account int(11) comment '',
    	jf int(11) comment '',
    	email varchar(100) comment '居房屋面积',
    	headPic varchar(100) comment '头像'
    ) comment '业主';
    
    create table t_liuyan(
    	id int primary key auto_increment comment '主键',
    	customerId int(11) comment '用户',
    	content text comment '费用标题',
    	insertDate datetime comment '日期',
    	back text comment '金额',
    	status varchar(100) comment '状态',
    	v1 varchar(100) comment ''
    ) comment '缴费';
    
    create table t_pinglun(
    	id int primary key auto_increment comment '主键',
    	wdxxId int(11) comment '评论信息',
    	customerId int(11) comment '评论人',
    	content text comment '评论内容',
    	insertDate datetime comment '评论日期'
    ) comment '评论';
    
    create table t_product(
    	id int primary key auto_increment comment '主键',
    	productName varchar(100) comment '生活服务名称',
    	productPic1 varchar(100) comment '图片1',
    	productPic2 varchar(100) comment '图片2',
    	productPic3 varchar(100) comment '图片3',
    	productPic4 varchar(100) comment '图片4',
    	price int(11) comment '价格',
    	oldPrice int(11) comment '',
    	content text comment '内容',
    	nums int(11) comment '数量',
    	tjxj varchar(50) comment '推荐星级',
    	status varchar(50) comment '状态',
    	typesId int(11) comment '分类',
    	jf int(11) comment '积分',
    	userId int(11) comment '商家',
    	bqId int(11) comment '标签'
    ) comment '生活服务';
    
    create table t_productview(
    	id int primary key auto_increment comment '主键',
    	productId int(11) comment '生活服务',
    	customerId int(11) comment '用户',
    	insertDate datetime comment '日期'
    ) comment '浏览记录';
    
    create table t_shoucang(
    	id int primary key auto_increment comment '主键',
    	productId int(11) comment '生活服务',
    	customerId int(11) comment '用户',
    	insertDate datetime comment '日期'
    ) comment '收藏';
    
    create table t_temp1(
    	id int primary key auto_increment comment '主键',
    	title varchar(100) comment '备用表1标题',
    	pic varchar(100) comment '备用表1图片',
    	fileUrl varchar(100) comment '备用表1附件',
    	content text comment '备用表1内容',
    	insertDate datetime comment '入库时间',
    	v1 varchar(100) comment '备用表1v1',
    	v2 varchar(100) comment '备用表1v2',
    	v3 varchar(100) comment '备用表1v3',
    	v4 varchar(100) comment '备用表1v4',
    	v5 varchar(100) comment '备用表1v5',
    	status varchar(100) comment '状态'
    ) comment '备用表1';
    
    create table t_ts(
    	id int primary key auto_increment comment '主键',
    	customerId int(11) comment '用户',
    	content text comment '费用标题',
    	insertDate datetime comment '日期',
    	back text comment '金额',
    	status varchar(100) comment '状态'
    ) comment '投诉';
    
    create table t_types(
    	id int primary key auto_increment comment '主键',
    	typesName varchar(1000) comment '分类'
    ) comment '分类';
    
    create table t_user(
    	id int primary key auto_increment comment '主键',
    	username varchar(100) comment '账号',
    	password varchar(100) comment '密码',
    	name varchar(100) comment '姓名',
    	gh varchar(100) comment '工号',
    	mobile varchar(100) comment '手机'
    ) comment '普通员工';
    
    create table t_wdxx(
    	id int primary key auto_increment comment '主键',
    	customerId int(11) comment '我',
    	title varchar(100) comment '标题',
    	pic varchar(100) comment '图片',
    	content text comment '内容',
    	zan int(11) comment '赞',
    	insertDate datetime comment '发布日期',
    	nologin varchar(50) comment '游客是否可见',
    	bkId int(11) comment ''
    ) comment '论坛';
    
    create table t_zuoye(
    	id int primary key auto_increment comment '主键',
    	customerId int(11) comment '用户',
    	content text comment '说明',
    	fileUrl varchar(100) comment '图片',
    	insertDate datetime comment '日期',
    	back text comment '回复',
    	pf int(11) comment '',
    	status varchar(100) comment '状态'
    ) comment '报修';
    
    create table t_zx(
    	id int primary key auto_increment comment '主键',
    	title varchar(100) comment '标题',
    	content text comment '内容',
    	pic varchar(100) comment '图片',
    	showDate varchar(50) comment ''
    ) comment '商家展示';
    
    
    
    
    #############oracle数据库创建语句###################
    create table t_admin(
    	id int primary key auto_increment comment '主键',
    	username varchar(100) comment '超级管理员账号',
    	password varchar(100) comment '超级管理员密码'
    ) comment '超级管理员';
    insert into t_admin(username,password) values('admin','123456');
    
    create table t_customer(
    	id int primary key auto_increment comment '主键',
    	username varchar(100) comment '账号',
    	password varchar(100) comment '密码',
    	customerName varchar(100) comment '姓名',
    	sex varchar(100) comment '性别',
    	address varchar(100) comment '地址',
    	phone varchar(100) comment '手机',
    	account int(11) comment '',
    	jf int(11) comment '',
    	email varchar(100) comment '居房屋面积',
    	headPic varchar(100) comment '头像'
    ) comment '业主';
    
    create table t_liuyan(
    	id int primary key auto_increment comment '主键',
    	customerId int(11) comment '用户',
    	content text comment '费用标题',
    	insertDate datetime comment '日期',
    	back text comment '金额',
    	status varchar(100) comment '状态',
    	v1 varchar(100) comment ''
    ) comment '缴费';
    
    create table t_pinglun(
    	id int primary key auto_increment comment '主键',
    	wdxxId int(11) comment '评论信息',
    	customerId int(11) comment '评论人',
    	content text comment '评论内容',
    	insertDate datetime comment '评论日期'
    ) comment '评论';
    
    create table t_product(
    	id int primary key auto_increment comment '主键',
    	productName varchar(100) comment '生活服务名称',
    	productPic1 varchar(100) comment '图片1',
    	productPic2 varchar(100) comment '图片2',
    	productPic3 varchar(100) comment '图片3',
    	productPic4 varchar(100) comment '图片4',
    	price int(11) comment '价格',
    	oldPrice int(11) comment '',
    	content text comment '内容',
    	nums int(11) comment '数量',
    	tjxj varchar(50) comment '推荐星级',
    	status varchar(50) comment '状态',
    	typesId int(11) comment '分类',
    	jf int(11) comment '积分',
    	userId int(11) comment '商家',
    	bqId int(11) comment '标签'
    ) comment '生活服务';
    
    create table t_productview(
    	id int primary key auto_increment comment '主键',
    	productId int(11) comment '生活服务',
    	customerId int(11) comment '用户',
    	insertDate datetime comment '日期'
    ) comment '浏览记录';
    
    create table t_shoucang(
    	id int primary key auto_increment comment '主键',
    	productId int(11) comment '生活服务',
    	customerId int(11) comment '用户',
    	insertDate datetime comment '日期'
    ) comment '收藏';
    
    create table t_temp1(
    	id int primary key auto_increment comment '主键',
    	title varchar(100) comment '备用表1标题',
    	pic varchar(100) comment '备用表1图片',
    	fileUrl varchar(100) comment '备用表1附件',
    	content text comment '备用表1内容',
    	insertDate datetime comment '入库时间',
    	v1 varchar(100) comment '备用表1v1',
    	v2 varchar(100) comment '备用表1v2',
    	v3 varchar(100) comment '备用表1v3',
    	v4 varchar(100) comment '备用表1v4',
    	v5 varchar(100) comment '备用表1v5',
    	status varchar(100) comment '状态'
    ) comment '备用表1';
    
    create table t_ts(
    	id int primary key auto_increment comment '主键',
    	customerId int(11) comment '用户',
    	content text comment '费用标题',
    	insertDate datetime comment '日期',
    	back text comment '金额',
    	status varchar(100) comment '状态'
    ) comment '投诉';
    
    create table t_types(
    	id int primary key auto_increment comment '主键',
    	typesName varchar(1000) comment '分类'
    ) comment '分类';
    
    create table t_user(
    	id int primary key auto_increment comment '主键',
    	username varchar(100) comment '账号',
    	password varchar(100) comment '密码',
    	name varchar(100) comment '姓名',
    	gh varchar(100) comment '工号',
    	mobile varchar(100) comment '手机'
    ) comment '普通员工';
    
    create table t_wdxx(
    	id int primary key auto_increment comment '主键',
    	customerId int(11) comment '我',
    	title varchar(100) comment '标题',
    	pic varchar(100) comment '图片',
    	content text comment '内容',
    	zan int(11) comment '赞',
    	insertDate datetime comment '发布日期',
    	nologin varchar(50) comment '游客是否可见',
    	bkId int(11) comment ''
    ) comment '论坛';
    
    create table t_zuoye(
    	id int primary key auto_increment comment '主键',
    	customerId int(11) comment '用户',
    	content text comment '说明',
    	fileUrl varchar(100) comment '图片',
    	insertDate datetime comment '日期',
    	back text comment '回复',
    	pf int(11) comment '',
    	status varchar(100) comment '状态'
    ) comment '报修';
    
    create table t_zx(
    	id int primary key auto_increment comment '主键',
    	title varchar(100) comment '标题',
    	content text comment '内容',
    	pic varchar(100) comment '图片',
    	showDate varchar(50) comment ''
    ) comment '商家展示';
    
    create table t_customer(
    	id integer,
    	username varchar(100),
    	password varchar(100),
    	customerName varchar(100),
    	sex varchar(100),
    	address varchar(100),
    	phone varchar(100),
    	account int(11),
    	jf int(11),
    	email varchar(100),
    	headPic varchar(100)
    );
    --业主字段加注释
    comment on column t_customer.id is '主键';
    comment on column t_customer.id is '主键唯一ID';
    comment on column t_customer.username is '账号';
    comment on column t_customer.password is '密码';
    comment on column t_customer.customerName is '姓名';
    comment on column t_customer.sex is '性别';
    comment on column t_customer.address is '地址';
    comment on column t_customer.phone is '手机';
    comment on column t_customer.account is '';
    comment on column t_customer.jf is '';
    comment on column t_customer.email is '居房屋面积';
    comment on column t_customer.headPic is '头像';
    --业主表加注释
    comment on table t_customer is '业主';
    
    create table t_liuyan(
    	id integer,
    	customerId int(11),
    	content text,
    	insertDate datetime,
    	back text,
    	status varchar(100),
    	v1 varchar(100)
    );
    --缴费字段加注释
    comment on column t_liuyan.id is '主键';
    comment on column t_liuyan.id is '主键唯一ID';
    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 column t_liuyan.v1 is '';
    --缴费表加注释
    comment on table t_liuyan is '缴费';
    
    create table t_pinglun(
    	id integer,
    	wdxxId int(11),
    	customerId int(11),
    	content text,
    	insertDate datetime
    );
    --评论字段加注释
    comment on column t_pinglun.id is '主键';
    comment on column t_pinglun.id is '主键唯一ID';
    comment on column t_pinglun.wdxxId is '评论信息';
    comment on column t_pinglun.customerId is '评论人';
    comment on column t_pinglun.content is '评论内容';
    comment on column t_pinglun.insertDate is '评论日期';
    --评论表加注释
    comment on table t_pinglun is '评论';
    
    create table t_product(
    	id integer,
    	productName varchar(100),
    	productPic1 varchar(100),
    	productPic2 varchar(100),
    	productPic3 varchar(100),
    	productPic4 varchar(100),
    	price int(11),
    	oldPrice int(11),
    	content text,
    	nums int(11),
    	tjxj varchar(50),
    	status varchar(50),
    	typesId int(11),
    	jf int(11),
    	userId int(11),
    	bqId int(11)
    );
    --生活服务字段加注释
    comment on column t_product.id is '主键';
    comment on column t_product.id is '主键唯一ID';
    comment on column t_product.productName is '生活服务名称';
    comment on column t_product.productPic1 is '图片1';
    comment on column t_product.productPic2 is '图片2';
    comment on column t_product.productPic3 is '图片3';
    comment on column t_product.productPic4 is '图片4';
    comment on column t_product.price is '价格';
    comment on column t_product.oldPrice is '';
    comment on column t_product.content is '内容';
    comment on column t_product.nums is '数量';
    comment on column t_product.tjxj is '推荐星级';
    comment on column t_product.status is '状态';
    comment on column t_product.typesId is '分类';
    comment on column t_product.jf is '积分';
    comment on column t_product.userId is '商家';
    comment on column t_product.bqId is '标签';
    --生活服务表加注释
    comment on table t_product is '生活服务';
    
    create table t_productview(
    	id integer,
    	productId int(11),
    	customerId int(11),
    	insertDate datetime
    );
    --浏览记录字段加注释
    comment on column t_productview.id is '主键';
    comment on column t_productview.id is '主键唯一ID';
    comment on column t_productview.productId is '生活服务';
    comment on column t_productview.customerId is '用户';
    comment on column t_productview.insertDate is '日期';
    --浏览记录表加注释
    comment on table t_productview is '浏览记录';
    
    create table t_shoucang(
    	id integer,
    	productId int(11),
    	customerId int(11),
    	insertDate datetime
    );
    --收藏字段加注释
    comment on column t_shoucang.id is '主键';
    comment on column t_shoucang.id is '主键唯一ID';
    comment on column t_shoucang.productId is '生活服务';
    comment on column t_shoucang.customerId is '用户';
    comment on column t_shoucang.insertDate is '日期';
    --收藏表加注释
    comment on table t_shoucang is '收藏';
    
    create table t_temp1(
    	id integer,
    	title varchar(100),
    	pic varchar(100),
    	fileUrl varchar(100),
    	content text,
    	insertDate datetime,
    	v1 varchar(100),
    	v2 varchar(100),
    	v3 varchar(100),
    	v4 varchar(100),
    	v5 varchar(100),
    	status varchar(100)
    );
    --备用表1字段加注释
    comment on column t_temp1.id is '主键';
    comment on column t_temp1.id is '主键唯一ID';
    comment on column t_temp1.title is '备用表1标题';
    comment on column t_temp1.pic is '备用表1图片';
    comment on column t_temp1.fileUrl is '备用表1附件';
    comment on column t_temp1.content is '备用表1内容';
    comment on column t_temp1.insertDate is '入库时间';
    comment on column t_temp1.v1 is '备用表1v1';
    comment on column t_temp1.v2 is '备用表1v2';
    comment on column t_temp1.v3 is '备用表1v3';
    comment on column t_temp1.v4 is '备用表1v4';
    comment on column t_temp1.v5 is '备用表1v5';
    comment on column t_temp1.status is '状态';
    --备用表1表加注释
    comment on table t_temp1 is '备用表1';
    
    create table t_ts(
    	id integer,
    	customerId int(11),
    	content text,
    	insertDate datetime,
    	back text,
    	status varchar(100)
    );
    --投诉字段加注释
    comment on column t_ts.id is '主键';
    comment on column t_ts.id is '主键唯一ID';
    comment on column t_ts.customerId is '用户';
    comment on column t_ts.content is '费用标题';
    comment on column t_ts.insertDate is '日期';
    comment on column t_ts.back is '金额';
    comment on column t_ts.status is '状态';
    --投诉表加注释
    comment on table t_ts is '投诉';
    
    create table t_types(
    	id integer,
    	typesName varchar(1000)
    );
    --分类字段加注释
    comment on column t_types.id is '主键';
    comment on column t_types.id is '主键唯一ID';
    comment on column t_types.typesName is '分类';
    --分类表加注释
    comment on table t_types is '分类';
    
    create table t_user(
    	id integer,
    	username varchar(100),
    	password varchar(100),
    	name varchar(100),
    	gh varchar(100),
    	mobile varchar(100)
    );
    --普通员工字段加注释
    comment on column t_user.id is '主键';
    comment on column t_user.id is '主键唯一ID';
    comment on column t_user.username is '账号';
    comment on column t_user.password is '密码';
    comment on column t_user.name is '姓名';
    comment on column t_user.gh is '工号';
    comment on column t_user.mobile is '手机';
    --普通员工表加注释
    comment on table t_user is '普通员工';
    
    create table t_wdxx(
    	id integer,
    	customerId int(11),
    	title varchar(100),
    	pic varchar(100),
    	content text,
    	zan int(11),
    	insertDate datetime,
    	nologin varchar(50),
    	bkId int(11)
    );
    --论坛字段加注释
    comment on column t_wdxx.id is '主键';
    comment on column t_wdxx.id is '主键唯一ID';
    comment on column t_wdxx.customerId is '我';
    comment on column t_wdxx.title is '标题';
    comment on column t_wdxx.pic is '图片';
    comment on column t_wdxx.content is '内容';
    comment on column t_wdxx.zan is '赞';
    comment on column t_wdxx.insertDate is '发布日期';
    comment on column t_wdxx.nologin is '游客是否可见';
    comment on column t_wdxx.bkId is '';
    --论坛表加注释
    comment on table t_wdxx is '论坛';
    
    create table t_zuoye(
    	id integer,
    	customerId int(11),
    	content text,
    	fileUrl varchar(100),
    	insertDate datetime,
    	back text,
    	pf int(11),
    	status varchar(100)
    );
    --报修字段加注释
    comment on column t_zuoye.id is '主键';
    comment on column t_zuoye.id is '主键唯一ID';
    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 '报修';
    
    create table t_zx(
    	id integer,
    	title varchar(100),
    	content text,
    	pic varchar(100),
    	showDate varchar(50)
    );
    --商家展示字段加注释
    comment on column t_zx.id is '主键';
    comment on column t_zx.id is '主键唯一ID';
    comment on column t_zx.title is '标题';
    comment on column t_zx.content is '内容';
    comment on column t_zx.pic is '图片';
    comment on column t_zx.showDate is '';
    --商家展示表加注释
    comment on table t_zx is '商家展示';
    
    
    
    
    #############sqlserver数据库创建语句###################
    create table t_admin(
    	id int primary key auto_increment comment '主键',
    	username varchar(100) comment '超级管理员账号',
    	password varchar(100) comment '超级管理员密码'
    ) comment '超级管理员';
    insert into t_admin(username,password) values('admin','123456');
    
    create table t_customer(
    	id int primary key auto_increment comment '主键',
    	username varchar(100) comment '账号',
    	password varchar(100) comment '密码',
    	customerName varchar(100) comment '姓名',
    	sex varchar(100) comment '性别',
    	address varchar(100) comment '地址',
    	phone varchar(100) comment '手机',
    	account int(11) comment '',
    	jf int(11) comment '',
    	email varchar(100) comment '居房屋面积',
    	headPic varchar(100) comment '头像'
    ) comment '业主';
    
    create table t_liuyan(
    	id int primary key auto_increment comment '主键',
    	customerId int(11) comment '用户',
    	content text comment '费用标题',
    	insertDate datetime comment '日期',
    	back text comment '金额',
    	status varchar(100) comment '状态',
    	v1 varchar(100) comment ''
    ) comment '缴费';
    
    create table t_pinglun(
    	id int primary key auto_increment comment '主键',
    	wdxxId int(11) comment '评论信息',
    	customerId int(11) comment '评论人',
    	content text comment '评论内容',
    	insertDate datetime comment '评论日期'
    ) comment '评论';
    
    create table t_product(
    	id int primary key auto_increment comment '主键',
    	productName varchar(100) comment '生活服务名称',
    	productPic1 varchar(100) comment '图片1',
    	productPic2 varchar(100) comment '图片2',
    	productPic3 varchar(100) comment '图片3',
    	productPic4 varchar(100) comment '图片4',
    	price int(11) comment '价格',
    	oldPrice int(11) comment '',
    	content text comment '内容',
    	nums int(11) comment '数量',
    	tjxj varchar(50) comment '推荐星级',
    	status varchar(50) comment '状态',
    	typesId int(11) comment '分类',
    	jf int(11) comment '积分',
    	userId int(11) comment '商家',
    	bqId int(11) comment '标签'
    ) comment '生活服务';
    
    create table t_productview(
    	id int primary key auto_increment comment '主键',
    	productId int(11) comment '生活服务',
    	customerId int(11) comment '用户',
    	insertDate datetime comment '日期'
    ) comment '浏览记录';
    
    create table t_shoucang(
    	id int primary key auto_increment comment '主键',
    	productId int(11) comment '生活服务',
    	customerId int(11) comment '用户',
    	insertDate datetime comment '日期'
    ) comment '收藏';
    
    create table t_temp1(
    	id int primary key auto_increment comment '主键',
    	title varchar(100) comment '备用表1标题',
    	pic varchar(100) comment '备用表1图片',
    	fileUrl varchar(100) comment '备用表1附件',
    	content text comment '备用表1内容',
    	insertDate datetime comment '入库时间',
    	v1 varchar(100) comment '备用表1v1',
    	v2 varchar(100) comment '备用表1v2',
    	v3 varchar(100) comment '备用表1v3',
    	v4 varchar(100) comment '备用表1v4',
    	v5 varchar(100) comment '备用表1v5',
    	status varchar(100) comment '状态'
    ) comment '备用表1';
    
    create table t_ts(
    	id int primary key auto_increment comment '主键',
    	customerId int(11) comment '用户',
    	content text comment '费用标题',
    	insertDate datetime comment '日期',
    	back text comment '金额',
    	status varchar(100) comment '状态'
    ) comment '投诉';
    
    create table t_types(
    	id int primary key auto_increment comment '主键',
    	typesName varchar(1000) comment '分类'
    ) comment '分类';
    
    create table t_user(
    	id int primary key auto_increment comment '主键',
    	username varchar(100) comment '账号',
    	password varchar(100) comment '密码',
    	name varchar(100) comment '姓名',
    	gh varchar(100) comment '工号',
    	mobile varchar(100) comment '手机'
    ) comment '普通员工';
    
    create table t_wdxx(
    	id int primary key auto_increment comment '主键',
    	customerId int(11) comment '我',
    	title varchar(100) comment '标题',
    	pic varchar(100) comment '图片',
    	content text comment '内容',
    	zan int(11) comment '赞',
    	insertDate datetime comment '发布日期',
    	nologin varchar(50) comment '游客是否可见',
    	bkId int(11) comment ''
    ) comment '论坛';
    
    create table t_zuoye(
    	id int primary key auto_increment comment '主键',
    	customerId int(11) comment '用户',
    	content text comment '说明',
    	fileUrl varchar(100) comment '图片',
    	insertDate datetime comment '日期',
    	back text comment '回复',
    	pf int(11) comment '',
    	status varchar(100) comment '状态'
    ) comment '报修';
    
    create table t_zx(
    	id int primary key auto_increment comment '主键',
    	title varchar(100) comment '标题',
    	content text comment '内容',
    	pic varchar(100) comment '图片',
    	showDate varchar(50) comment ''
    ) comment '商家展示';
    
    create table t_customer(
    	id integer,
    	username varchar(100),
    	password varchar(100),
    	customerName varchar(100),
    	sex varchar(100),
    	address varchar(100),
    	phone varchar(100),
    	account int(11),
    	jf int(11),
    	email varchar(100),
    	headPic varchar(100)
    );
    --业主字段加注释
    comment on column t_customer.id is '主键';
    comment on column t_customer.id is '主键唯一ID';
    comment on column t_customer.username is '账号';
    comment on column t_customer.password is '密码';
    comment on column t_customer.customerName is '姓名';
    comment on column t_customer.sex is '性别';
    comment on column t_customer.address is '地址';
    comment on column t_customer.phone is '手机';
    comment on column t_customer.account is '';
    comment on column t_customer.jf is '';
    comment on column t_customer.email is '居房屋面积';
    comment on column t_customer.headPic is '头像';
    --业主表加注释
    comment on table t_customer is '业主';
    
    create table t_liuyan(
    	id integer,
    	customerId int(11),
    	content text,
    	insertDate datetime,
    	back text,
    	status varchar(100),
    	v1 varchar(100)
    );
    --缴费字段加注释
    comment on column t_liuyan.id is '主键';
    comment on column t_liuyan.id is '主键唯一ID';
    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 column t_liuyan.v1 is '';
    --缴费表加注释
    comment on table t_liuyan is '缴费';
    
    create table t_pinglun(
    	id integer,
    	wdxxId int(11),
    	customerId int(11),
    	content text,
    	insertDate datetime
    );
    --评论字段加注释
    comment on column t_pinglun.id is '主键';
    comment on column t_pinglun.id is '主键唯一ID';
    comment on column t_pinglun.wdxxId is '评论信息';
    comment on column t_pinglun.customerId is '评论人';
    comment on column t_pinglun.content is '评论内容';
    comment on column t_pinglun.insertDate is '评论日期';
    --评论表加注释
    comment on table t_pinglun is '评论';
    
    create table t_product(
    	id integer,
    	productName varchar(100),
    	productPic1 varchar(100),
    	productPic2 varchar(100),
    	productPic3 varchar(100),
    	productPic4 varchar(100),
    	price int(11),
    	oldPrice int(11),
    	content text,
    	nums int(11),
    	tjxj varchar(50),
    	status varchar(50),
    	typesId int(11),
    	jf int(11),
    	userId int(11),
    	bqId int(11)
    );
    --生活服务字段加注释
    comment on column t_product.id is '主键';
    comment on column t_product.id is '主键唯一ID';
    comment on column t_product.productName is '生活服务名称';
    comment on column t_product.productPic1 is '图片1';
    comment on column t_product.productPic2 is '图片2';
    comment on column t_product.productPic3 is '图片3';
    comment on column t_product.productPic4 is '图片4';
    comment on column t_product.price is '价格';
    comment on column t_product.oldPrice is '';
    comment on column t_product.content is '内容';
    comment on column t_product.nums is '数量';
    comment on column t_product.tjxj is '推荐星级';
    comment on column t_product.status is '状态';
    comment on column t_product.typesId is '分类';
    comment on column t_product.jf is '积分';
    comment on column t_product.userId is '商家';
    comment on column t_product.bqId is '标签';
    --生活服务表加注释
    comment on table t_product is '生活服务';
    
    create table t_productview(
    	id integer,
    	productId int(11),
    	customerId int(11),
    	insertDate datetime
    );
    --浏览记录字段加注释
    comment on column t_productview.id is '主键';
    comment on column t_productview.id is '主键唯一ID';
    comment on column t_productview.productId is '生活服务';
    comment on column t_productview.customerId is '用户';
    comment on column t_productview.insertDate is '日期';
    --浏览记录表加注释
    comment on table t_productview is '浏览记录';
    
    create table t_shoucang(
    	id integer,
    	productId int(11),
    	customerId int(11),
    	insertDate datetime
    );
    --收藏字段加注释
    comment on column t_shoucang.id is '主键';
    comment on column t_shoucang.id is '主键唯一ID';
    comment on column t_shoucang.productId is '生活服务';
    comment on column t_shoucang.customerId is '用户';
    comment on column t_shoucang.insertDate is '日期';
    --收藏表加注释
    comment on table t_shoucang is '收藏';
    
    create table t_temp1(
    	id integer,
    	title varchar(100),
    	pic varchar(100),
    	fileUrl varchar(100),
    	content text,
    	insertDate datetime,
    	v1 varchar(100),
    	v2 varchar(100),
    	v3 varchar(100),
    	v4 varchar(100),
    	v5 varchar(100),
    	status varchar(100)
    );
    --备用表1字段加注释
    comment on column t_temp1.id is '主键';
    comment on column t_temp1.id is '主键唯一ID';
    comment on column t_temp1.title is '备用表1标题';
    comment on column t_temp1.pic is '备用表1图片';
    comment on column t_temp1.fileUrl is '备用表1附件';
    comment on column t_temp1.content is '备用表1内容';
    comment on column t_temp1.insertDate is '入库时间';
    comment on column t_temp1.v1 is '备用表1v1';
    comment on column t_temp1.v2 is '备用表1v2';
    comment on column t_temp1.v3 is '备用表1v3';
    comment on column t_temp1.v4 is '备用表1v4';
    comment on column t_temp1.v5 is '备用表1v5';
    comment on column t_temp1.status is '状态';
    --备用表1表加注释
    comment on table t_temp1 is '备用表1';
    
    create table t_ts(
    	id integer,
    	customerId int(11),
    	content text,
    	insertDate datetime,
    	back text,
    	status varchar(100)
    );
    --投诉字段加注释
    comment on column t_ts.id is '主键';
    comment on column t_ts.id is '主键唯一ID';
    comment on column t_ts.customerId is '用户';
    comment on column t_ts.content is '费用标题';
    comment on column t_ts.insertDate is '日期';
    comment on column t_ts.back is '金额';
    comment on column t_ts.status is '状态';
    --投诉表加注释
    comment on table t_ts is '投诉';
    
    create table t_types(
    	id integer,
    	typesName varchar(1000)
    );
    --分类字段加注释
    comment on column t_types.id is '主键';
    comment on column t_types.id is '主键唯一ID';
    comment on column t_types.typesName is '分类';
    --分类表加注释
    comment on table t_types is '分类';
    
    create table t_user(
    	id integer,
    	username varchar(100),
    	password varchar(100),
    	name varchar(100),
    	gh varchar(100),
    	mobile varchar(100)
    );
    --普通员工字段加注释
    comment on column t_user.id is '主键';
    comment on column t_user.id is '主键唯一ID';
    comment on column t_user.username is '账号';
    comment on column t_user.password is '密码';
    comment on column t_user.name is '姓名';
    comment on column t_user.gh is '工号';
    comment on column t_user.mobile is '手机';
    --普通员工表加注释
    comment on table t_user is '普通员工';
    
    create table t_wdxx(
    	id integer,
    	customerId int(11),
    	title varchar(100),
    	pic varchar(100),
    	content text,
    	zan int(11),
    	insertDate datetime,
    	nologin varchar(50),
    	bkId int(11)
    );
    --论坛字段加注释
    comment on column t_wdxx.id is '主键';
    comment on column t_wdxx.id is '主键唯一ID';
    comment on column t_wdxx.customerId is '我';
    comment on column t_wdxx.title is '标题';
    comment on column t_wdxx.pic is '图片';
    comment on column t_wdxx.content is '内容';
    comment on column t_wdxx.zan is '赞';
    comment on column t_wdxx.insertDate is '发布日期';
    comment on column t_wdxx.nologin is '游客是否可见';
    comment on column t_wdxx.bkId is '';
    --论坛表加注释
    comment on table t_wdxx is '论坛';
    
    create table t_zuoye(
    	id integer,
    	customerId int(11),
    	content text,
    	fileUrl varchar(100),
    	insertDate datetime,
    	back text,
    	pf int(11),
    	status varchar(100)
    );
    --报修字段加注释
    comment on column t_zuoye.id is '主键';
    comment on column t_zuoye.id is '主键唯一ID';
    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 '报修';
    
    create table t_zx(
    	id integer,
    	title varchar(100),
    	content text,
    	pic varchar(100),
    	showDate varchar(50)
    );
    --商家展示字段加注释
    comment on column t_zx.id is '主键';
    comment on column t_zx.id is '主键唯一ID';
    comment on column t_zx.title is '标题';
    comment on column t_zx.content is '内容';
    comment on column t_zx.pic is '图片';
    comment on column t_zx.showDate is '';
    --商家展示表加注释
    comment on table t_zx is '商家展示';
    
    --业主表注释
    create table t_customer(
    	id int identity(1,1) primary key not null,--主键
    	username varchar(100),--账号
    	password varchar(100),--密码
    	customerName varchar(100),--姓名
    	sex varchar(100),--性别
    	address varchar(100),--地址
    	phone varchar(100),--手机
    	account int(11),--
    	jf int(11),--
    	email varchar(100),--居房屋面积
    	headPic varchar(100)--头像
    );
    
    --缴费表注释
    create table t_liuyan(
    	id int identity(1,1) primary key not null,--主键
    	customerId int(11),--用户
    	content text,--费用标题
    	insertDate datetime,--日期
    	back text,--金额
    	status varchar(100),--状态
    	v1 varchar(100)--
    );
    
    --评论表注释
    create table t_pinglun(
    	id int identity(1,1) primary key not null,--主键
    	wdxxId int(11),--评论信息
    	customerId int(11),--评论人
    	content text,--评论内容
    	insertDate datetime--评论日期
    );
    
    --生活服务表注释
    create table t_product(
    	id int identity(1,1) primary key not null,--主键
    	productName varchar(100),--生活服务名称
    	productPic1 varchar(100),--图片1
    	productPic2 varchar(100),--图片2
    	productPic3 varchar(100),--图片3
    	productPic4 varchar(100),--图片4
    	price int(11),--价格
    	oldPrice int(11),--
    	content text,--内容
    	nums int(11),--数量
    	tjxj varchar(50),--推荐星级
    	status varchar(50),--状态
    	typesId int(11),--分类
    	jf int(11),--积分
    	userId int(11),--商家
    	bqId int(11)--标签
    );
    
    --浏览记录表注释
    create table t_productview(
    	id int identity(1,1) primary key not null,--主键
    	productId int(11),--生活服务
    	customerId int(11),--用户
    	insertDate datetime--日期
    );
    
    --收藏表注释
    create table t_shoucang(
    	id int identity(1,1) primary key not null,--主键
    	productId int(11),--生活服务
    	customerId int(11),--用户
    	insertDate datetime--日期
    );
    
    --备用表1表注释
    create table t_temp1(
    	id int identity(1,1) primary key not null,--主键
    	title varchar(100),--备用表1标题
    	pic varchar(100),--备用表1图片
    	fileUrl varchar(100),--备用表1附件
    	content text,--备用表1内容
    	insertDate datetime,--入库时间
    	v1 varchar(100),--备用表1v1
    	v2 varchar(100),--备用表1v2
    	v3 varchar(100),--备用表1v3
    	v4 varchar(100),--备用表1v4
    	v5 varchar(100),--备用表1v5
    	status varchar(100)--状态
    );
    
    --投诉表注释
    create table t_ts(
    	id int identity(1,1) primary key not null,--主键
    	customerId int(11),--用户
    	content text,--费用标题
    	insertDate datetime,--日期
    	back text,--金额
    	status varchar(100)--状态
    );
    
    --分类表注释
    create table t_types(
    	id int identity(1,1) primary key not null,--主键
    	typesName varchar(1000)--分类
    );
    
    --普通员工表注释
    create table t_user(
    	id int identity(1,1) primary key not null,--主键
    	username varchar(100),--账号
    	password varchar(100),--密码
    	name varchar(100),--姓名
    	gh varchar(100),--工号
    	mobile varchar(100)--手机
    );
    
    --论坛表注释
    create table t_wdxx(
    	id int identity(1,1) primary key not null,--主键
    	customerId int(11),--我
    	title varchar(100),--标题
    	pic varchar(100),--图片
    	content text,--内容
    	zan int(11),--赞
    	insertDate datetime,--发布日期
    	nologin varchar(50),--游客是否可见
    	bkId int(11)--
    );
    
    --报修表注释
    create table t_zuoye(
    	id int identity(1,1) primary key not null,--主键
    	customerId int(11),--用户
    	content text,--说明
    	fileUrl varchar(100),--图片
    	insertDate datetime,--日期
    	back text,--回复
    	pf int(11),--
    	status varchar(100)--状态
    );
    
    --商家展示表注释
    create table t_zx(
    	id int identity(1,1) primary key not null,--主键
    	title varchar(100),--标题
    	content text,--内容
    	pic varchar(100),--图片
    	showDate varchar(50)--
    );
    
    
    
    
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
    
    AI助手
复制代码
    package project.model;
    import org.springframework.format.annotation.DateTimeFormat;
    import java.util.Date;
    
    //业主
    public class Customer  extends BaseBean{
    //主键
    private Integer id;
    public Integer getId() {return id;}
    public void setId(Integer id) {this.id = id;}
    //主键唯一ID
    private int id;
    //账号
    private String username;
    //密码
    private String password;
    //姓名
    private String customerName;
    //性别
    private String sex;
    //地址
    private String address;
    //手机
    private String phone;
    //
    private int account;
    //
    private int jf;
    //居房屋面积
    private String email;
    //头像
    private String headPic;
    public int getId() {return id;}
    public void setId(int id) {this.id = id;}
    public String getUsername() {return username;}
    public void setUsername(String username) {this.username = username;}
    public String getPassword() {return password;}
    public void setPassword(String password) {this.password = password;}
    public String getCustomerName() {return customerName;}
    public void setCustomerName(String customerName) {this.customerName = customerName;}
    public String getSex() {return sex;}
    public void setSex(String sex) {this.sex = sex;}
    public String getAddress() {return address;}
    public void setAddress(String address) {this.address = address;}
    public String getPhone() {return phone;}
    public void setPhone(String phone) {this.phone = phone;}
    public int getAccount() {return account;}
    public void setAccount(int account) {this.account = account;}
    public int getJf() {return jf;}
    public void setJf(int jf) {this.jf = jf;}
    public String getEmail() {return email;}
    public void setEmail(String email) {this.email = email;}
    public String getHeadPic() {return headPic;}
    public void setHeadPic(String headPic) {this.headPic = headPic;}
    }
    
    
    
    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;}
    //主键唯一ID
    private int id;
    //用户
    private int customerId;
    //费用标题
    private String content;
    //日期
    private Date insertDate;
    //金额
    private String back;
    //状态
    private String status;
    //
    private String v1;
    public int getId() {return id;}
    public void setId(int id) {this.id = id;}
    public int getCustomerId() {return customerId;}
    public void setCustomerId(int customerId) {this.customerId = customerId;}
    public String 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;}
    public String getV1() {return v1;}
    public void setV1(String v1) {this.v1 = v1;}
    }
    
    
    
    package project.model;
    import org.springframework.format.annotation.DateTimeFormat;
    import java.util.Date;
    
    //评论
    public class Pinglun  extends BaseBean{
    //主键
    private Integer id;
    public Integer getId() {return id;}
    public void setId(Integer id) {this.id = id;}
    //主键唯一ID
    private int id;
    //评论信息
    private int wdxxId;
    //评论人
    private int customerId;
    //评论内容
    private String content;
    //评论日期
    private Date insertDate;
    public int getId() {return id;}
    public void setId(int id) {this.id = id;}
    public int getWdxxId() {return wdxxId;}
    public void setWdxxId(int wdxxId) {this.wdxxId = wdxxId;}
    public int getCustomerId() {return customerId;}
    public void setCustomerId(int customerId) {this.customerId = customerId;}
    public String getContent() {return content;}
    public void setContent(String content) {this.content = content;}
    public Date getInsertDate() {return insertDate;}
    public void setInsertDate(Date insertDate) {this.insertDate = insertDate;}
    }
    
    
    
    package project.model;
    import org.springframework.format.annotation.DateTimeFormat;
    import java.util.Date;
    
    //生活服务
    public class Product  extends BaseBean{
    //主键
    private Integer id;
    public Integer getId() {return id;}
    public void setId(Integer id) {this.id = id;}
    //主键唯一ID
    private int id;
    //生活服务名称
    private String productName;
    //图片1
    private String productPic1;
    //图片2
    private String productPic2;
    //图片3
    private String productPic3;
    //图片4
    private String productPic4;
    //价格
    private int price;
    //
    private int oldPrice;
    //内容
    private String content;
    //数量
    private int nums;
    //推荐星级
    private String tjxj;
    //状态
    private String status;
    //分类
    private int typesId;
    //积分
    private int jf;
    //商家
    private int userId;
    //标签
    private int bqId;
    public int getId() {return id;}
    public void setId(int id) {this.id = id;}
    public String getProductName() {return productName;}
    public void setProductName(String productName) {this.productName = productName;}
    public String getProductPic1() {return productPic1;}
    public void setProductPic1(String productPic1) {this.productPic1 = productPic1;}
    public String getProductPic2() {return productPic2;}
    public void setProductPic2(String productPic2) {this.productPic2 = productPic2;}
    public String getProductPic3() {return productPic3;}
    public void setProductPic3(String productPic3) {this.productPic3 = productPic3;}
    public String getProductPic4() {return productPic4;}
    public void setProductPic4(String productPic4) {this.productPic4 = productPic4;}
    public int getPrice() {return price;}
    public void setPrice(int price) {this.price = price;}
    public int getOldPrice() {return oldPrice;}
    public void setOldPrice(int oldPrice) {this.oldPrice = oldPrice;}
    public String getContent() {return content;}
    public void setContent(String content) {this.content = content;}
    public int getNums() {return nums;}
    public void setNums(int nums) {this.nums = nums;}
    public String getTjxj() {return tjxj;}
    public void setTjxj(String tjxj) {this.tjxj = tjxj;}
    public String getStatus() {return status;}
    public void setStatus(String status) {this.status = status;}
    public int getTypesId() {return typesId;}
    public void setTypesId(int typesId) {this.typesId = typesId;}
    public int getJf() {return jf;}
    public void setJf(int jf) {this.jf = jf;}
    public int getUserId() {return userId;}
    public void setUserId(int userId) {this.userId = userId;}
    public int getBqId() {return bqId;}
    public void setBqId(int bqId) {this.bqId = bqId;}
    }
    
    
    
    package project.model;
    import org.springframework.format.annotation.DateTimeFormat;
    import java.util.Date;
    
    //浏览记录
    public class Productview  extends BaseBean{
    //主键
    private Integer id;
    public Integer getId() {return id;}
    public void setId(Integer id) {this.id = id;}
    //主键唯一ID
    private int id;
    //生活服务
    private int productId;
    //用户
    private int customerId;
    //日期
    private Date insertDate;
    public int getId() {return id;}
    public void setId(int id) {this.id = id;}
    public int getProductId() {return productId;}
    public void setProductId(int productId) {this.productId = productId;}
    public int getCustomerId() {return customerId;}
    public void setCustomerId(int customerId) {this.customerId = customerId;}
    public Date getInsertDate() {return insertDate;}
    public void setInsertDate(Date insertDate) {this.insertDate = insertDate;}
    }
    
    
    
    package project.model;
    import org.springframework.format.annotation.DateTimeFormat;
    import java.util.Date;
    
    //收藏
    public class Shoucang  extends BaseBean{
    //主键
    private Integer id;
    public Integer getId() {return id;}
    public void setId(Integer id) {this.id = id;}
    //主键唯一ID
    private int id;
    //生活服务
    private int productId;
    //用户
    private int customerId;
    //日期
    private Date insertDate;
    public int getId() {return id;}
    public void setId(int id) {this.id = id;}
    public int getProductId() {return productId;}
    public void setProductId(int productId) {this.productId = productId;}
    public int getCustomerId() {return customerId;}
    public void setCustomerId(int customerId) {this.customerId = customerId;}
    public Date getInsertDate() {return insertDate;}
    public void setInsertDate(Date insertDate) {this.insertDate = insertDate;}
    }
    
    
    
    package project.model;
    import org.springframework.format.annotation.DateTimeFormat;
    import java.util.Date;
    
    //备用表1
    public class Temp1  extends BaseBean{
    //主键
    private Integer id;
    public Integer getId() {return id;}
    public void setId(Integer id) {this.id = id;}
    //主键唯一ID
    private int id;
    //备用表1标题
    private String title;
    //备用表1图片
    private String pic;
    //备用表1附件
    private String fileUrl;
    //备用表1内容
    private String content;
    //入库时间
    private Date insertDate;
    //备用表1v1
    private String v1;
    //备用表1v2
    private String v2;
    //备用表1v3
    private String v3;
    //备用表1v4
    private String v4;
    //备用表1v5
    private String v5;
    //状态
    private String status;
    public int getId() {return id;}
    public void setId(int id) {this.id = id;}
    public String getTitle() {return title;}
    public void setTitle(String title) {this.title = title;}
    public String getPic() {return pic;}
    public void setPic(String pic) {this.pic = pic;}
    public String getFileUrl() {return fileUrl;}
    public void setFileUrl(String fileUrl) {this.fileUrl = fileUrl;}
    public String getContent() {return content;}
    public void setContent(String content) {this.content = content;}
    public Date getInsertDate() {return insertDate;}
    public void setInsertDate(Date insertDate) {this.insertDate = insertDate;}
    public String getV1() {return v1;}
    public void setV1(String v1) {this.v1 = v1;}
    public String getV2() {return v2;}
    public void setV2(String v2) {this.v2 = v2;}
    public String getV3() {return v3;}
    public void setV3(String v3) {this.v3 = v3;}
    public String getV4() {return v4;}
    public void setV4(String v4) {this.v4 = v4;}
    public String getV5() {return v5;}
    public void setV5(String v5) {this.v5 = v5;}
    public String getStatus() {return status;}
    public void setStatus(String status) {this.status = status;}
    }
    
    
    
    package project.model;
    import org.springframework.format.annotation.DateTimeFormat;
    import java.util.Date;
    
    //投诉
    public class Ts  extends BaseBean{
    //主键
    private Integer id;
    public Integer getId() {return id;}
    public void setId(Integer id) {this.id = id;}
    //主键唯一ID
    private int id;
    //用户
    private int customerId;
    //费用标题
    private String content;
    //日期
    private Date insertDate;
    //金额
    private String back;
    //状态
    private String status;
    public int getId() {return id;}
    public void setId(int id) {this.id = id;}
    public int getCustomerId() {return customerId;}
    public void setCustomerId(int customerId) {this.customerId = customerId;}
    public String 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;}
    }
    
    
    
    package project.model;
    import org.springframework.format.annotation.DateTimeFormat;
    import java.util.Date;
    
    //分类
    public class Types  extends BaseBean{
    //主键
    private Integer id;
    public Integer getId() {return id;}
    public void setId(Integer id) {this.id = id;}
    //主键唯一ID
    private int id;
    //分类
    private String typesName;
    public int getId() {return id;}
    public void setId(int id) {this.id = id;}
    public String getTypesName() {return typesName;}
    public void setTypesName(String typesName) {this.typesName = typesName;}
    }
    
    
    
    package project.model;
    import org.springframework.format.annotation.DateTimeFormat;
    import java.util.Date;
    
    //普通员工
    public class User  extends BaseBean{
    //主键
    private Integer id;
    public Integer getId() {return id;}
    public void setId(Integer id) {this.id = id;}
    //主键唯一ID
    private int id;
    //账号
    private String username;
    //密码
    private String password;
    //姓名
    private String name;
    //工号
    private String gh;
    //手机
    private String mobile;
    public int getId() {return id;}
    public void setId(int id) {this.id = id;}
    public String getUsername() {return username;}
    public void setUsername(String username) {this.username = username;}
    public String getPassword() {return password;}
    public void setPassword(String password) {this.password = password;}
    public String getName() {return name;}
    public void setName(String name) {this.name = name;}
    public String getGh() {return gh;}
    public void setGh(String gh) {this.gh = gh;}
    public String getMobile() {return mobile;}
    public void setMobile(String mobile) {this.mobile = mobile;}
    }
    
    
    
    package project.model;
    import org.springframework.format.annotation.DateTimeFormat;
    import java.util.Date;
    
    //论坛
    public class Wdxx  extends BaseBean{
    //主键
    private Integer id;
    public Integer getId() {return id;}
    public void setId(Integer id) {this.id = id;}
    //主键唯一ID
    private int id;
    //我
    private int customerId;
    //标题
    private String title;
    //图片
    private String pic;
    //内容
    private String content;
    //赞
    private int zan;
    //发布日期
    private Date insertDate;
    //游客是否可见
    private String nologin;
    //
    private int bkId;
    public int getId() {return id;}
    public void setId(int id) {this.id = id;}
    public int getCustomerId() {return customerId;}
    public void setCustomerId(int customerId) {this.customerId = customerId;}
    public String getTitle() {return title;}
    public void setTitle(String title) {this.title = title;}
    public String getPic() {return pic;}
    public void setPic(String pic) {this.pic = pic;}
    public String getContent() {return content;}
    public void setContent(String content) {this.content = content;}
    public int getZan() {return zan;}
    public void setZan(int zan) {this.zan = zan;}
    public Date getInsertDate() {return insertDate;}
    public void setInsertDate(Date insertDate) {this.insertDate = insertDate;}
    public String getNologin() {return nologin;}
    public void setNologin(String nologin) {this.nologin = nologin;}
    public int getBkId() {return bkId;}
    public void setBkId(int bkId) {this.bkId = bkId;}
    }
    
    
    
    package project.model;
    import org.springframework.format.annotation.DateTimeFormat;
    import java.util.Date;
    
    //报修
    public class Zuoye  extends BaseBean{
    //主键
    private Integer id;
    public Integer getId() {return id;}
    public void setId(Integer id) {this.id = id;}
    //主键唯一ID
    private int id;
    //用户
    private int customerId;
    //说明
    private String content;
    //图片
    private String fileUrl;
    //日期
    private Date insertDate;
    //回复
    private String back;
    //
    private int pf;
    //状态
    private String status;
    public int getId() {return id;}
    public void setId(int id) {this.id = id;}
    public int getCustomerId() {return customerId;}
    public void setCustomerId(int customerId) {this.customerId = customerId;}
    public String 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 int getPf() {return pf;}
    public void setPf(int pf) {this.pf = pf;}
    public String getStatus() {return status;}
    public void setStatus(String status) {this.status = status;}
    }
    
    
    
    package project.model;
    import org.springframework.format.annotation.DateTimeFormat;
    import java.util.Date;
    
    //商家展示
    public class Zx  extends BaseBean{
    //主键
    private Integer id;
    public Integer getId() {return id;}
    public void setId(Integer id) {this.id = id;}
    //主键唯一ID
    private int id;
    //标题
    private String title;
    //内容
    private String content;
    //图片
    private String pic;
    //
    private String showDate;
    public int getId() {return id;}
    public void setId(int id) {this.id = id;}
    public String getTitle() {return title;}
    public void setTitle(String title) {this.title = title;}
    public String getContent() {return content;}
    public void setContent(String content) {this.content = content;}
    public String getPic() {return pic;}
    public void setPic(String pic) {this.pic = pic;}
    public String getShowDate() {return showDate;}
    public void setShowDate(String showDate) {this.showDate = showDate;}
    }
    
    
    
    
    
    
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
    
    AI助手

全部评论 (0)

还没有任何评论哟~