/*
 Navicat Premium Dump SQL

 Source Server         : 婚恋
 Source Server Type    : MySQL
 Source Server Version : 80043 (8.0.43)
 Source Host           : 115.190.125.125:3306
 Source Schema         : hunlian

 Target Server Type    : MySQL
 Target Server Version : 80043 (8.0.43)
 File Encoding         : 65001

 Date: 22/10/2025 09:01:53
*/

SET NAMES utf8mb4;
SET FOREIGN_KEY_CHECKS = 0;

-- ----------------------------
-- Table structure for activity
-- ----------------------------
DROP TABLE IF EXISTS `activity`;
CREATE TABLE `activity`  (
  `id` int NOT NULL AUTO_INCREMENT COMMENT '活动ID，主键',
  `name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '活动名称',
  `type` int NOT NULL COMMENT '活动类型（1：线上，2：线下）',
  `category` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '活动类别（如：讲座、展览、比赛等）',
  `max_participants` int NOT NULL COMMENT '最大参与人数（用于报名限制）',
  `actual_participants` int NOT NULL DEFAULT 0 COMMENT '实际参与人数',
  `location` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '活动地点（线上活动可填写链接）',
  `start_time` datetime NOT NULL COMMENT '活动开始时间',
  `end_time` datetime NOT NULL COMMENT '活动结束时间',
  `cover_image` varchar(500) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '活动封面图片URL',
  `price` double NOT NULL DEFAULT 0 COMMENT '参加活动应付金额',
  `status` int NOT NULL DEFAULT 1 COMMENT '活动状态（1：未开始，2：进行中，3：已结束）',
  `registration_end_time` datetime NULL DEFAULT NULL COMMENT '报名截止时间',
  `is_deleted` int NOT NULL DEFAULT 0 COMMENT '逻辑删除标识（0：未删除，1：已删除）',
  `created_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '记录创建时间',
  `description` text CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL COMMENT '活动描述（用于详情页）',
  `notes` text CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL COMMENT '注意事项',
  `is_hot` tinyint(1) NULL DEFAULT 0 COMMENT '是否热门活动（0：否，1：是）',
  PRIMARY KEY (`id`) USING BTREE COMMENT '主键索引：根据活动ID进行唯一标识',
  INDEX `idx_start_time`(`start_time` ASC) USING BTREE COMMENT '索引：按活动开始时间排序，用于快速查找活动的时间信息',
  INDEX `idx_status_is_deleted`(`status` ASC, `is_deleted` ASC) USING BTREE COMMENT '联合索引：按活动状态和删除标识进行排序，优化查询活动状态和删除状态',
  INDEX `idx_type_start_time`(`type` ASC, `start_time` ASC) USING BTREE COMMENT '联合索引：按活动类型和开始时间排序，优化查询按类型和时间范围的活动'
) ENGINE = InnoDB AUTO_INCREMENT = 8 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '活动信息表' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of activity
-- ----------------------------
INSERT INTO `activity` VALUES (1, '七夕单身派对', 2, '派对', 50, 35, '杭州·西湖区咖啡厅', '2025-10-18 14:00:00', '2025-10-18 18:00:00', 'http://115.190.125.125:9000/banners/1.jpg', 109, 1, '2025-10-17 23:59:59', 0, '2025-10-13 10:49:11', '七夕单身派对，为单身男女提供轻松愉快的社交环境。在温馨的咖啡厅，遇见志同道合的朋友，度过一个难忘的七夕佳节。', '1. 请提前10分钟到场签到\n2. 活动现场提供茶点\n3. 请着装整洁得体\n4. 保持手机静音', 1);
INSERT INTO `activity` VALUES (2, '周末咖啡社交', 2, '社交', 40, 31, '杭州·滨江区星巴克', '2025-10-20 15:00:00', '2025-10-20 17:00:00', 'http://115.190.125.125:9000/banners/2.jpg', 119, 1, '2025-10-19 23:59:59', 0, '2025-10-13 10:49:11', '周末午后，在星巴克享受悠闲时光。通过轻松的话题和游戏，认识新朋友，拓展社交圈。', '1. 咖啡费用自理\n2. 建议携带名片\n3. 活动时长约2小时\n4. 欢迎单身人士参加', 1);
INSERT INTO `activity` VALUES (3, '恋爱心理课', 1, '讲座', 200, 156, '线上直播', '2025-10-22 19:00:00', '2025-10-22 21:00:00', 'http://115.190.125.125:9000/banners/3.jpg', 129, 1, '2025-10-22 18:00:00', 0, '2025-10-13 10:49:11', '知名情感专家在线授课，帮助你了解恋爱心理学，提升沟通技巧，建立健康的恋爱关系。课程内容实用，互动性强。', '1. 线上直播，需提前安装APP\n2. 课程结束后可回看\n3. 支持在线提问互动\n4. 赠送电子版课程资料', 1);
INSERT INTO `activity` VALUES (4, '户外徒步联谊', 2, '户外', 30, 22, '杭州·西溪湿地', '2025-10-25 09:00:00', '2025-10-25 15:00:00', 'http://115.190.125.125:9000/admin-images/images/f7d151d0-ea2a-49e1-a311-30f1249a4050.jpg', 139, 1, '2025-10-24 23:59:59', 0, '2025-10-13 10:49:11', '走进西溪湿地，呼吸清新空气，在大自然中结识志趣相投的朋友。徒步路线适合新手，全程约6公里，边走边聊，轻松愉快。', '1. 请穿运动鞋和舒适服装\n2. 自备饮用水和干粮\n3. 注意防晒\n4. 费用包含门票和午餐\n5. 如遇雨天活动取消', 0);
INSERT INTO `activity` VALUES (5, '电影交友会', 2, '娱乐', 60, 45, '杭州·万象城影院', '2025-10-27 19:00:00', '2025-10-27 22:00:00', 'http://115.190.125.125:9000/banners/5.jpg', 149, 1, '2025-10-26 23:59:59', 0, '2025-10-13 10:49:11', '一起观看热门电影，观影后在影院咖啡厅交流观影感受，分享彼此的想法和观点。通过共同的兴趣爱好，拉近彼此距离。', '1. 费用包含电影票和饮料\n2. 电影场次以实际安排为准\n3. 观影后有交流环节\n4. 请提前15分钟到场', 0);
INSERT INTO `activity` VALUES (6, '红娘1对1咨询', 2, '咨询', 20, 12, '杭州·西湖区情感咨询中心', '2025-10-28 14:00:00', '2025-10-28 17:00:00', 'http://115.190.125.125:9000/banners/6.jpg', 0, 1, '2025-10-27 23:59:59', 0, '2025-10-13 10:49:11', '资深红娘一对一咨询服务，根据您的个人情况和择偶标准，提供专业的婚恋建议和匹配方案。完全免费，真诚服务。', '1. 需提前预约时间段\n2. 请携带身份证件\n3. 完全免费\n4. 咨询时长约30分钟\n5. 保护个人隐私', 0);
INSERT INTO `activity` VALUES (7, 'sss', 2, 'sss', 50, 0, '565', '2025-10-18 00:00:00', '2025-11-18 00:00:00', 'http://115.190.125.125:9000/admin-images/images/85786106-c246-49f9-86de-ab3a627badf7.jpg', 0, 1, '2025-10-17 00:00:00', 0, '2025-10-18 15:46:35', 'sss', '', 0);

-- ----------------------------
-- Table structure for activity_registration
-- ----------------------------
DROP TABLE IF EXISTS `activity_registration`;
CREATE TABLE `activity_registration`  (
  `id` bigint NOT NULL AUTO_INCREMENT COMMENT '报名记录ID',
  `activity_id` int NOT NULL COMMENT '活动ID',
  `user_id` int NOT NULL COMMENT '用户ID',
  `registration_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '报名时间',
  `status` tinyint NOT NULL DEFAULT 1 COMMENT '报名状态（1：已报名，2：已取消，3：已签到）',
  `created_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
  `updated_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '更新时间',
  PRIMARY KEY (`id`) USING BTREE,
  UNIQUE INDEX `uk_activity_user`(`activity_id` ASC, `user_id` ASC) USING BTREE COMMENT '活动和用户唯一索引，防止重复报名',
  INDEX `idx_user_id`(`user_id` ASC) USING BTREE COMMENT '用户ID索引',
  INDEX `idx_activity_id`(`activity_id` ASC) USING BTREE COMMENT '活动ID索引',
  INDEX `idx_registration_time`(`registration_time` ASC) USING BTREE COMMENT '报名时间索引'
) ENGINE = InnoDB AUTO_INCREMENT = 2 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '活动报名记录表' ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of activity_registration
-- ----------------------------
INSERT INTO `activity_registration` VALUES (1, 2, 1, '2025-10-18 09:47:21', 1, '2025-10-18 09:47:19', '2025-10-18 09:47:19');

-- ----------------------------
-- Table structure for admin_user
-- ----------------------------
DROP TABLE IF EXISTS `admin_user`;
CREATE TABLE `admin_user`  (
  `id` int NOT NULL AUTO_INCREMENT COMMENT '主键ID',
  `username` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL COMMENT '用户名',
  `password` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL COMMENT '密码',
  `real_name` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '真实姓名',
  `phone` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '手机号',
  `email` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '邮箱',
  `role` tinyint(1) NULL DEFAULT 2 COMMENT '角色：1-超级管理员 2-普通管理员',
  `status` tinyint(1) NULL DEFAULT 1 COMMENT '状态：0-禁用 1-启用',
  `create_time` datetime NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
  `update_time` datetime NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '更新时间',
  `last_login_time` datetime NULL DEFAULT NULL COMMENT '最后登录时间',
  PRIMARY KEY (`id`) USING BTREE,
  UNIQUE INDEX `idx_username`(`username` ASC) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 3 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_0900_ai_ci COMMENT = '管理员用户表' ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of admin_user
-- ----------------------------
INSERT INTO `admin_user` VALUES (1, 'admin', 'admin123', '超级管理员', NULL, NULL, 1, 1, '2025-10-18 10:22:45', '2025-10-18 10:22:45', '2025-10-21 09:06:52');

-- ----------------------------
-- Table structure for area
-- ----------------------------
DROP TABLE IF EXISTS `area`;
CREATE TABLE `area`  (
  `id` int NOT NULL,
  `name` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL,
  `city_id` int NOT NULL,
  PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_0900_ai_ci ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of area
-- ----------------------------
INSERT INTO `area` VALUES (110101, '东城区', 110100);
INSERT INTO `area` VALUES (110102, '西城区', 110100);
INSERT INTO `area` VALUES (110105, '朝阳区', 110100);
INSERT INTO `area` VALUES (110106, '丰台区', 110100);
INSERT INTO `area` VALUES (110107, '石景山区', 110100);
INSERT INTO `area` VALUES (110108, '海淀区', 110100);
INSERT INTO `area` VALUES (110109, '门头沟区', 110100);
INSERT INTO `area` VALUES (110111, '房山区', 110100);
INSERT INTO `area` VALUES (110112, '通州区', 110100);
INSERT INTO `area` VALUES (110113, '顺义区', 110100);
INSERT INTO `area` VALUES (110114, '昌平区', 110100);
INSERT INTO `area` VALUES (110115, '大兴区', 110100);
INSERT INTO `area` VALUES (110116, '怀柔区', 110100);
INSERT INTO `area` VALUES (110117, '平谷区', 110100);
INSERT INTO `area` VALUES (110118, '密云区', 110100);
INSERT INTO `area` VALUES (110119, '延庆区', 110100);
INSERT INTO `area` VALUES (120101, '和平区', 120100);
INSERT INTO `area` VALUES (120102, '河东区', 120100);
INSERT INTO `area` VALUES (120103, '河西区', 120100);
INSERT INTO `area` VALUES (120104, '南开区', 120100);
INSERT INTO `area` VALUES (120105, '河北区', 120100);
INSERT INTO `area` VALUES (120106, '红桥区', 120100);
INSERT INTO `area` VALUES (120110, '东丽区', 120100);
INSERT INTO `area` VALUES (120111, '西青区', 120100);
INSERT INTO `area` VALUES (120112, '津南区', 120100);
INSERT INTO `area` VALUES (120113, '北辰区', 120100);
INSERT INTO `area` VALUES (120114, '武清区', 120100);
INSERT INTO `area` VALUES (120115, '宝坻区', 120100);
INSERT INTO `area` VALUES (120116, '滨海新区', 120100);
INSERT INTO `area` VALUES (120117, '宁河区', 120100);
INSERT INTO `area` VALUES (120118, '静海区', 120100);
INSERT INTO `area` VALUES (120119, '蓟州区', 120100);
INSERT INTO `area` VALUES (130102, '长安区', 130100);
INSERT INTO `area` VALUES (130104, '桥西区', 130100);
INSERT INTO `area` VALUES (130105, '新华区', 130100);
INSERT INTO `area` VALUES (130107, '井陉矿区', 130100);
INSERT INTO `area` VALUES (130108, '裕华区', 130100);
INSERT INTO `area` VALUES (130109, '藁城区', 130100);
INSERT INTO `area` VALUES (130110, '鹿泉区', 130100);
INSERT INTO `area` VALUES (130111, '栾城区', 130100);
INSERT INTO `area` VALUES (130121, '井陉县', 130100);
INSERT INTO `area` VALUES (130123, '正定县', 130100);
INSERT INTO `area` VALUES (130125, '行唐县', 130100);
INSERT INTO `area` VALUES (130126, '灵寿县', 130100);
INSERT INTO `area` VALUES (130127, '高邑县', 130100);
INSERT INTO `area` VALUES (130128, '深泽县', 130100);
INSERT INTO `area` VALUES (130129, '赞皇县', 130100);
INSERT INTO `area` VALUES (130130, '无极县', 130100);
INSERT INTO `area` VALUES (130131, '平山县', 130100);
INSERT INTO `area` VALUES (130132, '元氏县', 130100);
INSERT INTO `area` VALUES (130133, '赵县', 130100);
INSERT INTO `area` VALUES (130181, '辛集市', 130100);
INSERT INTO `area` VALUES (130183, '晋州市', 130100);
INSERT INTO `area` VALUES (130202, '路南区', 130200);
INSERT INTO `area` VALUES (130203, '路北区', 130200);
INSERT INTO `area` VALUES (130204, '古冶区', 130200);
INSERT INTO `area` VALUES (130205, '开平区', 130200);
INSERT INTO `area` VALUES (130207, '丰南区', 130200);
INSERT INTO `area` VALUES (130208, '丰润区', 130200);
INSERT INTO `area` VALUES (130209, '曹妃甸区', 130200);
INSERT INTO `area` VALUES (130223, '滦县', 130200);
INSERT INTO `area` VALUES (130224, '滦南县', 130200);
INSERT INTO `area` VALUES (130225, '乐亭县', 130200);
INSERT INTO `area` VALUES (130227, '迁西县', 130200);
INSERT INTO `area` VALUES (130229, '玉田县', 130200);
INSERT INTO `area` VALUES (130281, '遵化市', 130200);
INSERT INTO `area` VALUES (130283, '迁安市', 130200);
INSERT INTO `area` VALUES (130302, '海港区', 130300);
INSERT INTO `area` VALUES (130303, '山海关区', 130300);
INSERT INTO `area` VALUES (130304, '北戴河区', 130300);
INSERT INTO `area` VALUES (130306, '抚宁区', 130300);
INSERT INTO `area` VALUES (130321, '青龙满族自治县', 130300);
INSERT INTO `area` VALUES (130322, '昌黎县', 130300);
INSERT INTO `area` VALUES (130324, '卢龙县', 130300);
INSERT INTO `area` VALUES (130402, '邯山区', 130400);
INSERT INTO `area` VALUES (130403, '丛台区', 130400);
INSERT INTO `area` VALUES (130404, '复兴区', 130400);
INSERT INTO `area` VALUES (130406, '峰峰矿区', 130400);
INSERT INTO `area` VALUES (130407, '肥乡区', 130400);
INSERT INTO `area` VALUES (130408, '永年区', 130400);
INSERT INTO `area` VALUES (130423, '临漳县', 130400);
INSERT INTO `area` VALUES (130424, '成安县', 130400);
INSERT INTO `area` VALUES (130425, '大名县', 130400);
INSERT INTO `area` VALUES (130426, '涉县', 130400);
INSERT INTO `area` VALUES (130427, '磁县', 130400);
INSERT INTO `area` VALUES (130430, '邱县', 130400);
INSERT INTO `area` VALUES (130431, '鸡泽县', 130400);
INSERT INTO `area` VALUES (130432, '广平县', 130400);
INSERT INTO `area` VALUES (130433, '馆陶县', 130400);
INSERT INTO `area` VALUES (130434, '魏县', 130400);
INSERT INTO `area` VALUES (130435, '曲周县', 130400);
INSERT INTO `area` VALUES (130481, '武安市', 130400);
INSERT INTO `area` VALUES (130502, '襄都区', 130500);
INSERT INTO `area` VALUES (130503, '信都区', 130500);
INSERT INTO `area` VALUES (130505, '任泽区', 130500);
INSERT INTO `area` VALUES (130506, '南和区', 130500);
INSERT INTO `area` VALUES (130522, '临城县', 130500);
INSERT INTO `area` VALUES (130523, '内丘县', 130500);
INSERT INTO `area` VALUES (130524, '柏乡县', 130500);
INSERT INTO `area` VALUES (130525, '隆尧县', 130500);
INSERT INTO `area` VALUES (130528, '宁晋县', 130500);
INSERT INTO `area` VALUES (130529, '巨鹿县', 130500);
INSERT INTO `area` VALUES (130530, '新河县', 130500);
INSERT INTO `area` VALUES (130531, '广宗县', 130500);
INSERT INTO `area` VALUES (130532, '平乡县', 130500);
INSERT INTO `area` VALUES (130533, '威县', 130500);
INSERT INTO `area` VALUES (130534, '清河县', 130500);
INSERT INTO `area` VALUES (130535, '临西县', 130500);
INSERT INTO `area` VALUES (130581, '南宫市', 130500);
INSERT INTO `area` VALUES (130582, '沙河市', 130500);
INSERT INTO `area` VALUES (130602, '竞秀区', 130600);
INSERT INTO `area` VALUES (130606, '莲池区', 130600);
INSERT INTO `area` VALUES (130607, '满城区', 130600);
INSERT INTO `area` VALUES (130608, '清苑区', 130600);
INSERT INTO `area` VALUES (130609, '徐水区', 130600);
INSERT INTO `area` VALUES (130623, '涞水县', 130600);
INSERT INTO `area` VALUES (130624, '阜平县', 130600);
INSERT INTO `area` VALUES (130626, '定兴县', 130600);
INSERT INTO `area` VALUES (130627, '唐县', 130600);
INSERT INTO `area` VALUES (130628, '高阳县', 130600);
INSERT INTO `area` VALUES (130629, '容城县', 130600);
INSERT INTO `area` VALUES (130630, '涞源县', 130600);
INSERT INTO `area` VALUES (130631, '望都县', 130600);
INSERT INTO `area` VALUES (130632, '安新县', 130600);
INSERT INTO `area` VALUES (130633, '易县', 130600);
INSERT INTO `area` VALUES (130634, '曲阳县', 130600);
INSERT INTO `area` VALUES (130635, '蠡县', 130600);
INSERT INTO `area` VALUES (130636, '顺平县', 130600);
INSERT INTO `area` VALUES (130637, '博野县', 130600);
INSERT INTO `area` VALUES (130638, '雄县', 130600);
INSERT INTO `area` VALUES (130681, '涿州市', 130600);
INSERT INTO `area` VALUES (130682, '定州市', 130600);
INSERT INTO `area` VALUES (130683, '安国市', 130600);
INSERT INTO `area` VALUES (130684, '高碑店市', 130600);
INSERT INTO `area` VALUES (130702, '桥东区', 130700);
INSERT INTO `area` VALUES (130703, '桥西区', 130700);
INSERT INTO `area` VALUES (130705, '宣化区', 130700);
INSERT INTO `area` VALUES (130706, '下花园区', 130700);
INSERT INTO `area` VALUES (130708, '万全区', 130700);
INSERT INTO `area` VALUES (130709, '崇礼区', 130700);
INSERT INTO `area` VALUES (130722, '张北县', 130700);
INSERT INTO `area` VALUES (130723, '康保县', 130700);
INSERT INTO `area` VALUES (130724, '沽源县', 130700);
INSERT INTO `area` VALUES (130725, '尚义县', 130700);
INSERT INTO `area` VALUES (130726, '蔚县', 130700);
INSERT INTO `area` VALUES (130727, '阳原县', 130700);
INSERT INTO `area` VALUES (130728, '怀安县', 130700);
INSERT INTO `area` VALUES (130730, '怀来县', 130700);
INSERT INTO `area` VALUES (130731, '涿鹿县', 130700);
INSERT INTO `area` VALUES (130732, '赤城县', 130700);
INSERT INTO `area` VALUES (130802, '双桥区', 130800);
INSERT INTO `area` VALUES (130803, '双滦区', 130800);
INSERT INTO `area` VALUES (130804, '鹰手营子矿区', 130800);
INSERT INTO `area` VALUES (130821, '承德县', 130800);
INSERT INTO `area` VALUES (130822, '兴隆县', 130800);
INSERT INTO `area` VALUES (130824, '滦平县', 130800);
INSERT INTO `area` VALUES (130825, '隆化县', 130800);
INSERT INTO `area` VALUES (130826, '丰宁满族自治县', 130800);
INSERT INTO `area` VALUES (130827, '宽城满族自治县', 130800);
INSERT INTO `area` VALUES (130828, '围场满族蒙古族自治县', 130800);
INSERT INTO `area` VALUES (130881, '平泉市', 130800);
INSERT INTO `area` VALUES (130902, '新华区', 130900);
INSERT INTO `area` VALUES (130903, '运河区', 130900);
INSERT INTO `area` VALUES (130921, '沧县', 130900);
INSERT INTO `area` VALUES (130922, '青县', 130900);
INSERT INTO `area` VALUES (130923, '东光县', 130900);
INSERT INTO `area` VALUES (130924, '海兴县', 130900);
INSERT INTO `area` VALUES (130925, '盐山县', 130900);
INSERT INTO `area` VALUES (130926, '肃宁县', 130900);
INSERT INTO `area` VALUES (130927, '南皮县', 130900);
INSERT INTO `area` VALUES (130928, '吴桥县', 130900);
INSERT INTO `area` VALUES (130929, '献县', 130900);
INSERT INTO `area` VALUES (130930, '孟村回族自治县', 130900);
INSERT INTO `area` VALUES (130981, '泊头市', 130900);
INSERT INTO `area` VALUES (130982, '任丘市', 130900);
INSERT INTO `area` VALUES (130983, '黄骅市', 130900);
INSERT INTO `area` VALUES (130984, '河间市', 130900);
INSERT INTO `area` VALUES (131002, '安次区', 131000);
INSERT INTO `area` VALUES (131003, '广阳区', 131000);
INSERT INTO `area` VALUES (131022, '固安县', 131000);
INSERT INTO `area` VALUES (131023, '永清县', 131000);
INSERT INTO `area` VALUES (131024, '香河县', 131000);
INSERT INTO `area` VALUES (131025, '大城县', 131000);
INSERT INTO `area` VALUES (131026, '文安县', 131000);
INSERT INTO `area` VALUES (131028, '大厂回族自治县', 131000);
INSERT INTO `area` VALUES (131081, '霸州市', 131000);
INSERT INTO `area` VALUES (131082, '三河市', 131000);
INSERT INTO `area` VALUES (131102, '桃城区', 131100);
INSERT INTO `area` VALUES (131103, '冀州区', 131100);
INSERT INTO `area` VALUES (131121, '枣强县', 131100);
INSERT INTO `area` VALUES (131122, '武邑县', 131100);
INSERT INTO `area` VALUES (131123, '武强县', 131100);
INSERT INTO `area` VALUES (131124, '饶阳县', 131100);
INSERT INTO `area` VALUES (131125, '安平县', 131100);
INSERT INTO `area` VALUES (131126, '故城县', 131100);
INSERT INTO `area` VALUES (131127, '景县', 131100);
INSERT INTO `area` VALUES (131128, '阜城县', 131100);
INSERT INTO `area` VALUES (131182, '深州市', 131100);
INSERT INTO `area` VALUES (140105, '小店区', 140100);
INSERT INTO `area` VALUES (140106, '迎泽区', 140100);
INSERT INTO `area` VALUES (140107, '杏花岭区', 140100);
INSERT INTO `area` VALUES (140108, '尖草坪区', 140100);
INSERT INTO `area` VALUES (140109, '万柏林区', 140100);
INSERT INTO `area` VALUES (140110, '晋源区', 140100);
INSERT INTO `area` VALUES (140121, '清徐县', 140100);
INSERT INTO `area` VALUES (140122, '阳曲县', 140100);
INSERT INTO `area` VALUES (140123, '娄烦县', 140100);
INSERT INTO `area` VALUES (140181, '古交市', 140100);
INSERT INTO `area` VALUES (140212, '新荣区', 140200);
INSERT INTO `area` VALUES (140213, '平城区', 140200);
INSERT INTO `area` VALUES (140214, '云冈区', 140200);
INSERT INTO `area` VALUES (140215, '云州区', 140200);
INSERT INTO `area` VALUES (140221, '阳高县', 140200);
INSERT INTO `area` VALUES (140222, '天镇县', 140200);
INSERT INTO `area` VALUES (140223, '广灵县', 140200);
INSERT INTO `area` VALUES (140224, '灵丘县', 140200);
INSERT INTO `area` VALUES (140225, '浑源县', 140200);
INSERT INTO `area` VALUES (140226, '左云县', 140200);
INSERT INTO `area` VALUES (140302, '城区', 140300);
INSERT INTO `area` VALUES (140303, '矿区', 140300);
INSERT INTO `area` VALUES (140311, '郊区', 140300);
INSERT INTO `area` VALUES (140321, '平定县', 140300);
INSERT INTO `area` VALUES (140322, '盂县', 140300);
INSERT INTO `area` VALUES (140403, '潞州区', 140400);
INSERT INTO `area` VALUES (140404, '上党区', 140400);
INSERT INTO `area` VALUES (140405, '屯留区', 140400);
INSERT INTO `area` VALUES (140406, '潞城区', 140400);
INSERT INTO `area` VALUES (140423, '襄垣县', 140400);
INSERT INTO `area` VALUES (140425, '平顺县', 140400);
INSERT INTO `area` VALUES (140426, '黎城县', 140400);
INSERT INTO `area` VALUES (140427, '壶关县', 140400);
INSERT INTO `area` VALUES (140428, '长子县', 140400);
INSERT INTO `area` VALUES (140429, '武乡县', 140400);
INSERT INTO `area` VALUES (140430, '沁县', 140400);
INSERT INTO `area` VALUES (140431, '沁源县', 140400);
INSERT INTO `area` VALUES (140502, '城区', 140500);
INSERT INTO `area` VALUES (140521, '沁水县', 140500);
INSERT INTO `area` VALUES (140522, '阳城县', 140500);
INSERT INTO `area` VALUES (140524, '陵川县', 140500);
INSERT INTO `area` VALUES (140525, '泽州县', 140500);
INSERT INTO `area` VALUES (140581, '高平市', 140500);
INSERT INTO `area` VALUES (140602, '朔城区', 140600);
INSERT INTO `area` VALUES (140603, '平鲁区', 140600);
INSERT INTO `area` VALUES (140621, '山阴县', 140600);
INSERT INTO `area` VALUES (140622, '应县', 140600);
INSERT INTO `area` VALUES (140623, '右玉县', 140600);
INSERT INTO `area` VALUES (140681, '怀仁市', 140600);
INSERT INTO `area` VALUES (140702, '榆次区', 140700);
INSERT INTO `area` VALUES (140703, '太谷区', 140700);
INSERT INTO `area` VALUES (140721, '榆社县', 140700);
INSERT INTO `area` VALUES (140722, '左权县', 140700);
INSERT INTO `area` VALUES (140723, '和顺县', 140700);
INSERT INTO `area` VALUES (140724, '昔阳县', 140700);
INSERT INTO `area` VALUES (140725, '寿阳县', 140700);
INSERT INTO `area` VALUES (140727, '祁县', 140700);
INSERT INTO `area` VALUES (140728, '平遥县', 140700);
INSERT INTO `area` VALUES (140729, '灵石县', 140700);
INSERT INTO `area` VALUES (140781, '介休市', 140700);
INSERT INTO `area` VALUES (140802, '盐湖区', 140800);
INSERT INTO `area` VALUES (140821, '临猗县', 140800);
INSERT INTO `area` VALUES (140822, '万荣县', 140800);
INSERT INTO `area` VALUES (140823, '闻喜县', 140800);
INSERT INTO `area` VALUES (140824, '稷山县', 140800);
INSERT INTO `area` VALUES (140825, '新绛县', 140800);
INSERT INTO `area` VALUES (140826, '绛县', 140800);
INSERT INTO `area` VALUES (140827, '垣曲县', 140800);
INSERT INTO `area` VALUES (140828, '夏县', 140800);
INSERT INTO `area` VALUES (140829, '平陆县', 140800);
INSERT INTO `area` VALUES (140830, '芮城县', 140800);
INSERT INTO `area` VALUES (140881, '永济市', 140800);
INSERT INTO `area` VALUES (140882, '河津市', 140800);
INSERT INTO `area` VALUES (140902, '忻府区', 140900);
INSERT INTO `area` VALUES (140921, '定襄县', 140900);
INSERT INTO `area` VALUES (140922, '五台县', 140900);
INSERT INTO `area` VALUES (140923, '代县', 140900);
INSERT INTO `area` VALUES (140924, '繁峙县', 140900);
INSERT INTO `area` VALUES (140925, '宁武县', 140900);
INSERT INTO `area` VALUES (140926, '静乐县', 140900);
INSERT INTO `area` VALUES (140927, '神池县', 140900);
INSERT INTO `area` VALUES (140928, '五寨县', 140900);
INSERT INTO `area` VALUES (140929, '岢岚县', 140900);
INSERT INTO `area` VALUES (140930, '河曲县', 140900);
INSERT INTO `area` VALUES (140931, '保德县', 140900);
INSERT INTO `area` VALUES (140932, '偏关县', 140900);
INSERT INTO `area` VALUES (140981, '原平市', 140900);
INSERT INTO `area` VALUES (141002, '尧都区', 141000);
INSERT INTO `area` VALUES (141021, '曲沃县', 141000);
INSERT INTO `area` VALUES (141022, '翼城县', 141000);
INSERT INTO `area` VALUES (141023, '襄汾县', 141000);
INSERT INTO `area` VALUES (141024, '洪洞县', 141000);
INSERT INTO `area` VALUES (141025, '古县', 141000);
INSERT INTO `area` VALUES (141026, '安泽县', 141000);
INSERT INTO `area` VALUES (141027, '浮山县', 141000);
INSERT INTO `area` VALUES (141028, '吉县', 141000);
INSERT INTO `area` VALUES (141029, '乡宁县', 141000);
INSERT INTO `area` VALUES (141030, '大宁县', 141000);
INSERT INTO `area` VALUES (141031, '隰县', 141000);
INSERT INTO `area` VALUES (141032, '永和县', 141000);
INSERT INTO `area` VALUES (141033, '蒲县', 141000);
INSERT INTO `area` VALUES (141034, '汾西县', 141000);
INSERT INTO `area` VALUES (141081, '侯马市', 141000);
INSERT INTO `area` VALUES (141082, '霍州市', 141000);
INSERT INTO `area` VALUES (141102, '离石区', 141100);
INSERT INTO `area` VALUES (141121, '文水县', 141100);
INSERT INTO `area` VALUES (141122, '交城县', 141100);
INSERT INTO `area` VALUES (141123, '兴县', 141100);
INSERT INTO `area` VALUES (141124, '临县', 141100);
INSERT INTO `area` VALUES (141125, '柳林县', 141100);
INSERT INTO `area` VALUES (141126, '石楼县', 141100);
INSERT INTO `area` VALUES (141127, '岚县', 141100);
INSERT INTO `area` VALUES (141128, '方山县', 141100);
INSERT INTO `area` VALUES (141129, '中阳县', 141100);
INSERT INTO `area` VALUES (141130, '交口县', 141100);
INSERT INTO `area` VALUES (141181, '孝义市', 141100);
INSERT INTO `area` VALUES (141182, '汾阳市', 141100);
INSERT INTO `area` VALUES (150102, '新城区', 150100);
INSERT INTO `area` VALUES (150103, '回民区', 150100);
INSERT INTO `area` VALUES (150104, '玉泉区', 150100);
INSERT INTO `area` VALUES (150105, '赛罕区', 150100);
INSERT INTO `area` VALUES (150121, '土默特左旗', 150100);
INSERT INTO `area` VALUES (150122, '托克托县', 150100);
INSERT INTO `area` VALUES (150123, '和林格尔县', 150100);
INSERT INTO `area` VALUES (150124, '清水河县', 150100);
INSERT INTO `area` VALUES (150125, '武川县', 150100);
INSERT INTO `area` VALUES (150202, '东河区', 150200);
INSERT INTO `area` VALUES (150203, '昆都仑区', 150200);
INSERT INTO `area` VALUES (150204, '青山区', 150200);
INSERT INTO `area` VALUES (150205, '石拐区', 150200);
INSERT INTO `area` VALUES (150206, '白云鄂博矿区', 150200);
INSERT INTO `area` VALUES (150207, '九原区', 150200);
INSERT INTO `area` VALUES (150221, '土默特右旗', 150200);
INSERT INTO `area` VALUES (150222, '固阳县', 150200);
INSERT INTO `area` VALUES (150223, '达尔罕茂明安联合旗', 150200);
INSERT INTO `area` VALUES (150302, '海勃湾区', 150300);
INSERT INTO `area` VALUES (150303, '海南区', 150300);
INSERT INTO `area` VALUES (150304, '乌达区', 150300);
INSERT INTO `area` VALUES (150402, '红山区', 150400);
INSERT INTO `area` VALUES (150403, '元宝山区', 150400);
INSERT INTO `area` VALUES (150404, '松山区', 150400);
INSERT INTO `area` VALUES (150421, '阿鲁科尔沁旗', 150400);
INSERT INTO `area` VALUES (150422, '巴林左旗', 150400);
INSERT INTO `area` VALUES (150423, '巴林右旗', 150400);
INSERT INTO `area` VALUES (150424, '林西县', 150400);
INSERT INTO `area` VALUES (150425, '克什克腾旗', 150400);
INSERT INTO `area` VALUES (150426, '翁牛特旗', 150400);
INSERT INTO `area` VALUES (150428, '喀喇沁旗', 150400);
INSERT INTO `area` VALUES (150429, '宁城县', 150400);
INSERT INTO `area` VALUES (150430, '敖汉旗', 150400);
INSERT INTO `area` VALUES (150502, '科尔沁区', 150500);
INSERT INTO `area` VALUES (150521, '科尔沁左翼中旗', 150500);
INSERT INTO `area` VALUES (150522, '科尔沁左翼后旗', 150500);
INSERT INTO `area` VALUES (150523, '开鲁县', 150500);
INSERT INTO `area` VALUES (150524, '库伦旗', 150500);
INSERT INTO `area` VALUES (150525, '奈曼旗', 150500);
INSERT INTO `area` VALUES (150526, '扎鲁特旗', 150500);
INSERT INTO `area` VALUES (150581, '霍林郭勒市', 150500);
INSERT INTO `area` VALUES (150602, '东胜区', 150600);
INSERT INTO `area` VALUES (150603, '康巴什区', 150600);
INSERT INTO `area` VALUES (150621, '达拉特旗', 150600);
INSERT INTO `area` VALUES (150622, '准格尔旗', 150600);
INSERT INTO `area` VALUES (150623, '鄂托克前旗', 150600);
INSERT INTO `area` VALUES (150624, '鄂托克旗', 150600);
INSERT INTO `area` VALUES (150625, '杭锦旗', 150600);
INSERT INTO `area` VALUES (150626, '乌审旗', 150600);
INSERT INTO `area` VALUES (150627, '伊金霍洛旗', 150600);
INSERT INTO `area` VALUES (150702, '海拉尔区', 150700);
INSERT INTO `area` VALUES (150703, '扎赉诺尔区', 150700);
INSERT INTO `area` VALUES (150721, '阿荣旗', 150700);
INSERT INTO `area` VALUES (150722, '莫力达瓦达斡尔族自治旗', 150700);
INSERT INTO `area` VALUES (150723, '鄂伦春自治旗', 150700);
INSERT INTO `area` VALUES (150724, '鄂温克族自治旗', 150700);
INSERT INTO `area` VALUES (150725, '陈巴尔虎旗', 150700);
INSERT INTO `area` VALUES (150726, '新巴尔虎左旗', 150700);
INSERT INTO `area` VALUES (150727, '新巴尔虎右旗', 150700);
INSERT INTO `area` VALUES (150781, '满洲里市', 150700);
INSERT INTO `area` VALUES (150782, '牙克石市', 150700);
INSERT INTO `area` VALUES (150783, '扎兰屯市', 150700);
INSERT INTO `area` VALUES (150784, '额尔古纳市', 150700);
INSERT INTO `area` VALUES (150785, '根河市', 150700);
INSERT INTO `area` VALUES (150802, '临河区', 150800);
INSERT INTO `area` VALUES (150821, '五原县', 150800);
INSERT INTO `area` VALUES (150822, '磴口县', 150800);
INSERT INTO `area` VALUES (150823, '乌拉特前旗', 150800);
INSERT INTO `area` VALUES (150824, '乌拉特中旗', 150800);
INSERT INTO `area` VALUES (150825, '乌拉特后旗', 150800);
INSERT INTO `area` VALUES (150826, '杭锦后旗', 150800);
INSERT INTO `area` VALUES (150902, '集宁区', 150900);
INSERT INTO `area` VALUES (150921, '卓资县', 150900);
INSERT INTO `area` VALUES (150922, '化德县', 150900);
INSERT INTO `area` VALUES (150923, '商都县', 150900);
INSERT INTO `area` VALUES (150924, '兴和县', 150900);
INSERT INTO `area` VALUES (150925, '凉城县', 150900);
INSERT INTO `area` VALUES (150926, '察哈尔右翼前旗', 150900);
INSERT INTO `area` VALUES (150927, '察哈尔右翼中旗', 150900);
INSERT INTO `area` VALUES (150928, '察哈尔右翼后旗', 150900);
INSERT INTO `area` VALUES (150929, '四子王旗', 150900);
INSERT INTO `area` VALUES (150981, '丰镇市', 150900);
INSERT INTO `area` VALUES (152201, '乌兰浩特市', 152200);
INSERT INTO `area` VALUES (152202, '阿尔山市', 152200);
INSERT INTO `area` VALUES (152221, '科尔沁右翼前旗', 152200);
INSERT INTO `area` VALUES (152222, '科尔沁右翼中旗', 152200);
INSERT INTO `area` VALUES (152223, '扎赉特旗', 152200);
INSERT INTO `area` VALUES (152224, '突泉县', 152200);
INSERT INTO `area` VALUES (152501, '二连浩特市', 152500);
INSERT INTO `area` VALUES (152502, '锡林浩特市', 152500);
INSERT INTO `area` VALUES (152522, '阿巴嘎旗', 152500);
INSERT INTO `area` VALUES (152523, '苏尼特左旗', 152500);
INSERT INTO `area` VALUES (152524, '苏尼特右旗', 152500);
INSERT INTO `area` VALUES (152525, '东乌珠穆沁旗', 152500);
INSERT INTO `area` VALUES (152526, '西乌珠穆沁旗', 152500);
INSERT INTO `area` VALUES (152527, '太仆寺旗', 152500);
INSERT INTO `area` VALUES (152528, '镶黄旗', 152500);
INSERT INTO `area` VALUES (152529, '正镶白旗', 152500);
INSERT INTO `area` VALUES (152530, '正蓝旗', 152500);
INSERT INTO `area` VALUES (152531, '多伦县', 152500);
INSERT INTO `area` VALUES (152921, '阿拉善左旗', 152900);
INSERT INTO `area` VALUES (152922, '阿拉善右旗', 152900);
INSERT INTO `area` VALUES (152923, '额济纳旗', 152900);
INSERT INTO `area` VALUES (210102, '和平区', 210100);
INSERT INTO `area` VALUES (210103, '沈河区', 210100);
INSERT INTO `area` VALUES (210104, '大东区', 210100);
INSERT INTO `area` VALUES (210105, '皇姑区', 210100);
INSERT INTO `area` VALUES (210106, '铁西区', 210100);
INSERT INTO `area` VALUES (210111, '苏家屯区', 210100);
INSERT INTO `area` VALUES (210112, '浑南区', 210100);
INSERT INTO `area` VALUES (210113, '于洪区', 210100);
INSERT INTO `area` VALUES (210114, '沈北新区', 210100);
INSERT INTO `area` VALUES (210115, '辽中区', 210100);
INSERT INTO `area` VALUES (210123, '康平县', 210100);
INSERT INTO `area` VALUES (210124, '法库县', 210100);
INSERT INTO `area` VALUES (210181, '新民市', 210100);
INSERT INTO `area` VALUES (210202, '中山区', 210200);
INSERT INTO `area` VALUES (210203, '西岗区', 210200);
INSERT INTO `area` VALUES (210204, '沙河口区', 210200);
INSERT INTO `area` VALUES (210211, '甘井子区', 210200);
INSERT INTO `area` VALUES (210212, '旅顺口区', 210200);
INSERT INTO `area` VALUES (210213, '金州区', 210200);
INSERT INTO `area` VALUES (210214, '普兰店区', 210200);
INSERT INTO `area` VALUES (210224, '长海县', 210200);
INSERT INTO `area` VALUES (210281, '瓦房店市', 210200);
INSERT INTO `area` VALUES (210283, '庄河市', 210200);
INSERT INTO `area` VALUES (210302, '铁东区', 210300);
INSERT INTO `area` VALUES (210303, '铁西区', 210300);
INSERT INTO `area` VALUES (210304, '立山区', 210300);
INSERT INTO `area` VALUES (210311, '千山区', 210300);
INSERT INTO `area` VALUES (210321, '台安县', 210300);
INSERT INTO `area` VALUES (210323, '岫岩满族自治县', 210300);
INSERT INTO `area` VALUES (210381, '海城市', 210300);
INSERT INTO `area` VALUES (210402, '新抚区', 210400);
INSERT INTO `area` VALUES (210403, '东洲区', 210400);
INSERT INTO `area` VALUES (210404, '望花区', 210400);
INSERT INTO `area` VALUES (210411, '顺城区', 210400);
INSERT INTO `area` VALUES (210421, '抚顺县', 210400);
INSERT INTO `area` VALUES (210422, '新宾满族自治县', 210400);
INSERT INTO `area` VALUES (210423, '清原满族自治县', 210400);
INSERT INTO `area` VALUES (210502, '平山区', 210500);
INSERT INTO `area` VALUES (210503, '溪湖区', 210500);
INSERT INTO `area` VALUES (210504, '明山区', 210500);
INSERT INTO `area` VALUES (210505, '南芬区', 210500);
INSERT INTO `area` VALUES (210521, '本溪满族自治县', 210500);
INSERT INTO `area` VALUES (210522, '桓仁满族自治县', 210500);
INSERT INTO `area` VALUES (210602, '元宝区', 210600);
INSERT INTO `area` VALUES (210603, '振兴区', 210600);
INSERT INTO `area` VALUES (210604, '振安区', 210600);
INSERT INTO `area` VALUES (210624, '宽甸满族自治县', 210600);
INSERT INTO `area` VALUES (210681, '东港市', 210600);
INSERT INTO `area` VALUES (210682, '凤城市', 210600);
INSERT INTO `area` VALUES (210702, '古塔区', 210700);
INSERT INTO `area` VALUES (210703, '凌河区', 210700);
INSERT INTO `area` VALUES (210711, '太和区', 210700);
INSERT INTO `area` VALUES (210726, '黑山县', 210700);
INSERT INTO `area` VALUES (210727, '义县', 210700);
INSERT INTO `area` VALUES (210781, '凌海市', 210700);
INSERT INTO `area` VALUES (210782, '北镇市', 210700);
INSERT INTO `area` VALUES (210802, '站前区', 210800);
INSERT INTO `area` VALUES (210803, '西市区', 210800);
INSERT INTO `area` VALUES (210804, '鲅鱼圈区', 210800);
INSERT INTO `area` VALUES (210811, '老边区', 210800);
INSERT INTO `area` VALUES (210881, '盖州市', 210800);
INSERT INTO `area` VALUES (210882, '大石桥市', 210800);
INSERT INTO `area` VALUES (210902, '海州区', 210900);
INSERT INTO `area` VALUES (210903, '新邱区', 210900);
INSERT INTO `area` VALUES (210904, '太平区', 210900);
INSERT INTO `area` VALUES (210905, '清河门区', 210900);
INSERT INTO `area` VALUES (210911, '细河区', 210900);
INSERT INTO `area` VALUES (210921, '阜新蒙古族自治县', 210900);
INSERT INTO `area` VALUES (210922, '彰武县', 210900);
INSERT INTO `area` VALUES (211002, '白塔区', 211000);
INSERT INTO `area` VALUES (211003, '文圣区', 211000);
INSERT INTO `area` VALUES (211004, '宏伟区', 211000);
INSERT INTO `area` VALUES (211005, '弓长岭区', 211000);
INSERT INTO `area` VALUES (211011, '太子河区', 211000);
INSERT INTO `area` VALUES (211021, '辽阳县', 211000);
INSERT INTO `area` VALUES (211081, '灯塔市', 211000);
INSERT INTO `area` VALUES (211102, '双台子区', 211100);
INSERT INTO `area` VALUES (211103, '兴隆台区', 211100);
INSERT INTO `area` VALUES (211104, '大洼区', 211100);
INSERT INTO `area` VALUES (211122, '盘山县', 211100);
INSERT INTO `area` VALUES (211202, '银州区', 211200);
INSERT INTO `area` VALUES (211204, '清河区', 211200);
INSERT INTO `area` VALUES (211221, '铁岭县', 211200);
INSERT INTO `area` VALUES (211223, '西丰县', 211200);
INSERT INTO `area` VALUES (211224, '昌图县', 211200);
INSERT INTO `area` VALUES (211281, '调兵山市', 211200);
INSERT INTO `area` VALUES (211282, '开原市', 211200);
INSERT INTO `area` VALUES (211302, '双塔区', 211300);
INSERT INTO `area` VALUES (211303, '龙城区', 211300);
INSERT INTO `area` VALUES (211321, '朝阳县', 211300);
INSERT INTO `area` VALUES (211322, '建平县', 211300);
INSERT INTO `area` VALUES (211324, '喀喇沁左翼蒙古族自治县', 211300);
INSERT INTO `area` VALUES (211381, '北票市', 211300);
INSERT INTO `area` VALUES (211382, '凌源市', 211300);
INSERT INTO `area` VALUES (211402, '连山区', 211400);
INSERT INTO `area` VALUES (211403, '龙港区', 211400);
INSERT INTO `area` VALUES (211404, '南票区', 211400);
INSERT INTO `area` VALUES (211421, '绥中县', 211400);
INSERT INTO `area` VALUES (211422, '建昌县', 211400);
INSERT INTO `area` VALUES (211481, '兴城市', 211400);
INSERT INTO `area` VALUES (220102, '南关区', 220100);
INSERT INTO `area` VALUES (220103, '宽城区', 220100);
INSERT INTO `area` VALUES (220104, '朝阳区', 220100);
INSERT INTO `area` VALUES (220105, '二道区', 220100);
INSERT INTO `area` VALUES (220106, '绿园区', 220100);
INSERT INTO `area` VALUES (220112, '双阳区', 220100);
INSERT INTO `area` VALUES (220113, '九台区', 220100);
INSERT INTO `area` VALUES (220122, '农安县', 220100);
INSERT INTO `area` VALUES (220182, '榆树市', 220100);
INSERT INTO `area` VALUES (220183, '德惠市', 220100);
INSERT INTO `area` VALUES (220184, '公主岭市', 220100);
INSERT INTO `area` VALUES (220202, '昌邑区', 220200);
INSERT INTO `area` VALUES (220203, '龙潭区', 220200);
INSERT INTO `area` VALUES (220204, '船营区', 220200);
INSERT INTO `area` VALUES (220211, '丰满区', 220200);
INSERT INTO `area` VALUES (220221, '永吉县', 220200);
INSERT INTO `area` VALUES (220281, '蛟河市', 220200);
INSERT INTO `area` VALUES (220282, '桦甸市', 220200);
INSERT INTO `area` VALUES (220283, '舒兰市', 220200);
INSERT INTO `area` VALUES (220284, '磐石市', 220200);
INSERT INTO `area` VALUES (220302, '铁西区', 220300);
INSERT INTO `area` VALUES (220303, '铁东区', 220300);
INSERT INTO `area` VALUES (220322, '梨树县', 220300);
INSERT INTO `area` VALUES (220323, '伊通满族自治县', 220300);
INSERT INTO `area` VALUES (220382, '双辽市', 220300);
INSERT INTO `area` VALUES (220402, '龙山区', 220400);
INSERT INTO `area` VALUES (220403, '西安区', 220400);
INSERT INTO `area` VALUES (220421, '东丰县', 220400);
INSERT INTO `area` VALUES (220422, '东辽县', 220400);
INSERT INTO `area` VALUES (220502, '东昌区', 220500);
INSERT INTO `area` VALUES (220503, '二道江区', 220500);
INSERT INTO `area` VALUES (220521, '通化县', 220500);
INSERT INTO `area` VALUES (220523, '辉南县', 220500);
INSERT INTO `area` VALUES (220524, '柳河县', 220500);
INSERT INTO `area` VALUES (220581, '梅河口市', 220500);
INSERT INTO `area` VALUES (220582, '集安市', 220500);
INSERT INTO `area` VALUES (220602, '浑江区', 220600);
INSERT INTO `area` VALUES (220605, '江源区', 220600);
INSERT INTO `area` VALUES (220621, '抚松县', 220600);
INSERT INTO `area` VALUES (220622, '靖宇县', 220600);
INSERT INTO `area` VALUES (220623, '长白朝鲜族自治县', 220600);
INSERT INTO `area` VALUES (220681, '临江市', 220600);
INSERT INTO `area` VALUES (220702, '宁江区', 220700);
INSERT INTO `area` VALUES (220721, '前郭尔罗斯蒙古族自治县', 220700);
INSERT INTO `area` VALUES (220722, '长岭县', 220700);
INSERT INTO `area` VALUES (220723, '乾安县', 220700);
INSERT INTO `area` VALUES (220781, '扶余市', 220700);
INSERT INTO `area` VALUES (220802, '洮北区', 220800);
INSERT INTO `area` VALUES (220821, '镇赉县', 220800);
INSERT INTO `area` VALUES (220822, '通榆县', 220800);
INSERT INTO `area` VALUES (220881, '洮南市', 220800);
INSERT INTO `area` VALUES (220882, '大安市', 220800);
INSERT INTO `area` VALUES (222401, '延吉市', 222400);
INSERT INTO `area` VALUES (222402, '图们市', 222400);
INSERT INTO `area` VALUES (222403, '敦化市', 222400);
INSERT INTO `area` VALUES (222404, '珲春市', 222400);
INSERT INTO `area` VALUES (222405, '龙井市', 222400);
INSERT INTO `area` VALUES (222406, '和龙市', 222400);
INSERT INTO `area` VALUES (222424, '汪清县', 222400);
INSERT INTO `area` VALUES (222426, '安图县', 222400);
INSERT INTO `area` VALUES (230102, '道里区', 230100);
INSERT INTO `area` VALUES (230103, '南岗区', 230100);
INSERT INTO `area` VALUES (230104, '道外区', 230100);
INSERT INTO `area` VALUES (230108, '平房区', 230100);
INSERT INTO `area` VALUES (230109, '松北区', 230100);
INSERT INTO `area` VALUES (230110, '香坊区', 230100);
INSERT INTO `area` VALUES (230111, '呼兰区', 230100);
INSERT INTO `area` VALUES (230112, '阿城区', 230100);
INSERT INTO `area` VALUES (230113, '双城区', 230100);
INSERT INTO `area` VALUES (230123, '依兰县', 230100);
INSERT INTO `area` VALUES (230124, '方正县', 230100);
INSERT INTO `area` VALUES (230125, '宾县', 230100);
INSERT INTO `area` VALUES (230126, '巴彦县', 230100);
INSERT INTO `area` VALUES (230127, '木兰县', 230100);
INSERT INTO `area` VALUES (230128, '通河县', 230100);
INSERT INTO `area` VALUES (230129, '延寿县', 230100);
INSERT INTO `area` VALUES (230183, '尚志市', 230100);
INSERT INTO `area` VALUES (230184, '五常市', 230100);
INSERT INTO `area` VALUES (230202, '龙沙区', 230200);
INSERT INTO `area` VALUES (230203, '建华区', 230200);
INSERT INTO `area` VALUES (230204, '铁锋区', 230200);
INSERT INTO `area` VALUES (230205, '昂昂溪区', 230200);
INSERT INTO `area` VALUES (230206, '富拉尔基区', 230200);
INSERT INTO `area` VALUES (230207, '碾子山区', 230200);
INSERT INTO `area` VALUES (230208, '梅里斯达斡尔族区', 230200);
INSERT INTO `area` VALUES (230221, '龙江县', 230200);
INSERT INTO `area` VALUES (230223, '依安县', 230200);
INSERT INTO `area` VALUES (230224, '泰来县', 230200);
INSERT INTO `area` VALUES (230225, '甘南县', 230200);
INSERT INTO `area` VALUES (230227, '富裕县', 230200);
INSERT INTO `area` VALUES (230229, '克山县', 230200);
INSERT INTO `area` VALUES (230230, '克东县', 230200);
INSERT INTO `area` VALUES (230231, '拜泉县', 230200);
INSERT INTO `area` VALUES (230281, '讷河市', 230200);
INSERT INTO `area` VALUES (230302, '鸡冠区', 230300);
INSERT INTO `area` VALUES (230303, '恒山区', 230300);
INSERT INTO `area` VALUES (230304, '滴道区', 230300);
INSERT INTO `area` VALUES (230305, '梨树区', 230300);
INSERT INTO `area` VALUES (230306, '城子河区', 230300);
INSERT INTO `area` VALUES (230307, '麻山区', 230300);
INSERT INTO `area` VALUES (230321, '鸡东县', 230300);
INSERT INTO `area` VALUES (230381, '虎林市', 230300);
INSERT INTO `area` VALUES (230382, '密山市', 230300);
INSERT INTO `area` VALUES (230402, '向阳区', 230400);
INSERT INTO `area` VALUES (230403, '工农区', 230400);
INSERT INTO `area` VALUES (230404, '南山区', 230400);
INSERT INTO `area` VALUES (230405, '兴安区', 230400);
INSERT INTO `area` VALUES (230406, '东山区', 230400);
INSERT INTO `area` VALUES (230407, '兴山区', 230400);
INSERT INTO `area` VALUES (230421, '萝北县', 230400);
INSERT INTO `area` VALUES (230422, '绥滨县', 230400);
INSERT INTO `area` VALUES (230502, '尖山区', 230500);
INSERT INTO `area` VALUES (230503, '岭东区', 230500);
INSERT INTO `area` VALUES (230505, '四方台区', 230500);
INSERT INTO `area` VALUES (230506, '宝山区', 230500);
INSERT INTO `area` VALUES (230521, '集贤县', 230500);
INSERT INTO `area` VALUES (230522, '友谊县', 230500);
INSERT INTO `area` VALUES (230523, '宝清县', 230500);
INSERT INTO `area` VALUES (230524, '饶河县', 230500);
INSERT INTO `area` VALUES (230602, '萨尔图区', 230600);
INSERT INTO `area` VALUES (230603, '龙凤区', 230600);
INSERT INTO `area` VALUES (230604, '让胡路区', 230600);
INSERT INTO `area` VALUES (230605, '红岗区', 230600);
INSERT INTO `area` VALUES (230606, '大同区', 230600);
INSERT INTO `area` VALUES (230621, '肇州县', 230600);
INSERT INTO `area` VALUES (230622, '肇源县', 230600);
INSERT INTO `area` VALUES (230623, '林甸县', 230600);
INSERT INTO `area` VALUES (230624, '杜尔伯特蒙古族自治县', 230600);
INSERT INTO `area` VALUES (230711, '伊美区', 230700);
INSERT INTO `area` VALUES (230712, '乌翠区', 230700);
INSERT INTO `area` VALUES (230713, '友好区', 230700);
INSERT INTO `area` VALUES (230714, '嘉荫县', 230700);
INSERT INTO `area` VALUES (230722, '汤旺县', 230700);
INSERT INTO `area` VALUES (230723, '丰林县', 230700);
INSERT INTO `area` VALUES (230724, '大箐山县', 230700);
INSERT INTO `area` VALUES (230725, '南岔县', 230700);
INSERT INTO `area` VALUES (230726, '金林区', 230700);
INSERT INTO `area` VALUES (230751, '铁力市', 230700);
INSERT INTO `area` VALUES (230803, '向阳区', 230800);
INSERT INTO `area` VALUES (230804, '前进区', 230800);
INSERT INTO `area` VALUES (230805, '东风区', 230800);
INSERT INTO `area` VALUES (230811, '郊区', 230800);
INSERT INTO `area` VALUES (230822, '桦南县', 230800);
INSERT INTO `area` VALUES (230826, '桦川县', 230800);
INSERT INTO `area` VALUES (230828, '汤原县', 230800);
INSERT INTO `area` VALUES (230881, '同江市', 230800);
INSERT INTO `area` VALUES (230882, '富锦市', 230800);
INSERT INTO `area` VALUES (230883, '抚远市', 230800);
INSERT INTO `area` VALUES (230902, '新兴区', 230900);
INSERT INTO `area` VALUES (230903, '桃山区', 230900);
INSERT INTO `area` VALUES (230904, '茄子河区', 230900);
INSERT INTO `area` VALUES (230921, '勃利县', 230900);
INSERT INTO `area` VALUES (231002, '东安区', 231000);
INSERT INTO `area` VALUES (231003, '阳明区', 231000);
INSERT INTO `area` VALUES (231004, '爱民区', 231000);
INSERT INTO `area` VALUES (231005, '西安区', 231000);
INSERT INTO `area` VALUES (231025, '林口县', 231000);
INSERT INTO `area` VALUES (231081, '绥芬河市', 231000);
INSERT INTO `area` VALUES (231083, '海林市', 231000);
INSERT INTO `area` VALUES (231084, '宁安市', 231000);
INSERT INTO `area` VALUES (231085, '穆棱市', 231000);
INSERT INTO `area` VALUES (231086, '东宁市', 231000);
INSERT INTO `area` VALUES (231102, '爱辉区', 231100);
INSERT INTO `area` VALUES (231123, '嫩江市', 231100);
INSERT INTO `area` VALUES (231124, '逊克县', 231100);
INSERT INTO `area` VALUES (231125, '孙吴县', 231100);
INSERT INTO `area` VALUES (231181, '北安市', 231100);
INSERT INTO `area` VALUES (231182, '五大连池市', 231100);
INSERT INTO `area` VALUES (231202, '北林区', 231200);
INSERT INTO `area` VALUES (231221, '望奎县', 231200);
INSERT INTO `area` VALUES (231222, '兰西县', 231200);
INSERT INTO `area` VALUES (231223, '青冈县', 231200);
INSERT INTO `area` VALUES (231224, '庆安县', 231200);
INSERT INTO `area` VALUES (231225, '明水县', 231200);
INSERT INTO `area` VALUES (231226, '绥棱县', 231200);
INSERT INTO `area` VALUES (231281, '安达市', 231200);
INSERT INTO `area` VALUES (231282, '肇东市', 231200);
INSERT INTO `area` VALUES (231283, '海伦市', 231200);
INSERT INTO `area` VALUES (232701, '漠河市', 232700);
INSERT INTO `area` VALUES (232721, '呼玛县', 232700);
INSERT INTO `area` VALUES (232722, '塔河县', 232700);
INSERT INTO `area` VALUES (310101, '黄浦区', 310100);
INSERT INTO `area` VALUES (310104, '徐汇区', 310100);
INSERT INTO `area` VALUES (310105, '长宁区', 310100);
INSERT INTO `area` VALUES (310106, '静安区', 310100);
INSERT INTO `area` VALUES (310107, '普陀区', 310100);
INSERT INTO `area` VALUES (310109, '虹口区', 310100);
INSERT INTO `area` VALUES (310110, '杨浦区', 310100);
INSERT INTO `area` VALUES (310112, '闵行区', 310100);
INSERT INTO `area` VALUES (310113, '宝山区', 310100);
INSERT INTO `area` VALUES (310114, '嘉定区', 310100);
INSERT INTO `area` VALUES (310115, '浦东新区', 310100);
INSERT INTO `area` VALUES (310116, '金山区', 310100);
INSERT INTO `area` VALUES (310117, '松江区', 310100);
INSERT INTO `area` VALUES (310118, '青浦区', 310100);
INSERT INTO `area` VALUES (310120, '奉贤区', 310100);
INSERT INTO `area` VALUES (310151, '崇明区', 310100);
INSERT INTO `area` VALUES (320102, '玄武区', 320100);
INSERT INTO `area` VALUES (320104, '秦淮区', 320100);
INSERT INTO `area` VALUES (320105, '建邺区', 320100);
INSERT INTO `area` VALUES (320106, '鼓楼区', 320100);
INSERT INTO `area` VALUES (320111, '浦口区', 320100);
INSERT INTO `area` VALUES (320113, '栖霞区', 320100);
INSERT INTO `area` VALUES (320114, '雨花台区', 320100);
INSERT INTO `area` VALUES (320115, '江宁区', 320100);
INSERT INTO `area` VALUES (320116, '六合区', 320100);
INSERT INTO `area` VALUES (320117, '溧水区', 320100);
INSERT INTO `area` VALUES (320118, '高淳区', 320100);
INSERT INTO `area` VALUES (320205, '锡山区', 320200);
INSERT INTO `area` VALUES (320206, '惠山区', 320200);
INSERT INTO `area` VALUES (320211, '滨湖区', 320200);
INSERT INTO `area` VALUES (320213, '梁溪区', 320200);
INSERT INTO `area` VALUES (320214, '新吴区', 320200);
INSERT INTO `area` VALUES (320281, '江阴市', 320200);
INSERT INTO `area` VALUES (320282, '宜兴市', 320200);
INSERT INTO `area` VALUES (320302, '鼓楼区', 320300);
INSERT INTO `area` VALUES (320303, '云龙区', 320300);
INSERT INTO `area` VALUES (320305, '贾汪区', 320300);
INSERT INTO `area` VALUES (320311, '泉山区', 320300);
INSERT INTO `area` VALUES (320312, '铜山区', 320300);
INSERT INTO `area` VALUES (320321, '丰县', 320300);
INSERT INTO `area` VALUES (320322, '沛县', 320300);
INSERT INTO `area` VALUES (320324, '睢宁县', 320300);
INSERT INTO `area` VALUES (320381, '新沂市', 320300);
INSERT INTO `area` VALUES (320382, '邳州市', 320300);
INSERT INTO `area` VALUES (320402, '天宁区', 320400);
INSERT INTO `area` VALUES (320404, '钟楼区', 320400);
INSERT INTO `area` VALUES (320411, '新北区', 320400);
INSERT INTO `area` VALUES (320412, '武进区', 320400);
INSERT INTO `area` VALUES (320413, '金坛区', 320400);
INSERT INTO `area` VALUES (320481, '溧阳市', 320400);
INSERT INTO `area` VALUES (320505, '虎丘区', 320500);
INSERT INTO `area` VALUES (320506, '吴中区', 320500);
INSERT INTO `area` VALUES (320507, '相城区', 320500);
INSERT INTO `area` VALUES (320508, '姑苏区', 320500);
INSERT INTO `area` VALUES (320509, '吴江区', 320500);
INSERT INTO `area` VALUES (320581, '常熟市', 320500);
INSERT INTO `area` VALUES (320582, '张家港市', 320500);
INSERT INTO `area` VALUES (320583, '昆山市', 320500);
INSERT INTO `area` VALUES (320585, '太仓市', 320500);
INSERT INTO `area` VALUES (320602, '崇川区', 320600);
INSERT INTO `area` VALUES (320611, '港闸区', 320600);
INSERT INTO `area` VALUES (320612, '通州区', 320600);
INSERT INTO `area` VALUES (320623, '如东县', 320600);
INSERT INTO `area` VALUES (320681, '启东市', 320600);
INSERT INTO `area` VALUES (320682, '如皋市', 320600);
INSERT INTO `area` VALUES (320684, '海安市', 320600);
INSERT INTO `area` VALUES (320685, '海门市', 320600);
INSERT INTO `area` VALUES (320703, '连云区', 320700);
INSERT INTO `area` VALUES (320706, '海州区', 320700);
INSERT INTO `area` VALUES (320707, '赣榆区', 320700);
INSERT INTO `area` VALUES (320722, '东海县', 320700);
INSERT INTO `area` VALUES (320723, '灌云县', 320700);
INSERT INTO `area` VALUES (320724, '灌南县', 320700);
INSERT INTO `area` VALUES (320803, '淮安区', 320800);
INSERT INTO `area` VALUES (320804, '淮阴区', 320800);
INSERT INTO `area` VALUES (320812, '清江浦区', 320800);
INSERT INTO `area` VALUES (320813, '洪泽区', 320800);
INSERT INTO `area` VALUES (320826, '涟水县', 320800);
INSERT INTO `area` VALUES (320830, '盱眙县', 320800);
INSERT INTO `area` VALUES (320831, '金湖县', 320800);
INSERT INTO `area` VALUES (320902, '亭湖区', 320900);
INSERT INTO `area` VALUES (320903, '盐都区', 320900);
INSERT INTO `area` VALUES (320904, '大丰区', 320900);
INSERT INTO `area` VALUES (320921, '响水县', 320900);
INSERT INTO `area` VALUES (320922, '滨海县', 320900);
INSERT INTO `area` VALUES (320923, '阜宁县', 320900);
INSERT INTO `area` VALUES (320924, '射阳县', 320900);
INSERT INTO `area` VALUES (320925, '建湖县', 320900);
INSERT INTO `area` VALUES (320981, '东台市', 320900);
INSERT INTO `area` VALUES (321002, '广陵区', 321000);
INSERT INTO `area` VALUES (321003, '邗江区', 321000);
INSERT INTO `area` VALUES (321012, '江都区', 321000);
INSERT INTO `area` VALUES (321023, '宝应县', 321000);
INSERT INTO `area` VALUES (321081, '仪征市', 321000);
INSERT INTO `area` VALUES (321084, '高邮市', 321000);
INSERT INTO `area` VALUES (321102, '京口区', 321100);
INSERT INTO `area` VALUES (321111, '润州区', 321100);
INSERT INTO `area` VALUES (321112, '丹徒区', 321100);
INSERT INTO `area` VALUES (321181, '丹阳市', 321100);
INSERT INTO `area` VALUES (321182, '扬中市', 321100);
INSERT INTO `area` VALUES (321183, '句容市', 321100);
INSERT INTO `area` VALUES (321202, '海陵区', 321200);
INSERT INTO `area` VALUES (321203, '高港区', 321200);
INSERT INTO `area` VALUES (321204, '姜堰区', 321200);
INSERT INTO `area` VALUES (321281, '兴化市', 321200);
INSERT INTO `area` VALUES (321282, '靖江市', 321200);
INSERT INTO `area` VALUES (321283, '泰兴市', 321200);
INSERT INTO `area` VALUES (321302, '宿城区', 321300);
INSERT INTO `area` VALUES (321311, '宿豫区', 321300);
INSERT INTO `area` VALUES (321322, '沭阳县', 321300);
INSERT INTO `area` VALUES (321323, '泗阳县', 321300);
INSERT INTO `area` VALUES (321324, '泗洪县', 321300);
INSERT INTO `area` VALUES (330102, '上城区', 330100);
INSERT INTO `area` VALUES (330103, '下城区', 330100);
INSERT INTO `area` VALUES (330104, '西湖区', 330100);
INSERT INTO `area` VALUES (330105, '拱墅区', 330100);
INSERT INTO `area` VALUES (330106, '滨江区', 330100);
INSERT INTO `area` VALUES (330108, '萧山区', 330100);
INSERT INTO `area` VALUES (330109, '余杭区', 330100);
INSERT INTO `area` VALUES (330110, '临平区', 330100);
INSERT INTO `area` VALUES (330111, '钱塘区', 330100);
INSERT INTO `area` VALUES (330112, '富阳区', 330100);
INSERT INTO `area` VALUES (330113, '临安区', 330100);
INSERT INTO `area` VALUES (330122, '桐庐县', 330100);
INSERT INTO `area` VALUES (330127, '淳安县', 330100);
INSERT INTO `area` VALUES (330182, '建德市', 330100);
INSERT INTO `area` VALUES (330203, '海曙区', 330200);
INSERT INTO `area` VALUES (330205, '江北区', 330200);
INSERT INTO `area` VALUES (330206, '镇海区', 330200);
INSERT INTO `area` VALUES (330211, '北仑区', 330200);
INSERT INTO `area` VALUES (330212, '鄞州区', 330200);
INSERT INTO `area` VALUES (330213, '奉化区', 330200);
INSERT INTO `area` VALUES (330225, '象山县', 330200);
INSERT INTO `area` VALUES (330226, '宁海县', 330200);
INSERT INTO `area` VALUES (330281, '余姚市', 330200);
INSERT INTO `area` VALUES (330282, '慈溪市', 330200);
INSERT INTO `area` VALUES (330302, '鹿城区', 330300);
INSERT INTO `area` VALUES (330303, '龙湾区', 330300);
INSERT INTO `area` VALUES (330304, '瓯海区', 330300);
INSERT INTO `area` VALUES (330305, '洞头区', 330300);
INSERT INTO `area` VALUES (330324, '永嘉县', 330300);
INSERT INTO `area` VALUES (330326, '平阳县', 330300);
INSERT INTO `area` VALUES (330327, '苍南县', 330300);
INSERT INTO `area` VALUES (330328, '文成县', 330300);
INSERT INTO `area` VALUES (330329, '泰顺县', 330300);
INSERT INTO `area` VALUES (330381, '瑞安市', 330300);
INSERT INTO `area` VALUES (330382, '乐清市', 330300);
INSERT INTO `area` VALUES (330383, '龙港市', 330300);
INSERT INTO `area` VALUES (330402, '南湖区', 330400);
INSERT INTO `area` VALUES (330411, '秀洲区', 330400);
INSERT INTO `area` VALUES (330421, '嘉善县', 330400);
INSERT INTO `area` VALUES (330424, '海盐县', 330400);
INSERT INTO `area` VALUES (330481, '海宁市', 330400);
INSERT INTO `area` VALUES (330482, '平湖市', 330400);
INSERT INTO `area` VALUES (330483, '桐乡市', 330400);
INSERT INTO `area` VALUES (330502, '吴兴区', 330500);
INSERT INTO `area` VALUES (330503, '南浔区', 330500);
INSERT INTO `area` VALUES (330521, '德清县', 330500);
INSERT INTO `area` VALUES (330522, '长兴县', 330500);
INSERT INTO `area` VALUES (330523, '安吉县', 330500);
INSERT INTO `area` VALUES (330602, '越城区', 330600);
INSERT INTO `area` VALUES (330603, '柯桥区', 330600);
INSERT INTO `area` VALUES (330604, '上虞区', 330600);
INSERT INTO `area` VALUES (330624, '新昌县', 330600);
INSERT INTO `area` VALUES (330681, '诸暨市', 330600);
INSERT INTO `area` VALUES (330683, '嵊州市', 330600);
INSERT INTO `area` VALUES (330702, '婺城区', 330700);
INSERT INTO `area` VALUES (330703, '金东区', 330700);
INSERT INTO `area` VALUES (330723, '武义县', 330700);
INSERT INTO `area` VALUES (330726, '浦江县', 330700);
INSERT INTO `area` VALUES (330727, '磐安县', 330700);
INSERT INTO `area` VALUES (330781, '兰溪市', 330700);
INSERT INTO `area` VALUES (330782, '义乌市', 330700);
INSERT INTO `area` VALUES (330783, '东阳市', 330700);
INSERT INTO `area` VALUES (330784, '永康市', 330700);
INSERT INTO `area` VALUES (330802, '柯城区', 330800);
INSERT INTO `area` VALUES (330803, '衢江区', 330800);
INSERT INTO `area` VALUES (330822, '常山县', 330800);
INSERT INTO `area` VALUES (330824, '开化县', 330800);
INSERT INTO `area` VALUES (330825, '龙游县', 330800);
INSERT INTO `area` VALUES (330881, '江山市', 330800);
INSERT INTO `area` VALUES (330902, '定海区', 330900);
INSERT INTO `area` VALUES (330903, '普陀区', 330900);
INSERT INTO `area` VALUES (330921, '岱山县', 330900);
INSERT INTO `area` VALUES (330922, '嵊泗县', 330900);
INSERT INTO `area` VALUES (331002, '椒江区', 331000);
INSERT INTO `area` VALUES (331003, '黄岩区', 331000);
INSERT INTO `area` VALUES (331004, '路桥区', 331000);
INSERT INTO `area` VALUES (331022, '三门县', 331000);
INSERT INTO `area` VALUES (331023, '天台县', 331000);
INSERT INTO `area` VALUES (331024, '仙居县', 331000);
INSERT INTO `area` VALUES (331081, '温岭市', 331000);
INSERT INTO `area` VALUES (331082, '临海市', 331000);
INSERT INTO `area` VALUES (331083, '玉环市', 331000);
INSERT INTO `area` VALUES (331102, '莲都区', 331100);
INSERT INTO `area` VALUES (331121, '青田县', 331100);
INSERT INTO `area` VALUES (331122, '缙云县', 331100);
INSERT INTO `area` VALUES (331123, '遂昌县', 331100);
INSERT INTO `area` VALUES (331124, '松阳县', 331100);
INSERT INTO `area` VALUES (331125, '云和县', 331100);
INSERT INTO `area` VALUES (331126, '庆元县', 331100);
INSERT INTO `area` VALUES (331127, '景宁畲族自治县', 331100);
INSERT INTO `area` VALUES (331181, '龙泉市', 331100);
INSERT INTO `area` VALUES (340102, '瑶海区', 340100);
INSERT INTO `area` VALUES (340103, '庐阳区', 340100);
INSERT INTO `area` VALUES (340104, '蜀山区', 340100);
INSERT INTO `area` VALUES (340111, '包河区', 340100);
INSERT INTO `area` VALUES (340121, '长丰县', 340100);
INSERT INTO `area` VALUES (340122, '肥东县', 340100);
INSERT INTO `area` VALUES (340123, '肥西县', 340100);
INSERT INTO `area` VALUES (340124, '庐江县', 340100);
INSERT INTO `area` VALUES (340181, '巢湖市', 340100);
INSERT INTO `area` VALUES (340202, '镜湖区', 340200);
INSERT INTO `area` VALUES (340203, '弋江区', 340200);
INSERT INTO `area` VALUES (340207, '鸠江区', 340200);
INSERT INTO `area` VALUES (340208, '三山区', 340200);
INSERT INTO `area` VALUES (340221, '芜湖县', 340200);
INSERT INTO `area` VALUES (340222, '繁昌县', 340200);
INSERT INTO `area` VALUES (340223, '南陵县', 340200);
INSERT INTO `area` VALUES (340225, '无为县', 340200);
INSERT INTO `area` VALUES (340302, '龙子湖区', 340300);
INSERT INTO `area` VALUES (340303, '蚌山区', 340300);
INSERT INTO `area` VALUES (340304, '禹会区', 340300);
INSERT INTO `area` VALUES (340311, '淮上区', 340300);
INSERT INTO `area` VALUES (340321, '怀远县', 340300);
INSERT INTO `area` VALUES (340322, '五河县', 340300);
INSERT INTO `area` VALUES (340323, '固镇县', 340300);
INSERT INTO `area` VALUES (340402, '大通区', 340400);
INSERT INTO `area` VALUES (340403, '田家庵区', 340400);
INSERT INTO `area` VALUES (340404, '谢家集区', 340400);
INSERT INTO `area` VALUES (340405, '八公山区', 340400);
INSERT INTO `area` VALUES (340406, '潘集区', 340400);
INSERT INTO `area` VALUES (340421, '凤台县', 340400);
INSERT INTO `area` VALUES (340422, '寿县', 340400);
INSERT INTO `area` VALUES (340503, '花山区', 340500);
INSERT INTO `area` VALUES (340504, '雨山区', 340500);
INSERT INTO `area` VALUES (340506, '博望区', 340500);
INSERT INTO `area` VALUES (340521, '当涂县', 340500);
INSERT INTO `area` VALUES (340522, '含山县', 340500);
INSERT INTO `area` VALUES (340523, '和县', 340500);
INSERT INTO `area` VALUES (340602, '杜集区', 340600);
INSERT INTO `area` VALUES (340603, '相山区', 340600);
INSERT INTO `area` VALUES (340604, '烈山区', 340600);
INSERT INTO `area` VALUES (340621, '濉溪县', 340600);
INSERT INTO `area` VALUES (340705, '铜官区', 340700);
INSERT INTO `area` VALUES (340706, '义安区', 340700);
INSERT INTO `area` VALUES (340722, '枞阳县', 340700);
INSERT INTO `area` VALUES (340802, '迎江区', 340800);
INSERT INTO `area` VALUES (340803, '大观区', 340800);
INSERT INTO `area` VALUES (340811, '宜秀区', 340800);
INSERT INTO `area` VALUES (340822, '怀宁县', 340800);
INSERT INTO `area` VALUES (340825, '太湖县', 340800);
INSERT INTO `area` VALUES (340826, '宿松县', 340800);
INSERT INTO `area` VALUES (340827, '望江县', 340800);
INSERT INTO `area` VALUES (340828, '岳西县', 340800);
INSERT INTO `area` VALUES (340881, '桐城市', 340800);
INSERT INTO `area` VALUES (341002, '屯溪区', 341000);
INSERT INTO `area` VALUES (341003, '黄山区', 341000);
INSERT INTO `area` VALUES (341004, '徽州区', 341000);
INSERT INTO `area` VALUES (341021, '歙县', 341000);
INSERT INTO `area` VALUES (341022, '休宁县', 341000);
INSERT INTO `area` VALUES (341023, '黟县', 341000);
INSERT INTO `area` VALUES (341024, '祁门县', 341000);
INSERT INTO `area` VALUES (341102, '琅琊区', 341100);
INSERT INTO `area` VALUES (341103, '南谯区', 341100);
INSERT INTO `area` VALUES (341122, '来安县', 341100);
INSERT INTO `area` VALUES (341124, '全椒县', 341100);
INSERT INTO `area` VALUES (341125, '定远县', 341100);
INSERT INTO `area` VALUES (341126, '凤阳县', 341100);
INSERT INTO `area` VALUES (341181, '天长市', 341100);
INSERT INTO `area` VALUES (341182, '明光市', 341100);
INSERT INTO `area` VALUES (341202, '颍州区', 341200);
INSERT INTO `area` VALUES (341203, '颍东区', 341200);
INSERT INTO `area` VALUES (341204, '颍泉区', 341200);
INSERT INTO `area` VALUES (341221, '临泉县', 341200);
INSERT INTO `area` VALUES (341222, '太和县', 341200);
INSERT INTO `area` VALUES (341225, '阜南县', 341200);
INSERT INTO `area` VALUES (341226, '颍上县', 341200);
INSERT INTO `area` VALUES (341282, '界首市', 341200);
INSERT INTO `area` VALUES (341302, '埇桥区', 341300);
INSERT INTO `area` VALUES (341321, '砀山县', 341300);
INSERT INTO `area` VALUES (341322, '萧县', 341300);
INSERT INTO `area` VALUES (341323, '灵璧县', 341300);
INSERT INTO `area` VALUES (341324, '泗县', 341300);
INSERT INTO `area` VALUES (341502, '金安区', 341500);
INSERT INTO `area` VALUES (341503, '裕安区', 341500);
INSERT INTO `area` VALUES (341504, '叶集区', 341500);
INSERT INTO `area` VALUES (341522, '霍邱县', 341500);
INSERT INTO `area` VALUES (341523, '舒城县', 341500);
INSERT INTO `area` VALUES (341524, '金寨县', 341500);
INSERT INTO `area` VALUES (341525, '霍山县', 341500);
INSERT INTO `area` VALUES (341602, '谯城区', 341600);
INSERT INTO `area` VALUES (341621, '涡阳县', 341600);
INSERT INTO `area` VALUES (341622, '蒙城县', 341600);
INSERT INTO `area` VALUES (341623, '利辛县', 341600);
INSERT INTO `area` VALUES (341702, '贵池区', 341700);
INSERT INTO `area` VALUES (341721, '东至县', 341700);
INSERT INTO `area` VALUES (341722, '石台县', 341700);
INSERT INTO `area` VALUES (341723, '青阳县', 341700);
INSERT INTO `area` VALUES (341802, '宣州区', 341800);
INSERT INTO `area` VALUES (341821, '郎溪县', 341800);
INSERT INTO `area` VALUES (341822, '广德市', 341800);
INSERT INTO `area` VALUES (341823, '泾县', 341800);
INSERT INTO `area` VALUES (341824, '绩溪县', 341800);
INSERT INTO `area` VALUES (341825, '旌德县', 341800);
INSERT INTO `area` VALUES (341881, '宁国市', 341800);
INSERT INTO `area` VALUES (350102, '鼓楼区', 350100);
INSERT INTO `area` VALUES (350103, '台江区', 350100);
INSERT INTO `area` VALUES (350104, '仓山区', 350100);
INSERT INTO `area` VALUES (350105, '马尾区', 350100);
INSERT INTO `area` VALUES (350111, '晋安区', 350100);
INSERT INTO `area` VALUES (350112, '长乐区', 350100);
INSERT INTO `area` VALUES (350121, '闽侯县', 350100);
INSERT INTO `area` VALUES (350122, '连江县', 350100);
INSERT INTO `area` VALUES (350123, '罗源县', 350100);
INSERT INTO `area` VALUES (350124, '闽清县', 350100);
INSERT INTO `area` VALUES (350125, '永泰县', 350100);
INSERT INTO `area` VALUES (350128, '平潭县', 350100);
INSERT INTO `area` VALUES (350181, '福清市', 350100);
INSERT INTO `area` VALUES (350203, '思明区', 350200);
INSERT INTO `area` VALUES (350205, '海沧区', 350200);
INSERT INTO `area` VALUES (350206, '湖里区', 350200);
INSERT INTO `area` VALUES (350211, '集美区', 350200);
INSERT INTO `area` VALUES (350212, '同安区', 350200);
INSERT INTO `area` VALUES (350213, '翔安区', 350200);
INSERT INTO `area` VALUES (350302, '城厢区', 350300);
INSERT INTO `area` VALUES (350303, '涵江区', 350300);
INSERT INTO `area` VALUES (350304, '荔城区', 350300);
INSERT INTO `area` VALUES (350305, '秀屿区', 350300);
INSERT INTO `area` VALUES (350322, '仙游县', 350300);
INSERT INTO `area` VALUES (350402, '梅列区', 350400);
INSERT INTO `area` VALUES (350403, '三元区', 350400);
INSERT INTO `area` VALUES (350421, '明溪县', 350400);
INSERT INTO `area` VALUES (350423, '清流县', 350400);
INSERT INTO `area` VALUES (350424, '宁化县', 350400);
INSERT INTO `area` VALUES (350425, '大田县', 350400);
INSERT INTO `area` VALUES (350426, '尤溪县', 350400);
INSERT INTO `area` VALUES (350427, '沙县', 350400);
INSERT INTO `area` VALUES (350428, '将乐县', 350400);
INSERT INTO `area` VALUES (350429, '泰宁县', 350400);
INSERT INTO `area` VALUES (350430, '建宁县', 350400);
INSERT INTO `area` VALUES (350481, '永安市', 350400);
INSERT INTO `area` VALUES (350502, '鲤城区', 350500);
INSERT INTO `area` VALUES (350503, '丰泽区', 350500);
INSERT INTO `area` VALUES (350504, '洛江区', 350500);
INSERT INTO `area` VALUES (350505, '泉港区', 350500);
INSERT INTO `area` VALUES (350521, '惠安县', 350500);
INSERT INTO `area` VALUES (350524, '安溪县', 350500);
INSERT INTO `area` VALUES (350525, '永春县', 350500);
INSERT INTO `area` VALUES (350526, '德化县', 350500);
INSERT INTO `area` VALUES (350527, '金门县', 350500);
INSERT INTO `area` VALUES (350581, '石狮市', 350500);
INSERT INTO `area` VALUES (350582, '晋江市', 350500);
INSERT INTO `area` VALUES (350583, '南安市', 350500);
INSERT INTO `area` VALUES (350602, '芗城区', 350600);
INSERT INTO `area` VALUES (350603, '龙文区', 350600);
INSERT INTO `area` VALUES (350622, '云霄县', 350600);
INSERT INTO `area` VALUES (350623, '漳浦县', 350600);
INSERT INTO `area` VALUES (350624, '诏安县', 350600);
INSERT INTO `area` VALUES (350625, '长泰县', 350600);
INSERT INTO `area` VALUES (350626, '东山县', 350600);
INSERT INTO `area` VALUES (350627, '南靖县', 350600);
INSERT INTO `area` VALUES (350628, '平和县', 350600);
INSERT INTO `area` VALUES (350629, '华安县', 350600);
INSERT INTO `area` VALUES (350681, '龙海市', 350600);
INSERT INTO `area` VALUES (350702, '延平区', 350700);
INSERT INTO `area` VALUES (350703, '建阳区', 350700);
INSERT INTO `area` VALUES (350721, '顺昌县', 350700);
INSERT INTO `area` VALUES (350722, '浦城县', 350700);
INSERT INTO `area` VALUES (350723, '光泽县', 350700);
INSERT INTO `area` VALUES (350724, '松溪县', 350700);
INSERT INTO `area` VALUES (350725, '政和县', 350700);
INSERT INTO `area` VALUES (350781, '邵武市', 350700);
INSERT INTO `area` VALUES (350782, '武夷山市', 350700);
INSERT INTO `area` VALUES (350783, '建瓯市', 350700);
INSERT INTO `area` VALUES (350802, '新罗区', 350800);
INSERT INTO `area` VALUES (350803, '永定区', 350800);
INSERT INTO `area` VALUES (350821, '长汀县', 350800);
INSERT INTO `area` VALUES (350823, '上杭县', 350800);
INSERT INTO `area` VALUES (350824, '武平县', 350800);
INSERT INTO `area` VALUES (350825, '连城县', 350800);
INSERT INTO `area` VALUES (350881, '漳平市', 350800);
INSERT INTO `area` VALUES (350901, '蕉城区', 350900);
INSERT INTO `area` VALUES (350921, '霞浦县', 350900);
INSERT INTO `area` VALUES (350922, '古田县', 350900);
INSERT INTO `area` VALUES (350923, '屏南县', 350900);
INSERT INTO `area` VALUES (350924, '寿宁县', 350900);
INSERT INTO `area` VALUES (350925, '周宁县', 350900);
INSERT INTO `area` VALUES (350926, '柘荣县', 350900);
INSERT INTO `area` VALUES (350981, '福安市', 350900);
INSERT INTO `area` VALUES (350982, '福鼎市', 350900);
INSERT INTO `area` VALUES (360102, '东湖区', 360100);
INSERT INTO `area` VALUES (360103, '西湖区', 360100);
INSERT INTO `area` VALUES (360104, '青云谱区', 360100);
INSERT INTO `area` VALUES (360111, '青山湖区', 360100);
INSERT INTO `area` VALUES (360112, '新建区', 360100);
INSERT INTO `area` VALUES (360121, '南昌县', 360100);
INSERT INTO `area` VALUES (360123, '安义县', 360100);
INSERT INTO `area` VALUES (360124, '进贤县', 360100);
INSERT INTO `area` VALUES (360202, '昌江区', 360200);
INSERT INTO `area` VALUES (360203, '珠山区', 360200);
INSERT INTO `area` VALUES (360222, '浮梁县', 360200);
INSERT INTO `area` VALUES (360281, '乐平市', 360200);
INSERT INTO `area` VALUES (360302, '安源区', 360300);
INSERT INTO `area` VALUES (360313, '湘东区', 360300);
INSERT INTO `area` VALUES (360321, '莲花县', 360300);
INSERT INTO `area` VALUES (360322, '上栗县', 360300);
INSERT INTO `area` VALUES (360323, '芦溪县', 360300);
INSERT INTO `area` VALUES (360402, '濂溪区', 360400);
INSERT INTO `area` VALUES (360403, '浔阳区', 360400);
INSERT INTO `area` VALUES (360404, '柴桑区', 360400);
INSERT INTO `area` VALUES (360423, '武宁县', 360400);
INSERT INTO `area` VALUES (360424, '修水县', 360400);
INSERT INTO `area` VALUES (360425, '永修县', 360400);
INSERT INTO `area` VALUES (360426, '德安县', 360400);
INSERT INTO `area` VALUES (360428, '都昌县', 360400);
INSERT INTO `area` VALUES (360429, '湖口县', 360400);
INSERT INTO `area` VALUES (360430, '彭泽县', 360400);
INSERT INTO `area` VALUES (360481, '瑞昌市', 360400);
INSERT INTO `area` VALUES (360482, '共青城市', 360400);
INSERT INTO `area` VALUES (360483, '庐山市', 360400);
INSERT INTO `area` VALUES (360502, '渝水区', 360500);
INSERT INTO `area` VALUES (360521, '分宜县', 360500);
INSERT INTO `area` VALUES (360602, '月湖区', 360600);
INSERT INTO `area` VALUES (360603, '余江区', 360600);
INSERT INTO `area` VALUES (360681, '贵溪市', 360600);
INSERT INTO `area` VALUES (360702, '章贡区', 360700);
INSERT INTO `area` VALUES (360703, '南康区', 360700);
INSERT INTO `area` VALUES (360704, '赣县区', 360700);
INSERT INTO `area` VALUES (360722, '信丰县', 360700);
INSERT INTO `area` VALUES (360723, '大余县', 360700);
INSERT INTO `area` VALUES (360724, '上犹县', 360700);
INSERT INTO `area` VALUES (360725, '崇义县', 360700);
INSERT INTO `area` VALUES (360726, '安远县', 360700);
INSERT INTO `area` VALUES (360728, '定南县', 360700);
INSERT INTO `area` VALUES (360729, '全南县', 360700);
INSERT INTO `area` VALUES (360730, '宁都县', 360700);
INSERT INTO `area` VALUES (360731, '于都县', 360700);
INSERT INTO `area` VALUES (360732, '兴国县', 360700);
INSERT INTO `area` VALUES (360733, '会昌县', 360700);
INSERT INTO `area` VALUES (360734, '寻乌县', 360700);
INSERT INTO `area` VALUES (360735, '石城县', 360700);
INSERT INTO `area` VALUES (360781, '瑞金市', 360700);
INSERT INTO `area` VALUES (360782, '龙南市', 360700);
INSERT INTO `area` VALUES (360802, '吉州区', 360800);
INSERT INTO `area` VALUES (360803, '青原区', 360800);
INSERT INTO `area` VALUES (360821, '吉安县', 360800);
INSERT INTO `area` VALUES (360822, '吉水县', 360800);
INSERT INTO `area` VALUES (360823, '峡江县', 360800);
INSERT INTO `area` VALUES (360824, '新干县', 360800);
INSERT INTO `area` VALUES (360825, '永丰县', 360800);
INSERT INTO `area` VALUES (360826, '泰和县', 360800);
INSERT INTO `area` VALUES (360827, '遂川县', 360800);
INSERT INTO `area` VALUES (360828, '万安县', 360800);
INSERT INTO `area` VALUES (360829, '安福县', 360800);
INSERT INTO `area` VALUES (360830, '永新县', 360800);
INSERT INTO `area` VALUES (360881, '井冈山市', 360800);
INSERT INTO `area` VALUES (360902, '袁州区', 360900);
INSERT INTO `area` VALUES (360921, '奉新县', 360900);
INSERT INTO `area` VALUES (360922, '万载县', 360900);
INSERT INTO `area` VALUES (360923, '上高县', 360900);
INSERT INTO `area` VALUES (360924, '宜丰县', 360900);
INSERT INTO `area` VALUES (360925, '靖安县', 360900);
INSERT INTO `area` VALUES (360926, '铜鼓县', 360900);
INSERT INTO `area` VALUES (360981, '丰城市', 360900);
INSERT INTO `area` VALUES (360982, '樟树市', 360900);
INSERT INTO `area` VALUES (360983, '高安市', 360900);
INSERT INTO `area` VALUES (361002, '临川区', 361000);
INSERT INTO `area` VALUES (361003, '东乡区', 361000);
INSERT INTO `area` VALUES (361021, '南城县', 361000);
INSERT INTO `area` VALUES (361022, '黎川县', 361000);
INSERT INTO `area` VALUES (361023, '南丰县', 361000);
INSERT INTO `area` VALUES (361024, '崇仁县', 361000);
INSERT INTO `area` VALUES (361025, '乐安县', 361000);
INSERT INTO `area` VALUES (361026, '宜黄县', 361000);
INSERT INTO `area` VALUES (361027, '金溪县', 361000);
INSERT INTO `area` VALUES (361028, '资溪县', 361000);
INSERT INTO `area` VALUES (361030, '广昌县', 361000);
INSERT INTO `area` VALUES (361102, '信州区', 361100);
INSERT INTO `area` VALUES (361103, '广丰区', 361100);
INSERT INTO `area` VALUES (361104, '广信区', 361100);
INSERT INTO `area` VALUES (361123, '玉山县', 361100);
INSERT INTO `area` VALUES (361124, '铅山县', 361100);
INSERT INTO `area` VALUES (361125, '横峰县', 361100);
INSERT INTO `area` VALUES (361126, '弋阳县', 361100);
INSERT INTO `area` VALUES (361127, '余干县', 361100);
INSERT INTO `area` VALUES (361128, '鄱阳县', 361100);
INSERT INTO `area` VALUES (361129, '万年县', 361100);
INSERT INTO `area` VALUES (361130, '婺源县', 361100);
INSERT INTO `area` VALUES (361181, '德兴市', 361100);
INSERT INTO `area` VALUES (370102, '历下区', 370100);
INSERT INTO `area` VALUES (370103, '市中区', 370100);
INSERT INTO `area` VALUES (370104, '槐荫区', 370100);
INSERT INTO `area` VALUES (370105, '天桥区', 370100);
INSERT INTO `area` VALUES (370112, '历城区', 370100);
INSERT INTO `area` VALUES (370113, '长清区', 370100);
INSERT INTO `area` VALUES (370114, '章丘区', 370100);
INSERT INTO `area` VALUES (370115, '济阳区', 370100);
INSERT INTO `area` VALUES (370116, '莱芜区', 370100);
INSERT INTO `area` VALUES (370117, '钢城区', 370100);
INSERT INTO `area` VALUES (370124, '平阴县', 370100);
INSERT INTO `area` VALUES (370126, '商河县', 370100);
INSERT INTO `area` VALUES (370202, '市南区', 370200);
INSERT INTO `area` VALUES (370203, '市北区', 370200);
INSERT INTO `area` VALUES (370211, '黄岛区', 370200);
INSERT INTO `area` VALUES (370212, '崂山区', 370200);
INSERT INTO `area` VALUES (370213, '李沧区', 370200);
INSERT INTO `area` VALUES (370214, '城阳区', 370200);
INSERT INTO `area` VALUES (370215, '即墨区', 370200);
INSERT INTO `area` VALUES (370281, '胶州市', 370200);
INSERT INTO `area` VALUES (370283, '平度市', 370200);
INSERT INTO `area` VALUES (370285, '莱西市', 370200);
INSERT INTO `area` VALUES (370302, '淄川区', 370300);
INSERT INTO `area` VALUES (370303, '张店区', 370300);
INSERT INTO `area` VALUES (370304, '博山区', 370300);
INSERT INTO `area` VALUES (370305, '临淄区', 370300);
INSERT INTO `area` VALUES (370306, '周村区', 370300);
INSERT INTO `area` VALUES (370321, '桓台县', 370300);
INSERT INTO `area` VALUES (370322, '高青县', 370300);
INSERT INTO `area` VALUES (370323, '沂源县', 370300);
INSERT INTO `area` VALUES (370402, '市中区', 370400);
INSERT INTO `area` VALUES (370403, '薛城区', 370400);
INSERT INTO `area` VALUES (370404, '峄城区', 370400);
INSERT INTO `area` VALUES (370405, '台儿庄区', 370400);
INSERT INTO `area` VALUES (370406, '山亭区', 370400);
INSERT INTO `area` VALUES (370481, '滕州市', 370400);
INSERT INTO `area` VALUES (370502, '东营区', 370500);
INSERT INTO `area` VALUES (370503, '河口区', 370500);
INSERT INTO `area` VALUES (370505, '垦利区', 370500);
INSERT INTO `area` VALUES (370522, '利津县', 370500);
INSERT INTO `area` VALUES (370523, '广饶县', 370500);
INSERT INTO `area` VALUES (370602, '芝罘区', 370600);
INSERT INTO `area` VALUES (370611, '福山区', 370600);
INSERT INTO `area` VALUES (370612, '牟平区', 370600);
INSERT INTO `area` VALUES (370613, '莱山区', 370600);
INSERT INTO `area` VALUES (370614, '蓬莱区', 370600);
INSERT INTO `area` VALUES (370671, '烟台经济技术开发区', 370600);
INSERT INTO `area` VALUES (370681, '龙口市', 370600);
INSERT INTO `area` VALUES (370682, '莱阳市', 370600);
INSERT INTO `area` VALUES (370683, '莱州市', 370600);
INSERT INTO `area` VALUES (370684, '招远市', 370600);
INSERT INTO `area` VALUES (370685, '栖霞市', 370600);
INSERT INTO `area` VALUES (370686, '海阳市', 370600);
INSERT INTO `area` VALUES (370702, '潍城区', 370700);
INSERT INTO `area` VALUES (370703, '寒亭区', 370700);
INSERT INTO `area` VALUES (370704, '坊子区', 370700);
INSERT INTO `area` VALUES (370705, '奎文区', 370700);
INSERT INTO `area` VALUES (370724, '临朐县', 370700);
INSERT INTO `area` VALUES (370725, '昌乐县', 370700);
INSERT INTO `area` VALUES (370781, '青州市', 370700);
INSERT INTO `area` VALUES (370782, '诸城市', 370700);
INSERT INTO `area` VALUES (370783, '寿光市', 370700);
INSERT INTO `area` VALUES (370784, '安丘市', 370700);
INSERT INTO `area` VALUES (370785, '高密市', 370700);
INSERT INTO `area` VALUES (370786, '昌邑市', 370700);
INSERT INTO `area` VALUES (370811, '任城区', 370800);
INSERT INTO `area` VALUES (370812, '兖州区', 370800);
INSERT INTO `area` VALUES (370826, '微山县', 370800);
INSERT INTO `area` VALUES (370827, '鱼台县', 370800);
INSERT INTO `area` VALUES (370828, '金乡县', 370800);
INSERT INTO `area` VALUES (370829, '嘉祥县', 370800);
INSERT INTO `area` VALUES (370830, '汶上县', 370800);
INSERT INTO `area` VALUES (370831, '泗水县', 370800);
INSERT INTO `area` VALUES (370832, '梁山县', 370800);
INSERT INTO `area` VALUES (370881, '曲阜市', 370800);
INSERT INTO `area` VALUES (370883, '邹城市', 370800);
INSERT INTO `area` VALUES (370902, '泰山区', 370900);
INSERT INTO `area` VALUES (370911, '岱岳区', 370900);
INSERT INTO `area` VALUES (370921, '宁阳县', 370900);
INSERT INTO `area` VALUES (370923, '东平县', 370900);
INSERT INTO `area` VALUES (370982, '新泰市', 370900);
INSERT INTO `area` VALUES (370983, '肥城市', 370900);
INSERT INTO `area` VALUES (371002, '环翠区', 371000);
INSERT INTO `area` VALUES (371003, '文登区', 371000);
INSERT INTO `area` VALUES (371082, '荣成市', 371000);
INSERT INTO `area` VALUES (371083, '乳山市', 371000);
INSERT INTO `area` VALUES (371102, '东港区', 371100);
INSERT INTO `area` VALUES (371103, '岚山区', 371100);
INSERT INTO `area` VALUES (371121, '五莲县', 371100);
INSERT INTO `area` VALUES (371122, '莒县', 371100);
INSERT INTO `area` VALUES (371302, '兰山区', 371300);
INSERT INTO `area` VALUES (371311, '罗庄区', 371300);
INSERT INTO `area` VALUES (371312, '河东区', 371300);
INSERT INTO `area` VALUES (371321, '沂南县', 371300);
INSERT INTO `area` VALUES (371322, '郯城县', 371300);
INSERT INTO `area` VALUES (371323, '沂水县', 371300);
INSERT INTO `area` VALUES (371324, '兰陵县', 371300);
INSERT INTO `area` VALUES (371325, '费县', 371300);
INSERT INTO `area` VALUES (371326, '平邑县', 371300);
INSERT INTO `area` VALUES (371327, '莒南县', 371300);
INSERT INTO `area` VALUES (371328, '蒙阴县', 371300);
INSERT INTO `area` VALUES (371329, '临沭县', 371300);
INSERT INTO `area` VALUES (371402, '德城区', 371400);
INSERT INTO `area` VALUES (371403, '陵城区', 371400);
INSERT INTO `area` VALUES (371422, '宁津县', 371400);
INSERT INTO `area` VALUES (371423, '庆云县', 371400);
INSERT INTO `area` VALUES (371424, '临邑县', 371400);
INSERT INTO `area` VALUES (371425, '齐河县', 371400);
INSERT INTO `area` VALUES (371426, '平原县', 371400);
INSERT INTO `area` VALUES (371427, '夏津县', 371400);
INSERT INTO `area` VALUES (371428, '武城县', 371400);
INSERT INTO `area` VALUES (371481, '乐陵市', 371400);
INSERT INTO `area` VALUES (371482, '禹城市', 371400);
INSERT INTO `area` VALUES (371502, '东昌府区', 371500);
INSERT INTO `area` VALUES (371521, '阳谷县', 371500);
INSERT INTO `area` VALUES (371522, '莘县', 371500);
INSERT INTO `area` VALUES (371523, '茌平区', 371500);
INSERT INTO `area` VALUES (371524, '东阿县', 371500);
INSERT INTO `area` VALUES (371525, '冠县', 371500);
INSERT INTO `area` VALUES (371526, '高唐县', 371500);
INSERT INTO `area` VALUES (371581, '临清市', 371500);
INSERT INTO `area` VALUES (371602, '滨城区', 371600);
INSERT INTO `area` VALUES (371603, '沾化区', 371600);
INSERT INTO `area` VALUES (371621, '惠民县', 371600);
INSERT INTO `area` VALUES (371622, '阳信县', 371600);
INSERT INTO `area` VALUES (371623, '无棣县', 371600);
INSERT INTO `area` VALUES (371625, '博兴县', 371600);
INSERT INTO `area` VALUES (371681, '邹平市', 371600);
INSERT INTO `area` VALUES (371702, '牡丹区', 371700);
INSERT INTO `area` VALUES (371703, '定陶区', 371700);
INSERT INTO `area` VALUES (371721, '曹县', 371700);
INSERT INTO `area` VALUES (371722, '单县', 371700);
INSERT INTO `area` VALUES (371723, '成武县', 371700);
INSERT INTO `area` VALUES (371724, '巨野县', 371700);
INSERT INTO `area` VALUES (371725, '郓城县', 371700);
INSERT INTO `area` VALUES (371726, '鄄城县', 371700);
INSERT INTO `area` VALUES (371728, '东明县', 371700);
INSERT INTO `area` VALUES (410102, '中原区', 410100);
INSERT INTO `area` VALUES (410103, '二七区', 410100);
INSERT INTO `area` VALUES (410104, '管城回族区', 410100);
INSERT INTO `area` VALUES (410105, '金水区', 410100);
INSERT INTO `area` VALUES (410106, '上街区', 410100);
INSERT INTO `area` VALUES (410108, '惠济区', 410100);
INSERT INTO `area` VALUES (410122, '中牟县', 410100);
INSERT INTO `area` VALUES (410181, '巩义市', 410100);
INSERT INTO `area` VALUES (410182, '荥阳市', 410100);
INSERT INTO `area` VALUES (410183, '新密市', 410100);
INSERT INTO `area` VALUES (410184, '新郑市', 410100);
INSERT INTO `area` VALUES (410185, '登封市', 410100);
INSERT INTO `area` VALUES (410202, '龙亭区', 410200);
INSERT INTO `area` VALUES (410203, '顺河回族区', 410200);
INSERT INTO `area` VALUES (410204, '鼓楼区', 410200);
INSERT INTO `area` VALUES (410205, '禹王台区', 410200);
INSERT INTO `area` VALUES (410212, '祥符区', 410200);
INSERT INTO `area` VALUES (410221, '杞县', 410200);
INSERT INTO `area` VALUES (410222, '通许县', 410200);
INSERT INTO `area` VALUES (410223, '尉氏县', 410200);
INSERT INTO `area` VALUES (410225, '兰考县', 410200);
INSERT INTO `area` VALUES (410302, '老城区', 410300);
INSERT INTO `area` VALUES (410303, '西工区', 410300);
INSERT INTO `area` VALUES (410304, '瀍河回族区', 410300);
INSERT INTO `area` VALUES (410305, '涧西区', 410300);
INSERT INTO `area` VALUES (410306, '偃师区', 410300);
INSERT INTO `area` VALUES (410311, '洛龙区', 410300);
INSERT INTO `area` VALUES (410322, '孟津区', 410300);
INSERT INTO `area` VALUES (410324, '新安县', 410300);
INSERT INTO `area` VALUES (410325, '栾川县', 410300);
INSERT INTO `area` VALUES (410326, '嵩县', 410300);
INSERT INTO `area` VALUES (410327, '汝阳县', 410300);
INSERT INTO `area` VALUES (410328, '宜阳县', 410300);
INSERT INTO `area` VALUES (410329, '洛宁县', 410300);
INSERT INTO `area` VALUES (410381, '伊川县', 410300);
INSERT INTO `area` VALUES (410402, '新华区', 410400);
INSERT INTO `area` VALUES (410403, '卫东区', 410400);
INSERT INTO `area` VALUES (410404, '石龙区', 410400);
INSERT INTO `area` VALUES (410411, '湛河区', 410400);
INSERT INTO `area` VALUES (410421, '宝丰县', 410400);
INSERT INTO `area` VALUES (410422, '叶县', 410400);
INSERT INTO `area` VALUES (410423, '鲁山县', 410400);
INSERT INTO `area` VALUES (410425, '郏县', 410400);
INSERT INTO `area` VALUES (410481, '舞钢市', 410400);
INSERT INTO `area` VALUES (410482, '汝州市', 410400);
INSERT INTO `area` VALUES (410502, '文峰区', 410500);
INSERT INTO `area` VALUES (410503, '北关区', 410500);
INSERT INTO `area` VALUES (410505, '殷都区', 410500);
INSERT INTO `area` VALUES (410506, '龙安区', 410500);
INSERT INTO `area` VALUES (410522, '安阳县', 410500);
INSERT INTO `area` VALUES (410523, '汤阴县', 410500);
INSERT INTO `area` VALUES (410526, '滑县', 410500);
INSERT INTO `area` VALUES (410527, '内黄县', 410500);
INSERT INTO `area` VALUES (410581, '林州市', 410500);
INSERT INTO `area` VALUES (410602, '鹤山区', 410600);
INSERT INTO `area` VALUES (410603, '山城区', 410600);
INSERT INTO `area` VALUES (410611, '淇滨区', 410600);
INSERT INTO `area` VALUES (410621, '浚县', 410600);
INSERT INTO `area` VALUES (410622, '淇县', 410600);
INSERT INTO `area` VALUES (410702, '红旗区', 410700);
INSERT INTO `area` VALUES (410703, '卫滨区', 410700);
INSERT INTO `area` VALUES (410704, '凤泉区', 410700);
INSERT INTO `area` VALUES (410711, '牧野区', 410700);
INSERT INTO `area` VALUES (410721, '新乡县', 410700);
INSERT INTO `area` VALUES (410724, '获嘉县', 410700);
INSERT INTO `area` VALUES (410725, '原阳县', 410700);
INSERT INTO `area` VALUES (410726, '延津县', 410700);
INSERT INTO `area` VALUES (410727, '封丘县', 410700);
INSERT INTO `area` VALUES (410781, '卫辉市', 410700);
INSERT INTO `area` VALUES (410782, '辉县市', 410700);
INSERT INTO `area` VALUES (410783, '长垣市', 410700);
INSERT INTO `area` VALUES (410802, '解放区', 410800);
INSERT INTO `area` VALUES (410803, '中站区', 410800);
INSERT INTO `area` VALUES (410804, '马村区', 410800);
INSERT INTO `area` VALUES (410811, '山阳区', 410800);
INSERT INTO `area` VALUES (410821, '修武县', 410800);
INSERT INTO `area` VALUES (410822, '博爱县', 410800);
INSERT INTO `area` VALUES (410823, '武陟县', 410800);
INSERT INTO `area` VALUES (410825, '温县', 410800);
INSERT INTO `area` VALUES (410882, '沁阳市', 410800);
INSERT INTO `area` VALUES (410883, '孟州市', 410800);
INSERT INTO `area` VALUES (410902, '华龙区', 410900);
INSERT INTO `area` VALUES (410922, '清丰县', 410900);
INSERT INTO `area` VALUES (410923, '南乐县', 410900);
INSERT INTO `area` VALUES (410926, '范县', 410900);
INSERT INTO `area` VALUES (410927, '台前县', 410900);
INSERT INTO `area` VALUES (410928, '濮阳县', 410900);
INSERT INTO `area` VALUES (411002, '魏都区', 411000);
INSERT INTO `area` VALUES (411003, '建安区', 411000);
INSERT INTO `area` VALUES (411024, '鄢陵县', 411000);
INSERT INTO `area` VALUES (411025, '襄城县', 411000);
INSERT INTO `area` VALUES (411081, '禹州市', 411000);
INSERT INTO `area` VALUES (411082, '长葛市', 411000);
INSERT INTO `area` VALUES (411102, '源汇区', 411100);
INSERT INTO `area` VALUES (411103, '郾城区', 411100);
INSERT INTO `area` VALUES (411104, '召陵区', 411100);
INSERT INTO `area` VALUES (411121, '舞阳县', 411100);
INSERT INTO `area` VALUES (411122, '临颍县', 411100);
INSERT INTO `area` VALUES (411202, '湖滨区', 411200);
INSERT INTO `area` VALUES (411203, '陕州区', 411200);
INSERT INTO `area` VALUES (411221, '渑池县', 411200);
INSERT INTO `area` VALUES (411224, '卢氏县', 411200);
INSERT INTO `area` VALUES (411281, '义马市', 411200);
INSERT INTO `area` VALUES (411282, '灵宝市', 411200);
INSERT INTO `area` VALUES (411302, '宛城区', 411300);
INSERT INTO `area` VALUES (411303, '卧龙区', 411300);
INSERT INTO `area` VALUES (411321, '南召县', 411300);
INSERT INTO `area` VALUES (411322, '方城县', 411300);
INSERT INTO `area` VALUES (411323, '西峡县', 411300);
INSERT INTO `area` VALUES (411324, '镇平县', 411300);
INSERT INTO `area` VALUES (411325, '内乡县', 411300);
INSERT INTO `area` VALUES (411326, '淅川县', 411300);
INSERT INTO `area` VALUES (411327, '社旗县', 411300);
INSERT INTO `area` VALUES (411328, '唐河县', 411300);
INSERT INTO `area` VALUES (411329, '新野县', 411300);
INSERT INTO `area` VALUES (411330, '桐柏县', 411300);
INSERT INTO `area` VALUES (411381, '邓州市', 411300);
INSERT INTO `area` VALUES (411402, '梁园区', 411400);
INSERT INTO `area` VALUES (411403, '睢阳区', 411400);
INSERT INTO `area` VALUES (411421, '民权县', 411400);
INSERT INTO `area` VALUES (411422, '睢县', 411400);
INSERT INTO `area` VALUES (411423, '宁陵县', 411400);
INSERT INTO `area` VALUES (411424, '柘城县', 411400);
INSERT INTO `area` VALUES (411425, '虞城县', 411400);
INSERT INTO `area` VALUES (411426, '夏邑县', 411400);
INSERT INTO `area` VALUES (411481, '永城市', 411400);
INSERT INTO `area` VALUES (411502, '浉河区', 411500);
INSERT INTO `area` VALUES (411503, '平桥区', 411500);
INSERT INTO `area` VALUES (411521, '罗山县', 411500);
INSERT INTO `area` VALUES (411522, '光山县', 411500);
INSERT INTO `area` VALUES (411523, '新县', 411500);
INSERT INTO `area` VALUES (411524, '商城县', 411500);
INSERT INTO `area` VALUES (411525, '固始县', 411500);
INSERT INTO `area` VALUES (411526, '潢川县', 411500);
INSERT INTO `area` VALUES (411527, '淮滨县', 411500);
INSERT INTO `area` VALUES (411528, '息县', 411500);
INSERT INTO `area` VALUES (411602, '川汇区', 411600);
INSERT INTO `area` VALUES (411603, '淮阳区', 411600);
INSERT INTO `area` VALUES (411621, '扶沟县', 411600);
INSERT INTO `area` VALUES (411622, '西华县', 411600);
INSERT INTO `area` VALUES (411623, '商水县', 411600);
INSERT INTO `area` VALUES (411624, '沈丘县', 411600);
INSERT INTO `area` VALUES (411625, '郸城县', 411600);
INSERT INTO `area` VALUES (411627, '太康县', 411600);
INSERT INTO `area` VALUES (411628, '鹿邑县', 411600);
INSERT INTO `area` VALUES (411681, '项城市', 411600);
INSERT INTO `area` VALUES (411702, '驿城区', 411700);
INSERT INTO `area` VALUES (411721, '西平县', 411700);
INSERT INTO `area` VALUES (411722, '上蔡县', 411700);
INSERT INTO `area` VALUES (411723, '平舆县', 411700);
INSERT INTO `area` VALUES (411724, '正阳县', 411700);
INSERT INTO `area` VALUES (411725, '确山县', 411700);
INSERT INTO `area` VALUES (411726, '泌阳县', 411700);
INSERT INTO `area` VALUES (411727, '汝南县', 411700);
INSERT INTO `area` VALUES (411728, '遂平县', 411700);
INSERT INTO `area` VALUES (411729, '新蔡县', 411700);
INSERT INTO `area` VALUES (419001, '济源市', 419000);
INSERT INTO `area` VALUES (420102, '江岸区', 420100);
INSERT INTO `area` VALUES (420103, '江汉区', 420100);
INSERT INTO `area` VALUES (420104, '硚口区', 420100);
INSERT INTO `area` VALUES (420105, '汉阳区', 420100);
INSERT INTO `area` VALUES (420106, '武昌区', 420100);
INSERT INTO `area` VALUES (420107, '青山区', 420100);
INSERT INTO `area` VALUES (420111, '洪山区', 420100);
INSERT INTO `area` VALUES (420112, '东西湖区', 420100);
INSERT INTO `area` VALUES (420113, '汉南区', 420100);
INSERT INTO `area` VALUES (420114, '蔡甸区', 420100);
INSERT INTO `area` VALUES (420115, '江夏区', 420100);
INSERT INTO `area` VALUES (420116, '黄陂区', 420100);
INSERT INTO `area` VALUES (420117, '新洲区', 420100);
INSERT INTO `area` VALUES (420202, '黄石港区', 420200);
INSERT INTO `area` VALUES (420203, '西塞山区', 420200);
INSERT INTO `area` VALUES (420204, '下陆区', 420200);
INSERT INTO `area` VALUES (420205, '铁山区', 420200);
INSERT INTO `area` VALUES (420222, '阳新县', 420200);
INSERT INTO `area` VALUES (420281, '大冶市', 420200);
INSERT INTO `area` VALUES (420302, '茅箭区', 420300);
INSERT INTO `area` VALUES (420303, '张湾区', 420300);
INSERT INTO `area` VALUES (420304, '郧阳区', 420300);
INSERT INTO `area` VALUES (420322, '郧西县', 420300);
INSERT INTO `area` VALUES (420323, '竹山县', 420300);
INSERT INTO `area` VALUES (420324, '竹溪县', 420300);
INSERT INTO `area` VALUES (420325, '房县', 420300);
INSERT INTO `area` VALUES (420381, '丹江口市', 420300);
INSERT INTO `area` VALUES (420502, '西陵区', 420500);
INSERT INTO `area` VALUES (420503, '伍家岗区', 420500);
INSERT INTO `area` VALUES (420504, '点军区', 420500);
INSERT INTO `area` VALUES (420505, '猇亭区', 420500);
INSERT INTO `area` VALUES (420506, '夷陵区', 420500);
INSERT INTO `area` VALUES (420525, '远安县', 420500);
INSERT INTO `area` VALUES (420526, '兴山县', 420500);
INSERT INTO `area` VALUES (420527, '秭归县', 420500);
INSERT INTO `area` VALUES (420528, '长阳土家族自治县', 420500);
INSERT INTO `area` VALUES (420529, '五峰土家族自治县', 420500);
INSERT INTO `area` VALUES (420581, '宜都市', 420500);
INSERT INTO `area` VALUES (420582, '当阳市', 420500);
INSERT INTO `area` VALUES (420583, '枝江市', 420500);
INSERT INTO `area` VALUES (420602, '襄城区', 420600);
INSERT INTO `area` VALUES (420606, '樊城区', 420600);
INSERT INTO `area` VALUES (420607, '襄州区', 420600);
INSERT INTO `area` VALUES (420624, '南漳县', 420600);
INSERT INTO `area` VALUES (420625, '谷城县', 420600);
INSERT INTO `area` VALUES (420626, '保康县', 420600);
INSERT INTO `area` VALUES (420682, '老河口市', 420600);
INSERT INTO `area` VALUES (420683, '枣阳市', 420600);
INSERT INTO `area` VALUES (420684, '宜城市', 420600);
INSERT INTO `area` VALUES (420702, '梁子湖区', 420700);
INSERT INTO `area` VALUES (420703, '华容区', 420700);
INSERT INTO `area` VALUES (420704, '鄂城区', 420700);
INSERT INTO `area` VALUES (420802, '东宝区', 420800);
INSERT INTO `area` VALUES (420804, '掇刀区', 420800);
INSERT INTO `area` VALUES (420822, '沙洋县', 420800);
INSERT INTO `area` VALUES (420881, '钟祥市', 420800);
INSERT INTO `area` VALUES (420882, '京山市', 420800);
INSERT INTO `area` VALUES (420902, '孝南区', 420900);
INSERT INTO `area` VALUES (420921, '孝昌县', 420900);
INSERT INTO `area` VALUES (420922, '大悟县', 420900);
INSERT INTO `area` VALUES (420923, '云梦县', 420900);
INSERT INTO `area` VALUES (420981, '应城市', 420900);
INSERT INTO `area` VALUES (420982, '安陆市', 420900);
INSERT INTO `area` VALUES (420984, '汉川市', 420900);
INSERT INTO `area` VALUES (421002, '沙市区', 421000);
INSERT INTO `area` VALUES (421003, '荆州区', 421000);
INSERT INTO `area` VALUES (421022, '公安县', 421000);
INSERT INTO `area` VALUES (421023, '监利市', 421000);
INSERT INTO `area` VALUES (421024, '江陵县', 421000);
INSERT INTO `area` VALUES (421081, '石首市', 421000);
INSERT INTO `area` VALUES (421083, '洪湖市', 421000);
INSERT INTO `area` VALUES (421087, '松滋市', 421000);
INSERT INTO `area` VALUES (421102, '黄州区', 421100);
INSERT INTO `area` VALUES (421121, '团风县', 421100);
INSERT INTO `area` VALUES (421122, '红安县', 421100);
INSERT INTO `area` VALUES (421123, '罗田县', 421100);
INSERT INTO `area` VALUES (421124, '英山县', 421100);
INSERT INTO `area` VALUES (421125, '浠水县', 421100);
INSERT INTO `area` VALUES (421126, '蕲春县', 421100);
INSERT INTO `area` VALUES (421127, '黄梅县', 421100);
INSERT INTO `area` VALUES (421181, '麻城市', 421100);
INSERT INTO `area` VALUES (421182, '武穴市', 421100);
INSERT INTO `area` VALUES (421202, '咸安区', 421200);
INSERT INTO `area` VALUES (421221, '嘉鱼县', 421200);
INSERT INTO `area` VALUES (421222, '通城县', 421200);
INSERT INTO `area` VALUES (421223, '崇阳县', 421200);
INSERT INTO `area` VALUES (421224, '通山县', 421200);
INSERT INTO `area` VALUES (421281, '赤壁市', 421200);
INSERT INTO `area` VALUES (421303, '曾都区', 421300);
INSERT INTO `area` VALUES (421321, '随县', 421300);
INSERT INTO `area` VALUES (421381, '广水市', 421300);
INSERT INTO `area` VALUES (422801, '恩施市', 422800);
INSERT INTO `area` VALUES (422802, '利川市', 422800);
INSERT INTO `area` VALUES (422822, '建始县', 422800);
INSERT INTO `area` VALUES (422823, '巴东县', 422800);
INSERT INTO `area` VALUES (422825, '宣恩县', 422800);
INSERT INTO `area` VALUES (422826, '咸丰县', 422800);
INSERT INTO `area` VALUES (422827, '来凤县', 422800);
INSERT INTO `area` VALUES (422828, '鹤峰县', 422800);
INSERT INTO `area` VALUES (429004, '仙桃市', 429000);
INSERT INTO `area` VALUES (429005, '潜江市', 429000);
INSERT INTO `area` VALUES (429006, '天门市', 429000);
INSERT INTO `area` VALUES (429021, '神农架林区', 429000);
INSERT INTO `area` VALUES (430102, '芙蓉区', 430100);
INSERT INTO `area` VALUES (430103, '天心区', 430100);
INSERT INTO `area` VALUES (430104, '岳麓区', 430100);
INSERT INTO `area` VALUES (430105, '开福区', 430100);
INSERT INTO `area` VALUES (430111, '雨花区', 430100);
INSERT INTO `area` VALUES (430112, '望城区', 430100);
INSERT INTO `area` VALUES (430121, '长沙县', 430100);
INSERT INTO `area` VALUES (430181, '浏阳市', 430100);
INSERT INTO `area` VALUES (430182, '宁乡市', 430100);
INSERT INTO `area` VALUES (430202, '荷塘区', 430200);
INSERT INTO `area` VALUES (430203, '芦淞区', 430200);
INSERT INTO `area` VALUES (430204, '石峰区', 430200);
INSERT INTO `area` VALUES (430211, '天元区', 430200);
INSERT INTO `area` VALUES (430212, '渌口区', 430200);
INSERT INTO `area` VALUES (430223, '攸县', 430200);
INSERT INTO `area` VALUES (430224, '茶陵县', 430200);
INSERT INTO `area` VALUES (430225, '炎陵县', 430200);
INSERT INTO `area` VALUES (430281, '醴陵市', 430200);
INSERT INTO `area` VALUES (430302, '雨湖区', 430300);
INSERT INTO `area` VALUES (430304, '岳塘区', 430300);
INSERT INTO `area` VALUES (430321, '湘潭县', 430300);
INSERT INTO `area` VALUES (430381, '湘乡市', 430300);
INSERT INTO `area` VALUES (430382, '韶山市', 430300);
INSERT INTO `area` VALUES (430405, '珠晖区', 430400);
INSERT INTO `area` VALUES (430406, '雁峰区', 430400);
INSERT INTO `area` VALUES (430407, '石鼓区', 430400);
INSERT INTO `area` VALUES (430408, '蒸湘区', 430400);
INSERT INTO `area` VALUES (430412, '南岳区', 430400);
INSERT INTO `area` VALUES (430421, '衡阳县', 430400);
INSERT INTO `area` VALUES (430422, '衡南县', 430400);
INSERT INTO `area` VALUES (430423, '衡山县', 430400);
INSERT INTO `area` VALUES (430424, '衡东县', 430400);
INSERT INTO `area` VALUES (430426, '祁东县', 430400);
INSERT INTO `area` VALUES (430481, '耒阳市', 430400);
INSERT INTO `area` VALUES (430482, '常宁市', 430400);
INSERT INTO `area` VALUES (430502, '双清区', 430500);
INSERT INTO `area` VALUES (430503, '大祥区', 430500);
INSERT INTO `area` VALUES (430511, '北塔区', 430500);
INSERT INTO `area` VALUES (430522, '新邵县', 430500);
INSERT INTO `area` VALUES (430523, '邵阳县', 430500);
INSERT INTO `area` VALUES (430524, '隆回县', 430500);
INSERT INTO `area` VALUES (430525, '洞口县', 430500);
INSERT INTO `area` VALUES (430527, '绥宁县', 430500);
INSERT INTO `area` VALUES (430528, '新宁县', 430500);
INSERT INTO `area` VALUES (430529, '城步苗族自治县', 430500);
INSERT INTO `area` VALUES (430581, '武冈市', 430500);
INSERT INTO `area` VALUES (430582, '邵东市', 430500);
INSERT INTO `area` VALUES (430602, '岳阳楼区', 430600);
INSERT INTO `area` VALUES (430603, '云溪区', 430600);
INSERT INTO `area` VALUES (430611, '君山区', 430600);
INSERT INTO `area` VALUES (430621, '岳阳县', 430600);
INSERT INTO `area` VALUES (430623, '华容县', 430600);
INSERT INTO `area` VALUES (430624, '湘阴县', 430600);
INSERT INTO `area` VALUES (430626, '平江县', 430600);
INSERT INTO `area` VALUES (430681, '汨罗市', 430600);
INSERT INTO `area` VALUES (430682, '临湘市', 430600);
INSERT INTO `area` VALUES (430702, '武陵区', 430700);
INSERT INTO `area` VALUES (430703, '鼎城区', 430700);
INSERT INTO `area` VALUES (430721, '安乡县', 430700);
INSERT INTO `area` VALUES (430722, '汉寿县', 430700);
INSERT INTO `area` VALUES (430723, '澧县', 430700);
INSERT INTO `area` VALUES (430724, '临澧县', 430700);
INSERT INTO `area` VALUES (430725, '桃源县', 430700);
INSERT INTO `area` VALUES (430726, '石门县', 430700);
INSERT INTO `area` VALUES (430781, '津市市', 430700);
INSERT INTO `area` VALUES (430802, '永定区', 430800);
INSERT INTO `area` VALUES (430811, '武陵源区', 430800);
INSERT INTO `area` VALUES (430821, '慈利县', 430800);
INSERT INTO `area` VALUES (430822, '桑植县', 430800);
INSERT INTO `area` VALUES (430902, '资阳区', 430900);
INSERT INTO `area` VALUES (430903, '赫山区', 430900);
INSERT INTO `area` VALUES (430921, '南县', 430900);
INSERT INTO `area` VALUES (430922, '桃江县', 430900);
INSERT INTO `area` VALUES (430923, '安化县', 430900);
INSERT INTO `area` VALUES (430981, '沅江市', 430900);
INSERT INTO `area` VALUES (431002, '北湖区', 431000);
INSERT INTO `area` VALUES (431003, '苏仙区', 431000);
INSERT INTO `area` VALUES (431021, '桂阳县', 431000);
INSERT INTO `area` VALUES (431022, '宜章县', 431000);
INSERT INTO `area` VALUES (431023, '永兴县', 431000);
INSERT INTO `area` VALUES (431024, '嘉禾县', 431000);
INSERT INTO `area` VALUES (431025, '临武县', 431000);
INSERT INTO `area` VALUES (431026, '汝城县', 431000);
INSERT INTO `area` VALUES (431027, '桂东县', 431000);
INSERT INTO `area` VALUES (431028, '安仁县', 431000);
INSERT INTO `area` VALUES (431081, '资兴市', 431000);
INSERT INTO `area` VALUES (431102, '零陵区', 431100);
INSERT INTO `area` VALUES (431103, '冷水滩区', 431100);
INSERT INTO `area` VALUES (431121, '祁阳市', 431100);
INSERT INTO `area` VALUES (431122, '东安县', 431100);
INSERT INTO `area` VALUES (431123, '双牌县', 431100);
INSERT INTO `area` VALUES (431124, '道县', 431100);
INSERT INTO `area` VALUES (431125, '江永县', 431100);
INSERT INTO `area` VALUES (431126, '宁远县', 431100);
INSERT INTO `area` VALUES (431127, '蓝山县', 431100);
INSERT INTO `area` VALUES (431128, '新田县', 431100);
INSERT INTO `area` VALUES (431129, '江华瑶族自治县', 431100);
INSERT INTO `area` VALUES (431202, '鹤城区', 431200);
INSERT INTO `area` VALUES (431221, '中方县', 431200);
INSERT INTO `area` VALUES (431222, '沅陵县', 431200);
INSERT INTO `area` VALUES (431223, '辰溪县', 431200);
INSERT INTO `area` VALUES (431224, '溆浦县', 431200);
INSERT INTO `area` VALUES (431225, '会同县', 431200);
INSERT INTO `area` VALUES (431226, '麻阳苗族自治县', 431200);
INSERT INTO `area` VALUES (431227, '新晃侗族自治县', 431200);
INSERT INTO `area` VALUES (431228, '芷江侗族自治县', 431200);
INSERT INTO `area` VALUES (431229, '靖州苗族侗族自治县', 431200);
INSERT INTO `area` VALUES (431230, '通道侗族自治县', 431200);
INSERT INTO `area` VALUES (431281, '洪江市', 431200);
INSERT INTO `area` VALUES (431302, '娄星区', 431300);
INSERT INTO `area` VALUES (431321, '双峰县', 431300);
INSERT INTO `area` VALUES (431322, '新化县', 431300);
INSERT INTO `area` VALUES (431381, '冷水江市', 431300);
INSERT INTO `area` VALUES (431382, '涟源市', 431300);
INSERT INTO `area` VALUES (433101, '吉首市', 433100);
INSERT INTO `area` VALUES (433122, '泸溪县', 433100);
INSERT INTO `area` VALUES (433123, '凤凰县', 433100);
INSERT INTO `area` VALUES (433124, '花垣县', 433100);
INSERT INTO `area` VALUES (433125, '保靖县', 433100);
INSERT INTO `area` VALUES (433126, '古丈县', 433100);
INSERT INTO `area` VALUES (433127, '永顺县', 433100);
INSERT INTO `area` VALUES (433130, '龙山县', 433100);
INSERT INTO `area` VALUES (440103, '荔湾区', 440100);
INSERT INTO `area` VALUES (440104, '越秀区', 440100);
INSERT INTO `area` VALUES (440105, '海珠区', 440100);
INSERT INTO `area` VALUES (440106, '天河区', 440100);
INSERT INTO `area` VALUES (440111, '白云区', 440100);
INSERT INTO `area` VALUES (440112, '黄埔区', 440100);
INSERT INTO `area` VALUES (440113, '番禺区', 440100);
INSERT INTO `area` VALUES (440114, '花都区', 440100);
INSERT INTO `area` VALUES (440115, '南沙区', 440100);
INSERT INTO `area` VALUES (440117, '从化区', 440100);
INSERT INTO `area` VALUES (440118, '增城区', 440100);
INSERT INTO `area` VALUES (440203, '武江区', 440200);
INSERT INTO `area` VALUES (440204, '浈江区', 440200);
INSERT INTO `area` VALUES (440205, '曲江区', 440200);
INSERT INTO `area` VALUES (440222, '始兴县', 440200);
INSERT INTO `area` VALUES (440224, '仁化县', 440200);
INSERT INTO `area` VALUES (440229, '翁源县', 440200);
INSERT INTO `area` VALUES (440232, '乳源瑶族自治县', 440200);
INSERT INTO `area` VALUES (440233, '新丰县', 440200);
INSERT INTO `area` VALUES (440281, '乐昌市', 440200);
INSERT INTO `area` VALUES (440282, '南雄市', 440200);
INSERT INTO `area` VALUES (440303, '罗湖区', 440300);
INSERT INTO `area` VALUES (440304, '福田区', 440300);
INSERT INTO `area` VALUES (440305, '南山区', 440300);
INSERT INTO `area` VALUES (440306, '宝安区', 440300);
INSERT INTO `area` VALUES (440307, '龙岗区', 440300);
INSERT INTO `area` VALUES (440308, '盐田区', 440300);
INSERT INTO `area` VALUES (440309, '龙华区', 440300);
INSERT INTO `area` VALUES (440310, '坪山区', 440300);
INSERT INTO `area` VALUES (440311, '光明区', 440300);
INSERT INTO `area` VALUES (440402, '香洲区', 440400);
INSERT INTO `area` VALUES (440403, '斗门区', 440400);
INSERT INTO `area` VALUES (440404, '金湾区', 440400);
INSERT INTO `area` VALUES (440507, '龙湖区', 440500);
INSERT INTO `area` VALUES (440511, '金平区', 440500);
INSERT INTO `area` VALUES (440512, '濠江区', 440500);
INSERT INTO `area` VALUES (440513, '潮阳区', 440500);
INSERT INTO `area` VALUES (440514, '潮南区', 440500);
INSERT INTO `area` VALUES (440515, '澄海区', 440500);
INSERT INTO `area` VALUES (440523, '南澳县', 440500);
INSERT INTO `area` VALUES (440604, '禅城区', 440600);
INSERT INTO `area` VALUES (440605, '南海区', 440600);
INSERT INTO `area` VALUES (440606, '顺德区', 440600);
INSERT INTO `area` VALUES (440607, '三水区', 440600);
INSERT INTO `area` VALUES (440608, '高明区', 440600);
INSERT INTO `area` VALUES (440703, '蓬江区', 440700);
INSERT INTO `area` VALUES (440704, '江海区', 440700);
INSERT INTO `area` VALUES (440705, '新会区', 440700);
INSERT INTO `area` VALUES (440781, '台山市', 440700);
INSERT INTO `area` VALUES (440783, '开平市', 440700);
INSERT INTO `area` VALUES (440784, '鹤山市', 440700);
INSERT INTO `area` VALUES (440785, '恩平市', 440700);
INSERT INTO `area` VALUES (440802, '赤坎区', 440800);
INSERT INTO `area` VALUES (440803, '霞山区', 440800);
INSERT INTO `area` VALUES (440804, '坡头区', 440800);
INSERT INTO `area` VALUES (440811, '麻章区', 440800);
INSERT INTO `area` VALUES (440823, '遂溪县', 440800);
INSERT INTO `area` VALUES (440825, '徐闻县', 440800);
INSERT INTO `area` VALUES (440881, '廉江市', 440800);
INSERT INTO `area` VALUES (440882, '雷州市', 440800);
INSERT INTO `area` VALUES (440883, '吴川市', 440800);
INSERT INTO `area` VALUES (440902, '茂南区', 440900);
INSERT INTO `area` VALUES (440904, '电白区', 440900);
INSERT INTO `area` VALUES (440981, '高州市', 440900);
INSERT INTO `area` VALUES (440982, '化州市', 440900);
INSERT INTO `area` VALUES (440983, '信宜市', 440900);
INSERT INTO `area` VALUES (441202, '端州区', 441200);
INSERT INTO `area` VALUES (441203, '鼎湖区', 441200);
INSERT INTO `area` VALUES (441204, '高要区', 441200);
INSERT INTO `area` VALUES (441223, '广宁县', 441200);
INSERT INTO `area` VALUES (441224, '怀集县', 441200);
INSERT INTO `area` VALUES (441225, '封开县', 441200);
INSERT INTO `area` VALUES (441226, '德庆县', 441200);
INSERT INTO `area` VALUES (441284, '四会市', 441200);
INSERT INTO `area` VALUES (441302, '惠城区', 441300);
INSERT INTO `area` VALUES (441303, '惠阳区', 441300);
INSERT INTO `area` VALUES (441322, '博罗县', 441300);
INSERT INTO `area` VALUES (441323, '惠东县', 441300);
INSERT INTO `area` VALUES (441324, '龙门县', 441300);
INSERT INTO `area` VALUES (441402, '梅江区', 441400);
INSERT INTO `area` VALUES (441403, '梅县区', 441400);
INSERT INTO `area` VALUES (441422, '大埔县', 441400);
INSERT INTO `area` VALUES (441423, '丰顺县', 441400);
INSERT INTO `area` VALUES (441424, '五华县', 441400);
INSERT INTO `area` VALUES (441426, '平远县', 441400);
INSERT INTO `area` VALUES (441427, '蕉岭县', 441400);
INSERT INTO `area` VALUES (441481, '兴宁市', 441400);
INSERT INTO `area` VALUES (441502, '城区', 441500);
INSERT INTO `area` VALUES (441521, '海丰县', 441500);
INSERT INTO `area` VALUES (441523, '陆河县', 441500);
INSERT INTO `area` VALUES (441581, '陆丰市', 441500);
INSERT INTO `area` VALUES (441602, '源城区', 441600);
INSERT INTO `area` VALUES (441621, '紫金县', 441600);
INSERT INTO `area` VALUES (441622, '龙川县', 441600);
INSERT INTO `area` VALUES (441623, '连平县', 441600);
INSERT INTO `area` VALUES (441624, '和平县', 441600);
INSERT INTO `area` VALUES (441625, '东源县', 441600);
INSERT INTO `area` VALUES (441702, '江城区', 441700);
INSERT INTO `area` VALUES (441721, '阳西县', 441700);
INSERT INTO `area` VALUES (441723, '阳东区', 441700);
INSERT INTO `area` VALUES (441781, '阳春市', 441700);
INSERT INTO `area` VALUES (441802, '清城区', 441800);
INSERT INTO `area` VALUES (441803, '清新区', 441800);
INSERT INTO `area` VALUES (441821, '佛冈县', 441800);
INSERT INTO `area` VALUES (441823, '阳山县', 441800);
INSERT INTO `area` VALUES (441825, '连山壮族瑶族自治县', 441800);
INSERT INTO `area` VALUES (441826, '连南瑶族自治县', 441800);
INSERT INTO `area` VALUES (441881, '英德市', 441800);
INSERT INTO `area` VALUES (441882, '连州市', 441800);
INSERT INTO `area` VALUES (441900, '东莞市', 441900);
INSERT INTO `area` VALUES (442000, '中山市', 442000);
INSERT INTO `area` VALUES (445102, '湘桥区', 445100);
INSERT INTO `area` VALUES (445103, '潮安区', 445100);
INSERT INTO `area` VALUES (445122, '饶平县', 445100);
INSERT INTO `area` VALUES (445202, '榕城区', 445200);
INSERT INTO `area` VALUES (445203, '揭东区', 445200);
INSERT INTO `area` VALUES (445222, '揭西县', 445200);
INSERT INTO `area` VALUES (445224, '惠来县', 445200);
INSERT INTO `area` VALUES (445281, '普宁市', 445200);
INSERT INTO `area` VALUES (445302, '云城区', 445300);
INSERT INTO `area` VALUES (445303, '云安区', 445300);
INSERT INTO `area` VALUES (445321, '新兴县', 445300);
INSERT INTO `area` VALUES (445322, '郁南县', 445300);
INSERT INTO `area` VALUES (445381, '罗定市', 445300);
INSERT INTO `area` VALUES (450102, '兴宁区', 450100);
INSERT INTO `area` VALUES (450103, '青秀区', 450100);
INSERT INTO `area` VALUES (450105, '江南区', 450100);
INSERT INTO `area` VALUES (450107, '西乡塘区', 450100);
INSERT INTO `area` VALUES (450108, '良庆区', 450100);
INSERT INTO `area` VALUES (450109, '邕宁区', 450100);
INSERT INTO `area` VALUES (450110, '武鸣区', 450100);
INSERT INTO `area` VALUES (450123, '隆安县', 450100);
INSERT INTO `area` VALUES (450124, '马山县', 450100);
INSERT INTO `area` VALUES (450125, '上林县', 450100);
INSERT INTO `area` VALUES (450126, '宾阳县', 450100);
INSERT INTO `area` VALUES (450127, '横州市', 450100);
INSERT INTO `area` VALUES (450202, '城中区', 450200);
INSERT INTO `area` VALUES (450203, '鱼峰区', 450200);
INSERT INTO `area` VALUES (450204, '柳南区', 450200);
INSERT INTO `area` VALUES (450205, '柳北区', 450200);
INSERT INTO `area` VALUES (450206, '柳江区', 450200);
INSERT INTO `area` VALUES (450222, '柳城县', 450200);
INSERT INTO `area` VALUES (450223, '鹿寨县', 450200);
INSERT INTO `area` VALUES (450224, '融安县', 450200);
INSERT INTO `area` VALUES (450225, '融水苗族自治县', 450200);
INSERT INTO `area` VALUES (450226, '三江侗族自治县', 450200);
INSERT INTO `area` VALUES (450302, '秀峰区', 450300);
INSERT INTO `area` VALUES (450303, '叠彩区', 450300);
INSERT INTO `area` VALUES (450304, '象山区', 450300);
INSERT INTO `area` VALUES (450305, '七星区', 450300);
INSERT INTO `area` VALUES (450311, '雁山区', 450300);
INSERT INTO `area` VALUES (450312, '临桂区', 450300);
INSERT INTO `area` VALUES (450321, '阳朔县', 450300);
INSERT INTO `area` VALUES (450323, '灵川县', 450300);
INSERT INTO `area` VALUES (450324, '全州县', 450300);
INSERT INTO `area` VALUES (450325, '兴安县', 450300);
INSERT INTO `area` VALUES (450326, '永福县', 450300);
INSERT INTO `area` VALUES (450327, '灌阳县', 450300);
INSERT INTO `area` VALUES (450328, '龙胜各族自治县', 450300);
INSERT INTO `area` VALUES (450329, '资源县', 450300);
INSERT INTO `area` VALUES (450330, '平乐县', 450300);
INSERT INTO `area` VALUES (450331, '恭城瑶族自治县', 450300);
INSERT INTO `area` VALUES (450381, '荔浦市', 450300);
INSERT INTO `area` VALUES (450403, '万秀区', 450400);
INSERT INTO `area` VALUES (450405, '长洲区', 450400);
INSERT INTO `area` VALUES (450406, '龙圩区', 450400);
INSERT INTO `area` VALUES (450421, '苍梧县', 450400);
INSERT INTO `area` VALUES (450422, '藤县', 450400);
INSERT INTO `area` VALUES (450423, '蒙山县', 450400);
INSERT INTO `area` VALUES (450481, '岑溪市', 450400);
INSERT INTO `area` VALUES (450502, '海城区', 450500);
INSERT INTO `area` VALUES (450503, '银海区', 450500);
INSERT INTO `area` VALUES (450512, '铁山港区', 450500);
INSERT INTO `area` VALUES (450521, '合浦县', 450500);
INSERT INTO `area` VALUES (450602, '港口区', 450600);
INSERT INTO `area` VALUES (450603, '防城区', 450600);
INSERT INTO `area` VALUES (450621, '上思县', 450600);
INSERT INTO `area` VALUES (450681, '东兴市', 450600);
INSERT INTO `area` VALUES (450702, '钦南区', 450700);
INSERT INTO `area` VALUES (450703, '钦北区', 450700);
INSERT INTO `area` VALUES (450721, '灵山县', 450700);
INSERT INTO `area` VALUES (450722, '浦北县', 450700);
INSERT INTO `area` VALUES (450802, '港北区', 450800);
INSERT INTO `area` VALUES (450803, '港南区', 450800);
INSERT INTO `area` VALUES (450804, '覃塘区', 450800);
INSERT INTO `area` VALUES (450821, '平南县', 450800);
INSERT INTO `area` VALUES (450881, '桂平市', 450800);
INSERT INTO `area` VALUES (450902, '玉州区', 450900);
INSERT INTO `area` VALUES (450903, '福绵区', 450900);
INSERT INTO `area` VALUES (450921, '容县', 450900);
INSERT INTO `area` VALUES (450922, '陆川县', 450900);
INSERT INTO `area` VALUES (450923, '博白县', 450900);
INSERT INTO `area` VALUES (450924, '兴业县', 450900);
INSERT INTO `area` VALUES (450981, '北流市', 450900);
INSERT INTO `area` VALUES (451002, '右江区', 451000);
INSERT INTO `area` VALUES (451021, '田阳区', 451000);
INSERT INTO `area` VALUES (451022, '田东县', 451000);
INSERT INTO `area` VALUES (451024, '德保县', 451000);
INSERT INTO `area` VALUES (451026, '那坡县', 451000);
INSERT INTO `area` VALUES (451027, '凌云县', 451000);
INSERT INTO `area` VALUES (451028, '乐业县', 451000);
INSERT INTO `area` VALUES (451029, '田林县', 451000);
INSERT INTO `area` VALUES (451030, '西林县', 451000);
INSERT INTO `area` VALUES (451031, '隆林各族自治县', 451000);
INSERT INTO `area` VALUES (451081, '靖西市', 451000);
INSERT INTO `area` VALUES (451082, '平果市', 451000);
INSERT INTO `area` VALUES (451102, '八步区', 451100);
INSERT INTO `area` VALUES (451103, '平桂区', 451100);
INSERT INTO `area` VALUES (451121, '昭平县', 451100);
INSERT INTO `area` VALUES (451122, '钟山县', 451100);
INSERT INTO `area` VALUES (451123, '富川瑶族自治县', 451100);
INSERT INTO `area` VALUES (451202, '金城江区', 451200);
INSERT INTO `area` VALUES (451203, '宜州区', 451200);
INSERT INTO `area` VALUES (451221, '南丹县', 451200);
INSERT INTO `area` VALUES (451222, '天峨县', 451200);
INSERT INTO `area` VALUES (451223, '凤山县', 451200);
INSERT INTO `area` VALUES (451224, '东兰县', 451200);
INSERT INTO `area` VALUES (451225, '罗城仫佬族自治县', 451200);
INSERT INTO `area` VALUES (451226, '环江毛南族自治县', 451200);
INSERT INTO `area` VALUES (451227, '巴马瑶族自治县', 451200);
INSERT INTO `area` VALUES (451228, '都安瑶族自治县', 451200);
INSERT INTO `area` VALUES (451229, '大化瑶族自治县', 451200);
INSERT INTO `area` VALUES (451302, '兴宾区', 451300);
INSERT INTO `area` VALUES (451321, '忻城县', 451300);
INSERT INTO `area` VALUES (451322, '象州县', 451300);
INSERT INTO `area` VALUES (451323, '武宣县', 451300);
INSERT INTO `area` VALUES (451324, '金秀瑶族自治县', 451300);
INSERT INTO `area` VALUES (451381, '合山市', 451300);
INSERT INTO `area` VALUES (451402, '江州区', 451400);
INSERT INTO `area` VALUES (451421, '扶绥县', 451400);
INSERT INTO `area` VALUES (451422, '宁明县', 451400);
INSERT INTO `area` VALUES (451423, '龙州县', 451400);
INSERT INTO `area` VALUES (451424, '大新县', 451400);
INSERT INTO `area` VALUES (451425, '天等县', 451400);
INSERT INTO `area` VALUES (451481, '凭祥市', 451400);
INSERT INTO `area` VALUES (460105, '秀英区', 460100);
INSERT INTO `area` VALUES (460106, '龙华区', 460100);
INSERT INTO `area` VALUES (460107, '琼山区', 460100);
INSERT INTO `area` VALUES (460108, '美兰区', 460100);
INSERT INTO `area` VALUES (460202, '海棠区', 460200);
INSERT INTO `area` VALUES (460203, '吉阳区', 460200);
INSERT INTO `area` VALUES (460204, '天涯区', 460200);
INSERT INTO `area` VALUES (460205, '崖州区', 460200);
INSERT INTO `area` VALUES (460321, '西沙群岛', 460300);
INSERT INTO `area` VALUES (460322, '南沙群岛', 460300);
INSERT INTO `area` VALUES (460323, '中沙群岛的岛礁及其海域', 460300);
INSERT INTO `area` VALUES (460402, '海棠区', 460400);
INSERT INTO `area` VALUES (460403, '吉阳区', 460400);
INSERT INTO `area` VALUES (460404, '天涯区', 460400);
INSERT INTO `area` VALUES (460405, '崖州区', 460400);
INSERT INTO `area` VALUES (469001, '五指山市', 469000);
INSERT INTO `area` VALUES (469002, '琼海市', 469000);
INSERT INTO `area` VALUES (469005, '文昌市', 469000);
INSERT INTO `area` VALUES (469006, '万宁市', 469000);
INSERT INTO `area` VALUES (469007, '东方市', 469000);
INSERT INTO `area` VALUES (469021, '定安县', 469000);
INSERT INTO `area` VALUES (469022, '屯昌县', 469000);
INSERT INTO `area` VALUES (469023, '澄迈县', 469000);
INSERT INTO `area` VALUES (469024, '临高县', 469000);
INSERT INTO `area` VALUES (469025, '白沙黎族自治县', 469000);
INSERT INTO `area` VALUES (469026, '昌江黎族自治县', 469000);
INSERT INTO `area` VALUES (469027, '乐东黎族自治县', 469000);
INSERT INTO `area` VALUES (469028, '陵水黎族自治县', 469000);
INSERT INTO `area` VALUES (469029, '保亭黎族苗族自治县', 469000);
INSERT INTO `area` VALUES (469030, '琼中黎族苗族自治县', 469000);
INSERT INTO `area` VALUES (500101, '万州区', 500100);
INSERT INTO `area` VALUES (500102, '涪陵区', 500100);
INSERT INTO `area` VALUES (500103, '渝中区', 500100);
INSERT INTO `area` VALUES (500104, '大渡口区', 500100);
INSERT INTO `area` VALUES (500105, '江北区', 500100);
INSERT INTO `area` VALUES (500106, '沙坪坝区', 500100);
INSERT INTO `area` VALUES (500107, '九龙坡区', 500100);
INSERT INTO `area` VALUES (500108, '南岸区', 500100);
INSERT INTO `area` VALUES (500109, '北碚区', 500100);
INSERT INTO `area` VALUES (500110, '綦江区', 500100);
INSERT INTO `area` VALUES (500111, '大足区', 500100);
INSERT INTO `area` VALUES (500112, '渝北区', 500100);
INSERT INTO `area` VALUES (500113, '巴南区', 500100);
INSERT INTO `area` VALUES (500114, '黔江区', 500100);
INSERT INTO `area` VALUES (500115, '长寿区', 500100);
INSERT INTO `area` VALUES (500116, '江津区', 500100);
INSERT INTO `area` VALUES (500117, '合川区', 500100);
INSERT INTO `area` VALUES (500118, '永川区', 500100);
INSERT INTO `area` VALUES (500119, '南川区', 500100);
INSERT INTO `area` VALUES (500120, '璧山区', 500100);
INSERT INTO `area` VALUES (500121, '铜梁区', 500100);
INSERT INTO `area` VALUES (500122, '潼南区', 500100);
INSERT INTO `area` VALUES (500123, '荣昌区', 500100);
INSERT INTO `area` VALUES (500151, '开州区', 500100);
INSERT INTO `area` VALUES (500152, '梁平区', 500100);
INSERT INTO `area` VALUES (500153, '武隆区', 500100);
INSERT INTO `area` VALUES (500229, '城口县', 500100);
INSERT INTO `area` VALUES (500230, '丰都县', 500100);
INSERT INTO `area` VALUES (500231, '垫江县', 500100);
INSERT INTO `area` VALUES (500233, '忠县', 500100);
INSERT INTO `area` VALUES (500235, '云阳县', 500100);
INSERT INTO `area` VALUES (500236, '奉节县', 500100);
INSERT INTO `area` VALUES (500237, '巫山县', 500100);
INSERT INTO `area` VALUES (500238, '巫溪县', 500100);
INSERT INTO `area` VALUES (500240, '石柱土家族自治县', 500100);
INSERT INTO `area` VALUES (500241, '秀山土家族苗族自治县', 500100);
INSERT INTO `area` VALUES (500242, '酉阳土家族苗族自治县', 500100);
INSERT INTO `area` VALUES (500243, '彭水苗族土家族自治县', 500100);
INSERT INTO `area` VALUES (510104, '锦江区', 510100);
INSERT INTO `area` VALUES (510105, '青羊区', 510100);
INSERT INTO `area` VALUES (510106, '金牛区', 510100);
INSERT INTO `area` VALUES (510107, '武侯区', 510100);
INSERT INTO `area` VALUES (510108, '成华区', 510100);
INSERT INTO `area` VALUES (510112, '龙泉驿区', 510100);
INSERT INTO `area` VALUES (510113, '青白江区', 510100);
INSERT INTO `area` VALUES (510114, '新都区', 510100);
INSERT INTO `area` VALUES (510115, '温江区', 510100);
INSERT INTO `area` VALUES (510116, '双流区', 510100);
INSERT INTO `area` VALUES (510117, '郫都区', 510100);
INSERT INTO `area` VALUES (510118, '新津区', 510100);
INSERT INTO `area` VALUES (510121, '金堂县', 510100);
INSERT INTO `area` VALUES (510129, '大邑县', 510100);
INSERT INTO `area` VALUES (510131, '蒲江县', 510100);
INSERT INTO `area` VALUES (510181, '都江堰市', 510100);
INSERT INTO `area` VALUES (510182, '彭州市', 510100);
INSERT INTO `area` VALUES (510183, '邛崃市', 510100);
INSERT INTO `area` VALUES (510184, '崇州市', 510100);
INSERT INTO `area` VALUES (510185, '简阳市', 510100);
INSERT INTO `area` VALUES (510302, '自流井区', 510300);
INSERT INTO `area` VALUES (510303, '贡井区', 510300);
INSERT INTO `area` VALUES (510304, '大安区', 510300);
INSERT INTO `area` VALUES (510311, '沿滩区', 510300);
INSERT INTO `area` VALUES (510321, '荣县', 510300);
INSERT INTO `area` VALUES (510322, '富顺县', 510300);
INSERT INTO `area` VALUES (510402, '东区', 510400);
INSERT INTO `area` VALUES (510403, '西区', 510400);
INSERT INTO `area` VALUES (510411, '仁和区', 510400);
INSERT INTO `area` VALUES (510421, '米易县', 510400);
INSERT INTO `area` VALUES (510422, '盐边县', 510400);
INSERT INTO `area` VALUES (510502, '江阳区', 510500);
INSERT INTO `area` VALUES (510503, '纳溪区', 510500);
INSERT INTO `area` VALUES (510504, '龙马潭区', 510500);
INSERT INTO `area` VALUES (510521, '泸县', 510500);
INSERT INTO `area` VALUES (510522, '合江县', 510500);
INSERT INTO `area` VALUES (510524, '叙永县', 510500);
INSERT INTO `area` VALUES (510525, '古蔺县', 510500);
INSERT INTO `area` VALUES (510603, '旌阳区', 510600);
INSERT INTO `area` VALUES (510623, '中江县', 510600);
INSERT INTO `area` VALUES (510681, '广汉市', 510600);
INSERT INTO `area` VALUES (510682, '什邡市', 510600);
INSERT INTO `area` VALUES (510683, '绵竹市', 510600);
INSERT INTO `area` VALUES (510703, '涪城区', 510700);
INSERT INTO `area` VALUES (510704, '游仙区', 510700);
INSERT INTO `area` VALUES (510705, '安州区', 510700);
INSERT INTO `area` VALUES (510722, '三台县', 510700);
INSERT INTO `area` VALUES (510723, '盐亭县', 510700);
INSERT INTO `area` VALUES (510725, '梓潼县', 510700);
INSERT INTO `area` VALUES (510726, '北川羌族自治县', 510700);
INSERT INTO `area` VALUES (510727, '平武县', 510700);
INSERT INTO `area` VALUES (510781, '江油市', 510700);
INSERT INTO `area` VALUES (510802, '利州区', 510800);
INSERT INTO `area` VALUES (510811, '昭化区', 510800);
INSERT INTO `area` VALUES (510812, '朝天区', 510800);
INSERT INTO `area` VALUES (510821, '旺苍县', 510800);
INSERT INTO `area` VALUES (510822, '青川县', 510800);
INSERT INTO `area` VALUES (510823, '剑阁县', 510800);
INSERT INTO `area` VALUES (510824, '苍溪县', 510800);
INSERT INTO `area` VALUES (510903, '船山区', 510900);
INSERT INTO `area` VALUES (510904, '安居区', 510900);
INSERT INTO `area` VALUES (510921, '蓬溪县', 510900);
INSERT INTO `area` VALUES (510923, '大英县', 510900);
INSERT INTO `area` VALUES (510981, '射洪市', 510900);
INSERT INTO `area` VALUES (511002, '市中区', 511000);
INSERT INTO `area` VALUES (511011, '东兴区', 511000);
INSERT INTO `area` VALUES (511024, '威远县', 511000);
INSERT INTO `area` VALUES (511025, '资中县', 511000);
INSERT INTO `area` VALUES (511083, '隆昌市', 511000);
INSERT INTO `area` VALUES (511102, '市中区', 511100);
INSERT INTO `area` VALUES (511111, '沙湾区', 511100);
INSERT INTO `area` VALUES (511112, '五通桥区', 511100);
INSERT INTO `area` VALUES (511113, '金口河区', 511100);
INSERT INTO `area` VALUES (511123, '犍为县', 511100);
INSERT INTO `area` VALUES (511124, '井研县', 511100);
INSERT INTO `area` VALUES (511126, '夹江县', 511100);
INSERT INTO `area` VALUES (511129, '沐川县', 511100);
INSERT INTO `area` VALUES (511132, '峨边彝族自治县', 511100);
INSERT INTO `area` VALUES (511133, '马边彝族自治县', 511100);
INSERT INTO `area` VALUES (511181, '峨眉山市', 511100);
INSERT INTO `area` VALUES (511302, '顺庆区', 511300);
INSERT INTO `area` VALUES (511303, '高坪区', 511300);
INSERT INTO `area` VALUES (511304, '嘉陵区', 511300);
INSERT INTO `area` VALUES (511321, '南部县', 511300);
INSERT INTO `area` VALUES (511322, '营山县', 511300);
INSERT INTO `area` VALUES (511323, '蓬安县', 511300);
INSERT INTO `area` VALUES (511324, '仪陇县', 511300);
INSERT INTO `area` VALUES (511325, '西充县', 511300);
INSERT INTO `area` VALUES (511381, '阆中市', 511300);
INSERT INTO `area` VALUES (511402, '东坡区', 511400);
INSERT INTO `area` VALUES (511403, '彭山区', 511400);
INSERT INTO `area` VALUES (511421, '仁寿县', 511400);
INSERT INTO `area` VALUES (511423, '洪雅县', 511400);
INSERT INTO `area` VALUES (511424, '丹棱县', 511400);
INSERT INTO `area` VALUES (511425, '青神县', 511400);
INSERT INTO `area` VALUES (511502, '翠屏区', 511500);
INSERT INTO `area` VALUES (511503, '南溪区', 511500);
INSERT INTO `area` VALUES (511504, '叙州区', 511500);
INSERT INTO `area` VALUES (511523, '江安县', 511500);
INSERT INTO `area` VALUES (511524, '长宁县', 511500);
INSERT INTO `area` VALUES (511525, '高县', 511500);
INSERT INTO `area` VALUES (511526, '珙县', 511500);
INSERT INTO `area` VALUES (511527, '筠连县', 511500);
INSERT INTO `area` VALUES (511528, '兴文县', 511500);
INSERT INTO `area` VALUES (511529, '屏山县', 511500);
INSERT INTO `area` VALUES (511602, '广安区', 511600);
INSERT INTO `area` VALUES (511603, '前锋区', 511600);
INSERT INTO `area` VALUES (511621, '岳池县', 511600);
INSERT INTO `area` VALUES (511622, '武胜县', 511600);
INSERT INTO `area` VALUES (511623, '邻水县', 511600);
INSERT INTO `area` VALUES (511681, '华蓥市', 511600);
INSERT INTO `area` VALUES (511702, '通川区', 511700);
INSERT INTO `area` VALUES (511703, '达川区', 511700);
INSERT INTO `area` VALUES (511722, '宣汉县', 511700);
INSERT INTO `area` VALUES (511723, '开江县', 511700);
INSERT INTO `area` VALUES (511724, '大竹县', 511700);
INSERT INTO `area` VALUES (511725, '渠县', 511700);
INSERT INTO `area` VALUES (511781, '万源市', 511700);
INSERT INTO `area` VALUES (511802, '雨城区', 511800);
INSERT INTO `area` VALUES (511803, '名山区', 511800);
INSERT INTO `area` VALUES (511822, '荥经县', 511800);
INSERT INTO `area` VALUES (511823, '汉源县', 511800);
INSERT INTO `area` VALUES (511824, '石棉县', 511800);
INSERT INTO `area` VALUES (511825, '天全县', 511800);
INSERT INTO `area` VALUES (511826, '芦山县', 511800);
INSERT INTO `area` VALUES (511827, '宝兴县', 511800);
INSERT INTO `area` VALUES (511902, '巴州区', 511900);
INSERT INTO `area` VALUES (511903, '恩阳区', 511900);
INSERT INTO `area` VALUES (511921, '通江县', 511900);
INSERT INTO `area` VALUES (511922, '南江县', 511900);
INSERT INTO `area` VALUES (511923, '平昌县', 511900);
INSERT INTO `area` VALUES (512002, '雁江区', 512000);
INSERT INTO `area` VALUES (512021, '安岳县', 512000);
INSERT INTO `area` VALUES (512022, '乐至县', 512000);
INSERT INTO `area` VALUES (513201, '马尔康市', 513200);
INSERT INTO `area` VALUES (513221, '汶川县', 513200);
INSERT INTO `area` VALUES (513222, '理县', 513200);
INSERT INTO `area` VALUES (513223, '茂县', 513200);
INSERT INTO `area` VALUES (513224, '松潘县', 513200);
INSERT INTO `area` VALUES (513225, '九寨沟县', 513200);
INSERT INTO `area` VALUES (513226, '金川县', 513200);
INSERT INTO `area` VALUES (513227, '小金县', 513200);
INSERT INTO `area` VALUES (513228, '黑水县', 513200);
INSERT INTO `area` VALUES (513230, '壤塘县', 513200);
INSERT INTO `area` VALUES (513231, '阿坝县', 513200);
INSERT INTO `area` VALUES (513232, '若尔盖县', 513200);
INSERT INTO `area` VALUES (513233, '红原县', 513200);
INSERT INTO `area` VALUES (513301, '康定市', 513300);
INSERT INTO `area` VALUES (513322, '泸定县', 513300);
INSERT INTO `area` VALUES (513323, '丹巴县', 513300);
INSERT INTO `area` VALUES (513324, '九龙县', 513300);
INSERT INTO `area` VALUES (513325, '雅江县', 513300);
INSERT INTO `area` VALUES (513326, '道孚县', 513300);
INSERT INTO `area` VALUES (513327, '炉霍县', 513300);
INSERT INTO `area` VALUES (513328, '甘孜县', 513300);
INSERT INTO `area` VALUES (513329, '新龙县', 513300);
INSERT INTO `area` VALUES (513330, '德格县', 513300);
INSERT INTO `area` VALUES (513331, '白玉县', 513300);
INSERT INTO `area` VALUES (513332, '石渠县', 513300);
INSERT INTO `area` VALUES (513333, '色达县', 513300);
INSERT INTO `area` VALUES (513334, '理塘县', 513300);
INSERT INTO `area` VALUES (513335, '巴塘县', 513300);
INSERT INTO `area` VALUES (513336, '乡城县', 513300);
INSERT INTO `area` VALUES (513337, '稻城县', 513300);
INSERT INTO `area` VALUES (513338, '得荣县', 513300);
INSERT INTO `area` VALUES (513401, '西昌市', 513400);
INSERT INTO `area` VALUES (513422, '木里藏族自治县', 513400);
INSERT INTO `area` VALUES (513423, '盐源县', 513400);
INSERT INTO `area` VALUES (513424, '德昌县', 513400);
INSERT INTO `area` VALUES (513425, '会理市', 513400);
INSERT INTO `area` VALUES (513426, '会东县', 513400);
INSERT INTO `area` VALUES (513427, '宁南县', 513400);
INSERT INTO `area` VALUES (513428, '普格县', 513400);
INSERT INTO `area` VALUES (513429, '布拖县', 513400);
INSERT INTO `area` VALUES (513430, '金阳县', 513400);
INSERT INTO `area` VALUES (513431, '昭觉县', 513400);
INSERT INTO `area` VALUES (513432, '喜德县', 513400);
INSERT INTO `area` VALUES (513433, '冕宁县', 513400);
INSERT INTO `area` VALUES (513434, '越西县', 513400);
INSERT INTO `area` VALUES (513435, '甘洛县', 513400);
INSERT INTO `area` VALUES (513436, '美姑县', 513400);
INSERT INTO `area` VALUES (513437, '雷波县', 513400);
INSERT INTO `area` VALUES (520102, '南明区', 520100);
INSERT INTO `area` VALUES (520103, '云岩区', 520100);
INSERT INTO `area` VALUES (520111, '花溪区', 520100);
INSERT INTO `area` VALUES (520112, '乌当区', 520100);
INSERT INTO `area` VALUES (520113, '白云区', 520100);
INSERT INTO `area` VALUES (520115, '观山湖区', 520100);
INSERT INTO `area` VALUES (520121, '开阳县', 520100);
INSERT INTO `area` VALUES (520122, '息烽县', 520100);
INSERT INTO `area` VALUES (520123, '修文县', 520100);
INSERT INTO `area` VALUES (520181, '清镇市', 520100);
INSERT INTO `area` VALUES (520201, '钟山区', 520200);
INSERT INTO `area` VALUES (520203, '六枝特区', 520200);
INSERT INTO `area` VALUES (520221, '水城区', 520200);
INSERT INTO `area` VALUES (520281, '盘州市', 520200);
INSERT INTO `area` VALUES (520302, '红花岗区', 520300);
INSERT INTO `area` VALUES (520303, '汇川区', 520300);
INSERT INTO `area` VALUES (520304, '播州区', 520300);
INSERT INTO `area` VALUES (520322, '桐梓县', 520300);
INSERT INTO `area` VALUES (520323, '绥阳县', 520300);
INSERT INTO `area` VALUES (520324, '正安县', 520300);
INSERT INTO `area` VALUES (520325, '道真仡佬族苗族自治县', 520300);
INSERT INTO `area` VALUES (520326, '务川仡佬族苗族自治县', 520300);
INSERT INTO `area` VALUES (520327, '凤冈县', 520300);
INSERT INTO `area` VALUES (520328, '湄潭县', 520300);
INSERT INTO `area` VALUES (520329, '余庆县', 520300);
INSERT INTO `area` VALUES (520330, '习水县', 520300);
INSERT INTO `area` VALUES (520381, '赤水市', 520300);
INSERT INTO `area` VALUES (520382, '仁怀市', 520300);
INSERT INTO `area` VALUES (520402, '西秀区', 520400);
INSERT INTO `area` VALUES (520403, '平坝区', 520400);
INSERT INTO `area` VALUES (520422, '普定县', 520400);
INSERT INTO `area` VALUES (520423, '镇宁布依族苗族自治县', 520400);
INSERT INTO `area` VALUES (520424, '关岭布依族苗族自治县', 520400);
INSERT INTO `area` VALUES (520425, '紫云苗族布依族自治县', 520400);
INSERT INTO `area` VALUES (520502, '七星关区', 520500);
INSERT INTO `area` VALUES (520521, '大方县', 520500);
INSERT INTO `area` VALUES (520522, '黔西市', 520500);
INSERT INTO `area` VALUES (520523, '金沙县', 520500);
INSERT INTO `area` VALUES (520524, '织金县', 520500);
INSERT INTO `area` VALUES (520525, '纳雍县', 520500);
INSERT INTO `area` VALUES (520526, '威宁彝族回族苗族自治县', 520500);
INSERT INTO `area` VALUES (520527, '赫章县', 520500);
INSERT INTO `area` VALUES (520602, '碧江区', 520600);
INSERT INTO `area` VALUES (520603, '万山区', 520600);
INSERT INTO `area` VALUES (520621, '江口县', 520600);
INSERT INTO `area` VALUES (520622, '玉屏侗族自治县', 520600);
INSERT INTO `area` VALUES (520623, '石阡县', 520600);
INSERT INTO `area` VALUES (520624, '思南县', 520600);
INSERT INTO `area` VALUES (520625, '印江土家族苗族自治县', 520600);
INSERT INTO `area` VALUES (520626, '德江县', 520600);
INSERT INTO `area` VALUES (520627, '沿河土家族自治县', 520600);
INSERT INTO `area` VALUES (520628, '松桃苗族自治县', 520600);
INSERT INTO `area` VALUES (522301, '兴义市', 522300);
INSERT INTO `area` VALUES (522302, '兴仁市', 522300);
INSERT INTO `area` VALUES (522323, '普安县', 522300);
INSERT INTO `area` VALUES (522324, '晴隆县', 522300);
INSERT INTO `area` VALUES (522325, '贞丰县', 522300);
INSERT INTO `area` VALUES (522326, '望谟县', 522300);
INSERT INTO `area` VALUES (522327, '册亨县', 522300);
INSERT INTO `area` VALUES (522328, '安龙县', 522300);
INSERT INTO `area` VALUES (522601, '凯里市', 522600);
INSERT INTO `area` VALUES (522622, '黄平县', 522600);
INSERT INTO `area` VALUES (522623, '施秉县', 522600);
INSERT INTO `area` VALUES (522624, '三穗县', 522600);
INSERT INTO `area` VALUES (522625, '镇远县', 522600);
INSERT INTO `area` VALUES (522626, '岑巩县', 522600);
INSERT INTO `area` VALUES (522627, '天柱县', 522600);
INSERT INTO `area` VALUES (522628, '锦屏县', 522600);
INSERT INTO `area` VALUES (522629, '剑河县', 522600);
INSERT INTO `area` VALUES (522630, '台江县', 522600);
INSERT INTO `area` VALUES (522631, '黎平县', 522600);
INSERT INTO `area` VALUES (522632, '榕江县', 522600);
INSERT INTO `area` VALUES (522633, '从江县', 522600);
INSERT INTO `area` VALUES (522634, '雷山县', 522600);
INSERT INTO `area` VALUES (522635, '麻江县', 522600);
INSERT INTO `area` VALUES (522636, '丹寨县', 522600);
INSERT INTO `area` VALUES (522701, '都匀市', 522700);
INSERT INTO `area` VALUES (522702, '福泉市', 522700);
INSERT INTO `area` VALUES (522722, '荔波县', 522700);
INSERT INTO `area` VALUES (522723, '贵定县', 522700);
INSERT INTO `area` VALUES (522725, '瓮安县', 522700);
INSERT INTO `area` VALUES (522726, '独山县', 522700);
INSERT INTO `area` VALUES (522727, '平塘县', 522700);
INSERT INTO `area` VALUES (522728, '罗甸县', 522700);
INSERT INTO `area` VALUES (522729, '长顺县', 522700);
INSERT INTO `area` VALUES (522730, '龙里县', 522700);
INSERT INTO `area` VALUES (522731, '惠水县', 522700);
INSERT INTO `area` VALUES (522732, '三都水族自治县', 522700);
INSERT INTO `area` VALUES (530102, '五华区', 530100);
INSERT INTO `area` VALUES (530103, '盘龙区', 530100);
INSERT INTO `area` VALUES (530111, '官渡区', 530100);
INSERT INTO `area` VALUES (530112, '西山区', 530100);
INSERT INTO `area` VALUES (530113, '东川区', 530100);
INSERT INTO `area` VALUES (530114, '呈贡区', 530100);
INSERT INTO `area` VALUES (530115, '晋宁区', 530100);
INSERT INTO `area` VALUES (530124, '富民县', 530100);
INSERT INTO `area` VALUES (530125, '宜良县', 530100);
INSERT INTO `area` VALUES (530126, '石林彝族自治县', 530100);
INSERT INTO `area` VALUES (530127, '嵩明县', 530100);
INSERT INTO `area` VALUES (530128, '禄劝彝族苗族自治县', 530100);
INSERT INTO `area` VALUES (530129, '寻甸回族彝族自治县', 530100);
INSERT INTO `area` VALUES (530181, '安宁市', 530100);
INSERT INTO `area` VALUES (530302, '麒麟区', 530300);
INSERT INTO `area` VALUES (530303, '沾益区', 530300);
INSERT INTO `area` VALUES (530304, '马龙区', 530300);
INSERT INTO `area` VALUES (530322, '陆良县', 530300);
INSERT INTO `area` VALUES (530323, '师宗县', 530300);
INSERT INTO `area` VALUES (530324, '罗平县', 530300);
INSERT INTO `area` VALUES (530325, '富源县', 530300);
INSERT INTO `area` VALUES (530326, '会泽县', 530300);
INSERT INTO `area` VALUES (530381, '宣威市', 530300);
INSERT INTO `area` VALUES (530402, '红塔区', 530400);
INSERT INTO `area` VALUES (530403, '江川区', 530400);
INSERT INTO `area` VALUES (530423, '通海县', 530400);
INSERT INTO `area` VALUES (530424, '华宁县', 530400);
INSERT INTO `area` VALUES (530425, '易门县', 530400);
INSERT INTO `area` VALUES (530426, '峨山彝族自治县', 530400);
INSERT INTO `area` VALUES (530427, '新平彝族傣族自治县', 530400);
INSERT INTO `area` VALUES (530428, '元江哈尼族彝族傣族自治县', 530400);
INSERT INTO `area` VALUES (530481, '澄江市', 530400);
INSERT INTO `area` VALUES (530502, '隆阳区', 530500);
INSERT INTO `area` VALUES (530521, '施甸县', 530500);
INSERT INTO `area` VALUES (530523, '龙陵县', 530500);
INSERT INTO `area` VALUES (530524, '昌宁县', 530500);
INSERT INTO `area` VALUES (530581, '腾冲市', 530500);
INSERT INTO `area` VALUES (530602, '昭阳区', 530600);
INSERT INTO `area` VALUES (530621, '鲁甸县', 530600);
INSERT INTO `area` VALUES (530622, '巧家县', 530600);
INSERT INTO `area` VALUES (530623, '盐津县', 530600);
INSERT INTO `area` VALUES (530624, '大关县', 530600);
INSERT INTO `area` VALUES (530625, '永善县', 530600);
INSERT INTO `area` VALUES (530626, '绥江县', 530600);
INSERT INTO `area` VALUES (530627, '镇雄县', 530600);
INSERT INTO `area` VALUES (530628, '彝良县', 530600);
INSERT INTO `area` VALUES (530629, '威信县', 530600);
INSERT INTO `area` VALUES (530681, '水富市', 530600);
INSERT INTO `area` VALUES (530702, '古城区', 530700);
INSERT INTO `area` VALUES (530721, '玉龙纳西族自治县', 530700);
INSERT INTO `area` VALUES (530722, '永胜县', 530700);
INSERT INTO `area` VALUES (530723, '华坪县', 530700);
INSERT INTO `area` VALUES (530724, '宁蒗彝族自治县', 530700);
INSERT INTO `area` VALUES (530802, '思茅区', 530800);
INSERT INTO `area` VALUES (530821, '宁洱哈尼族彝族自治县', 530800);
INSERT INTO `area` VALUES (530822, '墨江哈尼族自治县', 530800);
INSERT INTO `area` VALUES (530823, '景东彝族自治县', 530800);
INSERT INTO `area` VALUES (530824, '景谷傣族彝族自治县', 530800);
INSERT INTO `area` VALUES (530825, '镇沅彝族哈尼族拉祜族自治县', 530800);
INSERT INTO `area` VALUES (530826, '江城哈尼族彝族自治县', 530800);
INSERT INTO `area` VALUES (530827, '孟连傣族拉祜族佤族自治县', 530800);
INSERT INTO `area` VALUES (530828, '澜沧拉祜族自治县', 530800);
INSERT INTO `area` VALUES (530829, '西盟佤族自治县', 530800);
INSERT INTO `area` VALUES (530902, '临翔区', 530900);
INSERT INTO `area` VALUES (530921, '凤庆县', 530900);
INSERT INTO `area` VALUES (530922, '云县', 530900);
INSERT INTO `area` VALUES (530923, '永德县', 530900);
INSERT INTO `area` VALUES (530924, '镇康县', 530900);
INSERT INTO `area` VALUES (530925, '双江拉祜族佤族布朗族傣族自治县', 530900);
INSERT INTO `area` VALUES (530926, '耿马傣族佤族自治县', 530900);
INSERT INTO `area` VALUES (530927, '沧源佤族自治县', 530900);
INSERT INTO `area` VALUES (532301, '楚雄市', 532300);
INSERT INTO `area` VALUES (532322, '双柏县', 532300);
INSERT INTO `area` VALUES (532323, '牟定县', 532300);
INSERT INTO `area` VALUES (532324, '南华县', 532300);
INSERT INTO `area` VALUES (532325, '姚安县', 532300);
INSERT INTO `area` VALUES (532326, '大姚县', 532300);
INSERT INTO `area` VALUES (532327, '永仁县', 532300);
INSERT INTO `area` VALUES (532328, '元谋县', 532300);
INSERT INTO `area` VALUES (532329, '武定县', 532300);
INSERT INTO `area` VALUES (532331, '禄丰市', 532300);
INSERT INTO `area` VALUES (532501, '个旧市', 532500);
INSERT INTO `area` VALUES (532502, '开远市', 532500);
INSERT INTO `area` VALUES (532503, '蒙自市', 532500);
INSERT INTO `area` VALUES (532504, '弥勒市', 532500);
INSERT INTO `area` VALUES (532523, '屏边苗族自治县', 532500);
INSERT INTO `area` VALUES (532524, '建水县', 532500);
INSERT INTO `area` VALUES (532525, '石屏县', 532500);
INSERT INTO `area` VALUES (532527, '泸西县', 532500);
INSERT INTO `area` VALUES (532528, '元阳县', 532500);
INSERT INTO `area` VALUES (532529, '红河县', 532500);
INSERT INTO `area` VALUES (532530, '金平苗族瑶族傣族自治县', 532500);
INSERT INTO `area` VALUES (532531, '绿春县', 532500);
INSERT INTO `area` VALUES (532532, '河口瑶族自治县', 532500);
INSERT INTO `area` VALUES (532601, '文山市', 532600);
INSERT INTO `area` VALUES (532622, '砚山县', 532600);
INSERT INTO `area` VALUES (532623, '西畴县', 532600);
INSERT INTO `area` VALUES (532624, '麻栗坡县', 532600);
INSERT INTO `area` VALUES (532625, '马关县', 532600);
INSERT INTO `area` VALUES (532626, '丘北县', 532600);
INSERT INTO `area` VALUES (532627, '广南县', 532600);
INSERT INTO `area` VALUES (532628, '富宁县', 532600);
INSERT INTO `area` VALUES (532801, '景洪市', 532800);
INSERT INTO `area` VALUES (532822, '勐海县', 532800);
INSERT INTO `area` VALUES (532823, '勐腊县', 532800);
INSERT INTO `area` VALUES (532901, '大理市', 532900);
INSERT INTO `area` VALUES (532922, '漾濞彝族自治县', 532900);
INSERT INTO `area` VALUES (532923, '祥云县', 532900);
INSERT INTO `area` VALUES (532924, '宾川县', 532900);
INSERT INTO `area` VALUES (532925, '弥渡县', 532900);
INSERT INTO `area` VALUES (532926, '南涧彝族自治县', 532900);
INSERT INTO `area` VALUES (532927, '巍山彝族回族自治县', 532900);
INSERT INTO `area` VALUES (532928, '永平县', 532900);
INSERT INTO `area` VALUES (532929, '云龙县', 532900);
INSERT INTO `area` VALUES (532930, '洱源县', 532900);
INSERT INTO `area` VALUES (532931, '剑川县', 532900);
INSERT INTO `area` VALUES (532932, '鹤庆县', 532900);
INSERT INTO `area` VALUES (533102, '瑞丽市', 533100);
INSERT INTO `area` VALUES (533103, '芒市', 533100);
INSERT INTO `area` VALUES (533122, '梁河县', 533100);
INSERT INTO `area` VALUES (533123, '盈江县', 533100);
INSERT INTO `area` VALUES (533124, '陇川县', 533100);
INSERT INTO `area` VALUES (533323, '泸水市', 533300);
INSERT INTO `area` VALUES (533324, '福贡县', 533300);
INSERT INTO `area` VALUES (533325, '贡山独龙族怒族自治县', 533300);
INSERT INTO `area` VALUES (533326, '兰坪白族普米族自治县', 533300);
INSERT INTO `area` VALUES (533401, '香格里拉市', 533400);
INSERT INTO `area` VALUES (533422, '德钦县', 533400);
INSERT INTO `area` VALUES (533423, '维西傈僳族自治县', 533400);
INSERT INTO `area` VALUES (540102, '城关区', 540100);
INSERT INTO `area` VALUES (540103, '堆龙德庆区', 540100);
INSERT INTO `area` VALUES (540104, '达孜区', 540100);
INSERT INTO `area` VALUES (540121, '林周县', 540100);
INSERT INTO `area` VALUES (540122, '当雄县', 540100);
INSERT INTO `area` VALUES (540123, '尼木县', 540100);
INSERT INTO `area` VALUES (540124, '曲水县', 540100);
INSERT INTO `area` VALUES (540127, '墨竹工卡县', 540100);
INSERT INTO `area` VALUES (540202, '桑珠孜区', 540200);
INSERT INTO `area` VALUES (540221, '南木林县', 540200);
INSERT INTO `area` VALUES (540222, '江孜县', 540200);
INSERT INTO `area` VALUES (540223, '定日县', 540200);
INSERT INTO `area` VALUES (540224, '萨迦县', 540200);
INSERT INTO `area` VALUES (540225, '拉孜县', 540200);
INSERT INTO `area` VALUES (540226, '昂仁县', 540200);
INSERT INTO `area` VALUES (540227, '谢通门县', 540200);
INSERT INTO `area` VALUES (540228, '白朗县', 540200);
INSERT INTO `area` VALUES (540229, '仁布县', 540200);
INSERT INTO `area` VALUES (540230, '康马县', 540200);
INSERT INTO `area` VALUES (540231, '定结县', 540200);
INSERT INTO `area` VALUES (540232, '仲巴县', 540200);
INSERT INTO `area` VALUES (540233, '亚东县', 540200);
INSERT INTO `area` VALUES (540234, '吉隆县', 540200);
INSERT INTO `area` VALUES (540235, '聂拉木县', 540200);
INSERT INTO `area` VALUES (540236, '萨嘎县', 540200);
INSERT INTO `area` VALUES (540237, '岗巴县', 540200);
INSERT INTO `area` VALUES (540302, '卡若区', 540300);
INSERT INTO `area` VALUES (540321, '江达县', 540300);
INSERT INTO `area` VALUES (540322, '贡觉县', 540300);
INSERT INTO `area` VALUES (540323, '类乌齐县', 540300);
INSERT INTO `area` VALUES (540324, '丁青县', 540300);
INSERT INTO `area` VALUES (540325, '察雅县', 540300);
INSERT INTO `area` VALUES (540326, '八宿县', 540300);
INSERT INTO `area` VALUES (540327, '左贡县', 540300);
INSERT INTO `area` VALUES (540328, '芒康县', 540300);
INSERT INTO `area` VALUES (540329, '洛隆县', 540300);
INSERT INTO `area` VALUES (540330, '边坝县', 540300);
INSERT INTO `area` VALUES (540402, '巴宜区', 540400);
INSERT INTO `area` VALUES (540421, '工布江达县', 540400);
INSERT INTO `area` VALUES (540422, '米林县', 540400);
INSERT INTO `area` VALUES (540423, '墨脱县', 540400);
INSERT INTO `area` VALUES (540424, '波密县', 540400);
INSERT INTO `area` VALUES (540425, '察隅县', 540400);
INSERT INTO `area` VALUES (540426, '朗县', 540400);
INSERT INTO `area` VALUES (540502, '乃东区', 540500);
INSERT INTO `area` VALUES (540521, '扎囊县', 540500);
INSERT INTO `area` VALUES (540522, '贡嘎县', 540500);
INSERT INTO `area` VALUES (540523, '桑日县', 540500);
INSERT INTO `area` VALUES (540524, '琼结县', 540500);
INSERT INTO `area` VALUES (540525, '曲松县', 540500);
INSERT INTO `area` VALUES (540526, '措美县', 540500);
INSERT INTO `area` VALUES (540527, '洛扎县', 540500);
INSERT INTO `area` VALUES (540528, '加查县', 540500);
INSERT INTO `area` VALUES (540529, '隆子县', 540500);
INSERT INTO `area` VALUES (540530, '错那市', 540500);
INSERT INTO `area` VALUES (540531, '浪卡子县', 540500);
INSERT INTO `area` VALUES (540602, '色尼区', 540600);
INSERT INTO `area` VALUES (540621, '嘉黎县', 540600);
INSERT INTO `area` VALUES (540622, '比如县', 540600);
INSERT INTO `area` VALUES (540623, '聂荣县', 540600);
INSERT INTO `area` VALUES (540624, '安多县', 540600);
INSERT INTO `area` VALUES (540625, '申扎县', 540600);
INSERT INTO `area` VALUES (540626, '索县', 540600);
INSERT INTO `area` VALUES (540627, '班戈县', 540600);
INSERT INTO `area` VALUES (540628, '巴青县', 540600);
INSERT INTO `area` VALUES (540629, '尼玛县', 540600);
INSERT INTO `area` VALUES (540630, '双湖县', 540600);
INSERT INTO `area` VALUES (542521, '普兰县', 542500);
INSERT INTO `area` VALUES (542522, '札达县', 542500);
INSERT INTO `area` VALUES (542523, '噶尔县', 542500);
INSERT INTO `area` VALUES (542524, '日土县', 542500);
INSERT INTO `area` VALUES (542525, '革吉县', 542500);
INSERT INTO `area` VALUES (542526, '改则县', 542500);
INSERT INTO `area` VALUES (542527, '措勤县', 542500);
INSERT INTO `area` VALUES (610102, '新城区', 610100);
INSERT INTO `area` VALUES (610103, '碑林区', 610100);
INSERT INTO `area` VALUES (610104, '莲湖区', 610100);
INSERT INTO `area` VALUES (610111, '灞桥区', 610100);
INSERT INTO `area` VALUES (610112, '未央区', 610100);
INSERT INTO `area` VALUES (610113, '雁塔区', 610100);
INSERT INTO `area` VALUES (610114, '阎良区', 610100);
INSERT INTO `area` VALUES (610115, '临潼区', 610100);
INSERT INTO `area` VALUES (610116, '长安区', 610100);
INSERT INTO `area` VALUES (610117, '高陵区', 610100);
INSERT INTO `area` VALUES (610118, '鄠邑区', 610100);
INSERT INTO `area` VALUES (610122, '蓝田县', 610100);
INSERT INTO `area` VALUES (610124, '周至县', 610100);
INSERT INTO `area` VALUES (610202, '王益区', 610200);
INSERT INTO `area` VALUES (610203, '印台区', 610200);
INSERT INTO `area` VALUES (610204, '耀州区', 610200);
INSERT INTO `area` VALUES (610222, '宜君县', 610200);
INSERT INTO `area` VALUES (610302, '渭滨区', 610300);
INSERT INTO `area` VALUES (610303, '金台区', 610300);
INSERT INTO `area` VALUES (610304, '陈仓区', 610300);
INSERT INTO `area` VALUES (610322, '凤翔区', 610300);
INSERT INTO `area` VALUES (610323, '岐山县', 610300);
INSERT INTO `area` VALUES (610324, '扶风县', 610300);
INSERT INTO `area` VALUES (610326, '眉县', 610300);
INSERT INTO `area` VALUES (610327, '陇县', 610300);
INSERT INTO `area` VALUES (610328, '千阳县', 610300);
INSERT INTO `area` VALUES (610329, '麟游县', 610300);
INSERT INTO `area` VALUES (610330, '凤县', 610300);
INSERT INTO `area` VALUES (610331, '太白县', 610300);
INSERT INTO `area` VALUES (610402, '秦都区', 610400);
INSERT INTO `area` VALUES (610403, '杨陵区', 610400);
INSERT INTO `area` VALUES (610404, '渭城区', 610400);
INSERT INTO `area` VALUES (610422, '三原县', 610400);
INSERT INTO `area` VALUES (610423, '泾阳县', 610400);
INSERT INTO `area` VALUES (610424, '乾县', 610400);
INSERT INTO `area` VALUES (610425, '礼泉县', 610400);
INSERT INTO `area` VALUES (610426, '永寿县', 610400);
INSERT INTO `area` VALUES (610428, '长武县', 610400);
INSERT INTO `area` VALUES (610429, '旬邑县', 610400);
INSERT INTO `area` VALUES (610430, '淳化县', 610400);
INSERT INTO `area` VALUES (610431, '武功县', 610400);
INSERT INTO `area` VALUES (610481, '兴平市', 610400);
INSERT INTO `area` VALUES (610482, '彬州市', 610400);
INSERT INTO `area` VALUES (610502, '临渭区', 610500);
INSERT INTO `area` VALUES (610503, '华州区', 610500);
INSERT INTO `area` VALUES (610522, '潼关县', 610500);
INSERT INTO `area` VALUES (610523, '大荔县', 610500);
INSERT INTO `area` VALUES (610524, '合阳县', 610500);
INSERT INTO `area` VALUES (610525, '澄城县', 610500);
INSERT INTO `area` VALUES (610526, '蒲城县', 610500);
INSERT INTO `area` VALUES (610527, '白水县', 610500);
INSERT INTO `area` VALUES (610528, '富平县', 610500);
INSERT INTO `area` VALUES (610581, '韩城市', 610500);
INSERT INTO `area` VALUES (610582, '华阴市', 610500);
INSERT INTO `area` VALUES (610602, '宝塔区', 610600);
INSERT INTO `area` VALUES (610603, '安塞区', 610600);
INSERT INTO `area` VALUES (610621, '延长县', 610600);
INSERT INTO `area` VALUES (610622, '延川县', 610600);
INSERT INTO `area` VALUES (610623, '子长市', 610600);
INSERT INTO `area` VALUES (610625, '志丹县', 610600);
INSERT INTO `area` VALUES (610626, '吴起县', 610600);
INSERT INTO `area` VALUES (610627, '甘泉县', 610600);
INSERT INTO `area` VALUES (610628, '富县', 610600);
INSERT INTO `area` VALUES (610629, '洛川县', 610600);
INSERT INTO `area` VALUES (610630, '宜川县', 610600);
INSERT INTO `area` VALUES (610631, '黄龙县', 610600);
INSERT INTO `area` VALUES (610632, '黄陵县', 610600);
INSERT INTO `area` VALUES (610702, '汉台区', 610700);
INSERT INTO `area` VALUES (610703, '南郑区', 610700);
INSERT INTO `area` VALUES (610722, '城固县', 610700);
INSERT INTO `area` VALUES (610723, '洋县', 610700);
INSERT INTO `area` VALUES (610724, '西乡县', 610700);
INSERT INTO `area` VALUES (610725, '勉县', 610700);
INSERT INTO `area` VALUES (610726, '宁强县', 610700);
INSERT INTO `area` VALUES (610727, '略阳县', 610700);
INSERT INTO `area` VALUES (610728, '镇巴县', 610700);
INSERT INTO `area` VALUES (610729, '留坝县', 610700);
INSERT INTO `area` VALUES (610730, '佛坪县', 610700);
INSERT INTO `area` VALUES (610802, '榆阳区', 610800);
INSERT INTO `area` VALUES (610803, '横山区', 610800);
INSERT INTO `area` VALUES (610822, '府谷县', 610800);
INSERT INTO `area` VALUES (610824, '靖边县', 610800);
INSERT INTO `area` VALUES (610825, '定边县', 610800);
INSERT INTO `area` VALUES (610826, '绥德县', 610800);
INSERT INTO `area` VALUES (610827, '米脂县', 610800);
INSERT INTO `area` VALUES (610828, '佳县', 610800);
INSERT INTO `area` VALUES (610829, '吴堡县', 610800);
INSERT INTO `area` VALUES (610830, '清涧县', 610800);
INSERT INTO `area` VALUES (610831, '子洲县', 610800);
INSERT INTO `area` VALUES (610881, '神木市', 610800);
INSERT INTO `area` VALUES (610901, '汉滨区', 610900);
INSERT INTO `area` VALUES (610921, '汉阴县', 610900);
INSERT INTO `area` VALUES (610922, '石泉县', 610900);
INSERT INTO `area` VALUES (610923, '宁陕县', 610900);
INSERT INTO `area` VALUES (610924, '紫阳县', 610900);
INSERT INTO `area` VALUES (610925, '岚皋县', 610900);
INSERT INTO `area` VALUES (610926, '平利县', 610900);
INSERT INTO `area` VALUES (610927, '镇坪县', 610900);
INSERT INTO `area` VALUES (610928, '旬阳市', 610900);
INSERT INTO `area` VALUES (610929, '白河县', 610900);
INSERT INTO `area` VALUES (611002, '商州区', 611000);
INSERT INTO `area` VALUES (611021, '洛南县', 611000);
INSERT INTO `area` VALUES (611022, '丹凤县', 611000);
INSERT INTO `area` VALUES (611023, '商南县', 611000);
INSERT INTO `area` VALUES (611024, '山阳县', 611000);
INSERT INTO `area` VALUES (611025, '镇安县', 611000);
INSERT INTO `area` VALUES (611026, '柞水县', 611000);
INSERT INTO `area` VALUES (620102, '城关区', 620100);
INSERT INTO `area` VALUES (620103, '七里河区', 620100);
INSERT INTO `area` VALUES (620104, '西固区', 620100);
INSERT INTO `area` VALUES (620105, '安宁区', 620100);
INSERT INTO `area` VALUES (620111, '红古区', 620100);
INSERT INTO `area` VALUES (620121, '永登县', 620100);
INSERT INTO `area` VALUES (620122, '皋兰县', 620100);
INSERT INTO `area` VALUES (620123, '榆中县', 620100);
INSERT INTO `area` VALUES (620201, '嘉峪关市', 620200);
INSERT INTO `area` VALUES (620302, '金川区', 620300);
INSERT INTO `area` VALUES (620321, '永昌县', 620300);
INSERT INTO `area` VALUES (620402, '白银区', 620400);
INSERT INTO `area` VALUES (620403, '平川区', 620400);
INSERT INTO `area` VALUES (620421, '靖远县', 620400);
INSERT INTO `area` VALUES (620422, '会宁县', 620400);
INSERT INTO `area` VALUES (620423, '景泰县', 620400);
INSERT INTO `area` VALUES (620502, '秦州区', 620500);
INSERT INTO `area` VALUES (620503, '麦积区', 620500);
INSERT INTO `area` VALUES (620521, '清水县', 620500);
INSERT INTO `area` VALUES (620522, '秦安县', 620500);
INSERT INTO `area` VALUES (620523, '甘谷县', 620500);
INSERT INTO `area` VALUES (620524, '武山县', 620500);
INSERT INTO `area` VALUES (620525, '张家川回族自治县', 620500);
INSERT INTO `area` VALUES (620602, '凉州区', 620600);
INSERT INTO `area` VALUES (620621, '民勤县', 620600);
INSERT INTO `area` VALUES (620622, '古浪县', 620600);
INSERT INTO `area` VALUES (620623, '天祝藏族自治县', 620600);
INSERT INTO `area` VALUES (620702, '甘州区', 620700);
INSERT INTO `area` VALUES (620721, '肃南裕固族自治县', 620700);
INSERT INTO `area` VALUES (620722, '民乐县', 620700);
INSERT INTO `area` VALUES (620723, '临泽县', 620700);
INSERT INTO `area` VALUES (620724, '高台县', 620700);
INSERT INTO `area` VALUES (620725, '山丹县', 620700);
INSERT INTO `area` VALUES (620802, '崆峒区', 620800);
INSERT INTO `area` VALUES (620821, '泾川县', 620800);
INSERT INTO `area` VALUES (620822, '灵台县', 620800);
INSERT INTO `area` VALUES (620823, '崇信县', 620800);
INSERT INTO `area` VALUES (620825, '庄浪县', 620800);
INSERT INTO `area` VALUES (620826, '静宁县', 620800);
INSERT INTO `area` VALUES (620881, '华亭市', 620800);
INSERT INTO `area` VALUES (620902, '肃州区', 620900);
INSERT INTO `area` VALUES (620921, '金塔县', 620900);
INSERT INTO `area` VALUES (620922, '瓜州县', 620900);
INSERT INTO `area` VALUES (620923, '肃北蒙古族自治县', 620900);
INSERT INTO `area` VALUES (620924, '阿克塞哈萨克族自治县', 620900);
INSERT INTO `area` VALUES (620981, '玉门市', 620900);
INSERT INTO `area` VALUES (620982, '敦煌市', 620900);
INSERT INTO `area` VALUES (621002, '西峰区', 621000);
INSERT INTO `area` VALUES (621021, '庆城县', 621000);
INSERT INTO `area` VALUES (621022, '环县', 621000);
INSERT INTO `area` VALUES (621023, '华池县', 621000);
INSERT INTO `area` VALUES (621024, '合水县', 621000);
INSERT INTO `area` VALUES (621025, '正宁县', 621000);
INSERT INTO `area` VALUES (621026, '宁县', 621000);
INSERT INTO `area` VALUES (621027, '镇原县', 621000);
INSERT INTO `area` VALUES (621102, '安定区', 621100);
INSERT INTO `area` VALUES (621121, '通渭县', 621100);
INSERT INTO `area` VALUES (621122, '陇西县', 621100);
INSERT INTO `area` VALUES (621123, '渭源县', 621100);
INSERT INTO `area` VALUES (621124, '临洮县', 621100);
INSERT INTO `area` VALUES (621125, '漳县', 621100);
INSERT INTO `area` VALUES (621126, '岷县', 621100);
INSERT INTO `area` VALUES (621202, '武都区', 621200);
INSERT INTO `area` VALUES (621221, '成县', 621200);
INSERT INTO `area` VALUES (621222, '文县', 621200);
INSERT INTO `area` VALUES (621223, '宕昌县', 621200);
INSERT INTO `area` VALUES (621224, '康县', 621200);
INSERT INTO `area` VALUES (621225, '西和县', 621200);
INSERT INTO `area` VALUES (621226, '礼县', 621200);
INSERT INTO `area` VALUES (621227, '徽县', 621200);
INSERT INTO `area` VALUES (621228, '两当县', 621200);
INSERT INTO `area` VALUES (622901, '临夏市', 622900);
INSERT INTO `area` VALUES (622921, '临夏县', 622900);
INSERT INTO `area` VALUES (622922, '康乐县', 622900);
INSERT INTO `area` VALUES (622923, '永靖县', 622900);
INSERT INTO `area` VALUES (622924, '广河县', 622900);
INSERT INTO `area` VALUES (622925, '和政县', 622900);
INSERT INTO `area` VALUES (622926, '东乡族自治县', 622900);
INSERT INTO `area` VALUES (622927, '积石山保安族东乡族撒拉族自治县', 622900);
INSERT INTO `area` VALUES (623001, '合作市', 623000);
INSERT INTO `area` VALUES (623021, '临潭县', 623000);
INSERT INTO `area` VALUES (623022, '卓尼县', 623000);
INSERT INTO `area` VALUES (623023, '舟曲县', 623000);
INSERT INTO `area` VALUES (623024, '迭部县', 623000);
INSERT INTO `area` VALUES (623025, '玛曲县', 623000);
INSERT INTO `area` VALUES (623026, '碌曲县', 623000);
INSERT INTO `area` VALUES (623027, '夏河县', 623000);
INSERT INTO `area` VALUES (630102, '城东区', 630100);
INSERT INTO `area` VALUES (630103, '城中区', 630100);
INSERT INTO `area` VALUES (630104, '城西区', 630100);
INSERT INTO `area` VALUES (630105, '城北区', 630100);
INSERT INTO `area` VALUES (630106, '湟中区', 630100);
INSERT INTO `area` VALUES (630121, '大通回族土族自治县', 630100);
INSERT INTO `area` VALUES (630123, '湟源县', 630100);
INSERT INTO `area` VALUES (630202, '乐都区', 630200);
INSERT INTO `area` VALUES (630203, '平安区', 630200);
INSERT INTO `area` VALUES (630222, '民和回族土族自治县', 630200);
INSERT INTO `area` VALUES (630223, '互助土族自治县', 630200);
INSERT INTO `area` VALUES (630224, '化隆回族自治县', 630200);
INSERT INTO `area` VALUES (630225, '循化撒拉族自治县', 630200);
INSERT INTO `area` VALUES (632221, '门源回族自治县', 632200);
INSERT INTO `area` VALUES (632222, '祁连县', 632200);
INSERT INTO `area` VALUES (632223, '海晏县', 632200);
INSERT INTO `area` VALUES (632224, '刚察县', 632200);
INSERT INTO `area` VALUES (632321, '同仁市', 632300);
INSERT INTO `area` VALUES (632322, '尖扎县', 632300);
INSERT INTO `area` VALUES (632323, '泽库县', 632300);
INSERT INTO `area` VALUES (632324, '河南蒙古族自治县', 632300);
INSERT INTO `area` VALUES (632521, '共和县', 632500);
INSERT INTO `area` VALUES (632522, '同德县', 632500);
INSERT INTO `area` VALUES (632523, '贵德县', 632500);
INSERT INTO `area` VALUES (632524, '兴海县', 632500);
INSERT INTO `area` VALUES (632525, '贵南县', 632500);
INSERT INTO `area` VALUES (632621, '玛沁县', 632600);
INSERT INTO `area` VALUES (632622, '班玛县', 632600);
INSERT INTO `area` VALUES (632623, '甘德县', 632600);
INSERT INTO `area` VALUES (632624, '达日县', 632600);
INSERT INTO `area` VALUES (632625, '久治县', 632600);
INSERT INTO `area` VALUES (632626, '玛多县', 632600);
INSERT INTO `area` VALUES (632701, '玉树市', 632700);
INSERT INTO `area` VALUES (632722, '杂多县', 632700);
INSERT INTO `area` VALUES (632723, '称多县', 632700);
INSERT INTO `area` VALUES (632724, '治多县', 632700);
INSERT INTO `area` VALUES (632725, '囊谦县', 632700);
INSERT INTO `area` VALUES (632726, '曲麻莱县', 632700);
INSERT INTO `area` VALUES (632801, '格尔木市', 632800);
INSERT INTO `area` VALUES (632802, '德令哈市', 632800);
INSERT INTO `area` VALUES (632803, '茫崖市', 632800);
INSERT INTO `area` VALUES (632821, '乌兰县', 632800);
INSERT INTO `area` VALUES (632822, '都兰县', 632800);
INSERT INTO `area` VALUES (632823, '天峻县', 632800);
INSERT INTO `area` VALUES (640104, '兴庆区', 640100);
INSERT INTO `area` VALUES (640105, '西夏区', 640100);
INSERT INTO `area` VALUES (640106, '金凤区', 640100);
INSERT INTO `area` VALUES (640121, '永宁县', 640100);
INSERT INTO `area` VALUES (640122, '贺兰县', 640100);
INSERT INTO `area` VALUES (640181, '灵武市', 640100);
INSERT INTO `area` VALUES (640202, '大武口区', 640200);
INSERT INTO `area` VALUES (640205, '惠农区', 640200);
INSERT INTO `area` VALUES (640221, '平罗县', 640200);
INSERT INTO `area` VALUES (640302, '利通区', 640300);
INSERT INTO `area` VALUES (640303, '红寺堡区', 640300);
INSERT INTO `area` VALUES (640323, '盐池县', 640300);
INSERT INTO `area` VALUES (640324, '同心县', 640300);
INSERT INTO `area` VALUES (640381, '青铜峡市', 640300);
INSERT INTO `area` VALUES (640402, '原州区', 640400);
INSERT INTO `area` VALUES (640422, '西吉县', 640400);
INSERT INTO `area` VALUES (640423, '隆德县', 640400);
INSERT INTO `area` VALUES (640424, '泾源县', 640400);
INSERT INTO `area` VALUES (640425, '彭阳县', 640400);
INSERT INTO `area` VALUES (640502, '沙坡头区', 640500);
INSERT INTO `area` VALUES (640521, '中宁县', 640500);
INSERT INTO `area` VALUES (640522, '海原县', 640500);
INSERT INTO `area` VALUES (650102, '天山区', 650100);
INSERT INTO `area` VALUES (650103, '沙依巴克区', 650100);
INSERT INTO `area` VALUES (650104, '新市区', 650100);
INSERT INTO `area` VALUES (650105, '水磨沟区', 650100);
INSERT INTO `area` VALUES (650106, '头屯河区', 650100);
INSERT INTO `area` VALUES (650107, '达坂城区', 650100);
INSERT INTO `area` VALUES (650109, '米东区', 650100);
INSERT INTO `area` VALUES (650121, '乌鲁木齐县', 650100);
INSERT INTO `area` VALUES (650202, '独山子区', 650200);
INSERT INTO `area` VALUES (650203, '克拉玛依区', 650200);
INSERT INTO `area` VALUES (650204, '白碱滩区', 650200);
INSERT INTO `area` VALUES (650205, '乌尔禾区', 650200);
INSERT INTO `area` VALUES (650402, '高昌区', 650400);
INSERT INTO `area` VALUES (650421, '鄯善县', 650400);
INSERT INTO `area` VALUES (650422, '托克逊县', 650400);
INSERT INTO `area` VALUES (650502, '伊州区', 650500);
INSERT INTO `area` VALUES (650521, '巴里坤哈萨克自治县', 650500);
INSERT INTO `area` VALUES (650522, '伊吾县', 650500);
INSERT INTO `area` VALUES (652301, '昌吉市', 652300);
INSERT INTO `area` VALUES (652302, '阜康市', 652300);
INSERT INTO `area` VALUES (652323, '呼图壁县', 652300);
INSERT INTO `area` VALUES (652324, '玛纳斯县', 652300);
INSERT INTO `area` VALUES (652325, '奇台县', 652300);
INSERT INTO `area` VALUES (652327, '吉木萨尔县', 652300);
INSERT INTO `area` VALUES (652328, '木垒哈萨克自治县', 652300);
INSERT INTO `area` VALUES (652701, '博乐市', 652700);
INSERT INTO `area` VALUES (652702, '阿拉山口市', 652700);
INSERT INTO `area` VALUES (652722, '精河县', 652700);
INSERT INTO `area` VALUES (652723, '温泉县', 652700);
INSERT INTO `area` VALUES (652801, '库尔勒市', 652800);
INSERT INTO `area` VALUES (652822, '轮台县', 652800);
INSERT INTO `area` VALUES (652823, '尉犁县', 652800);
INSERT INTO `area` VALUES (652824, '若羌县', 652800);
INSERT INTO `area` VALUES (652825, '且末县', 652800);
INSERT INTO `area` VALUES (652826, '焉耆回族自治县', 652800);
INSERT INTO `area` VALUES (652827, '和静县', 652800);
INSERT INTO `area` VALUES (652828, '和硕县', 652800);
INSERT INTO `area` VALUES (652829, '博湖县', 652800);
INSERT INTO `area` VALUES (652901, '阿克苏市', 652900);
INSERT INTO `area` VALUES (652922, '温宿县', 652900);
INSERT INTO `area` VALUES (652923, '库车市', 652900);
INSERT INTO `area` VALUES (652924, '沙雅县', 652900);
INSERT INTO `area` VALUES (652925, '新和县', 652900);
INSERT INTO `area` VALUES (652926, '拜城县', 652900);
INSERT INTO `area` VALUES (652927, '乌什县', 652900);
INSERT INTO `area` VALUES (652928, '阿瓦提县', 652900);
INSERT INTO `area` VALUES (652929, '柯坪县', 652900);
INSERT INTO `area` VALUES (653001, '阿图什市', 653000);
INSERT INTO `area` VALUES (653022, '阿克陶县', 653000);
INSERT INTO `area` VALUES (653023, '阿合奇县', 653000);
INSERT INTO `area` VALUES (653024, '乌恰县', 653000);
INSERT INTO `area` VALUES (653101, '喀什市', 653100);
INSERT INTO `area` VALUES (653121, '疏附县', 653100);
INSERT INTO `area` VALUES (653122, '疏勒县', 653100);
INSERT INTO `area` VALUES (653123, '英吉沙县', 653100);
INSERT INTO `area` VALUES (653124, '泽普县', 653100);
INSERT INTO `area` VALUES (653125, '莎车县', 653100);
INSERT INTO `area` VALUES (653126, '叶城县', 653100);
INSERT INTO `area` VALUES (653127, '麦盖提县', 653100);
INSERT INTO `area` VALUES (653128, '岳普湖县', 653100);
INSERT INTO `area` VALUES (653129, '伽师县', 653100);
INSERT INTO `area` VALUES (653130, '巴楚县', 653100);
INSERT INTO `area` VALUES (653131, '塔什库尔干塔吉克自治县', 653100);
INSERT INTO `area` VALUES (653201, '和田市', 653200);
INSERT INTO `area` VALUES (653221, '和田县', 653200);
INSERT INTO `area` VALUES (653222, '墨玉县', 653200);
INSERT INTO `area` VALUES (653223, '皮山县', 653200);
INSERT INTO `area` VALUES (653224, '洛浦县', 653200);
INSERT INTO `area` VALUES (653225, '策勒县', 653200);
INSERT INTO `area` VALUES (653226, '于田县', 653200);
INSERT INTO `area` VALUES (653227, '民丰县', 653200);
INSERT INTO `area` VALUES (654002, '伊宁市', 654000);
INSERT INTO `area` VALUES (654003, '奎屯市', 654000);
INSERT INTO `area` VALUES (654004, '霍尔果斯市', 654000);
INSERT INTO `area` VALUES (654021, '伊宁县', 654000);
INSERT INTO `area` VALUES (654022, '察布查尔锡伯自治县', 654000);
INSERT INTO `area` VALUES (654023, '霍城县', 654000);
INSERT INTO `area` VALUES (654024, '巩留县', 654000);
INSERT INTO `area` VALUES (654025, '新源县', 654000);
INSERT INTO `area` VALUES (654026, '昭苏县', 654000);
INSERT INTO `area` VALUES (654027, '特克斯县', 654000);
INSERT INTO `area` VALUES (654028, '尼勒克县', 654000);
INSERT INTO `area` VALUES (654201, '塔城市', 654200);
INSERT INTO `area` VALUES (654202, '乌苏市', 654200);
INSERT INTO `area` VALUES (654221, '额敏县', 654200);
INSERT INTO `area` VALUES (654223, '沙湾市', 654200);
INSERT INTO `area` VALUES (654224, '托里县', 654200);
INSERT INTO `area` VALUES (654225, '裕民县', 654200);
INSERT INTO `area` VALUES (654226, '和布克赛尔蒙古自治县', 654200);
INSERT INTO `area` VALUES (654301, '阿勒泰市', 654300);
INSERT INTO `area` VALUES (654321, '布尔津县', 654300);
INSERT INTO `area` VALUES (654322, '富蕴县', 654300);
INSERT INTO `area` VALUES (654323, '福海县', 654300);
INSERT INTO `area` VALUES (654324, '哈巴河县', 654300);
INSERT INTO `area` VALUES (654325, '青河县', 654300);
INSERT INTO `area` VALUES (654326, '吉木乃县', 654300);
INSERT INTO `area` VALUES (659001, '石河子市', 659000);
INSERT INTO `area` VALUES (659002, '阿拉尔市', 659000);
INSERT INTO `area` VALUES (659003, '图木舒克市', 659000);
INSERT INTO `area` VALUES (659004, '五家渠市', 659000);
INSERT INTO `area` VALUES (659005, '北屯市', 659000);
INSERT INTO `area` VALUES (659006, '铁门关市', 659000);
INSERT INTO `area` VALUES (659007, '双河市', 659000);
INSERT INTO `area` VALUES (659008, '可克达拉市', 659000);
INSERT INTO `area` VALUES (659009, '昆玉市', 659000);
INSERT INTO `area` VALUES (659010, '胡杨河市', 659000);
INSERT INTO `area` VALUES (659011, '新星市', 659000);
INSERT INTO `area` VALUES (710101, '台北市', 710100);
INSERT INTO `area` VALUES (710102, '新北市', 710100);
INSERT INTO `area` VALUES (710103, '桃园市', 710100);
INSERT INTO `area` VALUES (710104, '台中市', 710100);
INSERT INTO `area` VALUES (710105, '台南市', 710100);
INSERT INTO `area` VALUES (710106, '高雄市', 710100);
INSERT INTO `area` VALUES (710107, '基隆市', 710100);
INSERT INTO `area` VALUES (710108, '新竹市', 710100);
INSERT INTO `area` VALUES (710109, '嘉义市', 710100);
INSERT INTO `area` VALUES (710110, '新竹县', 710100);
INSERT INTO `area` VALUES (710111, '苗栗县', 710100);
INSERT INTO `area` VALUES (710112, '彰化县', 710100);
INSERT INTO `area` VALUES (710113, '南投县', 710100);
INSERT INTO `area` VALUES (710114, '云林县', 710100);
INSERT INTO `area` VALUES (710115, '嘉义县', 710100);
INSERT INTO `area` VALUES (710116, '屏东县', 710100);
INSERT INTO `area` VALUES (710117, '宜兰县', 710100);
INSERT INTO `area` VALUES (710118, '花莲县', 710100);
INSERT INTO `area` VALUES (710119, '台东县', 710100);
INSERT INTO `area` VALUES (710120, '澎湖县', 710100);
INSERT INTO `area` VALUES (710121, '金门县', 710100);
INSERT INTO `area` VALUES (710122, '连江县', 710100);
INSERT INTO `area` VALUES (810101, '中西区', 810100);
INSERT INTO `area` VALUES (810102, '湾仔区', 810100);
INSERT INTO `area` VALUES (810103, '东区', 810100);
INSERT INTO `area` VALUES (810104, '南区', 810100);
INSERT INTO `area` VALUES (810105, '油尖旺区', 810100);
INSERT INTO `area` VALUES (810106, '深水埗区', 810100);
INSERT INTO `area` VALUES (810107, '九龙城区', 810100);
INSERT INTO `area` VALUES (810108, '黄大仙区', 810100);
INSERT INTO `area` VALUES (810109, '观塘区', 810100);
INSERT INTO `area` VALUES (810110, '北区', 810100);
INSERT INTO `area` VALUES (810111, '大埔区', 810100);
INSERT INTO `area` VALUES (810112, '沙田区', 810100);
INSERT INTO `area` VALUES (810113, '西贡区', 810100);
INSERT INTO `area` VALUES (810114, '荃湾区', 810100);
INSERT INTO `area` VALUES (810115, '屯门区', 810100);
INSERT INTO `area` VALUES (810116, '元朗区', 810100);
INSERT INTO `area` VALUES (810117, '葵青区', 810100);
INSERT INTO `area` VALUES (810118, '离岛区', 810100);
INSERT INTO `area` VALUES (820101, '花地玛堂区', 820100);
INSERT INTO `area` VALUES (820102, '花王堂区', 820100);
INSERT INTO `area` VALUES (820103, '望德堂区', 820100);
INSERT INTO `area` VALUES (820104, '大堂区', 820100);
INSERT INTO `area` VALUES (820105, '风顺堂区', 820100);
INSERT INTO `area` VALUES (820106, '嘉模堂区', 820100);
INSERT INTO `area` VALUES (820107, '圣方济各堂区', 820100);
INSERT INTO `area` VALUES (820108, '路氹城', 820100);

-- ----------------------------
-- Table structure for blacklist
-- ----------------------------
DROP TABLE IF EXISTS `blacklist`;
CREATE TABLE `blacklist`  (
  `id` bigint NOT NULL AUTO_INCREMENT COMMENT '黑名单记录ID',
  `user_id` bigint NOT NULL COMMENT '用户ID（拉黑者）',
  `blocked_user_id` bigint NOT NULL COMMENT '被拉黑的用户ID',
  `reason` varchar(200) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '拉黑原因',
  `created_at` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
  `updated_at` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '更新时间',
  PRIMARY KEY (`id`) USING BTREE,
  UNIQUE INDEX `uk_user_blocked`(`user_id` ASC, `blocked_user_id` ASC) USING BTREE COMMENT '唯一索引：同一用户不能重复拉黑同一人'
) ENGINE = InnoDB AUTO_INCREMENT = 5 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_0900_ai_ci ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of blacklist
-- ----------------------------
INSERT INTO `blacklist` VALUES (2, 1, 3, '不当言论', '2025-10-15 18:58:57', '2025-10-15 18:58:57');
INSERT INTO `blacklist` VALUES (3, 1, 4, '恶意评论', '2025-10-15 18:58:57', '2025-10-15 19:22:53');
INSERT INTO `blacklist` VALUES (4, 3, 1, '不想看到TA', '2025-10-15 18:58:57', '2025-10-15 18:58:57');

-- ----------------------------
-- Table structure for case_image
-- ----------------------------
DROP TABLE IF EXISTS `case_image`;
CREATE TABLE `case_image`  (
  `image_id` int UNSIGNED NOT NULL AUTO_INCREMENT COMMENT '图片ID',
  `case_id` int UNSIGNED NOT NULL COMMENT '案例ID',
  `timeline_id` int UNSIGNED NULL DEFAULT NULL COMMENT '时间线ID，为空表示图片属于整个案例',
  `image_url` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL COMMENT '图片URL',
  `image_desc` varchar(200) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '图片描述',
  `sort_order` int NOT NULL DEFAULT 0 COMMENT '图片排序',
  PRIMARY KEY (`image_id`) USING BTREE,
  INDEX `case_id`(`case_id` ASC) USING BTREE,
  INDEX `timeline_id`(`timeline_id` ASC) USING BTREE,
  CONSTRAINT `case_image_ibfk_1` FOREIGN KEY (`case_id`) REFERENCES `success_case` (`case_id`) ON DELETE CASCADE ON UPDATE RESTRICT,
  CONSTRAINT `case_image_ibfk_2` FOREIGN KEY (`timeline_id`) REFERENCES `case_timeline` (`timeline_id`) ON DELETE SET NULL ON UPDATE RESTRICT
) ENGINE = InnoDB AUTO_INCREMENT = 44 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_0900_ai_ci COMMENT = '案例图片表' ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of case_image
-- ----------------------------
INSERT INTO `case_image` VALUES (1, 1, NULL, 'http://115.190.125.125:9000/banners/4.jpg', '幸福时刻', 1);
INSERT INTO `case_image` VALUES (2, 1, NULL, 'http://115.190.125.125:9000/banners/5.jpg', '婚礼现场', 2);
INSERT INTO `case_image` VALUES (3, 1, NULL, 'http://115.190.125.125:9000/banners/6.jpg', '甜蜜合影', 3);
INSERT INTO `case_image` VALUES (4, 1, 1, 'http://115.190.125.125:9000/banners/4.jpg', '平台注册页面截图', 1);
INSERT INTO `case_image` VALUES (5, 1, 2, 'http://115.190.125.125:9000/banners/5.jpg', '红娘推荐聊天记录', 1);
INSERT INTO `case_image` VALUES (6, 1, 3, 'http://115.190.125.125:9000/banners/6.jpg', '咖啡厅初次见面照片', 1);
INSERT INTO `case_image` VALUES (7, 1, 4, 'http://115.190.125.125:9000/banners/7.jpg', '电影院约会合影', 1);
INSERT INTO `case_image` VALUES (8, 1, 5, 'http://115.190.125.125:9000/banners/4.jpg', '确定关系的浪漫时刻', 1);
INSERT INTO `case_image` VALUES (9, 1, 6, 'http://115.190.125.125:9000/banners/5.jpg', '见家长合照', 1);
INSERT INTO `case_image` VALUES (10, 1, 7, 'http://115.190.125.125:9000/banners/6.jpg', '订婚仪式现场', 1);
INSERT INTO `case_image` VALUES (11, 1, 8, 'http://115.190.125.125:9000/banners/7.jpg', '领证幸福瞬间', 1);
INSERT INTO `case_image` VALUES (12, 2, NULL, 'http://115.190.125.125:9000/banners/7.jpg', '婚纱照', 1);
INSERT INTO `case_image` VALUES (13, 2, NULL, 'http://115.190.125.125:9000/banners/4.jpg', '订婚仪式', 2);
INSERT INTO `case_image` VALUES (14, 2, 9, 'http://115.190.125.125:9000/banners/4.jpg', '注册成功', 1);
INSERT INTO `case_image` VALUES (15, 2, 10, 'http://115.190.125.125:9000/banners/5.jpg', '红娘老师介绍', 1);
INSERT INTO `case_image` VALUES (16, 2, 11, 'http://115.190.125.125:9000/banners/6.jpg', '西餐厅约会', 1);
INSERT INTO `case_image` VALUES (17, 2, 12, 'http://115.190.125.125:9000/banners/7.jpg', '甜蜜告白', 1);
INSERT INTO `case_image` VALUES (18, 2, 13, 'http://115.190.125.125:9000/banners/4.jpg', '家长见面', 1);
INSERT INTO `case_image` VALUES (19, 2, 14, 'http://115.190.125.125:9000/banners/5.jpg', '领证合照', 1);
INSERT INTO `case_image` VALUES (20, 3, NULL, 'http://115.190.125.125:9000/banners/5.jpg', '领证照片', 1);
INSERT INTO `case_image` VALUES (21, 3, NULL, 'http://115.190.125.125:9000/banners/6.jpg', '结婚纪念', 2);
INSERT INTO `case_image` VALUES (22, 3, 15, 'http://115.190.125.125:9000/banners/6.jpg', '平台相识', 1);
INSERT INTO `case_image` VALUES (23, 3, 16, 'http://115.190.125.125:9000/banners/7.jpg', '咖啡厅见面', 1);
INSERT INTO `case_image` VALUES (24, 3, 17, 'http://115.190.125.125:9000/banners/4.jpg', '爬山合影', 1);
INSERT INTO `case_image` VALUES (25, 3, 18, 'http://115.190.125.125:9000/banners/5.jpg', '确定关系', 1);
INSERT INTO `case_image` VALUES (26, 3, 19, 'http://115.190.125.125:9000/banners/6.jpg', '订婚现场', 1);
INSERT INTO `case_image` VALUES (27, 3, 20, 'http://115.190.125.125:9000/banners/7.jpg', '情人节领证', 1);
INSERT INTO `case_image` VALUES (28, 4, NULL, 'http://115.190.125.125:9000/banners/7.jpg', '幸福时光', 1);
INSERT INTO `case_image` VALUES (29, 4, NULL, 'http://115.190.125.125:9000/banners/4.jpg', '相爱瞬间', 2);
INSERT INTO `case_image` VALUES (30, 4, 21, 'http://115.190.125.125:9000/banners/4.jpg', '注册页面', 1);
INSERT INTO `case_image` VALUES (31, 4, 22, 'http://115.190.125.125:9000/banners/5.jpg', '红娘推荐', 1);
INSERT INTO `case_image` VALUES (32, 4, 23, 'http://115.190.125.125:9000/banners/6.jpg', '公园约会', 1);
INSERT INTO `case_image` VALUES (33, 4, 24, 'http://115.190.125.125:9000/banners/7.jpg', '新年告白', 1);
INSERT INTO `case_image` VALUES (34, 4, 25, 'http://115.190.125.125:9000/banners/4.jpg', '见家长', 1);
INSERT INTO `case_image` VALUES (35, 4, 26, 'http://115.190.125.125:9000/banners/5.jpg', '领证照', 1);
INSERT INTO `case_image` VALUES (36, 5, NULL, 'http://115.190.125.125:9000/banners/5.jpg', '婚礼现场', 1);
INSERT INTO `case_image` VALUES (37, 5, NULL, 'http://115.190.125.125:9000/banners/6.jpg', '美好时刻', 2);
INSERT INTO `case_image` VALUES (38, 5, 27, 'http://115.190.125.125:9000/banners/6.jpg', '注册成功', 1);
INSERT INTO `case_image` VALUES (39, 5, 28, 'http://115.190.125.125:9000/banners/7.jpg', '初次见面', 1);
INSERT INTO `case_image` VALUES (40, 5, 29, 'http://115.190.125.125:9000/banners/4.jpg', '电影院约会', 1);
INSERT INTO `case_image` VALUES (41, 5, 30, 'http://115.190.125.125:9000/banners/5.jpg', '确定关系', 1);
INSERT INTO `case_image` VALUES (42, 5, 31, 'http://115.190.125.125:9000/banners/6.jpg', '订婚仪式', 1);
INSERT INTO `case_image` VALUES (43, 5, 32, 'http://115.190.125.125:9000/banners/7.jpg', '领证幸福', 1);

-- ----------------------------
-- Table structure for case_timeline
-- ----------------------------
DROP TABLE IF EXISTS `case_timeline`;
CREATE TABLE `case_timeline`  (
  `timeline_id` int UNSIGNED NOT NULL AUTO_INCREMENT COMMENT '时间线ID',
  `case_id` bigint UNSIGNED NOT NULL COMMENT '案例ID',
  `timeline_date` date NOT NULL COMMENT '时间节点日期',
  `timeline_title` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL COMMENT '时间线标题',
  `timeline_desc` text CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL COMMENT '时间线描述',
  `sort_order` int NOT NULL DEFAULT 0 COMMENT '排序（值小的在前）',
  PRIMARY KEY (`timeline_id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 33 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_0900_ai_ci COMMENT = '案例时间线' ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of case_timeline
-- ----------------------------
INSERT INTO `case_timeline` VALUES (1, 1, '2024-09-01', '在平台注册，完善个人资料', '张先生和李女士分别在平台注册，认真填写了个人信息', 1);
INSERT INTO `case_timeline` VALUES (2, 1, '2024-09-15', '红娘推荐，第一次联系', '红娘老师根据双方条件进行了精准匹配推荐', 2);
INSERT INTO `case_timeline` VALUES (3, 1, '2024-09-20', '咖啡厅初次见面', '第一次见面就感觉很投缘，聊得很开心', 3);
INSERT INTO `case_timeline` VALUES (4, 1, '2024-09-25', '第二次约会，感觉很好', '一起去看了电影，关系更进一步', 4);
INSERT INTO `case_timeline` VALUES (5, 1, '2024-10-01', '确定恋爱关系', '正式成为男女朋友，开始甜蜜恋爱', 5);
INSERT INTO `case_timeline` VALUES (6, 1, '2024-11-01', '见双方父母', '双方父母都很满意，给予祝福', 6);
INSERT INTO `case_timeline` VALUES (7, 1, '2024-11-20', '订婚仪式', '举办了温馨的订婚仪式', 7);
INSERT INTO `case_timeline` VALUES (8, 1, '2024-12-20', '领取结婚证', '正式成为合法夫妻，从相识到结婚只用了3个多月', 8);
INSERT INTO `case_timeline` VALUES (9, 2, '2024-10-01', '平台注册', '王先生和赵女士在平台注册', 1);
INSERT INTO `case_timeline` VALUES (10, 2, '2024-10-10', '红娘介绍', '通过红娘专业介绍相识', 2);
INSERT INTO `case_timeline` VALUES (11, 2, '2024-10-15', '首次约会', '在西餐厅第一次见面', 3);
INSERT INTO `case_timeline` VALUES (12, 2, '2024-10-25', '确定关系', '正式确定男女朋友关系', 4);
INSERT INTO `case_timeline` VALUES (13, 2, '2024-12-01', '见家长', '双方家长见面，相谈甚欢', 5);
INSERT INTO `case_timeline` VALUES (14, 2, '2025-01-15', '领证结婚', '领取结婚证，开启新生活', 6);
INSERT INTO `case_timeline` VALUES (15, 3, '2024-11-01', '注册认识', '刘先生和陈女士在平台相识', 1);
INSERT INTO `case_timeline` VALUES (16, 3, '2024-11-10', '初次见面', '在咖啡厅第一次见面', 2);
INSERT INTO `case_timeline` VALUES (17, 3, '2024-11-20', '第二次约会', '一起爬山，感情升温', 3);
INSERT INTO `case_timeline` VALUES (18, 3, '2024-12-01', '确定关系', '正式成为情侣', 4);
INSERT INTO `case_timeline` VALUES (19, 3, '2025-01-10', '订婚', '举办订婚仪式', 5);
INSERT INTO `case_timeline` VALUES (20, 3, '2025-02-14', '领证', '情人节当天领证', 6);
INSERT INTO `case_timeline` VALUES (21, 4, '2024-12-01', '平台注册', '周先生和杨女士注册', 1);
INSERT INTO `case_timeline` VALUES (22, 4, '2024-12-10', '红娘推荐', '红娘推荐双方认识', 2);
INSERT INTO `case_timeline` VALUES (23, 4, '2024-12-15', '首次约会', '在公园散步聊天', 3);
INSERT INTO `case_timeline` VALUES (24, 4, '2025-01-01', '确定关系', '新年第一天确定关系', 4);
INSERT INTO `case_timeline` VALUES (25, 4, '2025-02-20', '见家长', '双方父母见面', 5);
INSERT INTO `case_timeline` VALUES (26, 4, '2025-03-20', '领证结婚', '正式结婚', 6);
INSERT INTO `case_timeline` VALUES (27, 5, '2024-11-15', '注册相识', '陈先生和周女士在平台注册', 1);
INSERT INTO `case_timeline` VALUES (28, 5, '2024-11-25', '初次见面', '在咖啡厅初次见面', 2);
INSERT INTO `case_timeline` VALUES (29, 5, '2024-12-05', '第二次约会', '一起看电影', 3);
INSERT INTO `case_timeline` VALUES (30, 5, '2024-12-20', '确定关系', '正式成为情侣', 4);
INSERT INTO `case_timeline` VALUES (31, 5, '2025-02-01', '订婚', '举办订婚仪式', 5);
INSERT INTO `case_timeline` VALUES (32, 5, '2025-04-01', '领证', '领取结婚证', 6);

-- ----------------------------
-- Table structure for chat_conversation
-- ----------------------------
DROP TABLE IF EXISTS `chat_conversation`;
CREATE TABLE `chat_conversation`  (
  `id` bigint NOT NULL AUTO_INCREMENT COMMENT '会话ID',
  `user_id` bigint NOT NULL COMMENT '用户ID',
  `target_user_id` bigint NOT NULL COMMENT '对方用户ID',
  `target_user_name` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '对方用户名称（冗余字段，减少关联查询）',
  `target_user_avatar` varchar(500) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '对方头像URL（冗余字段）',
  `last_message` text CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL COMMENT '最后一条消息内容',
  `last_message_type` tinyint NULL DEFAULT 1 COMMENT '最后消息类型（1:文本 2:图片 3:语音 4:视频）',
  `last_message_time` datetime NULL DEFAULT NULL COMMENT '最后消息时间',
  `unread_count` int NOT NULL DEFAULT 0 COMMENT '未读消息数量',
  `is_pinned` tinyint NOT NULL DEFAULT 0 COMMENT '是否置顶（0:否 1:是）',
  `is_deleted` tinyint NOT NULL DEFAULT 0 COMMENT '是否删除（0:否 1:是）',
  `create_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
  `update_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '更新时间',
  PRIMARY KEY (`id`) USING BTREE,
  UNIQUE INDEX `uk_user_target`(`user_id` ASC, `target_user_id` ASC) USING BTREE COMMENT '唯一索引：确保用户对用户的会话唯一',
  INDEX `idx_user_time`(`user_id` ASC, `last_message_time` ASC) USING BTREE COMMENT '索引：用户会话列表查询，按时间倒序',
  INDEX `idx_target_user`(`target_user_id` ASC) USING BTREE COMMENT '索引：查询与某用户的所有会话',
  INDEX `idx_user_id`(`user_id` ASC) USING BTREE,
  INDEX `idx_user_target`(`user_id` ASC, `target_user_id` ASC) USING BTREE,
  INDEX `idx_user_last_time`(`user_id` ASC, `last_message_time` DESC) USING BTREE,
  INDEX `idx_user_unread`(`user_id` ASC, `unread_count` ASC) USING BTREE,
  INDEX `idx_pinned_time`(`user_id` ASC, `is_pinned` DESC, `last_message_time` DESC) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 5 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '聊天会话表' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of chat_conversation
-- ----------------------------
INSERT INTO `chat_conversation` VALUES (1, 1, 17, '何静', 'https://i.pravatar.cc/150?img=41', '.', 1, '2025-10-17 19:38:29', 0, 0, 0, '2025-10-17 19:38:31', '2025-10-17 19:38:31');
INSERT INTO `chat_conversation` VALUES (2, 17, 1, '小明', 'http://localhost:8083/avatars/avatar_1_1760526873421.png', '.', 1, '2025-10-17 19:38:29', 1, 0, 0, '2025-10-17 19:38:32', '2025-10-17 19:38:32');
INSERT INTO `chat_conversation` VALUES (3, 7, 1, '小明', 'http://localhost:8083/avatars/avatar_1_1760526873421.png', 'oi', 1, '2025-10-18 14:14:07', 2, 0, 0, '2025-10-18 08:52:45', '2025-10-18 14:14:10');
INSERT INTO `chat_conversation` VALUES (4, 1, 7, '李娜', 'https://i.pravatar.cc/150?img=31', 'oi', 1, '2025-10-18 14:14:07', 2, 0, 0, '2025-10-18 08:52:46', '2025-10-18 14:14:09');

-- ----------------------------
-- Table structure for chat_friend
-- ----------------------------
DROP TABLE IF EXISTS `chat_friend`;
CREATE TABLE `chat_friend`  (
  `id` bigint NOT NULL AUTO_INCREMENT COMMENT '好友关系ID',
  `user_id` bigint NOT NULL COMMENT '用户ID',
  `friend_id` bigint NOT NULL COMMENT '好友ID',
  `friend_name` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '好友备注名',
  `friend_avatar` varchar(500) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '好友头像',
  `status` tinyint NOT NULL DEFAULT 1 COMMENT '好友状态（1:正常 2:已拉黑）',
  `is_deleted` tinyint NOT NULL DEFAULT 0 COMMENT '是否删除（0:否 1:是）',
  `create_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '添加时间',
  `update_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '更新时间',
  PRIMARY KEY (`id`) USING BTREE,
  UNIQUE INDEX `uk_user_friend`(`user_id` ASC, `friend_id` ASC) USING BTREE COMMENT '唯一索引：确保好友关系唯一',
  INDEX `idx_user`(`user_id` ASC, `status` ASC) USING BTREE COMMENT '索引：查询用户好友列表',
  INDEX `idx_friend`(`friend_id` ASC) USING BTREE COMMENT '索引：反向查询'
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '好友关系表' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of chat_friend
-- ----------------------------

-- ----------------------------
-- Table structure for chat_message
-- ----------------------------
DROP TABLE IF EXISTS `chat_message`;
CREATE TABLE `chat_message`  (
  `id` bigint NOT NULL AUTO_INCREMENT COMMENT '消息主键ID',
  `message_id` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '消息唯一ID（UUID）',
  `conversation_id` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '会话ID（格式：userId小_userId大）',
  `from_user_id` bigint NOT NULL COMMENT '发送者用户ID',
  `from_user_name` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '发送者用户名',
  `from_user_avatar` varchar(500) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '发送者头像',
  `to_user_id` bigint NOT NULL COMMENT '接收者用户ID',
  `to_user_name` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '接收者用户名',
  `message_type` tinyint NOT NULL DEFAULT 1 COMMENT '消息类型（1:文本 2:图片 3:语音 4:视频 5:文件）',
  `content` text CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL COMMENT '消息内容（文本内容或媒体描述）',
  `media_url` varchar(500) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '媒体文件URL',
  `thumbnail_url` varchar(500) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '缩略图URL',
  `media_size` bigint NULL DEFAULT NULL COMMENT '文件大小（字节）',
  `duration` int NULL DEFAULT NULL COMMENT '语音/视频时长（秒）',
  `send_status` tinyint NOT NULL DEFAULT 1 COMMENT '发送状态（1:发送中 2:已送达 3:已读 4:失败）',
  `send_time` datetime NOT NULL COMMENT '发送时间',
  `deliver_time` datetime NULL DEFAULT NULL COMMENT '送达时间',
  `read_time` datetime NULL DEFAULT NULL COMMENT '阅读时间',
  `retry_count` int NOT NULL DEFAULT 0 COMMENT '重试次数',
  `is_recalled` tinyint NOT NULL DEFAULT 0 COMMENT '是否已撤回（0:否 1:是）',
  `recall_time` datetime NULL DEFAULT NULL COMMENT '撤回时间',
  `extra_data` json NULL COMMENT '额外数据（JSON格式）',
  `is_deleted` tinyint NOT NULL DEFAULT 0 COMMENT '是否删除（0:否 1:是）',
  `create_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
  `update_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '更新时间',
  PRIMARY KEY (`id`) USING BTREE,
  UNIQUE INDEX `uk_message_id`(`message_id` ASC) USING BTREE COMMENT '唯一索引：消息ID唯一',
  UNIQUE INDEX `idx_message_id`(`message_id` ASC) USING BTREE,
  INDEX `idx_conversation_time`(`conversation_id` ASC, `send_time` DESC) USING BTREE COMMENT '索引：查询会话消息列表',
  INDEX `idx_to_user_status`(`to_user_id` ASC, `send_status` ASC) USING BTREE COMMENT '索引：查询未送达/未读消息',
  INDEX `idx_from_user_time`(`from_user_id` ASC, `send_time` ASC) USING BTREE COMMENT '索引：查询用户发送的消息',
  INDEX `idx_conversation_id`(`conversation_id` ASC) USING BTREE,
  INDEX `idx_from_to_user`(`from_user_id` ASC, `to_user_id` ASC, `send_time` DESC) USING BTREE,
  INDEX `idx_conversation_id_id`(`conversation_id` ASC, `id` DESC) USING BTREE,
  INDEX `idx_send_time`(`send_time` DESC) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 25 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '聊天消息表（MySQL存储）' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of chat_message
-- ----------------------------
INSERT INTO `chat_message` VALUES (1, '1_1760610882501_7xnpvv10k', '1_39', 1, NULL, NULL, 39, NULL, 1, 'hi', NULL, NULL, NULL, NULL, 1, '2025-10-16 18:34:43', NULL, NULL, 0, 0, NULL, '{}', 0, '2025-10-16 18:34:43', '2025-10-16 18:34:43');
INSERT INTO `chat_message` VALUES (2, '1_1760612078321_508izxx9e', '1_39', 1, NULL, NULL, 39, NULL, 1, '5', NULL, NULL, NULL, NULL, 1, '2025-10-16 18:54:38', NULL, NULL, 0, 0, NULL, '{}', 0, '2025-10-16 18:54:38', '2025-10-16 18:54:38');
INSERT INTO `chat_message` VALUES (3, '1_1760612658686_63j73hjgf', '1_39', 1, NULL, NULL, 39, NULL, 1, '😅', NULL, NULL, NULL, NULL, 1, '2025-10-16 19:04:19', NULL, NULL, 0, 0, NULL, '{}', 0, '2025-10-16 19:04:19', '2025-10-16 19:04:19');
INSERT INTO `chat_message` VALUES (4, '1_1760613677019_4z0gsqi77', '1_39', 1, '小明', 'http://localhost:8083/avatars/avatar_1_1760526873421.png', 39, '宁馨', 1, '🥰', NULL, NULL, NULL, NULL, 1, '2025-10-16 19:21:17', NULL, NULL, 0, 0, NULL, '{}', 0, '2025-10-16 19:21:17', '2025-10-16 19:21:17');
INSERT INTO `chat_message` VALUES (5, '1_1760614236124_2fy4np8vd', '1_39', 1, '小明', 'http://localhost:8083/avatars/avatar_1_1760526873421.png', 39, '宁馨', 1, '5', NULL, NULL, NULL, NULL, 1, '2025-10-16 19:30:36', NULL, NULL, 0, 0, NULL, '{}', 0, '2025-10-16 19:30:36', '2025-10-16 19:30:36');
INSERT INTO `chat_message` VALUES (6, '1_1760614737805_20r54a30w', '1_39', 1, '小明', 'http://localhost:8083/avatars/avatar_1_1760526873421.png', 39, '宁馨', 1, '2', NULL, NULL, NULL, NULL, 1, '2025-10-16 19:38:58', NULL, NULL, 0, 0, NULL, '{}', 0, '2025-10-16 19:38:58', '2025-10-16 19:38:58');
INSERT INTO `chat_message` VALUES (7, '1_1760661359287_t5qnvtk35', '1_39', 1, '小明', 'http://localhost:8083/avatars/avatar_1_1760526873421.png', 39, '宁馨', 1, '.', NULL, NULL, NULL, NULL, 1, '2025-10-17 08:35:59', NULL, NULL, 0, 0, NULL, '{}', 0, '2025-10-17 08:35:59', '2025-10-17 08:35:59');
INSERT INTO `chat_message` VALUES (8, '1_1760662294673_x3xu0p8tq', '1_39', 1, '小明', 'http://localhost:8083/avatars/avatar_1_1760526873421.png', 39, '宁馨', 1, '.', NULL, NULL, NULL, NULL, 1, '2025-10-17 08:51:35', NULL, NULL, 0, 0, NULL, '{}', 0, '2025-10-17 08:51:35', '2025-10-17 08:51:35');
INSERT INTO `chat_message` VALUES (9, '1_1760662636954_cj6fhrwi4', '1_39', 1, '小明', 'http://localhost:8083/avatars/avatar_1_1760526873421.png', 39, '宁馨', 1, '6', NULL, NULL, NULL, NULL, 1, '2025-10-17 08:57:17', NULL, NULL, 0, 0, NULL, '{}', 0, '2025-10-17 08:57:17', '2025-10-17 08:57:17');
INSERT INTO `chat_message` VALUES (10, '1_1760665608303_r32zfihru', '1_39', 1, '小明', 'http://localhost:8083/avatars/avatar_1_1760526873421.png', 39, '宁馨', 1, '2', NULL, NULL, NULL, NULL, 1, '2025-10-17 09:46:48', NULL, NULL, 0, 0, NULL, '{}', 0, '2025-10-17 09:46:48', '2025-10-17 09:46:48');
INSERT INTO `chat_message` VALUES (11, '1_1760666238579_ku09caw7v', '1_39', 1, '小明', 'http://localhost:8083/avatars/avatar_1_1760526873421.png', 39, '宁馨', 1, '.', NULL, NULL, NULL, NULL, 1, '2025-10-17 09:57:19', NULL, NULL, 0, 0, NULL, '{}', 0, '2025-10-17 09:57:19', '2025-10-17 09:57:19');
INSERT INTO `chat_message` VALUES (12, '1_1760669898537_15644318', '1_39', 1, '小明', 'http://localhost:8083/avatars/avatar_1_1760526873421.png', 39, '宁馨', 1, '523', NULL, NULL, NULL, NULL, 1, '2025-10-17 10:58:19', NULL, NULL, 0, 0, NULL, NULL, 0, '2025-10-17 10:58:19', '2025-10-17 10:58:19');
INSERT INTO `chat_message` VALUES (13, '1_1760670490558_2b86295e', '1_39', 1, '小明', 'http://localhost:8083/avatars/avatar_1_1760526873421.png', 39, '宁馨', 1, '.0', NULL, NULL, NULL, NULL, 1, '2025-10-17 11:08:11', NULL, NULL, 0, 0, NULL, NULL, 0, '2025-10-17 11:08:11', '2025-10-17 11:08:11');
INSERT INTO `chat_message` VALUES (14, '1_1760671004078_ed54f5df', '1_7', 1, '小明', 'http://localhost:8083/avatars/avatar_1_1760526873421.png', 7, '李娜', 1, '.', NULL, NULL, NULL, NULL, 1, '2025-10-17 11:16:44', NULL, NULL, 0, 0, NULL, NULL, 0, '2025-10-17 11:16:44', '2025-10-17 11:16:44');
INSERT INTO `chat_message` VALUES (15, '1_1760671176133_7d6b71a3', '1_7', 1, '小明', 'http://localhost:8083/avatars/avatar_1_1760526873421.png', 7, '李娜', 1, '？', NULL, NULL, NULL, NULL, 1, '2025-10-17 11:19:36', NULL, NULL, 0, 0, NULL, NULL, 0, '2025-10-17 11:19:36', '2025-10-17 11:19:36');
INSERT INTO `chat_message` VALUES (16, '1_1760671277899_154e2898', '1_7', 1, '小明', 'http://localhost:8083/avatars/avatar_1_1760526873421.png', 7, '李娜', 1, '0', NULL, NULL, NULL, NULL, 1, '2025-10-17 11:21:18', NULL, NULL, 0, 0, NULL, NULL, 0, '2025-10-17 11:21:18', '2025-10-17 11:21:18');
INSERT INTO `chat_message` VALUES (17, '1_1760671909861_edd3dd68', '1_7', 1, '小明', 'http://localhost:8083/avatars/avatar_1_1760526873421.png', 7, '李娜', 1, '0', NULL, NULL, NULL, NULL, 1, '2025-10-17 11:31:50', NULL, NULL, 0, 0, NULL, NULL, 0, '2025-10-17 11:31:50', '2025-10-17 11:31:50');
INSERT INTO `chat_message` VALUES (18, '1_1760672160603_awt8s7x9y', '1_7', 1, '小明', 'http://localhost:8083/avatars/avatar_1_1760526873421.png', 7, '李娜', 1, '.', NULL, NULL, NULL, NULL, 1, '2025-10-17 11:36:01', NULL, NULL, 0, 0, NULL, '{}', 0, '2025-10-17 11:36:01', '2025-10-17 11:36:01');
INSERT INTO `chat_message` VALUES (19, '144115245979813779-1760700690-52308524', '1_17', 1, NULL, NULL, 17, NULL, 1, '.', NULL, NULL, NULL, NULL, 2, '2025-10-17 19:31:31', '2025-10-17 19:31:32', NULL, 0, 0, NULL, NULL, 0, '2025-10-17 19:31:32', '2025-10-17 19:31:32');
INSERT INTO `chat_message` VALUES (20, '144115245979813779-1760701108-95278945', '1_17', 1, NULL, NULL, 17, NULL, 1, '.', NULL, NULL, NULL, NULL, 2, '2025-10-17 19:38:29', '2025-10-17 19:38:30', NULL, 0, 0, NULL, NULL, 0, '2025-10-17 19:38:30', '2025-10-17 19:38:30');
INSERT INTO `chat_message` VALUES (21, '144115245979858471-1760748762-82179319', '1_7', 7, NULL, NULL, 1, NULL, 1, '怎么了兄弟', NULL, NULL, NULL, NULL, 2, '2025-10-18 08:52:42', '2025-10-18 08:52:44', NULL, 0, 0, NULL, NULL, 0, '2025-10-18 08:52:44', '2025-10-18 08:52:44');
INSERT INTO `chat_message` VALUES (22, '144115245979813779-1760749388-49444933', '1_7', 1, NULL, NULL, 7, NULL, 1, '没事大哥', NULL, NULL, NULL, NULL, 2, '2025-10-18 09:03:09', '2025-10-18 09:03:11', NULL, 0, 0, NULL, NULL, 0, '2025-10-18 09:03:11', '2025-10-18 09:03:11');
INSERT INTO `chat_message` VALUES (23, '144115245979858471-1760749720-96392717', '1_7', 7, NULL, NULL, 1, NULL, 1, 'OK', NULL, NULL, NULL, NULL, 2, '2025-10-18 09:08:40', '2025-10-18 09:08:42', NULL, 0, 0, NULL, NULL, 0, '2025-10-18 09:08:42', '2025-10-18 09:08:42');
INSERT INTO `chat_message` VALUES (24, '144115245979813779-1760768046-87731920', '1_7', 1, NULL, NULL, 7, NULL, 1, 'oi', NULL, NULL, NULL, NULL, 2, '2025-10-18 14:14:07', '2025-10-18 14:14:08', NULL, 0, 0, NULL, NULL, 0, '2025-10-18 14:14:08', '2025-10-18 14:14:08');

-- ----------------------------
-- Table structure for chat_system_message
-- ----------------------------
DROP TABLE IF EXISTS `chat_system_message`;
CREATE TABLE `chat_system_message`  (
  `id` bigint NOT NULL AUTO_INCREMENT COMMENT '消息ID',
  `user_id` bigint NOT NULL COMMENT '接收用户ID',
  `message_type` tinyint NOT NULL COMMENT '消息类型（1:系统通知 2:好友申请 3:匹配成功）',
  `title` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '消息标题',
  `content` text CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL COMMENT '消息内容',
  `extra_data` json NULL COMMENT '额外数据（JSON格式）',
  `is_read` tinyint NOT NULL DEFAULT 0 COMMENT '是否已读（0:未读 1:已读）',
  `is_deleted` tinyint NOT NULL DEFAULT 0 COMMENT '是否删除（0:否 1:是）',
  `create_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
  `read_time` datetime NULL DEFAULT NULL COMMENT '阅读时间',
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `idx_user_read`(`user_id` ASC, `is_read` ASC, `create_time` ASC) USING BTREE COMMENT '索引：查询用户未读消息'
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '系统消息表' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of chat_system_message
-- ----------------------------

-- ----------------------------
-- Table structure for checkin_record
-- ----------------------------
DROP TABLE IF EXISTS `checkin_record`;
CREATE TABLE `checkin_record`  (
  `id` bigint NOT NULL AUTO_INCREMENT COMMENT '主键ID',
  `user_id` bigint NOT NULL COMMENT '用户ID',
  `checkin_date` date NOT NULL COMMENT '签到日期',
  `continuous_days` int NULL DEFAULT 0 COMMENT '当前连续签到天数',
  `total_days` int NULL DEFAULT 0 COMMENT '累计签到天数',
  `reward_received` int NULL DEFAULT 0 COMMENT '是否获得奖励 0-否 1-是',
  `reward_type` int NULL DEFAULT 0 COMMENT '奖励类型 0-无 1-1天VIP 2-3天VIP 3-7天VIP',
  `create_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
  PRIMARY KEY (`id`) USING BTREE,
  UNIQUE INDEX `uk_user_date`(`user_id` ASC, `checkin_date` ASC) USING BTREE,
  INDEX `idx_user_id`(`user_id` ASC) USING BTREE,
  INDEX `idx_checkin_date`(`checkin_date` ASC) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 9 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_0900_ai_ci COMMENT = '签到记录表' ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of checkin_record
-- ----------------------------
INSERT INTO `checkin_record` VALUES (1, 1, '2025-10-10', 1, 1, 0, 0, '2025-10-10 09:00:00');
INSERT INTO `checkin_record` VALUES (2, 1, '2025-10-12', 1, 1, 0, 0, '2025-10-13 10:42:04');
INSERT INTO `checkin_record` VALUES (3, 1, '2025-10-13', 1, 1, 0, 0, '2025-10-13 10:42:04');
INSERT INTO `checkin_record` VALUES (4, 1, '2025-10-14', 0, 3, 0, 0, '2025-10-14 09:16:58');
INSERT INTO `checkin_record` VALUES (5, 1, '2025-10-15', 0, 4, 0, 0, '2025-10-15 11:26:49');
INSERT INTO `checkin_record` VALUES (7, 1, '2025-10-21', 0, 5, 0, 0, '2025-10-21 13:39:04');
INSERT INTO `checkin_record` VALUES (8, 1, '2025-10-22', 0, 6, 0, 0, '2025-10-22 08:44:37');

-- ----------------------------
-- Table structure for city
-- ----------------------------
DROP TABLE IF EXISTS `city`;
CREATE TABLE `city`  (
  `id` int NOT NULL,
  `name` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL,
  `province_id` int NOT NULL,
  PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_0900_ai_ci ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of city
-- ----------------------------
INSERT INTO `city` VALUES (110100, '北京市', 110000);
INSERT INTO `city` VALUES (120100, '天津市', 120000);
INSERT INTO `city` VALUES (130100, '石家庄市', 130000);
INSERT INTO `city` VALUES (130200, '唐山市', 130000);
INSERT INTO `city` VALUES (130300, '秦皇岛市', 130000);
INSERT INTO `city` VALUES (130400, '邯郸市', 130000);
INSERT INTO `city` VALUES (130500, '邢台市', 130000);
INSERT INTO `city` VALUES (130600, '保定市', 130000);
INSERT INTO `city` VALUES (130700, '张家口市', 130000);
INSERT INTO `city` VALUES (130800, '承德市', 130000);
INSERT INTO `city` VALUES (130900, '沧州市', 130000);
INSERT INTO `city` VALUES (131000, '廊坊市', 130000);
INSERT INTO `city` VALUES (131100, '衡水市', 130000);
INSERT INTO `city` VALUES (140100, '太原市', 140000);
INSERT INTO `city` VALUES (140200, '大同市', 140000);
INSERT INTO `city` VALUES (140300, '阳泉市', 140000);
INSERT INTO `city` VALUES (140400, '长治市', 140000);
INSERT INTO `city` VALUES (140500, '晋城市', 140000);
INSERT INTO `city` VALUES (140600, '朔州市', 140000);
INSERT INTO `city` VALUES (140700, '晋中市', 140000);
INSERT INTO `city` VALUES (140800, '运城市', 140000);
INSERT INTO `city` VALUES (140900, '忻州市', 140000);
INSERT INTO `city` VALUES (141000, '临汾市', 140000);
INSERT INTO `city` VALUES (141100, '吕梁市', 140000);
INSERT INTO `city` VALUES (150100, '呼和浩特市', 150000);
INSERT INTO `city` VALUES (150200, '包头市', 150000);
INSERT INTO `city` VALUES (150300, '乌海市', 150000);
INSERT INTO `city` VALUES (150400, '赤峰市', 150000);
INSERT INTO `city` VALUES (150500, '通辽市', 150000);
INSERT INTO `city` VALUES (150600, '鄂尔多斯市', 150000);
INSERT INTO `city` VALUES (150700, '呼伦贝尔市', 150000);
INSERT INTO `city` VALUES (150800, '巴彦淖尔市', 150000);
INSERT INTO `city` VALUES (150900, '乌兰察布市', 150000);
INSERT INTO `city` VALUES (152200, '兴安盟', 150000);
INSERT INTO `city` VALUES (152500, '锡林郭勒盟', 150000);
INSERT INTO `city` VALUES (152900, '阿拉善盟', 150000);
INSERT INTO `city` VALUES (210100, '沈阳市', 210000);
INSERT INTO `city` VALUES (210200, '大连市', 210000);
INSERT INTO `city` VALUES (210300, '鞍山市', 210000);
INSERT INTO `city` VALUES (210400, '抚顺市', 210000);
INSERT INTO `city` VALUES (210500, '本溪市', 210000);
INSERT INTO `city` VALUES (210600, '丹东市', 210000);
INSERT INTO `city` VALUES (210700, '锦州市', 210000);
INSERT INTO `city` VALUES (210800, '营口市', 210000);
INSERT INTO `city` VALUES (210900, '阜新市', 210000);
INSERT INTO `city` VALUES (211000, '辽阳市', 210000);
INSERT INTO `city` VALUES (211100, '盘锦市', 210000);
INSERT INTO `city` VALUES (211200, '铁岭市', 210000);
INSERT INTO `city` VALUES (211300, '朝阳市', 210000);
INSERT INTO `city` VALUES (211400, '葫芦岛市', 210000);
INSERT INTO `city` VALUES (220100, '长春市', 220000);
INSERT INTO `city` VALUES (220200, '吉林市', 220000);
INSERT INTO `city` VALUES (220300, '四平市', 220000);
INSERT INTO `city` VALUES (220400, '辽源市', 220000);
INSERT INTO `city` VALUES (220500, '通化市', 220000);
INSERT INTO `city` VALUES (220600, '白山市', 220000);
INSERT INTO `city` VALUES (220700, '松原市', 220000);
INSERT INTO `city` VALUES (220800, '白城市', 220000);
INSERT INTO `city` VALUES (222400, '延边朝鲜族自治州', 220000);
INSERT INTO `city` VALUES (230100, '哈尔滨市', 230000);
INSERT INTO `city` VALUES (230200, '齐齐哈尔市', 230000);
INSERT INTO `city` VALUES (230300, '鸡西市', 230000);
INSERT INTO `city` VALUES (230400, '鹤岗市', 230000);
INSERT INTO `city` VALUES (230500, '双鸭山市', 230000);
INSERT INTO `city` VALUES (230600, '大庆市', 230000);
INSERT INTO `city` VALUES (230700, '伊春市', 230000);
INSERT INTO `city` VALUES (230800, '佳木斯市', 230000);
INSERT INTO `city` VALUES (230900, '七台河市', 230000);
INSERT INTO `city` VALUES (231000, '牡丹江市', 230000);
INSERT INTO `city` VALUES (231100, '黑河市', 230000);
INSERT INTO `city` VALUES (231200, '绥化市', 230000);
INSERT INTO `city` VALUES (232700, '大兴安岭地区', 230000);
INSERT INTO `city` VALUES (310100, '上海市', 310000);
INSERT INTO `city` VALUES (320100, '南京市', 320000);
INSERT INTO `city` VALUES (320200, '无锡市', 320000);
INSERT INTO `city` VALUES (320300, '徐州市', 320000);
INSERT INTO `city` VALUES (320400, '常州市', 320000);
INSERT INTO `city` VALUES (320500, '苏州市', 320000);
INSERT INTO `city` VALUES (320600, '南通市', 320000);
INSERT INTO `city` VALUES (320700, '连云港市', 320000);
INSERT INTO `city` VALUES (320800, '淮安市', 320000);
INSERT INTO `city` VALUES (320900, '盐城市', 320000);
INSERT INTO `city` VALUES (321000, '扬州市', 320000);
INSERT INTO `city` VALUES (321100, '镇江市', 320000);
INSERT INTO `city` VALUES (321200, '泰州市', 320000);
INSERT INTO `city` VALUES (321300, '宿迁市', 320000);
INSERT INTO `city` VALUES (330100, '杭州市', 330000);
INSERT INTO `city` VALUES (330200, '宁波市', 330000);
INSERT INTO `city` VALUES (330300, '温州市', 330000);
INSERT INTO `city` VALUES (330400, '嘉兴市', 330000);
INSERT INTO `city` VALUES (330500, '湖州市', 330000);
INSERT INTO `city` VALUES (330600, '绍兴市', 330000);
INSERT INTO `city` VALUES (330700, '金华市', 330000);
INSERT INTO `city` VALUES (330800, '衢州市', 330000);
INSERT INTO `city` VALUES (330900, '舟山市', 330000);
INSERT INTO `city` VALUES (331000, '台州市', 330000);
INSERT INTO `city` VALUES (331100, '丽水市', 330000);
INSERT INTO `city` VALUES (340100, '合肥市', 340000);
INSERT INTO `city` VALUES (340200, '芜湖市', 340000);
INSERT INTO `city` VALUES (340300, '蚌埠市', 340000);
INSERT INTO `city` VALUES (340400, '淮南市', 340000);
INSERT INTO `city` VALUES (340500, '马鞍山市', 340000);
INSERT INTO `city` VALUES (340600, '淮北市', 340000);
INSERT INTO `city` VALUES (340700, '铜陵市', 340000);
INSERT INTO `city` VALUES (340800, '安庆市', 340000);
INSERT INTO `city` VALUES (341000, '黄山市', 340000);
INSERT INTO `city` VALUES (341100, '滁州市', 340000);
INSERT INTO `city` VALUES (341200, '阜阳市', 340000);
INSERT INTO `city` VALUES (341300, '宿州市', 340000);
INSERT INTO `city` VALUES (341500, '六安市', 340000);
INSERT INTO `city` VALUES (341600, '亳州市', 340000);
INSERT INTO `city` VALUES (341700, '池州市', 340000);
INSERT INTO `city` VALUES (341800, '宣城市', 340000);
INSERT INTO `city` VALUES (350100, '福州市', 350000);
INSERT INTO `city` VALUES (350200, '厦门市', 350000);
INSERT INTO `city` VALUES (350300, '莆田市', 350000);
INSERT INTO `city` VALUES (350400, '三明市', 350000);
INSERT INTO `city` VALUES (350500, '泉州市', 350000);
INSERT INTO `city` VALUES (350600, '漳州市', 350000);
INSERT INTO `city` VALUES (350700, '南平市', 350000);
INSERT INTO `city` VALUES (350800, '龙岩市', 350000);
INSERT INTO `city` VALUES (350900, '宁德市', 350000);
INSERT INTO `city` VALUES (360100, '南昌市', 360000);
INSERT INTO `city` VALUES (360200, '景德镇市', 360000);
INSERT INTO `city` VALUES (360300, '萍乡市', 360000);
INSERT INTO `city` VALUES (360400, '九江市', 360000);
INSERT INTO `city` VALUES (360500, '新余市', 360000);
INSERT INTO `city` VALUES (360600, '鹰潭市', 360000);
INSERT INTO `city` VALUES (360700, '赣州市', 360000);
INSERT INTO `city` VALUES (360800, '吉安市', 360000);
INSERT INTO `city` VALUES (360900, '宜春市', 360000);
INSERT INTO `city` VALUES (361000, '抚州市', 360000);
INSERT INTO `city` VALUES (361100, '上饶市', 360000);
INSERT INTO `city` VALUES (370100, '济南市', 370000);
INSERT INTO `city` VALUES (370200, '青岛市', 370000);
INSERT INTO `city` VALUES (370300, '淄博市', 370000);
INSERT INTO `city` VALUES (370400, '枣庄市', 370000);
INSERT INTO `city` VALUES (370500, '东营市', 370000);
INSERT INTO `city` VALUES (370600, '烟台市', 370000);
INSERT INTO `city` VALUES (370700, '潍坊市', 370000);
INSERT INTO `city` VALUES (370800, '济宁市', 370000);
INSERT INTO `city` VALUES (370900, '泰安市', 370000);
INSERT INTO `city` VALUES (371000, '威海市', 370000);
INSERT INTO `city` VALUES (371100, '日照市', 370000);
INSERT INTO `city` VALUES (371300, '临沂市', 370000);
INSERT INTO `city` VALUES (371400, '德州市', 370000);
INSERT INTO `city` VALUES (371500, '聊城市', 370000);
INSERT INTO `city` VALUES (371600, '滨州市', 370000);
INSERT INTO `city` VALUES (371700, '菏泽市', 370000);
INSERT INTO `city` VALUES (410100, '郑州市', 410000);
INSERT INTO `city` VALUES (410200, '开封市', 410000);
INSERT INTO `city` VALUES (410300, '洛阳市', 410000);
INSERT INTO `city` VALUES (410400, '平顶山市', 410000);
INSERT INTO `city` VALUES (410500, '安阳市', 410000);
INSERT INTO `city` VALUES (410600, '鹤壁市', 410000);
INSERT INTO `city` VALUES (410700, '新乡市', 410000);
INSERT INTO `city` VALUES (410800, '焦作市', 410000);
INSERT INTO `city` VALUES (410900, '濮阳市', 410000);
INSERT INTO `city` VALUES (411000, '许昌市', 410000);
INSERT INTO `city` VALUES (411100, '漯河市', 410000);
INSERT INTO `city` VALUES (411200, '三门峡市', 410000);
INSERT INTO `city` VALUES (411300, '南阳市', 410000);
INSERT INTO `city` VALUES (411400, '商丘市', 410000);
INSERT INTO `city` VALUES (411500, '信阳市', 410000);
INSERT INTO `city` VALUES (411600, '周口市', 410000);
INSERT INTO `city` VALUES (411700, '驻马店市', 410000);
INSERT INTO `city` VALUES (419000, '省直辖县级行政区划', 410000);
INSERT INTO `city` VALUES (420100, '武汉市', 420000);
INSERT INTO `city` VALUES (420200, '黄石市', 420000);
INSERT INTO `city` VALUES (420300, '十堰市', 420000);
INSERT INTO `city` VALUES (420500, '宜昌市', 420000);
INSERT INTO `city` VALUES (420600, '襄阳市', 420000);
INSERT INTO `city` VALUES (420700, '鄂州市', 420000);
INSERT INTO `city` VALUES (420800, '荆门市', 420000);
INSERT INTO `city` VALUES (420900, '孝感市', 420000);
INSERT INTO `city` VALUES (421000, '荆州市', 420000);
INSERT INTO `city` VALUES (421100, '黄冈市', 420000);
INSERT INTO `city` VALUES (421200, '咸宁市', 420000);
INSERT INTO `city` VALUES (421300, '随州市', 420000);
INSERT INTO `city` VALUES (422800, '恩施土家族苗族自治州', 420000);
INSERT INTO `city` VALUES (429000, '省直辖县级行政区划', 420000);
INSERT INTO `city` VALUES (430100, '长沙市', 430000);
INSERT INTO `city` VALUES (430200, '株洲市', 430000);
INSERT INTO `city` VALUES (430300, '湘潭市', 430000);
INSERT INTO `city` VALUES (430400, '衡阳市', 430000);
INSERT INTO `city` VALUES (430500, '邵阳市', 430000);
INSERT INTO `city` VALUES (430600, '岳阳市', 430000);
INSERT INTO `city` VALUES (430700, '常德市', 430000);
INSERT INTO `city` VALUES (430800, '张家界市', 430000);
INSERT INTO `city` VALUES (430900, '益阳市', 430000);
INSERT INTO `city` VALUES (431000, '郴州市', 430000);
INSERT INTO `city` VALUES (431100, '永州市', 430000);
INSERT INTO `city` VALUES (431200, '怀化市', 430000);
INSERT INTO `city` VALUES (431300, '娄底市', 430000);
INSERT INTO `city` VALUES (433100, '湘西土家族苗族自治州', 430000);
INSERT INTO `city` VALUES (440100, '广州市', 440000);
INSERT INTO `city` VALUES (440200, '韶关市', 440000);
INSERT INTO `city` VALUES (440300, '深圳市', 440000);
INSERT INTO `city` VALUES (440400, '珠海市', 440000);
INSERT INTO `city` VALUES (440500, '汕头市', 440000);
INSERT INTO `city` VALUES (440600, '佛山市', 440000);
INSERT INTO `city` VALUES (440700, '江门市', 440000);
INSERT INTO `city` VALUES (440800, '湛江市', 440000);
INSERT INTO `city` VALUES (440900, '茂名市', 440000);
INSERT INTO `city` VALUES (441200, '肇庆市', 440000);
INSERT INTO `city` VALUES (441300, '惠州市', 440000);
INSERT INTO `city` VALUES (441400, '梅州市', 440000);
INSERT INTO `city` VALUES (441500, '汕尾市', 440000);
INSERT INTO `city` VALUES (441600, '河源市', 440000);
INSERT INTO `city` VALUES (441700, '阳江市', 440000);
INSERT INTO `city` VALUES (441800, '清远市', 440000);
INSERT INTO `city` VALUES (441900, '东莞市', 440000);
INSERT INTO `city` VALUES (442000, '中山市', 440000);
INSERT INTO `city` VALUES (445100, '潮州市', 440000);
INSERT INTO `city` VALUES (445200, '揭阳市', 440000);
INSERT INTO `city` VALUES (445300, '云浮市', 440000);
INSERT INTO `city` VALUES (450100, '南宁市', 450000);
INSERT INTO `city` VALUES (450200, '柳州市', 450000);
INSERT INTO `city` VALUES (450300, '桂林市', 450000);
INSERT INTO `city` VALUES (450400, '梧州市', 450000);
INSERT INTO `city` VALUES (450500, '北海市', 450000);
INSERT INTO `city` VALUES (450600, '防城港市', 450000);
INSERT INTO `city` VALUES (450700, '钦州市', 450000);
INSERT INTO `city` VALUES (450800, '贵港市', 450000);
INSERT INTO `city` VALUES (450900, '玉林市', 450000);
INSERT INTO `city` VALUES (451000, '百色市', 450000);
INSERT INTO `city` VALUES (451100, '贺州市', 450000);
INSERT INTO `city` VALUES (451200, '河池市', 450000);
INSERT INTO `city` VALUES (451300, '来宾市', 450000);
INSERT INTO `city` VALUES (451400, '崇左市', 450000);
INSERT INTO `city` VALUES (460100, '海口市', 460000);
INSERT INTO `city` VALUES (460200, '三亚市', 460000);
INSERT INTO `city` VALUES (460300, '三沙市', 460000);
INSERT INTO `city` VALUES (460400, '儋州市', 460000);
INSERT INTO `city` VALUES (469000, '省直辖县级行政区划', 460000);
INSERT INTO `city` VALUES (500100, '重庆市', 500000);
INSERT INTO `city` VALUES (510100, '成都市', 510000);
INSERT INTO `city` VALUES (510300, '自贡市', 510000);
INSERT INTO `city` VALUES (510400, '攀枝花市', 510000);
INSERT INTO `city` VALUES (510500, '泸州市', 510000);
INSERT INTO `city` VALUES (510600, '德阳市', 510000);
INSERT INTO `city` VALUES (510700, '绵阳市', 510000);
INSERT INTO `city` VALUES (510800, '广元市', 510000);
INSERT INTO `city` VALUES (510900, '遂宁市', 510000);
INSERT INTO `city` VALUES (511000, '内江市', 510000);
INSERT INTO `city` VALUES (511100, '乐山市', 510000);
INSERT INTO `city` VALUES (511300, '南充市', 510000);
INSERT INTO `city` VALUES (511400, '眉山市', 510000);
INSERT INTO `city` VALUES (511500, '宜宾市', 510000);
INSERT INTO `city` VALUES (511600, '广安市', 510000);
INSERT INTO `city` VALUES (511700, '达州市', 510000);
INSERT INTO `city` VALUES (511800, '雅安市', 510000);
INSERT INTO `city` VALUES (511900, '巴中市', 510000);
INSERT INTO `city` VALUES (512000, '资阳市', 510000);
INSERT INTO `city` VALUES (513200, '阿坝藏族羌族自治州', 510000);
INSERT INTO `city` VALUES (513300, '甘孜藏族自治州', 510000);
INSERT INTO `city` VALUES (513400, '凉山彝族自治州', 510000);
INSERT INTO `city` VALUES (520100, '贵阳市', 520000);
INSERT INTO `city` VALUES (520200, '六盘水市', 520000);
INSERT INTO `city` VALUES (520300, '遵义市', 520000);
INSERT INTO `city` VALUES (520400, '安顺市', 520000);
INSERT INTO `city` VALUES (520500, '毕节市', 520000);
INSERT INTO `city` VALUES (520600, '铜仁市', 520000);
INSERT INTO `city` VALUES (522300, '黔西南布依族苗族自治州', 520000);
INSERT INTO `city` VALUES (522600, '黔东南苗族侗族自治州', 520000);
INSERT INTO `city` VALUES (522700, '黔南布依族苗族自治州', 520000);
INSERT INTO `city` VALUES (530100, '昆明市', 530000);
INSERT INTO `city` VALUES (530300, '曲靖市', 530000);
INSERT INTO `city` VALUES (530400, '玉溪市', 530000);
INSERT INTO `city` VALUES (530500, '保山市', 530000);
INSERT INTO `city` VALUES (530600, '昭通市', 530000);
INSERT INTO `city` VALUES (530700, '丽江市', 530000);
INSERT INTO `city` VALUES (530800, '普洱市', 530000);
INSERT INTO `city` VALUES (530900, '临沧市', 530000);
INSERT INTO `city` VALUES (532300, '楚雄彝族自治州', 530000);
INSERT INTO `city` VALUES (532500, '红河哈尼族彝族自治州', 530000);
INSERT INTO `city` VALUES (532600, '文山壮族苗族自治州', 530000);
INSERT INTO `city` VALUES (532800, '西双版纳傣族自治州', 530000);
INSERT INTO `city` VALUES (532900, '大理白族自治州', 530000);
INSERT INTO `city` VALUES (533100, '德宏傣族景颇族自治州', 530000);
INSERT INTO `city` VALUES (533300, '怒江傈僳族自治州', 530000);
INSERT INTO `city` VALUES (533400, '迪庆藏族自治州', 530000);
INSERT INTO `city` VALUES (540100, '拉萨市', 540000);
INSERT INTO `city` VALUES (540200, '日喀则市', 540000);
INSERT INTO `city` VALUES (540300, '昌都市', 540000);
INSERT INTO `city` VALUES (540400, '林芝市', 540000);
INSERT INTO `city` VALUES (540500, '山南市', 540000);
INSERT INTO `city` VALUES (540600, '那曲市', 540000);
INSERT INTO `city` VALUES (542500, '阿里地区', 540000);
INSERT INTO `city` VALUES (610100, '西安市', 610000);
INSERT INTO `city` VALUES (610200, '铜川市', 610000);
INSERT INTO `city` VALUES (610300, '宝鸡市', 610000);
INSERT INTO `city` VALUES (610400, '咸阳市', 610000);
INSERT INTO `city` VALUES (610500, '渭南市', 610000);
INSERT INTO `city` VALUES (610600, '延安市', 610000);
INSERT INTO `city` VALUES (610700, '汉中市', 610000);
INSERT INTO `city` VALUES (610800, '榆林市', 610000);
INSERT INTO `city` VALUES (610900, '安康市', 610000);
INSERT INTO `city` VALUES (611000, '商洛市', 610000);
INSERT INTO `city` VALUES (620100, '兰州市', 620000);
INSERT INTO `city` VALUES (620200, '嘉峪关市', 620000);
INSERT INTO `city` VALUES (620300, '金昌市', 620000);
INSERT INTO `city` VALUES (620400, '白银市', 620000);
INSERT INTO `city` VALUES (620500, '天水市', 620000);
INSERT INTO `city` VALUES (620600, '武威市', 620000);
INSERT INTO `city` VALUES (620700, '张掖市', 620000);
INSERT INTO `city` VALUES (620800, '平凉市', 620000);
INSERT INTO `city` VALUES (620900, '酒泉市', 620000);
INSERT INTO `city` VALUES (621000, '庆阳市', 620000);
INSERT INTO `city` VALUES (621100, '定西市', 620000);
INSERT INTO `city` VALUES (621200, '陇南市', 620000);
INSERT INTO `city` VALUES (622900, '临夏回族自治州', 620000);
INSERT INTO `city` VALUES (623000, '甘南藏族自治州', 620000);
INSERT INTO `city` VALUES (630100, '西宁市', 630000);
INSERT INTO `city` VALUES (630200, '海东市', 630000);
INSERT INTO `city` VALUES (632200, '海北藏族自治州', 630000);
INSERT INTO `city` VALUES (632300, '黄南藏族自治州', 630000);
INSERT INTO `city` VALUES (632500, '海南藏族自治州', 630000);
INSERT INTO `city` VALUES (632600, '果洛藏族自治州', 630000);
INSERT INTO `city` VALUES (632700, '玉树藏族自治州', 630000);
INSERT INTO `city` VALUES (632800, '海西蒙古族藏族自治州', 630000);
INSERT INTO `city` VALUES (640100, '银川市', 640000);
INSERT INTO `city` VALUES (640200, '石嘴山市', 640000);
INSERT INTO `city` VALUES (640300, '吴忠市', 640000);
INSERT INTO `city` VALUES (640400, '固原市', 640000);
INSERT INTO `city` VALUES (640500, '中卫市', 640000);
INSERT INTO `city` VALUES (650100, '乌鲁木齐市', 650000);
INSERT INTO `city` VALUES (650200, '克拉玛依市', 650000);
INSERT INTO `city` VALUES (650400, '吐鲁番市', 650000);
INSERT INTO `city` VALUES (650500, '哈密市', 650000);
INSERT INTO `city` VALUES (652300, '昌吉回族自治州', 650000);
INSERT INTO `city` VALUES (652700, '博尔塔拉蒙古自治州', 650000);
INSERT INTO `city` VALUES (652800, '巴音郭楞蒙古自治州', 650000);
INSERT INTO `city` VALUES (652900, '阿克苏地区', 650000);
INSERT INTO `city` VALUES (653000, '克孜勒苏柯尔克孜自治州', 650000);
INSERT INTO `city` VALUES (653100, '喀什地区', 650000);
INSERT INTO `city` VALUES (653200, '和田地区', 650000);
INSERT INTO `city` VALUES (654000, '伊犁哈萨克自治州', 650000);
INSERT INTO `city` VALUES (654200, '塔城地区', 650000);
INSERT INTO `city` VALUES (654300, '阿勒泰地区', 650000);
INSERT INTO `city` VALUES (659000, '自治区直辖县级行政区划', 650000);
INSERT INTO `city` VALUES (710100, '台湾省', 710000);
INSERT INTO `city` VALUES (810100, '香港特别行政区', 810000);
INSERT INTO `city` VALUES (820100, '澳门特别行政区', 820000);

-- ----------------------------
-- Table structure for comment_likes
-- ----------------------------
DROP TABLE IF EXISTS `comment_likes`;
CREATE TABLE `comment_likes`  (
  `id` int NOT NULL AUTO_INCREMENT,
  `comment_id` int NOT NULL COMMENT '评论ID，关联 dynamic_comments.comment_id',
  `user_id` int NOT NULL COMMENT '点赞用户ID，关联 users.user_id',
  `created_at` datetime NULL DEFAULT CURRENT_TIMESTAMP,
  PRIMARY KEY (`id`) USING BTREE,
  UNIQUE INDEX `uk_comment_user`(`comment_id` ASC, `user_id` ASC) USING BTREE,
  INDEX `idx_comment`(`comment_id` ASC) USING BTREE,
  INDEX `fk_comment_likes_user`(`user_id` ASC) USING BTREE,
  CONSTRAINT `fk_comment_likes_comment` FOREIGN KEY (`comment_id`) REFERENCES `dynamic_comments` (`comment_id`) ON DELETE CASCADE ON UPDATE RESTRICT,
  CONSTRAINT `fk_comment_likes_user` FOREIGN KEY (`user_id`) REFERENCES `users` (`user_id`) ON DELETE CASCADE ON UPDATE RESTRICT
) ENGINE = InnoDB AUTO_INCREMENT = 6 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_0900_ai_ci COMMENT = '评论点赞表' ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of comment_likes
-- ----------------------------
INSERT INTO `comment_likes` VALUES (2, 8, 1, '2025-10-14 14:43:46');
INSERT INTO `comment_likes` VALUES (4, 78, 1, '2025-10-18 09:54:53');
INSERT INTO `comment_likes` VALUES (5, 87, 1, '2025-10-18 09:55:29');

-- ----------------------------
-- Table structure for commissions
-- ----------------------------
DROP TABLE IF EXISTS `commissions`;
CREATE TABLE `commissions`  (
  `id` int NOT NULL AUTO_INCREMENT,
  `matchmaker_id` int NOT NULL,
  `order_id` bigint NOT NULL,
  `amount` decimal(10, 2) NOT NULL,
  `commission_type` tinyint NOT NULL COMMENT '1-兼职 2-全职',
  `status` tinyint NULL DEFAULT 1 COMMENT '1-未发放 2-已发放',
  `paid_at` datetime NULL DEFAULT NULL,
  `created_at` datetime NULL DEFAULT CURRENT_TIMESTAMP,
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `matchmaker_id`(`matchmaker_id` ASC) USING BTREE,
  CONSTRAINT `commissions_ibfk_1` FOREIGN KEY (`matchmaker_id`) REFERENCES `matchmakers` (`matchmaker_id`) ON DELETE RESTRICT ON UPDATE RESTRICT
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_0900_ai_ci ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of commissions
-- ----------------------------

-- ----------------------------
-- Table structure for courses
-- ----------------------------
DROP TABLE IF EXISTS `courses`;
CREATE TABLE `courses`  (
  `id` int NOT NULL AUTO_INCREMENT COMMENT '课程ID，主键',
  `category_name` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '课程分类名称（如：婚姻沟通技巧、情感修复等）',
  `name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '课程名称',
  `instructor` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '讲师姓名',
  `description` text CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL COMMENT '课程描述',
  `content` text CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL COMMENT '课程详细内容',
  `price` double NOT NULL COMMENT '课程价格',
  `duration` int NOT NULL COMMENT '课程时长（分钟）',
  `rating` float NOT NULL COMMENT '课程评分（如：4.9）',
  `participants` int NOT NULL DEFAULT 0 COMMENT '已报名人数',
  `cover_image` varchar(500) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '课程封面图URL',
  `is_recommended` int NOT NULL DEFAULT 0 COMMENT '是否推荐（1：推荐，0：不推荐）',
  `status` tinyint NOT NULL DEFAULT 1 COMMENT '状态：0-禁用，1-启用',
  `created_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '课程创建时间',
  `updated_time` datetime NULL DEFAULT NULL ON UPDATE CURRENT_TIMESTAMP COMMENT '更新时间',
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `idx_category_name`(`category_name` ASC) USING BTREE COMMENT '索引：按课程分类名称索引课程'
) ENGINE = InnoDB AUTO_INCREMENT = 27 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '课程信息表' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of courses
-- ----------------------------
INSERT INTO `courses` VALUES (1, '情感沟通', '高效沟通：让TA更懂你', '专业导师', '本课程将帮助您提升情感沟通能力，建立更好的亲密关系。', NULL, 199, 60, 4.8, 1256, 'http://115.190.125.125:9000/banners/1.jpg', 1, 1, '2025-10-01 10:00:00', '2025-10-20 18:42:15');
INSERT INTO `courses` VALUES (2, '情感沟通', '亲密关系中的非暴力沟通', '专业导师', '本课程将帮助您提升情感沟通能力，建立更好的亲密关系。', NULL, 299, 90, 4.9, 2143, 'http://115.190.125.125:9000/banners/2.jpg', 1, 1, '2025-10-02 10:00:00', '2025-10-20 18:42:15');
INSERT INTO `courses` VALUES (3, '情感沟通', '情侣吵架后的和解艺术', '专业导师', '本课程将帮助您提升情感沟通能力，建立更好的亲密关系。', NULL, 149, 45, 4.7, 856, 'http://115.190.125.125:9000/banners/3.jpg', 1, 1, '2025-10-03 10:00:00', '2025-10-20 18:42:15');
INSERT INTO `courses` VALUES (4, '恋爱技巧', '第一次约会如何不冷场', '专业导师', '本课程将帮助您提升情感沟通能力，建立更好的亲密关系。', '', 99, 45, 4.9, 3521, 'http://115.190.125.125:9000/admin-images/images/19b55a84-9f3e-4620-82b8-0ef2f5dec3d0.jpeg', 1, 1, '2025-10-04 10:00:00', '2025-10-20 18:42:15');
INSERT INTO `courses` VALUES (5, '恋爱技巧', '如何用微信撩到心仪的TA', '专业导师', '本课程将帮助您提升情感沟通能力，建立更好的亲密关系。', NULL, 129, 50, 4.6, 1892, 'http://115.190.125.125:9000/banners/5.jpg', 1, 1, '2025-10-05 10:00:00', '2025-10-20 18:42:15');
INSERT INTO `courses` VALUES (6, '恋爱技巧', '从暧昧到表白的完美过渡', '专业导师', '本课程将帮助您提升情感沟通能力，建立更好的亲密关系。', NULL, 179, 60, 4.8, 2345, 'http://115.190.125.125:9000/banners/6.jpg', 1, 1, '2025-10-06 10:00:00', '2025-10-20 18:42:15');
INSERT INTO `courses` VALUES (7, '恋爱技巧', '异地恋如何维系感情', '专业导师', '本课程将帮助您提升情感沟通能力，建立更好的亲密关系。', NULL, 249, 75, 4.7, 1567, 'http://115.190.125.125:9000/banners/7.jpg', 0, 1, '2025-10-07 10:00:00', '2025-10-20 18:42:15');
INSERT INTO `courses` VALUES (8, '婚姻经营', '婚姻保鲜的7个黄金法则', '专业导师', '本课程将帮助您提升情感沟通能力，建立更好的亲密关系。', NULL, 399, 120, 4.9, 3456, 'http://115.190.125.125:9000/banners/1.jpg', 1, 1, '2025-10-08 10:00:00', '2025-10-20 18:42:15');
INSERT INTO `courses` VALUES (9, '婚姻经营', '夫妻财务管理与规划', '专业导师', '本课程将帮助您提升情感沟通能力，建立更好的亲密关系。', NULL, 299, 90, 4.5, 1234, 'http://115.190.125.125:9000/banners/2.jpg', 0, 1, '2025-10-09 10:00:00', '2025-10-20 18:42:15');
INSERT INTO `courses` VALUES (10, '婚姻经营', '如何化解婆媳矛盾', '专业导师', '本课程将帮助您提升情感沟通能力，建立更好的亲密关系。', NULL, 199, 60, 4.8, 2789, 'http://115.190.125.125:9000/banners/3.jpg', 1, 1, '2025-10-10 10:00:00', '2025-10-20 18:42:15');
INSERT INTO `courses` VALUES (11, '情感修复', '挽回前任的正确方式', '专业导师', '本课程将帮助您提升情感沟通能力，建立更好的亲密关系。', '', 599, 150, 4.6, 987, 'http://115.190.125.125:9000/admin-images/images/9d9171ea-8994-493e-b565-2ef5cd8a4816.jpg', 0, 1, '2025-10-11 10:00:00', '2025-10-20 18:42:15');
INSERT INTO `courses` VALUES (12, '情感修复', '出轨后的婚姻修复指南', '专业导师', '本课程将帮助您提升情感沟通能力，建立更好的亲密关系。', NULL, 799, 180, 4.7, 654, 'http://115.190.125.125:9000/banners/5.jpg', 0, 1, '2025-10-12 10:00:00', '2025-10-20 18:42:15');
INSERT INTO `courses` VALUES (13, '情感修复', '分手后如何走出阴影', '专业导师', '本课程将帮助您提升情感沟通能力，建立更好的亲密关系。', NULL, 149, 60, 4.9, 2345, 'http://115.190.125.125:9000/banners/6.jpg', 1, 1, '2025-10-13 10:00:00', '2025-10-20 18:42:15');
INSERT INTO `courses` VALUES (14, '自我提升', '提升个人魅力的12个习惯', '专业导师', '本课程将帮助您提升情感沟通能力，建立更好的亲密关系。', NULL, 199, 90, 4.8, 4567, 'http://115.190.125.125:9000/banners/7.jpg', 1, 1, '2025-09-25 10:00:00', '2025-10-20 18:42:15');
INSERT INTO `courses` VALUES (15, '自我提升', '女性形象管理与气质提升', '专业导师', '本课程将帮助您提升情感沟通能力，建立更好的亲密关系。', NULL, 399, 120, 4.9, 3210, 'http://115.190.125.125:9000/banners/1.jpg', 1, 1, '2025-09-26 10:00:00', '2025-10-20 18:42:15');
INSERT INTO `courses` VALUES (16, '自我提升', '男性社交礼仪与着装搭配', '专业导师', '本课程将帮助您提升情感沟通能力，建立更好的亲密关系。', NULL, 299, 90, 4.6, 1876, 'http://115.190.125.125:9000/banners/2.jpg', 0, 1, '2025-09-27 10:00:00', '2025-10-20 18:42:15');
INSERT INTO `courses` VALUES (17, '情绪管理', '控制情绪，避免感情中的冲动', '专业导师', '本课程将帮助您提升情感沟通能力，建立更好的亲密关系。', NULL, 179, 60, 4.7, 1543, 'http://115.190.125.125:9000/banners/3.jpg', 0, 1, '2025-09-28 10:00:00', '2025-10-20 18:42:15');
INSERT INTO `courses` VALUES (18, '情绪管理', '焦虑型依恋者的自我疗愈', '专业导师', '本课程将帮助您提升情感沟通能力，建立更好的亲密关系。', '', 249, 90, 4.8, 2134, 'http://115.190.125.125:9000/admin-images/images/2b482497-93ab-4fcb-9459-8bc1940525dd.jpeg', 1, 1, '2025-09-29 10:00:00', '2025-10-20 18:42:15');
INSERT INTO `courses` VALUES (19, '情绪管理', '冷静应对伴侣的负面情绪', '专业导师', '本课程将帮助您提升情感沟通能力，建立更好的亲密关系。', NULL, 199, 75, 4.6, 1678, 'http://115.190.125.125:9000/banners/5.jpg', 0, 1, '2025-09-30 10:00:00', '2025-10-20 18:42:15');
INSERT INTO `courses` VALUES (20, '婚恋心理', '原生家庭对婚恋的影响', '专业导师', '本课程将帮助您提升情感沟通能力，建立更好的亲密关系。', NULL, 299, 120, 4.9, 2987, 'http://115.190.125.125:9000/banners/6.jpg', 1, 1, '2025-09-20 10:00:00', '2025-10-20 18:42:15');
INSERT INTO `courses` VALUES (21, '婚恋心理', '识别并远离PUA和情感操控', '专业导师', '本课程将帮助您提升情感沟通能力，建立更好的亲密关系。', NULL, 199, 90, 4.8, 3456, 'http://115.190.125.125:9000/banners/7.jpg', 1, 1, '2025-09-21 10:00:00', '2025-10-20 18:42:15');
INSERT INTO `courses` VALUES (22, '婚恋心理', '依恋理论与亲密关系', '专业导师', '本课程将帮助您提升情感沟通能力，建立更好的亲密关系。', NULL, 249, 100, 4.7, 1543, 'http://115.190.125.125:9000/banners/1.jpg', 0, 1, '2025-09-22 10:00:00', '2025-10-20 18:42:15');
INSERT INTO `courses` VALUES (23, '脱单指南', '单身狗的脱单实战攻略', '专业导师', '本课程将帮助您提升情感沟通能力，建立更好的亲密关系。', NULL, 159, 60, 4.9, 5678, 'http://115.190.125.125:9000/banners/2.jpg', 1, 1, '2025-09-15 10:00:00', '2025-10-20 18:42:15');
INSERT INTO `courses` VALUES (24, '脱单指南', '相亲成功率提升秘籍', '专业导师', '本课程将帮助您提升情感沟通能力，建立更好的亲密关系。', NULL, 189, 75, 4.7, 2345, 'http://115.190.125.125:9000/banners/3.jpg', 1, 1, '2025-09-16 10:00:00', '2025-10-20 18:42:15');
INSERT INTO `courses` VALUES (25, '脱单指南', '社恐人士的恋爱突破课', '专业导师', '本课程将帮助您提升情感沟通能力，建立更好的亲密关系。', '', 199, 90, 4.8, 1987, 'http://115.190.125.125:9000/admin-images/images/8a9e418d-611d-4236-8d85-85f45517a71a.jpg', 1, 1, '2025-09-17 10:00:00', '2025-10-20 18:42:15');
INSERT INTO `courses` VALUES (26, '亲密关系', 'AAA', '123', 'hhh', '', 50, 50, 4.5, 0, 'http://115.190.125.125:9000/admin-images/images/ef75f6e4-8581-4668-93f5-3f809d8c975c.jpeg', 1, 1, '2025-10-21 09:30:53', NULL);

-- ----------------------------
-- Table structure for dynamic_comments
-- ----------------------------
DROP TABLE IF EXISTS `dynamic_comments`;
CREATE TABLE `dynamic_comments`  (
  `comment_id` int NOT NULL AUTO_INCREMENT,
  `dynamic_id` int NOT NULL,
  `user_id` int NOT NULL,
  `parent_comment_id` int NULL DEFAULT 0 COMMENT '父评论ID，0表示顶级评论',
  `content` text CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL COMMENT '评论内容',
  `image_urls` json NULL COMMENT '评论图片数组',
  `audit_status` tinyint NULL DEFAULT 0 COMMENT '0-待审核 1-审核通过 2-审核拒绝',
  `audit_remark` varchar(200) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL,
  `like_count` int NULL DEFAULT 0 COMMENT '评论点赞数',
  `reply_count` int NULL DEFAULT 0 COMMENT '回复数',
  `is_network_comment` tinyint(1) NULL DEFAULT 0 COMMENT '是否网络评论',
  `status` tinyint NULL DEFAULT 1 COMMENT '0-删除 1-正常',
  `created_at` datetime NULL DEFAULT CURRENT_TIMESTAMP,
  `updated_at` datetime NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  PRIMARY KEY (`comment_id`) USING BTREE,
  INDEX `idx_dynamic_id`(`dynamic_id` ASC) USING BTREE,
  INDEX `idx_user_id`(`user_id` ASC) USING BTREE,
  INDEX `idx_parent_id`(`parent_comment_id` ASC) USING BTREE,
  INDEX `idx_created_at`(`created_at` ASC) USING BTREE,
  CONSTRAINT `dynamic_comments_ibfk_1` FOREIGN KEY (`dynamic_id`) REFERENCES `user_dynamics` (`dynamic_id`) ON DELETE CASCADE ON UPDATE RESTRICT,
  CONSTRAINT `dynamic_comments_ibfk_2` FOREIGN KEY (`user_id`) REFERENCES `users` (`user_id`) ON DELETE CASCADE ON UPDATE RESTRICT
) ENGINE = InnoDB AUTO_INCREMENT = 91 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_0900_ai_ci COMMENT = '动态评论表' ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of dynamic_comments
-- ----------------------------
INSERT INTO `dynamic_comments` VALUES (1, 2, 1, 0, '1111', NULL, 1, NULL, 0, 0, 0, 1, '2025-10-14 08:56:57', NULL);
INSERT INTO `dynamic_comments` VALUES (2, 2, 1, 0, '11', NULL, 1, NULL, 0, 0, 0, 1, '2025-10-14 09:08:13', NULL);
INSERT INTO `dynamic_comments` VALUES (3, 2, 1, 0, '333\n', NULL, 1, NULL, 0, 0, 0, 1, '2025-10-14 09:08:51', NULL);
INSERT INTO `dynamic_comments` VALUES (4, 2, 1, 0, '333\n', NULL, 1, NULL, 0, 0, 0, 1, '2025-10-14 10:51:24', NULL);
INSERT INTO `dynamic_comments` VALUES (5, 7, 1, 0, '这就是', NULL, 1, NULL, 0, 0, 0, 1, '2025-10-14 11:28:47', NULL);
INSERT INTO `dynamic_comments` VALUES (6, 8, 1, 0, '太帅了！！！', '[\"http://115.190.125.125:9000/dynamic-comments/dynamics/b7250b65880c4c51a28e1b1c43230fd7.jpg?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=minioadmin%2F20251014%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20251014T055203Z&X-Amz-Expires=604800&X-Amz-SignedHeaders=host&X-Amz-Signature=5e0c10739c99126e4b0b8d51adc88b25f08e854cdaa24b531090667f0c896557\"]', 1, NULL, 0, 0, 0, 1, '2025-10-14 13:52:17', NULL);
INSERT INTO `dynamic_comments` VALUES (7, 8, 1, 0, '太帅了！！！', '[\"http://115.190.125.125:9000/dynamic-comments/dynamics/b7250b65880c4c51a28e1b1c43230fd7.jpg?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=minioadmin%2F20251014%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20251014T055203Z&X-Amz-Expires=604800&X-Amz-SignedHeaders=host&X-Amz-Signature=5e0c10739c99126e4b0b8d51adc88b25f08e854cdaa24b531090667f0c896557\"]', 1, NULL, 0, 0, 0, 1, '2025-10-14 13:52:17', NULL);
INSERT INTO `dynamic_comments` VALUES (8, 8, 1, 0, '呕', '[\"http://115.190.125.125:9000/dynamic-comments/dynamics/621b69c8296846b9af0e31159bd126ef.jpg?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=minioadmin%2F20251014%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20251014T064259Z&X-Amz-Expires=604800&X-Amz-SignedHeaders=host&X-Amz-Signature=7ee6e5300b46556d8fb06a50a9c246ba29b9405dfd5d5a5865841d78f751a237\"]', 1, NULL, 1, 0, 0, 1, '2025-10-14 14:43:16', '2025-10-14 14:43:44');
INSERT INTO `dynamic_comments` VALUES (9, 8, 1, 0, '3', '[\"http://115.190.125.125:9000/dynamic-comments/dynamics/ff91f622af2f4932add565170a4ecd8e.jpg?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=minioadmin%2F20251014%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20251014T064357Z&X-Amz-Expires=604800&X-Amz-SignedHeaders=host&X-Amz-Signature=ed0b56a91673e62b8e7f984a2f05a02646393aa4b9d72ef6a5feeaeadd32568d\"]', 1, NULL, 0, 0, 0, 1, '2025-10-14 14:44:05', NULL);
INSERT INTO `dynamic_comments` VALUES (10, 8, 1, 0, '2', NULL, 1, NULL, 0, 0, 0, 1, '2025-10-14 15:37:46', NULL);
INSERT INTO `dynamic_comments` VALUES (11, 8, 1, 0, '10', '[\"http://115.190.125.125:9000/dynamic-comments/dynamics/ce65dee7793c41e0826f2bfbeab6b8b4.jpg?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=minioadmin%2F20251014%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20251014T124629Z&X-Amz-Expires=604800&X-Amz-SignedHeaders=host&X-Amz-Signature=80e224f767390cd13bb6d99b7cf619b31f628ebdddd037311a847e94207d4863\"]', 1, NULL, 0, 0, 0, 1, '2025-10-14 20:46:33', NULL);
INSERT INTO `dynamic_comments` VALUES (12, 5, 1, 0, '1', NULL, 1, NULL, 0, 0, 0, 1, '2025-10-15 13:53:38', NULL);
INSERT INTO `dynamic_comments` VALUES (13, 6, 1, 0, '111', '[\"http://localhost:8082/media/dynamic_5b68b97b76884255a384774592bd9db4.jpg\"]', 1, NULL, 0, 0, 0, 1, '2025-10-17 13:50:00', NULL);
INSERT INTO `dynamic_comments` VALUES (14, 6, 1, 0, '111', '[\"http://localhost:8082/media/dynamic_5b68b97b76884255a384774592bd9db4.jpg\"]', 1, NULL, 0, 0, 0, 1, '2025-10-17 13:50:01', NULL);
INSERT INTO `dynamic_comments` VALUES (15, 6, 1, 0, '111', '[\"http://localhost:8082/media/dynamic_5b68b97b76884255a384774592bd9db4.jpg\"]', 1, NULL, 0, 0, 0, 1, '2025-10-17 13:50:03', NULL);
INSERT INTO `dynamic_comments` VALUES (16, 6, 1, 0, '111', '[\"http://localhost:8082/media/dynamic_5b68b97b76884255a384774592bd9db4.jpg\"]', 1, NULL, 0, 0, 0, 1, '2025-10-17 13:50:03', NULL);
INSERT INTO `dynamic_comments` VALUES (17, 6, 1, 0, '111', '[\"http://localhost:8082/media/dynamic_5b68b97b76884255a384774592bd9db4.jpg\"]', 1, NULL, 0, 0, 0, 1, '2025-10-17 13:50:04', NULL);
INSERT INTO `dynamic_comments` VALUES (18, 6, 1, 0, '111', '[\"http://localhost:8082/media/dynamic_5b68b97b76884255a384774592bd9db4.jpg\"]', 1, NULL, 0, 0, 0, 1, '2025-10-17 13:50:04', NULL);
INSERT INTO `dynamic_comments` VALUES (19, 6, 1, 0, '111', '[\"http://localhost:8082/media/dynamic_5b68b97b76884255a384774592bd9db4.jpg\"]', 1, NULL, 0, 0, 0, 1, '2025-10-17 13:51:00', NULL);
INSERT INTO `dynamic_comments` VALUES (20, 6, 1, 0, '111', '[\"http://localhost:8082/media/dynamic_5b68b97b76884255a384774592bd9db4.jpg\"]', 1, NULL, 0, 0, 0, 1, '2025-10-17 13:51:01', NULL);
INSERT INTO `dynamic_comments` VALUES (21, 6, 1, 0, '111', '[\"http://localhost:8082/media/dynamic_5b68b97b76884255a384774592bd9db4.jpg\"]', 1, NULL, 0, 0, 0, 1, '2025-10-17 13:51:03', NULL);
INSERT INTO `dynamic_comments` VALUES (22, 6, 1, 0, '111', '[\"http://localhost:8082/media/dynamic_5b68b97b76884255a384774592bd9db4.jpg\"]', 1, NULL, 0, 0, 0, 1, '2025-10-17 13:51:03', NULL);
INSERT INTO `dynamic_comments` VALUES (23, 6, 1, 0, '111', '[\"http://localhost:8082/media/dynamic_5b68b97b76884255a384774592bd9db4.jpg\"]', 1, NULL, 0, 0, 0, 1, '2025-10-17 13:51:04', NULL);
INSERT INTO `dynamic_comments` VALUES (24, 6, 1, 0, '111', '[\"http://localhost:8082/media/dynamic_5b68b97b76884255a384774592bd9db4.jpg\"]', 1, NULL, 0, 0, 0, 1, '2025-10-17 13:51:04', NULL);
INSERT INTO `dynamic_comments` VALUES (25, 6, 1, 0, '111', '[\"http://localhost:8082/media/dynamic_5b68b97b76884255a384774592bd9db4.jpg\"]', 1, NULL, 0, 0, 0, 1, '2025-10-17 13:51:06', NULL);
INSERT INTO `dynamic_comments` VALUES (26, 6, 1, 0, '111', '[\"http://localhost:8082/media/dynamic_5b68b97b76884255a384774592bd9db4.jpg\"]', 1, NULL, 0, 0, 0, 1, '2025-10-17 13:51:07', NULL);
INSERT INTO `dynamic_comments` VALUES (27, 6, 1, 0, '111', '[\"http://localhost:8082/media/dynamic_5b68b97b76884255a384774592bd9db4.jpg\"]', 1, NULL, 0, 0, 0, 1, '2025-10-17 13:51:07', NULL);
INSERT INTO `dynamic_comments` VALUES (28, 6, 1, 0, '111', '[\"http://localhost:8082/media/dynamic_5b68b97b76884255a384774592bd9db4.jpg\"]', 1, NULL, 0, 0, 0, 1, '2025-10-17 13:51:08', NULL);
INSERT INTO `dynamic_comments` VALUES (29, 6, 1, 0, '111', '[\"http://localhost:8082/media/dynamic_5b68b97b76884255a384774592bd9db4.jpg\"]', 1, NULL, 0, 0, 0, 1, '2025-10-17 13:52:00', NULL);
INSERT INTO `dynamic_comments` VALUES (30, 6, 1, 0, '111', '[\"http://localhost:8082/media/dynamic_5b68b97b76884255a384774592bd9db4.jpg\"]', 1, NULL, 0, 0, 0, 1, '2025-10-17 13:52:01', NULL);
INSERT INTO `dynamic_comments` VALUES (68, 12, 1, 0, '我们组长是这个', '[\"http://localhost:8082/media/dynamic_764a7ac6a21c4fa291eacb766242bed5.png\"]', 1, NULL, 0, 0, 0, 1, '2025-10-17 16:41:07', NULL);
INSERT INTO `dynamic_comments` VALUES (69, 12, 1, 0, '我们组长是这个', '[\"http://localhost:8082/media/dynamic_764a7ac6a21c4fa291eacb766242bed5.png\"]', 1, NULL, 0, 0, 0, 1, '2025-10-17 16:41:08', NULL);
INSERT INTO `dynamic_comments` VALUES (70, 12, 1, 0, '我们组长是这个', '[\"http://localhost:8082/media/dynamic_764a7ac6a21c4fa291eacb766242bed5.png\"]', 1, NULL, 0, 0, 0, 1, '2025-10-17 16:41:09', NULL);
INSERT INTO `dynamic_comments` VALUES (71, 12, 1, 0, '我们组长是这个', '[\"http://localhost:8082/media/dynamic_764a7ac6a21c4fa291eacb766242bed5.png\"]', 1, NULL, 0, 0, 0, 1, '2025-10-17 16:41:09', NULL);
INSERT INTO `dynamic_comments` VALUES (72, 12, 1, 0, '我们组长是这个', '[\"http://localhost:8082/media/dynamic_764a7ac6a21c4fa291eacb766242bed5.png\"]', 1, NULL, 0, 0, 0, 1, '2025-10-17 16:41:09', NULL);
INSERT INTO `dynamic_comments` VALUES (73, 12, 1, 0, '我们组长是这个', '[\"http://localhost:8082/media/dynamic_764a7ac6a21c4fa291eacb766242bed5.png\"]', 1, NULL, 0, 0, 0, 1, '2025-10-17 16:41:10', NULL);
INSERT INTO `dynamic_comments` VALUES (74, 12, 1, 0, '我们组长是这个', '[\"http://localhost:8082/media/dynamic_764a7ac6a21c4fa291eacb766242bed5.png\"]', 1, NULL, 0, 0, 0, 1, '2025-10-17 16:42:07', NULL);
INSERT INTO `dynamic_comments` VALUES (75, 12, 1, 0, '我们组长是这个', '[\"http://localhost:8082/media/dynamic_764a7ac6a21c4fa291eacb766242bed5.png\"]', 1, NULL, 0, 0, 0, 1, '2025-10-17 16:42:08', NULL);
INSERT INTO `dynamic_comments` VALUES (76, 12, 1, 0, '我们组长是这个', '[\"http://localhost:8082/media/dynamic_764a7ac6a21c4fa291eacb766242bed5.png\"]', 1, NULL, 0, 0, 0, 1, '2025-10-17 16:42:09', NULL);
INSERT INTO `dynamic_comments` VALUES (77, 12, 1, 0, '我们组长是这个', '[\"http://localhost:8082/media/dynamic_764a7ac6a21c4fa291eacb766242bed5.png\"]', 1, NULL, 0, 0, 0, 1, '2025-10-17 16:42:09', NULL);
INSERT INTO `dynamic_comments` VALUES (78, 12, 1, 0, '这就是我们组长', '[\"http://localhost:8082/media/dynamic_1f6f82cd413e434a82dae645a43a6832.png\"]', 1, NULL, 1, 0, 0, 1, '2025-10-17 16:47:18', '2025-10-18 09:54:53');
INSERT INTO `dynamic_comments` VALUES (79, 12, 1, 0, '这就是我们组长', '[\"http://localhost:8082/media/dynamic_1f6f82cd413e434a82dae645a43a6832.png\"]', 1, NULL, 0, 0, 0, 1, '2025-10-17 16:47:19', NULL);
INSERT INTO `dynamic_comments` VALUES (80, 12, 1, 0, '这就是我们组长', '[\"http://localhost:8082/media/dynamic_1f6f82cd413e434a82dae645a43a6832.png\"]', 1, NULL, 0, 0, 0, 1, '2025-10-17 16:47:19', NULL);
INSERT INTO `dynamic_comments` VALUES (81, 12, 1, 0, '这就是我们组长', '[\"http://localhost:8082/media/dynamic_1f6f82cd413e434a82dae645a43a6832.png\"]', 1, NULL, 0, 0, 0, 1, '2025-10-17 16:47:20', NULL);
INSERT INTO `dynamic_comments` VALUES (82, 12, 1, 0, '这就是我们组长', '[\"http://localhost:8082/media/dynamic_1f6f82cd413e434a82dae645a43a6832.png\"]', 1, NULL, 0, 0, 0, 1, '2025-10-17 16:47:24', NULL);
INSERT INTO `dynamic_comments` VALUES (83, 12, 1, 0, '这就是我们组长', '[\"http://localhost:8082/media/dynamic_1f6f82cd413e434a82dae645a43a6832.png\"]', 1, NULL, 0, 0, 0, 1, '2025-10-17 16:47:25', NULL);
INSERT INTO `dynamic_comments` VALUES (84, 12, 1, 0, '这就是我们组长', '[\"http://localhost:8082/media/dynamic_1f6f82cd413e434a82dae645a43a6832.png\"]', 1, NULL, 0, 0, 0, 1, '2025-10-17 16:48:18', NULL);
INSERT INTO `dynamic_comments` VALUES (85, 12, 1, 0, '这就是我们组长', '[\"http://localhost:8082/media/dynamic_1f6f82cd413e434a82dae645a43a6832.png\"]', 1, NULL, 0, 0, 0, 1, '2025-10-17 16:48:19', NULL);
INSERT INTO `dynamic_comments` VALUES (86, 12, 1, 0, '这就是我们组长', '[\"http://localhost:8082/media/dynamic_1f6f82cd413e434a82dae645a43a6832.png\"]', 1, NULL, 0, 0, 0, 1, '2025-10-17 16:48:19', NULL);
INSERT INTO `dynamic_comments` VALUES (87, 12, 1, 0, '1', '[\"http://115.190.125.125:9000/dynamic/6532e99d-61ce-480b-accf-b7b698402387-VzXS78poFBV66892d2d15f82f38bb287d8f9f29265f3.jpg\"]', 0, NULL, 1, 0, 0, 1, '2025-10-17 18:38:19', '2025-10-18 09:55:29');
INSERT INTO `dynamic_comments` VALUES (88, 11, 1, 0, '111', NULL, 0, NULL, 0, 0, 0, 1, '2025-10-18 11:27:32', '2025-10-18 11:27:32');
INSERT INTO `dynamic_comments` VALUES (89, 11, 1, 0, '2', '[\"https://your-domain.com/minio/dynamic/c1a57234-68ef-4a13-a913-b834a45124ad-cnX39HbxSHQ2d0310c193801ed66a8de63e1498609ea.jpeg\"]', 0, NULL, 0, 0, 0, 1, '2025-10-18 11:27:45', '2025-10-18 11:27:45');
INSERT INTO `dynamic_comments` VALUES (90, 5, 1, 0, '333', NULL, 0, NULL, 0, 0, 0, 1, '2025-10-18 11:45:47', '2025-10-18 11:45:47');

-- ----------------------------
-- Table structure for dynamic_favorites
-- ----------------------------
DROP TABLE IF EXISTS `dynamic_favorites`;
CREATE TABLE `dynamic_favorites`  (
  `id` int NOT NULL AUTO_INCREMENT,
  `dynamic_id` int NOT NULL,
  `user_id` int NOT NULL,
  `created_at` datetime NULL DEFAULT CURRENT_TIMESTAMP,
  PRIMARY KEY (`id`) USING BTREE,
  UNIQUE INDEX `uk_dynamic_user`(`dynamic_id` ASC, `user_id` ASC) USING BTREE,
  INDEX `idx_user_id`(`user_id` ASC) USING BTREE,
  CONSTRAINT `dynamic_favorites_ibfk_1` FOREIGN KEY (`dynamic_id`) REFERENCES `user_dynamics` (`dynamic_id`) ON DELETE CASCADE ON UPDATE RESTRICT,
  CONSTRAINT `dynamic_favorites_ibfk_2` FOREIGN KEY (`user_id`) REFERENCES `users` (`user_id`) ON DELETE CASCADE ON UPDATE RESTRICT
) ENGINE = InnoDB AUTO_INCREMENT = 36 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_0900_ai_ci COMMENT = '动态收藏表' ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of dynamic_favorites
-- ----------------------------
INSERT INTO `dynamic_favorites` VALUES (3, 2, 1, '2025-10-14 09:10:30');
INSERT INTO `dynamic_favorites` VALUES (7, 10, 1, '2025-10-16 16:39:28');
INSERT INTO `dynamic_favorites` VALUES (26, 12, 1, '2025-10-17 18:37:28');
INSERT INTO `dynamic_favorites` VALUES (33, 11, 1, '2025-10-18 09:38:26');

-- ----------------------------
-- Table structure for dynamic_likes
-- ----------------------------
DROP TABLE IF EXISTS `dynamic_likes`;
CREATE TABLE `dynamic_likes`  (
  `id` int NOT NULL AUTO_INCREMENT,
  `dynamic_id` int NOT NULL,
  `user_id` int NOT NULL,
  `created_at` datetime NULL DEFAULT CURRENT_TIMESTAMP,
  PRIMARY KEY (`id`) USING BTREE,
  UNIQUE INDEX `uk_dynamic_user`(`dynamic_id` ASC, `user_id` ASC) USING BTREE,
  INDEX `idx_user_id`(`user_id` ASC) USING BTREE,
  CONSTRAINT `dynamic_likes_ibfk_1` FOREIGN KEY (`dynamic_id`) REFERENCES `user_dynamics` (`dynamic_id`) ON DELETE CASCADE ON UPDATE RESTRICT,
  CONSTRAINT `dynamic_likes_ibfk_2` FOREIGN KEY (`user_id`) REFERENCES `users` (`user_id`) ON DELETE CASCADE ON UPDATE RESTRICT
) ENGINE = InnoDB AUTO_INCREMENT = 49 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_0900_ai_ci COMMENT = '动态点赞表' ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of dynamic_likes
-- ----------------------------
INSERT INTO `dynamic_likes` VALUES (25, 7, 1, '2025-10-17 13:47:03');
INSERT INTO `dynamic_likes` VALUES (29, 11, 1, NULL);
INSERT INTO `dynamic_likes` VALUES (30, 5, 1, NULL);

-- ----------------------------
-- Table structure for dynamic_reports
-- ----------------------------
DROP TABLE IF EXISTS `dynamic_reports`;
CREATE TABLE `dynamic_reports`  (
  `report_id` bigint NOT NULL AUTO_INCREMENT COMMENT '举报ID',
  `dynamic_id` bigint NOT NULL COMMENT '被举报的动态ID',
  `reporter_id` bigint NOT NULL COMMENT '举报人用户ID',
  `report_type` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL COMMENT '举报原因类型：spam-垃圾广告，porn-色情低俗，violence-暴力违法，attack-人身攻击，fake-虚假信息，plagiarism-抄袭侵权，other-其他',
  `description` text CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL COMMENT '详细描述',
  `screenshots` text CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL COMMENT '举报截图URL，多张以逗号分隔',
  `contact` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '联系方式',
  `status` tinyint(1) NOT NULL DEFAULT 0 COMMENT '处理状态：0-待处理，1-处理中，2-已处理，3-已驳回',
  `handle_result` text CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL COMMENT '处理结果说明',
  `handler_id` bigint NULL DEFAULT NULL COMMENT '处理人ID',
  `handle_time` datetime NULL DEFAULT NULL COMMENT '处理时间',
  `created_at` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
  `updated_at` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '更新时间',
  `deleted` tinyint(1) NOT NULL DEFAULT 0 COMMENT '逻辑删除：0-未删除，1-已删除',
  PRIMARY KEY (`report_id`) USING BTREE,
  INDEX `idx_dynamic_id`(`dynamic_id` ASC) USING BTREE,
  INDEX `idx_reporter_id`(`reporter_id` ASC) USING BTREE,
  INDEX `idx_status`(`status` ASC) USING BTREE,
  INDEX `idx_created_at`(`created_at` ASC) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_0900_ai_ci COMMENT = '动态举报表' ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of dynamic_reports
-- ----------------------------

-- ----------------------------
-- Table structure for gold_bean_transactions
-- ----------------------------
DROP TABLE IF EXISTS `gold_bean_transactions`;
CREATE TABLE `gold_bean_transactions`  (
  `id` int NOT NULL AUTO_INCREMENT,
  `matchmaker_id` int NOT NULL,
  `amount` int NOT NULL COMMENT '正收入，负支出',
  `tx_type` tinyint NOT NULL COMMENT '1-上传嘉宾 2-邀请注册',
  `related_user_id` int NULL DEFAULT NULL COMMENT '邀请用户ID',
  `description` varchar(200) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL,
  `created_at` datetime NULL DEFAULT CURRENT_TIMESTAMP,
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `matchmaker_id`(`matchmaker_id` ASC) USING BTREE,
  CONSTRAINT `gold_bean_transactions_ibfk_1` FOREIGN KEY (`matchmaker_id`) REFERENCES `matchmakers` (`matchmaker_id`) ON DELETE RESTRICT ON UPDATE RESTRICT
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_0900_ai_ci ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of gold_bean_transactions
-- ----------------------------

-- ----------------------------
-- Table structure for home_banner
-- ----------------------------
DROP TABLE IF EXISTS `home_banner`;
CREATE TABLE `home_banner`  (
  `banner_id` int NOT NULL AUTO_INCREMENT COMMENT '轮播图ID',
  `title` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL COMMENT '标题',
  `subtitle` varchar(200) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '副标题',
  `image_url` varchar(6000) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL COMMENT '图片地址',
  `banner_type` tinyint NOT NULL COMMENT '类型：1-活动 2-课程 3-成功案例 4-外部链接',
  `target_id` int NULL DEFAULT NULL COMMENT '关联ID（活动ID、课程ID、案例ID）',
  `link_url` varchar(500) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '跳转链接（外部链接使用）',
  `sort_order` int NOT NULL DEFAULT 0 COMMENT '排序（数字越小越靠前）',
  `status` tinyint NOT NULL DEFAULT 1 COMMENT '状态：0-禁用 1-启用',
  `start_time` datetime NULL DEFAULT NULL COMMENT '开始展示时间',
  `end_time` datetime NULL DEFAULT NULL COMMENT '结束展示时间',
  `created_at` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
  `updated_at` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '更新时间',
  PRIMARY KEY (`banner_id`) USING BTREE,
  INDEX `idx_status_sort`(`status` ASC, `sort_order` ASC) USING BTREE,
  INDEX `idx_type`(`banner_type` ASC) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 8 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_0900_ai_ci COMMENT = '首页轮播图' ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of home_banner
-- ----------------------------
INSERT INTO `home_banner` VALUES (1, '七夕单身派对', '仅剩5席，快来报名！', 'http://115.190.125.125:9000/banners/1.jpg', 1, 1, NULL, 10, 1, '2025-10-01 00:00:00', '2025-12-31 23:59:59', '2025-10-13 09:25:33', '2025-10-13 10:09:50');
INSERT INTO `home_banner` VALUES (2, '周末咖啡社交', '遇见对的人，从一杯咖啡开始', 'http://115.190.125.125:9000/banners/2.jpg', 1, 2, NULL, 20, 1, '2025-10-01 00:00:00', '2025-12-31 23:59:59', '2025-10-13 09:25:33', '2025-10-13 10:10:03');
INSERT INTO `home_banner` VALUES (3, '情感沟通课', '限时5折，提升你的情感沟通技巧', 'http://115.190.125.125:9000/banners/3.jpg', 2, 1, NULL, 30, 1, '2025-10-01 00:00:00', '2025-12-31 23:59:59', '2025-10-13 09:25:33', '2025-10-13 10:10:07');
INSERT INTO `home_banner` VALUES (4, '约会技巧提升班', '让你的每次约会都成功', 'http://115.190.125.125:9000/admin-images/images/c75e67c4-95d2-418c-bb39-445d748a90f0.jpg', 2, 2, NULL, 40, 1, '2025-10-01 00:00:00', '2025-12-31 23:59:59', '2025-10-13 09:25:33', '2025-10-18 15:13:26');
INSERT INTO `home_banner` VALUES (5, '他们通过我们结婚了！', '查看更多成功案例，让爱情成为可能', 'http://115.190.125.125:9000/banners/5.jpg', 3, 1, NULL, 50, 1, '2025-10-01 00:00:00', '2025-12-31 23:59:59', '2025-10-13 09:25:33', '2025-10-13 10:10:25');
INSERT INTO `home_banner` VALUES (6, '专业红娘1对1服务', '限时8折优惠，帮你找到对的人', 'http://115.190.125.125:9000/banners/6.jpg', 4, NULL, NULL, 60, 1, '2025-10-01 00:00:00', '2025-12-31 23:59:59', '2025-10-13 09:25:33', '2025-10-13 10:10:30');
INSERT INTO `home_banner` VALUES (7, '孙杉杉是傻', 'hhh', 'http://115.190.125.125:9000/admin-images/images/5b6f0db9-7928-4d0c-8ece-240ee4d95c6a.jpg', 1, 1, '', 0, 1, '2025-10-18 00:00:00', '2025-11-14 00:00:00', '2025-10-18 15:12:33', '2025-10-18 15:12:33');

-- ----------------------------
-- Table structure for marriage_activity_order
-- ----------------------------
DROP TABLE IF EXISTS `marriage_activity_order`;
CREATE TABLE `marriage_activity_order`  (
  `order_id` int NOT NULL AUTO_INCREMENT COMMENT '订单ID',
  `order_no` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL COMMENT '订单编号(唯一)',
  `user_id` int UNSIGNED NOT NULL COMMENT '用户ID',
  `user_name` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL COMMENT '用户姓名',
  `user_phone` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL COMMENT '用户手机号',
  `activity_id` int UNSIGNED NOT NULL COMMENT '活动ID',
  `activity_name` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL COMMENT '活动名称',
  `activity_time` datetime NOT NULL COMMENT '活动时间',
  `activity_address` varchar(200) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL COMMENT '活动地点',
  `ticket_price` decimal(10, 2) NOT NULL COMMENT '单价(元)',
  `quantity` int UNSIGNED NOT NULL DEFAULT 1 COMMENT '购买数量',
  `total_amount` decimal(10, 2) NOT NULL COMMENT '订单总金额(元)',
  `payment_status` tinyint NOT NULL DEFAULT 0 COMMENT '支付状态(0=待支付,1=已支付,2=退款中,3=已退款)',
  `payment_method` varchar(30) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '支付方式(微信/支付宝/银行卡)',
  `payment_time` datetime NULL DEFAULT NULL COMMENT '支付时间',
  `transaction_id` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '第三方支付流水号',
  `order_status` tinyint NOT NULL DEFAULT 0 COMMENT '订单状态(0=待支付,1=已支付,2=已取消,3=已完成,4=已退款,5=已失效)',
  `remark` varchar(500) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '备注',
  `created_at` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
  `updated_at` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '更新时间',
  PRIMARY KEY (`order_id`) USING BTREE,
  UNIQUE INDEX `idx_order_no`(`order_no` ASC) USING BTREE,
  INDEX `idx_user_id`(`user_id` ASC) USING BTREE,
  INDEX `idx_activity_id`(`activity_id` ASC) USING BTREE,
  INDEX `idx_order_status`(`order_status` ASC) USING BTREE,
  INDEX `idx_payment_status`(`payment_status` ASC) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_0900_ai_ci COMMENT = '婚恋活动订单表' ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of marriage_activity_order
-- ----------------------------

-- ----------------------------
-- Table structure for matchmakers
-- ----------------------------
DROP TABLE IF EXISTS `matchmakers`;
CREATE TABLE `matchmakers`  (
  `matchmaker_id` int NOT NULL AUTO_INCREMENT COMMENT '红娘ID',
  `username` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL COMMENT '红娘登录账号',
  `password` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL COMMENT '密码（bcrypt）',
  `phone` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL COMMENT '手机号',
  `email` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '邮箱',
  `real_name` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL COMMENT '真实姓名',
  `gender` tinyint NOT NULL COMMENT '1-男 2-女',
  `birth_date` date NULL DEFAULT NULL COMMENT '出生日期',
  `avatar_url` varchar(5000) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT '',
  `matchmaker_type` tinyint NOT NULL COMMENT '1-兼职 2-全职',
  `level` tinyint NULL DEFAULT 1 COMMENT '1-青铜 2-白银 3-黄金 4-铂金 5-钻石',
  `success_couples` int NULL DEFAULT 0 COMMENT '成功撮合对数',
  `province_id` int NULL DEFAULT NULL,
  `city_id` int NULL DEFAULT NULL,
  `area_id` int NULL DEFAULT NULL,
  `address_detail` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '详细地址',
  `profile` text CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL COMMENT '个人简介',
  `status` tinyint NULL DEFAULT 1 COMMENT '0-禁用 1-正常 2-离职',
  `consent_to_collect` tinyint(1) NOT NULL DEFAULT 0 COMMENT '是否同意收集信息',
  `created_at` datetime NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
  `updated_at` datetime NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '更新时间',
  `last_login_at` datetime NULL DEFAULT NULL COMMENT '最后登录时间',
  PRIMARY KEY (`matchmaker_id`) USING BTREE,
  UNIQUE INDEX `username`(`username` ASC) USING BTREE,
  UNIQUE INDEX `phone`(`phone` ASC) USING BTREE,
  UNIQUE INDEX `email`(`email` ASC) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 12 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_0900_ai_ci COMMENT = '红娘主表（兼职+全职）' ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of matchmakers
-- ----------------------------
INSERT INTO `matchmakers` VALUES (1, 'matchmaker001', '$2a$10$N9qo8uLOickgx2ZMRZoMyeIjZAgcfl7p92ldGxad68LJZdL17lhWy', '13900139001', 'mm1@hunlian.com', '李红娘', 2, '1985-03-10', '红娘1.jpg', 2, 4, 128, NULL, 110100, 110105, NULL, '专注高端婚恋匹配，5年经验', 1, 1, '2025-10-12 10:37:47', '2025-10-14 16:51:47', NULL);
INSERT INTO `matchmakers` VALUES (2, 'matchmaker002', '$2a$10$N9qo8uLOickgx2ZMRZoMyeIjZAgcfl7p92ldGxad68LJZdL17lhWy', '13900139002', 'mm2@hunlian.com', '王月', 2, '1988-11-25', '红娘2.jpg', 1, 2, 45, NULL, 310100, 310106, NULL, '擅长年轻人情感沟通', 1, 1, '2025-10-12 10:37:47', '2025-10-14 18:14:22', NULL);
INSERT INTO `matchmakers` VALUES (3, 'zhanghongniang', '$2a$10$abcdefghijklmnopqrstuvwxyz1234567890', '13812345678', 'zhang@example.com', '张红娘', 2, '1985-05-15', '红娘3.jpg', 2, 5, 128, 330000, 330100, 330102, '西湖区文一西路XXX号', '从业15年的资深红娘，擅长高端婚恋匹配，成功撮合上百对新人。对情感咨询和婚姻指导有独到见解，深受客户信赖。具有国家二级心理咨询师和高级婚姻家庭咨询师资格，服务过的客户遍布全国各地。', 1, 1, '2025-10-12 14:16:57', '2025-10-14 18:14:25', NULL);
INSERT INTO `matchmakers` VALUES (4, 'liteacher', '$2a$10$abcdefghijklmnopqrstuvwxyz1234567890', '13987654321', 'li@example.com', '李老师', 2, '1990-08-20', '红娘4.jpg', 2, 4, 86, 330000, 330100, 330105, '拱墅区莫干山路XXX号', '专注于80后、90后婚恋服务8年，善于沟通，理解年轻人的婚恋观，成功率高达85%。耐心细致，为每一位客户量身定制婚恋方案。擅长情感沟通、性格分析和职业匹配。', 1, 1, '2025-10-12 14:16:57', '2025-10-14 18:14:29', NULL);
INSERT INTO `matchmakers` VALUES (5, 'wangguwen', '$2a$10$abcdefghijklmnopqrstuvwxyz1234567890', '13666666666', 'wang@example.com', '王顾问', 1, '1982-03-10', '红娘5.jpg', 2, 4, 72, 330000, 330100, 330106, '滨江区江南大道XXX号', '擅长解决婚恋中的各种疑难问题，包括长期单身、二婚、异地恋等。用心服务每一位客户，口碑极佳。拥有10年婚恋服务经验，服务过的客户满意度达95%以上。', 1, 1, '2025-10-12 14:16:57', '2025-10-14 18:14:29', NULL);
INSERT INTO `matchmakers` VALUES (6, 'liujie', '$2a$10$abcdefghijklmnopqrstuvwxyz1234567890', '13555555555', 'liu@example.com', '刘姐', 2, '1988-11-25', '红娘6.jpeg', 1, 3, 45, 330000, 330100, 330108, '余杭区文一西路XXX号', '温柔耐心的红娘，擅长倾听，能准确把握客户需求。5年婚恋服务经验，成功案例丰富。特别擅长为内向型客户提供服务，帮助他们建立自信。', 1, 1, '2025-10-12 14:16:57', '2025-10-14 18:14:29', NULL);
INSERT INTO `matchmakers` VALUES (7, 'chenteacher', '$2a$10$abcdefghijklmnopqrstuvwxyz1234567890', '13444444444', 'chen@example.com', '陈老师', 1, '1992-06-18', 'http://115.190.125.125:9000/matchmakers/%E7%BA%A2%E5%A8%98/%E7%BA%A2%E5%A8%987.jpg?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=minioadmin%2F20251020%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20251020T102121Z&X-Amz-Expires=604800&X-Amz-SignedHeaders=host&X-Amz-Signature=d64ae8e848e0da0a35843c2995a35a319dc05435f4ba7a05ced7235e48bc6e09', 1, 2, 38, 330000, 330100, 330110, '萧山区市心路XXX号', '年轻活力的红娘，了解当代年轻人的交友习惯和婚恋需求，善于运用新媒体工具帮助客户。工作认真负责，深受年轻客户喜爱。', 1, 1, '2025-10-12 14:16:57', '2025-10-20 18:21:33', NULL);
INSERT INTO `matchmakers` VALUES (8, 'zhaohongniang', '$2a$10$abcdefghijklmnopqrstuvwxyz1234567890', '13333333333', 'zhao@example.com', '赵红娘', 2, '1980-01-08', 'http://115.190.125.125:9000/admin-images/images/2175b070-38f6-4244-b610-e40400dba4a3.jpg', 2, 5, 156, 330000, 330100, 330102, '西湖区天目山路XXX号', '从业20年的金牌红娘，服务过上千位客户，成功率90%以上。经验丰富，人脉广泛，资源优质。拥有国家一级心理咨询师、资深婚姻家庭咨询师等多项资格证书。', 1, 1, '2025-10-12 14:16:57', '2025-10-20 18:21:00', NULL);
INSERT INTO `matchmakers` VALUES (9, 'sunhongniang', '$2a$10$abcdefghijklmnopqrstuvwxyz1234567890', '13222222222', 'sun@example.com', '孙红娘', 2, '1987-09-12', 'http://115.190.125.125:9000/admin-images/images/fa5898f9-9224-4ed2-ad0b-9a5f7359f867.jpg', 2, 3, 58, 110000, 110100, 110101, '东城区王府井大街XXX号', '北京地区资深红娘，专注于高学历、高收入群体的婚恋服务。注重品质和效率，为客户提供精准匹配服务。', 1, 1, '2025-10-12 14:16:57', '2025-10-20 18:21:15', NULL);
INSERT INTO `matchmakers` VALUES (10, 'zhouhongniang', '$2a$10$abcdefghijklmnopqrstuvwxyz1234567890', '13111111111', 'zhou@example.com', '周红娘', 1, '1989-04-22', 'http://115.190.125.125:9000/admin-images/images/a37fa6d1-ad56-4d4c-bc1f-aaa6e7bdf625.jpg', 1, 2, 32, 310000, 310100, 310101, '黄浦区南京东路XXX号', '上海地区兼职红娘，擅长为都市白领提供婚恋服务。了解大城市年轻人的生活节奏和婚恋观念，提供个性化服务。', 1, 1, '2025-10-12 14:16:57', '2025-10-20 18:21:52', NULL);
INSERT INTO `matchmakers` VALUES (11, '13999657852', '123456', '13999657852', NULL, '赵大娘', 2, '1995-10-18', 'http://115.190.125.125:9000/admin-images/images/8e749151-d25d-4528-a079-562dba48305a.webp', 2, 1, 0, NULL, NULL, NULL, NULL, '资深级红娘，保障您的红鸾星', 1, 0, '2025-10-20 18:27:32', '2025-10-20 18:27:32', NULL);

-- ----------------------------
-- Table structure for orders
-- ----------------------------
DROP TABLE IF EXISTS `orders`;
CREATE TABLE `orders`  (
  `order_id` int NOT NULL AUTO_INCREMENT,
  `user_id` int NOT NULL,
  `matchmaker_id` int NOT NULL,
  `package_level` tinyint NOT NULL COMMENT '1-青铜 2-白银 3-黄金 4-钻石 5-VIP',
  `matches_quota` int NOT NULL COMMENT '可推荐人数（如20）',
  `price` decimal(10, 2) NOT NULL,
  `status` tinyint NULL DEFAULT 1 COMMENT '1-待支付 2-已支付 3-已取消',
  `paid_at` datetime NULL DEFAULT NULL COMMENT '支付时间',
  `expired_at` datetime NOT NULL COMMENT '过期时间',
  `created_at` datetime NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
  PRIMARY KEY (`order_id`) USING BTREE,
  INDEX `user_id`(`user_id` ASC) USING BTREE,
  INDEX `matchmaker_id`(`matchmaker_id` ASC) USING BTREE,
  CONSTRAINT `orders_ibfk_1` FOREIGN KEY (`user_id`) REFERENCES `users` (`user_id`) ON DELETE RESTRICT ON UPDATE RESTRICT,
  CONSTRAINT `orders_ibfk_2` FOREIGN KEY (`matchmaker_id`) REFERENCES `matchmakers` (`matchmaker_id`) ON DELETE RESTRICT ON UPDATE RESTRICT
) ENGINE = InnoDB AUTO_INCREMENT = 3 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_0900_ai_ci ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of orders
-- ----------------------------
INSERT INTO `orders` VALUES (1, 1, 1, 3, 20, 2999.00, 2, '2025-06-01 10:30:00', '2026-06-01 10:30:00', '2025-10-12 10:39:07');
INSERT INTO `orders` VALUES (2, 2, 2, 2, 10, 1599.00, 2, '2025-06-10 14:20:00', '2026-06-10 14:20:00', '2025-10-12 10:39:07');

-- ----------------------------
-- Table structure for province
-- ----------------------------
DROP TABLE IF EXISTS `province`;
CREATE TABLE `province`  (
  `id` int NOT NULL,
  `name` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL,
  PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_0900_ai_ci ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of province
-- ----------------------------
INSERT INTO `province` VALUES (110000, '北京市');
INSERT INTO `province` VALUES (120000, '天津市');
INSERT INTO `province` VALUES (130000, '河北省');
INSERT INTO `province` VALUES (140000, '山西省');
INSERT INTO `province` VALUES (150000, '内蒙古自治区');
INSERT INTO `province` VALUES (210000, '辽宁省');
INSERT INTO `province` VALUES (220000, '吉林省');
INSERT INTO `province` VALUES (230000, '黑龙江省');
INSERT INTO `province` VALUES (310000, '上海市');
INSERT INTO `province` VALUES (320000, '江苏省');
INSERT INTO `province` VALUES (330000, '浙江省');
INSERT INTO `province` VALUES (340000, '安徽省');
INSERT INTO `province` VALUES (350000, '福建省');
INSERT INTO `province` VALUES (360000, '江西省');
INSERT INTO `province` VALUES (370000, '山东省');
INSERT INTO `province` VALUES (410000, '河南省');
INSERT INTO `province` VALUES (420000, '湖北省');
INSERT INTO `province` VALUES (430000, '湖南省');
INSERT INTO `province` VALUES (440000, '广东省');
INSERT INTO `province` VALUES (450000, '广西壮族自治区');
INSERT INTO `province` VALUES (460000, '海南省');
INSERT INTO `province` VALUES (500000, '重庆市');
INSERT INTO `province` VALUES (510000, '四川省');
INSERT INTO `province` VALUES (520000, '贵州省');
INSERT INTO `province` VALUES (530000, '云南省');
INSERT INTO `province` VALUES (540000, '西藏自治区');
INSERT INTO `province` VALUES (610000, '陕西省');
INSERT INTO `province` VALUES (620000, '甘肃省');
INSERT INTO `province` VALUES (630000, '青海省');
INSERT INTO `province` VALUES (640000, '宁夏回族自治区');
INSERT INTO `province` VALUES (650000, '新疆维吾尔自治区');
INSERT INTO `province` VALUES (710000, '台湾省');
INSERT INTO `province` VALUES (810000, '香港特别行政区');
INSERT INTO `province` VALUES (820000, '澳门特别行政区');

-- ----------------------------
-- Table structure for success_case
-- ----------------------------
DROP TABLE IF EXISTS `success_case`;
CREATE TABLE `success_case`  (
  `case_id` int UNSIGNED NOT NULL AUTO_INCREMENT COMMENT '案例ID',
  `case_no` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL COMMENT '案例编号',
  `male_user_nickname` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL COMMENT '男方昵称（脱敏）',
  `female_user_nickname` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL COMMENT '女方昵称（脱敏）',
  `case_status` tinyint NOT NULL DEFAULT 1 COMMENT '案例状态：1-展示中，0-隐藏',
  `quote` varchar(200) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '案例引言/金句',
  `story` text CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL COMMENT '案例故事',
  `marriage_date` date NULL DEFAULT NULL COMMENT '结婚日期',
  `matchmaker_name` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '红娘姓名',
  `created_at` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
  PRIMARY KEY (`case_id`) USING BTREE,
  UNIQUE INDEX `case_no`(`case_no` ASC) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 7 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_0900_ai_ci COMMENT = '成功案例主表' ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of success_case
-- ----------------------------
INSERT INTO `success_case` VALUES (1, 'SC202501001', '张先生', '李女士', 1, '从第一次咖啡约会到领证，只用了90天', '张先生是一名IT工程师，李女士是幼儿园老师。两人都比较内向，通过平台红娘的精心安排，在一家安静的咖啡厅初次见面。虽然开始有些紧张，但聊起共同的兴趣爱好时，话匣子就打开了。他们都喜欢看书、听音乐，性格互补。经过几次约会，感情迅速升温，3个月后就领取了结婚证。', '2024-12-20', '李红娘', '2025-01-15 10:00:00');
INSERT INTO `success_case` VALUES (2, 'SC202502001', '王先生', '赵女士', 1, '感谢红娘的专业服务，让我们相遇相知', '王先生经营着一家小公司，赵女士是一名护士。两人都曾有过感情经历，对婚姻比较慎重。红娘老师耐心地为他们分析性格匹配度，安排了多次不同场景的约会。从正式的西餐厅到轻松的公园散步，两人在交往中逐渐发现对方的优点，最终走向婚姻的殿堂。', '2025-02-14', '王月', '2025-02-10 14:30:00');
INSERT INTO `success_case` VALUES (3, 'SC202503001', '刘先生', '陈女士', 1, '在最美的年纪遇见最对的人', '刘先生和陈女士都是85后，事业有成但感情空白。通过平台的专业测评，发现两人在价值观、生活目标等方面高度契合。从第一次见面的心动到确定关系，再到见家长、订婚，每个步骤都走得很顺利。他们说，这就是命中注定的缘分。', '2024-12-25', '李红娘', '2025-03-05 09:20:00');
INSERT INTO `success_case` VALUES (4, 'SC202504001', '周先生', '杨女士', 1, '爱情来了，挡都挡不住', '周先生是个阳光大男孩，杨女士温柔贤淑。两人在平台组织的户外活动中相识，一起爬山、看日出，在大自然中培养感情。周先生的幽默风趣深深吸引了杨女士，而杨女士的温柔体贴也让周先生倍感温暖。新年第一天领证，寓意着新的开始。', '2025-01-01', '张美丽', '2025-04-20 16:45:00');
INSERT INTO `success_case` VALUES (5, 'SC202505001', '陈先生', '周女士', 1, '谢谢平台让我们找到彼此', '陈先生和周女士都喜欢孩子，有着共同的家庭观念。从六一儿童节认识到情人节领证，他们的爱情故事充满了仪式感。陈先生说，遇见她是我最大的幸运；周女士说，感谢平台让我们找到彼此，我们会珍惜这份来之不易的缘分。', '2025-02-14', '王月', '2025-05-12 11:10:00');
INSERT INTO `success_case` VALUES (6, 'SC20251021001', '大大怪', '小小怪', 1, 'AAAAA', 'hhhhhhhhhhhhhhhhhhhhhhhhhhhh', '2025-10-23', '赵大娘', '2025-10-21 13:44:09');

-- ----------------------------
-- Table structure for user_dislikes
-- ----------------------------
DROP TABLE IF EXISTS `user_dislikes`;
CREATE TABLE `user_dislikes`  (
  `id` int NOT NULL AUTO_INCREMENT,
  `user_id` int NOT NULL COMMENT '操作用户ID',
  `target_dynamic_id` int NOT NULL COMMENT '不感兴趣动态ID',
  `dislike_type` tinyint NULL DEFAULT 1 COMMENT '1-动态 2-用户',
  `target_user_id` int NULL DEFAULT NULL COMMENT '不感兴趣的用户ID',
  `created_at` datetime NULL DEFAULT CURRENT_TIMESTAMP,
  PRIMARY KEY (`id`) USING BTREE,
  UNIQUE INDEX `uk_user_target`(`user_id` ASC, `target_dynamic_id` ASC) USING BTREE,
  INDEX `idx_user_id`(`user_id` ASC) USING BTREE,
  INDEX `idx_target_dynamic`(`target_dynamic_id` ASC) USING BTREE,
  CONSTRAINT `user_dislikes_ibfk_1` FOREIGN KEY (`user_id`) REFERENCES `users` (`user_id`) ON DELETE CASCADE ON UPDATE RESTRICT,
  CONSTRAINT `user_dislikes_ibfk_2` FOREIGN KEY (`target_dynamic_id`) REFERENCES `user_dynamics` (`dynamic_id`) ON DELETE CASCADE ON UPDATE RESTRICT
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_0900_ai_ci COMMENT = '用户不感兴趣记录表' ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of user_dislikes
-- ----------------------------

-- ----------------------------
-- Table structure for user_dynamics
-- ----------------------------
DROP TABLE IF EXISTS `user_dynamics`;
CREATE TABLE `user_dynamics`  (
  `dynamic_id` int NOT NULL AUTO_INCREMENT COMMENT '动态ID',
  `user_id` int NOT NULL COMMENT '发布者用户ID',
  `content` text CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL COMMENT '动态内容（支持富文本）',
  `media_urls` json NULL COMMENT '媒体文件URL数组（图片/视频）[\"url1\",\"url2\"]',
  `media_type` tinyint NULL DEFAULT 1 COMMENT '1-纯文本 2-图片 3-视频',
  `audit_status` tinyint NULL DEFAULT 0 COMMENT '0-待审核 1-审核通过 2-审核拒绝 3-人工审核中',
  `audit_remark` varchar(200) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '审核备注',
  `audit_time` datetime NULL DEFAULT NULL COMMENT '审核时间',
  `audit_admin_id` int NULL DEFAULT NULL COMMENT '审核管理员ID',
  `like_count` int NULL DEFAULT 0 COMMENT '点赞数',
  `comment_count` int NULL DEFAULT 0 COMMENT '评论数',
  `favorite_count` int NULL DEFAULT 0 COMMENT '收藏数',
  `share_count` int NULL DEFAULT 0 COMMENT '转发数',
  `view_count` int NULL DEFAULT 0 COMMENT '浏览数',
  `status` tinyint NULL DEFAULT 1 COMMENT '0-删除 1-正常 2-隐藏',
  `visibility` tinyint NULL DEFAULT 1 COMMENT '1-公开 2-仅粉丝 3-私密',
  `created_at` datetime NULL DEFAULT CURRENT_TIMESTAMP,
  `updated_at` datetime NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  PRIMARY KEY (`dynamic_id`) USING BTREE,
  INDEX `idx_user_id`(`user_id` ASC) USING BTREE,
  INDEX `idx_audit_status`(`audit_status` ASC) USING BTREE,
  INDEX `idx_created_at`(`created_at` ASC) USING BTREE,
  INDEX `idx_like_count`(`like_count` ASC) USING BTREE,
  CONSTRAINT `user_dynamics_ibfk_1` FOREIGN KEY (`user_id`) REFERENCES `users` (`user_id`) ON DELETE CASCADE ON UPDATE RESTRICT
) ENGINE = InnoDB AUTO_INCREMENT = 13 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_0900_ai_ci COMMENT = '用户动态表' ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of user_dynamics
-- ----------------------------
INSERT INTO `user_dynamics` VALUES (1, 1, '今天参加了红娘组织的咖啡约会，认识了一位很聊得来的女生！', NULL, 1, 1, NULL, NULL, NULL, 0, 0, 0, 0, 0, 1, 1, '2025-10-12 10:39:27', '2025-10-13 16:20:45');
INSERT INTO `user_dynamics` VALUES (2, 2, '刚上完《第一次约会如何不冷场》的课，干货满满！推荐给大家～', NULL, 1, 1, NULL, NULL, NULL, 0, 0, 1, 0, 0, 1, 1, '2025-10-12 10:39:27', '2025-10-17 15:26:29');
INSERT INTO `user_dynamics` VALUES (3, 1, '2222', NULL, 1, 1, NULL, NULL, NULL, 0, 0, 0, 0, 0, 1, 3, '2025-10-14 10:51:53', '2025-10-14 10:51:53');
INSERT INTO `user_dynamics` VALUES (4, 1, '1', '[\"http://115.190.125.125:9000/dynamic-comments/dynamics/8c9fe5ed308443d3a99b3f1afb2451ca.jpg?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=minioadmin%2F20251014%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20251014T031947Z&X-Amz-Expires=604800&X-Amz-SignedHeaders=host&X-Amz-Signature=9f7363b9aaec54fa1e70d9bc887e460ca7296ca5590722569bbac24cd356ac7c\"]', 1, 1, NULL, NULL, NULL, 0, 0, 0, 0, 0, 1, 1, '2025-10-14 11:20:04', '2025-10-14 11:20:04');
INSERT INTO `user_dynamics` VALUES (5, 1, '2', '[\"http://115.190.125.125:9000/dynamic-comments/dynamics/c2de5d19d68347daae0b934a7d619c14.jpeg?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=minioadmin%2F20251014%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20251014T032020Z&X-Amz-Expires=604800&X-Amz-SignedHeaders=host&X-Amz-Signature=001d9ba5a720b3a102772cc955b8af2da0e6231e8d33942cde74c10eb3b1306f\", \"http://115.190.125.125:9000/dynamic-comments/dynamics/8a115847575946dfa732ca42b3efcde4.jpg?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=minioadmin%2F20251014%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20251014T032020Z&X-Amz-Expires=604800&X-Amz-SignedHeaders=host&X-Amz-Signature=8395b574bfae2217a66f4cf351b4732f27cd706f8259f078a1f29e4572bc3542\", \"http://115.190.125.125:9000/dynamic-comments/dynamics/6b6a317ae0f0408a86439d0534af92bb.jpg?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=minioadmin%2F20251014%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20251014T032021Z&X-Amz-Expires=604800&X-Amz-SignedHeaders=host&X-Amz-Signature=a286bae8230155c7cf56bbc7e89065580efd9261c1672fa4097da2805e335749\"]', 1, 1, NULL, NULL, NULL, 1, 1, 0, 0, 0, 1, 1, '2025-10-14 11:20:26', '2025-10-18 11:45:47');
INSERT INTO `user_dynamics` VALUES (6, 1, '孙杉杉是啥子', '[\"http://115.190.125.125:9000/dynamic-comments/dynamics/8d731f418485481e935cdee0b32f397d.jpg?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=minioadmin%2F20251014%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20251014T032040Z&X-Amz-Expires=604800&X-Amz-SignedHeaders=host&X-Amz-Signature=416a527538ea6ff33b2a8a59edb7d8f4820dd1d418eed928e068b1c8b8b604a2\"]', 1, 1, NULL, NULL, NULL, 0, 0, 0, 0, 0, 1, 1, '2025-10-14 11:20:53', '2025-10-14 11:20:53');
INSERT INTO `user_dynamics` VALUES (7, 1, '孙杉杉是笨dan', '[\"http://115.190.125.125:9000/dynamic-comments/dynamics/068fb95a33814afd80a33f5a25be78c7.jpeg?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=minioadmin%2F20251014%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20251014T032733Z&X-Amz-Expires=604800&X-Amz-SignedHeaders=host&X-Amz-Signature=f71f955df230a8958f35c40b8ec171ed40e9c15fd381b06998152abf2539bf3d\"]', 1, 1, NULL, NULL, NULL, 1, 0, 0, 0, 0, 1, 1, '2025-10-14 11:27:44', '2025-10-17 13:47:02');
INSERT INTO `user_dynamics` VALUES (8, 1, '刘帅真帅', '[\"http://115.190.125.125:9000/dynamic-comments/dynamics/cb731fc974104cb990e36f8ac08d1a12.jpg?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=minioadmin%2F20251014%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20251014T033157Z&X-Amz-Expires=604800&X-Amz-SignedHeaders=host&X-Amz-Signature=2b4e356f063612674a3ebef3df9cca36d01ab9d5aa77d9cb2f851d514f238331\", \"http://115.190.125.125:9000/dynamic-comments/dynamics/0a4f880541624d0c9724b3857aedf14e.jpg?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=minioadmin%2F20251014%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20251014T033204Z&X-Amz-Expires=604800&X-Amz-SignedHeaders=host&X-Amz-Signature=ce2fdfa4a207a94a7bf4fbded6d37c86d626b8581db7ca38e72d2478c743601a\"]', 1, 1, NULL, NULL, NULL, 0, 0, 0, 0, 0, 1, 1, '2025-10-14 11:32:08', '2025-10-17 13:46:57');
INSERT INTO `user_dynamics` VALUES (9, 1, '孙杉杉真美', '[\"http://localhost:8082/media/dynamic_4ae3463234de4c0e91508a47daa1ff9b.jpg\", \"http://localhost:8082/media/dynamic_c5cef85381a446d6acc808270851d5f3.jpg\"]', 2, 1, NULL, NULL, NULL, 0, 0, 0, 0, 0, 1, 1, '2025-10-16 10:04:48', '2025-10-16 10:04:48');
INSERT INTO `user_dynamics` VALUES (10, 1, '烦烦烦烦烦烦', NULL, 1, 1, NULL, NULL, NULL, 0, 0, 1, 0, 0, 1, 1, '2025-10-16 15:05:30', '2025-10-16 16:39:31');
INSERT INTO `user_dynamics` VALUES (11, 1, '注意看这个男人叫小帅', '[\"http://localhost:8082/media/dynamic_7d56e02ca79344d584881a38a6b811f4.jpg\"]', 2, 1, NULL, NULL, NULL, 1, 2, 1, 0, 0, 1, 1, '2025-10-16 16:03:36', '2025-10-18 11:27:45');
INSERT INTO `user_dynamics` VALUES (12, 1, 'sssssb', NULL, 1, 1, NULL, NULL, NULL, 0, 1, 1, 0, 0, 1, 1, '2025-10-17 09:46:28', '2025-10-20 08:41:13');

-- ----------------------------
-- Table structure for user_matchmaker_bindings
-- ----------------------------
DROP TABLE IF EXISTS `user_matchmaker_bindings`;
CREATE TABLE `user_matchmaker_bindings`  (
  `id` int NOT NULL AUTO_INCREMENT,
  `user_id` int NOT NULL,
  `matchmaker_id` int NOT NULL,
  `bound_at` datetime NULL DEFAULT CURRENT_TIMESTAMP COMMENT '绑定时间',
  `status` tinyint NULL DEFAULT 1 COMMENT '1-有效 0-解除',
  PRIMARY KEY (`id`) USING BTREE,
  UNIQUE INDEX `uk_user`(`user_id` ASC) USING BTREE,
  INDEX `matchmaker_id`(`matchmaker_id` ASC) USING BTREE,
  CONSTRAINT `user_matchmaker_bindings_ibfk_1` FOREIGN KEY (`user_id`) REFERENCES `users` (`user_id`) ON DELETE RESTRICT ON UPDATE RESTRICT,
  CONSTRAINT `user_matchmaker_bindings_ibfk_2` FOREIGN KEY (`matchmaker_id`) REFERENCES `matchmakers` (`matchmaker_id`) ON DELETE RESTRICT ON UPDATE RESTRICT
) ENGINE = InnoDB AUTO_INCREMENT = 3 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_0900_ai_ci COMMENT = '用户仅可绑定一位红娘' ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of user_matchmaker_bindings
-- ----------------------------
INSERT INTO `user_matchmaker_bindings` VALUES (1, 1, 1, '2025-10-12 10:39:39', 1);
INSERT INTO `user_matchmaker_bindings` VALUES (2, 2, 2, '2025-10-12 10:39:39', 1);

-- ----------------------------
-- Table structure for user_profile
-- ----------------------------
DROP TABLE IF EXISTS `user_profile`;
CREATE TABLE `user_profile`  (
  `profile_id` int NOT NULL AUTO_INCREMENT,
  `user_id` int NOT NULL,
  `house` tinyint NULL DEFAULT 0 COMMENT '0-无 1-有',
  `car` tinyint NULL DEFAULT 0 COMMENT '0-无 1-有',
  `height` int NULL DEFAULT NULL COMMENT '身高 cm',
  `weight` int NULL DEFAULT NULL COMMENT '体重 kg',
  `star` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '星座',
  `animal` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '生肖',
  `real_name` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '真实姓名（应用层加密）',
  `id_card` varchar(18) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '身份证号（应用层加密）',
  `education_level` tinyint NULL DEFAULT NULL COMMENT '1-高中 2-专科 3-本科 4-硕士 5-博士 6-无 7-初中 8-小学',
  `hobby` json NULL COMMENT '兴趣爱好标签',
  `school_name` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '毕业院校',
  `company` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '工作单位',
  `salary_range` tinyint NULL DEFAULT NULL COMMENT '1-5k 2-5-10k 3-10-20k 4-20-50k 5-50k+',
  `job_title` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '职位',
  `marital_status` tinyint NULL DEFAULT NULL COMMENT '0-未婚 1-离异 2-丧偶',
  `is_real_name_verified` tinyint(1) NULL DEFAULT 0 COMMENT '是否实名认证',
  `is_education_verified` tinyint(1) NULL DEFAULT 0 COMMENT '是否教育认证',
  `is_work_verified` tinyint(1) NULL DEFAULT 0 COMMENT '工作是否认证',
  `is_marital_verified` tinyint(1) NULL DEFAULT 0 COMMENT '婚姻状态是否认证',
  `verified_at` datetime NULL DEFAULT NULL COMMENT '验证时间',
  `province_id` int NULL DEFAULT NULL,
  `city_id` int NULL DEFAULT NULL,
  `area_id` int NULL DEFAULT NULL,
  `privacy_salary` tinyint NULL DEFAULT 2 COMMENT '0-隐藏 1-红娘可见 2-匹配后可见',
  `privacy_phone` tinyint NULL DEFAULT 2,
  `authenticity_score` tinyint NULL DEFAULT 0 COMMENT '0-100分',
  PRIMARY KEY (`profile_id`) USING BTREE,
  INDEX `user_id`(`user_id` ASC) USING BTREE,
  CONSTRAINT `user_profile_ibfk_1` FOREIGN KEY (`user_id`) REFERENCES `users` (`user_id`) ON DELETE CASCADE ON UPDATE RESTRICT
) ENGINE = InnoDB AUTO_INCREMENT = 48 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_0900_ai_ci COMMENT = '用户资料与认证表' ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of user_profile
-- ----------------------------
INSERT INTO `user_profile` VALUES (1, 1, 1, 1, 185, 68, '射手座', '猴', '梁、振宇', NULL, 3, '[\"健身\", \"爬山\", \"足球\", \"电影\", \"旅游\", \"书法\", \"吉他\", \"游戏\", \"时尚\"]', '黄河科技学院', '振涛教育', 5, '程序员', 2, 1, 0, 0, 0, NULL, NULL, 110100, 110105, 1, 1, 70);
INSERT INTO `user_profile` VALUES (2, 2, 1, 0, 165, 55, '处女座', '猴', '梁、振宇', NULL, 4, NULL, NULL, NULL, 4, NULL, 0, 1, 0, 0, 0, NULL, NULL, 310100, 310106, 2, 2, 90);
INSERT INTO `user_profile` VALUES (3, 3, 1, 0, 178, 72, '白羊座', '龙', '梁、振宇', NULL, 3, '[\"旅行\", \"音乐\"]', '北京大学', '字节跳动', 3, '后端工程师', 0, 1, 1, 1, 0, NULL, NULL, 110100, 110105, 2, 2, 92);
INSERT INTO `user_profile` VALUES (4, 4, 0, 0, 162, 48, '天秤座', '兔', '梁、振宇', NULL, 4, '[\"阅读\", \"摄影\"]', '复旦大学', '携程', 4, '产品经理', 0, 1, 1, 0, 0, NULL, NULL, 310100, 310106, 2, 2, 90);
INSERT INTO `user_profile` VALUES (5, 5, 1, 1, 180, 80, '狮子座', '虎', '梁、振宇', NULL, 2, '[\"篮球\", \"电影\"]', '上海交通大学', '网易', 3, '运营专员', 0, 0, 0, 0, 0, NULL, NULL, 310100, 310106, 2, 2, 85);
INSERT INTO `user_profile` VALUES (6, 6, 0, 0, 168, 52, '双鱼座', '羊', '梁、振宇', NULL, 3, '[\"美食\", \"旅行\"]', '北京师范大学', '美团', 3, '新媒体', 0, 0, 0, 0, 0, NULL, NULL, 110100, 110105, 2, 2, 88);
INSERT INTO `user_profile` VALUES (7, 7, 0, 0, 165, 50, '双子座', '兔', '梁、振宇', NULL, 3, '[\"旅行\", \"美食\"]', '复旦大学', '携程', 3, '产品运营', 0, 0, 0, 0, 0, NULL, NULL, 110100, 110105, 2, 2, 90);
INSERT INTO `user_profile` VALUES (8, 8, 0, 0, 178, 74, '狮子座', '龙', '梁、振宇', NULL, 3, '[\"篮球\", \"旅行\"]', '上海交大', '网易', 3, '后端工程师', 0, 0, 0, 0, 0, NULL, NULL, 310100, 310106, 2, 2, 92);
INSERT INTO `user_profile` VALUES (9, 9, 0, 0, 162, 48, '天秤座', '羊', '梁、振宇', NULL, 4, '[\"摄影\", \"旅行\"]', '北师大', '美团', 3, '新媒体', 0, 0, 0, 0, 0, NULL, NULL, 110100, 110105, 2, 2, 89);
INSERT INTO `user_profile` VALUES (10, 10, 0, 0, 180, 80, '金牛座', '虎', '梁、振宇', NULL, 2, '[\"电影\", \"跑步\"]', '同济大学', '字节跳动', 4, '前端工程师', 0, 0, 0, 0, 0, NULL, NULL, 310100, 310106, 2, 2, 91);
INSERT INTO `user_profile` VALUES (11, 11, 0, 0, 166, 52, '双鱼座', '猪', '梁、振宇', NULL, 3, '[\"音乐\", \"旅行\"]', '中国传媒大学', '小红书', 3, '内容运营', 0, 0, 0, 0, 0, NULL, NULL, 110100, 110105, 2, 2, 90);
INSERT INTO `user_profile` VALUES (12, 12, 0, 0, 182, 82, '白羊座', '狗', '梁、振宇', NULL, 3, '[\"登山\", \"摄影\"]', '北理工', '快手', 4, '算法工程师', 0, 0, 0, 0, 0, NULL, NULL, 310100, 310106, 2, 2, 93);
INSERT INTO `user_profile` VALUES (13, 13, 0, 0, 164, 49, '巨蟹座', '鸡', '梁、振宇', NULL, 4, '[\"阅读\", \"瑜伽\"]', '北大', '知乎', 3, '社区运营', 0, 0, 0, 0, 0, NULL, NULL, 110100, 110105, 2, 2, 88);
INSERT INTO `user_profile` VALUES (14, 14, 0, 0, 175, 72, '处女座', '牛', '梁、振宇', NULL, 3, '[\"足球\", \"旅行\"]', '华东理工', '携程', 3, '后端开发', 0, 0, 0, 0, 0, NULL, NULL, 310100, 310106, 2, 2, 90);
INSERT INTO `user_profile` VALUES (15, 15, 0, 0, 167, 51, '天蝎座', '鼠', '梁、振宇', NULL, 3, '[\"旅行\", \"手作\"]', '南开大学', '滴滴', 3, '活动策划', 0, 0, 0, 0, 0, NULL, NULL, 110100, 110105, 2, 2, 89);
INSERT INTO `user_profile` VALUES (16, 16, 0, 0, 179, 76, '射手座', '马', '梁、振宇', NULL, 3, '[\"跑步\", \"电影\"]', '华南理工', '腾讯', 4, '产品经理', 0, 0, 0, 0, 0, NULL, NULL, 310100, 310106, 2, 2, 92);
INSERT INTO `user_profile` VALUES (17, 17, 0, 0, 163, 50, '水瓶座', '蛇', '梁、振宇', NULL, 4, '[\"摄影\", \"美食\"]', '北外', '携程', 3, '运营专员', 0, 0, 0, 0, 0, NULL, NULL, 110100, 110105, 2, 2, 90);
INSERT INTO `user_profile` VALUES (18, 18, 0, 0, 181, 78, '摩羯座', '猴', '梁、振宇', NULL, 3, '[\"篮球\", \"阅读\"]', '东华大学', '美团', 3, 'Java工程师', 0, 0, 0, 0, 0, NULL, NULL, 310100, 310106, 2, 2, 91);
INSERT INTO `user_profile` VALUES (19, 19, 0, 0, 165, 52, '双鱼座', '羊', '梁、振宇', NULL, 3, '[\"旅游\", \"音乐\"]', '北二外', '同程', 3, '新媒体', 0, 0, 0, 0, 0, NULL, NULL, 110100, 110105, 2, 2, 88);
INSERT INTO `user_profile` VALUES (20, 20, 0, 0, 183, 84, '狮子座', '虎', '梁、振宇', NULL, 3, '[\"篮球\", \"旅行\"]', '上交', '字节跳动', 4, '后端工程师', 0, 0, 0, 0, 0, NULL, NULL, 310100, 310106, 2, 2, 92);
INSERT INTO `user_profile` VALUES (21, 21, 0, 0, 166, 53, '射手座', '牛', '梁、振宇', NULL, 4, '[\"露营\", \"旅行\"]', '人大', '小红书', 3, '内容运营', 0, 0, 0, 0, 0, NULL, NULL, 110100, 110105, 2, 2, 90);
INSERT INTO `user_profile` VALUES (22, 22, 0, 0, 177, 75, '白羊座', '龙', '梁、振宇', NULL, 3, '[\"羽毛球\", \"电影\"]', '华师大', '网易', 3, '测试工程师', 0, 0, 0, 0, 0, NULL, NULL, 310100, 310106, 2, 2, 89);
INSERT INTO `user_profile` VALUES (23, 23, 0, 0, 164, 50, '金牛座', '兔', '梁、振宇', NULL, 3, '[\"摄影\", \"阅读\"]', '广外', '美团', 3, '活动运营', 0, 0, 0, 0, 0, NULL, NULL, 110100, 110105, 2, 2, 87);
INSERT INTO `user_profile` VALUES (24, 24, 0, 0, 181, 79, '天秤座', '狗', '梁、振宇', NULL, 3, '[\"健身\", \"旅行\"]', '同济大学', '携程', 4, '后端开发', 0, 0, 0, 0, 0, NULL, NULL, 310100, 310106, 2, 2, 93);
INSERT INTO `user_profile` VALUES (25, 25, 0, 0, 165, 51, '巨蟹座', '猪', '梁、振宇', NULL, 3, '[\"烘焙\", \"旅行\"]', '北师大', '知乎', 3, '社区运营', 0, 0, 0, 0, 0, NULL, NULL, 110100, 110105, 2, 2, 88);
INSERT INTO `user_profile` VALUES (26, 26, 0, 0, 178, 77, '处女座', '马', '梁、振宇', NULL, 3, '[\"篮球\", \"摄影\"]', '北科大', '快手', 4, '产品经理', 0, 0, 0, 0, 0, NULL, NULL, 310100, 310106, 2, 2, 92);
INSERT INTO `user_profile` VALUES (27, 27, 0, 0, 164, 49, '双子座', '兔', '梁、振宇', NULL, 3, '[\"旅行\", \"摄影\"]', '复旦大学', '携程', 3, '活动运营', 0, 0, 0, 0, 0, NULL, NULL, 110100, 110105, 2, 2, 89);
INSERT INTO `user_profile` VALUES (28, 28, 0, 0, 180, 78, '狮子座', '龙', '梁、振宇', NULL, 3, '[\"篮球\", \"电影\"]', '同济大学', '字节跳动', 4, '后端工程师', 0, 0, 0, 0, 0, NULL, NULL, 310100, 310106, 2, 2, 92);
INSERT INTO `user_profile` VALUES (29, 29, 0, 0, 165, 50, '天秤座', '羊', '梁、振宇', NULL, 4, '[\"音乐\", \"旅行\"]', '北师大', '美团', 3, '新媒体', 0, 0, 0, 0, 0, NULL, NULL, 110100, 110105, 2, 2, 90);
INSERT INTO `user_profile` VALUES (30, 30, 0, 0, 182, 82, '金牛座', '虎', '梁、振宇', NULL, 3, '[\"电影\", \"跑步\"]', '上交', '腾讯', 4, 'Java工程师', 0, 0, 0, 0, 0, NULL, NULL, 310100, 310106, 2, 2, 93);
INSERT INTO `user_profile` VALUES (31, 31, 0, 0, 166, 52, '双鱼座', '猪', '梁、振宇', NULL, 3, '[\"旅行\", \"美食\"]', '中国传媒大学', '小红书', 3, '内容运营', 0, 0, 0, 0, 0, NULL, NULL, 110100, 110105, 2, 2, 88);
INSERT INTO `user_profile` VALUES (32, 32, 0, 0, 181, 80, '白羊座', '狗', '梁、振宇', NULL, 3, '[\"登山\", \"阅读\"]', '北理工', '快手', 4, '算法工程师', 0, 0, 0, 0, 0, NULL, NULL, 310100, 310106, 2, 2, 94);
INSERT INTO `user_profile` VALUES (33, 33, 0, 0, 163, 49, '巨蟹座', '鸡', '梁、振宇', NULL, 4, '[\"阅读\", \"瑜伽\"]', '北大', '知乎', 3, '社区运营', 0, 0, 0, 0, 0, NULL, NULL, 110100, 110105, 2, 2, 90);
INSERT INTO `user_profile` VALUES (34, 34, 0, 0, 176, 73, '处女座', '牛', '梁、振宇', NULL, 3, '[\"足球\", \"旅行\"]', '华东理工', '携程', 3, '后端开发', 0, 0, 0, 0, 0, NULL, NULL, 310100, 310106, 2, 2, 90);
INSERT INTO `user_profile` VALUES (35, 35, 0, 0, 168, 51, '天蝎座', '鼠', '梁、振宇', NULL, 3, '[\"旅行\", \"手作\"]', '南开大学', '滴滴', 3, '活动策划', 0, 0, 0, 0, 0, NULL, NULL, 110100, 110105, 2, 2, 89);
INSERT INTO `user_profile` VALUES (36, 36, 0, 0, 179, 77, '射手座', '马', '梁、振宇', NULL, 3, '[\"跑步\", \"电影\"]', '华南理工', '腾讯', 4, '产品经理', 0, 0, 0, 0, 0, NULL, NULL, 310100, 310106, 2, 2, 92);
INSERT INTO `user_profile` VALUES (37, 37, 0, 0, 162, 49, '水瓶座', '蛇', '梁、振宇', NULL, 4, '[\"摄影\", \"美食\"]', '北外', '携程', 3, '运营专员', 0, 0, 0, 0, 0, NULL, NULL, 110100, 110105, 2, 2, 90);
INSERT INTO `user_profile` VALUES (38, 38, 0, 0, 182, 79, '摩羯座', '猴', '梁、振宇', NULL, 3, '[\"篮球\", \"阅读\"]', '东华大学', '美团', 3, '测试工程师', 0, 0, 0, 0, 0, NULL, NULL, 310100, 310106, 2, 2, 91);
INSERT INTO `user_profile` VALUES (39, 39, 0, 0, 165, 52, '双鱼座', '羊', '梁、振宇', NULL, 3, '[\"旅游\", \"音乐\"]', '北二外', '同程', 3, '新媒体', 0, 0, 0, 0, 0, NULL, NULL, 110100, 110105, 2, 2, 88);
INSERT INTO `user_profile` VALUES (40, 40, 0, 0, 183, 85, '狮子座', '虎', '梁、振宇', NULL, 3, '[\"篮球\", \"旅行\"]', '上交', '字节跳动', 4, '后端工程师', 0, 0, 0, 0, 0, NULL, NULL, 310100, 310106, 2, 2, 92);
INSERT INTO `user_profile` VALUES (41, 41, 0, 0, 166, 53, '射手座', '牛', '梁、振宇', NULL, 4, '[\"露营\", \"旅行\"]', '人大', '小红书', 3, '内容运营', 0, 0, 0, 0, 0, NULL, NULL, 110100, 110105, 2, 2, 90);
INSERT INTO `user_profile` VALUES (42, 42, 0, 0, 177, 75, '白羊座', '龙', '梁、振宇', NULL, 3, '[\"羽毛球\", \"电影\"]', '华师大', '网易', 3, '前端工程师', 0, 0, 0, 0, 0, NULL, NULL, 310100, 310106, 2, 2, 89);
INSERT INTO `user_profile` VALUES (43, 43, 0, 0, 164, 50, '金牛座', '兔', '梁、振宇', NULL, 3, '[\"摄影\", \"阅读\"]', '广外', '美团', 3, '活动运营', 0, 0, 0, 0, 0, NULL, NULL, 110100, 110105, 2, 2, 87);
INSERT INTO `user_profile` VALUES (44, 44, 0, 0, 181, 79, '天秤座', '狗', '梁、振宇', NULL, 3, '[\"健身\", \"旅行\"]', '同济大学', '携程', 4, '后端开发', 0, 0, 0, 0, 0, NULL, NULL, 310100, 310106, 2, 2, 93);
INSERT INTO `user_profile` VALUES (45, 45, 0, 0, 165, 51, '巨蟹座', '猪', '梁、振宇', NULL, 3, '[\"烘焙\", \"旅行\"]', '北师大', '知乎', 3, '社区运营', 0, 0, 0, 0, 0, NULL, NULL, 110100, 110105, 2, 2, 88);
INSERT INTO `user_profile` VALUES (46, 46, 0, 0, 178, 77, '处女座', '马', '梁、振宇', NULL, 3, '[\"篮球\", \"摄影\"]', '北科大', '快手', 4, '产品经理', 0, 0, 0, 0, 0, NULL, NULL, 310100, 310106, 2, 2, 92);
INSERT INTO `user_profile` VALUES (47, 48, 0, 0, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '[\"书法\", \"猫狗\", \"徒步\", \"瑜伽\", \"电影\"]', NULL, NULL, NULL, NULL, NULL, 0, 0, 0, 0, NULL, NULL, NULL, NULL, 2, 2, 0);

-- ----------------------------
-- Table structure for user_signin
-- ----------------------------
DROP TABLE IF EXISTS `user_signin`;
CREATE TABLE `user_signin`  (
  `id` int NOT NULL AUTO_INCREMENT COMMENT '主键ID',
  `user_id` int NOT NULL COMMENT '用户ID（关联 user 表）',
  `sign_date` date NOT NULL COMMENT '签到日期（自然日，按本地/服务器日期）',
  `created_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '记录创建时间',
  `client_ip` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT '客户端IP（可选，用于风控排查）',
  `ua` varchar(256) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL COMMENT 'User-Agent（可选）',
  PRIMARY KEY (`id`) USING BTREE,
  UNIQUE INDEX `uk_user_day`(`user_id` ASC, `sign_date` ASC) USING BTREE COMMENT '同一用户同一天仅一条记录（幂等）',
  INDEX `idx_user_date`(`user_id` ASC, `created_time` ASC) USING BTREE COMMENT '按用户与时间查询的联合索引'
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = '用户每日签到记录表' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of user_signin
-- ----------------------------

-- ----------------------------
-- Table structure for user_social_accounts
-- ----------------------------
DROP TABLE IF EXISTS `user_social_accounts`;
CREATE TABLE `user_social_accounts`  (
  `id` int NOT NULL AUTO_INCREMENT,
  `user_id` int NOT NULL COMMENT '关联 users.user_id',
  `platform` tinyint NOT NULL COMMENT '1-微信小程序 2-微信公众号 3-APP微信登录',
  `openid` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL COMMENT '微信 openid',
  `unionid` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '微信 unionid（可为空）',
  `nickname` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '微信昵称（用于预填充）',
  `avatar_url` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '微信头像（用于预填充）',
  `phone_encrypted` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '微信授权的手机号（AES加密）',
  `phone_verified_at` datetime NULL DEFAULT NULL COMMENT '微信手机号验证时间',
  `created_at` datetime NULL DEFAULT CURRENT_TIMESTAMP,
  PRIMARY KEY (`id`) USING BTREE,
  UNIQUE INDEX `uk_openid_platform`(`openid` ASC, `platform` ASC) USING BTREE,
  INDEX `idx_unionid`(`unionid` ASC) USING BTREE,
  INDEX `idx_phone_encrypted`(`phone_encrypted` ASC) USING BTREE,
  INDEX `user_id`(`user_id` ASC) USING BTREE,
  CONSTRAINT `user_social_accounts_ibfk_1` FOREIGN KEY (`user_id`) REFERENCES `users` (`user_id`) ON DELETE CASCADE ON UPDATE RESTRICT
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_0900_ai_ci COMMENT = '用户社交账号绑定表' ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of user_social_accounts
-- ----------------------------

-- ----------------------------
-- Table structure for user_vip
-- ----------------------------
DROP TABLE IF EXISTS `user_vip`;
CREATE TABLE `user_vip`  (
  `id` bigint NOT NULL AUTO_INCREMENT COMMENT '主键ID',
  `user_id` bigint NOT NULL COMMENT '用户ID',
  `package_id` bigint NOT NULL COMMENT '套餐ID',
  `start_time` datetime NOT NULL COMMENT '开始时间',
  `end_time` datetime NOT NULL COMMENT '结束时间',
  `duration_days` int NOT NULL COMMENT '购买天数',
  `payment_amount` decimal(10, 2) NOT NULL COMMENT '支付金额',
  `payment_method` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '支付方式',
  `order_no` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '订单号',
  `status` tinyint NULL DEFAULT 1 COMMENT '状态 0-已过期 1-生效中 2-已取消',
  `source` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '来源（签到奖励/购买）',
  `create_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
  PRIMARY KEY (`id`) USING BTREE,
  UNIQUE INDEX `uk_order_no`(`order_no` ASC) USING BTREE,
  INDEX `idx_user_id`(`user_id` ASC) USING BTREE,
  INDEX `idx_end_time`(`end_time` ASC) USING BTREE,
  INDEX `idx_status`(`status` ASC) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 2 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_0900_ai_ci COMMENT = '用户VIP记录表' ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of user_vip
-- ----------------------------
INSERT INTO `user_vip` VALUES (1, 1, 2, '2025-10-16 10:05:39', '2026-01-14 10:05:39', 90, 268.00, '在线支付', 'VIP1760580338828d4b25c5d', 1, '购买', '2025-10-16 10:05:39');

-- ----------------------------
-- Table structure for users
-- ----------------------------
DROP TABLE IF EXISTS `users`;
CREATE TABLE `users`  (
  `user_id` int NOT NULL AUTO_INCREMENT COMMENT '用户ID',
  `phone` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '手机号（应用层 AES-256 加密存储）',
  `email` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '邮箱',
  `nickname` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL COMMENT '用户名',
  `password` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL COMMENT '密码（bcrypt）',
  `gender` tinyint NOT NULL COMMENT '0-未知 1-男 2-女',
  `birth_date` date NULL DEFAULT NULL COMMENT '出生日期',
  `avatar_url` varchar(5000) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT '' COMMENT '头像',
  `status` tinyint NULL DEFAULT 1 COMMENT '0-禁用 1-正常 2-注销',
  `source_channel` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT 'organic' COMMENT '注册来源：wechat/invite_code...',
  `is_profile_complete` tinyint(1) NULL DEFAULT 0 COMMENT '资料是否完整',
  `created_at` datetime NULL DEFAULT CURRENT_TIMESTAMP,
  `updated_at` datetime NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  `consent_to_collect` tinyint(1) NOT NULL DEFAULT 0 COMMENT '是否同意信息收集（合规）',
  `last_login_at` datetime NULL DEFAULT NULL COMMENT '最后登录时间',
  `last_active_at` datetime NULL DEFAULT NULL COMMENT '最后活跃时间（含浏览、匹配等）',
  `has_wechat_login` tinyint(1) NULL DEFAULT 0 COMMENT '是否使用过微信登录',
  `wechat_openid` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '微信openid',
  `wechat_unionid` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '微信unionid',
  PRIMARY KEY (`user_id`) USING BTREE,
  UNIQUE INDEX `email`(`email` ASC) USING BTREE,
  INDEX `idx_wechat_openid`(`wechat_openid` ASC) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 50 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_0900_ai_ci COMMENT = '普通用户主表（用户小程序）' ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of users
-- ----------------------------
INSERT INTO `users` VALUES (1, '13800138001', 'user1@example.com', '小明', '$2a$10$gcyCXh6fDDYJbKJo.iZ6T.tEriYCsSGMzcb0R1zNsAsoDyL73baF.', 1, '1990-04-15', 'http://localhost:8083/avatars/avatar_1_1760526873421.png', 1, 'wechat', 1, '2025-10-12 10:37:32', '2025-10-15 19:14:34', 1, '2025-10-22 08:44:12', '2025-10-13 10:05:46', 0, NULL, NULL);
INSERT INTO `users` VALUES (2, '13800138002', 'user2@example.com', '小红', '$2a$10$iqYRLo8mS22pSK2uKu/CKOFvBZVLZIvsNOZvlFaoAJNmRETKzeNmy', 2, '1992-08-22', 'https://example.com/avatar2.jpg', 1, 'invite_code', 1, '2025-10-12 10:37:32', '2025-10-13 10:05:58', 1, '2025-10-17 09:52:27', '2025-10-13 10:05:51', 0, NULL, NULL);
INSERT INTO `users` VALUES (3, '13800138003', 'user3@example.com', '李雷', '$2a$10$iqYRLo8mS22pSK2uKu/CKOFvBZVLZIvsNOZvlFaoAJNmRETKzeNmy', 1, '1993-03-12', 'http://115.190.125.125:9000/avatars/2025/09/23/2303c6ea7b754a57986615b0c9a38d84.jpg?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=OO3L9IMBEF17K1BJA4B2%2F20251015%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20251015T015821Z&X-Amz-Expires=604799&X-Amz-Security-Token=eyJhbGciOiJIUzUxMiIsInR5cCI6IkpXVCJ9.eyJhY2Nlc3NLZXkiOiJPTzNMOUlNQkVGMTdLMUJKQTRCMiIsImV4cCI6MTc2MDUzNjM2NSwicGFyZW50IjoibWluaW9hZG1pbiJ9.p80_im_oFsL764EiHzHrbKRfHZDCfmVhMjVA9Dh3XvsKW50aNIzaiGjBqO2KXypN5v3vahFY0pG-wPn8mnGlQw&X-Amz-SignedHeaders=host&versionId=null&X-Amz-Signature=98a078f74bf61d44245ca1591db83c9358f223cb6b8027b35239de6b8927f581', 1, 'wechat', 1, '2025-10-15 09:10:36', '2025-10-15 10:37:23', 1, NULL, NULL, 0, NULL, NULL);
INSERT INTO `users` VALUES (4, '13800138004', 'user4@example.com', '韩梅梅', '$2a$10$iqYRLo8mS22pSK2uKu/CKOFvBZVLZIvsNOZvlFaoAJNmRETKzeNmy', 2, '1995-07-21', 'http://115.190.125.125:9000/avatars/2025/09/23/2303c6ea7b754a57986615b0c9a38d84.jpg?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=OO3L9IMBEF17K1BJA4B2%2F20251015%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20251015T015821Z&X-Amz-Expires=604799&X-Amz-Security-Token=eyJhbGciOiJIUzUxMiIsInR5cCI6IkpXVCJ9.eyJhY2Nlc3NLZXkiOiJPTzNMOUlNQkVGMTdLMUJKQTRCMiIsImV4cCI6MTc2MDUzNjM2NSwicGFyZW50IjoibWluaW9hZG1pbiJ9.p80_im_oFsL764EiHzHrbKRfHZDCfmVhMjVA9Dh3XvsKW50aNIzaiGjBqO2KXypN5v3vahFY0pG-wPn8mnGlQw&X-Amz-SignedHeaders=host&versionId=null&X-Amz-Signature=98a078f74bf61d44245ca1591db83c9358f223cb6b8027b35239de6b8927f581', 1, 'wechat', 1, '2025-10-15 09:10:36', '2025-10-15 10:37:24', 1, NULL, NULL, 0, NULL, NULL);
INSERT INTO `users` VALUES (5, '13800138005', 'user5@example.com', '张伟', '$2a$10$iqYRLo8mS22pSK2uKu/CKOFvBZVLZIvsNOZvlFaoAJNmRETKzeNmy', 1, '1989-11-05', 'http://115.190.125.125:9000/avatars/2025/09/23/2303c6ea7b754a57986615b0c9a38d84.jpg?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=OO3L9IMBEF17K1BJA4B2%2F20251015%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20251015T015821Z&X-Amz-Expires=604799&X-Amz-Security-Token=eyJhbGciOiJIUzUxMiIsInR5cCI6IkpXVCJ9.eyJhY2Nlc3NLZXkiOiJPTzNMOUlNQkVGMTdLMUJKQTRCMiIsImV4cCI6MTc2MDUzNjM2NSwicGFyZW50IjoibWluaW9hZG1pbiJ9.p80_im_oFsL764EiHzHrbKRfHZDCfmVhMjVA9Dh3XvsKW50aNIzaiGjBqO2KXypN5v3vahFY0pG-wPn8mnGlQw&X-Amz-SignedHeaders=host&versionId=null&X-Amz-Signature=98a078f74bf61d44245ca1591db83c9358f223cb6b8027b35239de6b8927f581', 1, 'invite_code', 1, '2025-10-15 09:10:36', '2025-10-15 10:37:25', 1, NULL, NULL, 0, NULL, NULL);
INSERT INTO `users` VALUES (6, '13800138006', 'user6@example.com', '王芳', '$2a$10$iqYRLo8mS22pSK2uKu/CKOFvBZVLZIvsNOZvlFaoAJNmRETKzeNmy', 2, '1996-02-18', 'http://115.190.125.125:9000/avatars/2025/09/23/2303c6ea7b754a57986615b0c9a38d84.jpg?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=OO3L9IMBEF17K1BJA4B2%2F20251015%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20251015T015821Z&X-Amz-Expires=604799&X-Amz-Security-Token=eyJhbGciOiJIUzUxMiIsInR5cCI6IkpXVCJ9.eyJhY2Nlc3NLZXkiOiJPTzNMOUlNQkVGMTdLMUJKQTRCMiIsImV4cCI6MTc2MDUzNjM2NSwicGFyZW50IjoibWluaW9hZG1pbiJ9.p80_im_oFsL764EiHzHrbKRfHZDCfmVhMjVA9Dh3XvsKW50aNIzaiGjBqO2KXypN5v3vahFY0pG-wPn8mnGlQw&X-Amz-SignedHeaders=host&versionId=null&X-Amz-Signature=98a078f74bf61d44245ca1591db83c9358f223cb6b8027b35239de6b8927f581', 1, 'wechat', 1, '2025-10-15 09:10:36', '2025-10-15 10:37:26', 1, NULL, NULL, 0, NULL, NULL);
INSERT INTO `users` VALUES (7, '13800138007', 'user7@example.com', '李娜', '$2a$10$iqYRLo8mS22pSK2uKu/CKOFvBZVLZIvsNOZvlFaoAJNmRETKzeNmy', 2, '1996-03-12', 'https://i.pravatar.cc/150?img=31', 1, 'wechat', 1, '2025-10-15 15:56:58', '2025-10-15 16:22:51', 1, '2025-10-18 09:03:54', NULL, 1, NULL, NULL);
INSERT INTO `users` VALUES (8, '13800138008', 'user8@example.com', '王强', '$2a$10$iqYRLo8mS22pSK2uKu/CKOFvBZVLZIvsNOZvlFaoAJNmRETKzeNmy', 1, '1993-11-05', 'https://i.pravatar.cc/150?img=32', 1, 'wechat', 1, '2025-10-15 15:56:58', '2025-10-15 16:22:53', 1, NULL, NULL, 1, NULL, NULL);
INSERT INTO `users` VALUES (9, '13800138009', 'user9@example.com', '赵敏', '$2a$10$iqYRLo8mS22pSK2uKu/CKOFvBZVLZIvsNOZvlFaoAJNmRETKzeNmy', 2, '1995-07-18', 'https://i.pravatar.cc/150?img=33', 1, 'wechat', 1, '2025-10-15 15:56:58', '2025-10-15 16:22:54', 1, NULL, NULL, 0, NULL, NULL);
INSERT INTO `users` VALUES (10, '13800138010', 'user10@example.com', '陈刚', '$2a$10$iqYRLo8mS22pSK2uKu/CKOFvBZVLZIvsNOZvlFaoAJNmRETKzeNmy', 1, '1992-09-22', 'https://i.pravatar.cc/150?img=34', 1, 'wechat', 1, '2025-10-15 15:56:58', '2025-10-15 16:22:55', 1, NULL, NULL, 0, NULL, NULL);
INSERT INTO `users` VALUES (11, '13800138011', 'user11@example.com', '刘颖', '$2a$10$iqYRLo8mS22pSK2uKu/CKOFvBZVLZIvsNOZvlFaoAJNmRETKzeNmy', 2, '1997-01-08', 'https://i.pravatar.cc/150?img=35', 1, 'wechat', 1, '2025-10-15 15:56:58', '2025-10-15 16:22:57', 1, NULL, NULL, 0, NULL, NULL);
INSERT INTO `users` VALUES (12, '13800138012', 'user12@example.com', '张磊', '$2a$10$iqYRLo8mS22pSK2uKu/CKOFvBZVLZIvsNOZvlFaoAJNmRETKzeNmy', 1, '1991-05-16', 'https://i.pravatar.cc/150?img=36', 1, 'wechat', 1, '2025-10-15 15:56:58', '2025-10-15 16:22:57', 1, NULL, NULL, 0, NULL, NULL);
INSERT INTO `users` VALUES (13, '13800138013', 'user13@example.com', '周雪', '$2a$10$iqYRLo8mS22pSK2uKu/CKOFvBZVLZIvsNOZvlFaoAJNmRETKzeNmy', 2, '1996-12-01', 'https://i.pravatar.cc/150?img=37', 1, 'wechat', 1, '2025-10-15 15:56:58', '2025-10-15 16:22:58', 1, NULL, NULL, 0, NULL, NULL);
INSERT INTO `users` VALUES (14, '13800138014', 'user14@example.com', '吴涛', '$2a$10$iqYRLo8mS22pSK2uKu/CKOFvBZVLZIvsNOZvlFaoAJNmRETKzeNmy', 1, '1994-04-11', 'https://i.pravatar.cc/150?img=38', 1, 'wechat', 1, '2025-10-15 15:56:58', '2025-10-15 16:22:59', 1, NULL, NULL, 0, NULL, NULL);
INSERT INTO `users` VALUES (15, '13800138015', 'user15@example.com', '孙悦', '$2a$10$iqYRLo8mS22pSK2uKu/CKOFvBZVLZIvsNOZvlFaoAJNmRETKzeNmy', 2, '1998-06-20', 'https://i.pravatar.cc/150?img=39', 1, 'wechat', 1, '2025-10-15 15:56:58', '2025-10-15 16:23:00', 1, NULL, NULL, 0, NULL, NULL);
INSERT INTO `users` VALUES (16, '13800138016', 'user16@example.com', '郭鹏', '$2a$10$iqYRLo8mS22pSK2uKu/CKOFvBZVLZIvsNOZvlFaoAJNmRETKzeNmy', 1, '1993-02-14', 'https://i.pravatar.cc/150?img=40', 1, 'wechat', 1, '2025-10-15 15:56:58', '2025-10-15 16:23:00', 1, NULL, NULL, 0, NULL, NULL);
INSERT INTO `users` VALUES (17, '13800138017', 'user17@example.com', '何静', '$2a$10$iqYRLo8mS22pSK2uKu/CKOFvBZVLZIvsNOZvlFaoAJNmRETKzeNmy', 2, '1995-08-09', 'https://i.pravatar.cc/150?img=41', 1, 'wechat', 1, '2025-10-15 15:56:58', '2025-10-15 16:23:01', 1, NULL, NULL, 0, NULL, NULL);
INSERT INTO `users` VALUES (18, '13800138018', 'user18@example.com', '罗军', '$2a$10$iqYRLo8mS22pSK2uKu/CKOFvBZVLZIvsNOZvlFaoAJNmRETKzeNmy', 1, '1990-10-28', 'https://i.pravatar.cc/150?img=42', 1, 'wechat', 1, '2025-10-15 15:56:58', '2025-10-15 16:23:04', 1, NULL, NULL, 0, NULL, NULL);
INSERT INTO `users` VALUES (19, '13800138019', 'user19@example.com', '宋丹', '$2a$10$iqYRLo8mS22pSK2uKu/CKOFvBZVLZIvsNOZvlFaoAJNmRETKzeNmy', 2, '1997-09-03', 'https://i.pravatar.cc/150?img=43', 1, 'wechat', 1, '2025-10-15 15:56:58', '2025-10-15 16:23:02', 1, NULL, NULL, 0, NULL, NULL);
INSERT INTO `users` VALUES (20, '13800138020', 'user20@example.com', '马超', '$2a$10$iqYRLo8mS22pSK2uKu/CKOFvBZVLZIvsNOZvlFaoAJNmRETKzeNmy', 1, '1992-12-19', 'https://i.pravatar.cc/150?img=44', 1, 'wechat', 1, '2025-10-15 15:56:58', '2025-10-15 16:23:03', 1, NULL, NULL, 0, NULL, NULL);
INSERT INTO `users` VALUES (21, '13800138021', 'user21@example.com', '谢琳', '$2a$10$iqYRLo8mS22pSK2uKu/CKOFvBZVLZIvsNOZvlFaoAJNmRETKzeNmy', 2, '1996-05-23', 'https://i.pravatar.cc/150?img=45', 1, 'wechat', 1, '2025-10-15 15:56:58', '2025-10-15 16:23:08', 1, NULL, NULL, 0, NULL, NULL);
INSERT INTO `users` VALUES (22, '13800138022', 'user22@example.com', '唐浩', '$2a$10$iqYRLo8mS22pSK2uKu/CKOFvBZVLZIvsNOZvlFaoAJNmRETKzeNmy', 1, '1991-03-30', 'https://i.pravatar.cc/150?img=46', 1, 'wechat', 1, '2025-10-15 15:56:58', '2025-10-15 16:23:11', 1, NULL, NULL, 0, NULL, NULL);
INSERT INTO `users` VALUES (23, '13800138023', 'user23@example.com', '程晨', '$2a$10$iqYRLo8mS22pSK2uKu/CKOFvBZVLZIvsNOZvlFaoAJNmRETKzeNmy', 2, '1998-11-11', 'https://i.pravatar.cc/150?img=47', 1, 'wechat', 1, '2025-10-15 15:56:58', '2025-10-15 16:23:12', 1, NULL, NULL, 0, NULL, NULL);
INSERT INTO `users` VALUES (24, '13800138024', 'user24@example.com', '曹雷', '$2a$10$iqYRLo8mS22pSK2uKu/CKOFvBZVLZIvsNOZvlFaoAJNmRETKzeNmy', 1, '1994-07-07', 'https://i.pravatar.cc/150?img=48', 1, 'wechat', 1, '2025-10-15 15:56:58', '2025-10-15 16:23:13', 1, NULL, NULL, 0, NULL, NULL);
INSERT INTO `users` VALUES (25, '13800138025', 'user25@example.com', '胡薇', '$2a$10$iqYRLo8mS22pSK2uKu/CKOFvBZVLZIvsNOZvlFaoAJNmRETKzeNmy', 2, '1997-02-02', 'https://i.pravatar.cc/150?img=49', 1, 'wechat', 1, '2025-10-15 15:56:59', '2025-10-15 16:23:14', 1, NULL, NULL, 0, NULL, NULL);
INSERT INTO `users` VALUES (26, '13800138026', 'user26@example.com', '蒋峰', '$2a$10$iqYRLo8mS22pSK2uKu/CKOFvBZVLZIvsNOZvlFaoAJNmRETKzeNmy', 1, '1993-06-15', 'https://i.pravatar.cc/150?img=50', 1, 'wechat', 1, '2025-10-15 15:56:58', '2025-10-15 16:23:16', 1, NULL, NULL, 0, NULL, NULL);
INSERT INTO `users` VALUES (27, '13800138027', 'user27@example.com', '叶青', '$2a$10$iqYRLo8mS22pSK2uKu/CKOFvBZVLZIvsNOZvlFaoAJNmRETKzeNmy', 2, '1996-04-12', 'https://i.pravatar.cc/150?img=51', 1, 'wechat', 1, '2025-10-15 16:22:32', '2025-10-15 16:23:17', 1, NULL, NULL, 0, NULL, NULL);
INSERT INTO `users` VALUES (28, '13800138028', 'user28@example.com', '韩磊', '$2a$10$iqYRLo8mS22pSK2uKu/CKOFvBZVLZIvsNOZvlFaoAJNmRETKzeNmy', 1, '1992-08-21', 'https://i.pravatar.cc/150?img=52', 1, 'wechat', 1, '2025-10-15 16:22:32', '2025-10-15 16:23:18', 1, NULL, NULL, 0, NULL, NULL);
INSERT INTO `users` VALUES (29, '13800138029', 'user29@example.com', '林珊', '$2a$10$iqYRLo8mS22pSK2uKu/CKOFvBZVLZIvsNOZvlFaoAJNmRETKzeNmy', 2, '1997-12-03', 'https://i.pravatar.cc/150?img=53', 1, 'wechat', 1, '2025-10-15 16:22:32', '2025-10-15 16:23:19', 1, NULL, NULL, 0, NULL, NULL);
INSERT INTO `users` VALUES (30, '13800138030', 'user30@example.com', '高远', '$2a$10$iqYRLo8mS22pSK2uKu/CKOFvBZVLZIvsNOZvlFaoAJNmRETKzeNmy', 1, '1993-09-17', 'https://i.pravatar.cc/150?img=54', 1, 'wechat', 1, '2025-10-15 16:22:32', '2025-10-15 16:23:21', 1, NULL, NULL, 0, NULL, NULL);
INSERT INTO `users` VALUES (31, '13800138031', 'user31@example.com', '杜薇', '$2a$10$iqYRLo8mS22pSK2uKu/CKOFvBZVLZIvsNOZvlFaoAJNmRETKzeNmy', 2, '1995-01-28', 'https://i.pravatar.cc/150?img=55', 1, 'wechat', 1, '2025-10-15 16:22:32', '2025-10-15 16:23:22', 1, NULL, NULL, 0, NULL, NULL);
INSERT INTO `users` VALUES (32, '13800138032', 'user32@example.com', '彭勋', '$2a$10$iqYRLo8mS22pSK2uKu/CKOFvBZVLZIvsNOZvlFaoAJNmRETKzeNmy', 1, '1991-11-06', 'https://i.pravatar.cc/150?img=56', 1, 'wechat', 1, '2025-10-15 16:22:32', '2025-10-15 16:23:23', 1, NULL, NULL, 0, NULL, NULL);
INSERT INTO `users` VALUES (33, '13800138033', 'user33@example.com', '贺敏', '$2a$10$iqYRLo8mS22pSK2uKu/CKOFvBZVLZIvsNOZvlFaoAJNmRETKzeNmy', 2, '1998-03-15', 'https://i.pravatar.cc/150?img=57', 1, 'wechat', 1, '2025-10-15 16:22:32', '2025-10-15 16:23:24', 1, NULL, NULL, 0, NULL, NULL);
INSERT INTO `users` VALUES (34, '13800138034', 'user34@example.com', '邵凯', '$2a$10$iqYRLo8mS22pSK2uKu/CKOFvBZVLZIvsNOZvlFaoAJNmRETKzeNmy', 1, '1994-07-29', 'https://i.pravatar.cc/150?img=58', 1, 'wechat', 1, '2025-10-15 16:22:32', '2025-10-15 16:23:26', 1, NULL, NULL, 0, NULL, NULL);
INSERT INTO `users` VALUES (35, '13800138035', 'user35@example.com', '喻菲', '$2a$10$iqYRLo8mS22pSK2uKu/CKOFvBZVLZIvsNOZvlFaoAJNmRETKzeNmy', 2, '1996-10-19', 'https://i.pravatar.cc/150?img=59', 1, 'wechat', 1, '2025-10-15 16:22:32', '2025-10-15 16:23:33', 1, NULL, NULL, 0, NULL, NULL);
INSERT INTO `users` VALUES (36, '13800138036', 'user36@example.com', '卢俊', '$2a$10$iqYRLo8mS22pSK2uKu/CKOFvBZVLZIvsNOZvlFaoAJNmRETKzeNmy', 1, '1992-02-10', 'https://i.pravatar.cc/150?img=60', 1, 'wechat', 1, '2025-10-15 16:22:32', '2025-10-15 16:23:34', 1, NULL, NULL, 0, NULL, NULL);
INSERT INTO `users` VALUES (37, '13800138037', 'user37@example.com', '向晴', '$2a$10$iqYRLo8mS22pSK2uKu/CKOFvBZVLZIvsNOZvlFaoAJNmRETKzeNmy', 2, '1997-05-06', 'https://i.pravatar.cc/150?img=61', 1, 'wechat', 1, '2025-10-15 16:22:32', '2025-10-15 16:23:35', 1, NULL, NULL, 0, NULL, NULL);
INSERT INTO `users` VALUES (38, '13800138038', 'user38@example.com', '白宇', '$2a$10$iqYRLo8mS22pSK2uKu/CKOFvBZVLZIvsNOZvlFaoAJNmRETKzeNmy', 1, '1993-06-26', 'https://i.pravatar.cc/150?img=62', 1, 'wechat', 1, '2025-10-15 16:22:32', '2025-10-15 16:23:36', 1, NULL, NULL, 0, NULL, NULL);
INSERT INTO `users` VALUES (39, '13800138039', 'user39@example.com', '宁馨', '$2a$10$iqYRLo8mS22pSK2uKu/CKOFvBZVLZIvsNOZvlFaoAJNmRETKzeNmy', 2, '1995-09-09', 'https://i.pravatar.cc/150?img=63', 1, 'wechat', 1, '2025-10-15 16:22:32', '2025-10-15 16:23:37', 1, NULL, NULL, 0, NULL, NULL);
INSERT INTO `users` VALUES (40, '13800138040', 'user40@example.com', '冷峰', '$2a$10$iqYRLo8mS22pSK2uKu/CKOFvBZVLZIvsNOZvlFaoAJNmRETKzeNmy', 1, '1991-12-30', 'https://i.pravatar.cc/150?img=64', 1, 'wechat', 1, '2025-10-15 16:22:32', '2025-10-15 16:23:37', 1, NULL, NULL, 0, NULL, NULL);
INSERT INTO `users` VALUES (41, '13800138041', 'user41@example.com', '顾婧', '$2a$10$iqYRLo8mS22pSK2uKu/CKOFvBZVLZIvsNOZvlFaoAJNmRETKzeNmy', 2, '1996-08-08', 'https://i.pravatar.cc/150?img=65', 1, 'wechat', 1, '2025-10-15 16:22:32', '2025-10-15 16:23:38', 1, NULL, NULL, 0, NULL, NULL);
INSERT INTO `users` VALUES (42, '13800138042', 'user42@example.com', '邹洋', '$2a$10$iqYRLo8mS22pSK2uKu/CKOFvBZVLZIvsNOZvlFaoAJNmRETKzeNmy', 1, '1992-04-03', 'https://i.pravatar.cc/150?img=66', 1, 'wechat', 1, '2025-10-15 16:22:32', '2025-10-15 16:23:38', 1, NULL, NULL, 0, NULL, NULL);
INSERT INTO `users` VALUES (43, '13800138043', 'user43@example.com', '吕媛', '$2a$10$iqYRLo8mS22pSK2uKu/CKOFvBZVLZIvsNOZvlFaoAJNmRETKzeNmy', 2, '1997-11-23', 'https://i.pravatar.cc/150?img=67', 1, 'wechat', 1, '2025-10-15 16:22:32', '2025-10-15 16:23:39', 1, NULL, NULL, 0, NULL, NULL);
INSERT INTO `users` VALUES (44, '13800138044', 'user44@example.com', '汪诚', '$2a$10$iqYRLo8mS22pSK2uKu/CKOFvBZVLZIvsNOZvlFaoAJNmRETKzeNmy', 1, '1993-01-14', 'https://i.pravatar.cc/150?img=68', 1, 'wechat', 1, '2025-10-15 16:22:32', '2025-10-15 16:23:40', 1, NULL, NULL, 0, NULL, NULL);
INSERT INTO `users` VALUES (45, '13800138045', 'user45@example.com', '乔琳', '$2a$10$iqYRLo8mS22pSK2uKu/CKOFvBZVLZIvsNOZvlFaoAJNmRETKzeNmy', 2, '1996-06-18', 'https://i.pravatar.cc/150?img=69', 1, 'wechat', 1, '2025-10-15 16:22:32', '2025-10-15 16:23:40', 1, NULL, NULL, 0, NULL, NULL);
INSERT INTO `users` VALUES (46, '13800138046', 'user46@example.com', '雷博', '$2a$10$iqYRLo8mS22pSK2uKu/CKOFvBZVLZIvsNOZvlFaoAJNmRETKzeNmy', 1, '1992-10-02', 'https://i.pravatar.cc/150?img=70', 1, 'wechat', 1, '2025-10-15 16:22:32', '2025-10-15 16:23:41', 1, NULL, NULL, 0, NULL, NULL);
INSERT INTO `users` VALUES (47, '13900139001', NULL, '????39001', '$2a$10$t/NVGjSklPolDjt1pyaSQOtD2MxlSaAhYaW95t9kf/k.pjhiAcLRq', 0, NULL, '', 1, 'sms', 0, '2025-10-16 09:10:30', '2025-10-16 09:10:30', 0, '2025-10-16 09:10:30', NULL, 0, NULL, NULL);
INSERT INTO `users` VALUES (48, '18804295718', NULL, '用户5718', '$2a$10$zMGGAN/2ffxkYAy38TNT0.LzspYSxKCEcI/O2bjzm0UjxPoVdPBry', 0, NULL, '', 1, 'sms', 0, '2025-10-16 09:47:24', '2025-10-16 09:47:24', 0, '2025-10-16 09:47:24', NULL, 0, NULL, NULL);
INSERT INTO `users` VALUES (49, '13900139003', NULL, '????39003', '$2a$10$Pmgkvd0uQFUUjsaZGE0ZLeNL3ovxTFzEKPu78E6y.meLtwE1zgo8u', 0, NULL, '', 1, 'sms', 0, '2025-10-16 10:07:50', '2025-10-16 10:07:50', 0, '2025-10-16 10:07:50', NULL, 0, NULL, NULL);

-- ----------------------------
-- Table structure for vip_package
-- ----------------------------
DROP TABLE IF EXISTS `vip_package`;
CREATE TABLE `vip_package`  (
  `package_id` bigint NOT NULL AUTO_INCREMENT COMMENT '套餐ID',
  `package_name` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL COMMENT '套餐名称',
  `duration_days` int NOT NULL COMMENT '有效天数',
  `original_price` decimal(10, 2) NOT NULL COMMENT '原价',
  `current_price` decimal(10, 2) NOT NULL COMMENT '现价',
  `is_recommend` tinyint NULL DEFAULT 0 COMMENT '是否推荐 0-否 1-是',
  `benefits` text CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL COMMENT '特权描述（JSON格式）',
  `sort_order` int NULL DEFAULT 0 COMMENT '排序',
  `status` tinyint NULL DEFAULT 1 COMMENT '状态 0-下架 1-上架',
  `create_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
  `update_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '更新时间',
  PRIMARY KEY (`package_id`) USING BTREE,
  INDEX `idx_status`(`status` ASC) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 4 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_0900_ai_ci COMMENT = 'VIP套餐表' ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of vip_package
-- ----------------------------
INSERT INTO `vip_package` VALUES (1, '月度VIP', 30, 228.00, 199.00, 0, '[\"30天有效\", \"所有特权\"]', 1, 1, '2025-10-13 13:43:33', '2025-10-13 14:01:26');
INSERT INTO `vip_package` VALUES (2, '季度VIP', 90, 384.00, 268.00, 1, '[\"90天有效\", \"送3次红娘\"]', 2, 1, '2025-10-13 13:43:33', '2025-10-13 13:43:33');
INSERT INTO `vip_package` VALUES (3, '年度VIP', 365, 1536.00, 888.00, 0, '[\"365天有效\", \"送12次红娘\", \"专属客服\"]', 3, 1, '2025-10-13 13:43:33', '2025-10-13 13:43:33');

SET FOREIGN_KEY_CHECKS = 1;
