/*
 Navicat Premium Data Transfer

 Source Server         : 媒体经纪人-测试
 Source Server Type    : MySQL
 Source Server Version : 80042
 Source Host           : 124.221.59.58:3309
 Source Schema         : ai_smart_badge

 Target Server Type    : MySQL
 Target Server Version : 80042
 File Encoding         : 65001

 Date: 10/09/2025 07:53:46
*/

SET NAMES utf8mb4;
SET FOREIGN_KEY_CHECKS = 0;

-- ----------------------------
-- Table structure for dealership
-- ----------------------------
DROP TABLE IF EXISTS `dealership`;
CREATE TABLE `dealership`  (
  `id` char(36) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL COMMENT '主键，UUID',
  `dealership_name` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL COMMENT '经销商名称',
  `dealership_code` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL COMMENT '经销商代码',
  `remaining_hours` decimal(10, 2) NULL DEFAULT 0.00 COMMENT '剩余时长(小时)',
  `sales_count` int NULL DEFAULT 0 COMMENT '销售人员数量',
  `avg_recordings` int NULL DEFAULT 0 COMMENT '人均录音条数',
  `avg_recording_duration` decimal(10, 2) NULL DEFAULT 0.00 COMMENT '平均录音时长(分钟)',
  `region` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '地区',
  `group_name` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '分组',
  `language` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '语言',
  `dealership_type` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '经销商类型',
  `status` tinyint(1) NULL DEFAULT 1 COMMENT '状态(1正常 0停用)',
  `create_time` datetime NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
  `update_time` datetime NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '更新时间',
  PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_0900_ai_ci COMMENT = '汽车经销商门店信息表' ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of dealership
-- ----------------------------
INSERT INTO `dealership` VALUES ('1953649648788926466', '北京奥迪4S店', 'BJ_AUDI_001', 120.50, 15, 25, 18.50, '华北', '奥迪品牌组', '中文', '4S店', 1, '2025-08-08 10:49:08', '2025-08-08 10:49:08');
INSERT INTO `dealership` VALUES ('1953687352360579073', '4S店1-20250813', 'DEAL001', 52.50, 9, 16, 12.30, '华南', '雷克萨斯品牌组', '中文', '4S店', 1, '2025-08-07 13:18:57', '2025-08-14 05:37:06');
INSERT INTO `dealership` VALUES ('1953687355489529857', '4S店2-20250813', 'DEAL002', 55.00, 10, 17, 12.60, '华中', '路虎品牌组', '中文', '4S店', 1, '2025-08-06 13:18:58', '2025-08-14 05:36:47');
INSERT INTO `dealership` VALUES ('1953687355879600129', '4S店3-20250813', 'DEAL003', 57.50, 11, 18, 12.90, '华东', '讴歌品牌组', '中文', '4S店', 1, '2025-08-05 13:18:58', '2025-08-14 16:32:09');
INSERT INTO `dealership` VALUES ('1957424710587330562', '广州奔驰4S店', 'GZ_BENZ_001', 150.00, 18, 28, 20.50, '华南', '奔驰品牌组', '中文', '4S店', 1, '2025-08-18 20:49:53', '2025-08-18 20:49:53');
INSERT INTO `dealership` VALUES ('1957424711560409089', '北京奥迪4S店', 'BJ_AUDI_001', 120.50, 15, 25, 18.50, '华北', '奥迪品牌组', '中文', '4S店', 1, '2025-08-18 20:49:53', '2025-08-18 20:49:53');
INSERT INTO `dealership` VALUES ('1957424714953601026', '上海宝马4S店', 'SH_BMW_001', 95.00, 20, 30, 22.00, '华东', '宝马品牌组', '中文', '4S店', 1, '2025-08-18 20:49:54', '2025-08-18 20:49:54');
INSERT INTO `dealership` VALUES ('1957424739267981313', '深圳雷克萨斯4S店', 'SZ_LEXUS_001', 100.00, 15, 25, 16.50, '华南', '雷克萨斯品牌组', '中文', '4S店', 1, '2025-08-18 20:50:00', '2025-08-18 20:50:00');
INSERT INTO `dealership` VALUES ('1957424740000000001', '成都保时捷4S店', 'CD_PORSCHE_001', 180.00, 22, 35, 25.80, '西南', '保时捷品牌组', '中文', '4S店', 1, '2025-08-19 09:15:30', '2025-08-19 09:15:30');
INSERT INTO `dealership` VALUES ('1957424740000000002', '杭州沃尔沃4S店', 'HZ_VOLVO_001', 88.50, 12, 20, 14.20, '华东', '沃尔沃品牌组', '中文', '4S店', 1, '2025-08-19 09:16:15', '2025-08-19 09:16:15');
INSERT INTO `dealership` VALUES ('1957424740000000003', '武汉凯迪拉克4S店', 'WH_CADILLAC_001', 75.30, 14, 22, 16.80, '华中', '凯迪拉克品牌组', '中文', '4S店', 1, '2025-08-19 09:17:00', '2025-08-19 09:17:00');
INSERT INTO `dealership` VALUES ('1957424740000000004', '西安英菲尼迪4S店', 'XA_INFINITI_001', 65.80, 10, 18, 13.50, '西北', '英菲尼迪品牌组', '中文', '4S店', 1, '2025-08-19 09:17:45', '2025-08-19 09:17:45');
INSERT INTO `dealership` VALUES ('1957424740000000005', '南京捷豹4S店', 'NJ_JAGUAR_001', 95.20, 16, 26, 19.20, '华东', '捷豹品牌组', '中文', '4S店', 1, '2025-08-19 09:18:30', '2025-08-19 09:18:30');
INSERT INTO `dealership` VALUES ('1957424740000000006', '青岛林肯4S店', 'QD_LINCOLN_001', 82.40, 13, 21, 15.60, '华北', '林肯品牌组', '中文', '4S店', 1, '2025-08-19 09:19:15', '2025-08-19 09:19:15');
INSERT INTO `dealership` VALUES ('1957424740000000007', '长沙玛莎拉蒂4S店', 'CS_MASERATI_001', 200.00, 25, 40, 28.50, '华中', '玛莎拉蒂品牌组', '中文', '4S店', 1, '2025-08-19 09:20:00', '2025-08-19 09:20:00');
INSERT INTO `dealership` VALUES ('1957424740000000008', '大连阿斯顿马丁4S店', 'DL_ASTON_001', 350.00, 30, 50, 35.20, '东北', '阿斯顿马丁品牌组', '中文', '4S店', 1, '2025-08-19 09:20:45', '2025-08-19 09:20:45');
INSERT INTO `dealership` VALUES ('1957424740000000009', '厦门兰博基尼4S店', 'XM_LAMBORGHINI_001', 450.00, 35, 60, 42.80, '华南', '兰博基尼品牌组', '中文', '4S店', 1, '2025-08-19 09:21:30', '2025-08-19 09:21:30');
INSERT INTO `dealership` VALUES ('1957424740000000010', '重庆法拉利4S店', 'CQ_FERRARI_001', 500.00, 40, 70, 48.50, '西南', '法拉利品牌组', '中文', '4S店', 1, '2025-08-19 09:22:15', '2025-08-19 09:22:15');
INSERT INTO `dealership` VALUES ('1957424740000000011', '苏州宾利4S店', 'SZ_BENTLEY_001', 380.00, 28, 45, 32.60, '华东', '宾利品牌组', '中文', '4S店', 1, '2025-08-19 09:23:00', '2025-08-19 09:23:00');
INSERT INTO `dealership` VALUES ('1957424740000000012', '天津劳斯莱斯4S店', 'TJ_ROLLS_001', 600.00, 45, 80, 55.20, '华北', '劳斯莱斯品牌组', '中文', '4S店', 1, '2025-08-19 09:23:45', '2025-08-19 09:23:45');
INSERT INTO `dealership` VALUES ('1957424740000000013', '无锡迈凯伦4S店', 'WX_MCLAREN_001', 420.00, 32, 55, 38.90, '华东', '迈凯伦品牌组', '中文', '4S店', 1, '2025-08-19 09:24:30', '2025-08-19 09:24:30');
INSERT INTO `dealership` VALUES ('1957424740000000014', '郑州布加迪4S店', 'ZZ_BUGATTI_001', 800.00, 50, 90, 65.80, '华中', '布加迪品牌组', '中文', '4S店', 1, '2025-08-19 09:25:15', '2025-08-19 09:25:15');
INSERT INTO `dealership` VALUES ('1957424740000000015', '沈阳柯尼塞格4S店', 'SY_KOENIGSEGG_001', 900.00, 55, 100, 72.50, '东北', '柯尼塞格品牌组', '中文', '4S店', 1, '2025-08-19 09:26:00', '2025-08-19 09:26:00');
INSERT INTO `dealership` VALUES ('1957424740000000016', '宁波帕加尼4S店', 'NB_PAGANI_001', 750.00, 48, 85, 58.30, '华东', '帕加尼品牌组', '中文', '4S店', 1, '2025-08-19 09:26:45', '2025-08-19 09:26:45');
INSERT INTO `dealership` VALUES ('1957424740000000017', '昆明威兹曼4S店', 'KM_WIESMANN_001', 320.00, 26, 42, 29.80, '西南', '威兹曼品牌组', '中文', '4S店', 1, '2025-08-19 09:27:30', '2025-08-19 09:27:30');
INSERT INTO `dealership` VALUES ('1957424740000000018', '哈尔滨世爵4S店', 'HRB_SPYKER_001', 280.00, 24, 38, 26.50, '东北', '世爵品牌组', '中文', '4S店', 1, '2025-08-19 09:28:15', '2025-08-19 09:28:15');
INSERT INTO `dealership` VALUES ('1957424740000000019', '石家庄摩根4S店', 'SJZ_MORGAN_001', 150.00, 18, 28, 20.50, '华北', '摩根品牌组', '中文', '4S店', 1, '2025-08-19 09:29:00', '2025-08-19 09:29:00');
INSERT INTO `dealership` VALUES ('1957424740000000020', '福州路特斯4S店', 'FZ_LOTUS_001', 120.00, 15, 25, 18.50, '华南', '路特斯品牌组', '中文', '4S店', 1, '2025-08-19 09:29:45', '2025-08-19 09:29:45');

SET FOREIGN_KEY_CHECKS = 1;

{'1957424710587330562', '广州奔驰4S店'},{'1957424711560409089', '北京奥迪4S店'},{'1957424714953601026', '上海宝马4S店'},{'1957424739267981313', '深圳雷克萨斯4S店'},{'1957424740000000001', '成都保时捷4S店'},{'1957424740000000017', '昆明威兹曼4S店'},{}
