/*
 Navicat Premium Dump SQL

 Source Server         : local-mysql8
 Source Server Type    : MySQL
 Source Server Version : 80039 (8.0.39)
 Source Host           : localhost:3306
 Source Schema         : order

 Target Server Type    : MySQL
 Target Server Version : 80039 (8.0.39)
 File Encoding         : 65001

 Date: 01/11/2025 13:24:48
*/

SET NAMES utf8mb4;
SET FOREIGN_KEY_CHECKS = 0;

-- ----------------------------
-- Table structure for login_logs
-- ----------------------------
DROP TABLE IF EXISTS `login_logs`;
CREATE TABLE `login_logs` (
  `id` int NOT NULL AUTO_INCREMENT,
  `user_id` int NOT NULL,
  `login_date` date DEFAULT NULL,
  `login_time` datetime DEFAULT NULL,
  `offline_time` datetime DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=23 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;

-- ----------------------------
-- Records of login_logs
-- ----------------------------
BEGIN;
INSERT INTO `login_logs` (`id`, `user_id`, `login_date`, `login_time`, `offline_time`) VALUES (1, 1001, '2025-04-01', '2025-04-01 13:06:31', '2025-04-01 13:26:31');
INSERT INTO `login_logs` (`id`, `user_id`, `login_date`, `login_time`, `offline_time`) VALUES (2, 1002, '2025-04-01', '2025-04-01 10:00:56', '2025-04-01 11:00:56');
INSERT INTO `login_logs` (`id`, `user_id`, `login_date`, `login_time`, `offline_time`) VALUES (3, 1003, '2025-04-01', '2025-04-01 13:02:31', '2025-04-01 13:32:31');
INSERT INTO `login_logs` (`id`, `user_id`, `login_date`, `login_time`, `offline_time`) VALUES (4, 1006, '2025-04-02', '2025-04-02 10:01:00', '2025-04-02 10:51:00');
INSERT INTO `login_logs` (`id`, `user_id`, `login_date`, `login_time`, `offline_time`) VALUES (5, 1002, '2025-04-07', '2025-04-07 08:01:00', '2025-04-07 12:01:00');
INSERT INTO `login_logs` (`id`, `user_id`, `login_date`, `login_time`, `offline_time`) VALUES (6, 1003, '2025-04-08', '2025-04-08 09:11:00', '2025-04-08 14:12:00');
INSERT INTO `login_logs` (`id`, `user_id`, `login_date`, `login_time`, `offline_time`) VALUES (7, 1002, '2025-04-08', '2025-04-08 10:04:00', '2025-04-08 11:04:00');
INSERT INTO `login_logs` (`id`, `user_id`, `login_date`, `login_time`, `offline_time`) VALUES (8, 1002, '2025-04-02', '2025-04-02 10:18:00', '2025-04-02 19:18:00');
INSERT INTO `login_logs` (`id`, `user_id`, `login_date`, `login_time`, `offline_time`) VALUES (9, 1002, '2025-04-03', '2025-04-03 10:22:00', '2025-04-03 13:22:00');
INSERT INTO `login_logs` (`id`, `user_id`, `login_date`, `login_time`, `offline_time`) VALUES (10, 1001, '2025-04-02', '2025-04-02 13:35:00', '2025-04-02 14:36:00');
INSERT INTO `login_logs` (`id`, `user_id`, `login_date`, `login_time`, `offline_time`) VALUES (11, 1006, '2025-04-03', '2025-04-03 10:34:00', '2025-04-03 10:37:00');
INSERT INTO `login_logs` (`id`, `user_id`, `login_date`, `login_time`, `offline_time`) VALUES (12, 1007, '2025-04-03', '2025-04-03 17:01:00', '2025-04-03 18:21:00');
INSERT INTO `login_logs` (`id`, `user_id`, `login_date`, `login_time`, `offline_time`) VALUES (13, 1007, '2025-04-02', '2025-04-02 15:23:00', '2025-04-02 15:29:00');
INSERT INTO `login_logs` (`id`, `user_id`, `login_date`, `login_time`, `offline_time`) VALUES (14, 1008, '2025-04-07', '2025-04-07 23:01:00', '2025-04-07 23:34:00');
INSERT INTO `login_logs` (`id`, `user_id`, `login_date`, `login_time`, `offline_time`) VALUES (15, 1009, '2025-04-02', '2025-04-02 21:54:00', '2025-04-02 22:22:00');
INSERT INTO `login_logs` (`id`, `user_id`, `login_date`, `login_time`, `offline_time`) VALUES (16, 1002, '2025-04-01', '2025-04-01 16:00:20', '2025-04-01 16:50:20');
INSERT INTO `login_logs` (`id`, `user_id`, `login_date`, `login_time`, `offline_time`) VALUES (17, 1010, '2025-04-09', '2025-04-09 10:00:00', '2025-04-09 10:20:00');
INSERT INTO `login_logs` (`id`, `user_id`, `login_date`, `login_time`, `offline_time`) VALUES (18, 1010, '2025-04-15', '2025-04-15 12:30:00', '2025-04-15 13:30:00');
INSERT INTO `login_logs` (`id`, `user_id`, `login_date`, `login_time`, `offline_time`) VALUES (19, 1011, '2025-04-09', '2025-04-09 10:00:00', '2025-04-09 10:30:00');
INSERT INTO `login_logs` (`id`, `user_id`, `login_date`, `login_time`, `offline_time`) VALUES (20, 1002, '2025-05-09', '2025-05-09 10:00:00', '2025-05-09 12:00:00');
INSERT INTO `login_logs` (`id`, `user_id`, `login_date`, `login_time`, `offline_time`) VALUES (21, 1007, '2025-05-23', '2025-05-23 12:12:00', '2025-05-23 12:34:00');
INSERT INTO `login_logs` (`id`, `user_id`, `login_date`, `login_time`, `offline_time`) VALUES (22, 1006, '2025-05-12', '2025-05-12 12:34:00', '2025-05-12 23:34:00');
COMMIT;

SET FOREIGN_KEY_CHECKS = 1;
