/*
Navicat Premium Data Transfer
Source Server : mysql.localhost
Source Server Type : MySQL
Source Server Version : 80020
Source Host : localhost:3306
Source Schema : rg_bs_mall
Target Server Type : MySQL
Target Server Version : 80020
File Encoding : 65001
Date: 06/02/2022 15:50:22
*/
SET NAMES utf8mb4;
SET FOREIGN_KEY_CHECKS = 0;
-- ----------------------------
-- Table structure for mall_commodity_type
-- ----------------------------
DROP TABLE IF EXISTS `mall_commodity_type`;
CREATE TABLE `mall_commodity_type` (
`TYPE_ID` varchar(36) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT 'newid()' COMMENT '类别ID',
`TYPE_NAME` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT '' COMMENT '类别名称',
`IS_ENABLED` int(0) NULL DEFAULT 1 COMMENT '启用',
`SORT_ID` int(0) NULL DEFAULT 0 COMMENT '排序',
`SYS_ID` varchar(1800) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT '' COMMENT '系统ID,关联 BO_SYSTEM',
`IMG_URL` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT '' COMMENT '图片地址',
`LINK_URL` varchar(400) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT '' COMMENT '链接地址',
`CREATE_USER_ID` varchar(36) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT '' COMMENT '创建用户 BO_USER_ID',
`MODIFY_USER_ID` varchar(36) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT '' COMMENT '修改用户 BO_USER',
`CREATE_DATE` datetime(0) NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
`MODIFY_DATE` datetime(0) NULL DEFAULT CURRENT_TIMESTAMP COMMENT '修改时间',
PRIMARY KEY (`TYPE_ID`) USING BTREE,
UNIQUE INDEX `idx_uq_bs_news_type`(`TYPE_ID`) USING BTREE,
INDEX `idx_no_mall_commodity_type_name`(`TYPE_NAME`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic;
SET FOREIGN_KEY_CHECKS = 1;
文档更新时间: 2022-02-06 15:51 作者:admin