mysql商城88张表70-
70
CREATE TABLE `shop_flows` (
`flowId` int(11) NOT NULL AUTO_INCREMENT COMMENT '自增ID',
`flowName` varchar(100) NOT NULL COMMENT '流程名称',
`isShow` tinyint(4) DEFAULT '1' COMMENT '是否显示 0:隐藏 1:显示',
`sort` tinyint(4) DEFAULT '0' COMMENT '显示排序',
`isDelete` tinyint(4) DEFAULT NULL COMMENT '是否可以删除0:否 1:是',
`createTime` datetime NOT NULL COMMENT '创建时间',
`dataFlag` tinyint(4) NOT NULL DEFAULT '1' COMMENT '有效状态 1:有效 -1删除',
PRIMARY KEY (`flowId`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='\r\n店铺入驻流程表';
71
CREATE TABLE `shop_freight_template` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`shopExpressId` int(11) NOT NULL,
`tempName` varchar(100) NOT NULL,
`provinceIds` text,
`cityId` text,
`buyNumStart` int(4) DEFAULT '0',
`buyNumStartPrice` decimal(10,2) DEFAULT NULL,
`buyNumContinue` int(4) DEFAULT '0',
`buyNumContinuePrise` decimal(11,2) DEFAULT NULL,
`weightStart` decimal(11,2) DEFAULT NULL,
`weightStartPrice` decimal(11,2) DEFAULT NULL,
`weightContinue` decimal(11,2) DEFAULT NULL,
`weightContinuePrice` decimal(11,2) DEFAULT NULL,
`volumeStart` decimal(11,2) DEFAULT NULL,
`volumeStartPrice` decimal(11,2) DEFAULT NULL,
`volumeContinue` decimal(11,2) DEFAULT NULL,
`volumeContinuePrice` decimal(11,2) DEFAULT NULL,
`dataFlag` tinyint(4) NOT NULL DEFAULT '1',
`shopId` int(11) DEFAULT '0',
`createTime` datetime DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='\r\n店铺运费模板表';
72
CREATE TABLE `shop_message_cats` (
`id` int(11) NOT NULL AUTO_INCREMENT COMMENT '自增ID',
`msgDataId` int(11) DEFAULT '0' COMMENT '消息标识ID',
`msgType` tinyint(4) DEFAULT '0' COMMENT '消息类型',
`msgCode` varchar(100) DEFAULT NULL COMMENT '消息代码',
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='\r\n消息类型表';
73
CREATE TABLE `shop_roles` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`shopId` int(11) DEFAULT '0',
`roleName` varchar(100) DEFAULT NULL,
`privilegeMsgs` text,
`privilegeUrls` text,
`createTime` datetime DEFAULT NULL,
`dataFlag` tinyint(4) DEFAULT '1',
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='\r\n店铺角色表';
74
CREATE TABLE `shop_scores` (
`scoreId` int(11) NOT NULL AUTO_INCREMENT,
`shopId` int(11) NOT NULL,
`totalScore` int(11) NOT NULL DEFAULT '0',
`totalUsers` int(11) NOT NULL DEFAULT '0',
`goodsScore` int(11) NOT NULL DEFAULT '0',
`goodsUsers` int(11) NOT NULL DEFAULT '0',
`serviceUsers` int(11) NOT NULL DEFAULT '0',
`timeScore` int(11) NOT NULL DEFAULT '0',
`timeUsers` int(11) NOT NULL DEFAULT '0',
PRIMARY KEY (`scoreId`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='\r\n店铺评分表';
75
CREATE TABLE `shop_services` (
`shopId` int(11) NOT NULL AUTO_INCREMENT COMMENT '所对应的店铺ID',
`createTime` datetime DEFAULT NULL COMMENT '创建时间',
`dataFlag` tinyint(4) DEFAULT '1' COMMENT '有效状态 1:有效 -1:删除',
`service` varchar(50) NOT NULL COMMENT '店铺客服ID',
PRIMARY KEY (`shopId`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='\r\n客服系统-设置表';