-- https://www.phpmyadmin.net/
--

START TRANSACTION;



--
-- Database: `german`
--

-- --------------------------------------------------------

--
-- Table structure for table `attendance_session_log`
--

CREATE TABLE `attendance_session_log` (
  `id` int(11) NOT NULL,
  `lop_hoc_id` int(11) NOT NULL,
  `ngay_diem_danh` date NOT NULL,
  `teacher_id` int(11) NOT NULL,
  `created_at` timestamp NOT NULL DEFAULT current_timestamp()
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

--
-- Dumping data for table `attendance_session_log`
--

INSERT INTO `attendance_session_log` (`id`, `lop_hoc_id`, `ngay_diem_danh`, `teacher_id`, `created_at`) VALUES
(1, 1, '2025-07-24', 8, '2025-07-24 11:09:33'),
(2, 1, '2025-07-25', 8, '2025-07-25 11:10:36'),
(3, 4, '2025-07-25', 8, '2025-07-25 11:16:15'),
(4, 1, '2025-08-13', 9, '2025-08-13 09:01:35'),
(5, 1, '2025-08-16', 9, '2025-08-16 02:18:58'),
(6, 8, '2025-08-16', 8, '2025-08-16 04:06:19'),
(7, 21, '2025-08-18', 15, '2025-08-18 03:01:23'),
(8, 29, '2025-08-18', 19, '2025-08-18 09:12:35'),
(9, 29, '2025-08-19', 19, '2025-08-19 02:39:52'),
(10, 29, '2025-08-20', 19, '2025-08-20 01:03:14'),
(11, 28, '2025-08-20', 19, '2025-08-20 06:14:18'),
(12, 29, '2025-08-21', 19, '2025-08-21 01:06:16'),
(13, 28, '2025-08-21', 19, '2025-08-21 08:53:47'),
(14, 29, '2025-08-22', 19, '2025-08-22 01:08:24'),
(15, 28, '2025-08-22', 19, '2025-08-22 06:40:06'),
(16, 25, '2025-08-22', 17, '2025-08-22 08:54:12'),
(17, 29, '2025-08-25', 19, '2025-08-25 01:02:51'),
(18, 28, '2025-08-25', 19, '2025-08-25 06:34:46'),
(19, 29, '2025-08-26', 19, '2025-08-26 01:18:23'),
(20, 28, '2025-08-26', 19, '2025-08-26 06:25:57'),
(21, 29, '2025-08-27', 19, '2025-08-27 01:06:10'),
(22, 28, '2025-08-27', 19, '2025-08-27 07:18:07'),
(23, 29, '2025-08-28', 19, '2025-08-28 01:03:16'),
(24, 28, '2025-08-28', 19, '2025-08-28 06:26:00'),
(25, 29, '2025-08-29', 19, '2025-08-29 01:02:02'),
(26, 29, '2025-09-03', 19, '2025-09-03 01:22:40'),
(27, 28, '2025-09-03', 19, '2025-09-03 06:29:19'),
(28, 29, '2025-09-04', 19, '2025-09-04 01:03:15'),
(29, 28, '2025-09-04', 19, '2025-09-04 06:19:54'),
(30, 29, '2025-09-05', 19, '2025-09-05 01:10:49'),
(31, 28, '2025-09-05', 19, '2025-09-05 06:17:51'),
(32, 29, '2025-09-08', 19, '2025-09-08 01:03:10'),
(33, 28, '2025-09-08', 19, '2025-09-08 06:25:54'),
(34, 29, '2025-09-09', 19, '2025-09-09 02:40:07'),
(35, 28, '2025-09-09', 19, '2025-09-09 06:45:08'),
(36, 29, '2025-09-10', 19, '2025-09-10 01:03:55'),
(37, 29, '2025-09-11', 19, '2025-09-11 01:05:55'),
(38, 28, '2025-09-11', 19, '2025-09-11 06:32:57'),
(39, 29, '2025-09-12', 19, '2025-09-12 06:35:14'),
(40, 28, '2025-09-12', 19, '2025-09-12 06:35:27'),
(41, 28, '2025-09-16', 19, '2025-09-16 06:35:58'),
(42, 29, '2025-09-17', 19, '2025-09-17 01:11:12'),
(43, 28, '2025-09-18', 19, '2025-09-18 06:27:10'),
(44, 28, '2025-09-19', 19, '2025-09-19 06:57:46'),
(45, 29, '2025-09-19', 19, '2025-09-19 06:58:11'),
(46, 28, '2025-10-11', 19, '2025-10-11 03:17:07'),
(47, 31, '2025-10-13', 25, '2025-10-13 01:21:32'),
(48, 32, '2025-10-13', 26, '2025-10-13 06:48:55'),
(49, 31, '2025-10-14', 25, '2025-10-14 01:16:15'),
(50, 32, '2025-10-14', 26, '2025-10-14 08:56:17'),
(51, 31, '2025-10-15', 25, '2025-10-15 02:19:47'),
(52, 31, '2025-10-17', 25, '2025-10-17 04:52:00'),
(53, 32, '2025-10-17', 26, '2025-10-17 06:56:50'),
(54, 32, '2025-10-20', 26, '2025-10-20 07:03:23'),
(55, 31, '2025-10-21', 25, '2025-10-21 02:40:00'),
(56, 32, '2025-10-21', 26, '2025-10-21 12:23:42'),
(57, 31, '2025-10-22', 25, '2025-10-22 02:23:04'),
(58, 32, '2025-10-24', 26, '2025-10-24 07:25:18'),
(59, 31, '2025-11-05', 25, '2025-11-05 01:49:08'),
(60, 32, '2025-11-05', 26, '2025-11-05 08:07:36'),
(61, 32, '2025-11-06', 26, '2025-11-06 07:09:36'),
(62, 32, '2025-11-07', 26, '2025-11-07 06:16:48'),
(63, 32, '2025-11-15', 26, '2025-11-15 03:47:14');

-- --------------------------------------------------------

--
-- Table structure for table `balances`
--

CREATE TABLE `balances` (
  `id` int(11) NOT NULL,
  `entity_type` enum('student','teacher','user') NOT NULL,
  `entity_id` int(11) NOT NULL,
  `balance` decimal(15,2) DEFAULT 0.00,
  `last_updated` datetime NOT NULL,
  `description` text DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `balances`
--

INSERT INTO `balances` (`id`, `entity_type`, `entity_id`, `balance`, `last_updated`, `description`) VALUES
(12, 'student', 280, 0.00, '2025-08-19 16:40:55', 'Hoàn tiền sách (+1,000,000 VND)'),
(13, 'teacher', 18, 5000000.00, '2025-09-22 10:02:14', NULL),
(14, 'teacher', 19, 1600000.00, '2025-11-05 08:10:42', NULL),
(15, 'student', 281, 0.00, '2025-10-17 15:15:45', 'Hoàn tiền sách (+1,000,000 VND)'),
(16, 'student', 282, 1000000.00, '2025-10-17 15:21:58', 'Hoàn tiền sách (+1,000,000 VND)'),
(17, 'teacher', 25, 400000.00, '2025-11-08 05:36:24', NULL),
(18, 'student', 414, 1000000.00, '2026-01-06 08:21:49', 'Hoàn tiền sách (+1,000,000 VND)');

-- --------------------------------------------------------

--
-- Table structure for table `balance_history`
--

CREATE TABLE `balance_history` (
  `id` int(11) NOT NULL,
  `entity_id` int(11) NOT NULL,
  `entity_type` enum('student','teacher','user') NOT NULL,
  `entity_name` varchar(255) NOT NULL,
  `action_type` varchar(50) NOT NULL,
  `amount` decimal(15,2) NOT NULL,
  `description` text DEFAULT NULL,
  `performed_by` int(11) DEFAULT NULL,
  `performed_by_name` varchar(255) DEFAULT NULL,
  `created_at` timestamp NOT NULL DEFAULT current_timestamp(),
  `updated_at` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp()
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `balance_history`
--

INSERT INTO `balance_history` (`id`, `entity_id`, `entity_type`, `entity_name`, `action_type`, `amount`, `description`, `performed_by`, `performed_by_name`, `created_at`, `updated_at`) VALUES
(17, 280, 'student', 'Phạm Vũ Cường', 'withdraw', 1000000.00, 'Thực hiện rút tiền cho Hv: Phạm Vũ Cường, số tiền: 1.000.000 VND, người thực hiện: Nguyễn Đình Năng, ngày rút: 19/08/2025 11:40:55', 3, 'Nguyễn Đình Năng', '2025-08-19 09:40:55', '2025-08-19 09:40:55'),
(18, 18, 'teacher', 'Lê Thanh Tùng', 'trả thưởng', 200000.00, 'Thực hiện trả thưởng cho GV: Lê Thanh Tùng, số tiền: 200.000 VND, người thực hiện: Hệ thống, ngày thực hiện: 2025-09-05 06:39:03', NULL, 'Hệ thống', '2025-09-04 23:39:03', '2025-09-04 23:39:03'),
(19, 18, 'teacher', 'Lê Thanh Tùng', 'trả thưởng', 200000.00, 'Thực hiện trả thưởng cho GV: Lê Thanh Tùng, số tiền: 200.000 VND, người thực hiện: Hệ thống, ngày thực hiện: 2025-09-05 06:39:03', NULL, 'Hệ thống', '2025-09-04 23:39:03', '2025-09-04 23:39:03'),
(20, 18, 'teacher', 'Lê Thanh Tùng', 'trả thưởng', 200000.00, 'Thực hiện trả thưởng cho GV: Lê Thanh Tùng, số tiền: 200.000 VND, người thực hiện: Hệ thống, ngày thực hiện: 2025-09-05 06:39:05', NULL, 'Hệ thống', '2025-09-04 23:39:05', '2025-09-04 23:39:05'),
(21, 18, 'teacher', 'Lê Thanh Tùng', 'trả thưởng', 200000.00, 'Thực hiện trả thưởng cho GV: Lê Thanh Tùng, số tiền: 200.000 VND, người thực hiện: Hệ thống, ngày thực hiện: 2025-09-05 06:39:06', NULL, 'Hệ thống', '2025-09-04 23:39:06', '2025-09-04 23:39:06'),
(22, 18, 'teacher', 'Lê Thanh Tùng', 'trả thưởng', 200000.00, 'Thực hiện trả thưởng cho GV: Lê Thanh Tùng, số tiền: 200.000 VND, người thực hiện: Hệ thống, ngày thực hiện: 2025-09-05 06:39:07', NULL, 'Hệ thống', '2025-09-04 23:39:07', '2025-09-04 23:39:07'),
(23, 18, 'teacher', 'Lê Thanh Tùng', 'trả thưởng', 200000.00, 'Thực hiện trả thưởng cho GV: Lê Thanh Tùng, số tiền: 200.000 VND, người thực hiện: Hệ thống, ngày thực hiện: 2025-09-05 06:39:08', NULL, 'Hệ thống', '2025-09-04 23:39:08', '2025-09-04 23:39:08'),
(24, 18, 'teacher', 'Lê Thanh Tùng', 'trả thưởng', 200000.00, 'Thực hiện trả thưởng cho GV: Lê Thanh Tùng, số tiền: 200.000 VND, người thực hiện: Hệ thống, ngày thực hiện: 2025-09-05 06:39:08', NULL, 'Hệ thống', '2025-09-04 23:39:08', '2025-09-04 23:39:08'),
(25, 18, 'teacher', 'Lê Thanh Tùng', 'trả thưởng', 200000.00, 'Thực hiện trả thưởng cho GV: Lê Thanh Tùng, số tiền: 200.000 VND, người thực hiện: Hệ thống, ngày thực hiện: 2025-09-05 06:39:10', NULL, 'Hệ thống', '2025-09-04 23:39:10', '2025-09-04 23:39:10'),
(26, 18, 'teacher', 'Lê Thanh Tùng', 'trả thưởng', 200000.00, 'Thực hiện trả thưởng cho GV: Lê Thanh Tùng, số tiền: 200.000 VND, người thực hiện: Hệ thống, ngày thực hiện: 2025-09-05 06:39:10', NULL, 'Hệ thống', '2025-09-04 23:39:10', '2025-09-04 23:39:10'),
(27, 18, 'teacher', 'Lê Thanh Tùng', 'trả thưởng', 200000.00, 'Thực hiện trả thưởng cho GV: Lê Thanh Tùng, số tiền: 200.000 VND, người thực hiện: Hệ thống, ngày thực hiện: 2025-09-05 06:39:11', NULL, 'Hệ thống', '2025-09-04 23:39:11', '2025-09-04 23:39:11'),
(28, 18, 'teacher', 'Lê Thanh Tùng', 'trả thưởng', 200000.00, 'Thực hiện trả thưởng cho GV: Lê Thanh Tùng, số tiền: 200.000 VND, người thực hiện: Hệ thống, ngày thực hiện: 2025-09-05 06:39:12', NULL, 'Hệ thống', '2025-09-04 23:39:12', '2025-09-04 23:39:12'),
(29, 18, 'teacher', 'Lê Thanh Tùng', 'trả thưởng', 200000.00, 'Thực hiện trả thưởng cho GV: Lê Thanh Tùng, số tiền: 200.000 VND, người thực hiện: Hệ thống, ngày thực hiện: 2025-09-05 06:39:13', NULL, 'Hệ thống', '2025-09-04 23:39:13', '2025-09-04 23:39:13'),
(30, 18, 'teacher', 'Lê Thanh Tùng', 'trả thưởng', 200000.00, 'Thực hiện trả thưởng cho GV: Lê Thanh Tùng, số tiền: 200.000 VND, người thực hiện: Hệ thống, ngày thực hiện: 2025-09-05 06:39:13', NULL, 'Hệ thống', '2025-09-04 23:39:13', '2025-09-04 23:39:13'),
(31, 18, 'teacher', 'Lê Thanh Tùng', 'trả thưởng', 200000.00, 'Thực hiện trả thưởng cho GV: Lê Thanh Tùng, số tiền: 200.000 VND, người thực hiện: Hệ thống, ngày thực hiện: 2025-09-05 06:39:14', NULL, 'Hệ thống', '2025-09-04 23:39:14', '2025-09-04 23:39:14'),
(32, 18, 'teacher', 'Lê Thanh Tùng', 'trả thưởng', 200000.00, 'Thực hiện trả thưởng cho GV: Lê Thanh Tùng, số tiền: 200.000 VND, người thực hiện: Hệ thống, ngày thực hiện: 2025-09-05 06:39:14', NULL, 'Hệ thống', '2025-09-04 23:39:14', '2025-09-04 23:39:14'),
(33, 18, 'teacher', 'Lê Thanh Tùng', 'trả thưởng', 200000.00, 'Thực hiện trả thưởng cho GV: Lê Thanh Tùng, số tiền: 200.000 VND, người thực hiện: Hệ thống, ngày thực hiện: 2025-09-05 06:39:15', NULL, 'Hệ thống', '2025-09-04 23:39:15', '2025-09-04 23:39:15'),
(34, 18, 'teacher', 'Lê Thanh Tùng', 'trả thưởng', 200000.00, 'Thực hiện trả thưởng cho GV: Lê Thanh Tùng, số tiền: 200.000 VND, người thực hiện: Hệ thống, ngày thực hiện: 2025-09-05 06:39:16', NULL, 'Hệ thống', '2025-09-04 23:39:16', '2025-09-04 23:39:16'),
(35, 18, 'teacher', 'Lê Thanh Tùng', 'trả thưởng', 200000.00, 'Thực hiện trả thưởng cho GV: Lê Thanh Tùng, số tiền: 200.000 VND, người thực hiện: Hệ thống, ngày thực hiện: 2025-09-05 06:39:16', NULL, 'Hệ thống', '2025-09-04 23:39:16', '2025-09-04 23:39:16'),
(36, 18, 'teacher', 'Lê Thanh Tùng', 'trả thưởng', 200000.00, 'Thực hiện trả thưởng cho GV: Lê Thanh Tùng, số tiền: 200.000 VND, người thực hiện: Hệ thống, ngày thực hiện: 2025-09-05 06:39:17', NULL, 'Hệ thống', '2025-09-04 23:39:17', '2025-09-04 23:39:17'),
(37, 18, 'teacher', 'Lê Thanh Tùng', 'trả thưởng', 200000.00, 'Thực hiện trả thưởng cho GV: Lê Thanh Tùng, số tiền: 200.000 VND, người thực hiện: Hệ thống, ngày thực hiện: 2025-09-05 06:39:18', NULL, 'Hệ thống', '2025-09-04 23:39:18', '2025-09-04 23:39:18'),
(38, 18, 'teacher', 'Lê Thanh Tùng', 'trả thưởng', 200000.00, 'Thực hiện trả thưởng cho GV: Lê Thanh Tùng, số tiền: 200.000 VND, người thực hiện: Hệ thống, ngày thực hiện: 2025-09-05 06:39:18', NULL, 'Hệ thống', '2025-09-04 23:39:18', '2025-09-04 23:39:18'),
(39, 18, 'teacher', 'Lê Thanh Tùng', 'trả thưởng', 200000.00, 'Thực hiện trả thưởng cho GV: Lê Thanh Tùng, số tiền: 200.000 VND, người thực hiện: Hệ thống, ngày thực hiện: 2025-09-05 06:39:19', NULL, 'Hệ thống', '2025-09-04 23:39:19', '2025-09-04 23:39:19'),
(40, 18, 'teacher', 'Lê Thanh Tùng', 'trả thưởng', 200000.00, 'Thực hiện trả thưởng cho GV: Lê Thanh Tùng, số tiền: 200.000 VND, người thực hiện: Hệ thống, ngày thực hiện: 2025-09-05 06:39:19', NULL, 'Hệ thống', '2025-09-04 23:39:19', '2025-09-04 23:39:19'),
(41, 18, 'teacher', 'Lê Thanh Tùng', 'trả thưởng', 200000.00, 'Thực hiện trả thưởng cho GV: Lê Thanh Tùng, số tiền: 200.000 VND, người thực hiện: Hệ thống, ngày thực hiện: 2025-09-22 10:02:14', NULL, 'Hệ thống', '2025-09-22 03:02:14', '2025-09-22 03:02:14'),
(42, 18, 'teacher', 'Lê Thanh Tùng', 'trả thưởng', 200000.00, 'Thực hiện trả thưởng cho GV: Lê Thanh Tùng, số tiền: 200.000 VND, người thực hiện: Hệ thống, ngày thực hiện: 2025-09-22 10:02:14', NULL, 'Hệ thống', '2025-09-22 03:02:14', '2025-09-22 03:02:14'),
(43, 19, 'teacher', 'Trần Nguyễn Hà Vy', 'trả thưởng', 200000.00, 'Thực hiện trả thưởng cho GV: Trần Nguyễn Hà Vy, số tiền: 200.000 VND, người thực hiện: Hệ thống, ngày thực hiện: 2025-09-30 09:35:44', NULL, 'Hệ thống', '2025-09-30 02:35:44', '2025-09-30 02:35:44'),
(44, 19, 'teacher', 'Trần Nguyễn Hà Vy', 'trả thưởng', 200000.00, 'Thực hiện trả thưởng cho GV: Trần Nguyễn Hà Vy, số tiền: 200.000 VND, người thực hiện: Hệ thống, ngày thực hiện: 2025-09-30 09:35:45', NULL, 'Hệ thống', '2025-09-30 02:35:45', '2025-09-30 02:35:45'),
(45, 19, 'teacher', 'Trần Nguyễn Hà Vy', 'trả thưởng', 200000.00, 'Thực hiện trả thưởng cho GV: Trần Nguyễn Hà Vy, số tiền: 200.000 VND, người thực hiện: Hệ thống, ngày thực hiện: 2025-09-30 09:35:47', NULL, 'Hệ thống', '2025-09-30 02:35:47', '2025-09-30 02:35:47'),
(46, 19, 'teacher', 'Trần Nguyễn Hà Vy', 'trả thưởng', 200000.00, 'Thực hiện trả thưởng cho GV: Trần Nguyễn Hà Vy, số tiền: 200.000 VND, người thực hiện: Hệ thống, ngày thực hiện: 2025-09-30 09:35:58', NULL, 'Hệ thống', '2025-09-30 02:35:58', '2025-09-30 02:35:58'),
(47, 19, 'teacher', 'Trần Nguyễn Hà Vy', 'trả thưởng', 200000.00, 'Thực hiện trả thưởng cho GV: Trần Nguyễn Hà Vy, số tiền: 200.000 VND, người thực hiện: Hệ thống, ngày thực hiện: 2025-09-30 09:35:59', NULL, 'Hệ thống', '2025-09-30 02:35:59', '2025-09-30 02:35:59'),
(48, 19, 'teacher', 'Trần Nguyễn Hà Vy', 'trả thưởng', 200000.00, 'Thực hiện trả thưởng cho GV: Trần Nguyễn Hà Vy, số tiền: 200.000 VND, người thực hiện: Hệ thống, ngày thực hiện: 2025-09-30 09:36:00', NULL, 'Hệ thống', '2025-09-30 02:36:00', '2025-09-30 02:36:00'),
(49, 19, 'teacher', 'Trần Nguyễn Hà Vy', 'trả thưởng', 200000.00, 'Thực hiện trả thưởng cho GV: Trần Nguyễn Hà Vy, số tiền: 200.000 VND, người thực hiện: Hệ thống, ngày thực hiện: 2025-09-30 09:36:02', NULL, 'Hệ thống', '2025-09-30 02:36:02', '2025-09-30 02:36:02'),
(50, 281, 'student', 'Trần Quang Cường', 'withdraw', 1000000.00, 'Thực hiện rút tiền cho Hv: Trần Quang Cường, số tiền: 1.000.000 VND, người thực hiện: Nguyễn Đình Năng, ngày rút: 17/10/2025 10:15:45', 3, 'Nguyễn Đình Năng', '2025-10-17 08:15:45', '2025-10-17 08:15:45'),
(51, 19, 'teacher', 'Trần Nguyễn Hà Vy', 'trả thưởng', 200000.00, 'Thực hiện trả thưởng cho GV: Trần Nguyễn Hà Vy, số tiền: 200.000 VND, người thực hiện: Hệ thống, ngày thực hiện: 2025-11-05 08:10:42', NULL, 'Hệ thống', '2025-11-05 01:10:42', '2025-11-05 01:10:42'),
(52, 25, 'teacher', 'Hồ Thanh Thông', 'trả thưởng', 200000.00, 'Thực hiện trả thưởng cho GV: Hồ Thanh Thông, số tiền: 200.000 VND, người thực hiện: Hệ thống, ngày thực hiện: 2025-11-08 05:36:09', NULL, 'Hệ thống', '2025-11-07 22:36:09', '2025-11-07 22:36:09'),
(53, 25, 'teacher', 'Hồ Thanh Thông', 'trả thưởng', 200000.00, 'Thực hiện trả thưởng cho GV: Hồ Thanh Thông, số tiền: 200.000 VND, người thực hiện: Hệ thống, ngày thực hiện: 2025-11-08 05:36:24', NULL, 'Hệ thống', '2025-11-07 22:36:24', '2025-11-07 22:36:24');

-- --------------------------------------------------------

--
-- Table structure for table `cap_bac_nhan_su`
--

CREATE TABLE `cap_bac_nhan_su` (
  `id` int(11) NOT NULL,
  `name` varchar(255) DEFAULT NULL,
  `status` int(11) DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT current_timestamp(),
  `updated_at` timestamp NULL DEFAULT current_timestamp() ON UPDATE current_timestamp()
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `cap_bac_nhan_su`
--

INSERT INTO `cap_bac_nhan_su` (`id`, `name`, `status`, `created_at`, `updated_at`) VALUES
(2, 'Công tác viên', 1, '2025-05-12 13:35:26', '2025-05-12 13:35:26'),
(3, 'Nhân viên', 1, '2025-05-12 13:35:26', '2025-05-12 13:35:26'),
(4, 'Trưởng nhóm', 1, '2025-05-12 13:35:26', '2025-05-12 13:35:26'),
(5, 'Phó phòng', 1, '2025-05-12 13:35:26', '2025-05-12 13:35:26'),
(6, 'Trưởng phòng', 1, '2025-05-12 13:35:26', '2025-05-12 13:35:26'),
(7, 'Giáo viên Part-time', 1, '2025-05-12 13:35:26', '2025-05-12 13:35:26'),
(8, 'Giáo viên Full-time', 1, '2025-05-12 13:35:26', '2025-05-12 13:35:26');

-- --------------------------------------------------------

--
-- Table structure for table `chi_nhanh`
--

CREATE TABLE `chi_nhanh` (
  `id` int(11) NOT NULL,
  `ten_chi_nhanh` varchar(255) NOT NULL,
  `ma_chi_nhanh` text DEFAULT NULL,
  `dia_chi` text DEFAULT NULL,
  `giao_vien` text DEFAULT NULL,
  `giam_doc` int(11) DEFAULT NULL,
  `so_dien_thoai` varchar(20) DEFAULT NULL,
  `email` varchar(255) DEFAULT NULL,
  `trang_thai` tinyint(1) DEFAULT 1,
  `created_at` timestamp NOT NULL DEFAULT current_timestamp(),
  `updated_at` timestamp NULL DEFAULT current_timestamp() ON UPDATE current_timestamp()
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `chi_nhanh`
--

INSERT INTO `chi_nhanh` (`id`, `ten_chi_nhanh`, `ma_chi_nhanh`, `dia_chi`, `giao_vien`, `giam_doc`, `so_dien_thoai`, `email`, `trang_thai`, `created_at`, `updated_at`) VALUES
(4, 'Chi nhánh Huế', 'BIZ-271', 'Số 123 Đường Nguyễn Trãi, Quận Thanh Xuân, Hà Nội', '2', 1, '0992184912', 'abc@gmail.com', 1, '2025-04-26 10:25:09', '2025-08-11 16:00:01'),
(15, 'Chi nhánh nào đó', 'BIZ-853a', 'Số 123 Đường Nguyễn Trãi, Quận Thanh Xuân, Hà Nội', '7', 3, NULL, 'tunc@gmail.coma', 0, '2025-07-03 08:24:21', '2025-07-23 05:10:53');

-- --------------------------------------------------------

--
-- Table structure for table `course_types`
--

CREATE TABLE `course_types` (
  `id` int(11) NOT NULL,
  `name` varchar(255) NOT NULL,
  `status` tinyint(1) NOT NULL DEFAULT 1 COMMENT '0: Không kích hoạt, 1: Đang hoạt động',
  `types` tinyint(1) NOT NULL DEFAULT 0 COMMENT '0: Không hoàn tiền, 1: Có thể hoàn tiền'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `course_types`
--

INSERT INTO `course_types` (`id`, `name`, `status`, `types`) VALUES
(1, 'HL \"Học Lẻ\"', 1, 0),
(2, 'TD \"Tiếng Đức\"', 1, 1),
(3, 'CBG \"Du Học Nghề\"', 1, 1),
(4, 'DH \"Du Học Đại Học\"', 1, 1),
(5, 'CDB \"Chuyển Đổi Bằng\"', 1, 1);

-- --------------------------------------------------------

--
-- Table structure for table `diem_danh`
--

CREATE TABLE `diem_danh` (
  `id` int(11) NOT NULL,
  `lop_hoc_id` int(11) NOT NULL,
  `hoc_vien_id` int(11) NOT NULL,
  `ngay_diem_danh` date NOT NULL,
  `trang_thai` enum('co_mat','vang','di_muon') NOT NULL,
  `co_phep` tinyint(1) DEFAULT 0 COMMENT '0: không phép, 1: có phép (chỉ áp dụng khi trạng thái là vắng)',
  `ghi_chu` text DEFAULT NULL,
  `created_at` timestamp NOT NULL DEFAULT current_timestamp(),
  `updated_at` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp()
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `diem_danh`
--

INSERT INTO `diem_danh` (`id`, `lop_hoc_id`, `hoc_vien_id`, `ngay_diem_danh`, `trang_thai`, `co_phep`, `ghi_chu`, `created_at`, `updated_at`) VALUES
(118, 29, 367, '2025-08-19', 'co_mat', 0, NULL, '2025-08-19 02:39:52', '2025-08-19 02:39:52'),
(119, 29, 364, '2025-08-19', 'co_mat', 0, NULL, '2025-08-19 02:39:53', '2025-08-19 02:39:53'),
(120, 29, 359, '2025-08-19', 'co_mat', 0, NULL, '2025-08-19 02:39:54', '2025-08-19 02:39:54'),
(121, 29, 365, '2025-08-19', 'co_mat', 0, NULL, '2025-08-19 02:39:54', '2025-08-19 02:39:54'),
(122, 29, 362, '2025-08-19', 'co_mat', 0, NULL, '2025-08-19 02:39:55', '2025-08-19 02:39:55'),
(123, 29, 361, '2025-08-19', 'co_mat', 0, NULL, '2025-08-19 02:39:56', '2025-08-19 02:39:56'),
(124, 29, 360, '2025-08-19', 'co_mat', 0, NULL, '2025-08-19 02:39:57', '2025-08-19 02:39:57'),
(125, 29, 363, '2025-08-19', 'co_mat', 0, NULL, '2025-08-19 02:39:58', '2025-08-19 02:39:58'),
(126, 29, 367, '2025-08-20', 'co_mat', 0, NULL, '2025-08-20 01:03:14', '2025-08-20 01:03:14'),
(127, 29, 364, '2025-08-20', 'co_mat', 0, NULL, '2025-08-20 01:03:18', '2025-08-20 01:03:18'),
(128, 29, 365, '2025-08-20', 'co_mat', 0, NULL, '2025-08-20 01:03:28', '2025-08-20 01:03:28'),
(129, 29, 362, '2025-08-20', 'co_mat', 0, NULL, '2025-08-20 01:03:29', '2025-08-20 01:03:29'),
(130, 29, 361, '2025-08-20', 'co_mat', 0, NULL, '2025-08-20 01:03:30', '2025-08-20 01:03:30'),
(131, 29, 363, '2025-08-20', 'co_mat', 0, NULL, '2025-08-20 01:03:32', '2025-08-20 01:03:32'),
(132, 29, 359, '2025-08-20', 'vang', 1, NULL, '2025-08-20 02:52:58', '2025-08-20 02:52:58'),
(133, 29, 360, '2025-08-20', 'co_mat', 0, NULL, '2025-08-20 02:53:01', '2025-08-20 02:53:01'),
(134, 28, 354, '2025-08-20', 'co_mat', 0, NULL, '2025-08-20 06:14:18', '2025-08-20 06:14:18'),
(135, 28, 357, '2025-08-20', 'co_mat', 0, NULL, '2025-08-20 06:26:28', '2025-08-20 06:26:28'),
(136, 28, 355, '2025-08-20', 'co_mat', 0, NULL, '2025-08-20 06:26:32', '2025-08-20 06:26:32'),
(137, 28, 349, '2025-08-20', 'co_mat', 0, NULL, '2025-08-20 06:31:43', '2025-08-20 06:31:43'),
(138, 28, 351, '2025-08-20', 'co_mat', 0, NULL, '2025-08-20 08:00:07', '2025-08-20 08:00:07'),
(139, 28, 353, '2025-08-20', 'co_mat', 0, NULL, '2025-08-20 08:00:08', '2025-08-20 08:00:08'),
(140, 28, 350, '2025-08-20', 'di_muon', 0, NULL, '2025-08-20 08:00:12', '2025-08-20 08:00:12'),
(141, 29, 359, '2025-08-21', 'co_mat', 0, NULL, '2025-08-21 01:06:16', '2025-08-21 01:06:16'),
(142, 29, 367, '2025-08-21', 'co_mat', 0, NULL, '2025-08-21 01:06:17', '2025-08-21 01:06:17'),
(143, 29, 364, '2025-08-21', 'co_mat', 0, NULL, '2025-08-21 01:06:18', '2025-08-21 01:06:18'),
(144, 29, 365, '2025-08-21', 'co_mat', 0, NULL, '2025-08-21 01:06:19', '2025-08-21 01:06:19'),
(145, 29, 362, '2025-08-21', 'co_mat', 0, NULL, '2025-08-21 01:06:20', '2025-08-21 01:06:20'),
(146, 29, 361, '2025-08-21', 'co_mat', 0, NULL, '2025-08-21 01:06:21', '2025-08-21 01:06:21'),
(147, 29, 363, '2025-08-21', 'co_mat', 0, NULL, '2025-08-21 01:06:22', '2025-08-21 01:06:22'),
(148, 29, 360, '2025-08-21', 'co_mat', 0, NULL, '2025-08-21 01:06:52', '2025-08-21 01:06:52'),
(149, 28, 349, '2025-08-21', 'co_mat', 0, NULL, '2025-08-21 08:53:47', '2025-08-21 08:53:47'),
(150, 28, 351, '2025-08-21', 'co_mat', 0, NULL, '2025-08-21 08:53:48', '2025-08-21 08:53:48'),
(151, 28, 355, '2025-08-21', 'co_mat', 0, NULL, '2025-08-21 08:53:48', '2025-08-21 08:53:48'),
(152, 28, 357, '2025-08-21', 'co_mat', 0, NULL, '2025-08-21 08:53:50', '2025-08-21 08:53:50'),
(155, 28, 353, '2025-08-21', 'co_mat', 0, NULL, '2025-08-21 08:53:53', '2025-08-21 08:53:53'),
(156, 28, 354, '2025-08-21', 'co_mat', 0, NULL, '2025-08-21 08:53:54', '2025-08-21 08:53:54'),
(157, 28, 350, '2025-08-21', 'co_mat', 0, NULL, '2025-08-21 08:53:55', '2025-08-21 08:53:55'),
(158, 29, 367, '2025-08-22', 'co_mat', 0, NULL, '2025-08-22 01:08:24', '2025-08-22 01:08:24'),
(159, 29, 365, '2025-08-22', 'co_mat', 0, NULL, '2025-08-22 01:08:26', '2025-08-22 01:08:26'),
(160, 29, 362, '2025-08-22', 'co_mat', 0, NULL, '2025-08-22 01:08:26', '2025-08-22 01:08:26'),
(161, 29, 361, '2025-08-22', 'co_mat', 0, NULL, '2025-08-22 01:08:27', '2025-08-22 01:08:27'),
(162, 29, 363, '2025-08-22', 'co_mat', 0, NULL, '2025-08-22 01:08:29', '2025-08-22 01:08:29'),
(165, 29, 359, '2025-08-22', 'di_muon', 0, NULL, '2025-08-22 05:16:16', '2025-08-22 05:16:16'),
(166, 29, 364, '2025-08-22', 'di_muon', 0, NULL, '2025-08-22 05:16:22', '2025-08-22 05:16:22'),
(167, 28, 349, '2025-08-22', 'co_mat', 0, NULL, '2025-08-22 06:40:06', '2025-08-22 06:40:06'),
(168, 28, 351, '2025-08-22', 'co_mat', 0, NULL, '2025-08-22 06:40:07', '2025-08-22 06:40:07'),
(169, 28, 355, '2025-08-22', 'co_mat', 0, NULL, '2025-08-22 06:40:07', '2025-08-22 06:40:07'),
(170, 28, 357, '2025-08-22', 'co_mat', 0, NULL, '2025-08-22 06:40:08', '2025-08-22 06:40:08'),
(171, 28, 353, '2025-08-22', 'co_mat', 0, NULL, '2025-08-22 06:40:09', '2025-08-22 06:40:09'),
(172, 28, 354, '2025-08-22', 'co_mat', 0, NULL, '2025-08-22 06:40:10', '2025-08-22 06:40:10'),
(173, 28, 350, '2025-08-22', 'co_mat', 0, NULL, '2025-08-22 06:40:12', '2025-08-22 06:40:12'),
(174, 25, 329, '2025-08-22', 'co_mat', 0, NULL, '2025-08-22 08:54:12', '2025-08-22 08:54:12'),
(175, 25, 330, '2025-08-22', 'co_mat', 0, NULL, '2025-08-22 08:54:13', '2025-08-22 08:54:13'),
(176, 25, 307, '2025-08-22', 'co_mat', 0, NULL, '2025-08-22 08:54:15', '2025-08-22 08:54:15'),
(179, 25, 324, '2025-08-22', 'co_mat', 0, NULL, '2025-08-22 08:54:17', '2025-08-22 08:54:17'),
(180, 25, 303, '2025-08-22', 'co_mat', 0, NULL, '2025-08-22 08:54:18', '2025-08-22 08:54:18'),
(181, 25, 333, '2025-08-22', 'co_mat', 0, NULL, '2025-08-22 08:54:19', '2025-08-22 08:54:19'),
(184, 25, 321, '2025-08-22', 'vang', 1, NULL, '2025-08-22 08:54:30', '2025-08-22 08:54:30'),
(185, 25, 308, '2025-08-22', 'co_mat', 0, NULL, '2025-08-22 08:54:33', '2025-08-22 08:54:33'),
(186, 25, 326, '2025-08-22', 'co_mat', 0, NULL, '2025-08-22 08:54:34', '2025-08-22 08:54:34'),
(187, 25, 325, '2025-08-22', 'co_mat', 0, NULL, '2025-08-22 08:54:35', '2025-08-22 08:54:35'),
(188, 25, 332, '2025-08-22', 'co_mat', 0, NULL, '2025-08-22 08:54:37', '2025-08-22 08:54:37'),
(189, 25, 328, '2025-08-22', 'co_mat', 0, NULL, '2025-08-22 08:54:37', '2025-08-22 08:54:37'),
(190, 25, 331, '2025-08-22', 'co_mat', 0, NULL, '2025-08-22 08:54:38', '2025-08-22 08:54:38'),
(191, 25, 327, '2025-08-22', 'vang', 1, NULL, '2025-08-22 08:56:08', '2025-08-22 08:56:08'),
(192, 25, 329, '2025-08-21', 'co_mat', 0, NULL, '2025-08-22 08:56:45', '2025-08-22 08:56:45'),
(193, 25, 330, '2025-08-21', 'co_mat', 0, NULL, '2025-08-22 08:56:46', '2025-08-22 08:56:46'),
(194, 25, 307, '2025-08-21', 'co_mat', 0, NULL, '2025-08-22 08:56:47', '2025-08-22 08:56:47'),
(195, 25, 327, '2025-08-21', 'co_mat', 0, NULL, '2025-08-22 08:56:48', '2025-08-22 08:56:48'),
(196, 25, 321, '2025-08-21', 'vang', 1, NULL, '2025-08-22 08:56:49', '2025-08-22 08:56:49'),
(197, 25, 324, '2025-08-21', 'co_mat', 0, NULL, '2025-08-22 08:56:51', '2025-08-22 08:56:51'),
(198, 25, 303, '2025-08-21', 'co_mat', 0, NULL, '2025-08-22 08:56:51', '2025-08-22 08:56:51'),
(199, 25, 333, '2025-08-21', 'co_mat', 0, NULL, '2025-08-22 08:56:52', '2025-08-22 08:56:52'),
(200, 25, 308, '2025-08-21', 'co_mat', 0, NULL, '2025-08-22 08:56:53', '2025-08-22 08:56:53'),
(201, 25, 326, '2025-08-21', 'co_mat', 0, NULL, '2025-08-22 08:56:53', '2025-08-22 08:56:53'),
(202, 25, 325, '2025-08-21', 'co_mat', 0, NULL, '2025-08-22 08:56:54', '2025-08-22 08:56:54'),
(203, 25, 332, '2025-08-21', 'co_mat', 0, NULL, '2025-08-22 08:56:55', '2025-08-22 08:56:55'),
(204, 25, 328, '2025-08-21', 'co_mat', 0, NULL, '2025-08-22 08:56:56', '2025-08-22 08:56:56'),
(205, 25, 331, '2025-08-21', 'co_mat', 0, NULL, '2025-08-22 08:56:57', '2025-08-22 08:56:57'),
(206, 29, 367, '2025-08-25', 'co_mat', 0, NULL, '2025-08-25 01:02:51', '2025-08-25 01:02:51'),
(207, 29, 364, '2025-08-25', 'co_mat', 0, NULL, '2025-08-25 01:02:52', '2025-08-25 01:02:52'),
(208, 29, 365, '2025-08-25', 'co_mat', 0, NULL, '2025-08-25 01:02:53', '2025-08-25 01:02:53'),
(209, 29, 361, '2025-08-25', 'co_mat', 0, NULL, '2025-08-25 01:02:55', '2025-08-25 01:02:55'),
(210, 29, 359, '2025-08-25', 'co_mat', 0, NULL, '2025-08-25 01:04:55', '2025-08-25 01:04:55'),
(211, 29, 362, '2025-08-25', 'co_mat', 0, NULL, '2025-08-25 04:18:10', '2025-08-25 04:18:10'),
(212, 29, 363, '2025-08-25', 'co_mat', 0, NULL, '2025-08-25 04:18:13', '2025-08-25 04:18:13'),
(213, 28, 349, '2025-08-25', 'co_mat', 0, NULL, '2025-08-25 06:34:46', '2025-08-25 06:34:46'),
(214, 28, 351, '2025-08-25', 'co_mat', 0, NULL, '2025-08-25 06:34:47', '2025-08-25 06:34:47'),
(215, 28, 355, '2025-08-25', 'co_mat', 0, NULL, '2025-08-25 06:34:48', '2025-08-25 06:34:48'),
(216, 28, 357, '2025-08-25', 'co_mat', 0, NULL, '2025-08-25 06:34:48', '2025-08-25 06:34:48'),
(217, 28, 353, '2025-08-25', 'co_mat', 0, NULL, '2025-08-25 06:34:50', '2025-08-25 06:34:50'),
(218, 28, 354, '2025-08-25', 'co_mat', 0, NULL, '2025-08-25 06:34:51', '2025-08-25 06:34:51'),
(219, 29, 359, '2025-08-26', 'co_mat', 0, NULL, '2025-08-26 01:18:23', '2025-08-26 01:18:23'),
(220, 29, 367, '2025-08-26', 'co_mat', 0, NULL, '2025-08-26 01:18:24', '2025-08-26 01:18:24'),
(221, 29, 364, '2025-08-26', 'co_mat', 0, NULL, '2025-08-26 01:18:25', '2025-08-26 01:18:25'),
(222, 29, 365, '2025-08-26', 'co_mat', 0, NULL, '2025-08-26 01:18:26', '2025-08-26 01:18:26'),
(223, 29, 362, '2025-08-26', 'co_mat', 0, NULL, '2025-08-26 01:18:27', '2025-08-26 01:18:27'),
(224, 29, 361, '2025-08-26', 'co_mat', 0, NULL, '2025-08-26 01:18:27', '2025-08-26 01:18:27'),
(225, 29, 363, '2025-08-26', 'co_mat', 0, NULL, '2025-08-26 01:18:29', '2025-08-26 01:18:29'),
(226, 28, 355, '2025-08-26', 'co_mat', 0, NULL, '2025-08-26 06:25:57', '2025-08-26 06:25:57'),
(227, 28, 357, '2025-08-26', 'co_mat', 0, NULL, '2025-08-26 06:25:57', '2025-08-26 06:25:57'),
(228, 28, 353, '2025-08-26', 'co_mat', 0, NULL, '2025-08-26 06:26:06', '2025-08-26 06:26:06'),
(229, 28, 354, '2025-08-26', 'co_mat', 0, NULL, '2025-08-26 06:26:25', '2025-08-26 06:26:25'),
(230, 28, 349, '2025-08-26', 'co_mat', 0, NULL, '2025-08-26 10:47:59', '2025-08-26 10:47:59'),
(231, 28, 351, '2025-08-26', 'co_mat', 0, NULL, '2025-08-26 10:47:59', '2025-08-26 10:47:59'),
(232, 28, 350, '2025-08-26', 'co_mat', 0, NULL, '2025-08-26 10:48:02', '2025-08-26 10:48:02'),
(233, 29, 367, '2025-08-27', 'co_mat', 0, NULL, '2025-08-27 01:06:10', '2025-08-27 01:06:10'),
(234, 29, 364, '2025-08-27', 'co_mat', 0, NULL, '2025-08-27 01:06:10', '2025-08-27 01:06:10'),
(235, 29, 365, '2025-08-27', 'co_mat', 0, NULL, '2025-08-27 01:06:11', '2025-08-27 01:06:11'),
(236, 29, 362, '2025-08-27', 'co_mat', 0, NULL, '2025-08-27 01:06:12', '2025-08-27 01:06:12'),
(237, 29, 361, '2025-08-27', 'co_mat', 0, NULL, '2025-08-27 01:06:14', '2025-08-27 01:06:14'),
(238, 29, 363, '2025-08-27', 'co_mat', 0, NULL, '2025-08-27 01:06:15', '2025-08-27 01:06:15'),
(239, 29, 359, '2025-08-27', 'vang', 1, NULL, '2025-08-27 01:06:39', '2025-08-27 01:06:39'),
(240, 28, 349, '2025-08-27', 'co_mat', 0, NULL, '2025-08-27 07:18:07', '2025-08-27 07:18:07'),
(241, 28, 351, '2025-08-27', 'co_mat', 0, NULL, '2025-08-27 07:18:08', '2025-08-27 07:18:08'),
(242, 28, 355, '2025-08-27', 'co_mat', 0, NULL, '2025-08-27 07:18:09', '2025-08-27 07:18:09'),
(243, 28, 357, '2025-08-27', 'co_mat', 0, NULL, '2025-08-27 07:18:10', '2025-08-27 07:18:10'),
(244, 28, 353, '2025-08-27', 'co_mat', 0, NULL, '2025-08-27 07:18:11', '2025-08-27 07:18:11'),
(245, 28, 354, '2025-08-27', 'co_mat', 0, NULL, '2025-08-27 07:18:12', '2025-08-27 07:18:12'),
(246, 28, 350, '2025-08-27', 'co_mat', 0, NULL, '2025-08-27 07:18:13', '2025-08-27 07:18:13'),
(247, 29, 367, '2025-08-28', 'co_mat', 0, NULL, '2025-08-28 01:03:16', '2025-08-28 01:03:16'),
(248, 29, 364, '2025-08-28', 'co_mat', 0, NULL, '2025-08-28 01:03:16', '2025-08-28 01:03:16'),
(249, 29, 365, '2025-08-28', 'co_mat', 0, NULL, '2025-08-28 01:03:17', '2025-08-28 01:03:17'),
(250, 29, 362, '2025-08-28', 'co_mat', 0, NULL, '2025-08-28 01:03:18', '2025-08-28 01:03:18'),
(251, 29, 361, '2025-08-28', 'co_mat', 0, NULL, '2025-08-28 01:03:19', '2025-08-28 01:03:19'),
(252, 29, 363, '2025-08-28', 'co_mat', 0, NULL, '2025-08-28 01:03:20', '2025-08-28 01:03:20'),
(255, 29, 359, '2025-08-28', 'co_mat', 0, NULL, '2025-08-28 01:22:25', '2025-08-28 01:22:25'),
(256, 28, 351, '2025-08-28', 'co_mat', 0, NULL, '2025-08-28 06:26:00', '2025-08-28 06:26:00'),
(257, 28, 355, '2025-08-28', 'co_mat', 0, NULL, '2025-08-28 06:26:01', '2025-08-28 06:26:01'),
(258, 28, 357, '2025-08-28', 'co_mat', 0, NULL, '2025-08-28 07:13:45', '2025-08-28 07:13:45'),
(259, 28, 353, '2025-08-28', 'co_mat', 0, NULL, '2025-08-28 07:13:48', '2025-08-28 07:13:48'),
(260, 28, 354, '2025-08-28', 'co_mat', 0, NULL, '2025-08-28 07:13:50', '2025-08-28 07:13:50'),
(261, 28, 349, '2025-08-28', 'co_mat', 0, NULL, '2025-08-28 07:13:54', '2025-08-28 07:13:54'),
(262, 28, 350, '2025-08-28', 'co_mat', 0, NULL, '2025-08-28 08:22:20', '2025-08-28 08:22:20'),
(263, 29, 367, '2025-08-29', 'co_mat', 0, NULL, '2025-08-29 01:02:02', '2025-08-29 01:02:02'),
(264, 29, 364, '2025-08-29', 'co_mat', 0, NULL, '2025-08-29 01:02:02', '2025-08-29 01:02:02'),
(265, 29, 365, '2025-08-29', 'co_mat', 0, NULL, '2025-08-29 01:02:03', '2025-08-29 01:02:03'),
(266, 29, 362, '2025-08-29', 'co_mat', 0, NULL, '2025-08-29 01:02:04', '2025-08-29 01:02:04'),
(267, 29, 361, '2025-08-29', 'co_mat', 0, NULL, '2025-08-29 01:02:05', '2025-08-29 01:02:05'),
(268, 29, 363, '2025-08-29', 'co_mat', 0, NULL, '2025-08-29 01:02:06', '2025-08-29 01:02:06'),
(269, 29, 359, '2025-08-29', 'di_muon', 0, NULL, '2025-08-29 02:02:11', '2025-08-29 02:02:11'),
(270, 29, 359, '2025-09-03', 'co_mat', 0, NULL, '2025-09-03 01:22:40', '2025-09-03 01:22:40'),
(271, 29, 367, '2025-09-03', 'co_mat', 0, NULL, '2025-09-03 01:22:41', '2025-09-03 01:22:41'),
(272, 29, 364, '2025-09-03', 'co_mat', 0, NULL, '2025-09-03 01:22:42', '2025-09-03 01:22:42'),
(273, 29, 365, '2025-09-03', 'co_mat', 0, NULL, '2025-09-03 01:22:42', '2025-09-03 01:22:42'),
(274, 29, 362, '2025-09-03', 'co_mat', 0, NULL, '2025-09-03 01:22:46', '2025-09-03 01:22:46'),
(275, 29, 361, '2025-09-03', 'co_mat', 0, NULL, '2025-09-03 01:22:49', '2025-09-03 01:22:49'),
(276, 29, 363, '2025-09-03', 'co_mat', 0, NULL, '2025-09-03 01:22:50', '2025-09-03 01:22:50'),
(277, 28, 355, '2025-09-03', 'co_mat', 0, NULL, '2025-09-03 06:29:19', '2025-09-03 06:29:19'),
(278, 28, 357, '2025-09-03', 'co_mat', 0, NULL, '2025-09-03 06:29:20', '2025-09-03 06:29:20'),
(279, 28, 353, '2025-09-03', 'co_mat', 0, NULL, '2025-09-03 06:29:21', '2025-09-03 06:29:21'),
(280, 28, 354, '2025-09-03', 'co_mat', 0, NULL, '2025-09-03 06:29:22', '2025-09-03 06:29:22'),
(281, 28, 349, '2025-09-03', 'co_mat', 0, NULL, '2025-09-03 07:43:53', '2025-09-03 07:43:53'),
(282, 28, 351, '2025-09-03', 'co_mat', 0, NULL, '2025-09-03 07:43:54', '2025-09-03 07:43:54'),
(283, 28, 345, '2025-09-03', 'co_mat', 0, NULL, '2025-09-03 07:43:57', '2025-09-03 07:43:57'),
(284, 29, 367, '2025-09-04', 'co_mat', 0, NULL, '2025-09-04 01:03:15', '2025-09-04 01:03:15'),
(285, 29, 364, '2025-09-04', 'co_mat', 0, NULL, '2025-09-04 01:03:16', '2025-09-04 01:03:16'),
(286, 29, 365, '2025-09-04', 'co_mat', 0, NULL, '2025-09-04 01:03:17', '2025-09-04 01:03:17'),
(287, 29, 361, '2025-09-04', 'co_mat', 0, NULL, '2025-09-04 01:03:19', '2025-09-04 01:03:19'),
(288, 29, 362, '2025-09-04', 'co_mat', 0, NULL, '2025-09-04 01:03:20', '2025-09-04 01:03:20'),
(289, 29, 363, '2025-09-04', 'co_mat', 0, NULL, '2025-09-04 01:04:33', '2025-09-04 01:04:33'),
(290, 29, 359, '2025-09-04', 'co_mat', 0, NULL, '2025-09-04 01:06:29', '2025-09-04 01:06:29'),
(291, 28, 354, '2025-09-04', 'co_mat', 0, NULL, '2025-09-04 06:19:54', '2025-09-04 06:19:54'),
(292, 28, 345, '2025-09-04', 'co_mat', 0, NULL, '2025-09-04 06:19:57', '2025-09-04 06:19:57'),
(293, 28, 355, '2025-09-04', 'co_mat', 0, NULL, '2025-09-04 06:21:33', '2025-09-04 06:21:33'),
(294, 28, 349, '2025-09-04', 'co_mat', 0, NULL, '2025-09-04 06:27:18', '2025-09-04 06:27:18'),
(295, 28, 351, '2025-09-04', 'co_mat', 0, NULL, '2025-09-04 06:27:19', '2025-09-04 06:27:19'),
(296, 28, 353, '2025-09-04', 'co_mat', 0, NULL, '2025-09-04 06:31:22', '2025-09-04 06:31:22'),
(297, 28, 357, '2025-09-04', 'co_mat', 0, NULL, '2025-09-04 06:34:53', '2025-09-04 06:34:53'),
(298, 29, 359, '2025-09-05', 'co_mat', 0, NULL, '2025-09-05 01:10:49', '2025-09-05 01:10:49'),
(299, 29, 367, '2025-09-05', 'co_mat', 0, NULL, '2025-09-05 01:10:50', '2025-09-05 01:10:50'),
(300, 29, 364, '2025-09-05', 'co_mat', 0, NULL, '2025-09-05 01:10:50', '2025-09-05 01:10:50'),
(301, 29, 365, '2025-09-05', 'co_mat', 0, NULL, '2025-09-05 01:10:52', '2025-09-05 01:10:52'),
(302, 29, 362, '2025-09-05', 'co_mat', 0, NULL, '2025-09-05 01:10:52', '2025-09-05 01:10:52'),
(303, 29, 361, '2025-09-05', 'co_mat', 0, NULL, '2025-09-05 01:10:54', '2025-09-05 01:10:54'),
(304, 29, 363, '2025-09-05', 'co_mat', 0, NULL, '2025-09-05 01:10:55', '2025-09-05 01:10:55'),
(305, 28, 354, '2025-09-05', 'co_mat', 0, NULL, '2025-09-05 06:17:51', '2025-09-05 06:17:51'),
(306, 28, 349, '2025-09-05', 'co_mat', 0, NULL, '2025-09-05 07:17:37', '2025-09-05 07:17:37'),
(307, 28, 351, '2025-09-05', 'co_mat', 0, NULL, '2025-09-05 07:17:38', '2025-09-05 07:17:38'),
(308, 28, 355, '2025-09-05', 'co_mat', 0, NULL, '2025-09-05 07:17:38', '2025-09-05 07:17:38'),
(309, 28, 357, '2025-09-05', 'co_mat', 0, NULL, '2025-09-05 07:17:39', '2025-09-05 07:17:39'),
(310, 28, 353, '2025-09-05', 'co_mat', 0, NULL, '2025-09-05 07:17:40', '2025-09-05 07:17:40'),
(313, 29, 367, '2025-09-08', 'co_mat', 0, NULL, '2025-09-08 01:03:10', '2025-09-08 01:03:10'),
(314, 29, 364, '2025-09-08', 'co_mat', 0, NULL, '2025-09-08 01:03:10', '2025-09-08 01:03:10'),
(315, 29, 365, '2025-09-08', 'co_mat', 0, NULL, '2025-09-08 01:03:11', '2025-09-08 01:03:11'),
(316, 29, 362, '2025-09-08', 'co_mat', 0, NULL, '2025-09-08 01:03:12', '2025-09-08 01:03:12'),
(317, 29, 361, '2025-09-08', 'co_mat', 0, NULL, '2025-09-08 01:03:13', '2025-09-08 01:03:13'),
(318, 29, 363, '2025-09-08', 'co_mat', 0, NULL, '2025-09-08 01:03:14', '2025-09-08 01:03:14'),
(319, 29, 359, '2025-09-08', 'di_muon', 0, NULL, '2025-09-08 02:05:32', '2025-09-08 02:05:32'),
(320, 28, 349, '2025-09-08', 'co_mat', 0, NULL, '2025-09-08 06:25:54', '2025-09-08 06:25:54'),
(321, 28, 355, '2025-09-08', 'co_mat', 0, NULL, '2025-09-08 06:25:55', '2025-09-08 06:25:55'),
(322, 28, 357, '2025-09-08', 'co_mat', 0, NULL, '2025-09-08 06:25:56', '2025-09-08 06:25:56'),
(323, 28, 353, '2025-09-08', 'co_mat', 0, NULL, '2025-09-08 06:25:57', '2025-09-08 06:25:57'),
(324, 28, 354, '2025-09-08', 'co_mat', 0, NULL, '2025-09-08 06:25:58', '2025-09-08 06:25:58'),
(325, 28, 345, '2025-09-08', 'co_mat', 0, NULL, '2025-09-08 06:25:59', '2025-09-08 06:25:59'),
(326, 29, 359, '2025-09-09', 'vang', 1, NULL, '2025-09-09 02:40:07', '2025-09-09 02:40:07'),
(327, 29, 367, '2025-09-09', 'co_mat', 0, NULL, '2025-09-09 02:40:09', '2025-09-09 02:40:09'),
(328, 29, 364, '2025-09-09', 'co_mat', 0, NULL, '2025-09-09 02:40:10', '2025-09-09 02:40:10'),
(329, 29, 365, '2025-09-09', 'co_mat', 0, NULL, '2025-09-09 02:40:10', '2025-09-09 02:40:10'),
(330, 29, 362, '2025-09-09', 'co_mat', 0, NULL, '2025-09-09 02:40:11', '2025-09-09 02:40:11'),
(331, 29, 361, '2025-09-09', 'co_mat', 0, NULL, '2025-09-09 02:40:12', '2025-09-09 02:40:12'),
(332, 29, 363, '2025-09-09', 'co_mat', 0, NULL, '2025-09-09 02:40:13', '2025-09-09 02:40:13'),
(333, 28, 349, '2025-09-09', 'co_mat', 0, NULL, '2025-09-09 06:45:08', '2025-09-09 06:45:08'),
(334, 28, 351, '2025-09-09', 'co_mat', 0, NULL, '2025-09-09 06:45:09', '2025-09-09 06:45:09'),
(335, 28, 355, '2025-09-09', 'co_mat', 0, NULL, '2025-09-09 06:45:10', '2025-09-09 06:45:10'),
(336, 28, 357, '2025-09-09', 'di_muon', 0, NULL, '2025-09-09 06:45:11', '2025-09-09 06:45:11'),
(337, 28, 353, '2025-09-09', 'co_mat', 0, NULL, '2025-09-09 06:45:16', '2025-09-09 06:45:16'),
(338, 28, 354, '2025-09-09', 'co_mat', 0, NULL, '2025-09-09 06:45:16', '2025-09-09 06:45:16'),
(339, 28, 345, '2025-09-09', 'co_mat', 0, NULL, '2025-09-09 06:45:18', '2025-09-09 06:45:18'),
(340, 29, 359, '2025-09-10', 'co_mat', 0, NULL, '2025-09-10 01:03:55', '2025-09-10 01:03:55'),
(341, 29, 367, '2025-09-10', 'co_mat', 0, NULL, '2025-09-10 01:03:56', '2025-09-10 01:03:56'),
(342, 29, 364, '2025-09-10', 'co_mat', 0, NULL, '2025-09-10 01:03:57', '2025-09-10 01:03:57'),
(343, 29, 365, '2025-09-10', 'co_mat', 0, NULL, '2025-09-10 01:03:57', '2025-09-10 01:03:57'),
(344, 29, 362, '2025-09-10', 'co_mat', 0, NULL, '2025-09-10 01:03:59', '2025-09-10 01:03:59'),
(345, 29, 361, '2025-09-10', 'co_mat', 0, NULL, '2025-09-10 01:04:00', '2025-09-10 01:04:00'),
(349, 29, 363, '2025-09-10', 'di_muon', 0, NULL, '2025-09-10 04:29:22', '2025-09-10 04:29:22'),
(350, 29, 359, '2025-09-11', 'co_mat', 0, NULL, '2025-09-11 01:05:55', '2025-09-11 01:05:55'),
(351, 29, 367, '2025-09-11', 'co_mat', 0, NULL, '2025-09-11 01:05:55', '2025-09-11 01:05:55'),
(352, 29, 364, '2025-09-11', 'co_mat', 0, NULL, '2025-09-11 01:05:56', '2025-09-11 01:05:56'),
(353, 29, 365, '2025-09-11', 'co_mat', 0, NULL, '2025-09-11 01:05:57', '2025-09-11 01:05:57'),
(354, 29, 362, '2025-09-11', 'co_mat', 0, NULL, '2025-09-11 01:05:58', '2025-09-11 01:05:58'),
(355, 29, 361, '2025-09-11', 'co_mat', 0, NULL, '2025-09-11 01:05:58', '2025-09-11 01:05:58'),
(356, 28, 349, '2025-09-11', 'co_mat', 0, NULL, '2025-09-11 06:32:57', '2025-09-11 06:32:57'),
(357, 28, 355, '2025-09-11', 'co_mat', 0, NULL, '2025-09-11 06:32:58', '2025-09-11 06:32:58'),
(358, 28, 357, '2025-09-11', 'co_mat', 0, NULL, '2025-09-11 06:32:59', '2025-09-11 06:32:59'),
(359, 28, 353, '2025-09-11', 'co_mat', 0, NULL, '2025-09-11 06:33:00', '2025-09-11 06:33:00'),
(360, 28, 354, '2025-09-11', 'co_mat', 0, NULL, '2025-09-11 06:33:01', '2025-09-11 06:33:01'),
(361, 28, 345, '2025-09-11', 'co_mat', 0, NULL, '2025-09-11 06:33:04', '2025-09-11 06:33:04'),
(362, 28, 351, '2025-09-11', 'co_mat', 0, NULL, '2025-09-11 08:13:19', '2025-09-11 08:13:19'),
(363, 29, 359, '2025-09-12', 'co_mat', 0, NULL, '2025-09-12 06:35:14', '2025-09-12 06:35:14'),
(364, 29, 367, '2025-09-12', 'co_mat', 0, NULL, '2025-09-12 06:35:15', '2025-09-12 06:35:15'),
(365, 29, 364, '2025-09-12', 'co_mat', 0, NULL, '2025-09-12 06:35:16', '2025-09-12 06:35:16'),
(366, 29, 365, '2025-09-12', 'co_mat', 0, NULL, '2025-09-12 06:35:17', '2025-09-12 06:35:17'),
(367, 29, 362, '2025-09-12', 'co_mat', 0, NULL, '2025-09-12 06:35:18', '2025-09-12 06:35:18'),
(368, 29, 361, '2025-09-12', 'co_mat', 0, NULL, '2025-09-12 06:35:19', '2025-09-12 06:35:19'),
(369, 29, 363, '2025-09-12', 'co_mat', 0, NULL, '2025-09-12 06:35:21', '2025-09-12 06:35:21'),
(370, 28, 349, '2025-09-12', 'co_mat', 0, NULL, '2025-09-12 06:35:27', '2025-09-12 06:35:27'),
(371, 28, 351, '2025-09-12', 'co_mat', 0, NULL, '2025-09-12 06:35:28', '2025-09-12 06:35:28'),
(372, 28, 355, '2025-09-12', 'co_mat', 0, NULL, '2025-09-12 06:35:29', '2025-09-12 06:35:29'),
(373, 28, 357, '2025-09-12', 'co_mat', 0, NULL, '2025-09-12 06:35:31', '2025-09-12 06:35:31'),
(374, 28, 353, '2025-09-12', 'co_mat', 0, NULL, '2025-09-12 06:35:33', '2025-09-12 06:35:33'),
(375, 28, 354, '2025-09-12', 'vang', 1, NULL, '2025-09-12 06:35:35', '2025-09-12 06:35:35'),
(376, 28, 345, '2025-09-12', 'vang', 1, NULL, '2025-09-12 06:35:37', '2025-09-12 06:35:37'),
(377, 28, 354, '2025-09-16', 'co_mat', 0, NULL, '2025-09-16 06:35:58', '2025-09-16 06:35:58'),
(378, 28, 345, '2025-09-16', 'co_mat', 0, NULL, '2025-09-16 06:35:59', '2025-09-16 06:35:59'),
(379, 28, 351, '2025-09-16', 'vang', 1, NULL, '2025-09-16 06:36:05', '2025-09-16 06:36:05'),
(380, 28, 355, '2025-09-16', 'co_mat', 0, NULL, '2025-09-16 06:36:06', '2025-09-16 06:36:06'),
(381, 28, 357, '2025-09-16', 'co_mat', 0, NULL, '2025-09-16 06:36:07', '2025-09-16 06:36:07'),
(382, 28, 353, '2025-09-16', 'co_mat', 0, NULL, '2025-09-16 06:36:08', '2025-09-16 06:36:08'),
(383, 28, 349, '2025-09-16', 'co_mat', 0, NULL, '2025-09-16 06:36:21', '2025-09-16 06:36:21'),
(384, 29, 367, '2025-09-17', 'co_mat', 0, NULL, '2025-09-17 01:11:12', '2025-09-17 01:11:12'),
(385, 29, 364, '2025-09-17', 'co_mat', 0, NULL, '2025-09-17 01:11:12', '2025-09-17 01:11:12'),
(386, 29, 365, '2025-09-17', 'co_mat', 0, NULL, '2025-09-17 01:11:13', '2025-09-17 01:11:13'),
(387, 29, 362, '2025-09-17', 'co_mat', 0, NULL, '2025-09-17 01:11:14', '2025-09-17 01:11:14'),
(388, 29, 361, '2025-09-17', 'co_mat', 0, NULL, '2025-09-17 01:11:15', '2025-09-17 01:11:15'),
(389, 29, 363, '2025-09-17', 'co_mat', 0, NULL, '2025-09-17 01:11:18', '2025-09-17 01:11:18'),
(391, 29, 359, '2025-09-17', 'co_mat', 0, NULL, '2025-09-17 05:13:10', '2025-09-17 05:13:10'),
(392, 28, 345, '2025-09-18', 'co_mat', 0, NULL, '2025-09-18 06:27:10', '2025-09-18 06:27:10'),
(393, 28, 355, '2025-09-18', 'co_mat', 0, NULL, '2025-09-18 06:27:13', '2025-09-18 06:27:13'),
(394, 28, 357, '2025-09-18', 'co_mat', 0, NULL, '2025-09-18 06:30:33', '2025-09-18 06:30:33'),
(395, 28, 351, '2025-09-18', 'co_mat', 0, NULL, '2025-09-18 06:33:16', '2025-09-18 06:33:16'),
(396, 28, 353, '2025-09-18', 'co_mat', 0, NULL, '2025-09-18 06:33:28', '2025-09-18 06:33:28'),
(397, 28, 349, '2025-09-18', 'co_mat', 0, NULL, '2025-09-18 06:33:29', '2025-09-18 06:33:29'),
(398, 28, 354, '2025-09-19', 'co_mat', 0, NULL, '2025-09-19 06:57:46', '2025-09-19 06:57:46'),
(399, 28, 351, '2025-09-19', 'co_mat', 0, NULL, '2025-09-19 06:57:47', '2025-09-19 06:57:47'),
(400, 28, 345, '2025-09-19', 'co_mat', 0, NULL, '2025-09-19 06:57:48', '2025-09-19 06:57:48'),
(401, 28, 349, '2025-09-19', 'co_mat', 0, NULL, '2025-09-19 06:57:48', '2025-09-19 06:57:48'),
(402, 28, 355, '2025-09-19', 'co_mat', 0, NULL, '2025-09-19 06:57:50', '2025-09-19 06:57:50'),
(403, 28, 357, '2025-09-19', 'co_mat', 0, NULL, '2025-09-19 06:57:51', '2025-09-19 06:57:51'),
(404, 28, 353, '2025-09-19', 'co_mat', 0, NULL, '2025-09-19 06:57:52', '2025-09-19 06:57:52'),
(405, 29, 359, '2025-09-19', 'co_mat', 0, NULL, '2025-09-19 06:58:11', '2025-09-19 06:58:11'),
(406, 29, 367, '2025-09-19', 'co_mat', 0, NULL, '2025-09-19 06:58:11', '2025-09-19 06:58:11'),
(407, 29, 364, '2025-09-19', 'co_mat', 0, NULL, '2025-09-19 06:58:12', '2025-09-19 06:58:12'),
(408, 29, 365, '2025-09-19', 'co_mat', 0, NULL, '2025-09-19 06:58:13', '2025-09-19 06:58:13'),
(409, 29, 362, '2025-09-19', 'co_mat', 0, NULL, '2025-09-19 06:58:14', '2025-09-19 06:58:14'),
(410, 29, 361, '2025-09-19', 'co_mat', 0, NULL, '2025-09-19 06:58:15', '2025-09-19 06:58:15'),
(411, 29, 363, '2025-09-19', 'co_mat', 0, NULL, '2025-09-19 06:58:15', '2025-09-19 06:58:15'),
(413, 31, 419, '2025-10-01', 'co_mat', 0, NULL, '2025-10-11 03:17:07', '2025-10-11 03:17:07'),
(415, 31, 399, '2025-10-01', 'co_mat', 0, NULL, '2025-10-11 03:17:08', '2025-10-11 03:17:08'),
(416, 31, 410, '2025-10-01', 'co_mat', 0, NULL, '2025-10-11 03:17:10', '2025-10-11 03:17:10'),
(417, 31, 396, '2025-10-01', 'co_mat', 0, NULL, '2025-10-11 03:17:10', '2025-10-11 03:17:10'),
(418, 31, 414, '2025-10-01', 'co_mat', 0, NULL, '2025-10-11 03:17:11', '2025-10-11 03:17:11'),
(419, 31, 411, '2025-10-01', 'co_mat', 0, NULL, '2025-10-11 03:17:12', '2025-10-11 03:17:12'),
(420, 31, 350, '2025-10-01', 'co_mat', 0, NULL, '2025-10-11 03:17:13', '2025-10-11 03:17:13'),
(421, 31, 412, '2025-10-01', 'co_mat', 0, NULL, '2025-10-11 03:17:14', '2025-10-11 03:17:14'),
(423, 31, 407, '2025-10-01', 'di_muon', 0, NULL, '2025-10-11 03:17:32', '2025-10-11 03:17:32'),
(424, 31, 419, '2025-10-02', 'co_mat', 0, NULL, '2025-10-11 03:17:44', '2025-10-11 03:17:44'),
(425, 31, 407, '2025-10-02', 'co_mat', 0, NULL, '2025-10-11 03:17:44', '2025-10-11 03:17:44'),
(426, 31, 399, '2025-10-02', 'co_mat', 0, NULL, '2025-10-11 03:17:45', '2025-10-11 03:17:45'),
(427, 31, 410, '2025-10-02', 'co_mat', 0, NULL, '2025-10-11 03:17:45', '2025-10-11 03:17:45'),
(428, 31, 396, '2025-10-02', 'co_mat', 0, NULL, '2025-10-11 03:17:46', '2025-10-11 03:17:46'),
(429, 31, 414, '2025-10-02', 'co_mat', 0, NULL, '2025-10-11 03:17:47', '2025-10-11 03:17:47'),
(430, 31, 411, '2025-10-02', 'co_mat', 0, NULL, '2025-10-11 03:17:49', '2025-10-11 03:17:49'),
(431, 31, 350, '2025-10-02', 'di_muon', 0, NULL, '2025-10-11 03:17:49', '2025-10-11 03:17:49'),
(432, 31, 412, '2025-10-02', 'co_mat', 0, NULL, '2025-10-11 03:17:50', '2025-10-11 03:17:50'),
(433, 31, 419, '2025-10-03', 'co_mat', 0, NULL, '2025-10-11 03:18:02', '2025-10-11 03:18:02'),
(434, 31, 407, '2025-10-03', 'co_mat', 0, NULL, '2025-10-11 03:18:02', '2025-10-11 03:18:02'),
(435, 31, 399, '2025-10-03', 'co_mat', 0, NULL, '2025-10-11 03:18:03', '2025-10-11 03:18:03'),
(436, 31, 410, '2025-10-03', 'co_mat', 0, NULL, '2025-10-11 03:18:04', '2025-10-11 03:18:04'),
(437, 31, 396, '2025-10-03', 'co_mat', 0, NULL, '2025-10-11 03:18:04', '2025-10-11 03:18:04'),
(438, 31, 414, '2025-10-03', 'co_mat', 0, NULL, '2025-10-11 03:18:05', '2025-10-11 03:18:05'),
(439, 31, 411, '2025-10-03', 'co_mat', 0, NULL, '2025-10-11 03:18:06', '2025-10-11 03:18:06'),
(440, 31, 412, '2025-10-03', 'co_mat', 0, NULL, '2025-10-11 03:18:06', '2025-10-11 03:18:06'),
(441, 31, 350, '2025-10-03', 'vang', 1, NULL, '2025-10-11 03:18:10', '2025-10-11 03:18:10'),
(442, 31, 419, '2025-10-06', 'co_mat', 0, NULL, '2025-10-11 03:18:21', '2025-10-11 03:18:21'),
(444, 31, 399, '2025-10-06', 'co_mat', 0, NULL, '2025-10-11 03:18:22', '2025-10-11 03:18:22'),
(445, 31, 407, '2025-10-06', 'vang', 0, NULL, '2025-10-11 03:18:45', '2025-10-11 03:18:45'),
(446, 31, 410, '2025-10-06', 'co_mat', 0, NULL, '2025-10-11 03:18:47', '2025-10-11 03:18:47'),
(447, 31, 396, '2025-10-06', 'co_mat', 0, NULL, '2025-10-11 03:18:47', '2025-10-11 03:18:47'),
(448, 31, 414, '2025-10-06', 'co_mat', 0, NULL, '2025-10-11 03:18:48', '2025-10-11 03:18:48'),
(449, 31, 411, '2025-10-06', 'co_mat', 0, NULL, '2025-10-11 03:18:48', '2025-10-11 03:18:48'),
(450, 31, 350, '2025-10-06', 'di_muon', 0, NULL, '2025-10-11 03:18:49', '2025-10-11 03:18:49'),
(451, 31, 412, '2025-10-06', 'co_mat', 0, NULL, '2025-10-11 03:18:50', '2025-10-11 03:18:50'),
(452, 31, 419, '2025-10-07', 'co_mat', 0, NULL, '2025-10-11 03:19:05', '2025-10-11 03:19:05'),
(453, 31, 407, '2025-10-07', 'co_mat', 0, NULL, '2025-10-11 03:19:08', '2025-10-11 03:19:08'),
(454, 31, 399, '2025-10-07', 'co_mat', 0, NULL, '2025-10-11 03:19:09', '2025-10-11 03:19:09'),
(455, 31, 410, '2025-10-07', 'co_mat', 0, NULL, '2025-10-11 03:19:09', '2025-10-11 03:19:09'),
(456, 31, 396, '2025-10-07', 'co_mat', 0, NULL, '2025-10-11 03:19:10', '2025-10-11 03:19:10'),
(457, 31, 414, '2025-10-07', 'co_mat', 0, NULL, '2025-10-11 03:19:11', '2025-10-11 03:19:11'),
(458, 31, 411, '2025-10-07', 'co_mat', 0, NULL, '2025-10-11 03:19:11', '2025-10-11 03:19:11'),
(459, 31, 350, '2025-10-07', 'co_mat', 0, NULL, '2025-10-11 03:19:12', '2025-10-11 03:19:12'),
(460, 31, 412, '2025-10-07', 'co_mat', 0, NULL, '2025-10-11 03:19:12', '2025-10-11 03:19:12'),
(461, 31, 419, '2025-10-08', 'co_mat', 0, NULL, '2025-10-11 03:19:19', '2025-10-11 03:19:19'),
(462, 31, 407, '2025-10-08', 'co_mat', 0, NULL, '2025-10-11 03:19:19', '2025-10-11 03:19:19'),
(463, 31, 399, '2025-10-08', 'co_mat', 0, NULL, '2025-10-11 03:19:20', '2025-10-11 03:19:20'),
(464, 31, 410, '2025-10-08', 'co_mat', 0, NULL, '2025-10-11 03:19:21', '2025-10-11 03:19:21'),
(465, 31, 396, '2025-10-08', 'co_mat', 0, NULL, '2025-10-11 03:19:21', '2025-10-11 03:19:21'),
(466, 31, 414, '2025-10-08', 'co_mat', 0, NULL, '2025-10-11 03:19:22', '2025-10-11 03:19:22'),
(467, 31, 411, '2025-10-08', 'co_mat', 0, NULL, '2025-10-11 03:19:23', '2025-10-11 03:19:23'),
(468, 31, 350, '2025-10-08', 'co_mat', 0, NULL, '2025-10-11 03:19:23', '2025-10-11 03:19:23'),
(469, 31, 412, '2025-10-08', 'co_mat', 0, NULL, '2025-10-11 03:19:23', '2025-10-11 03:19:23'),
(470, 31, 419, '2025-10-09', 'co_mat', 0, NULL, '2025-10-11 03:19:31', '2025-10-11 03:19:31'),
(471, 31, 407, '2025-10-09', 'co_mat', 0, NULL, '2025-10-11 03:19:32', '2025-10-11 03:19:32'),
(472, 31, 399, '2025-10-09', 'co_mat', 0, NULL, '2025-10-11 03:19:32', '2025-10-11 03:19:32'),
(473, 31, 410, '2025-10-09', 'co_mat', 0, NULL, '2025-10-11 03:19:32', '2025-10-11 03:19:32'),
(474, 31, 396, '2025-10-09', 'co_mat', 0, NULL, '2025-10-11 03:19:33', '2025-10-11 03:19:33'),
(475, 31, 414, '2025-10-09', 'co_mat', 0, NULL, '2025-10-11 03:19:33', '2025-10-11 03:19:33'),
(476, 31, 411, '2025-10-09', 'co_mat', 0, NULL, '2025-10-11 03:19:34', '2025-10-11 03:19:34'),
(477, 31, 350, '2025-10-09', 'co_mat', 0, NULL, '2025-10-11 03:19:35', '2025-10-11 03:19:35'),
(478, 31, 412, '2025-10-09', 'co_mat', 0, NULL, '2025-10-11 03:19:35', '2025-10-11 03:19:35'),
(479, 31, 419, '2025-10-10', 'co_mat', 0, NULL, '2025-10-11 03:19:47', '2025-10-11 03:19:47'),
(480, 31, 407, '2025-10-10', 'co_mat', 0, NULL, '2025-10-11 03:19:47', '2025-10-11 03:19:47'),
(481, 31, 399, '2025-10-10', 'di_muon', 0, NULL, '2025-10-11 03:19:48', '2025-10-11 03:19:48'),
(482, 31, 410, '2025-10-10', 'co_mat', 0, NULL, '2025-10-11 03:19:49', '2025-10-11 03:19:49'),
(483, 31, 396, '2025-10-10', 'co_mat', 0, NULL, '2025-10-11 03:19:50', '2025-10-11 03:19:50'),
(484, 31, 414, '2025-10-10', 'co_mat', 0, NULL, '2025-10-11 03:19:50', '2025-10-11 03:19:50'),
(485, 31, 411, '2025-10-10', 'co_mat', 0, NULL, '2025-10-11 03:19:50', '2025-10-11 03:19:50'),
(486, 31, 350, '2025-10-10', 'co_mat', 0, NULL, '2025-10-11 03:19:51', '2025-10-11 03:19:51'),
(487, 31, 412, '2025-10-10', 'co_mat', 0, NULL, '2025-10-11 03:19:52', '2025-10-11 03:19:52'),
(488, 31, 407, '2025-10-13', 'co_mat', 0, NULL, '2025-10-13 01:21:32', '2025-10-13 01:21:32'),
(489, 31, 350, '2025-10-13', 'vang', 1, NULL, '2025-10-13 01:21:36', '2025-10-13 01:21:36'),
(490, 31, 419, '2025-10-13', 'co_mat', 0, NULL, '2025-10-13 01:21:37', '2025-10-13 01:21:37'),
(491, 31, 399, '2025-10-13', 'co_mat', 0, NULL, '2025-10-13 01:21:38', '2025-10-13 01:21:38'),
(492, 31, 410, '2025-10-13', 'co_mat', 0, NULL, '2025-10-13 01:21:38', '2025-10-13 01:21:38'),
(493, 31, 396, '2025-10-13', 'co_mat', 0, NULL, '2025-10-13 01:21:39', '2025-10-13 01:21:39'),
(494, 31, 414, '2025-10-13', 'co_mat', 0, NULL, '2025-10-13 01:21:40', '2025-10-13 01:21:40'),
(495, 31, 411, '2025-10-13', 'co_mat', 0, NULL, '2025-10-13 01:21:41', '2025-10-13 01:21:41'),
(496, 31, 412, '2025-10-13', 'co_mat', 0, NULL, '2025-10-13 01:21:42', '2025-10-13 01:21:42'),
(497, 32, 424, '2025-10-13', 'co_mat', 0, NULL, '2025-10-13 06:48:55', '2025-10-13 06:48:55'),
(498, 32, 415, '2025-10-13', 'co_mat', 0, NULL, '2025-10-13 06:48:57', '2025-10-13 06:48:57'),
(499, 32, 427, '2025-10-13', 'co_mat', 0, NULL, '2025-10-13 06:48:58', '2025-10-13 06:48:58'),
(500, 32, 422, '2025-10-13', 'co_mat', 0, NULL, '2025-10-13 06:49:00', '2025-10-13 06:49:00'),
(501, 32, 425, '2025-10-13', 'co_mat', 0, NULL, '2025-10-13 06:49:02', '2025-10-13 06:49:02'),
(502, 32, 421, '2025-10-13', 'co_mat', 0, NULL, '2025-10-13 06:49:05', '2025-10-13 06:49:05'),
(503, 32, 424, '2025-10-10', 'co_mat', 0, NULL, '2025-10-13 06:49:19', '2025-10-13 06:49:19'),
(504, 32, 415, '2025-10-10', 'co_mat', 0, NULL, '2025-10-13 06:49:20', '2025-10-13 06:49:20'),
(505, 32, 427, '2025-10-10', 'co_mat', 0, NULL, '2025-10-13 06:49:21', '2025-10-13 06:49:21'),
(506, 32, 429, '2025-10-10', 'co_mat', 0, NULL, '2025-10-13 06:49:22', '2025-10-13 06:49:22'),
(507, 32, 422, '2025-10-10', 'co_mat', 0, NULL, '2025-10-13 06:49:24', '2025-10-13 06:49:24'),
(508, 32, 425, '2025-10-10', 'co_mat', 0, NULL, '2025-10-13 06:49:25', '2025-10-13 06:49:25'),
(509, 32, 423, '2025-10-10', 'co_mat', 0, NULL, '2025-10-13 06:49:26', '2025-10-13 06:49:26'),
(510, 32, 421, '2025-10-10', 'co_mat', 0, NULL, '2025-10-13 06:49:27', '2025-10-13 06:49:27'),
(511, 32, 424, '2025-10-09', 'co_mat', 0, NULL, '2025-10-13 06:49:32', '2025-10-13 06:49:32'),
(512, 32, 415, '2025-10-09', 'co_mat', 0, NULL, '2025-10-13 06:49:33', '2025-10-13 06:49:33'),
(513, 32, 427, '2025-10-09', 'co_mat', 0, NULL, '2025-10-13 06:49:34', '2025-10-13 06:49:34'),
(514, 32, 429, '2025-10-09', 'co_mat', 0, NULL, '2025-10-13 06:49:36', '2025-10-13 06:49:36'),
(515, 32, 422, '2025-10-09', 'co_mat', 0, NULL, '2025-10-13 06:49:36', '2025-10-13 06:49:36'),
(516, 32, 425, '2025-10-09', 'co_mat', 0, NULL, '2025-10-13 06:49:38', '2025-10-13 06:49:38'),
(517, 32, 423, '2025-10-09', 'co_mat', 0, NULL, '2025-10-13 06:49:39', '2025-10-13 06:49:39'),
(518, 32, 421, '2025-10-09', 'co_mat', 0, NULL, '2025-10-13 06:49:40', '2025-10-13 06:49:40'),
(519, 32, 424, '2025-10-08', 'co_mat', 0, NULL, '2025-10-13 06:49:46', '2025-10-13 06:49:46'),
(520, 32, 415, '2025-10-08', 'co_mat', 0, NULL, '2025-10-13 06:49:47', '2025-10-13 06:49:47'),
(521, 32, 427, '2025-10-08', 'co_mat', 0, NULL, '2025-10-13 06:49:49', '2025-10-13 06:49:49'),
(522, 32, 429, '2025-10-08', 'co_mat', 0, NULL, '2025-10-13 06:49:50', '2025-10-13 06:49:50'),
(523, 32, 422, '2025-10-08', 'co_mat', 0, NULL, '2025-10-13 06:49:51', '2025-10-13 06:49:51'),
(524, 32, 425, '2025-10-08', 'co_mat', 0, NULL, '2025-10-13 06:49:52', '2025-10-13 06:49:52'),
(525, 32, 423, '2025-10-08', 'co_mat', 0, NULL, '2025-10-13 06:49:54', '2025-10-13 06:49:54'),
(526, 32, 421, '2025-10-08', 'co_mat', 0, NULL, '2025-10-13 06:49:55', '2025-10-13 06:49:55'),
(527, 32, 424, '2025-10-07', 'co_mat', 0, NULL, '2025-10-13 06:50:07', '2025-10-13 06:50:07'),
(528, 32, 415, '2025-10-07', 'co_mat', 0, NULL, '2025-10-13 06:50:08', '2025-10-13 06:50:08'),
(529, 32, 427, '2025-10-07', 'co_mat', 0, NULL, '2025-10-13 06:50:09', '2025-10-13 06:50:09'),
(530, 32, 429, '2025-10-07', 'co_mat', 0, NULL, '2025-10-13 06:50:10', '2025-10-13 06:50:10'),
(531, 32, 422, '2025-10-07', 'co_mat', 0, NULL, '2025-10-13 06:50:12', '2025-10-13 06:50:12'),
(532, 32, 425, '2025-10-07', 'co_mat', 0, NULL, '2025-10-13 06:50:13', '2025-10-13 06:50:13'),
(533, 32, 423, '2025-10-07', 'co_mat', 0, NULL, '2025-10-13 06:50:14', '2025-10-13 06:50:14'),
(534, 32, 421, '2025-10-07', 'co_mat', 0, NULL, '2025-10-13 06:50:16', '2025-10-13 06:50:16'),
(535, 32, 424, '2025-10-06', 'co_mat', 0, NULL, '2025-10-13 06:50:21', '2025-10-13 06:50:21'),
(536, 32, 415, '2025-10-06', 'co_mat', 0, NULL, '2025-10-13 06:50:24', '2025-10-13 06:50:24'),
(537, 32, 427, '2025-10-06', 'co_mat', 0, NULL, '2025-10-13 06:50:25', '2025-10-13 06:50:25'),
(538, 32, 429, '2025-10-06', 'co_mat', 0, NULL, '2025-10-13 06:50:26', '2025-10-13 06:50:26'),
(540, 32, 425, '2025-10-06', 'co_mat', 0, NULL, '2025-10-13 06:50:28', '2025-10-13 06:50:28'),
(542, 32, 421, '2025-10-06', 'co_mat', 0, NULL, '2025-10-13 06:50:31', '2025-10-13 06:50:31'),
(543, 32, 424, '2025-10-03', 'co_mat', 0, NULL, '2025-10-13 06:50:45', '2025-10-13 06:50:45'),
(545, 32, 427, '2025-10-03', 'co_mat', 0, NULL, '2025-10-13 06:50:48', '2025-10-13 06:50:48'),
(547, 32, 429, '2025-10-03', 'co_mat', 0, NULL, '2025-10-13 06:50:55', '2025-10-13 06:50:55'),
(548, 32, 415, '2025-10-03', 'vang', 1, NULL, '2025-10-13 06:51:03', '2025-10-13 06:51:03'),
(549, 32, 422, '2025-10-03', 'co_mat', 0, NULL, '2025-10-13 06:51:05', '2025-10-13 06:51:05'),
(550, 32, 425, '2025-10-03', 'co_mat', 0, NULL, '2025-10-13 06:51:08', '2025-10-13 06:51:08'),
(551, 32, 423, '2025-10-03', 'co_mat', 0, NULL, '2025-10-13 06:51:10', '2025-10-13 06:51:10'),
(552, 32, 421, '2025-10-03', 'co_mat', 0, NULL, '2025-10-13 06:51:12', '2025-10-13 06:51:12'),
(553, 32, 422, '2025-10-06', 'vang', 1, NULL, '2025-10-13 06:52:10', '2025-10-13 06:52:10'),
(554, 32, 423, '2025-10-06', 'vang', 1, NULL, '2025-10-13 06:52:13', '2025-10-13 06:52:13'),
(555, 32, 424, '2025-10-02', 'co_mat', 0, NULL, '2025-10-13 06:52:34', '2025-10-13 06:52:34'),
(556, 32, 415, '2025-10-02', 'co_mat', 0, NULL, '2025-10-13 06:52:36', '2025-10-13 06:52:36'),
(557, 32, 427, '2025-10-02', 'co_mat', 0, NULL, '2025-10-13 06:52:37', '2025-10-13 06:52:37'),
(558, 32, 426, '2025-10-02', 'co_mat', 0, NULL, '2025-10-13 06:52:38', '2025-10-13 06:52:38'),
(559, 32, 429, '2025-10-02', 'co_mat', 0, NULL, '2025-10-13 06:52:40', '2025-10-13 06:52:40'),
(560, 32, 422, '2025-10-02', 'co_mat', 0, NULL, '2025-10-13 06:52:41', '2025-10-13 06:52:41'),
(561, 32, 425, '2025-10-02', 'co_mat', 0, NULL, '2025-10-13 06:52:42', '2025-10-13 06:52:42'),
(562, 32, 423, '2025-10-02', 'co_mat', 0, NULL, '2025-10-13 06:52:43', '2025-10-13 06:52:43'),
(563, 32, 421, '2025-10-02', 'co_mat', 0, NULL, '2025-10-13 06:52:44', '2025-10-13 06:52:44'),
(564, 32, 426, '2025-10-01', 'co_mat', 0, NULL, '2025-10-13 06:52:49', '2025-10-13 06:52:49'),
(565, 32, 424, '2025-10-01', 'co_mat', 0, NULL, '2025-10-13 06:52:50', '2025-10-13 06:52:50'),
(566, 32, 415, '2025-10-01', 'co_mat', 0, NULL, '2025-10-13 06:52:51', '2025-10-13 06:52:51'),
(567, 32, 427, '2025-10-01', 'co_mat', 0, NULL, '2025-10-13 06:52:52', '2025-10-13 06:52:52'),
(568, 32, 429, '2025-10-01', 'co_mat', 0, NULL, '2025-10-13 06:52:53', '2025-10-13 06:52:53'),
(569, 32, 422, '2025-10-01', 'co_mat', 0, NULL, '2025-10-13 06:52:55', '2025-10-13 06:52:55'),
(570, 32, 425, '2025-10-01', 'co_mat', 0, NULL, '2025-10-13 06:52:55', '2025-10-13 06:52:55'),
(571, 32, 423, '2025-10-01', 'co_mat', 0, NULL, '2025-10-13 06:52:57', '2025-10-13 06:52:57'),
(572, 32, 421, '2025-10-01', 'co_mat', 0, NULL, '2025-10-13 06:52:57', '2025-10-13 06:52:57'),
(573, 32, 426, '2025-09-30', 'co_mat', 0, NULL, '2025-10-13 06:53:04', '2025-10-13 06:53:04'),
(574, 32, 424, '2025-09-30', 'co_mat', 0, NULL, '2025-10-13 06:53:05', '2025-10-13 06:53:05'),
(575, 32, 415, '2025-09-30', 'co_mat', 0, NULL, '2025-10-13 06:53:06', '2025-10-13 06:53:06'),
(576, 32, 427, '2025-09-30', 'co_mat', 0, NULL, '2025-10-13 06:53:07', '2025-10-13 06:53:07'),
(577, 32, 429, '2025-09-30', 'co_mat', 0, NULL, '2025-10-13 06:53:08', '2025-10-13 06:53:08'),
(578, 32, 422, '2025-09-30', 'co_mat', 0, NULL, '2025-10-13 06:53:09', '2025-10-13 06:53:09'),
(579, 32, 425, '2025-09-30', 'co_mat', 0, NULL, '2025-10-13 06:53:10', '2025-10-13 06:53:10'),
(580, 32, 423, '2025-09-30', 'co_mat', 0, NULL, '2025-10-13 06:53:12', '2025-10-13 06:53:12'),
(581, 32, 421, '2025-09-30', 'co_mat', 0, NULL, '2025-10-13 06:53:13', '2025-10-13 06:53:13'),
(582, 31, 350, '2025-10-14', 'vang', 1, NULL, '2025-10-14 01:16:15', '2025-10-14 01:16:15'),
(583, 31, 407, '2025-10-14', 'vang', 1, NULL, '2025-10-14 01:16:17', '2025-10-14 01:16:17'),
(584, 31, 419, '2025-10-14', 'co_mat', 0, NULL, '2025-10-14 01:16:18', '2025-10-14 01:16:18'),
(586, 31, 410, '2025-10-14', 'co_mat', 0, NULL, '2025-10-14 01:16:23', '2025-10-14 01:16:23'),
(587, 31, 396, '2025-10-14', 'co_mat', 0, NULL, '2025-10-14 01:16:24', '2025-10-14 01:16:24'),
(588, 31, 414, '2025-10-14', 'co_mat', 0, NULL, '2025-10-14 01:16:26', '2025-10-14 01:16:26'),
(589, 31, 411, '2025-10-14', 'co_mat', 0, NULL, '2025-10-14 01:16:26', '2025-10-14 01:16:26'),
(590, 31, 412, '2025-10-14', 'co_mat', 0, NULL, '2025-10-14 01:16:27', '2025-10-14 01:16:27'),
(591, 31, 399, '2025-10-14', 'di_muon', 0, NULL, '2025-10-14 01:40:50', '2025-10-14 01:40:50'),
(592, 32, 415, '2025-10-14', 'co_mat', 0, NULL, '2025-10-14 08:56:17', '2025-10-14 08:56:17'),
(593, 32, 422, '2025-10-14', 'co_mat', 0, NULL, '2025-10-14 08:56:18', '2025-10-14 08:56:18'),
(594, 32, 424, '2025-10-14', 'co_mat', 0, NULL, '2025-10-14 08:56:21', '2025-10-14 08:56:21'),
(595, 32, 427, '2025-10-14', 'co_mat', 0, NULL, '2025-10-14 08:56:22', '2025-10-14 08:56:22'),
(596, 32, 425, '2025-10-14', 'co_mat', 0, NULL, '2025-10-14 08:56:24', '2025-10-14 08:56:24'),
(597, 32, 421, '2025-10-14', 'co_mat', 0, NULL, '2025-10-14 08:56:26', '2025-10-14 08:56:26'),
(598, 31, 350, '2025-10-15', 'co_mat', 0, NULL, '2025-10-15 02:19:47', '2025-10-15 02:19:47'),
(599, 31, 407, '2025-10-15', 'co_mat', 0, NULL, '2025-10-15 02:19:47', '2025-10-15 02:19:47'),
(600, 31, 419, '2025-10-15', 'co_mat', 0, NULL, '2025-10-15 02:19:48', '2025-10-15 02:19:48'),
(601, 31, 399, '2025-10-15', 'co_mat', 0, NULL, '2025-10-15 02:19:49', '2025-10-15 02:19:49'),
(602, 31, 410, '2025-10-15', 'co_mat', 0, NULL, '2025-10-15 02:19:49', '2025-10-15 02:19:49'),
(603, 31, 396, '2025-10-15', 'co_mat', 0, NULL, '2025-10-15 02:19:50', '2025-10-15 02:19:50'),
(604, 31, 414, '2025-10-15', 'co_mat', 0, NULL, '2025-10-15 02:19:50', '2025-10-15 02:19:50'),
(605, 31, 411, '2025-10-15', 'co_mat', 0, NULL, '2025-10-15 02:19:51', '2025-10-15 02:19:51'),
(606, 31, 412, '2025-10-15', 'co_mat', 0, NULL, '2025-10-15 02:19:52', '2025-10-15 02:19:52'),
(607, 31, 350, '2025-10-16', 'co_mat', 0, NULL, '2025-10-17 01:47:11', '2025-10-17 01:47:11'),
(608, 31, 407, '2025-10-16', 'co_mat', 0, NULL, '2025-10-17 01:47:12', '2025-10-17 01:47:12'),
(609, 31, 419, '2025-10-16', 'co_mat', 0, NULL, '2025-10-17 01:47:13', '2025-10-17 01:47:13'),
(611, 31, 410, '2025-10-16', 'co_mat', 0, NULL, '2025-10-17 01:47:14', '2025-10-17 01:47:14'),
(612, 31, 396, '2025-10-16', 'co_mat', 0, NULL, '2025-10-17 01:47:15', '2025-10-17 01:47:15'),
(613, 31, 414, '2025-10-16', 'co_mat', 0, NULL, '2025-10-17 01:47:16', '2025-10-17 01:47:16'),
(614, 31, 411, '2025-10-16', 'co_mat', 0, NULL, '2025-10-17 01:47:16', '2025-10-17 01:47:16'),
(615, 31, 412, '2025-10-16', 'co_mat', 0, NULL, '2025-10-17 01:47:17', '2025-10-17 01:47:17'),
(616, 31, 399, '2025-10-16', 'vang', 1, NULL, '2025-10-17 01:47:22', '2025-10-17 01:47:22'),
(617, 31, 350, '2025-10-17', 'co_mat', 0, NULL, '2025-10-17 04:52:00', '2025-10-17 04:52:00'),
(618, 31, 407, '2025-10-17', 'co_mat', 0, NULL, '2025-10-17 04:52:02', '2025-10-17 04:52:02'),
(619, 31, 399, '2025-10-17', 'co_mat', 0, NULL, '2025-10-17 04:52:03', '2025-10-17 04:52:03'),
(620, 31, 419, '2025-10-17', 'co_mat', 0, NULL, '2025-10-17 04:52:03', '2025-10-17 04:52:03'),
(621, 31, 410, '2025-10-17', 'co_mat', 0, NULL, '2025-10-17 04:52:03', '2025-10-17 04:52:03'),
(622, 31, 396, '2025-10-17', 'co_mat', 0, NULL, '2025-10-17 04:52:04', '2025-10-17 04:52:04'),
(623, 31, 414, '2025-10-17', 'co_mat', 0, NULL, '2025-10-17 04:52:05', '2025-10-17 04:52:05'),
(624, 31, 411, '2025-10-17', 'co_mat', 0, NULL, '2025-10-17 04:52:05', '2025-10-17 04:52:05'),
(625, 31, 412, '2025-10-17', 'co_mat', 0, NULL, '2025-10-17 04:52:06', '2025-10-17 04:52:06'),
(626, 32, 434, '2025-10-14', 'co_mat', 0, NULL, '2025-10-17 06:56:11', '2025-10-17 06:56:11'),
(627, 32, 415, '2025-10-15', 'co_mat', 0, NULL, '2025-10-17 06:56:19', '2025-10-17 06:56:19'),
(628, 32, 422, '2025-10-15', 'co_mat', 0, NULL, '2025-10-17 06:56:20', '2025-10-17 06:56:20'),
(629, 32, 424, '2025-10-15', 'co_mat', 0, NULL, '2025-10-17 06:56:25', '2025-10-17 06:56:25'),
(630, 32, 434, '2025-10-15', 'co_mat', 0, NULL, '2025-10-17 06:56:26', '2025-10-17 06:56:26'),
(631, 32, 427, '2025-10-15', 'co_mat', 0, NULL, '2025-10-17 06:56:28', '2025-10-17 06:56:28'),
(632, 32, 425, '2025-10-15', 'co_mat', 0, NULL, '2025-10-17 06:56:29', '2025-10-17 06:56:29'),
(633, 32, 421, '2025-10-15', 'co_mat', 0, NULL, '2025-10-17 06:56:30', '2025-10-17 06:56:30'),
(634, 32, 415, '2025-10-16', 'co_mat', 0, NULL, '2025-10-17 06:56:37', '2025-10-17 06:56:37'),
(635, 32, 422, '2025-10-16', 'co_mat', 0, NULL, '2025-10-17 06:56:38', '2025-10-17 06:56:38'),
(636, 32, 424, '2025-10-16', 'co_mat', 0, NULL, '2025-10-17 06:56:41', '2025-10-17 06:56:41'),
(637, 32, 434, '2025-10-16', 'co_mat', 0, NULL, '2025-10-17 06:56:42', '2025-10-17 06:56:42'),
(638, 32, 427, '2025-10-16', 'co_mat', 0, NULL, '2025-10-17 06:56:43', '2025-10-17 06:56:43'),
(639, 32, 425, '2025-10-16', 'co_mat', 0, NULL, '2025-10-17 06:56:44', '2025-10-17 06:56:44'),
(640, 32, 421, '2025-10-16', 'co_mat', 0, NULL, '2025-10-17 06:56:45', '2025-10-17 06:56:45'),
(641, 32, 415, '2025-10-17', 'co_mat', 0, NULL, '2025-10-17 06:56:50', '2025-10-17 06:56:50'),
(642, 32, 422, '2025-10-17', 'co_mat', 0, NULL, '2025-10-17 06:56:52', '2025-10-17 06:56:52'),
(643, 32, 424, '2025-10-17', 'co_mat', 0, NULL, '2025-10-17 06:56:54', '2025-10-17 06:56:54'),
(644, 32, 434, '2025-10-17', 'co_mat', 0, NULL, '2025-10-17 06:56:55', '2025-10-17 06:56:55'),
(645, 32, 427, '2025-10-17', 'co_mat', 0, NULL, '2025-10-17 06:56:56', '2025-10-17 06:56:56'),
(646, 32, 425, '2025-10-17', 'co_mat', 0, NULL, '2025-10-17 06:56:57', '2025-10-17 06:56:57'),
(647, 32, 421, '2025-10-17', 'co_mat', 0, NULL, '2025-10-17 06:56:58', '2025-10-17 06:56:58'),
(648, 32, 415, '2025-10-20', 'co_mat', 0, NULL, '2025-10-20 07:03:23', '2025-10-20 07:03:23'),
(649, 32, 422, '2025-10-20', 'co_mat', 0, NULL, '2025-10-20 07:03:24', '2025-10-20 07:03:24'),
(650, 32, 426, '2025-10-20', 'co_mat', 0, NULL, '2025-10-20 07:03:27', '2025-10-20 07:03:27'),
(651, 32, 424, '2025-10-20', 'co_mat', 0, NULL, '2025-10-20 07:03:30', '2025-10-20 07:03:30'),
(652, 32, 434, '2025-10-20', 'co_mat', 0, NULL, '2025-10-20 07:03:32', '2025-10-20 07:03:32'),
(653, 32, 425, '2025-10-20', 'co_mat', 0, NULL, '2025-10-20 07:03:35', '2025-10-20 07:03:35'),
(654, 32, 427, '2025-10-20', 'co_mat', 0, NULL, '2025-10-20 07:03:36', '2025-10-20 07:03:36'),
(655, 32, 421, '2025-10-20', 'co_mat', 0, NULL, '2025-10-20 07:03:37', '2025-10-20 07:03:37'),
(656, 31, 350, '2025-10-21', 'co_mat', 0, NULL, '2025-10-21 02:40:00', '2025-10-21 02:40:00'),
(658, 31, 399, '2025-10-21', 'co_mat', 0, NULL, '2025-10-21 02:40:03', '2025-10-21 02:40:03'),
(659, 31, 419, '2025-10-21', 'co_mat', 0, NULL, '2025-10-21 02:40:04', '2025-10-21 02:40:04'),
(660, 31, 407, '2025-10-21', 'di_muon', 0, NULL, '2025-10-21 02:40:06', '2025-10-21 02:40:06'),
(661, 31, 410, '2025-10-21', 'co_mat', 0, NULL, '2025-10-21 02:40:07', '2025-10-21 02:40:07'),
(662, 31, 396, '2025-10-21', 'co_mat', 0, NULL, '2025-10-21 02:40:07', '2025-10-21 02:40:07'),
(663, 31, 414, '2025-10-21', 'co_mat', 0, NULL, '2025-10-21 02:40:08', '2025-10-21 02:40:08'),
(665, 31, 412, '2025-10-21', 'co_mat', 0, NULL, '2025-10-21 02:40:09', '2025-10-21 02:40:09'),
(666, 31, 411, '2025-10-21', 'co_mat', 0, NULL, '2025-10-21 02:40:09', '2025-10-21 02:40:09'),
(667, 32, 415, '2025-10-21', 'co_mat', 0, NULL, '2025-10-21 12:23:42', '2025-10-21 12:23:42'),
(668, 32, 422, '2025-10-21', 'vang', 1, NULL, '2025-10-21 12:23:46', '2025-10-21 12:23:46'),
(669, 32, 424, '2025-10-21', 'vang', 1, NULL, '2025-10-21 12:23:50', '2025-10-21 12:23:50'),
(670, 32, 434, '2025-10-21', 'co_mat', 0, NULL, '2025-10-21 12:23:51', '2025-10-21 12:23:51'),
(671, 32, 427, '2025-10-21', 'co_mat', 0, NULL, '2025-10-21 12:23:52', '2025-10-21 12:23:52'),
(672, 32, 421, '2025-10-21', 'co_mat', 0, NULL, '2025-10-21 12:23:55', '2025-10-21 12:23:55'),
(673, 31, 350, '2025-10-22', 'di_muon', 0, NULL, '2025-10-22 02:23:04', '2025-10-22 02:23:04'),
(674, 31, 407, '2025-10-22', 'di_muon', 0, NULL, '2025-10-22 02:23:06', '2025-10-22 02:23:06'),
(675, 31, 399, '2025-10-22', 'co_mat', 0, NULL, '2025-10-22 02:23:08', '2025-10-22 02:23:08'),
(677, 31, 419, '2025-10-22', 'di_muon', 0, NULL, '2025-10-22 02:23:09', '2025-10-22 02:23:09'),
(678, 31, 410, '2025-10-22', 'co_mat', 0, NULL, '2025-10-22 02:23:10', '2025-10-22 02:23:10'),
(679, 31, 396, '2025-10-22', 'co_mat', 0, NULL, '2025-10-22 02:23:11', '2025-10-22 02:23:11'),
(680, 31, 414, '2025-10-22', 'co_mat', 0, NULL, '2025-10-22 02:23:12', '2025-10-22 02:23:12'),
(681, 31, 411, '2025-10-22', 'co_mat', 0, NULL, '2025-10-22 02:23:12', '2025-10-22 02:23:12'),
(682, 31, 412, '2025-10-22', 'co_mat', 0, NULL, '2025-10-22 02:23:13', '2025-10-22 02:23:13');
INSERT INTO `diem_danh` (`id`, `lop_hoc_id`, `hoc_vien_id`, `ngay_diem_danh`, `trang_thai`, `co_phep`, `ghi_chu`, `created_at`, `updated_at`) VALUES
(683, 32, 422, '2025-10-22', 'co_mat', 0, NULL, '2025-10-24 07:24:38', '2025-10-24 07:24:38'),
(684, 32, 424, '2025-10-22', 'co_mat', 0, NULL, '2025-10-24 07:24:39', '2025-10-24 07:24:39'),
(685, 32, 415, '2025-10-22', 'co_mat', 0, NULL, '2025-10-24 07:24:45', '2025-10-24 07:24:45'),
(688, 32, 434, '2025-10-22', 'co_mat', 0, NULL, '2025-10-24 07:24:49', '2025-10-24 07:24:49'),
(689, 32, 427, '2025-10-22', 'co_mat', 0, NULL, '2025-10-24 07:24:53', '2025-10-24 07:24:53'),
(690, 32, 425, '2025-10-22', 'co_mat', 0, NULL, '2025-10-24 07:24:55', '2025-10-24 07:24:55'),
(691, 32, 421, '2025-10-22', 'co_mat', 0, NULL, '2025-10-24 07:24:55', '2025-10-24 07:24:55'),
(692, 32, 422, '2025-10-23', 'co_mat', 0, NULL, '2025-10-24 07:25:00', '2025-10-24 07:25:00'),
(693, 32, 424, '2025-10-23', 'co_mat', 0, NULL, '2025-10-24 07:25:01', '2025-10-24 07:25:01'),
(694, 32, 415, '2025-10-23', 'co_mat', 0, NULL, '2025-10-24 07:25:01', '2025-10-24 07:25:01'),
(695, 32, 434, '2025-10-23', 'co_mat', 0, NULL, '2025-10-24 07:25:04', '2025-10-24 07:25:04'),
(698, 32, 425, '2025-10-23', 'vang', 1, NULL, '2025-10-24 07:25:10', '2025-10-24 07:25:10'),
(699, 32, 421, '2025-10-23', 'co_mat', 0, NULL, '2025-10-24 07:25:14', '2025-10-24 07:25:14'),
(700, 32, 422, '2025-10-24', 'vang', 1, NULL, '2025-10-24 07:25:18', '2025-10-24 07:25:18'),
(701, 32, 424, '2025-10-24', 'co_mat', 0, NULL, '2025-10-24 07:25:21', '2025-10-24 07:25:21'),
(702, 32, 415, '2025-10-24', 'co_mat', 0, NULL, '2025-10-24 07:25:22', '2025-10-24 07:25:22'),
(703, 32, 434, '2025-10-24', 'co_mat', 0, NULL, '2025-10-24 07:25:24', '2025-10-24 07:25:24'),
(704, 32, 425, '2025-10-24', 'co_mat', 0, NULL, '2025-10-24 07:25:27', '2025-10-24 07:25:27'),
(705, 32, 421, '2025-10-24', 'co_mat', 0, NULL, '2025-10-24 07:25:28', '2025-10-24 07:25:28'),
(706, 31, 350, '2025-11-05', 'co_mat', 0, NULL, '2025-11-05 01:49:08', '2025-11-05 01:49:08'),
(707, 31, 407, '2025-11-05', 'di_muon', 0, NULL, '2025-11-05 01:49:11', '2025-11-05 01:49:11'),
(708, 31, 399, '2025-11-05', 'co_mat', 0, NULL, '2025-11-05 01:49:12', '2025-11-05 01:49:12'),
(709, 31, 419, '2025-11-05', 'co_mat', 0, NULL, '2025-11-05 01:49:13', '2025-11-05 01:49:13'),
(710, 31, 410, '2025-11-05', 'di_muon', 0, NULL, '2025-11-05 01:49:14', '2025-11-05 01:49:14'),
(712, 31, 414, '2025-11-05', 'co_mat', 0, NULL, '2025-11-05 01:49:20', '2025-11-05 01:49:20'),
(713, 31, 396, '2025-11-05', 'vang', 1, NULL, '2025-11-05 01:49:21', '2025-11-05 01:49:21'),
(714, 31, 411, '2025-11-05', 'co_mat', 0, NULL, '2025-11-05 01:49:22', '2025-11-05 01:49:22'),
(715, 31, 412, '2025-11-05', 'co_mat', 0, NULL, '2025-11-05 01:49:22', '2025-11-05 01:49:22'),
(716, 32, 422, '2025-11-05', 'vang', 1, NULL, '2025-11-05 08:07:36', '2025-11-05 08:07:36'),
(717, 32, 424, '2025-11-05', 'vang', 1, NULL, '2025-11-05 08:07:38', '2025-11-05 08:07:38'),
(718, 32, 415, '2025-11-05', 'co_mat', 0, NULL, '2025-11-05 08:07:40', '2025-11-05 08:07:40'),
(720, 32, 434, '2025-11-05', 'co_mat', 0, NULL, '2025-11-05 08:07:44', '2025-11-05 08:07:44'),
(723, 32, 425, '2025-11-05', 'co_mat', 0, NULL, '2025-11-05 09:56:59', '2025-11-05 09:56:59'),
(725, 32, 424, '2025-11-06', 'vang', 1, NULL, '2025-11-06 07:09:38', '2025-11-06 07:09:38'),
(726, 32, 415, '2025-11-06', 'co_mat', 0, NULL, '2025-11-06 07:09:39', '2025-11-06 07:09:39'),
(727, 32, 425, '2025-11-06', 'co_mat', 0, NULL, '2025-11-06 07:09:40', '2025-11-06 07:09:40'),
(728, 32, 435, '2025-11-06', 'co_mat', 0, NULL, '2025-11-06 07:09:42', '2025-11-06 07:09:42'),
(729, 32, 434, '2025-11-06', 'co_mat', 0, NULL, '2025-11-06 07:09:44', '2025-11-06 07:09:44'),
(730, 32, 421, '2025-11-06', 'co_mat', 0, NULL, '2025-11-06 07:09:46', '2025-11-06 07:09:46'),
(731, 32, 435, '2025-11-05', 'co_mat', 0, NULL, '2025-11-07 02:16:16', '2025-11-07 02:16:16');

-- --------------------------------------------------------

--
-- Table structure for table `diem_so_hoc_vien`
--

CREATE TABLE `diem_so_hoc_vien` (
  `id` int(11) NOT NULL,
  `hoc_vien_id` int(11) DEFAULT NULL,
  `lop_hoc_id` int(11) DEFAULT NULL,
  `trinh_do_id` int(11) DEFAULT NULL,
  `giao_vien_id` int(11) DEFAULT NULL,
  `dot_kiem_tra` int(11) DEFAULT NULL,
  `diem_viet` float DEFAULT NULL,
  `diem_noi` float DEFAULT NULL,
  `ngay_thi` date DEFAULT NULL,
  `ghi_chu` text DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT current_timestamp(),
  `updated_at` timestamp NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
  `final_nghe` float DEFAULT NULL,
  `final_noi` float DEFAULT NULL,
  `final_doc` float DEFAULT NULL,
  `final_viet` float DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `diem_so_hoc_vien`
--

INSERT INTO `diem_so_hoc_vien` (`id`, `hoc_vien_id`, `lop_hoc_id`, `trinh_do_id`, `giao_vien_id`, `dot_kiem_tra`, `diem_viet`, `diem_noi`, `ngay_thi`, `ghi_chu`, `created_at`, `updated_at`, `final_nghe`, `final_noi`, `final_doc`, `final_viet`) VALUES
(35, 335, 26, 0, 18, 1, 0, NULL, '2025-08-18', NULL, '2025-08-18 04:05:38', '2025-09-30 21:03:37', NULL, NULL, NULL, NULL),
(36, 340, 27, 0, 20, 1, 95, 81, '2025-08-18', NULL, '2025-08-18 04:05:41', '2025-08-18 04:05:52', NULL, NULL, NULL, NULL),
(37, 340, 27, 0, 20, 2, 72, 67, '2025-08-18', NULL, '2025-08-18 04:05:42', '2025-08-18 04:06:11', NULL, NULL, NULL, NULL),
(38, 340, 27, 0, 20, 3, 46, 75, '2025-08-18', NULL, '2025-08-18 04:06:02', '2025-08-18 04:06:23', NULL, NULL, NULL, NULL),
(39, 340, 27, 0, 20, 4, 60, 77, '2025-08-18', NULL, '2025-08-18 04:06:24', '2025-08-18 04:06:38', NULL, NULL, NULL, NULL),
(40, 340, 27, 0, 20, 5, 61, 69, '2025-08-18', NULL, '2025-08-18 04:06:40', '2025-08-18 04:06:49', NULL, NULL, NULL, NULL),
(41, 340, 27, 0, 20, 6, 51, 65, '2025-08-18', NULL, '2025-08-18 04:06:58', '2025-08-18 04:07:04', NULL, NULL, NULL, NULL),
(42, 367, 29, 0, 19, 1, 79, 81, '2025-08-19', NULL, '2025-08-18 20:40:26', '2025-08-18 20:40:31', NULL, NULL, NULL, NULL),
(43, 367, 29, 0, 19, 2, 81, 96, '2025-08-19', NULL, '2025-08-18 20:40:34', '2025-08-18 20:40:38', NULL, NULL, NULL, NULL),
(44, 364, 29, 0, 19, 1, 85, 88, '2025-08-19', NULL, '2025-08-18 20:40:46', '2025-08-18 20:40:52', NULL, NULL, NULL, NULL),
(45, 364, 29, 0, 19, 2, 92, 100, '2025-08-19', NULL, '2025-08-18 20:40:55', '2025-08-18 20:41:01', NULL, NULL, NULL, NULL),
(46, 359, 29, 0, 19, 1, 83, 88, '2025-08-19', NULL, '2025-08-18 20:41:10', '2025-08-18 20:41:14', NULL, NULL, NULL, NULL),
(47, 359, 29, 0, 19, 2, 79, 86, '2025-08-19', NULL, '2025-08-18 20:41:16', '2025-08-18 20:41:21', NULL, NULL, NULL, NULL),
(48, 365, 29, 0, 19, 1, 86, 88, '2025-08-19', NULL, '2025-08-18 20:41:28', '2025-08-18 20:41:32', NULL, NULL, NULL, NULL),
(49, 365, 29, 0, 19, 2, 79, 93, '2025-08-19', NULL, '2025-08-18 20:41:37', '2025-08-18 20:41:43', NULL, NULL, NULL, NULL),
(50, 362, 29, 0, 19, 1, 80, 88, '2025-08-19', NULL, '2025-08-18 20:41:54', '2025-08-18 20:41:56', NULL, NULL, NULL, NULL),
(51, 362, 29, 0, 19, 2, 81, 100, '2025-08-19', NULL, '2025-08-18 20:41:59', '2025-08-18 20:42:04', NULL, NULL, NULL, NULL),
(52, 361, 29, 0, 19, 1, 75, 81, '2025-08-19', NULL, '2025-08-18 20:42:09', '2025-08-18 20:42:32', NULL, NULL, NULL, NULL),
(53, 361, 29, 0, 19, 2, 81, 100, '2025-08-19', NULL, '2025-08-18 20:42:35', '2025-08-18 20:42:42', NULL, NULL, NULL, NULL),
(54, 360, 29, 0, 19, 1, 58, 81, '2025-08-19', NULL, '2025-08-18 20:42:49', '2025-08-18 20:42:56', NULL, NULL, NULL, NULL),
(55, 360, 29, 0, 19, 2, 54, 96, '2025-08-19', NULL, '2025-08-18 20:43:00', '2025-08-18 20:43:07', NULL, NULL, NULL, NULL),
(56, 363, 29, 0, 19, 1, 45, 69, '2025-08-19', NULL, '2025-08-18 20:43:10', '2025-08-18 20:43:16', NULL, NULL, NULL, NULL),
(57, 363, 29, 0, 19, 2, 56, 82, '2025-08-19', NULL, '2025-08-18 20:43:19', '2025-08-18 20:43:22', NULL, NULL, NULL, NULL),
(58, 349, 28, 0, 19, 1, 68, 100, '2025-08-19', NULL, '2025-08-18 20:46:28', '2025-08-18 20:46:41', NULL, NULL, NULL, NULL),
(59, 349, 28, 0, 19, 2, 58, 100, '2025-08-19', NULL, '2025-08-18 20:46:43', '2025-08-18 20:46:47', NULL, NULL, NULL, NULL),
(60, 349, 28, 0, 19, 3, 71, 93, '2025-08-19', NULL, '2025-08-18 20:46:49', '2025-08-18 20:46:52', NULL, NULL, NULL, NULL),
(61, 349, 28, 0, 19, 4, 67, 100, '2025-08-19', NULL, '2025-08-18 20:46:54', '2025-08-18 20:46:59', NULL, NULL, NULL, NULL),
(62, 351, 28, 0, 19, 1, 98, 100, '2025-08-19', NULL, '2025-08-18 20:47:03', '2025-08-18 20:47:38', NULL, NULL, NULL, NULL),
(63, 351, 28, 0, 19, 2, 83, 92, '2025-08-19', NULL, '2025-08-18 20:47:08', '2025-08-18 20:47:57', NULL, NULL, NULL, NULL),
(64, 351, 28, 0, 19, 3, 85, 96, '2025-08-19', NULL, '2025-08-18 20:47:16', '2025-08-18 20:51:08', NULL, NULL, NULL, NULL),
(65, 351, 28, 0, 19, 4, 91, 100, '2025-08-19', NULL, '2025-08-18 20:47:21', '2025-08-18 20:52:01', NULL, NULL, NULL, NULL),
(66, 355, 28, 0, 19, 1, 89, 100, '2025-08-19', NULL, '2025-08-18 20:47:30', '2025-08-18 20:52:08', NULL, NULL, NULL, NULL),
(67, 355, 28, 0, 19, 2, 83, 86, '2025-08-19', NULL, '2025-08-18 20:52:11', '2025-08-18 20:52:16', NULL, NULL, NULL, NULL),
(68, 355, 28, 0, 19, 3, 83, 100, '2025-08-19', NULL, '2025-08-18 20:52:23', '2025-08-18 20:52:27', NULL, NULL, NULL, NULL),
(69, 355, 28, 0, 19, 4, 76, 100, '2025-08-19', NULL, '2025-08-18 20:52:31', '2025-09-18 22:23:24', NULL, NULL, NULL, NULL),
(70, 357, 28, 0, 19, 1, 0, NULL, '2025-08-19', NULL, '2025-08-18 20:54:39', '2025-08-18 20:54:39', NULL, NULL, NULL, NULL),
(71, 357, 28, 0, 19, 2, 46, 69, '2025-08-19', NULL, '2025-08-18 20:54:52', '2025-08-18 20:54:55', NULL, NULL, NULL, NULL),
(72, 357, 28, 0, 19, 3, 65, 75, '2025-08-19', NULL, '2025-08-18 20:54:59', '2025-08-18 20:55:02', NULL, NULL, NULL, NULL),
(73, 357, 28, 0, 19, 4, 64, 68, '2025-08-19', NULL, '2025-08-18 20:55:05', '2025-08-18 20:55:41', NULL, NULL, NULL, NULL),
(74, 356, 28, 0, 19, 1, 0, NULL, '2025-08-19', NULL, '2025-08-18 20:55:51', '2025-08-18 20:55:51', NULL, NULL, NULL, NULL),
(75, 353, 28, 0, 19, 1, 68, 83, '2025-08-19', NULL, '2025-08-18 20:55:57', '2025-08-18 20:56:02', NULL, NULL, NULL, NULL),
(76, 353, 28, 0, 19, 2, 58, 79, '2025-08-19', NULL, '2025-08-18 20:56:04', '2025-08-18 20:56:10', NULL, NULL, NULL, NULL),
(77, 353, 28, 0, 19, 3, 58, 68, '2025-08-19', NULL, '2025-08-18 20:56:12', '2025-08-18 20:56:16', NULL, NULL, NULL, NULL),
(78, 353, 28, 0, 19, 4, 62, 93, '2025-08-19', NULL, '2025-08-18 20:56:25', '2025-09-18 22:45:19', NULL, NULL, NULL, NULL),
(79, 354, 28, 0, 19, 1, 79, 100, '2025-08-19', NULL, '2025-08-18 20:56:33', '2025-08-18 20:56:36', NULL, NULL, NULL, NULL),
(80, 354, 28, 0, 19, 2, 65, 79, '2025-08-19', NULL, '2025-08-18 20:56:39', '2025-08-18 20:56:41', NULL, NULL, NULL, NULL),
(81, 354, 28, 0, 19, 3, 79, 86, '2025-08-19', NULL, '2025-08-18 20:56:44', '2025-08-18 20:56:48', NULL, NULL, NULL, NULL),
(82, 354, 28, 0, 19, 4, 63, 86, '2025-08-19', NULL, '2025-08-18 20:56:57', '2025-09-18 23:10:56', NULL, NULL, NULL, NULL),
(83, 350, 28, 0, 19, 1, 56, 92, '2025-08-19', NULL, '2025-08-18 20:56:59', '2025-08-18 20:57:03', NULL, NULL, NULL, NULL),
(84, 350, 28, 0, 19, 2, 63, 57, '2025-08-19', NULL, '2025-08-18 20:57:14', '2025-08-18 20:57:16', NULL, NULL, NULL, NULL),
(85, 350, 28, 0, 19, 3, 31, 86, '2025-08-19', NULL, '2025-08-18 20:57:21', '2025-08-18 20:57:25', NULL, NULL, NULL, NULL),
(86, 350, 28, 0, 19, 4, 36, 86, '2025-08-19', NULL, '2025-08-18 20:57:29', '2025-09-18 23:16:22', NULL, NULL, NULL, NULL),
(87, 288, 22, 0, 18, 1, 98, 90, '2025-08-19', NULL, '2025-08-18 21:08:27', '2025-08-18 21:08:30', NULL, NULL, NULL, NULL),
(88, 288, 22, 0, 18, 2, 95.2, 90, '2025-08-19', NULL, '2025-08-18 21:08:33', '2025-08-18 21:08:48', NULL, NULL, NULL, NULL),
(89, 288, 22, 0, 18, 4, 90, 85, '2025-08-19', NULL, '2025-08-18 21:09:23', '2025-08-18 21:09:27', NULL, NULL, NULL, NULL),
(90, 288, 22, 0, 18, 5, 88, 95, '2025-08-19', NULL, '2025-08-18 21:09:29', '2025-08-18 21:09:38', NULL, NULL, NULL, NULL),
(91, 285, 22, 0, 18, 1, 98, 85, '2025-08-19', NULL, '2025-08-18 21:17:23', '2025-08-18 21:17:28', NULL, NULL, NULL, NULL),
(92, 285, 22, 0, 18, 2, 85.7, 95, '2025-08-19', NULL, '2025-08-18 21:17:33', '2025-08-18 21:17:38', NULL, NULL, NULL, NULL),
(93, 285, 22, 0, 18, 4, 88, 80, '2025-08-19', NULL, '2025-08-18 21:17:41', '2025-08-18 21:17:45', NULL, NULL, NULL, NULL),
(94, 285, 22, 0, 18, 5, 76, 70, '2025-08-19', NULL, '2025-08-18 21:17:48', '2025-08-18 21:17:56', NULL, NULL, NULL, NULL),
(95, 293, 22, 0, 18, 4, 81, 80, '2025-08-19', NULL, '2025-08-18 21:22:12', '2025-08-18 21:22:17', NULL, NULL, NULL, NULL),
(96, 293, 22, 0, 18, 5, 70, 94.9, '2025-08-19', NULL, '2025-08-18 21:22:19', '2025-08-18 21:22:34', NULL, NULL, NULL, NULL),
(97, 289, 22, 0, 18, 4, 85, 80, '2025-08-19', NULL, '2025-08-18 21:26:34', '2025-08-18 21:26:36', NULL, NULL, NULL, NULL),
(98, 289, 22, 0, 18, 5, 63, 85, '2025-08-19', NULL, '2025-08-18 21:26:40', '2025-08-18 21:26:48', NULL, NULL, NULL, NULL),
(99, 282, 22, 0, 18, 1, 98, 95, '2025-08-19', NULL, '2025-08-18 21:29:01', '2025-08-18 21:29:06', NULL, NULL, NULL, NULL),
(100, 282, 22, 0, 18, 2, 95.2, 95, '2025-08-19', NULL, '2025-08-18 21:29:09', '2025-08-18 21:30:17', NULL, NULL, NULL, NULL),
(101, 282, 22, 0, 18, 4, 91, 80, '2025-08-19', NULL, '2025-08-18 21:30:28', '2025-08-18 21:30:31', NULL, NULL, NULL, NULL),
(102, 282, 22, 0, 18, 5, 73, 95, '2025-08-19', NULL, '2025-08-18 21:30:33', '2025-08-18 21:30:47', NULL, NULL, NULL, NULL),
(103, 291, 22, 0, 18, 4, 92, 70, '2025-08-19', NULL, '2025-08-18 21:31:43', '2025-08-18 21:31:46', NULL, NULL, NULL, NULL),
(104, 291, 22, 0, 18, 5, 94, 95, '2025-08-19', NULL, '2025-08-18 21:31:49', '2025-08-18 21:32:10', NULL, NULL, NULL, NULL),
(105, 279, 22, 0, 18, 1, 76, 80, '2025-08-19', NULL, '2025-08-18 21:33:00', '2025-08-18 21:33:02', NULL, NULL, NULL, NULL),
(106, 279, 22, 0, 18, 2, 62, 60, '2025-08-19', NULL, '2025-08-18 21:33:08', '2025-08-18 21:33:12', NULL, NULL, NULL, NULL),
(107, 279, 22, 0, 18, 4, 72, 70, '2025-08-19', NULL, '2025-08-18 21:33:17', '2025-08-18 21:33:20', NULL, NULL, NULL, NULL),
(108, 279, 22, 0, 18, 5, 63, 70, '2025-08-19', NULL, '2025-08-18 21:33:24', '2025-08-18 21:33:36', NULL, NULL, NULL, NULL),
(109, 283, 22, 0, 18, 1, 98, 95, '2025-08-19', NULL, '2025-08-18 21:35:31', '2025-08-18 21:35:35', NULL, NULL, NULL, NULL),
(110, 283, 22, 0, 18, 2, 90.5, 100, '2025-08-19', NULL, '2025-08-18 21:35:39', '2025-08-18 21:35:42', NULL, NULL, NULL, NULL),
(111, 283, 22, 0, 18, 4, 91, 90, '2025-08-19', NULL, '2025-08-18 21:35:45', '2025-08-18 21:35:48', NULL, NULL, NULL, NULL),
(112, 283, 22, 0, 18, 5, 81, 97, '2025-08-19', NULL, '2025-08-18 21:35:53', '2025-08-18 21:35:59', NULL, NULL, NULL, NULL),
(113, 292, 22, 0, 18, 4, 86, 75, '2025-08-19', NULL, '2025-08-18 21:36:50', '2025-08-18 21:36:52', NULL, NULL, NULL, NULL),
(114, 292, 22, 0, 18, 5, 88, 95, '2025-08-19', NULL, '2025-08-18 21:36:54', '2025-08-18 21:36:59', NULL, NULL, NULL, NULL),
(115, 287, 22, 0, 18, 1, 88, 80, '2025-08-19', NULL, '2025-08-18 21:46:22', '2025-08-18 21:46:29', NULL, NULL, NULL, NULL),
(116, 287, 22, 0, 18, 2, 80, 75, '2025-08-19', NULL, '2025-08-18 21:46:31', '2025-08-18 21:46:37', NULL, NULL, NULL, NULL),
(117, 287, 22, 0, 18, 4, 65, 90, '2025-08-19', NULL, '2025-08-18 21:46:43', '2025-08-18 21:46:46', NULL, NULL, NULL, NULL),
(118, 287, 22, 0, 18, 5, 64, 75, '2025-08-19', NULL, '2025-08-18 21:46:50', '2025-08-18 21:47:11', NULL, NULL, NULL, NULL),
(119, 280, 22, 0, 18, 4, 92, 80, '2025-08-19', NULL, '2025-08-18 21:48:11', '2025-08-18 21:48:14', NULL, NULL, NULL, NULL),
(120, 280, 22, 0, 18, 5, 97, 95, '2025-08-19', NULL, '2025-08-18 21:48:18', '2025-08-18 21:48:22', NULL, NULL, NULL, NULL),
(121, 290, 22, 0, 18, 1, 90, 85, '2025-08-19', NULL, '2025-08-18 21:49:16', '2025-08-18 21:49:19', NULL, NULL, NULL, NULL),
(122, 290, 22, 0, 18, 2, 62, 90, '2025-08-19', NULL, '2025-08-18 21:49:22', '2025-08-18 21:49:26', NULL, NULL, NULL, NULL),
(123, 290, 22, 0, 18, 4, 77, 70, '2025-08-19', NULL, '2025-08-18 21:49:28', '2025-08-18 21:49:30', NULL, NULL, NULL, NULL),
(124, 290, 22, 0, 18, 5, 58, 90, '2025-08-19', NULL, '2025-08-18 21:49:32', '2025-08-18 21:49:37', NULL, NULL, NULL, NULL),
(125, 284, 22, 0, 18, 1, 88, 80, '2025-08-19', NULL, '2025-08-18 21:50:32', '2025-08-18 21:50:34', NULL, NULL, NULL, NULL),
(126, 284, 22, 0, 18, 2, 95, 90, '2025-08-19', NULL, '2025-08-18 21:50:37', '2025-08-18 21:50:40', NULL, NULL, NULL, NULL),
(127, 284, 22, 0, 18, 4, 90, 70, '2025-08-19', NULL, '2025-08-18 21:50:43', '2025-08-18 21:50:47', NULL, NULL, NULL, NULL),
(128, 284, 22, 0, 18, 5, 88, 90, '2025-08-19', NULL, '2025-08-18 21:50:49', '2025-08-18 21:51:03', NULL, NULL, NULL, NULL),
(129, 286, 22, 0, 18, 1, 91, 75, '2025-08-19', NULL, '2025-08-18 21:51:28', '2025-08-18 21:51:31', NULL, NULL, NULL, NULL),
(130, 286, 22, 0, 18, 2, 76, 85, '2025-08-19', NULL, '2025-08-18 21:51:34', '2025-08-18 21:51:37', NULL, NULL, NULL, NULL),
(131, 286, 22, 0, 18, 4, 72, 90, '2025-08-19', NULL, '2025-08-18 21:51:39', '2025-08-18 21:51:42', NULL, NULL, NULL, NULL),
(132, 286, 22, 0, 18, 5, 70, 75, '2025-08-19', NULL, '2025-08-18 21:51:44', '2025-08-18 21:51:52', NULL, NULL, NULL, NULL),
(133, 281, 22, 0, 18, 1, 81, 95, '2025-08-19', NULL, '2025-08-18 21:52:39', '2025-08-18 21:52:41', NULL, NULL, NULL, NULL),
(134, 281, 22, 0, 18, 2, 80, 95, '2025-08-19', NULL, '2025-08-18 21:52:43', '2025-08-18 21:52:46', NULL, NULL, NULL, NULL),
(135, 281, 22, 0, 18, 4, 64, 60, '2025-08-19', NULL, '2025-08-18 21:52:49', '2025-08-18 21:52:51', NULL, NULL, NULL, NULL),
(136, 281, 22, 0, 18, 5, 68, 70, '2025-08-19', NULL, '2025-08-18 21:52:53', '2025-08-18 21:53:02', NULL, NULL, NULL, NULL),
(137, 297, 22, 0, 18, 1, 87, 65, '2025-08-19', NULL, '2025-08-18 22:17:08', '2025-08-18 22:17:10', NULL, NULL, NULL, NULL),
(138, 297, 22, 0, 18, 2, 71, 95, '2025-08-19', NULL, '2025-08-18 22:17:13', '2025-08-18 22:17:18', NULL, NULL, NULL, NULL),
(139, 297, 22, 0, 18, 3, 78, 95, '2025-08-19', NULL, '2025-08-18 22:17:22', '2025-08-18 22:17:25', NULL, NULL, NULL, NULL),
(140, 297, 22, 0, 18, 4, 85, 87, '2025-08-19', NULL, '2025-08-18 22:17:29', '2025-08-18 22:17:33', NULL, NULL, NULL, NULL),
(141, 297, 22, 0, 18, 5, 89, 100, '2025-08-19', NULL, '2025-08-18 22:17:36', '2025-08-18 22:17:42', NULL, NULL, NULL, NULL),
(142, 297, 22, 0, 18, 6, 80, 94, '2025-08-19', NULL, '2025-08-18 22:17:45', '2025-08-18 22:17:50', NULL, NULL, NULL, NULL),
(143, 301, 22, 0, 18, 1, 88, 95, '2025-08-19', NULL, '2025-08-18 22:19:17', '2025-08-18 22:19:35', NULL, NULL, NULL, NULL),
(144, 301, 22, 0, 18, 2, 79, 86, '2025-08-19', NULL, '2025-08-18 22:19:27', '2025-08-18 22:19:46', NULL, NULL, NULL, NULL),
(145, 301, 22, 0, 18, 3, 77, 73, '2025-08-19', NULL, '2025-08-18 22:19:48', '2025-08-18 22:19:51', NULL, NULL, NULL, NULL),
(146, 301, 22, 0, 18, 4, 76, 70, '2025-08-19', NULL, '2025-08-18 22:19:55', '2025-08-18 22:20:01', NULL, NULL, NULL, NULL),
(147, 301, 22, 0, 18, 5, 67, 83, '2025-08-19', NULL, '2025-08-18 22:20:03', '2025-08-18 22:20:19', NULL, NULL, NULL, NULL),
(148, 301, 22, 0, 18, 6, 69, 69, '2025-08-19', NULL, '2025-08-18 22:20:23', '2025-08-18 22:20:39', NULL, NULL, NULL, NULL),
(149, 312, 24, 0, 20, 1, 78, 60, '2025-08-19', NULL, '2025-08-18 22:23:01', '2025-08-18 22:23:06', NULL, NULL, NULL, NULL),
(150, 312, 24, 0, 20, 2, 73, 60, '2025-08-19', NULL, '2025-08-18 22:23:08', '2025-08-18 22:23:15', NULL, NULL, NULL, NULL),
(151, 312, 24, 0, 20, 3, 75, 80, '2025-08-19', NULL, '2025-08-18 22:23:17', '2025-08-18 22:23:19', NULL, NULL, NULL, NULL),
(152, 312, 24, 0, 20, 4, 76, 75, '2025-08-19', NULL, '2025-08-18 22:23:22', '2025-08-18 22:23:29', NULL, NULL, NULL, NULL),
(153, 312, 24, 0, 20, 6, 73, 69, '2025-08-19', NULL, '2025-08-18 22:23:33', '2025-08-18 22:23:43', NULL, NULL, NULL, NULL),
(154, 314, 24, 0, 20, 1, 95, 94, '2025-08-19', NULL, '2025-08-18 22:24:53', '2025-08-18 22:24:55', NULL, NULL, NULL, NULL),
(155, 314, 24, 0, 20, 2, 80, 77, '2025-08-19', NULL, '2025-08-18 22:24:57', '2025-08-18 22:25:02', NULL, NULL, NULL, NULL),
(156, 314, 24, 0, 20, 3, 75, 62, '2025-08-19', NULL, '2025-08-18 22:25:07', '2025-08-18 22:25:13', NULL, NULL, NULL, NULL),
(157, 314, 24, 0, 20, 4, 62, 69, '2025-08-19', NULL, '2025-08-18 22:25:20', '2025-08-18 22:25:25', NULL, NULL, NULL, NULL),
(158, 314, 24, 0, 20, 5, 67, 79, '2025-08-19', NULL, '2025-08-18 22:25:27', '2025-08-18 22:25:32', NULL, NULL, NULL, NULL),
(159, 314, 24, 0, 20, 6, 80, 83, '2025-08-19', NULL, '2025-08-18 22:25:34', '2025-08-18 22:25:44', NULL, NULL, NULL, NULL),
(160, 313, 24, 0, 20, 1, 100, 100, '2025-08-19', NULL, '2025-08-18 22:26:40', '2025-08-18 22:26:42', NULL, NULL, NULL, NULL),
(161, 313, 24, 0, 20, 2, 94, 87, '2025-08-19', NULL, '2025-08-18 22:26:44', '2025-08-18 22:26:53', NULL, NULL, NULL, NULL),
(162, 313, 24, 0, 20, 3, 87, 98, '2025-08-19', NULL, '2025-08-18 22:26:55', '2025-08-18 22:26:57', NULL, NULL, NULL, NULL),
(163, 313, 24, 0, 20, 4, 73, 90, '2025-08-19', NULL, '2025-08-18 22:26:59', '2025-08-18 22:27:04', NULL, NULL, NULL, NULL),
(164, 313, 24, 0, 20, 5, 73, 85, '2025-08-19', NULL, '2025-08-18 22:27:06', '2025-08-18 22:27:11', NULL, NULL, NULL, NULL),
(165, 313, 24, 0, 20, 6, 79, 100, '2025-08-19', NULL, '2025-08-18 22:27:16', '2025-08-18 22:27:20', NULL, NULL, NULL, NULL),
(166, 302, 23, 0, 20, 1, 88, 85, '2025-08-19', NULL, '2025-08-18 22:31:28', '2025-08-18 22:31:30', NULL, NULL, NULL, NULL),
(167, 302, 23, 0, 20, 2, 63, 62, '2025-08-19', NULL, '2025-08-18 22:31:33', '2025-08-18 22:31:37', NULL, NULL, NULL, NULL),
(168, 302, 23, 0, 20, 3, 67, 95, '2025-08-19', NULL, '2025-08-18 22:31:40', '2025-08-18 22:31:45', NULL, NULL, NULL, NULL),
(169, 302, 23, 0, 20, 4, 69, 79, '2025-08-19', NULL, '2025-08-18 22:31:47', '2025-08-18 22:31:52', NULL, NULL, NULL, NULL),
(170, 302, 23, 0, 20, 5, 55, 83, '2025-08-19', NULL, '2025-08-18 22:31:53', '2025-08-18 22:32:08', NULL, NULL, NULL, NULL),
(171, 302, 23, 0, 20, 6, 48, 67, '2025-08-19', NULL, '2025-08-18 22:32:10', '2025-08-18 22:32:24', NULL, NULL, NULL, NULL),
(172, 304, 23, 0, 20, 1, 88, 75, '2025-08-19', NULL, '2025-08-18 22:33:17', '2025-08-18 22:33:20', NULL, NULL, NULL, NULL),
(173, 304, 23, 0, 20, 2, 50, 65, '2025-08-19', NULL, '2025-08-18 22:33:22', '2025-08-18 22:33:28', NULL, NULL, NULL, NULL),
(174, 304, 23, 0, 20, 3, 77, 52, '2025-08-19', NULL, '2025-08-18 22:33:30', '2025-08-18 22:33:32', NULL, NULL, NULL, NULL),
(175, 304, 23, 0, 20, 4, 44, 79, '2025-08-19', NULL, '2025-08-18 22:33:34', '2025-08-18 22:33:38', NULL, NULL, NULL, NULL),
(176, 304, 23, 0, 20, 5, 38, 54, '2025-08-19', NULL, '2025-08-18 22:33:41', '2025-08-18 22:33:55', NULL, NULL, NULL, NULL),
(177, 288, 22, 0, 18, 6, 0, NULL, '2025-08-22', NULL, '2025-08-21 23:59:49', '2025-08-21 23:59:49', NULL, NULL, NULL, NULL),
(178, 349, 28, 0, 19, 5, 74, 93, '2025-09-19', NULL, '2025-09-18 22:03:07', '2025-09-18 22:03:48', NULL, NULL, NULL, NULL),
(179, 349, 28, 0, 19, 6, 79, 79, '2025-09-19', NULL, '2025-09-18 22:03:52', '2025-09-18 22:03:57', NULL, NULL, NULL, NULL),
(180, 351, 28, 0, 19, 5, 82, 100, '2025-09-19', NULL, '2025-09-18 22:15:03', '2025-09-18 22:15:14', NULL, NULL, NULL, NULL),
(181, 351, 28, 0, 19, 6, 80, 93, '2025-09-19', NULL, '2025-09-18 22:15:18', '2025-09-18 22:15:24', NULL, NULL, NULL, NULL),
(182, 355, 28, 0, 19, 5, 77, 93, '2025-09-19', NULL, '2025-09-18 22:26:08', '2025-09-18 22:26:11', NULL, NULL, NULL, NULL),
(183, 355, 28, 0, 19, 6, 75, 100, '2025-09-19', NULL, '2025-09-18 22:26:13', '2025-09-18 22:26:16', NULL, NULL, NULL, NULL),
(184, 357, 28, 0, 19, 5, 47, 93, '2025-09-19', NULL, '2025-09-18 22:30:53', '2025-09-18 22:31:08', NULL, NULL, NULL, NULL),
(185, 357, 28, 0, 19, 6, 63, 79, '2025-09-19', NULL, '2025-09-18 22:31:11', '2025-09-18 22:31:15', NULL, NULL, NULL, NULL),
(186, 353, 28, 0, 19, 5, 39, 96, '2025-09-19', NULL, '2025-09-18 22:44:13', '2025-09-18 22:45:33', NULL, NULL, NULL, NULL),
(187, 353, 28, 0, 19, 6, 71, 71, '2025-09-19', NULL, '2025-09-18 22:44:21', '2025-09-18 22:45:45', NULL, NULL, NULL, NULL),
(188, 354, 28, 0, 19, 5, 56, 93, '2025-09-19', NULL, '2025-09-18 23:10:59', '2025-09-18 23:11:03', NULL, NULL, NULL, NULL),
(189, 354, 28, 0, 19, 6, 74, 93, '2025-09-19', NULL, '2025-09-18 23:11:07', '2025-09-18 23:11:12', NULL, NULL, NULL, NULL),
(190, 350, 28, 0, 19, 5, 32, 89, '2025-09-19', NULL, '2025-09-18 23:16:25', '2025-09-18 23:16:32', NULL, NULL, NULL, NULL),
(191, 350, 28, 0, 19, 6, 45, 71, '2025-09-19', NULL, '2025-09-18 23:16:35', '2025-09-18 23:16:42', NULL, NULL, NULL, NULL),
(192, 367, 29, 0, 19, 3, 63, 89, '2025-09-22', NULL, '2025-09-21 21:53:36', '2025-09-21 21:53:55', NULL, NULL, NULL, NULL),
(193, 367, 29, 0, 19, 4, 68, 89, '2025-09-22', NULL, '2025-09-21 21:53:58', '2025-09-21 21:54:01', NULL, NULL, NULL, NULL),
(194, 367, 29, 0, 19, 5, 45, 93, '2025-09-22', NULL, '2025-09-21 21:54:12', '2025-09-21 21:54:14', NULL, NULL, NULL, NULL),
(195, 367, 29, 0, 19, 6, 61, 93, '2025-09-22', NULL, '2025-09-21 21:54:18', '2025-09-21 21:54:22', NULL, NULL, NULL, NULL),
(196, 364, 29, 0, 19, 3, 81, 96, '2025-09-22', NULL, '2025-09-21 22:00:06', '2025-09-21 22:00:17', NULL, NULL, NULL, NULL),
(197, 364, 29, 0, 19, 4, 89, 93, '2025-09-22', NULL, '2025-09-21 22:00:28', '2025-09-21 22:00:35', NULL, NULL, NULL, NULL),
(198, 364, 29, 0, 19, 5, 91, 93, '2025-09-22', NULL, '2025-09-21 22:00:40', '2025-09-21 22:00:43', NULL, NULL, NULL, NULL),
(199, 364, 29, 0, 19, 6, 83, 93, '2025-09-22', NULL, '2025-09-21 22:00:49', '2025-09-21 22:00:53', NULL, NULL, NULL, NULL),
(200, 359, 29, 0, 19, 3, 53, 93, '2025-09-22', NULL, '2025-09-21 22:02:59', '2025-09-21 22:03:02', NULL, NULL, NULL, NULL),
(201, 359, 29, 0, 19, 4, 62, 82, '2025-09-22', NULL, '2025-09-21 22:03:04', '2025-09-21 22:03:09', NULL, NULL, NULL, NULL),
(202, 359, 29, 0, 19, 5, 55, 93, '2025-09-22', NULL, '2025-09-21 22:03:11', '2025-09-21 22:03:15', NULL, NULL, NULL, NULL),
(203, 359, 29, 0, 19, 6, 73, 79, '2025-09-22', NULL, '2025-09-21 22:03:19', '2025-09-21 22:03:22', NULL, NULL, NULL, NULL),
(204, 365, 29, 0, 19, 3, 75, 100, '2025-09-22', NULL, '2025-09-21 22:05:50', '2025-09-21 22:05:52', NULL, NULL, NULL, NULL),
(205, 365, 29, 0, 19, 4, 65, 79, '2025-09-22', NULL, '2025-09-21 22:05:54', '2025-09-21 22:06:06', NULL, NULL, NULL, NULL),
(206, 365, 29, 0, 19, 5, 61, 79, '2025-09-22', NULL, '2025-09-21 22:06:09', '2025-09-21 22:06:11', NULL, NULL, NULL, NULL),
(207, 365, 29, 0, 19, 6, 58, 86, '2025-09-22', NULL, '2025-09-21 22:06:17', '2025-09-21 22:06:20', NULL, NULL, NULL, NULL),
(208, 362, 29, 0, 19, 3, 83, 100, '2025-09-22', NULL, '2025-09-21 22:08:58', '2025-09-21 22:09:01', NULL, NULL, NULL, NULL),
(209, 362, 29, 0, 19, 4, 60, 82, '2025-09-22', NULL, '2025-09-21 22:09:03', '2025-09-21 22:09:14', NULL, NULL, NULL, NULL),
(210, 362, 29, 0, 19, 5, 65, 93, '2025-09-22', NULL, '2025-09-21 22:09:18', '2025-09-21 22:09:20', NULL, NULL, NULL, NULL),
(211, 362, 29, 0, 19, 6, 70, 93, '2025-09-22', NULL, '2025-09-21 22:09:25', '2025-09-21 22:09:41', NULL, NULL, NULL, NULL),
(212, 361, 29, 0, 19, 3, 83, 89, '2025-09-22', NULL, '2025-09-21 22:11:22', '2025-09-21 22:11:28', NULL, NULL, NULL, NULL),
(213, 361, 29, 0, 19, 4, 82, 79, '2025-09-22', NULL, '2025-09-21 22:11:30', '2025-09-21 22:17:51', NULL, NULL, NULL, NULL),
(214, 361, 29, 0, 19, 5, 67, 96, '2025-09-22', NULL, '2025-09-21 22:16:56', '2025-09-21 22:17:57', NULL, NULL, NULL, NULL),
(215, 361, 29, 0, 19, 6, 73, 93, '2025-09-22', NULL, '2025-09-21 22:17:25', '2025-09-21 22:18:04', NULL, NULL, NULL, NULL),
(216, 363, 29, 0, 19, 3, 54, 86, '2025-09-22', NULL, '2025-09-21 22:20:20', '2025-09-21 22:20:27', NULL, NULL, NULL, NULL),
(217, 363, 29, 0, 19, 4, 63, 80, '2025-09-22', NULL, '2025-09-21 22:20:29', '2025-09-21 22:20:38', NULL, NULL, NULL, NULL),
(218, 363, 29, 0, 19, 5, 42, 79, '2025-09-22', NULL, '2025-09-21 22:20:52', '2025-09-21 22:20:54', NULL, NULL, NULL, NULL),
(219, 363, 29, 0, 19, 6, 44, 86, '2025-09-22', NULL, '2025-09-21 22:20:59', '2025-09-21 22:21:05', NULL, NULL, NULL, NULL),
(220, 288, 34, 0, 18, 5, 88, NULL, '2025-09-30', NULL, '2025-09-30 02:53:24', '2025-09-30 02:53:24', NULL, NULL, NULL, NULL),
(221, 404, 31, 0, 25, 1, 52, NULL, '2025-10-01', NULL, '2025-09-30 20:53:01', '2025-09-30 21:04:35', NULL, NULL, NULL, NULL),
(222, 335, 26, 0, 18, 2, 0, NULL, '2025-10-01', NULL, '2025-09-30 21:01:16', '2025-09-30 21:03:44', NULL, NULL, NULL, NULL),
(223, 335, 26, 0, 18, 3, 0, NULL, '2025-10-01', NULL, '2025-09-30 21:01:24', '2025-09-30 21:03:47', NULL, NULL, NULL, NULL),
(224, 404, 31, 0, 25, 2, 80, NULL, '2025-10-01', NULL, '2025-09-30 21:04:09', '2025-09-30 21:04:09', NULL, NULL, NULL, NULL),
(225, 404, 31, 0, 25, 3, 77, 0, '2025-10-01', NULL, '2025-09-30 21:04:27', '2025-10-10 22:14:43', NULL, NULL, NULL, NULL),
(226, 413, 31, 0, 25, 1, 79, NULL, '2025-10-01', NULL, '2025-09-30 21:05:39', '2025-09-30 21:05:39', NULL, NULL, NULL, NULL),
(227, 413, 31, 0, 25, 2, 62, NULL, '2025-10-01', NULL, '2025-09-30 21:05:43', '2025-09-30 21:05:43', NULL, NULL, NULL, NULL),
(228, 413, 31, 0, 25, 3, 97, 0, '2025-10-01', NULL, '2025-09-30 21:05:52', '2025-10-10 22:14:47', NULL, NULL, NULL, NULL),
(229, 419, 31, 0, 25, 1, 95, NULL, '2025-10-01', NULL, '2025-09-30 21:07:30', '2025-09-30 21:07:30', NULL, NULL, NULL, NULL),
(230, 419, 31, 0, 25, 2, 94, NULL, '2025-10-01', NULL, '2025-09-30 21:07:42', '2025-09-30 21:07:42', NULL, NULL, NULL, NULL),
(231, 419, 31, 0, 25, 3, 85, 0, '2025-10-01', NULL, '2025-09-30 21:07:55', '2025-10-10 22:22:34', NULL, NULL, NULL, NULL),
(232, 407, 31, 0, 25, 1, 96, NULL, '2025-10-01', NULL, '2025-09-30 21:10:47', '2025-09-30 21:10:47', NULL, NULL, NULL, NULL),
(233, 407, 31, 0, 25, 2, 92, NULL, '2025-10-01', NULL, '2025-09-30 21:10:52', '2025-09-30 21:10:52', NULL, NULL, NULL, NULL),
(234, 407, 31, 0, 25, 3, 93, 0, '2025-10-01', NULL, '2025-09-30 21:11:52', '2025-10-10 22:23:40', NULL, NULL, NULL, NULL),
(235, 416, 31, 0, 25, 1, 45, NULL, '2025-10-01', NULL, '2025-09-30 21:12:43', '2025-09-30 21:12:43', NULL, NULL, NULL, NULL),
(236, 416, 31, 0, 25, 2, 88, NULL, '2025-10-01', NULL, '2025-09-30 21:12:51', '2025-09-30 21:12:51', NULL, NULL, NULL, NULL),
(237, 416, 31, 0, 25, 3, 81, NULL, '2025-10-01', NULL, '2025-09-30 21:13:13', '2025-09-30 21:13:13', NULL, NULL, NULL, NULL),
(238, 415, 31, 0, 25, 1, 98, NULL, '2025-10-01', NULL, '2025-09-30 21:14:44', '2025-09-30 21:14:44', NULL, NULL, NULL, NULL),
(239, 415, 31, 0, 25, 2, 96, NULL, '2025-10-01', NULL, '2025-09-30 21:14:51', '2025-09-30 21:14:51', NULL, NULL, NULL, NULL),
(240, 415, 31, 0, 25, 3, 89, NULL, '2025-10-01', NULL, '2025-09-30 21:15:10', '2025-09-30 21:15:10', NULL, NULL, NULL, NULL),
(241, 399, 31, 0, 25, 1, 88, NULL, '2025-10-01', NULL, '2025-09-30 21:17:02', '2025-09-30 21:17:02', NULL, NULL, NULL, NULL),
(242, 399, 31, 0, 25, 2, 82, NULL, '2025-10-01', NULL, '2025-09-30 21:17:05', '2025-09-30 21:17:05', NULL, NULL, NULL, NULL),
(243, 399, 31, 0, 25, 3, 78, NULL, '2025-10-01', NULL, '2025-09-30 21:17:19', '2025-09-30 21:17:19', NULL, NULL, NULL, NULL),
(244, 410, 31, 0, 25, 1, 99, NULL, '2025-10-01', NULL, '2025-09-30 21:18:54', '2025-09-30 21:18:54', NULL, NULL, NULL, NULL),
(245, 410, 31, 0, 25, 2, 90, NULL, '2025-10-01', NULL, '2025-09-30 21:19:05', '2025-09-30 21:19:05', NULL, NULL, NULL, NULL),
(246, 410, 31, 0, 25, 3, 83, NULL, '2025-10-01', NULL, '2025-09-30 21:19:10', '2025-09-30 21:19:10', NULL, NULL, NULL, NULL),
(247, 396, 31, 0, 25, 1, 92, NULL, '2025-10-01', NULL, '2025-09-30 21:20:47', '2025-09-30 21:20:47', NULL, NULL, NULL, NULL),
(248, 396, 31, 0, 25, 2, 89, NULL, '2025-10-01', NULL, '2025-09-30 21:21:12', '2025-09-30 21:21:12', NULL, NULL, NULL, NULL),
(249, 396, 31, 0, 25, 3, 77, NULL, '2025-10-01', NULL, '2025-09-30 21:21:21', '2025-09-30 21:21:21', NULL, NULL, NULL, NULL),
(250, 414, 31, 0, 25, 1, 93, NULL, '2025-10-01', NULL, '2025-09-30 21:22:37', '2025-09-30 21:22:37', NULL, NULL, NULL, NULL),
(251, 414, 31, 0, 25, 2, 96, NULL, '2025-10-01', NULL, '2025-09-30 21:22:46', '2025-09-30 21:22:46', NULL, NULL, NULL, NULL),
(252, 414, 31, 0, 25, 3, 83, NULL, '2025-10-01', NULL, '2025-09-30 21:22:59', '2025-09-30 21:22:59', NULL, NULL, NULL, NULL),
(253, 411, 31, 0, 25, 1, 92, NULL, '2025-10-01', NULL, '2025-09-30 21:24:51', '2025-09-30 21:24:51', NULL, NULL, NULL, NULL),
(254, 411, 31, 0, 25, 2, 96, NULL, '2025-10-01', NULL, '2025-09-30 21:25:07', '2025-09-30 21:25:07', NULL, NULL, NULL, NULL),
(255, 411, 31, 0, 25, 3, 81, NULL, '2025-10-01', NULL, '2025-09-30 21:25:23', '2025-09-30 21:25:23', NULL, NULL, NULL, NULL),
(256, 350, 31, 0, 25, 1, 98, NULL, '2025-10-01', NULL, '2025-09-30 21:27:17', '2025-09-30 21:27:17', NULL, NULL, NULL, NULL),
(257, 350, 31, 0, 25, 2, 89, NULL, '2025-10-01', NULL, '2025-09-30 21:27:25', '2025-09-30 21:27:25', NULL, NULL, NULL, NULL),
(258, 350, 31, 0, 25, 3, 83, NULL, '2025-10-01', NULL, '2025-09-30 21:27:37', '2025-09-30 21:27:37', NULL, NULL, NULL, NULL),
(259, 412, 31, 0, 25, 1, 90, NULL, '2025-10-01', NULL, '2025-09-30 21:29:34', '2025-09-30 21:29:34', NULL, NULL, NULL, NULL),
(260, 412, 31, 0, 25, 2, 57, NULL, '2025-10-01', NULL, '2025-09-30 21:29:38', '2025-09-30 21:29:38', NULL, NULL, NULL, NULL),
(261, 412, 31, 0, 25, 3, 85, NULL, '2025-10-01', NULL, '2025-09-30 21:29:49', '2026-01-06 22:11:18', NULL, NULL, NULL, NULL),
(262, 288, 34, 0, 18, 1, 98, NULL, '2025-10-11', NULL, '2025-10-10 22:14:43', '2025-10-10 22:14:43', NULL, NULL, NULL, NULL),
(263, 428, 32, 0, 26, 1, 0, NULL, '2025-10-11', NULL, '2025-10-10 22:14:48', '2025-10-10 22:14:53', NULL, NULL, NULL, NULL),
(264, 404, 31, 0, 25, 4, 36.3, NULL, '2025-10-11', NULL, '2025-10-10 22:15:38', '2025-10-10 22:25:29', NULL, NULL, NULL, NULL),
(265, 410, 31, 0, 25, 4, 36.3, NULL, '2025-10-11', NULL, '2025-10-10 22:21:25', '2025-10-10 22:21:25', NULL, NULL, NULL, NULL),
(266, 416, 31, 0, 25, 4, 38.3, NULL, '2025-10-11', NULL, '2025-10-10 22:21:47', '2025-10-10 22:21:47', NULL, NULL, NULL, NULL),
(267, 396, 31, 0, 25, 4, 37, NULL, '2025-10-11', NULL, '2025-10-10 22:21:59', '2025-10-10 22:21:59', NULL, NULL, NULL, NULL),
(268, 399, 31, 0, 25, 4, 37.5, NULL, '2025-10-11', NULL, '2025-10-10 22:22:12', '2025-10-10 22:22:12', NULL, NULL, NULL, NULL),
(269, 419, 31, 0, 25, 4, 38.8, NULL, '2025-10-11', NULL, '2025-10-10 22:22:36', '2025-10-10 22:22:36', NULL, NULL, NULL, NULL),
(270, 432, 29, 0, 19, 1, 0, 0, '2025-10-11', NULL, '2025-10-10 22:23:04', '2025-10-10 22:23:07', NULL, NULL, NULL, NULL),
(271, 432, 29, 0, 19, 2, 0, NULL, '2025-10-11', NULL, '2025-10-10 22:23:08', '2025-10-10 22:23:08', NULL, NULL, NULL, NULL),
(272, 407, 31, 0, 25, 4, 36.8, NULL, '2025-10-11', NULL, '2025-10-10 22:23:43', '2025-10-10 22:23:43', NULL, NULL, NULL, NULL),
(273, 411, 31, 0, 25, 4, 38.8, NULL, '2025-10-11', NULL, '2025-10-10 22:25:19', '2025-10-10 22:25:19', NULL, NULL, NULL, NULL),
(274, 414, 31, 0, 25, 4, 38.3, NULL, '2025-10-11', NULL, '2025-10-10 22:25:41', '2025-10-10 22:25:41', NULL, NULL, NULL, NULL),
(275, 350, 31, 0, 25, 4, 37.8, NULL, '2025-10-11', NULL, '2025-10-10 22:25:52', '2025-10-10 22:25:52', NULL, NULL, NULL, NULL),
(276, 412, 31, 0, 25, 4, 38.3, NULL, '2025-10-11', NULL, '2025-10-10 22:26:00', '2025-10-10 22:26:00', NULL, NULL, NULL, NULL),
(277, 404, 31, 0, 25, 5, 67, NULL, '2025-10-12', NULL, '2025-10-11 22:36:00', '2025-10-11 22:36:24', NULL, NULL, NULL, NULL),
(278, 419, 31, 0, 25, 5, 64.8, NULL, '2025-10-12', NULL, '2025-10-11 22:36:36', '2025-10-11 22:36:36', NULL, NULL, NULL, NULL),
(279, 396, 31, 0, 25, 5, 68, NULL, '2025-10-12', NULL, '2025-10-11 22:36:50', '2025-10-11 22:36:50', NULL, NULL, NULL, NULL),
(280, 399, 31, 0, 25, 5, 66.8, NULL, '2025-10-12', NULL, '2025-10-11 22:37:13', '2025-10-11 22:37:13', NULL, NULL, NULL, NULL),
(281, 407, 31, 0, 25, 5, 67.3, NULL, '2025-10-12', NULL, '2025-10-11 22:37:42', '2025-10-11 22:37:42', NULL, NULL, NULL, NULL),
(282, 416, 31, 0, 25, 5, 65.8, NULL, '2025-10-12', NULL, '2025-10-11 22:37:59', '2025-10-11 22:37:59', NULL, NULL, NULL, NULL),
(283, 410, 31, 0, 25, 5, 67, NULL, '2025-10-12', NULL, '2025-10-11 22:38:07', '2025-10-11 22:38:07', NULL, NULL, NULL, NULL),
(284, 414, 31, 0, 25, 5, 63.5, NULL, '2025-10-12', NULL, '2025-10-11 22:38:25', '2025-10-11 22:38:25', NULL, NULL, NULL, NULL),
(285, 411, 31, 0, 25, 5, 65.8, NULL, '2025-10-12', NULL, '2025-10-11 22:38:41', '2025-10-11 22:38:41', NULL, NULL, NULL, NULL),
(286, 350, 31, 0, 25, 5, 65, NULL, '2025-10-12', NULL, '2025-10-11 22:38:49', '2025-10-11 22:38:49', NULL, NULL, NULL, NULL),
(287, 412, 31, 0, 25, 5, 67.8, NULL, '2025-10-12', NULL, '2025-10-11 22:38:55', '2025-10-11 22:38:55', NULL, NULL, NULL, NULL),
(288, 413, 31, 0, 25, 6, 0, NULL, '2025-10-17', NULL, '2025-10-17 03:12:37', '2025-10-17 03:12:37', NULL, NULL, NULL, NULL),
(289, 404, 31, 0, 25, 6, 0, NULL, '2025-11-04', NULL, '2025-11-04 10:03:30', '2025-11-04 10:03:30', NULL, NULL, NULL, NULL),
(290, 419, 31, 0, 25, 6, 51.6, NULL, '2025-11-04', NULL, '2025-11-04 10:03:32', '2025-11-04 10:03:39', NULL, NULL, NULL, NULL),
(291, 345, 35, 0, 19, 3, 0, NULL, '2025-11-06', NULL, '2025-11-06 00:51:26', '2025-11-06 00:51:26', NULL, NULL, NULL, NULL),
(292, 288, 37, 0, 25, 1, 98, NULL, '2025-11-22', NULL, '2025-11-22 01:55:33', '2025-11-22 01:55:33', NULL, NULL, NULL, NULL);

-- --------------------------------------------------------

--
-- Table structure for table `diem_test_hoc_vien`
--

CREATE TABLE `diem_test_hoc_vien` (
  `id` int(11) NOT NULL,
  `hoc_vien_id` int(11) NOT NULL,
  `lop_hoc_id` int(11) NOT NULL,
  `test_viet_correct` int(11) DEFAULT NULL,
  `test_viet_total` int(11) DEFAULT NULL,
  `test_noi_correct` int(11) DEFAULT NULL,
  `test_noi_total` int(11) DEFAULT NULL,
  `test_phase` int(11) DEFAULT NULL,
  `created_at` timestamp NOT NULL DEFAULT current_timestamp(),
  `updated_at` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
  `ky_test` int(11) NOT NULL DEFAULT 1,
  `test_viet` float DEFAULT NULL,
  `test_noi` float DEFAULT NULL,
  `test_notes` text DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `diem_test_hoc_vien`
--

INSERT INTO `diem_test_hoc_vien` (`id`, `hoc_vien_id`, `lop_hoc_id`, `test_viet_correct`, `test_viet_total`, `test_noi_correct`, `test_noi_total`, `test_phase`, `created_at`, `updated_at`, `ky_test`, `test_viet`, `test_noi`, `test_notes`) VALUES
(15, 340, 27, 0, 0, 0, 0, NULL, '2025-08-18 04:07:08', '2025-08-18 04:07:23', 1, NULL, NULL, NULL),
(16, 349, 28, 0, 0, 0, 0, NULL, '2025-08-18 21:00:37', '2025-09-18 22:04:05', 1, 87, 84.05, NULL),
(17, 351, 28, 0, 0, 0, 0, NULL, '2025-08-18 21:00:59', '2025-09-18 22:15:45', 1, 92, 95, NULL),
(18, 355, 28, 0, 0, 0, 0, NULL, '2025-08-18 21:01:19', '2025-09-18 22:26:37', 1, 93, 93, NULL),
(19, 357, 28, 0, 0, 0, 0, NULL, '2025-08-18 21:01:39', '2025-09-18 22:31:25', 1, 86, 84.99, NULL),
(20, 353, 28, 0, 0, 0, 0, NULL, '2025-08-18 21:03:24', '2025-09-18 22:45:57', 1, 85, 72, ''),
(21, 354, 28, 0, 0, 0, 0, NULL, '2025-08-18 21:03:57', '2025-09-18 23:11:36', 1, 82, 89.96, ''),
(22, 350, 28, 0, 0, 0, 0, NULL, '2025-08-18 21:04:23', '2025-09-18 23:16:58', 1, 75, 70, ''),
(23, 288, 22, 0, 0, 0, 0, NULL, '2025-08-18 21:09:45', '2025-09-18 21:36:10', 1, 89, 95, ''),
(24, 312, 24, 0, 0, 0, 0, NULL, '2025-08-19 20:20:49', '2025-08-19 20:20:56', 1, NULL, NULL, NULL),
(25, 285, 22, NULL, NULL, NULL, NULL, NULL, '2025-09-18 20:47:52', '2025-09-18 20:48:03', 1, 91, 95, NULL),
(26, 289, 22, NULL, NULL, NULL, NULL, NULL, '2025-09-18 20:52:53', '2025-09-18 20:53:08', 1, 87, 95, NULL),
(27, 282, 22, NULL, NULL, NULL, NULL, NULL, '2025-09-18 20:55:36', '2025-09-18 20:55:43', 1, 94, 90, NULL),
(28, 279, 22, NULL, NULL, NULL, NULL, NULL, '2025-09-18 21:00:24', '2025-09-18 21:00:31', 1, 86, 85, NULL),
(29, 283, 22, NULL, NULL, NULL, NULL, NULL, '2025-09-18 21:04:56', '2025-09-18 21:05:05', 1, 96, 90.06, NULL),
(30, 287, 22, NULL, NULL, NULL, NULL, NULL, '2025-09-18 21:10:44', '2025-09-18 21:10:50', 1, 80, 75, NULL),
(31, 280, 22, NULL, NULL, NULL, NULL, NULL, '2025-09-18 21:12:54', '2025-09-18 21:13:02', 1, 83, 65, NULL),
(32, 290, 22, NULL, NULL, NULL, NULL, NULL, '2025-09-18 21:16:20', '2025-09-18 21:16:34', 1, 74, 80, NULL),
(33, 301, 22, NULL, NULL, NULL, NULL, NULL, '2025-09-18 21:23:34', '2025-09-18 21:23:39', 1, 89, 75, NULL),
(34, 284, 22, NULL, NULL, NULL, NULL, NULL, '2025-09-18 21:25:55', '2025-09-18 21:26:02', 1, 89, 90, NULL),
(35, 286, 22, NULL, NULL, NULL, NULL, NULL, '2025-09-18 21:27:45', '2025-09-18 21:27:50', 1, 93, 90, NULL),
(36, 281, 22, NULL, NULL, NULL, NULL, NULL, '2025-09-18 21:31:30', '2025-09-18 21:31:43', 1, 83, 65, NULL),
(37, 297, 22, NULL, NULL, NULL, NULL, NULL, '2025-09-18 21:34:20', '2025-09-18 21:34:26', 1, 98, 70, NULL),
(38, 367, 29, NULL, NULL, NULL, NULL, NULL, '2025-09-21 21:54:30', '2025-09-21 21:54:38', 1, 75, 97, NULL),
(39, 364, 29, NULL, NULL, NULL, NULL, NULL, '2025-09-21 22:01:24', '2025-09-21 22:01:27', 1, 96, 90, NULL),
(40, 359, 29, NULL, NULL, NULL, NULL, NULL, '2025-09-21 22:03:27', '2025-09-21 22:03:34', 1, 86, 92.97, NULL),
(41, 365, 29, NULL, NULL, NULL, NULL, NULL, '2025-09-21 22:06:27', '2025-09-21 22:06:31', 1, 76, 77, NULL),
(42, 362, 29, NULL, NULL, NULL, NULL, NULL, '2025-09-21 22:09:44', '2025-09-21 22:09:49', 1, 83, 83.04, NULL),
(43, 361, 29, NULL, NULL, NULL, NULL, NULL, '2025-09-21 22:18:10', '2025-09-21 22:18:13', 1, 77, 98, NULL),
(44, 363, 29, NULL, NULL, NULL, NULL, NULL, '2025-09-21 22:21:08', '2025-09-21 22:21:11', 1, 65, 94, NULL),
(45, 335, 26, NULL, NULL, NULL, NULL, NULL, '2025-09-30 21:02:56', '2025-09-30 21:03:54', 1, 0, 0, NULL),
(46, 404, 31, NULL, NULL, NULL, NULL, NULL, '2025-09-30 21:04:43', '2025-10-11 22:39:17', 1, 66, 70, ''),
(47, 413, 31, NULL, NULL, NULL, NULL, NULL, '2025-09-30 21:06:57', '2025-10-10 22:23:57', 1, 76, 80, ''),
(48, 419, 31, NULL, NULL, NULL, NULL, NULL, '2025-09-30 21:08:04', '2025-11-04 10:10:11', 1, 73, 75, ''),
(49, 407, 31, NULL, NULL, NULL, NULL, NULL, '2025-09-30 21:11:56', '2025-10-10 22:24:00', 1, 79, 95, ''),
(50, 416, 31, NULL, NULL, NULL, NULL, NULL, '2025-09-30 21:14:10', '2025-09-30 21:14:13', 1, 81, 83, NULL),
(51, 415, 31, NULL, NULL, NULL, NULL, NULL, '2025-09-30 21:15:54', '2025-09-30 21:16:37', 1, 86, 90, NULL),
(52, 399, 31, NULL, NULL, NULL, NULL, NULL, '2025-09-30 21:17:58', '2025-09-30 21:18:12', 1, 79, 95, NULL),
(53, 410, 31, NULL, NULL, NULL, NULL, NULL, '2025-09-30 21:19:57', '2025-09-30 21:20:16', 1, 80, 85, NULL),
(54, 396, 31, NULL, NULL, NULL, NULL, NULL, '2025-09-30 21:21:53', '2025-09-30 21:22:09', 1, 72, 75, NULL),
(55, 414, 31, NULL, NULL, NULL, NULL, NULL, '2025-09-30 21:23:44', '2025-09-30 21:24:00', 1, 72, 75, NULL),
(56, 411, 31, NULL, NULL, NULL, NULL, NULL, '2025-09-30 21:26:18', '2025-09-30 21:26:42', 1, 73, 90, NULL),
(57, 350, 31, NULL, NULL, NULL, NULL, NULL, '2025-09-30 21:27:38', '2025-09-30 21:29:00', 1, 84, 95, NULL),
(58, 412, 31, NULL, NULL, NULL, NULL, NULL, '2025-09-30 21:30:34', '2025-09-30 21:30:58', 1, 80, 85, NULL),
(59, 288, 34, NULL, NULL, NULL, NULL, NULL, '2025-10-10 22:14:56', '2025-10-10 22:14:56', 1, NULL, NULL, ''),
(60, 285, 34, NULL, NULL, NULL, NULL, NULL, '2025-10-10 22:14:57', '2025-10-10 22:14:57', 1, NULL, NULL, ''),
(61, 428, 32, NULL, NULL, NULL, NULL, NULL, '2025-10-10 22:14:59', '2025-10-10 22:14:59', 1, NULL, NULL, ''),
(62, 409, 34, NULL, NULL, NULL, NULL, NULL, '2025-10-10 22:14:59', '2025-10-10 22:14:59', 1, NULL, NULL, ''),
(63, 291, 34, NULL, NULL, NULL, NULL, NULL, '2025-10-10 22:15:05', '2025-10-10 22:15:05', 1, NULL, NULL, ''),
(64, 418, 31, NULL, NULL, NULL, NULL, NULL, '2025-10-10 22:23:59', '2025-10-10 22:23:59', 1, NULL, NULL, '');

-- --------------------------------------------------------

--
-- Table structure for table `diem_thi_cuoi_hoc_phan`
--

CREATE TABLE `diem_thi_cuoi_hoc_phan` (
  `id` int(11) NOT NULL,
  `hoc_vien_id` int(11) NOT NULL,
  `lop_hoc_id` int(11) NOT NULL,
  `trinh_do_id` int(11) DEFAULT NULL,
  `giao_vien_id` int(11) DEFAULT NULL,
  `final_nghe` float DEFAULT NULL,
  `final_noi` float DEFAULT NULL,
  `final_doc` float DEFAULT NULL,
  `final_viet` float DEFAULT NULL,
  `ngay_thi` datetime DEFAULT NULL,
  `types` tinyint(4) DEFAULT 0 COMMENT '''0: Chưa thay đổi, 1: Lên trình, 2: Xuống trình''',
  `created_at` datetime DEFAULT NULL,
  `updated_at` datetime DEFAULT NULL,
  `test_notes` text DEFAULT NULL,
  `final_notes` text DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `diem_thi_cuoi_hoc_phan`
--

INSERT INTO `diem_thi_cuoi_hoc_phan` (`id`, `hoc_vien_id`, `lop_hoc_id`, `trinh_do_id`, `giao_vien_id`, `final_nghe`, `final_noi`, `final_doc`, `final_viet`, `ngay_thi`, `types`, `created_at`, `updated_at`, `test_notes`, `final_notes`) VALUES
(16, 340, 27, 0, 20, 69, 79, 70, 60, '2025-08-18 11:08:35', 0, '2025-08-18 11:08:35', '2025-08-18 11:09:19', NULL, NULL),
(17, 288, 22, 0, 18, 90, 95, 83, 77, '2025-08-19 04:10:07', 1, '2025-08-19 04:10:07', '2025-09-19 03:50:23', NULL, 'Tiến bộ trong học tập và tinh thần học, tiếp thu ổn'),
(18, 285, 22, 0, 18, 80, 95, 93, 96, '2025-08-19 04:19:04', 1, '2025-08-19 04:19:04', '2025-09-19 03:50:36', NULL, 'Rất chăm chỉ. Học và làm bài tập đầy đủ, đi học đúng giờ'),
(19, 293, 22, 0, 18, 95, 95, 80, 88, '2025-08-19 04:22:39', 1, '2025-08-19 04:22:39', '2025-09-19 03:51:46', NULL, 'Học ổn. Đi học và làm bài tập đầy đủ. Có khả năng học ngoại ngữ'),
(20, 289, 22, 0, 18, 95, 95, 75, 85, '2025-08-19 04:26:54', 1, '2025-08-19 04:26:54', '2025-09-19 03:55:06', NULL, 'Học ổn, tinh thần cao, tiếp thu nhanh. Tuy nhiên đang bận học đại học nên chưa tập trung'),
(21, 282, 22, 0, 18, 85, 95, 90, 73, '2025-08-19 04:30:52', 1, '2025-08-19 04:30:52', '2025-09-19 03:57:37', NULL, 'Học tập chăm chỉ. Đi học và làm bài tập đầy đủ'),
(22, 291, 22, 0, 18, 90, 100, 97, 96, '2025-08-19 04:32:23', 1, '2025-08-19 04:32:23', '2025-09-19 03:59:49', NULL, 'Học chắc kiến thức. Có khả năng sáng tạo tốt. Cần cải thiện phần phát âm hơn'),
(23, 279, 22, 0, 18, 75, 85, 70, 46, '2025-08-19 04:33:48', 1, '2025-08-19 04:33:48', '2025-09-19 04:09:29', NULL, 'Đi học và làm bài tập đầy đủ. Tinh thần học cao. Tuy nhiên cần được cải thiện hơn về tư duy ngôn ngữ và khả năng tiếp thu bài mới'),
(24, 294, 22, 0, 18, 65, 70, 77, 61, '2025-08-19 04:34:42', 1, '2025-08-19 04:34:42', '2025-09-22 10:00:23', NULL, NULL),
(25, 283, 22, 0, 18, 95, 100, 97, 96, '2025-08-19 04:36:09', 1, '2025-08-19 04:36:09', '2025-09-19 04:06:38', NULL, 'Học tập, làm bài và đi học đầy đủ. Học chăm, tiếp tục phát huy!'),
(26, 292, 22, 0, 18, 70, 100, 77, 88, '2025-08-19 04:37:04', 1, '2025-08-19 04:37:04', '2025-09-19 04:08:12', NULL, 'Đi học và làm bài tập đầy đủ. Tuy nhiên hơi chủ quan trong việc học'),
(27, 287, 22, 0, 18, 70, 85, 77, 61.5, '2025-08-19 04:47:16', 1, '2025-08-19 04:47:16', '2025-09-19 04:13:05', NULL, 'Học tập và làm bài tập đầy đủ. Tuy nhiên tiếp thu hơi chậm. Cần cố gắng hơn.'),
(28, 280, 22, 0, 18, 95, 95, 93, 96, '2025-08-19 04:48:28', 1, '2025-08-19 04:48:28', '2025-09-19 04:15:58', NULL, 'Đi học đúng giờ, làm bài tập và nộp bài đầy đủ. Tiếp thu khá. Cần cố gắng nhiều hơn nữa'),
(29, 290, 22, 0, 18, 80, 95, 63, 38, '2025-08-19 04:49:46', 1, '2025-08-19 04:49:46', '2025-09-22 10:00:29', NULL, 'Đi học đầy đủ. Tinh thần học có ổn hơn nhiều so với trước. Cần cố gắng hơn'),
(30, 284, 22, 0, 18, 85, 100, 80, 88, '2025-08-19 04:51:08', 1, '2025-08-19 04:51:08', '2025-09-19 04:27:25', NULL, 'Chăm chỉ, học tập ổn, tiếp thu nhanh. Khả năng học ngôn ngữ khá tốt'),
(31, 286, 22, 0, 18, 95, 90, 83, 81, '2025-08-19 04:51:55', 1, '2025-08-19 04:51:55', '2025-09-19 04:31:14', NULL, 'Học tập giỏi. Làm bài tập đầy đủ. Tiếp thu nhanh'),
(32, 281, 22, 0, 18, 75, 95, 82, 77, '2025-08-19 04:53:06', 1, '2025-08-19 04:53:06', '2025-09-19 04:33:13', NULL, 'Đi học đúng giờ, làm bài tập và nộp bài đầy đủ. Tiếp thu khá. Cần cố gắng nhiều hơn nữa.'),
(33, 297, 22, 0, 18, 75, 78, 90, 97, '2025-08-19 05:18:01', 1, '2025-08-19 05:18:01', '2025-09-19 04:35:36', NULL, 'Chăm chỉ, siêng năng, tích cực phát biểu trong buổi học'),
(34, 301, 22, 0, 18, 66, 80, 90, 90, '2025-08-19 05:20:42', 1, '2025-08-19 05:20:42', '2025-09-19 04:25:20', NULL, 'Cố gắng dành thời gian học từ vựng, tránh tập trung vào việc làm mà quên đi mục tiêu ban đầu. Tốt'),
(35, 312, 24, 0, 20, 63, 70, 75, 58, '2025-08-19 05:23:47', 1, '2025-08-19 05:23:47', '2025-09-22 09:59:37', NULL, NULL),
(36, 314, 24, 0, 20, 53, 73, 85, 87, '2025-08-19 05:25:54', 1, '2025-08-19 05:25:54', '2025-08-19 05:26:26', NULL, NULL),
(37, 313, 24, 0, 20, 50, 92, 75, 90, '2025-08-19 05:27:27', 1, '2025-08-19 05:27:27', '2025-08-19 05:27:46', NULL, NULL),
(38, 302, 23, 0, 20, 69, 85, 75, 75, '2025-08-19 05:32:30', 1, '2025-08-19 05:32:30', '2025-08-19 05:32:45', NULL, NULL),
(39, 349, 28, 0, 19, 80, 85, 60, 73, '2025-09-19 05:04:11', 1, '2025-09-19 05:04:11', '2025-09-19 05:23:54', NULL, 'Đi học đây đủ, đúng giờ. Ý thức học tập tốt, nhiệt tình, hoà đồng với bạn bè trong lớp. Khả năng tiếp thu kiến thức tốt, nắm chắc kiến thức trên lớp nhưng vẫn cần ôn tập nhiều hơn để nắm chắc ngữ pháp và từ vựng vì qua buổi sau thường hay quên'),
(40, 351, 28, 0, 19, 75, 96, 85, 83, '2025-09-19 05:15:47', 1, '2025-09-19 05:15:47', '2025-09-19 05:23:31', NULL, 'Có khả năng tiếp thu kiến thức tốt, nắm chắc ngữ pháp. Ý thức học tập tốt, đi học đầy đủ, đúng giờ, hoàn thành bài tập đầy đủ. Tinh thần tự giác học cao. Kĩ năng phản xạ tốt. Nên luyện nghe thêm.'),
(41, 355, 28, 0, 19, 85, 90, 85, 88, '2025-09-19 05:26:50', 1, '2025-09-19 05:26:50', '2025-09-19 10:56:15', NULL, 'Đi học đầy đủ, đúng giờ, hoàn thành đầy đủ bài tập về nhà. Ý thức học tập tốt. Phát âm, khả năng phản xạ ổn. Học đều các kĩ năng nên tiếp tục phát huy'),
(42, 357, 28, 0, 19, 65, 65, 80, 60, '2025-09-19 05:31:33', 1, '2025-09-19 05:31:33', '2025-09-19 10:55:44', NULL, 'Đi học đầy đủ, đúng giờ, hoàn thành bài tập đầy đủ. Chưa nắm chắc ngữ pháp nên ôn tập nhiều hơn ở nhà. Cần luyện nói và luyện đọc nhiều hơn để cải thiện phát âm, tập phản xạ. Vì vừa học vừa làm nên chưa tập trung học lắm. Lên A1.2 cần cải thiện tình trạng này'),
(43, 353, 28, 0, 19, 75, 73, 65, 83, '2025-09-19 05:46:06', 1, '2025-09-19 05:46:06', '2025-09-19 10:55:39', NULL, 'Tiếp thu kiến thức khá. Đi học đầy đủ, đúng giờ, ý thức học tập tốt, chăm học. Tuy nhiên vẫn cần luyện tập nhiều hơn để nắm chắc ngữ pháp và tập đặt câu với từ vựng để hiểu ngữ cảnh sử dụng. Nên luyện đọc và nói nhiều hơn để cải thiện phát âm, luyện nghe nhiều hơn.'),
(44, 354, 28, 0, 19, 80, 77, 80, 80, '2025-09-19 06:11:27', 1, '2025-09-19 06:11:27', '2025-09-19 10:55:35', NULL, 'Khả năng tiếp thu kiến thức ổn, ý thức học tập tốt, có tiến bộ nhiều. Đi học đầy đủ, đúng giờ, chăm học. Nên luyện nghe thường xuyên ở nhà. Cần luyện đọc và luyện nói để tăng khả năng phản xạ và phát âm'),
(45, 350, 28, 0, 19, 60, 60, 55, 23, '2025-09-19 06:16:56', 2, '2025-09-19 06:16:56', '2025-09-19 10:55:24', NULL, 'Thường xuyên đi học muộn và nhiều lần không hoàn thành bài tập về nhà. Chưa thật sự tập trung học. Nên ôn lại ngữ pháp và học kĩ từ vựng hơn. Ngoài ra nên luyện nói nhiều hơn để cải thiện phát âm và khả năng phản xạ, nên tự tin hơn lúc nói. Cần luyện nghe thêm'),
(46, 367, 29, 0, 19, 75, 94, 65, 92, '2025-09-22 04:54:52', 1, '2025-09-22 04:54:52', '2025-09-22 05:04:08', NULL, NULL),
(47, 364, 29, 0, 19, 70, 94, 75, 98, '2025-09-22 05:01:37', 1, '2025-09-22 05:01:37', '2025-09-22 05:04:12', NULL, NULL),
(48, 359, 29, 0, 19, 75, 80, 60, 73, '2025-09-22 05:03:36', 1, '2025-09-22 05:03:36', '2025-09-22 05:04:15', NULL, NULL),
(49, 365, 29, 0, 19, 60, 79, 80, 63, '2025-09-22 05:06:43', 1, '2025-09-22 05:06:43', '2025-09-22 05:07:10', NULL, NULL),
(50, 362, 29, 0, 19, 73, 94, 65, 83, '2025-09-22 05:09:50', 1, '2025-09-22 05:09:50', '2025-09-22 05:10:11', NULL, NULL),
(51, 361, 29, 0, 19, 68, 88, 85, 85, '2025-09-22 05:18:22', 1, '2025-09-22 05:18:22', '2025-09-22 05:21:53', NULL, NULL),
(52, 363, 29, 0, 19, 73, 86, 70, 78, '2025-09-22 05:21:19', 1, '2025-09-22 05:21:19', '2025-09-22 05:21:56', NULL, NULL),
(53, 306, 24, NULL, NULL, NULL, NULL, NULL, NULL, '2025-09-22 09:59:46', 0, '2025-09-22 09:59:46', '2025-09-22 09:59:46', NULL, NULL),
(54, 409, 22, NULL, NULL, NULL, NULL, NULL, NULL, '2025-09-22 10:00:09', 1, '2025-09-22 10:00:09', '2025-09-22 10:00:09', NULL, NULL),
(55, 296, 22, NULL, NULL, NULL, NULL, NULL, NULL, '2025-09-22 10:00:13', 1, '2025-09-22 10:00:13', '2025-09-22 10:00:13', NULL, NULL),
(56, 298, 22, NULL, NULL, NULL, NULL, NULL, NULL, '2025-09-22 10:00:15', 1, '2025-09-22 10:00:15', '2025-09-22 10:00:15', NULL, NULL),
(57, 408, 22, NULL, NULL, NULL, NULL, NULL, NULL, '2025-09-22 10:00:18', 1, '2025-09-22 10:00:18', '2025-09-22 10:00:18', NULL, NULL),
(58, 295, 22, NULL, NULL, NULL, NULL, NULL, NULL, '2025-09-22 10:00:26', 1, '2025-09-22 10:00:26', '2025-09-22 10:00:26', NULL, NULL),
(59, 300, 22, NULL, NULL, NULL, NULL, NULL, NULL, '2025-09-22 10:00:33', 1, '2025-09-22 10:00:33', '2025-09-22 10:00:33', NULL, NULL),
(60, 297, 34, NULL, NULL, NULL, NULL, NULL, NULL, '2025-09-30 09:51:06', 0, '2025-09-30 09:51:06', '2025-09-30 09:51:06', NULL, NULL),
(61, 281, 34, NULL, NULL, NULL, NULL, NULL, NULL, '2025-09-30 09:51:09', 0, '2025-09-30 09:51:09', '2025-09-30 09:51:09', NULL, NULL),
(62, 300, 34, NULL, NULL, NULL, NULL, NULL, NULL, '2025-09-30 09:51:12', 0, '2025-09-30 09:51:12', '2025-09-30 09:51:12', NULL, NULL),
(63, 286, 34, NULL, NULL, NULL, NULL, NULL, NULL, '2025-09-30 09:51:14', 0, '2025-09-30 09:51:14', '2025-09-30 09:51:14', NULL, NULL),
(64, 284, 34, NULL, NULL, NULL, NULL, NULL, NULL, '2025-09-30 09:51:16', 0, '2025-09-30 09:51:16', '2025-09-30 09:51:16', NULL, NULL),
(65, 301, 34, NULL, NULL, NULL, NULL, NULL, NULL, '2025-09-30 09:51:17', 0, '2025-09-30 09:51:17', '2025-09-30 09:51:17', NULL, NULL),
(66, 290, 34, NULL, NULL, NULL, NULL, NULL, NULL, '2025-09-30 09:51:20', 0, '2025-09-30 09:51:20', '2025-09-30 09:51:20', NULL, NULL),
(67, 280, 34, NULL, NULL, NULL, NULL, NULL, NULL, '2025-09-30 09:51:20', 0, '2025-09-30 09:51:20', '2025-09-30 09:51:22', NULL, NULL),
(68, 287, 34, NULL, NULL, NULL, NULL, NULL, NULL, '2025-09-30 09:51:25', 0, '2025-09-30 09:51:25', '2025-09-30 09:51:25', NULL, NULL),
(69, 295, 34, NULL, NULL, NULL, NULL, NULL, NULL, '2025-09-30 09:51:27', 0, '2025-09-30 09:51:27', '2025-09-30 09:51:27', NULL, NULL),
(70, 292, 34, NULL, NULL, NULL, NULL, NULL, NULL, '2025-09-30 09:51:29', 0, '2025-09-30 09:51:29', '2025-09-30 09:51:29', NULL, NULL),
(71, 283, 34, NULL, NULL, NULL, NULL, NULL, NULL, '2025-09-30 09:51:30', 0, '2025-09-30 09:51:30', '2025-09-30 09:51:32', NULL, NULL),
(72, 409, 34, NULL, NULL, NULL, NULL, NULL, NULL, '2025-09-30 09:51:37', 0, '2025-09-30 09:51:37', '2025-09-30 09:51:40', NULL, NULL),
(73, 285, 34, NULL, NULL, NULL, NULL, NULL, NULL, '2025-09-30 09:51:41', 0, '2025-09-30 09:51:41', '2025-09-30 09:51:56', NULL, 'Rất chăm chỉ. Học và làm bài tập đầy đủ, đi học đúng giờ'),
(74, 288, 34, NULL, NULL, NULL, NULL, NULL, NULL, '2025-09-30 09:51:45', 0, '2025-09-30 09:51:45', '2025-09-30 09:51:45', NULL, NULL),
(75, 293, 34, NULL, NULL, NULL, NULL, NULL, NULL, '2025-09-30 09:51:47', 0, '2025-09-30 09:51:47', '2025-09-30 09:51:47', NULL, NULL),
(76, 296, 34, NULL, NULL, NULL, NULL, NULL, NULL, '2025-09-30 09:51:49', 0, '2025-09-30 09:51:49', '2025-09-30 09:51:49', NULL, NULL),
(77, 298, 34, NULL, NULL, NULL, NULL, NULL, NULL, '2025-09-30 09:51:51', 0, '2025-09-30 09:51:51', '2025-09-30 09:51:51', NULL, NULL),
(78, 289, 34, NULL, NULL, NULL, NULL, NULL, NULL, '2025-09-30 09:51:53', 0, '2025-09-30 09:51:53', '2025-09-30 09:51:53', NULL, NULL),
(79, 428, 32, 0, 26, 0, 0, 0, 0, '2025-10-11 05:14:49', 0, '2025-10-11 05:14:49', '2025-10-11 05:15:14', NULL, ''),
(80, 404, 31, NULL, NULL, 0, 0, 0, 0, '2025-10-11 05:15:14', 0, '2025-10-11 05:15:14', '2025-11-04 17:07:20', NULL, ''),
(81, 413, 31, NULL, NULL, 0, 0, 0, 0, '2025-10-11 05:15:14', 0, '2025-10-11 05:15:14', '2025-10-23 12:19:36', NULL, ''),
(82, 419, 31, 0, 25, 0, 0, 0, 0, '2025-10-23 12:19:45', 0, '2025-10-23 12:19:45', '2025-11-04 17:10:11', NULL, ''),
(83, 363, 36, NULL, NULL, NULL, NULL, NULL, NULL, '2025-11-05 08:10:35', 0, '2025-11-05 08:10:35', '2025-11-05 08:10:35', NULL, ''),
(84, 367, 36, NULL, NULL, NULL, NULL, NULL, NULL, '2025-11-05 08:10:41', 0, '2025-11-05 08:10:41', '2025-11-05 08:10:41', NULL, '');

-- --------------------------------------------------------

--
-- Table structure for table `doi_tac`
--

CREATE TABLE `doi_tac` (
  `id` int(11) NOT NULL,
  `ten_doi_tac` varchar(255) NOT NULL,
  `loai_doi_tac` varchar(100) DEFAULT NULL,
  `nguoi_dai_dien` varchar(255) DEFAULT NULL,
  `so_dien_thoai` varchar(20) DEFAULT NULL,
  `email` varchar(255) DEFAULT NULL,
  `dia_chi` text DEFAULT NULL,
  `ngay_hop_tac` date DEFAULT NULL,
  `trang_thai` tinyint(1) DEFAULT 1,
  `ghi_chu` text DEFAULT NULL,
  `attachment` varchar(1000) DEFAULT NULL,
  `created_at` timestamp NOT NULL DEFAULT current_timestamp(),
  `updated_at` timestamp NULL DEFAULT current_timestamp()
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `doi_tac`
--

INSERT INTO `doi_tac` (`id`, `ten_doi_tac`, `loai_doi_tac`, `nguoi_dai_dien`, `so_dien_thoai`, `email`, `dia_chi`, `ngay_hop_tac`, `trang_thai`, `ghi_chu`, `attachment`, `created_at`, `updated_at`) VALUES
(7, 'Hallo MC', NULL, 'Hallo MC', '0981294815', 'luckyhuynh789@gmail.com', NULL, '2025-08-13', 1, '', 'uploads/z6874604089789_25a48fb7d78b636dc657d22cfe85bb41.jpg', '2025-08-13 02:36:37', '2025-08-13 07:36:37'),
(8, 'Phấn HRL', NULL, 'Phấn HRL', '0372836313', 'luckyhuynh789@gmail.com', NULL, '2025-08-13', 1, 'HH 10%\r\n', '', '2025-08-13 02:40:06', '2025-08-13 07:40:06'),
(9, 'Hoàng Sĩ', NULL, 'Hoàng Sĩ', '0393721937', 'luckyhuynh789@gmail.com', NULL, '2025-08-13', 1, 'HH 10%\r\n200225081305 - MB bank\r\n', '', '2025-08-13 02:41:24', '2025-08-13 07:41:24'),
(10, 'Nguyễn Thế Anh', NULL, 'Nguyễn Thế Anh', '0394971684', 'nguyencamtugem@gmail.com', NULL, '2025-08-18', 1, '', '', '2025-08-18 03:52:00', '2025-08-18 08:52:00'),
(11, 'Lê Đức Anh', NULL, 'Lê Đức Anh', '0978419694', 'nguyencamtugem@gmail.com', NULL, '2025-08-18', 1, '', '', '2025-08-18 03:52:27', '2025-08-18 08:52:27'),
(12, 'HDT - Thùy Nga', NULL, 'HDT - Thùy Nga', '0981294815', 'luckyhuynh789@gmail.com', NULL, '2025-08-19', 1, '', '', '2025-08-19 02:46:05', '2025-08-19 07:46:05'),
(13, 'Bình Dương', NULL, 'Bình Dương', '0981294815', 'luckyhuynh789@gmail.com', NULL, '2025-08-19', 1, '', '', '2025-08-19 02:57:48', '2025-08-19 07:57:48'),
(14, 'Chị Thủy', NULL, 'Chị Thủy', '0393721937', 'luckyhuynh789@gmail.com', NULL, '2025-10-02', 1, '', '', '2025-10-02 01:10:58', '2025-10-02 06:10:58'),
(15, 'Thảo Vân', NULL, 'Thảo Vân', '0931929191', 'luckyhuynh789@gmail.com', NULL, '2026-01-06', 1, 'Nhân viên cũ', '', '2026-01-05 19:24:00', '2026-01-06 01:24:00');

-- --------------------------------------------------------

--
-- Table structure for table `employee_salary`
--

CREATE TABLE `employee_salary` (
  `id` int(11) NOT NULL,
  `employee_id` int(11) NOT NULL,
  `month` int(2) NOT NULL,
  `year` int(4) NOT NULL,
  `base_salary` decimal(15,2) DEFAULT 0.00 COMMENT 'Lương cơ bản',
  `allowance` decimal(15,2) DEFAULT 0.00 COMMENT 'Phụ cấp',
  `bonus` decimal(15,2) DEFAULT 0.00 COMMENT 'Thưởng',
  `union_fee` decimal(15,2) DEFAULT 0.00 COMMENT 'Công đoàn',
  `company_insurance` decimal(15,2) DEFAULT 0.00 COMMENT 'BHXH theo công ty',
  `insurance_support` decimal(15,2) DEFAULT 0.00 COMMENT 'Hỗ trợ BHXH',
  `training_fee` decimal(15,2) DEFAULT 0.00 COMMENT 'Đào tạo',
  `leave_start` int(11) DEFAULT 0 COMMENT 'Ngày phép tồn đầu tháng',
  `leave_taken` int(11) DEFAULT 0 COMMENT 'Ngày phép nghỉ trong tháng',
  `leave_end` int(11) DEFAULT 0 COMMENT 'Ngày phép tồn cuối tháng',
  `work_days` decimal(5,2) DEFAULT 0.00 COMMENT 'Số ngày công',
  `total_salary` decimal(15,2) DEFAULT 0.00 COMMENT 'Tổng lương thực nhận',
  `status` tinyint(1) DEFAULT 0 COMMENT '0: Chưa thanh toán, 1: Đã thanh toán',
  `created_at` timestamp NOT NULL DEFAULT current_timestamp(),
  `updated_at` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
  `last_checkin_date` date DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci COMMENT='Bảng quản lý lương nhân viên';

--
-- Dumping data for table `employee_salary`
--

INSERT INTO `employee_salary` (`id`, `employee_id`, `month`, `year`, `base_salary`, `allowance`, `bonus`, `union_fee`, `company_insurance`, `insurance_support`, `training_fee`, `leave_start`, `leave_taken`, `leave_end`, `work_days`, `total_salary`, `status`, `created_at`, `updated_at`, `last_checkin_date`) VALUES
(14, 14, 8, 2025, 5308000.00, 2392000.00, 0.00, 0.00, 0.00, 0.00, 0.00, 0, 0, 0, 7.50, 18316000.00, 0, '2025-08-18 04:09:24', '2025-08-29 08:00:46', '2025-08-29'),
(15, 15, 8, 2025, 5308000.00, 2692000.00, 0.00, 0.00, 0.00, 0.00, 0.00, 0, 0, 0, 2.00, 13308000.00, 0, '2025-08-18 08:16:47', '2025-08-20 10:13:29', '2025-08-19'),
(16, 17, 8, 2025, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00, 0, 0, 0, 5.00, 0.00, 0, '2025-08-19 01:37:58', '2025-08-27 01:30:22', '2025-08-27'),
(17, 18, 8, 2025, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00, 0, 0, 0, 6.00, 0.00, 0, '2025-08-19 02:38:44', '2025-08-28 01:03:04', '2025-08-28'),
(18, 16, 8, 2025, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00, 0, 0, 0, 1.50, 0.00, 0, '2025-08-20 01:45:11', '2025-08-23 02:57:36', '2025-08-23'),
(19, 13, 8, 2025, 5308000.00, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00, 0, 0, 0, 0.00, 116776000.00, 0, '2025-08-20 10:12:41', '2025-08-20 10:12:41', NULL),
(20, 20, 8, 2025, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00, 0, 0, 0, 0.50, 0.00, 0, '2025-08-23 02:03:03', '2025-08-23 02:03:03', '2025-08-23'),
(21, 14, 9, 2025, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00, 0, 0, 0, 12.50, 0.00, 0, '2025-09-02 09:30:56', '2025-09-30 04:27:02', '2025-09-30'),
(22, 18, 9, 2025, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00, 0, 0, 0, 5.00, 0.00, 0, '2025-09-05 01:10:43', '2025-09-16 06:34:14', '2025-09-16'),
(23, 17, 9, 2025, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00, 0, 0, 0, 2.00, 0.00, 0, '2025-09-19 01:34:17', '2025-09-22 01:39:29', '2025-09-22'),
(24, 21, 9, 2025, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00, 0, 0, 0, 1.00, 0.00, 0, '2025-09-30 08:06:50', '2025-09-30 08:06:50', '2025-09-30'),
(25, 17, 10, 2025, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00, 0, 0, 0, 1.00, 0.00, 0, '2025-10-01 01:18:12', '2025-10-01 01:18:12', '2025-10-01'),
(26, 15, 10, 2025, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00, 0, 0, 0, 10.00, 0.00, 0, '2025-10-01 07:51:58', '2025-10-22 01:36:04', '2025-10-22'),
(27, 14, 10, 2025, 6000000.00, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00, 0, 0, 0, 12.50, 45000000.00, 0, '2025-10-01 09:06:30', '2025-10-23 02:24:36', '2025-10-23'),
(28, 21, 10, 2025, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00, 0, 0, 0, 6.50, 0.00, 0, '2025-10-11 03:11:31', '2025-10-24 07:24:19', '2025-10-24'),
(29, 16, 10, 2025, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00, 0, 0, 0, 0.50, 0.00, 0, '2025-10-11 03:11:33', '2025-10-11 03:11:33', '2025-10-11'),
(30, 20, 10, 2025, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00, 0, 0, 0, 4.50, 0.00, 0, '2025-10-11 03:12:36', '2025-10-21 02:39:48', '2025-10-21'),
(31, 18, 10, 2025, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00, 0, 0, 0, 0.50, 0.00, 0, '2025-10-11 03:19:56', '2025-10-11 03:19:56', '2025-10-11'),
(32, 22, 10, 2025, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00, 0, 0, 0, 3.50, 0.00, 0, '2025-10-17 04:04:02', '2025-10-25 03:17:54', '2025-10-25'),
(33, 22, 11, 2025, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00, 0, 0, 0, 8.00, 0.00, 0, '2025-11-01 06:32:11', '2025-11-27 09:31:29', '2025-11-27'),
(34, 14, 11, 2025, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00, 0, 0, 0, 6.00, 0.00, 0, '2025-11-04 09:25:53', '2025-11-25 11:34:11', '2025-11-25'),
(35, 20, 11, 2025, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00, 0, 0, 0, 1.00, 0.00, 0, '2025-11-04 16:02:31', '2025-11-04 16:02:31', '2025-11-04'),
(36, 21, 11, 2025, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00, 0, 0, 0, 3.00, 0.00, 0, '2025-11-05 08:06:41', '2025-11-07 02:15:55', '2025-11-07'),
(37, 15, 11, 2025, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00, 0, 0, 0, 2.00, 0.00, 0, '2025-11-06 07:29:17', '2025-11-18 01:59:45', '2025-11-18'),
(38, 22, 12, 2025, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00, 0, 0, 0, 11.00, 0.00, 0, '2025-12-01 06:52:27', '2025-12-30 03:14:24', '2025-12-30'),
(39, 14, 12, 2025, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00, 0, 0, 0, 6.00, 0.00, 0, '2025-12-10 01:45:46', '2025-12-29 08:18:31', '2025-12-29'),
(40, 14, 1, 2026, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00, 0, 0, 0, 1.00, 0.00, 0, '2026-01-06 01:16:11', '2026-01-06 01:16:11', '2026-01-06'),
(41, 22, 1, 2026, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00, 0, 0, 0, 1.00, 0.00, 0, '2026-01-07 04:10:22', '2026-01-07 04:10:22', '2026-01-07');

-- --------------------------------------------------------

--
-- Table structure for table `giao_vien`
--

CREATE TABLE `giao_vien` (
  `id` int(11) NOT NULL,
  `chi_nhanh` int(11) DEFAULT NULL,
  `summary` text DEFAULT NULL,
  `user_id` int(11) DEFAULT NULL,
  `ho_ten` varchar(255) NOT NULL,
  `het_han` date DEFAULT NULL,
  `so_dien_thoai` varchar(20) DEFAULT NULL,
  `email` varchar(255) DEFAULT NULL,
  `email_contact` varchar(255) DEFAULT NULL,
  `dia_chi_thuong_tru` text DEFAULT NULL,
  `dia_chi_hien_tai` text DEFAULT NULL,
  `bank_info` text DEFAULT NULL,
  `social_media` text DEFAULT NULL,
  `quan_ly` int(11) DEFAULT NULL,
  `phong_ban` int(11) DEFAULT NULL,
  `ngay_sinh` date DEFAULT NULL,
  `types` int(11) DEFAULT NULL,
  `status` tinyint(1) DEFAULT 1,
  `nhan_vien` int(11) DEFAULT 0,
  `created_at` timestamp NOT NULL DEFAULT current_timestamp(),
  `updated_at` timestamp NULL DEFAULT current_timestamp() ON UPDATE current_timestamp()
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `giao_vien`
--

INSERT INTO `giao_vien` (`id`, `chi_nhanh`, `summary`, `user_id`, `ho_ten`, `het_han`, `so_dien_thoai`, `email`, `email_contact`, `dia_chi_thuong_tru`, `dia_chi_hien_tai`, `bank_info`, `social_media`, `quan_ly`, `phong_ban`, `ngay_sinh`, `types`, `status`, `nhan_vien`, `created_at`, `updated_at`) VALUES
(17, 4, NULL, 5, 'Nguyễn Cẩm Tú', NULL, '0981294815', 'nguyencamtugem@gmail.com', 'nguyencamtugem@gmail.com', 'LKV 12/5 Royal Park, Vỹ Dạ', NULL, NULL, NULL, NULL, 21, '1983-02-23', 2, 1, 0, '2025-08-18 07:11:13', '2025-08-18 07:11:13'),
(19, 4, NULL, 18, 'Trần Nguyễn Hà Vy', NULL, NULL, 'chanvy1108@gmail.com', 'chanvy1108@gmail.com', 'Trần Phú, TP. Huế', 'Trần Phú, TP. Huế', NULL, NULL, NULL, 7, NULL, 2, 1, 0, '2025-08-18 07:55:10', '2025-08-18 07:55:10'),
(21, 4, NULL, 13, 'Nguyễn Anh Nguyên', NULL, '0981294835', NULL, NULL, 'LKV 12/5 Royal Park, Vỹ Dạ', 'LKV 12/5 Royal Park, Vỹ Dạ', NULL, NULL, NULL, 22, NULL, 2, 1, 0, '2025-08-19 08:01:20', '2025-08-19 08:01:20'),
(22, 4, NULL, 14, 'Huỳnh Thị Như Ý', NULL, '0393721937', 'luckyhuynh789@gmail.com', 'luckyhuynh789@gmail.com', '6A/17 Lịch Đợi, Huế', '6A/17 Lịch Đợi, Huế', NULL, NULL, NULL, 23, '1990-03-24', 2, 1, 0, '2025-08-19 08:03:20', '2025-08-19 08:03:20'),
(24, 4, NULL, 17, 'Lê Thị Quỳnh Hương', NULL, NULL, NULL, NULL, 'Hóa Châu, Huế', 'Hóa Châu, Huế', NULL, NULL, NULL, 7, '2006-02-13', 2, 1, 0, '2025-08-19 08:09:14', '2025-08-19 08:09:14'),
(25, 4, NULL, 20, 'Hồ Thanh Thông', NULL, '0914342441', 'thanhthongussh@gmail.com', 'thanhthongussh@gmail.com', 'Lâm Đồng', 'Royal Park', 'Viettinbank - HO THANH THONG - 101876679170\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n', NULL, NULL, 7, '2000-07-17', 2, 1, 1, '2025-08-23 02:02:10', '2025-08-23 02:02:10'),
(26, 4, NULL, 21, 'Nguyễn Thị Yến', NULL, '0973183427', NULL, 'yenvy0602905@gmail.com', 'Chi Đông, Mê Linh, Hà Nội', 'Royal Park', NULL, NULL, NULL, 7, '2002-05-29', 2, 1, 1, '2025-09-22 09:00:35', '2025-10-17 03:58:02'),
(27, 4, NULL, 22, 'Nguyễn Nhật Linh', NULL, '0868460760', NULL, 'ngnhatlinh054@gmail.com', NULL, '44 Cách mạng tháng 8, phường Hương Trà, TP. Huế', NULL, NULL, NULL, 3, '1986-02-23', 2, 1, 1, '2025-10-17 03:49:22', '2025-10-17 03:59:08');

-- --------------------------------------------------------

--
-- Table structure for table `hoc_vien`
--

CREATE TABLE `hoc_vien` (
  `id` int(11) NOT NULL,
  `ma_hop_dong` text DEFAULT NULL,
  `ngay_ky_hop_dong` date DEFAULT NULL,
  `tu_van_tuyen_sinh` varchar(255) DEFAULT NULL,
  `labels` text DEFAULT NULL,
  `chi_nhanh` varchar(255) DEFAULT NULL,
  `hoc_vien` varchar(255) DEFAULT NULL,
  `gioi_tinh` int(11) DEFAULT 0 COMMENT '0: Nữ 1: Nam',
  `so_dien_thoai` varchar(20) DEFAULT NULL,
  `email` varchar(255) DEFAULT NULL,
  `cccd` text DEFAULT NULL,
  `passport` text DEFAULT NULL,
  `ngay_sinh` date DEFAULT NULL,
  `noi_sinh` varchar(255) DEFAULT NULL,
  `nguoi_giam_ho` varchar(255) DEFAULT NULL,
  `dien_thoai_giam_ho` varchar(20) DEFAULT NULL,
  `dia_chi` text DEFAULT NULL,
  `trinh_do_nhap_hoc` varchar(100) DEFAULT NULL,
  `trinh_do_thuc_te` int(11) DEFAULT NULL,
  `ngay_nhap_hoc` varchar(20) DEFAULT NULL,
  `dang_ky_ktx` int(11) DEFAULT 0,
  `nghe_nghiep` varchar(100) DEFAULT NULL,
  `nguyen_vong_nghe` text DEFAULT NULL,
  `diem_hen_duc` text DEFAULT NULL,
  `mo_ta` text DEFAULT NULL,
  `nguon_doi_tac` varchar(255) DEFAULT NULL,
  `sale_id` int(11) DEFAULT 1,
  `dang_ky_lop` varchar(255) DEFAULT NULL,
  `attachment` varchar(255) DEFAULT NULL,
  `status` int(11) DEFAULT 0,
  `reporter` int(11) DEFAULT NULL,
  `created_at` timestamp NOT NULL DEFAULT current_timestamp(),
  `updated_at` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
  `course_type_id` int(11) DEFAULT NULL,
  `book_refunded` tinyint(1) DEFAULT 0 COMMENT '0: Chưa hoàn tiền, 1: Đã hoàn tiền',
  `trang_thai` int(11) DEFAULT 1
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `hoc_vien`
--

INSERT INTO `hoc_vien` (`id`, `ma_hop_dong`, `ngay_ky_hop_dong`, `tu_van_tuyen_sinh`, `labels`, `chi_nhanh`, `hoc_vien`, `gioi_tinh`, `so_dien_thoai`, `email`, `cccd`, `passport`, `ngay_sinh`, `noi_sinh`, `nguoi_giam_ho`, `dien_thoai_giam_ho`, `dia_chi`, `trinh_do_nhap_hoc`, `trinh_do_thuc_te`, `ngay_nhap_hoc`, `dang_ky_ktx`, `nghe_nghiep`, `nguyen_vong_nghe`, `diem_hen_duc`, `mo_ta`, `nguon_doi_tac`, `sale_id`, `dang_ky_lop`, `attachment`, `status`, `reporter`, `created_at`, `updated_at`, `course_type_id`, `book_refunded`, `trang_thai`) VALUES
(279, NULL, NULL, '3', NULL, '4', 'Lê Thị Bòn', 0, '0348650728', NULL, NULL, NULL, '1992-08-02', 'Huế', NULL, NULL, 'Huế', '3', 5, NULL, 0, NULL, NULL, NULL, '', NULL, 5, '22', NULL, 7, NULL, '2025-08-18 08:03:20', '2025-10-01 01:20:18', 1, 0, 1),
(280, NULL, NULL, '3', NULL, '4', 'Phạm Vũ Cường', 0, '0792211508', NULL, NULL, NULL, '1995-06-12', 'Huế', NULL, NULL, 'Huế', '1', 7, NULL, 0, NULL, NULL, NULL, 'Đã ký HĐ ngày 11/03/2025. Mã HĐ: 05/2025 - HĐTĐ. 80 Nguyễn Huệ, TP Huế', NULL, 5, '22', NULL, 1, NULL, '2025-08-18 08:03:20', '2025-12-19 04:27:10', 2, 1, 1),
(281, NULL, NULL, '3', NULL, '4', 'Trần Quang Cường', 0, '0779583824', NULL, NULL, NULL, '1997-11-29', 'Huế', NULL, NULL, 'Huế', '4', 5, NULL, 0, NULL, NULL, NULL, 'Đã ký HĐ ngày : 11/03/2025. Mã HĐ: 03/2025 - HĐTĐ. TLHĐ ngày: 17/07/2025. Hoàn lại 19.000.000', NULL, 5, '22', NULL, 9, NULL, '2025-08-18 08:03:20', '2025-10-17 08:17:58', 2, 1, 1),
(282, NULL, NULL, '3', NULL, '4', 'Lê Phước Mạnh', 0, '0968810435', 'duyphan0999@gmail.com', '046200003126', NULL, '2000-11-03', 'Huế', 'Lê Thị Quỳnh My', '0796568062', 'Huế', '1', 7, NULL, 0, NULL, NULL, NULL, 'Đã ký HĐ ngày: 11/03/2025. Mã HĐ: 01/2025 - HĐTĐ. 20/8 Lý Nam Đế, An Hoà, Huế', NULL, 5, '22', NULL, 1, NULL, '2025-08-18 08:03:20', '2025-12-19 04:27:08', 2, 1, 1),
(283, NULL, NULL, '3', NULL, '4', 'Nguyễn Dư Hiếu', 0, '', NULL, NULL, NULL, '2000-02-09', 'Huế', NULL, NULL, 'Huế', '1', 7, NULL, 0, NULL, NULL, NULL, 'Ngày ký HĐ: 11/03/2025. Mã HĐ: 07/2025 - HĐTĐ', NULL, 5, '22', NULL, 1, NULL, '2025-08-18 08:03:20', '2025-12-19 04:27:06', 2, 0, 1),
(284, NULL, NULL, '3', NULL, '4', 'Phan Thị Uyên Thùy', 0, '0901202352', 'phamthiuyenthuy8@gmail.com', '046302011675', NULL, '2002-08-05', 'Huế', 'Đinh Thị Tâm Hoàng', '0934941361', 'Huế', '1', 7, NULL, 0, NULL, NULL, NULL, 'Chi Lăng, Phú Hậu, Phú Xuân ,Huế', NULL, 5, '22', NULL, 1, NULL, '2025-08-18 08:03:20', '2025-12-19 04:27:00', 1, 0, 1),
(285, NULL, NULL, '3', NULL, '4', 'Dương Kim Bảo Nguyên', 0, '0822411103', 'duongkimbaonguyen123@gmail.com', '046303007381', NULL, '2003-11-11', 'Huế', 'Nguyễn Thị Kim Hương', '0365726752', 'Huế', '1', 7, NULL, 0, NULL, NULL, NULL, 'Ngày ký HĐ: 11/03/2025. Mã HĐ: 06/2025 - HĐTĐ, 45 Lịch Đợi, TP Huế', NULL, 5, '22', NULL, 1, NULL, '2025-08-18 08:03:20', '2025-12-19 04:26:58', 2, 0, 1),
(286, NULL, NULL, '3', NULL, '4', 'Tạ Thị Thanh Ngân', 0, '0329705056', NULL, NULL, NULL, '2004-08-10', 'Huế', NULL, NULL, 'Huế', '5', 5, NULL, 0, NULL, NULL, NULL, 'Ngày ký HĐ: 11/03/2025. Mã HĐ: 02/2025 - HĐTĐ. TLHĐ: 17/07/2025 ', NULL, 5, '22', NULL, 9, NULL, '2025-08-18 08:03:20', '2025-10-01 01:20:57', 2, 0, 1),
(287, NULL, NULL, '3', NULL, '4', 'Nguyễn Thị Phương An', 0, '0898213266', NULL, NULL, NULL, '2005-11-03', 'Huế', NULL, NULL, 'Huế', '5', 5, NULL, 0, NULL, NULL, NULL, 'Ngày ký HĐ: 11/03/2025. Mã HĐ: 04/2025 - HĐTĐ. TLHĐ: 17/07/2025', NULL, 5, '22', NULL, 9, NULL, '2025-08-18 08:03:20', '2025-10-01 01:20:37', 2, 0, 1),
(288, NULL, NULL, '3', NULL, '4', 'Cao Thị Thùy Trang', 0, '0379489916', NULL, NULL, NULL, '2006-10-24', 'Huế', NULL, NULL, 'Huế', '2', 5, NULL, 0, NULL, NULL, NULL, 'Không có khả năng học tiếng. Tiếp thu bài chậm', NULL, 5, '22', NULL, 7, NULL, '2025-08-18 08:03:20', '2025-11-25 11:55:16', 1, 0, 1),
(289, NULL, NULL, '3', NULL, '4', 'Hoàng Quốc Phú', 0, '0356902845', NULL, '', NULL, '2003-12-26', 'Huế', NULL, NULL, 'Huế', '5', 5, NULL, 0, NULL, NULL, NULL, '', NULL, 5, '22', NULL, 4, NULL, '2025-08-18 08:03:20', '2025-10-22 04:26:20', 1, 0, 1),
(290, NULL, NULL, '3', NULL, '4', 'Phan Thanh Hải', 0, '0889943089', NULL, NULL, NULL, '2002-04-19', 'Quảng Trị', NULL, NULL, 'Quảng Trị', '5', 5, NULL, 0, NULL, NULL, NULL, '', NULL, 5, '22', NULL, 7, NULL, '2025-08-18 08:03:20', '2025-10-01 01:20:44', 1, 0, 1),
(291, NULL, NULL, '3', NULL, '4', 'Lê Quốc Khánh', 0, '0358785647', NULL, '046203002040', NULL, '2003-09-02', 'Huế', 'Tống Thị Kim Oanh', '0973597374', 'Huế', '1', 7, NULL, 0, NULL, NULL, NULL, '4/31 Trần Văn Kỷ', NULL, 5, '22', NULL, 1, NULL, '2025-08-18 08:03:20', '2025-12-19 04:26:56', 1, 0, 1),
(292, NULL, NULL, '3', NULL, '4', 'Nguyễn Ngọc Nguyên', 0, '0818990578', NULL, NULL, NULL, '2003-05-29', 'Huế', NULL, NULL, 'Huế', '5', 5, NULL, 0, NULL, NULL, NULL, 'Chuyển ra Rubin Hà Nội học', NULL, 5, '22', NULL, 9, NULL, '2025-08-18 08:03:20', '2025-10-01 01:20:29', 1, 0, 1),
(293, NULL, NULL, '3', NULL, '4', 'Hà Thị Phương Uyên', 0, '', NULL, NULL, NULL, '2004-11-16', 'Huế', NULL, NULL, 'Huế', '1', 7, NULL, 0, NULL, NULL, NULL, 'Ngày ký HĐ: 11/03/2025. Mã HĐ: 08/2025 - HĐTĐ', '13', 0, '22', NULL, 1, NULL, '2025-08-18 08:03:20', '2025-12-19 04:26:53', 2, 0, 1),
(294, NULL, NULL, '3', NULL, '4', 'Ngô Nguyễn Tiểu Phụng', 0, '0364157225', NULL, NULL, NULL, '2003-01-15', 'Huế', NULL, NULL, 'Huế', '4', 5, NULL, 0, NULL, NULL, NULL, 'Ngày ký HĐ: 27/03/2025. Mã HĐ: 01/2025 - DHN. TLHĐ: 10/06/2025', NULL, 5, '22', NULL, 9, NULL, '2025-08-18 08:03:20', '2025-10-01 01:20:21', 3, 0, 1),
(295, NULL, NULL, '3', NULL, '4', 'Nguyễn Thị Hồng Uyên', 0, '0344600299', NULL, NULL, NULL, '2001-03-11', 'Huế', NULL, NULL, 'Huế', '1', 7, '2025-04-07', 0, NULL, NULL, NULL, '', NULL, 5, '22', NULL, 1, NULL, '2025-08-18 08:03:20', '2025-12-19 04:26:51', 2, 0, 1),
(296, NULL, NULL, '3', NULL, '4', 'Hồ Nguyên Bình', 0, '0795545505', NULL, NULL, NULL, '2004-10-22', 'Huế', NULL, NULL, 'Huế', '1', 7, '2025-07-17', 0, NULL, NULL, NULL, 'Ký HĐ ngày 04/09/2025', NULL, 5, '22', NULL, 1, NULL, '2025-08-18 08:03:20', '2025-12-19 04:26:49', 2, 0, 1),
(297, NULL, NULL, '3', NULL, '4', 'Trương Minh Hiền', 0, '0703012603', 'truongminhhien11092002@gmail.com', '046202000700', NULL, '2002-09-11', 'Huế', 'Phan Thị Bé Em', '0376418052', 'Huế', '1', 7, '2025-07-17', 0, NULL, NULL, NULL, 'Ngày ký HĐ: 14/08/2025. Mã HĐ: 21/2025 - HĐTĐ. 7/4 Ưng Bình, Vỹ Dạ, Tp Huế', '8', 0, '22', NULL, 1, NULL, '2025-08-18 08:03:20', '2025-12-19 04:26:46', 2, 0, 1),
(298, NULL, NULL, '3', NULL, '4', 'Hồ Văn Phú Nguyên', 0, '', 'nguyen02111997@gmail.com', '046097003255', NULL, '1997-11-02', 'Huế', NULL, NULL, 'Huế', '1', 7, '2025-07-17', 0, NULL, NULL, NULL, 'Ngày ký HĐ: 11/04/2025. Mã HĐ: 10/2025 - HĐTĐ. 03 Hoàng Diệu, Tây Lộc, TP Huế', NULL, 5, '22', NULL, 1, NULL, '2025-08-18 08:03:20', '2025-12-19 04:26:44', 2, 0, 1),
(300, NULL, NULL, '3', NULL, '4', 'Trần Kiều Oanh', 0, '0375254384', 'ot87347@gmail.com', '046306001211', NULL, '2006-10-17', 'Huế', 'Trần Thanh Được', '0369821490', 'Huế', '1', 7, '2025-07-17', 0, NULL, NULL, NULL, 'Phú Dương, Phú Vang, Huế', NULL, 5, '22', NULL, 1, NULL, '2025-08-18 08:03:20', '2025-12-19 04:26:40', 1, 0, 1),
(301, NULL, NULL, '3', NULL, '4', 'Phan Thị Thu Ngân', 0, '', '', '046196011439', NULL, '1996-10-31', 'Huế', 'Phan Phê', '0978181514', 'Huế', '1', 7, '2025-07-17', 0, NULL, NULL, NULL, 'Ngày ký HĐ: 11/08/2025. Mã HĐ: 20/2025 - HĐTĐ. Hương Toàn, Hương Trà, TP Huế', NULL, 5, '22', NULL, 1, NULL, '2025-08-18 08:03:20', '2025-12-19 04:26:38', 2, 0, 1),
(302, NULL, NULL, '3', NULL, '4', 'Hồ Thanh An', 0, '0775545009', NULL, NULL, NULL, '2008-08-14', 'Huế', NULL, NULL, 'Huế', '3', 2, NULL, 0, NULL, NULL, NULL, 'Bận học trên trường, chưa sắp xếp được thời gian theo học', NULL, 14, '23', NULL, 7, NULL, '2025-08-18 08:06:21', '2025-08-19 03:32:45', 1, 0, 1),
(303, NULL, NULL, '3', NULL, '4', 'Lưu Đặng Phương Nhi', 0, '0899487445', NULL, NULL, NULL, '2008-01-04', 'Huế', NULL, NULL, 'Huế', '4', 1, NULL, 0, NULL, NULL, NULL, 'Hoàn tiền học phí 1.690.000', NULL, 14, '25', NULL, 9, NULL, '2025-08-18 08:06:21', '2025-09-30 07:42:37', 1, 0, 1),
(304, NULL, NULL, '3', NULL, '4', 'Đoàn Anh Tú', 0, '0374224908', NULL, NULL, NULL, '2003-02-22', 'Huế', NULL, NULL, 'Huế', '1', 1, NULL, 0, NULL, NULL, NULL, 'Tiếp thu bài chậm, không có khả năng học tiếng', NULL, 5, '23', NULL, 7, NULL, '2025-08-18 08:06:21', '2025-08-19 07:55:59', 1, 0, 1),
(306, NULL, NULL, '3', NULL, '4', 'Hà Trần Thiện Đức', 0, '0932990900', NULL, NULL, NULL, '2008-07-27', 'Huế', NULL, NULL, 'Huế', '3', 1, NULL, 0, NULL, NULL, NULL, 'Bận học tại trường, chưa sắp xếp được thời gian theo học.', NULL, 14, '24', NULL, 7, NULL, '2025-08-18 08:06:21', '2025-08-19 07:44:43', 1, 0, 1),
(307, NULL, NULL, '3', NULL, '4', 'Đoàn Ngọc Bảo Quyên', 0, '0778528552', NULL, NULL, NULL, '2008-11-10', 'Huế', NULL, NULL, 'Huế', '4', 1, NULL, 0, NULL, NULL, NULL, '', NULL, 5, '25', NULL, 9, NULL, '2025-08-18 08:06:21', '2025-09-30 07:42:01', 1, 0, 1),
(308, NULL, NULL, '3', NULL, '4', 'Nguyễn Lê Phương Thanh', 0, '0889241866', NULL, '46308000230', NULL, '2008-02-07', 'Huế', 'Lê Thị Thu Ba', '795515505', 'Huế', '4', 1, NULL, 0, NULL, NULL, NULL, 'Hoàn tiền học phí 1.690.000', NULL, 14, '25', NULL, 9, NULL, '2025-08-18 08:06:21', '2025-09-30 07:42:23', 1, 0, 1),
(309, NULL, NULL, '3', NULL, '4', 'Ngô Thị Huyền Giang', 0, '0948580073', NULL, NULL, NULL, '2008-09-05', 'Huế', NULL, NULL, 'Huế', '2', 1, NULL, 0, NULL, NULL, NULL, 'Không có khả năng học tiếng', NULL, 14, '23', NULL, 7, NULL, '2025-08-18 08:06:21', '2025-08-19 07:55:23', 1, 0, 1),
(310, NULL, NULL, '3', NULL, '4', 'Hà Thị Thu Hương', 0, '0345082594', NULL, NULL, NULL, '2006-04-07', 'Huế', NULL, NULL, 'Huế', '2', 1, NULL, 0, NULL, NULL, NULL, '', NULL, 5, '23', NULL, 7, NULL, '2025-08-18 08:06:21', '2025-08-18 09:33:59', 1, 0, 1),
(311, NULL, NULL, '3', NULL, '4', 'Trương Hữu Nhật Minh', 0, NULL, NULL, NULL, NULL, NULL, 'Huế', NULL, NULL, 'Huế', '2', 1, NULL, 0, NULL, NULL, NULL, 'Nghỉ đi thi đấu cho tỉnh. ', NULL, 14, '23', NULL, 9, NULL, '2025-08-18 08:06:21', '2025-08-19 07:54:56', 1, 0, 1),
(312, NULL, NULL, '3', NULL, '4', 'Hà Lương Khang', 0, '0869045054', NULL, NULL, NULL, '2004-10-31', 'Huế', NULL, NULL, 'Huế', '2', 1, NULL, 0, NULL, NULL, NULL, 'Đối tác gửi sang học, chuyển ra Hà Nội học. Làm hồ sơ', '12', 0, '24', NULL, 7, NULL, '2025-08-18 08:08:35', '2025-08-19 07:46:36', 1, 0, 1),
(313, NULL, NULL, '3', NULL, '4', 'Trương Viết Nghĩa', 0, '0339817123', NULL, NULL, NULL, '2002-09-16', 'Huế', NULL, NULL, 'Huế', '4', 2, NULL, 0, NULL, NULL, NULL, 'Học hết A2.1, có người thân làm hồ sơ bảo lãnh sang Đức.', NULL, 5, '24', NULL, 7, NULL, '2025-08-18 08:08:35', '2025-08-19 07:48:44', 1, 0, 1),
(314, NULL, NULL, '3', NULL, '4', 'Phan Thị Kiều Mai', 0, '0777445660', NULL, NULL, NULL, '2002-12-16', 'Huế', NULL, NULL, 'Huế', '4', 2, NULL, 0, NULL, NULL, NULL, 'Học hết A2.1 có người thân bảo lãnh sang Đức', NULL, 5, '24', NULL, 7, NULL, '2025-08-18 08:08:35', '2025-08-19 07:49:20', 1, 0, 1),
(317, NULL, NULL, '3', NULL, '4', 'Phan Tấn Phong ( Tái Sinh)', 0, '0914004351', NULL, NULL, NULL, '1994-07-21', 'Huế', NULL, NULL, 'Huế', '2', 1, NULL, 0, NULL, NULL, NULL, 'Không sắp xếp được công việc, gia đình có hướng đi khác.', NULL, 5, '24', NULL, 7, NULL, '2025-08-18 08:08:35', '2025-08-19 07:50:21', 1, 0, 1),
(320, NULL, NULL, '3', NULL, '4', 'Hoàng Xuân Dũng', 0, '0774421318', NULL, NULL, NULL, '2001-01-15', 'Huế', NULL, NULL, 'Huế', '1', 2, NULL, 0, NULL, NULL, NULL, '', NULL, 5, '24', NULL, 9, NULL, '2025-08-18 08:08:35', '2025-08-18 09:12:00', 3, 0, 1),
(321, NULL, NULL, '3', NULL, '4', 'Lê Thanh Nhật', 0, '0373849580', NULL, NULL, NULL, '2005-09-27', 'Huế', NULL, NULL, 'Huế', '4', 2, NULL, 0, NULL, NULL, NULL, '', '9', 0, '25', NULL, 9, NULL, '2025-08-18 08:08:35', '2025-10-17 03:33:22', 1, 0, 1),
(322, NULL, NULL, '3', NULL, '4', 'Lê Tấn Tài', 0, '0326871273', NULL, NULL, NULL, '2006-05-10', 'Quảng Bình', NULL, NULL, 'Quảng Bình', '4', 2, NULL, 0, NULL, NULL, NULL, 'Không có khả năng hoc tiếng. Thường xuyên nghỉ học.', NULL, 5, '24', NULL, 9, NULL, '2025-08-18 08:08:35', '2025-08-19 07:53:19', 3, 0, 1),
(324, NULL, NULL, '3', NULL, '4', 'Lê Thị Thanh Thủy', 0, '0393821104', NULL, '46304001618', NULL, '2004-11-21', 'Huế', 'Mai Thị Tuyết', '395748186', 'Huế', '4', 1, NULL, 0, NULL, NULL, NULL, '', NULL, 14, '25', NULL, 9, NULL, '2025-08-18 08:08:49', '2025-10-17 03:30:10', 1, 0, 1),
(325, NULL, NULL, '3', NULL, '4', 'Nguyễn Văn Nam', 0, '0867491723', NULL, '46204007272', NULL, '2004-12-22', 'Huế', 'Nguyễn Văn Thành', '977098677', 'Huế', '4', 1, NULL, 0, NULL, NULL, NULL, '', NULL, 14, '25', NULL, 9, NULL, '2025-08-18 08:08:49', '2025-10-17 03:30:13', 1, 0, 1),
(326, NULL, NULL, '3', NULL, '4', 'Nguyễn Thanh Phương', 0, '0359704716', NULL, '46205003854', NULL, '2005-10-08', 'Huế', 'Lê Thị Vinh', '363657229', 'Huế', '4', 1, NULL, 0, NULL, NULL, NULL, '', NULL, 14, '25', NULL, 9, NULL, '2025-08-18 08:08:49', '2025-10-17 03:30:17', 1, 0, 1),
(327, NULL, NULL, '3', NULL, '4', 'Hồ Thị Thanh Thảo', 0, '0399065357', NULL, '46302007476', NULL, '2002-11-16', 'Huế', 'Hồ Văn Tú', '393496891', 'Huế', '4', 1, NULL, 0, NULL, NULL, NULL, 'Đã ký HĐ ngày 26/05/2025 . Mã HĐ: 13/2025- HĐTĐ. Thanh lý HĐ ngày 14/09/2025, hoàn lại 19.000.000', NULL, 14, '25', NULL, 9, NULL, '2025-08-18 08:08:49', '2025-10-17 03:32:06', 2, 0, 1),
(328, NULL, NULL, '3', NULL, '4', 'Trần Quỳnh Thư', 0, '0816390149', NULL, NULL, NULL, '2004-12-14', 'Huế', NULL, NULL, 'Huế', '4', 1, NULL, 0, NULL, NULL, NULL, 'Đã ký HĐ ngày: 26/05/2025. Mã số HĐ: 12/2025 - HĐTĐ. Thanh lý HĐ ngày 14/09/2025, hoàn lại 19.000.000', NULL, 14, '25', NULL, 9, NULL, '2025-08-18 08:08:49', '2025-10-17 03:31:55', 2, 0, 1),
(329, NULL, NULL, '3', NULL, '4', 'Cao Hữu Long', 0, '0932883684', NULL, NULL, NULL, '2004-07-16', 'Huế', NULL, NULL, 'Huế', '4', 1, NULL, 0, NULL, NULL, NULL, '', '11', 0, '25', NULL, 9, NULL, '2025-08-18 08:08:49', '2025-10-17 03:32:14', 1, 0, 1),
(330, NULL, NULL, '3', NULL, '4', 'Dương Văn Đức', 0, '0345331056', NULL, NULL, NULL, '2006-07-12', 'Huế', NULL, NULL, 'Huế', '4', 1, NULL, 0, NULL, NULL, NULL, '', NULL, 14, '25', NULL, 9, NULL, '2025-08-18 08:08:49', '2025-10-17 03:32:16', 1, 0, 1),
(331, NULL, NULL, '3', NULL, '4', 'Trần Thị Thùy Trang', 0, '0971621100', NULL, NULL, NULL, '1994-01-09', 'Huế', NULL, NULL, 'Huế', '4', 1, NULL, 0, NULL, NULL, NULL, '', NULL, 14, '25', NULL, 9, NULL, '2025-08-18 08:08:49', '2025-10-17 03:32:22', 1, 0, 1),
(332, NULL, NULL, '3', NULL, '4', 'Trần Hữu Phúc', 0, '0967895946', NULL, NULL, NULL, '1994-07-24', 'Huế', NULL, NULL, 'Huế', '2', 1, NULL, 0, NULL, NULL, NULL, 'Không sắp xếp được thời gian theo học', NULL, 5, '25', NULL, 7, NULL, '2025-08-18 08:08:49', '2025-08-18 09:49:41', 1, 0, 1),
(333, NULL, NULL, '3', NULL, '4', 'Ngô Quang Anh Kiệt', 0, NULL, NULL, NULL, NULL, NULL, 'Huế', NULL, NULL, 'Huế', '4', 3, NULL, 0, NULL, NULL, NULL, 'Nghỉ học từ ngày 25/08/2025 vào Đà Nẵng học ĐH', NULL, 5, '25', NULL, 9, NULL, '2025-08-18 08:08:49', '2025-08-29 09:10:34', 1, 0, 1),
(334, NULL, NULL, '3', NULL, '4', 'La Khánh Ngọc', 0, '0784107512', NULL, NULL, NULL, '2006-05-12', 'Huế', NULL, NULL, 'Huế', '1', 5, NULL, 0, NULL, NULL, NULL, '', NULL, 5, '26', NULL, 2, NULL, '2025-08-18 08:08:59', '2025-10-21 06:15:56', 1, 0, 1),
(335, NULL, NULL, '3', NULL, '4', 'Hồ Ngọc Bảo Nhi', 0, '0948891175', NULL, NULL, NULL, '2002-01-28', 'Huế', NULL, NULL, 'Huế', '1', 5, NULL, 0, NULL, NULL, NULL, '', NULL, 5, '26', NULL, 2, NULL, '2025-08-18 08:08:59', '2025-10-21 06:15:52', 1, 0, 1),
(336, NULL, NULL, '3', NULL, '4', 'Nguyễn Lê Quỳnh Như', 0, '0332789683', NULL, NULL, NULL, '2005-08-03', 'Huế', NULL, NULL, 'Huế', '1', 5, NULL, 0, NULL, NULL, NULL, '', NULL, 19, '26', NULL, 2, NULL, '2025-08-18 08:08:59', '2025-10-21 06:15:58', 1, 0, 1),
(337, NULL, NULL, '3', NULL, '4', 'Nguyễn Lê Như Quỳnh', 0, '0344996061', NULL, NULL, NULL, '2004-05-18', 'Huế', NULL, NULL, 'Huế', '1', 5, NULL, 0, NULL, NULL, NULL, '', NULL, 19, '26', NULL, 2, NULL, '2025-08-18 08:08:59', '2025-10-21 06:16:03', 1, 0, 1),
(338, NULL, NULL, '3', NULL, '4', 'Trần Tuý Ngọc', 0, '0762734216', NULL, NULL, NULL, '2004-02-18', 'Huế', NULL, NULL, 'Huế', '1', 5, NULL, 0, NULL, NULL, NULL, '', NULL, 5, '26', NULL, 2, NULL, '2025-08-18 08:08:59', '2025-10-21 06:16:05', 1, 0, 1),
(340, NULL, NULL, '3', NULL, '4', 'Ngô Nguyễn Quỳnh Thi', 0, '0796692656', NULL, NULL, NULL, '2007-05-21', 'Huế', NULL, NULL, 'Huế', '2', 1, NULL, 0, NULL, NULL, NULL, 'Chờ khai giảng trình mới. Học viên tìm phương án khác', '10', 0, '27', NULL, 7, NULL, '2025-08-18 08:09:08', '2025-08-19 07:41:05', 1, 0, 1),
(341, NULL, NULL, '3', NULL, '4', 'Huỳnh Ngọc Minh Triết', 0, '0912711481', NULL, NULL, NULL, '2008-03-17', 'Huế', NULL, NULL, 'Huế', '2', 1, NULL, 0, NULL, NULL, NULL, '', NULL, 5, '27', NULL, 7, NULL, '2025-08-18 08:09:08', '2025-08-18 09:03:49', 1, 0, 1),
(342, NULL, NULL, '3', NULL, '4', 'Phan Hà Nhật Anh', 0, '0775073208', NULL, NULL, NULL, '2008-12-19', 'Huế', NULL, NULL, 'Huế', '2', 1, NULL, 0, NULL, NULL, NULL, 'Chờ khai giảng trình mới. HV  tìm phương án khác.', NULL, 14, '27', NULL, 7, NULL, '2025-08-18 08:09:08', '2025-08-19 07:41:56', 1, 0, 1),
(343, NULL, NULL, '3', NULL, '4', 'Nguyễn Hồ Vũ Long', 0, '0708178999', NULL, NULL, NULL, '2007-10-15', 'Huế', NULL, NULL, 'Huế', '2', 1, NULL, 0, NULL, NULL, NULL, 'Không có khả năng học tiếng', NULL, 14, '27', NULL, 7, NULL, '2025-08-18 08:09:08', '2025-08-18 09:41:28', 2, 0, 1),
(344, NULL, NULL, '3', NULL, '4', 'Hồ Việt Đức', 0, '0852753104', NULL, NULL, NULL, '2002-05-08', 'Huế', NULL, '', 'Huế', '2', 1, NULL, 0, NULL, NULL, NULL, '25H15 hết trình chờ lớp khai giảng trình mới. Học viên tìm phương án khác.', NULL, 14, '27', NULL, 7, NULL, '2025-08-18 08:09:08', '2025-08-19 07:40:11', 1, 0, 1),
(345, NULL, NULL, '3', NULL, '4', 'Viên Xuân Chun', 0, '0336578873', 'chunxuan@gmail.com', '046204006441', NULL, '2004-07-22', 'Huế', 'Nguyễn Thị Hằng', '0352223784', 'Huế', '1', 3, NULL, 0, NULL, NULL, NULL, 'Chuyển từ lớp 25H11, 25H15.', NULL, 5, '28', NULL, 9, NULL, '2025-08-18 08:09:08', '2026-01-06 01:20:03', 1, 0, 1),
(346, NULL, NULL, '3', NULL, '4', 'Trần Nhật Phụng', 0, '0888048951', NULL, NULL, NULL, '2003-07-05', 'Huế', NULL, NULL, 'Huế', '2', 1, NULL, 0, NULL, NULL, NULL, 'Không sắp xếp được công việc để tiếp tục theo học', '8', 0, '27', NULL, 9, NULL, '2025-08-18 08:09:08', '2025-10-08 10:16:48', 1, 0, 1),
(347, NULL, NULL, '3', NULL, '4', 'Nguyễn Trung Tín', 0, '0816284248', NULL, NULL, NULL, '1994-09-21', 'Quảng Trị', NULL, NULL, 'Quảng Trị', '2', 1, NULL, 0, NULL, NULL, NULL, 'Nghỉ học vì nhà quá xa, dã hoàn tiền học phí cón lại', NULL, 14, '27', NULL, 9, NULL, '2025-08-18 08:09:08', '2025-08-18 09:26:25', 1, 0, 1),
(348, NULL, NULL, '3', NULL, '4', 'Nguyễn Bình Thảo Ngân', 0, '0796520477', NULL, NULL, NULL, '2001-04-26', 'Huế', 'Nguyễn Bình Tú', '796520477', 'Huế', '2', 1, NULL, 0, NULL, NULL, NULL, 'Nghỉ học do không có khả năng học tiếng', NULL, 14, '27', NULL, 7, NULL, '2025-08-18 08:09:08', '2025-08-19 09:27:54', 2, 0, 1),
(349, NULL, NULL, '3', NULL, '4', 'Dương Hoài Công', 0, '0376272904', 'duonghoaicong3@gmail.com', '46206006824', NULL, '2006-04-29', 'Huế', 'Trần Thị Lý', '931447032', 'Huế', '1', 3, NULL, 0, NULL, NULL, NULL, 'Ngày ký HĐ: 11/08/2025. Mã HĐ: 14/2025 - HĐTĐ', NULL, 14, '28', NULL, 1, NULL, '2025-08-18 08:09:15', '2025-11-25 12:20:54', 2, 0, 1),
(350, NULL, NULL, '3', NULL, '4', 'Trần Anh Đức', 0, '0973179171', NULL, NULL, NULL, '2006-04-23', 'Huế', NULL, NULL, 'Huế', '1', 2, NULL, 0, NULL, NULL, NULL, 'Xuống trình học lại lớp 25h18 ngày 03/09/2025', NULL, 14, '31', NULL, 1, NULL, '2025-08-18 08:09:15', '2025-11-25 12:32:06', 3, 0, 1),
(351, NULL, NULL, '3', NULL, '4', 'Đặng Lan Nhật Hạ', 0, '0914284504', 'danglannhatha12@gmail.com', '46302003816', NULL, '2002-10-12', 'Huế', 'Phạm Hoàng Nhật Lan', '394809829', 'Huế', '1', 3, NULL, 0, NULL, NULL, NULL, '165 Đào Duy Anh, Thuận Lộc, TP Huế', NULL, 14, '28', NULL, 1, NULL, '2025-08-18 08:09:15', '2025-11-25 12:20:52', 1, 0, 1),
(353, NULL, NULL, '3', NULL, '4', 'Nguyễn Thị Thanh Thư', 0, '0823020232', 'thanhthu030307@gmail.com', NULL, NULL, '2003-07-03', 'Huế', 'Nguyễn Phước', '914955257', 'Huế', '1', 3, NULL, 0, NULL, NULL, NULL, 'Ngày ký HĐ: 11/08/2025. Mã HĐ\" 19/2025 - HĐTĐ. Phú Xuân - TP Huế', NULL, 5, '28', NULL, 1, NULL, '2025-08-18 08:09:15', '2025-11-25 12:20:49', 2, 0, 1),
(354, NULL, NULL, '3', NULL, '4', 'Phùng Thị Lan Anh', 0, '0342237728', 'lanh88196@gmail.com', '44307003475', NULL, '2007-03-04', 'Huế', 'Lê Thị Lội', '0824548766', 'Huế', '1', 3, NULL, 0, NULL, NULL, NULL, '', NULL, 15, '28', NULL, 1, NULL, '2025-08-18 08:09:15', '2025-12-09 06:17:08', 2, 0, 1),
(355, NULL, NULL, '3', NULL, '4', 'Đặng Nguyễn Quốc Bảo', 0, '0796794941', 'quocbao200701@gmail.com', '46207006951', NULL, '2007-10-28', 'Huế', 'Đặng Quang Vinh', '866137055', 'Huế', '1', 3, NULL, 0, NULL, NULL, NULL, 'Ngày ký HĐ: 11/08/2025. Mã  HĐ: 17/2025 - HĐTĐ. Thôn Tây Lệnh, Xã Nam Đông, Phú Lộc, TP Huế', NULL, 5, '28', NULL, 1, NULL, '2025-08-18 08:09:15', '2025-11-25 12:20:44', 2, 0, 1),
(356, NULL, NULL, '3', NULL, '4', 'Nguyễn Ngọc Hương Giang', 0, '0866717583', NULL, '46310009836', NULL, '2010-07-14', 'Huế', 'Phạm Thị Thu Hường', '379292555', 'Huế', '1', 1, NULL, 0, NULL, NULL, NULL, 'Bảo lưu từ ngày 07/08/2025 . Vào học lại từ ngày 10/12/2025', NULL, 15, '38', NULL, 1, NULL, '2025-08-18 08:09:15', '2025-12-10 01:46:51', 1, 0, 1),
(357, NULL, NULL, '3', NULL, '4', 'Lê Thị Hoài Nhi', 0, '0775479560', NULL, NULL, NULL, '2007-11-20', 'Huế', NULL, NULL, 'Huế', '1', 3, NULL, 0, NULL, NULL, NULL, 'Ngày ký HĐ: 11/08/2025. Mã HĐ\" 18/2025 - HĐTĐ', NULL, 5, '28', NULL, 1, NULL, '2025-08-18 08:09:15', '2025-11-25 12:20:42', 2, 0, 1),
(359, NULL, NULL, '3', NULL, '4', 'Đoàn Nguyên Đức', 0, '0886780171', 'nduc15092007@gmail.com', '46207012626', NULL, '2007-09-15', 'Huế', 'Đoàn Quang Hoàng', '914191496', 'Huế', '1', 3, NULL, 0, NULL, NULL, NULL, 'Phường Dương Nổ, TP Huế', NULL, 14, '28', NULL, 1, NULL, '2025-08-18 08:09:23', '2025-11-25 12:20:40', 1, 0, 1),
(360, NULL, NULL, '3', NULL, '4', 'Trần Ngọc Bảo Khanh', 0, '0989971067', NULL, '46307000760', NULL, '2007-06-25', 'Huế', NULL, NULL, 'Huế', '2', 1, NULL, 0, NULL, NULL, NULL, '', '10', 0, '29', NULL, 9, NULL, '2025-08-18 08:09:23', '2025-08-22 05:04:10', 2, 0, 1),
(361, NULL, NULL, '3', NULL, '4', 'Phạm Võ Nhật Uyên', 0, '0934962486', 'bkátuki098@gmail.com', '46307003835', NULL, '2007-10-18', 'Huế', 'Võ Thị Hồng Hạnh', '905056373', 'Huế', '1', 3, NULL, 0, NULL, NULL, NULL, 'Ngày ký HĐ: 05/09/2025 - Mã số HĐ: 22/2025 - HĐTĐ. 114 Phan Bội Châu, Trường An, TP Huế', NULL, 14, '29', NULL, 1, NULL, '2025-08-18 08:09:23', '2025-11-25 12:35:21', 2, 0, 1),
(362, NULL, NULL, '3', NULL, '4', 'Nguyễn Bá Vũ Minh', 0, '0796440308', 'nguyenbavuminh2007@gmail.com', '40207010401', NULL, '2007-08-03', 'Huế', 'Nguyễn Thị Thanh', '935145068', 'Huế', '1', 3, NULL, 0, NULL, NULL, NULL, 'Ngày ký HĐ: 05/09/2025 - Mã số HĐ: 23/2025 - HĐTĐ. 29/47 Ưng Bình, Vỹ Dạ, TP Huế', NULL, 14, '29', NULL, 1, NULL, '2025-08-18 08:09:23', '2025-11-25 12:35:14', 2, 0, 1),
(363, NULL, NULL, '3', NULL, '4', 'Võ Văn Tài', 0, '0982609761', 'vovantai12022005@gmail.com', '45205007538', NULL, '2005-02-12', 'Quảng Trị', 'Võ Văn Linh', '398533199', 'Quảng Trị', '1', 3, NULL, 0, NULL, NULL, NULL, 'Ngày ký HĐ: 05/09/2025 - Mã số HĐ: 24-2025/ HĐTĐ. Đội 2 Thi Ông, Hải Hưng, Hải Lăng, Quảng Trị', '15', 15, '29', NULL, 1, NULL, '2025-08-18 08:09:23', '2026-01-06 01:24:35', 2, 0, 1),
(364, NULL, NULL, '3', NULL, '4', 'Dương Thị Xuân Mai', 0, '0906557571', 'cobramai1609@gmail.com', '46302010368', NULL, '2002-09-15', 'Huế', 'Dương Thị Xuân Nga', '934983154', 'Huế', '1', 3, NULL, 0, NULL, NULL, NULL, 'Ngày ký HĐ: 05/09/2025 - Mã số HĐ: 25-2025/ HĐTĐ. C19 Khu tái định cư, Phú Hậu, TP Huế', NULL, 14, '29', NULL, 1, NULL, '2025-08-18 08:09:23', '2025-11-25 12:35:06', 2, 0, 1),
(365, NULL, NULL, '3', NULL, '4', 'Hoàng Trần Đình Thức', 0, '0943726082', 'dinhthucfc@gmail.com', '46098006464', '', '1998-01-15', 'Huế', 'Hoàng Đình Tịnh', '903521409', 'Huế', '1', 3, NULL, 0, NULL, NULL, NULL, 'Ngày ký HĐ: 05/09/2025 - Mã số HĐ: 26/2025 - HĐTĐ. Thôn Lương Cổ Nam, Quảng Điền, TP Huế', NULL, 14, '29', NULL, 1, NULL, '2025-08-18 08:09:23', '2025-11-25 12:35:02', 2, 0, 1),
(367, NULL, NULL, '3', NULL, '4', 'Cao Thị Trà Mi', 0, '0353787255', NULL, NULL, NULL, '2007-12-18', 'Huế', NULL, '', 'Huế', '1', 3, NULL, 0, NULL, NULL, NULL, 'Ngày ký HĐ: 05/09/2025 - Mã số HĐ: 27-2025 / HĐTĐ', NULL, 14, '29', NULL, 1, NULL, '2025-08-18 08:09:23', '2025-11-25 12:34:58', 2, 0, 1),
(395, NULL, NULL, '3', NULL, '4', 'Ngô Thị Quyên', 0, '0906454102', NULL, NULL, NULL, '2002-10-12', 'Huế', NULL, NULL, 'Huế', '2', 1, NULL, 0, NULL, NULL, NULL, '', NULL, 14, '31', NULL, 9, NULL, '2025-09-04 09:45:52', '2025-09-22 08:29:39', 2, 0, 1),
(396, NULL, NULL, '3', NULL, '4', 'Ngô Thị Kiều Diễm', 0, '0796364056', '', '049306013967', '', NULL, 'Huế', 'Nguyễn Thị Kiều Linh', '0942602255', 'Huế', '1', 2, NULL, 0, NULL, NULL, NULL, 'Ký HĐ: 07/10/2025. Mã HĐ: 29/2025 - HĐTĐ', NULL, 14, '31', NULL, 1, NULL, '2025-09-04 09:45:52', '2025-11-25 12:32:00', 2, 0, 1),
(399, NULL, NULL, '3', NULL, '4', 'Lý Gia Hân', 0, '0859635810', 'lygiahan1692007@gmail.com', '046307010409', NULL, '2007-09-16', 'Huế', 'Lý Đắc Lập', '0359797878', 'Huế', '1', 2, NULL, 0, NULL, NULL, NULL, '266 Ngự Bình, Trường An, Tp Huế', '13', 0, '31', NULL, 1, NULL, '2025-09-04 09:45:52', '2025-11-25 12:31:55', 1, 0, 1),
(404, NULL, NULL, '3', NULL, '4', 'Cao Văn Quốc Khánh', 0, '0396236861', NULL, NULL, NULL, '2002-09-02', 'Huế', NULL, NULL, 'Huế', '2', 1, NULL, 0, NULL, NULL, NULL, '', '14', 0, '31', NULL, 9, NULL, '2025-09-04 09:45:52', '2025-10-09 07:08:49', 1, 0, 1),
(407, NULL, NULL, '3', NULL, '4', 'Hoàng Trọng Quốc Thắng', 0, '0932520932', NULL, NULL, NULL, '1987-10-06', 'Huế', NULL, NULL, 'Huế', '1', 2, NULL, 0, NULL, NULL, NULL, '', NULL, 14, '31', NULL, 1, NULL, '2025-09-04 09:45:52', '2025-11-25 12:31:51', 1, 0, 1),
(408, NULL, NULL, NULL, NULL, '4', 'Hoàng Quốc Phú', 1, '0356902845', '', '46203001203', '', NULL, 'Huế', '', '', '', '1', 7, '11/02/2025', 0, '0', '', '', '', '', 5, '22', '', 1, NULL, '2025-09-19 09:02:35', '2025-12-19 04:26:36', 1, 0, 1),
(409, NULL, NULL, NULL, NULL, '4', 'Đoàn Nguyễn Khánh Nguyên', 1, '0984639351', '', '', '', NULL, 'Huế', 'Nguyễn thị yến', '905825189', '', '1', 7, '', 0, '0', '', '', 'Ngày ký HĐ : 18/04/2025. Mã số HĐ: 02/2025 - DHN', '', 14, '22', '', 1, NULL, '2025-09-19 09:03:59', '2025-12-19 04:26:34', 3, 0, 1),
(410, NULL, NULL, '3', NULL, '4', 'Mai Phạm Anh Tuấn', 0, '0386642791', NULL, '046094006042', '', '1994-10-09', 'Huế', 'Mai Trọng Vệ', '0986806294', 'Huế', '1', 2, NULL, 0, NULL, NULL, NULL, '', '7', 0, '31', NULL, 1, NULL, '2025-09-22 08:36:19', '2025-11-25 12:31:46', 2, 0, 1),
(411, NULL, NULL, '3', NULL, '4', 'Nguyễn Thị Thu Hiền', 0, '0374887406', 'nguyenthithuhien130827@gmail.com', '046307008494', NULL, '2007-08-13', 'Huế', 'Nguyễn Thu Cúc', '0935109286', 'Huế', '1', 2, NULL, 0, NULL, NULL, NULL, 'Ký HĐ: 07/10/2025. Mã HĐ: 30/2025 - HĐTĐ. 66/2A Tôn Thất Cảnh, An Cựu, TP Huế', NULL, 14, '31', NULL, 1, NULL, '2025-09-22 08:36:19', '2025-11-25 12:31:42', 2, 0, 1),
(412, NULL, NULL, '3', NULL, '4', 'Trần Thị Mỹ Nhung', 0, '0787510188', '', '046307003578', NULL, '2007-06-23', 'Huế', 'Trần Sỉ', '0787510188', 'Huế', '1', 2, NULL, 0, NULL, NULL, NULL, '58 Thái Dương, Thuận An, Tp Huế', '7', 0, '31', NULL, 1, NULL, '2025-09-22 08:36:19', '2025-11-25 12:31:36', 1, 0, 1),
(413, NULL, NULL, '3', NULL, '4', 'Đặng Đỗ Ngọc Trinh', 0, '0987638210', NULL, NULL, NULL, '2007-11-02', 'Huế', NULL, NULL, 'Huế', '2', 1, NULL, 0, NULL, NULL, NULL, '', NULL, 14, '31', NULL, 9, NULL, '2025-09-22 08:36:19', '2025-10-06 09:07:17', 2, 0, 1),
(414, NULL, NULL, '3', NULL, '4', 'Ngô Thị Phương Tuyền', 0, '0868108701', 'ntpt3032007@gmail.com', '046307003608', NULL, '2007-03-30', 'Huế', 'Phạm Thị Thuý Hà', '0702338522', 'Huế', '1', 2, NULL, 0, NULL, NULL, NULL, 'Ký HĐ: 07/10/2025. Mã HĐ: 31/2025 - HĐTĐ. Tổ dân phố 2, Phù Bài, TP Huế. TLHĐ ngày 31/12/2025. Số tiền hoàn 19.000.000', NULL, 5, '31', NULL, 9, NULL, '2025-09-22 08:36:19', '2026-01-06 01:22:44', 2, 1, 1),
(415, NULL, NULL, '3', NULL, '4', 'Lê Thị Yến Nhi', 0, '0336882904', NULL, '046302005310', NULL, '2002-11-03', 'Huế', 'Nguyễn Thị Thu', '0387597540', 'Huế', '1', 2, NULL, 0, NULL, NULL, NULL, 'Ký HĐ ngày 06/10/2025. Mã HĐ: 32/2025-HĐTĐ', NULL, 14, '32', NULL, 1, NULL, '2025-09-22 08:36:19', '2025-11-25 12:34:21', 2, 0, 1),
(416, NULL, NULL, '3', NULL, '4', 'Lê Thị Xuân Nghi', 0, '0974856010', NULL, NULL, NULL, '2003-08-30', 'Huế', NULL, NULL, 'Huế', '2', 1, NULL, 0, NULL, NULL, NULL, '', '14', 0, '31', NULL, 9, NULL, '2025-09-22 08:36:19', '2025-10-09 07:07:55', 1, 0, 1),
(418, NULL, NULL, '3', NULL, '4', 'Hoàng Thị Tú Uyên', 0, NULL, NULL, NULL, NULL, NULL, '', NULL, NULL, '', '2', 1, NULL, 0, NULL, NULL, NULL, 'Chuyển sang lớp tồi 25h19', NULL, 14, '31', NULL, 9, NULL, '2025-09-22 08:36:19', '2025-10-06 09:11:48', 1, 0, 1),
(419, NULL, NULL, NULL, NULL, '', 'Hoàng Thị Kim Ngọc', 0, '', 'hoangthikimngoc1008@gmil.com', '046307006659', '', NULL, '', 'Hoàng Đình Lợi', '0373720221', '', '1', 2, '15/Jul/25', 0, '0', '', '', 'Xuống trình học lại lớp 25h18 ngày 03/09/2025. Đã ký biên bản TLHĐ ngày 04/12/2025. Hoàn tiền 25.000.000 ngày 05/01/2026', '', 15, '31', '', 9, NULL, '2025-09-22 08:50:40', '2026-01-06 01:17:09', 3, 0, 1),
(420, NULL, NULL, NULL, NULL, '4', 'Phạm Ngọc Pháp', 1, '0832759919', 'phaptrunghoc@gmail.com', '046202011720', '', NULL, '', '', '', '', '0', 1, '', 0, '0', '', '', '', '', 5, '32', '', 9, NULL, '2025-10-02 06:17:14', '2025-11-05 07:11:43', NULL, 0, 1),
(421, NULL, NULL, NULL, NULL, '4', 'Trần Minh Tuấn', 1, '0364942616', '', '044096011490', '', NULL, '', '', '', '', '1', 2, '', 0, '0', '', '', 'Ký HĐ ngày 16/10/2025. Mã HĐ: 02/2025 - HĐTĐ - HL', '', 5, '32', '', 1, NULL, '2025-10-02 06:20:46', '2025-11-25 12:34:17', 1, 0, 1),
(422, NULL, NULL, NULL, NULL, '4', 'Phan Thị Thuỳ Trang', 0, '0357113784', '', '04630710329', '', NULL, '', 'Phan Văn Tân', '0983708177', '', '1', 2, '', 0, '0', '', '', '', '', 14, '32', '', 1, NULL, '2025-10-02 06:25:08', '2025-12-19 04:11:24', 2, 0, 1),
(423, NULL, NULL, NULL, NULL, '4', 'Tống Hồ Như Ngọc', 0, '0819465125', 'tonghonhungoc@gmail.com', '046301003916', '', NULL, '', 'Tống Hồ Thanh Hải', '0769864725', '', '2', 1, '', 0, '0', '', '', '', '', 14, '32', '', 9, NULL, '2025-10-02 06:26:58', '2025-11-25 11:36:25', 2, 0, 1),
(424, NULL, NULL, NULL, NULL, '4', 'Lê Thị Hoài Như', 0, '0334866601', 'hoainhule463@gmail.com', '046305000525', '', NULL, '', 'Lê Thị Thanh', '0376463428', '', '1', 2, '', 0, '0', '', '', 'Tân Thành, Phong Quảng, Huế', '', 22, '32', '', 1, NULL, '2025-10-02 07:16:04', '2025-11-25 12:34:05', 2, 0, 1),
(425, NULL, NULL, NULL, NULL, '4', 'Phan Tiến Lợi', 1, '078404675', '', '046202004785', '', NULL, '', '', '0767289152', '', '1', 2, '', 0, '0', '', '', 'Ký HĐ ngày 16/10/2025. Mã HĐ: 01/2025 - HĐTĐ - HL', '', 22, '32', '', 1, NULL, '2025-10-02 07:17:23', '2025-11-25 12:34:00', 1, 0, 1),
(426, NULL, NULL, NULL, NULL, '4', 'Hoàng Mai Anh', 0, '0352736874', 'hoangmaianh1211006@gmal.com', '046306006398', '', NULL, '', '', '', '', '1', 1, '', 0, '0', '', '', '', '', 5, '32', '', 9, NULL, '2025-10-02 07:18:45', '2025-11-25 12:33:46', 2, 0, 1),
(427, NULL, NULL, NULL, NULL, '4', 'Ngô Anh Nhân', 0, '', 'ngoanhnhan1994@gmail.com', '046094010695', '', NULL, '', 'Tú Anh', '', 'Mỹ Thượng, TP Huế', '1', 1, '', 0, '0', '', '', '', '', 15, '32', '', 9, NULL, '2025-10-02 07:23:40', '2025-11-06 07:04:28', 2, 0, 1),
(428, NULL, NULL, NULL, NULL, '4', 'Đậu Thị Ánh Quỳnh', 0, '0964107328', 'anhquynh@gmail.com', '042307000579', '', NULL, '', '', '', 'Kỳ Anh, Hà Tĩnh', '2', 1, '', 0, '0', '', '', '', '', 5, '32', '', 9, NULL, '2025-10-02 07:25:06', '2025-11-05 07:11:12', NULL, 0, 1),
(429, NULL, NULL, NULL, NULL, '4', 'Nguyễn Khánh', 1, '0377365205', '', '', '', NULL, '', '', '', '', '0', 1, '', 0, '0', '', '', 'Không theo kịp bài', '', 14, '32', '', 9, NULL, '2025-10-06 08:43:15', '2025-11-05 07:11:38', 1, 0, 1),
(430, NULL, NULL, NULL, NULL, '4', 'Lê Quốc Khánh', 1, '364793580', '', '', '', NULL, '', '', '', '', '1', NULL, '', 0, '0', '', '', '', '', 5, '26', '', 2, NULL, '2025-10-06 09:21:38', '2025-10-21 06:16:10', 1, 0, 1),
(431, NULL, NULL, NULL, NULL, '4', 'Thân Thị Hoàng Anh', 0, '767747061', 'thanthihoanganh0602@gmail..com', '046304009806', '', NULL, '', 'Hoàng Công Thạnh ', '0905811101', '', '1', 3, '', 0, '0', '', '', '531 Bùi Thị Xuân, Thuỷ Biều, Thuận Hoá, Tp Huế', '', 5, '38', '', 1, NULL, '2025-10-06 09:41:22', '2025-12-17 02:40:27', 3, 0, 1),
(432, NULL, NULL, NULL, NULL, '4', 'Nguyễn Phương Nguyên Thảo', 0, '776196641', '', '', '', NULL, '', '', '', '', '1', 3, '', 0, '0', '', '', '', '', 14, '29', '', 1, NULL, '2025-10-06 09:46:18', '2025-11-25 12:34:45', 3, 0, 1),
(433, NULL, NULL, NULL, NULL, '4', 'Trần Nhật Phụng', 1, '888048951', '', '', '', NULL, '', '', '', '', '1', 3, '', 0, '0', '', '', 'Muốn tự luyện thi, không tiếp tục theo học. Số tiền hoàn: 4.673.000', '8', 1, '28', '', 9, NULL, '2025-10-06 09:50:31', '2026-01-06 01:21:36', 1, 0, 1),
(434, NULL, NULL, NULL, NULL, '4', 'Lê Thị Thu Thảo', 0, '0978740985', 'lethithuthao1232002@gmail.com', '046302008905', '', NULL, '', 'Ngô Thị Hiền', '0978917403', 'Ngự Bình, An Cựu, Huế', '1', 2, '', 0, '0', '', '', '76 Ngự Bình, An Cựu, Thuận Hoá, TP Huế', '', 22, '32', '', 1, NULL, '2025-10-17 06:24:59', '2025-11-25 12:33:53', 2, 0, 1),
(435, NULL, NULL, NULL, NULL, '15', 'Bùi Thiên Phú', 0, '0708018345', '', '044300005892', '', '2000-08-23', 'Trường Ninh, Quảng Trị', '', '', '', '1', 2, '', 0, '0', '', '', '', '', 22, '32', '', 1, NULL, '2025-11-06 06:40:58', '2025-12-01 06:53:22', 1, 0, 1),
(436, NULL, NULL, NULL, NULL, '4', 'Đỗ Bảo Nam', 1, '867209825', '', '', '', '2006-02-05', '', '', '', '', '2', 2, '', 0, '0', '', '', '', '', 5, '32', '', 1, NULL, '2025-11-07 11:29:55', '2025-12-19 04:11:36', 2, 0, 1),
(437, NULL, NULL, NULL, NULL, '4', 'Nguyễn Mạnh Cường', 1, '0328928265', '', '', '', NULL, '', '', '', '', '0', NULL, '', 0, '0', '', '', 'Đăng ký làm HS DHN', '', 5, 'None', '', 2, NULL, '2025-11-13 06:15:53', '2025-11-13 06:16:40', 3, 0, 1),
(438, NULL, NULL, NULL, NULL, '4', 'Võ Nguyễn Quý An', 1, '0935174392', 'tranngocthanhha1411@gmail.com', '046206001559', '', '2006-01-04', '', 'Bố Võ Hòa/ Mẹ Nguyễn Thị Kiều Oanh', '0775111162', 'Thủy Bằng- Hương Thủy- TP huế', '1', 1, '', 0, '0', '', '', '34/119 Hùng vương, phường Thuận hóa, TP Huế', '', 22, '38', '', 1, NULL, '2025-11-15 03:41:15', '2025-12-17 02:40:13', 2, 0, 1),
(439, NULL, NULL, NULL, NULL, '4', 'Trần Ngọc Thanh Hà', 0, '', 'vonguyenquyan412006@gmail.com', '046309009478', '', '2009-11-14', '', 'Trần Hùng', '0966515615', '34/119 Hùng Vương, Thuận hóa, TP huế', '1', 1, '', 0, '0', '', '', '3/26 hoàng diệu, p tây lộc,tp huế', '', 22, '38', '', 1, NULL, '2025-11-15 03:46:18', '2025-12-17 02:40:10', 2, 0, 1),
(440, NULL, NULL, NULL, NULL, '4', 'Nguyễn Ngọc Như Quỳnh', 0, '', 'quynh010805@gmail.com', '046305000556', '', '1999-09-01', '', 'Đặng Thị Bé', '774458659', '', '1', 1, '', 0, '0', '', '', 'quảng công, p. phong quảng, tp huế', '', 14, '38', '', 1, NULL, '2025-12-08 07:45:37', '2025-12-17 02:40:07', 2, 0, 1),
(441, NULL, NULL, NULL, NULL, '4', 'Nguyễn Ngọc Hương Giang', 0, '866717583', 'huonggianghue147@gmail.com', '046310009836', '', '2010-07-14', 'Huế', 'Phạm thị thu hường', '0866717583', 'Chung cư xã hội West sky,Phường vĩ dạ, TP huế', '0', 1, '', 0, '0', '', '', '', '15', 15, '38', '', 1, NULL, '2025-12-17 02:39:33', '2026-01-06 01:24:16', 1, 0, 1),
(442, NULL, NULL, NULL, NULL, '4', 'Mai Nhã Phương', 0, '395157873', 'mainhaphuong.hue@gmail.com', '046307005975', '', '2007-04-10', 'Huế', 'Nguyễn Thị Phương Tú', '0905078738', '20/5 Nguyễn Hoàng, P Kim Long, TP Huế', '1', 1, '', 0, '0', '', '', '', '', 14, '38', '', 1, NULL, '2025-12-17 02:46:19', '2025-12-23 01:33:31', 2, 0, 1),
(443, NULL, NULL, NULL, NULL, '4', 'Hoàng Xuân Hiếu', 1, '395157873', 'Hxuanhieu16@gmail.com', '046207003896', '', '2007-03-12', '', 'Hoàng Thị Thùy Nhi', '868403173', '', '1', 1, '', 0, '0', '', '', '', '', 5, '38', '', 1, NULL, '2025-12-17 02:49:24', '2025-12-23 01:33:28', 2, 0, 1),
(444, NULL, NULL, NULL, NULL, '4', 'Bùi Thông Nhật Phúc', 1, '0762575128', '', '046201003489', '', '2001-08-20', '4/50 hàm nghi, phường thuận hóa, tp huế', '', '', '', '2', 2, '12/Dec/25', 0, '0', '', '', '4/50 hàm nghi, phường thuận hóa, tp huế. Vào học từ giữa trình A1.2', '', 14, '41', '', 1, NULL, '2025-12-22 05:50:21', '2025-12-23 01:34:01', 1, 0, 1);

-- --------------------------------------------------------

--
-- Table structure for table `hoc_vien_lop_hoc`
--

CREATE TABLE `hoc_vien_lop_hoc` (
  `hoc_vien_id` int(11) NOT NULL,
  `lop_hoc_id` int(11) NOT NULL,
  `ngay_dang_ky` date DEFAULT NULL,
  `trang_thai` varchar(50) DEFAULT 'Đang học'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

-- --------------------------------------------------------

--
-- Table structure for table `issues`
--

CREATE TABLE `issues` (
  `id` int(11) NOT NULL,
  `student_id` int(11) DEFAULT NULL,
  `issue_type` varchar(100) DEFAULT NULL,
  `status` varchar(50) DEFAULT 'Open',
  `created_at` timestamp NOT NULL DEFAULT current_timestamp(),
  `closed_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `issues`
--

INSERT INTO `issues` (`id`, `student_id`, `issue_type`, `status`, `created_at`, `closed_at`) VALUES
(4, 4, 'Hồ sơ học viên', 'Open', '2025-05-05 06:40:29', NULL);

-- --------------------------------------------------------

--
-- Table structure for table `khoan_chi_phi`
--

CREATE TABLE `khoan_chi_phi` (
  `id` int(11) NOT NULL,
  `chi_nhanh_id` int(11) NOT NULL,
  `hoc_vien_id` int(11) DEFAULT NULL,
  `nhan_su_id` int(11) DEFAULT NULL,
  `chuyen_nhuong_id` int(11) DEFAULT NULL,
  `loai_chi_phi_id` int(11) NOT NULL,
  `hoa_don` varchar(255) DEFAULT NULL,
  `so_tien` decimal(15,2) NOT NULL,
  `han_chi` date DEFAULT NULL,
  `ngay_chi` date DEFAULT NULL,
  `mo_ta` text DEFAULT NULL,
  `attachment` varchar(255) DEFAULT NULL,
  `status` tinyint(4) DEFAULT 0,
  `created_at` timestamp NOT NULL DEFAULT current_timestamp()
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

-- --------------------------------------------------------

--
-- Table structure for table `khoan_thu_phi`
--

CREATE TABLE `khoan_thu_phi` (
  `id` int(11) NOT NULL,
  `chi_nhanh_id` int(11) NOT NULL,
  `hoc_vien_id` int(11) NOT NULL,
  `loai_thu_phi_id` int(11) NOT NULL,
  `hoa_don` varchar(255) DEFAULT NULL,
  `so_tien` decimal(15,2) NOT NULL DEFAULT 0.00,
  `han_thu` date DEFAULT NULL,
  `ngay_thu` date DEFAULT NULL,
  `mo_ta` text DEFAULT NULL,
  `attachment` varchar(255) DEFAULT NULL,
  `status` tinyint(1) DEFAULT 0 COMMENT '0: Chưa duyệt, 1: Đã duyệt, 2: Đã hủy',
  `created_at` timestamp NULL DEFAULT current_timestamp(),
  `updated_at` timestamp NULL DEFAULT NULL ON UPDATE current_timestamp(),
  `created_by` int(11) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `khoan_thu_phi`
--

INSERT INTO `khoan_thu_phi` (`id`, `chi_nhanh_id`, `hoc_vien_id`, `loai_thu_phi_id`, `hoa_don`, `so_tien`, `han_thu`, `ngay_thu`, `mo_ta`, `attachment`, `status`, `created_at`, `updated_at`, `created_by`) VALUES
(112, 4, 435, 1, 'Học phí A2.1 + tiền sách', 7185000.00, '2026-01-05', '2026-01-05', '', '', 1, '2026-01-06 09:14:55', '2026-01-06 09:16:26', 14),
(113, 4, 421, 1, 'Học phí A2.1 + tiền sách', 7185000.00, '2026-01-06', '2026-01-06', '', '', 1, '2026-01-06 09:15:17', '2026-01-06 09:16:09', 14);

-- --------------------------------------------------------

--
-- Table structure for table `ky_tuc_xa`
--

CREATE TABLE `ky_tuc_xa` (
  `id` int(11) NOT NULL,
  `ten_ky_tuc` varchar(255) DEFAULT NULL,
  `dia_chi` text DEFAULT NULL,
  `chi_nhanh_id` int(11) DEFAULT NULL,
  `nguoi_phu_trach_id` int(11) DEFAULT NULL,
  `mo_ta` text DEFAULT NULL,
  `hv_stay` text DEFAULT NULL,
  `gv_stay` text DEFAULT NULL,
  `ngay_tao` timestamp NOT NULL DEFAULT current_timestamp()
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

-- --------------------------------------------------------

--
-- Table structure for table `label`
--

CREATE TABLE `label` (
  `id` int(11) NOT NULL,
  `name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL,
  `type_code` text CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL,
  `status` int(11) NOT NULL,
  `created_at` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
  `updated_at` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp()
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `label`
--

INSERT INTO `label` (`id`, `name`, `type_code`, `status`, `created_at`, `updated_at`) VALUES
(0, '25h14', '25h14', 1, '2025-06-30 08:47:40', '2025-06-30 08:47:40'),
(1, '24h8', '24h8', 1, '2025-06-30 08:47:18', '2025-06-30 08:47:18'),
(2, '25h10', '25h10', 1, '2025-06-30 08:47:22', '2025-06-30 08:47:22'),
(3, '25h11', '25h11', 1, '2025-06-30 08:47:31', '2025-06-30 08:47:31'),
(4, '25h12', '25h12', 1, '2025-06-30 08:47:34', '2025-06-30 08:47:34'),
(5, '25h13', '25h13', 1, '2025-06-30 08:47:38', '2025-06-30 08:47:38'),
(7, '25h15', '25h15', 1, '2025-06-30 08:47:43', '2025-06-30 08:47:43'),
(8, '25h16', '25h16', 1, '2025-06-30 08:47:46', '2025-06-30 08:47:46'),
(9, '25h17', '25h17', 1, '2025-06-30 08:47:48', '2025-06-30 08:47:48');

-- --------------------------------------------------------

--
-- Table structure for table `lich_su_thao_tac`
--

CREATE TABLE `lich_su_thao_tac` (
  `id` int(11) NOT NULL,
  `type` varchar(50) NOT NULL,
  `description` text NOT NULL,
  `created_at` datetime NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

-- --------------------------------------------------------

--
-- Table structure for table `lich_su_tra_thuong`
--

CREATE TABLE `lich_su_tra_thuong` (
  `id` int(11) NOT NULL,
  `types` varchar(50) NOT NULL,
  `mo_ta` text NOT NULL,
  `hoc_vien_id` int(11) NOT NULL,
  `lop_hoc_id` int(11) NOT NULL,
  `trinh_do_id` int(11) DEFAULT NULL,
  `giao_vien_id` int(11) NOT NULL,
  `nguoi_duyet_id` int(11) DEFAULT NULL,
  `created_at` datetime NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `lich_su_tra_thuong`
--

INSERT INTO `lich_su_tra_thuong` (`id`, `types`, `mo_ta`, `hoc_vien_id`, `lop_hoc_id`, `trinh_do_id`, `giao_vien_id`, `nguoi_duyet_id`, `created_at`) VALUES
(20, 'tra_thuong', 'Trả thưởng 200.000 VND cho giáo viên Lê Thanh Tùng (ID 18) của học viên Cao Thị Thùy Trang (ID 288), lớp 25H10 (ID 22), trình độ ID 0 vào ngày 2025-09-05 06:39:03, không xác định người duyệt. Số tiền đã được cộng vào ví giáo viên.', 288, 22, 0, 18, NULL, '2025-09-05 06:39:03'),
(21, 'tra_thuong', 'Trả thưởng 200.000 VND cho giáo viên Lê Thanh Tùng (ID 18) của học viên Cao Thị Thùy Trang (ID 288), lớp 25H10 (ID 22), trình độ ID 0 vào ngày 2025-09-05 06:39:03, không xác định người duyệt. Số tiền đã được cộng vào ví giáo viên.', 288, 22, 0, 18, NULL, '2025-09-05 06:39:03'),
(22, 'tra_thuong', 'Trả thưởng 200.000 VND cho giáo viên Lê Thanh Tùng (ID 18) của học viên Dương Kim Bảo Nguyên (ID 285), lớp 25H10 (ID 22), trình độ ID 0 vào ngày 2025-09-05 06:39:05, không xác định người duyệt. Số tiền đã được cộng vào ví giáo viên.', 285, 22, 0, 18, NULL, '2025-09-05 06:39:05'),
(23, 'tra_thuong', 'Trả thưởng 200.000 VND cho giáo viên Lê Thanh Tùng (ID 18) của học viên Hà Thị Phương Uyên (ID 293), lớp 25H10 (ID 22), trình độ ID 0 vào ngày 2025-09-05 06:39:06, không xác định người duyệt. Số tiền đã được cộng vào ví giáo viên.', 293, 22, 0, 18, NULL, '2025-09-05 06:39:06'),
(24, 'tra_thuong', 'Trả thưởng 200.000 VND cho giáo viên Lê Thanh Tùng (ID 18) của học viên Hồ Nguyên Bình (ID 296), lớp 25H10 (ID 22), trình độ ID 0 vào ngày 2025-09-05 06:39:07, không xác định người duyệt. Số tiền đã được cộng vào ví giáo viên.', 296, 22, 0, 18, NULL, '2025-09-05 06:39:07'),
(25, 'tra_thuong', 'Trả thưởng 200.000 VND cho giáo viên Lê Thanh Tùng (ID 18) của học viên Hồ Văn Phú Nguyên (ID 298), lớp 25H10 (ID 22), trình độ ID 0 vào ngày 2025-09-05 06:39:08, không xác định người duyệt. Số tiền đã được cộng vào ví giáo viên.', 298, 22, 0, 18, NULL, '2025-09-05 06:39:08'),
(26, 'tra_thuong', 'Trả thưởng 200.000 VND cho giáo viên Lê Thanh Tùng (ID 18) của học viên Hoàng Quốc Phú (ID 289), lớp 25H10 (ID 22), trình độ ID 0 vào ngày 2025-09-05 06:39:08, không xác định người duyệt. Số tiền đã được cộng vào ví giáo viên.', 289, 22, 0, 18, NULL, '2025-09-05 06:39:08'),
(27, 'tra_thuong', 'Trả thưởng 200.000 VND cho giáo viên Lê Thanh Tùng (ID 18) của học viên Lê Phước Mạnh (ID 282), lớp 25H10 (ID 22), trình độ ID 0 vào ngày 2025-09-05 06:39:10, không xác định người duyệt. Số tiền đã được cộng vào ví giáo viên.', 282, 22, 0, 18, NULL, '2025-09-05 06:39:10'),
(28, 'tra_thuong', 'Trả thưởng 200.000 VND cho giáo viên Lê Thanh Tùng (ID 18) của học viên Lê Quốc Khánh (ID 291), lớp 25H10 (ID 22), trình độ ID 0 vào ngày 2025-09-05 06:39:10, không xác định người duyệt. Số tiền đã được cộng vào ví giáo viên.', 291, 22, 0, 18, NULL, '2025-09-05 06:39:10'),
(29, 'tra_thuong', 'Trả thưởng 200.000 VND cho giáo viên Lê Thanh Tùng (ID 18) của học viên Lê Thị Bòn (ID 279), lớp 25H10 (ID 22), trình độ ID 0 vào ngày 2025-09-05 06:39:11, không xác định người duyệt. Số tiền đã được cộng vào ví giáo viên.', 279, 22, 0, 18, NULL, '2025-09-05 06:39:11'),
(30, 'tra_thuong', 'Trả thưởng 200.000 VND cho giáo viên Lê Thanh Tùng (ID 18) của học viên Ngô Nguyễn Tiểu Phụng (ID 294), lớp 25H10 (ID 22), trình độ ID 0 vào ngày 2025-09-05 06:39:12, không xác định người duyệt. Số tiền đã được cộng vào ví giáo viên.', 294, 22, 0, 18, NULL, '2025-09-05 06:39:12'),
(31, 'tra_thuong', 'Trả thưởng 200.000 VND cho giáo viên Lê Thanh Tùng (ID 18) của học viên Nguyễn Dư Hiếu (ID 283), lớp 25H10 (ID 22), trình độ ID 0 vào ngày 2025-09-05 06:39:13, không xác định người duyệt. Số tiền đã được cộng vào ví giáo viên.', 283, 22, 0, 18, NULL, '2025-09-05 06:39:13'),
(32, 'tra_thuong', 'Trả thưởng 200.000 VND cho giáo viên Lê Thanh Tùng (ID 18) của học viên Nguyễn Ngọc Nguyên (ID 292), lớp 25H10 (ID 22), trình độ ID 0 vào ngày 2025-09-05 06:39:13, không xác định người duyệt. Số tiền đã được cộng vào ví giáo viên.', 292, 22, 0, 18, NULL, '2025-09-05 06:39:13'),
(33, 'tra_thuong', 'Trả thưởng 200.000 VND cho giáo viên Lê Thanh Tùng (ID 18) của học viên Nguyễn Thị Hồng Uyên (ID 295), lớp 25H10 (ID 22), trình độ ID 0 vào ngày 2025-09-05 06:39:14, không xác định người duyệt. Số tiền đã được cộng vào ví giáo viên.', 295, 22, 0, 18, NULL, '2025-09-05 06:39:14'),
(34, 'tra_thuong', 'Trả thưởng 200.000 VND cho giáo viên Lê Thanh Tùng (ID 18) của học viên Nguyễn Thị Phương An (ID 287), lớp 25H10 (ID 22), trình độ ID 0 vào ngày 2025-09-05 06:39:14, không xác định người duyệt. Số tiền đã được cộng vào ví giáo viên.', 287, 22, 0, 18, NULL, '2025-09-05 06:39:14'),
(35, 'tra_thuong', 'Trả thưởng 200.000 VND cho giáo viên Lê Thanh Tùng (ID 18) của học viên Phạm Vũ Cường (ID 280), lớp 25H10 (ID 22), trình độ ID 0 vào ngày 2025-09-05 06:39:15, không xác định người duyệt. Số tiền đã được cộng vào ví giáo viên.', 280, 22, 0, 18, NULL, '2025-09-05 06:39:15'),
(36, 'tra_thuong', 'Trả thưởng 200.000 VND cho giáo viên Lê Thanh Tùng (ID 18) của học viên Phan Thanh Hải (ID 290), lớp 25H10 (ID 22), trình độ ID 0 vào ngày 2025-09-05 06:39:16, không xác định người duyệt. Số tiền đã được cộng vào ví giáo viên.', 290, 22, 0, 18, NULL, '2025-09-05 06:39:16'),
(37, 'tra_thuong', 'Trả thưởng 200.000 VND cho giáo viên Lê Thanh Tùng (ID 18) của học viên Phan Thị Thu Ngân (ID 301), lớp 25H10 (ID 22), trình độ ID 0 vào ngày 2025-09-05 06:39:16, không xác định người duyệt. Số tiền đã được cộng vào ví giáo viên.', 301, 22, 0, 18, NULL, '2025-09-05 06:39:16'),
(38, 'tra_thuong', 'Trả thưởng 200.000 VND cho giáo viên Lê Thanh Tùng (ID 18) của học viên Phan Thị Uyên Thùy (ID 284), lớp 25H10 (ID 22), trình độ ID 0 vào ngày 2025-09-05 06:39:17, không xác định người duyệt. Số tiền đã được cộng vào ví giáo viên.', 284, 22, 0, 18, NULL, '2025-09-05 06:39:17'),
(39, 'tra_thuong', 'Trả thưởng 200.000 VND cho giáo viên Lê Thanh Tùng (ID 18) của học viên Tạ Thị Thanh Ngân (ID 286), lớp 25H10 (ID 22), trình độ ID 0 vào ngày 2025-09-05 06:39:18, không xác định người duyệt. Số tiền đã được cộng vào ví giáo viên.', 286, 22, 0, 18, NULL, '2025-09-05 06:39:18'),
(40, 'tra_thuong', 'Trả thưởng 200.000 VND cho giáo viên Lê Thanh Tùng (ID 18) của học viên Trần Kiều Oanh (ID 300), lớp 25H10 (ID 22), trình độ ID 0 vào ngày 2025-09-05 06:39:18, không xác định người duyệt. Số tiền đã được cộng vào ví giáo viên.', 300, 22, 0, 18, NULL, '2025-09-05 06:39:18'),
(41, 'tra_thuong', 'Trả thưởng 200.000 VND cho giáo viên Lê Thanh Tùng (ID 18) của học viên Trần Quang Cường (ID 281), lớp 25H10 (ID 22), trình độ ID 0 vào ngày 2025-09-05 06:39:19, không xác định người duyệt. Số tiền đã được cộng vào ví giáo viên.', 281, 22, 0, 18, NULL, '2025-09-05 06:39:19'),
(42, 'tra_thuong', 'Trả thưởng 200.000 VND cho giáo viên Lê Thanh Tùng (ID 18) của học viên Trương Minh Hiền (ID 297), lớp 25H10 (ID 22), trình độ ID 0 vào ngày 2025-09-05 06:39:19, không xác định người duyệt. Số tiền đã được cộng vào ví giáo viên.', 297, 22, 0, 18, NULL, '2025-09-05 06:39:19'),
(43, 'tra_thuong', 'Trả thưởng 200.000 VND cho giáo viên Lê Thanh Tùng (ID 18) của học viên Đoàn Nguyễn Khánh Nguyên (ID 409), lớp 25H10 (ID 22), trình độ ID 0 vào ngày 2025-09-22 10:02:14, không xác định người duyệt. Số tiền đã được cộng vào ví giáo viên.', 409, 22, 0, 18, NULL, '2025-09-22 10:02:14'),
(44, 'tra_thuong', 'Trả thưởng 200.000 VND cho giáo viên Lê Thanh Tùng (ID 18) của học viên Đoàn Nguyễn Khánh Nguyên (ID 409), lớp 25H10 (ID 22), trình độ ID 0 vào ngày 2025-09-22 10:02:14, không xác định người duyệt. Số tiền đã được cộng vào ví giáo viên.', 409, 22, 0, 18, NULL, '2025-09-22 10:02:14'),
(45, 'tra_thuong', 'Trả thưởng 200.000 VND cho giáo viên Trần Nguyễn Hà Vy (ID 19) của học viên Phùng Thị Lan Anh (ID 354), lớp 25H16 (ID 28), trình độ ID 0 vào ngày 2025-09-30 09:35:44, không xác định người duyệt. Số tiền đã được cộng vào ví giáo viên.', 354, 28, 0, 19, NULL, '2025-09-30 09:35:44'),
(46, 'tra_thuong', 'Trả thưởng 200.000 VND cho giáo viên Trần Nguyễn Hà Vy (ID 19) của học viên Nguyễn Thị Thanh Thư (ID 353), lớp 25H16 (ID 28), trình độ ID 0 vào ngày 2025-09-30 09:35:45, không xác định người duyệt. Số tiền đã được cộng vào ví giáo viên.', 353, 28, 0, 19, NULL, '2025-09-30 09:35:45'),
(47, 'tra_thuong', 'Trả thưởng 200.000 VND cho giáo viên Trần Nguyễn Hà Vy (ID 19) của học viên Nguyễn Ngọc Hương Giang (ID 356), lớp 25H16 (ID 28), trình độ ID 0 vào ngày 2025-09-30 09:35:47, không xác định người duyệt. Số tiền đã được cộng vào ví giáo viên.', 356, 28, 0, 19, NULL, '2025-09-30 09:35:47'),
(48, 'tra_thuong', 'Trả thưởng 200.000 VND cho giáo viên Trần Nguyễn Hà Vy (ID 19) của học viên Lê Thị Hoài Nhi (ID 357), lớp 25H16 (ID 28), trình độ ID 0 vào ngày 2025-09-30 09:35:58, không xác định người duyệt. Số tiền đã được cộng vào ví giáo viên.', 357, 28, 0, 19, NULL, '2025-09-30 09:35:58'),
(49, 'tra_thuong', 'Trả thưởng 200.000 VND cho giáo viên Trần Nguyễn Hà Vy (ID 19) của học viên Đặng Nguyễn Quốc Bảo (ID 355), lớp 25H16 (ID 28), trình độ ID 0 vào ngày 2025-09-30 09:35:59, không xác định người duyệt. Số tiền đã được cộng vào ví giáo viên.', 355, 28, 0, 19, NULL, '2025-09-30 09:35:59'),
(50, 'tra_thuong', 'Trả thưởng 200.000 VND cho giáo viên Trần Nguyễn Hà Vy (ID 19) của học viên Đặng Lan Nhật Hạ (ID 351), lớp 25H16 (ID 28), trình độ ID 0 vào ngày 2025-09-30 09:36:00, không xác định người duyệt. Số tiền đã được cộng vào ví giáo viên.', 351, 28, 0, 19, NULL, '2025-09-30 09:36:00'),
(51, 'tra_thuong', 'Trả thưởng 200.000 VND cho giáo viên Trần Nguyễn Hà Vy (ID 19) của học viên Dương Hoài Công (ID 349), lớp 25H16 (ID 28), trình độ ID 0 vào ngày 2025-09-30 09:36:02, không xác định người duyệt. Số tiền đã được cộng vào ví giáo viên.', 349, 28, 0, 19, NULL, '2025-09-30 09:36:02'),
(52, 'tra_thuong', 'Trả thưởng 200.000 VND cho giáo viên Trần Nguyễn Hà Vy (ID 19) của học viên Võ Văn Tài (ID 363), lớp 25H17 (ID 36), trình độ ID 0 vào ngày 2025-11-05 08:10:42, không xác định người duyệt. Số tiền đã được cộng vào ví giáo viên.', 363, 36, 0, 19, NULL, '2025-11-05 08:10:42'),
(53, 'tra_thuong', 'Trả thưởng 200.000 VND cho giáo viên Hồ Thanh Thông (ID 25) của học viên Ngô Thị Phương Tuyền (ID 414), lớp 25H18 (ID 31), trình độ ID 0 vào ngày 2025-11-08 05:36:09, không xác định người duyệt. Số tiền đã được cộng vào ví giáo viên.', 414, 31, 0, 25, NULL, '2025-11-08 05:36:09'),
(54, 'tra_thuong', 'Trả thưởng 200.000 VND cho giáo viên Hồ Thanh Thông (ID 25) của học viên Ngô Thị Kiều Diễm (ID 396), lớp 25H18 (ID 31), trình độ ID 0 vào ngày 2025-11-08 05:36:24, không xác định người duyệt. Số tiền đã được cộng vào ví giáo viên.', 396, 31, 0, 25, NULL, '2025-11-08 05:36:24');

-- --------------------------------------------------------

--
-- Table structure for table `loai_chi_phi`
--

CREATE TABLE `loai_chi_phi` (
  `id` int(11) NOT NULL,
  `name` varchar(255) NOT NULL,
  `types` int(11) DEFAULT 1,
  `status` int(11) DEFAULT 1,
  `mo_ta` text DEFAULT NULL,
  `created_at` timestamp NOT NULL DEFAULT current_timestamp(),
  `updated_at` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp()
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `loai_chi_phi`
--

INSERT INTO `loai_chi_phi` (`id`, `name`, `types`, `status`, `mo_ta`, `created_at`, `updated_at`) VALUES
(1, 'Thanh toán nội bộ', 1, 1, NULL, '2025-05-16 17:57:30', '2025-05-16 17:57:30'),
(2, 'Lương nhân sự', 1, 1, NULL, '2025-05-16 17:57:30', '2025-05-16 17:57:30'),
(3, 'Chi phí Marketing', 1, 1, NULL, '2025-05-16 17:57:30', '2025-05-16 17:57:30'),
(4, 'Chi phí Sale', 1, 1, NULL, '2025-05-16 17:57:30', '2025-05-16 17:57:30'),
(5, 'Thuế nhập, điện nước, phí dịch vụ văn phòng', 1, 1, NULL, '2025-05-16 17:57:30', '2025-05-16 17:57:30'),
(6, 'Văn hành cơ sở vật chất Văn phòng', 1, 1, NULL, '2025-05-16 17:57:30', '2025-05-16 17:57:30'),
(7, 'Văn hành KTX', 1, 1, NULL, '2025-05-16 17:57:30', '2025-05-16 17:57:30'),
(8, 'Thưởng nhân sự', 1, 1, NULL, '2025-05-16 17:57:30', '2025-05-16 17:57:30'),
(9, 'Chi phí Hộ đỏ - Visa', 1, 1, NULL, '2025-05-16 17:57:30', '2025-05-16 17:57:30'),
(10, 'Chi phí Du ngoại (ĐiC)', 1, 1, NULL, '2025-05-16 17:57:30', '2025-05-16 17:57:30'),
(11, 'Chi phí tao ngoại', 1, 1, NULL, '2025-05-16 17:57:30', '2025-05-16 17:57:30'),
(12, 'Chi phí Pháp lý', 1, 1, NULL, '2025-05-16 17:57:30', '2025-05-16 17:57:30'),
(13, 'Chi phí Thuế', 1, 1, NULL, '2025-05-16 17:57:30', '2025-05-16 17:57:30'),
(14, 'Hoan trả học phí', 1, 1, NULL, '2025-05-16 17:57:30', '2025-05-16 17:57:30'),
(15, 'Công tác phí', 1, 1, NULL, '2025-05-16 17:57:30', '2025-05-16 17:57:30'),
(16, 'Khác', 1, 1, NULL, '2025-05-16 17:57:30', '2025-05-16 17:57:30'),
(17, 'Hoàn coc KTX', 1, 1, NULL, '2025-05-16 17:57:30', '2025-05-16 17:57:30');

-- --------------------------------------------------------

--
-- Table structure for table `loai_lop_hoc`
--

CREATE TABLE `loai_lop_hoc` (
  `id` int(11) NOT NULL,
  `name` varchar(500) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL,
  `code_types` text CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL,
  `mo_ta` text CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL,
  `is_active` int(11) DEFAULT 0,
  `created_at` timestamp NULL DEFAULT current_timestamp(),
  `updated_at` timestamp NULL DEFAULT current_timestamp()
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `loai_lop_hoc`
--

INSERT INTO `loai_lop_hoc` (`id`, `name`, `code_types`, `mo_ta`, `is_active`, `created_at`, `updated_at`) VALUES
(1, 'Lớp B2 Nghề', 'SC01', 'Lớp học dành cho người mới bắt đầu', 1, '2025-05-06 12:09:14', '2025-05-06 12:09:14'),
(2, 'Lớp A1-B1', 'TC02', 'Lớp học nâng cao kỹ năng cơ bản', 1, '2025-05-06 12:09:14', '2025-05-06 12:09:14');

-- --------------------------------------------------------

--
-- Table structure for table `loai_thu_phi`
--

CREATE TABLE `loai_thu_phi` (
  `id` int(11) NOT NULL,
  `name` varchar(255) NOT NULL,
  `types` int(11) DEFAULT 1,
  `status` int(11) DEFAULT 1,
  `mo_ta` text DEFAULT NULL,
  `created_at` timestamp NOT NULL DEFAULT current_timestamp(),
  `updated_at` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp()
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `loai_thu_phi`
--

INSERT INTO `loai_thu_phi` (`id`, `name`, `types`, `status`, `mo_ta`, `created_at`, `updated_at`) VALUES
(1, 'Học phí lẽ', 1, 1, NULL, '2025-05-16 18:00:16', '2025-05-16 18:00:16'),
(2, 'Hợp đồng tron gói', 1, 1, NULL, '2025-05-16 18:00:16', '2025-05-16 18:00:16'),
(3, 'Hồ sơ du học', 1, 1, NULL, '2025-05-16 18:00:16', '2025-05-16 18:00:16'),
(4, 'Ký túc xá', 1, 1, NULL, '2025-05-16 18:00:16', '2025-05-16 18:00:16'),
(5, 'Cọc ký túc xá', 1, 1, NULL, '2025-05-16 18:00:16', '2025-05-16 18:00:16'),
(6, 'Lệ phí thi', 1, 1, NULL, '2025-05-16 18:00:16', '2025-05-16 18:00:16'),
(7, 'Tiền sách', 1, 1, NULL, '2025-05-16 18:00:16', '2025-05-16 18:00:16'),
(8, 'Khác', 1, 1, NULL, '2025-05-16 18:00:16', '2025-05-16 18:00:16');

-- --------------------------------------------------------

--
-- Table structure for table `lop_hoc`
--

CREATE TABLE `lop_hoc` (
  `id` int(11) NOT NULL,
  `ten_lop` varchar(255) NOT NULL,
  `ma_lop` text DEFAULT NULL,
  `loai_lop_hoc` int(11) DEFAULT NULL,
  `code_types` int(11) NOT NULL DEFAULT 0,
  `chi_nhanh_id` int(11) DEFAULT NULL,
  `phong_hoc_id` int(11) DEFAULT NULL,
  `buoi_hoc` enum('sang','chieu','toi') DEFAULT NULL,
  `trinh_do` varchar(100) DEFAULT NULL,
  `giao_vien_id` int(11) DEFAULT NULL,
  `so_buoi_hoc` int(11) DEFAULT NULL,
  `mo_ta` text DEFAULT NULL,
  `thoi_gian_bat_dau` date DEFAULT NULL,
  `thoi_gian_ket_thuc` date DEFAULT NULL,
  `trang_thai` varchar(50) DEFAULT 'Đang hoạt động',
  `created_at` timestamp NULL DEFAULT current_timestamp(),
  `updated_at` timestamp NULL DEFAULT current_timestamp(),
  `giao_vien_du_bi` text DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `lop_hoc`
--

INSERT INTO `lop_hoc` (`id`, `ten_lop`, `ma_lop`, `loai_lop_hoc`, `code_types`, `chi_nhanh_id`, `phong_hoc_id`, `buoi_hoc`, `trinh_do`, `giao_vien_id`, `so_buoi_hoc`, `mo_ta`, `thoi_gian_bat_dau`, `thoi_gian_ket_thuc`, `trang_thai`, `created_at`, `updated_at`, `giao_vien_du_bi`) VALUES
(25, '25H13', 'F1', NULL, 0, 4, NULL, NULL, '3', 26, 32, '', '2025-04-16', '2025-06-06', '0', '2025-08-18 02:59:44', '2025-10-09 06:52:12', NULL),
(28, '25H16', 'F1', NULL, 0, 4, NULL, NULL, '1', 19, 32, '', '2025-12-07', '2025-08-27', '0', '2025-08-18 03:01:55', '2025-12-19 04:05:40', NULL),
(29, '25H17', 'F1', NULL, 0, 4, NULL, NULL, '1', 19, 32, '', '2025-05-08', '2025-09-17', '0', '2025-08-18 03:02:29', '2025-12-19 04:05:38', NULL),
(31, '25H18', 'F1', NULL, 0, 4, NULL, NULL, '1', 25, 32, '', '2025-09-03', '2025-10-16', '0', '2025-09-02 04:44:03', '2025-12-19 04:05:33', NULL),
(32, '25H20', 'F1', NULL, 0, 4, NULL, NULL, '1', 26, 32, '', '2025-09-30', '2025-11-12', '0', '2025-09-30 02:34:26', '2025-12-19 04:05:37', NULL),
(37, '25H10', 'F1', NULL, 0, 4, NULL, NULL, '6', 25, 29, '', '2025-10-24', '2025-12-06', '0', '2025-11-18 08:35:57', '2025-12-19 04:05:28', NULL),
(38, '25H21', 'F1', NULL, 0, 4, NULL, NULL, '1', 26, 32, '', '2025-12-02', '2026-01-12', '1', '2025-11-25 05:38:39', '2025-11-25 11:58:38', NULL),
(39, '25H16', 'F1', NULL, 0, 4, NULL, NULL, '3', 19, 29, '', '2025-10-16', '2025-12-01', '1', '2025-11-25 06:26:32', '2025-11-25 12:28:32', NULL),
(40, '25H17', 'F1', NULL, 0, 4, NULL, NULL, '3', 19, 29, '', '2025-11-25', '2026-12-09', '1', '2025-11-25 06:27:44', '2025-11-25 06:27:44', NULL),
(41, '25H20', 'F1', NULL, 0, 4, NULL, NULL, '2', 26, 29, '', '2025-11-24', '2025-12-30', '1', '2025-11-25 06:29:24', '2025-12-19 04:07:26', NULL),
(42, '25H18', 'F1', NULL, 0, 4, NULL, NULL, '2', 25, 29, '', '2025-10-21', '2025-11-28', '0', '2025-11-25 06:30:26', '2025-12-19 04:06:10', NULL),
(43, '25h10', 'F1', NULL, 0, 4, NULL, NULL, '7', 25, 25, '', '2025-12-10', '2026-01-06', '1', '2025-12-18 22:25:56', '2025-12-18 22:25:56', NULL),
(44, '25H22', 'F1', NULL, 0, 4, NULL, NULL, '1', 24, 32, '', '2026-01-20', '2026-03-10', '1', '2025-12-29 02:20:02', '2025-12-29 02:20:02', NULL);

-- --------------------------------------------------------

--
-- Table structure for table `nghe_nghiep_hv`
--

CREATE TABLE `nghe_nghiep_hv` (
  `id` int(11) NOT NULL,
  `name` text CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
  `updated_at` timestamp NULL DEFAULT current_timestamp() ON UPDATE current_timestamp()
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `nghe_nghiep_hv`
--

INSERT INTO `nghe_nghiep_hv` (`id`, `name`, `created_at`, `updated_at`) VALUES
(1, 'Đang học cấp 3', '2025-05-05 06:46:52', '2025-05-05 06:46:52'),
(2, 'Đã tốt nghiệp cấp 3', '2025-05-05 06:46:52', '2025-05-05 06:46:52'),
(3, 'Đang đi làm', '2025-05-05 06:46:52', '2025-05-05 06:46:52'),
(4, 'Có chứng chỉ các nghề chuyển đổi', '2025-05-05 06:47:05', '2025-05-05 06:47:05');

-- --------------------------------------------------------

--
-- Table structure for table `payments`
--

CREATE TABLE `payments` (
  `id` int(11) NOT NULL,
  `student_id` int(11) NOT NULL,
  `wave` int(11) NOT NULL,
  `due_date` date NOT NULL,
  `payment_date` date DEFAULT NULL,
  `amount` decimal(15,2) DEFAULT NULL,
  `status` int(11) DEFAULT 0,
  `created_at` timestamp NULL DEFAULT current_timestamp(),
  `updated_at` timestamp NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
  `required_amount` decimal(15,2) DEFAULT NULL,
  `year` int(11) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `payments`
--

INSERT INTO `payments` (`id`, `student_id`, `wave`, `due_date`, `payment_date`, `amount`, `status`, `created_at`, `updated_at`, `required_amount`, `year`) VALUES
(28, 359, 1, '2025-08-18', '2025-08-29', 7500000.00, 1, '2025-08-29 08:44:03', '2025-08-29 08:44:51', 7500000.00, 2025),
(29, 349, 1, '2025-08-13', '2025-08-29', 25000000.00, 1, '2025-08-29 08:46:27', '2025-08-29 08:55:25', 25000000.00, 2025),
(30, 351, 1, '2025-07-25', '2025-08-29', 14685000.00, 1, '2025-08-29 08:47:58', '2025-08-29 08:54:55', 14685000.00, 2025),
(31, 353, 1, '2025-08-19', '2025-08-29', 50000000.00, 1, '2025-08-29 08:48:48', '2025-08-29 08:54:42', 50000000.00, 2025),
(32, 354, 1, '2025-08-14', '2025-08-29', 23000000.00, 1, '2025-08-29 08:49:21', '2025-08-29 08:54:25', 23000000.00, 2025),
(33, 355, 1, '2025-08-15', '2025-08-29', 50000000.00, 1, '2025-08-29 08:49:51', '2025-08-29 08:54:00', 50000000.00, 2025),
(34, 356, 1, '2025-07-25', '2025-08-29', 7500000.00, 1, '2025-08-29 08:50:25', '2025-08-29 08:53:33', 7500000.00, 2025),
(35, 357, 1, '2025-08-13', '2025-08-29', 50000000.00, 1, '2025-08-29 08:50:50', '2025-08-29 08:52:46', 50000000.00, 2025),
(36, 324, 1, '2025-08-06', '2025-08-29', 7185000.00, 1, '2025-08-29 09:03:06', '2025-08-29 09:11:08', 7185000.00, 2025),
(37, 325, 1, '2025-08-07', '2025-08-29', 7185000.00, 1, '2025-08-29 09:03:31', '2025-08-29 09:11:24', 7185000.00, 2025),
(38, 326, 1, '2025-08-11', '2025-08-29', 7185000.00, 1, '2025-08-29 09:04:02', '2025-08-29 09:12:02', 7185000.00, 2025),
(39, 329, 1, '2025-08-10', '2025-08-29', 7185000.00, 1, '2025-08-29 09:04:29', '2025-08-29 09:12:30', 7185000.00, 2025),
(40, 330, 1, '2025-08-04', '2025-08-29', 7185000.00, 1, '2025-08-29 09:04:57', '2025-08-29 09:12:50', 7185000.00, 2025),
(41, 303, 1, '2025-07-29', '2025-08-29', 7185000.00, 1, '2025-08-29 09:05:24', '2025-08-29 09:13:27', 7185000.00, 2025),
(42, 307, 1, '2025-08-10', NULL, NULL, 0, '2025-08-29 09:05:58', '2025-08-29 09:05:58', 4000000.00, 2025),
(43, 307, 2, '2025-08-10', '2025-08-29', 4000000.00, 0, '2025-08-29 09:06:28', '2025-08-29 09:13:47', 7185000.00, 2025),
(44, 308, 1, '2025-08-18', '2025-08-29', 7185000.00, 1, '2025-08-29 09:06:55', '2025-08-29 09:14:10', 7185000.00, 2025),
(45, 321, 1, '2025-06-30', '2025-09-04', 7185000.00, 1, '2025-08-29 09:07:30', '2025-09-04 04:50:22', 7185000.00, 2025),
(46, 297, 1, '2025-04-14', '2025-08-29', 7500000.00, 1, '2025-08-29 09:17:24', '2025-08-29 09:20:09', 7500000.00, 2025),
(47, 297, 2, '2025-05-26', '2025-08-29', 7185000.00, 1, '2025-08-29 09:18:01', '2025-08-29 09:20:15', 7185000.00, 2025),
(48, 297, 3, '2025-06-30', '2025-08-29', 7185000.00, 1, '2025-08-29 09:18:27', '2025-08-29 09:20:20', 7185000.00, 2025),
(49, 297, 4, '2025-08-14', '2025-08-29', 32000000.00, 1, '2025-08-29 09:18:51', '2025-08-29 09:20:26', 32000000.00, 2025),
(50, 301, 1, '2025-03-11', '2025-08-29', 6720000.00, 1, '2025-08-29 09:41:47', '2025-08-29 09:45:48', 6720000.00, 2025),
(51, 301, 2, '2025-04-16', '2025-08-29', 390000.00, 1, '2025-08-29 09:42:33', '2025-08-29 09:45:43', 390000.00, 2025),
(52, 301, 3, '2025-05-09', '2025-08-29', 7185000.00, 1, '2025-08-29 09:43:09', '2025-08-29 09:45:38', 7185000.00, 2025),
(53, 301, 4, '2025-06-27', '2025-08-29', 7185000.00, 1, '2025-08-29 09:43:38', '2025-08-29 09:45:33', 7185000.00, 2025),
(54, 301, 5, '2025-08-12', '2025-08-29', 32000000.00, 1, '2025-08-29 09:43:57', '2025-08-29 09:45:27', 32000000.00, 2025),
(55, 350, 1, '2025-08-31', '2025-09-02', 50000000.00, 1, '2025-09-02 09:34:37', '2025-09-02 09:35:36', 50000000.00, 2025),
(56, 296, 1, '2025-09-03', '2025-09-04', 32000000.00, 1, '2025-09-04 04:47:29', '2025-09-04 04:48:33', 32000000.00, 2025),
(57, 321, 2, '2025-09-03', '2025-09-04', 3500000.00, 1, '2025-09-04 04:49:27', '2025-09-04 04:50:29', 3500000.00, 2025),
(58, 367, 1, '2025-09-08', '2025-09-10', 50000000.00, 1, '2025-09-10 02:28:09', '2025-09-10 02:34:05', 50000000.00, 2025),
(59, 361, 1, '2025-09-03', '2025-09-10', 25000000.00, 1, '2025-09-10 02:28:49', '2025-09-10 02:35:01', 25000000.00, 2025),
(60, 362, 1, '2025-09-07', '2025-09-10', 25000000.00, 1, '2025-09-10 02:29:46', '2025-09-10 02:35:20', 25000000.00, 2025),
(61, 363, 1, '2025-09-07', '2025-09-10', 25000000.00, 1, '2025-09-10 02:30:10', '2025-09-10 02:35:39', 25000000.00, 2025),
(62, 359, 2, '2025-08-18', NULL, NULL, 0, '2025-09-10 02:31:27', '2025-09-10 02:31:27', 7500000.00, 2025),
(63, 300, 1, '2025-09-16', '2025-09-17', 7185000.00, 1, '2025-09-17 07:27:01', '2025-09-17 07:39:45', 7185000.00, 2025),
(64, 284, 1, '2025-09-08', NULL, NULL, 0, '2025-09-17 07:43:49', '2025-09-17 07:43:49', 7185000.00, 2025),
(65, 291, 1, '2025-09-08', NULL, NULL, 0, '2025-09-17 07:44:37', '2025-09-17 07:44:37', 7185000.00, 2025),
(66, 289, 1, '2025-09-09', NULL, NULL, 0, '2025-09-17 07:45:54', '2025-09-17 07:45:54', 7185000.00, 2025),
(67, 408, 1, '2025-03-11', '2025-09-19', 1875000.00, 1, '2025-09-19 09:02:35', '2025-09-19 09:10:16', 1875000.00, 2025),
(68, 409, 1, '2025-04-21', '2025-09-19', 50000000.00, 1, '2025-09-19 09:03:59', '2025-09-19 09:07:55', 50000000.00, 2025),
(69, 407, 1, '2025-09-19', '2025-09-22', 14685000.00, 1, '2025-09-22 08:27:20', '2025-09-22 08:28:20', 14685000.00, 2025),
(70, 419, 1, '2025-08-06', '2025-09-22', 50000000.00, 1, '2025-09-22 08:50:40', '2025-09-22 08:53:35', 50000000.00, 2025),
(71, 419, 2, '2025-08-06', NULL, NULL, 0, '2025-09-22 08:52:54', '2025-09-22 08:52:54', 50000000.00, 2025),
(72, 396, 1, '2025-10-02', '2025-10-02', 50000000.00, 1, '2025-10-02 06:12:52', '2025-10-02 06:14:55', 50000000.00, 2025),
(73, 399, 1, '2025-10-02', '2025-10-02', 14500000.00, 1, '2025-10-02 06:13:20', '2025-10-02 06:14:25', 14500000.00, 2025),
(75, 427, 1, '2025-11-01', NULL, 0.00, 0, '2025-10-02 07:23:40', '2025-10-02 07:23:40', 7500000.00, 2025),
(77, 412, 1, '2025-10-02', '2025-10-02', 14683000.00, 0, '2025-10-02 13:53:21', '2025-10-02 13:54:24', 14685000.00, 2025),
(78, 359, 3, '2025-09-30', '2025-10-02', 7000000.00, 1, '2025-10-02 14:03:47', '2025-10-02 14:04:38', 7000000.00, 2025),
(79, 346, 1, '2025-06-17', '2025-10-08', 7700000.00, 1, '2025-10-08 10:05:53', '2025-10-08 10:14:51', 7700000.00, 2025),
(80, 346, 2, '2025-10-08', '2025-10-08', 7185000.00, 1, '2025-10-08 10:06:25', '2025-10-08 10:07:35', 7185000.00, 2025),
(81, 432, 1, '2025-09-11', '2025-10-08', 50000000.00, 1, '2025-10-08 10:10:12', '2025-10-08 10:10:36', 50000000.00, 2025),
(82, 346, 3, '2025-06-17', NULL, NULL, 0, '2025-10-08 10:12:05', '2025-10-08 10:12:05', 7700000.00, 2025),
(83, 346, 4, '2025-10-08', NULL, NULL, 0, '2025-10-08 10:12:54', '2025-10-08 10:12:54', 7185000.00, 2025),
(84, 433, 1, '2025-06-17', '2025-10-08', 7700000.00, 1, '2025-10-08 10:18:34', '2025-10-08 10:19:35', 7700000.00, 2025),
(85, 433, 2, '2025-10-08', '2025-10-08', 7185000.00, 1, '2025-10-08 10:19:08', '2025-10-08 10:19:44', 7185000.00, 2025),
(86, 425, 1, '2025-10-16', '2025-10-17', 7800000.00, 1, '2025-10-17 04:23:45', '2025-10-17 04:24:45', 7800000.00, 2025),
(87, 421, 1, '2025-10-16', '2025-10-17', 7800000.00, 1, '2025-10-17 04:24:19', '2025-10-17 04:25:11', 7800000.00, 2025),
(88, 279, 1, '2025-02-21', '2025-10-17', 7700000.00, 1, '2025-10-17 08:01:16', '2025-10-17 08:06:36', 7700000.00, 2025),
(89, 279, 2, '2025-04-15', '2025-10-17', 7185000.00, 1, '2025-10-17 08:01:59', '2025-10-17 08:06:43', 7185000.00, 2025),
(90, 280, 1, '2025-02-28', '2025-10-17', 25000000.00, 1, '2025-10-17 08:02:57', '2025-10-17 08:08:54', 25000000.00, 2025),
(91, 280, 2, '2025-06-09', '2025-10-17', 25000000.00, 1, '2025-10-17 08:03:37', '2025-10-17 08:09:03', 25000000.00, 2025),
(92, 281, 1, '2025-03-17', '2025-10-17', 25000000.00, 1, '2025-10-17 08:04:34', '2025-10-17 08:10:24', 25000000.00, 2025),
(93, 281, 2, '2025-06-10', '2025-10-17', 275000000.00, 1, '2025-10-17 08:05:02', '2025-10-17 08:10:47', 25000000.00, 2025),
(94, 282, 1, '2025-03-18', '2025-10-17', 25000000.00, 1, '2025-10-17 08:05:34', '2025-10-17 08:21:15', 25000000.00, 2025),
(95, 282, 2, '2025-05-30', '2025-10-17', 25000000.00, 1, '2025-10-17 08:06:00', '2025-10-17 08:21:48', 25000000.00, 2025),
(96, 281, 3, '2025-06-10', '2025-10-17', 25000000.00, 1, '2025-10-17 08:13:25', '2025-10-17 08:13:55', 25000000.00, 2025),
(97, 435, 1, '2025-12-06', NULL, 0.00, 0, '2025-11-06 06:40:58', '2025-11-06 06:40:58', 7500000.00, 2025),
(98, 436, 1, '2025-12-07', NULL, 0.00, 0, '2025-11-07 11:29:55', '2025-11-07 11:29:55', 7500000.00, 2025),
(99, 437, 1, '2025-11-13', '2025-11-13', 50000000.00, 1, '2025-11-13 06:17:46', '2025-11-13 06:18:34', 50000000.00, 2025),
(100, 438, 1, '2025-12-15', NULL, 0.00, 0, '2025-11-15 03:41:15', '2025-11-15 03:41:15', 7500000.00, 2025),
(101, 439, 1, '2025-12-15', NULL, 0.00, 0, '2025-11-15 03:46:18', '2025-11-15 03:46:18', 7500000.00, 2025),
(102, 421, 2, '2025-11-25', '2025-11-25', 7185000.00, 1, '2025-11-25 11:34:55', '2025-11-25 11:36:04', 7185000.00, 2025),
(103, 442, 1, '2026-01-16', NULL, 0.00, 0, '2025-12-17 02:46:19', '2025-12-17 02:46:19', 7500000.00, 2025),
(104, 444, 1, '2026-01-21', NULL, 0.00, 0, '2025-12-22 05:50:21', '2025-12-22 05:50:21', 7500000.00, 2025),
(105, 435, 1, '2026-01-05', '2026-01-06', 7185000.00, 1, '2026-01-06 09:14:55', '2026-01-06 09:15:39', 7185000.00, 2026),
(106, 421, 1, '2026-01-06', '2026-01-06', 7185000.00, 1, '2026-01-06 09:15:17', '2026-01-06 09:15:59', 7185000.00, 2026);

-- --------------------------------------------------------

--
-- Table structure for table `payment_history`
--

CREATE TABLE `payment_history` (
  `id` int(11) NOT NULL,
  `student_id` int(11) NOT NULL,
  `payments_id` int(11) DEFAULT NULL,
  `wave` int(11) NOT NULL,
  `amount` float DEFAULT NULL,
  `payment_date` date DEFAULT NULL,
  `user_id` int(11) NOT NULL,
  `year` int(11) DEFAULT NULL,
  `created_at` datetime NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `payment_history`
--

INSERT INTO `payment_history` (`id`, `student_id`, `payments_id`, `wave`, `amount`, `payment_date`, `user_id`, `year`, `created_at`) VALUES
(48, 279, 27, 1, 7185000, '2025-08-22', 14, 2025, '2025-08-22 12:23:07'),
(49, 27, 279, 1, 7185000, '2025-08-22', 14, 2025, '2025-08-22 12:23:08'),
(50, 27, 279, 1, 7185000, '2025-08-22', 14, 2025, '2025-08-22 12:23:08'),
(51, 359, NULL, 1, 7500000, '2025-08-29', 14, 2025, '2025-08-29 15:44:51'),
(52, 357, NULL, 1, 50000000, '2025-08-29', 14, 2025, '2025-08-29 15:52:46'),
(53, 356, NULL, 1, 7500000, '2025-08-29', 14, 2025, '2025-08-29 15:53:33'),
(54, 355, NULL, 1, 50000000, '2025-08-29', 14, 2025, '2025-08-29 15:54:00'),
(55, 354, NULL, 1, 23000000, '2025-08-29', 14, 2025, '2025-08-29 15:54:25'),
(56, 353, NULL, 1, 50000000, '2025-08-29', 14, 2025, '2025-08-29 15:54:42'),
(57, 351, NULL, 1, 14685000, '2025-08-29', 14, 2025, '2025-08-29 15:54:55'),
(58, 349, NULL, 1, 25000000, '2025-08-29', 14, 2025, '2025-08-29 15:55:25'),
(59, 324, NULL, 1, 7185000, '2025-08-29', 14, 2025, '2025-08-29 16:11:08'),
(60, 325, NULL, 1, 7185000, '2025-08-29', 14, 2025, '2025-08-29 16:11:24'),
(61, 326, NULL, 1, 7185000, '2025-08-29', 14, 2025, '2025-08-29 16:12:02'),
(62, 329, NULL, 1, 7185000, '2025-08-29', 14, 2025, '2025-08-29 16:12:30'),
(63, 330, NULL, 1, 7185000, '2025-08-29', 14, 2025, '2025-08-29 16:12:50'),
(64, 303, NULL, 1, 7185000, '2025-08-29', 14, 2025, '2025-08-29 16:13:27'),
(65, 307, NULL, 2, 4000000, '2025-08-29', 14, 2025, '2025-08-29 16:13:47'),
(66, 308, NULL, 1, 7185000, '2025-08-29', 14, 2025, '2025-08-29 16:14:10'),
(67, 297, NULL, 1, 7500000, '2025-08-29', 14, 2025, '2025-08-29 16:20:09'),
(68, 297, NULL, 2, 7185000, '2025-08-29', 14, 2025, '2025-08-29 16:20:15'),
(69, 297, NULL, 3, 7185000, '2025-08-29', 14, 2025, '2025-08-29 16:20:20'),
(70, 297, NULL, 4, 32000000, '2025-08-29', 14, 2025, '2025-08-29 16:20:26'),
(71, 301, NULL, 5, 32000000, '2025-08-29', 14, 2025, '2025-08-29 16:45:27'),
(72, 301, NULL, 4, 7185000, '2025-08-29', 14, 2025, '2025-08-29 16:45:33'),
(73, 301, NULL, 3, 7185000, '2025-08-29', 14, 2025, '2025-08-29 16:45:38'),
(74, 301, NULL, 2, 390000, '2025-08-29', 14, 2025, '2025-08-29 16:45:43'),
(75, 301, NULL, 1, 6720000, '2025-08-29', 14, 2025, '2025-08-29 16:45:48'),
(76, 350, NULL, 1, 50000000, '2025-09-02', 14, 2025, '2025-09-02 16:35:36'),
(77, 296, NULL, 1, 32000000, '2025-09-04', 14, 2025, '2025-09-04 11:48:33'),
(78, 321, NULL, 1, 7185000, '2025-09-04', 14, 2025, '2025-09-04 11:50:22'),
(79, 321, NULL, 2, 3500000, '2025-09-04', 14, 2025, '2025-09-04 11:50:29'),
(80, 367, NULL, 1, 50000000, '2025-09-10', 14, 2025, '2025-09-10 09:34:05'),
(81, 361, NULL, 1, 25000000, '2025-09-10', 14, 2025, '2025-09-10 09:35:01'),
(82, 362, NULL, 1, 25000000, '2025-09-10', 14, 2025, '2025-09-10 09:35:20'),
(83, 363, NULL, 1, 25000000, '2025-09-10', 14, 2025, '2025-09-10 09:35:39'),
(84, 300, NULL, 1, 7185000, '2025-09-17', 14, 2025, '2025-09-17 14:39:45'),
(85, 409, NULL, 1, 50000000, '2025-09-19', 14, 2025, '2025-09-19 16:06:55'),
(86, 408, 67, 1, 1875000, '2025-09-19', 14, 2025, '2025-09-19 16:09:37'),
(87, 67, 408, 1, 7500000, '2025-09-19', 14, 2025, '2025-09-19 16:09:37'),
(88, 67, 408, 1, 7500000, '2025-09-19', 14, 2025, '2025-09-19 16:09:37'),
(89, 67, 408, 1, 1875000, '2025-09-19', 14, 2025, '2025-09-19 16:10:07'),
(90, 407, NULL, 1, 14685000, '2025-09-22', 14, 2025, '2025-09-22 15:28:20'),
(91, 419, NULL, 1, 50000000, '2025-09-22', 14, 2025, '2025-09-22 15:53:35'),
(92, 399, NULL, 1, 14500000, '2025-10-02', 14, 2025, '2025-10-02 13:14:25'),
(93, 396, NULL, 1, 50000000, '2025-10-02', 14, 2025, '2025-10-02 13:14:55'),
(94, 412, NULL, 1, 14683000, '2025-10-02', 14, 2025, '2025-10-02 20:54:24'),
(95, 359, NULL, 3, 7000000, '2025-10-02', 14, 2025, '2025-10-02 21:04:38'),
(96, 346, 80, 2, 7185000, '2025-10-08', 14, 2025, '2025-10-08 17:07:35'),
(97, 80, 346, 2, 7185000, '2025-10-08', 14, 2025, '2025-10-08 17:07:35'),
(98, 80, 346, 2, 7185000, '2025-10-08', 14, 2025, '2025-10-08 17:07:35'),
(99, 432, NULL, 1, 50000000, '2025-10-08', 14, 2025, '2025-10-08 17:10:36'),
(100, 346, NULL, 1, 7700000, '2025-10-08', 14, 2025, '2025-10-08 17:14:51'),
(101, 433, NULL, 1, 7700000, '2025-10-08', 14, 2025, '2025-10-08 17:19:35'),
(102, 433, NULL, 2, 7185000, '2025-10-08', 14, 2025, '2025-10-08 17:19:44'),
(103, 425, NULL, 1, 7800000, '2025-10-17', 14, 2025, '2025-10-17 11:24:45'),
(104, 421, NULL, 1, 7800000, '2025-10-17', 14, 2025, '2025-10-17 11:25:11'),
(105, 279, NULL, 1, 7700000, '2025-10-17', 14, 2025, '2025-10-17 15:06:36'),
(106, 279, NULL, 2, 7185000, '2025-10-17', 14, 2025, '2025-10-17 15:06:43'),
(107, 280, NULL, 1, 25000000, '2025-10-17', 14, 2025, '2025-10-17 15:08:54'),
(108, 280, NULL, 2, 25000000, '2025-10-17', 14, 2025, '2025-10-17 15:09:03'),
(109, 281, NULL, 1, 25000000, '2025-10-17', 14, 2025, '2025-10-17 15:10:24'),
(110, 281, NULL, 2, 250000000, '2025-10-17', 14, 2025, '2025-10-17 15:10:37'),
(111, 281, NULL, 2, 25000000, '2025-10-17', 14, 2025, '2025-10-17 15:10:47'),
(112, 281, NULL, 3, 25000000, '2025-10-17', 14, 2025, '2025-10-17 15:13:55'),
(113, 282, NULL, 1, 25000000, '2025-10-17', 14, 2025, '2025-10-17 15:21:15'),
(114, 282, NULL, 2, 25000000, '2025-10-17', 14, 2025, '2025-10-17 15:21:34'),
(115, 282, NULL, 2, 25000000, '2025-10-17', 14, 2025, '2025-10-17 15:21:48'),
(116, 437, NULL, 1, 50000000, '2025-11-13', 14, 2025, '2025-11-13 13:18:34'),
(117, 421, NULL, 2, 7185000, '2025-11-25', 14, 2025, '2025-11-25 18:36:04'),
(118, 435, NULL, 1, 7185000, '2026-01-06', 14, 2026, '2026-01-06 16:15:40'),
(119, 421, NULL, 1, 7185000, '2026-01-06', 14, 2026, '2026-01-06 16:15:59');

-- --------------------------------------------------------

--
-- Table structure for table `phan_chia_phong`
--

CREATE TABLE `phan_chia_phong` (
  `id` int(11) NOT NULL,
  `phong_hoc_id` int(11) NOT NULL,
  `lop_hoc_id` int(11) NOT NULL,
  `buoi_hoc` enum('sang','chieu','toi') NOT NULL,
  `ngay_hoc` date NOT NULL,
  `so_luong_hien_tai` int(11) DEFAULT 0,
  `danh_sach_hoc_vien` text DEFAULT NULL,
  `created_at` timestamp NOT NULL DEFAULT current_timestamp(),
  `updated_at` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp()
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `phan_chia_phong`
--

INSERT INTO `phan_chia_phong` (`id`, `phong_hoc_id`, `lop_hoc_id`, `buoi_hoc`, `ngay_hoc`, `so_luong_hien_tai`, `danh_sach_hoc_vien`, `created_at`, `updated_at`) VALUES
(23, 5, 29, 'sang', '2025-08-19', 8, '', '2025-08-19 08:45:16', '2025-08-19 08:45:16'),
(24, 5, 28, 'chieu', '2025-08-19', 0, '', '2025-08-19 08:45:31', '2025-08-19 08:45:31'),
(25, 7, 25, 'sang', '2025-08-19', 0, '', '2025-08-19 08:45:41', '2025-08-19 08:45:41'),
(26, 10, 26, 'sang', '2025-08-19', 0, '', '2025-08-19 08:46:53', '2025-08-19 08:46:53'),
(27, 1, 22, 'chieu', '2025-08-19', 0, '', '2025-08-19 08:47:04', '2025-08-19 08:47:04');

-- --------------------------------------------------------

--
-- Table structure for table `phan_loai`
--

CREATE TABLE `phan_loai` (
  `id` int(11) NOT NULL,
  `name` varchar(255) DEFAULT NULL,
  `status` int(11) DEFAULT NULL,
  `types` int(11) DEFAULT NULL,
  `mo_ta` text DEFAULT NULL,
  `created_at` datetime DEFAULT NULL,
  `updated_at` datetime DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `phan_loai`
--

INSERT INTO `phan_loai` (`id`, `name`, `status`, `types`, `mo_ta`, `created_at`, `updated_at`) VALUES
(1, 'NEW', 1, 1, 'Lớp mới', '2025-05-08 00:00:00', '2025-05-08 00:00:00'),
(2, 'A1.1', 1, 1, 'Cấp độ A1.1', '2025-05-08 00:00:00', '2025-05-08 00:00:00'),
(3, 'A1.2', 1, 1, 'Cấp độ A1.2', '2025-05-08 00:00:00', '2025-05-08 00:00:00'),
(4, 'A2.1', 1, 1, 'Cấp độ A2.1', '2025-05-08 00:00:00', '2025-05-08 00:00:00'),
(5, 'LUYỆN THI', 1, 1, 'Lớp luyện thi', '2025-05-08 00:00:00', '2025-05-08 00:00:00'),
(6, 'B1.2', 1, 1, 'Cấp độ B1.2', '2025-05-08 00:00:00', '2025-05-08 00:00:00'),
(7, 'KHẢI GIẢNG', 1, 1, 'Lớp khai giảng', '2025-05-08 00:00:00', '2025-05-08 00:00:00');

-- --------------------------------------------------------

--
-- Table structure for table `phong_ban`
--

CREATE TABLE `phong_ban` (
  `id` int(11) NOT NULL,
  `name` varchar(255) NOT NULL,
  `summary` text DEFAULT NULL,
  `due_date` date DEFAULT NULL,
  `attachment` varchar(255) DEFAULT NULL,
  `description` text DEFAULT NULL,
  `chuyen_nhuong` int(11) DEFAULT NULL,
  `label_id` int(11) DEFAULT NULL,
  `status` int(11) DEFAULT NULL,
  `created_at` timestamp NOT NULL DEFAULT current_timestamp(),
  `updated_at` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp()
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `phong_ban`
--

INSERT INTO `phong_ban` (`id`, `name`, `summary`, `due_date`, `attachment`, `description`, `chuyen_nhuong`, `label_id`, `status`, `created_at`, `updated_at`) VALUES
(1, 'Phòng Hỗ trợ Visa', 'abc', '2025-05-14', NULL, 'Chịu trách nhiệm, chuản bị hồ sơ học viên trong và ngoài nước. Đăng ký thi B1 cho HV', 1, 1, 1, '2025-05-12 13:30:16', '2025-08-18 04:48:14'),
(2, 'Phòng Vệ sinh công sở', NULL, NULL, NULL, NULL, NULL, NULL, 1, '2025-05-12 13:30:16', '2025-05-12 13:31:06'),
(3, 'Phòng BackOffice', NULL, NULL, NULL, NULL, NULL, NULL, 1, '2025-05-12 13:30:16', '2025-05-12 13:31:07'),
(4, 'Phòng Marketing/Tele MKT', NULL, NULL, NULL, NULL, NULL, NULL, 1, '2025-05-12 13:30:16', '2025-05-12 13:31:13'),
(5, 'Phòng tư vấn', NULL, NULL, NULL, NULL, NULL, NULL, 1, '2025-05-12 13:30:16', '2025-05-12 13:31:14'),
(6, 'Phòng kinh doanh', NULL, NULL, NULL, NULL, NULL, NULL, 1, '2025-05-12 13:30:16', '2025-05-12 13:31:15'),
(7, 'Phòng đào tạo', NULL, NULL, NULL, NULL, NULL, NULL, 1, '2025-05-12 13:30:16', '2025-05-12 13:31:17'),
(8, 'Chăm sóc khách hàng', NULL, NULL, NULL, NULL, NULL, NULL, 1, '2025-05-12 13:30:16', '2025-05-14 13:38:58'),
(21, 'Giám đốc chuyên môn tiếng Đức', NULL, '2030-03-30', NULL, 'Chịu trách nhiệm xây dựng và quản lý chương trình đào tạo tiếng Đức, đảm bảo chất lượng giảng dạy, huấn luyện và hỗ trợ giáo viên, cập nhật phương pháp giảng dạy hiện đại, giám sát tiến độ học tập của học viên và phối hợp tổ chức các hoạt động học thuật.', 5, NULL, 1, '2025-08-13 02:43:33', '2025-08-13 08:03:15'),
(22, 'Giám đốc hợp tác quốc tế', NULL, '2030-03-30', NULL, 'Phụ trách xây dựng, phát triển và duy trì quan hệ hợp tác với đối tác nước ngoài, đàm phán ký kết hợp đồng, triển khai dự án quốc tế, tìm kiếm cơ hội hợp tác mới và thúc đẩy hình ảnh, uy tín của tổ chức trên thị trường quốc tế.', 13, NULL, 1, '2025-08-13 02:45:27', '2025-08-13 08:03:10'),
(23, 'Team Leader', NULL, '2030-03-30', NULL, 'Quản lý, phân công và giám sát công việc của nhóm, hỗ trợ thành viên hoàn thành mục tiêu, đảm bảo tiến độ và chất lượng, đồng thời làm cầu nối giữa nhóm và ban quản lý.', 14, NULL, 1, '2025-08-13 03:02:45', '2025-08-13 08:03:19');

-- --------------------------------------------------------

--
-- Table structure for table `phong_hoc`
--

CREATE TABLE `phong_hoc` (
  `id` int(11) NOT NULL,
  `ten_phong` varchar(100) NOT NULL,
  `suc_chua_max` int(11) NOT NULL DEFAULT 30,
  `chi_nhanh_id` int(11) DEFAULT NULL,
  `mo_ta` text DEFAULT NULL,
  `trang_thai` tinyint(4) DEFAULT 1,
  `created_at` timestamp NOT NULL DEFAULT current_timestamp(),
  `updated_at` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp()
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `phong_hoc`
--

INSERT INTO `phong_hoc` (`id`, `ten_phong`, `suc_chua_max`, `chi_nhanh_id`, `mo_ta`, `trang_thai`, `created_at`, `updated_at`) VALUES
(1, 'CS2 - Phòng Lab', 16, 4, 'Phòng 1', 1, '2025-06-29 07:11:21', '2025-08-13 09:53:26'),
(2, 'Phòng A2', 25, 4, 'Phòng 2', 1, '2025-06-29 07:11:21', '2025-06-29 07:16:16'),
(3, 'Phòng B1', 16, 4, 'Phòng 3', 1, '2025-06-29 07:11:21', '2025-08-19 08:48:04'),
(4, 'Phòng B2', 16, 4, 'Phòng 4', 1, '2025-06-29 07:11:21', '2025-08-19 08:48:11'),
(5, ' A1.1/ CS1', 16, 4, 'Phòng A1.1', 1, '2025-07-30 07:24:06', '2025-08-19 08:45:07'),
(6, 'A1.2', 16, 4, 'Phòng A1.2', 1, '2025-07-30 07:24:06', '2025-08-19 08:47:33'),
(7, 'A2.1/ CS1', 16, 4, 'Phòng A2.1', 1, '2025-07-30 07:24:06', '2025-08-19 08:45:56'),
(8, 'A2.2', 16, 4, 'Phòng A2.2', 1, '2025-07-30 07:24:06', '2025-08-19 08:47:40'),
(9, 'B1.1', 16, 4, 'Phòng B1.1', 1, '2025-07-30 07:24:06', '2025-08-19 08:47:47'),
(10, 'B1.2/ CS1', 16, 4, 'Phòng B1.2', 1, '2025-07-30 07:24:06', '2025-08-19 08:46:45');

-- --------------------------------------------------------

--
-- Table structure for table `positions`
--

CREATE TABLE `positions` (
  `id` int(11) NOT NULL,
  `position_name` varchar(50) NOT NULL,
  `id_users` text NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `positions`
--

INSERT INTO `positions` (`id`, `position_name`, `id_users`) VALUES
(1, 'Admin', '3,5,13,14'),
(2, 'Kế toán', '7,9,14'),
(3, 'Đào Tạo', '17,15,22'),
(4, 'giáo viên', '16,17,18,20,21'),
(5, 'Chăm sóc khách hàng', '15,22');

-- --------------------------------------------------------

--
-- Table structure for table `position_permissions`
--

CREATE TABLE `position_permissions` (
  `id` int(11) NOT NULL,
  `position_id` int(11) NOT NULL,
  `menu_item` varchar(50) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `position_permissions`
--

INSERT INTO `position_permissions` (`id`, `position_id`, `menu_item`) VALUES
(22, 1, 'payment_wave'),
(24, 1, 'balance_management'),
(25, 1, 'balance_history'),
(26, 1, 'position'),
(36, 2, 'add_payment_receipt'),
(38, 2, 'add_payment_expenses'),
(40, 1, 'manage_positions'),
(47, 1, 'addclass'),
(48, 1, 'class_list'),
(65, 1, 'addbranch'),
(66, 1, 'branch'),
(67, 1, 'add_user'),
(68, 1, 'add_human_resources'),
(69, 1, 'human_resources'),
(70, 1, 'add_department'),
(71, 1, 'department'),
(72, 1, 'add_job_position'),
(73, 1, 'job_position'),
(74, 1, 'add_payment_receipt'),
(75, 1, 'add_payment_expenses'),
(76, 1, 'payment_receipt'),
(77, 1, 'payment_expenses'),
(96, 1, 'students_list'),
(97, 1, 'addpartner'),
(98, 1, 'dormitory'),
(99, 1, 'partner'),
(100, 1, 'adddormitory'),
(103, 1, 'addstudent'),
(132, 1, 'labels'),
(133, 1, 'financial_report'),
(150, 1, 'employee_salary'),
(151, 1, 'teacher_salary'),
(235, 4, 'class_list'),
(267, 4, 'students_list'),
(292, 5, 'addstudent'),
(293, 5, 'students_list'),
(294, 5, 'adddormitory'),
(295, 5, 'dormitory'),
(298, 5, 'add_payment_receipt'),
(300, 5, 'add_payment_expenses'),
(308, 5, 'class_list'),
(309, 5, 'addclass'),
(338, 3, 'class_list'),
(345, 3, 'addstudent'),
(346, 3, 'students_list'),
(349, 3, 'addclass');

-- --------------------------------------------------------

--
-- Table structure for table `status_hv`
--

CREATE TABLE `status_hv` (
  `id` int(11) NOT NULL,
  `name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
  `updated_at` timestamp NULL DEFAULT current_timestamp() ON UPDATE current_timestamp()
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `status_hv`
--

INSERT INTO `status_hv` (`id`, `name`, `created_at`, `updated_at`) VALUES
(1, 'Đang học', '2025-05-18 17:00:39', '2025-05-18 17:00:39'),
(2, 'Đã có B1', '2025-05-18 17:00:43', '2025-05-18 17:00:43'),
(3, 'Đang chờ Visa', '2025-05-18 17:00:51', '2025-05-18 17:00:51'),
(4, 'Đang bảo lưu', '2025-05-18 17:00:56', '2025-05-18 17:00:56'),
(5, 'Đang học thử', '2025-05-18 17:01:02', '2025-05-18 17:01:02'),
(6, 'In Germany', '2025-05-18 17:01:07', '2025-05-18 17:01:07'),
(7, 'Đã hoàn thành', '2025-05-18 17:01:12', '2025-05-18 17:01:12'),
(8, 'Đang chờ chứng chỉ', '2025-05-18 17:01:19', '2025-05-18 17:01:19'),
(9, 'Thanh lý HĐ', '2025-08-14 18:31:00', '2025-08-14 18:31:00');

-- --------------------------------------------------------

--
-- Table structure for table `teacher_salary`
--

CREATE TABLE `teacher_salary` (
  `id` int(11) NOT NULL,
  `teacher_id` int(11) NOT NULL,
  `month` int(11) NOT NULL,
  `year` int(11) NOT NULL,
  `teaching_sessions` decimal(10,2) DEFAULT 0.00,
  `session_salary` decimal(15,2) DEFAULT 0.00,
  `operation_salary` decimal(15,2) DEFAULT 0.00,
  `union_fee` decimal(15,2) DEFAULT 0.00,
  `company_insurance` decimal(15,2) DEFAULT 0.00,
  `insurance_support` decimal(15,2) DEFAULT 0.00,
  `bonus` decimal(15,2) DEFAULT 0.00,
  `training_fee` decimal(15,2) DEFAULT 0.00,
  `leave_start` int(11) DEFAULT 0,
  `leave_taken` int(11) DEFAULT 0,
  `leave_end` int(11) DEFAULT 0,
  `total_salary` decimal(15,2) DEFAULT 0.00,
  `status` int(11) DEFAULT 0,
  `created_at` timestamp NULL DEFAULT current_timestamp(),
  `updated_at` timestamp NULL DEFAULT current_timestamp() ON UPDATE current_timestamp()
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `teacher_salary`
--

INSERT INTO `teacher_salary` (`id`, `teacher_id`, `month`, `year`, `teaching_sessions`, `session_salary`, `operation_salary`, `union_fee`, `company_insurance`, `insurance_support`, `bonus`, `training_fee`, `leave_start`, `leave_taken`, `leave_end`, `total_salary`, `status`, `created_at`, `updated_at`) VALUES
(20, 19, 8, 2025, 17.00, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00, 0, 0, 0, 0.00, 0, '2025-08-18 09:12:35', '2025-08-29 01:02:02'),
(21, 17, 8, 2025, 1.00, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00, 0, 0, 0, 0.00, 0, '2025-08-22 08:54:12', '2025-08-22 08:54:12'),
(22, 19, 9, 2025, 20.00, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00, 0, 0, 0, 0.00, 0, '2025-09-03 01:22:40', '2025-09-19 06:58:11'),
(23, 19, 10, 2025, 1.00, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00, 0, 0, 0, 0.00, 0, '2025-10-11 03:17:07', '2025-10-11 03:17:07'),
(24, 25, 10, 2025, 6.00, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00, 0, 0, 0, 0.00, 0, '2025-10-13 01:21:32', '2025-10-22 02:23:04'),
(25, 26, 10, 2025, 6.00, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00, 0, 0, 0, 0.00, 0, '2025-10-13 06:48:55', '2025-10-24 07:25:18'),
(26, 25, 11, 2025, 1.00, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00, 0, 0, 0, 0.00, 0, '2025-11-05 01:49:08', '2025-11-05 01:49:08'),
(27, 26, 11, 2025, 4.00, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00, 0, 0, 0, 0.00, 0, '2025-11-05 08:07:36', '2025-11-15 03:47:14');

-- --------------------------------------------------------

--
-- Table structure for table `tra_thuong_giao_vien`
--

CREATE TABLE `tra_thuong_giao_vien` (
  `id` int(11) NOT NULL,
  `hoc_vien_id` int(11) NOT NULL,
  `lop_hoc_id` int(11) NOT NULL,
  `giao_vien_id` int(11) NOT NULL,
  `tien_thuong` decimal(10,2) DEFAULT 0.00,
  `trang_thai` tinyint(4) DEFAULT 0,
  `ngay_tra` datetime DEFAULT NULL,
  `created_at` datetime DEFAULT NULL,
  `updated_at` datetime DEFAULT NULL ON UPDATE current_timestamp()
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `tra_thuong_giao_vien`
--

INSERT INTO `tra_thuong_giao_vien` (`id`, `hoc_vien_id`, `lop_hoc_id`, `giao_vien_id`, `tien_thuong`, `trang_thai`, `ngay_tra`, `created_at`, `updated_at`) VALUES
(26, 288, 22, 18, 200000.00, 1, NULL, '2025-09-05 06:39:03', '2025-09-05 06:39:03'),
(27, 285, 22, 18, 200000.00, 1, NULL, '2025-09-05 06:39:05', '2025-09-05 06:39:05'),
(28, 293, 22, 18, 200000.00, 1, NULL, '2025-09-05 06:39:06', '2025-09-05 06:39:06'),
(29, 296, 22, 18, 200000.00, 1, NULL, '2025-09-05 06:39:07', '2025-09-05 06:39:07'),
(30, 298, 22, 18, 200000.00, 1, NULL, '2025-09-05 06:39:08', '2025-09-05 06:39:08'),
(31, 289, 22, 18, 200000.00, 1, NULL, '2025-09-05 06:39:08', '2025-09-05 06:39:08'),
(32, 282, 22, 18, 200000.00, 1, NULL, '2025-09-05 06:39:10', '2025-09-05 06:39:10'),
(33, 291, 22, 18, 200000.00, 1, NULL, '2025-09-05 06:39:10', '2025-09-05 06:39:10'),
(34, 279, 22, 18, 200000.00, 1, NULL, '2025-09-05 06:39:11', '2025-09-05 06:39:11'),
(35, 294, 22, 18, 200000.00, 1, NULL, '2025-09-05 06:39:12', '2025-09-05 06:39:12'),
(36, 283, 22, 18, 200000.00, 1, NULL, '2025-09-05 06:39:13', '2025-09-05 06:39:13'),
(37, 292, 22, 18, 200000.00, 1, NULL, '2025-09-05 06:39:13', '2025-09-05 06:39:13'),
(38, 295, 22, 18, 200000.00, 1, NULL, '2025-09-05 06:39:14', '2025-09-05 06:39:14'),
(39, 287, 22, 18, 200000.00, 1, NULL, '2025-09-05 06:39:14', '2025-09-05 06:39:14'),
(40, 280, 22, 18, 200000.00, 1, NULL, '2025-09-05 06:39:15', '2025-09-05 06:39:15'),
(41, 290, 22, 18, 200000.00, 1, NULL, '2025-09-05 06:39:16', '2025-09-05 06:39:16'),
(42, 301, 22, 18, 200000.00, 1, NULL, '2025-09-05 06:39:16', '2025-09-05 06:39:16'),
(43, 284, 22, 18, 200000.00, 1, NULL, '2025-09-05 06:39:17', '2025-09-05 06:39:17'),
(44, 286, 22, 18, 200000.00, 1, NULL, '2025-09-05 06:39:18', '2025-09-05 06:39:18'),
(45, 300, 22, 18, 200000.00, 1, NULL, '2025-09-05 06:39:18', '2025-09-05 06:39:18'),
(46, 281, 22, 18, 200000.00, 1, NULL, '2025-09-05 06:39:19', '2025-09-05 06:39:19'),
(47, 297, 22, 18, 200000.00, 1, NULL, '2025-09-05 06:39:19', '2025-09-05 06:39:19'),
(48, 409, 22, 18, 200000.00, 1, NULL, '2025-09-22 10:02:14', '2025-09-22 10:02:14'),
(49, 354, 28, 19, 200000.00, 1, NULL, '2025-09-30 09:35:44', '2025-09-30 09:35:44'),
(50, 353, 28, 19, 200000.00, 1, NULL, '2025-09-30 09:35:45', '2025-09-30 09:35:45'),
(51, 356, 28, 19, 200000.00, 1, NULL, '2025-09-30 09:35:47', '2025-09-30 09:35:47'),
(52, 357, 28, 19, 200000.00, 1, NULL, '2025-09-30 09:35:58', '2025-09-30 09:35:58'),
(53, 355, 28, 19, 200000.00, 1, NULL, '2025-09-30 09:35:59', '2025-09-30 09:35:59'),
(54, 351, 28, 19, 200000.00, 1, NULL, '2025-09-30 09:36:00', '2025-09-30 09:36:00'),
(55, 349, 28, 19, 200000.00, 1, NULL, '2025-09-30 09:36:02', '2025-09-30 09:36:02'),
(56, 363, 36, 19, 200000.00, 1, NULL, '2025-11-05 08:10:42', '2025-11-05 08:10:42'),
(57, 414, 31, 25, 200000.00, 1, NULL, '2025-11-08 05:36:09', '2025-11-08 05:36:09'),
(58, 396, 31, 25, 200000.00, 1, NULL, '2025-11-08 05:36:24', '2025-11-08 05:36:24');

-- --------------------------------------------------------

--
-- Table structure for table `trinh_do`
--

CREATE TABLE `trinh_do` (
  `id` int(11) NOT NULL,
  `name` varchar(50) DEFAULT NULL,
  `type_code` varchar(50) DEFAULT NULL,
  `so_buoi` text DEFAULT NULL,
  `so_diem` int(11) DEFAULT NULL,
  `thu_tu` int(11) DEFAULT NULL,
  `lop_hoc_id` int(11) DEFAULT NULL,
  `den_types` int(11) DEFAULT NULL,
  `created_at` timestamp NOT NULL DEFAULT current_timestamp(),
  `updated_at` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
  `hoc_phi` decimal(10,0) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

--
-- Dumping data for table `trinh_do`
--

INSERT INTO `trinh_do` (`id`, `name`, `type_code`, `so_buoi`, `so_diem`, `thu_tu`, `lop_hoc_id`, `den_types`, `created_at`, `updated_at`, `hoc_phi`) VALUES
(1, 'Trình độ A1.1', 'Trình độ A1.1', '32', 75, 1, NULL, 2, '2025-08-12 16:06:18', '2025-12-18 09:24:17', 7500000),
(2, 'Trình độ A1.2', 'Trình độ A1.2', '29', 70, 2, NULL, 2, '2025-08-12 16:06:18', '2025-12-18 09:24:19', 7500000),
(3, 'Trình độ A2.1', 'Trình độ A2.1', '29', 65, 3, NULL, 4, '2025-08-12 16:06:18', '2025-12-18 09:24:20', 7000000),
(4, 'Trình độ A2.2', 'Trình độ A2.2', '29', 65, 4, NULL, 4, '2025-08-12 16:06:18', '2025-12-18 09:24:21', 7000000),
(5, 'Trình độ B1.1', 'Trình độ B1.1', '29', 65, 5, NULL, 4, '2025-08-12 16:06:18', '2025-12-18 09:24:22', 7000000),
(6, 'Trình độ B1.2', 'Trình độ B1.2', '29', 65, 6, NULL, 4, '2025-08-12 16:06:18', '2025-12-18 09:24:23', 7000000),
(7, 'Luyện thi', 'Luyện thi', '25', NULL, NULL, NULL, 4, '2025-08-12 16:06:18', '2025-12-18 09:24:24', 7000000);

-- --------------------------------------------------------

--
-- Table structure for table `trinh_do_hoc`
--

CREATE TABLE `trinh_do_hoc` (
  `id` int(11) NOT NULL,
  `ma_trinh_do` varchar(20) NOT NULL,
  `ten_trinh_do` varchar(50) NOT NULL,
  `so_diem` int(11) DEFAULT 0,
  `thu_tu` int(11) DEFAULT NULL,
  `lop_hoc_id` int(11) DEFAULT NULL,
  `so_buoi` text DEFAULT NULL,
  `den_types` int(11) DEFAULT 2,
  `created_at` timestamp NOT NULL DEFAULT current_timestamp()
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `trinh_do_hoc`
--

INSERT INTO `trinh_do_hoc` (`id`, `ma_trinh_do`, `ten_trinh_do`, `so_diem`, `thu_tu`, `lop_hoc_id`, `so_buoi`, `den_types`, `created_at`) VALUES
(1, 'A1.1', 'Trình độ A1.1', 75, 1, 4, '32', 2, '2025-05-28 09:07:16'),
(2, 'A1.2', 'Trình độ A1.2', 70, 2, 1, '29', 2, '2025-05-28 09:07:16'),
(3, 'A2.1', 'Trình độ A2.1', 65, 3, 2, '29', 4, '2025-05-28 09:07:16'),
(4, 'A2.2', 'Trình độ A2.2', 65, 4, 6, '29', 4, '2025-05-28 09:07:16'),
(5, 'B1.1', 'Trình độ B1.1', 65, 5, 4, '29', 4, '2025-05-28 09:07:16'),
(6, 'B1.2', 'Trình độ B1.2', 65, 6, 6, '29', 4, '2025-05-28 09:07:16'),
(7, 'LUYEN_THI', 'Luyện thi', NULL, NULL, 4, '25', 4, '2025-05-28 09:07:16');

-- --------------------------------------------------------

--
-- Table structure for table `tu_van`
--

CREATE TABLE `tu_van` (
  `id` int(11) NOT NULL,
  `id_giao_vien` int(11) DEFAULT NULL,
  `status` tinyint(1) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `tu_van`
--

INSERT INTO `tu_van` (`id`, `id_giao_vien`, `status`) VALUES
(1, 2, 1),
(2, 3, 1),
(3, 8, 1);

-- --------------------------------------------------------

--
-- Table structure for table `vi_tri_cong_viec`
--

CREATE TABLE `vi_tri_cong_viec` (
  `id` int(11) NOT NULL,
  `name` varchar(255) NOT NULL,
  `summary` text DEFAULT NULL,
  `attachment` varchar(500) DEFAULT NULL,
  `due_date` date DEFAULT NULL,
  `description` text DEFAULT NULL,
  `assignee` int(11) DEFAULT NULL,
  `label` int(11) DEFAULT NULL,
  `status` tinyint(1) DEFAULT 1,
  `created_at` timestamp NOT NULL DEFAULT current_timestamp(),
  `updated_at` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp()
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `vi_tri_cong_viec`
--

INSERT INTO `vi_tri_cong_viec` (`id`, `name`, `summary`, `attachment`, `due_date`, `description`, `assignee`, `label`, `status`, `created_at`, `updated_at`) VALUES
(7, 'Marketing', NULL, NULL, NULL, NULL, 15, NULL, 1, '2025-05-12 13:34:39', '2025-08-18 04:49:10'),
(8, 'Chăm sóc học viên', NULL, NULL, NULL, NULL, 15, NULL, 1, '2025-05-12 13:34:39', '2025-08-18 04:49:14'),
(9, 'Kế toán', NULL, NULL, NULL, NULL, NULL, NULL, 1, '2025-05-12 13:34:39', '2025-05-12 13:34:39'),
(20, 'Giám đốc chuyên môn tiếng Đức', NULL, NULL, '2030-03-30', 'Đào tạo chuyên môn cho giáo viên', 5, NULL, 1, '2025-08-17 23:50:20', '2025-08-17 23:50:20'),
(22, 'Giám đốc hợp tác quốc tế', NULL, NULL, '2030-03-30', 'Hợp tác đầu ngoại', 13, NULL, 1, '2025-08-17 23:51:53', '2025-08-17 23:51:53');

--
-- Indexes for dumped tables
--

--
-- Indexes for table `attendance_session_log`
--
ALTER TABLE `attendance_session_log`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `unique_session` (`lop_hoc_id`,`ngay_diem_danh`),
  ADD KEY `teacher_id` (`teacher_id`);

--
-- Indexes for table `balances`
--
ALTER TABLE `balances`
  ADD PRIMARY KEY (`id`),
  ADD KEY `idx_entity` (`entity_type`,`entity_id`);

--
-- Indexes for table `balance_history`
--
ALTER TABLE `balance_history`
  ADD PRIMARY KEY (`id`);

--
-- Indexes for table `cap_bac_nhan_su`
--
ALTER TABLE `cap_bac_nhan_su`
  ADD PRIMARY KEY (`id`);

--
-- Indexes for table `chi_nhanh`
--
ALTER TABLE `chi_nhanh`
  ADD PRIMARY KEY (`id`);

--
-- Indexes for table `course_types`
--
ALTER TABLE `course_types`
  ADD PRIMARY KEY (`id`);

--
-- Indexes for table `diem_danh`
--
ALTER TABLE `diem_danh`
  ADD PRIMARY KEY (`id`);

--
-- Indexes for table `diem_so_hoc_vien`
--
ALTER TABLE `diem_so_hoc_vien`
  ADD PRIMARY KEY (`id`);

--
-- Indexes for table `diem_test_hoc_vien`
--
ALTER TABLE `diem_test_hoc_vien`
  ADD PRIMARY KEY (`id`);

--
-- Indexes for table `diem_thi_cuoi_hoc_phan`
--
ALTER TABLE `diem_thi_cuoi_hoc_phan`
  ADD PRIMARY KEY (`id`);

--
-- Indexes for table `doi_tac`
--
ALTER TABLE `doi_tac`
  ADD PRIMARY KEY (`id`);

--
-- Indexes for table `employee_salary`
--
ALTER TABLE `employee_salary`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `unique_employee_month_year` (`employee_id`,`month`,`year`),
  ADD KEY `idx_employee_id` (`employee_id`),
  ADD KEY `idx_month_year` (`month`,`year`),
  ADD KEY `idx_status` (`status`);

--
-- Indexes for table `giao_vien`
--
ALTER TABLE `giao_vien`
  ADD PRIMARY KEY (`id`);

--
-- Indexes for table `hoc_vien`
--
ALTER TABLE `hoc_vien`
  ADD PRIMARY KEY (`id`),
  ADD KEY `fk_course_type` (`course_type_id`);

--
-- Indexes for table `hoc_vien_lop_hoc`
--
ALTER TABLE `hoc_vien_lop_hoc`
  ADD PRIMARY KEY (`hoc_vien_id`,`lop_hoc_id`),
  ADD KEY `lop_hoc_id` (`lop_hoc_id`);

--
-- Indexes for table `issues`
--
ALTER TABLE `issues`
  ADD PRIMARY KEY (`id`),
  ADD KEY `student_id` (`student_id`);

--
-- Indexes for table `khoan_chi_phi`
--
ALTER TABLE `khoan_chi_phi`
  ADD PRIMARY KEY (`id`),
  ADD KEY `khoan_chi_phi_ibfk_1` (`chi_nhanh_id`),
  ADD KEY `khoan_chi_phi_ibfk_2` (`hoc_vien_id`),
  ADD KEY `khoan_chi_phi_ibfk_3` (`loai_chi_phi_id`);

--
-- Indexes for table `khoan_thu_phi`
--
ALTER TABLE `khoan_thu_phi`
  ADD PRIMARY KEY (`id`),
  ADD KEY `chi_nhanh_id` (`chi_nhanh_id`),
  ADD KEY `hoc_vien_id` (`hoc_vien_id`),
  ADD KEY `loai_thu_phi_id` (`loai_thu_phi_id`);

--
-- Indexes for table `ky_tuc_xa`
--
ALTER TABLE `ky_tuc_xa`
  ADD PRIMARY KEY (`id`);

--
-- Indexes for table `label`
--
ALTER TABLE `label`
  ADD PRIMARY KEY (`id`);

--
-- Indexes for table `lich_su_thao_tac`
--
ALTER TABLE `lich_su_thao_tac`
  ADD PRIMARY KEY (`id`);

--
-- Indexes for table `lich_su_tra_thuong`
--
ALTER TABLE `lich_su_tra_thuong`
  ADD PRIMARY KEY (`id`);

--
-- Indexes for table `loai_chi_phi`
--
ALTER TABLE `loai_chi_phi`
  ADD PRIMARY KEY (`id`);

--
-- Indexes for table `loai_lop_hoc`
--
ALTER TABLE `loai_lop_hoc`
  ADD PRIMARY KEY (`id`);

--
-- Indexes for table `loai_thu_phi`
--
ALTER TABLE `loai_thu_phi`
  ADD PRIMARY KEY (`id`);

--
-- Indexes for table `lop_hoc`
--
ALTER TABLE `lop_hoc`
  ADD PRIMARY KEY (`id`),
  ADD KEY `chi_nhanh_id` (`chi_nhanh_id`),
  ADD KEY `phong_hoc_id` (`phong_hoc_id`);

--
-- Indexes for table `nghe_nghiep_hv`
--
ALTER TABLE `nghe_nghiep_hv`
  ADD PRIMARY KEY (`id`);

--
-- Indexes for table `payments`
--
ALTER TABLE `payments`
  ADD PRIMARY KEY (`id`);

--
-- Indexes for table `payment_history`
--
ALTER TABLE `payment_history`
  ADD PRIMARY KEY (`id`);

--
-- Indexes for table `phan_chia_phong`
--
ALTER TABLE `phan_chia_phong`
  ADD PRIMARY KEY (`id`);

--
-- Indexes for table `phan_loai`
--
ALTER TABLE `phan_loai`
  ADD PRIMARY KEY (`id`);

--
-- Indexes for table `phong_ban`
--
ALTER TABLE `phong_ban`
  ADD PRIMARY KEY (`id`);

--
-- Indexes for table `phong_hoc`
--
ALTER TABLE `phong_hoc`
  ADD PRIMARY KEY (`id`);

--
-- Indexes for table `positions`
--
ALTER TABLE `positions`
  ADD PRIMARY KEY (`id`);

--
-- Indexes for table `position_permissions`
--
ALTER TABLE `position_permissions`
  ADD PRIMARY KEY (`id`);

--
-- Indexes for table `status_hv`
--
ALTER TABLE `status_hv`
  ADD PRIMARY KEY (`id`);

--
-- Indexes for table `teacher_salary`
--
ALTER TABLE `teacher_salary`
  ADD PRIMARY KEY (`id`);

--
-- Indexes for table `tra_thuong_giao_vien`
--
ALTER TABLE `tra_thuong_giao_vien`
  ADD PRIMARY KEY (`id`);

--
-- Indexes for table `trinh_do`
--
ALTER TABLE `trinh_do`
  ADD PRIMARY KEY (`id`);

--
-- Indexes for table `trinh_do_hoc`
--
ALTER TABLE `trinh_do_hoc`
  ADD PRIMARY KEY (`id`);

--
-- Indexes for table `tu_van`
--
ALTER TABLE `tu_van`
  ADD PRIMARY KEY (`id`);

--
-- Indexes for table `vi_tri_cong_viec`
--
ALTER TABLE `vi_tri_cong_viec`
  ADD PRIMARY KEY (`id`);

--
-- AUTO_INCREMENT for dumped tables
--

--
-- AUTO_INCREMENT for table `attendance_session_log`
--
ALTER TABLE `attendance_session_log`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `balances`
--
ALTER TABLE `balances`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `balance_history`
--
ALTER TABLE `balance_history`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `cap_bac_nhan_su`
--
ALTER TABLE `cap_bac_nhan_su`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `chi_nhanh`
--
ALTER TABLE `chi_nhanh`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `course_types`
--
ALTER TABLE `course_types`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `diem_danh`
--
ALTER TABLE `diem_danh`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `diem_so_hoc_vien`
--
ALTER TABLE `diem_so_hoc_vien`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `diem_test_hoc_vien`
--
ALTER TABLE `diem_test_hoc_vien`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `diem_thi_cuoi_hoc_phan`
--
ALTER TABLE `diem_thi_cuoi_hoc_phan`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `doi_tac`
--
ALTER TABLE `doi_tac`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `employee_salary`
--
ALTER TABLE `employee_salary`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `giao_vien`
--
ALTER TABLE `giao_vien`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `hoc_vien`
--
ALTER TABLE `hoc_vien`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `issues`
--
ALTER TABLE `issues`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `khoan_chi_phi`
--
ALTER TABLE `khoan_chi_phi`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `khoan_thu_phi`
--
ALTER TABLE `khoan_thu_phi`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `ky_tuc_xa`
--
ALTER TABLE `ky_tuc_xa`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `label`
--
ALTER TABLE `label`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `lich_su_thao_tac`
--
ALTER TABLE `lich_su_thao_tac`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `lich_su_tra_thuong`
--
ALTER TABLE `lich_su_tra_thuong`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `loai_chi_phi`
--
ALTER TABLE `loai_chi_phi`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `loai_lop_hoc`
--
ALTER TABLE `loai_lop_hoc`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `loai_thu_phi`
--
ALTER TABLE `loai_thu_phi`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `lop_hoc`
--
ALTER TABLE `lop_hoc`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `nghe_nghiep_hv`
--
ALTER TABLE `nghe_nghiep_hv`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `payments`
--
ALTER TABLE `payments`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `payment_history`
--
ALTER TABLE `payment_history`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `phan_chia_phong`
--
ALTER TABLE `phan_chia_phong`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `phong_ban`
--
ALTER TABLE `phong_ban`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `phong_hoc`
--
ALTER TABLE `phong_hoc`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `positions`
--
ALTER TABLE `positions`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `position_permissions`
--
ALTER TABLE `position_permissions`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `status_hv`
--
ALTER TABLE `status_hv`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `teacher_salary`
--
ALTER TABLE `teacher_salary`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `tra_thuong_giao_vien`
--
ALTER TABLE `tra_thuong_giao_vien`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `trinh_do`
--
ALTER TABLE `trinh_do`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `trinh_do_hoc`
--
ALTER TABLE `trinh_do_hoc`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `tu_van`
--
ALTER TABLE `tu_van`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `vi_tri_cong_viec`
--
ALTER TABLE `vi_tri_cong_viec`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;

--
-- Constraints for dumped tables
--

--
-- Constraints for table `attendance_session_log`
--
ALTER TABLE `attendance_session_log`
  ADD CONSTRAINT `attendance_session_log_ibfk_1` FOREIGN KEY (`lop_hoc_id`) REFERENCES `lop_hoc` (`id`),
  ADD CONSTRAINT `attendance_session_log_ibfk_2` FOREIGN KEY (`teacher_id`) REFERENCES `giao_vien` (`id`);

--
-- Constraints for table `hoc_vien`
--
ALTER TABLE `hoc_vien`
  ADD CONSTRAINT `fk_course_type` FOREIGN KEY (`course_type_id`) REFERENCES `course_types` (`id`);

--
-- Constraints for table `hoc_vien_lop_hoc`
--
ALTER TABLE `hoc_vien_lop_hoc`
  ADD CONSTRAINT `hoc_vien_lop_hoc_ibfk_2` FOREIGN KEY (`lop_hoc_id`) REFERENCES `lop_hoc` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `khoan_chi_phi`
--
ALTER TABLE `khoan_chi_phi`
  ADD CONSTRAINT `khoan_chi_phi_ibfk_1` FOREIGN KEY (`chi_nhanh_id`) REFERENCES `chi_nhanh` (`id`),
  ADD CONSTRAINT `khoan_chi_phi_ibfk_2` FOREIGN KEY (`hoc_vien_id`) REFERENCES `hoc_vien` (`id`),
  ADD CONSTRAINT `khoan_chi_phi_ibfk_3` FOREIGN KEY (`loai_chi_phi_id`) REFERENCES `loai_chi_phi` (`id`);

--
-- Constraints for table `lop_hoc`
--
ALTER TABLE `lop_hoc`
  ADD CONSTRAINT `lop_hoc_ibfk_1` FOREIGN KEY (`chi_nhanh_id`) REFERENCES `chi_nhanh` (`id`) ON DELETE SET NULL,
  ADD CONSTRAINT `lop_hoc_ibfk_2` FOREIGN KEY (`phong_hoc_id`) REFERENCES `phong_hoc` (`id`);
COMMIT;

