/*
 Navicat Premium Data Transfer

 Source Server         : 自己的阿里云3年mysql
 Source Server Type    : MySQL
 Source Server Version : 50734
 Source Host           : 47.108.115.128:3306
 Source Schema         : sharding0

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

 Date: 17/02/2022 15:13:14
*/

SET NAMES utf8mb4;
SET FOREIGN_KEY_CHECKS = 0;

-- ----------------------------
-- Table structure for t_order_2022
-- ----------------------------
DROP TABLE IF EXISTS `t_order_2022`;
CREATE TABLE `t_order_2022`  (
  `id` bigint(18) NOT NULL COMMENT '主键',
  `user_id` bigint(18) NOT NULL COMMENT '用户id',
  `order_num` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '订单编号',
  `money` decimal(20, 0) NULL DEFAULT NULL COMMENT '订单金额',
  `year` int(10) NULL DEFAULT NULL COMMENT '新增年份',
  `create_time` datetime(0) NULL DEFAULT NULL COMMENT '新增时间',
  PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of t_order_2022
-- ----------------------------
INSERT INTO `t_order_2022` VALUES (1494203246671671298, 1, '935', 438, 2022, '2022-01-03 00:00:00');
INSERT INTO `t_order_2022` VALUES (1494203265957081090, 2, '669', 354, 2022, '2022-01-03 00:00:00');

-- ----------------------------
-- Table structure for t_order_2023
-- ----------------------------
DROP TABLE IF EXISTS `t_order_2023`;
CREATE TABLE `t_order_2023`  (
  `id` bigint(18) NOT NULL COMMENT '主键',
  `user_id` bigint(18) NOT NULL COMMENT '用户id',
  `order_num` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '订单编号',
  `money` decimal(20, 0) NULL DEFAULT NULL COMMENT '订单金额',
  `year` int(10) NULL DEFAULT NULL COMMENT '新增年份',
  `create_time` datetime(0) NULL DEFAULT NULL COMMENT '新增时间',
  PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci ROW_FORMAT = Dynamic;

-- ----------------------------
-- Table structure for t_user_2022
-- ----------------------------
DROP TABLE IF EXISTS `t_user_2022`;
CREATE TABLE `t_user_2022`  (
  `id` bigint(18) NOT NULL AUTO_INCREMENT COMMENT '主键',
  `name` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '姓名',
  `age` int(11) NULL DEFAULT NULL COMMENT '年龄',
  `year` int(10) NULL DEFAULT NULL COMMENT '新增年份',
  `create_time` datetime(0) NULL DEFAULT NULL COMMENT '新增时间',
  PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 5 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of t_user_2022
-- ----------------------------
INSERT INTO `t_user_2022` VALUES (4, 'Rubenmouth', 824, 2022, '2022-02-03 00:00:00');

-- ----------------------------
-- Table structure for t_user_2023
-- ----------------------------
DROP TABLE IF EXISTS `t_user_2023`;
CREATE TABLE `t_user_2023`  (
  `id` bigint(18) NOT NULL AUTO_INCREMENT COMMENT '主键',
  `name` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '姓名',
  `age` int(11) NULL DEFAULT NULL COMMENT '年龄',
  `year` int(10) NULL DEFAULT NULL COMMENT '新增年份',
  `create_time` datetime(0) NULL DEFAULT NULL COMMENT '新增时间',
  PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 3 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of t_user_2023
-- ----------------------------
INSERT INTO `t_user_2023` VALUES (2, 'Carlsbad', 829, 2023, '2023-02-03 00:00:00');

SET FOREIGN_KEY_CHECKS = 1;
