/*
 Navicat Premium Data Transfer

 Source Server         : 远程
 Source Server Type    : MySQL
 Source Server Version : 50744 (5.7.44)
 Source Host           : 8.137.112.156:3307
 Source Schema         : crm

 Target Server Type    : MySQL
 Target Server Version : 50744 (5.7.44)
 File Encoding         : 65001

 Date: 18/09/2024 15:02:39
*/

SET NAMES utf8mb4;
SET FOREIGN_KEY_CHECKS = 0;

-- ----------------------------
-- Table structure for code_column_config
-- ----------------------------
DROP TABLE IF EXISTS `code_column_config`;
CREATE TABLE `code_column_config`  (
  `column_id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT 'ID',
  `table_name` varchar(180) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL,
  `column_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL,
  `column_type` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL,
  `dict_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL,
  `extra` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL,
  `form_show` bit(1) NULL DEFAULT NULL,
  `form_type` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL,
  `key_type` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL,
  `list_show` bit(1) NULL DEFAULT NULL,
  `not_null` bit(1) NULL DEFAULT NULL,
  `query_type` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL,
  `remark` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL,
  `date_annotation` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL,
  PRIMARY KEY (`column_id`) USING BTREE,
  INDEX `idx_table_name`(`table_name`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 207 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_bin COMMENT = '代码生成字段信息存储' ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of code_column_config
-- ----------------------------
INSERT INTO `code_column_config` VALUES (191, 'pro_member', 'id', 'bigint', NULL, 'auto_increment', b'1', NULL, 'PRI', b'1', b'0', NULL, '主键id', NULL);
INSERT INTO `code_column_config` VALUES (192, 'pro_member', 'uid', 'bigint', NULL, '', b'1', NULL, 'UNI', b'1', b'0', NULL, 'userid(astral)', NULL);
INSERT INTO `code_column_config` VALUES (193, 'pro_member', 'username', 'varchar', NULL, '', b'1', NULL, 'UNI', b'1', b'1', NULL, '账号', NULL);
INSERT INTO `code_column_config` VALUES (194, 'pro_member', 'nickname', 'varchar', NULL, '', b'1', NULL, '', b'1', b'0', NULL, '昵称', NULL);
INSERT INTO `code_column_config` VALUES (195, 'pro_member', 'inviter_code', 'varchar', NULL, '', b'1', NULL, '', b'1', b'0', NULL, '邀请码', NULL);
INSERT INTO `code_column_config` VALUES (196, 'pro_member', 'inviter_id', 'bigint', NULL, '', b'1', NULL, 'MUL', b'1', b'0', NULL, '邀请人id', NULL);
INSERT INTO `code_column_config` VALUES (197, 'pro_member', 'level', 'int', NULL, '', b'1', NULL, '', b'1', b'1', NULL, '会员等级', NULL);
INSERT INTO `code_column_config` VALUES (198, 'pro_member', 'real_level', 'int', NULL, '', b'1', NULL, '', b'1', b'0', NULL, '规则等级', NULL);
INSERT INTO `code_column_config` VALUES (199, 'pro_member', 'astral_total_asset', 'decimal', NULL, '', b'1', NULL, '', b'1', b'0', NULL, '交易所现货资产总量(ast)', NULL);
INSERT INTO `code_column_config` VALUES (200, 'pro_member', 'is_effective', 'int', NULL, '', b'1', NULL, '', b'1', b'1', NULL, '是否有效:0->无效;1->有效;', NULL);
INSERT INTO `code_column_config` VALUES (201, 'pro_member', 'is_airdrop', 'int', NULL, '', b'1', NULL, '', b'1', b'0', NULL, '是否空投: 0->否；1->是', NULL);
INSERT INTO `code_column_config` VALUES (202, 'pro_member', 'status', 'int', NULL, '', b'1', NULL, '', b'1', b'1', NULL, '帐号启用状态: 0->禁用；1->启用', NULL);
INSERT INTO `code_column_config` VALUES (203, 'pro_member', 'update_time', 'datetime', NULL, '', b'1', NULL, '', b'1', b'1', NULL, '修改时间', NULL);
INSERT INTO `code_column_config` VALUES (204, 'pro_member', 'last_login_time', 'datetime', NULL, '', b'1', NULL, '', b'1', b'0', NULL, '最后登录时间', NULL);
INSERT INTO `code_column_config` VALUES (205, 'pro_member', 'create_time', 'datetime', NULL, '', b'1', NULL, '', b'1', b'1', NULL, '注册时间(交易所注册时间)', NULL);
INSERT INTO `code_column_config` VALUES (206, 'pro_member', 'version', 'bigint', NULL, '', b'1', NULL, '', b'1', b'1', NULL, '乐观锁版本号', NULL);

SET FOREIGN_KEY_CHECKS = 1;
