/*
 Navicat Premium Data Transfer

 Source Server         : 外卖测试108
 Source Server Type    : MySQL
 Source Server Version : 50744
 Source Host           : 172.16.20.108:3306
 Source Schema         : tcwm2.5

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

 Date: 02/04/2025 09:31:40
*/

SET NAMES utf8mb4;
SET FOREIGN_KEY_CHECKS = 0;

-- ----------------------------
-- Table structure for transfer_record
-- ----------------------------
DROP TABLE IF EXISTS `transfer_record`;
CREATE TABLE `transfer_record`  (
  `id` int(20) NOT NULL AUTO_INCREMENT COMMENT '记录id',
  `user_id` int(11) NULL DEFAULT NULL COMMENT '骑手ID',
  `user_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '骑手名称',
  `user_phone` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '骑手手机号',
  `order_id` int(11) NULL DEFAULT NULL COMMENT '订单ID',
  `receve_time` datetime(0) NULL DEFAULT NULL COMMENT '接单时间',
  `station_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '站点名称',
  `delete_flag` varchar(1) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL COMMENT '删除标识;0未删除、1已删除',
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `order_id_idx`(`order_id`) USING BTREE COMMENT '订单ID'
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci ROW_FORMAT = Dynamic;

SET FOREIGN_KEY_CHECKS = 1;
