/*
 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: 30/12/2021 10:54:16
*/

SET NAMES utf8mb4;
SET FOREIGN_KEY_CHECKS = 0;

-- ----------------------------
-- Table structure for mall_supplier
-- ----------------------------
DROP TABLE IF EXISTS `mall_supplier`;
CREATE TABLE `mall_supplier`  (
  `BUSINESS_ID` varchar(36) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT 'newid()' COMMENT '商场(市场)ID',
  `BUSINESS_NAME` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '商场(市场)名称',
  `IS_ENABLED` int(0) NULL DEFAULT 1 COMMENT '1 启用  0 禁用',
  `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',
  `AUDIT_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 '修改时间',
  `AUDIT_STATUS` int(0) NULL DEFAULT NULL COMMENT '审核状态 0 待审核  1 审核通过 2 打回',
  `AUDIT_DATE` datetime(0) NULL DEFAULT CURRENT_TIMESTAMP COMMENT '审核时间',
  `OPINION` varchar(1000) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT '' COMMENT '审核意见',
  `IMG_URL` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '封面图',
  `CONTENT` text CHARACTER SET utf8 COLLATE utf8_general_ci NULL COMMENT '内容',
  `AREA_CODE` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '行政区码',
  `ADDRESS` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '详细地址',
  PRIMARY KEY (`BUSINESS_ID`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic;

SET FOREIGN_KEY_CHECKS = 1;
文档更新时间: 2021-12-30 10:55   作者:admin