-- phpMyAdmin SQL Dump
-- version 5.2.1
-- https://www.phpmyadmin.net/
--
-- Host: localhost
-- Generation Time: Apr 13, 2026 at 09:47 AM
-- Server version: 10.11.15-MariaDB
-- PHP Version: 8.3.27

SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
START TRANSACTION;
SET time_zone = "+00:00";


/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
/*!40101 SET NAMES utf8mb4 */;

--
-- Database: `rame_seb`
--

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

--
-- Table structure for table `accounting_migrations`
--

CREATE TABLE `accounting_migrations` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `basic_transaction_id` bigint(20) UNSIGNED NOT NULL,
  `journal_entry_id` bigint(20) UNSIGNED NOT NULL,
  `migrated_at` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

--
-- Table structure for table `adms_device_registry`
--

CREATE TABLE `adms_device_registry` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `serial_number` varchar(255) NOT NULL,
  `tenant_id` bigint(20) UNSIGNED NOT NULL,
  `device_name` varchar(255) DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `adms_device_registry`
--

INSERT INTO `adms_device_registry` (`id`, `serial_number`, `tenant_id`, `device_name`, `created_at`, `updated_at`) VALUES
(1, 'BYRQ224460184', 2, 'Greenfield', '2026-03-16 19:44:01', '2026-03-16 19:44:01');

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

--
-- Table structure for table `attendances`
--

CREATE TABLE `attendances` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `user_id` bigint(20) UNSIGNED NOT NULL,
  `date` date NOT NULL COMMENT 'Attendance date',
  `check_in_time` datetime DEFAULT NULL,
  `check_out_time` datetime DEFAULT NULL,
  `late_reason` varchar(255) DEFAULT NULL,
  `shift_id` bigint(20) UNSIGNED DEFAULT NULL,
  `early_checkout_reason` varchar(255) DEFAULT NULL,
  `working_hours` decimal(15,2) NOT NULL DEFAULT 0.00,
  `break_hours` decimal(8,2) NOT NULL DEFAULT 0.00 COMMENT 'Total break hours',
  `late_hours` decimal(15,2) NOT NULL DEFAULT 0.00,
  `early_hours` decimal(15,2) NOT NULL DEFAULT 0.00,
  `overtime_hours` decimal(15,2) NOT NULL DEFAULT 0.00,
  `notes` varchar(255) DEFAULT NULL,
  `is_holiday` tinyint(1) NOT NULL DEFAULT 0,
  `is_weekend` tinyint(1) NOT NULL DEFAULT 0,
  `is_half_day` tinyint(1) NOT NULL DEFAULT 0,
  `status` enum('checked_in','checked_out','auto_checked_out','present','absent','leave','half-Day') NOT NULL,
  `approved_by_id` bigint(20) UNSIGNED DEFAULT NULL,
  `approved_at` datetime DEFAULT NULL,
  `created_by_id` bigint(20) UNSIGNED DEFAULT NULL,
  `updated_by_id` bigint(20) UNSIGNED DEFAULT NULL,
  `tenant_id` varchar(191) DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `attendances`
--

INSERT INTO `attendances` (`id`, `user_id`, `date`, `check_in_time`, `check_out_time`, `late_reason`, `shift_id`, `early_checkout_reason`, `working_hours`, `break_hours`, `late_hours`, `early_hours`, `overtime_hours`, `notes`, `is_holiday`, `is_weekend`, `is_half_day`, `status`, `approved_by_id`, `approved_at`, `created_by_id`, `updated_by_id`, `tenant_id`, `deleted_at`, `created_at`, `updated_at`) VALUES
(1, 2, '2026-02-07', '2026-02-07 12:00:00', '2026-02-07 19:00:00', NULL, 1, NULL, 7.00, 0.00, 12.00, 0.00, 0.00, NULL, 0, 0, 0, 'checked_out', NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-07 11:19:56', '2026-02-26 22:47:40'),
(2, 2, '2026-01-12', '2026-01-12 15:23:00', '2026-01-13 00:30:00', NULL, 32, NULL, 9.12, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'checked_out', NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-09 13:48:37', '2026-02-26 22:39:52'),
(3, 2, '2026-01-14', '2026-01-14 15:12:00', '2026-01-15 00:30:00', NULL, 32, NULL, 9.30, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'checked_out', NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-09 13:49:13', '2026-02-26 22:39:52'),
(4, 2, '2026-01-16', '2026-01-16 17:21:00', '2026-01-17 02:30:00', NULL, 36, NULL, 9.15, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'checked_out', NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-09 13:49:50', '2026-02-26 22:39:52'),
(5, 2, '2026-01-17', '2026-01-17 17:21:00', '2026-01-18 02:30:00', NULL, 36, NULL, 9.15, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'checked_out', NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-09 13:51:45', '2026-02-26 22:39:52'),
(6, 2, '2026-01-19', '2026-01-19 14:29:00', '2026-01-20 00:30:00', NULL, 32, NULL, 10.02, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'checked_out', NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-09 13:53:14', '2026-02-26 22:39:52'),
(7, 2, '2026-01-20', '2026-01-20 15:13:00', '2026-01-21 00:30:00', NULL, 32, NULL, 9.28, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'checked_out', NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-09 13:53:50', '2026-02-26 22:39:52'),
(8, 2, '2026-01-21', '2026-01-21 14:51:00', '2026-01-22 00:30:00', NULL, 32, NULL, 9.65, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'checked_out', NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-09 13:54:26', '2026-02-26 22:39:52'),
(9, 2, '2026-01-23', '2026-01-23 17:11:00', '2026-01-24 02:30:00', NULL, 36, NULL, 9.32, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'checked_out', NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-09 13:55:16', '2026-02-26 22:39:52'),
(10, 1, '2026-01-01', NULL, NULL, NULL, 1, NULL, 0.00, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'absent', NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-09 14:01:00', '2026-02-09 14:01:00'),
(11, 2, '2026-01-01', NULL, NULL, NULL, 1, NULL, 0.00, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'absent', NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-09 14:01:00', '2026-02-09 14:01:00'),
(12, 3, '2026-01-01', NULL, NULL, NULL, 1, NULL, 0.00, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'absent', NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-09 14:01:00', '2026-02-09 14:01:00'),
(13, 4, '2026-01-01', NULL, NULL, NULL, 1, NULL, 0.00, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'absent', NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-09 14:01:00', '2026-02-09 14:01:00'),
(14, 5, '2026-01-01', NULL, NULL, NULL, 1, NULL, 0.00, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'absent', NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-09 14:01:00', '2026-02-09 14:01:00'),
(15, 6, '2026-01-01', NULL, NULL, NULL, 1, NULL, 0.00, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'absent', NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-09 14:01:00', '2026-02-09 14:01:00'),
(16, 7, '2026-01-01', NULL, NULL, NULL, 1, NULL, 0.00, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'absent', NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-09 14:01:00', '2026-02-09 14:01:00'),
(17, 8, '2026-01-01', NULL, NULL, NULL, 1, NULL, 0.00, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'absent', NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-09 14:01:00', '2026-02-09 14:01:00'),
(18, 9, '2026-01-01', NULL, NULL, NULL, 1, NULL, 0.00, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'absent', NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-09 14:01:00', '2026-02-09 14:01:00'),
(19, 10, '2026-01-01', NULL, NULL, NULL, 1, NULL, 0.00, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'absent', NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-09 14:01:00', '2026-02-09 14:01:00'),
(20, 1, '2026-01-02', NULL, NULL, NULL, 1, NULL, 0.00, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'absent', NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-09 14:01:00', '2026-02-09 14:01:00'),
(21, 2, '2026-01-02', NULL, NULL, NULL, 1, NULL, 0.00, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'absent', NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-09 14:01:00', '2026-02-09 14:01:00'),
(22, 3, '2026-01-02', NULL, NULL, NULL, 1, NULL, 0.00, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'absent', NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-09 14:01:00', '2026-02-09 14:01:00'),
(23, 4, '2026-01-02', NULL, NULL, NULL, 1, NULL, 0.00, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'absent', NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-09 14:01:00', '2026-02-09 14:01:00'),
(24, 5, '2026-01-02', NULL, NULL, NULL, 1, NULL, 0.00, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'absent', NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-09 14:01:00', '2026-02-09 14:01:00'),
(25, 6, '2026-01-02', NULL, NULL, NULL, 1, NULL, 0.00, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'absent', NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-09 14:01:00', '2026-02-09 14:01:00'),
(26, 7, '2026-01-02', NULL, NULL, NULL, 1, NULL, 0.00, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'absent', NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-09 14:01:00', '2026-02-09 14:01:00'),
(27, 8, '2026-01-02', NULL, NULL, NULL, 1, NULL, 0.00, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'absent', NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-09 14:01:00', '2026-02-09 14:01:00'),
(28, 9, '2026-01-02', NULL, NULL, NULL, 1, NULL, 0.00, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'absent', NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-09 14:01:00', '2026-02-09 14:01:00'),
(29, 10, '2026-01-02', NULL, NULL, NULL, 1, NULL, 0.00, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'absent', NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-09 14:01:00', '2026-02-09 14:01:00'),
(30, 1, '2026-01-05', NULL, NULL, NULL, 1, NULL, 0.00, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'absent', NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-09 14:01:00', '2026-02-09 14:01:00'),
(31, 2, '2026-01-05', NULL, NULL, NULL, 1, NULL, 0.00, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'absent', NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-09 14:01:00', '2026-02-09 14:01:00'),
(32, 3, '2026-01-05', NULL, NULL, NULL, 1, NULL, 0.00, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'absent', NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-09 14:01:00', '2026-02-09 14:01:00'),
(33, 4, '2026-01-05', NULL, NULL, NULL, 1, NULL, 0.00, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'absent', NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-09 14:01:00', '2026-02-09 14:01:00'),
(34, 5, '2026-01-05', NULL, NULL, NULL, 1, NULL, 0.00, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'absent', NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-09 14:01:00', '2026-02-09 14:01:00'),
(35, 6, '2026-01-05', NULL, NULL, NULL, 1, NULL, 0.00, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'absent', NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-09 14:01:00', '2026-02-09 14:01:00'),
(36, 7, '2026-01-05', NULL, NULL, NULL, 1, NULL, 0.00, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'absent', NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-09 14:01:00', '2026-02-09 14:01:00'),
(37, 8, '2026-01-05', NULL, NULL, NULL, 1, NULL, 0.00, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'absent', NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-09 14:01:00', '2026-02-09 14:01:00'),
(38, 9, '2026-01-05', NULL, NULL, NULL, 1, NULL, 0.00, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'absent', NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-09 14:01:00', '2026-02-09 14:01:00'),
(39, 10, '2026-01-05', NULL, NULL, NULL, 1, NULL, 0.00, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'absent', NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-09 14:01:00', '2026-02-09 14:01:00'),
(40, 1, '2026-01-06', NULL, NULL, NULL, 1, NULL, 0.00, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'absent', NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-09 14:01:00', '2026-02-09 14:01:00'),
(41, 2, '2026-01-06', NULL, NULL, NULL, 1, NULL, 0.00, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'absent', NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-09 14:01:00', '2026-02-09 14:01:00'),
(42, 3, '2026-01-06', NULL, NULL, NULL, 1, NULL, 0.00, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'absent', NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-09 14:01:00', '2026-02-09 14:01:00'),
(43, 4, '2026-01-06', NULL, NULL, NULL, 1, NULL, 0.00, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'absent', NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-09 14:01:00', '2026-02-09 14:01:00'),
(44, 5, '2026-01-06', NULL, NULL, NULL, 1, NULL, 0.00, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'absent', NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-09 14:01:00', '2026-02-09 14:01:00'),
(45, 6, '2026-01-06', NULL, NULL, NULL, 1, NULL, 0.00, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'absent', NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-09 14:01:00', '2026-02-09 14:01:00'),
(46, 7, '2026-01-06', NULL, NULL, NULL, 1, NULL, 0.00, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'absent', NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-09 14:01:00', '2026-02-09 14:01:00'),
(47, 8, '2026-01-06', NULL, NULL, NULL, 1, NULL, 0.00, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'absent', NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-09 14:01:00', '2026-02-09 14:01:00'),
(48, 9, '2026-01-06', NULL, NULL, NULL, 1, NULL, 0.00, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'absent', NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-09 14:01:00', '2026-02-09 14:01:00'),
(49, 10, '2026-01-06', NULL, NULL, NULL, 1, NULL, 0.00, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'absent', NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-09 14:01:00', '2026-02-09 14:01:00'),
(50, 1, '2026-01-07', NULL, NULL, NULL, 1, NULL, 0.00, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'absent', NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-09 14:01:00', '2026-02-09 14:01:00'),
(51, 2, '2026-01-07', NULL, NULL, NULL, 1, NULL, 0.00, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'absent', NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-09 14:01:00', '2026-02-09 14:01:00'),
(52, 3, '2026-01-07', NULL, NULL, NULL, 1, NULL, 0.00, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'absent', NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-09 14:01:00', '2026-02-09 14:01:00'),
(53, 4, '2026-01-07', NULL, NULL, NULL, 1, NULL, 0.00, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'absent', NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-09 14:01:00', '2026-02-09 14:01:00'),
(54, 5, '2026-01-07', NULL, NULL, NULL, 1, NULL, 0.00, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'absent', NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-09 14:01:00', '2026-02-09 14:01:00'),
(55, 6, '2026-01-07', NULL, NULL, NULL, 1, NULL, 0.00, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'absent', NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-09 14:01:00', '2026-02-09 14:01:00'),
(56, 7, '2026-01-07', NULL, NULL, NULL, 1, NULL, 0.00, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'absent', NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-09 14:01:00', '2026-02-09 14:01:00'),
(57, 8, '2026-01-07', NULL, NULL, NULL, 1, NULL, 0.00, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'absent', NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-09 14:01:00', '2026-02-09 14:01:00'),
(58, 9, '2026-01-07', NULL, NULL, NULL, 1, NULL, 0.00, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'absent', NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-09 14:01:00', '2026-02-09 14:01:00'),
(59, 10, '2026-01-07', NULL, NULL, NULL, 1, NULL, 0.00, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'absent', NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-09 14:01:00', '2026-02-09 14:01:00'),
(60, 1, '2026-01-08', NULL, NULL, NULL, 1, NULL, 0.00, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'absent', NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-09 14:01:00', '2026-02-09 14:01:00'),
(61, 2, '2026-01-08', NULL, NULL, NULL, 1, NULL, 0.00, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'absent', NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-09 14:01:00', '2026-02-09 14:01:00'),
(62, 3, '2026-01-08', NULL, NULL, NULL, 1, NULL, 0.00, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'absent', NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-09 14:01:00', '2026-02-09 14:01:00'),
(63, 4, '2026-01-08', NULL, NULL, NULL, 1, NULL, 0.00, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'absent', NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-09 14:01:00', '2026-02-09 14:01:00'),
(64, 5, '2026-01-08', NULL, NULL, NULL, 1, NULL, 0.00, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'absent', NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-09 14:01:00', '2026-02-09 14:01:00'),
(65, 6, '2026-01-08', NULL, NULL, NULL, 1, NULL, 0.00, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'absent', NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-09 14:01:00', '2026-02-09 14:01:00'),
(66, 7, '2026-01-08', NULL, NULL, NULL, 1, NULL, 0.00, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'absent', NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-09 14:01:00', '2026-02-09 14:01:00'),
(67, 8, '2026-01-08', NULL, NULL, NULL, 1, NULL, 0.00, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'absent', NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-09 14:01:00', '2026-02-09 14:01:00'),
(68, 9, '2026-01-08', NULL, NULL, NULL, 1, NULL, 0.00, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'absent', NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-09 14:01:00', '2026-02-09 14:01:00'),
(69, 10, '2026-01-08', NULL, NULL, NULL, 1, NULL, 0.00, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'absent', NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-09 14:01:00', '2026-02-09 14:01:00'),
(70, 1, '2026-01-09', NULL, NULL, NULL, 1, NULL, 0.00, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'absent', NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-09 14:01:00', '2026-02-09 14:01:00'),
(71, 2, '2026-01-09', NULL, NULL, NULL, 1, NULL, 0.00, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'absent', NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-09 14:01:00', '2026-02-09 14:01:00'),
(72, 3, '2026-01-09', NULL, NULL, NULL, 1, NULL, 0.00, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'absent', NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-09 14:01:00', '2026-02-09 14:01:00'),
(73, 4, '2026-01-09', NULL, NULL, NULL, 1, NULL, 0.00, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'absent', NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-09 14:01:00', '2026-02-09 14:01:00'),
(74, 5, '2026-01-09', NULL, NULL, NULL, 1, NULL, 0.00, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'absent', NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-09 14:01:00', '2026-02-09 14:01:00'),
(75, 6, '2026-01-09', NULL, NULL, NULL, 1, NULL, 0.00, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'absent', NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-09 14:01:00', '2026-02-09 14:01:00'),
(76, 7, '2026-01-09', NULL, NULL, NULL, 1, NULL, 0.00, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'absent', NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-09 14:01:00', '2026-02-09 14:01:00'),
(77, 8, '2026-01-09', NULL, NULL, NULL, 1, NULL, 0.00, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'absent', NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-09 14:01:00', '2026-02-09 14:01:00'),
(78, 9, '2026-01-09', NULL, NULL, NULL, 1, NULL, 0.00, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'absent', NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-09 14:01:00', '2026-02-09 14:01:00'),
(79, 10, '2026-01-09', NULL, NULL, NULL, 1, NULL, 0.00, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'absent', NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-09 14:01:00', '2026-02-09 14:01:00'),
(80, 1, '2026-01-12', NULL, NULL, NULL, 17, NULL, 0.00, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'absent', NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-09 14:01:00', '2026-02-18 11:07:16'),
(81, 3, '2026-01-12', '2026-01-12 15:24:00', '2026-01-13 00:30:00', NULL, 32, NULL, 9.10, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'checked_out', NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-09 14:01:00', '2026-02-26 22:39:52'),
(82, 4, '2026-01-12', NULL, NULL, NULL, 32, NULL, 0.00, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'absent', NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-09 14:01:00', '2026-02-18 11:07:33'),
(83, 5, '2026-01-12', NULL, NULL, NULL, 32, NULL, 0.00, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'absent', NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-09 14:01:00', '2026-02-18 11:07:20'),
(84, 6, '2026-01-12', '2026-01-12 15:23:00', '2026-01-13 00:30:00', NULL, 32, NULL, 9.12, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'checked_out', NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-09 14:01:00', '2026-02-26 22:39:53'),
(85, 7, '2026-01-12', '2026-01-12 15:23:00', '2026-01-13 00:30:00', NULL, 32, NULL, 9.12, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'checked_out', NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-09 14:01:00', '2026-02-26 22:39:53'),
(86, 8, '2026-01-12', '2026-01-12 07:54:00', '2026-01-12 17:06:00', NULL, 17, NULL, 9.20, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'checked_out', NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-09 14:01:00', '2026-03-10 08:28:40'),
(87, 9, '2026-01-12', NULL, NULL, NULL, 1, NULL, 0.00, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'absent', NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-09 14:01:00', '2026-02-09 14:01:00'),
(88, 10, '2026-01-12', NULL, NULL, NULL, 1, NULL, 0.00, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'absent', NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-09 14:01:00', '2026-02-09 14:01:00'),
(89, 1, '2026-01-13', NULL, NULL, NULL, 17, NULL, 0.00, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'absent', NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-09 14:01:00', '2026-02-18 11:08:04'),
(90, 2, '2026-01-13', NULL, NULL, NULL, 32, NULL, 0.00, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'absent', NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-09 14:01:00', '2026-02-18 11:07:46'),
(91, 3, '2026-01-13', '2026-01-13 15:17:00', '2026-01-14 00:30:00', NULL, 32, NULL, 9.22, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'checked_out', NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-09 14:01:00', '2026-02-26 22:39:52'),
(92, 4, '2026-01-13', NULL, NULL, NULL, 1, NULL, 0.00, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'absent', NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-09 14:01:00', '2026-02-09 14:01:00'),
(93, 5, '2026-01-13', '2026-01-13 15:26:00', '2026-01-14 00:30:00', NULL, 32, NULL, 9.07, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'checked_out', NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-09 14:01:00', '2026-02-26 22:39:52'),
(94, 6, '2026-01-13', '2026-01-13 15:15:00', '2026-01-14 00:30:00', NULL, 32, NULL, 9.25, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'checked_out', NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-09 14:01:00', '2026-02-26 22:39:53'),
(95, 7, '2026-01-13', '2026-01-13 15:28:00', '2026-01-14 00:30:00', NULL, 32, NULL, 9.03, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'checked_out', NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-09 14:01:00', '2026-02-26 22:39:53'),
(96, 8, '2026-01-13', '2026-01-13 07:54:00', '2026-01-13 17:06:00', NULL, 17, NULL, 9.20, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'checked_out', NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-09 14:01:00', '2026-03-10 08:28:40'),
(97, 9, '2026-01-13', NULL, NULL, NULL, 1, NULL, 0.00, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'absent', NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-09 14:01:00', '2026-02-09 14:01:00'),
(98, 10, '2026-01-13', NULL, NULL, NULL, 1, NULL, 0.00, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'absent', NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-09 14:01:00', '2026-02-09 14:01:00'),
(99, 1, '2026-01-14', NULL, NULL, NULL, 17, NULL, 0.00, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'absent', NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-09 14:01:00', '2026-02-18 11:09:03'),
(100, 3, '2026-01-14', NULL, NULL, NULL, 32, NULL, 0.00, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'absent', NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-09 14:01:00', '2026-02-18 11:09:28'),
(101, 4, '2026-01-14', '2026-01-14 15:23:00', '2026-01-15 00:30:00', NULL, 32, NULL, 9.12, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'checked_out', NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-09 14:01:00', '2026-02-26 22:39:52'),
(102, 5, '2026-01-14', '2026-01-14 17:24:00', '2026-01-15 02:31:00', NULL, 36, NULL, 9.12, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'checked_out', NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-09 14:01:00', '2026-03-11 10:16:54'),
(103, 6, '2026-01-14', '2026-01-14 15:25:00', '2026-01-15 00:30:00', NULL, 32, NULL, 9.08, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'checked_out', NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-09 14:01:00', '2026-02-26 22:39:53'),
(104, 7, '2026-01-14', NULL, NULL, NULL, 1, NULL, 0.00, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'absent', NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-09 14:01:00', '2026-02-09 14:01:00'),
(105, 8, '2026-01-14', '2026-01-14 08:14:00', '2026-01-14 17:03:00', NULL, 17, NULL, 8.82, 0.00, 0.23, 0.00, 0.00, NULL, 0, 0, 0, 'checked_out', NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-09 14:01:00', '2026-03-10 08:28:40'),
(106, 9, '2026-01-14', '2026-01-14 15:16:00', '2026-01-15 00:30:00', NULL, 32, NULL, 9.23, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'checked_out', NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-09 14:01:00', '2026-02-26 22:39:52'),
(107, 10, '2026-01-14', '2026-01-14 15:05:00', '2026-01-15 00:31:00', NULL, 32, NULL, 9.43, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'checked_out', NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-09 14:01:00', '2026-02-26 22:39:52'),
(108, 1, '2026-01-15', NULL, NULL, NULL, 17, NULL, 0.00, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'absent', NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-09 14:01:00', '2026-02-18 11:09:55'),
(109, 2, '2026-01-15', NULL, NULL, NULL, 32, NULL, 0.00, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'absent', NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-09 14:01:00', '2026-02-18 11:09:33'),
(110, 3, '2026-01-15', NULL, NULL, NULL, 1, NULL, 0.00, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'absent', NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-09 14:01:00', '2026-02-09 14:01:00'),
(111, 4, '2026-01-15', '2026-01-15 15:14:00', '2026-01-16 00:30:00', NULL, 32, NULL, 9.27, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'checked_out', NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-09 14:01:00', '2026-02-26 22:39:52'),
(112, 5, '2026-01-15', NULL, NULL, NULL, 32, NULL, 0.00, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'absent', NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-09 14:01:00', '2026-02-18 11:10:02'),
(113, 6, '2026-01-15', '2026-01-15 15:23:00', '2026-01-16 00:31:00', NULL, 32, NULL, 9.13, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'checked_out', NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-09 14:01:00', '2026-02-26 22:39:53'),
(114, 7, '2026-01-15', NULL, NULL, NULL, 1, NULL, 0.00, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'absent', NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-09 14:01:00', '2026-02-09 14:01:00'),
(115, 8, '2026-01-15', NULL, NULL, NULL, 17, NULL, 0.00, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'absent', NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-09 14:01:00', '2026-02-18 11:10:08'),
(116, 9, '2026-01-15', '2026-01-15 15:23:00', '2026-01-16 00:32:00', NULL, 32, NULL, 9.15, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'checked_out', NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-09 14:01:00', '2026-02-26 22:39:52'),
(117, 10, '2026-01-15', '2026-01-15 15:16:00', '2026-01-16 00:30:00', NULL, 32, NULL, 9.23, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'checked_out', NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-09 14:01:00', '2026-02-26 22:39:52'),
(118, 1, '2026-01-16', NULL, NULL, NULL, 17, NULL, 0.00, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'absent', NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-09 14:01:00', '2026-02-18 11:10:59'),
(119, 3, '2026-01-16', '2026-01-16 15:27:00', '2026-01-17 00:34:00', NULL, 32, NULL, 9.12, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'checked_out', NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-09 14:01:00', '2026-02-26 22:39:52'),
(120, 4, '2026-01-16', '2026-01-16 15:09:00', '2026-01-17 00:32:00', NULL, 32, NULL, 9.38, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'checked_out', NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-09 14:01:00', '2026-02-26 22:39:52'),
(121, 5, '2026-01-16', NULL, NULL, NULL, 36, NULL, 0.00, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'absent', NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-09 14:01:00', '2026-02-18 11:11:05'),
(122, 6, '2026-01-16', '2026-01-16 17:16:00', '2026-01-17 02:30:00', NULL, 36, NULL, 9.23, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'checked_out', NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-09 14:01:00', '2026-02-26 22:39:53'),
(123, 7, '2026-01-16', '2026-01-16 17:21:00', '2026-01-17 02:30:00', NULL, 36, NULL, 9.15, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'checked_out', NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-09 14:01:00', '2026-02-26 22:39:53'),
(124, 8, '2026-01-16', '2026-01-16 07:54:00', '2026-01-16 17:06:00', NULL, 17, NULL, 9.20, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'checked_out', NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-09 14:01:00', '2026-02-26 22:39:53'),
(125, 9, '2026-01-16', '2026-01-16 15:18:00', '2026-01-17 00:33:00', NULL, 32, NULL, 9.25, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'checked_out', NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-09 14:01:00', '2026-02-26 22:39:52'),
(126, 10, '2026-01-16', '2026-01-16 16:45:00', '2026-01-17 02:30:00', NULL, 36, NULL, 9.75, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'checked_out', NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-09 14:01:00', '2026-02-26 22:39:52'),
(127, 1, '2026-01-19', NULL, NULL, NULL, 17, NULL, 0.00, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'absent', NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-09 14:01:01', '2026-02-18 11:18:16'),
(128, 3, '2026-01-19', NULL, NULL, NULL, 32, NULL, 0.00, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'absent', NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-09 14:01:01', '2026-02-18 11:21:22'),
(129, 4, '2026-01-19', NULL, NULL, NULL, 32, NULL, 0.00, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'absent', NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-09 14:01:01', '2026-02-18 11:20:55'),
(130, 5, '2026-01-19', NULL, NULL, NULL, 32, NULL, 0.00, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'absent', NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-09 14:01:01', '2026-02-18 11:18:54'),
(131, 6, '2026-01-19', '2026-01-19 15:19:00', '2026-01-20 00:30:00', NULL, 32, NULL, 9.18, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'checked_out', NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-09 14:01:01', '2026-02-26 22:39:53'),
(132, 7, '2026-01-19', NULL, NULL, NULL, 32, NULL, 0.00, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'absent', NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-09 14:01:01', '2026-02-18 11:16:52'),
(133, 8, '2026-01-19', NULL, NULL, NULL, 17, NULL, 0.00, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'absent', NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-09 14:01:01', '2026-02-18 11:19:25'),
(134, 9, '2026-01-19', '2026-01-19 15:20:00', '2026-01-20 00:30:00', NULL, 32, NULL, 9.17, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'checked_out', NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-09 14:01:01', '2026-02-26 22:39:52'),
(135, 10, '2026-01-19', NULL, NULL, NULL, 1, NULL, 0.00, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'absent', NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-09 14:01:01', '2026-02-09 14:01:01'),
(136, 1, '2026-01-20', NULL, NULL, NULL, 17, NULL, 0.00, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'absent', NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-09 14:01:01', '2026-02-18 11:18:22'),
(137, 3, '2026-01-20', NULL, NULL, NULL, 32, NULL, 0.00, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'absent', NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-09 14:01:01', '2026-02-18 11:21:26'),
(138, 4, '2026-01-20', NULL, NULL, NULL, 1, NULL, 0.00, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'absent', NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-09 14:01:01', '2026-02-09 14:01:01'),
(139, 5, '2026-01-20', '2026-01-20 15:23:00', '2026-01-21 12:30:00', NULL, 32, NULL, 21.12, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'checked_out', NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-09 14:01:01', '2026-02-26 22:39:52'),
(140, 6, '2026-01-20', '2026-01-20 15:20:00', '2026-01-21 00:30:00', NULL, 32, NULL, 9.17, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'checked_out', NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-09 14:01:01', '2026-02-26 22:39:53'),
(141, 7, '2026-01-20', '2026-01-20 15:22:00', '2026-01-21 00:30:00', NULL, 32, NULL, 9.13, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'checked_out', NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-09 14:01:01', '2026-02-26 22:39:53'),
(142, 8, '2026-01-20', '2026-01-20 07:51:00', '2026-01-20 17:05:00', NULL, 17, NULL, 9.23, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'checked_out', NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-09 14:01:01', '2026-02-26 22:39:53'),
(143, 9, '2026-01-20', NULL, NULL, NULL, 1, NULL, 0.00, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'absent', NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-09 14:01:01', '2026-02-09 14:01:01'),
(144, 10, '2026-01-20', NULL, NULL, NULL, 1, NULL, 0.00, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'absent', NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-09 14:01:01', '2026-02-09 14:01:01'),
(145, 1, '2026-01-21', NULL, NULL, NULL, 17, NULL, 0.00, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'absent', NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-09 14:01:01', '2026-02-18 11:18:28'),
(146, 3, '2026-01-21', NULL, NULL, NULL, 32, NULL, 0.00, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'absent', NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-09 14:01:01', '2026-02-18 11:21:31'),
(147, 4, '2026-01-21', '2026-01-21 15:30:00', '2026-01-22 12:30:00', NULL, 32, NULL, 21.00, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'checked_out', NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-09 14:01:01', '2026-02-26 22:39:52'),
(148, 5, '2026-01-21', '2026-01-21 15:29:00', '2026-01-22 00:30:00', NULL, 32, NULL, 9.02, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'checked_out', NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-09 14:01:01', '2026-02-26 22:39:52'),
(149, 6, '2026-01-21', '2026-01-21 15:13:00', '2026-01-21 22:31:00', NULL, 32, NULL, 7.30, 0.00, 0.00, 1.98, 0.00, NULL, 0, 0, 0, 'checked_out', NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-09 14:01:01', '2026-02-26 22:39:53'),
(150, 7, '2026-01-21', NULL, NULL, NULL, 1, NULL, 0.00, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'absent', NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-09 14:01:01', '2026-02-09 14:01:01'),
(151, 8, '2026-01-21', '2026-01-21 07:59:00', '2026-01-21 17:01:00', NULL, 17, NULL, 9.03, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'checked_out', NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-09 14:01:01', '2026-02-26 22:39:53'),
(152, 9, '2026-01-21', '2026-01-21 15:16:00', '2026-01-22 00:30:00', NULL, 32, NULL, 9.23, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'checked_out', NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-09 14:01:01', '2026-02-26 22:39:52'),
(153, 10, '2026-01-21', '2026-01-21 14:51:00', '2026-01-22 00:30:00', NULL, 32, NULL, 9.65, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'checked_out', NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-09 14:01:01', '2026-02-26 22:39:52'),
(154, 1, '2026-01-22', NULL, NULL, NULL, 17, NULL, 0.00, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'absent', NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-09 14:01:01', '2026-02-18 11:18:34'),
(155, 2, '2026-01-22', NULL, NULL, NULL, 32, NULL, 0.00, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'absent', NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-09 14:01:01', '2026-02-18 11:15:09'),
(156, 3, '2026-01-22', NULL, NULL, NULL, 1, NULL, 0.00, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'absent', NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-09 14:01:01', '2026-02-09 14:01:01'),
(157, 4, '2026-01-22', NULL, NULL, NULL, 32, NULL, 0.00, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'absent', NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-09 14:01:01', '2026-02-18 11:21:08'),
(158, 5, '2026-01-22', '2026-01-22 15:26:00', '2026-01-23 00:31:00', NULL, 32, NULL, 9.08, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'checked_out', NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-09 14:01:01', '2026-02-26 22:39:53'),
(159, 6, '2026-01-22', '2026-01-22 15:21:00', '2026-01-23 00:30:00', NULL, 32, NULL, 9.15, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'checked_out', NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-09 14:01:01', '2026-02-26 22:39:53'),
(160, 7, '2026-01-22', NULL, NULL, NULL, 1, NULL, 0.00, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'absent', NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-09 14:01:01', '2026-02-09 14:01:01'),
(161, 8, '2026-01-22', '2026-01-22 07:58:00', '2026-01-22 17:08:00', NULL, 17, NULL, 9.17, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'checked_out', NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-09 14:01:01', '2026-02-26 22:39:53'),
(162, 9, '2026-01-22', '2026-01-22 15:24:00', '2026-01-23 00:30:00', NULL, 32, NULL, 9.10, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'checked_out', NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-09 14:01:01', '2026-02-26 22:39:52'),
(163, 10, '2026-01-22', '2026-01-22 15:05:00', '2026-01-23 00:30:00', NULL, 32, NULL, 9.42, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'checked_out', NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-09 14:01:01', '2026-02-26 22:39:52'),
(164, 1, '2026-01-23', NULL, NULL, NULL, 17, NULL, 0.00, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'absent', NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-09 14:01:01', '2026-02-18 11:18:42'),
(165, 3, '2026-01-23', '2026-01-23 15:57:00', '2026-01-24 00:34:00', NULL, 32, NULL, 8.62, 0.00, 0.45, 0.00, 0.00, NULL, 0, 0, 0, 'checked_out', NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-09 14:01:01', '2026-02-26 22:39:52'),
(166, 4, '2026-01-23', '2026-01-23 15:17:00', '2026-01-24 00:32:00', NULL, 32, NULL, 9.25, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'checked_out', NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-09 14:01:01', '2026-02-26 22:39:52'),
(167, 5, '2026-01-23', '2026-01-23 17:29:00', '2026-01-24 02:30:00', NULL, 36, NULL, 9.02, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'checked_out', NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-09 14:01:01', '2026-02-26 22:39:53'),
(168, 6, '2026-01-23', '2026-01-23 17:01:00', '2026-01-24 02:30:00', NULL, 36, NULL, 9.48, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'checked_out', NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-09 14:01:01', '2026-02-26 22:39:53'),
(169, 7, '2026-01-23', '2026-01-23 15:21:00', '2026-01-24 00:32:00', NULL, 32, NULL, 9.18, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'checked_out', NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-09 14:01:01', '2026-02-26 22:39:53'),
(170, 8, '2026-01-23', NULL, NULL, NULL, 17, NULL, 0.00, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'absent', NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-09 14:01:01', '2026-02-18 11:19:47'),
(171, 9, '2026-01-23', '2026-01-23 17:04:00', '2026-01-24 02:30:00', NULL, 36, NULL, 9.43, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'checked_out', NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-09 14:01:01', '2026-02-26 22:39:52'),
(172, 10, '2026-01-23', '2026-01-23 17:05:00', '2026-01-24 02:30:00', NULL, 36, NULL, 9.42, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'checked_out', NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-09 14:01:01', '2026-02-26 22:39:52'),
(173, 1, '2026-01-26', NULL, NULL, NULL, 17, NULL, 0.00, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'absent', NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-09 14:01:01', '2026-02-18 14:14:18'),
(174, 2, '2026-01-26', NULL, NULL, NULL, 1, NULL, 0.00, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'absent', NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-09 14:01:01', '2026-02-09 14:01:01'),
(175, 3, '2026-01-26', NULL, NULL, NULL, 1, NULL, 0.00, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'absent', NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-09 14:01:01', '2026-02-09 14:01:01'),
(176, 4, '2026-01-26', NULL, NULL, NULL, 1, NULL, 0.00, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'absent', NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-09 14:01:01', '2026-02-09 14:01:01'),
(177, 5, '2026-01-26', NULL, NULL, NULL, 1, NULL, 0.00, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'absent', NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-09 14:01:01', '2026-02-09 14:01:01'),
(178, 6, '2026-01-26', NULL, NULL, NULL, 1, NULL, 0.00, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'absent', NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-09 14:01:01', '2026-02-09 14:01:01'),
(179, 7, '2026-01-26', NULL, NULL, NULL, 1, NULL, 0.00, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'absent', NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-09 14:01:01', '2026-02-09 14:01:01'),
(180, 8, '2026-01-26', NULL, NULL, NULL, 17, NULL, 0.00, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'absent', NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-09 14:01:01', '2026-02-18 14:14:18'),
(181, 9, '2026-01-26', NULL, NULL, NULL, 1, NULL, 0.00, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'absent', NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-09 14:01:01', '2026-02-09 14:01:01'),
(182, 10, '2026-01-26', NULL, NULL, NULL, 1, NULL, 0.00, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'absent', NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-09 14:01:01', '2026-02-09 14:01:01'),
(183, 1, '2026-01-27', NULL, NULL, NULL, 17, NULL, 0.00, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'absent', NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-09 14:01:01', '2026-02-18 14:14:18'),
(184, 2, '2026-01-27', NULL, NULL, NULL, 1, NULL, 0.00, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'absent', NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-09 14:01:01', '2026-02-09 14:01:01'),
(185, 3, '2026-01-27', NULL, NULL, NULL, 1, NULL, 0.00, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'absent', NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-09 14:01:01', '2026-02-09 14:01:01'),
(186, 4, '2026-01-27', NULL, NULL, NULL, 1, NULL, 0.00, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'absent', NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-09 14:01:01', '2026-02-09 14:01:01'),
(187, 5, '2026-01-27', NULL, NULL, NULL, 1, NULL, 0.00, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'absent', NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-09 14:01:01', '2026-02-09 14:01:01'),
(188, 6, '2026-01-27', NULL, NULL, NULL, 1, NULL, 0.00, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'absent', NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-09 14:01:01', '2026-02-09 14:01:01'),
(189, 7, '2026-01-27', NULL, NULL, NULL, 1, NULL, 0.00, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'absent', NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-09 14:01:01', '2026-02-09 14:01:01'),
(190, 8, '2026-01-27', NULL, NULL, NULL, 17, NULL, 0.00, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'absent', NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-09 14:01:01', '2026-02-18 14:14:18'),
(191, 9, '2026-01-27', NULL, NULL, NULL, 1, NULL, 0.00, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'absent', NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-09 14:01:01', '2026-02-09 14:01:01'),
(192, 10, '2026-01-27', NULL, NULL, NULL, 1, NULL, 0.00, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'absent', NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-09 14:01:01', '2026-02-09 14:01:01'),
(193, 1, '2026-01-28', NULL, NULL, NULL, 17, NULL, 0.00, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'absent', NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-09 14:01:01', '2026-02-18 14:14:18'),
(194, 2, '2026-01-28', NULL, NULL, NULL, 1, NULL, 0.00, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'absent', NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-09 14:01:01', '2026-02-09 14:01:01'),
(195, 3, '2026-01-28', NULL, NULL, NULL, 1, NULL, 0.00, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'absent', NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-09 14:01:01', '2026-02-09 14:01:01'),
(196, 4, '2026-01-28', NULL, NULL, NULL, 1, NULL, 0.00, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'absent', NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-09 14:01:01', '2026-02-09 14:01:01'),
(197, 5, '2026-01-28', NULL, NULL, NULL, 1, NULL, 0.00, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'absent', NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-09 14:01:01', '2026-02-09 14:01:01'),
(198, 6, '2026-01-28', NULL, NULL, NULL, 1, NULL, 0.00, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'absent', NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-09 14:01:01', '2026-02-09 14:01:01'),
(199, 7, '2026-01-28', NULL, NULL, NULL, 1, NULL, 0.00, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'absent', NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-09 14:01:01', '2026-02-09 14:01:01'),
(200, 8, '2026-01-28', NULL, NULL, NULL, 17, NULL, 0.00, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'absent', NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-09 14:01:01', '2026-02-18 14:14:18'),
(201, 9, '2026-01-28', NULL, NULL, NULL, 1, NULL, 0.00, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'absent', NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-09 14:01:01', '2026-02-09 14:01:01'),
(202, 10, '2026-01-28', NULL, NULL, NULL, 1, NULL, 0.00, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'absent', NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-09 14:01:01', '2026-02-09 14:01:01'),
(203, 1, '2026-01-29', NULL, NULL, NULL, 17, NULL, 0.00, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'absent', NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-09 14:01:01', '2026-02-18 14:14:18'),
(204, 2, '2026-01-29', NULL, NULL, NULL, 1, NULL, 0.00, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'absent', NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-09 14:01:01', '2026-02-09 14:01:01'),
(205, 3, '2026-01-29', NULL, NULL, NULL, 1, NULL, 0.00, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'absent', NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-09 14:01:01', '2026-02-09 14:01:01'),
(206, 4, '2026-01-29', NULL, NULL, NULL, 1, NULL, 0.00, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'absent', NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-09 14:01:01', '2026-02-09 14:01:01'),
(207, 5, '2026-01-29', NULL, NULL, NULL, 1, NULL, 0.00, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'absent', NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-09 14:01:01', '2026-02-09 14:01:01'),
(208, 6, '2026-01-29', NULL, NULL, NULL, 1, NULL, 0.00, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'absent', NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-09 14:01:01', '2026-02-09 14:01:01'),
(209, 7, '2026-01-29', NULL, NULL, NULL, 1, NULL, 0.00, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'absent', NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-09 14:01:01', '2026-02-09 14:01:01'),
(210, 8, '2026-01-29', NULL, NULL, NULL, 17, NULL, 0.00, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'absent', NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-09 14:01:01', '2026-02-18 14:14:18'),
(211, 9, '2026-01-29', NULL, NULL, NULL, 1, NULL, 0.00, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'absent', NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-09 14:01:01', '2026-02-09 14:01:01'),
(212, 10, '2026-01-29', NULL, NULL, NULL, 1, NULL, 0.00, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'absent', NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-09 14:01:01', '2026-02-09 14:01:01'),
(213, 1, '2026-01-30', NULL, NULL, NULL, 17, NULL, 0.00, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'absent', NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-09 14:01:01', '2026-02-18 14:14:18'),
(214, 2, '2026-01-30', NULL, NULL, NULL, 1, NULL, 0.00, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'absent', NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-09 14:01:01', '2026-02-09 14:01:01'),
(215, 3, '2026-01-30', NULL, NULL, NULL, 1, NULL, 0.00, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'absent', NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-09 14:01:01', '2026-02-09 14:01:01'),
(216, 4, '2026-01-30', NULL, NULL, NULL, 1, NULL, 0.00, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'absent', NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-09 14:01:01', '2026-02-09 14:01:01'),
(217, 5, '2026-01-30', NULL, NULL, NULL, 1, NULL, 0.00, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'absent', NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-09 14:01:01', '2026-02-09 14:01:01'),
(218, 6, '2026-01-30', NULL, NULL, NULL, 1, NULL, 0.00, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'absent', NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-09 14:01:01', '2026-02-09 14:01:01'),
(219, 7, '2026-01-30', NULL, NULL, NULL, 1, NULL, 0.00, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'absent', NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-09 14:01:01', '2026-02-09 14:01:01'),
(220, 8, '2026-01-30', NULL, NULL, NULL, 17, NULL, 0.00, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'absent', NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-09 14:01:01', '2026-02-18 14:14:18'),
(221, 9, '2026-01-30', NULL, NULL, NULL, 1, NULL, 0.00, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'absent', NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-09 14:01:01', '2026-02-09 14:01:01'),
(222, 10, '2026-01-30', NULL, NULL, NULL, 1, NULL, 0.00, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'absent', NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-09 14:01:01', '2026-02-09 14:01:01'),
(223, 10, '2026-01-11', '2026-01-11 15:03:00', '2026-01-12 00:30:00', NULL, 32, NULL, 9.45, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'checked_out', NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-09 14:18:45', '2026-02-26 22:39:52'),
(224, 10, '2026-01-17', '2026-01-17 17:04:00', '2026-01-18 02:30:00', NULL, 36, NULL, 9.43, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'checked_out', NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-09 14:21:13', '2026-02-26 22:39:52'),
(225, 10, '2026-01-18', '2026-01-18 15:17:00', '2026-01-19 00:30:00', NULL, 32, NULL, 9.22, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'checked_out', NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-09 14:21:50', '2026-02-26 22:39:52'),
(226, 10, '2026-01-24', '2026-01-24 17:10:00', '2026-01-25 02:30:00', NULL, 36, NULL, 9.33, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'checked_out', NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-09 14:24:08', '2026-02-26 22:39:52'),
(227, 10, '2026-01-25', '2026-01-25 14:53:00', '2026-01-26 00:30:00', NULL, 32, NULL, 9.62, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'checked_out', NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-09 14:24:53', '2026-02-26 22:39:52'),
(228, 3, '2026-01-11', '2026-01-11 15:20:00', '2026-01-12 00:30:00', NULL, 32, NULL, 9.17, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'checked_out', NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-09 14:32:56', '2026-02-26 22:39:52'),
(229, 3, '2026-01-17', '2026-01-17 15:25:00', '2026-01-17 21:39:00', NULL, 32, NULL, 6.23, 0.00, 0.00, 2.85, 0.00, NULL, 0, 0, 0, 'checked_out', NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-09 14:35:19', '2026-02-26 22:39:52'),
(230, 3, '2026-01-24', '2026-01-24 15:18:00', '2026-01-25 00:30:00', NULL, 32, NULL, 9.20, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'checked_out', NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-09 14:36:25', '2026-02-26 22:39:52'),
(231, 3, '2026-01-25', '2026-01-25 15:28:00', '2026-01-26 00:30:00', NULL, 32, NULL, 9.03, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'checked_out', NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-09 14:36:58', '2026-02-26 22:39:52'),
(232, 7, '2026-01-11', '2026-01-11 15:23:00', '2026-01-12 00:30:00', NULL, 32, NULL, 9.12, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'checked_out', NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-18 15:40:32', '2026-02-26 22:39:53'),
(233, 7, '2026-01-17', '2026-01-17 17:26:00', '2026-01-18 02:30:00', NULL, 36, NULL, 9.07, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'checked_out', NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-18 15:42:40', '2026-02-26 22:39:53'),
(234, 7, '2026-01-18', '2026-01-18 15:22:00', '2026-01-19 00:30:00', NULL, 32, NULL, 9.13, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'checked_out', NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-18 15:44:16', '2026-02-26 22:39:53'),
(235, 7, '2026-01-24', '2026-01-24 15:20:00', '2026-01-25 00:30:00', NULL, 32, NULL, 9.17, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'checked_out', NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-18 15:46:40', '2026-02-26 22:39:53'),
(236, 7, '2026-01-25', '2026-01-25 15:20:00', '2026-01-26 00:30:00', NULL, 32, NULL, 9.17, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'checked_out', NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-18 15:47:06', '2026-02-26 22:39:53'),
(237, 5, '2026-01-17', '2026-01-17 17:27:00', '2026-01-18 02:30:00', NULL, 36, NULL, 9.05, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'checked_out', NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-20 09:32:11', '2026-02-26 22:39:52'),
(238, 5, '2026-01-24', '2026-01-24 17:29:00', '2026-01-25 00:30:00', NULL, 36, NULL, 7.02, 0.00, 0.00, 2.00, 0.00, NULL, 0, 0, 0, 'checked_out', NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-20 09:37:11', '2026-02-26 22:39:53'),
(239, 9, '2026-01-17', '2026-01-17 15:25:00', '2026-01-18 00:32:00', NULL, 32, NULL, 9.12, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'checked_out', NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-20 09:41:14', '2026-02-26 22:39:52'),
(240, 9, '2026-01-18', '2026-01-18 15:20:00', '2026-01-19 00:30:00', NULL, 32, NULL, 9.17, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'checked_out', NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-20 09:41:48', '2026-02-26 22:39:52'),
(241, 9, '2026-01-24', '2026-01-24 15:16:00', '2026-01-25 00:30:00', NULL, 36, NULL, 9.23, 0.00, 0.00, 2.00, 0.00, NULL, 0, 0, 0, 'checked_out', NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-20 09:45:26', '2026-03-11 10:18:10'),
(242, 4, '2026-01-11', '2026-01-11 15:21:00', '2026-01-12 00:30:00', NULL, 32, NULL, 9.15, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'checked_out', NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-20 09:51:28', '2026-02-26 22:39:52'),
(243, 4, '2026-01-18', '2026-01-18 15:20:00', '2026-01-19 00:31:00', NULL, 32, NULL, 9.18, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'checked_out', NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-20 09:53:28', '2026-02-26 22:39:52'),
(244, 4, '2026-01-24', '2026-01-24 17:22:00', '2026-01-25 02:30:00', NULL, 36, NULL, 9.13, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'checked_out', NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-20 09:55:56', '2026-02-26 22:39:52'),
(245, 4, '2026-01-25', '2026-01-25 15:17:00', '2026-01-26 00:30:00', NULL, 32, NULL, 9.22, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'checked_out', NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-20 09:56:33', '2026-02-26 22:39:52'),
(246, 2, '2026-01-11', NULL, NULL, NULL, NULL, NULL, 0.00, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'absent', NULL, NULL, NULL, NULL, NULL, NULL, '2026-03-09 15:43:14', '2026-03-09 15:43:14'),
(247, 1, '2026-03-02', NULL, NULL, NULL, NULL, NULL, 0.00, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'absent', NULL, NULL, NULL, NULL, NULL, NULL, '2026-03-17 12:06:11', '2026-03-17 12:06:11'),
(248, 2, '2026-03-02', NULL, NULL, NULL, NULL, NULL, 0.00, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'absent', NULL, NULL, NULL, NULL, NULL, NULL, '2026-03-17 12:06:11', '2026-03-17 12:06:11'),
(249, 3, '2026-03-02', NULL, NULL, NULL, NULL, NULL, 0.00, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'absent', NULL, NULL, NULL, NULL, NULL, NULL, '2026-03-17 12:06:11', '2026-03-17 12:06:11');
INSERT INTO `attendances` (`id`, `user_id`, `date`, `check_in_time`, `check_out_time`, `late_reason`, `shift_id`, `early_checkout_reason`, `working_hours`, `break_hours`, `late_hours`, `early_hours`, `overtime_hours`, `notes`, `is_holiday`, `is_weekend`, `is_half_day`, `status`, `approved_by_id`, `approved_at`, `created_by_id`, `updated_by_id`, `tenant_id`, `deleted_at`, `created_at`, `updated_at`) VALUES
(250, 4, '2026-03-02', NULL, NULL, NULL, NULL, NULL, 0.00, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'absent', NULL, NULL, NULL, NULL, NULL, NULL, '2026-03-17 12:06:11', '2026-03-17 12:06:11'),
(251, 5, '2026-03-02', NULL, NULL, NULL, NULL, NULL, 0.00, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'absent', NULL, NULL, NULL, NULL, NULL, NULL, '2026-03-17 12:06:11', '2026-03-17 12:06:11'),
(252, 6, '2026-03-02', NULL, NULL, NULL, NULL, NULL, 0.00, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'absent', NULL, NULL, NULL, NULL, NULL, NULL, '2026-03-17 12:06:11', '2026-03-17 12:06:11'),
(253, 7, '2026-03-02', NULL, NULL, NULL, NULL, NULL, 0.00, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'absent', NULL, NULL, NULL, NULL, NULL, NULL, '2026-03-17 12:06:11', '2026-03-17 12:06:11'),
(254, 8, '2026-03-02', NULL, NULL, NULL, NULL, NULL, 0.00, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'absent', NULL, NULL, NULL, NULL, NULL, NULL, '2026-03-17 12:06:11', '2026-03-17 12:06:11'),
(255, 9, '2026-03-02', NULL, NULL, NULL, NULL, NULL, 0.00, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'absent', NULL, NULL, NULL, NULL, NULL, NULL, '2026-03-17 12:06:11', '2026-03-17 12:06:11'),
(256, 10, '2026-03-02', NULL, NULL, NULL, NULL, NULL, 0.00, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'absent', NULL, NULL, NULL, NULL, NULL, NULL, '2026-03-17 12:06:11', '2026-03-17 12:06:11'),
(257, 1, '2026-03-03', NULL, NULL, NULL, NULL, NULL, 0.00, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'absent', NULL, NULL, NULL, NULL, NULL, NULL, '2026-03-17 12:06:11', '2026-03-17 12:06:11'),
(258, 2, '2026-03-03', NULL, NULL, NULL, NULL, NULL, 0.00, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'absent', NULL, NULL, NULL, NULL, NULL, NULL, '2026-03-17 12:06:11', '2026-03-17 12:06:11'),
(259, 3, '2026-03-03', NULL, NULL, NULL, NULL, NULL, 0.00, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'absent', NULL, NULL, NULL, NULL, NULL, NULL, '2026-03-17 12:06:11', '2026-03-17 12:06:11'),
(260, 4, '2026-03-03', NULL, NULL, NULL, NULL, NULL, 0.00, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'absent', NULL, NULL, NULL, NULL, NULL, NULL, '2026-03-17 12:06:11', '2026-03-17 12:06:11'),
(261, 5, '2026-03-03', NULL, NULL, NULL, NULL, NULL, 0.00, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'absent', NULL, NULL, NULL, NULL, NULL, NULL, '2026-03-17 12:06:11', '2026-03-17 12:06:11'),
(262, 6, '2026-03-03', NULL, NULL, NULL, NULL, NULL, 0.00, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'absent', NULL, NULL, NULL, NULL, NULL, NULL, '2026-03-17 12:06:11', '2026-03-17 12:06:11'),
(263, 7, '2026-03-03', NULL, NULL, NULL, NULL, NULL, 0.00, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'absent', NULL, NULL, NULL, NULL, NULL, NULL, '2026-03-17 12:06:11', '2026-03-17 12:06:11'),
(264, 8, '2026-03-03', NULL, NULL, NULL, NULL, NULL, 0.00, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'absent', NULL, NULL, NULL, NULL, NULL, NULL, '2026-03-17 12:06:11', '2026-03-17 12:06:11'),
(265, 9, '2026-03-03', NULL, NULL, NULL, NULL, NULL, 0.00, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'absent', NULL, NULL, NULL, NULL, NULL, NULL, '2026-03-17 12:06:11', '2026-03-17 12:06:11'),
(266, 10, '2026-03-03', NULL, NULL, NULL, NULL, NULL, 0.00, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'absent', NULL, NULL, NULL, NULL, NULL, NULL, '2026-03-17 12:06:11', '2026-03-17 12:06:11'),
(267, 1, '2026-03-04', NULL, NULL, NULL, NULL, NULL, 0.00, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'absent', NULL, NULL, NULL, NULL, NULL, NULL, '2026-03-17 12:06:11', '2026-03-17 12:06:11'),
(268, 2, '2026-03-04', NULL, NULL, NULL, NULL, NULL, 0.00, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'absent', NULL, NULL, NULL, NULL, NULL, NULL, '2026-03-17 12:06:11', '2026-03-17 12:06:11'),
(269, 3, '2026-03-04', NULL, NULL, NULL, NULL, NULL, 0.00, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'absent', NULL, NULL, NULL, NULL, NULL, NULL, '2026-03-17 12:06:11', '2026-03-17 12:06:11'),
(270, 4, '2026-03-04', NULL, NULL, NULL, NULL, NULL, 0.00, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'absent', NULL, NULL, NULL, NULL, NULL, NULL, '2026-03-17 12:06:11', '2026-03-17 12:06:11'),
(271, 5, '2026-03-04', NULL, NULL, NULL, NULL, NULL, 0.00, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'absent', NULL, NULL, NULL, NULL, NULL, NULL, '2026-03-17 12:06:11', '2026-03-17 12:06:11'),
(272, 6, '2026-03-04', NULL, NULL, NULL, NULL, NULL, 0.00, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'absent', NULL, NULL, NULL, NULL, NULL, NULL, '2026-03-17 12:06:11', '2026-03-17 12:06:11'),
(273, 7, '2026-03-04', NULL, NULL, NULL, NULL, NULL, 0.00, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'absent', NULL, NULL, NULL, NULL, NULL, NULL, '2026-03-17 12:06:11', '2026-03-17 12:06:11'),
(274, 8, '2026-03-04', NULL, NULL, NULL, NULL, NULL, 0.00, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'absent', NULL, NULL, NULL, NULL, NULL, NULL, '2026-03-17 12:06:11', '2026-03-17 12:06:11'),
(275, 9, '2026-03-04', NULL, NULL, NULL, NULL, NULL, 0.00, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'absent', NULL, NULL, NULL, NULL, NULL, NULL, '2026-03-17 12:06:11', '2026-03-17 12:06:11'),
(276, 10, '2026-03-04', NULL, NULL, NULL, NULL, NULL, 0.00, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'absent', NULL, NULL, NULL, NULL, NULL, NULL, '2026-03-17 12:06:11', '2026-03-17 12:06:11'),
(277, 1, '2026-03-05', NULL, NULL, NULL, NULL, NULL, 0.00, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'absent', NULL, NULL, NULL, NULL, NULL, NULL, '2026-03-17 12:06:11', '2026-03-17 12:06:11'),
(278, 2, '2026-03-05', NULL, NULL, NULL, NULL, NULL, 0.00, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'absent', NULL, NULL, NULL, NULL, NULL, NULL, '2026-03-17 12:06:11', '2026-03-17 12:06:11'),
(279, 3, '2026-03-05', NULL, NULL, NULL, NULL, NULL, 0.00, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'absent', NULL, NULL, NULL, NULL, NULL, NULL, '2026-03-17 12:06:11', '2026-03-17 12:06:11'),
(280, 4, '2026-03-05', NULL, NULL, NULL, NULL, NULL, 0.00, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'absent', NULL, NULL, NULL, NULL, NULL, NULL, '2026-03-17 12:06:11', '2026-03-17 12:06:11'),
(281, 5, '2026-03-05', NULL, NULL, NULL, NULL, NULL, 0.00, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'absent', NULL, NULL, NULL, NULL, NULL, NULL, '2026-03-17 12:06:11', '2026-03-17 12:06:11'),
(282, 6, '2026-03-05', NULL, NULL, NULL, NULL, NULL, 0.00, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'absent', NULL, NULL, NULL, NULL, NULL, NULL, '2026-03-17 12:06:11', '2026-03-17 12:06:11'),
(283, 7, '2026-03-05', NULL, NULL, NULL, NULL, NULL, 0.00, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'absent', NULL, NULL, NULL, NULL, NULL, NULL, '2026-03-17 12:06:11', '2026-03-17 12:06:11'),
(284, 8, '2026-03-05', NULL, NULL, NULL, NULL, NULL, 0.00, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'absent', NULL, NULL, NULL, NULL, NULL, NULL, '2026-03-17 12:06:11', '2026-03-17 12:06:11'),
(285, 9, '2026-03-05', NULL, NULL, NULL, NULL, NULL, 0.00, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'absent', NULL, NULL, NULL, NULL, NULL, NULL, '2026-03-17 12:06:11', '2026-03-17 12:06:11'),
(286, 10, '2026-03-05', NULL, NULL, NULL, NULL, NULL, 0.00, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'absent', NULL, NULL, NULL, NULL, NULL, NULL, '2026-03-17 12:06:11', '2026-03-17 12:06:11'),
(287, 1, '2026-03-06', NULL, NULL, NULL, NULL, NULL, 0.00, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'absent', NULL, NULL, NULL, NULL, NULL, NULL, '2026-03-17 12:06:11', '2026-03-17 12:06:11'),
(288, 2, '2026-03-06', NULL, NULL, NULL, NULL, NULL, 0.00, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'absent', NULL, NULL, NULL, NULL, NULL, NULL, '2026-03-17 12:06:11', '2026-03-17 12:06:11'),
(289, 3, '2026-03-06', NULL, NULL, NULL, NULL, NULL, 0.00, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'absent', NULL, NULL, NULL, NULL, NULL, NULL, '2026-03-17 12:06:11', '2026-03-17 12:06:11'),
(290, 4, '2026-03-06', NULL, NULL, NULL, NULL, NULL, 0.00, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'absent', NULL, NULL, NULL, NULL, NULL, NULL, '2026-03-17 12:06:11', '2026-03-17 12:06:11'),
(291, 5, '2026-03-06', NULL, NULL, NULL, NULL, NULL, 0.00, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'absent', NULL, NULL, NULL, NULL, NULL, NULL, '2026-03-17 12:06:11', '2026-03-17 12:06:11'),
(292, 6, '2026-03-06', NULL, NULL, NULL, NULL, NULL, 0.00, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'absent', NULL, NULL, NULL, NULL, NULL, NULL, '2026-03-17 12:06:11', '2026-03-17 12:06:11'),
(293, 7, '2026-03-06', NULL, NULL, NULL, NULL, NULL, 0.00, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'absent', NULL, NULL, NULL, NULL, NULL, NULL, '2026-03-17 12:06:11', '2026-03-17 12:06:11'),
(294, 8, '2026-03-06', NULL, NULL, NULL, NULL, NULL, 0.00, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'absent', NULL, NULL, NULL, NULL, NULL, NULL, '2026-03-17 12:06:11', '2026-03-17 12:06:11'),
(295, 9, '2026-03-06', NULL, NULL, NULL, NULL, NULL, 0.00, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'absent', NULL, NULL, NULL, NULL, NULL, NULL, '2026-03-17 12:06:11', '2026-03-17 12:06:11'),
(296, 10, '2026-03-06', NULL, NULL, NULL, NULL, NULL, 0.00, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'absent', NULL, NULL, NULL, NULL, NULL, NULL, '2026-03-17 12:06:11', '2026-03-17 12:06:11'),
(297, 1, '2026-03-09', NULL, NULL, NULL, NULL, NULL, 0.00, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'absent', NULL, NULL, NULL, NULL, NULL, NULL, '2026-03-17 12:06:11', '2026-03-17 12:06:11'),
(298, 2, '2026-03-09', NULL, NULL, NULL, NULL, NULL, 0.00, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'absent', NULL, NULL, NULL, NULL, NULL, NULL, '2026-03-17 12:06:11', '2026-03-17 12:06:11'),
(299, 3, '2026-03-09', NULL, NULL, NULL, NULL, NULL, 0.00, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'absent', NULL, NULL, NULL, NULL, NULL, NULL, '2026-03-17 12:06:11', '2026-03-17 12:06:11'),
(300, 4, '2026-03-09', NULL, NULL, NULL, NULL, NULL, 0.00, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'absent', NULL, NULL, NULL, NULL, NULL, NULL, '2026-03-17 12:06:11', '2026-03-17 12:06:11'),
(301, 5, '2026-03-09', NULL, NULL, NULL, NULL, NULL, 0.00, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'absent', NULL, NULL, NULL, NULL, NULL, NULL, '2026-03-17 12:06:11', '2026-03-17 12:06:11'),
(302, 6, '2026-03-09', NULL, NULL, NULL, NULL, NULL, 0.00, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'absent', NULL, NULL, NULL, NULL, NULL, NULL, '2026-03-17 12:06:11', '2026-03-17 12:06:11'),
(303, 7, '2026-03-09', NULL, NULL, NULL, NULL, NULL, 0.00, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'absent', NULL, NULL, NULL, NULL, NULL, NULL, '2026-03-17 12:06:11', '2026-03-17 12:06:11'),
(304, 8, '2026-03-09', NULL, NULL, NULL, NULL, NULL, 0.00, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'absent', NULL, NULL, NULL, NULL, NULL, NULL, '2026-03-17 12:06:11', '2026-03-17 12:06:11'),
(305, 9, '2026-03-09', NULL, NULL, NULL, NULL, NULL, 0.00, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'absent', NULL, NULL, NULL, NULL, NULL, NULL, '2026-03-17 12:06:11', '2026-03-17 12:06:11'),
(306, 10, '2026-03-09', NULL, NULL, NULL, NULL, NULL, 0.00, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'absent', NULL, NULL, NULL, NULL, NULL, NULL, '2026-03-17 12:06:11', '2026-03-17 12:06:11'),
(307, 1, '2026-03-10', NULL, NULL, NULL, NULL, NULL, 0.00, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'absent', NULL, NULL, NULL, NULL, NULL, NULL, '2026-03-17 12:06:11', '2026-03-17 12:06:11'),
(308, 2, '2026-03-10', NULL, NULL, NULL, NULL, NULL, 0.00, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'absent', NULL, NULL, NULL, NULL, NULL, NULL, '2026-03-17 12:06:11', '2026-03-17 12:06:11'),
(309, 3, '2026-03-10', NULL, NULL, NULL, NULL, NULL, 0.00, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'absent', NULL, NULL, NULL, NULL, NULL, NULL, '2026-03-17 12:06:11', '2026-03-17 12:06:11'),
(310, 4, '2026-03-10', NULL, NULL, NULL, NULL, NULL, 0.00, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'absent', NULL, NULL, NULL, NULL, NULL, NULL, '2026-03-17 12:06:11', '2026-03-17 12:06:11'),
(311, 5, '2026-03-10', NULL, NULL, NULL, NULL, NULL, 0.00, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'absent', NULL, NULL, NULL, NULL, NULL, NULL, '2026-03-17 12:06:11', '2026-03-17 12:06:11'),
(312, 6, '2026-03-10', NULL, NULL, NULL, NULL, NULL, 0.00, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'absent', NULL, NULL, NULL, NULL, NULL, NULL, '2026-03-17 12:06:11', '2026-03-17 12:06:11'),
(313, 7, '2026-03-10', NULL, NULL, NULL, NULL, NULL, 0.00, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'absent', NULL, NULL, NULL, NULL, NULL, NULL, '2026-03-17 12:06:11', '2026-03-17 12:06:11'),
(314, 8, '2026-03-10', NULL, NULL, NULL, NULL, NULL, 0.00, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'absent', NULL, NULL, NULL, NULL, NULL, NULL, '2026-03-17 12:06:11', '2026-03-17 12:06:11'),
(315, 9, '2026-03-10', NULL, NULL, NULL, NULL, NULL, 0.00, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'absent', NULL, NULL, NULL, NULL, NULL, NULL, '2026-03-17 12:06:11', '2026-03-17 12:06:11'),
(316, 10, '2026-03-10', NULL, NULL, NULL, NULL, NULL, 0.00, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'absent', NULL, NULL, NULL, NULL, NULL, NULL, '2026-03-17 12:06:11', '2026-03-17 12:06:11'),
(317, 1, '2026-03-11', NULL, NULL, NULL, 17, NULL, 0.00, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'absent', NULL, NULL, NULL, NULL, NULL, NULL, '2026-03-17 12:06:11', '2026-03-17 13:19:51'),
(318, 2, '2026-03-11', NULL, NULL, NULL, 32, NULL, 0.00, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'absent', NULL, NULL, NULL, NULL, NULL, NULL, '2026-03-17 12:06:11', '2026-03-17 13:17:31'),
(319, 3, '2026-03-11', NULL, NULL, NULL, 32, NULL, 0.00, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'absent', NULL, NULL, NULL, NULL, NULL, NULL, '2026-03-17 12:06:11', '2026-03-17 13:19:51'),
(320, 4, '2026-03-11', NULL, NULL, NULL, 32, NULL, 0.00, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'absent', NULL, NULL, NULL, NULL, NULL, NULL, '2026-03-17 12:06:11', '2026-03-17 13:19:51'),
(321, 5, '2026-03-11', NULL, NULL, NULL, 32, NULL, 0.00, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'absent', NULL, NULL, NULL, NULL, NULL, NULL, '2026-03-17 12:06:11', '2026-03-17 13:19:51'),
(322, 6, '2026-03-11', NULL, NULL, NULL, 32, NULL, 0.00, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'absent', NULL, NULL, NULL, NULL, NULL, NULL, '2026-03-17 12:06:11', '2026-03-17 13:19:51'),
(323, 7, '2026-03-11', NULL, NULL, NULL, NULL, NULL, 0.00, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'absent', NULL, NULL, NULL, NULL, NULL, NULL, '2026-03-17 12:06:11', '2026-03-17 12:06:11'),
(324, 8, '2026-03-11', NULL, NULL, NULL, 17, NULL, 0.00, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'absent', NULL, NULL, NULL, NULL, NULL, NULL, '2026-03-17 12:06:11', '2026-03-17 13:19:51'),
(325, 9, '2026-03-11', NULL, NULL, NULL, 32, NULL, 0.00, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'absent', NULL, NULL, NULL, NULL, NULL, NULL, '2026-03-17 12:06:11', '2026-03-17 13:19:51'),
(326, 10, '2026-03-11', NULL, NULL, NULL, NULL, NULL, 0.00, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'absent', NULL, NULL, NULL, NULL, NULL, NULL, '2026-03-17 12:06:11', '2026-03-17 12:06:11'),
(327, 1, '2026-03-12', NULL, NULL, NULL, 17, NULL, 0.00, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'absent', NULL, NULL, NULL, NULL, NULL, NULL, '2026-03-17 12:06:11', '2026-03-17 13:19:51'),
(328, 2, '2026-03-12', NULL, NULL, NULL, 32, NULL, 0.00, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'absent', NULL, NULL, NULL, NULL, NULL, NULL, '2026-03-17 12:06:11', '2026-03-17 13:17:36'),
(329, 3, '2026-03-12', NULL, NULL, NULL, NULL, NULL, 0.00, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'absent', NULL, NULL, NULL, NULL, NULL, NULL, '2026-03-17 12:06:11', '2026-03-17 12:06:11'),
(330, 4, '2026-03-12', NULL, NULL, NULL, 32, NULL, 0.00, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'absent', NULL, NULL, NULL, NULL, NULL, NULL, '2026-03-17 12:06:11', '2026-03-17 13:19:51'),
(331, 5, '2026-03-12', NULL, NULL, NULL, 32, NULL, 0.00, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'absent', NULL, NULL, NULL, NULL, NULL, NULL, '2026-03-17 12:06:11', '2026-03-17 13:19:51'),
(332, 6, '2026-03-12', NULL, NULL, NULL, 32, NULL, 0.00, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'absent', NULL, NULL, NULL, NULL, NULL, NULL, '2026-03-17 12:06:11', '2026-03-17 13:19:51'),
(333, 7, '2026-03-12', NULL, NULL, NULL, NULL, NULL, 0.00, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'absent', NULL, NULL, NULL, NULL, NULL, NULL, '2026-03-17 12:06:11', '2026-03-17 12:06:11'),
(334, 8, '2026-03-12', NULL, NULL, NULL, 17, NULL, 0.00, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'absent', NULL, NULL, NULL, NULL, NULL, NULL, '2026-03-17 12:06:11', '2026-03-17 13:19:51'),
(335, 9, '2026-03-12', NULL, NULL, NULL, NULL, NULL, 0.00, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'absent', NULL, NULL, NULL, NULL, NULL, NULL, '2026-03-17 12:06:11', '2026-03-17 12:06:11'),
(336, 10, '2026-03-12', NULL, NULL, NULL, 32, NULL, 0.00, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'absent', NULL, NULL, NULL, NULL, NULL, NULL, '2026-03-17 12:06:11', '2026-03-17 13:19:51'),
(337, 1, '2026-03-13', NULL, NULL, NULL, 17, NULL, 0.00, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'absent', NULL, NULL, NULL, NULL, NULL, NULL, '2026-03-17 12:06:11', '2026-03-17 13:19:51'),
(338, 2, '2026-03-13', NULL, NULL, NULL, 32, NULL, 0.00, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'absent', NULL, NULL, NULL, NULL, NULL, NULL, '2026-03-17 12:06:11', '2026-03-17 13:17:41'),
(339, 3, '2026-03-13', NULL, NULL, NULL, 32, NULL, 0.00, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'absent', NULL, NULL, NULL, NULL, NULL, NULL, '2026-03-17 12:06:11', '2026-03-17 13:19:51'),
(340, 4, '2026-03-13', NULL, NULL, NULL, 32, NULL, 0.00, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'absent', NULL, NULL, NULL, NULL, NULL, NULL, '2026-03-17 12:06:11', '2026-03-17 13:19:51'),
(341, 5, '2026-03-13', NULL, NULL, NULL, 32, NULL, 0.00, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'absent', NULL, NULL, NULL, NULL, NULL, NULL, '2026-03-17 12:06:11', '2026-03-17 13:19:51'),
(342, 6, '2026-03-13', NULL, NULL, NULL, 32, NULL, 0.00, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'absent', NULL, NULL, NULL, NULL, NULL, NULL, '2026-03-17 12:06:11', '2026-03-17 13:19:51'),
(343, 7, '2026-03-13', NULL, NULL, NULL, 32, NULL, 0.00, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'absent', NULL, NULL, NULL, NULL, NULL, NULL, '2026-03-17 12:06:11', '2026-03-17 13:19:51'),
(344, 8, '2026-03-13', NULL, NULL, NULL, 17, NULL, 0.00, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'absent', NULL, NULL, NULL, NULL, NULL, NULL, '2026-03-17 12:06:11', '2026-03-17 13:19:51'),
(345, 9, '2026-03-13', NULL, NULL, NULL, 32, NULL, 0.00, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'absent', NULL, NULL, NULL, NULL, NULL, NULL, '2026-03-17 12:06:11', '2026-03-17 13:19:51'),
(346, 10, '2026-03-13', NULL, NULL, NULL, 32, NULL, 0.00, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'absent', NULL, NULL, NULL, NULL, NULL, NULL, '2026-03-17 12:06:11', '2026-03-17 13:19:51'),
(347, 1, '2026-03-16', NULL, NULL, NULL, 17, NULL, 0.00, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'absent', NULL, NULL, NULL, NULL, NULL, NULL, '2026-03-17 12:06:11', '2026-03-17 13:19:51'),
(348, 2, '2026-03-16', NULL, NULL, NULL, 32, NULL, 0.00, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'absent', NULL, NULL, NULL, NULL, NULL, NULL, '2026-03-17 12:06:11', '2026-03-17 13:17:59'),
(349, 3, '2026-03-16', NULL, NULL, NULL, 32, NULL, 0.00, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'absent', NULL, NULL, NULL, NULL, NULL, NULL, '2026-03-17 12:06:11', '2026-03-17 13:19:51'),
(350, 4, '2026-03-16', NULL, NULL, NULL, 32, NULL, 0.00, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'absent', NULL, NULL, NULL, NULL, NULL, NULL, '2026-03-17 12:06:11', '2026-03-17 13:19:51'),
(351, 5, '2026-03-16', NULL, NULL, NULL, 32, NULL, 0.00, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'absent', NULL, NULL, NULL, NULL, NULL, NULL, '2026-03-17 12:06:11', '2026-03-17 13:19:51'),
(352, 6, '2026-03-16', NULL, NULL, NULL, 32, NULL, 0.00, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'absent', NULL, NULL, NULL, NULL, NULL, NULL, '2026-03-17 12:06:11', '2026-03-17 13:19:51'),
(353, 7, '2026-03-16', NULL, NULL, NULL, 32, NULL, 0.00, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'absent', NULL, NULL, NULL, NULL, NULL, NULL, '2026-03-17 12:06:11', '2026-03-17 13:19:51'),
(354, 8, '2026-03-16', NULL, NULL, NULL, 17, NULL, 0.00, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'absent', NULL, NULL, NULL, NULL, NULL, NULL, '2026-03-17 12:06:11', '2026-03-17 13:19:51'),
(355, 9, '2026-03-16', NULL, NULL, NULL, NULL, NULL, 0.00, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'absent', NULL, NULL, NULL, NULL, NULL, NULL, '2026-03-17 12:06:11', '2026-03-17 12:06:11'),
(356, 10, '2026-03-16', NULL, NULL, NULL, 32, NULL, 0.00, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'absent', NULL, NULL, NULL, NULL, NULL, NULL, '2026-03-17 12:06:11', '2026-03-17 13:19:51'),
(357, 1, '2026-03-17', NULL, NULL, NULL, 17, NULL, 0.00, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'absent', NULL, NULL, NULL, NULL, NULL, NULL, '2026-03-17 12:06:11', '2026-03-17 13:19:51'),
(358, 2, '2026-03-17', NULL, NULL, NULL, 32, NULL, 0.00, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'absent', NULL, NULL, NULL, NULL, NULL, NULL, '2026-03-17 12:06:11', '2026-03-17 13:18:05'),
(359, 3, '2026-03-17', NULL, NULL, NULL, 32, NULL, 0.00, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'absent', NULL, NULL, NULL, NULL, NULL, NULL, '2026-03-17 12:06:11', '2026-03-17 13:19:51'),
(360, 4, '2026-03-17', NULL, NULL, NULL, NULL, NULL, 0.00, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'absent', NULL, NULL, NULL, NULL, NULL, NULL, '2026-03-17 12:06:11', '2026-03-17 12:06:11'),
(361, 5, '2026-03-17', NULL, NULL, NULL, 32, NULL, 0.00, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'absent', NULL, NULL, NULL, NULL, NULL, NULL, '2026-03-17 12:06:11', '2026-03-17 13:19:51'),
(362, 6, '2026-03-17', NULL, NULL, NULL, 32, NULL, 0.00, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'absent', NULL, NULL, NULL, NULL, NULL, NULL, '2026-03-17 12:06:11', '2026-03-17 13:19:51'),
(363, 7, '2026-03-17', NULL, NULL, NULL, NULL, NULL, 0.00, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'absent', NULL, NULL, NULL, NULL, NULL, NULL, '2026-03-17 12:06:11', '2026-03-17 12:06:11'),
(364, 8, '2026-03-17', NULL, NULL, NULL, 17, NULL, 0.00, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'absent', NULL, NULL, NULL, NULL, NULL, NULL, '2026-03-17 12:06:11', '2026-03-17 13:19:51'),
(365, 9, '2026-03-17', NULL, NULL, NULL, 32, NULL, 0.00, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'absent', NULL, NULL, NULL, NULL, NULL, NULL, '2026-03-17 12:06:11', '2026-03-17 13:19:51'),
(366, 10, '2026-03-17', NULL, NULL, NULL, 32, NULL, 0.00, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'absent', NULL, NULL, NULL, NULL, NULL, NULL, '2026-03-17 12:06:11', '2026-03-17 13:19:51'),
(367, 1, '2026-03-18', NULL, NULL, NULL, 17, NULL, 0.00, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'absent', NULL, NULL, NULL, NULL, NULL, NULL, '2026-03-17 12:06:11', '2026-03-17 13:19:51'),
(368, 2, '2026-03-18', NULL, NULL, NULL, 32, NULL, 0.00, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'absent', NULL, NULL, NULL, NULL, NULL, NULL, '2026-03-17 12:06:12', '2026-03-17 13:18:10'),
(369, 3, '2026-03-18', NULL, NULL, NULL, 32, NULL, 0.00, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'absent', NULL, NULL, NULL, NULL, NULL, NULL, '2026-03-17 12:06:12', '2026-03-17 13:19:51'),
(370, 4, '2026-03-18', NULL, NULL, NULL, 32, NULL, 0.00, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'absent', NULL, NULL, NULL, NULL, NULL, NULL, '2026-03-17 12:06:12', '2026-03-17 13:19:51'),
(371, 5, '2026-03-18', NULL, NULL, NULL, 32, NULL, 0.00, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'absent', NULL, NULL, NULL, NULL, NULL, NULL, '2026-03-17 12:06:12', '2026-03-17 13:19:51'),
(372, 6, '2026-03-18', NULL, NULL, NULL, 32, NULL, 0.00, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'absent', NULL, NULL, NULL, NULL, NULL, NULL, '2026-03-17 12:06:12', '2026-03-17 13:19:51'),
(373, 7, '2026-03-18', NULL, NULL, NULL, NULL, NULL, 0.00, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'absent', NULL, NULL, NULL, NULL, NULL, NULL, '2026-03-17 12:06:12', '2026-03-17 12:06:12'),
(374, 8, '2026-03-18', NULL, NULL, NULL, 17, NULL, 0.00, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'absent', NULL, NULL, NULL, NULL, NULL, NULL, '2026-03-17 12:06:12', '2026-03-17 13:19:51'),
(375, 9, '2026-03-18', NULL, NULL, NULL, NULL, NULL, 0.00, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'absent', NULL, NULL, NULL, NULL, NULL, NULL, '2026-03-17 12:06:12', '2026-03-17 12:06:12'),
(376, 10, '2026-03-18', NULL, NULL, NULL, 32, NULL, 0.00, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'absent', NULL, NULL, NULL, NULL, NULL, NULL, '2026-03-17 12:06:12', '2026-03-17 13:19:51'),
(377, 1, '2026-03-19', NULL, NULL, NULL, 17, NULL, 0.00, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'absent', NULL, NULL, NULL, NULL, NULL, NULL, '2026-03-17 12:06:12', '2026-03-17 13:19:51'),
(378, 2, '2026-03-19', NULL, NULL, NULL, 32, NULL, 0.00, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'absent', NULL, NULL, NULL, NULL, NULL, NULL, '2026-03-17 12:06:12', '2026-03-17 13:18:14'),
(379, 3, '2026-03-19', NULL, NULL, NULL, NULL, NULL, 0.00, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'absent', NULL, NULL, NULL, NULL, NULL, NULL, '2026-03-17 12:06:12', '2026-03-17 12:06:12'),
(380, 4, '2026-03-19', NULL, NULL, NULL, 32, NULL, 0.00, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'absent', NULL, NULL, NULL, NULL, NULL, NULL, '2026-03-17 12:06:12', '2026-03-17 13:19:51'),
(381, 5, '2026-03-19', NULL, NULL, NULL, 32, NULL, 0.00, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'absent', NULL, NULL, NULL, NULL, NULL, NULL, '2026-03-17 12:06:12', '2026-03-17 13:19:51'),
(382, 6, '2026-03-19', NULL, NULL, NULL, 32, NULL, 0.00, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'absent', NULL, NULL, NULL, NULL, NULL, NULL, '2026-03-17 12:06:12', '2026-03-17 13:19:51'),
(383, 7, '2026-03-19', NULL, NULL, NULL, NULL, NULL, 0.00, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'absent', NULL, NULL, NULL, NULL, NULL, NULL, '2026-03-17 12:06:12', '2026-03-17 12:06:12'),
(384, 8, '2026-03-19', NULL, NULL, NULL, 17, NULL, 0.00, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'absent', NULL, NULL, NULL, NULL, NULL, NULL, '2026-03-17 12:06:12', '2026-03-17 13:19:51'),
(385, 9, '2026-03-19', NULL, NULL, NULL, 32, NULL, 0.00, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'absent', NULL, NULL, NULL, NULL, NULL, NULL, '2026-03-17 12:06:12', '2026-03-17 13:19:51'),
(386, 10, '2026-03-19', NULL, NULL, NULL, 32, NULL, 0.00, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'absent', NULL, NULL, NULL, NULL, NULL, NULL, '2026-03-17 12:06:12', '2026-03-17 13:19:51'),
(387, 1, '2026-03-20', NULL, NULL, NULL, 17, NULL, 0.00, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'absent', NULL, NULL, NULL, NULL, NULL, NULL, '2026-03-17 12:06:12', '2026-03-17 13:19:51'),
(388, 2, '2026-03-20', NULL, NULL, NULL, 36, NULL, 0.00, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'absent', NULL, NULL, NULL, NULL, NULL, NULL, '2026-03-17 12:06:12', '2026-03-17 13:18:19'),
(389, 3, '2026-03-20', NULL, NULL, NULL, 32, NULL, 0.00, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'absent', NULL, NULL, NULL, NULL, NULL, NULL, '2026-03-17 12:06:12', '2026-03-17 13:19:52'),
(390, 4, '2026-03-20', NULL, NULL, NULL, 32, NULL, 0.00, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'absent', NULL, NULL, NULL, NULL, NULL, NULL, '2026-03-17 12:06:12', '2026-03-17 13:19:52'),
(391, 5, '2026-03-20', NULL, NULL, NULL, 36, NULL, 0.00, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'absent', NULL, NULL, NULL, NULL, NULL, NULL, '2026-03-17 12:06:12', '2026-03-17 13:19:52'),
(392, 6, '2026-03-20', NULL, NULL, NULL, 36, NULL, 0.00, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'absent', NULL, NULL, NULL, NULL, NULL, NULL, '2026-03-17 12:06:12', '2026-03-17 13:19:52'),
(393, 7, '2026-03-20', NULL, NULL, NULL, 32, NULL, 0.00, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'absent', NULL, NULL, NULL, NULL, NULL, NULL, '2026-03-17 12:06:12', '2026-03-17 13:19:52'),
(394, 8, '2026-03-20', NULL, NULL, NULL, 17, NULL, 0.00, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'absent', NULL, NULL, NULL, NULL, NULL, NULL, '2026-03-17 12:06:12', '2026-03-17 13:19:52'),
(395, 9, '2026-03-20', NULL, NULL, NULL, 36, NULL, 0.00, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'absent', NULL, NULL, NULL, NULL, NULL, NULL, '2026-03-17 12:06:12', '2026-03-17 13:19:52'),
(396, 10, '2026-03-20', NULL, NULL, NULL, 32, NULL, 0.00, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'absent', NULL, NULL, NULL, NULL, NULL, NULL, '2026-03-17 12:06:12', '2026-03-17 13:19:52'),
(397, 1, '2026-03-23', NULL, NULL, NULL, 17, NULL, 0.00, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'absent', NULL, NULL, NULL, NULL, NULL, NULL, '2026-03-17 12:06:12', '2026-03-17 13:19:52'),
(398, 2, '2026-03-23', NULL, NULL, NULL, 32, NULL, 0.00, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'absent', NULL, NULL, NULL, NULL, NULL, NULL, '2026-03-17 12:06:12', '2026-03-17 13:19:52'),
(399, 3, '2026-03-23', NULL, NULL, NULL, 32, NULL, 0.00, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'absent', NULL, NULL, NULL, NULL, NULL, NULL, '2026-03-17 12:06:12', '2026-03-17 13:19:52'),
(400, 4, '2026-03-23', NULL, NULL, NULL, 32, NULL, 0.00, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'absent', NULL, NULL, NULL, NULL, NULL, NULL, '2026-03-17 12:06:12', '2026-03-17 13:19:52'),
(401, 5, '2026-03-23', NULL, NULL, NULL, 32, NULL, 0.00, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'absent', NULL, NULL, NULL, NULL, NULL, NULL, '2026-03-17 12:06:12', '2026-03-17 13:19:52'),
(402, 6, '2026-03-23', NULL, NULL, NULL, 32, NULL, 0.00, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'absent', NULL, NULL, NULL, NULL, NULL, NULL, '2026-03-17 12:06:12', '2026-03-17 13:19:52'),
(403, 7, '2026-03-23', NULL, NULL, NULL, 32, NULL, 0.00, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'absent', NULL, NULL, NULL, NULL, NULL, NULL, '2026-03-17 12:06:12', '2026-03-17 13:19:52'),
(404, 8, '2026-03-23', NULL, NULL, NULL, 17, NULL, 0.00, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'absent', NULL, NULL, NULL, NULL, NULL, NULL, '2026-03-17 12:06:12', '2026-03-17 13:19:52'),
(405, 9, '2026-03-23', NULL, NULL, NULL, 32, NULL, 0.00, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'absent', NULL, NULL, NULL, NULL, NULL, NULL, '2026-03-17 12:06:12', '2026-03-17 13:19:52'),
(406, 10, '2026-03-23', NULL, NULL, NULL, 32, NULL, 0.00, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'absent', NULL, NULL, NULL, NULL, NULL, NULL, '2026-03-17 12:06:12', '2026-03-17 13:19:52'),
(407, 1, '2026-03-24', NULL, NULL, NULL, 17, NULL, 0.00, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'absent', NULL, NULL, NULL, NULL, NULL, NULL, '2026-03-17 12:06:12', '2026-03-17 13:19:52'),
(408, 2, '2026-03-24', NULL, NULL, NULL, 32, NULL, 0.00, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'absent', NULL, NULL, NULL, NULL, NULL, NULL, '2026-03-17 12:06:12', '2026-03-17 13:19:52'),
(409, 3, '2026-03-24', NULL, NULL, NULL, 32, NULL, 0.00, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'absent', NULL, NULL, NULL, NULL, NULL, NULL, '2026-03-17 12:06:12', '2026-03-17 13:19:52'),
(410, 4, '2026-03-24', NULL, NULL, NULL, 32, NULL, 0.00, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'absent', NULL, NULL, NULL, NULL, NULL, NULL, '2026-03-17 12:06:12', '2026-03-17 13:19:52'),
(411, 5, '2026-03-24', NULL, NULL, NULL, 32, NULL, 0.00, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'absent', NULL, NULL, NULL, NULL, NULL, NULL, '2026-03-17 12:06:12', '2026-03-17 13:19:52'),
(412, 6, '2026-03-24', NULL, NULL, NULL, 32, NULL, 0.00, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'absent', NULL, NULL, NULL, NULL, NULL, NULL, '2026-03-17 12:06:12', '2026-03-17 13:19:52'),
(413, 7, '2026-03-24', NULL, NULL, NULL, 32, NULL, 0.00, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'absent', NULL, NULL, NULL, NULL, NULL, NULL, '2026-03-17 12:06:12', '2026-03-17 13:19:52'),
(414, 8, '2026-03-24', NULL, NULL, NULL, 17, NULL, 0.00, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'absent', NULL, NULL, NULL, NULL, NULL, NULL, '2026-03-17 12:06:12', '2026-03-17 13:19:52'),
(415, 9, '2026-03-24', NULL, NULL, NULL, 32, NULL, 0.00, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'absent', NULL, NULL, NULL, NULL, NULL, NULL, '2026-03-17 12:06:12', '2026-03-17 13:19:52'),
(416, 10, '2026-03-24', NULL, NULL, NULL, 32, NULL, 0.00, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'absent', NULL, NULL, NULL, NULL, NULL, NULL, '2026-03-17 12:06:12', '2026-03-17 13:19:52'),
(417, 1, '2026-03-25', NULL, NULL, NULL, 17, NULL, 0.00, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'absent', NULL, NULL, NULL, NULL, NULL, NULL, '2026-03-17 12:06:12', '2026-03-17 13:19:52'),
(418, 2, '2026-03-25', NULL, NULL, NULL, 32, NULL, 0.00, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'absent', NULL, NULL, NULL, NULL, NULL, NULL, '2026-03-17 12:06:12', '2026-03-17 13:19:52'),
(419, 3, '2026-03-25', NULL, NULL, NULL, 32, NULL, 0.00, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'absent', NULL, NULL, NULL, NULL, NULL, NULL, '2026-03-17 12:06:12', '2026-03-17 13:19:52'),
(420, 4, '2026-03-25', NULL, NULL, NULL, 32, NULL, 0.00, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'absent', NULL, NULL, NULL, NULL, NULL, NULL, '2026-03-17 12:06:12', '2026-03-17 13:19:52'),
(421, 5, '2026-03-25', NULL, NULL, NULL, 32, NULL, 0.00, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'absent', NULL, NULL, NULL, NULL, NULL, NULL, '2026-03-17 12:06:12', '2026-03-17 13:19:52'),
(422, 6, '2026-03-25', NULL, NULL, NULL, 32, NULL, 0.00, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'absent', NULL, NULL, NULL, NULL, NULL, NULL, '2026-03-17 12:06:12', '2026-03-17 13:19:52'),
(423, 7, '2026-03-25', NULL, NULL, NULL, 32, NULL, 0.00, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'absent', NULL, NULL, NULL, NULL, NULL, NULL, '2026-03-17 12:06:12', '2026-03-17 13:19:52'),
(424, 8, '2026-03-25', NULL, NULL, NULL, 17, NULL, 0.00, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'absent', NULL, NULL, NULL, NULL, NULL, NULL, '2026-03-17 12:06:12', '2026-03-17 13:19:52'),
(425, 9, '2026-03-25', NULL, NULL, NULL, 32, NULL, 0.00, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'absent', NULL, NULL, NULL, NULL, NULL, NULL, '2026-03-17 12:06:12', '2026-03-17 13:19:52'),
(426, 10, '2026-03-25', NULL, NULL, NULL, 32, NULL, 0.00, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'absent', NULL, NULL, NULL, NULL, NULL, NULL, '2026-03-17 12:06:12', '2026-03-17 13:19:52'),
(427, 1, '2026-03-26', NULL, NULL, NULL, 17, NULL, 0.00, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'absent', NULL, NULL, NULL, NULL, NULL, NULL, '2026-03-17 12:06:12', '2026-03-17 13:19:52'),
(428, 2, '2026-03-26', NULL, NULL, NULL, NULL, NULL, 0.00, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'absent', NULL, NULL, NULL, NULL, NULL, NULL, '2026-03-17 12:06:12', '2026-03-17 12:06:12'),
(429, 3, '2026-03-26', NULL, NULL, NULL, NULL, NULL, 0.00, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'absent', NULL, NULL, NULL, NULL, NULL, NULL, '2026-03-17 12:06:12', '2026-03-17 12:06:12'),
(430, 4, '2026-03-26', NULL, NULL, NULL, NULL, NULL, 0.00, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'absent', NULL, NULL, NULL, NULL, NULL, NULL, '2026-03-17 12:06:12', '2026-03-17 12:06:12'),
(431, 5, '2026-03-26', NULL, NULL, NULL, NULL, NULL, 0.00, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'absent', NULL, NULL, NULL, NULL, NULL, NULL, '2026-03-17 12:06:12', '2026-03-17 12:06:12'),
(432, 6, '2026-03-26', NULL, NULL, NULL, NULL, NULL, 0.00, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'absent', NULL, NULL, NULL, NULL, NULL, NULL, '2026-03-17 12:06:12', '2026-03-17 12:06:12'),
(433, 7, '2026-03-26', NULL, NULL, NULL, NULL, NULL, 0.00, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'absent', NULL, NULL, NULL, NULL, NULL, NULL, '2026-03-17 12:06:12', '2026-03-17 12:06:12'),
(434, 8, '2026-03-26', NULL, NULL, NULL, 17, NULL, 0.00, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'absent', NULL, NULL, NULL, NULL, NULL, NULL, '2026-03-17 12:06:12', '2026-03-17 13:19:52'),
(435, 9, '2026-03-26', NULL, NULL, NULL, NULL, NULL, 0.00, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'absent', NULL, NULL, NULL, NULL, NULL, NULL, '2026-03-17 12:06:12', '2026-03-17 12:06:12'),
(436, 10, '2026-03-26', NULL, NULL, NULL, NULL, NULL, 0.00, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'absent', NULL, NULL, NULL, NULL, NULL, NULL, '2026-03-17 12:06:12', '2026-03-17 12:06:12'),
(437, 1, '2026-03-27', NULL, NULL, NULL, 17, NULL, 0.00, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'absent', NULL, NULL, NULL, NULL, NULL, NULL, '2026-03-17 12:06:12', '2026-03-17 13:19:52'),
(438, 2, '2026-03-27', NULL, NULL, NULL, NULL, NULL, 0.00, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'absent', NULL, NULL, NULL, NULL, NULL, NULL, '2026-03-17 12:06:12', '2026-03-17 12:06:12'),
(439, 3, '2026-03-27', NULL, NULL, NULL, NULL, NULL, 0.00, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'absent', NULL, NULL, NULL, NULL, NULL, NULL, '2026-03-17 12:06:12', '2026-03-17 12:06:12'),
(440, 4, '2026-03-27', NULL, NULL, NULL, NULL, NULL, 0.00, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'absent', NULL, NULL, NULL, NULL, NULL, NULL, '2026-03-17 12:06:12', '2026-03-17 12:06:12'),
(441, 5, '2026-03-27', NULL, NULL, NULL, NULL, NULL, 0.00, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'absent', NULL, NULL, NULL, NULL, NULL, NULL, '2026-03-17 12:06:12', '2026-03-17 12:06:12'),
(442, 6, '2026-03-27', NULL, NULL, NULL, NULL, NULL, 0.00, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'absent', NULL, NULL, NULL, NULL, NULL, NULL, '2026-03-17 12:06:12', '2026-03-17 12:06:12'),
(443, 7, '2026-03-27', NULL, NULL, NULL, NULL, NULL, 0.00, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'absent', NULL, NULL, NULL, NULL, NULL, NULL, '2026-03-17 12:06:12', '2026-03-17 12:06:12'),
(444, 8, '2026-03-27', NULL, NULL, NULL, 17, NULL, 0.00, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'absent', NULL, NULL, NULL, NULL, NULL, NULL, '2026-03-17 12:06:12', '2026-03-17 13:19:52'),
(445, 9, '2026-03-27', NULL, NULL, NULL, NULL, NULL, 0.00, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'absent', NULL, NULL, NULL, NULL, NULL, NULL, '2026-03-17 12:06:12', '2026-03-17 12:06:12'),
(446, 10, '2026-03-27', NULL, NULL, NULL, NULL, NULL, 0.00, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'absent', NULL, NULL, NULL, NULL, NULL, NULL, '2026-03-17 12:06:12', '2026-03-17 12:06:12'),
(447, 1, '2026-03-30', NULL, NULL, NULL, 17, NULL, 0.00, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'absent', NULL, NULL, NULL, NULL, NULL, NULL, '2026-03-17 12:06:12', '2026-03-17 13:19:52'),
(448, 2, '2026-03-30', NULL, NULL, NULL, NULL, NULL, 0.00, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'absent', NULL, NULL, NULL, NULL, NULL, NULL, '2026-03-17 12:06:12', '2026-03-17 12:06:12'),
(449, 3, '2026-03-30', NULL, NULL, NULL, NULL, NULL, 0.00, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'absent', NULL, NULL, NULL, NULL, NULL, NULL, '2026-03-17 12:06:12', '2026-03-17 12:06:12'),
(450, 4, '2026-03-30', NULL, NULL, NULL, NULL, NULL, 0.00, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'absent', NULL, NULL, NULL, NULL, NULL, NULL, '2026-03-17 12:06:12', '2026-03-17 12:06:12'),
(451, 5, '2026-03-30', NULL, NULL, NULL, NULL, NULL, 0.00, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'absent', NULL, NULL, NULL, NULL, NULL, NULL, '2026-03-17 12:06:12', '2026-03-17 12:06:12'),
(452, 6, '2026-03-30', NULL, NULL, NULL, NULL, NULL, 0.00, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'absent', NULL, NULL, NULL, NULL, NULL, NULL, '2026-03-17 12:06:12', '2026-03-17 12:06:12'),
(453, 7, '2026-03-30', NULL, NULL, NULL, NULL, NULL, 0.00, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'absent', NULL, NULL, NULL, NULL, NULL, NULL, '2026-03-17 12:06:12', '2026-03-17 12:06:12'),
(454, 8, '2026-03-30', NULL, NULL, NULL, 17, NULL, 0.00, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'absent', NULL, NULL, NULL, NULL, NULL, NULL, '2026-03-17 12:06:12', '2026-03-17 13:19:52'),
(455, 9, '2026-03-30', NULL, NULL, NULL, NULL, NULL, 0.00, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'absent', NULL, NULL, NULL, NULL, NULL, NULL, '2026-03-17 12:06:12', '2026-03-17 12:06:12'),
(456, 10, '2026-03-30', NULL, NULL, NULL, NULL, NULL, 0.00, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'absent', NULL, NULL, NULL, NULL, NULL, NULL, '2026-03-17 12:06:12', '2026-03-17 12:06:12'),
(457, 1, '2026-03-31', NULL, NULL, NULL, 17, NULL, 0.00, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'absent', NULL, NULL, NULL, NULL, NULL, NULL, '2026-03-17 12:06:12', '2026-03-17 13:19:52'),
(458, 2, '2026-03-31', NULL, NULL, NULL, NULL, NULL, 0.00, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'absent', NULL, NULL, NULL, NULL, NULL, NULL, '2026-03-17 12:06:12', '2026-03-17 12:06:12'),
(459, 3, '2026-03-31', NULL, NULL, NULL, NULL, NULL, 0.00, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'absent', NULL, NULL, NULL, NULL, NULL, NULL, '2026-03-17 12:06:12', '2026-03-17 12:06:12'),
(460, 4, '2026-03-31', NULL, NULL, NULL, NULL, NULL, 0.00, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'absent', NULL, NULL, NULL, NULL, NULL, NULL, '2026-03-17 12:06:12', '2026-03-17 12:06:12'),
(461, 5, '2026-03-31', NULL, NULL, NULL, NULL, NULL, 0.00, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'absent', NULL, NULL, NULL, NULL, NULL, NULL, '2026-03-17 12:06:12', '2026-03-17 12:06:12'),
(462, 6, '2026-03-31', NULL, NULL, NULL, NULL, NULL, 0.00, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'absent', NULL, NULL, NULL, NULL, NULL, NULL, '2026-03-17 12:06:12', '2026-03-17 12:06:12'),
(463, 7, '2026-03-31', NULL, NULL, NULL, NULL, NULL, 0.00, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'absent', NULL, NULL, NULL, NULL, NULL, NULL, '2026-03-17 12:06:12', '2026-03-17 12:06:12'),
(464, 8, '2026-03-31', NULL, NULL, NULL, 17, NULL, 0.00, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'absent', NULL, NULL, NULL, NULL, NULL, NULL, '2026-03-17 12:06:12', '2026-03-17 13:19:52'),
(465, 9, '2026-03-31', NULL, NULL, NULL, NULL, NULL, 0.00, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'absent', NULL, NULL, NULL, NULL, NULL, NULL, '2026-03-17 12:06:12', '2026-03-17 12:06:12'),
(466, 10, '2026-03-31', NULL, NULL, NULL, NULL, NULL, 0.00, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0, 0, 'absent', NULL, NULL, NULL, NULL, NULL, NULL, '2026-03-17 12:06:12', '2026-03-17 12:06:12');

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

--
-- Table structure for table `attendance_devices`
--

CREATE TABLE `attendance_devices` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `name` varchar(255) NOT NULL,
  `serial_number` varchar(255) DEFAULT NULL,
  `ip_address` varchar(255) NOT NULL,
  `port` int(11) NOT NULL DEFAULT 4370,
  `status` tinyint(1) NOT NULL DEFAULT 1,
  `is_online` tinyint(1) DEFAULT 0,
  `last_sync_at` timestamp NULL DEFAULT NULL,
  `last_sync_ip` varchar(255) DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `attendance_devices`
--

INSERT INTO `attendance_devices` (`id`, `name`, `serial_number`, `ip_address`, `port`, `status`, `is_online`, `last_sync_at`, `last_sync_ip`, `created_at`, `updated_at`) VALUES
(1, 'Greenfield', 'BYRQ224460184', '192.168.0.201', 4370, 1, 0, NULL, NULL, '2026-03-16 19:44:01', '2026-03-16 19:44:01');

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

--
-- Table structure for table `attendance_logs`
--

CREATE TABLE `attendance_logs` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `attendance_id` bigint(20) UNSIGNED NOT NULL,
  `user_id` bigint(20) UNSIGNED DEFAULT NULL,
  `date` date DEFAULT NULL,
  `time` time DEFAULT NULL,
  `logged_at` datetime DEFAULT NULL,
  `type` enum('check_in','check_out','break_start','break_end') NOT NULL DEFAULT 'check_in',
  `shift_id` bigint(20) UNSIGNED DEFAULT NULL,
  `latitude` decimal(10,8) DEFAULT NULL,
  `longitude` decimal(11,8) DEFAULT NULL,
  `altitude` decimal(10,2) DEFAULT NULL,
  `speed` decimal(10,2) DEFAULT NULL,
  `speedAccuracy` decimal(10,2) DEFAULT NULL,
  `horizontalAccuracy` decimal(10,2) DEFAULT NULL,
  `verticalAccuracy` decimal(10,2) DEFAULT NULL,
  `course` decimal(10,2) DEFAULT NULL,
  `courseAccuracy` decimal(10,2) DEFAULT NULL,
  `address` varchar(1000) DEFAULT NULL,
  `notes` varchar(255) DEFAULT NULL,
  `created_by_id` bigint(20) UNSIGNED DEFAULT NULL,
  `updated_by_id` bigint(20) UNSIGNED DEFAULT NULL,
  `tenant_id` varchar(191) DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `attendance_logs`
--

INSERT INTO `attendance_logs` (`id`, `attendance_id`, `user_id`, `date`, `time`, `logged_at`, `type`, `shift_id`, `latitude`, `longitude`, `altitude`, `speed`, `speedAccuracy`, `horizontalAccuracy`, `verticalAccuracy`, `course`, `courseAccuracy`, `address`, `notes`, `created_by_id`, `updated_by_id`, `tenant_id`, `deleted_at`, `created_at`, `updated_at`) VALUES
(53, 1, NULL, NULL, NULL, NULL, 'check_in', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-07 11:19:56', '2026-02-07 11:19:56'),
(54, 1, NULL, NULL, NULL, NULL, 'check_out', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-07 11:19:56', '2026-02-07 11:19:56'),
(55, 2, NULL, NULL, NULL, NULL, 'check_in', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-09 13:48:37', '2026-02-09 13:48:37'),
(56, 2, NULL, NULL, NULL, NULL, 'check_out', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-09 13:48:37', '2026-02-09 13:48:37'),
(57, 3, NULL, NULL, NULL, NULL, 'check_in', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-09 13:49:13', '2026-02-09 13:49:13'),
(58, 3, NULL, NULL, NULL, NULL, 'check_out', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-09 13:49:13', '2026-02-09 13:49:13'),
(59, 4, NULL, NULL, NULL, NULL, 'check_in', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-09 13:49:50', '2026-02-09 13:49:50'),
(60, 4, NULL, NULL, NULL, NULL, 'check_out', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-09 13:49:50', '2026-02-09 13:49:50'),
(61, 5, NULL, NULL, NULL, NULL, 'check_in', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-09 13:51:45', '2026-02-09 13:51:45'),
(62, 5, NULL, NULL, NULL, NULL, 'check_out', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-09 13:51:45', '2026-02-09 13:51:45'),
(63, 6, NULL, NULL, NULL, NULL, 'check_in', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-09 13:53:14', '2026-02-09 13:53:14'),
(64, 6, NULL, NULL, NULL, NULL, 'check_out', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-09 13:53:14', '2026-02-09 13:53:14'),
(65, 7, NULL, NULL, NULL, NULL, 'check_in', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-09 13:53:50', '2026-02-09 13:53:50'),
(66, 7, NULL, NULL, NULL, NULL, 'check_out', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-09 13:53:50', '2026-02-09 13:53:50'),
(67, 8, NULL, NULL, NULL, NULL, 'check_in', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-09 13:54:26', '2026-02-09 13:54:26'),
(68, 8, NULL, NULL, NULL, NULL, 'check_out', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-09 13:54:26', '2026-02-09 13:54:26'),
(69, 9, NULL, NULL, NULL, NULL, 'check_in', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-09 13:55:16', '2026-02-09 13:55:16'),
(70, 9, NULL, NULL, NULL, NULL, 'check_out', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-09 13:55:16', '2026-02-09 13:55:16'),
(71, 84, NULL, NULL, NULL, NULL, 'check_in', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-09 14:09:29', '2026-02-09 14:09:29'),
(72, 84, NULL, NULL, NULL, NULL, 'check_out', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-09 14:09:29', '2026-02-09 14:09:29'),
(73, 94, NULL, NULL, NULL, NULL, 'check_in', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-09 14:10:02', '2026-02-09 14:10:02'),
(74, 94, NULL, NULL, NULL, NULL, 'check_out', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-09 14:10:02', '2026-02-09 14:10:02'),
(75, 103, NULL, NULL, NULL, NULL, 'check_in', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-09 14:10:32', '2026-02-09 14:10:32'),
(76, 103, NULL, NULL, NULL, NULL, 'check_out', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-09 14:10:32', '2026-02-09 14:10:32'),
(77, 113, NULL, NULL, NULL, NULL, 'check_in', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-09 14:11:34', '2026-02-09 14:11:34'),
(78, 113, NULL, NULL, NULL, NULL, 'check_out', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-09 14:11:34', '2026-02-09 14:11:34'),
(79, 122, NULL, NULL, NULL, NULL, 'check_in', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-09 14:12:01', '2026-02-09 14:12:01'),
(80, 122, NULL, NULL, NULL, NULL, 'check_out', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-09 14:12:01', '2026-02-09 14:12:01'),
(81, 131, NULL, NULL, NULL, NULL, 'check_in', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-09 14:12:33', '2026-02-09 14:12:33'),
(82, 131, NULL, NULL, NULL, NULL, 'check_out', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-09 14:12:33', '2026-02-09 14:12:33'),
(83, 140, NULL, NULL, NULL, NULL, 'check_in', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-09 14:13:15', '2026-02-09 14:13:15'),
(84, 140, NULL, NULL, NULL, NULL, 'check_out', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-09 14:13:15', '2026-02-09 14:13:15'),
(85, 149, NULL, NULL, NULL, NULL, 'check_in', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-09 14:14:10', '2026-02-09 14:14:10'),
(86, 149, NULL, NULL, NULL, NULL, 'check_out', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-09 14:14:10', '2026-02-09 14:14:10'),
(87, 159, NULL, NULL, NULL, NULL, 'check_in', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-09 14:14:45', '2026-02-09 14:14:45'),
(88, 159, NULL, NULL, NULL, NULL, 'check_out', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-09 14:14:45', '2026-02-09 14:14:45'),
(89, 168, NULL, NULL, NULL, NULL, 'check_in', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-09 14:15:32', '2026-02-09 14:15:32'),
(90, 168, NULL, NULL, NULL, NULL, 'check_out', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-09 14:15:32', '2026-02-09 14:15:32'),
(91, 223, NULL, NULL, NULL, NULL, 'check_in', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-09 14:18:45', '2026-02-09 14:18:45'),
(92, 223, NULL, NULL, NULL, NULL, 'check_out', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-09 14:18:45', '2026-02-09 14:18:45'),
(93, 107, NULL, NULL, NULL, NULL, 'check_in', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-09 14:19:25', '2026-02-09 14:19:25'),
(94, 107, NULL, NULL, NULL, NULL, 'check_out', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-09 14:19:25', '2026-02-09 14:19:25'),
(95, 117, NULL, NULL, NULL, NULL, 'check_in', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-09 14:19:55', '2026-02-09 14:19:55'),
(96, 117, NULL, NULL, NULL, NULL, 'check_out', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-09 14:19:55', '2026-02-09 14:19:55'),
(97, 126, NULL, NULL, NULL, NULL, 'check_in', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-09 14:20:38', '2026-02-09 14:20:38'),
(98, 126, NULL, NULL, NULL, NULL, 'check_out', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-09 14:20:38', '2026-02-09 14:20:38'),
(99, 224, NULL, NULL, NULL, NULL, 'check_in', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-09 14:21:13', '2026-02-09 14:21:13'),
(100, 224, NULL, NULL, NULL, NULL, 'check_out', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-09 14:21:13', '2026-02-09 14:21:13'),
(101, 225, NULL, NULL, NULL, NULL, 'check_in', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-09 14:21:50', '2026-02-09 14:21:50'),
(102, 225, NULL, NULL, NULL, NULL, 'check_out', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-09 14:21:50', '2026-02-09 14:21:50'),
(103, 153, NULL, NULL, NULL, NULL, 'check_in', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-09 14:22:25', '2026-02-09 14:22:25'),
(104, 153, NULL, NULL, NULL, NULL, 'check_out', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-09 14:22:25', '2026-02-09 14:22:25'),
(105, 163, NULL, NULL, NULL, NULL, 'check_in', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-09 14:22:59', '2026-02-09 14:22:59'),
(106, 163, NULL, NULL, NULL, NULL, 'check_out', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-09 14:22:59', '2026-02-09 14:22:59'),
(107, 172, NULL, NULL, NULL, NULL, 'check_in', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-09 14:23:29', '2026-02-09 14:23:29'),
(108, 172, NULL, NULL, NULL, NULL, 'check_out', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-09 14:23:29', '2026-02-09 14:23:29'),
(109, 226, NULL, NULL, NULL, NULL, 'check_in', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-09 14:24:08', '2026-02-09 14:24:08'),
(110, 226, NULL, NULL, NULL, NULL, 'check_out', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-09 14:24:08', '2026-02-09 14:24:08'),
(111, 227, NULL, NULL, NULL, NULL, 'check_in', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-09 14:24:53', '2026-02-09 14:24:53'),
(112, 227, NULL, NULL, NULL, NULL, 'check_out', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-09 14:24:53', '2026-02-09 14:24:53'),
(113, 228, NULL, NULL, NULL, NULL, 'check_in', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-09 14:32:56', '2026-02-09 14:32:56'),
(114, 228, NULL, NULL, NULL, NULL, 'check_out', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-09 14:32:56', '2026-02-09 14:32:56'),
(115, 81, NULL, NULL, NULL, NULL, 'check_in', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-09 14:33:32', '2026-02-09 14:33:32'),
(116, 81, NULL, NULL, NULL, NULL, 'check_out', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-09 14:33:32', '2026-02-09 14:33:32'),
(117, 91, NULL, NULL, NULL, NULL, 'check_in', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-09 14:34:13', '2026-02-09 14:34:13'),
(118, 91, NULL, NULL, NULL, NULL, 'check_out', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-09 14:34:13', '2026-02-09 14:34:13'),
(119, 119, NULL, NULL, NULL, NULL, 'check_in', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-09 14:34:43', '2026-02-09 14:34:43'),
(120, 119, NULL, NULL, NULL, NULL, 'check_out', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-09 14:34:43', '2026-02-09 14:34:43'),
(121, 229, NULL, NULL, NULL, NULL, 'check_in', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-09 14:35:19', '2026-02-09 14:35:19'),
(122, 229, NULL, NULL, NULL, NULL, 'check_out', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-09 14:35:19', '2026-02-09 14:35:19'),
(123, 165, NULL, NULL, NULL, NULL, 'check_in', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-09 14:35:58', '2026-02-09 14:35:58'),
(124, 165, NULL, NULL, NULL, NULL, 'check_out', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-09 14:35:58', '2026-02-09 14:35:58'),
(125, 230, NULL, NULL, NULL, NULL, 'check_in', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-09 14:36:25', '2026-02-09 14:36:25'),
(126, 230, NULL, NULL, NULL, NULL, 'check_out', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-09 14:36:25', '2026-02-09 14:36:25'),
(127, 231, NULL, NULL, NULL, NULL, 'check_in', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-09 14:36:58', '2026-02-09 14:36:58'),
(128, 231, NULL, NULL, NULL, NULL, 'check_out', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-09 14:36:58', '2026-02-09 14:36:58'),
(129, 232, NULL, NULL, NULL, NULL, 'check_in', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-18 15:40:32', '2026-02-18 15:40:32'),
(130, 232, NULL, NULL, NULL, NULL, 'check_out', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-18 15:40:32', '2026-02-18 15:40:32'),
(131, 85, NULL, NULL, NULL, NULL, 'check_in', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-18 15:41:11', '2026-02-18 15:41:11'),
(132, 85, NULL, NULL, NULL, NULL, 'check_out', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-18 15:41:11', '2026-02-18 15:41:11'),
(133, 95, NULL, NULL, NULL, NULL, 'check_in', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-18 15:41:38', '2026-02-18 15:41:38'),
(134, 95, NULL, NULL, NULL, NULL, 'check_out', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-18 15:41:38', '2026-02-18 15:41:38'),
(135, 123, NULL, NULL, NULL, NULL, 'check_in', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-18 15:42:08', '2026-02-18 15:42:08'),
(136, 123, NULL, NULL, NULL, NULL, 'check_out', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-18 15:42:08', '2026-02-18 15:42:08'),
(137, 233, NULL, NULL, NULL, NULL, 'check_in', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-18 15:42:40', '2026-02-18 15:42:40'),
(138, 233, NULL, NULL, NULL, NULL, 'check_out', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-18 15:42:40', '2026-02-18 15:42:40'),
(139, 234, NULL, NULL, NULL, NULL, 'check_in', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-18 15:44:16', '2026-02-18 15:44:16'),
(140, 234, NULL, NULL, NULL, NULL, 'check_out', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-18 15:44:16', '2026-02-18 15:44:16'),
(141, 141, NULL, NULL, NULL, NULL, 'check_in', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-18 15:44:50', '2026-02-18 15:44:50'),
(142, 141, NULL, NULL, NULL, NULL, 'check_out', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-18 15:44:50', '2026-02-18 15:44:50'),
(143, 169, NULL, NULL, NULL, NULL, 'check_in', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-18 15:45:37', '2026-02-18 15:45:37'),
(144, 169, NULL, NULL, NULL, NULL, 'check_out', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-18 15:45:37', '2026-02-18 15:45:37'),
(145, 235, NULL, NULL, NULL, NULL, 'check_in', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-18 15:46:40', '2026-02-18 15:46:40'),
(146, 235, NULL, NULL, NULL, NULL, 'check_out', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-18 15:46:40', '2026-02-18 15:46:40'),
(147, 236, NULL, NULL, NULL, NULL, 'check_in', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-18 15:47:06', '2026-02-18 15:47:06'),
(148, 236, NULL, NULL, NULL, NULL, 'check_out', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-18 15:47:06', '2026-02-18 15:47:06'),
(149, 93, NULL, NULL, NULL, NULL, 'check_in', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-20 09:30:40', '2026-02-20 09:30:40'),
(150, 93, NULL, NULL, NULL, NULL, 'check_out', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-20 09:30:40', '2026-02-20 09:30:40'),
(151, 102, NULL, NULL, NULL, NULL, 'check_in', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-20 09:31:28', '2026-02-20 09:31:27', '2026-02-20 09:31:28'),
(152, 102, NULL, NULL, NULL, NULL, 'check_out', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-20 09:31:28', '2026-02-20 09:31:27', '2026-02-20 09:31:28'),
(153, 102, NULL, NULL, NULL, NULL, 'check_in', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-20 09:31:28', '2026-02-20 09:31:28'),
(154, 102, NULL, NULL, NULL, NULL, 'check_out', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-20 09:31:28', '2026-02-20 09:31:28'),
(155, 237, NULL, NULL, NULL, NULL, 'check_in', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-20 09:32:11', '2026-02-20 09:32:11'),
(156, 237, NULL, NULL, NULL, NULL, 'check_out', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-20 09:32:11', '2026-02-20 09:32:11'),
(157, 139, NULL, NULL, NULL, NULL, 'check_in', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-20 09:32:53', '2026-02-20 09:32:53'),
(158, 139, NULL, NULL, NULL, NULL, 'check_out', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-20 09:32:53', '2026-02-20 09:32:53'),
(159, 148, NULL, NULL, NULL, NULL, 'check_in', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-20 09:34:11', '2026-02-20 09:34:11'),
(160, 148, NULL, NULL, NULL, NULL, 'check_out', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-20 09:34:11', '2026-02-20 09:34:11'),
(161, 158, NULL, NULL, NULL, NULL, 'check_in', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-20 09:35:24', '2026-02-20 09:35:24'),
(162, 158, NULL, NULL, NULL, NULL, 'check_out', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-20 09:35:24', '2026-02-20 09:35:24'),
(163, 167, NULL, NULL, NULL, NULL, 'check_in', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-20 09:36:28', '2026-02-20 09:36:28'),
(164, 167, NULL, NULL, NULL, NULL, 'check_out', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-20 09:36:28', '2026-02-20 09:36:28'),
(165, 238, NULL, NULL, NULL, NULL, 'check_in', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-20 09:37:11', '2026-02-20 09:37:11'),
(166, 238, NULL, NULL, NULL, NULL, 'check_out', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-20 09:37:11', '2026-02-20 09:37:11'),
(167, 106, NULL, NULL, NULL, NULL, 'check_in', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-20 09:39:29', '2026-02-20 09:39:29'),
(168, 106, NULL, NULL, NULL, NULL, 'check_out', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-20 09:39:29', '2026-02-20 09:39:29'),
(169, 116, NULL, NULL, NULL, NULL, 'check_in', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-20 09:40:01', '2026-02-20 09:40:01'),
(170, 116, NULL, NULL, NULL, NULL, 'check_out', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-20 09:40:01', '2026-02-20 09:40:01'),
(171, 125, NULL, NULL, NULL, NULL, 'check_in', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-20 09:40:34', '2026-02-20 09:40:34'),
(172, 125, NULL, NULL, NULL, NULL, 'check_out', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-20 09:40:34', '2026-02-20 09:40:34'),
(173, 239, NULL, NULL, NULL, NULL, 'check_in', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-20 09:41:14', '2026-02-20 09:41:14'),
(174, 239, NULL, NULL, NULL, NULL, 'check_out', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-20 09:41:14', '2026-02-20 09:41:14'),
(175, 240, NULL, NULL, NULL, NULL, 'check_in', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-20 09:41:48', '2026-02-20 09:41:48'),
(176, 240, NULL, NULL, NULL, NULL, 'check_out', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-20 09:41:48', '2026-02-20 09:41:48'),
(177, 134, NULL, NULL, NULL, NULL, 'check_in', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-20 09:43:08', '2026-02-20 09:43:08'),
(178, 134, NULL, NULL, NULL, NULL, 'check_out', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-20 09:43:08', '2026-02-20 09:43:08'),
(179, 152, NULL, NULL, NULL, NULL, 'check_in', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-20 09:43:42', '2026-02-20 09:43:42'),
(180, 152, NULL, NULL, NULL, NULL, 'check_out', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-20 09:43:42', '2026-02-20 09:43:42'),
(181, 162, NULL, NULL, NULL, NULL, 'check_in', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-20 09:44:18', '2026-02-20 09:44:18'),
(182, 162, NULL, NULL, NULL, NULL, 'check_out', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-20 09:44:18', '2026-02-20 09:44:18'),
(183, 171, NULL, NULL, NULL, NULL, 'check_in', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-20 09:44:48', '2026-02-20 09:44:48'),
(184, 171, NULL, NULL, NULL, NULL, 'check_out', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-20 09:44:48', '2026-02-20 09:44:48'),
(185, 241, NULL, NULL, NULL, NULL, 'check_in', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2026-03-11 10:18:10', '2026-02-20 09:45:26', '2026-03-11 10:18:10'),
(186, 241, NULL, NULL, NULL, NULL, 'check_out', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2026-03-11 10:18:10', '2026-02-20 09:45:26', '2026-03-11 10:18:10'),
(187, 242, NULL, NULL, NULL, NULL, 'check_in', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-20 09:51:28', '2026-02-20 09:51:28'),
(188, 242, NULL, NULL, NULL, NULL, 'check_out', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-20 09:51:28', '2026-02-20 09:51:28'),
(189, 101, NULL, NULL, NULL, NULL, 'check_in', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-20 09:52:02', '2026-02-20 09:52:02'),
(190, 101, NULL, NULL, NULL, NULL, 'check_out', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-20 09:52:02', '2026-02-20 09:52:02'),
(191, 111, NULL, NULL, NULL, NULL, 'check_in', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-20 09:54:54', '2026-02-20 09:52:34', '2026-02-20 09:54:54'),
(192, 111, NULL, NULL, NULL, NULL, 'check_out', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-20 09:54:54', '2026-02-20 09:52:34', '2026-02-20 09:54:54'),
(193, 120, NULL, NULL, NULL, NULL, 'check_in', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-20 09:53:01', '2026-02-20 09:53:01'),
(194, 120, NULL, NULL, NULL, NULL, 'check_out', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-20 09:53:01', '2026-02-20 09:53:01'),
(195, 243, NULL, NULL, NULL, NULL, 'check_in', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-20 09:53:28', '2026-02-20 09:53:28'),
(196, 243, NULL, NULL, NULL, NULL, 'check_out', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-20 09:53:28', '2026-02-20 09:53:28'),
(197, 147, NULL, NULL, NULL, NULL, 'check_in', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-20 09:54:27', '2026-02-20 09:54:27'),
(198, 147, NULL, NULL, NULL, NULL, 'check_out', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-20 09:54:27', '2026-02-20 09:54:27'),
(199, 111, NULL, NULL, NULL, NULL, 'check_in', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-20 09:54:54', '2026-02-20 09:54:54'),
(200, 111, NULL, NULL, NULL, NULL, 'check_out', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-20 09:54:54', '2026-02-20 09:54:54'),
(201, 166, NULL, NULL, NULL, NULL, 'check_in', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-20 09:55:22', '2026-02-20 09:55:22'),
(202, 166, NULL, NULL, NULL, NULL, 'check_out', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-20 09:55:22', '2026-02-20 09:55:22'),
(203, 244, NULL, NULL, NULL, NULL, 'check_in', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-20 09:55:56', '2026-02-20 09:55:56'),
(204, 244, NULL, NULL, NULL, NULL, 'check_out', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-20 09:55:56', '2026-02-20 09:55:56'),
(205, 245, NULL, NULL, NULL, NULL, 'check_in', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-20 09:56:33', '2026-02-20 09:56:33'),
(206, 245, NULL, NULL, NULL, NULL, 'check_out', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-20 09:56:33', '2026-02-20 09:56:33'),
(207, 86, NULL, NULL, NULL, NULL, 'check_in', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-20 10:17:21', '2026-02-20 09:58:03', '2026-02-20 10:17:21'),
(208, 86, NULL, NULL, NULL, NULL, 'check_out', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-20 10:17:21', '2026-02-20 09:58:03', '2026-02-20 10:17:21'),
(209, 96, NULL, NULL, NULL, NULL, 'check_in', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-20 10:17:54', '2026-02-20 09:58:35', '2026-02-20 10:17:54'),
(210, 96, NULL, NULL, NULL, NULL, 'check_out', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-20 10:17:54', '2026-02-20 09:58:35', '2026-02-20 10:17:54'),
(211, 105, NULL, NULL, NULL, NULL, 'check_in', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-20 10:03:15', '2026-02-20 09:59:14', '2026-02-20 10:03:15'),
(212, 105, NULL, NULL, NULL, NULL, 'check_out', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-20 10:03:15', '2026-02-20 09:59:14', '2026-02-20 10:03:15'),
(213, 124, NULL, NULL, NULL, NULL, 'check_in', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-20 10:19:01', '2026-02-20 09:59:47', '2026-02-20 10:19:01'),
(214, 124, NULL, NULL, NULL, NULL, 'check_out', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-20 10:19:01', '2026-02-20 09:59:47', '2026-02-20 10:19:01'),
(215, 142, NULL, NULL, NULL, NULL, 'check_in', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-20 10:19:32', '2026-02-20 10:00:26', '2026-02-20 10:19:32'),
(216, 142, NULL, NULL, NULL, NULL, 'check_out', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-20 10:19:32', '2026-02-20 10:00:26', '2026-02-20 10:19:32'),
(217, 151, NULL, NULL, NULL, NULL, 'check_in', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-20 10:20:02', '2026-02-20 10:01:14', '2026-02-20 10:20:02'),
(218, 151, NULL, NULL, NULL, NULL, 'check_out', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-20 10:20:02', '2026-02-20 10:01:14', '2026-02-20 10:20:02'),
(219, 161, NULL, NULL, NULL, NULL, 'check_in', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-20 10:20:37', '2026-02-20 10:01:44', '2026-02-20 10:20:37'),
(220, 161, NULL, NULL, NULL, NULL, 'check_out', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-20 10:20:37', '2026-02-20 10:01:44', '2026-02-20 10:20:37'),
(221, 105, NULL, NULL, NULL, NULL, 'check_in', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-20 10:15:21', '2026-02-20 10:03:15', '2026-02-20 10:15:21'),
(222, 105, NULL, NULL, NULL, NULL, 'check_in', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-20 10:18:23', '2026-02-20 10:15:21', '2026-02-20 10:18:23'),
(223, 105, NULL, NULL, NULL, NULL, 'check_out', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-20 10:18:23', '2026-02-20 10:15:21', '2026-02-20 10:18:23'),
(224, 86, NULL, NULL, NULL, NULL, 'check_in', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-20 10:17:21', '2026-02-20 10:17:21'),
(225, 86, NULL, NULL, NULL, NULL, 'check_out', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-20 10:17:21', '2026-02-20 10:17:21'),
(226, 96, NULL, NULL, NULL, NULL, 'check_in', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-20 10:17:54', '2026-02-20 10:17:54'),
(227, 96, NULL, NULL, NULL, NULL, 'check_out', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-20 10:17:54', '2026-02-20 10:17:54'),
(228, 105, NULL, NULL, NULL, NULL, 'check_in', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-20 10:18:23', '2026-02-20 10:18:23'),
(229, 105, NULL, NULL, NULL, NULL, 'check_out', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-20 10:18:23', '2026-02-20 10:18:23'),
(230, 124, NULL, NULL, NULL, NULL, 'check_in', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-20 10:19:01', '2026-02-20 10:19:01'),
(231, 124, NULL, NULL, NULL, NULL, 'check_out', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-20 10:19:01', '2026-02-20 10:19:01'),
(232, 142, NULL, NULL, NULL, NULL, 'check_in', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-20 10:19:32', '2026-02-20 10:19:32'),
(233, 142, NULL, NULL, NULL, NULL, 'check_out', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-20 10:19:32', '2026-02-20 10:19:32'),
(234, 151, NULL, NULL, NULL, NULL, 'check_in', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-20 10:20:02', '2026-02-20 10:20:02'),
(235, 151, NULL, NULL, NULL, NULL, 'check_out', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-20 10:20:02', '2026-02-20 10:20:02'),
(236, 161, NULL, NULL, NULL, NULL, 'check_in', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-20 10:20:37', '2026-02-20 10:20:37'),
(237, 161, NULL, NULL, NULL, NULL, 'check_out', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-20 10:20:37', '2026-02-20 10:20:37'),
(238, 241, 9, '2026-01-24', '15:16:00', '2026-01-24 15:16:00', 'check_in', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2026-03-11 10:18:10', '2026-03-11 10:18:10'),
(239, 241, 9, '2026-01-24', '00:30:00', '2026-01-25 00:30:00', 'check_out', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2026-03-11 10:18:10', '2026-03-11 10:18:10');

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

--
-- Table structure for table `attendance_regularizations`
--

CREATE TABLE `attendance_regularizations` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `user_id` bigint(20) UNSIGNED NOT NULL,
  `attendance_id` bigint(20) UNSIGNED DEFAULT NULL,
  `date` date NOT NULL,
  `type` enum('missing_checkin','missing_checkout','wrong_time','forgot_punch','other') NOT NULL,
  `requested_check_in_time` time DEFAULT NULL,
  `requested_check_out_time` time DEFAULT NULL,
  `actual_check_in_time` time DEFAULT NULL,
  `actual_check_out_time` time DEFAULT NULL,
  `reason` text NOT NULL,
  `manager_comments` text DEFAULT NULL,
  `status` enum('pending','approved','rejected') NOT NULL DEFAULT 'pending',
  `approved_by` bigint(20) UNSIGNED DEFAULT NULL,
  `approved_at` timestamp NULL DEFAULT NULL,
  `attachments` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`attachments`)),
  `created_by_id` bigint(20) UNSIGNED DEFAULT NULL,
  `updated_by_id` bigint(20) UNSIGNED DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

--
-- Table structure for table `audits`
--

CREATE TABLE `audits` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `user_type` varchar(255) DEFAULT NULL,
  `user_id` bigint(20) UNSIGNED DEFAULT NULL,
  `event` varchar(255) NOT NULL,
  `auditable_type` varchar(255) NOT NULL,
  `auditable_id` bigint(20) UNSIGNED NOT NULL,
  `old_values` text DEFAULT NULL,
  `new_values` text DEFAULT NULL,
  `url` text DEFAULT NULL,
  `ip_address` varchar(45) DEFAULT NULL,
  `user_agent` varchar(1023) DEFAULT NULL,
  `tags` varchar(255) DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `audits`
--

INSERT INTO `audits` (`id`, `user_type`, `user_id`, `event`, `auditable_type`, `auditable_id`, `old_values`, `new_values`, `url`, `ip_address`, `user_agent`, `tags`, `created_at`, `updated_at`) VALUES
(1, 'App\\Models\\User', 1, 'created', 'App\\Models\\Team', 1, '[]', '{\"code\":\"TM-001\",\"name\":\"Default Team\",\"status\":\"active\",\"is_chat_enabled\":true,\"id\":1}', 'https://ramenhr.com/multitenancy/admin/provisioning/2/manual-provision', '180.190.209.189', 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36', NULL, '2026-01-14 12:44:02', '2026-01-14 12:44:02'),
(2, 'App\\Models\\User', 1, 'created', 'App\\Models\\Shift', 1, '[]', '{\"code\":\"SH-001\",\"name\":\"Default Shift\",\"status\":\"active\",\"start_date\":\"2026-01-14 12:44:02\",\"start_time\":\"09:00:00\",\"end_time\":\"18:00:00\",\"is_default\":true,\"sunday\":false,\"monday\":true,\"tuesday\":true,\"wednesday\":true,\"thursday\":true,\"friday\":true,\"saturday\":false,\"id\":1}', 'https://ramenhr.com/multitenancy/admin/provisioning/2/manual-provision', '180.190.209.189', 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36', NULL, '2026-01-14 12:44:02', '2026-01-14 12:44:02'),
(3, 'App\\Models\\User', 1, 'created', 'App\\Models\\Department', 1, '[]', '{\"code\":\"DEPT-001\",\"name\":\"General\",\"notes\":\"Default department\",\"id\":1}', 'https://ramenhr.com/multitenancy/admin/provisioning/2/manual-provision', '180.190.209.189', 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36', NULL, '2026-01-14 12:44:02', '2026-01-14 12:44:02'),
(4, 'App\\Models\\User', 1, 'created', 'App\\Models\\Designation', 1, '[]', '{\"code\":\"DES-001\",\"name\":\"Administrator\",\"department_id\":1,\"notes\":\"System administrator\",\"id\":1}', 'https://ramenhr.com/multitenancy/admin/provisioning/2/manual-provision', '180.190.209.189', 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36', NULL, '2026-01-14 12:44:02', '2026-01-14 12:44:02'),
(5, 'App\\Models\\User', 1, 'created', 'App\\Models\\User', 1, '[]', '{\"first_name\":\"SEB\",\"last_name\":\"Connexion\",\"gender\":\"male\",\"dob\":\"1985-01-03 00:00:00\",\"phone\":\"0000000000\",\"status\":\"active\",\"email\":\"marlon.domagtoy@sebconnexion.com\",\"email_verified_at\":\"2026-01-14 12:44:02\",\"password\":\"$2y$12$qCtzWgPcyxxPHh0.ULram.Y.wplKWImAHWm3tV5tUq3UcsAviEQWS\",\"remember_token\":\"IVxxc2inEk\",\"code\":\"EMP-001\",\"date_of_joining\":\"2024-05-14 12:44:02\",\"phone_verified_at\":\"2026-01-14 12:44:02\",\"shift_id\":1,\"team_id\":1,\"designation_id\":1,\"name\":\"SEB Connexion\",\"id\":1}', 'https://ramenhr.com/multitenancy/admin/provisioning/2/manual-provision', '180.190.209.189', 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36', NULL, '2026-01-14 12:44:02', '2026-01-14 12:44:02'),
(6, 'App\\Models\\User', 1, 'created', 'App\\Models\\Settings', 1, '[]', '{\"website\":\"https:\\/\\/yourcompany.com\",\"support_email\":\"support@yourcompany.com\",\"support_phone\":\"+1234567890\",\"support_whatsapp\":\"+1234567890\",\"company_name\":\"Your Company Name\",\"company_logo\":\"app_logo.png\",\"company_address\":\"Your Company Address\",\"company_phone\":\"+1234567890\",\"company_email\":\"info@yourcompany.com\",\"company_website\":\"https:\\/\\/yourcompany.com\",\"company_country\":\"Your Country\",\"company_state\":\"Your State\",\"company_city\":\"Your City\",\"company_zipcode\":\"000000\",\"company_tax_id\":\"TAX-ID-HERE\",\"company_reg_no\":\"REG-NO-HERE\",\"id\":1}', 'https://ramenhr.com/multitenancy/admin/provisioning/2/manual-provision', '180.190.209.189', 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36', NULL, '2026-01-14 12:44:02', '2026-01-14 12:44:02'),
(7, 'App\\Models\\User', 1, 'created', 'App\\Models\\ModuleSetting', 1, '[]', '{\"module\":\"AccountingCore\",\"key\":\"transaction_prefix\",\"value\":\"TXN\",\"type\":\"string\",\"id\":1}', 'https://ramenhr.com/multitenancy/admin/provisioning/2/manual-provision', '180.190.209.189', 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36', NULL, '2026-01-14 12:44:02', '2026-01-14 12:44:02'),
(8, 'App\\Models\\User', 1, 'created', 'App\\Models\\ModuleSetting', 2, '[]', '{\"module\":\"AccountingCore\",\"key\":\"transaction_start_number\",\"value\":\"1000\",\"type\":\"string\",\"id\":2}', 'https://ramenhr.com/multitenancy/admin/provisioning/2/manual-provision', '180.190.209.189', 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36', NULL, '2026-01-14 12:44:02', '2026-01-14 12:44:02'),
(9, 'App\\Models\\User', 1, 'created', 'App\\Models\\ModuleSetting', 3, '[]', '{\"module\":\"AccountingCore\",\"key\":\"allow_future_dates\",\"value\":\"\",\"type\":\"boolean\",\"id\":3}', 'https://ramenhr.com/multitenancy/admin/provisioning/2/manual-provision', '180.190.209.189', 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36', NULL, '2026-01-14 12:44:02', '2026-01-14 12:44:02'),
(10, 'App\\Models\\User', 1, 'created', 'App\\Models\\ModuleSetting', 4, '[]', '{\"module\":\"AccountingCore\",\"key\":\"require_attachments\",\"value\":\"\",\"type\":\"boolean\",\"id\":4}', 'https://ramenhr.com/multitenancy/admin/provisioning/2/manual-provision', '180.190.209.189', 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36', NULL, '2026-01-14 12:44:02', '2026-01-14 12:44:02'),
(11, 'App\\Models\\User', 1, 'created', 'App\\Models\\ModuleSetting', 5, '[]', '{\"module\":\"AccountingCore\",\"key\":\"allow_custom_categories\",\"value\":\"1\",\"type\":\"boolean\",\"id\":5}', 'https://ramenhr.com/multitenancy/admin/provisioning/2/manual-provision', '180.190.209.189', 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36', NULL, '2026-01-14 12:44:02', '2026-01-14 12:44:02'),
(12, 'App\\Models\\User', 1, 'created', 'App\\Models\\ModuleSetting', 6, '[]', '{\"module\":\"AccountingCore\",\"key\":\"category_hierarchy_levels\",\"value\":\"2\",\"type\":\"string\",\"id\":6}', 'https://ramenhr.com/multitenancy/admin/provisioning/2/manual-provision', '180.190.209.189', 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36', NULL, '2026-01-14 12:44:02', '2026-01-14 12:44:02'),
(13, 'App\\Models\\User', 1, 'created', 'App\\Models\\ModuleSetting', 7, '[]', '{\"module\":\"AccountingCore\",\"key\":\"auto_sync_sales_orders\",\"value\":\"1\",\"type\":\"boolean\",\"id\":7}', 'https://ramenhr.com/multitenancy/admin/provisioning/2/manual-provision', '180.190.209.189', 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36', NULL, '2026-01-14 12:44:02', '2026-01-14 12:44:02'),
(14, 'App\\Models\\User', 1, 'created', 'App\\Models\\ModuleSetting', 8, '[]', '{\"module\":\"AccountingCore\",\"key\":\"auto_sync_purchase_orders\",\"value\":\"1\",\"type\":\"boolean\",\"id\":8}', 'https://ramenhr.com/multitenancy/admin/provisioning/2/manual-provision', '180.190.209.189', 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36', NULL, '2026-01-14 12:44:02', '2026-01-14 12:44:02'),
(15, 'App\\Models\\User', 1, 'updated', 'App\\Models\\Settings', 1, '{\"app_name\":\"Open Core BS\",\"country\":\"USA\",\"phone_country_code\":\"+1\",\"currency\":\"USD\",\"currency_symbol\":\"$\"}', '{\"app_name\":\"RamenHR\",\"country\":\"Philippines\",\"phone_country_code\":\"+63\",\"currency\":\"PHP\",\"currency_symbol\":\"\\u20b1\"}', 'https://seb.ramenhr.com/settings/updateGeneralSettings', '180.190.209.189', 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36', NULL, '2026-01-14 19:37:25', '2026-01-14 19:37:25'),
(16, 'App\\Models\\User', 1, 'updated', 'App\\Models\\Team', 1, '{\"code\":\"TM-001\",\"notes\":null}', '{\"code\":\"SEB Connexion Inc.\",\"notes\":\"Head Office\"}', 'https://seb.ramenhr.com/teams/addOrUpdateTeamAjax', '112.209.190.53', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36', NULL, '2026-01-15 10:18:23', '2026-01-15 10:18:23'),
(17, 'App\\Models\\User', 1, 'updated', 'App\\Models\\Team', 1, '{\"name\":\"Default Team\",\"code\":\"SEB Connexion Inc.\"}', '{\"name\":\"SEB Connexion Inc.\",\"code\":\"SEB\"}', 'https://seb.ramenhr.com/teams/addOrUpdateTeamAjax', '112.209.190.53', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36', NULL, '2026-01-15 10:18:43', '2026-01-15 10:18:43'),
(18, 'App\\Models\\User', 1, 'created', 'App\\Models\\Team', 2, '[]', '{\"name\":\"The Beer Factory\",\"notes\":\"Restaurant\",\"code\":\"TBF\",\"is_chat_enabled\":\"0\",\"id\":2}', 'https://seb.ramenhr.com/teams/addOrUpdateTeamAjax', '112.209.190.53', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36', NULL, '2026-01-15 10:19:04', '2026-01-15 10:19:04'),
(19, 'App\\Models\\User', 1, 'updated', 'App\\Models\\Department', 1, '{\"name\":\"General\",\"code\":\"DEPT-001\",\"notes\":\"Default department\"}', '{\"name\":\"Head Office\",\"code\":\"SEB HO\",\"notes\":null}', 'https://seb.ramenhr.com/departments/addOrUpdateDepartmentAjax', '112.209.190.53', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36', NULL, '2026-01-15 10:20:03', '2026-01-15 10:20:03'),
(20, 'App\\Models\\User', 1, 'created', 'App\\Models\\Department', 2, '[]', '{\"name\":\"Operations\",\"code\":\"OPS\",\"notes\":null,\"parent_id\":null,\"id\":2}', 'https://seb.ramenhr.com/departments/addOrUpdateDepartmentAjax', '112.209.190.53', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36', NULL, '2026-01-15 10:20:25', '2026-01-15 10:20:25'),
(21, 'App\\Models\\User', 1, 'updated', 'App\\Models\\Designation', 1, '{\"name\":\"Administrator\",\"code\":\"DES-001\",\"notes\":\"System administrator\"}', '{\"name\":\"Operations Manager\",\"code\":\"OM\",\"notes\":null}', 'https://seb.ramenhr.com/designations/addOrUpdateAjax', '112.209.190.53', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36', NULL, '2026-01-15 10:21:12', '2026-01-15 10:21:12'),
(22, 'App\\Models\\User', 1, 'updated', 'App\\Models\\Designation', 1, '{\"name\":\"Operations Manager\",\"code\":\"OM\"}', '{\"name\":\"Head of Operation\",\"code\":\"HOS\"}', 'https://seb.ramenhr.com/designations/addOrUpdateAjax', '112.209.190.53', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36', NULL, '2026-01-15 10:21:31', '2026-01-15 10:21:31'),
(23, 'App\\Models\\User', 1, 'updated', 'App\\Models\\Designation', 1, '{\"name\":\"Head of Operation\",\"code\":\"HOS\",\"department_id\":1}', '{\"name\":\"Restaurant Manager\",\"code\":\"RM\",\"department_id\":\"2\"}', 'https://seb.ramenhr.com/designations/addOrUpdateAjax', '112.209.190.53', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36', NULL, '2026-01-15 10:21:46', '2026-01-15 10:21:46'),
(24, 'App\\Models\\User', 1, 'created', 'App\\Models\\Designation', 2, '[]', '{\"name\":\"Assistant Restaurant Manager\",\"code\":\"ARM\",\"notes\":null,\"department_id\":\"2\",\"id\":2}', 'https://seb.ramenhr.com/designations/addOrUpdateAjax', '112.209.190.53', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36', NULL, '2026-01-15 10:22:14', '2026-01-15 10:22:14'),
(25, 'App\\Models\\User', 1, 'updated', 'App\\Models\\Designation', 1, '{\"name\":\"Restaurant Manager\",\"code\":\"RM\"}', '{\"name\":\"Head of Operations\",\"code\":\"HOO\"}', 'https://seb.ramenhr.com/designations/addOrUpdateAjax', '112.209.190.53', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36', NULL, '2026-01-15 10:22:58', '2026-01-15 10:22:58'),
(26, 'App\\Models\\User', 1, 'updated', 'App\\Models\\Designation', 2, '{\"name\":\"Assistant Restaurant Manager\",\"code\":\"ARM\"}', '{\"name\":\"Restaurant Manager\",\"code\":\"RM\"}', 'https://seb.ramenhr.com/designations/addOrUpdateAjax', '112.209.190.53', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36', NULL, '2026-01-15 10:23:17', '2026-01-15 10:23:17'),
(27, 'App\\Models\\User', 1, 'updated', 'App\\Models\\Designation', 1, '{\"department_id\":2}', '{\"department_id\":\"1\"}', 'https://seb.ramenhr.com/designations/addOrUpdateAjax', '112.209.190.53', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36', NULL, '2026-01-15 10:23:23', '2026-01-15 10:23:23'),
(28, 'App\\Models\\User', 1, 'updated', 'App\\Models\\Designation', 1, '{\"name\":\"Head of Operations\",\"code\":\"HOO\",\"department_id\":1}', '{\"name\":\"Assistant Restaurant Manager\",\"code\":\"ARM\",\"department_id\":\"2\"}', 'https://seb.ramenhr.com/designations/addOrUpdateAjax', '112.209.190.53', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36', NULL, '2026-01-15 10:23:35', '2026-01-15 10:23:35'),
(29, 'App\\Models\\User', 1, 'updated', 'App\\Models\\Designation', 1, '{\"name\":\"Assistant Restaurant Manager\",\"code\":\"ARM\",\"department_id\":2}', '{\"name\":\"Head of Operations\",\"code\":\"HOO\",\"department_id\":\"1\"}', 'https://seb.ramenhr.com/designations/addOrUpdateAjax', '112.209.190.53', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36', NULL, '2026-01-15 10:24:20', '2026-01-15 10:24:20'),
(30, 'App\\Models\\User', 1, 'created', 'App\\Models\\Designation', 3, '[]', '{\"name\":\"new\",\"code\":\"new\",\"notes\":null,\"department_id\":null,\"id\":3}', 'https://seb.ramenhr.com/designations/addOrUpdateAjax', '112.209.190.53', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36', NULL, '2026-01-15 10:24:51', '2026-01-15 10:24:51'),
(31, 'App\\Models\\User', 1, 'updated', 'App\\Models\\Designation', 3, '{\"name\":\"new\",\"code\":\"new\",\"department_id\":null}', '{\"name\":\"Assistant Restaurant Manager\",\"code\":\"ARM\",\"department_id\":\"2\"}', 'https://seb.ramenhr.com/designations/addOrUpdateAjax', '112.209.190.53', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36', NULL, '2026-01-15 10:25:10', '2026-01-15 10:25:10'),
(32, 'App\\Models\\User', 1, 'updated', 'App\\Models\\Designation', 3, '{\"name\":\"Assistant Restaurant Manager\",\"code\":\"ARM\"}', '{\"name\":\"Restaurant Supervisor\",\"code\":\"RS\"}', 'https://seb.ramenhr.com/designations/addOrUpdateAjax', '112.209.190.53', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36', NULL, '2026-01-15 10:25:50', '2026-01-15 10:25:50'),
(33, 'App\\Models\\User', 1, 'updated', 'App\\Models\\Designation', 3, '{\"name\":\"Restaurant Supervisor\",\"code\":\"RS\"}', '{\"name\":\"new\",\"code\":\"new\"}', 'https://seb.ramenhr.com/designations/addOrUpdateAjax', '112.209.190.53', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36', NULL, '2026-01-15 10:26:06', '2026-01-15 10:26:06'),
(34, 'App\\Models\\User', 1, 'updated', 'App\\Models\\Designation', 3, '{\"name\":\"new\",\"code\":\"new\"}', '{\"name\":\"fseds\",\"code\":\"fesf\"}', 'https://seb.ramenhr.com/designations/addOrUpdateAjax', '112.209.190.53', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36', NULL, '2026-01-15 10:26:16', '2026-01-15 10:26:16'),
(35, 'App\\Models\\User', 1, 'updated', 'App\\Models\\Designation', 3, '{\"name\":\"fseds\",\"code\":\"fesf\"}', '{\"name\":\"Assistant Restaurant Manager\",\"code\":\"ARM\"}', 'https://seb.ramenhr.com/designations/addOrUpdateAjax', '112.209.190.53', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36', NULL, '2026-01-15 10:26:30', '2026-01-15 10:26:30'),
(36, 'App\\Models\\User', 1, 'updated', 'App\\Models\\Designation', 3, '{\"name\":\"Assistant Restaurant Manager\",\"code\":\"ARM\"}', '{\"name\":\"new\",\"code\":\"new\"}', 'https://seb.ramenhr.com/designations/addOrUpdateAjax', '112.209.190.53', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36', NULL, '2026-01-15 10:26:59', '2026-01-15 10:26:59'),
(37, 'App\\Models\\User', 1, 'updated', 'App\\Models\\Designation', 3, '{\"name\":\"new\",\"code\":\"new\"}', '{\"name\":\"Assistant Restaurant Manager\",\"code\":\"ARM\"}', 'https://seb.ramenhr.com/designations/addOrUpdateAjax', '112.209.190.53', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36', NULL, '2026-01-15 10:28:04', '2026-01-15 10:28:04'),
(38, 'App\\Models\\User', 1, 'updated', 'App\\Models\\User', 1, '{\"first_name\":\"SEB\",\"last_name\":\"Connexion\",\"name\":\"SEB Connexion\",\"phone\":\"0000000000\",\"dob\":\"1985-01-03\"}', '{\"first_name\":\"Marlon\",\"last_name\":\"Domagtoy\",\"name\":\"Marlon Domagtoy\",\"phone\":\"9151784027\",\"dob\":\"1991-01-31 00:00:00\"}', 'https://seb.ramenhr.com/employees/updateBasicInfo', '112.209.190.53', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36', NULL, '2026-01-15 10:30:16', '2026-01-15 10:30:16'),
(39, 'App\\Models\\User', 1, 'created', 'App\\Models\\User', 2, '[]', '{\"first_name\":\"Ana Regina\",\"last_name\":\"Mariano\",\"gender\":\"female\",\"phone\":\"9955646175\",\"alternate_number\":null,\"email\":\"armariano@yahoo.com\",\"dob\":\"1985-04-25 00:00:00\",\"blood_group\":null,\"address\":null,\"emergency_contact_name\":null,\"emergency_contact_relationship\":null,\"emergency_contact_phone\":null,\"emergency_contact_address\":null,\"password\":\"$2y$12$M7ex7aR61BDYCBw8YHTfEOhLV3RK71mcwp4rfkqoSP3a1AIa.tbGC\",\"code\":\"SEB2018-2008T\",\"date_of_joining\":\"2019-08-27 00:00:00\",\"team_id\":\"2\",\"shift_id\":\"1\",\"reporting_to_id\":\"1\",\"designation_id\":\"2\",\"status\":\"active\",\"created_by_id\":1,\"name\":\"Ana Regina Mariano\",\"id\":2}', 'https://seb.ramenhr.com/employees/store', '112.209.190.53', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36', NULL, '2026-01-15 10:35:05', '2026-01-15 10:35:05'),
(40, 'App\\Models\\User', 1, 'updated', 'App\\Models\\User', 2, '{\"attendance_type\":null}', '{\"attendance_type\":\"open\"}', 'https://seb.ramenhr.com/employees/store', '112.209.190.53', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36', NULL, '2026-01-15 10:35:05', '2026-01-15 10:35:05'),
(41, 'App\\Models\\User', 1, 'created', 'App\\Models\\User', 3, '[]', '{\"first_name\":\"Rhea Jane\",\"last_name\":\"Belchez\",\"gender\":\"female\",\"phone\":\"9099491457\",\"alternate_number\":null,\"email\":\"eyajanepot0610@gmail.com\",\"dob\":\"1997-10-16 00:00:00\",\"blood_group\":null,\"address\":null,\"emergency_contact_name\":null,\"emergency_contact_relationship\":null,\"emergency_contact_phone\":null,\"emergency_contact_address\":null,\"password\":\"$2y$12$aYFMFO8A8KFIOIte6ErBiOdXLyKgXEE\\/69dV6dfV4waBqvW\\/QUrGC\",\"code\":\"SEB2018-2024T\",\"date_of_joining\":\"2022-05-05 00:00:00\",\"team_id\":\"2\",\"shift_id\":\"1\",\"reporting_to_id\":\"2\",\"designation_id\":\"2\",\"status\":\"active\",\"created_by_id\":1,\"name\":\"Rhea Jane Belchez\",\"id\":3}', 'https://seb.ramenhr.com/employees/store', '112.209.190.53', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36', NULL, '2026-01-15 10:40:58', '2026-01-15 10:40:58'),
(42, 'App\\Models\\User', 1, 'updated', 'App\\Models\\User', 3, '{\"attendance_type\":null}', '{\"attendance_type\":\"open\"}', 'https://seb.ramenhr.com/employees/store', '112.209.190.53', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36', NULL, '2026-01-15 10:40:58', '2026-01-15 10:40:58'),
(43, 'App\\Models\\User', 1, 'created', 'App\\Models\\User', 4, '[]', '{\"first_name\":\"Reynah Lyn\",\"last_name\":\"Guevarra\",\"gender\":\"female\",\"phone\":\"9453746700\",\"alternate_number\":null,\"email\":\"rbmguevarra@gmail.com\",\"dob\":\"1994-12-11 00:00:00\",\"blood_group\":null,\"address\":null,\"emergency_contact_name\":null,\"emergency_contact_relationship\":null,\"emergency_contact_phone\":null,\"emergency_contact_address\":null,\"password\":\"$2y$12$hvx5dfnw1Mgda7X3TbUGqevNUz7g0PWqvawkMa3prBSvazJJ.cKO.\",\"code\":\"SEB2024-2101T\",\"date_of_joining\":\"2024-04-15 00:00:00\",\"team_id\":\"2\",\"shift_id\":\"1\",\"reporting_to_id\":\"2\",\"designation_id\":\"3\",\"status\":\"active\",\"created_by_id\":1,\"name\":\"Reynah Lyn Guevarra\",\"id\":4}', 'https://seb.ramenhr.com/employees/store', '112.209.190.53', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36', NULL, '2026-01-15 10:43:44', '2026-01-15 10:43:44'),
(44, 'App\\Models\\User', 1, 'updated', 'App\\Models\\User', 4, '{\"attendance_type\":null}', '{\"attendance_type\":\"open\"}', 'https://seb.ramenhr.com/employees/store', '112.209.190.53', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36', NULL, '2026-01-15 10:43:44', '2026-01-15 10:43:44'),
(45, 'App\\Models\\User', 1, 'created', 'App\\Models\\Designation', 4, '[]', '{\"name\":\"Restaurant Supervisor\",\"code\":\"RS\",\"notes\":null,\"department_id\":\"2\",\"id\":4}', 'https://seb.ramenhr.com/designations/addOrUpdateAjax', '112.209.190.53', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36', NULL, '2026-01-15 10:44:34', '2026-01-15 10:44:34'),
(46, 'App\\Models\\User', 1, 'created', 'App\\Models\\User', 5, '[]', '{\"first_name\":\"Mart Ace\",\"last_name\":\"Guano\",\"gender\":\"male\",\"phone\":\"9270790192\",\"alternate_number\":null,\"email\":\"g_martace@yahoo.com\",\"dob\":\"1994-05-20 00:00:00\",\"blood_group\":null,\"address\":null,\"emergency_contact_name\":null,\"emergency_contact_relationship\":null,\"emergency_contact_phone\":null,\"emergency_contact_address\":null,\"password\":\"$2y$12$BzQyQK1CRAH.Ivaf8hzy9OU7SVfLonZUXUmsd40O3F3qb2l1zzJY2\",\"code\":\"SEB2018-2023T\",\"date_of_joining\":\"2021-10-01 00:00:00\",\"team_id\":\"2\",\"shift_id\":\"1\",\"reporting_to_id\":\"2\",\"designation_id\":\"4\",\"status\":\"active\",\"created_by_id\":1,\"name\":\"Mart Ace Guano\",\"id\":5}', 'https://seb.ramenhr.com/employees/store', '112.209.190.53', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36', NULL, '2026-01-15 10:47:54', '2026-01-15 10:47:54'),
(47, 'App\\Models\\User', 1, 'updated', 'App\\Models\\User', 5, '{\"attendance_type\":null}', '{\"attendance_type\":\"open\"}', 'https://seb.ramenhr.com/employees/store', '112.209.190.53', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36', NULL, '2026-01-15 10:47:54', '2026-01-15 10:47:54'),
(48, 'App\\Models\\User', 1, 'created', 'App\\Models\\Designation', 5, '[]', '{\"name\":\"Kitchen Staff\",\"code\":\"KS\",\"notes\":null,\"department_id\":\"2\",\"id\":5}', 'https://seb.ramenhr.com/designations/addOrUpdateAjax', '112.209.190.53', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36', NULL, '2026-01-15 10:49:37', '2026-01-15 10:49:37'),
(49, 'App\\Models\\User', 1, 'created', 'App\\Models\\Designation', 6, '[]', '{\"name\":\"Dining Staff\",\"code\":\"DS\",\"notes\":null,\"department_id\":null,\"id\":6}', 'https://seb.ramenhr.com/designations/addOrUpdateAjax', '112.209.190.53', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36', NULL, '2026-01-15 10:50:01', '2026-01-15 10:50:01'),
(50, 'App\\Models\\User', 1, 'created', 'App\\Models\\Designation', 7, '[]', '{\"name\":\"Graphic Artist\",\"code\":\"GA\",\"notes\":null,\"department_id\":\"1\",\"id\":7}', 'https://seb.ramenhr.com/designations/addOrUpdateAjax', '112.209.190.53', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36', NULL, '2026-01-15 10:50:35', '2026-01-15 10:50:35'),
(51, 'App\\Models\\User', 1, 'updated', 'App\\Models\\Designation', 6, '{\"department_id\":null}', '{\"department_id\":\"2\"}', 'https://seb.ramenhr.com/designations/addOrUpdateAjax', '112.209.190.53', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36', NULL, '2026-01-15 10:50:42', '2026-01-15 10:50:42'),
(52, 'App\\Models\\User', 1, 'created', 'App\\Models\\User', 6, '[]', '{\"first_name\":\"Dinh\",\"last_name\":\"Chavez\",\"gender\":\"female\",\"phone\":\"9366136920\",\"alternate_number\":null,\"email\":\"hao.chavez@gmail.com\",\"dob\":\"1983-04-25 00:00:00\",\"blood_group\":null,\"address\":null,\"emergency_contact_name\":null,\"emergency_contact_relationship\":null,\"emergency_contact_phone\":null,\"emergency_contact_address\":null,\"password\":\"$2y$12$qDVIqUrDwrStbPOoFtR7g.U6Bm3VZK9HvcDfXSJfAvZ8vfoaiRnr6\",\"code\":\"SEB2018-2013T\",\"date_of_joining\":\"2018-12-03 00:00:00\",\"team_id\":\"2\",\"shift_id\":\"1\",\"reporting_to_id\":\"2\",\"designation_id\":\"5\",\"status\":\"active\",\"created_by_id\":1,\"name\":\"Dinh Chavez\",\"id\":6}', 'https://seb.ramenhr.com/employees/store', '112.209.190.53', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36', NULL, '2026-01-15 10:52:41', '2026-01-15 10:52:41'),
(53, 'App\\Models\\User', 1, 'updated', 'App\\Models\\User', 6, '{\"attendance_type\":null}', '{\"attendance_type\":\"open\"}', 'https://seb.ramenhr.com/employees/store', '112.209.190.53', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36', NULL, '2026-01-15 10:52:41', '2026-01-15 10:52:41'),
(54, 'App\\Models\\User', 1, 'created', 'App\\Models\\User', 7, '[]', '{\"first_name\":\"Francis Eleazar\",\"last_name\":\"Londonio\",\"gender\":\"male\",\"phone\":\"9503260264\",\"alternate_number\":null,\"email\":\"eleazarfrancis112@gmail.com\",\"dob\":\"1996-12-12 00:00:00\",\"blood_group\":null,\"address\":null,\"emergency_contact_name\":null,\"emergency_contact_relationship\":null,\"emergency_contact_phone\":null,\"emergency_contact_address\":null,\"password\":\"$2y$12$SnLDJaXx3WzKxKPqjjeWOutJgVG2zZmCD7Gga1QZAOihShrVuJGFC\",\"code\":\"SEB2018-2033T\",\"date_of_joining\":\"2022-11-04 00:00:00\",\"team_id\":\"2\",\"shift_id\":\"1\",\"reporting_to_id\":\"2\",\"designation_id\":\"5\",\"status\":\"active\",\"created_by_id\":1,\"name\":\"Francis Eleazar Londonio\",\"id\":7}', 'https://seb.ramenhr.com/employees/store', '112.209.190.53', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36', NULL, '2026-01-15 10:55:38', '2026-01-15 10:55:38'),
(55, 'App\\Models\\User', 1, 'updated', 'App\\Models\\User', 7, '{\"attendance_type\":null}', '{\"attendance_type\":\"open\"}', 'https://seb.ramenhr.com/employees/store', '112.209.190.53', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36', NULL, '2026-01-15 10:55:38', '2026-01-15 10:55:38'),
(56, 'App\\Models\\User', 1, 'created', 'App\\Models\\User', 8, '[]', '{\"first_name\":\"Paul Rei\",\"last_name\":\"Paas\",\"gender\":\"male\",\"phone\":\"9053023539\",\"alternate_number\":null,\"email\":\"paulreichase97@gmail.com\",\"dob\":\"1997-07-01 00:00:00\",\"blood_group\":null,\"address\":null,\"emergency_contact_name\":null,\"emergency_contact_relationship\":null,\"emergency_contact_phone\":null,\"emergency_contact_address\":null,\"password\":\"$2y$12$T8OjmzpgV0NLRelin\\/jVyeUx1.IgxF1WahMr9lLJSarCotql3JQBi\",\"code\":\"SEB2023-2068H\",\"date_of_joining\":\"2023-06-29 00:00:00\",\"team_id\":\"1\",\"shift_id\":\"1\",\"reporting_to_id\":\"1\",\"designation_id\":\"7\",\"status\":\"active\",\"created_by_id\":1,\"name\":\"Paul Rei Paas\",\"id\":8}', 'https://seb.ramenhr.com/employees/store', '112.209.190.53', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36', NULL, '2026-01-15 10:57:52', '2026-01-15 10:57:52'),
(57, 'App\\Models\\User', 1, 'updated', 'App\\Models\\User', 8, '{\"attendance_type\":null}', '{\"attendance_type\":\"open\"}', 'https://seb.ramenhr.com/employees/store', '112.209.190.53', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36', NULL, '2026-01-15 10:57:52', '2026-01-15 10:57:52'),
(58, 'App\\Models\\User', 1, 'created', 'App\\Models\\User', 9, '[]', '{\"first_name\":\"Princess Rose\",\"last_name\":\"Acosta\",\"gender\":\"female\",\"phone\":\"9651422794\",\"alternate_number\":null,\"email\":\"ladyrose021992@gmail.com\",\"dob\":\"1992-11-12 00:00:00\",\"blood_group\":null,\"address\":null,\"emergency_contact_name\":null,\"emergency_contact_relationship\":null,\"emergency_contact_phone\":null,\"emergency_contact_address\":null,\"password\":\"$2y$12$zGoNRZgbV\\/QvLNhPoMUlRugYKxEzN.tJbtwDyjbWpHzscODuVMOd.\",\"code\":\"SEB2024-2109T\",\"date_of_joining\":\"2024-11-04 00:00:00\",\"team_id\":\"2\",\"shift_id\":\"1\",\"reporting_to_id\":\"2\",\"designation_id\":\"5\",\"status\":\"active\",\"created_by_id\":1,\"name\":\"Princess Rose Acosta\",\"id\":9}', 'https://seb.ramenhr.com/employees/store', '112.209.190.53', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36', NULL, '2026-01-15 11:01:09', '2026-01-15 11:01:09'),
(59, 'App\\Models\\User', 1, 'updated', 'App\\Models\\User', 9, '{\"attendance_type\":null}', '{\"attendance_type\":\"open\"}', 'https://seb.ramenhr.com/employees/store', '112.209.190.53', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36', NULL, '2026-01-15 11:01:09', '2026-01-15 11:01:09'),
(60, 'App\\Models\\User', 1, 'created', 'App\\Models\\User', 10, '[]', '{\"first_name\":\"Donna Marie\",\"last_name\":\"Moreno\",\"gender\":\"other\",\"phone\":\"9563008450\",\"alternate_number\":null,\"email\":\"donnamarie.moreno.1975@gmail.com\",\"dob\":\"1975-06-26 00:00:00\",\"blood_group\":null,\"address\":null,\"emergency_contact_name\":null,\"emergency_contact_relationship\":null,\"emergency_contact_phone\":null,\"emergency_contact_address\":null,\"password\":\"$2y$12$R0EwfF2jIKZfa.eZDR4WgOfnJLSZcXPdWz4Csj4goBUNjT6ALKkQy\",\"code\":\"SEB2024-2111T\",\"date_of_joining\":\"2024-11-25 00:00:00\",\"team_id\":\"2\",\"shift_id\":\"1\",\"reporting_to_id\":\"2\",\"designation_id\":\"5\",\"status\":\"active\",\"created_by_id\":1,\"name\":\"Donna Marie Moreno\",\"id\":10}', 'https://seb.ramenhr.com/employees/store', '112.209.190.53', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36', NULL, '2026-01-15 11:03:44', '2026-01-15 11:03:44'),
(61, 'App\\Models\\User', 1, 'updated', 'App\\Models\\User', 10, '{\"attendance_type\":null}', '{\"attendance_type\":\"open\"}', 'https://seb.ramenhr.com/employees/store', '112.209.190.53', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36', NULL, '2026-01-15 11:03:44', '2026-01-15 11:03:44'),
(62, 'App\\Models\\User', 1, 'created', 'App\\Models\\Holiday', 1, '[]', '{\"name\":\"test\",\"code\":\"test\",\"date\":\"2026-01-15 00:00:00\",\"type\":\"public\",\"category\":null,\"description\":null,\"is_optional\":false,\"is_restricted\":false,\"is_recurring\":false,\"is_half_day\":false,\"half_day_type\":\"morning\",\"is_compensatory\":false,\"applicable_for\":\"all\",\"color\":\"#4caf50\",\"is_visible_to_employees\":true,\"send_notification\":false,\"notification_days_before\":\"7\",\"year\":2026,\"day\":\"Thursday\",\"is_active\":true,\"id\":1}', 'https://seb.ramenhr.com/holidays', '14.1.64.206', 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36', NULL, '2026-01-15 13:53:26', '2026-01-15 13:53:26'),
(63, 'App\\Models\\User', 1, 'created', 'App\\Models\\Designation', 8, '[]', '{\"name\":\"Cashier\",\"code\":\"cash\",\"notes\":null,\"department_id\":\"1\",\"id\":8}', 'https://seb.ramenhr.com/designations/addOrUpdateAjax', '14.1.64.206', 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36', NULL, '2026-01-15 13:54:31', '2026-01-15 13:54:31'),
(64, 'App\\Models\\User', 1, 'created', 'App\\Models\\LeaveType', 1, '[]', '{\"name\":\"Vacation Leave\",\"code\":\"VL\",\"notes\":\"Vacation Leave\",\"is_proof_required\":false,\"is_comp_off_type\":false,\"is_accrual_enabled\":false,\"accrual_frequency\":\"yearly\",\"accrual_rate\":0,\"max_accrual_limit\":0,\"allow_carry_forward\":false,\"max_carry_forward\":0,\"carry_forward_expiry_months\":0,\"allow_encashment\":false,\"max_encashment_days\":0,\"is_paid\":true,\"status\":\"active\",\"id\":1}', 'https://seb.ramenhr.com/hrcore/leave-types', '111.90.208.153', 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/26.1 Safari/605.1.15', NULL, '2026-01-16 11:56:07', '2026-01-16 11:56:07'),
(65, 'App\\Models\\User', 1, 'created', 'App\\Models\\LeaveType', 2, '[]', '{\"name\":\"Sick Leave\",\"code\":\"SL\",\"notes\":\"Sick Leave\",\"is_proof_required\":false,\"is_comp_off_type\":false,\"is_accrual_enabled\":false,\"accrual_frequency\":\"yearly\",\"accrual_rate\":0,\"max_accrual_limit\":0,\"allow_carry_forward\":false,\"max_carry_forward\":0,\"carry_forward_expiry_months\":0,\"allow_encashment\":false,\"max_encashment_days\":0,\"is_paid\":true,\"status\":\"active\",\"id\":2}', 'https://seb.ramenhr.com/hrcore/leave-types', '111.90.208.153', 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/26.1 Safari/605.1.15', NULL, '2026-01-16 11:56:30', '2026-01-16 11:56:30'),
(66, 'App\\Models\\User', 1, 'created', 'App\\Models\\LeaveType', 3, '[]', '{\"name\":\"Birthday Leave\",\"code\":\"BL\",\"notes\":\"Birthday Leave\",\"is_proof_required\":false,\"is_comp_off_type\":false,\"is_accrual_enabled\":false,\"accrual_frequency\":\"yearly\",\"accrual_rate\":0,\"max_accrual_limit\":0,\"allow_carry_forward\":false,\"max_carry_forward\":0,\"carry_forward_expiry_months\":0,\"allow_encashment\":false,\"max_encashment_days\":0,\"is_paid\":true,\"status\":\"active\",\"id\":3}', 'https://seb.ramenhr.com/hrcore/leave-types', '111.90.208.153', 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/26.1 Safari/605.1.15', NULL, '2026-01-16 11:57:08', '2026-01-16 11:57:08'),
(67, 'App\\Models\\User', 1, 'created', 'App\\Models\\LeaveType', 4, '[]', '{\"name\":\"Leave Without Pay\",\"code\":\"LWOP\",\"notes\":\"Leave Without Pay\",\"is_proof_required\":false,\"is_comp_off_type\":false,\"is_accrual_enabled\":false,\"accrual_frequency\":\"yearly\",\"accrual_rate\":0,\"max_accrual_limit\":0,\"allow_carry_forward\":false,\"max_carry_forward\":0,\"carry_forward_expiry_months\":0,\"allow_encashment\":false,\"max_encashment_days\":0,\"is_paid\":true,\"status\":\"active\",\"id\":4}', 'https://seb.ramenhr.com/hrcore/leave-types', '111.90.208.153', 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/26.1 Safari/605.1.15', NULL, '2026-01-16 11:57:46', '2026-01-16 11:57:46'),
(68, 'App\\Models\\User', 1, 'created', 'App\\Models\\UserAvailableLeave', 1, '[]', '{\"user_id\":\"2\",\"leave_type_id\":\"1\",\"year\":\"2026\",\"entitled_leaves\":\"11\",\"available_leaves\":\"11\",\"created_by_id\":1,\"updated_by_id\":1,\"id\":1}', 'https://seb.ramenhr.com/hrcore/leave-balance/set-initial', '111.90.208.153', 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/26.1 Safari/605.1.15', NULL, '2026-01-16 12:00:41', '2026-01-16 12:00:41'),
(69, 'App\\Models\\User', 1, 'created', 'App\\Models\\LeaveBalanceAdjustment', 1, '[]', '{\"user_id\":\"2\",\"leave_type_id\":\"1\",\"adjustment_type\":\"add\",\"days\":\"11\",\"reason\":\"Initial balance setup\",\"year\":\"2026\",\"effective_date\":\"2026-01-16 12:00:41\",\"balance_before\":0,\"balance_after\":\"11\",\"created_by_id\":1,\"updated_by_id\":1,\"id\":1}', 'https://seb.ramenhr.com/hrcore/leave-balance/set-initial', '111.90.208.153', 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/26.1 Safari/605.1.15', NULL, '2026-01-16 12:00:41', '2026-01-16 12:00:41'),
(70, 'App\\Models\\User', 1, 'created', 'App\\Models\\UserAvailableLeave', 2, '[]', '{\"user_id\":\"2\",\"leave_type_id\":\"2\",\"year\":\"2026\",\"entitled_leaves\":\"11\",\"available_leaves\":\"11\",\"created_by_id\":1,\"updated_by_id\":1,\"id\":2}', 'https://seb.ramenhr.com/hrcore/leave-balance/set-initial', '111.90.208.153', 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/26.1 Safari/605.1.15', NULL, '2026-01-16 12:01:05', '2026-01-16 12:01:05'),
(71, 'App\\Models\\User', 1, 'created', 'App\\Models\\LeaveBalanceAdjustment', 2, '[]', '{\"user_id\":\"2\",\"leave_type_id\":\"2\",\"adjustment_type\":\"add\",\"days\":\"11\",\"reason\":\"Initial balance setup\",\"year\":\"2026\",\"effective_date\":\"2026-01-16 12:01:05\",\"balance_before\":0,\"balance_after\":\"11\",\"created_by_id\":1,\"updated_by_id\":1,\"id\":2}', 'https://seb.ramenhr.com/hrcore/leave-balance/set-initial', '111.90.208.153', 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/26.1 Safari/605.1.15', NULL, '2026-01-16 12:01:05', '2026-01-16 12:01:05'),
(72, 'App\\Models\\User', 1, 'created', 'App\\Models\\UserAvailableLeave', 3, '[]', '{\"user_id\":\"2\",\"leave_type_id\":\"3\",\"year\":\"2026\",\"entitled_leaves\":\"1\",\"available_leaves\":\"1\",\"created_by_id\":1,\"updated_by_id\":1,\"id\":3}', 'https://seb.ramenhr.com/hrcore/leave-balance/set-initial', '111.90.208.153', 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/26.1 Safari/605.1.15', NULL, '2026-01-16 12:01:14', '2026-01-16 12:01:14'),
(73, 'App\\Models\\User', 1, 'created', 'App\\Models\\LeaveBalanceAdjustment', 3, '[]', '{\"user_id\":\"2\",\"leave_type_id\":\"3\",\"adjustment_type\":\"add\",\"days\":\"1\",\"reason\":\"Initial balance setup\",\"year\":\"2026\",\"effective_date\":\"2026-01-16 12:01:14\",\"balance_before\":0,\"balance_after\":\"1\",\"created_by_id\":1,\"updated_by_id\":1,\"id\":3}', 'https://seb.ramenhr.com/hrcore/leave-balance/set-initial', '111.90.208.153', 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/26.1 Safari/605.1.15', NULL, '2026-01-16 12:01:14', '2026-01-16 12:01:14'),
(74, 'App\\Models\\User', 1, 'created', 'App\\Models\\UserAvailableLeave', 4, '[]', '{\"user_id\":\"2\",\"leave_type_id\":\"4\",\"year\":\"2026\",\"entitled_leaves\":\"100\",\"available_leaves\":\"100\",\"created_by_id\":1,\"updated_by_id\":1,\"id\":4}', 'https://seb.ramenhr.com/hrcore/leave-balance/set-initial', '111.90.208.153', 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/26.1 Safari/605.1.15', NULL, '2026-01-16 12:01:21', '2026-01-16 12:01:21'),
(75, 'App\\Models\\User', 1, 'created', 'App\\Models\\LeaveBalanceAdjustment', 4, '[]', '{\"user_id\":\"2\",\"leave_type_id\":\"4\",\"adjustment_type\":\"add\",\"days\":\"100\",\"reason\":\"Initial balance setup\",\"year\":\"2026\",\"effective_date\":\"2026-01-16 12:01:21\",\"balance_before\":0,\"balance_after\":\"100\",\"created_by_id\":1,\"updated_by_id\":1,\"id\":4}', 'https://seb.ramenhr.com/hrcore/leave-balance/set-initial', '111.90.208.153', 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/26.1 Safari/605.1.15', NULL, '2026-01-16 12:01:21', '2026-01-16 12:01:21'),
(76, 'App\\Models\\User', 1, 'created', 'App\\Models\\UserAvailableLeave', 5, '[]', '{\"user_id\":\"3\",\"leave_type_id\":\"1\",\"year\":\"2026\",\"entitled_leaves\":\"11\",\"available_leaves\":\"11\",\"created_by_id\":1,\"updated_by_id\":1,\"id\":5}', 'https://seb.ramenhr.com/hrcore/leave-balance/set-initial', '111.90.208.153', 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/26.1 Safari/605.1.15', NULL, '2026-01-16 12:01:47', '2026-01-16 12:01:47'),
(77, 'App\\Models\\User', 1, 'created', 'App\\Models\\LeaveBalanceAdjustment', 5, '[]', '{\"user_id\":\"3\",\"leave_type_id\":\"1\",\"adjustment_type\":\"add\",\"days\":\"11\",\"reason\":\"Initial balance setup\",\"year\":\"2026\",\"effective_date\":\"2026-01-16 12:01:47\",\"balance_before\":0,\"balance_after\":\"11\",\"created_by_id\":1,\"updated_by_id\":1,\"id\":5}', 'https://seb.ramenhr.com/hrcore/leave-balance/set-initial', '111.90.208.153', 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/26.1 Safari/605.1.15', NULL, '2026-01-16 12:01:47', '2026-01-16 12:01:47'),
(78, 'App\\Models\\User', 1, 'created', 'App\\Models\\UserAvailableLeave', 6, '[]', '{\"user_id\":\"3\",\"leave_type_id\":\"2\",\"year\":\"2026\",\"entitled_leaves\":\"11\",\"available_leaves\":\"11\",\"created_by_id\":1,\"updated_by_id\":1,\"id\":6}', 'https://seb.ramenhr.com/hrcore/leave-balance/set-initial', '111.90.208.153', 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/26.1 Safari/605.1.15', NULL, '2026-01-16 12:01:55', '2026-01-16 12:01:55'),
(79, 'App\\Models\\User', 1, 'created', 'App\\Models\\LeaveBalanceAdjustment', 6, '[]', '{\"user_id\":\"3\",\"leave_type_id\":\"2\",\"adjustment_type\":\"add\",\"days\":\"11\",\"reason\":\"Initial balance setup\",\"year\":\"2026\",\"effective_date\":\"2026-01-16 12:01:55\",\"balance_before\":0,\"balance_after\":\"11\",\"created_by_id\":1,\"updated_by_id\":1,\"id\":6}', 'https://seb.ramenhr.com/hrcore/leave-balance/set-initial', '111.90.208.153', 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/26.1 Safari/605.1.15', NULL, '2026-01-16 12:01:55', '2026-01-16 12:01:55'),
(80, 'App\\Models\\User', 1, 'created', 'App\\Models\\UserAvailableLeave', 7, '[]', '{\"user_id\":\"3\",\"leave_type_id\":\"3\",\"year\":\"2026\",\"entitled_leaves\":\"1\",\"available_leaves\":\"1\",\"created_by_id\":1,\"updated_by_id\":1,\"id\":7}', 'https://seb.ramenhr.com/hrcore/leave-balance/set-initial', '111.90.208.153', 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/26.1 Safari/605.1.15', NULL, '2026-01-16 12:02:02', '2026-01-16 12:02:02'),
(81, 'App\\Models\\User', 1, 'created', 'App\\Models\\LeaveBalanceAdjustment', 7, '[]', '{\"user_id\":\"3\",\"leave_type_id\":\"3\",\"adjustment_type\":\"add\",\"days\":\"1\",\"reason\":\"Initial balance setup\",\"year\":\"2026\",\"effective_date\":\"2026-01-16 12:02:02\",\"balance_before\":0,\"balance_after\":\"1\",\"created_by_id\":1,\"updated_by_id\":1,\"id\":7}', 'https://seb.ramenhr.com/hrcore/leave-balance/set-initial', '111.90.208.153', 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/26.1 Safari/605.1.15', NULL, '2026-01-16 12:02:02', '2026-01-16 12:02:02'),
(82, 'App\\Models\\User', 1, 'created', 'App\\Models\\UserAvailableLeave', 8, '[]', '{\"user_id\":\"3\",\"leave_type_id\":\"4\",\"year\":\"2026\",\"entitled_leaves\":\"100\",\"available_leaves\":\"100\",\"created_by_id\":1,\"updated_by_id\":1,\"id\":8}', 'https://seb.ramenhr.com/hrcore/leave-balance/set-initial', '111.90.208.153', 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/26.1 Safari/605.1.15', NULL, '2026-01-16 12:02:18', '2026-01-16 12:02:18'),
(83, 'App\\Models\\User', 1, 'created', 'App\\Models\\LeaveBalanceAdjustment', 8, '[]', '{\"user_id\":\"3\",\"leave_type_id\":\"4\",\"adjustment_type\":\"add\",\"days\":\"100\",\"reason\":\"Initial balance setup\",\"year\":\"2026\",\"effective_date\":\"2026-01-16 12:02:18\",\"balance_before\":0,\"balance_after\":\"100\",\"created_by_id\":1,\"updated_by_id\":1,\"id\":8}', 'https://seb.ramenhr.com/hrcore/leave-balance/set-initial', '111.90.208.153', 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/26.1 Safari/605.1.15', NULL, '2026-01-16 12:02:18', '2026-01-16 12:02:18'),
(84, 'App\\Models\\User', 1, 'created', 'App\\Models\\UserAvailableLeave', 9, '[]', '{\"user_id\":\"4\",\"leave_type_id\":\"1\",\"year\":\"2026\",\"entitled_leaves\":\"8\",\"available_leaves\":\"8\",\"created_by_id\":1,\"updated_by_id\":1,\"id\":9}', 'https://seb.ramenhr.com/hrcore/leave-balance/set-initial', '111.90.208.153', 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/26.1 Safari/605.1.15', NULL, '2026-01-16 12:02:46', '2026-01-16 12:02:46'),
(85, 'App\\Models\\User', 1, 'created', 'App\\Models\\LeaveBalanceAdjustment', 9, '[]', '{\"user_id\":\"4\",\"leave_type_id\":\"1\",\"adjustment_type\":\"add\",\"days\":\"8\",\"reason\":\"Initial balance setup\",\"year\":\"2026\",\"effective_date\":\"2026-01-16 12:02:46\",\"balance_before\":0,\"balance_after\":\"8\",\"created_by_id\":1,\"updated_by_id\":1,\"id\":9}', 'https://seb.ramenhr.com/hrcore/leave-balance/set-initial', '111.90.208.153', 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/26.1 Safari/605.1.15', NULL, '2026-01-16 12:02:46', '2026-01-16 12:02:46'),
(86, 'App\\Models\\User', 1, 'created', 'App\\Models\\UserAvailableLeave', 10, '[]', '{\"user_id\":\"4\",\"leave_type_id\":\"2\",\"year\":\"2026\",\"entitled_leaves\":\"8\",\"available_leaves\":\"8\",\"created_by_id\":1,\"updated_by_id\":1,\"id\":10}', 'https://seb.ramenhr.com/hrcore/leave-balance/set-initial', '111.90.208.153', 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/26.1 Safari/605.1.15', NULL, '2026-01-16 12:02:52', '2026-01-16 12:02:52'),
(87, 'App\\Models\\User', 1, 'created', 'App\\Models\\LeaveBalanceAdjustment', 10, '[]', '{\"user_id\":\"4\",\"leave_type_id\":\"2\",\"adjustment_type\":\"add\",\"days\":\"8\",\"reason\":\"Initial balance setup\",\"year\":\"2026\",\"effective_date\":\"2026-01-16 12:02:52\",\"balance_before\":0,\"balance_after\":\"8\",\"created_by_id\":1,\"updated_by_id\":1,\"id\":10}', 'https://seb.ramenhr.com/hrcore/leave-balance/set-initial', '111.90.208.153', 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/26.1 Safari/605.1.15', NULL, '2026-01-16 12:02:52', '2026-01-16 12:02:52'),
(88, 'App\\Models\\User', 1, 'created', 'App\\Models\\UserAvailableLeave', 11, '[]', '{\"user_id\":\"4\",\"leave_type_id\":\"3\",\"year\":\"2026\",\"entitled_leaves\":\"1\",\"available_leaves\":\"1\",\"created_by_id\":1,\"updated_by_id\":1,\"id\":11}', 'https://seb.ramenhr.com/hrcore/leave-balance/set-initial', '111.90.208.153', 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/26.1 Safari/605.1.15', NULL, '2026-01-16 12:02:58', '2026-01-16 12:02:58'),
(89, 'App\\Models\\User', 1, 'created', 'App\\Models\\LeaveBalanceAdjustment', 11, '[]', '{\"user_id\":\"4\",\"leave_type_id\":\"3\",\"adjustment_type\":\"add\",\"days\":\"1\",\"reason\":\"Initial balance setup\",\"year\":\"2026\",\"effective_date\":\"2026-01-16 12:02:58\",\"balance_before\":0,\"balance_after\":\"1\",\"created_by_id\":1,\"updated_by_id\":1,\"id\":11}', 'https://seb.ramenhr.com/hrcore/leave-balance/set-initial', '111.90.208.153', 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/26.1 Safari/605.1.15', NULL, '2026-01-16 12:02:58', '2026-01-16 12:02:58'),
(90, 'App\\Models\\User', 1, 'created', 'App\\Models\\UserAvailableLeave', 12, '[]', '{\"user_id\":\"4\",\"leave_type_id\":\"4\",\"year\":\"2026\",\"entitled_leaves\":\"100\",\"available_leaves\":\"100\",\"created_by_id\":1,\"updated_by_id\":1,\"id\":12}', 'https://seb.ramenhr.com/hrcore/leave-balance/set-initial', '111.90.208.153', 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/26.1 Safari/605.1.15', NULL, '2026-01-16 12:03:03', '2026-01-16 12:03:03');
INSERT INTO `audits` (`id`, `user_type`, `user_id`, `event`, `auditable_type`, `auditable_id`, `old_values`, `new_values`, `url`, `ip_address`, `user_agent`, `tags`, `created_at`, `updated_at`) VALUES
(91, 'App\\Models\\User', 1, 'created', 'App\\Models\\LeaveBalanceAdjustment', 12, '[]', '{\"user_id\":\"4\",\"leave_type_id\":\"4\",\"adjustment_type\":\"add\",\"days\":\"100\",\"reason\":\"Initial balance setup\",\"year\":\"2026\",\"effective_date\":\"2026-01-16 12:03:03\",\"balance_before\":0,\"balance_after\":\"100\",\"created_by_id\":1,\"updated_by_id\":1,\"id\":12}', 'https://seb.ramenhr.com/hrcore/leave-balance/set-initial', '111.90.208.153', 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/26.1 Safari/605.1.15', NULL, '2026-01-16 12:03:03', '2026-01-16 12:03:03'),
(92, 'App\\Models\\User', 1, 'created', 'App\\Models\\UserAvailableLeave', 13, '[]', '{\"user_id\":\"5\",\"leave_type_id\":\"1\",\"year\":\"2026\",\"entitled_leaves\":\"7\",\"available_leaves\":\"7\",\"created_by_id\":1,\"updated_by_id\":1,\"id\":13}', 'https://seb.ramenhr.com/hrcore/leave-balance/set-initial', '111.90.208.153', 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/26.1 Safari/605.1.15', NULL, '2026-01-16 12:03:43', '2026-01-16 12:03:43'),
(93, 'App\\Models\\User', 1, 'created', 'App\\Models\\LeaveBalanceAdjustment', 13, '[]', '{\"user_id\":\"5\",\"leave_type_id\":\"1\",\"adjustment_type\":\"add\",\"days\":\"7\",\"reason\":\"Initial balance setup\",\"year\":\"2026\",\"effective_date\":\"2026-01-16 12:03:43\",\"balance_before\":0,\"balance_after\":\"7\",\"created_by_id\":1,\"updated_by_id\":1,\"id\":13}', 'https://seb.ramenhr.com/hrcore/leave-balance/set-initial', '111.90.208.153', 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/26.1 Safari/605.1.15', NULL, '2026-01-16 12:03:43', '2026-01-16 12:03:43'),
(94, 'App\\Models\\User', 1, 'created', 'App\\Models\\UserAvailableLeave', 14, '[]', '{\"user_id\":\"5\",\"leave_type_id\":\"2\",\"year\":\"2026\",\"entitled_leaves\":\"7\",\"available_leaves\":\"7\",\"created_by_id\":1,\"updated_by_id\":1,\"id\":14}', 'https://seb.ramenhr.com/hrcore/leave-balance/set-initial', '111.90.208.153', 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/26.1 Safari/605.1.15', NULL, '2026-01-16 12:03:49', '2026-01-16 12:03:49'),
(95, 'App\\Models\\User', 1, 'created', 'App\\Models\\LeaveBalanceAdjustment', 14, '[]', '{\"user_id\":\"5\",\"leave_type_id\":\"2\",\"adjustment_type\":\"add\",\"days\":\"7\",\"reason\":\"Initial balance setup\",\"year\":\"2026\",\"effective_date\":\"2026-01-16 12:03:49\",\"balance_before\":0,\"balance_after\":\"7\",\"created_by_id\":1,\"updated_by_id\":1,\"id\":14}', 'https://seb.ramenhr.com/hrcore/leave-balance/set-initial', '111.90.208.153', 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/26.1 Safari/605.1.15', NULL, '2026-01-16 12:03:49', '2026-01-16 12:03:49'),
(96, 'App\\Models\\User', 1, 'created', 'App\\Models\\UserAvailableLeave', 15, '[]', '{\"user_id\":\"5\",\"leave_type_id\":\"3\",\"year\":\"2026\",\"entitled_leaves\":\"1\",\"available_leaves\":\"1\",\"created_by_id\":1,\"updated_by_id\":1,\"id\":15}', 'https://seb.ramenhr.com/hrcore/leave-balance/set-initial', '111.90.208.153', 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/26.1 Safari/605.1.15', NULL, '2026-01-16 12:03:55', '2026-01-16 12:03:55'),
(97, 'App\\Models\\User', 1, 'created', 'App\\Models\\LeaveBalanceAdjustment', 15, '[]', '{\"user_id\":\"5\",\"leave_type_id\":\"3\",\"adjustment_type\":\"add\",\"days\":\"1\",\"reason\":\"Initial balance setup\",\"year\":\"2026\",\"effective_date\":\"2026-01-16 12:03:55\",\"balance_before\":0,\"balance_after\":\"1\",\"created_by_id\":1,\"updated_by_id\":1,\"id\":15}', 'https://seb.ramenhr.com/hrcore/leave-balance/set-initial', '111.90.208.153', 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/26.1 Safari/605.1.15', NULL, '2026-01-16 12:03:55', '2026-01-16 12:03:55'),
(98, 'App\\Models\\User', 1, 'created', 'App\\Models\\UserAvailableLeave', 16, '[]', '{\"user_id\":\"5\",\"leave_type_id\":\"4\",\"year\":\"2026\",\"entitled_leaves\":\"100\",\"available_leaves\":\"100\",\"created_by_id\":1,\"updated_by_id\":1,\"id\":16}', 'https://seb.ramenhr.com/hrcore/leave-balance/set-initial', '111.90.208.153', 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/26.1 Safari/605.1.15', NULL, '2026-01-16 12:04:01', '2026-01-16 12:04:01'),
(99, 'App\\Models\\User', 1, 'created', 'App\\Models\\LeaveBalanceAdjustment', 16, '[]', '{\"user_id\":\"5\",\"leave_type_id\":\"4\",\"adjustment_type\":\"add\",\"days\":\"100\",\"reason\":\"Initial balance setup\",\"year\":\"2026\",\"effective_date\":\"2026-01-16 12:04:01\",\"balance_before\":0,\"balance_after\":\"100\",\"created_by_id\":1,\"updated_by_id\":1,\"id\":16}', 'https://seb.ramenhr.com/hrcore/leave-balance/set-initial', '111.90.208.153', 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/26.1 Safari/605.1.15', NULL, '2026-01-16 12:04:01', '2026-01-16 12:04:01'),
(100, 'App\\Models\\User', 1, 'created', 'App\\Models\\UserAvailableLeave', 17, '[]', '{\"user_id\":\"6\",\"leave_type_id\":\"1\",\"year\":\"2026\",\"entitled_leaves\":\"5\",\"available_leaves\":\"5\",\"created_by_id\":1,\"updated_by_id\":1,\"id\":17}', 'https://seb.ramenhr.com/hrcore/leave-balance/set-initial', '111.90.208.153', 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/26.1 Safari/605.1.15', NULL, '2026-01-16 12:04:21', '2026-01-16 12:04:21'),
(101, 'App\\Models\\User', 1, 'created', 'App\\Models\\LeaveBalanceAdjustment', 17, '[]', '{\"user_id\":\"6\",\"leave_type_id\":\"1\",\"adjustment_type\":\"add\",\"days\":\"5\",\"reason\":\"Initial balance setup\",\"year\":\"2026\",\"effective_date\":\"2026-01-16 12:04:21\",\"balance_before\":0,\"balance_after\":\"5\",\"created_by_id\":1,\"updated_by_id\":1,\"id\":17}', 'https://seb.ramenhr.com/hrcore/leave-balance/set-initial', '111.90.208.153', 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/26.1 Safari/605.1.15', NULL, '2026-01-16 12:04:21', '2026-01-16 12:04:21'),
(102, 'App\\Models\\User', 1, 'created', 'App\\Models\\UserAvailableLeave', 18, '[]', '{\"user_id\":\"6\",\"leave_type_id\":\"2\",\"year\":\"2026\",\"entitled_leaves\":\"5\",\"available_leaves\":\"5\",\"created_by_id\":1,\"updated_by_id\":1,\"id\":18}', 'https://seb.ramenhr.com/hrcore/leave-balance/set-initial', '111.90.208.153', 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/26.1 Safari/605.1.15', NULL, '2026-01-16 12:04:26', '2026-01-16 12:04:26'),
(103, 'App\\Models\\User', 1, 'created', 'App\\Models\\LeaveBalanceAdjustment', 18, '[]', '{\"user_id\":\"6\",\"leave_type_id\":\"2\",\"adjustment_type\":\"add\",\"days\":\"5\",\"reason\":\"Initial balance setup\",\"year\":\"2026\",\"effective_date\":\"2026-01-16 12:04:26\",\"balance_before\":0,\"balance_after\":\"5\",\"created_by_id\":1,\"updated_by_id\":1,\"id\":18}', 'https://seb.ramenhr.com/hrcore/leave-balance/set-initial', '111.90.208.153', 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/26.1 Safari/605.1.15', NULL, '2026-01-16 12:04:26', '2026-01-16 12:04:26'),
(104, 'App\\Models\\User', 1, 'created', 'App\\Models\\UserAvailableLeave', 19, '[]', '{\"user_id\":\"6\",\"leave_type_id\":\"3\",\"year\":\"2026\",\"entitled_leaves\":\"1\",\"available_leaves\":\"1\",\"created_by_id\":1,\"updated_by_id\":1,\"id\":19}', 'https://seb.ramenhr.com/hrcore/leave-balance/set-initial', '111.90.208.153', 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/26.1 Safari/605.1.15', NULL, '2026-01-16 12:04:31', '2026-01-16 12:04:31'),
(105, 'App\\Models\\User', 1, 'created', 'App\\Models\\LeaveBalanceAdjustment', 19, '[]', '{\"user_id\":\"6\",\"leave_type_id\":\"3\",\"adjustment_type\":\"add\",\"days\":\"1\",\"reason\":\"Initial balance setup\",\"year\":\"2026\",\"effective_date\":\"2026-01-16 12:04:31\",\"balance_before\":0,\"balance_after\":\"1\",\"created_by_id\":1,\"updated_by_id\":1,\"id\":19}', 'https://seb.ramenhr.com/hrcore/leave-balance/set-initial', '111.90.208.153', 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/26.1 Safari/605.1.15', NULL, '2026-01-16 12:04:31', '2026-01-16 12:04:31'),
(106, 'App\\Models\\User', 1, 'created', 'App\\Models\\UserAvailableLeave', 20, '[]', '{\"user_id\":\"7\",\"leave_type_id\":\"1\",\"year\":\"2026\",\"entitled_leaves\":\"5\",\"available_leaves\":\"5\",\"created_by_id\":1,\"updated_by_id\":1,\"id\":20}', 'https://seb.ramenhr.com/hrcore/leave-balance/set-initial', '111.90.208.153', 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/26.1 Safari/605.1.15', NULL, '2026-01-16 12:04:50', '2026-01-16 12:04:50'),
(107, 'App\\Models\\User', 1, 'created', 'App\\Models\\LeaveBalanceAdjustment', 20, '[]', '{\"user_id\":\"7\",\"leave_type_id\":\"1\",\"adjustment_type\":\"add\",\"days\":\"5\",\"reason\":\"Initial balance setup\",\"year\":\"2026\",\"effective_date\":\"2026-01-16 12:04:50\",\"balance_before\":0,\"balance_after\":\"5\",\"created_by_id\":1,\"updated_by_id\":1,\"id\":20}', 'https://seb.ramenhr.com/hrcore/leave-balance/set-initial', '111.90.208.153', 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/26.1 Safari/605.1.15', NULL, '2026-01-16 12:04:50', '2026-01-16 12:04:50'),
(108, 'App\\Models\\User', 1, 'created', 'App\\Models\\UserAvailableLeave', 21, '[]', '{\"user_id\":\"7\",\"leave_type_id\":\"2\",\"year\":\"2026\",\"entitled_leaves\":\"5\",\"available_leaves\":\"5\",\"created_by_id\":1,\"updated_by_id\":1,\"id\":21}', 'https://seb.ramenhr.com/hrcore/leave-balance/set-initial', '111.90.208.153', 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/26.1 Safari/605.1.15', NULL, '2026-01-16 12:04:55', '2026-01-16 12:04:55'),
(109, 'App\\Models\\User', 1, 'created', 'App\\Models\\LeaveBalanceAdjustment', 21, '[]', '{\"user_id\":\"7\",\"leave_type_id\":\"2\",\"adjustment_type\":\"add\",\"days\":\"5\",\"reason\":\"Initial balance setup\",\"year\":\"2026\",\"effective_date\":\"2026-01-16 12:04:55\",\"balance_before\":0,\"balance_after\":\"5\",\"created_by_id\":1,\"updated_by_id\":1,\"id\":21}', 'https://seb.ramenhr.com/hrcore/leave-balance/set-initial', '111.90.208.153', 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/26.1 Safari/605.1.15', NULL, '2026-01-16 12:04:55', '2026-01-16 12:04:55'),
(110, 'App\\Models\\User', 1, 'created', 'App\\Models\\UserAvailableLeave', 22, '[]', '{\"user_id\":\"7\",\"leave_type_id\":\"3\",\"year\":\"2026\",\"entitled_leaves\":\"1\",\"available_leaves\":\"1\",\"created_by_id\":1,\"updated_by_id\":1,\"id\":22}', 'https://seb.ramenhr.com/hrcore/leave-balance/set-initial', '111.90.208.153', 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/26.1 Safari/605.1.15', NULL, '2026-01-16 12:05:01', '2026-01-16 12:05:01'),
(111, 'App\\Models\\User', 1, 'created', 'App\\Models\\LeaveBalanceAdjustment', 22, '[]', '{\"user_id\":\"7\",\"leave_type_id\":\"3\",\"adjustment_type\":\"add\",\"days\":\"1\",\"reason\":\"Initial balance setup\",\"year\":\"2026\",\"effective_date\":\"2026-01-16 12:05:01\",\"balance_before\":0,\"balance_after\":\"1\",\"created_by_id\":1,\"updated_by_id\":1,\"id\":22}', 'https://seb.ramenhr.com/hrcore/leave-balance/set-initial', '111.90.208.153', 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/26.1 Safari/605.1.15', NULL, '2026-01-16 12:05:01', '2026-01-16 12:05:01'),
(112, 'App\\Models\\User', 1, 'created', 'App\\Models\\UserAvailableLeave', 23, '[]', '{\"user_id\":\"9\",\"leave_type_id\":\"3\",\"year\":\"2026\",\"entitled_leaves\":\"1\",\"available_leaves\":\"1\",\"created_by_id\":1,\"updated_by_id\":1,\"id\":23}', 'https://seb.ramenhr.com/hrcore/leave-balance/set-initial', '111.90.208.153', 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/26.1 Safari/605.1.15', NULL, '2026-01-16 12:05:22', '2026-01-16 12:05:22'),
(113, 'App\\Models\\User', 1, 'created', 'App\\Models\\LeaveBalanceAdjustment', 23, '[]', '{\"user_id\":\"9\",\"leave_type_id\":\"3\",\"adjustment_type\":\"add\",\"days\":\"1\",\"reason\":\"Initial balance setup\",\"year\":\"2026\",\"effective_date\":\"2026-01-16 12:05:22\",\"balance_before\":0,\"balance_after\":\"1\",\"created_by_id\":1,\"updated_by_id\":1,\"id\":23}', 'https://seb.ramenhr.com/hrcore/leave-balance/set-initial', '111.90.208.153', 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/26.1 Safari/605.1.15', NULL, '2026-01-16 12:05:22', '2026-01-16 12:05:22'),
(114, 'App\\Models\\User', 1, 'created', 'App\\Models\\UserAvailableLeave', 24, '[]', '{\"user_id\":\"10\",\"leave_type_id\":\"3\",\"year\":\"2026\",\"entitled_leaves\":\"1\",\"available_leaves\":\"1\",\"created_by_id\":1,\"updated_by_id\":1,\"id\":24}', 'https://seb.ramenhr.com/hrcore/leave-balance/set-initial', '111.90.208.153', 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/26.1 Safari/605.1.15', NULL, '2026-01-16 12:05:41', '2026-01-16 12:05:41'),
(115, 'App\\Models\\User', 1, 'created', 'App\\Models\\LeaveBalanceAdjustment', 24, '[]', '{\"user_id\":\"10\",\"leave_type_id\":\"3\",\"adjustment_type\":\"add\",\"days\":\"1\",\"reason\":\"Initial balance setup\",\"year\":\"2026\",\"effective_date\":\"2026-01-16 12:05:41\",\"balance_before\":0,\"balance_after\":\"1\",\"created_by_id\":1,\"updated_by_id\":1,\"id\":24}', 'https://seb.ramenhr.com/hrcore/leave-balance/set-initial', '111.90.208.153', 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/26.1 Safari/605.1.15', NULL, '2026-01-16 12:05:41', '2026-01-16 12:05:41'),
(116, 'App\\Models\\User', 1, 'created', 'App\\Models\\UserAvailableLeave', 25, '[]', '{\"user_id\":\"8\",\"leave_type_id\":\"1\",\"year\":\"2026\",\"entitled_leaves\":\"7\",\"available_leaves\":\"7\",\"created_by_id\":1,\"updated_by_id\":1,\"id\":25}', 'https://seb.ramenhr.com/hrcore/leave-balance/set-initial', '111.90.208.153', 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/26.1 Safari/605.1.15', NULL, '2026-01-16 12:06:36', '2026-01-16 12:06:36'),
(117, 'App\\Models\\User', 1, 'created', 'App\\Models\\LeaveBalanceAdjustment', 25, '[]', '{\"user_id\":\"8\",\"leave_type_id\":\"1\",\"adjustment_type\":\"add\",\"days\":\"7\",\"reason\":\"Initial balance setup\",\"year\":\"2026\",\"effective_date\":\"2026-01-16 12:06:36\",\"balance_before\":0,\"balance_after\":\"7\",\"created_by_id\":1,\"updated_by_id\":1,\"id\":25}', 'https://seb.ramenhr.com/hrcore/leave-balance/set-initial', '111.90.208.153', 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/26.1 Safari/605.1.15', NULL, '2026-01-16 12:06:36', '2026-01-16 12:06:36'),
(118, 'App\\Models\\User', 1, 'created', 'App\\Models\\UserAvailableLeave', 26, '[]', '{\"user_id\":\"8\",\"leave_type_id\":\"2\",\"year\":\"2026\",\"entitled_leaves\":\"7\",\"available_leaves\":\"7\",\"created_by_id\":1,\"updated_by_id\":1,\"id\":26}', 'https://seb.ramenhr.com/hrcore/leave-balance/set-initial', '111.90.208.153', 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/26.1 Safari/605.1.15', NULL, '2026-01-16 12:06:41', '2026-01-16 12:06:41'),
(119, 'App\\Models\\User', 1, 'created', 'App\\Models\\LeaveBalanceAdjustment', 26, '[]', '{\"user_id\":\"8\",\"leave_type_id\":\"2\",\"adjustment_type\":\"add\",\"days\":\"7\",\"reason\":\"Initial balance setup\",\"year\":\"2026\",\"effective_date\":\"2026-01-16 12:06:41\",\"balance_before\":0,\"balance_after\":\"7\",\"created_by_id\":1,\"updated_by_id\":1,\"id\":26}', 'https://seb.ramenhr.com/hrcore/leave-balance/set-initial', '111.90.208.153', 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/26.1 Safari/605.1.15', NULL, '2026-01-16 12:06:41', '2026-01-16 12:06:41'),
(120, 'App\\Models\\User', 1, 'created', 'App\\Models\\UserAvailableLeave', 27, '[]', '{\"user_id\":\"8\",\"leave_type_id\":\"3\",\"year\":\"2026\",\"entitled_leaves\":\"1\",\"available_leaves\":\"1\",\"created_by_id\":1,\"updated_by_id\":1,\"id\":27}', 'https://seb.ramenhr.com/hrcore/leave-balance/set-initial', '111.90.208.153', 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/26.1 Safari/605.1.15', NULL, '2026-01-16 12:06:46', '2026-01-16 12:06:46'),
(121, 'App\\Models\\User', 1, 'created', 'App\\Models\\LeaveBalanceAdjustment', 27, '[]', '{\"user_id\":\"8\",\"leave_type_id\":\"3\",\"adjustment_type\":\"add\",\"days\":\"1\",\"reason\":\"Initial balance setup\",\"year\":\"2026\",\"effective_date\":\"2026-01-16 12:06:46\",\"balance_before\":0,\"balance_after\":\"1\",\"created_by_id\":1,\"updated_by_id\":1,\"id\":27}', 'https://seb.ramenhr.com/hrcore/leave-balance/set-initial', '111.90.208.153', 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/26.1 Safari/605.1.15', NULL, '2026-01-16 12:06:46', '2026-01-16 12:06:46'),
(122, 'App\\Models\\User', 1, 'created', 'App\\Models\\UserAvailableLeave', 28, '[]', '{\"user_id\":\"8\",\"leave_type_id\":\"4\",\"year\":\"2026\",\"entitled_leaves\":\"100\",\"available_leaves\":\"100\",\"created_by_id\":1,\"updated_by_id\":1,\"id\":28}', 'https://seb.ramenhr.com/hrcore/leave-balance/set-initial', '111.90.208.153', 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/26.1 Safari/605.1.15', NULL, '2026-01-16 12:06:51', '2026-01-16 12:06:51'),
(123, 'App\\Models\\User', 1, 'created', 'App\\Models\\LeaveBalanceAdjustment', 28, '[]', '{\"user_id\":\"8\",\"leave_type_id\":\"4\",\"adjustment_type\":\"add\",\"days\":\"100\",\"reason\":\"Initial balance setup\",\"year\":\"2026\",\"effective_date\":\"2026-01-16 12:06:51\",\"balance_before\":0,\"balance_after\":\"100\",\"created_by_id\":1,\"updated_by_id\":1,\"id\":28}', 'https://seb.ramenhr.com/hrcore/leave-balance/set-initial', '111.90.208.153', 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/26.1 Safari/605.1.15', NULL, '2026-01-16 12:06:51', '2026-01-16 12:06:51'),
(124, 'App\\Models\\User', 1, 'created', 'App\\Models\\Shift', 2, '[]', '{\"name\":\"OPS 12:00AM-09:00AM\",\"code\":\"OPS 12:00AM-09:00AM\",\"shift_type\":\"regular\",\"notes\":null,\"start_time\":\"00:00:00\",\"end_time\":\"09:00:00\",\"sunday\":true,\"monday\":true,\"tuesday\":true,\"wednesday\":true,\"thursday\":true,\"friday\":true,\"saturday\":true,\"status\":\"active\",\"start_date\":\"2026-01-16 00:00:00\",\"color\":\"#0b2520\",\"id\":2}', 'https://seb.ramenhr.com/shifts', '111.90.208.153', 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/26.1 Safari/605.1.15', NULL, '2026-01-16 12:39:14', '2026-01-16 12:39:14'),
(125, 'App\\Models\\User', 1, 'updated', 'App\\Models\\Shift', 2, '{\"name\":\"OPS 12:00AM-09:00AM\",\"code\":\"OPS 12:00AM-09:00AM\",\"start_time\":\"00:00:00\",\"end_time\":\"09:00:00\"}', '{\"name\":\"OPS 12:30AM-09:30AM\",\"code\":\"OPS 12:30AM-09:30AM\",\"start_time\":\"00:30:00\",\"end_time\":\"09:30:00\"}', 'https://seb.ramenhr.com/shifts/2', '111.90.208.153', 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/26.1 Safari/605.1.15', NULL, '2026-01-16 12:39:56', '2026-01-16 12:39:56'),
(126, 'App\\Models\\User', 1, 'updated', 'App\\Models\\Shift', 1, '{\"name\":\"Default Shift\",\"code\":\"SH-001\",\"start_time\":\"09:00:00\",\"end_time\":\"18:00:00\",\"sunday\":0,\"saturday\":0}', '{\"name\":\"OPS 12:00AM-09:00AM\",\"code\":\"OPS 12:00AM-09:00AM\",\"start_time\":\"00:00:00\",\"end_time\":\"09:00:00\",\"sunday\":true,\"saturday\":true}', 'https://seb.ramenhr.com/shifts/1', '111.90.208.153', 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/26.1 Safari/605.1.15', NULL, '2026-01-16 12:40:35', '2026-01-16 12:40:35'),
(127, 'App\\Models\\User', 1, 'created', 'App\\Models\\Shift', 3, '[]', '{\"name\":\"OPS 01:00AM-10:00AM\",\"code\":\"OPS 01:00AM-10:00AM\",\"shift_type\":\"regular\",\"notes\":null,\"start_time\":\"01:00:00\",\"end_time\":\"10:00:00\",\"sunday\":true,\"monday\":true,\"tuesday\":true,\"wednesday\":true,\"thursday\":true,\"friday\":true,\"saturday\":true,\"status\":\"active\",\"start_date\":\"2026-01-16 00:00:00\",\"color\":\"#ef36bc\",\"id\":3}', 'https://seb.ramenhr.com/shifts', '111.90.208.153', 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/26.1 Safari/605.1.15', NULL, '2026-01-16 12:42:51', '2026-01-16 12:42:51'),
(128, 'App\\Models\\User', 1, 'created', 'App\\Models\\Shift', 4, '[]', '{\"name\":\"OPS 01:30AM-10:30AM\",\"code\":\"OPS 01:30AM-10:30AM\",\"shift_type\":\"regular\",\"notes\":null,\"start_time\":\"01:30:00\",\"end_time\":\"10:30:00\",\"sunday\":true,\"monday\":true,\"tuesday\":true,\"wednesday\":true,\"thursday\":true,\"friday\":true,\"saturday\":true,\"status\":\"active\",\"start_date\":\"2026-01-16 00:00:00\",\"color\":\"#70d77c\",\"id\":4}', 'https://seb.ramenhr.com/shifts', '111.90.208.153', 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/26.1 Safari/605.1.15', NULL, '2026-01-16 12:43:43', '2026-01-16 12:43:43'),
(129, 'App\\Models\\User', 1, 'created', 'App\\Models\\Shift', 5, '[]', '{\"name\":\"OPS 02:00AM-11:00AM\",\"code\":\"OPS 02:00AM-11:00AM\",\"shift_type\":\"regular\",\"notes\":null,\"start_time\":\"02:00:00\",\"end_time\":\"11:00:00\",\"sunday\":true,\"monday\":true,\"tuesday\":true,\"wednesday\":true,\"thursday\":true,\"friday\":true,\"saturday\":true,\"status\":\"active\",\"start_date\":\"2026-01-16 00:00:00\",\"color\":\"#a59b88\",\"id\":5}', 'https://seb.ramenhr.com/shifts', '111.90.208.153', 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/26.1 Safari/605.1.15', NULL, '2026-01-16 12:45:35', '2026-01-16 12:45:35'),
(130, 'App\\Models\\User', 1, 'created', 'App\\Models\\Shift', 6, '[]', '{\"name\":\"OPS 02:30AM-11:30AM\",\"code\":\"OPS 02:30AM-11:30AM\",\"shift_type\":\"regular\",\"notes\":null,\"start_time\":\"02:30:00\",\"end_time\":\"11:30:00\",\"sunday\":true,\"monday\":true,\"tuesday\":true,\"wednesday\":true,\"thursday\":true,\"friday\":true,\"saturday\":true,\"status\":\"active\",\"start_date\":\"2026-01-16 00:00:00\",\"color\":\"#bc4bb3\",\"id\":6}', 'https://seb.ramenhr.com/shifts', '111.90.208.153', 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/26.1 Safari/605.1.15', NULL, '2026-01-16 12:46:19', '2026-01-16 12:46:19'),
(131, 'App\\Models\\User', 1, 'created', 'App\\Models\\Shift', 7, '[]', '{\"name\":\"OPS 03:00AM-12:00PM\",\"code\":\"OPS 03:00AM-12:00PM\",\"shift_type\":\"regular\",\"notes\":null,\"start_time\":\"03:00:00\",\"end_time\":\"12:00:00\",\"sunday\":true,\"monday\":true,\"tuesday\":true,\"wednesday\":true,\"thursday\":true,\"friday\":true,\"saturday\":true,\"status\":\"active\",\"start_date\":\"2026-01-16 00:00:00\",\"color\":\"#68ecce\",\"id\":7}', 'https://seb.ramenhr.com/shifts', '111.90.208.153', 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/26.1 Safari/605.1.15', NULL, '2026-01-16 12:49:13', '2026-01-16 12:49:13'),
(132, 'App\\Models\\User', 1, 'created', 'App\\Models\\Shift', 8, '[]', '{\"name\":\"OPS 03:30AM-12:30PM\",\"code\":\"OPS 03:30AM-12:30PM\",\"shift_type\":\"regular\",\"notes\":null,\"start_time\":\"03:30:00\",\"end_time\":\"12:30:00\",\"sunday\":true,\"monday\":true,\"tuesday\":true,\"wednesday\":true,\"thursday\":true,\"friday\":true,\"saturday\":true,\"status\":\"active\",\"start_date\":\"2026-01-16 00:00:00\",\"color\":\"#90965b\",\"id\":8}', 'https://seb.ramenhr.com/shifts', '111.90.208.153', 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/26.1 Safari/605.1.15', NULL, '2026-01-16 12:50:02', '2026-01-16 12:50:02'),
(133, 'App\\Models\\User', 1, 'created', 'App\\Models\\Shift', 9, '[]', '{\"name\":\"OPS 04:00AM-01:00PM\",\"code\":\"OPS 04:00AM-01:00PM\",\"shift_type\":\"regular\",\"notes\":null,\"start_time\":\"04:00:00\",\"end_time\":\"13:00:00\",\"sunday\":true,\"monday\":true,\"tuesday\":true,\"wednesday\":true,\"thursday\":true,\"friday\":true,\"saturday\":true,\"status\":\"active\",\"start_date\":\"2026-01-16 00:00:00\",\"color\":\"#642a59\",\"id\":9}', 'https://seb.ramenhr.com/shifts', '111.90.208.153', 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/26.1 Safari/605.1.15', NULL, '2026-01-16 12:50:47', '2026-01-16 12:50:47'),
(134, 'App\\Models\\User', 1, 'created', 'App\\Models\\Shift', 10, '[]', '{\"name\":\"OPS 04:30PM-01:30PM\",\"code\":\"OPS 04:30PM-01:30PM\",\"shift_type\":\"regular\",\"notes\":null,\"start_time\":\"04:30:00\",\"end_time\":\"13:30:00\",\"sunday\":true,\"monday\":true,\"tuesday\":true,\"wednesday\":true,\"thursday\":true,\"friday\":true,\"saturday\":true,\"status\":\"active\",\"start_date\":\"2026-01-16 00:00:00\",\"color\":\"#70d68c\",\"id\":10}', 'https://seb.ramenhr.com/shifts', '111.90.208.153', 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/26.1 Safari/605.1.15', NULL, '2026-01-16 12:51:40', '2026-01-16 12:51:40'),
(135, 'App\\Models\\User', 1, 'created', 'App\\Models\\Shift', 11, '[]', '{\"name\":\"OPS 05:00AM-02:00PM\",\"code\":\"OPS 05:00AM-02:00PM\",\"shift_type\":\"regular\",\"notes\":null,\"start_time\":\"05:00:00\",\"end_time\":\"14:00:00\",\"sunday\":true,\"monday\":true,\"tuesday\":true,\"wednesday\":true,\"thursday\":true,\"friday\":true,\"saturday\":true,\"status\":\"active\",\"start_date\":\"2026-01-16 00:00:00\",\"color\":\"#e985bd\",\"id\":11}', 'https://seb.ramenhr.com/shifts', '111.90.208.153', 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/26.1 Safari/605.1.15', NULL, '2026-01-16 12:54:12', '2026-01-16 12:54:12'),
(136, 'App\\Models\\User', 1, 'created', 'App\\Models\\Shift', 12, '[]', '{\"name\":\"OPS 05:30AM-02:30PM\",\"code\":\"OPS 05:30AM-02:30PM\",\"shift_type\":\"regular\",\"notes\":null,\"start_time\":\"05:30:00\",\"end_time\":\"14:30:00\",\"sunday\":true,\"monday\":true,\"tuesday\":true,\"wednesday\":true,\"thursday\":true,\"friday\":true,\"saturday\":true,\"status\":\"active\",\"start_date\":\"2026-01-16 00:00:00\",\"color\":\"#271746\",\"id\":12}', 'https://seb.ramenhr.com/shifts', '111.90.208.153', 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/26.1 Safari/605.1.15', NULL, '2026-01-16 12:54:43', '2026-01-16 12:54:43'),
(137, 'App\\Models\\User', 1, 'created', 'App\\Models\\Shift', 13, '[]', '{\"name\":\"OPS 06:00AM-03:00PM\",\"code\":\"OPS 06:00AM-03:00PM\",\"shift_type\":\"regular\",\"notes\":null,\"start_time\":\"06:00:00\",\"end_time\":\"15:00:00\",\"sunday\":true,\"monday\":true,\"tuesday\":true,\"wednesday\":true,\"thursday\":true,\"friday\":true,\"saturday\":true,\"status\":\"active\",\"start_date\":\"2026-01-16 00:00:00\",\"color\":\"#36926e\",\"id\":13}', 'https://seb.ramenhr.com/shifts', '111.90.208.153', 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/26.1 Safari/605.1.15', NULL, '2026-01-16 12:55:50', '2026-01-16 12:55:50'),
(138, 'App\\Models\\User', 1, 'created', 'App\\Models\\Shift', 14, '[]', '{\"name\":\"OPS 06:30AM-03:30PM\",\"code\":\"OPS 06:30AM-03:30PM\",\"shift_type\":\"regular\",\"notes\":null,\"start_time\":\"06:30:00\",\"end_time\":\"15:30:00\",\"sunday\":true,\"monday\":true,\"tuesday\":true,\"wednesday\":true,\"thursday\":true,\"friday\":true,\"saturday\":true,\"status\":\"active\",\"start_date\":\"2026-01-16 00:00:00\",\"color\":\"#727bf9\",\"id\":14}', 'https://seb.ramenhr.com/shifts', '111.90.208.153', 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/26.1 Safari/605.1.15', NULL, '2026-01-16 12:56:24', '2026-01-16 12:56:24'),
(139, 'App\\Models\\User', 1, 'created', 'App\\Models\\Shift', 15, '[]', '{\"name\":\"OPS 07:00AM-04:00PM\",\"code\":\"OPS 07:00AM-04:00PM\",\"shift_type\":\"regular\",\"notes\":null,\"start_time\":\"07:00:00\",\"end_time\":\"16:00:00\",\"sunday\":true,\"monday\":true,\"tuesday\":true,\"wednesday\":true,\"thursday\":true,\"friday\":true,\"saturday\":true,\"status\":\"active\",\"start_date\":\"2026-01-16 00:00:00\",\"color\":\"#c79822\",\"id\":15}', 'https://seb.ramenhr.com/shifts', '111.90.208.153', 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/26.1 Safari/605.1.15', NULL, '2026-01-16 12:58:59', '2026-01-16 12:58:59'),
(140, 'App\\Models\\User', 1, 'updated', 'App\\Models\\Shift', 10, '{\"name\":\"OPS 04:30PM-01:30PM\",\"code\":\"OPS 04:30PM-01:30PM\"}', '{\"name\":\"OPS 04:30AM-01:30PM\",\"code\":\"OPS 04:30AM-01:30PM\"}', 'https://seb.ramenhr.com/shifts/10', '111.90.208.153', 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/26.1 Safari/605.1.15', NULL, '2026-01-16 12:59:21', '2026-01-16 12:59:21'),
(141, 'App\\Models\\User', 1, 'created', 'App\\Models\\Shift', 16, '[]', '{\"name\":\"OPS 07:30AM-04:30PM\",\"code\":\"OPS 07:30AM-04:30PM\",\"shift_type\":\"regular\",\"notes\":null,\"start_time\":\"07:30:00\",\"end_time\":\"16:30:00\",\"sunday\":true,\"monday\":true,\"tuesday\":true,\"wednesday\":true,\"thursday\":true,\"friday\":true,\"saturday\":true,\"status\":\"active\",\"start_date\":\"2026-01-16 00:00:00\",\"color\":\"#d1cae4\",\"id\":16}', 'https://seb.ramenhr.com/shifts', '111.90.208.153', 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/26.1 Safari/605.1.15', NULL, '2026-01-16 13:00:15', '2026-01-16 13:00:15'),
(142, 'App\\Models\\User', 1, 'updated', 'App\\Models\\Holiday', 3, '{\"type\":\"public\",\"color\":\"#3F51B5\",\"half_day_type\":null}', '{\"type\":\"regular\",\"color\":\"#3f51b5\",\"half_day_type\":\"morning\"}', 'https://seb.test/holidays/3', '127.0.0.1', 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36', NULL, '2026-01-16 08:15:21', '2026-01-16 08:15:21'),
(143, 'App\\Models\\User', 1, 'deleted', 'App\\Models\\Holiday', 1, '{\"id\":1,\"name\":\"test\",\"date\":\"2026-01-15\",\"code\":\"test\",\"year\":\"2026\",\"day\":\"Thursday\",\"type\":\"public\",\"category\":null,\"is_optional\":0,\"is_restricted\":0,\"is_recurring\":0,\"applicable_for\":\"all\",\"departments\":null,\"locations\":null,\"employee_types\":null,\"branches\":null,\"specific_employees\":null,\"description\":null,\"notes\":null,\"image\":null,\"color\":\"#4caf50\",\"sort_order\":0,\"is_compensatory\":0,\"compensatory_date\":null,\"is_half_day\":0,\"half_day_type\":\"morning\",\"half_day_start_time\":null,\"half_day_end_time\":null,\"is_active\":1,\"is_visible_to_employees\":1,\"send_notification\":0,\"notification_days_before\":7,\"approved_by_id\":null,\"approved_at\":null,\"created_by_id\":null,\"updated_by_id\":null,\"tenant_id\":null}', '[]', 'https://seb.test/holidays/1', '127.0.0.1', 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36', NULL, '2026-01-16 08:15:27', '2026-01-16 08:15:27'),
(144, 'App\\Models\\User', 1, 'updated', 'App\\Models\\User', 1, '{\"remember_token\":\"IVxxc2inEk\"}', '{\"remember_token\":\"WeILZe1kYGl9fQlZrDrhG2pMnsQi0CjhcXoiWcM5nHAlyYhC8CuTr66BGGQJ\"}', 'https://seb.test/auth/logout', '127.0.0.1', 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36', NULL, '2026-01-16 12:10:35', '2026-01-16 12:10:35'),
(145, 'App\\Models\\User', 1, 'updated', 'App\\Models\\Settings', 1, '{\"app_name\":\"RamenHR\"}', '{\"app_name\":\"Seb Connexion\"}', 'https://seb.test/settings/updateGeneralSettings', '127.0.0.1', 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36', NULL, '2026-01-16 12:21:33', '2026-01-16 12:21:33'),
(146, 'App\\Models\\User', 1, 'updated', 'App\\Models\\Settings', 1, '{\"app_name\":\"Seb Connexion\"}', '{\"app_name\":\"Seb\"}', 'https://seb.test/settings/updateGeneralSettings', '127.0.0.1', 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36', NULL, '2026-01-16 12:21:39', '2026-01-16 12:21:39'),
(147, 'App\\Models\\User', 1, 'updated', 'App\\Models\\Settings', 1, '{\"map_api_key\":null,\"center_latitude\":\"18.418983770139405\",\"center_longitude\":\"49.67194361588897\"}', '{\"map_api_key\":\"[REDACTED]",\"center_latitude\":\"18.418983770139\",\"center_longitude\":\"49.671943615889\"}', 'https://seb.test/settings/updateMapSettings', '127.0.0.1', 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36', NULL, '2026-01-17 02:48:36', '2026-01-17 02:48:36'),
(148, 'App\\Models\\User', 1, 'created', 'App\\Models\\ModuleSetting', 9, '[]', '{\"module\":\"FieldManager\",\"key\":\"field_manager_offline_check_time\",\"value\":\"900\",\"id\":9}', 'https://seb.ramenhr.test/fieldmanager/settings', '127.0.0.1', 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', NULL, '2026-01-17 06:52:54', '2026-01-17 06:52:54'),
(149, 'App\\Models\\User', 1, 'created', 'App\\Models\\ModuleSetting', 10, '[]', '{\"module\":\"FieldManager\",\"key\":\"field_manager_location_distance_filter\",\"value\":\"10\",\"id\":10}', 'https://seb.ramenhr.test/fieldmanager/settings', '127.0.0.1', 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', NULL, '2026-01-17 06:52:54', '2026-01-17 06:52:54'),
(150, 'App\\Models\\User', 1, 'created', 'App\\Models\\ModuleSetting', 11, '[]', '{\"module\":\"FieldManager\",\"key\":\"field_manager_enable_device_verification\",\"value\":\"yes\",\"id\":11}', 'https://seb.ramenhr.test/fieldmanager/settings', '127.0.0.1', 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', NULL, '2026-01-17 06:52:54', '2026-01-17 06:52:54'),
(151, 'App\\Models\\User', 1, 'updated', 'App\\Models\\User', 1, '{\"remember_token\":\"WeILZe1kYGl9fQlZrDrhG2pMnsQi0CjhcXoiWcM5nHAlyYhC8CuTr66BGGQJ\"}', '{\"remember_token\":\"ziqW7lMFSvamQEQH2WgsxmyL8kUFMXDWn8d8awjJx9dj5he5dqlkpz6BLJEg\"}', 'https://seb.ramenhr.com/auth/logout', '180.190.209.189', 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36', NULL, '2026-01-18 16:41:20', '2026-01-18 16:41:20'),
(152, 'App\\Models\\User', 1, 'updated', 'App\\Models\\User', 1, '{\"remember_token\":\"ziqW7lMFSvamQEQH2WgsxmyL8kUFMXDWn8d8awjJx9dj5he5dqlkpz6BLJEg\"}', '{\"remember_token\":\"ACG8lepjRlXTIToJshrft6wODYNAXXv5Uwf2qO6Mjz3HMlHihgEwCDO9URtX\"}', 'https://seb.ramenhr.com/auth/logout', '150.228.183.243', 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/145.0.0.0 Safari/537.36', NULL, '2026-03-06 14:22:15', '2026-03-06 14:22:15'),
(153, 'App\\Models\\User', 1, 'updated', 'App\\Models\\UserAvailableLeave', 1, '{\"additional_leaves\":\"0.00\",\"available_leaves\":11}', '{\"additional_leaves\":-7,\"available_leaves\":4}', 'https://seb.ramenhr.com/hrcore/leave-balance/adjust', '112.209.182.203', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/145.0.0.0 Safari/537.36', NULL, '2026-03-17 11:30:58', '2026-03-17 11:30:58'),
(154, 'App\\Models\\User', 1, 'created', 'App\\Models\\LeaveBalanceAdjustment', 29, '[]', '{\"user_id\":\"2\",\"leave_type_id\":\"1\",\"adjustment_type\":\"deduct\",\"days\":\"7\",\"reason\":\"update\",\"year\":2026,\"effective_date\":\"2026-03-17 11:30:58\",\"balance_before\":11,\"balance_after\":4,\"created_by_id\":1,\"updated_by_id\":1,\"id\":29}', 'https://seb.ramenhr.com/hrcore/leave-balance/adjust', '112.209.182.203', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/145.0.0.0 Safari/537.36', NULL, '2026-03-17 11:30:58', '2026-03-17 11:30:58'),
(155, 'App\\Models\\User', 1, 'created', 'App\\Models\\LeaveRequest', 1, '[]', '{\"user_id\":\"2\",\"leave_type_id\":\"1\",\"from_date\":\"2026-03-19\",\"to_date\":\"2026-03-19\",\"is_half_day\":\"0\",\"half_day_type\":\"first_half\",\"user_notes\":\"family gathering\",\"emergency_contact\":null,\"emergency_phone\":null,\"abroad_location\":null,\"total_days\":1,\"use_comp_off\":false,\"comp_off_days_used\":0,\"comp_off_ids\":null,\"id\":1}', 'https://seb.ramenhr.com/hrcore/leaves', '112.209.182.203', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/145.0.0.0 Safari/537.36', NULL, '2026-03-17 11:32:07', '2026-03-17 11:32:07'),
(156, 'App\\Models\\User', 1, 'updated', 'App\\Models\\LeaveRequest', 1, '{\"status\":null}', '{\"status\":\"pending\"}', 'https://seb.ramenhr.com/hrcore/leaves', '112.209.182.203', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/145.0.0.0 Safari/537.36', NULL, '2026-03-17 11:32:07', '2026-03-17 11:32:07'),
(157, 'App\\Models\\User', 1, 'updated', 'App\\Models\\LeaveRequest', 1, '{\"approved_by_id\":null,\"approved_at\":null,\"status\":\"pending\"}', '{\"approved_by_id\":1,\"approved_at\":\"2026-03-17 11:32:22\",\"status\":\"approved\"}', 'https://seb.ramenhr.com/hrcore/leaves/1/approve', '112.209.182.203', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/145.0.0.0 Safari/537.36', NULL, '2026-03-17 11:32:22', '2026-03-17 11:32:22'),
(158, 'App\\Models\\User', 1, 'updated', 'App\\Models\\UserAvailableLeave', 1, '{\"used_leaves\":0,\"available_leaves\":4}', '{\"used_leaves\":1,\"available_leaves\":3}', 'https://seb.ramenhr.com/hrcore/leaves/1/approve', '112.209.182.203', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/145.0.0.0 Safari/537.36', NULL, '2026-03-17 11:32:22', '2026-03-17 11:32:22'),
(159, 'App\\Models\\User', 1, 'updated', 'App\\Models\\UserAvailableLeave', 25, '{\"additional_leaves\":\"0.00\",\"available_leaves\":7}', '{\"additional_leaves\":-4,\"available_leaves\":3}', 'https://seb.ramenhr.com/hrcore/leave-balance/adjust', '112.209.182.203', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/145.0.0.0 Safari/537.36', NULL, '2026-03-17 11:33:08', '2026-03-17 11:33:08'),
(160, 'App\\Models\\User', 1, 'created', 'App\\Models\\LeaveBalanceAdjustment', 30, '[]', '{\"user_id\":\"8\",\"leave_type_id\":\"1\",\"adjustment_type\":\"deduct\",\"days\":\"4\",\"reason\":\"update\",\"year\":2026,\"effective_date\":\"2026-03-17 11:33:08\",\"balance_before\":7,\"balance_after\":3,\"created_by_id\":1,\"updated_by_id\":1,\"id\":30}', 'https://seb.ramenhr.com/hrcore/leave-balance/adjust', '112.209.182.203', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/145.0.0.0 Safari/537.36', NULL, '2026-03-17 11:33:08', '2026-03-17 11:33:08'),
(161, 'App\\Models\\User', 1, 'updated', 'App\\Models\\UserAvailableLeave', 26, '{\"additional_leaves\":\"0.00\",\"available_leaves\":7}', '{\"additional_leaves\":-4,\"available_leaves\":3}', 'https://seb.ramenhr.com/hrcore/leave-balance/adjust', '112.209.182.203', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/145.0.0.0 Safari/537.36', NULL, '2026-03-17 11:33:24', '2026-03-17 11:33:24'),
(162, 'App\\Models\\User', 1, 'created', 'App\\Models\\LeaveBalanceAdjustment', 31, '[]', '{\"user_id\":\"8\",\"leave_type_id\":\"2\",\"adjustment_type\":\"deduct\",\"days\":\"4\",\"reason\":\"update\",\"year\":2026,\"effective_date\":\"2026-03-17 11:33:24\",\"balance_before\":7,\"balance_after\":3,\"created_by_id\":1,\"updated_by_id\":1,\"id\":31}', 'https://seb.ramenhr.com/hrcore/leave-balance/adjust', '112.209.182.203', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/145.0.0.0 Safari/537.36', NULL, '2026-03-17 11:33:24', '2026-03-17 11:33:24'),
(163, 'App\\Models\\User', 1, 'updated', 'App\\Models\\UserAvailableLeave', 27, '{\"additional_leaves\":\"0.00\",\"available_leaves\":1}', '{\"additional_leaves\":-1,\"available_leaves\":0}', 'https://seb.ramenhr.com/hrcore/leave-balance/adjust', '112.209.182.203', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/145.0.0.0 Safari/537.36', NULL, '2026-03-17 11:33:37', '2026-03-17 11:33:37'),
(164, 'App\\Models\\User', 1, 'created', 'App\\Models\\LeaveBalanceAdjustment', 32, '[]', '{\"user_id\":\"8\",\"leave_type_id\":\"3\",\"adjustment_type\":\"deduct\",\"days\":\"1\",\"reason\":\"update\",\"year\":2026,\"effective_date\":\"2026-03-17 11:33:37\",\"balance_before\":1,\"balance_after\":0,\"created_by_id\":1,\"updated_by_id\":1,\"id\":32}', 'https://seb.ramenhr.com/hrcore/leave-balance/adjust', '112.209.182.203', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/145.0.0.0 Safari/537.36', NULL, '2026-03-17 11:33:37', '2026-03-17 11:33:37'),
(165, 'App\\Models\\User', 1, 'updated', 'App\\Models\\UserAvailableLeave', 5, '{\"additional_leaves\":\"0.00\",\"available_leaves\":11}', '{\"additional_leaves\":-2,\"available_leaves\":9}', 'https://seb.ramenhr.com/hrcore/leave-balance/adjust', '112.209.182.203', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/145.0.0.0 Safari/537.36', NULL, '2026-03-17 11:34:20', '2026-03-17 11:34:20'),
(166, 'App\\Models\\User', 1, 'created', 'App\\Models\\LeaveBalanceAdjustment', 33, '[]', '{\"user_id\":\"3\",\"leave_type_id\":\"1\",\"adjustment_type\":\"deduct\",\"days\":\"2\",\"reason\":\"update\",\"year\":2026,\"effective_date\":\"2026-03-17 11:34:20\",\"balance_before\":11,\"balance_after\":9,\"created_by_id\":1,\"updated_by_id\":1,\"id\":33}', 'https://seb.ramenhr.com/hrcore/leave-balance/adjust', '112.209.182.203', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/145.0.0.0 Safari/537.36', NULL, '2026-03-17 11:34:20', '2026-03-17 11:34:20'),
(167, 'App\\Models\\User', 1, 'updated', 'App\\Models\\UserAvailableLeave', 6, '{\"additional_leaves\":\"0.00\",\"available_leaves\":11}', '{\"additional_leaves\":-1.5,\"available_leaves\":9.5}', 'https://seb.ramenhr.com/hrcore/leave-balance/adjust', '112.209.182.203', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/145.0.0.0 Safari/537.36', NULL, '2026-03-17 11:34:42', '2026-03-17 11:34:42'),
(168, 'App\\Models\\User', 1, 'created', 'App\\Models\\LeaveBalanceAdjustment', 34, '[]', '{\"user_id\":\"3\",\"leave_type_id\":\"2\",\"adjustment_type\":\"deduct\",\"days\":\"1.5\",\"reason\":\"update\",\"year\":2026,\"effective_date\":\"2026-03-17 11:34:42\",\"balance_before\":11,\"balance_after\":9.5,\"created_by_id\":1,\"updated_by_id\":1,\"id\":34}', 'https://seb.ramenhr.com/hrcore/leave-balance/adjust', '112.209.182.203', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/145.0.0.0 Safari/537.36', NULL, '2026-03-17 11:34:42', '2026-03-17 11:34:42'),
(169, 'App\\Models\\User', 1, 'updated', 'App\\Models\\UserAvailableLeave', 9, '{\"additional_leaves\":\"0.00\",\"available_leaves\":8}', '{\"additional_leaves\":-3,\"available_leaves\":5}', 'https://seb.ramenhr.com/hrcore/leave-balance/adjust', '112.209.182.203', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/145.0.0.0 Safari/537.36', NULL, '2026-03-17 11:35:38', '2026-03-17 11:35:38'),
(170, 'App\\Models\\User', 1, 'created', 'App\\Models\\LeaveBalanceAdjustment', 35, '[]', '{\"user_id\":\"4\",\"leave_type_id\":\"1\",\"adjustment_type\":\"deduct\",\"days\":\"3\",\"reason\":\"update\",\"year\":2026,\"effective_date\":\"2026-03-17 11:35:38\",\"balance_before\":8,\"balance_after\":5,\"created_by_id\":1,\"updated_by_id\":1,\"id\":35}', 'https://seb.ramenhr.com/hrcore/leave-balance/adjust', '112.209.182.203', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/145.0.0.0 Safari/537.36', NULL, '2026-03-17 11:35:38', '2026-03-17 11:35:38'),
(171, 'App\\Models\\User', 1, 'updated', 'App\\Models\\UserAvailableLeave', 13, '{\"additional_leaves\":\"0.00\",\"available_leaves\":7}', '{\"additional_leaves\":-3,\"available_leaves\":4}', 'https://seb.ramenhr.com/hrcore/leave-balance/adjust', '112.209.182.203', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/145.0.0.0 Safari/537.36', NULL, '2026-03-17 11:36:04', '2026-03-17 11:36:04'),
(172, 'App\\Models\\User', 1, 'created', 'App\\Models\\LeaveBalanceAdjustment', 36, '[]', '{\"user_id\":\"5\",\"leave_type_id\":\"1\",\"adjustment_type\":\"deduct\",\"days\":\"3\",\"reason\":\"update\",\"year\":2026,\"effective_date\":\"2026-03-17 11:36:04\",\"balance_before\":7,\"balance_after\":4,\"created_by_id\":1,\"updated_by_id\":1,\"id\":36}', 'https://seb.ramenhr.com/hrcore/leave-balance/adjust', '112.209.182.203', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/145.0.0.0 Safari/537.36', NULL, '2026-03-17 11:36:04', '2026-03-17 11:36:04'),
(173, 'App\\Models\\User', 1, 'updated', 'App\\Models\\UserAvailableLeave', 14, '{\"additional_leaves\":\"0.00\",\"available_leaves\":7}', '{\"additional_leaves\":-3,\"available_leaves\":4}', 'https://seb.ramenhr.com/hrcore/leave-balance/adjust', '112.209.182.203', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/145.0.0.0 Safari/537.36', NULL, '2026-03-17 11:36:16', '2026-03-17 11:36:16'),
(174, 'App\\Models\\User', 1, 'created', 'App\\Models\\LeaveBalanceAdjustment', 37, '[]', '{\"user_id\":\"5\",\"leave_type_id\":\"2\",\"adjustment_type\":\"deduct\",\"days\":\"3\",\"reason\":\"update\",\"year\":2026,\"effective_date\":\"2026-03-17 11:36:16\",\"balance_before\":7,\"balance_after\":4,\"created_by_id\":1,\"updated_by_id\":1,\"id\":37}', 'https://seb.ramenhr.com/hrcore/leave-balance/adjust', '112.209.182.203', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/145.0.0.0 Safari/537.36', NULL, '2026-03-17 11:36:16', '2026-03-17 11:36:16'),
(175, 'App\\Models\\User', 1, 'updated', 'App\\Models\\UserAvailableLeave', 17, '{\"additional_leaves\":\"0.00\",\"available_leaves\":5}', '{\"additional_leaves\":-1,\"available_leaves\":4}', 'https://seb.ramenhr.com/hrcore/leave-balance/adjust', '112.209.182.203', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/145.0.0.0 Safari/537.36', NULL, '2026-03-17 11:36:48', '2026-03-17 11:36:48'),
(176, 'App\\Models\\User', 1, 'created', 'App\\Models\\LeaveBalanceAdjustment', 38, '[]', '{\"user_id\":\"6\",\"leave_type_id\":\"1\",\"adjustment_type\":\"deduct\",\"days\":\"1\",\"reason\":\"update\",\"year\":2026,\"effective_date\":\"2026-03-17 11:36:48\",\"balance_before\":5,\"balance_after\":4,\"created_by_id\":1,\"updated_by_id\":1,\"id\":38}', 'https://seb.ramenhr.com/hrcore/leave-balance/adjust', '112.209.182.203', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/145.0.0.0 Safari/537.36', NULL, '2026-03-17 11:36:48', '2026-03-17 11:36:48'),
(177, 'App\\Models\\User', 1, 'updated', 'App\\Models\\UserAvailableLeave', 20, '{\"additional_leaves\":\"0.00\",\"available_leaves\":5}', '{\"additional_leaves\":-1,\"available_leaves\":4}', 'https://seb.ramenhr.com/hrcore/leave-balance/adjust', '112.209.182.203', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/145.0.0.0 Safari/537.36', NULL, '2026-03-17 11:37:20', '2026-03-17 11:37:20'),
(178, 'App\\Models\\User', 1, 'created', 'App\\Models\\LeaveBalanceAdjustment', 39, '[]', '{\"user_id\":\"7\",\"leave_type_id\":\"1\",\"adjustment_type\":\"deduct\",\"days\":\"1\",\"reason\":\"update\",\"year\":2026,\"effective_date\":\"2026-03-17 11:37:20\",\"balance_before\":5,\"balance_after\":4,\"created_by_id\":1,\"updated_by_id\":1,\"id\":39}', 'https://seb.ramenhr.com/hrcore/leave-balance/adjust', '112.209.182.203', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/145.0.0.0 Safari/537.36', NULL, '2026-03-17 11:37:20', '2026-03-17 11:37:20'),
(179, 'App\\Models\\User', 1, 'updated', 'App\\Models\\UserAvailableLeave', 21, '{\"additional_leaves\":\"0.00\",\"available_leaves\":5}', '{\"additional_leaves\":-1,\"available_leaves\":4}', 'https://seb.ramenhr.com/hrcore/leave-balance/adjust', '112.209.182.203', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/145.0.0.0 Safari/537.36', NULL, '2026-03-17 11:37:31', '2026-03-17 11:37:31');
INSERT INTO `audits` (`id`, `user_type`, `user_id`, `event`, `auditable_type`, `auditable_id`, `old_values`, `new_values`, `url`, `ip_address`, `user_agent`, `tags`, `created_at`, `updated_at`) VALUES
(180, 'App\\Models\\User', 1, 'created', 'App\\Models\\LeaveBalanceAdjustment', 40, '[]', '{\"user_id\":\"7\",\"leave_type_id\":\"2\",\"adjustment_type\":\"deduct\",\"days\":\"1\",\"reason\":\"update\",\"year\":2026,\"effective_date\":\"2026-03-17 11:37:31\",\"balance_before\":5,\"balance_after\":4,\"created_by_id\":1,\"updated_by_id\":1,\"id\":40}', 'https://seb.ramenhr.com/hrcore/leave-balance/adjust', '112.209.182.203', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/145.0.0.0 Safari/537.36', NULL, '2026-03-17 11:37:31', '2026-03-17 11:37:31'),
(181, 'App\\Models\\User', 1, 'created', 'App\\Models\\UserAvailableLeave', 29, '[]', '{\"user_id\":\"9\",\"leave_type_id\":\"1\",\"year\":\"2026\",\"entitled_leaves\":\"2\",\"available_leaves\":\"2\",\"created_by_id\":1,\"updated_by_id\":1,\"id\":29}', 'https://seb.ramenhr.com/hrcore/leave-balance/set-initial', '112.209.182.203', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/145.0.0.0 Safari/537.36', NULL, '2026-03-17 11:38:17', '2026-03-17 11:38:17'),
(182, 'App\\Models\\User', 1, 'created', 'App\\Models\\LeaveBalanceAdjustment', 41, '[]', '{\"user_id\":\"9\",\"leave_type_id\":\"1\",\"adjustment_type\":\"add\",\"days\":\"2\",\"reason\":\"Initial balance setup\",\"year\":\"2026\",\"effective_date\":\"2026-03-17 11:38:17\",\"balance_before\":0,\"balance_after\":\"2\",\"created_by_id\":1,\"updated_by_id\":1,\"id\":41}', 'https://seb.ramenhr.com/hrcore/leave-balance/set-initial', '112.209.182.203', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/145.0.0.0 Safari/537.36', NULL, '2026-03-17 11:38:17', '2026-03-17 11:38:17'),
(183, 'App\\Models\\User', 1, 'created', 'App\\Models\\UserAvailableLeave', 30, '[]', '{\"user_id\":\"9\",\"leave_type_id\":\"2\",\"year\":\"2026\",\"entitled_leaves\":\"2\",\"available_leaves\":\"2\",\"created_by_id\":1,\"updated_by_id\":1,\"id\":30}', 'https://seb.ramenhr.com/hrcore/leave-balance/set-initial', '112.209.182.203', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/145.0.0.0 Safari/537.36', NULL, '2026-03-17 11:38:22', '2026-03-17 11:38:22'),
(184, 'App\\Models\\User', 1, 'created', 'App\\Models\\LeaveBalanceAdjustment', 42, '[]', '{\"user_id\":\"9\",\"leave_type_id\":\"2\",\"adjustment_type\":\"add\",\"days\":\"2\",\"reason\":\"Initial balance setup\",\"year\":\"2026\",\"effective_date\":\"2026-03-17 11:38:22\",\"balance_before\":0,\"balance_after\":\"2\",\"created_by_id\":1,\"updated_by_id\":1,\"id\":42}', 'https://seb.ramenhr.com/hrcore/leave-balance/set-initial', '112.209.182.203', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/145.0.0.0 Safari/537.36', NULL, '2026-03-17 11:38:22', '2026-03-17 11:38:22'),
(185, 'App\\Models\\User', 1, 'created', 'App\\Models\\UserAvailableLeave', 31, '[]', '{\"user_id\":\"10\",\"leave_type_id\":\"1\",\"year\":\"2026\",\"entitled_leaves\":\"2\",\"available_leaves\":\"2\",\"created_by_id\":1,\"updated_by_id\":1,\"id\":31}', 'https://seb.ramenhr.com/hrcore/leave-balance/set-initial', '112.209.182.203', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/145.0.0.0 Safari/537.36', NULL, '2026-03-17 11:38:51', '2026-03-17 11:38:51'),
(186, 'App\\Models\\User', 1, 'created', 'App\\Models\\LeaveBalanceAdjustment', 43, '[]', '{\"user_id\":\"10\",\"leave_type_id\":\"1\",\"adjustment_type\":\"add\",\"days\":\"2\",\"reason\":\"Initial balance setup\",\"year\":\"2026\",\"effective_date\":\"2026-03-17 11:38:51\",\"balance_before\":0,\"balance_after\":\"2\",\"created_by_id\":1,\"updated_by_id\":1,\"id\":43}', 'https://seb.ramenhr.com/hrcore/leave-balance/set-initial', '112.209.182.203', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/145.0.0.0 Safari/537.36', NULL, '2026-03-17 11:38:51', '2026-03-17 11:38:51'),
(187, 'App\\Models\\User', 1, 'created', 'App\\Models\\UserAvailableLeave', 32, '[]', '{\"user_id\":\"10\",\"leave_type_id\":\"2\",\"year\":\"2026\",\"entitled_leaves\":\"2\",\"available_leaves\":\"2\",\"created_by_id\":1,\"updated_by_id\":1,\"id\":32}', 'https://seb.ramenhr.com/hrcore/leave-balance/set-initial', '112.209.182.203', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/145.0.0.0 Safari/537.36', NULL, '2026-03-17 11:38:57', '2026-03-17 11:38:57'),
(188, 'App\\Models\\User', 1, 'created', 'App\\Models\\LeaveBalanceAdjustment', 44, '[]', '{\"user_id\":\"10\",\"leave_type_id\":\"2\",\"adjustment_type\":\"add\",\"days\":\"2\",\"reason\":\"Initial balance setup\",\"year\":\"2026\",\"effective_date\":\"2026-03-17 11:38:57\",\"balance_before\":0,\"balance_after\":\"2\",\"created_by_id\":1,\"updated_by_id\":1,\"id\":44}', 'https://seb.ramenhr.com/hrcore/leave-balance/set-initial', '112.209.182.203', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/145.0.0.0 Safari/537.36', NULL, '2026-03-17 11:38:57', '2026-03-17 11:38:57');

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

--
-- Table structure for table `bank_accounts`
--

CREATE TABLE `bank_accounts` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `user_id` bigint(20) UNSIGNED NOT NULL,
  `bank_name` varchar(191) NOT NULL,
  `bank_code` varchar(191) DEFAULT NULL,
  `account_name` varchar(191) NOT NULL,
  `account_number` varchar(191) NOT NULL,
  `branch_name` varchar(191) DEFAULT NULL,
  `branch_code` varchar(191) DEFAULT NULL,
  `status` enum('active','inactive') NOT NULL DEFAULT 'active',
  `created_by_id` bigint(20) UNSIGNED DEFAULT NULL,
  `updated_by_id` bigint(20) UNSIGNED DEFAULT NULL,
  `tenant_id` varchar(191) DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

--
-- Table structure for table `basic_transactions`
--

CREATE TABLE `basic_transactions` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `transaction_number` varchar(50) NOT NULL,
  `type` enum('income','expense') NOT NULL,
  `amount` decimal(15,2) NOT NULL,
  `category_id` bigint(20) UNSIGNED NOT NULL,
  `description` text DEFAULT NULL,
  `transaction_date` date NOT NULL,
  `reference_number` varchar(100) DEFAULT NULL,
  `attachment_path` varchar(500) DEFAULT NULL,
  `attachment_original_name` varchar(255) DEFAULT NULL,
  `attachment_size` bigint(20) DEFAULT NULL,
  `attachment_mime_type` varchar(255) DEFAULT NULL,
  `payment_method` varchar(50) DEFAULT NULL,
  `sync_status` varchar(255) NOT NULL DEFAULT 'manual',
  `tags` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`tags`)),
  `custom_fields` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`custom_fields`)),
  `created_by_id` bigint(20) UNSIGNED DEFAULT NULL,
  `updated_by_id` bigint(20) UNSIGNED DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  `sourceable_type` varchar(255) DEFAULT NULL,
  `sourceable_id` bigint(20) UNSIGNED DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

--
-- Table structure for table `basic_transaction_categories`
--

CREATE TABLE `basic_transaction_categories` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `name` varchar(100) NOT NULL,
  `type` enum('income','expense') NOT NULL,
  `parent_id` bigint(20) UNSIGNED DEFAULT NULL,
  `icon` varchar(50) DEFAULT NULL,
  `color` varchar(7) DEFAULT NULL,
  `is_active` tinyint(1) NOT NULL DEFAULT 1,
  `created_by_id` bigint(20) UNSIGNED DEFAULT NULL,
  `updated_by_id` bigint(20) UNSIGNED DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

--
-- Table structure for table `cache`
--

CREATE TABLE `cache` (
  `key` varchar(255) NOT NULL,
  `value` mediumtext NOT NULL,
  `expiration` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

--
-- Table structure for table `cache_locks`
--

CREATE TABLE `cache_locks` (
  `key` varchar(255) NOT NULL,
  `owner` varchar(255) NOT NULL,
  `expiration` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

--
-- Table structure for table `clients`
--

CREATE TABLE `clients` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `name` varchar(255) NOT NULL,
  `code` varchar(255) DEFAULT NULL,
  `email` varchar(255) DEFAULT NULL,
  `phone` varchar(255) DEFAULT NULL,
  `address` text DEFAULT NULL,
  `contact_person` varchar(255) DEFAULT NULL,
  `is_active` tinyint(1) NOT NULL DEFAULT 1,
  `created_by_id` bigint(20) UNSIGNED DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `category` varchar(255) DEFAULT NULL,
  `city` varchar(255) DEFAULT NULL,
  `state` varchar(255) DEFAULT NULL,
  `postal_code` varchar(255) DEFAULT NULL,
  `latitude` decimal(10,8) DEFAULT NULL,
  `longitude` decimal(11,8) DEFAULT NULL,
  `radius` decimal(10,2) DEFAULT NULL,
  `remarks` text DEFAULT NULL,
  `assigned_to` bigint(20) UNSIGNED DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

--
-- Table structure for table `companies`
--

CREATE TABLE `companies` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `name` varchar(255) NOT NULL,
  `code` varchar(255) DEFAULT NULL,
  `email` varchar(255) DEFAULT NULL,
  `phone` varchar(255) DEFAULT NULL,
  `website` varchar(255) DEFAULT NULL,
  `address` text DEFAULT NULL,
  `industry` varchar(255) DEFAULT NULL,
  `customer_group_id` bigint(20) UNSIGNED DEFAULT NULL,
  `is_active` tinyint(1) NOT NULL DEFAULT 1,
  `created_by_id` bigint(20) UNSIGNED DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

--
-- Table structure for table `compensatory_offs`
--

CREATE TABLE `compensatory_offs` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `user_id` bigint(20) UNSIGNED NOT NULL,
  `worked_date` date NOT NULL,
  `hours_worked` decimal(4,2) NOT NULL,
  `comp_off_days` decimal(3,2) NOT NULL DEFAULT 1.00,
  `reason` varchar(500) NOT NULL,
  `expiry_date` date NOT NULL,
  `is_used` tinyint(1) NOT NULL DEFAULT 0,
  `used_date` date DEFAULT NULL,
  `leave_request_id` bigint(20) UNSIGNED DEFAULT NULL,
  `status` varchar(50) NOT NULL DEFAULT 'pending',
  `approved_by_id` bigint(20) DEFAULT NULL,
  `approved_at` datetime DEFAULT NULL,
  `approval_notes` varchar(500) DEFAULT NULL,
  `created_by_id` bigint(20) UNSIGNED DEFAULT NULL,
  `updated_by_id` bigint(20) UNSIGNED DEFAULT NULL,
  `tenant_id` varchar(191) DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

--
-- Table structure for table `core_brands`
--

CREATE TABLE `core_brands` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `name` varchar(255) NOT NULL,
  `image` varchar(255) DEFAULT NULL,
  `description` text DEFAULT NULL,
  `is_active` tinyint(1) NOT NULL DEFAULT 1,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

--
-- Table structure for table `core_combo_items`
--

CREATE TABLE `core_combo_items` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `product_id` bigint(20) UNSIGNED NOT NULL,
  `item_product_id` bigint(20) UNSIGNED NOT NULL,
  `quantity` int(11) NOT NULL DEFAULT 1,
  `price_inc_tax` decimal(10,2) DEFAULT NULL COMMENT 'Override price if needed',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

--
-- Table structure for table `core_customers`
--

CREATE TABLE `core_customers` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `name` varchar(255) NOT NULL,
  `email` varchar(255) DEFAULT NULL,
  `phone` varchar(255) DEFAULT NULL,
  `address` text DEFAULT NULL,
  `city` varchar(255) DEFAULT NULL,
  `state` varchar(255) DEFAULT NULL,
  `country` varchar(255) DEFAULT NULL,
  `postal_code` varchar(255) DEFAULT NULL,
  `tax_id` varchar(255) DEFAULT NULL,
  `contact_person` varchar(255) DEFAULT NULL,
  `contact_phone` varchar(255) DEFAULT NULL,
  `contact_email` varchar(255) DEFAULT NULL,
  `payment_term_id` bigint(20) UNSIGNED DEFAULT NULL,
  `credit_limit` decimal(15,2) DEFAULT NULL,
  `notes` text DEFAULT NULL,
  `is_active` tinyint(1) NOT NULL DEFAULT 1,
  `created_by_id` bigint(20) UNSIGNED DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

--
-- Table structure for table `core_order_items`
--

CREATE TABLE `core_order_items` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `order_id` bigint(20) UNSIGNED NOT NULL,
  `order_type` varchar(255) NOT NULL,
  `product_id` bigint(20) UNSIGNED DEFAULT NULL,
  `product_name` varchar(255) NOT NULL,
  `product_sku` varchar(255) DEFAULT NULL,
  `quantity` int(11) NOT NULL DEFAULT 1,
  `quantity_received` decimal(15,2) NOT NULL DEFAULT 0.00,
  `quantity_shipped` decimal(15,2) NOT NULL DEFAULT 0.00,
  `unit_price` decimal(15,2) NOT NULL DEFAULT 0.00,
  `discount_percent` decimal(8,2) NOT NULL DEFAULT 0.00,
  `discount_amount` decimal(15,2) NOT NULL DEFAULT 0.00,
  `tax_percent` decimal(8,4) NOT NULL DEFAULT 0.0000,
  `tax_amount` decimal(15,2) NOT NULL DEFAULT 0.00,
  `line_total` decimal(15,2) NOT NULL DEFAULT 0.00,
  `notes` text DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

--
-- Table structure for table `core_payment_terms`
--

CREATE TABLE `core_payment_terms` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `name` varchar(255) NOT NULL,
  `days` int(11) NOT NULL DEFAULT 0,
  `description` text DEFAULT NULL,
  `is_active` tinyint(1) NOT NULL DEFAULT 1,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

--
-- Table structure for table `core_products`
--

CREATE TABLE `core_products` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `sku` varchar(255) NOT NULL,
  `name` varchar(255) NOT NULL,
  `type` varchar(255) NOT NULL DEFAULT 'standard' COMMENT 'standard, combo, digital, service',
  `description` text DEFAULT NULL,
  `weight` decimal(8,2) DEFAULT NULL,
  `category_id` bigint(20) UNSIGNED DEFAULT NULL,
  `brand_id` bigint(20) UNSIGNED DEFAULT NULL,
  `unit_id` bigint(20) UNSIGNED DEFAULT NULL COMMENT 'Sale Unit',
  `purchase_unit_id` bigint(20) UNSIGNED DEFAULT NULL COMMENT 'Purchase Unit',
  `unit_price` decimal(15,2) NOT NULL DEFAULT 0.00,
  `tax_type` varchar(255) NOT NULL DEFAULT 'exclusive',
  `order_tax` decimal(8,2) NOT NULL DEFAULT 0.00,
  `discount_type` varchar(255) DEFAULT NULL,
  `discount_value` decimal(10,2) NOT NULL DEFAULT 0.00,
  `cost_price` decimal(15,2) NOT NULL DEFAULT 0.00,
  `wholesale_price` decimal(10,2) DEFAULT NULL,
  `minimum_price` decimal(10,2) DEFAULT NULL,
  `quantity_in_stock` int(11) NOT NULL DEFAULT 0,
  `is_serialized` tinyint(1) NOT NULL DEFAULT 0,
  `reorder_level` int(11) NOT NULL DEFAULT 0,
  `warranty_period` int(11) DEFAULT NULL,
  `warranty_period_type` varchar(255) DEFAULT NULL,
  `has_guarantee` tinyint(1) NOT NULL DEFAULT 0,
  `guarantee_terms` text DEFAULT NULL,
  `unit_of_measure` varchar(255) DEFAULT NULL,
  `barcode` varchar(255) DEFAULT NULL,
  `barcode_symbology` varchar(255) NOT NULL DEFAULT 'Code128',
  `image` varchar(255) DEFAULT NULL,
  `is_active` tinyint(1) NOT NULL DEFAULT 1,
  `is_sale_allowed` tinyint(1) NOT NULL DEFAULT 1,
  `is_featured` tinyint(1) NOT NULL DEFAULT 0,
  `is_online_store_visible` tinyint(1) NOT NULL DEFAULT 1,
  `created_by_id` bigint(20) UNSIGNED DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

--
-- Table structure for table `core_product_categories`
--

CREATE TABLE `core_product_categories` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `name` varchar(255) NOT NULL,
  `description` text DEFAULT NULL,
  `parent_id` bigint(20) UNSIGNED DEFAULT NULL,
  `is_active` tinyint(1) NOT NULL DEFAULT 1,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

--
-- Table structure for table `core_purchase_orders`
--

CREATE TABLE `core_purchase_orders` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `order_number` varchar(255) NOT NULL,
  `supplier_id` bigint(20) UNSIGNED NOT NULL,
  `order_date` date NOT NULL,
  `expected_delivery_date` date DEFAULT NULL,
  `status` varchar(255) NOT NULL DEFAULT 'draft',
  `payment_status` varchar(255) NOT NULL DEFAULT 'unpaid',
  `payment_method` varchar(255) DEFAULT NULL,
  `subtotal` decimal(15,2) NOT NULL DEFAULT 0.00,
  `tax_amount` decimal(15,2) NOT NULL DEFAULT 0.00,
  `discount_amount` decimal(15,2) NOT NULL DEFAULT 0.00,
  `shipping_amount` decimal(15,2) NOT NULL DEFAULT 0.00,
  `total_amount` decimal(15,2) NOT NULL DEFAULT 0.00,
  `shipping_address` text DEFAULT NULL,
  `notes` text DEFAULT NULL,
  `internal_notes` text DEFAULT NULL,
  `user_id` bigint(20) UNSIGNED DEFAULT NULL,
  `created_by_id` bigint(20) UNSIGNED DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

--
-- Table structure for table `core_sales_orders`
--

CREATE TABLE `core_sales_orders` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `order_number` varchar(255) NOT NULL,
  `order_type` varchar(255) NOT NULL DEFAULT 'sales',
  `customer_id` bigint(20) UNSIGNED NOT NULL,
  `order_date` date NOT NULL,
  `expected_delivery_date` date DEFAULT NULL,
  `status` varchar(255) NOT NULL DEFAULT 'draft',
  `payment_status` varchar(255) NOT NULL DEFAULT 'unpaid',
  `payment_method` varchar(255) DEFAULT NULL,
  `subtotal` decimal(15,2) NOT NULL DEFAULT 0.00,
  `tax_amount` decimal(15,2) NOT NULL DEFAULT 0.00,
  `discount_amount` decimal(15,2) NOT NULL DEFAULT 0.00,
  `shipping_amount` decimal(15,2) NOT NULL DEFAULT 0.00,
  `total_amount` decimal(15,2) NOT NULL DEFAULT 0.00,
  `shipping_address` text DEFAULT NULL,
  `billing_address` text DEFAULT NULL,
  `notes` text DEFAULT NULL,
  `internal_notes` text DEFAULT NULL,
  `user_id` bigint(20) UNSIGNED DEFAULT NULL,
  `created_by_id` bigint(20) UNSIGNED DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

--
-- Table structure for table `core_suppliers`
--

CREATE TABLE `core_suppliers` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `name` varchar(255) NOT NULL,
  `email` varchar(255) DEFAULT NULL,
  `phone` varchar(255) DEFAULT NULL,
  `address` text DEFAULT NULL,
  `city` varchar(255) DEFAULT NULL,
  `state` varchar(255) DEFAULT NULL,
  `country` varchar(255) DEFAULT NULL,
  `postal_code` varchar(255) DEFAULT NULL,
  `tax_id` varchar(255) DEFAULT NULL,
  `contact_person` varchar(255) DEFAULT NULL,
  `contact_phone` varchar(255) DEFAULT NULL,
  `contact_email` varchar(255) DEFAULT NULL,
  `payment_term_id` bigint(20) UNSIGNED DEFAULT NULL,
  `bank_name` varchar(255) DEFAULT NULL,
  `bank_account` varchar(255) DEFAULT NULL,
  `notes` text DEFAULT NULL,
  `is_active` tinyint(1) NOT NULL DEFAULT 1,
  `created_by_id` bigint(20) UNSIGNED DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

--
-- Table structure for table `core_tax_configurations`
--

CREATE TABLE `core_tax_configurations` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `name` varchar(255) NOT NULL,
  `rate` decimal(8,4) NOT NULL DEFAULT 0.0000,
  `description` text DEFAULT NULL,
  `is_compound` tinyint(1) NOT NULL DEFAULT 0,
  `is_active` tinyint(1) NOT NULL DEFAULT 1,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

--
-- Table structure for table `core_units`
--

CREATE TABLE `core_units` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `name` varchar(255) NOT NULL,
  `short_name` varchar(255) NOT NULL,
  `base_unit_id` bigint(20) UNSIGNED DEFAULT NULL,
  `operator_value` decimal(10,2) NOT NULL DEFAULT 1.00,
  `operator` varchar(255) NOT NULL DEFAULT '*',
  `is_active` tinyint(1) NOT NULL DEFAULT 1,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

--
-- Table structure for table `customer_groups`
--

CREATE TABLE `customer_groups` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `name` varchar(255) NOT NULL,
  `code` varchar(255) DEFAULT NULL,
  `description` text DEFAULT NULL,
  `discount_percentage` decimal(5,2) NOT NULL DEFAULT 0.00,
  `is_active` tinyint(1) NOT NULL DEFAULT 1,
  `created_by_id` bigint(20) UNSIGNED DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

--
-- Table structure for table `deals`
--

CREATE TABLE `deals` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `title` varchar(255) NOT NULL,
  `lead_id` bigint(20) UNSIGNED DEFAULT NULL,
  `client_id` bigint(20) UNSIGNED DEFAULT NULL,
  `pipeline_id` bigint(20) UNSIGNED NOT NULL,
  `pipeline_stage_id` bigint(20) UNSIGNED NOT NULL,
  `amount` decimal(12,2) NOT NULL DEFAULT 0.00,
  `expected_close_date` date DEFAULT NULL,
  `probability` int(11) NOT NULL DEFAULT 0,
  `assigned_to` bigint(20) UNSIGNED DEFAULT NULL,
  `created_by_id` bigint(20) UNSIGNED NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

--
-- Table structure for table `departments`
--

CREATE TABLE `departments` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `name` varchar(191) NOT NULL,
  `code` varchar(100) NOT NULL,
  `notes` varchar(500) DEFAULT NULL,
  `parent_id` bigint(20) UNSIGNED DEFAULT NULL,
  `status` enum('active','inactive') NOT NULL DEFAULT 'active',
  `tenant_id` varchar(191) DEFAULT NULL,
  `created_by_id` bigint(20) UNSIGNED DEFAULT NULL,
  `updated_by_id` bigint(20) UNSIGNED DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `departments`
--

INSERT INTO `departments` (`id`, `name`, `code`, `notes`, `parent_id`, `status`, `tenant_id`, `created_by_id`, `updated_by_id`, `deleted_at`, `created_at`, `updated_at`) VALUES
(1, 'Head Office', 'SEB HO', NULL, NULL, 'active', NULL, NULL, NULL, NULL, '2026-01-14 12:44:02', '2026-01-15 10:20:03'),
(2, 'Operations', 'OPS', NULL, NULL, 'active', NULL, NULL, NULL, NULL, '2026-01-15 10:20:25', '2026-01-15 10:20:25');

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

--
-- Table structure for table `designations`
--

CREATE TABLE `designations` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `name` varchar(191) NOT NULL,
  `code` varchar(50) NOT NULL,
  `notes` varchar(500) DEFAULT NULL,
  `status` enum('active','inactive') NOT NULL DEFAULT 'active',
  `level` int(11) NOT NULL DEFAULT 0,
  `department_id` bigint(20) UNSIGNED DEFAULT NULL,
  `parent_id` bigint(20) UNSIGNED DEFAULT NULL,
  `tenant_id` varchar(191) DEFAULT NULL,
  `created_by_id` bigint(20) UNSIGNED DEFAULT NULL,
  `updated_by_id` bigint(20) UNSIGNED DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `designations`
--

INSERT INTO `designations` (`id`, `name`, `code`, `notes`, `status`, `level`, `department_id`, `parent_id`, `tenant_id`, `created_by_id`, `updated_by_id`, `deleted_at`, `created_at`, `updated_at`) VALUES
(1, 'Head of Operations', 'HOO', NULL, 'active', 0, 1, NULL, NULL, NULL, NULL, NULL, '2026-01-14 12:44:02', '2026-01-15 10:24:20'),
(2, 'Restaurant Manager', 'RM', NULL, 'active', 0, 2, NULL, NULL, NULL, NULL, NULL, '2026-01-15 10:22:14', '2026-01-15 10:23:17'),
(3, 'Assistant Restaurant Manager', 'ARM', NULL, 'active', 0, 2, NULL, NULL, NULL, NULL, NULL, '2026-01-15 10:24:51', '2026-01-15 10:28:04'),
(4, 'Restaurant Supervisor', 'RS', NULL, 'active', 0, 2, NULL, NULL, NULL, NULL, NULL, '2026-01-15 10:44:34', '2026-01-15 10:44:34'),
(5, 'Kitchen Staff', 'KS', NULL, 'active', 0, 2, NULL, NULL, NULL, NULL, NULL, '2026-01-15 10:49:37', '2026-01-15 10:49:37'),
(6, 'Dining Staff', 'DS', NULL, 'active', 0, 2, NULL, NULL, NULL, NULL, NULL, '2026-01-15 10:50:01', '2026-01-15 10:50:42'),
(7, 'Graphic Artist', 'GA', NULL, 'active', 0, 1, NULL, NULL, NULL, NULL, NULL, '2026-01-15 10:50:35', '2026-01-15 10:50:35'),
(8, 'Cashier', 'cash', NULL, 'active', 0, 1, NULL, NULL, NULL, NULL, NULL, '2026-01-15 13:54:31', '2026-01-15 13:54:31');

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

--
-- Table structure for table `device_sync_logs`
--

CREATE TABLE `device_sync_logs` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `attendance_device_id` bigint(20) UNSIGNED NOT NULL,
  `type` enum('handshake','attendance','command','error') NOT NULL DEFAULT 'attendance',
  `records_count` int(11) NOT NULL DEFAULT 0,
  `success_count` int(11) NOT NULL DEFAULT 0,
  `failed_count` int(11) NOT NULL DEFAULT 0,
  `status` enum('success','partial','failed') NOT NULL DEFAULT 'success',
  `details` text DEFAULT NULL,
  `source_ip` varchar(255) DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

--
-- Table structure for table `employee_daily_shifts`
--

CREATE TABLE `employee_daily_shifts` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `user_id` bigint(20) UNSIGNED NOT NULL,
  `shift_id` bigint(20) UNSIGNED DEFAULT NULL,
  `remarks` text DEFAULT NULL,
  `attachment` varchar(255) DEFAULT NULL,
  `date` date NOT NULL,
  `created_by` bigint(20) UNSIGNED DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `employee_daily_shifts`
--

INSERT INTO `employee_daily_shifts` (`id`, `user_id`, `shift_id`, `remarks`, `attachment`, `date`, `created_by`, `created_at`, `updated_at`) VALUES
(1, 2, 32, NULL, NULL, '2026-01-13', 1, '2026-01-15 15:00:41', '2026-01-22 10:57:33'),
(2, 2, 32, NULL, NULL, '2026-01-14', 1, '2026-01-15 15:02:38', '2026-01-22 10:57:50'),
(3, 2, 36, NULL, NULL, '2026-01-16', 1, '2026-01-15 15:10:12', '2026-02-09 13:57:18'),
(4, 2, 36, NULL, NULL, '2026-01-17', 1, '2026-01-15 15:10:21', '2026-01-22 10:59:06'),
(5, 2, 32, NULL, NULL, '2026-01-15', 1, '2026-01-15 15:52:37', '2026-01-22 10:58:25'),
(6, 8, 17, NULL, NULL, '2026-01-14', 1, '2026-01-15 16:26:17', '2026-01-22 10:54:53'),
(7, 1, 17, NULL, NULL, '2026-01-13', 1, '2026-01-15 16:26:27', '2026-01-22 10:56:29'),
(8, 9, NULL, NULL, NULL, '2026-01-13', 1, '2026-01-15 16:31:24', '2026-01-22 11:10:50'),
(9, 8, 17, NULL, NULL, '2026-01-16', 1, '2026-01-15 16:31:32', '2026-01-22 10:55:17'),
(10, 2, NULL, NULL, NULL, '2026-01-11', 1, '2026-01-22 10:32:13', '2026-01-22 10:32:13'),
(11, 3, 32, NULL, NULL, '2026-01-11', 1, '2026-01-22 10:51:04', '2026-01-22 10:51:04'),
(12, 4, 32, NULL, NULL, '2026-01-11', 1, '2026-01-22 10:51:13', '2026-02-20 09:49:10'),
(13, 5, NULL, NULL, NULL, '2026-01-11', 1, '2026-01-22 10:51:40', '2026-01-22 10:51:40'),
(14, 6, NULL, NULL, NULL, '2026-01-11', 1, '2026-01-22 10:51:50', '2026-01-22 10:51:50'),
(15, 7, 32, NULL, NULL, '2026-01-11', 1, '2026-01-22 10:52:04', '2026-01-22 10:52:04'),
(16, 9, NULL, NULL, NULL, '2026-01-11', 1, '2026-01-22 10:52:14', '2026-01-22 10:52:14'),
(17, 10, 32, NULL, NULL, '2026-01-11', 1, '2026-01-22 10:52:33', '2026-01-22 10:52:33'),
(18, 8, NULL, NULL, NULL, '2026-01-11', 1, '2026-01-22 10:53:16', '2026-01-22 10:53:57'),
(19, 1, NULL, NULL, NULL, '2026-01-11', 1, '2026-01-22 10:53:30', '2026-01-22 10:54:06'),
(20, 8, 17, NULL, NULL, '2026-01-12', 1, '2026-01-22 10:54:33', '2026-01-22 10:54:33'),
(21, 8, 17, NULL, NULL, '2026-01-13', 1, '2026-01-22 10:54:44', '2026-01-22 10:54:44'),
(22, 8, 17, NULL, NULL, '2026-01-15', 1, '2026-01-22 10:55:05', '2026-01-22 10:55:05'),
(23, 8, NULL, NULL, NULL, '2026-01-17', 1, '2026-01-22 10:55:29', '2026-01-22 10:55:29'),
(24, 8, NULL, NULL, NULL, '2026-01-18', 1, '2026-01-22 10:55:39', '2026-01-22 10:55:39'),
(25, 1, NULL, NULL, NULL, '2026-01-17', 1, '2026-01-22 10:55:52', '2026-01-22 10:55:52'),
(26, 1, NULL, NULL, NULL, '2026-01-18', 1, '2026-01-22 10:56:01', '2026-01-22 10:56:01'),
(27, 1, 17, NULL, NULL, '2026-01-12', 1, '2026-01-22 10:56:20', '2026-01-22 10:56:20'),
(28, 1, 17, NULL, NULL, '2026-01-14', 1, '2026-01-22 10:56:40', '2026-01-22 10:56:40'),
(29, 1, 17, NULL, NULL, '2026-01-15', 1, '2026-01-22 10:56:49', '2026-01-22 10:56:49'),
(30, 1, 17, NULL, NULL, '2026-01-16', 1, '2026-01-22 10:56:58', '2026-01-22 10:56:58'),
(31, 2, 32, NULL, NULL, '2026-01-12', 1, '2026-01-22 10:57:17', '2026-01-22 10:57:17'),
(32, 2, NULL, NULL, NULL, '2026-01-18', 1, '2026-01-22 10:59:16', '2026-01-22 10:59:16'),
(33, 3, 32, NULL, NULL, '2026-01-12', 1, '2026-01-22 10:59:59', '2026-01-22 10:59:59'),
(34, 3, 32, NULL, NULL, '2026-01-13', 1, '2026-01-22 11:00:15', '2026-01-22 11:00:15'),
(35, 3, 32, NULL, NULL, '2026-01-14', 1, '2026-01-22 11:00:37', '2026-01-22 11:00:37'),
(36, 3, NULL, NULL, NULL, '2026-01-15', 1, '2026-01-22 11:00:46', '2026-01-22 11:00:46'),
(37, 3, 32, NULL, NULL, '2026-01-16', 1, '2026-01-22 11:01:05', '2026-01-22 11:01:05'),
(38, 3, 32, NULL, NULL, '2026-01-17', 1, '2026-01-22 11:01:41', '2026-01-22 11:01:41'),
(39, 3, 32, NULL, NULL, '2026-01-18', 1, '2026-01-22 11:02:06', '2026-01-22 11:02:06'),
(40, 4, 32, NULL, NULL, '2026-01-12', 1, '2026-01-22 11:02:24', '2026-01-22 11:02:24'),
(41, 4, NULL, NULL, NULL, '2026-01-13', 1, '2026-01-22 11:02:33', '2026-01-22 11:02:33'),
(42, 4, 32, NULL, NULL, '2026-01-14', 1, '2026-01-22 11:02:50', '2026-01-22 11:02:50'),
(43, 4, 32, NULL, NULL, '2026-01-15', 1, '2026-01-22 11:03:08', '2026-01-22 11:03:08'),
(44, 4, 32, NULL, NULL, '2026-01-16', 1, '2026-01-22 11:03:21', '2026-01-22 11:03:21'),
(45, 4, 32, NULL, NULL, '2026-01-17', 1, '2026-01-22 11:03:33', '2026-01-22 11:03:33'),
(46, 4, 32, NULL, NULL, '2026-01-18', 1, '2026-01-22 11:03:48', '2026-01-22 11:03:48'),
(47, 5, 32, NULL, NULL, '2026-01-12', 1, '2026-01-22 11:04:11', '2026-01-22 11:04:11'),
(48, 5, 32, NULL, NULL, '2026-01-13', 1, '2026-01-22 11:04:49', '2026-01-22 11:04:49'),
(49, 5, 36, NULL, NULL, '2026-01-14', 1, '2026-01-22 11:05:02', '2026-03-11 10:16:54'),
(50, 5, 32, NULL, NULL, '2026-01-15', 1, '2026-01-22 11:05:46', '2026-01-22 11:05:46'),
(51, 5, NULL, NULL, NULL, '2026-01-18', 1, '2026-01-22 11:06:37', '2026-01-22 11:06:37'),
(52, 5, 36, NULL, NULL, '2026-01-16', 1, '2026-01-22 11:07:01', '2026-01-22 11:07:01'),
(53, 5, 36, NULL, NULL, '2026-01-17', 1, '2026-01-22 11:07:14', '2026-01-22 11:07:14'),
(54, 6, 32, NULL, NULL, '2026-01-12', 1, '2026-01-22 11:07:34', '2026-01-22 11:07:34'),
(55, 6, 32, NULL, NULL, '2026-01-13', 1, '2026-01-22 11:07:44', '2026-01-22 11:07:44'),
(56, 6, 32, NULL, NULL, '2026-01-14', 1, '2026-01-22 11:07:57', '2026-01-22 11:08:07'),
(57, 6, 32, NULL, NULL, '2026-01-15', 1, '2026-01-22 11:08:18', '2026-01-22 11:08:18'),
(58, 6, 36, NULL, NULL, '2026-01-16', 1, '2026-01-22 11:08:30', '2026-01-22 11:08:30'),
(59, 6, NULL, NULL, NULL, '2026-01-17', 1, '2026-01-22 11:08:39', '2026-01-22 11:08:39'),
(60, 6, NULL, NULL, NULL, '2026-01-18', 1, '2026-01-22 11:08:48', '2026-01-22 11:08:48'),
(61, 7, 32, NULL, NULL, '2026-01-12', 1, '2026-01-22 11:09:08', '2026-01-22 11:09:08'),
(62, 7, 32, NULL, NULL, '2026-01-13', 1, '2026-01-22 11:09:20', '2026-01-22 11:09:20'),
(63, 7, NULL, NULL, NULL, '2026-01-14', 1, '2026-01-22 11:09:27', '2026-01-22 11:09:27'),
(64, 7, NULL, NULL, NULL, '2026-01-15', 1, '2026-01-22 11:09:34', '2026-01-22 11:09:34'),
(65, 7, 32, NULL, NULL, '2026-01-18', 1, '2026-01-22 11:09:52', '2026-01-22 11:09:52'),
(66, 7, 36, NULL, NULL, '2026-01-16', 1, '2026-01-22 11:10:04', '2026-01-22 11:10:04'),
(67, 7, 36, NULL, NULL, '2026-01-17', 1, '2026-01-22 11:10:16', '2026-01-22 11:10:16'),
(68, 9, NULL, NULL, NULL, '2026-01-12', 1, '2026-01-22 11:10:42', '2026-01-22 11:10:42'),
(69, 9, 32, NULL, NULL, '2026-01-14', 1, '2026-01-22 11:11:03', '2026-01-22 11:11:03'),
(70, 9, 32, NULL, NULL, '2026-01-15', 1, '2026-01-22 11:11:14', '2026-01-22 11:11:14'),
(71, 9, 32, NULL, NULL, '2026-01-16', 1, '2026-01-22 11:11:26', '2026-01-22 11:11:26'),
(72, 9, 32, NULL, NULL, '2026-01-17', 1, '2026-01-22 11:11:38', '2026-01-22 11:11:38'),
(73, 9, 32, NULL, NULL, '2026-01-18', 1, '2026-01-22 11:11:51', '2026-01-22 11:11:51'),
(74, 10, NULL, NULL, NULL, '2026-01-12', 1, '2026-01-22 11:12:11', '2026-01-22 11:12:11'),
(75, 10, NULL, NULL, NULL, '2026-01-13', 1, '2026-01-22 11:12:18', '2026-01-22 11:12:18'),
(76, 10, 32, NULL, NULL, '2026-01-14', 1, '2026-01-22 11:12:30', '2026-01-22 11:12:30'),
(77, 10, 32, NULL, NULL, '2026-01-15', 1, '2026-01-22 11:12:41', '2026-01-22 11:12:41'),
(78, 10, 36, NULL, NULL, '2026-01-16', 1, '2026-01-22 11:12:52', '2026-01-22 11:12:52'),
(79, 10, 36, NULL, NULL, '2026-01-17', 1, '2026-01-22 11:13:04', '2026-01-22 11:13:04'),
(80, 10, 32, NULL, NULL, '2026-01-18', 1, '2026-01-22 11:13:22', '2026-01-22 11:13:22'),
(81, 2, 32, NULL, NULL, '2026-01-19', 1, '2026-01-22 11:19:55', '2026-01-22 11:19:55'),
(82, 2, 32, NULL, NULL, '2026-01-20', 1, '2026-01-22 11:20:16', '2026-01-22 11:20:16'),
(83, 2, 32, NULL, NULL, '2026-01-21', 1, '2026-01-22 11:20:25', '2026-01-22 11:20:25'),
(84, 2, 32, NULL, NULL, '2026-01-22', 1, '2026-01-22 11:20:36', '2026-01-22 11:20:36'),
(85, 2, 36, NULL, NULL, '2026-01-23', 1, '2026-01-22 11:20:47', '2026-01-22 11:20:47'),
(86, 2, 36, NULL, NULL, '2026-01-24', 1, '2026-01-22 11:21:00', '2026-01-22 11:21:00'),
(87, 2, NULL, NULL, NULL, '2026-01-25', 1, '2026-01-22 11:21:10', '2026-01-22 11:21:10'),
(88, 1, NULL, NULL, NULL, '2026-01-24', 1, '2026-01-22 11:21:24', '2026-01-22 11:21:24'),
(89, 1, NULL, NULL, NULL, '2026-01-25', 1, '2026-01-22 11:21:32', '2026-01-22 11:21:32'),
(90, 8, NULL, NULL, NULL, '2026-01-24', 1, '2026-01-22 11:23:19', '2026-01-22 11:23:19'),
(91, 8, NULL, NULL, NULL, '2026-01-25', 1, '2026-01-22 11:23:38', '2026-01-22 11:23:38'),
(92, 1, 17, NULL, NULL, '2026-01-19', 1, '2026-01-22 11:25:08', '2026-01-22 11:25:08'),
(93, 1, 17, NULL, NULL, '2026-01-20', 1, '2026-01-22 11:25:28', '2026-01-22 11:25:28'),
(94, 1, 17, NULL, NULL, '2026-01-21', 1, '2026-01-22 11:27:12', '2026-01-22 11:27:12'),
(95, 1, 17, NULL, NULL, '2026-01-22', 1, '2026-01-22 11:27:20', '2026-01-22 11:27:20'),
(96, 1, 17, NULL, NULL, '2026-01-23', 1, '2026-01-22 11:27:28', '2026-01-22 11:27:28'),
(97, 8, 17, NULL, NULL, '2026-01-19', 1, '2026-01-22 11:27:39', '2026-01-22 11:27:39'),
(98, 8, 17, NULL, NULL, '2026-01-20', 1, '2026-01-22 11:27:49', '2026-01-22 11:27:49'),
(99, 8, 17, NULL, NULL, '2026-01-21', 1, '2026-01-22 11:27:56', '2026-01-22 11:27:56'),
(100, 8, 17, NULL, NULL, '2026-01-22', 1, '2026-01-22 11:28:05', '2026-01-22 11:28:05'),
(101, 8, 17, NULL, NULL, '2026-01-23', 1, '2026-01-22 11:28:40', '2026-01-22 11:28:40'),
(102, 3, 32, NULL, NULL, '2026-01-19', 1, '2026-01-22 11:29:08', '2026-01-22 11:29:08'),
(103, 3, 32, NULL, NULL, '2026-01-20', 1, '2026-01-22 11:29:20', '2026-01-22 11:29:20'),
(104, 3, 32, NULL, NULL, '2026-01-21', 1, '2026-01-22 11:29:34', '2026-01-22 11:29:34'),
(105, 3, NULL, NULL, NULL, '2026-01-22', 1, '2026-01-22 11:29:43', '2026-01-22 11:29:43'),
(106, 3, 32, NULL, NULL, '2026-01-23', 1, '2026-01-22 11:29:55', '2026-01-22 11:29:55'),
(107, 3, 32, NULL, NULL, '2026-01-24', 1, '2026-01-22 11:30:07', '2026-01-22 11:30:07'),
(108, 3, 32, NULL, NULL, '2026-01-25', 1, '2026-01-22 11:30:21', '2026-01-22 11:30:21'),
(109, 4, 32, NULL, NULL, '2026-01-19', 1, '2026-01-22 11:31:05', '2026-01-22 11:31:05'),
(110, 4, NULL, NULL, NULL, '2026-01-20', 1, '2026-01-22 11:31:12', '2026-01-22 11:31:12'),
(111, 4, 32, NULL, NULL, '2026-01-21', 1, '2026-01-22 11:31:26', '2026-01-22 11:31:26'),
(112, 4, 32, NULL, NULL, '2026-01-22', 1, '2026-01-22 11:31:37', '2026-01-22 11:31:37'),
(113, 4, 32, NULL, NULL, '2026-01-23', 1, '2026-01-22 11:31:49', '2026-01-22 11:31:49'),
(114, 4, 32, NULL, NULL, '2026-01-25', 1, '2026-01-22 11:32:17', '2026-01-22 11:32:17'),
(115, 4, 36, NULL, NULL, '2026-01-24', 1, '2026-01-22 11:32:30', '2026-01-22 11:32:30'),
(116, 5, 32, NULL, NULL, '2026-01-19', 1, '2026-01-22 11:34:17', '2026-01-22 11:34:17'),
(117, 5, 32, NULL, NULL, '2026-01-20', 1, '2026-01-22 11:34:25', '2026-01-22 11:34:25'),
(118, 5, 32, NULL, NULL, '2026-01-21', 1, '2026-01-22 11:34:34', '2026-01-22 11:34:34'),
(119, 5, 32, NULL, NULL, '2026-01-22', 1, '2026-01-22 11:34:45', '2026-01-22 11:34:45'),
(120, 5, 36, NULL, NULL, '2026-01-23', 1, '2026-01-22 11:35:00', '2026-01-22 11:35:00'),
(121, 5, 36, NULL, NULL, '2026-01-24', 1, '2026-01-22 11:35:12', '2026-01-22 11:35:12'),
(122, 5, NULL, NULL, NULL, '2026-01-25', 1, '2026-01-22 11:35:20', '2026-01-22 11:35:20'),
(123, 6, 32, NULL, NULL, '2026-01-19', 1, '2026-01-22 11:48:15', '2026-01-22 11:48:15'),
(124, 6, 32, NULL, NULL, '2026-01-20', 1, '2026-01-22 11:48:26', '2026-01-22 11:48:26'),
(125, 6, 32, NULL, NULL, '2026-01-21', 1, '2026-01-22 11:48:35', '2026-01-22 11:48:35'),
(126, 6, 32, NULL, NULL, '2026-01-22', 1, '2026-01-22 11:48:45', '2026-01-22 11:48:45'),
(127, 6, 36, NULL, NULL, '2026-01-23', 1, '2026-01-22 11:48:57', '2026-01-22 11:48:57'),
(128, 6, NULL, NULL, NULL, '2026-01-24', 1, '2026-01-22 11:49:05', '2026-01-22 11:49:05'),
(129, 6, NULL, NULL, NULL, '2026-01-25', 1, '2026-01-22 11:49:14', '2026-01-22 11:49:14'),
(130, 7, 32, NULL, NULL, '2026-01-19', 1, '2026-01-22 11:49:32', '2026-01-22 11:49:32'),
(131, 7, 32, NULL, NULL, '2026-01-20', 1, '2026-01-22 11:49:41', '2026-01-22 11:49:41'),
(132, 7, NULL, NULL, NULL, '2026-01-21', 1, '2026-01-22 11:49:49', '2026-01-22 11:49:49'),
(133, 7, NULL, NULL, NULL, '2026-01-22', 1, '2026-01-22 11:49:57', '2026-01-22 11:49:57'),
(134, 7, 32, NULL, NULL, '2026-01-23', 1, '2026-01-22 11:50:14', '2026-01-22 11:50:14'),
(135, 7, 32, NULL, NULL, '2026-01-24', 1, '2026-01-22 11:50:25', '2026-01-22 11:50:25'),
(136, 7, 32, NULL, NULL, '2026-01-25', 1, '2026-01-22 11:50:36', '2026-01-22 11:50:36'),
(137, 9, 32, NULL, NULL, '2026-01-19', 1, '2026-01-22 11:50:56', '2026-01-22 11:50:56'),
(138, 9, NULL, NULL, NULL, '2026-01-20', 1, '2026-01-22 11:51:04', '2026-01-22 11:51:04'),
(139, 9, 32, NULL, NULL, '2026-01-21', 1, '2026-01-22 11:51:17', '2026-01-22 11:51:17'),
(140, 9, 32, NULL, NULL, '2026-01-22', 1, '2026-01-22 11:51:28', '2026-01-22 11:51:28'),
(141, 9, 36, NULL, NULL, '2026-01-23', 1, '2026-01-22 11:51:40', '2026-01-22 11:51:40'),
(142, 9, 36, NULL, NULL, '2026-01-24', 1, '2026-01-22 11:51:50', '2026-01-22 11:51:50'),
(143, 9, NULL, NULL, NULL, '2026-01-25', 1, '2026-01-22 11:51:59', '2026-01-22 11:51:59'),
(144, 10, NULL, NULL, NULL, '2026-01-19', 1, '2026-01-22 11:52:13', '2026-01-22 11:52:13'),
(145, 10, NULL, NULL, NULL, '2026-01-20', 1, '2026-01-22 11:52:22', '2026-01-22 11:52:22'),
(146, 10, 36, NULL, NULL, '2026-01-23', 1, '2026-01-22 11:52:35', '2026-01-22 11:52:35'),
(147, 10, 36, NULL, NULL, '2026-01-24', 1, '2026-01-22 11:52:47', '2026-01-22 11:52:47'),
(148, 10, 32, NULL, NULL, '2026-01-25', 1, '2026-01-22 11:53:01', '2026-01-22 11:53:01'),
(149, 10, 32, NULL, NULL, '2026-01-21', 1, '2026-01-22 11:53:13', '2026-01-22 11:53:13'),
(150, 10, 32, NULL, NULL, '2026-01-22', 1, '2026-01-22 11:53:24', '2026-01-22 11:53:24'),
(151, 1, NULL, NULL, NULL, '2026-01-31', 1, '2026-01-22 11:53:49', '2026-01-22 11:53:49'),
(152, 1, NULL, NULL, NULL, '2026-02-01', 1, '2026-01-22 11:53:57', '2026-01-22 11:53:57'),
(153, 8, NULL, NULL, NULL, '2026-01-31', 1, '2026-01-22 11:54:08', '2026-01-22 11:54:08'),
(154, 8, NULL, NULL, NULL, '2026-02-01', 1, '2026-01-22 11:54:17', '2026-01-22 11:54:17'),
(155, 1, 17, NULL, NULL, '2026-01-26', 1, '2026-01-22 11:54:30', '2026-01-22 11:54:30'),
(156, 1, 17, NULL, NULL, '2026-01-27', 1, '2026-01-22 11:54:40', '2026-01-22 11:54:40'),
(157, 1, 17, NULL, NULL, '2026-01-28', 1, '2026-01-22 11:54:48', '2026-01-22 11:54:48'),
(158, 1, 17, NULL, NULL, '2026-01-29', 1, '2026-01-22 11:54:57', '2026-01-22 11:54:57'),
(159, 1, 17, NULL, NULL, '2026-01-30', 1, '2026-01-22 11:55:05', '2026-01-22 11:55:05'),
(160, 8, 17, NULL, NULL, '2026-01-26', 1, '2026-01-22 11:55:14', '2026-01-22 11:55:14'),
(161, 8, 17, NULL, NULL, '2026-01-27', 1, '2026-01-22 11:55:22', '2026-01-22 11:55:22'),
(162, 8, 17, NULL, NULL, '2026-01-28', 1, '2026-01-22 11:55:30', '2026-01-22 11:55:30'),
(163, 8, 17, NULL, NULL, '2026-01-29', 1, '2026-01-22 11:55:38', '2026-01-22 11:55:38'),
(164, 8, 17, NULL, NULL, '2026-01-30', 1, '2026-01-22 11:55:49', '2026-01-22 11:55:49'),
(165, 2, NULL, NULL, NULL, '2026-02-08', 1, '2026-02-06 14:14:20', '2026-02-06 14:14:20'),
(166, 2, 1, NULL, NULL, '2026-02-07', 1, '2026-02-07 11:21:23', '2026-02-07 11:21:23'),
(167, 2, 32, NULL, NULL, '2026-03-11', 1, '2026-03-11 10:56:06', '2026-03-11 10:56:06'),
(168, 2, 32, NULL, NULL, '2026-03-12', 1, '2026-03-11 10:56:06', '2026-03-11 10:56:06'),
(169, 2, 32, NULL, NULL, '2026-03-13', 1, '2026-03-11 10:56:06', '2026-03-11 10:56:06'),
(170, 2, 32, NULL, NULL, '2026-03-14', 1, '2026-03-11 10:56:06', '2026-03-11 10:56:06'),
(171, 2, NULL, NULL, NULL, '2026-03-15', 1, '2026-03-11 10:56:06', '2026-03-11 11:23:22'),
(172, 2, 32, NULL, NULL, '2026-03-16', 1, '2026-03-11 10:56:06', '2026-03-11 10:56:06'),
(173, 2, 32, NULL, NULL, '2026-03-17', 1, '2026-03-11 10:56:06', '2026-03-11 10:56:06'),
(174, 2, 32, NULL, NULL, '2026-03-18', 1, '2026-03-11 10:56:06', '2026-03-11 10:56:06'),
(175, 2, 32, NULL, NULL, '2026-03-19', 1, '2026-03-11 10:56:06', '2026-03-11 10:56:06'),
(176, 2, 36, NULL, NULL, '2026-03-20', 1, '2026-03-11 10:56:06', '2026-03-17 11:59:24'),
(177, 2, 32, NULL, NULL, '2026-03-21', 1, '2026-03-11 10:56:06', '2026-03-11 10:56:06'),
(178, 2, NULL, NULL, NULL, '2026-03-22', 1, '2026-03-11 10:56:06', '2026-03-17 11:59:39'),
(179, 2, 32, NULL, NULL, '2026-03-23', 1, '2026-03-11 10:56:06', '2026-03-11 10:56:06'),
(180, 2, 32, NULL, NULL, '2026-03-24', 1, '2026-03-11 10:56:06', '2026-03-11 10:56:06'),
(181, 2, 32, NULL, NULL, '2026-03-25', 1, '2026-03-11 10:56:06', '2026-03-11 10:56:06'),
(182, 6, 32, NULL, NULL, '2026-03-11', 1, '2026-03-11 10:56:29', '2026-03-11 10:56:29'),
(183, 6, 32, NULL, NULL, '2026-03-12', 1, '2026-03-11 10:56:29', '2026-03-11 10:56:29'),
(184, 6, 32, NULL, NULL, '2026-03-13', 1, '2026-03-11 10:56:29', '2026-03-11 10:56:29'),
(185, 6, NULL, NULL, NULL, '2026-03-14', 1, '2026-03-11 10:56:29', '2026-03-11 11:23:56'),
(186, 6, NULL, NULL, NULL, '2026-03-15', 1, '2026-03-11 10:56:29', '2026-03-11 11:24:03'),
(187, 6, 32, NULL, NULL, '2026-03-16', 1, '2026-03-11 10:56:29', '2026-03-11 10:56:29'),
(188, 6, 32, NULL, NULL, '2026-03-17', 1, '2026-03-11 10:56:29', '2026-03-11 10:56:29'),
(189, 6, 32, NULL, NULL, '2026-03-18', 1, '2026-03-11 10:56:29', '2026-03-11 10:56:29'),
(190, 6, 32, NULL, NULL, '2026-03-19', 1, '2026-03-11 10:56:29', '2026-03-11 10:56:29'),
(191, 6, 36, NULL, NULL, '2026-03-20', 1, '2026-03-11 10:56:29', '2026-03-17 12:00:14'),
(192, 6, NULL, NULL, NULL, '2026-03-21', 1, '2026-03-11 10:56:29', '2026-03-17 12:00:34'),
(193, 6, NULL, NULL, NULL, '2026-03-22', 1, '2026-03-11 10:56:29', '2026-03-17 12:00:45'),
(194, 6, 32, NULL, NULL, '2026-03-23', 1, '2026-03-11 10:56:29', '2026-03-11 10:56:29'),
(195, 6, 32, NULL, NULL, '2026-03-24', 1, '2026-03-11 10:56:29', '2026-03-11 10:56:29'),
(196, 6, 32, NULL, NULL, '2026-03-25', 1, '2026-03-11 10:56:29', '2026-03-11 10:56:29'),
(197, 10, NULL, NULL, NULL, '2026-03-11', 1, '2026-03-11 10:56:44', '2026-03-11 11:25:07'),
(198, 10, 32, NULL, NULL, '2026-03-12', 1, '2026-03-11 10:56:44', '2026-03-11 10:56:44'),
(199, 10, 32, NULL, NULL, '2026-03-13', 1, '2026-03-11 10:56:44', '2026-03-11 10:56:44'),
(200, 10, 32, NULL, NULL, '2026-03-14', 1, '2026-03-11 10:56:44', '2026-03-11 10:56:44'),
(201, 10, 32, NULL, NULL, '2026-03-15', 1, '2026-03-11 10:56:44', '2026-03-11 10:56:44'),
(202, 10, 32, NULL, NULL, '2026-03-16', 1, '2026-03-11 10:56:44', '2026-03-11 10:56:44'),
(203, 10, 32, NULL, NULL, '2026-03-17', 1, '2026-03-11 10:56:44', '2026-03-11 10:56:44'),
(204, 10, 32, NULL, NULL, '2026-03-18', 1, '2026-03-11 10:56:44', '2026-03-11 10:56:44'),
(205, 10, 32, NULL, NULL, '2026-03-19', 1, '2026-03-11 10:56:44', '2026-03-11 10:56:44'),
(206, 10, 32, NULL, NULL, '2026-03-20', 1, '2026-03-11 10:56:44', '2026-03-11 10:56:44'),
(207, 10, 32, NULL, NULL, '2026-03-21', 1, '2026-03-11 10:56:44', '2026-03-11 10:56:44'),
(208, 10, 32, NULL, NULL, '2026-03-22', 1, '2026-03-11 10:56:44', '2026-03-11 10:56:44'),
(209, 10, 32, NULL, NULL, '2026-03-23', 1, '2026-03-11 10:56:44', '2026-03-11 10:56:44'),
(210, 10, 32, NULL, NULL, '2026-03-24', 1, '2026-03-11 10:56:44', '2026-03-11 10:56:44'),
(211, 10, 32, NULL, NULL, '2026-03-25', 1, '2026-03-11 10:56:44', '2026-03-11 10:56:44'),
(212, 7, NULL, NULL, NULL, '2026-03-11', 1, '2026-03-11 10:57:07', '2026-03-11 11:24:21'),
(213, 7, NULL, NULL, NULL, '2026-03-12', 1, '2026-03-11 10:57:07', '2026-03-11 11:24:28'),
(214, 7, 32, NULL, NULL, '2026-03-13', 1, '2026-03-11 10:57:07', '2026-03-11 10:57:07'),
(215, 7, 32, NULL, NULL, '2026-03-14', 1, '2026-03-11 10:57:07', '2026-03-11 10:57:07'),
(216, 7, 32, NULL, NULL, '2026-03-15', 1, '2026-03-11 10:57:07', '2026-03-11 10:57:07'),
(217, 7, 32, NULL, NULL, '2026-03-16', 1, '2026-03-11 10:57:07', '2026-03-11 10:57:07'),
(218, 7, NULL, NULL, NULL, '2026-03-17', 1, '2026-03-11 10:57:07', '2026-03-17 12:01:10'),
(219, 7, NULL, NULL, NULL, '2026-03-18', 1, '2026-03-11 10:57:07', '2026-03-17 12:01:19'),
(220, 7, NULL, NULL, NULL, '2026-03-19', 1, '2026-03-11 10:57:07', '2026-03-17 12:01:27'),
(221, 7, 32, NULL, NULL, '2026-03-20', 1, '2026-03-11 10:57:07', '2026-03-11 10:57:07'),
(222, 7, 32, NULL, NULL, '2026-03-21', 1, '2026-03-11 10:57:07', '2026-03-11 10:57:07'),
(223, 7, 32, NULL, NULL, '2026-03-22', 1, '2026-03-11 10:57:07', '2026-03-11 10:57:07'),
(224, 7, 32, NULL, NULL, '2026-03-23', 1, '2026-03-11 10:57:07', '2026-03-11 10:57:07'),
(225, 7, 32, NULL, NULL, '2026-03-24', 1, '2026-03-11 10:57:07', '2026-03-11 10:57:07'),
(226, 7, 32, NULL, NULL, '2026-03-25', 1, '2026-03-11 10:57:07', '2026-03-11 10:57:07'),
(227, 5, 32, NULL, NULL, '2026-03-11', 1, '2026-03-11 10:57:32', '2026-03-11 10:57:32'),
(228, 5, 32, NULL, NULL, '2026-03-12', 1, '2026-03-11 10:57:32', '2026-03-11 10:57:32'),
(229, 5, 32, NULL, NULL, '2026-03-13', 1, '2026-03-11 10:57:32', '2026-03-11 10:57:32'),
(230, 5, 32, NULL, NULL, '2026-03-14', 1, '2026-03-11 10:57:32', '2026-03-11 10:57:32'),
(231, 5, NULL, NULL, NULL, '2026-03-15', 1, '2026-03-11 10:57:32', '2026-03-11 11:23:33'),
(232, 5, 32, NULL, NULL, '2026-03-16', 1, '2026-03-11 10:57:32', '2026-03-11 10:57:32'),
(233, 5, 32, NULL, NULL, '2026-03-17', 1, '2026-03-11 10:57:32', '2026-03-11 10:57:32'),
(234, 5, 32, NULL, NULL, '2026-03-18', 1, '2026-03-11 10:57:32', '2026-03-11 10:57:32'),
(235, 5, 32, NULL, NULL, '2026-03-19', 1, '2026-03-11 10:57:32', '2026-03-11 10:57:32'),
(236, 5, 36, NULL, NULL, '2026-03-20', 1, '2026-03-11 10:57:32', '2026-03-17 12:02:13'),
(237, 5, 36, NULL, NULL, '2026-03-21', 1, '2026-03-11 10:57:32', '2026-03-17 12:02:23'),
(238, 5, NULL, NULL, NULL, '2026-03-22', 1, '2026-03-11 10:57:32', '2026-03-17 12:02:33'),
(239, 5, 32, NULL, NULL, '2026-03-23', 1, '2026-03-11 10:57:32', '2026-03-11 10:57:32'),
(240, 5, 32, NULL, NULL, '2026-03-24', 1, '2026-03-11 10:57:32', '2026-03-11 10:57:32'),
(241, 5, 32, NULL, NULL, '2026-03-25', 1, '2026-03-11 10:57:32', '2026-03-11 10:57:32'),
(242, 8, 17, NULL, NULL, '2026-03-11', 1, '2026-03-11 10:58:01', '2026-03-11 10:58:01'),
(243, 8, 17, NULL, NULL, '2026-03-12', 1, '2026-03-11 10:58:01', '2026-03-11 10:58:01'),
(244, 8, 17, NULL, NULL, '2026-03-13', 1, '2026-03-11 10:58:01', '2026-03-11 10:58:01'),
(245, 8, NULL, NULL, NULL, '2026-03-14', 1, '2026-03-11 10:58:01', '2026-03-11 11:03:06'),
(246, 8, NULL, NULL, NULL, '2026-03-15', 1, '2026-03-11 10:58:01', '2026-03-11 11:03:14'),
(247, 8, 17, NULL, NULL, '2026-03-16', 1, '2026-03-11 10:58:01', '2026-03-11 10:58:01'),
(248, 8, 17, NULL, NULL, '2026-03-17', 1, '2026-03-11 10:58:01', '2026-03-11 10:58:01'),
(249, 8, 17, NULL, NULL, '2026-03-18', 1, '2026-03-11 10:58:01', '2026-03-11 10:58:01'),
(250, 8, 17, NULL, NULL, '2026-03-19', 1, '2026-03-11 10:58:01', '2026-03-11 10:58:01'),
(251, 8, 17, NULL, NULL, '2026-03-20', 1, '2026-03-11 10:58:01', '2026-03-11 10:58:01'),
(252, 8, NULL, NULL, NULL, '2026-03-21', 1, '2026-03-11 10:58:01', '2026-03-11 11:03:33'),
(253, 8, NULL, NULL, NULL, '2026-03-22', 1, '2026-03-11 10:58:01', '2026-03-11 11:03:44'),
(254, 8, 17, NULL, NULL, '2026-03-23', 1, '2026-03-11 10:58:01', '2026-03-11 10:58:01'),
(255, 8, 17, NULL, NULL, '2026-03-24', 1, '2026-03-11 10:58:01', '2026-03-11 10:58:01'),
(256, 8, 17, NULL, NULL, '2026-03-25', 1, '2026-03-11 10:58:01', '2026-03-11 10:58:01'),
(257, 9, 32, NULL, NULL, '2026-03-11', 1, '2026-03-11 10:58:21', '2026-03-11 10:58:21'),
(258, 9, NULL, NULL, NULL, '2026-03-12', 1, '2026-03-11 10:58:21', '2026-03-11 11:24:45'),
(259, 9, 32, NULL, NULL, '2026-03-13', 1, '2026-03-11 10:58:21', '2026-03-11 10:58:21'),
(260, 9, 32, NULL, NULL, '2026-03-14', 1, '2026-03-11 10:58:21', '2026-03-11 10:58:21'),
(261, 9, NULL, NULL, NULL, '2026-03-15', 1, '2026-03-11 10:58:21', '2026-03-11 11:24:56'),
(262, 9, NULL, NULL, NULL, '2026-03-16', 1, '2026-03-11 10:58:21', '2026-03-17 12:02:54'),
(263, 9, 32, NULL, NULL, '2026-03-17', 1, '2026-03-11 10:58:21', '2026-03-11 10:58:21'),
(264, 9, NULL, NULL, NULL, '2026-03-18', 1, '2026-03-11 10:58:21', '2026-03-17 12:03:13'),
(265, 9, 32, NULL, NULL, '2026-03-19', 1, '2026-03-11 10:58:21', '2026-03-11 10:58:21'),
(266, 9, 36, NULL, NULL, '2026-03-20', 1, '2026-03-11 10:58:21', '2026-03-17 12:03:27'),
(267, 9, 36, NULL, NULL, '2026-03-21', 1, '2026-03-11 10:58:21', '2026-03-17 12:03:39'),
(268, 9, NULL, NULL, NULL, '2026-03-22', 1, '2026-03-11 10:58:21', '2026-03-17 12:03:55'),
(269, 9, 32, NULL, NULL, '2026-03-23', 1, '2026-03-11 10:58:21', '2026-03-11 10:58:21'),
(270, 9, 32, NULL, NULL, '2026-03-24', 1, '2026-03-11 10:58:21', '2026-03-11 10:58:21'),
(271, 9, 32, NULL, NULL, '2026-03-25', 1, '2026-03-11 10:58:21', '2026-03-11 10:58:21'),
(272, 4, 32, NULL, NULL, '2026-03-11', 1, '2026-03-11 10:58:41', '2026-03-11 10:58:41'),
(273, 4, 32, NULL, NULL, '2026-03-12', 1, '2026-03-11 10:58:41', '2026-03-11 10:58:41'),
(274, 4, 32, NULL, NULL, '2026-03-13', 1, '2026-03-11 10:58:41', '2026-03-11 10:58:41'),
(275, 4, 32, NULL, NULL, '2026-03-14', 1, '2026-03-11 10:58:41', '2026-03-11 10:58:41'),
(276, 4, 32, NULL, NULL, '2026-03-15', 1, '2026-03-11 10:58:41', '2026-03-11 10:58:41'),
(277, 4, 32, NULL, NULL, '2026-03-16', 1, '2026-03-11 10:58:41', '2026-03-11 10:58:41'),
(278, 4, NULL, NULL, NULL, '2026-03-17', 1, '2026-03-11 10:58:41', '2026-03-17 12:04:13'),
(279, 4, 32, NULL, NULL, '2026-03-18', 1, '2026-03-11 10:58:41', '2026-03-11 10:58:41'),
(280, 4, 32, NULL, NULL, '2026-03-19', 1, '2026-03-11 10:58:41', '2026-03-11 10:58:41'),
(281, 4, 32, NULL, NULL, '2026-03-20', 1, '2026-03-11 10:58:41', '2026-03-11 10:58:41'),
(282, 4, 36, NULL, NULL, '2026-03-21', 1, '2026-03-11 10:58:41', '2026-03-17 12:04:49'),
(283, 4, 32, NULL, NULL, '2026-03-22', 1, '2026-03-11 10:58:41', '2026-03-11 10:58:41'),
(284, 4, 32, NULL, NULL, '2026-03-23', 1, '2026-03-11 10:58:41', '2026-03-11 10:58:41'),
(285, 4, 32, NULL, NULL, '2026-03-24', 1, '2026-03-11 10:58:41', '2026-03-11 10:58:41'),
(286, 4, 32, NULL, NULL, '2026-03-25', 1, '2026-03-11 10:58:41', '2026-03-11 10:58:41'),
(287, 3, 32, NULL, NULL, '2026-03-11', 1, '2026-03-11 10:59:04', '2026-03-11 10:59:04'),
(288, 3, NULL, NULL, NULL, '2026-03-12', 1, '2026-03-11 10:59:04', '2026-03-11 11:23:02'),
(289, 3, 32, NULL, NULL, '2026-03-13', 1, '2026-03-11 10:59:04', '2026-03-11 10:59:04'),
(290, 3, 32, NULL, NULL, '2026-03-14', 1, '2026-03-11 10:59:04', '2026-03-11 10:59:04'),
(291, 3, 32, NULL, NULL, '2026-03-15', 1, '2026-03-11 10:59:04', '2026-03-11 10:59:04'),
(292, 3, 32, NULL, NULL, '2026-03-16', 1, '2026-03-11 10:59:04', '2026-03-11 10:59:04'),
(293, 3, 32, NULL, NULL, '2026-03-17', 1, '2026-03-11 10:59:04', '2026-03-11 10:59:04'),
(294, 3, 32, NULL, NULL, '2026-03-18', 1, '2026-03-11 10:59:04', '2026-03-11 10:59:04'),
(295, 3, NULL, NULL, NULL, '2026-03-19', 1, '2026-03-11 10:59:04', '2026-03-17 12:05:23'),
(296, 3, 32, NULL, NULL, '2026-03-20', 1, '2026-03-11 10:59:04', '2026-03-11 10:59:04'),
(297, 3, 32, NULL, NULL, '2026-03-21', 1, '2026-03-11 10:59:04', '2026-03-11 10:59:04'),
(298, 3, 32, NULL, NULL, '2026-03-22', 1, '2026-03-11 10:59:04', '2026-03-11 10:59:04'),
(299, 3, 32, NULL, NULL, '2026-03-23', 1, '2026-03-11 10:59:04', '2026-03-11 10:59:04'),
(300, 3, 32, NULL, NULL, '2026-03-24', 1, '2026-03-11 10:59:04', '2026-03-11 10:59:04'),
(301, 3, 32, NULL, NULL, '2026-03-25', 1, '2026-03-11 10:59:04', '2026-03-11 10:59:04'),
(302, 1, 17, NULL, NULL, '2026-03-11', 1, '2026-03-11 10:59:41', '2026-03-11 10:59:41'),
(303, 1, 17, NULL, NULL, '2026-03-12', 1, '2026-03-11 10:59:41', '2026-03-11 10:59:41'),
(304, 1, 17, NULL, NULL, '2026-03-13', 1, '2026-03-11 10:59:41', '2026-03-11 10:59:41'),
(305, 1, NULL, NULL, NULL, '2026-03-14', 1, '2026-03-11 10:59:41', '2026-03-11 11:00:39'),
(306, 1, NULL, NULL, NULL, '2026-03-15', 1, '2026-03-11 10:59:41', '2026-03-11 11:00:49'),
(307, 1, 17, NULL, NULL, '2026-03-16', 1, '2026-03-11 10:59:41', '2026-03-11 10:59:41'),
(308, 1, 17, NULL, NULL, '2026-03-17', 1, '2026-03-11 10:59:41', '2026-03-11 10:59:41'),
(309, 1, 17, NULL, NULL, '2026-03-18', 1, '2026-03-11 10:59:41', '2026-03-11 10:59:41'),
(310, 1, 17, NULL, NULL, '2026-03-19', 1, '2026-03-11 10:59:41', '2026-03-11 10:59:41'),
(311, 1, 17, NULL, NULL, '2026-03-20', 1, '2026-03-11 10:59:41', '2026-03-11 10:59:41'),
(312, 1, NULL, NULL, NULL, '2026-03-21', 1, '2026-03-11 10:59:41', '2026-03-11 11:01:17'),
(313, 1, NULL, NULL, NULL, '2026-03-22', 1, '2026-03-11 10:59:41', '2026-03-11 11:01:36'),
(314, 1, 17, NULL, NULL, '2026-03-23', 1, '2026-03-11 10:59:41', '2026-03-11 10:59:41'),
(315, 1, 17, NULL, NULL, '2026-03-24', 1, '2026-03-11 10:59:41', '2026-03-11 10:59:41'),
(316, 1, 17, NULL, NULL, '2026-03-25', 1, '2026-03-11 10:59:41', '2026-03-11 10:59:41'),
(317, 1, 17, NULL, NULL, '2026-03-26', 1, '2026-03-11 10:59:41', '2026-03-11 10:59:41'),
(318, 1, 17, NULL, NULL, '2026-03-27', 1, '2026-03-11 10:59:41', '2026-03-11 10:59:41'),
(319, 1, NULL, NULL, NULL, '2026-03-28', 1, '2026-03-11 10:59:41', '2026-03-11 11:02:02'),
(320, 1, NULL, NULL, NULL, '2026-03-29', 1, '2026-03-11 10:59:41', '2026-03-11 11:02:12'),
(321, 1, 17, NULL, NULL, '2026-03-30', 1, '2026-03-11 10:59:41', '2026-03-11 10:59:41'),
(322, 1, 17, NULL, NULL, '2026-03-31', 1, '2026-03-11 10:59:41', '2026-03-11 10:59:41'),
(323, 1, 17, NULL, NULL, '2026-04-01', 1, '2026-03-11 10:59:41', '2026-03-11 10:59:41'),
(324, 1, 17, NULL, NULL, '2026-04-02', 1, '2026-03-11 10:59:41', '2026-03-11 10:59:41'),
(325, 1, 17, NULL, NULL, '2026-04-03', 1, '2026-03-11 10:59:41', '2026-03-11 10:59:41'),
(326, 1, 17, NULL, NULL, '2026-04-04', 1, '2026-03-11 10:59:41', '2026-03-11 10:59:41'),
(327, 1, 17, NULL, NULL, '2026-04-05', 1, '2026-03-11 10:59:41', '2026-03-11 10:59:41'),
(328, 1, 17, NULL, NULL, '2026-04-06', 1, '2026-03-11 10:59:41', '2026-03-11 10:59:41'),
(329, 1, 17, NULL, NULL, '2026-04-07', 1, '2026-03-11 10:59:41', '2026-03-11 10:59:41'),
(330, 1, 17, NULL, NULL, '2026-04-08', 1, '2026-03-11 10:59:41', '2026-03-11 10:59:41'),
(331, 1, 17, NULL, NULL, '2026-04-09', 1, '2026-03-11 10:59:41', '2026-03-11 10:59:41'),
(332, 1, 17, NULL, NULL, '2026-04-10', 1, '2026-03-11 10:59:41', '2026-03-11 10:59:41'),
(333, 1, 17, NULL, NULL, '2026-04-11', 1, '2026-03-11 10:59:41', '2026-03-11 10:59:41'),
(334, 1, 17, NULL, NULL, '2026-04-12', 1, '2026-03-11 10:59:41', '2026-03-11 10:59:41'),
(335, 1, 17, NULL, NULL, '2026-04-13', 1, '2026-03-11 10:59:41', '2026-03-11 10:59:41'),
(336, 1, 17, NULL, NULL, '2026-04-14', 1, '2026-03-11 10:59:41', '2026-03-11 10:59:41'),
(337, 1, 17, NULL, NULL, '2026-04-15', 1, '2026-03-11 10:59:41', '2026-03-11 10:59:41'),
(338, 1, 17, NULL, NULL, '2026-04-16', 1, '2026-03-11 10:59:41', '2026-03-11 10:59:41'),
(339, 1, 17, NULL, NULL, '2026-04-17', 1, '2026-03-11 10:59:41', '2026-03-11 10:59:41'),
(340, 1, 17, NULL, NULL, '2026-04-18', 1, '2026-03-11 10:59:41', '2026-03-11 10:59:41'),
(341, 1, 17, NULL, NULL, '2026-04-19', 1, '2026-03-11 10:59:41', '2026-03-11 10:59:41'),
(342, 1, 17, NULL, NULL, '2026-04-20', 1, '2026-03-11 10:59:41', '2026-03-11 10:59:41'),
(343, 1, 17, NULL, NULL, '2026-04-21', 1, '2026-03-11 10:59:41', '2026-03-11 10:59:41'),
(344, 1, 17, NULL, NULL, '2026-04-22', 1, '2026-03-11 10:59:41', '2026-03-11 10:59:41'),
(345, 1, 17, NULL, NULL, '2026-04-23', 1, '2026-03-11 10:59:41', '2026-03-11 10:59:41'),
(346, 1, 17, NULL, NULL, '2026-04-24', 1, '2026-03-11 10:59:41', '2026-03-11 10:59:41'),
(347, 1, 17, NULL, NULL, '2026-04-25', 1, '2026-03-11 10:59:41', '2026-03-11 10:59:41'),
(348, 1, 17, NULL, NULL, '2026-04-26', 1, '2026-03-11 10:59:41', '2026-03-11 10:59:41'),
(349, 1, 17, NULL, NULL, '2026-04-27', 1, '2026-03-11 10:59:41', '2026-03-11 10:59:41'),
(350, 1, 17, NULL, NULL, '2026-04-28', 1, '2026-03-11 10:59:41', '2026-03-11 10:59:41'),
(351, 1, 17, NULL, NULL, '2026-04-29', 1, '2026-03-11 10:59:41', '2026-03-11 10:59:41'),
(352, 1, 17, NULL, NULL, '2026-04-30', 1, '2026-03-11 10:59:41', '2026-03-11 10:59:41'),
(353, 1, 17, NULL, NULL, '2026-05-01', 1, '2026-03-11 10:59:41', '2026-03-11 10:59:41'),
(354, 1, 17, NULL, NULL, '2026-05-02', 1, '2026-03-11 10:59:41', '2026-03-11 10:59:41'),
(355, 1, 17, NULL, NULL, '2026-05-03', 1, '2026-03-11 10:59:41', '2026-03-11 10:59:41'),
(356, 1, 17, NULL, NULL, '2026-05-04', 1, '2026-03-11 10:59:41', '2026-03-11 10:59:41'),
(357, 1, 17, NULL, NULL, '2026-05-05', 1, '2026-03-11 10:59:41', '2026-03-11 10:59:41'),
(358, 1, 17, NULL, NULL, '2026-05-06', 1, '2026-03-11 10:59:41', '2026-03-11 10:59:41'),
(359, 1, 17, NULL, NULL, '2026-05-07', 1, '2026-03-11 10:59:41', '2026-03-11 10:59:41'),
(360, 1, 17, NULL, NULL, '2026-05-08', 1, '2026-03-11 10:59:41', '2026-03-11 10:59:41'),
(361, 1, 17, NULL, NULL, '2026-05-09', 1, '2026-03-11 10:59:41', '2026-03-11 10:59:41'),
(362, 1, 17, NULL, NULL, '2026-05-10', 1, '2026-03-11 10:59:41', '2026-03-11 10:59:41'),
(363, 1, 17, NULL, NULL, '2026-05-11', 1, '2026-03-11 10:59:41', '2026-03-11 10:59:41'),
(364, 1, 17, NULL, NULL, '2026-05-12', 1, '2026-03-11 10:59:41', '2026-03-11 10:59:41'),
(365, 1, 17, NULL, NULL, '2026-05-13', 1, '2026-03-11 10:59:41', '2026-03-11 10:59:41'),
(366, 1, 17, NULL, NULL, '2026-05-14', 1, '2026-03-11 10:59:41', '2026-03-11 10:59:41'),
(367, 1, 17, NULL, NULL, '2026-05-15', 1, '2026-03-11 10:59:41', '2026-03-11 10:59:41'),
(368, 1, 17, NULL, NULL, '2026-05-16', 1, '2026-03-11 10:59:41', '2026-03-11 10:59:41'),
(369, 1, 17, NULL, NULL, '2026-05-17', 1, '2026-03-11 10:59:41', '2026-03-11 10:59:41'),
(370, 1, 17, NULL, NULL, '2026-05-18', 1, '2026-03-11 10:59:41', '2026-03-11 10:59:41'),
(371, 1, 17, NULL, NULL, '2026-05-19', 1, '2026-03-11 10:59:41', '2026-03-11 10:59:41'),
(372, 1, 17, NULL, NULL, '2026-05-20', 1, '2026-03-11 10:59:41', '2026-03-11 10:59:41'),
(373, 1, 17, NULL, NULL, '2026-05-21', 1, '2026-03-11 10:59:41', '2026-03-11 10:59:41'),
(374, 1, 17, NULL, NULL, '2026-05-22', 1, '2026-03-11 10:59:41', '2026-03-11 10:59:41'),
(375, 1, 17, NULL, NULL, '2026-05-23', 1, '2026-03-11 10:59:41', '2026-03-11 10:59:41'),
(376, 1, 17, NULL, NULL, '2026-05-24', 1, '2026-03-11 10:59:41', '2026-03-11 10:59:41'),
(377, 1, 17, NULL, NULL, '2026-05-25', 1, '2026-03-11 10:59:41', '2026-03-11 10:59:41'),
(378, 1, 17, NULL, NULL, '2026-05-26', 1, '2026-03-11 10:59:41', '2026-03-11 10:59:41'),
(379, 1, 17, NULL, NULL, '2026-05-27', 1, '2026-03-11 10:59:41', '2026-03-11 10:59:41'),
(380, 1, 17, NULL, NULL, '2026-05-28', 1, '2026-03-11 10:59:41', '2026-03-11 10:59:41'),
(381, 1, 17, NULL, NULL, '2026-05-29', 1, '2026-03-11 10:59:41', '2026-03-11 10:59:41'),
(382, 1, 17, NULL, NULL, '2026-05-30', 1, '2026-03-11 10:59:41', '2026-03-11 10:59:41'),
(383, 1, 17, NULL, NULL, '2026-05-31', 1, '2026-03-11 10:59:41', '2026-03-11 10:59:41'),
(384, 1, 17, NULL, NULL, '2026-06-01', 1, '2026-03-11 10:59:41', '2026-03-11 10:59:41'),
(385, 1, 17, NULL, NULL, '2026-06-02', 1, '2026-03-11 10:59:41', '2026-03-11 10:59:41'),
(386, 1, 17, NULL, NULL, '2026-06-03', 1, '2026-03-11 10:59:41', '2026-03-11 10:59:41'),
(387, 1, 17, NULL, NULL, '2026-06-04', 1, '2026-03-11 10:59:41', '2026-03-11 10:59:41'),
(388, 1, 17, NULL, NULL, '2026-06-05', 1, '2026-03-11 10:59:41', '2026-03-11 10:59:41'),
(389, 1, 17, NULL, NULL, '2026-06-06', 1, '2026-03-11 10:59:41', '2026-03-11 10:59:41'),
(390, 1, 17, NULL, NULL, '2026-06-07', 1, '2026-03-11 10:59:41', '2026-03-11 10:59:41'),
(391, 1, 17, NULL, NULL, '2026-06-08', 1, '2026-03-11 10:59:41', '2026-03-11 10:59:41'),
(392, 1, 17, NULL, NULL, '2026-06-09', 1, '2026-03-11 10:59:41', '2026-03-11 10:59:41'),
(393, 1, 17, NULL, NULL, '2026-06-10', 1, '2026-03-11 10:59:41', '2026-03-11 10:59:41'),
(394, 1, 17, NULL, NULL, '2026-06-11', 1, '2026-03-11 10:59:41', '2026-03-11 10:59:41'),
(395, 1, 17, NULL, NULL, '2026-06-12', 1, '2026-03-11 10:59:41', '2026-03-11 10:59:41'),
(396, 1, 17, NULL, NULL, '2026-06-13', 1, '2026-03-11 10:59:41', '2026-03-11 10:59:41'),
(397, 1, 17, NULL, NULL, '2026-06-14', 1, '2026-03-11 10:59:41', '2026-03-11 10:59:41'),
(398, 1, 17, NULL, NULL, '2026-06-15', 1, '2026-03-11 10:59:41', '2026-03-11 10:59:41'),
(399, 1, 17, NULL, NULL, '2026-06-16', 1, '2026-03-11 10:59:41', '2026-03-11 10:59:41'),
(400, 1, 17, NULL, NULL, '2026-06-17', 1, '2026-03-11 10:59:41', '2026-03-11 10:59:41'),
(401, 1, 17, NULL, NULL, '2026-06-18', 1, '2026-03-11 10:59:41', '2026-03-11 10:59:41'),
(402, 1, 17, NULL, NULL, '2026-06-19', 1, '2026-03-11 10:59:41', '2026-03-11 10:59:41'),
(403, 1, 17, NULL, NULL, '2026-06-20', 1, '2026-03-11 10:59:41', '2026-03-11 10:59:41'),
(404, 1, 17, NULL, NULL, '2026-06-21', 1, '2026-03-11 10:59:41', '2026-03-11 10:59:41'),
(405, 1, 17, NULL, NULL, '2026-06-22', 1, '2026-03-11 10:59:41', '2026-03-11 10:59:41'),
(406, 1, 17, NULL, NULL, '2026-06-23', 1, '2026-03-11 10:59:41', '2026-03-11 10:59:41'),
(407, 1, 17, NULL, NULL, '2026-06-24', 1, '2026-03-11 10:59:41', '2026-03-11 10:59:41'),
(408, 1, 17, NULL, NULL, '2026-06-25', 1, '2026-03-11 10:59:41', '2026-03-11 10:59:41'),
(409, 1, 17, NULL, NULL, '2026-06-26', 1, '2026-03-11 10:59:41', '2026-03-11 10:59:41'),
(410, 1, 17, NULL, NULL, '2026-06-27', 1, '2026-03-11 10:59:41', '2026-03-11 10:59:41'),
(411, 1, 17, NULL, NULL, '2026-06-28', 1, '2026-03-11 10:59:41', '2026-03-11 10:59:41'),
(412, 1, 17, NULL, NULL, '2026-06-29', 1, '2026-03-11 10:59:41', '2026-03-11 10:59:41'),
(413, 1, 17, NULL, NULL, '2026-06-30', 1, '2026-03-11 10:59:41', '2026-03-11 10:59:41'),
(414, 1, 17, NULL, NULL, '2026-07-01', 1, '2026-03-11 10:59:41', '2026-03-11 10:59:41'),
(415, 1, 17, NULL, NULL, '2026-07-02', 1, '2026-03-11 10:59:41', '2026-03-11 10:59:41'),
(416, 1, 17, NULL, NULL, '2026-07-03', 1, '2026-03-11 10:59:41', '2026-03-11 10:59:41'),
(417, 1, 17, NULL, NULL, '2026-07-04', 1, '2026-03-11 10:59:41', '2026-03-11 10:59:41'),
(418, 1, 17, NULL, NULL, '2026-07-05', 1, '2026-03-11 10:59:41', '2026-03-11 10:59:41'),
(419, 1, 17, NULL, NULL, '2026-07-06', 1, '2026-03-11 10:59:41', '2026-03-11 10:59:41'),
(420, 1, 17, NULL, NULL, '2026-07-07', 1, '2026-03-11 10:59:41', '2026-03-11 10:59:41'),
(421, 1, 17, NULL, NULL, '2026-07-08', 1, '2026-03-11 10:59:41', '2026-03-11 10:59:41'),
(422, 1, 17, NULL, NULL, '2026-07-09', 1, '2026-03-11 10:59:41', '2026-03-11 10:59:41'),
(423, 1, 17, NULL, NULL, '2026-07-10', 1, '2026-03-11 10:59:41', '2026-03-11 10:59:41'),
(424, 1, 17, NULL, NULL, '2026-07-11', 1, '2026-03-11 10:59:41', '2026-03-11 10:59:41'),
(425, 1, 17, NULL, NULL, '2026-07-12', 1, '2026-03-11 10:59:41', '2026-03-11 10:59:41'),
(426, 1, 17, NULL, NULL, '2026-07-13', 1, '2026-03-11 10:59:41', '2026-03-11 10:59:41'),
(427, 1, 17, NULL, NULL, '2026-07-14', 1, '2026-03-11 10:59:41', '2026-03-11 10:59:41'),
(428, 1, 17, NULL, NULL, '2026-07-15', 1, '2026-03-11 10:59:41', '2026-03-11 10:59:41'),
(429, 1, 17, NULL, NULL, '2026-07-16', 1, '2026-03-11 10:59:41', '2026-03-11 10:59:41'),
(430, 1, 17, NULL, NULL, '2026-07-17', 1, '2026-03-11 10:59:41', '2026-03-11 10:59:41'),
(431, 1, 17, NULL, NULL, '2026-07-18', 1, '2026-03-11 10:59:41', '2026-03-11 10:59:41'),
(432, 1, 17, NULL, NULL, '2026-07-19', 1, '2026-03-11 10:59:41', '2026-03-11 10:59:41'),
(433, 1, 17, NULL, NULL, '2026-07-20', 1, '2026-03-11 10:59:41', '2026-03-11 10:59:41'),
(434, 1, 17, NULL, NULL, '2026-07-21', 1, '2026-03-11 10:59:41', '2026-03-11 10:59:41'),
(435, 1, 17, NULL, NULL, '2026-07-22', 1, '2026-03-11 10:59:41', '2026-03-11 10:59:41'),
(436, 1, 17, NULL, NULL, '2026-07-23', 1, '2026-03-11 10:59:41', '2026-03-11 10:59:41'),
(437, 1, 17, NULL, NULL, '2026-07-24', 1, '2026-03-11 10:59:41', '2026-03-11 10:59:41'),
(438, 1, 17, NULL, NULL, '2026-07-25', 1, '2026-03-11 10:59:41', '2026-03-11 10:59:41'),
(439, 1, 17, NULL, NULL, '2026-07-26', 1, '2026-03-11 10:59:41', '2026-03-11 10:59:41'),
(440, 1, 17, NULL, NULL, '2026-07-27', 1, '2026-03-11 10:59:41', '2026-03-11 10:59:41'),
(441, 1, 17, NULL, NULL, '2026-07-28', 1, '2026-03-11 10:59:41', '2026-03-11 10:59:41'),
(442, 1, 17, NULL, NULL, '2026-07-29', 1, '2026-03-11 10:59:41', '2026-03-11 10:59:41'),
(443, 1, 17, NULL, NULL, '2026-07-30', 1, '2026-03-11 10:59:41', '2026-03-11 10:59:41'),
(444, 1, 17, NULL, NULL, '2026-07-31', 1, '2026-03-11 10:59:41', '2026-03-11 10:59:41'),
(445, 1, 17, NULL, NULL, '2026-08-01', 1, '2026-03-11 10:59:41', '2026-03-11 10:59:41'),
(446, 1, 17, NULL, NULL, '2026-08-02', 1, '2026-03-11 10:59:41', '2026-03-11 10:59:41'),
(447, 1, 17, NULL, NULL, '2026-08-03', 1, '2026-03-11 10:59:41', '2026-03-11 10:59:41'),
(448, 1, 17, NULL, NULL, '2026-08-04', 1, '2026-03-11 10:59:41', '2026-03-11 10:59:41'),
(449, 1, 17, NULL, NULL, '2026-08-05', 1, '2026-03-11 10:59:41', '2026-03-11 10:59:41'),
(450, 1, 17, NULL, NULL, '2026-08-06', 1, '2026-03-11 10:59:41', '2026-03-11 10:59:41'),
(451, 1, 17, NULL, NULL, '2026-08-07', 1, '2026-03-11 10:59:41', '2026-03-11 10:59:41'),
(452, 1, 17, NULL, NULL, '2026-08-08', 1, '2026-03-11 10:59:41', '2026-03-11 10:59:41'),
(453, 1, 17, NULL, NULL, '2026-08-09', 1, '2026-03-11 10:59:41', '2026-03-11 10:59:41'),
(454, 1, 17, NULL, NULL, '2026-08-10', 1, '2026-03-11 10:59:41', '2026-03-11 10:59:41'),
(455, 1, 17, NULL, NULL, '2026-08-11', 1, '2026-03-11 10:59:41', '2026-03-11 10:59:41'),
(456, 1, 17, NULL, NULL, '2026-08-12', 1, '2026-03-11 10:59:41', '2026-03-11 10:59:41'),
(457, 1, 17, NULL, NULL, '2026-08-13', 1, '2026-03-11 10:59:41', '2026-03-11 10:59:41'),
(458, 1, 17, NULL, NULL, '2026-08-14', 1, '2026-03-11 10:59:41', '2026-03-11 10:59:41'),
(459, 1, 17, NULL, NULL, '2026-08-15', 1, '2026-03-11 10:59:41', '2026-03-11 10:59:41'),
(460, 1, 17, NULL, NULL, '2026-08-16', 1, '2026-03-11 10:59:41', '2026-03-11 10:59:41'),
(461, 1, 17, NULL, NULL, '2026-08-17', 1, '2026-03-11 10:59:41', '2026-03-11 10:59:41'),
(462, 1, 17, NULL, NULL, '2026-08-18', 1, '2026-03-11 10:59:41', '2026-03-11 10:59:41'),
(463, 1, 17, NULL, NULL, '2026-08-19', 1, '2026-03-11 10:59:41', '2026-03-11 10:59:41'),
(464, 1, 17, NULL, NULL, '2026-08-20', 1, '2026-03-11 10:59:41', '2026-03-11 10:59:41'),
(465, 1, 17, NULL, NULL, '2026-08-21', 1, '2026-03-11 10:59:41', '2026-03-11 10:59:41'),
(466, 1, 17, NULL, NULL, '2026-08-22', 1, '2026-03-11 10:59:41', '2026-03-11 10:59:41'),
(467, 1, 17, NULL, NULL, '2026-08-23', 1, '2026-03-11 10:59:41', '2026-03-11 10:59:41'),
(468, 1, 17, NULL, NULL, '2026-08-24', 1, '2026-03-11 10:59:41', '2026-03-11 10:59:41'),
(469, 1, 17, NULL, NULL, '2026-08-25', 1, '2026-03-11 10:59:41', '2026-03-11 10:59:41'),
(470, 1, 17, NULL, NULL, '2026-08-26', 1, '2026-03-11 10:59:41', '2026-03-11 10:59:41'),
(471, 1, 17, NULL, NULL, '2026-08-27', 1, '2026-03-11 10:59:41', '2026-03-11 10:59:41'),
(472, 1, 17, NULL, NULL, '2026-08-28', 1, '2026-03-11 10:59:41', '2026-03-11 10:59:41'),
(473, 1, 17, NULL, NULL, '2026-08-29', 1, '2026-03-11 10:59:41', '2026-03-11 10:59:41'),
(474, 1, 17, NULL, NULL, '2026-08-30', 1, '2026-03-11 10:59:41', '2026-03-11 10:59:41'),
(475, 1, 17, NULL, NULL, '2026-08-31', 1, '2026-03-11 10:59:41', '2026-03-11 10:59:41'),
(476, 1, 17, NULL, NULL, '2026-09-01', 1, '2026-03-11 10:59:41', '2026-03-11 10:59:41'),
(477, 1, 17, NULL, NULL, '2026-09-02', 1, '2026-03-11 10:59:41', '2026-03-11 10:59:41'),
(478, 1, 17, NULL, NULL, '2026-09-03', 1, '2026-03-11 10:59:41', '2026-03-11 10:59:41'),
(479, 1, 17, NULL, NULL, '2026-09-04', 1, '2026-03-11 10:59:41', '2026-03-11 10:59:41'),
(480, 1, 17, NULL, NULL, '2026-09-05', 1, '2026-03-11 10:59:41', '2026-03-11 10:59:41'),
(481, 1, 17, NULL, NULL, '2026-09-06', 1, '2026-03-11 10:59:41', '2026-03-11 10:59:41'),
(482, 1, 17, NULL, NULL, '2026-09-07', 1, '2026-03-11 10:59:41', '2026-03-11 10:59:41'),
(483, 1, 17, NULL, NULL, '2026-09-08', 1, '2026-03-11 10:59:41', '2026-03-11 10:59:41'),
(484, 1, 17, NULL, NULL, '2026-09-09', 1, '2026-03-11 10:59:41', '2026-03-11 10:59:41'),
(485, 1, 17, NULL, NULL, '2026-09-10', 1, '2026-03-11 10:59:41', '2026-03-11 10:59:41'),
(486, 1, 17, NULL, NULL, '2026-09-11', 1, '2026-03-11 10:59:41', '2026-03-11 10:59:41'),
(487, 1, 17, NULL, NULL, '2026-09-12', 1, '2026-03-11 10:59:41', '2026-03-11 10:59:41'),
(488, 1, 17, NULL, NULL, '2026-09-13', 1, '2026-03-11 10:59:41', '2026-03-11 10:59:41'),
(489, 1, 17, NULL, NULL, '2026-09-14', 1, '2026-03-11 10:59:41', '2026-03-11 10:59:41'),
(490, 1, 17, NULL, NULL, '2026-09-15', 1, '2026-03-11 10:59:41', '2026-03-11 10:59:41'),
(491, 1, 17, NULL, NULL, '2026-09-16', 1, '2026-03-11 10:59:41', '2026-03-11 10:59:41'),
(492, 1, 17, NULL, NULL, '2026-09-17', 1, '2026-03-11 10:59:41', '2026-03-11 10:59:41'),
(493, 1, 17, NULL, NULL, '2026-09-18', 1, '2026-03-11 10:59:41', '2026-03-11 10:59:41'),
(494, 1, 17, NULL, NULL, '2026-09-19', 1, '2026-03-11 10:59:41', '2026-03-11 10:59:41'),
(495, 1, 17, NULL, NULL, '2026-09-20', 1, '2026-03-11 10:59:41', '2026-03-11 10:59:41'),
(496, 1, 17, NULL, NULL, '2026-09-21', 1, '2026-03-11 10:59:41', '2026-03-11 10:59:41'),
(497, 1, 17, NULL, NULL, '2026-09-22', 1, '2026-03-11 10:59:41', '2026-03-11 10:59:41'),
(498, 1, 17, NULL, NULL, '2026-09-23', 1, '2026-03-11 10:59:41', '2026-03-11 10:59:41'),
(499, 1, 17, NULL, NULL, '2026-09-24', 1, '2026-03-11 10:59:41', '2026-03-11 10:59:41'),
(500, 1, 17, NULL, NULL, '2026-09-25', 1, '2026-03-11 10:59:41', '2026-03-11 10:59:41'),
(501, 1, 17, NULL, NULL, '2026-09-26', 1, '2026-03-11 10:59:41', '2026-03-11 10:59:41'),
(502, 1, 17, NULL, NULL, '2026-09-27', 1, '2026-03-11 10:59:41', '2026-03-11 10:59:41'),
(503, 1, 17, NULL, NULL, '2026-09-28', 1, '2026-03-11 10:59:41', '2026-03-11 10:59:41'),
(504, 1, 17, NULL, NULL, '2026-09-29', 1, '2026-03-11 10:59:41', '2026-03-11 10:59:41'),
(505, 1, 17, NULL, NULL, '2026-09-30', 1, '2026-03-11 10:59:41', '2026-03-11 10:59:41'),
(506, 1, 17, NULL, NULL, '2026-10-01', 1, '2026-03-11 10:59:41', '2026-03-11 10:59:41'),
(507, 1, 17, NULL, NULL, '2026-10-02', 1, '2026-03-11 10:59:41', '2026-03-11 10:59:41'),
(508, 1, 17, NULL, NULL, '2026-10-03', 1, '2026-03-11 10:59:41', '2026-03-11 10:59:41'),
(509, 1, 17, NULL, NULL, '2026-10-04', 1, '2026-03-11 10:59:41', '2026-03-11 10:59:41'),
(510, 1, 17, NULL, NULL, '2026-10-05', 1, '2026-03-11 10:59:41', '2026-03-11 10:59:41'),
(511, 1, 17, NULL, NULL, '2026-10-06', 1, '2026-03-11 10:59:41', '2026-03-11 10:59:41'),
(512, 1, 17, NULL, NULL, '2026-10-07', 1, '2026-03-11 10:59:41', '2026-03-11 10:59:41'),
(513, 1, 17, NULL, NULL, '2026-10-08', 1, '2026-03-11 10:59:41', '2026-03-11 10:59:41'),
(514, 1, 17, NULL, NULL, '2026-10-09', 1, '2026-03-11 10:59:41', '2026-03-11 10:59:41'),
(515, 1, 17, NULL, NULL, '2026-10-10', 1, '2026-03-11 10:59:41', '2026-03-11 10:59:41'),
(516, 1, 17, NULL, NULL, '2026-10-11', 1, '2026-03-11 10:59:41', '2026-03-11 10:59:41'),
(517, 1, 17, NULL, NULL, '2026-10-12', 1, '2026-03-11 10:59:41', '2026-03-11 10:59:41'),
(518, 1, 17, NULL, NULL, '2026-10-13', 1, '2026-03-11 10:59:41', '2026-03-11 10:59:41'),
(519, 1, 17, NULL, NULL, '2026-10-14', 1, '2026-03-11 10:59:41', '2026-03-11 10:59:41'),
(520, 1, 17, NULL, NULL, '2026-10-15', 1, '2026-03-11 10:59:41', '2026-03-11 10:59:41'),
(521, 1, 17, NULL, NULL, '2026-10-16', 1, '2026-03-11 10:59:41', '2026-03-11 10:59:41'),
(522, 1, 17, NULL, NULL, '2026-10-17', 1, '2026-03-11 10:59:41', '2026-03-11 10:59:41'),
(523, 1, 17, NULL, NULL, '2026-10-18', 1, '2026-03-11 10:59:41', '2026-03-11 10:59:41'),
(524, 1, 17, NULL, NULL, '2026-10-19', 1, '2026-03-11 10:59:41', '2026-03-11 10:59:41'),
(525, 1, 17, NULL, NULL, '2026-10-20', 1, '2026-03-11 10:59:41', '2026-03-11 10:59:41'),
(526, 1, 17, NULL, NULL, '2026-10-21', 1, '2026-03-11 10:59:41', '2026-03-11 10:59:41'),
(527, 1, 17, NULL, NULL, '2026-10-22', 1, '2026-03-11 10:59:41', '2026-03-11 10:59:41'),
(528, 1, 17, NULL, NULL, '2026-10-23', 1, '2026-03-11 10:59:41', '2026-03-11 10:59:41'),
(529, 1, 17, NULL, NULL, '2026-10-24', 1, '2026-03-11 10:59:41', '2026-03-11 10:59:41'),
(530, 1, 17, NULL, NULL, '2026-10-25', 1, '2026-03-11 10:59:41', '2026-03-11 10:59:41'),
(531, 1, 17, NULL, NULL, '2026-10-26', 1, '2026-03-11 10:59:41', '2026-03-11 10:59:41'),
(532, 1, 17, NULL, NULL, '2026-10-27', 1, '2026-03-11 10:59:41', '2026-03-11 10:59:41'),
(533, 1, 17, NULL, NULL, '2026-10-28', 1, '2026-03-11 10:59:41', '2026-03-11 10:59:41'),
(534, 1, 17, NULL, NULL, '2026-10-29', 1, '2026-03-11 10:59:41', '2026-03-11 10:59:41'),
(535, 1, 17, NULL, NULL, '2026-10-30', 1, '2026-03-11 10:59:41', '2026-03-11 10:59:41'),
(536, 1, 17, NULL, NULL, '2026-10-31', 1, '2026-03-11 10:59:41', '2026-03-11 10:59:41'),
(537, 1, 17, NULL, NULL, '2026-11-01', 1, '2026-03-11 10:59:41', '2026-03-11 10:59:41'),
(538, 1, 17, NULL, NULL, '2026-11-02', 1, '2026-03-11 10:59:41', '2026-03-11 10:59:41'),
(539, 1, 17, NULL, NULL, '2026-11-03', 1, '2026-03-11 10:59:41', '2026-03-11 10:59:41'),
(540, 1, 17, NULL, NULL, '2026-11-04', 1, '2026-03-11 10:59:41', '2026-03-11 10:59:41'),
(541, 1, 17, NULL, NULL, '2026-11-05', 1, '2026-03-11 10:59:41', '2026-03-11 10:59:41'),
(542, 1, 17, NULL, NULL, '2026-11-06', 1, '2026-03-11 10:59:41', '2026-03-11 10:59:41'),
(543, 1, 17, NULL, NULL, '2026-11-07', 1, '2026-03-11 10:59:41', '2026-03-11 10:59:41'),
(544, 1, 17, NULL, NULL, '2026-11-08', 1, '2026-03-11 10:59:41', '2026-03-11 10:59:41'),
(545, 1, 17, NULL, NULL, '2026-11-09', 1, '2026-03-11 10:59:41', '2026-03-11 10:59:41'),
(546, 1, 17, NULL, NULL, '2026-11-10', 1, '2026-03-11 10:59:41', '2026-03-11 10:59:41'),
(547, 1, 17, NULL, NULL, '2026-11-11', 1, '2026-03-11 10:59:41', '2026-03-11 10:59:41'),
(548, 1, 17, NULL, NULL, '2026-11-12', 1, '2026-03-11 10:59:41', '2026-03-11 10:59:41'),
(549, 1, 17, NULL, NULL, '2026-11-13', 1, '2026-03-11 10:59:41', '2026-03-11 10:59:41'),
(550, 1, 17, NULL, NULL, '2026-11-14', 1, '2026-03-11 10:59:41', '2026-03-11 10:59:41'),
(551, 1, 17, NULL, NULL, '2026-11-15', 1, '2026-03-11 10:59:41', '2026-03-11 10:59:41'),
(552, 1, 17, NULL, NULL, '2026-11-16', 1, '2026-03-11 10:59:41', '2026-03-11 10:59:41'),
(553, 1, 17, NULL, NULL, '2026-11-17', 1, '2026-03-11 10:59:41', '2026-03-11 10:59:41'),
(554, 1, 17, NULL, NULL, '2026-11-18', 1, '2026-03-11 10:59:41', '2026-03-11 10:59:41'),
(555, 1, 17, NULL, NULL, '2026-11-19', 1, '2026-03-11 10:59:41', '2026-03-11 10:59:41'),
(556, 1, 17, NULL, NULL, '2026-11-20', 1, '2026-03-11 10:59:41', '2026-03-11 10:59:41'),
(557, 1, 17, NULL, NULL, '2026-11-21', 1, '2026-03-11 10:59:41', '2026-03-11 10:59:41'),
(558, 1, 17, NULL, NULL, '2026-11-22', 1, '2026-03-11 10:59:41', '2026-03-11 10:59:41'),
(559, 1, 17, NULL, NULL, '2026-11-23', 1, '2026-03-11 10:59:41', '2026-03-11 10:59:41'),
(560, 1, 17, NULL, NULL, '2026-11-24', 1, '2026-03-11 10:59:41', '2026-03-11 10:59:41'),
(561, 1, 17, NULL, NULL, '2026-11-25', 1, '2026-03-11 10:59:41', '2026-03-11 10:59:41'),
(562, 1, 17, NULL, NULL, '2026-11-26', 1, '2026-03-11 10:59:41', '2026-03-11 10:59:41'),
(563, 1, 17, NULL, NULL, '2026-11-27', 1, '2026-03-11 10:59:41', '2026-03-11 10:59:41'),
(564, 1, 17, NULL, NULL, '2026-11-28', 1, '2026-03-11 10:59:41', '2026-03-11 10:59:41'),
(565, 1, 17, NULL, NULL, '2026-11-29', 1, '2026-03-11 10:59:41', '2026-03-11 10:59:41'),
(566, 1, 17, NULL, NULL, '2026-11-30', 1, '2026-03-11 10:59:41', '2026-03-11 10:59:41'),
(567, 1, 17, NULL, NULL, '2026-12-01', 1, '2026-03-11 10:59:41', '2026-03-11 10:59:41'),
(568, 1, 17, NULL, NULL, '2026-12-02', 1, '2026-03-11 10:59:41', '2026-03-11 10:59:41'),
(569, 1, 17, NULL, NULL, '2026-12-03', 1, '2026-03-11 10:59:41', '2026-03-11 10:59:41'),
(570, 1, 17, NULL, NULL, '2026-12-04', 1, '2026-03-11 10:59:41', '2026-03-11 10:59:41'),
(571, 1, 17, NULL, NULL, '2026-12-05', 1, '2026-03-11 10:59:41', '2026-03-11 10:59:41'),
(572, 1, 17, NULL, NULL, '2026-12-06', 1, '2026-03-11 10:59:41', '2026-03-11 10:59:41');
INSERT INTO `employee_daily_shifts` (`id`, `user_id`, `shift_id`, `remarks`, `attachment`, `date`, `created_by`, `created_at`, `updated_at`) VALUES
(573, 1, 17, NULL, NULL, '2026-12-07', 1, '2026-03-11 10:59:41', '2026-03-11 10:59:41'),
(574, 1, 17, NULL, NULL, '2026-12-08', 1, '2026-03-11 10:59:41', '2026-03-11 10:59:41'),
(575, 1, 17, NULL, NULL, '2026-12-09', 1, '2026-03-11 10:59:41', '2026-03-11 10:59:41'),
(576, 1, 17, NULL, NULL, '2026-12-10', 1, '2026-03-11 10:59:41', '2026-03-11 10:59:41'),
(577, 1, 17, NULL, NULL, '2026-12-11', 1, '2026-03-11 10:59:41', '2026-03-11 10:59:41'),
(578, 1, 17, NULL, NULL, '2026-12-12', 1, '2026-03-11 10:59:41', '2026-03-11 10:59:41'),
(579, 1, 17, NULL, NULL, '2026-12-13', 1, '2026-03-11 10:59:41', '2026-03-11 10:59:41'),
(580, 1, 17, NULL, NULL, '2026-12-14', 1, '2026-03-11 10:59:41', '2026-03-11 10:59:41'),
(581, 1, 17, NULL, NULL, '2026-12-15', 1, '2026-03-11 10:59:41', '2026-03-11 10:59:41'),
(582, 1, 17, NULL, NULL, '2026-12-16', 1, '2026-03-11 10:59:41', '2026-03-11 10:59:41'),
(583, 1, 17, NULL, NULL, '2026-12-17', 1, '2026-03-11 10:59:41', '2026-03-11 10:59:41'),
(584, 1, 17, NULL, NULL, '2026-12-18', 1, '2026-03-11 10:59:41', '2026-03-11 10:59:41'),
(585, 1, 17, NULL, NULL, '2026-12-19', 1, '2026-03-11 10:59:41', '2026-03-11 10:59:41'),
(586, 1, 17, NULL, NULL, '2026-12-20', 1, '2026-03-11 10:59:41', '2026-03-11 10:59:41'),
(587, 1, 17, NULL, NULL, '2026-12-21', 1, '2026-03-11 10:59:41', '2026-03-11 10:59:41'),
(588, 1, 17, NULL, NULL, '2026-12-22', 1, '2026-03-11 10:59:41', '2026-03-11 10:59:41'),
(589, 1, 17, NULL, NULL, '2026-12-23', 1, '2026-03-11 10:59:41', '2026-03-11 10:59:41'),
(590, 1, 17, NULL, NULL, '2026-12-24', 1, '2026-03-11 10:59:41', '2026-03-11 10:59:41'),
(591, 1, 17, NULL, NULL, '2026-12-25', 1, '2026-03-11 10:59:41', '2026-03-11 10:59:41'),
(592, 1, 17, NULL, NULL, '2026-12-26', 1, '2026-03-11 10:59:41', '2026-03-11 10:59:41'),
(593, 1, 17, NULL, NULL, '2026-12-27', 1, '2026-03-11 10:59:41', '2026-03-11 10:59:41'),
(594, 1, 17, NULL, NULL, '2026-12-28', 1, '2026-03-11 10:59:41', '2026-03-11 10:59:41'),
(595, 1, 17, NULL, NULL, '2026-12-29', 1, '2026-03-11 10:59:41', '2026-03-11 10:59:41'),
(596, 1, 17, NULL, NULL, '2026-12-30', 1, '2026-03-11 10:59:41', '2026-03-11 10:59:41'),
(597, 1, 17, NULL, NULL, '2026-12-31', 1, '2026-03-11 10:59:41', '2026-03-11 10:59:41'),
(598, 8, 17, NULL, NULL, '2026-03-26', 1, '2026-03-11 11:02:45', '2026-03-11 11:02:45'),
(599, 8, 17, NULL, NULL, '2026-03-27', 1, '2026-03-11 11:02:45', '2026-03-11 11:02:45'),
(600, 8, NULL, NULL, NULL, '2026-03-28', 1, '2026-03-11 11:02:45', '2026-03-11 11:03:59'),
(601, 8, NULL, NULL, NULL, '2026-03-29', 1, '2026-03-11 11:02:45', '2026-03-11 11:04:11'),
(602, 8, 17, NULL, NULL, '2026-03-30', 1, '2026-03-11 11:02:45', '2026-03-11 11:02:45'),
(603, 8, 17, NULL, NULL, '2026-03-31', 1, '2026-03-11 11:02:45', '2026-03-11 11:02:45'),
(604, 8, 17, NULL, NULL, '2026-04-01', 1, '2026-03-11 11:02:45', '2026-03-11 11:02:45'),
(605, 8, 17, NULL, NULL, '2026-04-02', 1, '2026-03-11 11:02:45', '2026-03-11 11:02:45'),
(606, 8, 17, NULL, NULL, '2026-04-03', 1, '2026-03-11 11:02:45', '2026-03-11 11:02:45'),
(607, 8, 17, NULL, NULL, '2026-04-04', 1, '2026-03-11 11:02:45', '2026-03-11 11:02:45'),
(608, 8, 17, NULL, NULL, '2026-04-05', 1, '2026-03-11 11:02:45', '2026-03-11 11:02:45'),
(609, 8, 17, NULL, NULL, '2026-04-06', 1, '2026-03-11 11:02:45', '2026-03-11 11:02:45'),
(610, 8, 17, NULL, NULL, '2026-04-07', 1, '2026-03-11 11:02:45', '2026-03-11 11:02:45'),
(611, 8, 17, NULL, NULL, '2026-04-08', 1, '2026-03-11 11:02:45', '2026-03-11 11:02:45'),
(612, 8, 17, NULL, NULL, '2026-04-09', 1, '2026-03-11 11:02:45', '2026-03-11 11:02:45'),
(613, 8, 17, NULL, NULL, '2026-04-10', 1, '2026-03-11 11:02:45', '2026-03-11 11:02:45'),
(614, 8, 17, NULL, NULL, '2026-04-11', 1, '2026-03-11 11:02:45', '2026-03-11 11:02:45'),
(615, 8, 17, NULL, NULL, '2026-04-12', 1, '2026-03-11 11:02:45', '2026-03-11 11:02:45'),
(616, 8, 17, NULL, NULL, '2026-04-13', 1, '2026-03-11 11:02:45', '2026-03-11 11:02:45'),
(617, 8, 17, NULL, NULL, '2026-04-14', 1, '2026-03-11 11:02:45', '2026-03-11 11:02:45'),
(618, 8, 17, NULL, NULL, '2026-04-15', 1, '2026-03-11 11:02:45', '2026-03-11 11:02:45'),
(619, 8, 17, NULL, NULL, '2026-04-16', 1, '2026-03-11 11:02:45', '2026-03-11 11:02:45'),
(620, 8, 17, NULL, NULL, '2026-04-17', 1, '2026-03-11 11:02:45', '2026-03-11 11:02:45'),
(621, 8, 17, NULL, NULL, '2026-04-18', 1, '2026-03-11 11:02:45', '2026-03-11 11:02:45'),
(622, 8, 17, NULL, NULL, '2026-04-19', 1, '2026-03-11 11:02:45', '2026-03-11 11:02:45'),
(623, 8, 17, NULL, NULL, '2026-04-20', 1, '2026-03-11 11:02:45', '2026-03-11 11:02:45'),
(624, 8, 17, NULL, NULL, '2026-04-21', 1, '2026-03-11 11:02:45', '2026-03-11 11:02:45'),
(625, 8, 17, NULL, NULL, '2026-04-22', 1, '2026-03-11 11:02:45', '2026-03-11 11:02:45'),
(626, 8, 17, NULL, NULL, '2026-04-23', 1, '2026-03-11 11:02:45', '2026-03-11 11:02:45'),
(627, 8, 17, NULL, NULL, '2026-04-24', 1, '2026-03-11 11:02:45', '2026-03-11 11:02:45'),
(628, 8, 17, NULL, NULL, '2026-04-25', 1, '2026-03-11 11:02:45', '2026-03-11 11:02:45'),
(629, 8, 17, NULL, NULL, '2026-04-26', 1, '2026-03-11 11:02:45', '2026-03-11 11:02:45'),
(630, 8, 17, NULL, NULL, '2026-04-27', 1, '2026-03-11 11:02:45', '2026-03-11 11:02:45'),
(631, 8, 17, NULL, NULL, '2026-04-28', 1, '2026-03-11 11:02:45', '2026-03-11 11:02:45'),
(632, 8, 17, NULL, NULL, '2026-04-29', 1, '2026-03-11 11:02:45', '2026-03-11 11:02:45'),
(633, 8, 17, NULL, NULL, '2026-04-30', 1, '2026-03-11 11:02:45', '2026-03-11 11:02:45'),
(634, 8, 17, NULL, NULL, '2026-05-01', 1, '2026-03-11 11:02:45', '2026-03-11 11:02:45'),
(635, 8, 17, NULL, NULL, '2026-05-02', 1, '2026-03-11 11:02:45', '2026-03-11 11:02:45'),
(636, 8, 17, NULL, NULL, '2026-05-03', 1, '2026-03-11 11:02:45', '2026-03-11 11:02:45'),
(637, 8, 17, NULL, NULL, '2026-05-04', 1, '2026-03-11 11:02:45', '2026-03-11 11:02:45'),
(638, 8, 17, NULL, NULL, '2026-05-05', 1, '2026-03-11 11:02:45', '2026-03-11 11:02:45'),
(639, 8, 17, NULL, NULL, '2026-05-06', 1, '2026-03-11 11:02:45', '2026-03-11 11:02:45'),
(640, 8, 17, NULL, NULL, '2026-05-07', 1, '2026-03-11 11:02:45', '2026-03-11 11:02:45'),
(641, 8, 17, NULL, NULL, '2026-05-08', 1, '2026-03-11 11:02:45', '2026-03-11 11:02:45'),
(642, 8, 17, NULL, NULL, '2026-05-09', 1, '2026-03-11 11:02:45', '2026-03-11 11:02:45'),
(643, 8, 17, NULL, NULL, '2026-05-10', 1, '2026-03-11 11:02:45', '2026-03-11 11:02:45'),
(644, 8, 17, NULL, NULL, '2026-05-11', 1, '2026-03-11 11:02:45', '2026-03-11 11:02:45'),
(645, 8, 17, NULL, NULL, '2026-05-12', 1, '2026-03-11 11:02:45', '2026-03-11 11:02:45'),
(646, 8, 17, NULL, NULL, '2026-05-13', 1, '2026-03-11 11:02:45', '2026-03-11 11:02:45'),
(647, 8, 17, NULL, NULL, '2026-05-14', 1, '2026-03-11 11:02:45', '2026-03-11 11:02:45'),
(648, 8, 17, NULL, NULL, '2026-05-15', 1, '2026-03-11 11:02:45', '2026-03-11 11:02:45'),
(649, 8, 17, NULL, NULL, '2026-05-16', 1, '2026-03-11 11:02:45', '2026-03-11 11:02:45'),
(650, 8, 17, NULL, NULL, '2026-05-17', 1, '2026-03-11 11:02:45', '2026-03-11 11:02:45'),
(651, 8, 17, NULL, NULL, '2026-05-18', 1, '2026-03-11 11:02:45', '2026-03-11 11:02:45'),
(652, 8, 17, NULL, NULL, '2026-05-19', 1, '2026-03-11 11:02:45', '2026-03-11 11:02:45'),
(653, 8, 17, NULL, NULL, '2026-05-20', 1, '2026-03-11 11:02:45', '2026-03-11 11:02:45'),
(654, 8, 17, NULL, NULL, '2026-05-21', 1, '2026-03-11 11:02:45', '2026-03-11 11:02:45'),
(655, 8, 17, NULL, NULL, '2026-05-22', 1, '2026-03-11 11:02:45', '2026-03-11 11:02:45'),
(656, 8, 17, NULL, NULL, '2026-05-23', 1, '2026-03-11 11:02:45', '2026-03-11 11:02:45'),
(657, 8, 17, NULL, NULL, '2026-05-24', 1, '2026-03-11 11:02:45', '2026-03-11 11:02:45'),
(658, 8, 17, NULL, NULL, '2026-05-25', 1, '2026-03-11 11:02:45', '2026-03-11 11:02:45'),
(659, 8, 17, NULL, NULL, '2026-05-26', 1, '2026-03-11 11:02:45', '2026-03-11 11:02:45'),
(660, 8, 17, NULL, NULL, '2026-05-27', 1, '2026-03-11 11:02:45', '2026-03-11 11:02:45'),
(661, 8, 17, NULL, NULL, '2026-05-28', 1, '2026-03-11 11:02:45', '2026-03-11 11:02:45'),
(662, 8, 17, NULL, NULL, '2026-05-29', 1, '2026-03-11 11:02:45', '2026-03-11 11:02:45'),
(663, 8, 17, NULL, NULL, '2026-05-30', 1, '2026-03-11 11:02:45', '2026-03-11 11:02:45'),
(664, 8, 17, NULL, NULL, '2026-05-31', 1, '2026-03-11 11:02:45', '2026-03-11 11:02:45'),
(665, 8, 17, NULL, NULL, '2026-06-01', 1, '2026-03-11 11:02:45', '2026-03-11 11:02:45'),
(666, 8, 17, NULL, NULL, '2026-06-02', 1, '2026-03-11 11:02:45', '2026-03-11 11:02:45'),
(667, 8, 17, NULL, NULL, '2026-06-03', 1, '2026-03-11 11:02:45', '2026-03-11 11:02:45'),
(668, 8, 17, NULL, NULL, '2026-06-04', 1, '2026-03-11 11:02:45', '2026-03-11 11:02:45'),
(669, 8, 17, NULL, NULL, '2026-06-05', 1, '2026-03-11 11:02:45', '2026-03-11 11:02:45'),
(670, 8, 17, NULL, NULL, '2026-06-06', 1, '2026-03-11 11:02:45', '2026-03-11 11:02:45'),
(671, 8, 17, NULL, NULL, '2026-06-07', 1, '2026-03-11 11:02:45', '2026-03-11 11:02:45'),
(672, 8, 17, NULL, NULL, '2026-06-08', 1, '2026-03-11 11:02:45', '2026-03-11 11:02:45'),
(673, 8, 17, NULL, NULL, '2026-06-09', 1, '2026-03-11 11:02:45', '2026-03-11 11:02:45'),
(674, 8, 17, NULL, NULL, '2026-06-10', 1, '2026-03-11 11:02:45', '2026-03-11 11:02:45'),
(675, 8, 17, NULL, NULL, '2026-06-11', 1, '2026-03-11 11:02:45', '2026-03-11 11:02:45'),
(676, 8, 17, NULL, NULL, '2026-06-12', 1, '2026-03-11 11:02:45', '2026-03-11 11:02:45'),
(677, 8, 17, NULL, NULL, '2026-06-13', 1, '2026-03-11 11:02:45', '2026-03-11 11:02:45'),
(678, 8, 17, NULL, NULL, '2026-06-14', 1, '2026-03-11 11:02:45', '2026-03-11 11:02:45'),
(679, 8, 17, NULL, NULL, '2026-06-15', 1, '2026-03-11 11:02:45', '2026-03-11 11:02:45'),
(680, 8, 17, NULL, NULL, '2026-06-16', 1, '2026-03-11 11:02:45', '2026-03-11 11:02:45'),
(681, 8, 17, NULL, NULL, '2026-06-17', 1, '2026-03-11 11:02:45', '2026-03-11 11:02:45'),
(682, 8, 17, NULL, NULL, '2026-06-18', 1, '2026-03-11 11:02:45', '2026-03-11 11:02:45'),
(683, 8, 17, NULL, NULL, '2026-06-19', 1, '2026-03-11 11:02:45', '2026-03-11 11:02:45'),
(684, 8, 17, NULL, NULL, '2026-06-20', 1, '2026-03-11 11:02:45', '2026-03-11 11:02:45'),
(685, 8, 17, NULL, NULL, '2026-06-21', 1, '2026-03-11 11:02:45', '2026-03-11 11:02:45'),
(686, 8, 17, NULL, NULL, '2026-06-22', 1, '2026-03-11 11:02:45', '2026-03-11 11:02:45'),
(687, 8, 17, NULL, NULL, '2026-06-23', 1, '2026-03-11 11:02:45', '2026-03-11 11:02:45'),
(688, 8, 17, NULL, NULL, '2026-06-24', 1, '2026-03-11 11:02:45', '2026-03-11 11:02:45'),
(689, 8, 17, NULL, NULL, '2026-06-25', 1, '2026-03-11 11:02:45', '2026-03-11 11:02:45'),
(690, 8, 17, NULL, NULL, '2026-06-26', 1, '2026-03-11 11:02:45', '2026-03-11 11:02:45'),
(691, 8, 17, NULL, NULL, '2026-06-27', 1, '2026-03-11 11:02:45', '2026-03-11 11:02:45'),
(692, 8, 17, NULL, NULL, '2026-06-28', 1, '2026-03-11 11:02:45', '2026-03-11 11:02:45'),
(693, 8, 17, NULL, NULL, '2026-06-29', 1, '2026-03-11 11:02:45', '2026-03-11 11:02:45'),
(694, 8, 17, NULL, NULL, '2026-06-30', 1, '2026-03-11 11:02:45', '2026-03-11 11:02:45'),
(695, 8, 17, NULL, NULL, '2026-07-01', 1, '2026-03-11 11:02:45', '2026-03-11 11:02:45'),
(696, 8, 17, NULL, NULL, '2026-07-02', 1, '2026-03-11 11:02:45', '2026-03-11 11:02:45'),
(697, 8, 17, NULL, NULL, '2026-07-03', 1, '2026-03-11 11:02:45', '2026-03-11 11:02:45'),
(698, 8, 17, NULL, NULL, '2026-07-04', 1, '2026-03-11 11:02:45', '2026-03-11 11:02:45'),
(699, 8, 17, NULL, NULL, '2026-07-05', 1, '2026-03-11 11:02:45', '2026-03-11 11:02:45'),
(700, 8, 17, NULL, NULL, '2026-07-06', 1, '2026-03-11 11:02:45', '2026-03-11 11:02:45'),
(701, 8, 17, NULL, NULL, '2026-07-07', 1, '2026-03-11 11:02:45', '2026-03-11 11:02:45'),
(702, 8, 17, NULL, NULL, '2026-07-08', 1, '2026-03-11 11:02:45', '2026-03-11 11:02:45'),
(703, 8, 17, NULL, NULL, '2026-07-09', 1, '2026-03-11 11:02:45', '2026-03-11 11:02:45'),
(704, 8, 17, NULL, NULL, '2026-07-10', 1, '2026-03-11 11:02:45', '2026-03-11 11:02:45'),
(705, 8, 17, NULL, NULL, '2026-07-11', 1, '2026-03-11 11:02:45', '2026-03-11 11:02:45'),
(706, 8, 17, NULL, NULL, '2026-07-12', 1, '2026-03-11 11:02:45', '2026-03-11 11:02:45'),
(707, 8, 17, NULL, NULL, '2026-07-13', 1, '2026-03-11 11:02:45', '2026-03-11 11:02:45'),
(708, 8, 17, NULL, NULL, '2026-07-14', 1, '2026-03-11 11:02:45', '2026-03-11 11:02:45'),
(709, 8, 17, NULL, NULL, '2026-07-15', 1, '2026-03-11 11:02:45', '2026-03-11 11:02:45'),
(710, 8, 17, NULL, NULL, '2026-07-16', 1, '2026-03-11 11:02:45', '2026-03-11 11:02:45'),
(711, 8, 17, NULL, NULL, '2026-07-17', 1, '2026-03-11 11:02:45', '2026-03-11 11:02:45'),
(712, 8, 17, NULL, NULL, '2026-07-18', 1, '2026-03-11 11:02:45', '2026-03-11 11:02:45'),
(713, 8, 17, NULL, NULL, '2026-07-19', 1, '2026-03-11 11:02:45', '2026-03-11 11:02:45'),
(714, 8, 17, NULL, NULL, '2026-07-20', 1, '2026-03-11 11:02:45', '2026-03-11 11:02:45'),
(715, 8, 17, NULL, NULL, '2026-07-21', 1, '2026-03-11 11:02:45', '2026-03-11 11:02:45'),
(716, 8, 17, NULL, NULL, '2026-07-22', 1, '2026-03-11 11:02:45', '2026-03-11 11:02:45'),
(717, 8, 17, NULL, NULL, '2026-07-23', 1, '2026-03-11 11:02:45', '2026-03-11 11:02:45'),
(718, 8, 17, NULL, NULL, '2026-07-24', 1, '2026-03-11 11:02:45', '2026-03-11 11:02:45'),
(719, 8, 17, NULL, NULL, '2026-07-25', 1, '2026-03-11 11:02:45', '2026-03-11 11:02:45'),
(720, 8, 17, NULL, NULL, '2026-07-26', 1, '2026-03-11 11:02:45', '2026-03-11 11:02:45'),
(721, 8, 17, NULL, NULL, '2026-07-27', 1, '2026-03-11 11:02:45', '2026-03-11 11:02:45'),
(722, 8, 17, NULL, NULL, '2026-07-28', 1, '2026-03-11 11:02:45', '2026-03-11 11:02:45'),
(723, 8, 17, NULL, NULL, '2026-07-29', 1, '2026-03-11 11:02:45', '2026-03-11 11:02:45'),
(724, 8, 17, NULL, NULL, '2026-07-30', 1, '2026-03-11 11:02:45', '2026-03-11 11:02:45'),
(725, 8, 17, NULL, NULL, '2026-07-31', 1, '2026-03-11 11:02:45', '2026-03-11 11:02:45'),
(726, 8, 17, NULL, NULL, '2026-08-01', 1, '2026-03-11 11:02:45', '2026-03-11 11:02:45'),
(727, 8, 17, NULL, NULL, '2026-08-02', 1, '2026-03-11 11:02:45', '2026-03-11 11:02:45'),
(728, 8, 17, NULL, NULL, '2026-08-03', 1, '2026-03-11 11:02:45', '2026-03-11 11:02:45'),
(729, 8, 17, NULL, NULL, '2026-08-04', 1, '2026-03-11 11:02:45', '2026-03-11 11:02:45'),
(730, 8, 17, NULL, NULL, '2026-08-05', 1, '2026-03-11 11:02:45', '2026-03-11 11:02:45'),
(731, 8, 17, NULL, NULL, '2026-08-06', 1, '2026-03-11 11:02:45', '2026-03-11 11:02:45'),
(732, 8, 17, NULL, NULL, '2026-08-07', 1, '2026-03-11 11:02:45', '2026-03-11 11:02:45'),
(733, 8, 17, NULL, NULL, '2026-08-08', 1, '2026-03-11 11:02:45', '2026-03-11 11:02:45'),
(734, 8, 17, NULL, NULL, '2026-08-09', 1, '2026-03-11 11:02:45', '2026-03-11 11:02:45'),
(735, 8, 17, NULL, NULL, '2026-08-10', 1, '2026-03-11 11:02:45', '2026-03-11 11:02:45'),
(736, 8, 17, NULL, NULL, '2026-08-11', 1, '2026-03-11 11:02:45', '2026-03-11 11:02:45'),
(737, 8, 17, NULL, NULL, '2026-08-12', 1, '2026-03-11 11:02:45', '2026-03-11 11:02:45'),
(738, 8, 17, NULL, NULL, '2026-08-13', 1, '2026-03-11 11:02:45', '2026-03-11 11:02:45'),
(739, 8, 17, NULL, NULL, '2026-08-14', 1, '2026-03-11 11:02:45', '2026-03-11 11:02:45'),
(740, 8, 17, NULL, NULL, '2026-08-15', 1, '2026-03-11 11:02:45', '2026-03-11 11:02:45'),
(741, 8, 17, NULL, NULL, '2026-08-16', 1, '2026-03-11 11:02:45', '2026-03-11 11:02:45'),
(742, 8, 17, NULL, NULL, '2026-08-17', 1, '2026-03-11 11:02:45', '2026-03-11 11:02:45'),
(743, 8, 17, NULL, NULL, '2026-08-18', 1, '2026-03-11 11:02:45', '2026-03-11 11:02:45'),
(744, 8, 17, NULL, NULL, '2026-08-19', 1, '2026-03-11 11:02:45', '2026-03-11 11:02:45'),
(745, 8, 17, NULL, NULL, '2026-08-20', 1, '2026-03-11 11:02:45', '2026-03-11 11:02:45'),
(746, 8, 17, NULL, NULL, '2026-08-21', 1, '2026-03-11 11:02:45', '2026-03-11 11:02:45'),
(747, 8, 17, NULL, NULL, '2026-08-22', 1, '2026-03-11 11:02:45', '2026-03-11 11:02:45'),
(748, 8, 17, NULL, NULL, '2026-08-23', 1, '2026-03-11 11:02:45', '2026-03-11 11:02:45'),
(749, 8, 17, NULL, NULL, '2026-08-24', 1, '2026-03-11 11:02:45', '2026-03-11 11:02:45'),
(750, 8, 17, NULL, NULL, '2026-08-25', 1, '2026-03-11 11:02:45', '2026-03-11 11:02:45'),
(751, 8, 17, NULL, NULL, '2026-08-26', 1, '2026-03-11 11:02:45', '2026-03-11 11:02:45'),
(752, 8, 17, NULL, NULL, '2026-08-27', 1, '2026-03-11 11:02:45', '2026-03-11 11:02:45'),
(753, 8, 17, NULL, NULL, '2026-08-28', 1, '2026-03-11 11:02:45', '2026-03-11 11:02:45'),
(754, 8, 17, NULL, NULL, '2026-08-29', 1, '2026-03-11 11:02:45', '2026-03-11 11:02:45'),
(755, 8, 17, NULL, NULL, '2026-08-30', 1, '2026-03-11 11:02:45', '2026-03-11 11:02:45'),
(756, 8, 17, NULL, NULL, '2026-08-31', 1, '2026-03-11 11:02:45', '2026-03-11 11:02:45'),
(757, 8, 17, NULL, NULL, '2026-09-01', 1, '2026-03-11 11:02:45', '2026-03-11 11:02:45'),
(758, 8, 17, NULL, NULL, '2026-09-02', 1, '2026-03-11 11:02:45', '2026-03-11 11:02:45'),
(759, 8, 17, NULL, NULL, '2026-09-03', 1, '2026-03-11 11:02:45', '2026-03-11 11:02:45'),
(760, 8, 17, NULL, NULL, '2026-09-04', 1, '2026-03-11 11:02:45', '2026-03-11 11:02:45'),
(761, 8, 17, NULL, NULL, '2026-09-05', 1, '2026-03-11 11:02:45', '2026-03-11 11:02:45'),
(762, 8, 17, NULL, NULL, '2026-09-06', 1, '2026-03-11 11:02:45', '2026-03-11 11:02:45'),
(763, 8, 17, NULL, NULL, '2026-09-07', 1, '2026-03-11 11:02:45', '2026-03-11 11:02:45'),
(764, 8, 17, NULL, NULL, '2026-09-08', 1, '2026-03-11 11:02:45', '2026-03-11 11:02:45'),
(765, 8, 17, NULL, NULL, '2026-09-09', 1, '2026-03-11 11:02:45', '2026-03-11 11:02:45'),
(766, 8, 17, NULL, NULL, '2026-09-10', 1, '2026-03-11 11:02:45', '2026-03-11 11:02:45'),
(767, 8, 17, NULL, NULL, '2026-09-11', 1, '2026-03-11 11:02:45', '2026-03-11 11:02:45'),
(768, 8, 17, NULL, NULL, '2026-09-12', 1, '2026-03-11 11:02:45', '2026-03-11 11:02:45'),
(769, 8, 17, NULL, NULL, '2026-09-13', 1, '2026-03-11 11:02:45', '2026-03-11 11:02:45'),
(770, 8, 17, NULL, NULL, '2026-09-14', 1, '2026-03-11 11:02:45', '2026-03-11 11:02:45'),
(771, 8, 17, NULL, NULL, '2026-09-15', 1, '2026-03-11 11:02:45', '2026-03-11 11:02:45'),
(772, 8, 17, NULL, NULL, '2026-09-16', 1, '2026-03-11 11:02:45', '2026-03-11 11:02:45'),
(773, 8, 17, NULL, NULL, '2026-09-17', 1, '2026-03-11 11:02:45', '2026-03-11 11:02:45'),
(774, 8, 17, NULL, NULL, '2026-09-18', 1, '2026-03-11 11:02:46', '2026-03-11 11:02:46'),
(775, 8, 17, NULL, NULL, '2026-09-19', 1, '2026-03-11 11:02:46', '2026-03-11 11:02:46'),
(776, 8, 17, NULL, NULL, '2026-09-20', 1, '2026-03-11 11:02:46', '2026-03-11 11:02:46'),
(777, 8, 17, NULL, NULL, '2026-09-21', 1, '2026-03-11 11:02:46', '2026-03-11 11:02:46'),
(778, 8, 17, NULL, NULL, '2026-09-22', 1, '2026-03-11 11:02:46', '2026-03-11 11:02:46'),
(779, 8, 17, NULL, NULL, '2026-09-23', 1, '2026-03-11 11:02:46', '2026-03-11 11:02:46'),
(780, 8, 17, NULL, NULL, '2026-09-24', 1, '2026-03-11 11:02:46', '2026-03-11 11:02:46'),
(781, 8, 17, NULL, NULL, '2026-09-25', 1, '2026-03-11 11:02:46', '2026-03-11 11:02:46'),
(782, 8, 17, NULL, NULL, '2026-09-26', 1, '2026-03-11 11:02:46', '2026-03-11 11:02:46'),
(783, 8, 17, NULL, NULL, '2026-09-27', 1, '2026-03-11 11:02:46', '2026-03-11 11:02:46'),
(784, 8, 17, NULL, NULL, '2026-09-28', 1, '2026-03-11 11:02:46', '2026-03-11 11:02:46'),
(785, 8, 17, NULL, NULL, '2026-09-29', 1, '2026-03-11 11:02:46', '2026-03-11 11:02:46'),
(786, 8, 17, NULL, NULL, '2026-09-30', 1, '2026-03-11 11:02:46', '2026-03-11 11:02:46'),
(787, 8, 17, NULL, NULL, '2026-10-01', 1, '2026-03-11 11:02:46', '2026-03-11 11:02:46'),
(788, 8, 17, NULL, NULL, '2026-10-02', 1, '2026-03-11 11:02:46', '2026-03-11 11:02:46'),
(789, 8, 17, NULL, NULL, '2026-10-03', 1, '2026-03-11 11:02:46', '2026-03-11 11:02:46'),
(790, 8, 17, NULL, NULL, '2026-10-04', 1, '2026-03-11 11:02:46', '2026-03-11 11:02:46'),
(791, 8, 17, NULL, NULL, '2026-10-05', 1, '2026-03-11 11:02:46', '2026-03-11 11:02:46'),
(792, 8, 17, NULL, NULL, '2026-10-06', 1, '2026-03-11 11:02:46', '2026-03-11 11:02:46'),
(793, 8, 17, NULL, NULL, '2026-10-07', 1, '2026-03-11 11:02:46', '2026-03-11 11:02:46'),
(794, 8, 17, NULL, NULL, '2026-10-08', 1, '2026-03-11 11:02:46', '2026-03-11 11:02:46'),
(795, 8, 17, NULL, NULL, '2026-10-09', 1, '2026-03-11 11:02:46', '2026-03-11 11:02:46'),
(796, 8, 17, NULL, NULL, '2026-10-10', 1, '2026-03-11 11:02:46', '2026-03-11 11:02:46'),
(797, 8, 17, NULL, NULL, '2026-10-11', 1, '2026-03-11 11:02:46', '2026-03-11 11:02:46'),
(798, 8, 17, NULL, NULL, '2026-10-12', 1, '2026-03-11 11:02:46', '2026-03-11 11:02:46'),
(799, 8, 17, NULL, NULL, '2026-10-13', 1, '2026-03-11 11:02:46', '2026-03-11 11:02:46'),
(800, 8, 17, NULL, NULL, '2026-10-14', 1, '2026-03-11 11:02:46', '2026-03-11 11:02:46'),
(801, 8, 17, NULL, NULL, '2026-10-15', 1, '2026-03-11 11:02:46', '2026-03-11 11:02:46'),
(802, 8, 17, NULL, NULL, '2026-10-16', 1, '2026-03-11 11:02:46', '2026-03-11 11:02:46'),
(803, 8, 17, NULL, NULL, '2026-10-17', 1, '2026-03-11 11:02:46', '2026-03-11 11:02:46'),
(804, 8, 17, NULL, NULL, '2026-10-18', 1, '2026-03-11 11:02:46', '2026-03-11 11:02:46'),
(805, 8, 17, NULL, NULL, '2026-10-19', 1, '2026-03-11 11:02:46', '2026-03-11 11:02:46'),
(806, 8, 17, NULL, NULL, '2026-10-20', 1, '2026-03-11 11:02:46', '2026-03-11 11:02:46'),
(807, 8, 17, NULL, NULL, '2026-10-21', 1, '2026-03-11 11:02:46', '2026-03-11 11:02:46'),
(808, 8, 17, NULL, NULL, '2026-10-22', 1, '2026-03-11 11:02:46', '2026-03-11 11:02:46'),
(809, 8, 17, NULL, NULL, '2026-10-23', 1, '2026-03-11 11:02:46', '2026-03-11 11:02:46'),
(810, 8, 17, NULL, NULL, '2026-10-24', 1, '2026-03-11 11:02:46', '2026-03-11 11:02:46'),
(811, 8, 17, NULL, NULL, '2026-10-25', 1, '2026-03-11 11:02:46', '2026-03-11 11:02:46'),
(812, 8, 17, NULL, NULL, '2026-10-26', 1, '2026-03-11 11:02:46', '2026-03-11 11:02:46'),
(813, 8, 17, NULL, NULL, '2026-10-27', 1, '2026-03-11 11:02:46', '2026-03-11 11:02:46'),
(814, 8, 17, NULL, NULL, '2026-10-28', 1, '2026-03-11 11:02:46', '2026-03-11 11:02:46'),
(815, 8, 17, NULL, NULL, '2026-10-29', 1, '2026-03-11 11:02:46', '2026-03-11 11:02:46'),
(816, 8, 17, NULL, NULL, '2026-10-30', 1, '2026-03-11 11:02:46', '2026-03-11 11:02:46'),
(817, 8, 17, NULL, NULL, '2026-10-31', 1, '2026-03-11 11:02:46', '2026-03-11 11:02:46'),
(818, 8, 17, NULL, NULL, '2026-11-01', 1, '2026-03-11 11:02:46', '2026-03-11 11:02:46'),
(819, 8, 17, NULL, NULL, '2026-11-02', 1, '2026-03-11 11:02:46', '2026-03-11 11:02:46'),
(820, 8, 17, NULL, NULL, '2026-11-03', 1, '2026-03-11 11:02:46', '2026-03-11 11:02:46'),
(821, 8, 17, NULL, NULL, '2026-11-04', 1, '2026-03-11 11:02:46', '2026-03-11 11:02:46'),
(822, 8, 17, NULL, NULL, '2026-11-05', 1, '2026-03-11 11:02:46', '2026-03-11 11:02:46'),
(823, 8, 17, NULL, NULL, '2026-11-06', 1, '2026-03-11 11:02:46', '2026-03-11 11:02:46'),
(824, 8, 17, NULL, NULL, '2026-11-07', 1, '2026-03-11 11:02:46', '2026-03-11 11:02:46'),
(825, 8, 17, NULL, NULL, '2026-11-08', 1, '2026-03-11 11:02:46', '2026-03-11 11:02:46'),
(826, 8, 17, NULL, NULL, '2026-11-09', 1, '2026-03-11 11:02:46', '2026-03-11 11:02:46'),
(827, 8, 17, NULL, NULL, '2026-11-10', 1, '2026-03-11 11:02:46', '2026-03-11 11:02:46'),
(828, 8, 17, NULL, NULL, '2026-11-11', 1, '2026-03-11 11:02:46', '2026-03-11 11:02:46'),
(829, 8, 17, NULL, NULL, '2026-11-12', 1, '2026-03-11 11:02:46', '2026-03-11 11:02:46'),
(830, 8, 17, NULL, NULL, '2026-11-13', 1, '2026-03-11 11:02:46', '2026-03-11 11:02:46'),
(831, 8, 17, NULL, NULL, '2026-11-14', 1, '2026-03-11 11:02:46', '2026-03-11 11:02:46'),
(832, 8, 17, NULL, NULL, '2026-11-15', 1, '2026-03-11 11:02:46', '2026-03-11 11:02:46'),
(833, 8, 17, NULL, NULL, '2026-11-16', 1, '2026-03-11 11:02:46', '2026-03-11 11:02:46'),
(834, 8, 17, NULL, NULL, '2026-11-17', 1, '2026-03-11 11:02:46', '2026-03-11 11:02:46'),
(835, 8, 17, NULL, NULL, '2026-11-18', 1, '2026-03-11 11:02:46', '2026-03-11 11:02:46'),
(836, 8, 17, NULL, NULL, '2026-11-19', 1, '2026-03-11 11:02:46', '2026-03-11 11:02:46'),
(837, 8, 17, NULL, NULL, '2026-11-20', 1, '2026-03-11 11:02:46', '2026-03-11 11:02:46'),
(838, 8, 17, NULL, NULL, '2026-11-21', 1, '2026-03-11 11:02:46', '2026-03-11 11:02:46'),
(839, 8, 17, NULL, NULL, '2026-11-22', 1, '2026-03-11 11:02:46', '2026-03-11 11:02:46'),
(840, 8, 17, NULL, NULL, '2026-11-23', 1, '2026-03-11 11:02:46', '2026-03-11 11:02:46'),
(841, 8, 17, NULL, NULL, '2026-11-24', 1, '2026-03-11 11:02:46', '2026-03-11 11:02:46'),
(842, 8, 17, NULL, NULL, '2026-11-25', 1, '2026-03-11 11:02:46', '2026-03-11 11:02:46'),
(843, 8, 17, NULL, NULL, '2026-11-26', 1, '2026-03-11 11:02:46', '2026-03-11 11:02:46'),
(844, 8, 17, NULL, NULL, '2026-11-27', 1, '2026-03-11 11:02:46', '2026-03-11 11:02:46'),
(845, 8, 17, NULL, NULL, '2026-11-28', 1, '2026-03-11 11:02:46', '2026-03-11 11:02:46'),
(846, 8, 17, NULL, NULL, '2026-11-29', 1, '2026-03-11 11:02:46', '2026-03-11 11:02:46'),
(847, 8, 17, NULL, NULL, '2026-11-30', 1, '2026-03-11 11:02:46', '2026-03-11 11:02:46'),
(848, 8, 17, NULL, NULL, '2026-12-01', 1, '2026-03-11 11:02:46', '2026-03-11 11:02:46'),
(849, 8, 17, NULL, NULL, '2026-12-02', 1, '2026-03-11 11:02:46', '2026-03-11 11:02:46'),
(850, 8, 17, NULL, NULL, '2026-12-03', 1, '2026-03-11 11:02:46', '2026-03-11 11:02:46'),
(851, 8, 17, NULL, NULL, '2026-12-04', 1, '2026-03-11 11:02:46', '2026-03-11 11:02:46'),
(852, 8, 17, NULL, NULL, '2026-12-05', 1, '2026-03-11 11:02:46', '2026-03-11 11:02:46'),
(853, 8, 17, NULL, NULL, '2026-12-06', 1, '2026-03-11 11:02:46', '2026-03-11 11:02:46'),
(854, 8, 17, NULL, NULL, '2026-12-07', 1, '2026-03-11 11:02:46', '2026-03-11 11:02:46'),
(855, 8, 17, NULL, NULL, '2026-12-08', 1, '2026-03-11 11:02:46', '2026-03-11 11:02:46'),
(856, 8, 17, NULL, NULL, '2026-12-09', 1, '2026-03-11 11:02:46', '2026-03-11 11:02:46'),
(857, 8, 17, NULL, NULL, '2026-12-10', 1, '2026-03-11 11:02:46', '2026-03-11 11:02:46'),
(858, 8, 17, NULL, NULL, '2026-12-11', 1, '2026-03-11 11:02:46', '2026-03-11 11:02:46'),
(859, 8, 17, NULL, NULL, '2026-12-12', 1, '2026-03-11 11:02:46', '2026-03-11 11:02:46'),
(860, 8, 17, NULL, NULL, '2026-12-13', 1, '2026-03-11 11:02:46', '2026-03-11 11:02:46'),
(861, 8, 17, NULL, NULL, '2026-12-14', 1, '2026-03-11 11:02:46', '2026-03-11 11:02:46'),
(862, 8, 17, NULL, NULL, '2026-12-15', 1, '2026-03-11 11:02:46', '2026-03-11 11:02:46'),
(863, 8, 17, NULL, NULL, '2026-12-16', 1, '2026-03-11 11:02:46', '2026-03-11 11:02:46'),
(864, 8, 17, NULL, NULL, '2026-12-17', 1, '2026-03-11 11:02:46', '2026-03-11 11:02:46'),
(865, 8, 17, NULL, NULL, '2026-12-18', 1, '2026-03-11 11:02:46', '2026-03-11 11:02:46'),
(866, 8, 17, NULL, NULL, '2026-12-19', 1, '2026-03-11 11:02:46', '2026-03-11 11:02:46'),
(867, 8, 17, NULL, NULL, '2026-12-20', 1, '2026-03-11 11:02:46', '2026-03-11 11:02:46'),
(868, 8, 17, NULL, NULL, '2026-12-21', 1, '2026-03-11 11:02:46', '2026-03-11 11:02:46'),
(869, 8, 17, NULL, NULL, '2026-12-22', 1, '2026-03-11 11:02:46', '2026-03-11 11:02:46'),
(870, 8, 17, NULL, NULL, '2026-12-23', 1, '2026-03-11 11:02:46', '2026-03-11 11:02:46'),
(871, 8, 17, NULL, NULL, '2026-12-24', 1, '2026-03-11 11:02:46', '2026-03-11 11:02:46'),
(872, 8, 17, NULL, NULL, '2026-12-25', 1, '2026-03-11 11:02:46', '2026-03-11 11:02:46'),
(873, 8, 17, NULL, NULL, '2026-12-26', 1, '2026-03-11 11:02:46', '2026-03-11 11:02:46'),
(874, 8, 17, NULL, NULL, '2026-12-27', 1, '2026-03-11 11:02:46', '2026-03-11 11:02:46'),
(875, 8, 17, NULL, NULL, '2026-12-28', 1, '2026-03-11 11:02:46', '2026-03-11 11:02:46'),
(876, 8, 17, NULL, NULL, '2026-12-29', 1, '2026-03-11 11:02:46', '2026-03-11 11:02:46'),
(877, 8, 17, NULL, NULL, '2026-12-30', 1, '2026-03-11 11:02:46', '2026-03-11 11:02:46'),
(878, 8, 17, NULL, NULL, '2026-12-31', 1, '2026-03-11 11:02:46', '2026-03-11 11:02:46');

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

--
-- Table structure for table `employee_lifecycle_events`
--

CREATE TABLE `employee_lifecycle_events` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `user_id` bigint(20) UNSIGNED NOT NULL,
  `event_type` varchar(255) NOT NULL,
  `event_date` datetime NOT NULL,
  `triggered_by_id` bigint(20) UNSIGNED DEFAULT NULL,
  `old_value` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`old_value`)),
  `new_value` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`new_value`)),
  `metadata` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`metadata`)),
  `notification_sent` tinyint(1) NOT NULL DEFAULT 0,
  `notification_sent_at` datetime DEFAULT NULL,
  `notes` text DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

--
-- Table structure for table `employee_salary_items`
--

CREATE TABLE `employee_salary_items` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `employee_salary_structure_id` bigint(20) UNSIGNED NOT NULL,
  `salary_component_id` bigint(20) UNSIGNED NOT NULL,
  `amount` decimal(15,2) NOT NULL,
  `calculation_type` enum('flat','percentage') NOT NULL DEFAULT 'flat',
  `calculation_value` decimal(15,2) DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `employee_salary_items`
--

INSERT INTO `employee_salary_items` (`id`, `employee_salary_structure_id`, `salary_component_id`, `amount`, `calculation_type`, `calculation_value`, `created_at`, `updated_at`) VALUES
(1, 1, 1, 25000.00, 'flat', NULL, '2026-01-16 09:47:21', '2026-01-16 09:47:21'),
(2, 2, 1, 25000.00, 'flat', NULL, '2026-01-16 09:56:29', '2026-01-16 09:56:29'),
(3, 2, 2, 1250.00, 'flat', NULL, '2026-01-16 09:56:29', '2026-01-16 09:56:29'),
(4, 2, 3, 625.00, 'flat', NULL, '2026-01-16 09:56:29', '2026-01-16 09:56:29'),
(5, 2, 4, 200.00, 'flat', NULL, '2026-01-16 09:56:29', '2026-01-16 09:56:29'),
(6, 2, 5, 313.80, 'flat', NULL, '2026-01-16 09:56:29', '2026-01-16 09:56:29'),
(7, 3, 1, 20000.00, 'flat', NULL, '2026-01-19 11:27:52', '2026-01-19 11:27:52'),
(8, 3, 2, 1250.00, 'flat', NULL, '2026-01-19 11:27:52', '2026-01-19 11:27:52'),
(9, 3, 3, 625.00, 'flat', NULL, '2026-01-19 11:27:52', '2026-01-19 11:27:52'),
(10, 3, 4, 200.00, 'flat', NULL, '2026-01-19 11:27:52', '2026-01-19 11:27:52'),
(11, 3, 5, 313.80, 'flat', NULL, '2026-01-19 11:27:52', '2026-01-19 11:27:52'),
(12, 4, 1, 20000.00, 'flat', NULL, '2026-01-19 11:40:43', '2026-01-19 11:40:43'),
(13, 4, 2, 1000.00, 'flat', NULL, '2026-01-19 11:40:43', '2026-01-19 11:40:43'),
(14, 4, 3, 500.00, 'flat', NULL, '2026-01-19 11:40:43', '2026-01-19 11:40:43'),
(15, 4, 4, 200.00, 'flat', NULL, '2026-01-19 11:40:43', '2026-01-19 11:40:43'),
(16, 5, 1, 20000.00, 'flat', NULL, '2026-01-19 11:41:05', '2026-01-19 11:41:05'),
(17, 5, 2, 1000.00, 'flat', NULL, '2026-01-19 11:41:05', '2026-01-19 11:41:05'),
(18, 5, 3, 500.00, 'flat', NULL, '2026-01-19 11:41:05', '2026-01-19 11:41:05'),
(19, 5, 4, 200.00, 'flat', NULL, '2026-01-19 11:41:05', '2026-01-19 11:41:05'),
(20, 6, 1, 20000.00, 'flat', NULL, '2026-01-19 11:41:28', '2026-01-19 11:41:28'),
(21, 6, 2, 1000.00, 'flat', NULL, '2026-01-19 11:41:28', '2026-01-19 11:41:28'),
(22, 6, 3, 500.00, 'flat', NULL, '2026-01-19 11:41:28', '2026-01-19 11:41:28'),
(23, 6, 4, 200.00, 'flat', NULL, '2026-01-19 11:41:28', '2026-01-19 11:41:28'),
(24, 7, 1, 20000.00, 'flat', NULL, '2026-01-19 11:41:44', '2026-01-19 11:41:44'),
(25, 7, 2, 1000.00, 'flat', NULL, '2026-01-19 11:41:44', '2026-01-19 11:41:44'),
(26, 7, 3, 500.00, 'flat', NULL, '2026-01-19 11:41:44', '2026-01-19 11:41:44'),
(27, 7, 4, 200.00, 'flat', NULL, '2026-01-19 11:41:44', '2026-01-19 11:41:44'),
(28, 8, 1, 18360.00, 'flat', NULL, '2026-01-19 11:45:08', '2026-01-19 11:45:08'),
(29, 8, 2, 918.00, 'flat', NULL, '2026-01-19 11:45:08', '2026-01-19 11:45:08'),
(30, 8, 3, 459.00, 'flat', NULL, '2026-01-19 11:45:08', '2026-01-19 11:45:08'),
(31, 8, 4, 200.00, 'flat', NULL, '2026-01-19 11:45:08', '2026-01-19 11:45:08'),
(32, 9, 1, 17760.00, 'flat', NULL, '2026-01-19 11:47:39', '2026-01-19 11:47:39'),
(33, 9, 2, 888.00, 'flat', NULL, '2026-01-19 11:47:39', '2026-01-19 11:47:39'),
(34, 9, 3, 444.00, 'flat', NULL, '2026-01-19 11:47:39', '2026-01-19 11:47:39'),
(35, 9, 4, 200.00, 'flat', NULL, '2026-01-19 11:47:39', '2026-01-19 11:47:39'),
(36, 10, 1, 20000.00, 'flat', NULL, '2026-01-19 11:48:06', '2026-01-19 11:48:06'),
(37, 10, 2, 1000.00, 'flat', NULL, '2026-01-19 11:48:06', '2026-01-19 11:48:06'),
(38, 10, 3, 500.00, 'flat', NULL, '2026-01-19 11:48:06', '2026-01-19 11:48:06'),
(39, 10, 4, 200.00, 'flat', NULL, '2026-01-19 11:48:06', '2026-01-19 11:48:06'),
(40, 11, 1, 16680.00, 'flat', NULL, '2026-01-19 11:48:32', '2026-01-19 11:48:32'),
(41, 11, 2, 834.00, 'flat', NULL, '2026-01-19 11:48:32', '2026-01-19 11:48:32'),
(42, 11, 3, 417.00, 'flat', NULL, '2026-01-19 11:48:32', '2026-01-19 11:48:32'),
(43, 11, 4, 200.00, 'flat', NULL, '2026-01-19 11:48:32', '2026-01-19 11:48:32'),
(44, 12, 1, 16680.00, 'flat', NULL, '2026-01-19 11:49:53', '2026-01-19 11:49:53'),
(45, 12, 2, 834.00, 'flat', NULL, '2026-01-19 11:49:53', '2026-01-19 11:49:53'),
(46, 12, 3, 417.00, 'flat', NULL, '2026-01-19 11:49:53', '2026-01-19 11:49:53'),
(47, 12, 4, 200.00, 'flat', NULL, '2026-01-19 11:49:53', '2026-01-19 11:49:53'),
(48, 13, 1, 20000.00, 'flat', NULL, '2026-01-19 12:09:58', '2026-01-19 12:09:58'),
(49, 13, 2, 585.00, 'flat', NULL, '2026-01-19 12:09:58', '2026-01-19 12:09:58'),
(50, 13, 3, 250.00, 'flat', NULL, '2026-01-19 12:09:58', '2026-01-19 12:09:58'),
(51, 13, 4, 200.00, 'flat', NULL, '2026-01-19 12:09:58', '2026-01-19 12:09:58'),
(52, 14, 1, 20000.00, 'flat', NULL, '2026-01-19 12:10:51', '2026-01-19 12:10:51'),
(53, 14, 2, 585.00, 'flat', NULL, '2026-01-19 12:10:51', '2026-01-19 12:10:51'),
(54, 14, 3, 250.00, 'flat', NULL, '2026-01-19 12:10:51', '2026-01-19 12:10:51'),
(55, 14, 4, 200.00, 'flat', NULL, '2026-01-19 12:10:51', '2026-01-19 12:10:51'),
(56, 15, 1, 26000.00, 'flat', NULL, '2026-01-19 12:11:35', '2026-01-19 12:11:35'),
(57, 15, 2, 585.00, 'flat', NULL, '2026-01-19 12:11:35', '2026-01-19 12:11:35'),
(58, 15, 3, 250.00, 'flat', NULL, '2026-01-19 12:11:35', '2026-01-19 12:11:35'),
(59, 15, 4, 200.00, 'flat', NULL, '2026-01-19 12:11:35', '2026-01-19 12:11:35'),
(60, 16, 1, 26000.00, 'flat', NULL, '2026-01-19 12:11:51', '2026-01-19 12:11:51'),
(61, 16, 2, 585.00, 'flat', NULL, '2026-01-19 12:11:51', '2026-01-19 12:11:51'),
(62, 16, 3, 250.00, 'flat', NULL, '2026-01-19 12:11:51', '2026-01-19 12:11:51'),
(63, 16, 4, 200.00, 'flat', NULL, '2026-01-19 12:11:51', '2026-01-19 12:11:51'),
(64, 17, 1, 24000.00, 'flat', NULL, '2026-01-19 12:12:19', '2026-01-19 12:12:19'),
(65, 17, 2, 585.00, 'flat', NULL, '2026-01-19 12:12:19', '2026-01-19 12:12:19'),
(66, 17, 3, 250.00, 'flat', NULL, '2026-01-19 12:12:19', '2026-01-19 12:12:19'),
(67, 17, 4, 200.00, 'flat', NULL, '2026-01-19 12:12:19', '2026-01-19 12:12:19'),
(68, 18, 1, 22000.00, 'flat', NULL, '2026-01-19 12:12:46', '2026-01-19 12:12:46'),
(69, 18, 2, 585.00, 'flat', NULL, '2026-01-19 12:12:46', '2026-01-19 12:12:46'),
(70, 18, 3, 250.00, 'flat', NULL, '2026-01-19 12:12:46', '2026-01-19 12:12:46'),
(71, 18, 4, 200.00, 'flat', NULL, '2026-01-19 12:12:46', '2026-01-19 12:12:46'),
(72, 19, 1, 18360.00, 'flat', NULL, '2026-01-19 12:13:10', '2026-01-19 12:13:10'),
(73, 19, 2, 450.00, 'flat', NULL, '2026-01-19 12:13:10', '2026-01-19 12:13:10'),
(74, 19, 3, 250.00, 'flat', NULL, '2026-01-19 12:13:10', '2026-01-19 12:13:10'),
(75, 19, 4, 200.00, 'flat', NULL, '2026-01-19 12:13:10', '2026-01-19 12:13:10'),
(76, 20, 1, 17760.00, 'flat', NULL, '2026-01-19 12:13:27', '2026-01-19 12:13:27'),
(77, 20, 2, 450.00, 'flat', NULL, '2026-01-19 12:13:27', '2026-01-19 12:13:27'),
(78, 20, 3, 250.00, 'flat', NULL, '2026-01-19 12:13:27', '2026-01-19 12:13:27'),
(79, 20, 4, 200.00, 'flat', NULL, '2026-01-19 12:13:27', '2026-01-19 12:13:27'),
(80, 21, 1, 16680.00, 'flat', NULL, '2026-01-19 12:13:42', '2026-01-19 12:13:42'),
(81, 21, 2, 450.00, 'flat', NULL, '2026-01-19 12:13:42', '2026-01-19 12:13:42'),
(82, 21, 3, 250.00, 'flat', NULL, '2026-01-19 12:13:42', '2026-01-19 12:13:42'),
(83, 21, 4, 200.00, 'flat', NULL, '2026-01-19 12:13:42', '2026-01-19 12:13:42'),
(84, 22, 1, 16680.00, 'flat', NULL, '2026-01-19 12:13:56', '2026-01-19 12:13:56'),
(85, 22, 2, 450.00, 'flat', NULL, '2026-01-19 12:13:56', '2026-01-19 12:13:56'),
(86, 22, 3, 250.00, 'flat', NULL, '2026-01-19 12:13:56', '2026-01-19 12:13:56'),
(87, 22, 4, 200.00, 'flat', NULL, '2026-01-19 12:13:56', '2026-01-19 12:13:56'),
(88, 23, 1, 1.00, 'flat', NULL, '2026-01-19 12:14:24', '2026-01-19 12:14:24'),
(89, 24, 1, 26000.00, 'flat', NULL, '2026-01-22 09:24:24', '2026-01-22 09:24:24'),
(90, 24, 2, 585.00, 'flat', NULL, '2026-01-22 09:24:24', '2026-01-22 09:24:24'),
(91, 24, 3, 250.00, 'flat', NULL, '2026-01-22 09:24:24', '2026-01-22 09:24:24'),
(92, 24, 4, 200.00, 'flat', NULL, '2026-01-22 09:24:24', '2026-01-22 09:24:24'),
(93, 25, 1, 26000.00, 'flat', NULL, '2026-01-22 09:24:39', '2026-01-22 09:24:39'),
(94, 25, 2, 585.00, 'flat', NULL, '2026-01-22 09:24:39', '2026-01-22 09:24:39'),
(95, 25, 3, 250.00, 'flat', NULL, '2026-01-22 09:24:39', '2026-01-22 09:24:39'),
(96, 25, 4, 200.00, 'flat', NULL, '2026-01-22 09:24:39', '2026-01-22 09:24:39'),
(97, 26, 1, 24000.00, 'flat', NULL, '2026-01-22 09:24:57', '2026-01-22 09:24:57'),
(98, 26, 2, 585.00, 'flat', NULL, '2026-01-22 09:24:57', '2026-01-22 09:24:57'),
(99, 26, 3, 250.00, 'flat', NULL, '2026-01-22 09:24:57', '2026-01-22 09:24:57'),
(100, 26, 4, 200.00, 'flat', NULL, '2026-01-22 09:24:57', '2026-01-22 09:24:57'),
(101, 27, 1, 22000.00, 'flat', NULL, '2026-01-22 09:25:07', '2026-01-22 09:25:07'),
(102, 27, 2, 585.00, 'flat', NULL, '2026-01-22 09:25:07', '2026-01-22 09:25:07'),
(103, 27, 3, 250.00, 'flat', NULL, '2026-01-22 09:25:07', '2026-01-22 09:25:07'),
(104, 27, 4, 200.00, 'flat', NULL, '2026-01-22 09:25:07', '2026-01-22 09:25:07'),
(105, 28, 1, 18360.00, 'flat', NULL, '2026-01-22 09:25:15', '2026-01-22 09:25:15'),
(106, 28, 2, 450.00, 'flat', NULL, '2026-01-22 09:25:15', '2026-01-22 09:25:15'),
(107, 28, 3, 250.00, 'flat', NULL, '2026-01-22 09:25:15', '2026-01-22 09:25:15'),
(108, 28, 4, 200.00, 'flat', NULL, '2026-01-22 09:25:15', '2026-01-22 09:25:15'),
(109, 29, 1, 17760.00, 'flat', NULL, '2026-01-22 09:25:58', '2026-01-22 09:25:58'),
(110, 29, 2, 450.00, 'flat', NULL, '2026-01-22 09:25:58', '2026-01-22 09:25:58'),
(111, 29, 3, 250.00, 'flat', NULL, '2026-01-22 09:25:58', '2026-01-22 09:25:58'),
(112, 29, 4, 200.00, 'flat', NULL, '2026-01-22 09:25:58', '2026-01-22 09:25:58'),
(113, 30, 1, 22000.00, 'flat', NULL, '2026-02-23 14:23:27', '2026-02-23 14:23:27'),
(114, 30, 2, 1000.00, 'flat', NULL, '2026-02-23 14:23:27', '2026-02-23 14:23:27'),
(115, 30, 3, 500.00, 'flat', NULL, '2026-02-23 14:23:27', '2026-02-23 14:23:27'),
(116, 30, 4, 200.00, 'flat', NULL, '2026-02-23 14:23:27', '2026-02-23 14:23:27'),
(117, 31, 1, 22000.00, 'flat', NULL, '2026-02-23 14:24:44', '2026-02-23 14:24:44'),
(118, 31, 2, 585.00, 'flat', NULL, '2026-02-23 14:24:44', '2026-02-23 14:24:44'),
(119, 31, 3, 500.00, 'flat', NULL, '2026-02-23 14:24:44', '2026-02-23 14:24:44'),
(120, 31, 4, 200.00, 'flat', NULL, '2026-02-23 14:24:44', '2026-02-23 14:24:44'),
(121, 32, 1, 26000.00, 'flat', NULL, '2026-03-02 15:22:15', '2026-03-02 15:22:15'),
(122, 32, 2, 585.00, 'flat', NULL, '2026-03-02 15:22:15', '2026-03-02 15:22:15'),
(123, 32, 3, 250.00, 'flat', NULL, '2026-03-02 15:22:15', '2026-03-02 15:22:15'),
(124, 32, 4, 200.00, 'flat', NULL, '2026-03-02 15:22:15', '2026-03-02 15:22:15'),
(125, 33, 1, 26000.00, 'flat', NULL, '2026-03-02 15:22:32', '2026-03-02 15:22:32'),
(126, 33, 2, 585.00, 'flat', NULL, '2026-03-02 15:22:32', '2026-03-02 15:22:32'),
(127, 33, 3, 250.00, 'flat', NULL, '2026-03-02 15:22:32', '2026-03-02 15:22:32'),
(128, 33, 4, 200.00, 'flat', NULL, '2026-03-02 15:22:32', '2026-03-02 15:22:32'),
(129, 34, 1, 24000.00, 'flat', NULL, '2026-03-02 15:22:45', '2026-03-02 15:22:45'),
(130, 34, 2, 585.00, 'flat', NULL, '2026-03-02 15:22:45', '2026-03-02 15:22:45'),
(131, 34, 3, 250.00, 'flat', NULL, '2026-03-02 15:22:45', '2026-03-02 15:22:45'),
(132, 34, 4, 200.00, 'flat', NULL, '2026-03-02 15:22:45', '2026-03-02 15:22:45'),
(133, 35, 1, 22000.00, 'flat', NULL, '2026-03-02 15:23:00', '2026-03-02 15:23:00'),
(134, 35, 2, 585.00, 'flat', NULL, '2026-03-02 15:23:00', '2026-03-02 15:23:00'),
(135, 35, 3, 250.00, 'flat', NULL, '2026-03-02 15:23:00', '2026-03-02 15:23:00'),
(136, 35, 4, 200.00, 'flat', NULL, '2026-03-02 15:23:00', '2026-03-02 15:23:00'),
(137, 36, 1, 18360.00, 'flat', NULL, '2026-03-02 15:23:12', '2026-03-02 15:23:12'),
(138, 36, 2, 450.00, 'flat', NULL, '2026-03-02 15:23:12', '2026-03-02 15:23:12'),
(139, 36, 3, 250.00, 'flat', NULL, '2026-03-02 15:23:12', '2026-03-02 15:23:12'),
(140, 36, 4, 200.00, 'flat', NULL, '2026-03-02 15:23:12', '2026-03-02 15:23:12'),
(141, 37, 1, 17760.00, 'flat', NULL, '2026-03-02 15:23:25', '2026-03-02 15:23:25'),
(142, 37, 2, 450.00, 'flat', NULL, '2026-03-02 15:23:25', '2026-03-02 15:23:25'),
(143, 37, 3, 250.00, 'flat', NULL, '2026-03-02 15:23:25', '2026-03-02 15:23:25'),
(144, 37, 4, 200.00, 'flat', NULL, '2026-03-02 15:23:25', '2026-03-02 15:23:25'),
(145, 38, 1, 16680.00, 'flat', NULL, '2026-03-02 15:23:36', '2026-03-02 15:23:36'),
(146, 38, 2, 450.00, 'flat', NULL, '2026-03-02 15:23:36', '2026-03-02 15:23:36'),
(147, 38, 3, 250.00, 'flat', NULL, '2026-03-02 15:23:36', '2026-03-02 15:23:36'),
(148, 38, 4, 200.00, 'flat', NULL, '2026-03-02 15:23:36', '2026-03-02 15:23:36'),
(149, 39, 1, 16680.00, 'flat', NULL, '2026-03-02 15:23:44', '2026-03-02 15:23:44'),
(150, 39, 2, 450.00, 'flat', NULL, '2026-03-02 15:23:44', '2026-03-02 15:23:44'),
(151, 39, 3, 250.00, 'flat', NULL, '2026-03-02 15:23:44', '2026-03-02 15:23:44'),
(152, 39, 4, 200.00, 'flat', NULL, '2026-03-02 15:23:44', '2026-03-02 15:23:44'),
(153, 40, 1, 22000.00, 'flat', NULL, '2026-03-02 15:23:54', '2026-03-02 15:23:54'),
(154, 40, 2, 585.00, 'flat', NULL, '2026-03-02 15:23:54', '2026-03-02 15:23:54'),
(155, 40, 3, 500.00, 'flat', NULL, '2026-03-02 15:23:54', '2026-03-02 15:23:54'),
(156, 40, 4, 200.00, 'flat', NULL, '2026-03-02 15:23:54', '2026-03-02 15:23:54'),
(157, 41, 1, 26000.00, 'flat', NULL, '2026-03-03 12:39:49', '2026-03-03 12:39:49'),
(158, 41, 2, 292.50, 'flat', NULL, '2026-03-03 12:39:49', '2026-03-03 12:39:49'),
(159, 41, 3, 125.00, 'flat', NULL, '2026-03-03 12:39:49', '2026-03-03 12:39:49'),
(160, 41, 4, 100.00, 'flat', NULL, '2026-03-03 12:39:49', '2026-03-03 12:39:49'),
(161, 42, 1, 26000.00, 'flat', NULL, '2026-03-03 12:40:19', '2026-03-03 12:40:19'),
(162, 42, 2, 292.50, 'flat', NULL, '2026-03-03 12:40:19', '2026-03-03 12:40:19'),
(163, 42, 3, 125.00, 'flat', NULL, '2026-03-03 12:40:19', '2026-03-03 12:40:19'),
(164, 42, 4, 100.00, 'flat', NULL, '2026-03-03 12:40:19', '2026-03-03 12:40:19'),
(165, 43, 1, 24000.00, 'flat', NULL, '2026-03-03 12:40:35', '2026-03-03 12:40:35'),
(166, 43, 2, 292.50, 'flat', NULL, '2026-03-03 12:40:35', '2026-03-03 12:40:35'),
(167, 43, 3, 125.00, 'flat', NULL, '2026-03-03 12:40:35', '2026-03-03 12:40:35'),
(168, 43, 4, 100.00, 'flat', NULL, '2026-03-03 12:40:35', '2026-03-03 12:40:35'),
(169, 44, 1, 22000.00, 'flat', NULL, '2026-03-03 12:40:52', '2026-03-03 12:40:52'),
(170, 44, 2, 292.50, 'flat', NULL, '2026-03-03 12:40:52', '2026-03-03 12:40:52'),
(171, 44, 3, 125.00, 'flat', NULL, '2026-03-03 12:40:52', '2026-03-03 12:40:52'),
(172, 44, 4, 100.00, 'flat', NULL, '2026-03-03 12:40:52', '2026-03-03 12:40:52'),
(173, 45, 1, 22000.00, 'flat', NULL, '2026-03-03 12:41:49', '2026-03-03 12:41:49'),
(174, 45, 2, 292.50, 'flat', NULL, '2026-03-03 12:41:49', '2026-03-03 12:41:49'),
(175, 45, 3, 125.00, 'flat', NULL, '2026-03-03 12:41:49', '2026-03-03 12:41:49'),
(176, 45, 4, 100.00, 'flat', NULL, '2026-03-03 12:41:49', '2026-03-03 12:41:49'),
(177, 46, 1, 18360.00, 'flat', NULL, '2026-03-03 12:42:13', '2026-03-03 12:42:13'),
(178, 46, 2, 225.00, 'flat', NULL, '2026-03-03 12:42:13', '2026-03-03 12:42:13'),
(179, 46, 3, 125.00, 'flat', NULL, '2026-03-03 12:42:13', '2026-03-03 12:42:13'),
(180, 46, 4, 100.00, 'flat', NULL, '2026-03-03 12:42:13', '2026-03-03 12:42:13'),
(181, 47, 1, 17760.00, 'flat', NULL, '2026-03-03 12:42:30', '2026-03-03 12:42:30'),
(182, 47, 2, 225.00, 'flat', NULL, '2026-03-03 12:42:30', '2026-03-03 12:42:30'),
(183, 47, 3, 125.00, 'flat', NULL, '2026-03-03 12:42:30', '2026-03-03 12:42:30'),
(184, 47, 4, 100.00, 'flat', NULL, '2026-03-03 12:42:30', '2026-03-03 12:42:30'),
(185, 48, 1, 16680.00, 'flat', NULL, '2026-03-03 12:42:45', '2026-03-03 12:42:45'),
(186, 48, 2, 225.00, 'flat', NULL, '2026-03-03 12:42:46', '2026-03-03 12:42:46'),
(187, 48, 3, 125.00, 'flat', NULL, '2026-03-03 12:42:46', '2026-03-03 12:42:46'),
(188, 48, 4, 100.00, 'flat', NULL, '2026-03-03 12:42:46', '2026-03-03 12:42:46'),
(189, 49, 1, 16680.00, 'flat', NULL, '2026-03-03 12:43:03', '2026-03-03 12:43:03'),
(190, 49, 2, 225.00, 'flat', NULL, '2026-03-03 12:43:03', '2026-03-03 12:43:03'),
(191, 49, 3, 125.00, 'flat', NULL, '2026-03-03 12:43:03', '2026-03-03 12:43:03'),
(192, 49, 4, 100.00, 'flat', NULL, '2026-03-03 12:43:03', '2026-03-03 12:43:03'),
(193, 50, 1, 26000.00, 'flat', NULL, '2026-03-03 12:44:22', '2026-03-03 12:44:22'),
(194, 50, 2, 292.50, 'flat', NULL, '2026-03-03 12:44:22', '2026-03-03 12:44:22'),
(195, 50, 3, 125.00, 'flat', NULL, '2026-03-03 12:44:22', '2026-03-03 12:44:22'),
(196, 50, 4, 100.00, 'flat', NULL, '2026-03-03 12:44:22', '2026-03-03 12:44:22'),
(197, 51, 1, 26000.00, 'flat', NULL, '2026-03-03 12:44:32', '2026-03-03 12:44:32'),
(198, 51, 2, 292.50, 'flat', NULL, '2026-03-03 12:44:32', '2026-03-03 12:44:32'),
(199, 51, 3, 125.00, 'flat', NULL, '2026-03-03 12:44:32', '2026-03-03 12:44:32'),
(200, 51, 4, 100.00, 'flat', NULL, '2026-03-03 12:44:32', '2026-03-03 12:44:32'),
(201, 52, 1, 24000.00, 'flat', NULL, '2026-03-03 12:44:41', '2026-03-03 12:44:41'),
(202, 52, 2, 292.50, 'flat', NULL, '2026-03-03 12:44:41', '2026-03-03 12:44:41'),
(203, 52, 3, 125.00, 'flat', NULL, '2026-03-03 12:44:41', '2026-03-03 12:44:41'),
(204, 52, 4, 100.00, 'flat', NULL, '2026-03-03 12:44:41', '2026-03-03 12:44:41'),
(205, 53, 1, 22000.00, 'flat', NULL, '2026-03-03 12:44:50', '2026-03-03 12:44:50'),
(206, 53, 2, 292.50, 'flat', NULL, '2026-03-03 12:44:50', '2026-03-03 12:44:50'),
(207, 53, 3, 125.00, 'flat', NULL, '2026-03-03 12:44:50', '2026-03-03 12:44:50'),
(208, 53, 4, 100.00, 'flat', NULL, '2026-03-03 12:44:50', '2026-03-03 12:44:50'),
(209, 54, 1, 22000.00, 'flat', NULL, '2026-03-03 12:45:03', '2026-03-03 12:45:03'),
(210, 54, 2, 292.50, 'flat', NULL, '2026-03-03 12:45:03', '2026-03-03 12:45:03'),
(211, 54, 3, 125.00, 'flat', NULL, '2026-03-03 12:45:03', '2026-03-03 12:45:03'),
(212, 54, 4, 100.00, 'flat', NULL, '2026-03-03 12:45:03', '2026-03-03 12:45:03'),
(213, 55, 1, 22000.00, 'flat', NULL, '2026-03-03 12:45:12', '2026-03-03 12:45:12'),
(214, 55, 2, 292.50, 'flat', NULL, '2026-03-03 12:45:12', '2026-03-03 12:45:12'),
(215, 55, 3, 125.00, 'flat', NULL, '2026-03-03 12:45:12', '2026-03-03 12:45:12'),
(216, 55, 4, 100.00, 'flat', NULL, '2026-03-03 12:45:12', '2026-03-03 12:45:12'),
(217, 56, 1, 18360.00, 'flat', NULL, '2026-03-03 12:45:27', '2026-03-03 12:45:27'),
(218, 56, 2, 225.00, 'flat', NULL, '2026-03-03 12:45:27', '2026-03-03 12:45:27'),
(219, 56, 3, 125.00, 'flat', NULL, '2026-03-03 12:45:27', '2026-03-03 12:45:27'),
(220, 56, 4, 100.00, 'flat', NULL, '2026-03-03 12:45:27', '2026-03-03 12:45:27'),
(221, 57, 1, 17760.00, 'flat', NULL, '2026-03-03 12:45:36', '2026-03-03 12:45:36'),
(222, 57, 2, 225.00, 'flat', NULL, '2026-03-03 12:45:36', '2026-03-03 12:45:36'),
(223, 57, 3, 125.00, 'flat', NULL, '2026-03-03 12:45:36', '2026-03-03 12:45:36'),
(224, 57, 4, 100.00, 'flat', NULL, '2026-03-03 12:45:36', '2026-03-03 12:45:36'),
(225, 58, 1, 16680.00, 'flat', NULL, '2026-03-03 12:45:45', '2026-03-03 12:45:45'),
(226, 58, 2, 225.00, 'flat', NULL, '2026-03-03 12:45:45', '2026-03-03 12:45:45'),
(227, 58, 3, 125.00, 'flat', NULL, '2026-03-03 12:45:45', '2026-03-03 12:45:45'),
(228, 58, 4, 100.00, 'flat', NULL, '2026-03-03 12:45:45', '2026-03-03 12:45:45'),
(229, 59, 1, 16680.00, 'flat', NULL, '2026-03-03 12:45:54', '2026-03-03 12:45:54'),
(230, 59, 2, 225.00, 'flat', NULL, '2026-03-03 12:45:54', '2026-03-03 12:45:54'),
(231, 59, 3, 125.00, 'flat', NULL, '2026-03-03 12:45:54', '2026-03-03 12:45:54'),
(232, 59, 4, 100.00, 'flat', NULL, '2026-03-03 12:45:54', '2026-03-03 12:45:54');

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

--
-- Table structure for table `employee_salary_structures`
--

CREATE TABLE `employee_salary_structures` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `user_id` bigint(20) UNSIGNED NOT NULL,
  `pay_group_id` bigint(20) UNSIGNED DEFAULT NULL,
  `net_salary` decimal(15,2) NOT NULL DEFAULT 0.00,
  `gross_salary` decimal(15,2) NOT NULL DEFAULT 0.00,
  `total_deductions` decimal(15,2) NOT NULL DEFAULT 0.00,
  `effective_date` date NOT NULL,
  `status` enum('active','inactive') NOT NULL DEFAULT 'active',
  `pay_frequency` varchar(255) NOT NULL DEFAULT 'monthly',
  `daily_rate` decimal(12,2) DEFAULT NULL,
  `is_exempt` tinyint(1) NOT NULL DEFAULT 0,
  `deduct_lates` tinyint(1) NOT NULL DEFAULT 1,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  `tenant_id` bigint(20) UNSIGNED DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `employee_salary_structures`
--

INSERT INTO `employee_salary_structures` (`id`, `user_id`, `pay_group_id`, `net_salary`, `gross_salary`, `total_deductions`, `effective_date`, `status`, `pay_frequency`, `daily_rate`, `is_exempt`, `deduct_lates`, `created_at`, `updated_at`, `deleted_at`, `tenant_id`) VALUES
(1, 1, NULL, 25000.00, 25000.00, 0.00, '2026-01-16', 'inactive', 'monthly', NULL, 1, 1, '2026-01-16 09:47:21', '2026-01-16 09:56:29', NULL, NULL),
(2, 1, NULL, 22611.20, 25000.00, 2388.80, '2026-01-16', 'inactive', 'monthly', NULL, 0, 1, '2026-01-16 09:56:29', '2026-01-19 11:27:52', NULL, NULL),
(3, 1, NULL, 17611.20, 20000.00, 2388.80, '2026-01-19', 'inactive', 'monthly', NULL, 0, 1, '2026-01-19 11:27:52', '2026-01-19 12:14:24', NULL, NULL),
(4, 2, NULL, 18300.00, 20000.00, 1700.00, '2026-01-19', 'inactive', 'monthly', NULL, 1, 1, '2026-01-19 11:40:43', '2026-01-19 12:09:58', NULL, NULL),
(5, 3, NULL, 18300.00, 20000.00, 1700.00, '2026-01-19', 'inactive', 'monthly', NULL, 0, 1, '2026-01-19 11:41:05', '2026-01-19 12:11:35', NULL, NULL),
(6, 4, NULL, 18300.00, 20000.00, 1700.00, '2026-01-19', 'inactive', 'monthly', NULL, 0, 1, '2026-01-19 11:41:28', '2026-01-19 12:12:19', NULL, NULL),
(7, 5, NULL, 18300.00, 20000.00, 1700.00, '2026-01-19', 'inactive', 'monthly', NULL, 0, 1, '2026-01-19 11:41:44', '2026-01-19 12:12:46', NULL, NULL),
(8, 6, NULL, 16783.00, 18360.00, 1577.00, '2026-01-19', 'inactive', 'daily', 765.00, 0, 1, '2026-01-19 11:45:08', '2026-01-19 12:13:10', NULL, NULL),
(9, 7, NULL, 16228.00, 17760.00, 1532.00, '2026-01-19', 'inactive', 'daily', 740.00, 0, 1, '2026-01-19 11:47:39', '2026-01-19 12:13:27', NULL, NULL),
(10, 8, NULL, 18300.00, 20000.00, 1700.00, '2026-01-19', 'inactive', 'monthly', NULL, 0, 1, '2026-01-19 11:48:06', '2026-02-23 14:23:27', NULL, NULL),
(11, 9, NULL, 15229.00, 16680.00, 1451.00, '2026-01-19', 'inactive', 'daily', 695.00, 0, 1, '2026-01-19 11:48:32', '2026-01-19 12:13:42', NULL, NULL),
(12, 10, NULL, 15229.00, 16680.00, 1451.00, '2026-01-19', 'inactive', 'daily', 695.00, 0, 1, '2026-01-19 11:49:53', '2026-01-19 12:13:56', NULL, NULL),
(13, 2, NULL, 18965.00, 20000.00, 1035.00, '2026-01-19', 'inactive', 'monthly', NULL, 1, 1, '2026-01-19 12:09:58', '2026-01-19 12:10:51', NULL, NULL),
(14, 2, NULL, 18965.00, 20000.00, 1035.00, '2026-01-19', 'inactive', 'monthly', NULL, 1, 1, '2026-01-19 12:10:51', '2026-01-19 12:11:51', NULL, NULL),
(15, 3, NULL, 24965.00, 26000.00, 1035.00, '2026-01-19', 'inactive', 'monthly', NULL, 1, 1, '2026-01-19 12:11:35', '2026-01-22 09:24:39', NULL, NULL),
(16, 2, NULL, 24965.00, 26000.00, 1035.00, '2026-01-19', 'inactive', 'monthly', NULL, 1, 1, '2026-01-19 12:11:51', '2026-01-22 09:24:24', NULL, NULL),
(17, 4, NULL, 22965.00, 24000.00, 1035.00, '2026-01-19', 'inactive', 'monthly', NULL, 1, 1, '2026-01-19 12:12:19', '2026-01-22 09:24:57', NULL, NULL),
(18, 5, NULL, 20965.00, 22000.00, 1035.00, '2026-01-19', 'inactive', 'monthly', NULL, 1, 1, '2026-01-19 12:12:46', '2026-01-22 09:25:07', NULL, NULL),
(19, 6, NULL, 17460.00, 18360.00, 900.00, '2026-01-19', 'inactive', 'daily', 765.00, 0, 1, '2026-01-19 12:13:10', '2026-01-22 09:25:15', NULL, NULL),
(20, 7, NULL, 16860.00, 17760.00, 900.00, '2026-01-19', 'inactive', 'daily', 740.00, 0, 1, '2026-01-19 12:13:27', '2026-01-22 09:25:58', NULL, NULL),
(21, 9, 2, 15780.00, 16680.00, 900.00, '2026-01-19', 'inactive', 'daily', 695.00, 0, 1, '2026-01-19 12:13:42', '2026-03-02 15:23:36', NULL, NULL),
(22, 10, 2, 15780.00, 16680.00, 900.00, '2026-01-19', 'inactive', 'daily', 695.00, 0, 1, '2026-01-19 12:13:56', '2026-03-02 15:23:44', NULL, NULL),
(23, 1, 2, 1.00, 1.00, 0.00, '2026-01-19', 'active', 'daily', 0.04, 0, 1, '2026-01-19 12:14:24', '2026-03-04 13:06:51', NULL, NULL),
(24, 2, 2, 24965.00, 26000.00, 1035.00, '2026-01-22', 'inactive', 'daily', NULL, 1, 1, '2026-01-22 09:24:24', '2026-03-02 15:22:15', NULL, NULL),
(25, 3, 2, 24965.00, 26000.00, 1035.00, '2026-01-22', 'inactive', 'daily', NULL, 1, 1, '2026-01-22 09:24:39', '2026-03-02 15:22:32', NULL, NULL),
(26, 4, 2, 22965.00, 24000.00, 1035.00, '2026-01-22', 'inactive', 'daily', NULL, 1, 1, '2026-01-22 09:24:57', '2026-03-02 15:22:45', NULL, NULL),
(27, 5, 2, 20965.00, 22000.00, 1035.00, '2026-01-22', 'inactive', 'daily', NULL, 1, 1, '2026-01-22 09:25:07', '2026-03-02 15:23:00', NULL, NULL),
(28, 6, 2, 17460.00, 18360.00, 900.00, '2026-01-22', 'inactive', 'daily', 765.00, 0, 1, '2026-01-22 09:25:15', '2026-03-02 15:23:12', NULL, NULL),
(29, 7, 2, 16860.00, 17760.00, 900.00, '2026-01-22', 'inactive', 'daily', 740.00, 0, 1, '2026-01-22 09:25:58', '2026-03-02 15:23:25', NULL, NULL),
(30, 8, NULL, 20300.00, 22000.00, 1700.00, '2026-02-23', 'inactive', 'monthly', NULL, 0, 1, '2026-02-23 14:23:27', '2026-02-23 14:24:44', NULL, NULL),
(31, 8, 2, 20715.00, 22000.00, 1285.00, '2026-02-23', 'inactive', 'daily', NULL, 0, 1, '2026-02-23 14:24:44', '2026-03-02 15:23:54', NULL, NULL),
(32, 2, 1, 24965.00, 26000.00, 1035.00, '2026-03-02', 'inactive', 'daily', NULL, 1, 1, '2026-03-02 15:22:15', '2026-03-03 12:39:49', NULL, NULL),
(33, 3, 1, 24965.00, 26000.00, 1035.00, '2026-03-02', 'inactive', 'daily', NULL, 1, 1, '2026-03-02 15:22:32', '2026-03-03 12:40:19', NULL, NULL),
(34, 4, 1, 22965.00, 24000.00, 1035.00, '2026-03-02', 'inactive', 'daily', NULL, 1, 1, '2026-03-02 15:22:45', '2026-03-03 12:40:35', NULL, NULL),
(35, 5, 1, 20965.00, 22000.00, 1035.00, '2026-03-02', 'inactive', 'daily', NULL, 1, 1, '2026-03-02 15:23:00', '2026-03-03 12:40:52', NULL, NULL),
(36, 6, 2, 17460.00, 18360.00, 900.00, '2026-03-02', 'inactive', 'daily', 765.00, 0, 1, '2026-03-02 15:23:12', '2026-03-03 12:42:13', NULL, NULL),
(37, 7, 2, 16860.00, 17760.00, 900.00, '2026-03-02', 'inactive', 'daily', 740.00, 0, 1, '2026-03-02 15:23:25', '2026-03-03 12:42:30', NULL, NULL),
(38, 9, 2, 15780.00, 16680.00, 900.00, '2026-03-02', 'inactive', 'daily', 695.00, 0, 1, '2026-03-02 15:23:36', '2026-03-03 12:42:45', NULL, NULL),
(39, 10, 2, 15780.00, 16680.00, 900.00, '2026-03-02', 'inactive', 'daily', 695.00, 0, 1, '2026-03-02 15:23:44', '2026-03-03 12:43:03', NULL, NULL),
(40, 8, 3, 20715.00, 22000.00, 1285.00, '2026-03-02', 'inactive', 'daily', NULL, 0, 1, '2026-03-02 15:23:54', '2026-03-03 12:41:49', NULL, NULL),
(41, 2, 1, 25482.50, 26000.00, 517.50, '2026-03-03', 'inactive', 'daily', NULL, 1, 1, '2026-03-03 12:39:49', '2026-03-03 12:44:22', NULL, NULL),
(42, 3, 1, 25482.50, 26000.00, 517.50, '2026-03-03', 'inactive', 'daily', NULL, 1, 1, '2026-03-03 12:40:19', '2026-03-03 12:44:32', NULL, NULL),
(43, 4, 1, 23482.50, 24000.00, 517.50, '2026-03-03', 'inactive', 'daily', NULL, 1, 1, '2026-03-03 12:40:35', '2026-03-03 12:44:41', NULL, NULL),
(44, 5, 1, 21482.50, 22000.00, 517.50, '2026-03-03', 'inactive', 'daily', NULL, 1, 1, '2026-03-03 12:40:52', '2026-03-03 12:44:50', NULL, NULL),
(45, 8, 3, 21482.50, 22000.00, 517.50, '2026-03-03', 'inactive', 'daily', NULL, 0, 1, '2026-03-03 12:41:49', '2026-03-03 12:45:12', NULL, NULL),
(46, 6, 2, 17910.00, 18360.00, 450.00, '2026-03-03', 'inactive', 'daily', 765.00, 0, 1, '2026-03-03 12:42:13', '2026-03-03 12:45:27', NULL, NULL),
(47, 7, 2, 17310.00, 17760.00, 450.00, '2026-03-03', 'inactive', 'daily', 740.00, 0, 1, '2026-03-03 12:42:30', '2026-03-03 12:45:36', NULL, NULL),
(48, 9, 2, 16230.00, 16680.00, 450.00, '2026-03-03', 'inactive', 'daily', 695.00, 0, 1, '2026-03-03 12:42:45', '2026-03-03 12:45:45', NULL, NULL),
(49, 10, 2, 16230.00, 16680.00, 450.00, '2026-03-03', 'inactive', 'daily', 695.00, 0, 1, '2026-03-03 12:43:03', '2026-03-03 12:45:54', NULL, NULL),
(50, 2, 1, 25482.50, 26000.00, 517.50, '2026-03-03', 'active', 'semi-monthly', 1000.00, 1, 1, '2026-03-03 12:44:22', '2026-03-10 08:20:49', NULL, NULL),
(51, 3, 1, 25482.50, 26000.00, 517.50, '2026-03-03', 'active', 'semi-monthly', 1000.00, 0, 1, '2026-03-03 12:44:32', '2026-03-10 08:20:49', NULL, NULL),
(52, 4, 1, 23482.50, 24000.00, 517.50, '2026-03-03', 'active', 'semi-monthly', 923.08, 0, 1, '2026-03-03 12:44:41', '2026-03-10 08:20:49', NULL, NULL),
(53, 5, 1, 21482.50, 22000.00, 517.50, '2026-03-03', 'inactive', 'monthly', NULL, 1, 1, '2026-03-03 12:44:50', '2026-03-03 12:45:03', NULL, NULL),
(54, 5, 1, 21482.50, 22000.00, 517.50, '2026-03-03', 'active', 'semi-monthly', 846.15, 0, 1, '2026-03-03 12:45:03', '2026-03-10 08:20:49', NULL, NULL),
(55, 8, 1, 21482.50, 22000.00, 517.50, '2026-03-03', 'active', 'semi-monthly', 846.15, 0, 1, '2026-03-03 12:45:12', '2026-03-10 08:20:49', NULL, NULL),
(56, 6, 2, 17910.00, 18360.00, 450.00, '2026-03-03', 'active', 'daily', 765.00, 0, 1, '2026-03-03 12:45:27', '2026-03-03 12:45:27', NULL, NULL),
(57, 7, 2, 17310.00, 17760.00, 450.00, '2026-03-03', 'active', 'daily', 740.00, 0, 1, '2026-03-03 12:45:36', '2026-03-03 12:45:36', NULL, NULL),
(58, 9, 2, 16230.00, 16680.00, 450.00, '2026-03-03', 'active', 'daily', 695.00, 0, 1, '2026-03-03 12:45:45', '2026-03-03 12:45:45', NULL, NULL),
(59, 10, 2, 16230.00, 16680.00, 450.00, '2026-03-03', 'active', 'daily', 695.00, 0, 1, '2026-03-03 12:45:54', '2026-03-03 12:45:54', NULL, NULL);

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

--
-- Table structure for table `expense_requests`
--

CREATE TABLE `expense_requests` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `for_date` datetime NOT NULL,
  `user_id` bigint(20) UNSIGNED NOT NULL,
  `expense_type_id` bigint(20) UNSIGNED NOT NULL,
  `document_url` text DEFAULT NULL,
  `remarks` varchar(500) DEFAULT NULL,
  `status` enum('pending','approved','rejected','cancelled') NOT NULL DEFAULT 'pending',
  `approved_at` datetime DEFAULT NULL,
  `rejected_at` datetime DEFAULT NULL,
  `approved_by_id` bigint(20) UNSIGNED DEFAULT NULL,
  `rejected_by_id` bigint(20) UNSIGNED DEFAULT NULL,
  `admin_remarks` text DEFAULT NULL,
  `amount` decimal(10,2) NOT NULL,
  `approved_amount` decimal(10,2) DEFAULT NULL,
  `processed_in_payroll` tinyint(1) NOT NULL DEFAULT 0,
  `payroll_record_id` bigint(20) UNSIGNED DEFAULT NULL,
  `payroll_processed_at` timestamp NULL DEFAULT NULL,
  `created_by_id` bigint(20) UNSIGNED DEFAULT NULL,
  `updated_by_id` bigint(20) UNSIGNED DEFAULT NULL,
  `tenant_id` varchar(191) DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

--
-- Table structure for table `expense_types`
--

CREATE TABLE `expense_types` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `name` varchar(191) NOT NULL,
  `code` varchar(50) NOT NULL,
  `notes` varchar(500) DEFAULT NULL,
  `default_amount` decimal(15,2) DEFAULT NULL,
  `max_amount` decimal(15,2) DEFAULT NULL,
  `is_proof_required` tinyint(1) NOT NULL DEFAULT 0,
  `status` enum('active','inactive') NOT NULL DEFAULT 'active',
  `tenant_id` varchar(191) DEFAULT NULL,
  `created_by_id` bigint(20) UNSIGNED DEFAULT NULL,
  `updated_by_id` bigint(20) UNSIGNED DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

--
-- Table structure for table `face_data`
--

CREATE TABLE `face_data` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `user_id` bigint(20) UNSIGNED NOT NULL,
  `image_path` varchar(255) DEFAULT NULL,
  `landmarks` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL CHECK (json_valid(`landmarks`)),
  `enrollment_device` varchar(255) DEFAULT NULL,
  `enrolled_at` timestamp NULL DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

--
-- Table structure for table `face_matching_settings`
--

CREATE TABLE `face_matching_settings` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `scope` varchar(255) NOT NULL DEFAULT 'global',
  `tenant_id` bigint(20) UNSIGNED DEFAULT NULL,
  `algorithm` enum('naive','chatgpt','gemini') NOT NULL DEFAULT 'naive',
  `openai_api_key` text DEFAULT NULL,
  `openai_model` varchar(255) NOT NULL DEFAULT 'gpt-4-vision-preview',
  `gemini_api_key` text DEFAULT NULL,
  `gemini_model` varchar(255) NOT NULL DEFAULT 'gemini-pro-vision',
  `match_threshold` double NOT NULL DEFAULT 0.85,
  `require_liveness` tinyint(1) NOT NULL DEFAULT 1,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

--
-- Table structure for table `fcm_tokens`
--

CREATE TABLE `fcm_tokens` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `user_id` bigint(20) UNSIGNED NOT NULL,
  `device_id` varchar(255) NOT NULL,
  `device_type` enum('android','ios','web','macos','windows','linux') NOT NULL DEFAULT 'android',
  `device_name` varchar(255) DEFAULT NULL,
  `fcm_token` text NOT NULL,
  `app_version` varchar(255) DEFAULT NULL,
  `is_active` tinyint(1) NOT NULL DEFAULT 1,
  `last_used_at` timestamp NULL DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

--
-- Table structure for table `field_manager_activities`
--

CREATE TABLE `field_manager_activities` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `uid` varchar(255) DEFAULT NULL,
  `attendance_log_id` bigint(20) UNSIGNED NOT NULL,
  `latitude` decimal(10,8) NOT NULL,
  `longitude` decimal(11,8) NOT NULL,
  `address` text DEFAULT NULL,
  `type` varchar(255) NOT NULL DEFAULT 'unknown',
  `activity` varchar(255) DEFAULT NULL,
  `accuracy` double DEFAULT NULL,
  `bearing` double DEFAULT NULL,
  `speed` double DEFAULT NULL,
  `altitude` double DEFAULT NULL,
  `battery_percentage` int(11) DEFAULT NULL,
  `signal_strength` int(11) DEFAULT NULL,
  `is_gps_on` tinyint(1) NOT NULL DEFAULT 1,
  `is_wifi_on` tinyint(1) NOT NULL DEFAULT 0,
  `is_mock` tinyint(1) NOT NULL DEFAULT 0,
  `horizontalAccuracy` double DEFAULT NULL,
  `verticalAccuracy` double DEFAULT NULL,
  `course` double DEFAULT NULL,
  `courseAccuracy` double DEFAULT NULL,
  `speedAccuracy` double DEFAULT NULL,
  `created_by_id` bigint(20) UNSIGNED DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

--
-- Table structure for table `field_manager_sos`
--

CREATE TABLE `field_manager_sos` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `user_id` bigint(20) UNSIGNED NOT NULL,
  `latitude` double NOT NULL,
  `longitude` double NOT NULL,
  `message` text DEFAULT NULL,
  `status` varchar(255) NOT NULL DEFAULT 'pending',
  `resolved_by` bigint(20) UNSIGNED DEFAULT NULL,
  `resolved_at` timestamp NULL DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

--
-- Table structure for table `field_manager_user_devices`
--

CREATE TABLE `field_manager_user_devices` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `user_id` bigint(20) UNSIGNED NOT NULL,
  `device_id` varchar(255) DEFAULT NULL,
  `model` varchar(255) DEFAULT NULL,
  `os` varchar(255) DEFAULT NULL,
  `app_version` varchar(255) DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `field_manager_user_devices`
--

INSERT INTO `field_manager_user_devices` (`id`, `user_id`, `device_id`, `model`, `os`, `app_version`, `created_at`, `updated_at`) VALUES
(3, 1, '427FC678-18CF-4CBF-8BF4-EEBF0AE0E270', 'RamenHR', 'iOS (iOS)', '5.0.1 (1)', '2026-01-17 07:01:20', '2026-01-17 07:01:20'),
(4, 1, '15832FBD-79EA-4598-AFD3-78EB1A58747A', 'RamenHR', 'iOS (iOS)', '5.0.1 (1)', '2026-01-17 21:08:05', '2026-01-17 21:08:05');

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

--
-- Table structure for table `free_trial_requests`
--

CREATE TABLE `free_trial_requests` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `company_name` varchar(255) NOT NULL,
  `email` varchar(255) NOT NULL,
  `employee_count` int(11) DEFAULT NULL,
  `company_size` varchar(255) DEFAULT NULL,
  `status` enum('pending','contacted','converted','rejected') NOT NULL DEFAULT 'pending',
  `notes` text DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

--
-- Table structure for table `holidays`
--

CREATE TABLE `holidays` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `name` varchar(191) NOT NULL,
  `date` date NOT NULL,
  `code` varchar(50) NOT NULL,
  `year` year(4) NOT NULL,
  `day` varchar(20) DEFAULT NULL,
  `type` enum('public','religious','regional','optional','company','special','regular') DEFAULT 'regular',
  `category` enum('national','state','cultural','festival','company_event','other') DEFAULT NULL,
  `is_optional` tinyint(1) NOT NULL DEFAULT 0,
  `is_restricted` tinyint(1) NOT NULL DEFAULT 0,
  `is_recurring` tinyint(1) NOT NULL DEFAULT 0,
  `applicable_for` enum('all','department','location','employee_type','custom') NOT NULL DEFAULT 'all',
  `departments` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`departments`)),
  `locations` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`locations`)),
  `employee_types` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`employee_types`)),
  `branches` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`branches`)),
  `specific_employees` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`specific_employees`)),
  `description` text DEFAULT NULL,
  `notes` varchar(500) DEFAULT NULL,
  `image` varchar(255) DEFAULT NULL,
  `color` varchar(7) DEFAULT NULL,
  `sort_order` int(11) NOT NULL DEFAULT 0,
  `is_compensatory` tinyint(1) NOT NULL DEFAULT 0,
  `compensatory_date` date DEFAULT NULL,
  `is_half_day` tinyint(1) NOT NULL DEFAULT 0,
  `half_day_type` enum('morning','afternoon') DEFAULT NULL,
  `half_day_start_time` time DEFAULT NULL,
  `half_day_end_time` time DEFAULT NULL,
  `is_active` tinyint(1) NOT NULL DEFAULT 1,
  `is_visible_to_employees` tinyint(1) NOT NULL DEFAULT 1,
  `send_notification` tinyint(1) NOT NULL DEFAULT 1,
  `notification_days_before` int(11) NOT NULL DEFAULT 7,
  `approved_by_id` bigint(20) UNSIGNED DEFAULT NULL,
  `approved_at` timestamp NULL DEFAULT NULL,
  `created_by_id` bigint(20) UNSIGNED DEFAULT NULL,
  `updated_by_id` bigint(20) UNSIGNED DEFAULT NULL,
  `tenant_id` varchar(191) DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `holidays`
--

INSERT INTO `holidays` (`id`, `name`, `date`, `code`, `year`, `day`, `type`, `category`, `is_optional`, `is_restricted`, `is_recurring`, `applicable_for`, `departments`, `locations`, `employee_types`, `branches`, `specific_employees`, `description`, `notes`, `image`, `color`, `sort_order`, `is_compensatory`, `compensatory_date`, `is_half_day`, `half_day_type`, `half_day_start_time`, `half_day_end_time`, `is_active`, `is_visible_to_employees`, `send_notification`, `notification_days_before`, `approved_by_id`, `approved_at`, `created_by_id`, `updated_by_id`, `tenant_id`, `deleted_at`, `created_at`, `updated_at`) VALUES
(1, 'test', '2026-01-15', 'test', '2026', 'Thursday', 'public', NULL, 0, 0, 0, 'all', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '#4caf50', 0, 0, NULL, 0, 'morning', NULL, NULL, 1, 1, 0, 7, NULL, NULL, NULL, NULL, NULL, '2026-01-16 08:15:27', '2026-01-15 13:53:26', '2026-01-16 08:15:27'),
(2, 'New Year\'s Day', '2026-01-01', 'NEW_YEAR', '2026', 'Thursday', 'regular', 'national', 0, 0, 1, 'all', NULL, NULL, NULL, NULL, NULL, 'Regular Holiday - 200% pay if worked', NULL, NULL, '#4CAF50', 0, 0, NULL, 0, NULL, NULL, NULL, 1, 1, 1, 7, NULL, NULL, NULL, NULL, NULL, NULL, '2026-01-16 08:13:22', '2026-01-16 08:13:22'),
(3, 'Araw ng Kagitingan (Day of Valor)', '2026-04-09', 'KAGITINGAN', '2026', 'Thursday', 'regular', 'national', 0, 0, 1, 'all', NULL, NULL, NULL, NULL, NULL, 'Regular Holiday - 200% pay if worked', NULL, NULL, '#3f51b5', 0, 0, NULL, 0, 'morning', NULL, NULL, 1, 1, 1, 7, NULL, NULL, NULL, NULL, NULL, NULL, '2026-01-16 08:13:22', '2026-01-16 08:15:21'),
(4, 'Maundy Thursday', '2026-04-02', 'MAUNDY_THURSDAY', '2026', 'Thursday', 'regular', 'national', 0, 0, 1, 'all', NULL, NULL, NULL, NULL, NULL, 'Regular Holiday - 200% pay if worked', NULL, NULL, '#4CAF50', 0, 0, NULL, 0, NULL, NULL, NULL, 1, 1, 1, 7, NULL, NULL, NULL, NULL, NULL, NULL, '2026-01-16 08:13:22', '2026-01-16 08:13:22'),
(5, 'Good Friday', '2026-04-03', 'GOOD_FRIDAY', '2026', 'Friday', 'regular', 'national', 0, 0, 1, 'all', NULL, NULL, NULL, NULL, NULL, 'Regular Holiday - 200% pay if worked', NULL, NULL, '#4CAF50', 0, 0, NULL, 0, NULL, NULL, NULL, 1, 1, 1, 7, NULL, NULL, NULL, NULL, NULL, NULL, '2026-01-16 08:13:22', '2026-01-16 08:13:22'),
(6, 'Labor Day', '2026-05-01', 'LABOR_DAY', '2026', 'Friday', 'regular', 'national', 0, 0, 1, 'all', NULL, NULL, NULL, NULL, NULL, 'Regular Holiday - 200% pay if worked', NULL, NULL, '#4CAF50', 0, 0, NULL, 0, NULL, NULL, NULL, 1, 1, 1, 7, NULL, NULL, NULL, NULL, NULL, NULL, '2026-01-16 08:13:22', '2026-01-16 08:13:22'),
(7, 'Independence Day', '2026-06-12', 'INDEPENDENCE_DAY', '2026', 'Friday', 'regular', 'national', 0, 0, 1, 'all', NULL, NULL, NULL, NULL, NULL, 'Regular Holiday - 200% pay if worked', NULL, NULL, '#4CAF50', 0, 0, NULL, 0, NULL, NULL, NULL, 1, 1, 1, 7, NULL, NULL, NULL, NULL, NULL, NULL, '2026-01-16 08:13:22', '2026-01-16 08:13:22'),
(8, 'National Heroes Day', '2026-08-31', 'HEROES_DAY', '2026', 'Monday', 'regular', 'national', 0, 0, 1, 'all', NULL, NULL, NULL, NULL, NULL, 'Regular Holiday - 200% pay if worked', NULL, NULL, '#4CAF50', 0, 0, NULL, 0, NULL, NULL, NULL, 1, 1, 1, 7, NULL, NULL, NULL, NULL, NULL, NULL, '2026-01-16 08:13:22', '2026-01-16 08:13:22'),
(9, 'Bonifacio Day', '2026-11-30', 'BONIFACIO_DAY', '2026', 'Monday', 'regular', 'national', 0, 0, 1, 'all', NULL, NULL, NULL, NULL, NULL, 'Regular Holiday - 200% pay if worked', NULL, NULL, '#4CAF50', 0, 0, NULL, 0, NULL, NULL, NULL, 1, 1, 1, 7, NULL, NULL, NULL, NULL, NULL, NULL, '2026-01-16 08:13:22', '2026-01-16 08:13:22'),
(10, 'Christmas Day', '2026-12-25', 'CHRISTMAS', '2026', 'Friday', 'regular', 'national', 0, 0, 1, 'all', NULL, NULL, NULL, NULL, NULL, 'Regular Holiday - 200% pay if worked', NULL, NULL, '#4CAF50', 0, 0, NULL, 0, NULL, NULL, NULL, 1, 1, 1, 7, NULL, NULL, NULL, NULL, NULL, NULL, '2026-01-16 08:13:22', '2026-01-16 08:13:22'),
(11, 'Rizal Day', '2026-12-30', 'RIZAL_DAY', '2026', 'Wednesday', 'regular', 'national', 0, 0, 1, 'all', NULL, NULL, NULL, NULL, NULL, 'Regular Holiday - 200% pay if worked', NULL, NULL, '#4CAF50', 0, 0, NULL, 0, NULL, NULL, NULL, 1, 1, 1, 7, NULL, NULL, NULL, NULL, NULL, NULL, '2026-01-16 08:13:22', '2026-01-16 08:13:22'),
(12, 'Eid\'l Fitr (Feast of Ramadan)', '2026-03-30', 'EIDL_FITR', '2026', 'Monday', 'religious', 'national', 0, 0, 0, 'all', NULL, NULL, NULL, NULL, NULL, 'Regular Holiday - 200% pay if worked', NULL, NULL, '#00BCD4', 0, 0, NULL, 0, NULL, NULL, NULL, 1, 1, 1, 7, NULL, NULL, NULL, NULL, NULL, NULL, '2026-01-16 08:13:22', '2026-01-16 08:13:22'),
(13, 'Eid\'l Adha (Feast of Sacrifice)', '2026-06-06', 'EIDL_ADHA', '2026', 'Saturday', 'religious', 'national', 0, 0, 0, 'all', NULL, NULL, NULL, NULL, NULL, 'Regular Holiday - 200% pay if worked', NULL, NULL, '#00BCD4', 0, 0, NULL, 0, NULL, NULL, NULL, 1, 1, 1, 7, NULL, NULL, NULL, NULL, NULL, NULL, '2026-01-16 08:13:22', '2026-01-16 08:13:22'),
(14, 'Chinese New Year', '2026-02-17', 'CNY', '2026', 'Tuesday', 'special', 'national', 0, 0, 0, 'all', NULL, NULL, NULL, NULL, NULL, 'Special Non-Working Day - 130% pay if worked', NULL, NULL, '#D32F2F', 0, 0, NULL, 0, NULL, NULL, NULL, 1, 1, 1, 7, NULL, NULL, NULL, NULL, NULL, NULL, '2026-01-16 08:13:22', '2026-01-16 08:13:22'),
(15, 'EDSA People Power Revolution Anniversary', '2026-02-25', 'EDSA_REVOLUTION', '2026', 'Wednesday', 'special', 'national', 0, 0, 1, 'all', NULL, NULL, NULL, NULL, NULL, 'Special Non-Working Day - 130% pay if worked', NULL, NULL, '#FFEB3B', 0, 0, NULL, 0, NULL, NULL, NULL, 1, 1, 1, 7, NULL, NULL, NULL, NULL, NULL, NULL, '2026-01-16 08:13:22', '2026-01-16 08:13:22'),
(16, 'Black Saturday', '2026-04-04', 'BLACK_SATURDAY', '2026', 'Saturday', 'special', 'national', 0, 0, 1, 'all', NULL, NULL, NULL, NULL, NULL, 'Special Non-Working Day - 130% pay if worked', NULL, NULL, '#FF9800', 0, 0, NULL, 0, NULL, NULL, NULL, 1, 1, 1, 7, NULL, NULL, NULL, NULL, NULL, NULL, '2026-01-16 08:13:22', '2026-01-16 08:13:22'),
(17, 'Ninoy Aquino Day', '2026-08-21', 'NINOY_AQUINO', '2026', 'Friday', 'special', 'national', 0, 0, 1, 'all', NULL, NULL, NULL, NULL, NULL, 'Special Non-Working Day - 130% pay if worked', NULL, NULL, '#FF9800', 0, 0, NULL, 0, NULL, NULL, NULL, 1, 1, 1, 7, NULL, NULL, NULL, NULL, NULL, NULL, '2026-01-16 08:13:22', '2026-01-16 08:13:22'),
(18, 'All Saints\' Day', '2026-11-01', 'ALL_SAINTS', '2026', 'Sunday', 'special', 'national', 0, 0, 1, 'all', NULL, NULL, NULL, NULL, NULL, 'Special Non-Working Day - 130% pay if worked', NULL, NULL, '#FF9800', 0, 0, NULL, 0, NULL, NULL, NULL, 1, 1, 1, 7, NULL, NULL, NULL, NULL, NULL, NULL, '2026-01-16 08:13:22', '2026-01-16 08:13:22'),
(19, 'All Souls\' Day', '2026-11-02', 'ALL_SOULS', '2026', 'Monday', 'special', 'national', 0, 0, 1, 'all', NULL, NULL, NULL, NULL, NULL, 'Special Non-Working Day - 130% pay if worked', NULL, NULL, '#FF9800', 0, 0, NULL, 0, NULL, NULL, NULL, 1, 1, 1, 7, NULL, NULL, NULL, NULL, NULL, NULL, '2026-01-16 08:13:22', '2026-01-16 08:13:22'),
(20, 'Feast of the Immaculate Conception', '2026-12-08', 'IMMACULATE_CONCEPTION', '2026', 'Tuesday', 'special', 'national', 0, 0, 1, 'all', NULL, NULL, NULL, NULL, NULL, 'Special Non-Working Day - 130% pay if worked', NULL, NULL, '#FF9800', 0, 0, NULL, 0, NULL, NULL, NULL, 1, 1, 1, 7, NULL, NULL, NULL, NULL, NULL, NULL, '2026-01-16 08:13:22', '2026-01-16 08:13:22'),
(21, 'Christmas Eve', '2026-12-24', 'CHRISTMAS_EVE', '2026', 'Thursday', 'special', 'national', 0, 0, 1, 'all', NULL, NULL, NULL, NULL, NULL, 'Special Non-Working Day - 130% pay if worked', NULL, NULL, '#FF9800', 0, 0, NULL, 0, NULL, NULL, NULL, 1, 1, 1, 7, NULL, NULL, NULL, NULL, NULL, NULL, '2026-01-16 08:13:22', '2026-01-16 08:13:22'),
(22, 'Last Day of the Year', '2026-12-31', 'NEW_YEARS_EVE', '2026', 'Thursday', 'special', 'national', 0, 0, 1, 'all', NULL, NULL, NULL, NULL, NULL, 'Special Non-Working Day - 130% pay if worked', NULL, NULL, '#FF9800', 0, 0, NULL, 0, NULL, NULL, NULL, 1, 1, 1, 7, NULL, NULL, NULL, NULL, NULL, NULL, '2026-01-16 08:13:22', '2026-01-16 08:13:22'),
(23, 'Araw ng Kagitingan', '2026-04-09', 'ARAW_KAGITINGAN', '2026', 'Thursday', 'regular', 'national', 0, 0, 1, 'all', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '#4CAF50', 0, 0, NULL, 0, NULL, NULL, NULL, 1, 1, 1, 7, NULL, NULL, NULL, NULL, NULL, NULL, '2026-01-16 08:13:22', '2026-01-16 08:13:22'),
(24, 'EDSA People Power Anniversary', '2026-02-25', 'EDSA_ANNIVERSARY', '2026', 'Wednesday', 'special', 'national', 0, 0, 1, 'all', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '#FF9800', 0, 0, NULL, 0, NULL, NULL, NULL, 1, 1, 1, 7, NULL, NULL, NULL, NULL, NULL, NULL, '2026-01-16 08:13:22', '2026-01-16 08:13:22'),
(25, 'Chinese New Year', '2026-02-17', 'CHINESE_NEW_YEAR', '2026', 'Tuesday', 'special', 'national', 0, 0, 1, 'all', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '#FF9800', 0, 0, NULL, 0, NULL, NULL, NULL, 1, 1, 1, 7, NULL, NULL, NULL, NULL, NULL, NULL, '2026-01-16 08:13:22', '2026-01-16 08:13:22');

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

--
-- Table structure for table `inventory_adjustments`
--

CREATE TABLE `inventory_adjustments` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `adjustment_number` varchar(255) NOT NULL,
  `warehouse_id` bigint(20) UNSIGNED NOT NULL,
  `date` date NOT NULL,
  `adjustment_type` varchar(255) NOT NULL,
  `reason_code` varchar(255) NOT NULL,
  `approved_by` bigint(20) UNSIGNED DEFAULT NULL,
  `remarks` text DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

--
-- Table structure for table `inventory_adjustment_items`
--

CREATE TABLE `inventory_adjustment_items` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `adjustment_id` bigint(20) UNSIGNED NOT NULL,
  `item_code` bigint(20) UNSIGNED NOT NULL,
  `serial_number` varchar(255) DEFAULT NULL,
  `quantity` decimal(15,2) NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

--
-- Table structure for table `inventory_deliveries`
--

CREATE TABLE `inventory_deliveries` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `delivery_note_number` varchar(255) NOT NULL,
  `so_id` bigint(20) UNSIGNED DEFAULT NULL,
  `customer_id` bigint(20) UNSIGNED DEFAULT NULL,
  `shipping_address` text DEFAULT NULL,
  `courier_name` varchar(255) DEFAULT NULL,
  `tracking_number` varchar(255) DEFAULT NULL,
  `ship_date` date NOT NULL,
  `status` varchar(255) NOT NULL DEFAULT 'Shipped',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

--
-- Table structure for table `inventory_delivery_items`
--

CREATE TABLE `inventory_delivery_items` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `delivery_id` bigint(20) UNSIGNED NOT NULL,
  `item_code` bigint(20) UNSIGNED NOT NULL,
  `serial_number` varchar(255) DEFAULT NULL,
  `quantity` decimal(15,2) NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

--
-- Table structure for table `inventory_goods_receipts`
--

CREATE TABLE `inventory_goods_receipts` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `grn_number` varchar(255) NOT NULL,
  `po_id` bigint(20) UNSIGNED DEFAULT NULL,
  `supplier_id` bigint(20) UNSIGNED DEFAULT NULL,
  `warehouse_id` bigint(20) UNSIGNED NOT NULL,
  `received_date` date NOT NULL,
  `received_by` bigint(20) UNSIGNED NOT NULL,
  `remarks` text DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

--
-- Table structure for table `inventory_goods_receipt_items`
--

CREATE TABLE `inventory_goods_receipt_items` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `grn_id` bigint(20) UNSIGNED NOT NULL,
  `item_code` bigint(20) UNSIGNED NOT NULL,
  `quantity_ordered` decimal(15,2) NOT NULL DEFAULT 0.00,
  `quantity_received` decimal(15,2) NOT NULL DEFAULT 0.00,
  `serial_number` varchar(255) DEFAULT NULL,
  `condition` varchar(255) NOT NULL DEFAULT 'New',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

--
-- Table structure for table `inventory_items`
--

CREATE TABLE `inventory_items` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `product_id` bigint(20) UNSIGNED DEFAULT NULL,
  `warehouse_id` bigint(20) UNSIGNED DEFAULT NULL,
  `serial_number` varchar(255) DEFAULT NULL,
  `quantity` decimal(10,2) NOT NULL DEFAULT 1.00,
  `condition` varchar(255) NOT NULL DEFAULT 'New',
  `status` varchar(255) NOT NULL DEFAULT 'Available',
  `purchase_cost` decimal(15,2) NOT NULL DEFAULT 0.00,
  `warranty_start` date DEFAULT NULL,
  `warranty_end` date DEFAULT NULL,
  `last_movement_date` date DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

--
-- Table structure for table `inventory_reservations`
--

CREATE TABLE `inventory_reservations` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `reservation_number` varchar(255) NOT NULL,
  `so_id` bigint(20) UNSIGNED DEFAULT NULL,
  `item_code` bigint(20) UNSIGNED NOT NULL,
  `serial_number` varchar(255) DEFAULT NULL,
  `quantity` decimal(15,2) NOT NULL,
  `reserved_date` date NOT NULL,
  `expiry_date` date DEFAULT NULL,
  `status` varchar(255) NOT NULL DEFAULT 'Reserved',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

--
-- Table structure for table `inventory_returns`
--

CREATE TABLE `inventory_returns` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `return_number` varchar(255) NOT NULL,
  `original_delivery_id` bigint(20) UNSIGNED DEFAULT NULL,
  `return_date` date NOT NULL,
  `item_code` bigint(20) UNSIGNED NOT NULL,
  `serial_number` varchar(255) DEFAULT NULL,
  `return_reason` text DEFAULT NULL,
  `condition_on_return` varchar(255) DEFAULT NULL,
  `action` varchar(255) NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

--
-- Table structure for table `inventory_stocks`
--

CREATE TABLE `inventory_stocks` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `product_id` bigint(20) UNSIGNED NOT NULL,
  `warehouse_id` bigint(20) UNSIGNED NOT NULL,
  `quantity_on_hand` decimal(15,2) NOT NULL DEFAULT 0.00,
  `quantity_reserved` decimal(15,2) NOT NULL DEFAULT 0.00,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

--
-- Table structure for table `inventory_transfers`
--

CREATE TABLE `inventory_transfers` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `transfer_number` varchar(255) NOT NULL,
  `from_warehouse_id` bigint(20) UNSIGNED NOT NULL,
  `to_warehouse_id` bigint(20) UNSIGNED NOT NULL,
  `transfer_date` date NOT NULL,
  `status` varchar(255) NOT NULL DEFAULT 'Draft',
  `requested_by` bigint(20) UNSIGNED NOT NULL,
  `approved_by` bigint(20) UNSIGNED DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

--
-- Table structure for table `inventory_transfer_items`
--

CREATE TABLE `inventory_transfer_items` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `transfer_id` bigint(20) UNSIGNED NOT NULL,
  `item_code` bigint(20) UNSIGNED NOT NULL,
  `serial_number` varchar(255) DEFAULT NULL,
  `quantity` decimal(15,2) NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

--
-- Table structure for table `inventory_warehouses`
--

CREATE TABLE `inventory_warehouses` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `name` varchar(255) NOT NULL,
  `type` varchar(255) NOT NULL DEFAULT 'storage',
  `location` varchar(255) DEFAULT NULL,
  `parent_id` bigint(20) UNSIGNED DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

--
-- Table structure for table `jobs`
--

CREATE TABLE `jobs` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `queue` varchar(255) NOT NULL,
  `payload` longtext NOT NULL,
  `attempts` tinyint(3) UNSIGNED NOT NULL,
  `reserved_at` int(10) UNSIGNED DEFAULT NULL,
  `available_at` int(10) UNSIGNED NOT NULL,
  `created_at` int(10) UNSIGNED NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

--
-- Table structure for table `leads`
--

CREATE TABLE `leads` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `title` varchar(255) NOT NULL,
  `contact_name` varchar(255) DEFAULT NULL,
  `email` varchar(255) DEFAULT NULL,
  `phone` varchar(255) DEFAULT NULL,
  `status` varchar(255) NOT NULL DEFAULT 'new',
  `source` varchar(255) DEFAULT NULL,
  `assigned_to` bigint(20) UNSIGNED DEFAULT NULL,
  `created_by_id` bigint(20) UNSIGNED NOT NULL,
  `converted_client_id` bigint(20) UNSIGNED DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

--
-- Table structure for table `lead_documents`
--

CREATE TABLE `lead_documents` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `lead_id` bigint(20) UNSIGNED NOT NULL,
  `file_path` varchar(255) NOT NULL,
  `original_name` varchar(255) NOT NULL,
  `mime_type` varchar(255) DEFAULT NULL,
  `size` bigint(20) UNSIGNED DEFAULT NULL,
  `created_by_id` bigint(20) UNSIGNED NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

--
-- Table structure for table `lead_labels`
--

CREATE TABLE `lead_labels` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `name` varchar(255) NOT NULL,
  `color` varchar(20) NOT NULL DEFAULT '#696cff',
  `position` int(11) NOT NULL DEFAULT 0,
  `created_by_id` bigint(20) UNSIGNED NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `lead_labels`
--

INSERT INTO `lead_labels` (`id`, `name`, `color`, `position`, `created_by_id`, `created_at`, `updated_at`) VALUES
(1, 'Hot', '#dc3545', 1, 1, '2026-02-02 12:18:53', '2026-02-02 12:18:53'),
(2, 'Warm', '#ffc107', 2, 1, '2026-02-02 12:18:53', '2026-02-02 12:18:53'),
(3, 'Cold', '#17a2b8', 3, 1, '2026-02-02 12:18:53', '2026-02-02 12:18:53');

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

--
-- Table structure for table `lead_label_pivot`
--

CREATE TABLE `lead_label_pivot` (
  `lead_id` bigint(20) UNSIGNED NOT NULL,
  `lead_label_id` bigint(20) UNSIGNED NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

--
-- Table structure for table `lead_notes`
--

CREATE TABLE `lead_notes` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `lead_id` bigint(20) UNSIGNED NOT NULL,
  `content` text NOT NULL,
  `created_by_id` bigint(20) UNSIGNED NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

--
-- Table structure for table `lead_sources`
--

CREATE TABLE `lead_sources` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `name` varchar(255) NOT NULL,
  `is_active` tinyint(1) NOT NULL DEFAULT 1,
  `created_by_id` bigint(20) UNSIGNED DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

--
-- Table structure for table `lead_statuses`
--

CREATE TABLE `lead_statuses` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `name` varchar(255) NOT NULL,
  `color` varchar(255) NOT NULL DEFAULT '#000000',
  `position` int(11) NOT NULL DEFAULT 0,
  `is_default` tinyint(1) NOT NULL DEFAULT 0,
  `is_active` tinyint(1) NOT NULL DEFAULT 1,
  `is_final_stage` tinyint(1) NOT NULL DEFAULT 0,
  `created_by_id` bigint(20) UNSIGNED DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `lead_statuses`
--

INSERT INTO `lead_statuses` (`id`, `name`, `color`, `position`, `is_default`, `is_active`, `is_final_stage`, `created_by_id`, `created_at`, `updated_at`) VALUES
(1, 'New', '#007bff', 1, 1, 1, 0, 1, '2026-02-02 12:18:53', '2026-02-02 12:18:53'),
(2, 'Contacted', '#17a2b8', 2, 0, 1, 0, 1, '2026-02-02 12:18:53', '2026-02-02 12:18:53'),
(3, 'Qualified', '#28a745', 3, 0, 1, 0, 1, '2026-02-02 12:18:53', '2026-02-02 12:18:53'),
(4, 'Proposal Sent', '#ffc107', 4, 0, 1, 0, 1, '2026-02-02 12:18:53', '2026-02-02 12:18:53'),
(5, 'Negotiation', '#6610f2', 5, 0, 1, 0, 1, '2026-02-02 12:18:53', '2026-02-02 12:18:53'),
(6, 'Won', '#28a745', 6, 0, 1, 1, 1, '2026-02-02 12:18:53', '2026-02-02 12:18:53'),
(7, 'Lost', '#dc3545', 7, 0, 1, 1, 1, '2026-02-02 12:18:53', '2026-02-02 12:18:53');

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

--
-- Table structure for table `leave_accruals`
--

CREATE TABLE `leave_accruals` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `user_id` bigint(20) UNSIGNED NOT NULL,
  `leave_type_id` bigint(20) UNSIGNED NOT NULL,
  `year` int(11) NOT NULL,
  `month` int(11) NOT NULL,
  `accrued_days` decimal(5,2) NOT NULL DEFAULT 0.00,
  `carried_forward` decimal(5,2) NOT NULL DEFAULT 0.00,
  `used_days` decimal(5,2) NOT NULL DEFAULT 0.00,
  `balance` decimal(5,2) NOT NULL DEFAULT 0.00,
  `accrual_date` date NOT NULL,
  `notes` varchar(500) DEFAULT NULL,
  `created_by_id` bigint(20) UNSIGNED DEFAULT NULL,
  `updated_by_id` bigint(20) UNSIGNED DEFAULT NULL,
  `tenant_id` varchar(191) DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

--
-- Table structure for table `leave_balance_adjustments`
--

CREATE TABLE `leave_balance_adjustments` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `user_id` bigint(20) UNSIGNED NOT NULL,
  `leave_type_id` bigint(20) UNSIGNED NOT NULL,
  `adjustment_type` enum('add','deduct','initial_balance') NOT NULL,
  `days` decimal(5,2) NOT NULL,
  `reason` varchar(500) NOT NULL,
  `year` int(11) NOT NULL,
  `effective_date` date NOT NULL,
  `balance_before` decimal(5,2) NOT NULL,
  `balance_after` decimal(5,2) NOT NULL,
  `created_by_id` bigint(20) UNSIGNED DEFAULT NULL,
  `updated_by_id` bigint(20) UNSIGNED DEFAULT NULL,
  `tenant_id` varchar(191) DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `leave_balance_adjustments`
--

INSERT INTO `leave_balance_adjustments` (`id`, `user_id`, `leave_type_id`, `adjustment_type`, `days`, `reason`, `year`, `effective_date`, `balance_before`, `balance_after`, `created_by_id`, `updated_by_id`, `tenant_id`, `created_at`, `updated_at`) VALUES
(1, 2, 1, 'add', 11.00, 'Initial balance setup', 2026, '2026-01-16', 0.00, 11.00, 1, 1, NULL, '2026-01-16 12:00:41', '2026-01-16 12:00:41'),
(2, 2, 2, 'add', 11.00, 'Initial balance setup', 2026, '2026-01-16', 0.00, 11.00, 1, 1, NULL, '2026-01-16 12:01:05', '2026-01-16 12:01:05'),
(3, 2, 3, 'add', 1.00, 'Initial balance setup', 2026, '2026-01-16', 0.00, 1.00, 1, 1, NULL, '2026-01-16 12:01:14', '2026-01-16 12:01:14'),
(4, 2, 4, 'add', 100.00, 'Initial balance setup', 2026, '2026-01-16', 0.00, 100.00, 1, 1, NULL, '2026-01-16 12:01:21', '2026-01-16 12:01:21'),
(5, 3, 1, 'add', 11.00, 'Initial balance setup', 2026, '2026-01-16', 0.00, 11.00, 1, 1, NULL, '2026-01-16 12:01:47', '2026-01-16 12:01:47'),
(6, 3, 2, 'add', 11.00, 'Initial balance setup', 2026, '2026-01-16', 0.00, 11.00, 1, 1, NULL, '2026-01-16 12:01:55', '2026-01-16 12:01:55'),
(7, 3, 3, 'add', 1.00, 'Initial balance setup', 2026, '2026-01-16', 0.00, 1.00, 1, 1, NULL, '2026-01-16 12:02:02', '2026-01-16 12:02:02'),
(8, 3, 4, 'add', 100.00, 'Initial balance setup', 2026, '2026-01-16', 0.00, 100.00, 1, 1, NULL, '2026-01-16 12:02:18', '2026-01-16 12:02:18'),
(9, 4, 1, 'add', 8.00, 'Initial balance setup', 2026, '2026-01-16', 0.00, 8.00, 1, 1, NULL, '2026-01-16 12:02:46', '2026-01-16 12:02:46'),
(10, 4, 2, 'add', 8.00, 'Initial balance setup', 2026, '2026-01-16', 0.00, 8.00, 1, 1, NULL, '2026-01-16 12:02:52', '2026-01-16 12:02:52'),
(11, 4, 3, 'add', 1.00, 'Initial balance setup', 2026, '2026-01-16', 0.00, 1.00, 1, 1, NULL, '2026-01-16 12:02:58', '2026-01-16 12:02:58'),
(12, 4, 4, 'add', 100.00, 'Initial balance setup', 2026, '2026-01-16', 0.00, 100.00, 1, 1, NULL, '2026-01-16 12:03:03', '2026-01-16 12:03:03'),
(13, 5, 1, 'add', 7.00, 'Initial balance setup', 2026, '2026-01-16', 0.00, 7.00, 1, 1, NULL, '2026-01-16 12:03:43', '2026-01-16 12:03:43'),
(14, 5, 2, 'add', 7.00, 'Initial balance setup', 2026, '2026-01-16', 0.00, 7.00, 1, 1, NULL, '2026-01-16 12:03:49', '2026-01-16 12:03:49'),
(15, 5, 3, 'add', 1.00, 'Initial balance setup', 2026, '2026-01-16', 0.00, 1.00, 1, 1, NULL, '2026-01-16 12:03:55', '2026-01-16 12:03:55'),
(16, 5, 4, 'add', 100.00, 'Initial balance setup', 2026, '2026-01-16', 0.00, 100.00, 1, 1, NULL, '2026-01-16 12:04:01', '2026-01-16 12:04:01'),
(17, 6, 1, 'add', 5.00, 'Initial balance setup', 2026, '2026-01-16', 0.00, 5.00, 1, 1, NULL, '2026-01-16 12:04:21', '2026-01-16 12:04:21'),
(18, 6, 2, 'add', 5.00, 'Initial balance setup', 2026, '2026-01-16', 0.00, 5.00, 1, 1, NULL, '2026-01-16 12:04:26', '2026-01-16 12:04:26'),
(19, 6, 3, 'add', 1.00, 'Initial balance setup', 2026, '2026-01-16', 0.00, 1.00, 1, 1, NULL, '2026-01-16 12:04:31', '2026-01-16 12:04:31'),
(20, 7, 1, 'add', 5.00, 'Initial balance setup', 2026, '2026-01-16', 0.00, 5.00, 1, 1, NULL, '2026-01-16 12:04:50', '2026-01-16 12:04:50'),
(21, 7, 2, 'add', 5.00, 'Initial balance setup', 2026, '2026-01-16', 0.00, 5.00, 1, 1, NULL, '2026-01-16 12:04:55', '2026-01-16 12:04:55'),
(22, 7, 3, 'add', 1.00, 'Initial balance setup', 2026, '2026-01-16', 0.00, 1.00, 1, 1, NULL, '2026-01-16 12:05:01', '2026-01-16 12:05:01'),
(23, 9, 3, 'add', 1.00, 'Initial balance setup', 2026, '2026-01-16', 0.00, 1.00, 1, 1, NULL, '2026-01-16 12:05:22', '2026-01-16 12:05:22'),
(24, 10, 3, 'add', 1.00, 'Initial balance setup', 2026, '2026-01-16', 0.00, 1.00, 1, 1, NULL, '2026-01-16 12:05:41', '2026-01-16 12:05:41'),
(25, 8, 1, 'add', 7.00, 'Initial balance setup', 2026, '2026-01-16', 0.00, 7.00, 1, 1, NULL, '2026-01-16 12:06:36', '2026-01-16 12:06:36'),
(26, 8, 2, 'add', 7.00, 'Initial balance setup', 2026, '2026-01-16', 0.00, 7.00, 1, 1, NULL, '2026-01-16 12:06:41', '2026-01-16 12:06:41'),
(27, 8, 3, 'add', 1.00, 'Initial balance setup', 2026, '2026-01-16', 0.00, 1.00, 1, 1, NULL, '2026-01-16 12:06:46', '2026-01-16 12:06:46'),
(28, 8, 4, 'add', 100.00, 'Initial balance setup', 2026, '2026-01-16', 0.00, 100.00, 1, 1, NULL, '2026-01-16 12:06:51', '2026-01-16 12:06:51'),
(29, 2, 1, 'deduct', 7.00, 'update', 2026, '2026-03-17', 11.00, 4.00, 1, 1, NULL, '2026-03-17 11:30:58', '2026-03-17 11:30:58'),
(30, 8, 1, 'deduct', 4.00, 'update', 2026, '2026-03-17', 7.00, 3.00, 1, 1, NULL, '2026-03-17 11:33:08', '2026-03-17 11:33:08'),
(31, 8, 2, 'deduct', 4.00, 'update', 2026, '2026-03-17', 7.00, 3.00, 1, 1, NULL, '2026-03-17 11:33:24', '2026-03-17 11:33:24'),
(32, 8, 3, 'deduct', 1.00, 'update', 2026, '2026-03-17', 1.00, 0.00, 1, 1, NULL, '2026-03-17 11:33:37', '2026-03-17 11:33:37'),
(33, 3, 1, 'deduct', 2.00, 'update', 2026, '2026-03-17', 11.00, 9.00, 1, 1, NULL, '2026-03-17 11:34:20', '2026-03-17 11:34:20'),
(34, 3, 2, 'deduct', 1.50, 'update', 2026, '2026-03-17', 11.00, 9.50, 1, 1, NULL, '2026-03-17 11:34:42', '2026-03-17 11:34:42'),
(35, 4, 1, 'deduct', 3.00, 'update', 2026, '2026-03-17', 8.00, 5.00, 1, 1, NULL, '2026-03-17 11:35:38', '2026-03-17 11:35:38'),
(36, 5, 1, 'deduct', 3.00, 'update', 2026, '2026-03-17', 7.00, 4.00, 1, 1, NULL, '2026-03-17 11:36:04', '2026-03-17 11:36:04'),
(37, 5, 2, 'deduct', 3.00, 'update', 2026, '2026-03-17', 7.00, 4.00, 1, 1, NULL, '2026-03-17 11:36:16', '2026-03-17 11:36:16'),
(38, 6, 1, 'deduct', 1.00, 'update', 2026, '2026-03-17', 5.00, 4.00, 1, 1, NULL, '2026-03-17 11:36:48', '2026-03-17 11:36:48'),
(39, 7, 1, 'deduct', 1.00, 'update', 2026, '2026-03-17', 5.00, 4.00, 1, 1, NULL, '2026-03-17 11:37:20', '2026-03-17 11:37:20'),
(40, 7, 2, 'deduct', 1.00, 'update', 2026, '2026-03-17', 5.00, 4.00, 1, 1, NULL, '2026-03-17 11:37:31', '2026-03-17 11:37:31'),
(41, 9, 1, 'add', 2.00, 'Initial balance setup', 2026, '2026-03-17', 0.00, 2.00, 1, 1, NULL, '2026-03-17 11:38:17', '2026-03-17 11:38:17'),
(42, 9, 2, 'add', 2.00, 'Initial balance setup', 2026, '2026-03-17', 0.00, 2.00, 1, 1, NULL, '2026-03-17 11:38:22', '2026-03-17 11:38:22'),
(43, 10, 1, 'add', 2.00, 'Initial balance setup', 2026, '2026-03-17', 0.00, 2.00, 1, 1, NULL, '2026-03-17 11:38:51', '2026-03-17 11:38:51'),
(44, 10, 2, 'add', 2.00, 'Initial balance setup', 2026, '2026-03-17', 0.00, 2.00, 1, 1, NULL, '2026-03-17 11:38:57', '2026-03-17 11:38:57');

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

--
-- Table structure for table `leave_requests`
--

CREATE TABLE `leave_requests` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `from_date` date NOT NULL,
  `to_date` date NOT NULL,
  `user_id` bigint(20) UNSIGNED NOT NULL,
  `leave_type_id` bigint(20) UNSIGNED NOT NULL,
  `document` text DEFAULT NULL,
  `user_notes` varchar(500) DEFAULT NULL,
  `approved_by_id` bigint(20) DEFAULT NULL,
  `rejected_by_id` bigint(20) DEFAULT NULL,
  `approved_at` datetime DEFAULT NULL,
  `rejected_at` datetime DEFAULT NULL,
  `status` varchar(255) NOT NULL DEFAULT 'pending',
  `approval_notes` varchar(500) DEFAULT NULL,
  `notes` varchar(500) DEFAULT NULL,
  `cancel_reason` varchar(500) DEFAULT NULL,
  `cancelled_at` datetime DEFAULT NULL,
  `cancelled_by_id` bigint(20) DEFAULT NULL,
  `created_by_id` bigint(20) UNSIGNED DEFAULT NULL,
  `updated_by_id` bigint(20) UNSIGNED DEFAULT NULL,
  `tenant_id` varchar(191) DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `emergency_contact` varchar(100) DEFAULT NULL,
  `emergency_phone` varchar(50) DEFAULT NULL,
  `is_abroad` tinyint(1) NOT NULL DEFAULT 0,
  `abroad_location` varchar(200) DEFAULT NULL,
  `is_half_day` tinyint(1) NOT NULL DEFAULT 0,
  `half_day_type` enum('first_half','second_half') DEFAULT NULL,
  `total_days` decimal(4,2) NOT NULL DEFAULT 1.00,
  `use_comp_off` tinyint(1) NOT NULL DEFAULT 0,
  `comp_off_days_used` decimal(4,2) NOT NULL DEFAULT 0.00,
  `comp_off_ids` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`comp_off_ids`))
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `leave_requests`
--

INSERT INTO `leave_requests` (`id`, `from_date`, `to_date`, `user_id`, `leave_type_id`, `document`, `user_notes`, `approved_by_id`, `rejected_by_id`, `approved_at`, `rejected_at`, `status`, `approval_notes`, `notes`, `cancel_reason`, `cancelled_at`, `cancelled_by_id`, `created_by_id`, `updated_by_id`, `tenant_id`, `deleted_at`, `created_at`, `updated_at`, `emergency_contact`, `emergency_phone`, `is_abroad`, `abroad_location`, `is_half_day`, `half_day_type`, `total_days`, `use_comp_off`, `comp_off_days_used`, `comp_off_ids`) VALUES
(1, '2026-03-19', '2026-03-19', 2, 1, NULL, 'family gathering', 1, NULL, '2026-03-17 11:32:22', NULL, 'approved', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2026-03-17 11:32:07', '2026-03-17 11:32:22', NULL, NULL, 0, NULL, 0, 'first_half', 1.00, 0, 0.00, NULL);

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

--
-- Table structure for table `leave_types`
--

CREATE TABLE `leave_types` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `name` varchar(191) NOT NULL,
  `code` varchar(50) NOT NULL,
  `notes` varchar(500) DEFAULT NULL,
  `is_proof_required` tinyint(1) NOT NULL DEFAULT 0,
  `status` varchar(50) NOT NULL DEFAULT 'active',
  `is_accrual_enabled` tinyint(1) NOT NULL DEFAULT 0,
  `accrual_frequency` enum('monthly','quarterly','yearly') NOT NULL DEFAULT 'yearly',
  `accrual_rate` decimal(5,2) NOT NULL DEFAULT 0.00,
  `max_accrual_limit` decimal(5,2) DEFAULT NULL,
  `allow_carry_forward` tinyint(1) NOT NULL DEFAULT 0,
  `max_carry_forward` decimal(5,2) DEFAULT NULL,
  `carry_forward_expiry_months` int(11) DEFAULT NULL,
  `allow_encashment` tinyint(1) NOT NULL DEFAULT 0,
  `max_encashment_days` decimal(5,2) DEFAULT NULL,
  `is_comp_off_type` tinyint(1) NOT NULL DEFAULT 0,
  `is_paid` tinyint(1) NOT NULL DEFAULT 1,
  `tenant_id` varchar(191) DEFAULT NULL,
  `created_by_id` bigint(20) UNSIGNED DEFAULT NULL,
  `updated_by_id` bigint(20) UNSIGNED DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `leave_types`
--

INSERT INTO `leave_types` (`id`, `name`, `code`, `notes`, `is_proof_required`, `status`, `is_accrual_enabled`, `accrual_frequency`, `accrual_rate`, `max_accrual_limit`, `allow_carry_forward`, `max_carry_forward`, `carry_forward_expiry_months`, `allow_encashment`, `max_encashment_days`, `is_comp_off_type`, `is_paid`, `tenant_id`, `created_by_id`, `updated_by_id`, `deleted_at`, `created_at`, `updated_at`) VALUES
(1, 'Vacation Leave', 'VL', 'Vacation Leave', 0, 'active', 0, 'yearly', 0.00, 0.00, 0, 0.00, 0, 0, 0.00, 0, 1, NULL, NULL, NULL, NULL, '2026-01-16 11:56:07', '2026-01-16 11:56:07'),
(2, 'Sick Leave', 'SL', 'Sick Leave', 0, 'active', 0, 'yearly', 0.00, 0.00, 0, 0.00, 0, 0, 0.00, 0, 1, NULL, NULL, NULL, NULL, '2026-01-16 11:56:30', '2026-01-16 11:56:30'),
(3, 'Birthday Leave', 'BL', 'Birthday Leave', 0, 'active', 0, 'yearly', 0.00, 0.00, 0, 0.00, 0, 0, 0.00, 0, 1, NULL, NULL, NULL, NULL, '2026-01-16 11:57:08', '2026-01-16 11:57:08'),
(4, 'Leave Without Pay', 'LWOP', 'Leave Without Pay', 0, 'active', 0, 'yearly', 0.00, 0.00, 0, 0.00, 0, 0, 0.00, 0, 1, NULL, NULL, NULL, NULL, '2026-01-16 11:57:46', '2026-01-16 11:57:46');

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

--
-- Table structure for table `loan`
--

CREATE TABLE `loan` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

--
-- Table structure for table `loans`
--

CREATE TABLE `loans` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `loan_number` varchar(255) DEFAULT NULL,
  `user_id` bigint(20) UNSIGNED NOT NULL,
  `loan_type_id` bigint(20) UNSIGNED NOT NULL,
  `amount` decimal(15,2) NOT NULL,
  `tenure_months` int(11) NOT NULL,
  `interest_rate` decimal(5,2) NOT NULL,
  `emi_amount` decimal(15,2) DEFAULT NULL,
  `total_repayment_amount` decimal(15,2) DEFAULT NULL,
  `total_interest` decimal(15,2) DEFAULT NULL,
  `purpose` varchar(255) DEFAULT NULL,
  `remarks` text DEFAULT NULL,
  `expected_disbursement_date` date DEFAULT NULL,
  `status` varchar(255) NOT NULL DEFAULT 'draft',
  `approved_by` bigint(20) UNSIGNED DEFAULT NULL,
  `approved_at` timestamp NULL DEFAULT NULL,
  `disbursed_at` timestamp NULL DEFAULT NULL,
  `rejected_at` timestamp NULL DEFAULT NULL,
  `rejection_reason` text DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

--
-- Table structure for table `loan_repayments`
--

CREATE TABLE `loan_repayments` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `loan_id` bigint(20) UNSIGNED NOT NULL,
  `installment_number` int(11) NOT NULL,
  `due_date` date NOT NULL,
  `principal_component` decimal(15,2) NOT NULL DEFAULT 0.00,
  `interest_component` decimal(15,2) NOT NULL DEFAULT 0.00,
  `total_amount` decimal(15,2) NOT NULL,
  `status` varchar(255) NOT NULL DEFAULT 'scheduled',
  `paid_at` timestamp NULL DEFAULT NULL,
  `transaction_ref` varchar(255) DEFAULT NULL,
  `remarks` text DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

--
-- Table structure for table `loan_requests`
--

CREATE TABLE `loan_requests` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `user_id` bigint(20) UNSIGNED NOT NULL,
  `loan_type_id` bigint(20) UNSIGNED NOT NULL,
  `loan_number` varchar(255) DEFAULT NULL,
  `amount` decimal(12,2) NOT NULL,
  `tenure_months` int(11) NOT NULL,
  `interest_rate` decimal(5,2) NOT NULL,
  `monthly_emi` decimal(12,2) DEFAULT NULL,
  `total_amount_payable` decimal(12,2) DEFAULT NULL,
  `total_interest_payable` decimal(12,2) DEFAULT NULL,
  `purpose` varchar(255) NOT NULL,
  `remarks` text DEFAULT NULL,
  `expected_disbursement_date` date DEFAULT NULL,
  `status` varchar(255) DEFAULT 'pending',
  `save_as_draft` tinyint(1) DEFAULT 0,
  `rejection_reason` text DEFAULT NULL,
  `submitted_at` timestamp NULL DEFAULT NULL,
  `approved_at` timestamp NULL DEFAULT NULL,
  `rejected_at` timestamp NULL DEFAULT NULL,
  `cancelled_at` timestamp NULL DEFAULT NULL,
  `disbursed_at` timestamp NULL DEFAULT NULL,
  `approved_by_id` bigint(20) UNSIGNED DEFAULT NULL,
  `rejected_by_id` bigint(20) UNSIGNED DEFAULT NULL,
  `cancelled_by_id` bigint(20) UNSIGNED DEFAULT NULL,
  `created_by_id` bigint(20) UNSIGNED DEFAULT NULL,
  `updated_by_id` bigint(20) UNSIGNED DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `loan_requests`
--

INSERT INTO `loan_requests` (`id`, `user_id`, `loan_type_id`, `loan_number`, `amount`, `tenure_months`, `interest_rate`, `monthly_emi`, `total_amount_payable`, `total_interest_payable`, `purpose`, `remarks`, `expected_disbursement_date`, `status`, `save_as_draft`, `rejection_reason`, `submitted_at`, `approved_at`, `rejected_at`, `cancelled_at`, `disbursed_at`, `approved_by_id`, `rejected_by_id`, `cancelled_by_id`, `created_by_id`, `updated_by_id`, `created_at`, `updated_at`, `deleted_at`) VALUES
(1, 1, 1, 'LN-696C5A2E83C0B', 5000.00, 2, 5.00, 2515.64, 5031.27, 31.27, 'tesang', NULL, '2026-01-27', 'pending', 0, NULL, '2026-01-18 09:27:34', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, 1, '2026-01-18 09:27:34', '2026-01-18 09:27:34', NULL),
(2, 1, 1, 'LN-696C5DD2619DE', 15000.00, 3, 5.00, 5041.72, 15125.17, 125.17, 'hdkdjd', NULL, '2026-01-23', 'approved', 0, NULL, '2026-01-18 09:43:06', '2026-01-18 12:39:04', NULL, NULL, NULL, 1, NULL, NULL, 1, 1, '2026-01-18 09:43:06', '2026-01-18 12:39:04', NULL);

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

--
-- Table structure for table `loan_settings`
--

CREATE TABLE `loan_settings` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `loan_prefix` varchar(255) NOT NULL DEFAULT 'LN',
  `emi_rounding` varchar(255) NOT NULL DEFAULT 'nearest_one',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `loan_settings`
--

INSERT INTO `loan_settings` (`id`, `loan_prefix`, `emi_rounding`, `created_at`, `updated_at`) VALUES
(1, 'LN', 'nearest_one', '2026-01-18 08:08:37', '2026-01-18 08:08:37');

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

--
-- Table structure for table `loan_types`
--

CREATE TABLE `loan_types` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `name` varchar(255) NOT NULL,
  `description` text DEFAULT NULL,
  `interest_rate` decimal(5,2) NOT NULL DEFAULT 0.00,
  `max_amount` decimal(15,2) DEFAULT NULL,
  `max_tenure_months` int(11) DEFAULT NULL,
  `is_active` tinyint(1) NOT NULL DEFAULT 1,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  `code` varchar(255) DEFAULT NULL,
  `min_tenure_months` int(11) DEFAULT NULL,
  `processing_fee` decimal(10,2) DEFAULT NULL,
  `fee_type` varchar(255) DEFAULT 'percentage',
  `eligibility_criteria` text DEFAULT NULL,
  `documents_required` text DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `loan_types`
--

INSERT INTO `loan_types` (`id`, `name`, `description`, `interest_rate`, `max_amount`, `max_tenure_months`, `is_active`, `created_at`, `updated_at`, `deleted_at`, `code`, `min_tenure_months`, `processing_fee`, `fee_type`, `eligibility_criteria`, `documents_required`) VALUES
(1, 'PL', NULL, 5.00, 19999.00, 12, 1, '2026-01-18 09:19:59', '2026-01-18 09:19:59', NULL, 'pl', 1, NULL, 'fixed', NULL, '0'),
(2, 'Personal Loan', 'Unsecured loan for personal use.', 12.00, 500000.00, 36, 1, '2026-01-18 13:57:04', '2026-01-18 13:57:04', NULL, NULL, NULL, NULL, 'percentage', NULL, NULL),
(3, 'Salary Advance', 'Short term advance against salary.', 0.00, 20000.00, 3, 1, '2026-01-18 13:57:04', '2026-01-18 13:57:04', NULL, NULL, NULL, NULL, 'percentage', NULL, NULL),
(4, 'House Loan', 'Secured loan for house purchase/renovation.', 8.50, 2000000.00, 240, 1, '2026-01-18 13:57:04', '2026-01-18 13:57:04', NULL, NULL, NULL, NULL, 'percentage', NULL, NULL);

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

--
-- Table structure for table `migrations`
--

CREATE TABLE `migrations` (
  `id` int(10) UNSIGNED NOT NULL,
  `migration` varchar(255) NOT NULL,
  `batch` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `migrations`
--

INSERT INTO `migrations` (`id`, `migration`, `batch`) VALUES
(1, '0001_01_01_000000_create_users_table', 1),
(2, '2024_08_17_110058_create_audits_table', 2),
(3, '2024_09_28_013236_create_leave_types', 3),
(4, '2024_09_28_013551_create_settings', 4),
(5, '2024_09_28_015521_create_permission_tables', 5),
(6, '2024_09_28_082926_create_expense_types', 6),
(7, '2024_09_28_105032_create_shifts', 7),
(8, '2024_10_09_160850_create_teams', 8),
(9, '2024_10_09_162630_create_users_available_leaves', 9),
(10, '2024_10_10_121502_create_leave_requests', 10),
(11, '2024_10_23_112732_create_holidays', 11),
(12, '2024_10_26_164234_create_user_statuses', 12),
(13, '2024_10_29_071607_create_notifications_table', 13),
(14, '2024_11_01_112455_create_user_settings', 14),
(15, '2024_11_30_141415_create_expense_requests', 15),
(16, '2024_11_30_142043_create_attendances', 16),
(17, '2024_11_30_142045_create_attendance_regularizations_table', 17),
(18, '2024_11_30_145452_add_shift_and_team_to_users', 18),
(19, '2024_12_16_014055_create_attendance_logs', 19),
(20, '2024_12_16_084436_create_departments', 20),
(21, '2024_12_16_084459_create_designations', 21),
(22, '2024_12_16_085055_add_designation_id_in_users', 22),
(23, '2024_12_29_074034_create_notification_preferences_table', 23),
(24, '2025_01_05_140650_create_bank_accounts', 24),
(25, '2025_01_12_150000_add_missing_columns_to_users_available_leaves', 25),
(26, '2025_04_01_010639_change_status_to_string_on_users_table', 26),
(27, '2025_04_01_011116_add_probation_fields_to_users_table', 27),
(28, '2025_04_01_011242_add_exit_fields_to_users_table', 28),
(29, '2025_04_01_011255_create_module_settings_table', 29),
(30, '2025_07_12_113935_create_leave_accruals_table', 30),
(31, '2025_07_12_114015_create_compensatory_offs_table', 31),
(32, '2025_07_12_114142_create_leave_balance_adjustments_table', 32),
(33, '2025_09_24_012443_add_accrual_settings_to_leave_types_table', 33),
(34, '2025_09_24_012640_add_enhanced_fields_to_leave_requests_table', 34),
(35, '2025_09_24_013820_add_enhanced_fields_to_holidays_table', 35),
(36, '2025_10_08_141859_change_status_column_type_in_leave_types_table', 36),
(37, '2025_10_09_130418_add_date_break_hours_and_day_flags_to_attendances_table', 37),
(38, '2025_10_11_192305_add_comp_off_tracking_to_leave_requests_table', 38),
(39, '2025_10_17_155433_update_user_statuses_change_enum_to_string', 39),
(40, '2025_10_19_152759_create_fcm_tokens_table', 40),
(41, '2025_10_20_112442_update_notification_preferences_to_channel_format', 41),
(42, '2025_11_04_134403_add_timeline_performance_indexes', 42),
(43, '2025_11_05_223952_add_is_paid_to_leave_types_table', 43),
(44, '2025_11_09_155738_add_smtp_settings_to_settings_table', 44),
(45, '2025_11_11_173248_add_emergency_contact_fields_to_users_table', 45),
(46, '2025_11_11_174334_create_employee_lifecycle_events_table', 46),
(47, '2025_11_15_132111_add_suspension_fields_to_users_table', 47),
(48, '2025_11_15_154915_add_rejection_tracking_to_expense_requests_table', 48),
(49, '2025_11_19_161224_create_webhook_events_table', 49),
(50, '2025_11_19_214512_remove_available_modules_from_settings_table', 50),
(51, '2026_01_07_160023_create_payroll_modifiers_table', 51),
(52, '2026_01_07_173904_create_employee_daily_shifts_table', 52),
(53, '2026_01_07_174938_add_color_to_shifts_table', 53),
(54, '2026_01_07_000000_create_payroll_tables', 54),
(55, '2026_01_07_203056_create_payroll_adjustments_table', 54),
(56, '2026_01_07_204853_create_payroll_settings_table', 54),
(57, '2026_01_07_215234_add_enable_loan_deductions_to_payroll_settings_table', 54),
(58, '2026_01_08_211700_add_statutory_mode_to_payroll_settings', 54),
(59, '2026_01_08_211800_create_payroll_pending_statutory_table', 54),
(60, '2025_01_27_000001_create_basic_transaction_categories_table', 55),
(61, '2025_01_27_000002_create_basic_transactions_table', 55),
(62, '2025_01_27_000003_create_accounting_migrations_table', 55),
(63, '2025_01_28_000005_create_tax_rates_table', 55),
(64, '2025_09_20_121227_add_attachment_metadata_to_basic_transactions_table', 55),
(65, '2025_11_19_210239_add_source_to_basic_transactions_table', 55),
(66, '2026_01_08_000001_create_face_data_table', 56),
(67, '2026_01_08_000002_create_face_matching_settings_table', 56),
(68, '2026_01_07_212401_create_loan_tables', 57),
(69, '2026_01_07_215632_add_remarks_to_loan_repayments_table', 57),
(70, '2026_01_07_220243_create_loan_settings_table', 57),
(71, '2026_01_07_220246_add_loan_number_to_loans_table', 57),
(72, '2026_01_09_101118_create_loan_tables', 57),
(73, '2026_01_09_101122_add_remarks_to_loan_repayments_table', 57),
(74, '2026_01_14_212340_create_attendance_devices_table', 58),
(75, '2026_01_14_215246_add_is_online_to_attendance_devices_table', 59),
(76, '0001_01_01_000001_create_cache_table', 60),
(77, '2024_01_17_000000_create_field_manager_activities_table', 61),
(78, '2024_01_17_000001_create_user_devices_table', 61),
(79, '2024_01_17_000002_add_app_version_to_user_devices_table', 61),
(80, '2025_01_28_000001_create_tenants_table', 62),
(81, '2025_01_28_000002_create_plans_table', 62),
(82, '2025_01_28_000004_create_subscriptions_table', 62),
(83, '2025_01_28_000005_create_payments_table', 62),
(84, '2025_01_28_000006_create_tenant_databases_table', 62),
(85, '2025_01_29_000001_add_profile_fields_to_tenants_table', 62),
(86, '2025_07_29_013654_create_saas_settings_table', 62),
(87, '2025_07_30_193554_create_saas_notification_templates_table', 62),
(88, '2025_10_09_123234_create_jobs_table', 62),
(89, '2025_11_19_153913_add_pending_status_to_subscriptions_table', 62),
(90, '2026_01_07_183301_add_holiday_pay_fields_to_payroll_records_table', 63),
(91, '2026_01_07_184354_add_employer_contributions_to_payroll_records_table', 63),
(92, '2026_01_07_184830_add_bonus_fields_to_payroll_records_table', 63),
(93, '2026_01_16_000000_add_display_order_to_salary_components', 64),
(94, '2026_01_16_194900_add_exempt_fields_to_employee_salary_structures', 64),
(95, '2026_01_17_120001_create_field_manager_activities_table', 65),
(96, '2024_08_17_114336_create_telescope_entries_table', 66),
(97, '2026_01_07_155528_add_new_fields_to_salary_components_table', 67),
(98, '2026_01_07_200904_add_pay_frequency_fields', 67),
(99, '2026_01_15_142521_add_remarks_and_attachment_to_employee_daily_shifts_table', 67),
(100, '2026_01_18_000000_add_fields_to_loan_types_table', 67),
(101, '2026_01_18_184057_create_free_trial_requests_table', 67),
(102, '2026_01_18_200715_add_usage_fields_to_subscriptions_table', 67),
(103, '2026_01_22_120000_add_frequency_to_payroll_periods_table', 67),
(104, '2026_01_22_164444_create_clients_table', 67),
(105, '2026_01_22_164444_create_visits_table', 67),
(106, '2026_01_22_164445_create_orders_table', 67),
(107, '2026_01_22_164445_create_products_table', 67),
(108, '2026_01_22_164446_create_sales_targets_table', 67),
(109, '2026_01_22_171038_create_leads_table', 67),
(110, '2026_01_22_171039_create_pipelines_table', 67),
(111, '2026_01_22_171040_create_pipeline_stages_table', 67),
(112, '2026_01_22_171041_create_deals_table', 67),
(113, '2026_01_22_174800_create_customer_groups_table', 67),
(114, '2026_01_22_174801_create_companies_table', 67),
(115, '2026_01_22_190000_create_sos_table', 67),
(116, '2026_01_22_200000_create_lead_statuses_table', 67),
(117, '2026_01_22_200001_create_lead_sources_table', 67),
(118, '2026_01_27_083209_create_projects_table', 68),
(119, '2026_01_27_083210_create_project_settings_table', 68),
(120, '2026_01_27_083210_create_resource_allocations_table', 68),
(121, '2026_01_27_134800_create_project_tasks_table', 68),
(122, '2026_01_27_150000_create_time_entries_table', 68),
(123, '2026_01_27_000001_create_core_payment_terms_table', 69),
(124, '2026_01_27_000002_create_core_tax_configurations_table', 69),
(125, '2026_01_27_000003_create_core_product_categories_table', 69),
(126, '2026_01_27_000004_create_core_customers_table', 69),
(127, '2026_01_27_000005_create_core_suppliers_table', 69),
(128, '2026_01_27_000006_create_core_products_table', 69),
(129, '2026_01_27_000007_create_core_sales_orders_table', 69),
(130, '2026_01_27_000008_create_core_purchase_orders_table', 69),
(131, '2026_01_27_000009_create_core_order_items_table', 69),
(132, '2026_01_27_223219_create_inventory_master_tables', 69),
(133, '2026_01_27_223220_create_inventory_transaction_tables', 69),
(134, '2026_01_27_223221_add_inventory_columns_to_core_tables', 69),
(135, '2026_01_27_223221_create_inventory_outbound_tables', 69),
(136, '2026_01_27_225638_create_core_brands_table', 69),
(137, '2026_01_27_225639_create_core_units_table', 69),
(138, '2026_01_27_225640_add_details_to_core_products_table', 69),
(139, '2026_01_27_231342_create_core_combo_items_table', 69),
(140, '2026_01_28_000001_create_pos_registers_table', 69),
(141, '2026_01_28_115400_create_overtime_requests_table', 69),
(142, '2026_01_29_000001_create_product_categories_table', 70),
(143, '2026_01_29_000002_create_products_table', 70),
(144, '2026_01_29_000003_create_product_orders_table', 70),
(145, '2026_01_29_000004_create_order_items_table', 70),
(146, '2026_01_29_064213_add_logo_and_modules_to_tenants_table', 70),
(147, '2026_01_29_100000_create_lead_notes_table', 70),
(148, '2026_01_29_100001_create_lead_documents_table', 70),
(149, '2026_01_29_100002_create_lead_labels_table', 70),
(150, '2026_01_29_100003_create_lead_label_pivot_table', 70),
(151, '2026_01_29_114900_add_order_type_to_core_sales_orders', 70),
(152, '2026_02_17_064022_add_auto_deduct_break_minutes_to_shifts_table', 71),
(153, '2026_02_23_130000_add_missing_columns_to_clients_table', 71),
(154, '2026_02_26_084444_create_pay_groups_table', 72),
(155, '2026_02_26_084455_add_pay_group_id_to_users_table', 72),
(156, '2026_02_26_084550_add_pay_group_id_to_payroll_periods_table', 72),
(157, '2026_02_26_084817_fix_attendance_logs_table_add_time_columns', 72),
(158, '2026_02_26_090001_add_type_to_pay_groups_table', 72),
(159, '2026_02_26_090002_add_hours_to_payroll_records_table', 72),
(160, '2026_02_26_093439_add_is_manual_to_payroll_record_items_table', 72),
(161, '2026_02_26_174502_add_detailed_settings_to_pay_groups_table', 72),
(162, '2026_02_26_174503_move_pay_group_id_to_salary_structures', 72),
(163, '2026_03_16_190000_add_serial_number_to_attendance_devices_table', 73),
(164, '2026_03_16_190001_create_device_sync_logs_table', 73),
(165, '2026_03_16_190002_create_adms_device_registry_table', 73);

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

--
-- Table structure for table `model_has_permissions`
--

CREATE TABLE `model_has_permissions` (
  `permission_id` bigint(20) UNSIGNED NOT NULL,
  `model_type` varchar(255) NOT NULL,
  `model_id` bigint(20) UNSIGNED NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

--
-- Table structure for table `model_has_roles`
--

CREATE TABLE `model_has_roles` (
  `role_id` bigint(20) UNSIGNED NOT NULL,
  `model_type` varchar(255) NOT NULL,
  `model_id` bigint(20) UNSIGNED NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `model_has_roles`
--

INSERT INTO `model_has_roles` (`role_id`, `model_type`, `model_id`) VALUES
(2, 'App\\Models\\User', 1),
(7, 'App\\Models\\User', 3),
(7, 'App\\Models\\User', 4),
(7, 'App\\Models\\User', 5),
(7, 'App\\Models\\User', 6),
(7, 'App\\Models\\User', 7),
(7, 'App\\Models\\User', 9),
(7, 'App\\Models\\User', 10),
(8, 'App\\Models\\User', 8),
(9, 'App\\Models\\User', 2);

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

--
-- Table structure for table `module_settings`
--

CREATE TABLE `module_settings` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `module` varchar(100) NOT NULL,
  `key` varchar(255) NOT NULL,
  `value` text DEFAULT NULL,
  `type` enum('string','integer','boolean','json','array') NOT NULL DEFAULT 'string',
  `description` text DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `module_settings`
--

INSERT INTO `module_settings` (`id`, `module`, `key`, `value`, `type`, `description`, `created_at`, `updated_at`) VALUES
(1, 'AccountingCore', 'transaction_prefix', 'TXN', 'string', NULL, '2026-01-14 12:44:02', '2026-01-14 12:44:02'),
(2, 'AccountingCore', 'transaction_start_number', '1000', 'string', NULL, '2026-01-14 12:44:02', '2026-01-14 12:44:02'),
(3, 'AccountingCore', 'allow_future_dates', '', 'boolean', NULL, '2026-01-14 12:44:02', '2026-01-14 12:44:02'),
(4, 'AccountingCore', 'require_attachments', '', 'boolean', NULL, '2026-01-14 12:44:02', '2026-01-14 12:44:02'),
(5, 'AccountingCore', 'allow_custom_categories', '1', 'boolean', NULL, '2026-01-14 12:44:02', '2026-01-14 12:44:02'),
(6, 'AccountingCore', 'category_hierarchy_levels', '2', 'string', NULL, '2026-01-14 12:44:02', '2026-01-14 12:44:02'),
(7, 'AccountingCore', 'auto_sync_sales_orders', '1', 'boolean', NULL, '2026-01-14 12:44:02', '2026-01-14 12:44:02'),
(8, 'AccountingCore', 'auto_sync_purchase_orders', '1', 'boolean', NULL, '2026-01-14 12:44:02', '2026-01-14 12:44:02'),
(9, 'FieldManager', 'field_manager_offline_check_time', '900', 'string', NULL, '2026-01-17 06:52:53', '2026-01-17 06:52:53'),
(10, 'FieldManager', 'field_manager_location_distance_filter', '10', 'string', NULL, '2026-01-17 06:52:54', '2026-01-17 06:52:54'),
(11, 'FieldManager', 'field_manager_enable_device_verification', 'yes', 'string', NULL, '2026-01-17 06:52:54', '2026-01-17 06:52:54');

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

--
-- Table structure for table `notifications`
--

CREATE TABLE `notifications` (
  `id` char(36) NOT NULL,
  `type` varchar(255) NOT NULL,
  `notifiable_type` varchar(255) NOT NULL,
  `notifiable_id` bigint(20) UNSIGNED NOT NULL,
  `data` text NOT NULL,
  `read_at` timestamp NULL DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `notifications`
--

INSERT INTO `notifications` (`id`, `type`, `notifiable_type`, `notifiable_id`, `data`, `read_at`, `created_at`, `updated_at`) VALUES
('f78734c2-b0ef-47f9-95bc-d3f62c778277', 'App\\Notifications\\Leave\\LeaveRequestSubmitted', 'App\\Models\\User', 1, '{\"type\":\"leave_request\",\"title\":\"New Leave Request\",\"message\":\"Ana Regina Mariano has requested leave from Mar 19, 2026 to Mar 19, 2026\",\"data\":{\"leave_id\":1,\"employee\":{\"id\":2,\"name\":\"Ana Regina Mariano\",\"email\":\"armariano@yahoo.com\",\"profile_picture\":null},\"start_date\":\"2026-03-19\",\"end_date\":\"2026-03-19\",\"duration\":null,\"leave_type\":\"Vacation Leave\",\"reason\":null},\"action_url\":\"\\/leave\\/requests\\/1\",\"created_at\":\"2026-03-17T11:32:07+08:00\"}', NULL, '2026-03-17 11:32:07', '2026-03-17 11:32:07');

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

--
-- Table structure for table `notification_preferences`
--

CREATE TABLE `notification_preferences` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `user_id` bigint(20) UNSIGNED NOT NULL,
  `notification_type` varchar(255) DEFAULT NULL,
  `preferences` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`preferences`)),
  `fcm_enabled` tinyint(1) NOT NULL DEFAULT 1,
  `mail_enabled` tinyint(1) NOT NULL DEFAULT 1,
  `database_enabled` tinyint(1) NOT NULL DEFAULT 1,
  `broadcast_enabled` tinyint(1) NOT NULL DEFAULT 0,
  `tenant_id` varchar(191) DEFAULT NULL,
  `created_by_id` bigint(20) UNSIGNED DEFAULT NULL,
  `updated_by_id` bigint(20) UNSIGNED DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

--
-- Table structure for table `orders`
--

CREATE TABLE `orders` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `client_id` bigint(20) UNSIGNED NOT NULL,
  `created_by_id` bigint(20) UNSIGNED NOT NULL,
  `total_amount` decimal(12,2) NOT NULL DEFAULT 0.00,
  `status` varchar(255) NOT NULL DEFAULT 'pending',
  `remarks` text DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

--
-- Table structure for table `order_items`
--

CREATE TABLE `order_items` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `order_id` bigint(20) UNSIGNED NOT NULL,
  `product_id` bigint(20) UNSIGNED DEFAULT NULL,
  `quantity` int(11) NOT NULL DEFAULT 1,
  `unit_price` decimal(12,2) NOT NULL DEFAULT 0.00,
  `discount` decimal(12,2) NOT NULL DEFAULT 0.00,
  `tax` decimal(12,2) NOT NULL DEFAULT 0.00,
  `total` decimal(12,2) NOT NULL DEFAULT 0.00,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

--
-- Table structure for table `overtime_requests`
--

CREATE TABLE `overtime_requests` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `user_id` bigint(20) UNSIGNED NOT NULL,
  `date` date NOT NULL,
  `start_time` time NOT NULL,
  `end_time` time NOT NULL,
  `duration_minutes` int(11) NOT NULL DEFAULT 0,
  `reason` text DEFAULT NULL,
  `status` enum('pending','approved','rejected') NOT NULL DEFAULT 'pending',
  `approved_by` bigint(20) UNSIGNED DEFAULT NULL,
  `approved_at` timestamp NULL DEFAULT NULL,
  `rejection_reason` text DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

--
-- Table structure for table `password_reset_tokens`
--

CREATE TABLE `password_reset_tokens` (
  `email` varchar(255) NOT NULL,
  `token` varchar(255) NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

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

CREATE TABLE `payments` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `tenant_id` bigint(20) UNSIGNED NOT NULL,
  `subscription_id` bigint(20) UNSIGNED DEFAULT NULL,
  `new_plan_id` bigint(20) UNSIGNED DEFAULT NULL,
  `amount` decimal(10,2) NOT NULL,
  `currency` varchar(3) NOT NULL DEFAULT 'USD',
  `payment_method` varchar(50) NOT NULL DEFAULT 'offline',
  `status` varchar(50) NOT NULL DEFAULT 'pending',
  `reference_number` varchar(255) DEFAULT NULL,
  `invoice_number` varchar(255) DEFAULT NULL,
  `description` text DEFAULT NULL,
  `proof_document_path` varchar(255) DEFAULT NULL,
  `proof_of_payment` text DEFAULT NULL,
  `gateway_payment_id` varchar(255) DEFAULT NULL,
  `gateway_transaction_id` varchar(255) DEFAULT NULL,
  `paid_at` timestamp NULL DEFAULT NULL,
  `approved_by_id` bigint(20) UNSIGNED DEFAULT NULL,
  `approved_at` timestamp NULL DEFAULT NULL,
  `rejected_at` timestamp NULL DEFAULT NULL,
  `rejection_reason` text DEFAULT NULL,
  `gateway_response` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`gateway_response`)),
  `metadata` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`metadata`)),
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

--
-- Table structure for table `payroll_adjustments`
--

CREATE TABLE `payroll_adjustments` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `payroll_record_id` bigint(20) UNSIGNED NOT NULL,
  `type` varchar(255) NOT NULL,
  `name` varchar(255) NOT NULL,
  `amount` decimal(10,2) NOT NULL,
  `reason` varchar(255) DEFAULT NULL,
  `created_by` bigint(20) UNSIGNED DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

--
-- Table structure for table `payroll_modifiers`
--

CREATE TABLE `payroll_modifiers` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `name` varchar(255) NOT NULL,
  `code` varchar(255) NOT NULL,
  `type` enum('earning','deduction') NOT NULL,
  `applicability` enum('all','individual') NOT NULL DEFAULT 'individual',
  `user_id` bigint(20) UNSIGNED DEFAULT NULL,
  `amount_type` enum('fixed','percentage') NOT NULL DEFAULT 'fixed',
  `fixed_amount` decimal(12,2) DEFAULT NULL,
  `percentage` decimal(5,2) DEFAULT NULL,
  `notes` text DEFAULT NULL,
  `status` enum('active','inactive') NOT NULL DEFAULT 'active',
  `tenant_id` bigint(20) UNSIGNED DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

--
-- Table structure for table `payroll_pending_statutory`
--

CREATE TABLE `payroll_pending_statutory` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `payroll_period_id` bigint(20) UNSIGNED NOT NULL,
  `user_id` bigint(20) UNSIGNED NOT NULL,
  `salary_structure_id` bigint(20) UNSIGNED DEFAULT NULL,
  `computed_sss` decimal(10,2) NOT NULL DEFAULT 0.00,
  `computed_ph` decimal(10,2) NOT NULL DEFAULT 0.00,
  `computed_hdmf` decimal(10,2) NOT NULL DEFAULT 0.00,
  `final_sss` decimal(10,2) DEFAULT NULL,
  `final_ph` decimal(10,2) DEFAULT NULL,
  `final_hdmf` decimal(10,2) DEFAULT NULL,
  `gross_salary` decimal(12,2) NOT NULL DEFAULT 0.00,
  `total_earnings` decimal(12,2) NOT NULL DEFAULT 0.00,
  `status` enum('pending','approved','rejected') NOT NULL DEFAULT 'pending',
  `approved_by` bigint(20) UNSIGNED DEFAULT NULL,
  `approved_at` timestamp NULL DEFAULT NULL,
  `notes` text DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

--
-- Table structure for table `payroll_periods`
--

CREATE TABLE `payroll_periods` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `name` varchar(255) NOT NULL,
  `frequency` enum('weekly','bi_weekly','semi_monthly','monthly') NOT NULL DEFAULT 'monthly',
  `start_date` date NOT NULL,
  `end_date` date NOT NULL,
  `status` enum('draft','processing','locked','completed') NOT NULL DEFAULT 'draft',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  `tenant_id` bigint(20) UNSIGNED DEFAULT NULL,
  `pay_group_id` bigint(20) UNSIGNED DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `payroll_periods`
--

INSERT INTO `payroll_periods` (`id`, `name`, `frequency`, `start_date`, `end_date`, `status`, `created_at`, `updated_at`, `deleted_at`, `tenant_id`, `pay_group_id`) VALUES
(1, 'Jan 11, 2026 - Jan 25, 2026 (Monthly)', 'monthly', '2026-01-11', '2026-01-25', 'completed', '2026-03-17 20:20:49', '2026-03-17 20:20:50', NULL, NULL, NULL);

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

--
-- Table structure for table `payroll_records`
--

CREATE TABLE `payroll_records` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `user_id` bigint(20) UNSIGNED NOT NULL,
  `payroll_period_id` bigint(20) UNSIGNED NOT NULL,
  `gross_earning` decimal(15,2) NOT NULL DEFAULT 0.00,
  `total_deduction` decimal(15,2) NOT NULL DEFAULT 0.00,
  `net_pay` decimal(12,2) NOT NULL DEFAULT 0.00,
  `status` enum('pending','generated','approved','rejected','paid','cancelled') NOT NULL DEFAULT 'pending',
  `pay_date` date DEFAULT NULL,
  `rejection_reason` text DEFAULT NULL,
  `approved_by` bigint(20) UNSIGNED DEFAULT NULL,
  `approved_at` timestamp NULL DEFAULT NULL,
  `days_worked` decimal(5,2) NOT NULL DEFAULT 0.00,
  `absent_days` decimal(5,2) NOT NULL DEFAULT 0.00,
  `leave_days` decimal(5,2) NOT NULL DEFAULT 0.00,
  `expected_hours` decimal(8,2) NOT NULL DEFAULT 0.00,
  `total_rendered_hours` decimal(8,2) NOT NULL DEFAULT 0.00,
  `overtime_hours` decimal(5,2) NOT NULL DEFAULT 0.00,
  `regular_ot_hours` decimal(5,2) NOT NULL DEFAULT 0.00,
  `holiday_hours` decimal(5,2) NOT NULL DEFAULT 0.00,
  `holiday_ot_hours` decimal(5,2) NOT NULL DEFAULT 0.00,
  `holiday_type` varchar(255) DEFAULT NULL,
  `holiday_worked` tinyint(1) NOT NULL DEFAULT 0,
  `holiday_pay_amount` decimal(10,2) NOT NULL DEFAULT 0.00,
  `sss_contribution_employee` decimal(10,2) NOT NULL DEFAULT 0.00,
  `sss_contribution_employer` decimal(10,2) NOT NULL DEFAULT 0.00,
  `philhealth_contribution_employee` decimal(10,2) NOT NULL DEFAULT 0.00,
  `philhealth_contribution_employer` decimal(10,2) NOT NULL DEFAULT 0.00,
  `pagibig_contribution_employee` decimal(10,2) NOT NULL DEFAULT 0.00,
  `pagibig_contribution_employer` decimal(10,2) NOT NULL DEFAULT 0.00,
  `tax_withheld` decimal(10,2) NOT NULL DEFAULT 0.00,
  `thirteenth_month_pay` decimal(10,2) NOT NULL DEFAULT 0.00,
  `bonus_amount` decimal(10,2) NOT NULL DEFAULT 0.00,
  `bonus_type` varchar(255) DEFAULT NULL,
  `night_diff_hours` decimal(5,2) NOT NULL DEFAULT 0.00,
  `payslip_path` varchar(255) DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  `tenant_id` bigint(20) UNSIGNED DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `payroll_records`
--

INSERT INTO `payroll_records` (`id`, `user_id`, `payroll_period_id`, `gross_earning`, `total_deduction`, `net_pay`, `status`, `pay_date`, `rejection_reason`, `approved_by`, `approved_at`, `days_worked`, `absent_days`, `leave_days`, `expected_hours`, `total_rendered_hours`, `overtime_hours`, `regular_ot_hours`, `holiday_hours`, `holiday_ot_hours`, `holiday_type`, `holiday_worked`, `holiday_pay_amount`, `sss_contribution_employee`, `sss_contribution_employer`, `philhealth_contribution_employee`, `philhealth_contribution_employer`, `pagibig_contribution_employee`, `pagibig_contribution_employer`, `tax_withheld`, `thirteenth_month_pay`, `bonus_amount`, `bonus_type`, `night_diff_hours`, `payslip_path`, `created_at`, `updated_at`, `deleted_at`, `tenant_id`) VALUES
(1, 1, 1, 0.00, 0.00, 0.00, 'generated', '2026-01-25', NULL, NULL, NULL, 0.00, 10.00, 0.00, 90.00, 0.00, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00, NULL, 0.00, NULL, '2026-03-17 20:20:49', '2026-03-17 20:20:49', NULL, NULL),
(2, 2, 1, 13000.00, 4517.50, 8482.50, 'generated', '2026-01-25', NULL, NULL, NULL, 8.00, 4.00, 0.00, 108.00, 74.99, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0.00, 292.50, 0.00, 125.00, 0.00, 100.00, 0.00, 0.00, 0.00, 0.00, NULL, 0.00, NULL, '2026-03-17 20:20:49', '2026-03-17 20:20:49', NULL, NULL),
(3, 3, 1, 13000.00, 5930.00, 7070.00, 'generated', '2026-01-25', NULL, NULL, NULL, 8.00, 5.00, 0.00, 117.00, 69.69, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0.00, 292.50, 0.00, 125.00, 0.00, 100.00, 0.00, 0.00, 0.00, 0.00, NULL, 0.00, NULL, '2026-03-17 20:20:49', '2026-03-17 20:20:49', NULL, NULL),
(4, 4, 1, 12000.00, 4209.82, 7790.18, 'generated', '2026-01-25', NULL, NULL, NULL, 9.00, 4.00, 0.00, 117.00, 94.70, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0.00, 292.50, 0.00, 125.00, 0.00, 100.00, 0.00, 0.00, 0.00, 0.00, NULL, 0.00, NULL, '2026-03-17 20:20:49', '2026-03-17 20:20:49', NULL, NULL),
(5, 5, 1, 11000.00, 4113.64, 6886.36, 'generated', '2026-01-25', NULL, NULL, NULL, 8.00, 4.00, 0.00, 108.00, 82.50, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0.00, 292.50, 0.00, 125.00, 0.00, 100.00, 0.00, 0.00, 0.00, 0.00, NULL, 0.00, NULL, '2026-03-17 20:20:49', '2026-03-17 20:20:49', NULL, NULL),
(6, 8, 1, 11000.00, 3080.28, 7919.72, 'generated', '2026-01-25', NULL, NULL, NULL, 7.00, 3.00, 0.00, 90.00, 63.85, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0.00, 292.50, 0.00, 125.00, 0.00, 100.00, 0.00, 0.00, 0.00, 0.00, NULL, 0.00, NULL, '2026-03-17 20:20:50', '2026-03-17 20:20:50', NULL, NULL),
(7, 6, 1, 7888.68, 624.77, 7263.91, 'generated', '2026-01-25', NULL, NULL, NULL, 10.00, 0.00, 0.00, 90.00, 90.09, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0.00, 225.00, 0.00, 125.00, 0.00, 100.00, 0.00, 0.00, 0.00, 0.00, NULL, 27.04, NULL, '2026-03-17 20:20:50', '2026-03-17 20:20:50', NULL, NULL),
(8, 7, 1, 7647.87, 450.00, 7197.87, 'generated', '2026-01-25', NULL, NULL, NULL, 10.00, 1.00, 0.00, 99.00, 91.27, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0.00, 225.00, 0.00, 125.00, 0.00, 100.00, 0.00, 0.00, 0.00, 0.00, NULL, 29.03, NULL, '2026-03-17 20:20:50', '2026-03-17 20:20:50', NULL, NULL),
(9, 9, 1, 7167.40, 610.38, 6557.02, 'generated', '2026-01-25', NULL, NULL, NULL, 10.00, 0.00, 0.00, 90.00, 92.08, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0.00, 225.00, 0.00, 125.00, 0.00, 100.00, 0.00, 0.00, 0.00, 0.00, NULL, 27.11, NULL, '2026-03-17 20:20:50', '2026-03-17 20:20:50', NULL, NULL),
(10, 10, 1, 7929.84, 450.00, 7479.84, 'generated', '2026-01-25', NULL, NULL, NULL, 11.00, 0.00, 0.00, 99.00, 103.95, 0.00, 0.00, 0.00, 0.00, NULL, 0, 0.00, 225.00, 0.00, 125.00, 0.00, 100.00, 0.00, 0.00, 0.00, 0.00, NULL, 35.52, NULL, '2026-03-17 20:20:50', '2026-03-17 20:20:50', NULL, NULL);

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

--
-- Table structure for table `payroll_record_items`
--

CREATE TABLE `payroll_record_items` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `payroll_record_id` bigint(20) UNSIGNED NOT NULL,
  `salary_component_name` varchar(255) NOT NULL,
  `salary_component_id` bigint(20) UNSIGNED DEFAULT NULL,
  `amount` decimal(15,2) NOT NULL,
  `type` enum('earning','deduction') NOT NULL,
  `is_manual` tinyint(1) NOT NULL DEFAULT 0,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `payroll_record_items`
--

INSERT INTO `payroll_record_items` (`id`, `payroll_record_id`, `salary_component_name`, `salary_component_id`, `amount`, `type`, `is_manual`, `created_at`, `updated_at`) VALUES
(1, 1, 'Basic Salary', 1, 0.00, 'earning', 0, '2026-03-17 20:20:49', '2026-03-17 20:20:49'),
(2, 1, 'Overtime (Regular)', 6, 0.00, 'earning', 0, '2026-03-17 20:20:49', '2026-03-17 20:20:49'),
(3, 1, 'Night Differential', 8, 0.00, 'earning', 0, '2026-03-17 20:20:49', '2026-03-17 20:20:49'),
(4, 1, 'Holiday Pay', 7, 0.00, 'earning', 0, '2026-03-17 20:20:49', '2026-03-17 20:20:49'),
(5, 1, 'SSS Contribution (EE)', 2, 0.00, 'deduction', 0, '2026-03-17 20:20:49', '2026-03-17 20:20:49'),
(6, 1, 'PhilHealth Contribution (EE)', 3, 0.00, 'deduction', 0, '2026-03-17 20:20:49', '2026-03-17 20:20:49'),
(7, 1, 'Pag-IBIG Contribution (EE)', 4, 0.00, 'deduction', 0, '2026-03-17 20:20:49', '2026-03-17 20:20:49'),
(8, 1, 'Withholding Tax', 5, 0.00, 'deduction', 0, '2026-03-17 20:20:49', '2026-03-17 20:20:49'),
(9, 2, 'Basic Salary', 1, 13000.00, 'earning', 0, '2026-03-17 20:20:49', '2026-03-17 20:20:49'),
(10, 2, 'Overtime (Regular)', 6, 0.00, 'earning', 0, '2026-03-17 20:20:49', '2026-03-17 20:20:49'),
(11, 2, 'Night Differential', 8, 0.00, 'earning', 0, '2026-03-17 20:20:49', '2026-03-17 20:20:49'),
(12, 2, 'Holiday Pay', 7, 0.00, 'earning', 0, '2026-03-17 20:20:49', '2026-03-17 20:20:49'),
(13, 2, 'Absence Deduction', 15, 4000.00, 'deduction', 0, '2026-03-17 20:20:49', '2026-03-17 20:20:49'),
(14, 2, 'SSS Contribution (EE)', 2, 292.50, 'deduction', 0, '2026-03-17 20:20:49', '2026-03-17 20:20:49'),
(15, 2, 'PhilHealth Contribution (EE)', 3, 125.00, 'deduction', 0, '2026-03-17 20:20:49', '2026-03-17 20:20:49'),
(16, 2, 'Pag-IBIG Contribution (EE)', 4, 100.00, 'deduction', 0, '2026-03-17 20:20:49', '2026-03-17 20:20:49'),
(17, 2, 'Withholding Tax', 5, 0.00, 'deduction', 0, '2026-03-17 20:20:49', '2026-03-17 20:20:49'),
(18, 3, 'Basic Salary', 1, 13000.00, 'earning', 0, '2026-03-17 20:20:49', '2026-03-17 20:20:49'),
(19, 3, 'Overtime (Regular)', 6, 0.00, 'earning', 0, '2026-03-17 20:20:49', '2026-03-17 20:20:49'),
(20, 3, 'Night Differential', 8, 0.00, 'earning', 0, '2026-03-17 20:20:49', '2026-03-17 20:20:49'),
(21, 3, 'Holiday Pay', 7, 0.00, 'earning', 0, '2026-03-17 20:20:49', '2026-03-17 20:20:49'),
(22, 3, 'Late Deduction', 13, 56.25, 'deduction', 0, '2026-03-17 20:20:49', '2026-03-17 20:20:49'),
(23, 3, 'Absence Deduction', 15, 5000.00, 'deduction', 0, '2026-03-17 20:20:49', '2026-03-17 20:20:49'),
(24, 3, 'Undertime Deduction', 14, 356.25, 'deduction', 0, '2026-03-17 20:20:49', '2026-03-17 20:20:49'),
(25, 3, 'SSS Contribution (EE)', 2, 292.50, 'deduction', 0, '2026-03-17 20:20:49', '2026-03-17 20:20:49'),
(26, 3, 'PhilHealth Contribution (EE)', 3, 125.00, 'deduction', 0, '2026-03-17 20:20:49', '2026-03-17 20:20:49'),
(27, 3, 'Pag-IBIG Contribution (EE)', 4, 100.00, 'deduction', 0, '2026-03-17 20:20:49', '2026-03-17 20:20:49'),
(28, 3, 'Withholding Tax', 5, 0.00, 'deduction', 0, '2026-03-17 20:20:49', '2026-03-17 20:20:49'),
(29, 4, 'Basic Salary', 1, 12000.00, 'earning', 0, '2026-03-17 20:20:49', '2026-03-17 20:20:49'),
(30, 4, 'Overtime (Regular)', 6, 0.00, 'earning', 0, '2026-03-17 20:20:49', '2026-03-17 20:20:49'),
(31, 4, 'Night Differential', 8, 0.00, 'earning', 0, '2026-03-17 20:20:49', '2026-03-17 20:20:49'),
(32, 4, 'Holiday Pay', 7, 0.00, 'earning', 0, '2026-03-17 20:20:49', '2026-03-17 20:20:49'),
(33, 4, 'Absence Deduction', 15, 3692.32, 'deduction', 0, '2026-03-17 20:20:49', '2026-03-17 20:20:49'),
(34, 4, 'SSS Contribution (EE)', 2, 292.50, 'deduction', 0, '2026-03-17 20:20:49', '2026-03-17 20:20:49'),
(35, 4, 'PhilHealth Contribution (EE)', 3, 125.00, 'deduction', 0, '2026-03-17 20:20:49', '2026-03-17 20:20:49'),
(36, 4, 'Pag-IBIG Contribution (EE)', 4, 100.00, 'deduction', 0, '2026-03-17 20:20:49', '2026-03-17 20:20:49'),
(37, 4, 'Withholding Tax', 5, 0.00, 'deduction', 0, '2026-03-17 20:20:49', '2026-03-17 20:20:49'),
(38, 5, 'Basic Salary', 1, 11000.00, 'earning', 0, '2026-03-17 20:20:49', '2026-03-17 20:20:49'),
(39, 5, 'Overtime (Regular)', 6, 0.00, 'earning', 0, '2026-03-17 20:20:49', '2026-03-17 20:20:49'),
(40, 5, 'Night Differential', 8, 0.00, 'earning', 0, '2026-03-17 20:20:49', '2026-03-17 20:20:49'),
(41, 5, 'Holiday Pay', 7, 0.00, 'earning', 0, '2026-03-17 20:20:49', '2026-03-17 20:20:49'),
(42, 5, 'Absence Deduction', 15, 3384.60, 'deduction', 0, '2026-03-17 20:20:49', '2026-03-17 20:20:49'),
(43, 5, 'Undertime Deduction', 14, 211.54, 'deduction', 0, '2026-03-17 20:20:49', '2026-03-17 20:20:49'),
(44, 5, 'SSS Contribution (EE)', 2, 292.50, 'deduction', 0, '2026-03-17 20:20:49', '2026-03-17 20:20:49'),
(45, 5, 'PhilHealth Contribution (EE)', 3, 125.00, 'deduction', 0, '2026-03-17 20:20:49', '2026-03-17 20:20:49'),
(46, 5, 'Pag-IBIG Contribution (EE)', 4, 100.00, 'deduction', 0, '2026-03-17 20:20:49', '2026-03-17 20:20:49'),
(47, 5, 'Withholding Tax', 5, 0.00, 'deduction', 0, '2026-03-17 20:20:49', '2026-03-17 20:20:49'),
(48, 6, 'Basic Salary', 1, 11000.00, 'earning', 0, '2026-03-17 20:20:50', '2026-03-17 20:20:50'),
(49, 6, 'Overtime (Regular)', 6, 0.00, 'earning', 0, '2026-03-17 20:20:50', '2026-03-17 20:20:50'),
(50, 6, 'Night Differential', 8, 0.00, 'earning', 0, '2026-03-17 20:20:50', '2026-03-17 20:20:50'),
(51, 6, 'Holiday Pay', 7, 0.00, 'earning', 0, '2026-03-17 20:20:50', '2026-03-17 20:20:50'),
(52, 6, 'Late Deduction', 13, 24.33, 'deduction', 0, '2026-03-17 20:20:50', '2026-03-17 20:20:50'),
(53, 6, 'Absence Deduction', 15, 2538.45, 'deduction', 0, '2026-03-17 20:20:50', '2026-03-17 20:20:50'),
(54, 6, 'SSS Contribution (EE)', 2, 292.50, 'deduction', 0, '2026-03-17 20:20:50', '2026-03-17 20:20:50'),
(55, 6, 'PhilHealth Contribution (EE)', 3, 125.00, 'deduction', 0, '2026-03-17 20:20:50', '2026-03-17 20:20:50'),
(56, 6, 'Pag-IBIG Contribution (EE)', 4, 100.00, 'deduction', 0, '2026-03-17 20:20:50', '2026-03-17 20:20:50'),
(57, 6, 'Withholding Tax', 5, 0.00, 'deduction', 0, '2026-03-17 20:20:50', '2026-03-17 20:20:50'),
(58, 7, 'Basic Salary', 1, 7650.00, 'earning', 0, '2026-03-17 20:20:50', '2026-03-17 20:20:50'),
(59, 7, 'Overtime (Regular)', 6, 0.00, 'earning', 0, '2026-03-17 20:20:50', '2026-03-17 20:20:50'),
(60, 7, 'Night Differential', 8, 238.68, 'earning', 0, '2026-03-17 20:20:50', '2026-03-17 20:20:50'),
(61, 7, 'Holiday Pay', 7, 0.00, 'earning', 0, '2026-03-17 20:20:50', '2026-03-17 20:20:50'),
(62, 7, 'Undertime Deduction', 14, 174.77, 'deduction', 0, '2026-03-17 20:20:50', '2026-03-17 20:20:50'),
(63, 7, 'SSS Contribution (EE)', 2, 225.00, 'deduction', 0, '2026-03-17 20:20:50', '2026-03-17 20:20:50'),
(64, 7, 'PhilHealth Contribution (EE)', 3, 125.00, 'deduction', 0, '2026-03-17 20:20:50', '2026-03-17 20:20:50'),
(65, 7, 'Pag-IBIG Contribution (EE)', 4, 100.00, 'deduction', 0, '2026-03-17 20:20:50', '2026-03-17 20:20:50'),
(66, 7, 'Withholding Tax', 5, 0.00, 'deduction', 0, '2026-03-17 20:20:50', '2026-03-17 20:20:50'),
(67, 8, 'Basic Salary', 1, 7400.00, 'earning', 0, '2026-03-17 20:20:50', '2026-03-17 20:20:50'),
(68, 8, 'Overtime (Regular)', 6, 0.00, 'earning', 0, '2026-03-17 20:20:50', '2026-03-17 20:20:50'),
(69, 8, 'Night Differential', 8, 247.87, 'earning', 0, '2026-03-17 20:20:50', '2026-03-17 20:20:50'),
(70, 8, 'Holiday Pay', 7, 0.00, 'earning', 0, '2026-03-17 20:20:50', '2026-03-17 20:20:50'),
(71, 8, 'SSS Contribution (EE)', 2, 225.00, 'deduction', 0, '2026-03-17 20:20:50', '2026-03-17 20:20:50'),
(72, 8, 'PhilHealth Contribution (EE)', 3, 125.00, 'deduction', 0, '2026-03-17 20:20:50', '2026-03-17 20:20:50'),
(73, 8, 'Pag-IBIG Contribution (EE)', 4, 100.00, 'deduction', 0, '2026-03-17 20:20:50', '2026-03-17 20:20:50'),
(74, 8, 'Withholding Tax', 5, 0.00, 'deduction', 0, '2026-03-17 20:20:50', '2026-03-17 20:20:50'),
(75, 9, 'Basic Salary', 1, 6950.00, 'earning', 0, '2026-03-17 20:20:50', '2026-03-17 20:20:50'),
(76, 9, 'Overtime (Regular)', 6, 0.00, 'earning', 0, '2026-03-17 20:20:50', '2026-03-17 20:20:50'),
(77, 9, 'Night Differential', 8, 217.40, 'earning', 0, '2026-03-17 20:20:50', '2026-03-17 20:20:50'),
(78, 9, 'Holiday Pay', 7, 0.00, 'earning', 0, '2026-03-17 20:20:50', '2026-03-17 20:20:50'),
(79, 9, 'Undertime Deduction', 14, 160.38, 'deduction', 0, '2026-03-17 20:20:50', '2026-03-17 20:20:50'),
(80, 9, 'SSS Contribution (EE)', 2, 225.00, 'deduction', 0, '2026-03-17 20:20:50', '2026-03-17 20:20:50'),
(81, 9, 'PhilHealth Contribution (EE)', 3, 125.00, 'deduction', 0, '2026-03-17 20:20:50', '2026-03-17 20:20:50'),
(82, 9, 'Pag-IBIG Contribution (EE)', 4, 100.00, 'deduction', 0, '2026-03-17 20:20:50', '2026-03-17 20:20:50'),
(83, 9, 'Withholding Tax', 5, 0.00, 'deduction', 0, '2026-03-17 20:20:50', '2026-03-17 20:20:50'),
(84, 10, 'Basic Salary', 1, 7645.00, 'earning', 0, '2026-03-17 20:20:50', '2026-03-17 20:20:50'),
(85, 10, 'Overtime (Regular)', 6, 0.00, 'earning', 0, '2026-03-17 20:20:50', '2026-03-17 20:20:50'),
(86, 10, 'Night Differential', 8, 284.84, 'earning', 0, '2026-03-17 20:20:50', '2026-03-17 20:20:50'),
(87, 10, 'Holiday Pay', 7, 0.00, 'earning', 0, '2026-03-17 20:20:50', '2026-03-17 20:20:50'),
(88, 10, 'SSS Contribution (EE)', 2, 225.00, 'deduction', 0, '2026-03-17 20:20:50', '2026-03-17 20:20:50'),
(89, 10, 'PhilHealth Contribution (EE)', 3, 125.00, 'deduction', 0, '2026-03-17 20:20:50', '2026-03-17 20:20:50'),
(90, 10, 'Pag-IBIG Contribution (EE)', 4, 100.00, 'deduction', 0, '2026-03-17 20:20:50', '2026-03-17 20:20:50'),
(91, 10, 'Withholding Tax', 5, 0.00, 'deduction', 0, '2026-03-17 20:20:50', '2026-03-17 20:20:50');

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

--
-- Table structure for table `payroll_settings`
--

CREATE TABLE `payroll_settings` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `payroll_prefix` varchar(255) NOT NULL DEFAULT 'PAY',
  `default_pay_period` varchar(255) NOT NULL DEFAULT 'monthly',
  `payroll_start_day` int(11) NOT NULL DEFAULT 1,
  `payroll_end_day` int(11) NOT NULL DEFAULT 31,
  `pay_date_offset` int(11) NOT NULL DEFAULT 5,
  `working_days_per_month` int(11) NOT NULL DEFAULT 30,
  `enable_lop_deduction` tinyint(1) NOT NULL DEFAULT 0,
  `lop_calculation_method` varchar(255) NOT NULL DEFAULT 'working_days',
  `include_weekends_in_lop` tinyint(1) NOT NULL DEFAULT 0,
  `include_holidays_in_lop` tinyint(1) NOT NULL DEFAULT 0,
  `round_lop_days` varchar(255) NOT NULL DEFAULT 'no_rounding',
  `enable_expense_reimbursement` tinyint(1) NOT NULL DEFAULT 0,
  `enable_loan_deductions` tinyint(1) NOT NULL DEFAULT 0,
  `statutory_mode` enum('auto','manual') NOT NULL DEFAULT 'auto',
  `require_statutory_approval` tinyint(1) NOT NULL DEFAULT 0,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `payroll_settings`
--

INSERT INTO `payroll_settings` (`id`, `payroll_prefix`, `default_pay_period`, `payroll_start_day`, `payroll_end_day`, `pay_date_offset`, `working_days_per_month`, `enable_lop_deduction`, `lop_calculation_method`, `include_weekends_in_lop`, `include_holidays_in_lop`, `round_lop_days`, `enable_expense_reimbursement`, `enable_loan_deductions`, `statutory_mode`, `require_statutory_approval`, `created_at`, `updated_at`) VALUES
(1, 'PAY', 'monthly', 1, 31, 5, 30, 0, 'working_days', 0, 0, 'no_rounding', 0, 0, 'manual', 0, '2026-02-24 15:07:04', '2026-03-04 12:50:46');

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

--
-- Table structure for table `pay_groups`
--

CREATE TABLE `pay_groups` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `name` varchar(255) NOT NULL,
  `description` text DEFAULT NULL,
  `type` varchar(255) NOT NULL DEFAULT 'office',
  `is_default` tinyint(1) NOT NULL DEFAULT 0,
  `tenant_id` bigint(20) UNSIGNED DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `annual_working_days` decimal(8,2) NOT NULL DEFAULT 261.00,
  `ot_enabled` tinyint(1) NOT NULL DEFAULT 1,
  `night_diff_enabled` tinyint(1) NOT NULL DEFAULT 1,
  `holiday_pay_enabled` tinyint(1) NOT NULL DEFAULT 1,
  `holiday_calculation_type` varchar(255) NOT NULL DEFAULT 'base_on_work',
  `ot_trigger_hours` decimal(4,2) NOT NULL DEFAULT 8.00,
  `weekly_working_days` decimal(4,2) NOT NULL DEFAULT 5.00,
  `is_pro_rated_statutory` tinyint(1) NOT NULL DEFAULT 0,
  `thirteenth_month_formula` varchar(255) NOT NULL DEFAULT 'total_basic_earned_div_12'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `pay_groups`
--

INSERT INTO `pay_groups` (`id`, `name`, `description`, `type`, `is_default`, `tenant_id`, `created_at`, `updated_at`, `annual_working_days`, `ot_enabled`, `night_diff_enabled`, `holiday_pay_enabled`, `holiday_calculation_type`, `ot_trigger_hours`, `weekly_working_days`, `is_pro_rated_statutory`, `thirteenth_month_formula`) VALUES
(1, 'Managerial / Exempt', 'Managerial employees exempt from OT, Night Diff & Holiday premiums (Art. 82, PH Labor Code).', 'office', 0, NULL, '2026-02-26 11:54:43', '2026-03-10 13:30:26', 312.00, 0, 0, 1, 'fixed', 8.00, 5.00, 0, 'basic_salary'),
(2, 'Daily Paid / Piece-Rate', 'Retail/manufacturing workers paid per day or unit. 6-day week, 312-day factor.', 'daily', 0, NULL, '2026-02-26 11:54:43', '2026-03-04 12:10:32', 312.00, 1, 1, 1, 'base_on_work', 8.00, 6.00, 0, 'total_basic_earned_div_12'),
(3, 'Office Staff', 'Regular corporate employees with fixed Mon-Fri schedules. 261-day factor.', 'office', 1, NULL, '2026-02-26 11:54:43', '2026-03-04 12:10:32', 261.00, 1, 1, 1, 'base_on_work', 8.00, 5.00, 0, 'total_basic_earned_div_12'),
(4, 'Compressed Work Week (CWW)', 'BPO/IT employees working 10h/day, 4 days/week. OT triggered after 10 hours. 208-day factor.', 'office', 0, NULL, '2026-02-26 11:54:43', '2026-03-04 11:48:34', 208.00, 1, 1, 1, 'base_on_work', 10.00, 4.00, 0, 'total_basic_earned_div_12'),
(5, 'Part-Time / Variable', 'Students or project-based workers. Pro-rated statutory contributions; 1/12 13th month.', 'office', 0, NULL, '2026-02-26 11:54:43', '2026-03-04 11:48:34', 261.00, 1, 1, 1, 'base_on_work', 8.00, 5.00, 1, 'total_basic_earned_div_12');

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

--
-- Table structure for table `permissions`
--

CREATE TABLE `permissions` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `name` varchar(255) NOT NULL,
  `guard_name` varchar(255) NOT NULL,
  `module` varchar(255) DEFAULT NULL,
  `description` varchar(255) DEFAULT NULL,
  `sort_order` int(11) NOT NULL DEFAULT 0,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `permissions`
--

INSERT INTO `permissions` (`id`, `name`, `guard_name`, `module`, `description`, `sort_order`, `created_at`, `updated_at`) VALUES
(1, 'hrcore.view-employees', 'web', 'HRCore', 'View all employees (Employee Management)', 1000, '2026-01-14 12:44:01', '2026-01-14 12:44:01'),
(2, 'hrcore.view-own-employees', 'web', 'HRCore', 'View employees under their management (Employee Management)', 1001, '2026-01-14 12:44:01', '2026-01-14 12:44:01'),
(3, 'hrcore.view-employee-details', 'web', 'HRCore', 'View detailed employee information (Employee Management)', 1002, '2026-01-14 12:44:01', '2026-01-14 12:44:01'),
(4, 'hrcore.view-employee-personal-info', 'web', 'HRCore', 'View employee personal information (Employee Management)', 1003, '2026-01-14 12:44:01', '2026-01-14 12:44:01'),
(5, 'hrcore.view-employee-work-info', 'web', 'HRCore', 'View employee work information (Employee Management)', 1004, '2026-01-14 12:44:01', '2026-01-14 12:44:01'),
(6, 'hrcore.view-employee-documents', 'web', 'HRCore', 'View employee documents (Employee Management)', 1005, '2026-01-14 12:44:01', '2026-01-14 12:44:01'),
(7, 'hrcore.create-employees', 'web', 'HRCore', 'Create new employees (Employee Management)', 1006, '2026-01-14 12:44:01', '2026-01-14 12:44:01'),
(8, 'hrcore.edit-employees', 'web', 'HRCore', 'Edit employee information (Employee Management)', 1007, '2026-01-14 12:44:01', '2026-01-14 12:44:01'),
(9, 'hrcore.edit-employee-personal-info', 'web', 'HRCore', 'Edit employee personal information (Employee Management)', 1008, '2026-01-14 12:44:01', '2026-01-14 12:44:01'),
(10, 'hrcore.edit-employee-work-info', 'web', 'HRCore', 'Edit employee work information (Employee Management)', 1009, '2026-01-14 12:44:01', '2026-01-14 12:44:01'),
(11, 'hrcore.delete-employees', 'web', 'HRCore', 'Delete employees (Employee Management)', 1010, '2026-01-14 12:44:01', '2026-01-14 12:44:01'),
(12, 'hrcore.manage-employee-lifecycle', 'web', 'HRCore', 'Manage employee lifecycle transitions (Employee Management)', 1011, '2026-01-14 12:44:01', '2026-01-14 12:44:01'),
(13, 'hrcore.onboard-employees', 'web', 'HRCore', 'Handle employee onboarding (Employee Management)', 1012, '2026-01-14 12:44:01', '2026-01-14 12:44:01'),
(14, 'hrcore.offboard-employees', 'web', 'HRCore', 'Handle employee offboarding (Employee Management)', 1013, '2026-01-14 12:44:01', '2026-01-14 12:44:01'),
(15, 'hrcore.manage-employee-transfers', 'web', 'HRCore', 'Manage employee transfers between teams/departments (Employee Management)', 1014, '2026-01-14 12:44:01', '2026-01-14 12:44:01'),
(16, 'hrcore.manage-employee-promotions', 'web', 'HRCore', 'Manage employee promotions (Employee Management)', 1015, '2026-01-14 12:44:01', '2026-01-14 12:44:01'),
(17, 'hrcore.manage-employee-status', 'web', 'HRCore', 'Change employee status (active/inactive/relieved) (Employee Management)', 1016, '2026-01-14 12:44:01', '2026-01-14 12:44:01'),
(18, 'hrcore.manage-probation', 'web', 'HRCore', 'Manage employee probation status (Employee Management)', 1017, '2026-01-14 12:44:01', '2026-01-14 12:44:01'),
(19, 'hrcore.view-employee-history', 'web', 'HRCore', 'View employee change history (Employee Management)', 1018, '2026-01-14 12:44:01', '2026-01-14 12:44:01'),
(20, 'hrcore.export-employee-data', 'web', 'HRCore', 'Export employee data (Employee Management)', 1019, '2026-01-14 12:44:01', '2026-01-14 12:44:01'),
(21, 'hrcore.view-attendance', 'web', 'HRCore', 'View all attendance records (Attendance Management)', 1020, '2026-01-14 12:44:01', '2026-01-14 12:44:01'),
(22, 'hrcore.view-own-attendance', 'web', 'HRCore', 'View own attendance records (Attendance Management)', 1021, '2026-01-14 12:44:01', '2026-01-14 12:44:01'),
(23, 'hrcore.view-team-attendance', 'web', 'HRCore', 'View team attendance records (Attendance Management)', 1022, '2026-01-14 12:44:01', '2026-01-14 12:44:01'),
(24, 'hrcore.create-attendance', 'web', 'HRCore', 'Create attendance entries (Attendance Management)', 1023, '2026-01-14 12:44:01', '2026-01-14 12:44:01'),
(25, 'hrcore.edit-attendance', 'web', 'HRCore', 'Edit attendance records (Attendance Management)', 1024, '2026-01-14 12:44:01', '2026-01-14 12:44:01'),
(26, 'hrcore.delete-attendance', 'web', 'HRCore', 'Delete attendance records (Attendance Management)', 1025, '2026-01-14 12:44:01', '2026-01-14 12:44:01'),
(27, 'hrcore.approve-attendance', 'web', 'HRCore', 'Approve attendance regularization (Attendance Management)', 1026, '2026-01-14 12:44:01', '2026-01-14 12:44:01'),
(28, 'hrcore.web-check-in', 'web', 'HRCore', 'Perform web check-in/out (Attendance Management)', 1027, '2026-01-14 12:44:01', '2026-01-14 12:44:01'),
(29, 'hrcore.multiple-check-in', 'web', 'HRCore', 'Allow multiple check-in/out per day (Attendance Management)', 1028, '2026-01-14 12:44:01', '2026-01-14 12:44:01'),
(30, 'hrcore.view-attendance-reports', 'web', 'HRCore', 'View attendance reports (Attendance Management)', 1029, '2026-01-14 12:44:01', '2026-01-14 12:44:01'),
(31, 'hrcore.export-attendance', 'web', 'HRCore', 'Export attendance data (Attendance Management)', 1030, '2026-01-14 12:44:01', '2026-01-14 12:44:01'),
(32, 'hrcore.manage-attendance-settings', 'web', 'HRCore', 'Manage attendance settings (HR Settings)', 1115, '2026-01-14 12:44:01', '2026-01-14 12:44:01'),
(33, 'hrcore.view-attendance-regularization', 'web', 'HRCore', 'View all regularization requests (Attendance Management)', 1032, '2026-01-14 12:44:01', '2026-01-14 12:44:01'),
(34, 'hrcore.view-own-attendance-regularization', 'web', 'HRCore', 'View own regularization requests (Attendance Management)', 1033, '2026-01-14 12:44:01', '2026-01-14 12:44:01'),
(35, 'hrcore.create-attendance-regularization', 'web', 'HRCore', 'Create regularization requests (Attendance Management)', 1034, '2026-01-14 12:44:01', '2026-01-14 12:44:01'),
(36, 'hrcore.edit-attendance-regularization', 'web', 'HRCore', 'Edit regularization requests (Attendance Management)', 1035, '2026-01-14 12:44:01', '2026-01-14 12:44:01'),
(37, 'hrcore.delete-attendance-regularization', 'web', 'HRCore', 'Delete regularization requests (Attendance Management)', 1036, '2026-01-14 12:44:01', '2026-01-14 12:44:01'),
(38, 'hrcore.approve-attendance-regularization', 'web', 'HRCore', 'Approve regularization requests (Attendance Management)', 1037, '2026-01-14 12:44:01', '2026-01-14 12:44:01'),
(39, 'hrcore.view-manager-attendance-dashboard', 'web', 'HRCore', 'View manager attendance dashboard (Attendance Management)', 1038, '2026-01-14 12:44:01', '2026-01-14 12:44:01'),
(40, 'hrcore.view-attendance-statistics', 'web', 'HRCore', 'View attendance statistics (Attendance Management)', 1039, '2026-01-14 12:44:01', '2026-01-14 12:44:01'),
(41, 'hrcore.view-leaves', 'web', 'HRCore', 'View all leave requests (Leave Management)', 1040, '2026-01-14 12:44:01', '2026-01-14 12:44:01'),
(42, 'hrcore.view-own-leaves', 'web', 'HRCore', 'View own leave requests (Leave Management)', 1041, '2026-01-14 12:44:01', '2026-01-14 12:44:01'),
(43, 'hrcore.view-team-leaves', 'web', 'HRCore', 'View team leave requests (Leave Management)', 1042, '2026-01-14 12:44:01', '2026-01-14 12:44:01'),
(44, 'hrcore.create-leave', 'web', 'HRCore', 'Create leave requests (Leave Management)', 1043, '2026-01-14 12:44:01', '2026-01-14 12:44:01'),
(45, 'hrcore.create-leave-for-others', 'web', 'HRCore', 'Create leave requests for other employees (Leave Management)', 1044, '2026-01-14 12:44:01', '2026-01-14 12:44:01'),
(46, 'hrcore.edit-leave', 'web', 'HRCore', 'Edit leave requests (Leave Management)', 1045, '2026-01-14 12:44:01', '2026-01-14 12:44:01'),
(47, 'hrcore.delete-leave', 'web', 'HRCore', 'Delete leave requests (Leave Management)', 1046, '2026-01-14 12:44:01', '2026-01-14 12:44:01'),
(48, 'hrcore.approve-leave', 'web', 'HRCore', 'Approve leave requests (Leave Management)', 1047, '2026-01-14 12:44:01', '2026-01-14 12:44:01'),
(49, 'hrcore.reject-leave', 'web', 'HRCore', 'Reject leave requests (Leave Management)', 1048, '2026-01-14 12:44:01', '2026-01-14 12:44:01'),
(50, 'hrcore.cancel-leave', 'web', 'HRCore', 'Cancel approved leaves (Leave Management)', 1049, '2026-01-14 12:44:01', '2026-01-14 12:44:01'),
(51, 'hrcore.view-leave-balances', 'web', 'HRCore', 'View leave balances (Leave Management)', 1050, '2026-01-14 12:44:01', '2026-01-14 12:44:01'),
(52, 'hrcore.manage-leave-balances', 'web', 'HRCore', 'Manage leave balances (Leave Management)', 1051, '2026-01-14 12:44:01', '2026-01-14 12:44:01'),
(53, 'hrcore.view-leave-reports', 'web', 'HRCore', 'View leave reports (Leave Management)', 1052, '2026-01-14 12:44:01', '2026-01-14 12:44:01'),
(54, 'hrcore.export-leave-data', 'web', 'HRCore', 'Export leave data (Leave Management)', 1053, '2026-01-14 12:44:01', '2026-01-14 12:44:01'),
(55, 'hrcore.view-leave-types', 'web', 'HRCore', 'View leave types (Leave Management)', 1054, '2026-01-14 12:44:01', '2026-01-14 12:44:01'),
(56, 'hrcore.create-leave-types', 'web', 'HRCore', 'Create leave types (Leave Management)', 1055, '2026-01-14 12:44:01', '2026-01-14 12:44:01'),
(57, 'hrcore.edit-leave-types', 'web', 'HRCore', 'Edit leave types (Leave Management)', 1056, '2026-01-14 12:44:01', '2026-01-14 12:44:01'),
(58, 'hrcore.delete-leave-types', 'web', 'HRCore', 'Delete leave types (Leave Management)', 1057, '2026-01-14 12:44:01', '2026-01-14 12:44:01'),
(59, 'hrcore.manage-leave-types', 'web', 'HRCore', 'Manage leave types (status changes, etc.) (Leave Management)', 1058, '2026-01-14 12:44:01', '2026-01-14 12:44:01'),
(60, 'hrcore.view-comp-offs', 'web', 'HRCore', 'View all compensatory off requests (Compensatory Off Management)', 1059, '2026-01-14 12:44:01', '2026-01-14 12:44:01'),
(61, 'hrcore.view-own-comp-offs', 'web', 'HRCore', 'View own compensatory off requests (Compensatory Off Management)', 1060, '2026-01-14 12:44:01', '2026-01-14 12:44:01'),
(62, 'hrcore.view-team-comp-offs', 'web', 'HRCore', 'View team compensatory off requests (Compensatory Off Management)', 1061, '2026-01-14 12:44:01', '2026-01-14 12:44:01'),
(63, 'hrcore.create-comp-off', 'web', 'HRCore', 'Create compensatory off requests (Compensatory Off Management)', 1062, '2026-01-14 12:44:01', '2026-01-14 12:44:01'),
(64, 'hrcore.edit-comp-off', 'web', 'HRCore', 'Edit compensatory off requests (Compensatory Off Management)', 1063, '2026-01-14 12:44:01', '2026-01-14 12:44:01'),
(65, 'hrcore.delete-comp-off', 'web', 'HRCore', 'Delete compensatory off requests (Compensatory Off Management)', 1064, '2026-01-14 12:44:01', '2026-01-14 12:44:01'),
(66, 'hrcore.approve-comp-off', 'web', 'HRCore', 'Approve compensatory off requests (Compensatory Off Management)', 1065, '2026-01-14 12:44:01', '2026-01-14 12:44:01'),
(67, 'hrcore.reject-comp-off', 'web', 'HRCore', 'Reject compensatory off requests (Compensatory Off Management)', 1066, '2026-01-14 12:44:01', '2026-01-14 12:44:01'),
(68, 'hrcore.view-comp-off-reports', 'web', 'HRCore', 'View compensatory off reports (Compensatory Off Management)', 1067, '2026-01-14 12:44:01', '2026-01-14 12:44:01'),
(69, 'hrcore.export-comp-off-data', 'web', 'HRCore', 'Export compensatory off data (Compensatory Off Management)', 1068, '2026-01-14 12:44:01', '2026-01-14 12:44:01'),
(70, 'hrcore.view-departments', 'web', 'HRCore', 'View departments (Organization Structure)', 1069, '2026-01-14 12:44:01', '2026-01-14 12:44:01'),
(71, 'hrcore.create-departments', 'web', 'HRCore', 'Create departments (Organization Structure)', 1070, '2026-01-14 12:44:01', '2026-01-14 12:44:01'),
(72, 'hrcore.edit-departments', 'web', 'HRCore', 'Edit departments (Organization Structure)', 1071, '2026-01-14 12:44:01', '2026-01-14 12:44:01'),
(73, 'hrcore.delete-departments', 'web', 'HRCore', 'Delete departments (Organization Structure)', 1072, '2026-01-14 12:44:01', '2026-01-14 12:44:01'),
(74, 'hrcore.view-designations', 'web', 'HRCore', 'View designations (Organization Structure)', 1073, '2026-01-14 12:44:01', '2026-01-14 12:44:01'),
(75, 'hrcore.create-designations', 'web', 'HRCore', 'Create designations (Organization Structure)', 1074, '2026-01-14 12:44:01', '2026-01-14 12:44:01'),
(76, 'hrcore.edit-designations', 'web', 'HRCore', 'Edit designations (Organization Structure)', 1075, '2026-01-14 12:44:01', '2026-01-14 12:44:01'),
(77, 'hrcore.delete-designations', 'web', 'HRCore', 'Delete designations (Organization Structure)', 1076, '2026-01-14 12:44:01', '2026-01-14 12:44:01'),
(78, 'hrcore.view-teams', 'web', 'HRCore', 'View teams (Organization Structure)', 1077, '2026-01-14 12:44:01', '2026-01-14 12:44:01'),
(79, 'hrcore.create-teams', 'web', 'HRCore', 'Create teams (Organization Structure)', 1078, '2026-01-14 12:44:01', '2026-01-14 12:44:01'),
(80, 'hrcore.edit-teams', 'web', 'HRCore', 'Edit teams (Organization Structure)', 1079, '2026-01-14 12:44:01', '2026-01-14 12:44:01'),
(81, 'hrcore.delete-teams', 'web', 'HRCore', 'Delete teams (Organization Structure)', 1080, '2026-01-14 12:44:01', '2026-01-14 12:44:01'),
(82, 'hrcore.manage-team-members', 'web', 'HRCore', 'Manage team members (Organization Structure)', 1081, '2026-01-14 12:44:01', '2026-01-14 12:44:01'),
(83, 'hrcore.view-shifts', 'web', 'HRCore', 'View shifts (Organization Structure)', 1082, '2026-01-14 12:44:01', '2026-01-14 12:44:01'),
(84, 'hrcore.create-shifts', 'web', 'HRCore', 'Create shifts (Organization Structure)', 1083, '2026-01-14 12:44:01', '2026-01-14 12:44:01'),
(85, 'hrcore.edit-shifts', 'web', 'HRCore', 'Edit shifts (Organization Structure)', 1084, '2026-01-14 12:44:01', '2026-01-14 12:44:01'),
(86, 'hrcore.delete-shifts', 'web', 'HRCore', 'Delete shifts (Organization Structure)', 1085, '2026-01-14 12:44:01', '2026-01-14 12:44:01'),
(87, 'hrcore.view-organization-hierarchy', 'web', 'HRCore', 'View organization hierarchy (Organization Structure)', 1086, '2026-01-14 12:44:01', '2026-01-14 12:44:01'),
(88, 'hrcore.manage-organization-hierarchy', 'web', 'HRCore', 'Manage organization hierarchy (Organization Structure)', 1087, '2026-01-14 12:44:01', '2026-01-14 12:44:01'),
(89, 'hrcore.view-expenses', 'web', 'HRCore', 'View all expense requests (Expense Management)', 1088, '2026-01-14 12:44:01', '2026-01-14 12:44:01'),
(90, 'hrcore.view-own-expenses', 'web', 'HRCore', 'View own expense requests (Expense Management)', 1089, '2026-01-14 12:44:01', '2026-01-14 12:44:01'),
(91, 'hrcore.view-team-expenses', 'web', 'HRCore', 'View team expense requests (Expense Management)', 1090, '2026-01-14 12:44:01', '2026-01-14 12:44:01'),
(92, 'hrcore.create-expense', 'web', 'HRCore', 'Create expense requests (Expense Management)', 1091, '2026-01-14 12:44:01', '2026-01-14 12:44:01'),
(93, 'hrcore.edit-expense', 'web', 'HRCore', 'Edit expense requests (Expense Management)', 1092, '2026-01-14 12:44:01', '2026-01-14 12:44:01'),
(94, 'hrcore.delete-expense', 'web', 'HRCore', 'Delete expense requests (Expense Management)', 1093, '2026-01-14 12:44:01', '2026-01-14 12:44:01'),
(95, 'hrcore.approve-expense', 'web', 'HRCore', 'Approve expense requests (Expense Management)', 1094, '2026-01-14 12:44:01', '2026-01-14 12:44:01'),
(96, 'hrcore.reject-expense', 'web', 'HRCore', 'Reject expense requests (Expense Management)', 1095, '2026-01-14 12:44:01', '2026-01-14 12:44:01'),
(97, 'hrcore.process-expense', 'web', 'HRCore', 'Process expense payments (Expense Management)', 1096, '2026-01-14 12:44:01', '2026-01-14 12:44:01'),
(98, 'hrcore.view-expense-reports', 'web', 'HRCore', 'View expense reports (Expense Management)', 1097, '2026-01-14 12:44:01', '2026-01-14 12:44:01'),
(99, 'hrcore.view-expense-types', 'web', 'HRCore', 'View expense types (Expense Management)', 1098, '2026-01-14 12:44:01', '2026-01-14 12:44:01'),
(100, 'hrcore.create-expense-types', 'web', 'HRCore', 'Create expense types (Expense Management)', 1099, '2026-01-14 12:44:01', '2026-01-14 12:44:01'),
(101, 'hrcore.edit-expense-types', 'web', 'HRCore', 'Edit expense types (Expense Management)', 1100, '2026-01-14 12:44:01', '2026-01-14 12:44:01'),
(102, 'hrcore.delete-expense-types', 'web', 'HRCore', 'Delete expense types (Expense Management)', 1101, '2026-01-14 12:44:01', '2026-01-14 12:44:01'),
(103, 'hrcore.manage-expense-types', 'web', 'HRCore', 'Manage expense types (Expense Management)', 1102, '2026-01-14 12:44:01', '2026-01-14 12:44:01'),
(104, 'hrcore.view-holidays', 'web', 'HRCore', 'View holidays (Holiday Management)', 1103, '2026-01-14 12:44:01', '2026-01-14 12:44:01'),
(105, 'hrcore.create-holidays', 'web', 'HRCore', 'Create holidays (Holiday Management)', 1104, '2026-01-14 12:44:01', '2026-01-14 12:44:01'),
(106, 'hrcore.edit-holidays', 'web', 'HRCore', 'Edit holidays (Holiday Management)', 1105, '2026-01-14 12:44:01', '2026-01-14 12:44:01'),
(107, 'hrcore.delete-holidays', 'web', 'HRCore', 'Delete holidays (Holiday Management)', 1106, '2026-01-14 12:44:01', '2026-01-14 12:44:01'),
(108, 'hrcore.manage-holiday-calendars', 'web', 'HRCore', 'Manage holiday calendars (Holiday Management)', 1107, '2026-01-14 12:44:01', '2026-01-14 12:44:01'),
(109, 'hrcore.view-hr-reports', 'web', 'HRCore', 'View HR reports (HR Reports)', 1108, '2026-01-14 12:44:01', '2026-01-14 12:44:01'),
(110, 'hrcore.generate-attendance-reports', 'web', 'HRCore', 'Generate attendance reports (HR Reports)', 1109, '2026-01-14 12:44:01', '2026-01-14 12:44:01'),
(111, 'hrcore.generate-leave-reports', 'web', 'HRCore', 'Generate leave reports (HR Reports)', 1110, '2026-01-14 12:44:01', '2026-01-14 12:44:01'),
(112, 'hrcore.generate-expense-reports', 'web', 'HRCore', 'Generate expense reports (HR Reports)', 1111, '2026-01-14 12:44:01', '2026-01-14 12:44:01'),
(113, 'hrcore.generate-employee-reports', 'web', 'HRCore', 'Generate employee reports (HR Reports)', 1112, '2026-01-14 12:44:01', '2026-01-14 12:44:01'),
(114, 'hrcore.export-hr-reports', 'web', 'HRCore', 'Export HR reports (HR Reports)', 1113, '2026-01-14 12:44:01', '2026-01-14 12:44:01'),
(115, 'hrcore.manage-hr-settings', 'web', 'HRCore', 'Manage HR module settings (HR Settings)', 1114, '2026-01-14 12:44:01', '2026-01-14 12:44:01'),
(116, 'hrcore.manage-leave-settings', 'web', 'HRCore', 'Manage leave settings (HR Settings)', 1116, '2026-01-14 12:44:01', '2026-01-14 12:44:01'),
(117, 'hrcore.manage-expense-settings', 'web', 'HRCore', 'Manage expense settings (HR Settings)', 1117, '2026-01-14 12:44:01', '2026-01-14 12:44:01'),
(118, 'accountingcore.dashboard.view', 'web', 'AccountingCore', 'View accounting dashboard (Dashboard Access)', 2000, '2026-01-14 12:44:02', '2026-01-14 12:44:02'),
(119, 'accountingcore.dashboard.statistics', 'web', 'AccountingCore', 'View dashboard statistics (Dashboard Access)', 2001, '2026-01-14 12:44:02', '2026-01-14 12:44:02'),
(120, 'accountingcore.transactions.index', 'web', 'AccountingCore', 'View all transactions (Transaction Management)', 2002, '2026-01-14 12:44:02', '2026-01-14 12:44:02'),
(121, 'accountingcore.transactions.create', 'web', 'AccountingCore', 'Create new transactions (Transaction Management)', 2003, '2026-01-14 12:44:02', '2026-01-14 12:44:02'),
(122, 'accountingcore.transactions.store', 'web', 'AccountingCore', 'Store new transactions (Transaction Management)', 2004, '2026-01-14 12:44:02', '2026-01-14 12:44:02'),
(123, 'accountingcore.transactions.show', 'web', 'AccountingCore', 'View transaction details (Transaction Management)', 2005, '2026-01-14 12:44:02', '2026-01-14 12:44:02'),
(124, 'accountingcore.transactions.edit', 'web', 'AccountingCore', 'Edit transactions (Transaction Management)', 2006, '2026-01-14 12:44:02', '2026-01-14 12:44:02'),
(125, 'accountingcore.transactions.update', 'web', 'AccountingCore', 'Update transactions (Transaction Management)', 2007, '2026-01-14 12:44:02', '2026-01-14 12:44:02'),
(126, 'accountingcore.transactions.destroy', 'web', 'AccountingCore', 'Delete transactions (Transaction Management)', 2008, '2026-01-14 12:44:02', '2026-01-14 12:44:02'),
(127, 'accountingcore.transactions.delete-attachment', 'web', 'AccountingCore', 'Delete transaction attachments (Transaction Management)', 2009, '2026-01-14 12:44:02', '2026-01-14 12:44:02'),
(128, 'accountingcore.categories.index', 'web', 'AccountingCore', 'View all transaction categories (Category Management)', 2010, '2026-01-14 12:44:02', '2026-01-14 12:44:02'),
(129, 'accountingcore.categories.create', 'web', 'AccountingCore', 'Create new categories (Category Management)', 2011, '2026-01-14 12:44:02', '2026-01-14 12:44:02'),
(130, 'accountingcore.categories.store', 'web', 'AccountingCore', 'Store new categories (Category Management)', 2012, '2026-01-14 12:44:02', '2026-01-14 12:44:02'),
(131, 'accountingcore.categories.show', 'web', 'AccountingCore', 'View category details (Category Management)', 2013, '2026-01-14 12:44:02', '2026-01-14 12:44:02'),
(132, 'accountingcore.categories.edit', 'web', 'AccountingCore', 'Edit categories (Category Management)', 2014, '2026-01-14 12:44:02', '2026-01-14 12:44:02'),
(133, 'accountingcore.categories.update', 'web', 'AccountingCore', 'Update categories (Category Management)', 2015, '2026-01-14 12:44:02', '2026-01-14 12:44:02'),
(134, 'accountingcore.categories.destroy', 'web', 'AccountingCore', 'Delete categories (Category Management)', 2016, '2026-01-14 12:44:02', '2026-01-14 12:44:02'),
(135, 'accountingcore.categories.search', 'web', 'AccountingCore', 'Search categories for dropdowns (Category Management)', 2017, '2026-01-14 12:44:02', '2026-01-14 12:44:02'),
(136, 'accountingcore.tax-rates.index', 'web', 'AccountingCore', 'View all tax rates (Tax Rate Management)', 2018, '2026-01-14 12:44:02', '2026-01-14 12:44:02'),
(137, 'accountingcore.tax-rates.create', 'web', 'AccountingCore', 'Create new tax rates (Tax Rate Management)', 2019, '2026-01-14 12:44:02', '2026-01-14 12:44:02'),
(138, 'accountingcore.tax-rates.store', 'web', 'AccountingCore', 'Store new tax rates (Tax Rate Management)', 2020, '2026-01-14 12:44:02', '2026-01-14 12:44:02'),
(139, 'accountingcore.tax-rates.show', 'web', 'AccountingCore', 'View tax rate details (Tax Rate Management)', 2021, '2026-01-14 12:44:02', '2026-01-14 12:44:02'),
(140, 'accountingcore.tax-rates.edit', 'web', 'AccountingCore', 'Edit tax rates (Tax Rate Management)', 2022, '2026-01-14 12:44:02', '2026-01-14 12:44:02'),
(141, 'accountingcore.tax-rates.update', 'web', 'AccountingCore', 'Update tax rates (Tax Rate Management)', 2023, '2026-01-14 12:44:02', '2026-01-14 12:44:02'),
(142, 'accountingcore.tax-rates.destroy', 'web', 'AccountingCore', 'Delete tax rates (Tax Rate Management)', 2024, '2026-01-14 12:44:02', '2026-01-14 12:44:02'),
(143, 'accountingcore.tax-rates.active', 'web', 'AccountingCore', 'View active tax rates for dropdowns (Tax Rate Management)', 2025, '2026-01-14 12:44:02', '2026-01-14 12:44:02'),
(144, 'accountingcore.reports.index', 'web', 'AccountingCore', 'View reports dashboard (Reports Management)', 2026, '2026-01-14 12:44:02', '2026-01-14 12:44:02'),
(145, 'accountingcore.reports.generate', 'web', 'AccountingCore', 'Generate custom reports (Reports Management)', 2027, '2026-01-14 12:44:02', '2026-01-14 12:44:02'),
(146, 'accountingcore.reports.export', 'web', 'AccountingCore', 'Export reports (Reports Management)', 2028, '2026-01-14 12:44:02', '2026-01-14 12:44:02'),
(147, 'accountingcore.reports.summary', 'web', 'AccountingCore', 'View income & expense summary report (Reports Management)', 2029, '2026-01-14 12:44:02', '2026-01-14 12:44:02'),
(148, 'accountingcore.reports.summary.export-pdf', 'web', 'AccountingCore', 'Export summary report as PDF (Reports Management)', 2030, '2026-01-14 12:44:02', '2026-01-14 12:44:02'),
(149, 'accountingcore.reports.cashflow', 'web', 'AccountingCore', 'View cash flow report (Reports Management)', 2031, '2026-01-14 12:44:02', '2026-01-14 12:44:02'),
(150, 'accountingcore.reports.cashflow.export-pdf', 'web', 'AccountingCore', 'Export cash flow report as PDF (Reports Management)', 2032, '2026-01-14 12:44:02', '2026-01-14 12:44:02'),
(151, 'accountingcore.reports.category-performance', 'web', 'AccountingCore', 'View category performance report (Reports Management)', 2033, '2026-01-14 12:44:02', '2026-01-14 12:44:02'),
(152, 'accountingcore.access', 'web', 'AccountingCore', 'Access Accounting Core module (Module Access)', 2034, '2026-01-14 12:44:02', '2026-01-14 12:44:02'),
(153, 'accountingcore.settings', 'web', 'AccountingCore', 'Manage accounting settings (Module Access)', 2035, '2026-01-14 12:44:02', '2026-01-14 12:44:02'),
(154, 'crm.leads.view_all', 'web', NULL, NULL, 0, '2026-02-02 12:18:53', '2026-02-02 12:18:53'),
(155, 'crm.leads.view_assigned', 'web', NULL, NULL, 0, '2026-02-02 12:18:53', '2026-02-02 12:18:53'),
(156, 'crm.clients.view_all', 'web', NULL, NULL, 0, '2026-02-02 12:18:53', '2026-02-02 12:18:53'),
(157, 'crm.clients.view_assigned', 'web', NULL, NULL, 0, '2026-02-02 12:18:53', '2026-02-02 12:18:53'),
(158, 'crm.deals.view_all', 'web', NULL, NULL, 0, '2026-02-02 12:18:53', '2026-02-02 12:18:53'),
(159, 'crm.deals.view_assigned', 'web', NULL, NULL, 0, '2026-02-02 12:18:53', '2026-02-02 12:18:53'),
(160, 'projectmanagement.dashboard.view', 'web', 'ProjectManagement', 'View project dashboard (Dashboard Access)', 3000, '2026-02-02 12:18:54', '2026-02-02 12:18:54'),
(161, 'projectmanagement.projects.index', 'web', 'ProjectManagement', 'View all projects (basic list) (Project Management)', 3001, '2026-02-02 12:18:54', '2026-02-02 12:18:54'),
(162, 'projectmanagement.projects.view_all', 'web', 'ProjectManagement', 'View all projects (scope) (Project Management)', 3002, '2026-02-02 12:18:54', '2026-02-02 12:18:54'),
(163, 'projectmanagement.projects.view_assigned', 'web', 'ProjectManagement', 'View assigned projects only (scope) (Project Management)', 3003, '2026-02-02 12:18:54', '2026-02-02 12:18:54'),
(164, 'projectmanagement.projects.create', 'web', 'ProjectManagement', 'Create new projects (Project Management)', 3004, '2026-02-02 12:18:54', '2026-02-02 12:18:54'),
(165, 'projectmanagement.projects.store', 'web', 'ProjectManagement', 'Store new projects (Project Management)', 3005, '2026-02-02 12:18:54', '2026-02-02 12:18:54'),
(166, 'projectmanagement.projects.show', 'web', 'ProjectManagement', 'View project details (Project Management)', 3006, '2026-02-02 12:18:54', '2026-02-02 12:18:54'),
(167, 'projectmanagement.projects.edit', 'web', 'ProjectManagement', 'Edit projects (Project Management)', 3007, '2026-02-02 12:18:54', '2026-02-02 12:18:54'),
(168, 'projectmanagement.projects.update', 'web', 'ProjectManagement', 'Update projects (Project Management)', 3008, '2026-02-02 12:18:54', '2026-02-02 12:18:54'),
(169, 'projectmanagement.projects.destroy', 'web', 'ProjectManagement', 'Delete projects (Project Management)', 3009, '2026-02-02 12:18:54', '2026-02-02 12:18:54'),
(170, 'projectmanagement.resources.index', 'web', 'ProjectManagement', 'View resources (Resource Management)', 3010, '2026-02-02 12:18:54', '2026-02-02 12:18:54'),
(171, 'projectmanagement.resources.allocate', 'web', 'ProjectManagement', 'Allocate resources (Resource Management)', 3011, '2026-02-02 12:18:54', '2026-02-02 12:18:54'),
(172, 'projectmanagement.resources.store-allocation', 'web', 'ProjectManagement', 'Store resource allocation (Resource Management)', 3012, '2026-02-02 12:18:54', '2026-02-02 12:18:54'),
(173, 'projectmanagement.capacity.index', 'web', 'ProjectManagement', 'View capacity planning (Capacity Planning)', 3013, '2026-02-02 12:18:54', '2026-02-02 12:18:54'),
(174, 'projectmanagement.settings.index', 'web', 'ProjectManagement', 'View settings (Settings)', 3014, '2026-02-02 12:18:54', '2026-02-02 12:18:54'),
(175, 'projectmanagement.settings.store', 'web', 'ProjectManagement', 'Update settings (Settings)', 3015, '2026-02-02 12:18:54', '2026-02-02 12:18:54'),
(176, 'hrcore.employees.index', 'web', 'SystemCore', 'View all employees list (Employee Management)', 1000, '2026-02-02 12:18:54', '2026-02-02 12:18:54'),
(177, 'hrcore.employees.view_all', 'web', 'SystemCore', 'View all employee profiles (Employee Management)', 1001, '2026-02-02 12:18:54', '2026-02-02 12:18:54'),
(178, 'hrcore.employees.create', 'web', 'SystemCore', 'Create new employees (Employee Management)', 1002, '2026-02-02 12:18:54', '2026-02-02 12:18:54'),
(179, 'hrcore.employees.edit', 'web', 'SystemCore', 'Edit employee details (Employee Management)', 1003, '2026-02-02 12:18:54', '2026-02-02 12:18:54'),
(180, 'hrcore.employees.update', 'web', 'SystemCore', 'Update employee details (Employee Management)', 1004, '2026-02-02 12:18:54', '2026-02-02 12:18:54'),
(181, 'hrcore.employees.delete', 'web', 'SystemCore', 'Delete employees (Employee Management)', 1005, '2026-02-02 12:18:54', '2026-02-02 12:18:54'),
(182, 'hrcore.employees.manage-documents', 'web', 'SystemCore', 'Manage employee documents (Employee Management)', 1006, '2026-02-02 12:18:54', '2026-02-02 12:18:54'),
(183, 'hrcore.employees.manage-assets', 'web', 'SystemCore', 'Manage employee assets (Employee Management)', 1007, '2026-02-02 12:18:54', '2026-02-02 12:18:54'),
(184, 'hrcore.attendance.index', 'web', 'SystemCore', 'View attendance logs (Attendance Management)', 1008, '2026-02-02 12:18:54', '2026-02-02 12:18:54'),
(185, 'hrcore.attendance.view_all', 'web', 'SystemCore', 'View all employees attendance (Attendance Management)', 1009, '2026-02-02 12:18:54', '2026-02-02 12:18:54'),
(186, 'hrcore.attendance.view_team', 'web', 'SystemCore', 'View team attendance (Attendance Management)', 1010, '2026-02-02 12:18:54', '2026-02-02 12:18:54'),
(187, 'hrcore.attendance.manual_entry', 'web', 'SystemCore', 'Add manual attendance entry (Attendance Management)', 1011, '2026-02-02 12:18:54', '2026-02-02 12:18:54'),
(188, 'hrcore.attendance.regularization.view_all', 'web', 'SystemCore', 'View all regularization requests (Attendance Management)', 1012, '2026-02-02 12:18:54', '2026-02-02 12:18:54'),
(189, 'hrcore.attendance.regularization.approve', 'web', 'SystemCore', 'Approve/Reject regularization requests (Attendance Management)', 1013, '2026-02-02 12:18:54', '2026-02-02 12:18:54'),
(190, 'hrcore.attendance.web-check-in', 'web', 'SystemCore', 'Perform web check-in/out (Attendance Management)', 1014, '2026-02-02 12:18:54', '2026-02-02 12:18:54'),
(191, 'hrcore.leaves.index', 'web', 'SystemCore', 'View leave requests (Leave Management)', 1015, '2026-02-02 12:18:54', '2026-02-02 12:18:54'),
(192, 'hrcore.leaves.view_all', 'web', 'SystemCore', 'View all leave requests (Leave Management)', 1016, '2026-02-02 12:18:54', '2026-02-02 12:18:54'),
(193, 'hrcore.leaves.view_team', 'web', 'SystemCore', 'View team leave requests (Leave Management)', 1017, '2026-02-02 12:18:54', '2026-02-02 12:18:54'),
(194, 'hrcore.leaves.apply', 'web', 'SystemCore', 'Apply for leave (admin override) (Leave Management)', 1018, '2026-02-02 12:18:54', '2026-02-02 12:18:54'),
(195, 'hrcore.leaves.approve', 'web', 'SystemCore', 'Approve/Reject leave requests (Leave Management)', 1019, '2026-02-02 12:18:54', '2026-02-02 12:18:54'),
(196, 'hrcore.leaves.manage-balance', 'web', 'SystemCore', 'Connect/Adjust leave balances (Leave Management)', 1020, '2026-02-02 12:18:54', '2026-02-02 12:18:54'),
(197, 'hrcore.leave-types.manage', 'web', 'SystemCore', 'Manage leave types (Leave Management)', 1021, '2026-02-02 12:18:54', '2026-02-02 12:18:54'),
(198, 'hrcore.my.profile', 'web', 'SystemCore', 'View own profile (Self Service)', 1022, '2026-02-02 12:18:54', '2026-02-02 12:18:54'),
(199, 'hrcore.my.attendance', 'web', 'SystemCore', 'View own attendance (Self Service)', 1023, '2026-02-02 12:18:54', '2026-02-02 12:18:54'),
(200, 'hrcore.my.leaves', 'web', 'SystemCore', 'View own leave history (Self Service)', 1024, '2026-02-02 12:18:54', '2026-02-02 12:18:54'),
(201, 'hrcore.my.leaves.apply', 'web', 'SystemCore', 'Apply for leave (Self Service)', 1025, '2026-02-02 12:18:54', '2026-02-02 12:18:54'),
(202, 'hrcore.my.leaves.balance', 'web', 'SystemCore', 'View own leave balance (Self Service)', 1026, '2026-02-02 12:18:54', '2026-02-02 12:18:54'),
(203, 'hrcore.my.documents', 'web', 'SystemCore', 'View own documents (Self Service)', 1027, '2026-02-02 12:18:54', '2026-02-02 12:18:54'),
(204, 'hrcore.my.payslips', 'web', 'SystemCore', 'View own payslips (Self Service)', 1028, '2026-02-02 12:18:54', '2026-02-02 12:18:54'),
(205, 'hrcore.reports.view', 'web', 'SystemCore', 'View HR reports (Reports & Analytics)', 1029, '2026-02-02 12:18:54', '2026-02-02 12:18:54'),
(206, 'hrcore.reports.export', 'web', 'SystemCore', 'Export HR reports (Reports & Analytics)', 1030, '2026-02-02 12:18:54', '2026-02-02 12:18:54'),
(207, 'hrcore.settings.manage', 'web', 'SystemCore', 'Manage HR settings (Settings)', 1031, '2026-02-02 12:18:54', '2026-02-02 12:18:54'),
(208, 'hrcore.departments.manage', 'web', 'SystemCore', 'Manage departments (Settings)', 1032, '2026-02-02 12:18:54', '2026-02-02 12:18:54'),
(209, 'hrcore.designations.manage', 'web', 'SystemCore', 'Manage designations (Settings)', 1033, '2026-02-02 12:18:54', '2026-02-02 12:18:54'),
(210, 'assets.my-assets', 'web', 'SystemCore', 'View my assets (Asset Management)', 1034, '2026-02-02 12:18:54', '2026-02-02 12:18:54'),
(211, 'loan.my-loans', 'web', 'SystemCore', 'View my loans (Loan Management)', 1035, '2026-02-02 12:18:54', '2026-02-02 12:18:54'),
(212, 'loan.request.create', 'web', 'SystemCore', 'Request a loan (Loan Management)', 1036, '2026-02-02 12:18:54', '2026-02-02 12:18:54'),
(213, 'payroll.dashboard.view', 'web', 'Payroll', 'View payroll dashboard (Payroll Management)', 4000, '2026-02-02 12:18:54', '2026-02-02 12:18:54'),
(214, 'payroll.salary.manage', 'web', 'Payroll', 'Manage employee salary structures (Payroll Management)', 4001, '2026-02-02 12:18:54', '2026-02-02 12:18:54'),
(215, 'payroll.salary.view_all', 'web', 'Payroll', 'View all employee salaries (Payroll Management)', 4002, '2026-02-02 12:18:54', '2026-02-02 12:18:54'),
(216, 'payroll.payslips.generate', 'web', 'Payroll', 'Generate payslips (Payslip Management)', 4003, '2026-02-02 12:18:54', '2026-02-02 12:18:54'),
(217, 'payroll.payslips.view_all', 'web', 'Payroll', 'View all payslips (Payslip Management)', 4004, '2026-02-02 12:18:54', '2026-02-02 12:18:54'),
(218, 'payroll.payslips.edit', 'web', 'Payroll', 'Edit payslips (Payslip Management)', 4005, '2026-02-02 12:18:54', '2026-02-02 12:18:54'),
(219, 'payroll.payslips.delete', 'web', 'Payroll', 'Delete payslips (Payslip Management)', 4006, '2026-02-02 12:18:54', '2026-02-02 12:18:54'),
(220, 'payroll.payslips.email', 'web', 'Payroll', 'Email payslips to employees (Payslip Management)', 4007, '2026-02-02 12:18:54', '2026-02-02 12:18:54'),
(221, 'payroll.my.payslips.index', 'web', 'Payroll', 'View my own payslips (Self Service) (Payslip Management)', 4008, '2026-02-02 12:18:54', '2026-02-02 12:18:54'),
(222, 'payroll.settings.manage', 'web', 'Payroll', 'Manage payroll settings (Taxes, Components) (Settings)', 4009, '2026-02-02 12:18:54', '2026-02-02 12:18:54'),
(223, 'productorder.orders.index', 'web', 'Products & Orders', 'Access to productorder.orders.index', 0, '2026-02-02 12:18:55', '2026-02-02 12:18:55'),
(224, 'productorder.products.index', 'web', 'Products & Orders', 'Access to productorder.products.index', 0, '2026-02-02 12:18:55', '2026-02-02 12:18:55'),
(225, 'productorder.categories.index', 'web', 'Products & Orders', 'Access to productorder.categories.index', 0, '2026-02-02 12:18:55', '2026-02-02 12:18:55'),
(226, 'systemcore.pos.index', 'web', 'Products & Orders', 'Access to systemcore.pos.index', 0, '2026-02-02 12:18:55', '2026-02-02 12:18:55'),
(227, 'systemcore.customers.index', 'web', 'Products & Orders', 'Access to systemcore.customers.index', 0, '2026-02-02 12:18:55', '2026-02-02 12:18:55'),
(228, 'systemcore.suppliers.index', 'web', 'Products & Orders', 'Access to systemcore.suppliers.index', 0, '2026-02-02 12:18:55', '2026-02-02 12:18:55'),
(229, 'systemcore.sales-orders.index', 'web', 'Products & Orders', 'Access to systemcore.sales-orders.index', 0, '2026-02-02 12:18:55', '2026-02-02 12:18:55'),
(230, 'systemcore.purchase-orders.index', 'web', 'Products & Orders', 'Access to systemcore.purchase-orders.index', 0, '2026-02-02 12:18:55', '2026-02-02 12:18:55'),
(231, 'inventory.index', 'web', 'Inventory', 'Access to inventory.index', 0, '2026-02-02 12:18:55', '2026-02-02 12:18:55'),
(232, 'inventory.products', 'web', 'Inventory', 'Access to inventory.products', 0, '2026-02-02 12:18:55', '2026-02-02 12:18:55'),
(233, 'inventory.adjustments', 'web', 'Inventory', 'Access to inventory.adjustments', 0, '2026-02-02 12:18:55', '2026-02-02 12:18:55'),
(234, 'inventory.transfers', 'web', 'Inventory', 'Access to inventory.transfers', 0, '2026-02-02 12:18:55', '2026-02-02 12:18:55'),
(235, 'systemcore.dashboard', 'web', 'Operations', 'Access to systemcore.dashboard', 0, '2026-02-02 12:18:55', '2026-02-02 12:18:55'),
(236, 'systemcore.settings.index', 'web', 'Operations', 'Access to systemcore.settings.index', 0, '2026-02-02 12:18:55', '2026-02-02 12:18:55'),
(237, 'systemcore.payment-terms.index', 'web', 'Operations', 'Access to systemcore.payment-terms.index', 0, '2026-02-02 12:18:55', '2026-02-02 12:18:55'),
(238, 'systemcore.tax-configurations.index', 'web', 'Operations', 'Access to systemcore.tax-configurations.index', 0, '2026-02-02 12:18:55', '2026-02-02 12:18:55'),
(239, 'systemcore.product-categories.index', 'web', 'Operations', 'Access to systemcore.product-categories.index', 0, '2026-02-02 12:18:55', '2026-02-02 12:18:55'),
(240, 'accountingcore.dashboard', 'web', 'Accounting', 'Access to accountingcore.dashboard', 0, '2026-02-02 12:18:55', '2026-02-02 12:18:55'),
(241, 'accountingcore.settings.index', 'web', 'Accounting', 'Access to accountingcore.settings.index', 0, '2026-02-02 12:18:56', '2026-02-02 12:18:56');

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

--
-- Table structure for table `pipelines`
--

CREATE TABLE `pipelines` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `name` varchar(255) NOT NULL,
  `is_default` tinyint(1) NOT NULL DEFAULT 0,
  `created_by_id` bigint(20) UNSIGNED DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

--
-- Table structure for table `pipeline_stages`
--

CREATE TABLE `pipeline_stages` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `pipeline_id` bigint(20) UNSIGNED NOT NULL,
  `name` varchar(255) NOT NULL,
  `probability` int(11) NOT NULL DEFAULT 0,
  `position` int(11) NOT NULL DEFAULT 0,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

--
-- Table structure for table `plans`
--

CREATE TABLE `plans` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `name` varchar(255) NOT NULL,
  `slug` varchar(255) NOT NULL,
  `description` text DEFAULT NULL,
  `price` decimal(10,2) NOT NULL DEFAULT 0.00,
  `billing_period` enum('monthly','yearly','lifetime') NOT NULL DEFAULT 'yearly',
  `trial_days` int(11) NOT NULL DEFAULT 0,
  `is_active` tinyint(1) NOT NULL DEFAULT 1,
  `is_featured` tinyint(1) NOT NULL DEFAULT 0,
  `sort_order` int(11) NOT NULL DEFAULT 0,
  `restrictions` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`restrictions`)),
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

--
-- Table structure for table `pos_registers`
--

CREATE TABLE `pos_registers` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `user_id` bigint(20) UNSIGNED NOT NULL,
  `cash_in_hand` decimal(15,2) NOT NULL DEFAULT 0.00,
  `status` varchar(255) NOT NULL DEFAULT 'open',
  `opened_at` timestamp NOT NULL DEFAULT current_timestamp(),
  `closed_at` timestamp NULL DEFAULT NULL,
  `closing_amount` decimal(15,2) DEFAULT NULL,
  `total_cash_sales` decimal(15,2) NOT NULL DEFAULT 0.00,
  `total_card_sales` decimal(15,2) NOT NULL DEFAULT 0.00,
  `total_sales` decimal(15,2) NOT NULL DEFAULT 0.00,
  `note` text DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

--
-- Table structure for table `products`
--

CREATE TABLE `products` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `name` varchar(255) NOT NULL,
  `code` varchar(255) DEFAULT NULL,
  `category` varchar(255) DEFAULT NULL,
  `description` text DEFAULT NULL,
  `price` decimal(10,2) NOT NULL DEFAULT 0.00,
  `is_active` tinyint(1) NOT NULL DEFAULT 1,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

--
-- Table structure for table `product_categories`
--

CREATE TABLE `product_categories` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `name` varchar(255) NOT NULL,
  `description` text DEFAULT NULL,
  `is_active` tinyint(1) NOT NULL DEFAULT 1,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

--
-- Table structure for table `product_orders`
--

CREATE TABLE `product_orders` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `order_number` varchar(255) NOT NULL,
  `reference_no` varchar(255) DEFAULT NULL,
  `user_id` bigint(20) UNSIGNED DEFAULT NULL,
  `client_id` bigint(20) UNSIGNED DEFAULT NULL,
  `status` varchar(255) NOT NULL DEFAULT 'draft',
  `payment_status` varchar(255) NOT NULL DEFAULT 'pending',
  `subtotal` decimal(12,2) NOT NULL DEFAULT 0.00,
  `tax_amount` decimal(12,2) NOT NULL DEFAULT 0.00,
  `discount_amount` decimal(12,2) NOT NULL DEFAULT 0.00,
  `total` decimal(12,2) NOT NULL DEFAULT 0.00,
  `expected_delivery_date` date DEFAULT NULL,
  `notes` text DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

--
-- Table structure for table `projects`
--

CREATE TABLE `projects` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `tenant_id` bigint(20) UNSIGNED DEFAULT NULL,
  `name` varchar(255) NOT NULL,
  `code` varchar(255) DEFAULT NULL,
  `client_id` bigint(20) UNSIGNED DEFAULT NULL,
  `department_id` bigint(20) UNSIGNED DEFAULT NULL,
  `status` varchar(255) NOT NULL DEFAULT 'Planning',
  `priority` varchar(255) NOT NULL DEFAULT 'Medium',
  `start_date` date DEFAULT NULL,
  `end_date` date DEFAULT NULL,
  `budget` decimal(15,2) DEFAULT NULL,
  `hourly_rate` decimal(10,2) DEFAULT NULL,
  `estimated_hours` decimal(10,2) DEFAULT NULL,
  `revenue` decimal(15,2) NOT NULL DEFAULT 0.00,
  `spent` decimal(15,2) NOT NULL DEFAULT 0.00,
  `description` text DEFAULT NULL,
  `project_manager_id` bigint(20) UNSIGNED DEFAULT NULL,
  `is_billable` tinyint(1) NOT NULL DEFAULT 1,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

--
-- Table structure for table `project_settings`
--

CREATE TABLE `project_settings` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `tenant_id` bigint(20) UNSIGNED DEFAULT NULL,
  `project_code_prefix` varchar(255) NOT NULL DEFAULT 'PRJ',
  `project_code_length` int(11) NOT NULL DEFAULT 3,
  `default_status` varchar(255) NOT NULL DEFAULT 'Planning',
  `default_priority` varchar(255) NOT NULL DEFAULT 'Medium',
  `is_billable_default` tinyint(1) NOT NULL DEFAULT 1,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

--
-- Table structure for table `project_tasks`
--

CREATE TABLE `project_tasks` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `project_id` bigint(20) UNSIGNED NOT NULL,
  `title` varchar(255) NOT NULL,
  `description` text DEFAULT NULL,
  `status` varchar(255) NOT NULL DEFAULT 'To Do',
  `priority` varchar(255) NOT NULL DEFAULT 'Medium',
  `assigned_to_user_id` bigint(20) UNSIGNED DEFAULT NULL,
  `due_date` date DEFAULT NULL,
  `estimated_hours` decimal(10,2) DEFAULT NULL,
  `actual_hours` decimal(10,2) NOT NULL DEFAULT 0.00,
  `is_milestone` tinyint(1) NOT NULL DEFAULT 0,
  `sort_order` int(11) NOT NULL DEFAULT 0,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

--
-- Table structure for table `resource_allocations`
--

CREATE TABLE `resource_allocations` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `tenant_id` bigint(20) UNSIGNED DEFAULT NULL,
  `project_id` bigint(20) UNSIGNED NOT NULL,
  `user_id` bigint(20) UNSIGNED NOT NULL,
  `start_date` date NOT NULL,
  `end_date` date NOT NULL,
  `allocation_percentage` int(11) NOT NULL DEFAULT 100,
  `hours_per_day` decimal(4,2) NOT NULL DEFAULT 8.00,
  `allocation_type` varchar(255) NOT NULL DEFAULT 'Entire Project',
  `is_billable` tinyint(1) NOT NULL DEFAULT 0,
  `is_confirmed` tinyint(1) NOT NULL DEFAULT 0,
  `notes` text DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

--
-- Table structure for table `roles`
--

CREATE TABLE `roles` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `name` varchar(255) NOT NULL,
  `guard_name` varchar(255) NOT NULL,
  `is_location_activity_tracking_enabled` tinyint(1) NOT NULL DEFAULT 0,
  `is_mobile_app_access_enabled` tinyint(1) NOT NULL DEFAULT 0,
  `is_multiple_check_in_enabled` tinyint(1) NOT NULL DEFAULT 0,
  `is_web_access_enabled` tinyint(1) NOT NULL DEFAULT 0,
  `description` varchar(255) DEFAULT NULL,
  `sort_order` int(11) NOT NULL DEFAULT 0,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `roles`
--

INSERT INTO `roles` (`id`, `name`, `guard_name`, `is_location_activity_tracking_enabled`, `is_mobile_app_access_enabled`, `is_multiple_check_in_enabled`, `is_web_access_enabled`, `description`, `sort_order`, `created_at`, `updated_at`) VALUES
(1, 'super_admin', 'web', 0, 1, 0, 1, NULL, 0, '2026-01-14 12:44:01', '2026-01-14 12:44:01'),
(2, 'Head of Operations', 'web', 1, 1, 0, 1, NULL, 0, '2026-01-14 12:44:01', '2026-01-17 04:12:03'),
(3, 'hr', 'web', 0, 1, 1, 1, NULL, 0, '2026-01-14 12:44:01', '2026-01-14 12:44:01'),
(4, 'hr_manager', 'web', 0, 1, 1, 1, NULL, 0, '2026-01-14 12:44:01', '2026-01-14 12:44:01'),
(5, 'HR Executive', 'web', 0, 1, 1, 1, NULL, 0, '2026-01-14 12:44:01', '2026-01-15 10:37:18'),
(6, 'team_leader', 'web', 0, 1, 0, 1, NULL, 0, '2026-01-14 12:44:01', '2026-01-14 12:44:01'),
(7, 'Restaurant Employee', 'web', 1, 1, 1, 0, NULL, 0, '2026-01-14 12:44:01', '2026-01-15 10:41:31'),
(8, 'Office Employee', 'web', 0, 1, 1, 0, NULL, 0, '2026-01-14 12:44:01', '2026-01-15 10:36:56'),
(9, 'Restaurant Manager', 'web', 0, 1, 1, 0, NULL, 0, '2026-01-14 12:44:01', '2026-01-15 10:36:39'),
(10, 'admin', 'web', 0, 0, 0, 0, NULL, 0, '2026-02-02 12:18:54', '2026-02-02 12:18:54'),
(11, 'finance_manager', 'web', 0, 0, 0, 0, NULL, 0, '2026-02-02 12:18:54', '2026-02-02 12:18:54'),
(12, 'sales_manager', 'web', 0, 0, 0, 0, NULL, 0, '2026-02-02 12:18:55', '2026-02-02 12:18:55'),
(13, 'project_manager', 'web', 0, 0, 0, 0, NULL, 0, '2026-02-02 12:18:55', '2026-02-02 12:18:55'),
(14, 'employee', 'web', 0, 0, 0, 0, NULL, 0, '2026-02-02 12:18:55', '2026-02-02 12:18:55'),
(15, 'manager', 'web', 0, 0, 0, 0, NULL, 0, '2026-02-02 12:18:55', '2026-02-02 12:18:55');

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

--
-- Table structure for table `role_has_permissions`
--

CREATE TABLE `role_has_permissions` (
  `permission_id` bigint(20) UNSIGNED NOT NULL,
  `role_id` bigint(20) UNSIGNED NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `role_has_permissions`
--

INSERT INTO `role_has_permissions` (`permission_id`, `role_id`) VALUES
(1, 1),
(1, 2),
(1, 5),
(1, 10),
(2, 1),
(2, 2),
(2, 6),
(2, 10),
(3, 1),
(3, 2),
(3, 5),
(3, 6),
(3, 10),
(4, 1),
(4, 2),
(4, 10),
(5, 1),
(5, 2),
(5, 10),
(6, 1),
(6, 2),
(6, 10),
(7, 1),
(7, 2),
(7, 5),
(7, 10),
(8, 1),
(8, 2),
(8, 10),
(9, 1),
(9, 2),
(9, 5),
(9, 10),
(10, 1),
(10, 2),
(10, 5),
(10, 10),
(11, 1),
(11, 2),
(11, 10),
(12, 1),
(12, 2),
(12, 10),
(13, 1),
(13, 2),
(13, 5),
(13, 10),
(14, 1),
(14, 2),
(14, 10),
(15, 1),
(15, 2),
(15, 10),
(16, 1),
(16, 2),
(16, 10),
(17, 1),
(17, 2),
(17, 10),
(18, 1),
(18, 2),
(18, 10),
(19, 1),
(19, 2),
(19, 5),
(19, 10),
(20, 1),
(20, 2),
(20, 10),
(21, 1),
(21, 2),
(21, 5),
(21, 10),
(22, 1),
(22, 2),
(22, 6),
(22, 7),
(22, 10),
(23, 1),
(23, 2),
(23, 6),
(23, 10),
(24, 1),
(24, 2),
(24, 5),
(24, 10),
(25, 1),
(25, 2),
(25, 5),
(25, 10),
(26, 1),
(26, 2),
(26, 10),
(27, 1),
(27, 2),
(27, 10),
(28, 1),
(28, 2),
(28, 6),
(28, 7),
(28, 10),
(29, 1),
(29, 2),
(29, 7),
(29, 10),
(30, 1),
(30, 2),
(30, 5),
(30, 10),
(31, 1),
(31, 2),
(31, 10),
(32, 1),
(32, 2),
(32, 10),
(33, 1),
(33, 2),
(33, 5),
(33, 6),
(33, 10),
(34, 1),
(34, 2),
(34, 6),
(34, 7),
(34, 10),
(35, 1),
(35, 2),
(35, 5),
(35, 6),
(35, 7),
(35, 10),
(36, 1),
(36, 2),
(36, 5),
(36, 6),
(36, 7),
(36, 10),
(37, 1),
(37, 2),
(37, 10),
(38, 1),
(38, 2),
(38, 6),
(38, 10),
(39, 1),
(39, 2),
(39, 6),
(39, 10),
(40, 1),
(40, 2),
(40, 5),
(40, 10),
(41, 1),
(41, 2),
(41, 5),
(41, 10),
(42, 1),
(42, 2),
(42, 6),
(42, 7),
(42, 10),
(43, 1),
(43, 2),
(43, 6),
(43, 10),
(44, 1),
(44, 2),
(44, 5),
(44, 6),
(44, 7),
(44, 10),
(45, 1),
(45, 2),
(45, 10),
(46, 1),
(46, 2),
(46, 5),
(46, 10),
(47, 1),
(47, 2),
(47, 10),
(48, 1),
(48, 2),
(48, 6),
(48, 10),
(49, 1),
(49, 2),
(49, 6),
(49, 10),
(50, 1),
(50, 2),
(50, 10),
(51, 1),
(51, 2),
(51, 5),
(51, 6),
(51, 7),
(51, 10),
(52, 1),
(52, 2),
(52, 10),
(53, 1),
(53, 2),
(53, 5),
(53, 10),
(54, 1),
(54, 2),
(54, 10),
(55, 1),
(55, 2),
(55, 5),
(55, 10),
(56, 1),
(56, 2),
(56, 5),
(56, 10),
(57, 1),
(57, 2),
(57, 5),
(57, 10),
(58, 1),
(58, 2),
(58, 10),
(59, 1),
(59, 2),
(59, 5),
(59, 10),
(60, 1),
(60, 2),
(60, 5),
(60, 10),
(61, 1),
(61, 2),
(61, 6),
(61, 10),
(62, 1),
(62, 2),
(62, 6),
(62, 10),
(63, 1),
(63, 2),
(63, 5),
(63, 6),
(63, 10),
(64, 1),
(64, 2),
(64, 5),
(64, 10),
(65, 1),
(65, 2),
(65, 10),
(66, 1),
(66, 2),
(66, 6),
(66, 10),
(67, 1),
(67, 2),
(67, 6),
(67, 10),
(68, 1),
(68, 2),
(68, 5),
(68, 10),
(69, 1),
(69, 2),
(69, 10),
(70, 1),
(70, 2),
(70, 5),
(70, 10),
(71, 1),
(71, 2),
(71, 10),
(72, 1),
(72, 2),
(72, 10),
(73, 1),
(73, 2),
(73, 10),
(74, 1),
(74, 2),
(74, 5),
(74, 10),
(75, 1),
(75, 2),
(75, 10),
(76, 1),
(76, 2),
(76, 10),
(77, 1),
(77, 2),
(77, 10),
(78, 1),
(78, 2),
(78, 5),
(78, 6),
(78, 10),
(79, 1),
(79, 2),
(79, 10),
(80, 1),
(80, 2),
(80, 10),
(81, 1),
(81, 2),
(81, 10),
(82, 1),
(82, 2),
(82, 6),
(82, 10),
(83, 1),
(83, 2),
(83, 5),
(83, 10),
(84, 1),
(84, 2),
(84, 10),
(85, 1),
(85, 2),
(85, 10),
(86, 1),
(86, 2),
(86, 10),
(87, 1),
(87, 2),
(87, 5),
(87, 6),
(87, 10),
(88, 1),
(88, 2),
(88, 10),
(89, 1),
(89, 2),
(89, 10),
(90, 1),
(90, 2),
(90, 6),
(90, 7),
(90, 10),
(91, 1),
(91, 2),
(91, 6),
(91, 10),
(92, 1),
(92, 2),
(92, 6),
(92, 7),
(92, 10),
(93, 1),
(93, 2),
(93, 7),
(93, 10),
(94, 1),
(94, 2),
(94, 7),
(94, 10),
(95, 1),
(95, 2),
(95, 6),
(95, 10),
(96, 1),
(96, 2),
(96, 6),
(96, 10),
(97, 1),
(97, 2),
(97, 10),
(98, 1),
(98, 2),
(98, 10),
(99, 1),
(99, 2),
(99, 10),
(100, 1),
(100, 2),
(100, 10),
(101, 1),
(101, 2),
(101, 10),
(102, 1),
(102, 2),
(102, 10),
(103, 1),
(103, 2),
(103, 10),
(104, 1),
(104, 2),
(104, 5),
(104, 6),
(104, 7),
(104, 10),
(105, 1),
(105, 2),
(105, 10),
(106, 1),
(106, 2),
(106, 10),
(107, 1),
(107, 2),
(107, 10),
(108, 1),
(108, 2),
(108, 10),
(109, 1),
(109, 2),
(109, 5),
(109, 10),
(110, 1),
(110, 2),
(110, 10),
(111, 1),
(111, 2),
(111, 10),
(112, 1),
(112, 2),
(112, 10),
(113, 1),
(113, 2),
(113, 10),
(114, 1),
(114, 2),
(114, 10),
(115, 1),
(115, 2),
(115, 10),
(116, 1),
(116, 2),
(116, 10),
(117, 1),
(117, 2),
(117, 10),
(118, 1),
(118, 2),
(118, 10),
(118, 11),
(119, 1),
(119, 2),
(119, 10),
(119, 11),
(120, 1),
(120, 2),
(120, 10),
(120, 11),
(121, 1),
(121, 2),
(121, 10),
(121, 11),
(122, 1),
(122, 2),
(122, 10),
(123, 1),
(123, 2),
(123, 10),
(124, 1),
(124, 2),
(124, 10),
(124, 11),
(125, 1),
(125, 2),
(125, 10),
(126, 1),
(126, 2),
(126, 10),
(126, 11),
(127, 1),
(127, 2),
(127, 10),
(128, 1),
(128, 2),
(128, 10),
(128, 11),
(129, 1),
(129, 2),
(129, 10),
(129, 11),
(130, 1),
(130, 2),
(130, 10),
(131, 1),
(131, 2),
(131, 10),
(132, 1),
(132, 2),
(132, 10),
(133, 1),
(133, 2),
(133, 10),
(134, 1),
(134, 2),
(134, 10),
(135, 1),
(135, 2),
(135, 10),
(136, 1),
(136, 2),
(136, 10),
(137, 1),
(137, 2),
(137, 10),
(138, 1),
(138, 2),
(138, 10),
(139, 1),
(139, 2),
(139, 10),
(140, 1),
(140, 2),
(140, 10),
(141, 1),
(141, 2),
(141, 10),
(142, 1),
(142, 2),
(142, 10),
(143, 1),
(143, 2),
(143, 10),
(144, 1),
(144, 2),
(144, 10),
(144, 11),
(145, 1),
(145, 2),
(145, 10),
(145, 11),
(146, 1),
(146, 2),
(146, 10),
(147, 1),
(147, 2),
(147, 10),
(147, 11),
(148, 1),
(148, 2),
(148, 10),
(149, 1),
(149, 2),
(149, 10),
(150, 1),
(150, 2),
(150, 10),
(151, 1),
(151, 2),
(151, 10),
(152, 1),
(152, 2),
(152, 10),
(153, 1),
(153, 2),
(153, 10),
(154, 1),
(154, 10),
(154, 12),
(154, 15),
(155, 1),
(155, 10),
(155, 14),
(156, 1),
(156, 10),
(156, 11),
(156, 12),
(156, 15),
(157, 1),
(157, 10),
(158, 1),
(158, 10),
(158, 12),
(159, 1),
(159, 10),
(160, 4),
(160, 10),
(160, 13),
(160, 15),
(161, 10),
(161, 13),
(161, 14),
(161, 15),
(162, 10),
(162, 13),
(162, 15),
(163, 10),
(163, 12),
(163, 14),
(164, 10),
(164, 13),
(164, 15),
(165, 10),
(166, 10),
(167, 10),
(167, 13),
(168, 10),
(169, 10),
(169, 13),
(170, 10),
(170, 13),
(171, 10),
(171, 13),
(172, 10),
(173, 10),
(174, 10),
(175, 10),
(176, 4),
(176, 10),
(177, 4),
(177, 10),
(178, 4),
(178, 10),
(179, 4),
(179, 10),
(180, 4),
(180, 10),
(181, 4),
(181, 10),
(182, 4),
(182, 10),
(183, 4),
(183, 10),
(184, 4),
(184, 10),
(185, 4),
(185, 10),
(186, 4),
(186, 10),
(186, 15),
(187, 4),
(187, 10),
(188, 4),
(188, 10),
(189, 4),
(189, 10),
(190, 10),
(190, 14),
(191, 4),
(191, 10),
(192, 4),
(192, 10),
(193, 10),
(193, 15),
(194, 10),
(195, 4),
(195, 10),
(196, 4),
(196, 10),
(197, 4),
(197, 10),
(198, 4),
(198, 10),
(198, 11),
(198, 12),
(198, 13),
(198, 14),
(198, 15),
(199, 4),
(199, 10),
(199, 14),
(199, 15),
(200, 4),
(200, 10),
(200, 14),
(200, 15),
(201, 10),
(201, 14),
(202, 10),
(202, 14),
(203, 10),
(203, 14),
(204, 10),
(204, 14),
(204, 15),
(205, 4),
(205, 10),
(206, 4),
(206, 10),
(207, 4),
(207, 10),
(208, 4),
(208, 10),
(209, 4),
(209, 10),
(210, 10),
(210, 14),
(211, 10),
(211, 14),
(212, 10),
(212, 14),
(213, 4),
(213, 10),
(213, 11),
(214, 4),
(214, 10),
(215, 4),
(215, 10),
(215, 11),
(216, 4),
(216, 10),
(217, 4),
(217, 10),
(217, 11),
(218, 10),
(219, 10),
(220, 4),
(220, 10),
(221, 10),
(221, 14),
(222, 4),
(222, 10);

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

--
-- Table structure for table `saas_notification_templates`
--

CREATE TABLE `saas_notification_templates` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `key` varchar(255) NOT NULL,
  `name` varchar(255) NOT NULL,
  `subject` varchar(255) NOT NULL,
  `body` text NOT NULL,
  `category` varchar(255) NOT NULL DEFAULT 'general',
  `is_active` tinyint(1) NOT NULL DEFAULT 1,
  `variables` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`variables`)),
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

--
-- Table structure for table `saas_settings`
--

CREATE TABLE `saas_settings` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `key` varchar(255) NOT NULL,
  `value` text DEFAULT NULL,
  `type` varchar(255) NOT NULL DEFAULT 'string',
  `description` text DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

--
-- Table structure for table `salary_components`
--

CREATE TABLE `salary_components` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `name` varchar(255) NOT NULL,
  `code` varchar(255) DEFAULT NULL,
  `type` enum('earning','deduction') NOT NULL,
  `display_order` int(11) NOT NULL DEFAULT 0,
  `description` text DEFAULT NULL,
  `is_taxable` tinyint(1) NOT NULL DEFAULT 1,
  `is_fixed` tinyint(1) NOT NULL DEFAULT 1,
  `is_statutory` tinyint(1) NOT NULL DEFAULT 0,
  `is_base` tinyint(1) NOT NULL DEFAULT 0,
  `is_system` tinyint(1) NOT NULL DEFAULT 0,
  `status` enum('active','inactive') NOT NULL DEFAULT 'active',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  `tenant_id` bigint(20) UNSIGNED DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `salary_components`
--

INSERT INTO `salary_components` (`id`, `name`, `code`, `type`, `display_order`, `description`, `is_taxable`, `is_fixed`, `is_statutory`, `is_base`, `is_system`, `status`, `created_at`, `updated_at`, `deleted_at`, `tenant_id`) VALUES
(1, 'Basic Salary', 'BASIC', 'earning', 1, NULL, 1, 1, 0, 1, 0, 'active', '2026-01-16 05:03:53', '2026-01-16 05:03:53', NULL, NULL),
(2, 'SSS Contribution (EE)', 'SSS_EE', 'deduction', 90, NULL, 0, 0, 1, 0, 0, 'active', '2026-01-16 05:03:53', '2026-01-16 05:03:53', NULL, NULL),
(3, 'PhilHealth Contribution (EE)', 'PH_EE', 'deduction', 91, NULL, 0, 0, 1, 0, 0, 'active', '2026-01-16 05:03:53', '2026-01-16 05:03:53', NULL, NULL),
(4, 'Pag-IBIG Contribution (EE)', 'HDMF_EE', 'deduction', 92, NULL, 0, 0, 1, 0, 0, 'active', '2026-01-16 05:03:53', '2026-01-16 05:03:53', NULL, NULL),
(5, 'Withholding Tax', 'TAX', 'deduction', 99, NULL, 0, 0, 1, 0, 0, 'active', '2026-01-16 05:03:53', '2026-01-16 05:03:53', NULL, NULL),
(6, 'Overtime Pay', 'OT', 'earning', 10, NULL, 1, 0, 0, 0, 0, 'active', '2026-01-16 05:03:53', '2026-01-16 05:03:53', NULL, NULL),
(7, 'Holiday Pay', 'HOLIDAY_PAY', 'earning', 11, NULL, 1, 0, 0, 0, 0, 'active', '2026-01-16 05:03:53', '2026-01-16 05:03:53', NULL, NULL),
(8, 'Night Differential', 'NIGHT_DIFF', 'earning', 12, NULL, 1, 0, 0, 0, 0, 'active', '2026-01-16 05:03:53', '2026-01-16 05:03:53', NULL, NULL),
(9, '13th Month Pay', '13TH_MONTH', 'earning', 20, NULL, 0, 0, 1, 0, 0, 'active', '2026-01-16 05:03:53', '2026-01-16 05:03:53', NULL, NULL),
(11, 'House Rent Allowance (HRA)', 'HRA', 'earning', 0, NULL, 1, 1, 0, 0, 0, 'active', '2026-03-04 13:25:47', '2026-03-04 13:25:47', NULL, NULL),
(12, 'Special Allowance', 'SPECIAL', 'earning', 0, NULL, 1, 0, 0, 0, 0, 'active', '2026-03-04 13:25:47', '2026-03-04 13:25:47', NULL, NULL),
(13, 'Late Deduction', 'LATE', 'deduction', 0, NULL, 0, 0, 0, 0, 0, 'active', '2026-03-04 13:25:47', '2026-03-04 13:25:47', NULL, NULL),
(14, 'Undertime Deduction', 'UNDERTIME', 'deduction', 0, NULL, 0, 0, 0, 0, 0, 'active', '2026-03-04 13:25:47', '2026-03-04 13:25:47', NULL, NULL),
(15, 'Absence Deduction', 'ABSENCE', 'deduction', 0, NULL, 0, 0, 0, 0, 0, 'active', '2026-03-04 13:25:47', '2026-03-04 13:25:47', NULL, NULL);

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

--
-- Table structure for table `sales_targets`
--

CREATE TABLE `sales_targets` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `user_id` bigint(20) UNSIGNED NOT NULL,
  `target_amount` decimal(12,2) NOT NULL DEFAULT 0.00,
  `current_amount` decimal(12,2) NOT NULL DEFAULT 0.00,
  `period_start` date NOT NULL,
  `period_end` date NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

--
-- Table structure for table `sessions`
--

CREATE TABLE `sessions` (
  `id` varchar(255) NOT NULL,
  `user_id` bigint(20) UNSIGNED DEFAULT NULL,
  `ip_address` varchar(45) DEFAULT NULL,
  `user_agent` text DEFAULT NULL,
  `payload` longtext NOT NULL,
  `last_activity` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

--
-- Table structure for table `settings`
--

CREATE TABLE `settings` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `default_language` varchar(5) NOT NULL DEFAULT 'en',
  `app_name` varchar(255) NOT NULL DEFAULT 'Open Core BS',
  `app_logo` varchar(255) DEFAULT NULL,
  `app_favicon` varchar(255) DEFAULT NULL,
  `app_color` varchar(255) NOT NULL DEFAULT '#4CAF50',
  `app_logo_dark` varchar(255) DEFAULT NULL,
  `app_logo_light` varchar(255) DEFAULT NULL,
  `app_icon` varchar(255) DEFAULT NULL,
  `app_description` varchar(255) DEFAULT NULL,
  `app_version` varchar(255) NOT NULL DEFAULT '5.0.0',
  `country` varchar(255) NOT NULL DEFAULT 'USA',
  `phone_country_code` varchar(255) NOT NULL DEFAULT '+1',
  `is_auto_check_out_enabled` tinyint(1) NOT NULL DEFAULT 0,
  `auto_check_out_time` time NOT NULL DEFAULT '18:00:00',
  `is_multiple_check_in_enabled` tinyint(1) NOT NULL DEFAULT 1,
  `default_timezone` varchar(50) NOT NULL DEFAULT 'Asia/Kolkata',
  `default_date_format` varchar(50) NOT NULL DEFAULT 'd-m-Y',
  `default_time_format` varchar(50) NOT NULL DEFAULT 'h:i A',
  `default_datetime_format` varchar(50) NOT NULL DEFAULT 'd-m-Y h:i A',
  `currency` varchar(255) NOT NULL DEFAULT 'USD',
  `currency_symbol` varchar(255) NOT NULL DEFAULT '$',
  `distance_unit` enum('km','miles') NOT NULL DEFAULT 'km',
  `default_password` varchar(191) NOT NULL DEFAULT '12345678',
  `m_app_version` varchar(255) NOT NULL DEFAULT '5.0.0',
  `m_location_update_time_type` enum('minutes','seconds') NOT NULL DEFAULT 'seconds',
  `m_location_update_interval` int(11) NOT NULL DEFAULT 5,
  `privacy_policy_url` varchar(255) NOT NULL DEFAULT 'https://czappstudio.com/privacy-policy/',
  `verify_client_number` tinyint(1) NOT NULL DEFAULT 0,
  `is_biometric_verification_enabled` tinyint(1) NOT NULL DEFAULT 0,
  `map_api_key` varchar(2000) DEFAULT NULL,
  `map_provider` varchar(191) NOT NULL DEFAULT 'google',
  `map_zoom_level` varchar(191) NOT NULL DEFAULT '3',
  `center_latitude` varchar(191) NOT NULL DEFAULT '18.418983770139405',
  `center_longitude` varchar(191) NOT NULL DEFAULT '49.67194361588897',
  `maps_key` varchar(500) DEFAULT NULL,
  `is_helper_text_enabled` tinyint(1) NOT NULL DEFAULT 1,
  `employees_limit` int(11) NOT NULL DEFAULT 0,
  `support_email` varchar(255) DEFAULT NULL,
  `support_phone` varchar(255) DEFAULT NULL,
  `support_whatsapp` varchar(255) DEFAULT NULL,
  `website` varchar(255) DEFAULT NULL,
  `working_days_per_month` int(11) NOT NULL DEFAULT 26,
  `daily_working_hours` decimal(4,2) NOT NULL DEFAULT 8.00,
  `hourly_rate_calculation` tinyint(1) NOT NULL DEFAULT 1,
  `overtime_rate` decimal(4,2) NOT NULL DEFAULT 1.50,
  `tax_deduction_percentage` decimal(5,2) NOT NULL DEFAULT 10.00,
  `leave_deduction_per_day` decimal(10,2) NOT NULL DEFAULT 500.00,
  `half_day_deduction` decimal(10,2) NOT NULL DEFAULT 250.00,
  `pay_period_start_day` int(11) NOT NULL DEFAULT 1,
  `attendance_threshold_hours` decimal(4,2) NOT NULL DEFAULT 4.00,
  `payroll_frequency` enum('monthly','bi-weekly','weekly','daily') NOT NULL DEFAULT 'monthly',
  `payroll_start_date` int(11) NOT NULL DEFAULT 1,
  `payroll_cutoff_date` int(11) NOT NULL DEFAULT 31,
  `auto_payroll_processing` tinyint(1) NOT NULL DEFAULT 0,
  `company_name` varchar(255) DEFAULT NULL,
  `company_logo` varchar(255) DEFAULT NULL,
  `company_address` varchar(255) DEFAULT NULL,
  `company_phone` varchar(255) DEFAULT NULL,
  `company_email` varchar(255) DEFAULT NULL,
  `company_website` varchar(255) DEFAULT NULL,
  `company_country` varchar(255) DEFAULT NULL,
  `company_state` varchar(255) DEFAULT NULL,
  `company_city` varchar(255) DEFAULT NULL,
  `company_zipcode` varchar(255) DEFAULT NULL,
  `company_tax_id` varchar(255) DEFAULT NULL,
  `company_reg_no` varchar(255) DEFAULT NULL,
  `mail_driver` varchar(255) DEFAULT 'smtp',
  `mail_host` varchar(255) DEFAULT NULL,
  `mail_port` int(11) DEFAULT 587,
  `mail_username` varchar(255) DEFAULT NULL,
  `mail_password` varchar(255) DEFAULT NULL,
  `mail_encryption` varchar(255) DEFAULT 'tls',
  `mail_from_address` varchar(255) DEFAULT NULL,
  `mail_from_name` varchar(255) DEFAULT NULL,
  `branding_type` enum('logo','text','both') NOT NULL DEFAULT 'both',
  `employee_code_prefix` varchar(255) DEFAULT 'EMP',
  `employee_code_suffix` varchar(255) DEFAULT NULL,
  `product_code_prefix` varchar(5) DEFAULT 'PRD',
  `product_code_suffix` varchar(5) DEFAULT NULL,
  `category_code_prefix` varchar(5) DEFAULT 'CAT',
  `category_code_suffix` varchar(5) DEFAULT NULL,
  `order_prefix` varchar(255) NOT NULL DEFAULT 'FM_ORD',
  `order_suffix` varchar(255) DEFAULT NULL,
  `leave_type_code_prefix` varchar(5) DEFAULT 'LVT',
  `leave_type_code_suffix` varchar(5) DEFAULT NULL,
  `expense_type_code_prefix` varchar(5) DEFAULT 'EXT',
  `expense_type_code_suffix` varchar(5) DEFAULT NULL,
  `team_code_prefix` varchar(5) DEFAULT 'TM',
  `team_code_suffix` varchar(5) DEFAULT NULL,
  `location_code_prefix` varchar(5) DEFAULT 'LOC',
  `location_code_suffix` varchar(5) DEFAULT NULL,
  `department_code_prefix` varchar(5) DEFAULT 'DEP',
  `department_code_suffix` varchar(5) DEFAULT NULL,
  `designation_code_prefix` varchar(5) DEFAULT 'DES',
  `designation_code_suffix` varchar(5) DEFAULT NULL,
  `payroll_code_prefix` varchar(5) DEFAULT 'PAY',
  `payroll_code_suffix` varchar(5) DEFAULT NULL,
  `shift_code_prefix` varchar(5) DEFAULT 'SHF',
  `shift_code_suffix` varchar(5) DEFAULT NULL,
  `holiday_code_prefix` varchar(5) DEFAULT 'HOL',
  `holiday_code_suffix` varchar(5) DEFAULT NULL,
  `document_type_code_prefix` varchar(5) DEFAULT 'PRT',
  `document_type_code_suffix` varchar(5) DEFAULT NULL,
  `sales_target_code_prefix` varchar(5) DEFAULT 'ST',
  `sales_target_code_suffix` varchar(5) DEFAULT NULL,
  `tenant_id` varchar(191) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `settings`
--

INSERT INTO `settings` (`id`, `default_language`, `app_name`, `app_logo`, `app_favicon`, `app_color`, `app_logo_dark`, `app_logo_light`, `app_icon`, `app_description`, `app_version`, `country`, `phone_country_code`, `is_auto_check_out_enabled`, `auto_check_out_time`, `is_multiple_check_in_enabled`, `default_timezone`, `default_date_format`, `default_time_format`, `default_datetime_format`, `currency`, `currency_symbol`, `distance_unit`, `default_password`, `m_app_version`, `m_location_update_time_type`, `m_location_update_interval`, `privacy_policy_url`, `verify_client_number`, `is_biometric_verification_enabled`, `map_api_key`, `map_provider`, `map_zoom_level`, `center_latitude`, `center_longitude`, `maps_key`, `is_helper_text_enabled`, `employees_limit`, `support_email`, `support_phone`, `support_whatsapp`, `website`, `working_days_per_month`, `daily_working_hours`, `hourly_rate_calculation`, `overtime_rate`, `tax_deduction_percentage`, `leave_deduction_per_day`, `half_day_deduction`, `pay_period_start_day`, `attendance_threshold_hours`, `payroll_frequency`, `payroll_start_date`, `payroll_cutoff_date`, `auto_payroll_processing`, `company_name`, `company_logo`, `company_address`, `company_phone`, `company_email`, `company_website`, `company_country`, `company_state`, `company_city`, `company_zipcode`, `company_tax_id`, `company_reg_no`, `mail_driver`, `mail_host`, `mail_port`, `mail_username`, `mail_password`, `mail_encryption`, `mail_from_address`, `mail_from_name`, `branding_type`, `employee_code_prefix`, `employee_code_suffix`, `product_code_prefix`, `product_code_suffix`, `category_code_prefix`, `category_code_suffix`, `order_prefix`, `order_suffix`, `leave_type_code_prefix`, `leave_type_code_suffix`, `expense_type_code_prefix`, `expense_type_code_suffix`, `team_code_prefix`, `team_code_suffix`, `location_code_prefix`, `location_code_suffix`, `department_code_prefix`, `department_code_suffix`, `designation_code_prefix`, `designation_code_suffix`, `payroll_code_prefix`, `payroll_code_suffix`, `shift_code_prefix`, `shift_code_suffix`, `holiday_code_prefix`, `holiday_code_suffix`, `document_type_code_prefix`, `document_type_code_suffix`, `sales_target_code_prefix`, `sales_target_code_suffix`, `tenant_id`) VALUES
(1, 'en', 'Seb', NULL, NULL, '#4CAF50', NULL, NULL, NULL, NULL, '5.0.0', 'Philippines', '+63', 0, '18:00:00', 1, 'Asia/Kolkata', 'd-m-Y', 'h:i A', 'd-m-Y h:i A', 'PHP', '₱', 'km', '12345678', '5.0.0', 'seconds', 5, 'https://czappstudio.com/privacy-policy/', 0, 0, '[REDACTED], 'google', '3', '18.418983770139', '49.671943615889', NULL, 1, 0, 'support@yourcompany.com', '+1234567890', '+1234567890', 'https://yourcompany.com', 26, 8.00, 1, 1.50, 10.00, 500.00, 250.00, 1, 4.00, 'monthly', 1, 31, 0, 'Your Company Name', 'app_logo.png', 'Your Company Address', '+1234567890', 'info@yourcompany.com', 'https://yourcompany.com', 'Your Country', 'Your State', 'Your City', '000000', 'TAX-ID-HERE', 'REG-NO-HERE', 'smtp', NULL, 587, NULL, NULL, 'tls', NULL, NULL, 'both', 'EMP', NULL, 'PRD', NULL, 'CAT', NULL, 'FM_ORD', NULL, 'LVT', NULL, 'EXT', NULL, 'TM', NULL, 'LOC', NULL, 'DEP', NULL, 'DES', NULL, 'PAY', NULL, 'SHF', NULL, 'HOL', NULL, 'PRT', NULL, 'ST', NULL, NULL);

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

--
-- Table structure for table `shifts`
--

CREATE TABLE `shifts` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `name` varchar(191) NOT NULL,
  `color` varchar(255) DEFAULT NULL,
  `code` varchar(50) NOT NULL,
  `notes` varchar(500) DEFAULT NULL,
  `start_date` datetime NOT NULL,
  `end_date` datetime DEFAULT NULL,
  `start_time` time NOT NULL,
  `end_time` time NOT NULL,
  `sunday` tinyint(1) NOT NULL DEFAULT 0,
  `monday` tinyint(1) NOT NULL DEFAULT 0,
  `tuesday` tinyint(1) NOT NULL DEFAULT 0,
  `wednesday` tinyint(1) NOT NULL DEFAULT 0,
  `thursday` tinyint(1) NOT NULL DEFAULT 0,
  `friday` tinyint(1) NOT NULL DEFAULT 0,
  `saturday` tinyint(1) NOT NULL DEFAULT 0,
  `is_infinite` tinyint(1) NOT NULL DEFAULT 0 COMMENT 'If the shift is infinite, then end_date will be null',
  `over_time_threshold` decimal(8,2) NOT NULL DEFAULT 0.00 COMMENT 'Threshold for overtime in minutes',
  `is_default` tinyint(1) NOT NULL DEFAULT 0 COMMENT 'If the shift is default, then it will be assigned to all employees by default',
  `is_over_time_enabled` tinyint(1) NOT NULL DEFAULT 0 COMMENT 'If the shift is over time enabled, then it will be considered for over time calculation',
  `is_break_enabled` tinyint(1) NOT NULL DEFAULT 0 COMMENT 'If the shift is break enabled, then it will be considered for break calculation',
  `break_time` decimal(8,2) DEFAULT 0.00 COMMENT 'Break time in minutes',
  `auto_deduct_break_minutes` int(11) NOT NULL DEFAULT 0 COMMENT 'Minutes to automatically deduct for break time. 0 means disabled.',
  `shift_type` enum('regular','night') NOT NULL DEFAULT 'regular',
  `status` enum('active','inactive','deleted') NOT NULL DEFAULT 'active',
  `timezone` varchar(255) NOT NULL DEFAULT 'UTC',
  `created_by_id` bigint(20) UNSIGNED DEFAULT NULL,
  `updated_by_id` bigint(20) UNSIGNED DEFAULT NULL,
  `tenant_id` varchar(191) DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `shifts`
--

INSERT INTO `shifts` (`id`, `name`, `color`, `code`, `notes`, `start_date`, `end_date`, `start_time`, `end_time`, `sunday`, `monday`, `tuesday`, `wednesday`, `thursday`, `friday`, `saturday`, `is_infinite`, `over_time_threshold`, `is_default`, `is_over_time_enabled`, `is_break_enabled`, `break_time`, `auto_deduct_break_minutes`, `shift_type`, `status`, `timezone`, `created_by_id`, `updated_by_id`, `tenant_id`, `deleted_at`, `created_at`, `updated_at`) VALUES
(1, 'OPS 12:00AM-09:00AM', NULL, 'OPS 12:00AM-09:00AM', NULL, '2026-01-01 00:00:00', NULL, '00:00:00', '09:00:00', 1, 1, 1, 1, 1, 1, 1, 0, 0.00, 1, 0, 0, 0.00, 0, 'night', 'active', 'UTC', NULL, NULL, NULL, NULL, '2026-01-14 12:44:02', '2026-01-22 10:49:19'),
(2, 'OPS 12:30AM-09:30AM', '#0b2520', 'OPS 12:30AM-09:30AM', NULL, '2026-01-01 00:00:00', NULL, '00:30:00', '09:30:00', 1, 1, 1, 1, 1, 1, 1, 0, 0.00, 0, 0, 0, 0.00, 0, 'night', 'active', 'UTC', NULL, NULL, NULL, NULL, '2026-01-16 12:39:14', '2026-01-22 10:49:19'),
(3, 'OPS 01:00AM-10:00AM', '#ef36bc', 'OPS 01:00AM-10:00AM', NULL, '2026-01-01 00:00:00', NULL, '01:00:00', '10:00:00', 1, 1, 1, 1, 1, 1, 1, 0, 0.00, 0, 0, 0, 0.00, 0, 'night', 'active', 'UTC', NULL, NULL, NULL, NULL, '2026-01-16 12:42:51', '2026-01-22 10:49:19'),
(4, 'OPS 01:30AM-10:30AM', '#70d77c', 'OPS 01:30AM-10:30AM', NULL, '2026-01-01 00:00:00', NULL, '01:30:00', '10:30:00', 1, 1, 1, 1, 1, 1, 1, 0, 0.00, 0, 0, 0, 0.00, 0, 'night', 'active', 'UTC', NULL, NULL, NULL, NULL, '2026-01-16 12:43:43', '2026-01-22 10:49:19'),
(5, 'OPS 02:00AM-11:00AM', '#a59b88', 'OPS 02:00AM-11:00AM', NULL, '2026-01-01 00:00:00', NULL, '02:00:00', '11:00:00', 1, 1, 1, 1, 1, 1, 1, 0, 0.00, 0, 0, 0, 0.00, 0, 'night', 'active', 'UTC', NULL, NULL, NULL, NULL, '2026-01-16 12:45:35', '2026-01-22 10:49:19'),
(6, 'OPS 02:30AM-11:30AM', '#bc4bb3', 'OPS 02:30AM-11:30AM', NULL, '2026-01-01 00:00:00', NULL, '02:30:00', '11:30:00', 1, 1, 1, 1, 1, 1, 1, 0, 0.00, 0, 0, 0, 0.00, 0, 'night', 'active', 'UTC', NULL, NULL, NULL, NULL, '2026-01-16 12:46:19', '2026-01-22 10:49:19'),
(7, 'OPS 03:00AM-12:00PM', '#68ecce', 'OPS 03:00AM-12:00PM', NULL, '2026-01-01 00:00:00', NULL, '03:00:00', '12:00:00', 1, 1, 1, 1, 1, 1, 1, 0, 0.00, 0, 0, 0, 0.00, 0, 'night', 'active', 'UTC', NULL, NULL, NULL, NULL, '2026-01-16 12:49:13', '2026-01-22 10:49:19'),
(8, 'OPS 03:30AM-12:30PM', '#90965b', 'OPS 03:30AM-12:30PM', NULL, '2026-01-01 00:00:00', NULL, '03:30:00', '12:30:00', 1, 1, 1, 1, 1, 1, 1, 0, 0.00, 0, 0, 0, 0.00, 0, 'night', 'active', 'UTC', NULL, NULL, NULL, NULL, '2026-01-16 12:50:02', '2026-01-22 10:49:19'),
(9, 'OPS 04:00AM-01:00PM', '#642a59', 'OPS 04:00AM-01:00PM', NULL, '2026-01-01 00:00:00', NULL, '04:00:00', '13:00:00', 1, 1, 1, 1, 1, 1, 1, 0, 0.00, 0, 0, 0, 0.00, 0, 'night', 'active', 'UTC', NULL, NULL, NULL, NULL, '2026-01-16 12:50:47', '2026-01-22 10:49:19'),
(10, 'OPS 04:30AM-01:30PM', '#70d68c', 'OPS 04:30AM-01:30PM', NULL, '2026-01-01 00:00:00', NULL, '04:30:00', '13:30:00', 1, 1, 1, 1, 1, 1, 1, 0, 0.00, 0, 0, 0, 0.00, 0, 'night', 'active', 'UTC', NULL, NULL, NULL, NULL, '2026-01-16 12:51:40', '2026-01-22 10:49:19'),
(11, 'OPS 05:00AM-02:00PM', '#e985bd', 'OPS 05:00AM-02:00PM', NULL, '2026-01-01 00:00:00', NULL, '05:00:00', '14:00:00', 1, 1, 1, 1, 1, 1, 1, 0, 0.00, 0, 0, 0, 0.00, 0, 'night', 'active', 'UTC', NULL, NULL, NULL, NULL, '2026-01-16 12:54:12', '2026-01-22 10:49:19'),
(12, 'OPS 05:30AM-02:30PM', '#271746', 'OPS 05:30AM-02:30PM', NULL, '2026-01-01 00:00:00', NULL, '05:30:00', '14:30:00', 1, 1, 1, 1, 1, 1, 1, 0, 0.00, 0, 0, 0, 0.00, 0, 'night', 'active', 'UTC', NULL, NULL, NULL, NULL, '2026-01-16 12:54:43', '2026-01-22 10:49:19'),
(13, 'OPS 06:00AM-03:00PM', '#36926e', 'OPS 06:00AM-03:00PM', NULL, '2026-01-01 00:00:00', NULL, '06:00:00', '15:00:00', 1, 1, 1, 1, 1, 1, 1, 0, 0.00, 0, 0, 0, 0.00, 0, 'regular', 'active', 'UTC', NULL, NULL, NULL, NULL, '2026-01-16 12:55:50', '2026-01-22 10:49:19'),
(14, 'OPS 06:30AM-03:30PM', '#727bf9', 'OPS 06:30AM-03:30PM', NULL, '2026-01-01 00:00:00', NULL, '06:30:00', '15:30:00', 1, 1, 1, 1, 1, 1, 1, 0, 0.00, 0, 0, 0, 0.00, 0, 'regular', 'active', 'UTC', NULL, NULL, NULL, NULL, '2026-01-16 12:56:24', '2026-01-22 10:49:19'),
(15, 'OPS 07:00AM-04:00PM', '#c79822', 'OPS 07:00AM-04:00PM', NULL, '2026-01-01 00:00:00', NULL, '07:00:00', '16:00:00', 1, 1, 1, 1, 1, 1, 1, 0, 0.00, 0, 0, 0, 0.00, 0, 'regular', 'active', 'UTC', NULL, NULL, NULL, NULL, '2026-01-16 12:58:59', '2026-01-22 10:49:19'),
(16, 'OPS 07:30AM-04:30PM', '#d1cae4', 'OPS 07:30AM-04:30PM', NULL, '2026-01-01 00:00:00', NULL, '07:30:00', '16:30:00', 1, 1, 1, 1, 1, 1, 1, 0, 0.00, 0, 0, 0, 0.00, 0, 'regular', 'active', 'UTC', NULL, NULL, NULL, NULL, '2026-01-16 13:00:15', '2026-01-22 10:49:19'),
(17, 'OPS 08:00AM-05:00PM', NULL, 'OPS 08:00AM-05:00PM', NULL, '2026-01-01 00:00:00', NULL, '08:00:00', '17:00:00', 1, 1, 1, 1, 1, 1, 1, 0, 0.00, 0, 0, 0, 0.00, 0, 'regular', 'active', 'UTC', NULL, NULL, NULL, NULL, '2026-01-22 10:49:19', '2026-01-22 10:49:19'),
(18, 'OPS 08:30AM-05:30PM', NULL, 'OPS 08:30AM-05:30PM', NULL, '2026-01-01 00:00:00', NULL, '08:30:00', '17:30:00', 1, 1, 1, 1, 1, 1, 1, 0, 0.00, 0, 0, 0, 0.00, 0, 'regular', 'active', 'UTC', NULL, NULL, NULL, NULL, '2026-01-22 10:49:19', '2026-01-22 10:49:19'),
(19, 'OPS 09:00AM-06:00PM', NULL, 'OPS 09:00AM-06:00PM', NULL, '2026-01-01 00:00:00', NULL, '09:00:00', '18:00:00', 1, 1, 1, 1, 1, 1, 1, 0, 0.00, 0, 0, 0, 0.00, 0, 'regular', 'active', 'UTC', NULL, NULL, NULL, NULL, '2026-01-22 10:49:19', '2026-01-22 10:49:19'),
(20, 'OPS 09:30AM-06:30PM', NULL, 'OPS 09:30AM-06:30PM', NULL, '2026-01-01 00:00:00', NULL, '09:30:00', '18:30:00', 1, 1, 1, 1, 1, 1, 1, 0, 0.00, 0, 0, 0, 0.00, 0, 'regular', 'active', 'UTC', NULL, NULL, NULL, NULL, '2026-01-22 10:49:19', '2026-01-22 10:49:19'),
(21, 'OPS 10:00AM-07:00PM', NULL, 'OPS 10:00AM-07:00PM', NULL, '2026-01-01 00:00:00', NULL, '10:00:00', '19:00:00', 1, 1, 1, 1, 1, 1, 1, 0, 0.00, 0, 0, 0, 0.00, 0, 'regular', 'active', 'UTC', NULL, NULL, NULL, NULL, '2026-01-22 10:49:19', '2026-01-22 10:49:19'),
(22, 'OPS 10:30AM-07:30PM', NULL, 'OPS 10:30AM-07:30PM', NULL, '2026-01-01 00:00:00', NULL, '10:30:00', '19:30:00', 1, 1, 1, 1, 1, 1, 1, 0, 0.00, 0, 0, 0, 0.00, 0, 'regular', 'active', 'UTC', NULL, NULL, NULL, NULL, '2026-01-22 10:49:19', '2026-01-22 10:49:19'),
(23, 'OPS 11:00AM-08:00PM', NULL, 'OPS 11:00AM-08:00PM', NULL, '2026-01-01 00:00:00', NULL, '11:00:00', '20:00:00', 1, 1, 1, 1, 1, 1, 1, 0, 0.00, 0, 0, 0, 0.00, 0, 'regular', 'active', 'UTC', NULL, NULL, NULL, NULL, '2026-01-22 10:49:19', '2026-01-22 10:49:19'),
(24, 'OPS 11:30AM-08:30PM', NULL, 'OPS 11:30AM-08:30PM', NULL, '2026-01-01 00:00:00', NULL, '11:30:00', '20:30:00', 1, 1, 1, 1, 1, 1, 1, 0, 0.00, 0, 0, 0, 0.00, 0, 'regular', 'active', 'UTC', NULL, NULL, NULL, NULL, '2026-01-22 10:49:19', '2026-01-22 10:49:19'),
(25, 'OPS 12:00PM-09:00PM', NULL, 'OPS 12:00PM-09:00PM', NULL, '2026-01-01 00:00:00', NULL, '12:00:00', '21:00:00', 1, 1, 1, 1, 1, 1, 1, 0, 0.00, 0, 0, 0, 0.00, 0, 'regular', 'active', 'UTC', NULL, NULL, NULL, NULL, '2026-01-22 10:49:19', '2026-01-22 10:49:19'),
(26, 'OPS 12:30PM-09:30PM', NULL, 'OPS 12:30PM-09:30PM', NULL, '2026-01-01 00:00:00', NULL, '12:30:00', '21:30:00', 1, 1, 1, 1, 1, 1, 1, 0, 0.00, 0, 0, 0, 0.00, 0, 'regular', 'active', 'UTC', NULL, NULL, NULL, NULL, '2026-01-22 10:49:19', '2026-01-22 10:49:19'),
(27, 'OPS 01:00PM-10:00PM', NULL, 'OPS 01:00PM-10:00PM', NULL, '2026-01-01 00:00:00', NULL, '13:00:00', '22:00:00', 1, 1, 1, 1, 1, 1, 1, 0, 0.00, 0, 0, 0, 0.00, 0, 'regular', 'active', 'UTC', NULL, NULL, NULL, NULL, '2026-01-22 10:49:19', '2026-01-22 10:49:19'),
(28, 'OPS 01:30PM-10:30PM', NULL, 'OPS 01:30PM-10:30PM', NULL, '2026-01-01 00:00:00', NULL, '13:30:00', '22:30:00', 1, 1, 1, 1, 1, 1, 1, 0, 0.00, 0, 0, 0, 0.00, 0, 'regular', 'active', 'UTC', NULL, NULL, NULL, NULL, '2026-01-22 10:49:19', '2026-01-22 10:49:19'),
(29, 'OPS 02:00PM-11:00PM', NULL, 'OPS 02:00PM-11:00PM', NULL, '2026-01-01 00:00:00', NULL, '14:00:00', '23:00:00', 1, 1, 1, 1, 1, 1, 1, 0, 0.00, 0, 0, 0, 0.00, 0, 'regular', 'active', 'UTC', NULL, NULL, NULL, NULL, '2026-01-22 10:49:19', '2026-01-22 10:49:19'),
(30, 'OPS 02:30PM-11:30PM', NULL, 'OPS 02:30PM-11:30PM', NULL, '2026-01-01 00:00:00', NULL, '14:30:00', '23:30:00', 1, 1, 1, 1, 1, 1, 1, 0, 0.00, 0, 0, 0, 0.00, 0, 'regular', 'active', 'UTC', NULL, NULL, NULL, NULL, '2026-01-22 10:49:19', '2026-01-22 10:49:19'),
(31, 'OPS 03:00PM-12:00AM', NULL, 'OPS 03:00PM-12:00AM', NULL, '2026-01-01 00:00:00', NULL, '15:00:00', '00:00:00', 1, 1, 1, 1, 1, 1, 1, 0, 0.00, 0, 0, 0, 0.00, 0, 'regular', 'active', 'UTC', NULL, NULL, NULL, NULL, '2026-01-22 10:49:19', '2026-01-22 10:49:19'),
(32, 'OPS 03:30PM-12:30AM', NULL, 'OPS 03:30PM-12:30AM', NULL, '2026-01-01 00:00:00', NULL, '15:30:00', '00:30:00', 1, 1, 1, 1, 1, 1, 1, 0, 0.00, 0, 0, 0, 0.00, 0, 'regular', 'active', 'UTC', NULL, NULL, NULL, NULL, '2026-01-22 10:49:19', '2026-01-22 10:49:19'),
(33, 'OPS 04:00PM-01:00AM', NULL, 'OPS 04:00PM-01:00AM', NULL, '2026-01-01 00:00:00', NULL, '16:00:00', '01:00:00', 1, 1, 1, 1, 1, 1, 1, 0, 0.00, 0, 0, 0, 0.00, 0, 'regular', 'active', 'UTC', NULL, NULL, NULL, NULL, '2026-01-22 10:49:19', '2026-01-22 10:49:19'),
(34, 'OPS 04:30PM-01:30AM', NULL, 'OPS 04:30PM-01:30AM', NULL, '2026-01-01 00:00:00', NULL, '16:30:00', '01:30:00', 1, 1, 1, 1, 1, 1, 1, 0, 0.00, 0, 0, 0, 0.00, 0, 'regular', 'active', 'UTC', NULL, NULL, NULL, NULL, '2026-01-22 10:49:19', '2026-01-22 10:49:19'),
(35, 'OPS 05:00PM-02:00AM', NULL, 'OPS 05:00PM-02:00AM', NULL, '2026-01-01 00:00:00', NULL, '17:00:00', '02:00:00', 1, 1, 1, 1, 1, 1, 1, 0, 0.00, 0, 0, 0, 0.00, 0, 'regular', 'active', 'UTC', NULL, NULL, NULL, NULL, '2026-01-22 10:49:19', '2026-01-22 10:49:19'),
(36, 'OPS 05:30PM-02:30AM', NULL, 'OPS 05:30PM-02:30AM', NULL, '2026-01-01 00:00:00', NULL, '17:30:00', '02:30:00', 1, 1, 1, 1, 1, 1, 1, 0, 0.00, 0, 0, 0, 0.00, 0, 'regular', 'active', 'UTC', NULL, NULL, NULL, NULL, '2026-01-22 10:49:19', '2026-01-22 10:49:19'),
(37, 'OPS 06:00PM-03:00AM', NULL, 'OPS 06:00PM-03:00AM', NULL, '2026-01-01 00:00:00', NULL, '18:00:00', '03:00:00', 1, 1, 1, 1, 1, 1, 1, 0, 0.00, 0, 0, 0, 0.00, 0, 'regular', 'active', 'UTC', NULL, NULL, NULL, NULL, '2026-01-22 10:49:19', '2026-01-22 10:49:19'),
(38, 'OPS 06:30PM-03:30AM', NULL, 'OPS 06:30PM-03:30AM', NULL, '2026-01-01 00:00:00', NULL, '18:30:00', '03:30:00', 1, 1, 1, 1, 1, 1, 1, 0, 0.00, 0, 0, 0, 0.00, 0, 'regular', 'active', 'UTC', NULL, NULL, NULL, NULL, '2026-01-22 10:49:19', '2026-01-22 10:49:19'),
(39, 'OPS 07:00PM-04:00AM', NULL, 'OPS 07:00PM-04:00AM', NULL, '2026-01-01 00:00:00', NULL, '19:00:00', '04:00:00', 1, 1, 1, 1, 1, 1, 1, 0, 0.00, 0, 0, 0, 0.00, 0, 'regular', 'active', 'UTC', NULL, NULL, NULL, NULL, '2026-01-22 10:49:19', '2026-01-22 10:49:19'),
(40, 'OPS 07:30PM-04:30AM', NULL, 'OPS 07:30PM-04:30AM', NULL, '2026-01-01 00:00:00', NULL, '19:30:00', '04:30:00', 1, 1, 1, 1, 1, 1, 1, 0, 0.00, 0, 0, 0, 0.00, 0, 'regular', 'active', 'UTC', NULL, NULL, NULL, NULL, '2026-01-22 10:49:19', '2026-01-22 10:49:19'),
(41, 'OPS 08:00PM-05:00AM', NULL, 'OPS 08:00PM-05:00AM', NULL, '2026-01-01 00:00:00', NULL, '20:00:00', '05:00:00', 1, 1, 1, 1, 1, 1, 1, 0, 0.00, 0, 0, 0, 0.00, 0, 'night', 'active', 'UTC', NULL, NULL, NULL, NULL, '2026-01-22 10:49:19', '2026-01-22 10:49:19'),
(42, 'OPS 08:30PM-05:30AM', NULL, 'OPS 08:30PM-05:30AM', NULL, '2026-01-01 00:00:00', NULL, '20:30:00', '05:30:00', 1, 1, 1, 1, 1, 1, 1, 0, 0.00, 0, 0, 0, 0.00, 0, 'night', 'active', 'UTC', NULL, NULL, NULL, NULL, '2026-01-22 10:49:19', '2026-01-22 10:49:19'),
(43, 'OPS 09:00PM-06:00AM', NULL, 'OPS 09:00PM-06:00AM', NULL, '2026-01-01 00:00:00', NULL, '21:00:00', '06:00:00', 1, 1, 1, 1, 1, 1, 1, 0, 0.00, 0, 0, 0, 0.00, 0, 'night', 'active', 'UTC', NULL, NULL, NULL, NULL, '2026-01-22 10:49:19', '2026-01-22 10:49:19'),
(44, 'OPS 09:30PM-06:30AM', NULL, 'OPS 09:30PM-06:30AM', NULL, '2026-01-01 00:00:00', NULL, '21:30:00', '06:30:00', 1, 1, 1, 1, 1, 1, 1, 0, 0.00, 0, 0, 0, 0.00, 0, 'night', 'active', 'UTC', NULL, NULL, NULL, NULL, '2026-01-22 10:49:19', '2026-01-22 10:49:19'),
(45, 'OPS 10:00PM-07:00AM', NULL, 'OPS 10:00PM-07:00AM', NULL, '2026-01-01 00:00:00', NULL, '22:00:00', '07:00:00', 1, 1, 1, 1, 1, 1, 1, 0, 0.00, 0, 0, 0, 0.00, 0, 'night', 'active', 'UTC', NULL, NULL, NULL, NULL, '2026-01-22 10:49:19', '2026-01-22 10:49:19'),
(46, 'OPS 10:30PM-07:30AM', NULL, 'OPS 10:30PM-07:30AM', NULL, '2026-01-01 00:00:00', NULL, '22:30:00', '07:30:00', 1, 1, 1, 1, 1, 1, 1, 0, 0.00, 0, 0, 0, 0.00, 0, 'night', 'active', 'UTC', NULL, NULL, NULL, NULL, '2026-01-22 10:49:19', '2026-01-22 10:49:19'),
(47, 'OPS 11:00PM-08:00AM', NULL, 'OPS 11:00PM-08:00AM', NULL, '2026-01-01 00:00:00', NULL, '23:00:00', '08:00:00', 1, 1, 1, 1, 1, 1, 1, 0, 0.00, 0, 0, 0, 0.00, 0, 'night', 'active', 'UTC', NULL, NULL, NULL, NULL, '2026-01-22 10:49:19', '2026-01-22 10:49:19'),
(48, 'OPS 11:30PM-08:30AM', NULL, 'OPS 11:30PM-08:30AM', NULL, '2026-01-01 00:00:00', NULL, '23:30:00', '08:30:00', 1, 1, 1, 1, 1, 1, 1, 0, 0.00, 0, 0, 0, 0.00, 0, 'night', 'active', 'UTC', NULL, NULL, NULL, NULL, '2026-01-22 10:49:19', '2026-01-22 10:49:19');

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

--
-- Table structure for table `subscriptions`
--

CREATE TABLE `subscriptions` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `tenant_id` bigint(20) UNSIGNED NOT NULL,
  `plan_id` bigint(20) UNSIGNED NOT NULL,
  `status` enum('pending','trial','active','past_due','expired','cancelled') NOT NULL DEFAULT 'trial',
  `paid_employee_limit` int(11) DEFAULT NULL,
  `paid_modules` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`paid_modules`)),
  `starts_at` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
  `ends_at` timestamp NULL DEFAULT NULL,
  `trial_ends_at` timestamp NULL DEFAULT NULL,
  `cancelled_at` timestamp NULL DEFAULT NULL,
  `cancellation_reason` text DEFAULT NULL,
  `cancel_at_period_end` tinyint(1) NOT NULL DEFAULT 0,
  `payment_method` varchar(255) DEFAULT NULL,
  `amount` decimal(10,2) NOT NULL DEFAULT 0.00,
  `currency` varchar(3) NOT NULL DEFAULT 'USD',
  `metadata` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`metadata`)),
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

--
-- Table structure for table `tax_rates`
--

CREATE TABLE `tax_rates` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `name` varchar(255) NOT NULL,
  `rate` decimal(10,4) NOT NULL,
  `type` enum('percentage','fixed') NOT NULL DEFAULT 'percentage',
  `is_default` tinyint(1) NOT NULL DEFAULT 0,
  `is_active` tinyint(1) NOT NULL DEFAULT 1,
  `description` text DEFAULT NULL,
  `tax_authority` varchar(255) DEFAULT NULL,
  `created_by_id` bigint(20) UNSIGNED DEFAULT NULL,
  `updated_by_id` bigint(20) UNSIGNED DEFAULT NULL,
  `tenant_id` bigint(20) UNSIGNED DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

--
-- Table structure for table `teams`
--

CREATE TABLE `teams` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `team_head_id` bigint(20) UNSIGNED DEFAULT NULL,
  `name` varchar(191) NOT NULL,
  `code` varchar(50) NOT NULL,
  `notes` varchar(500) DEFAULT NULL,
  `is_chat_enabled` tinyint(1) NOT NULL DEFAULT 1,
  `is_task_enabled` tinyint(1) NOT NULL DEFAULT 0,
  `status` enum('active','inactive') NOT NULL DEFAULT 'active',
  `created_by_id` bigint(20) UNSIGNED DEFAULT NULL,
  `updated_by_id` bigint(20) UNSIGNED DEFAULT NULL,
  `tenant_id` varchar(191) DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `teams`
--

INSERT INTO `teams` (`id`, `team_head_id`, `name`, `code`, `notes`, `is_chat_enabled`, `is_task_enabled`, `status`, `created_by_id`, `updated_by_id`, `tenant_id`, `deleted_at`, `created_at`, `updated_at`) VALUES
(1, NULL, 'SEB Connexion Inc.', 'SEB', 'Head Office', 1, 0, 'active', NULL, NULL, NULL, NULL, '2026-01-14 12:44:02', '2026-01-15 10:18:43'),
(2, NULL, 'The Beer Factory', 'TBF', 'Restaurant', 0, 0, 'active', NULL, NULL, NULL, NULL, '2026-01-15 10:19:04', '2026-01-15 10:19:04');

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

--
-- Table structure for table `tenants`
--

CREATE TABLE `tenants` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `uuid` char(36) NOT NULL,
  `name` varchar(255) NOT NULL,
  `email` varchar(255) NOT NULL,
  `logo_path` varchar(255) DEFAULT NULL,
  `phone` varchar(255) DEFAULT NULL,
  `address` varchar(500) DEFAULT NULL,
  `city` varchar(100) DEFAULT NULL,
  `state` varchar(100) DEFAULT NULL,
  `country` varchar(100) DEFAULT NULL,
  `postal_code` varchar(20) DEFAULT NULL,
  `website` varchar(255) DEFAULT NULL,
  `tax_id` varchar(50) DEFAULT NULL,
  `subdomain` varchar(255) NOT NULL,
  `custom_domain` varchar(255) DEFAULT NULL,
  `status` enum('pending','approved','active','suspended','cancelled') NOT NULL DEFAULT 'pending',
  `enabled_modules` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`enabled_modules`)),
  `approved_at` timestamp NULL DEFAULT NULL,
  `approved_by_id` bigint(20) UNSIGNED DEFAULT NULL,
  `database_provisioning_status` enum('pending','provisioning','provisioned','failed','manual') NOT NULL DEFAULT 'pending',
  `trial_ends_at` timestamp NULL DEFAULT NULL,
  `metadata` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`metadata`)),
  `notes` text DEFAULT NULL,
  `has_used_trial` tinyint(1) NOT NULL DEFAULT 0,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

--
-- Table structure for table `tenant_databases`
--

CREATE TABLE `tenant_databases` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `tenant_id` bigint(20) UNSIGNED NOT NULL,
  `host` varchar(255) NOT NULL,
  `port` varchar(255) NOT NULL DEFAULT '3306',
  `database_name` varchar(255) NOT NULL,
  `username` varchar(255) NOT NULL,
  `encrypted_password` text NOT NULL,
  `provisioning_status` enum('pending','provisioned','failed','manual') NOT NULL DEFAULT 'pending',
  `provisioned_at` timestamp NULL DEFAULT NULL,
  `last_verified_at` timestamp NULL DEFAULT NULL,
  `provisioning_error` text DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

--
-- Table structure for table `time_entries`
--

CREATE TABLE `time_entries` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `tenant_id` varchar(255) DEFAULT NULL,
  `project_id` bigint(20) UNSIGNED NOT NULL,
  `user_id` bigint(20) UNSIGNED NOT NULL,
  `task_id` bigint(20) UNSIGNED DEFAULT NULL,
  `date` date NOT NULL,
  `hours` decimal(8,2) NOT NULL,
  `description` text DEFAULT NULL,
  `is_billable` tinyint(1) NOT NULL DEFAULT 1,
  `hourly_rate` decimal(10,2) DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

--
-- Table structure for table `users`
--

CREATE TABLE `users` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `tenant_id` varchar(191) DEFAULT NULL,
  `first_name` varchar(50) DEFAULT NULL,
  `last_name` varchar(50) DEFAULT NULL,
  `user_name` varchar(255) DEFAULT NULL,
  `name` varchar(100) DEFAULT NULL,
  `profile_picture` text DEFAULT NULL,
  `email_verified_at` timestamp NULL DEFAULT NULL,
  `phone_verified_at` timestamp NULL DEFAULT NULL,
  `last_login` timestamp NULL DEFAULT NULL,
  `password` varchar(255) NOT NULL,
  `code` varchar(50) NOT NULL,
  `email` varchar(100) NOT NULL,
  `phone` varchar(20) DEFAULT NULL,
  `address` varchar(1000) DEFAULT NULL,
  `emergency_contact_name` varchar(255) DEFAULT NULL,
  `emergency_contact_phone` varchar(255) DEFAULT NULL,
  `emergency_contact_relationship` varchar(255) DEFAULT NULL,
  `emergency_contact_address` text DEFAULT NULL,
  `blood_group` varchar(10) DEFAULT NULL,
  `alternate_number` varchar(255) DEFAULT NULL,
  `dob` date DEFAULT NULL,
  `gender` enum('male','female','other') NOT NULL DEFAULT 'male',
  `date_of_joining` date DEFAULT NULL,
  `probation_period_months` int(11) DEFAULT NULL COMMENT 'Probation duration in months',
  `probation_end_date` date DEFAULT NULL,
  `probation_confirmed_at` timestamp NULL DEFAULT NULL,
  `is_probation_extended` tinyint(1) NOT NULL DEFAULT 0,
  `probation_remarks` text DEFAULT NULL,
  `attendance_type` varchar(255) NOT NULL DEFAULT 'open',
  `status` varchar(255) NOT NULL DEFAULT 'active',
  `suspension_date` date DEFAULT NULL,
  `suspension_reason` varchar(1000) DEFAULT NULL,
  `suspension_duration_days` int(11) DEFAULT NULL,
  `relieved_at` timestamp NULL DEFAULT NULL,
  `relieved_reason` varchar(255) DEFAULT NULL,
  `onboarding_at` timestamp NULL DEFAULT NULL,
  `onboarding_completed_at` timestamp NULL DEFAULT NULL,
  `retired_at` timestamp NULL DEFAULT NULL,
  `retired_reason` varchar(255) DEFAULT NULL,
  `exit_date` date DEFAULT NULL,
  `exit_reason` varchar(255) DEFAULT NULL,
  `termination_type` varchar(255) DEFAULT NULL COMMENT 'e.g., resignation, terminated, layoff, retired, probation_failed',
  `last_working_day` date DEFAULT NULL,
  `is_eligible_for_rehire` tinyint(1) DEFAULT 1,
  `language` varchar(255) NOT NULL DEFAULT 'en',
  `reporting_to_id` bigint(20) UNSIGNED DEFAULT NULL,
  `created_by_id` bigint(20) UNSIGNED DEFAULT NULL,
  `updated_by_id` bigint(20) UNSIGNED DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  `remember_token` varchar(100) DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `shift_id` bigint(20) UNSIGNED DEFAULT NULL,
  `team_id` bigint(20) UNSIGNED DEFAULT NULL,
  `designation_id` bigint(20) UNSIGNED DEFAULT NULL,
  `notice_period_days` int(11) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `users`
--

INSERT INTO `users` (`id`, `tenant_id`, `first_name`, `last_name`, `user_name`, `name`, `profile_picture`, `email_verified_at`, `phone_verified_at`, `last_login`, `password`, `code`, `email`, `phone`, `address`, `emergency_contact_name`, `emergency_contact_phone`, `emergency_contact_relationship`, `emergency_contact_address`, `blood_group`, `alternate_number`, `dob`, `gender`, `date_of_joining`, `probation_period_months`, `probation_end_date`, `probation_confirmed_at`, `is_probation_extended`, `probation_remarks`, `attendance_type`, `status`, `suspension_date`, `suspension_reason`, `suspension_duration_days`, `relieved_at`, `relieved_reason`, `onboarding_at`, `onboarding_completed_at`, `retired_at`, `retired_reason`, `exit_date`, `exit_reason`, `termination_type`, `last_working_day`, `is_eligible_for_rehire`, `language`, `reporting_to_id`, `created_by_id`, `updated_by_id`, `deleted_at`, `remember_token`, `created_at`, `updated_at`, `shift_id`, `team_id`, `designation_id`, `notice_period_days`) VALUES
(1, NULL, 'Marlon', 'Domagtoy', NULL, 'Marlon Domagtoy', NULL, '2026-01-14 12:44:02', '2026-01-14 12:44:02', NULL, '$2y$12$qCtzWgPcyxxPHh0.ULram.Y.wplKWImAHWm3tV5tUq3UcsAviEQWS', 'EMP-001', 'marlon.domagtoy@sebconnexion.com', '9151784027', NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1991-01-31', 'male', '2024-05-14', NULL, NULL, NULL, 0, NULL, 'open', 'active', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, 'en', NULL, NULL, NULL, NULL, 'ACG8lepjRlXTIToJshrft6wODYNAXXv5Uwf2qO6Mjz3HMlHihgEwCDO9URtX', '2026-01-14 12:44:02', '2026-02-17 10:03:00', NULL, 1, 1, NULL),
(2, NULL, 'Ana Regina', 'Mariano', NULL, 'Ana Regina Mariano', NULL, NULL, NULL, NULL, '$2y$12$M7ex7aR61BDYCBw8YHTfEOhLV3RK71mcwp4rfkqoSP3a1AIa.tbGC', 'SEB2018-2008T', 'armariano@yahoo.com', '9955646175', NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1985-04-25', 'female', '2019-08-27', NULL, NULL, NULL, 0, NULL, 'open', 'active', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, 'en', 1, 1, NULL, NULL, NULL, '2026-01-15 10:35:05', '2026-02-17 10:03:00', NULL, 2, 2, NULL),
(3, NULL, 'Rhea Jane', 'Belchez', NULL, 'Rhea Jane Belchez', NULL, NULL, NULL, NULL, '$2y$12$aYFMFO8A8KFIOIte6ErBiOdXLyKgXEE/69dV6dfV4waBqvW/QUrGC', 'SEB2018-2024T', 'eyajanepot0610@gmail.com', '9099491457', NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1997-10-16', 'female', '2022-05-05', NULL, NULL, NULL, 0, NULL, 'open', 'active', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, 'en', 2, 1, NULL, NULL, NULL, '2026-01-15 10:40:58', '2026-02-17 10:03:00', NULL, 2, 2, NULL),
(4, NULL, 'Reynah Lyn', 'Guevarra', NULL, 'Reynah Lyn Guevarra', NULL, NULL, NULL, NULL, '$2y$12$hvx5dfnw1Mgda7X3TbUGqevNUz7g0PWqvawkMa3prBSvazJJ.cKO.', 'SEB2024-2101T', 'rbmguevarra@gmail.com', '9453746700', NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1994-12-11', 'female', '2024-04-15', NULL, NULL, NULL, 0, NULL, 'open', 'active', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, 'en', 2, 1, NULL, NULL, NULL, '2026-01-15 10:43:44', '2026-02-17 10:03:00', NULL, 2, 3, NULL),
(5, NULL, 'Mart Ace', 'Guano', NULL, 'Mart Ace Guano', NULL, NULL, NULL, NULL, '$2y$12$BzQyQK1CRAH.Ivaf8hzy9OU7SVfLonZUXUmsd40O3F3qb2l1zzJY2', 'SEB2018-2023T', 'g_martace@yahoo.com', '9270790192', NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1994-05-20', 'male', '2021-10-01', NULL, NULL, NULL, 0, NULL, 'open', 'active', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, 'en', 2, 1, NULL, NULL, NULL, '2026-01-15 10:47:54', '2026-02-17 10:03:00', NULL, 2, 4, NULL),
(6, NULL, 'Dinh', 'Chavez', NULL, 'Dinh Chavez', NULL, NULL, NULL, NULL, '$2y$12$qDVIqUrDwrStbPOoFtR7g.U6Bm3VZK9HvcDfXSJfAvZ8vfoaiRnr6', 'SEB2018-2013T', 'hao.chavez@gmail.com', '9366136920', NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1983-04-25', 'female', '2018-12-03', NULL, NULL, NULL, 0, NULL, 'open', 'active', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, 'en', 2, 1, NULL, NULL, NULL, '2026-01-15 10:52:41', '2026-02-17 10:03:00', NULL, 2, 5, NULL),
(7, NULL, 'Francis Eleazar', 'Londonio', NULL, 'Francis Eleazar Londonio', NULL, NULL, NULL, NULL, '$2y$12$SnLDJaXx3WzKxKPqjjeWOutJgVG2zZmCD7Gga1QZAOihShrVuJGFC', 'SEB2018-2033T', 'eleazarfrancis112@gmail.com', '9503260264', NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1996-12-12', 'male', '2022-11-04', NULL, NULL, NULL, 0, NULL, 'open', 'active', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, 'en', 2, 1, NULL, NULL, NULL, '2026-01-15 10:55:38', '2026-02-17 10:03:00', NULL, 2, 5, NULL),
(8, NULL, 'Paul Rei', 'Paas', NULL, 'Paul Rei Paas', NULL, NULL, NULL, NULL, '$2y$12$T8OjmzpgV0NLRelin/jVyeUx1.IgxF1WahMr9lLJSarCotql3JQBi', 'SEB2023-2068H', 'paulreichase97@gmail.com', '9053023539', NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1997-07-01', 'male', '2023-06-29', NULL, NULL, NULL, 0, NULL, 'open', 'active', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, 'en', 1, 1, NULL, NULL, NULL, '2026-01-15 10:57:52', '2026-02-17 10:03:00', NULL, 1, 7, NULL),
(9, NULL, 'Princess Rose', 'Acosta', NULL, 'Princess Rose Acosta', NULL, NULL, NULL, NULL, '$2y$12$zGoNRZgbV/QvLNhPoMUlRugYKxEzN.tJbtwDyjbWpHzscODuVMOd.', 'SEB2024-2109T', 'ladyrose021992@gmail.com', '9651422794', NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1992-11-12', 'female', '2024-11-04', NULL, NULL, NULL, 0, NULL, 'open', 'active', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, 'en', 2, 1, NULL, NULL, NULL, '2026-01-15 11:01:09', '2026-02-17 10:03:00', NULL, 2, 5, NULL),
(10, NULL, 'Donna Marie', 'Moreno', NULL, 'Donna Marie Moreno', NULL, NULL, NULL, NULL, '$2y$12$R0EwfF2jIKZfa.eZDR4WgOfnJLSZcXPdWz4Csj4goBUNjT6ALKkQy', 'SEB2024-2111T', 'donnamarie.moreno.1975@gmail.com', '9563008450', NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1975-06-26', 'other', '2024-11-25', NULL, NULL, NULL, 0, NULL, 'open', 'active', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, 'en', 2, 1, NULL, NULL, NULL, '2026-01-15 11:03:44', '2026-02-17 10:03:00', NULL, 2, 5, NULL);

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

--
-- Table structure for table `users_available_leaves`
--

CREATE TABLE `users_available_leaves` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `user_id` bigint(20) UNSIGNED NOT NULL,
  `leave_type_id` bigint(20) UNSIGNED NOT NULL,
  `year` int(11) NOT NULL,
  `entitled_leaves` double NOT NULL DEFAULT 0,
  `carried_forward_leaves` decimal(5,2) NOT NULL DEFAULT 0.00,
  `additional_leaves` decimal(5,2) NOT NULL DEFAULT 0.00,
  `used_leaves` double NOT NULL DEFAULT 0,
  `available_leaves` double NOT NULL DEFAULT 0,
  `carry_forward_expiry_date` date DEFAULT NULL,
  `tenant_id` varchar(191) DEFAULT NULL,
  `created_by_id` bigint(20) UNSIGNED DEFAULT NULL,
  `updated_by_id` bigint(20) UNSIGNED DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `users_available_leaves`
--

INSERT INTO `users_available_leaves` (`id`, `user_id`, `leave_type_id`, `year`, `entitled_leaves`, `carried_forward_leaves`, `additional_leaves`, `used_leaves`, `available_leaves`, `carry_forward_expiry_date`, `tenant_id`, `created_by_id`, `updated_by_id`, `deleted_at`, `created_at`, `updated_at`) VALUES
(1, 2, 1, 2026, 11, 0.00, -7.00, 1, 3, NULL, NULL, 1, 1, NULL, '2026-01-16 12:00:41', '2026-03-17 11:32:22'),
(2, 2, 2, 2026, 11, 0.00, 0.00, 0, 11, NULL, NULL, 1, 1, NULL, '2026-01-16 12:01:05', '2026-01-16 12:01:05'),
(3, 2, 3, 2026, 1, 0.00, 0.00, 0, 1, NULL, NULL, 1, 1, NULL, '2026-01-16 12:01:14', '2026-01-16 12:01:14'),
(4, 2, 4, 2026, 100, 0.00, 0.00, 0, 100, NULL, NULL, 1, 1, NULL, '2026-01-16 12:01:21', '2026-01-16 12:01:21'),
(5, 3, 1, 2026, 11, 0.00, -2.00, 0, 9, NULL, NULL, 1, 1, NULL, '2026-01-16 12:01:47', '2026-03-17 11:34:20'),
(6, 3, 2, 2026, 11, 0.00, -1.50, 0, 9.5, NULL, NULL, 1, 1, NULL, '2026-01-16 12:01:55', '2026-03-17 11:34:42'),
(7, 3, 3, 2026, 1, 0.00, 0.00, 0, 1, NULL, NULL, 1, 1, NULL, '2026-01-16 12:02:02', '2026-01-16 12:02:02'),
(8, 3, 4, 2026, 100, 0.00, 0.00, 0, 100, NULL, NULL, 1, 1, NULL, '2026-01-16 12:02:18', '2026-01-16 12:02:18'),
(9, 4, 1, 2026, 8, 0.00, -3.00, 0, 5, NULL, NULL, 1, 1, NULL, '2026-01-16 12:02:46', '2026-03-17 11:35:38'),
(10, 4, 2, 2026, 8, 0.00, 0.00, 0, 8, NULL, NULL, 1, 1, NULL, '2026-01-16 12:02:52', '2026-01-16 12:02:52'),
(11, 4, 3, 2026, 1, 0.00, 0.00, 0, 1, NULL, NULL, 1, 1, NULL, '2026-01-16 12:02:58', '2026-01-16 12:02:58'),
(12, 4, 4, 2026, 100, 0.00, 0.00, 0, 100, NULL, NULL, 1, 1, NULL, '2026-01-16 12:03:03', '2026-01-16 12:03:03'),
(13, 5, 1, 2026, 7, 0.00, -3.00, 0, 4, NULL, NULL, 1, 1, NULL, '2026-01-16 12:03:43', '2026-03-17 11:36:04'),
(14, 5, 2, 2026, 7, 0.00, -3.00, 0, 4, NULL, NULL, 1, 1, NULL, '2026-01-16 12:03:49', '2026-03-17 11:36:16'),
(15, 5, 3, 2026, 1, 0.00, 0.00, 0, 1, NULL, NULL, 1, 1, NULL, '2026-01-16 12:03:55', '2026-01-16 12:03:55'),
(16, 5, 4, 2026, 100, 0.00, 0.00, 0, 100, NULL, NULL, 1, 1, NULL, '2026-01-16 12:04:01', '2026-01-16 12:04:01'),
(17, 6, 1, 2026, 5, 0.00, -1.00, 0, 4, NULL, NULL, 1, 1, NULL, '2026-01-16 12:04:21', '2026-03-17 11:36:48'),
(18, 6, 2, 2026, 5, 0.00, 0.00, 0, 5, NULL, NULL, 1, 1, NULL, '2026-01-16 12:04:26', '2026-01-16 12:04:26'),
(19, 6, 3, 2026, 1, 0.00, 0.00, 0, 1, NULL, NULL, 1, 1, NULL, '2026-01-16 12:04:31', '2026-01-16 12:04:31'),
(20, 7, 1, 2026, 5, 0.00, -1.00, 0, 4, NULL, NULL, 1, 1, NULL, '2026-01-16 12:04:50', '2026-03-17 11:37:20'),
(21, 7, 2, 2026, 5, 0.00, -1.00, 0, 4, NULL, NULL, 1, 1, NULL, '2026-01-16 12:04:55', '2026-03-17 11:37:31'),
(22, 7, 3, 2026, 1, 0.00, 0.00, 0, 1, NULL, NULL, 1, 1, NULL, '2026-01-16 12:05:01', '2026-01-16 12:05:01'),
(23, 9, 3, 2026, 1, 0.00, 0.00, 0, 1, NULL, NULL, 1, 1, NULL, '2026-01-16 12:05:22', '2026-01-16 12:05:22'),
(24, 10, 3, 2026, 1, 0.00, 0.00, 0, 1, NULL, NULL, 1, 1, NULL, '2026-01-16 12:05:41', '2026-01-16 12:05:41'),
(25, 8, 1, 2026, 7, 0.00, -4.00, 0, 3, NULL, NULL, 1, 1, NULL, '2026-01-16 12:06:36', '2026-03-17 11:33:08'),
(26, 8, 2, 2026, 7, 0.00, -4.00, 0, 3, NULL, NULL, 1, 1, NULL, '2026-01-16 12:06:41', '2026-03-17 11:33:24'),
(27, 8, 3, 2026, 1, 0.00, -1.00, 0, 0, NULL, NULL, 1, 1, NULL, '2026-01-16 12:06:46', '2026-03-17 11:33:37'),
(28, 8, 4, 2026, 100, 0.00, 0.00, 0, 100, NULL, NULL, 1, 1, NULL, '2026-01-16 12:06:51', '2026-01-16 12:06:51'),
(29, 9, 1, 2026, 2, 0.00, 0.00, 0, 2, NULL, NULL, 1, 1, NULL, '2026-03-17 11:38:17', '2026-03-17 11:38:17'),
(30, 9, 2, 2026, 2, 0.00, 0.00, 0, 2, NULL, NULL, 1, 1, NULL, '2026-03-17 11:38:22', '2026-03-17 11:38:22'),
(31, 10, 1, 2026, 2, 0.00, 0.00, 0, 2, NULL, NULL, 1, 1, NULL, '2026-03-17 11:38:51', '2026-03-17 11:38:51'),
(32, 10, 2, 2026, 2, 0.00, 0.00, 0, 2, NULL, NULL, 1, 1, NULL, '2026-03-17 11:38:57', '2026-03-17 11:38:57');

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

--
-- Table structure for table `user_settings`
--

CREATE TABLE `user_settings` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `user_id` bigint(20) UNSIGNED NOT NULL,
  `key` varchar(100) NOT NULL,
  `value` text DEFAULT NULL,
  `tenant_id` varchar(191) DEFAULT NULL,
  `created_by_id` bigint(20) UNSIGNED DEFAULT NULL,
  `updated_by_id` bigint(20) UNSIGNED DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

--
-- Table structure for table `user_statuses`
--

CREATE TABLE `user_statuses` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `user_id` bigint(20) UNSIGNED NOT NULL,
  `status` varchar(50) NOT NULL,
  `message` varchar(255) DEFAULT NULL,
  `expires_at` timestamp NULL DEFAULT NULL,
  `created_by_id` bigint(20) UNSIGNED DEFAULT NULL,
  `updated_by_id` bigint(20) UNSIGNED DEFAULT NULL,
  `tenant_id` varchar(191) DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

--
-- Table structure for table `visits`
--

CREATE TABLE `visits` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `client_id` bigint(20) UNSIGNED NOT NULL,
  `created_by_id` bigint(20) UNSIGNED NOT NULL,
  `attendance_log_id` bigint(20) UNSIGNED DEFAULT NULL,
  `latitude` varchar(255) DEFAULT NULL,
  `longitude` varchar(255) DEFAULT NULL,
  `address` text DEFAULT NULL,
  `img_url` varchar(255) DEFAULT NULL,
  `remarks` text DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

--
-- Table structure for table `webhook_events`
--

CREATE TABLE `webhook_events` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `gateway` varchar(50) NOT NULL,
  `event_id` varchar(255) NOT NULL,
  `event_type` varchar(255) NOT NULL,
  `payload` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL CHECK (json_valid(`payload`)),
  `status` varchar(20) NOT NULL DEFAULT 'pending',
  `processed_at` timestamp NULL DEFAULT NULL,
  `error_message` text DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Indexes for dumped tables
--

--
-- Indexes for table `accounting_migrations`
--
ALTER TABLE `accounting_migrations`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `accounting_migrations_basic_transaction_id_unique` (`basic_transaction_id`),
  ADD KEY `accounting_migrations_journal_entry_id_index` (`journal_entry_id`);

--
-- Indexes for table `adms_device_registry`
--
ALTER TABLE `adms_device_registry`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `adms_device_registry_serial_number_unique` (`serial_number`),
  ADD KEY `adms_device_registry_serial_number_index` (`serial_number`),
  ADD KEY `adms_device_registry_tenant_id_index` (`tenant_id`);

--
-- Indexes for table `attendances`
--
ALTER TABLE `attendances`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `attendances_user_id_date_unique` (`user_id`,`date`),
  ADD KEY `attendances_shift_id_foreign` (`shift_id`),
  ADD KEY `attendances_approved_by_id_foreign` (`approved_by_id`),
  ADD KEY `attendances_created_by_id_foreign` (`created_by_id`),
  ADD KEY `attendances_updated_by_id_foreign` (`updated_by_id`),
  ADD KEY `idx_attendances_user_date` (`user_id`,`check_in_time`),
  ADD KEY `idx_attendances_status` (`status`),
  ADD KEY `attendances_date_status_index` (`date`,`status`),
  ADD KEY `attendances_status_index` (`status`),
  ADD KEY `attendances_check_in_time_index` (`check_in_time`),
  ADD KEY `attendances_check_out_time_index` (`check_out_time`);

--
-- Indexes for table `attendance_devices`
--
ALTER TABLE `attendance_devices`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `attendance_devices_serial_number_unique` (`serial_number`);

--
-- Indexes for table `attendance_logs`
--
ALTER TABLE `attendance_logs`
  ADD PRIMARY KEY (`id`),
  ADD KEY `attendance_logs_shift_id_foreign` (`shift_id`),
  ADD KEY `attendance_logs_updated_by_id_foreign` (`updated_by_id`),
  ADD KEY `idx_attendance_logs_user_date` (`created_by_id`,`created_at`),
  ADD KEY `idx_attendance_logs_attendance` (`attendance_id`),
  ADD KEY `attendance_logs_user_id_foreign` (`user_id`);

--
-- Indexes for table `attendance_regularizations`
--
ALTER TABLE `attendance_regularizations`
  ADD PRIMARY KEY (`id`),
  ADD KEY `attendance_regularizations_user_id_date_index` (`user_id`,`date`),
  ADD KEY `attendance_regularizations_status_created_at_index` (`status`,`created_at`);

--
-- Indexes for table `audits`
--
ALTER TABLE `audits`
  ADD PRIMARY KEY (`id`),
  ADD KEY `audits_auditable_type_auditable_id_index` (`auditable_type`,`auditable_id`),
  ADD KEY `audits_user_id_user_type_index` (`user_id`,`user_type`);

--
-- Indexes for table `bank_accounts`
--
ALTER TABLE `bank_accounts`
  ADD PRIMARY KEY (`id`),
  ADD KEY `bank_accounts_user_id_foreign` (`user_id`),
  ADD KEY `bank_accounts_created_by_id_foreign` (`created_by_id`),
  ADD KEY `bank_accounts_updated_by_id_foreign` (`updated_by_id`);

--
-- Indexes for table `basic_transactions`
--
ALTER TABLE `basic_transactions`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `basic_transactions_transaction_number_unique` (`transaction_number`),
  ADD KEY `basic_transactions_type_transaction_date_index` (`type`,`transaction_date`),
  ADD KEY `basic_transactions_category_id_index` (`category_id`),
  ADD KEY `basic_transactions_transaction_date_index` (`transaction_date`),
  ADD KEY `basic_transactions_created_by_id_index` (`created_by_id`),
  ADD KEY `basic_transactions_sourceable_type_sourceable_id_index` (`sourceable_type`,`sourceable_id`);

--
-- Indexes for table `basic_transaction_categories`
--
ALTER TABLE `basic_transaction_categories`
  ADD PRIMARY KEY (`id`),
  ADD KEY `basic_transaction_categories_type_is_active_index` (`type`,`is_active`),
  ADD KEY `basic_transaction_categories_parent_id_index` (`parent_id`);

--
-- Indexes for table `cache`
--
ALTER TABLE `cache`
  ADD PRIMARY KEY (`key`);

--
-- Indexes for table `cache_locks`
--
ALTER TABLE `cache_locks`
  ADD PRIMARY KEY (`key`);

--
-- Indexes for table `clients`
--
ALTER TABLE `clients`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `clients_code_unique` (`code`),
  ADD KEY `clients_created_by_id_foreign` (`created_by_id`),
  ADD KEY `clients_assigned_to_foreign` (`assigned_to`);

--
-- Indexes for table `companies`
--
ALTER TABLE `companies`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `companies_code_unique` (`code`),
  ADD KEY `companies_customer_group_id_foreign` (`customer_group_id`),
  ADD KEY `companies_created_by_id_foreign` (`created_by_id`);

--
-- Indexes for table `compensatory_offs`
--
ALTER TABLE `compensatory_offs`
  ADD PRIMARY KEY (`id`),
  ADD KEY `compensatory_offs_leave_request_id_foreign` (`leave_request_id`),
  ADD KEY `compensatory_offs_created_by_id_foreign` (`created_by_id`),
  ADD KEY `compensatory_offs_updated_by_id_foreign` (`updated_by_id`),
  ADD KEY `compensatory_offs_user_id_status_index` (`user_id`,`status`),
  ADD KEY `compensatory_offs_expiry_date_is_used_index` (`expiry_date`,`is_used`);

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

--
-- Indexes for table `core_combo_items`
--
ALTER TABLE `core_combo_items`
  ADD PRIMARY KEY (`id`),
  ADD KEY `core_combo_items_product_id_foreign` (`product_id`),
  ADD KEY `core_combo_items_item_product_id_foreign` (`item_product_id`);

--
-- Indexes for table `core_customers`
--
ALTER TABLE `core_customers`
  ADD PRIMARY KEY (`id`),
  ADD KEY `core_customers_payment_term_id_foreign` (`payment_term_id`),
  ADD KEY `core_customers_created_by_id_foreign` (`created_by_id`);

--
-- Indexes for table `core_order_items`
--
ALTER TABLE `core_order_items`
  ADD PRIMARY KEY (`id`),
  ADD KEY `core_order_items_product_id_foreign` (`product_id`),
  ADD KEY `core_order_items_order_id_order_type_index` (`order_id`,`order_type`);

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

--
-- Indexes for table `core_products`
--
ALTER TABLE `core_products`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `core_products_sku_unique` (`sku`),
  ADD KEY `core_products_category_id_foreign` (`category_id`),
  ADD KEY `core_products_created_by_id_foreign` (`created_by_id`),
  ADD KEY `core_products_brand_id_foreign` (`brand_id`),
  ADD KEY `core_products_unit_id_foreign` (`unit_id`),
  ADD KEY `core_products_purchase_unit_id_foreign` (`purchase_unit_id`);

--
-- Indexes for table `core_product_categories`
--
ALTER TABLE `core_product_categories`
  ADD PRIMARY KEY (`id`),
  ADD KEY `core_product_categories_parent_id_foreign` (`parent_id`);

--
-- Indexes for table `core_purchase_orders`
--
ALTER TABLE `core_purchase_orders`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `core_purchase_orders_order_number_unique` (`order_number`),
  ADD KEY `core_purchase_orders_supplier_id_foreign` (`supplier_id`),
  ADD KEY `core_purchase_orders_user_id_foreign` (`user_id`),
  ADD KEY `core_purchase_orders_created_by_id_foreign` (`created_by_id`),
  ADD KEY `core_purchase_orders_order_date_index` (`order_date`),
  ADD KEY `core_purchase_orders_status_index` (`status`),
  ADD KEY `core_purchase_orders_payment_status_index` (`payment_status`);

--
-- Indexes for table `core_sales_orders`
--
ALTER TABLE `core_sales_orders`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `core_sales_orders_order_number_unique` (`order_number`),
  ADD KEY `core_sales_orders_customer_id_foreign` (`customer_id`),
  ADD KEY `core_sales_orders_user_id_foreign` (`user_id`),
  ADD KEY `core_sales_orders_created_by_id_foreign` (`created_by_id`),
  ADD KEY `core_sales_orders_order_date_index` (`order_date`),
  ADD KEY `core_sales_orders_status_index` (`status`),
  ADD KEY `core_sales_orders_payment_status_index` (`payment_status`);

--
-- Indexes for table `core_suppliers`
--
ALTER TABLE `core_suppliers`
  ADD PRIMARY KEY (`id`),
  ADD KEY `core_suppliers_payment_term_id_foreign` (`payment_term_id`),
  ADD KEY `core_suppliers_created_by_id_foreign` (`created_by_id`);

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

--
-- Indexes for table `core_units`
--
ALTER TABLE `core_units`
  ADD PRIMARY KEY (`id`),
  ADD KEY `core_units_base_unit_id_foreign` (`base_unit_id`);

--
-- Indexes for table `customer_groups`
--
ALTER TABLE `customer_groups`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `customer_groups_code_unique` (`code`),
  ADD KEY `customer_groups_created_by_id_foreign` (`created_by_id`);

--
-- Indexes for table `deals`
--
ALTER TABLE `deals`
  ADD PRIMARY KEY (`id`),
  ADD KEY `deals_lead_id_foreign` (`lead_id`),
  ADD KEY `deals_client_id_foreign` (`client_id`),
  ADD KEY `deals_pipeline_id_foreign` (`pipeline_id`),
  ADD KEY `deals_pipeline_stage_id_foreign` (`pipeline_stage_id`),
  ADD KEY `deals_assigned_to_foreign` (`assigned_to`),
  ADD KEY `deals_created_by_id_foreign` (`created_by_id`);

--
-- Indexes for table `departments`
--
ALTER TABLE `departments`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `departments_code_unique` (`code`),
  ADD KEY `departments_parent_id_foreign` (`parent_id`),
  ADD KEY `departments_created_by_id_foreign` (`created_by_id`),
  ADD KEY `departments_updated_by_id_foreign` (`updated_by_id`);

--
-- Indexes for table `designations`
--
ALTER TABLE `designations`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `designations_code_unique` (`code`),
  ADD KEY `designations_department_id_foreign` (`department_id`),
  ADD KEY `designations_parent_id_foreign` (`parent_id`),
  ADD KEY `designations_created_by_id_foreign` (`created_by_id`),
  ADD KEY `designations_updated_by_id_foreign` (`updated_by_id`);

--
-- Indexes for table `device_sync_logs`
--
ALTER TABLE `device_sync_logs`
  ADD PRIMARY KEY (`id`),
  ADD KEY `device_sync_logs_attendance_device_id_foreign` (`attendance_device_id`);

--
-- Indexes for table `employee_daily_shifts`
--
ALTER TABLE `employee_daily_shifts`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `employee_daily_shifts_user_id_date_unique` (`user_id`,`date`),
  ADD KEY `employee_daily_shifts_shift_id_foreign` (`shift_id`);

--
-- Indexes for table `employee_lifecycle_events`
--
ALTER TABLE `employee_lifecycle_events`
  ADD PRIMARY KEY (`id`),
  ADD KEY `employee_lifecycle_events_triggered_by_id_foreign` (`triggered_by_id`),
  ADD KEY `employee_lifecycle_events_user_id_index` (`user_id`),
  ADD KEY `employee_lifecycle_events_event_type_index` (`event_type`),
  ADD KEY `employee_lifecycle_events_event_date_index` (`event_date`),
  ADD KEY `employee_lifecycle_events_user_id_event_type_index` (`user_id`,`event_type`);

--
-- Indexes for table `employee_salary_items`
--
ALTER TABLE `employee_salary_items`
  ADD PRIMARY KEY (`id`),
  ADD KEY `employee_salary_items_employee_salary_structure_id_foreign` (`employee_salary_structure_id`),
  ADD KEY `employee_salary_items_salary_component_id_foreign` (`salary_component_id`);

--
-- Indexes for table `employee_salary_structures`
--
ALTER TABLE `employee_salary_structures`
  ADD PRIMARY KEY (`id`),
  ADD KEY `employee_salary_structures_user_id_foreign` (`user_id`);

--
-- Indexes for table `expense_requests`
--
ALTER TABLE `expense_requests`
  ADD PRIMARY KEY (`id`),
  ADD KEY `expense_requests_user_id_foreign` (`user_id`),
  ADD KEY `expense_requests_expense_type_id_foreign` (`expense_type_id`),
  ADD KEY `expense_requests_approved_by_id_foreign` (`approved_by_id`),
  ADD KEY `expense_requests_created_by_id_foreign` (`created_by_id`),
  ADD KEY `expense_requests_updated_by_id_foreign` (`updated_by_id`),
  ADD KEY `expense_requests_rejected_by_id_foreign` (`rejected_by_id`);

--
-- Indexes for table `expense_types`
--
ALTER TABLE `expense_types`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `expense_types_code_unique` (`code`),
  ADD KEY `expense_types_created_by_id_foreign` (`created_by_id`),
  ADD KEY `expense_types_updated_by_id_foreign` (`updated_by_id`);

--
-- Indexes for table `face_data`
--
ALTER TABLE `face_data`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `face_data_user_id_unique` (`user_id`);

--
-- Indexes for table `face_matching_settings`
--
ALTER TABLE `face_matching_settings`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `face_matching_settings_scope_tenant_id_unique` (`scope`,`tenant_id`);

--
-- Indexes for table `fcm_tokens`
--
ALTER TABLE `fcm_tokens`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `fcm_tokens_user_id_device_id_unique` (`user_id`,`device_id`),
  ADD KEY `fcm_tokens_device_id_index` (`device_id`);

--
-- Indexes for table `field_manager_activities`
--
ALTER TABLE `field_manager_activities`
  ADD PRIMARY KEY (`id`),
  ADD KEY `field_manager_activities_attendance_log_id_foreign` (`attendance_log_id`);

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

--
-- Indexes for table `field_manager_user_devices`
--
ALTER TABLE `field_manager_user_devices`
  ADD PRIMARY KEY (`id`),
  ADD KEY `field_manager_user_devices_user_id_foreign` (`user_id`);

--
-- Indexes for table `free_trial_requests`
--
ALTER TABLE `free_trial_requests`
  ADD PRIMARY KEY (`id`),
  ADD KEY `free_trial_requests_email_index` (`email`),
  ADD KEY `free_trial_requests_status_index` (`status`);

--
-- Indexes for table `holidays`
--
ALTER TABLE `holidays`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `holidays_code_unique` (`code`),
  ADD KEY `holidays_created_by_id_foreign` (`created_by_id`),
  ADD KEY `holidays_updated_by_id_foreign` (`updated_by_id`),
  ADD KEY `holidays_approved_by_id_foreign` (`approved_by_id`),
  ADD KEY `holidays_date_year_index` (`date`,`year`),
  ADD KEY `holidays_type_is_active_index` (`type`,`is_active`),
  ADD KEY `holidays_applicable_for_index` (`applicable_for`),
  ADD KEY `holidays_year_index` (`year`);

--
-- Indexes for table `inventory_adjustments`
--
ALTER TABLE `inventory_adjustments`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `inventory_adjustments_adjustment_number_unique` (`adjustment_number`);

--
-- Indexes for table `inventory_adjustment_items`
--
ALTER TABLE `inventory_adjustment_items`
  ADD PRIMARY KEY (`id`),
  ADD KEY `inventory_adjustment_items_adjustment_id_foreign` (`adjustment_id`);

--
-- Indexes for table `inventory_deliveries`
--
ALTER TABLE `inventory_deliveries`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `inventory_deliveries_delivery_note_number_unique` (`delivery_note_number`);

--
-- Indexes for table `inventory_delivery_items`
--
ALTER TABLE `inventory_delivery_items`
  ADD PRIMARY KEY (`id`),
  ADD KEY `inventory_delivery_items_delivery_id_foreign` (`delivery_id`);

--
-- Indexes for table `inventory_goods_receipts`
--
ALTER TABLE `inventory_goods_receipts`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `inventory_goods_receipts_grn_number_unique` (`grn_number`);

--
-- Indexes for table `inventory_goods_receipt_items`
--
ALTER TABLE `inventory_goods_receipt_items`
  ADD PRIMARY KEY (`id`),
  ADD KEY `inventory_goods_receipt_items_grn_id_foreign` (`grn_id`);

--
-- Indexes for table `inventory_items`
--
ALTER TABLE `inventory_items`
  ADD PRIMARY KEY (`id`),
  ADD KEY `inventory_items_product_id_serial_number_index` (`product_id`,`serial_number`),
  ADD KEY `inventory_items_warehouse_id_index` (`warehouse_id`);

--
-- Indexes for table `inventory_reservations`
--
ALTER TABLE `inventory_reservations`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `inventory_reservations_reservation_number_unique` (`reservation_number`);

--
-- Indexes for table `inventory_returns`
--
ALTER TABLE `inventory_returns`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `inventory_returns_return_number_unique` (`return_number`);

--
-- Indexes for table `inventory_stocks`
--
ALTER TABLE `inventory_stocks`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `inventory_stocks_product_id_warehouse_id_unique` (`product_id`,`warehouse_id`);

--
-- Indexes for table `inventory_transfers`
--
ALTER TABLE `inventory_transfers`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `inventory_transfers_transfer_number_unique` (`transfer_number`);

--
-- Indexes for table `inventory_transfer_items`
--
ALTER TABLE `inventory_transfer_items`
  ADD PRIMARY KEY (`id`),
  ADD KEY `inventory_transfer_items_transfer_id_foreign` (`transfer_id`);

--
-- Indexes for table `inventory_warehouses`
--
ALTER TABLE `inventory_warehouses`
  ADD PRIMARY KEY (`id`),
  ADD KEY `inventory_warehouses_parent_id_foreign` (`parent_id`);

--
-- Indexes for table `jobs`
--
ALTER TABLE `jobs`
  ADD PRIMARY KEY (`id`),
  ADD KEY `jobs_queue_index` (`queue`);

--
-- Indexes for table `leads`
--
ALTER TABLE `leads`
  ADD PRIMARY KEY (`id`),
  ADD KEY `leads_assigned_to_foreign` (`assigned_to`),
  ADD KEY `leads_created_by_id_foreign` (`created_by_id`),
  ADD KEY `leads_converted_client_id_foreign` (`converted_client_id`);

--
-- Indexes for table `lead_documents`
--
ALTER TABLE `lead_documents`
  ADD PRIMARY KEY (`id`),
  ADD KEY `lead_documents_lead_id_foreign` (`lead_id`),
  ADD KEY `lead_documents_created_by_id_foreign` (`created_by_id`);

--
-- Indexes for table `lead_labels`
--
ALTER TABLE `lead_labels`
  ADD PRIMARY KEY (`id`),
  ADD KEY `lead_labels_created_by_id_foreign` (`created_by_id`);

--
-- Indexes for table `lead_label_pivot`
--
ALTER TABLE `lead_label_pivot`
  ADD PRIMARY KEY (`lead_id`,`lead_label_id`),
  ADD KEY `lead_label_pivot_lead_label_id_foreign` (`lead_label_id`);

--
-- Indexes for table `lead_notes`
--
ALTER TABLE `lead_notes`
  ADD PRIMARY KEY (`id`),
  ADD KEY `lead_notes_lead_id_foreign` (`lead_id`),
  ADD KEY `lead_notes_created_by_id_foreign` (`created_by_id`);

--
-- Indexes for table `lead_sources`
--
ALTER TABLE `lead_sources`
  ADD PRIMARY KEY (`id`),
  ADD KEY `lead_sources_created_by_id_foreign` (`created_by_id`);

--
-- Indexes for table `lead_statuses`
--
ALTER TABLE `lead_statuses`
  ADD PRIMARY KEY (`id`),
  ADD KEY `lead_statuses_created_by_id_foreign` (`created_by_id`);

--
-- Indexes for table `leave_accruals`
--
ALTER TABLE `leave_accruals`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `leave_accruals_user_id_leave_type_id_year_month_unique` (`user_id`,`leave_type_id`,`year`,`month`),
  ADD KEY `leave_accruals_leave_type_id_foreign` (`leave_type_id`),
  ADD KEY `leave_accruals_created_by_id_foreign` (`created_by_id`),
  ADD KEY `leave_accruals_updated_by_id_foreign` (`updated_by_id`),
  ADD KEY `leave_accruals_user_id_year_index` (`user_id`,`year`);

--
-- Indexes for table `leave_balance_adjustments`
--
ALTER TABLE `leave_balance_adjustments`
  ADD PRIMARY KEY (`id`),
  ADD KEY `leave_balance_adjustments_leave_type_id_foreign` (`leave_type_id`),
  ADD KEY `leave_balance_adjustments_created_by_id_foreign` (`created_by_id`),
  ADD KEY `leave_balance_adjustments_updated_by_id_foreign` (`updated_by_id`),
  ADD KEY `leave_balance_adjustments_user_id_leave_type_id_year_index` (`user_id`,`leave_type_id`,`year`),
  ADD KEY `leave_balance_adjustments_effective_date_index` (`effective_date`);

--
-- Indexes for table `leave_requests`
--
ALTER TABLE `leave_requests`
  ADD PRIMARY KEY (`id`),
  ADD KEY `leave_requests_created_by_id_foreign` (`created_by_id`),
  ADD KEY `leave_requests_updated_by_id_foreign` (`updated_by_id`),
  ADD KEY `leave_requests_user_id_status_index` (`user_id`,`status`),
  ADD KEY `leave_requests_from_date_to_date_index` (`from_date`,`to_date`),
  ADD KEY `leave_requests_leave_type_id_index` (`leave_type_id`);

--
-- Indexes for table `leave_types`
--
ALTER TABLE `leave_types`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `leave_types_code_unique` (`code`),
  ADD KEY `leave_types_created_by_id_foreign` (`created_by_id`),
  ADD KEY `leave_types_updated_by_id_foreign` (`updated_by_id`);

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

--
-- Indexes for table `loans`
--
ALTER TABLE `loans`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `loans_loan_number_unique` (`loan_number`),
  ADD KEY `loans_user_id_foreign` (`user_id`),
  ADD KEY `loans_loan_type_id_foreign` (`loan_type_id`),
  ADD KEY `loans_approved_by_foreign` (`approved_by`);

--
-- Indexes for table `loan_repayments`
--
ALTER TABLE `loan_repayments`
  ADD PRIMARY KEY (`id`),
  ADD KEY `loan_repayments_loan_id_foreign` (`loan_id`);

--
-- Indexes for table `loan_requests`
--
ALTER TABLE `loan_requests`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `loan_number` (`loan_number`),
  ADD KEY `user_id` (`user_id`),
  ADD KEY `loan_type_id` (`loan_type_id`);

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

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

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

--
-- Indexes for table `model_has_permissions`
--
ALTER TABLE `model_has_permissions`
  ADD PRIMARY KEY (`permission_id`,`model_id`,`model_type`),
  ADD KEY `model_has_permissions_model_id_model_type_index` (`model_id`,`model_type`);

--
-- Indexes for table `model_has_roles`
--
ALTER TABLE `model_has_roles`
  ADD PRIMARY KEY (`role_id`,`model_id`,`model_type`),
  ADD KEY `model_has_roles_model_id_model_type_index` (`model_id`,`model_type`);

--
-- Indexes for table `module_settings`
--
ALTER TABLE `module_settings`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `module_settings_module_key_unique` (`module`,`key`),
  ADD KEY `module_settings_module_index` (`module`);

--
-- Indexes for table `notifications`
--
ALTER TABLE `notifications`
  ADD PRIMARY KEY (`id`),
  ADD KEY `notifications_notifiable_type_notifiable_id_index` (`notifiable_type`,`notifiable_id`);

--
-- Indexes for table `notification_preferences`
--
ALTER TABLE `notification_preferences`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `user_notification_type_unique` (`user_id`,`notification_type`),
  ADD KEY `notification_preferences_created_by_id_foreign` (`created_by_id`),
  ADD KEY `notification_preferences_updated_by_id_foreign` (`updated_by_id`),
  ADD KEY `user_notification_type_index` (`user_id`,`notification_type`);

--
-- Indexes for table `orders`
--
ALTER TABLE `orders`
  ADD PRIMARY KEY (`id`),
  ADD KEY `orders_client_id_foreign` (`client_id`),
  ADD KEY `orders_created_by_id_foreign` (`created_by_id`);

--
-- Indexes for table `order_items`
--
ALTER TABLE `order_items`
  ADD PRIMARY KEY (`id`),
  ADD KEY `order_items_order_id_foreign` (`order_id`),
  ADD KEY `order_items_product_id_foreign` (`product_id`);

--
-- Indexes for table `overtime_requests`
--
ALTER TABLE `overtime_requests`
  ADD PRIMARY KEY (`id`),
  ADD KEY `overtime_requests_user_id_foreign` (`user_id`),
  ADD KEY `overtime_requests_approved_by_foreign` (`approved_by`);

--
-- Indexes for table `password_reset_tokens`
--
ALTER TABLE `password_reset_tokens`
  ADD PRIMARY KEY (`email`);

--
-- Indexes for table `payments`
--
ALTER TABLE `payments`
  ADD PRIMARY KEY (`id`),
  ADD KEY `payments_subscription_id_foreign` (`subscription_id`),
  ADD KEY `payments_status_index` (`status`),
  ADD KEY `payments_tenant_id_status_index` (`tenant_id`,`status`),
  ADD KEY `payments_reference_number_index` (`reference_number`);

--
-- Indexes for table `payroll_adjustments`
--
ALTER TABLE `payroll_adjustments`
  ADD PRIMARY KEY (`id`),
  ADD KEY `payroll_adjustments_payroll_record_id_foreign` (`payroll_record_id`),
  ADD KEY `payroll_adjustments_created_by_foreign` (`created_by`);

--
-- Indexes for table `payroll_modifiers`
--
ALTER TABLE `payroll_modifiers`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `payroll_modifiers_code_unique` (`code`),
  ADD KEY `payroll_modifiers_user_id_foreign` (`user_id`);

--
-- Indexes for table `payroll_pending_statutory`
--
ALTER TABLE `payroll_pending_statutory`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `payroll_pending_statutory_payroll_period_id_user_id_unique` (`payroll_period_id`,`user_id`),
  ADD KEY `payroll_pending_statutory_user_id_foreign` (`user_id`),
  ADD KEY `payroll_pending_statutory_salary_structure_id_foreign` (`salary_structure_id`),
  ADD KEY `payroll_pending_statutory_approved_by_foreign` (`approved_by`);

--
-- Indexes for table `payroll_periods`
--
ALTER TABLE `payroll_periods`
  ADD PRIMARY KEY (`id`),
  ADD KEY `payroll_periods_pay_group_id_foreign` (`pay_group_id`);

--
-- Indexes for table `payroll_records`
--
ALTER TABLE `payroll_records`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `payroll_records_user_id_payroll_period_id_unique` (`user_id`,`payroll_period_id`),
  ADD KEY `payroll_records_payroll_period_id_foreign` (`payroll_period_id`),
  ADD KEY `payroll_records_approved_by_foreign` (`approved_by`);

--
-- Indexes for table `payroll_record_items`
--
ALTER TABLE `payroll_record_items`
  ADD PRIMARY KEY (`id`),
  ADD KEY `payroll_record_items_payroll_record_id_foreign` (`payroll_record_id`);

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

--
-- Indexes for table `pay_groups`
--
ALTER TABLE `pay_groups`
  ADD PRIMARY KEY (`id`),
  ADD KEY `pay_groups_tenant_id_index` (`tenant_id`);

--
-- Indexes for table `permissions`
--
ALTER TABLE `permissions`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `permissions_name_guard_name_unique` (`name`,`guard_name`);

--
-- Indexes for table `pipelines`
--
ALTER TABLE `pipelines`
  ADD PRIMARY KEY (`id`),
  ADD KEY `pipelines_created_by_id_foreign` (`created_by_id`);

--
-- Indexes for table `pipeline_stages`
--
ALTER TABLE `pipeline_stages`
  ADD PRIMARY KEY (`id`),
  ADD KEY `pipeline_stages_pipeline_id_foreign` (`pipeline_id`);

--
-- Indexes for table `plans`
--
ALTER TABLE `plans`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `plans_slug_unique` (`slug`),
  ADD KEY `plans_is_active_index` (`is_active`),
  ADD KEY `plans_is_featured_index` (`is_featured`),
  ADD KEY `plans_sort_order_index` (`sort_order`);

--
-- Indexes for table `pos_registers`
--
ALTER TABLE `pos_registers`
  ADD PRIMARY KEY (`id`),
  ADD KEY `pos_registers_user_id_foreign` (`user_id`);

--
-- Indexes for table `products`
--
ALTER TABLE `products`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `products_code_unique` (`code`);

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

--
-- Indexes for table `product_orders`
--
ALTER TABLE `product_orders`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `product_orders_order_number_unique` (`order_number`),
  ADD KEY `product_orders_user_id_foreign` (`user_id`),
  ADD KEY `product_orders_client_id_foreign` (`client_id`);

--
-- Indexes for table `projects`
--
ALTER TABLE `projects`
  ADD PRIMARY KEY (`id`),
  ADD KEY `projects_tenant_id_index` (`tenant_id`),
  ADD KEY `projects_client_id_index` (`client_id`),
  ADD KEY `projects_project_manager_id_index` (`project_manager_id`);

--
-- Indexes for table `project_settings`
--
ALTER TABLE `project_settings`
  ADD PRIMARY KEY (`id`),
  ADD KEY `project_settings_tenant_id_index` (`tenant_id`);

--
-- Indexes for table `project_tasks`
--
ALTER TABLE `project_tasks`
  ADD PRIMARY KEY (`id`),
  ADD KEY `project_tasks_project_id_foreign` (`project_id`);

--
-- Indexes for table `resource_allocations`
--
ALTER TABLE `resource_allocations`
  ADD PRIMARY KEY (`id`),
  ADD KEY `resource_allocations_tenant_id_index` (`tenant_id`),
  ADD KEY `resource_allocations_project_id_index` (`project_id`),
  ADD KEY `resource_allocations_user_id_index` (`user_id`);

--
-- Indexes for table `roles`
--
ALTER TABLE `roles`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `roles_name_guard_name_unique` (`name`,`guard_name`);

--
-- Indexes for table `role_has_permissions`
--
ALTER TABLE `role_has_permissions`
  ADD PRIMARY KEY (`permission_id`,`role_id`),
  ADD KEY `role_has_permissions_role_id_foreign` (`role_id`);

--
-- Indexes for table `saas_notification_templates`
--
ALTER TABLE `saas_notification_templates`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `saas_notification_templates_key_unique` (`key`);

--
-- Indexes for table `saas_settings`
--
ALTER TABLE `saas_settings`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `saas_settings_key_unique` (`key`),
  ADD KEY `saas_settings_key_index` (`key`);

--
-- Indexes for table `salary_components`
--
ALTER TABLE `salary_components`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `salary_components_code_unique` (`code`);

--
-- Indexes for table `sales_targets`
--
ALTER TABLE `sales_targets`
  ADD PRIMARY KEY (`id`),
  ADD KEY `sales_targets_user_id_foreign` (`user_id`);

--
-- Indexes for table `sessions`
--
ALTER TABLE `sessions`
  ADD PRIMARY KEY (`id`),
  ADD KEY `sessions_user_id_index` (`user_id`),
  ADD KEY `sessions_last_activity_index` (`last_activity`);

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

--
-- Indexes for table `shifts`
--
ALTER TABLE `shifts`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `shifts_code_unique` (`code`),
  ADD KEY `shifts_created_by_id_foreign` (`created_by_id`),
  ADD KEY `shifts_updated_by_id_foreign` (`updated_by_id`),
  ADD KEY `shifts_is_default_index` (`is_default`),
  ADD KEY `shifts_status_index` (`status`),
  ADD KEY `shifts_shift_type_index` (`shift_type`);

--
-- Indexes for table `subscriptions`
--
ALTER TABLE `subscriptions`
  ADD PRIMARY KEY (`id`),
  ADD KEY `subscriptions_plan_id_foreign` (`plan_id`),
  ADD KEY `subscriptions_status_index` (`status`),
  ADD KEY `subscriptions_tenant_id_status_index` (`tenant_id`,`status`),
  ADD KEY `subscriptions_ends_at_index` (`ends_at`);

--
-- Indexes for table `tax_rates`
--
ALTER TABLE `tax_rates`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `tax_rates_name_unique` (`name`),
  ADD KEY `tax_rates_is_active_is_default_index` (`is_active`,`is_default`),
  ADD KEY `tax_rates_name_index` (`name`),
  ADD KEY `tax_rates_tenant_id_index` (`tenant_id`);

--
-- Indexes for table `teams`
--
ALTER TABLE `teams`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `teams_code_unique` (`code`),
  ADD KEY `teams_team_head_id_foreign` (`team_head_id`),
  ADD KEY `teams_created_by_id_foreign` (`created_by_id`),
  ADD KEY `teams_updated_by_id_foreign` (`updated_by_id`);

--
-- Indexes for table `tenants`
--
ALTER TABLE `tenants`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `tenants_uuid_unique` (`uuid`),
  ADD UNIQUE KEY `tenants_email_unique` (`email`),
  ADD UNIQUE KEY `tenants_subdomain_unique` (`subdomain`),
  ADD UNIQUE KEY `tenants_custom_domain_unique` (`custom_domain`),
  ADD KEY `tenants_subdomain_index` (`subdomain`),
  ADD KEY `tenants_custom_domain_index` (`custom_domain`),
  ADD KEY `tenants_status_index` (`status`),
  ADD KEY `tenants_trial_ends_at_index` (`trial_ends_at`);

--
-- Indexes for table `tenant_databases`
--
ALTER TABLE `tenant_databases`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `tenant_databases_tenant_id_unique` (`tenant_id`),
  ADD KEY `tenant_databases_provisioning_status_index` (`provisioning_status`);

--
-- Indexes for table `time_entries`
--
ALTER TABLE `time_entries`
  ADD PRIMARY KEY (`id`),
  ADD KEY `time_entries_project_id_foreign` (`project_id`),
  ADD KEY `time_entries_user_id_foreign` (`user_id`),
  ADD KEY `time_entries_tenant_id_project_id_index` (`tenant_id`,`project_id`),
  ADD KEY `time_entries_tenant_id_user_id_index` (`tenant_id`,`user_id`),
  ADD KEY `time_entries_date_index` (`date`);

--
-- Indexes for table `users`
--
ALTER TABLE `users`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `users_code_unique` (`code`),
  ADD UNIQUE KEY `users_email_unique` (`email`),
  ADD UNIQUE KEY `users_user_name_unique` (`user_name`),
  ADD UNIQUE KEY `users_phone_unique` (`phone`),
  ADD KEY `users_reporting_to_id_foreign` (`reporting_to_id`),
  ADD KEY `users_created_by_id_foreign` (`created_by_id`),
  ADD KEY `users_updated_by_id_foreign` (`updated_by_id`),
  ADD KEY `users_shift_id_foreign` (`shift_id`),
  ADD KEY `users_team_id_foreign` (`team_id`),
  ADD KEY `users_designation_id_foreign` (`designation_id`),
  ADD KEY `users_probation_end_date_index` (`probation_end_date`),
  ADD KEY `users_exit_date_index` (`exit_date`),
  ADD KEY `users_termination_type_index` (`termination_type`);

--
-- Indexes for table `users_available_leaves`
--
ALTER TABLE `users_available_leaves`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `user_leave_year_unique` (`user_id`,`leave_type_id`,`year`),
  ADD KEY `users_available_leaves_leave_type_id_foreign` (`leave_type_id`),
  ADD KEY `users_available_leaves_created_by_id_foreign` (`created_by_id`),
  ADD KEY `users_available_leaves_updated_by_id_foreign` (`updated_by_id`);

--
-- Indexes for table `user_settings`
--
ALTER TABLE `user_settings`
  ADD PRIMARY KEY (`id`),
  ADD KEY `user_settings_user_id_foreign` (`user_id`),
  ADD KEY `user_settings_created_by_id_foreign` (`created_by_id`),
  ADD KEY `user_settings_updated_by_id_foreign` (`updated_by_id`);

--
-- Indexes for table `user_statuses`
--
ALTER TABLE `user_statuses`
  ADD PRIMARY KEY (`id`),
  ADD KEY `user_statuses_user_id_foreign` (`user_id`),
  ADD KEY `user_statuses_created_by_id_foreign` (`created_by_id`),
  ADD KEY `user_statuses_updated_by_id_foreign` (`updated_by_id`);

--
-- Indexes for table `visits`
--
ALTER TABLE `visits`
  ADD PRIMARY KEY (`id`),
  ADD KEY `visits_client_id_foreign` (`client_id`),
  ADD KEY `visits_created_by_id_foreign` (`created_by_id`),
  ADD KEY `visits_attendance_log_id_foreign` (`attendance_log_id`);

--
-- Indexes for table `webhook_events`
--
ALTER TABLE `webhook_events`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `webhook_events_event_id_unique` (`event_id`),
  ADD KEY `webhook_events_gateway_event_type_index` (`gateway`,`event_type`),
  ADD KEY `webhook_events_status_created_at_index` (`status`,`created_at`);

--
-- AUTO_INCREMENT for dumped tables
--

--
-- AUTO_INCREMENT for table `accounting_migrations`
--
ALTER TABLE `accounting_migrations`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `adms_device_registry`
--
ALTER TABLE `adms_device_registry`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2;

--
-- AUTO_INCREMENT for table `attendances`
--
ALTER TABLE `attendances`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=467;

--
-- AUTO_INCREMENT for table `attendance_devices`
--
ALTER TABLE `attendance_devices`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3;

--
-- AUTO_INCREMENT for table `attendance_logs`
--
ALTER TABLE `attendance_logs`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=240;

--
-- AUTO_INCREMENT for table `attendance_regularizations`
--
ALTER TABLE `attendance_regularizations`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `audits`
--
ALTER TABLE `audits`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=189;

--
-- AUTO_INCREMENT for table `bank_accounts`
--
ALTER TABLE `bank_accounts`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `basic_transactions`
--
ALTER TABLE `basic_transactions`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `basic_transaction_categories`
--
ALTER TABLE `basic_transaction_categories`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `clients`
--
ALTER TABLE `clients`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `companies`
--
ALTER TABLE `companies`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `compensatory_offs`
--
ALTER TABLE `compensatory_offs`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `core_brands`
--
ALTER TABLE `core_brands`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `core_combo_items`
--
ALTER TABLE `core_combo_items`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `core_customers`
--
ALTER TABLE `core_customers`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `core_order_items`
--
ALTER TABLE `core_order_items`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `core_payment_terms`
--
ALTER TABLE `core_payment_terms`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `core_products`
--
ALTER TABLE `core_products`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `core_product_categories`
--
ALTER TABLE `core_product_categories`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `core_purchase_orders`
--
ALTER TABLE `core_purchase_orders`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `core_sales_orders`
--
ALTER TABLE `core_sales_orders`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `core_suppliers`
--
ALTER TABLE `core_suppliers`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `core_tax_configurations`
--
ALTER TABLE `core_tax_configurations`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `core_units`
--
ALTER TABLE `core_units`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `customer_groups`
--
ALTER TABLE `customer_groups`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `deals`
--
ALTER TABLE `deals`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `departments`
--
ALTER TABLE `departments`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3;

--
-- AUTO_INCREMENT for table `designations`
--
ALTER TABLE `designations`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=9;

--
-- AUTO_INCREMENT for table `device_sync_logs`
--
ALTER TABLE `device_sync_logs`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `employee_daily_shifts`
--
ALTER TABLE `employee_daily_shifts`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=879;

--
-- AUTO_INCREMENT for table `employee_lifecycle_events`
--
ALTER TABLE `employee_lifecycle_events`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `employee_salary_items`
--
ALTER TABLE `employee_salary_items`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=233;

--
-- AUTO_INCREMENT for table `employee_salary_structures`
--
ALTER TABLE `employee_salary_structures`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=60;

--
-- AUTO_INCREMENT for table `expense_requests`
--
ALTER TABLE `expense_requests`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `expense_types`
--
ALTER TABLE `expense_types`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `face_data`
--
ALTER TABLE `face_data`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `face_matching_settings`
--
ALTER TABLE `face_matching_settings`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `fcm_tokens`
--
ALTER TABLE `fcm_tokens`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `field_manager_activities`
--
ALTER TABLE `field_manager_activities`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=9;

--
-- AUTO_INCREMENT for table `field_manager_sos`
--
ALTER TABLE `field_manager_sos`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `field_manager_user_devices`
--
ALTER TABLE `field_manager_user_devices`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=5;

--
-- AUTO_INCREMENT for table `free_trial_requests`
--
ALTER TABLE `free_trial_requests`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `holidays`
--
ALTER TABLE `holidays`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=26;

--
-- AUTO_INCREMENT for table `inventory_adjustments`
--
ALTER TABLE `inventory_adjustments`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `inventory_adjustment_items`
--
ALTER TABLE `inventory_adjustment_items`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `inventory_deliveries`
--
ALTER TABLE `inventory_deliveries`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `inventory_delivery_items`
--
ALTER TABLE `inventory_delivery_items`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `inventory_goods_receipts`
--
ALTER TABLE `inventory_goods_receipts`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `inventory_goods_receipt_items`
--
ALTER TABLE `inventory_goods_receipt_items`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `inventory_items`
--
ALTER TABLE `inventory_items`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `inventory_reservations`
--
ALTER TABLE `inventory_reservations`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `inventory_returns`
--
ALTER TABLE `inventory_returns`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `inventory_stocks`
--
ALTER TABLE `inventory_stocks`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `inventory_transfers`
--
ALTER TABLE `inventory_transfers`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `inventory_transfer_items`
--
ALTER TABLE `inventory_transfer_items`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `inventory_warehouses`
--
ALTER TABLE `inventory_warehouses`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `jobs`
--
ALTER TABLE `jobs`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `leads`
--
ALTER TABLE `leads`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `lead_documents`
--
ALTER TABLE `lead_documents`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `lead_labels`
--
ALTER TABLE `lead_labels`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=4;

--
-- AUTO_INCREMENT for table `lead_notes`
--
ALTER TABLE `lead_notes`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `lead_sources`
--
ALTER TABLE `lead_sources`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `lead_statuses`
--
ALTER TABLE `lead_statuses`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=8;

--
-- AUTO_INCREMENT for table `leave_accruals`
--
ALTER TABLE `leave_accruals`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `leave_balance_adjustments`
--
ALTER TABLE `leave_balance_adjustments`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=45;

--
-- AUTO_INCREMENT for table `leave_requests`
--
ALTER TABLE `leave_requests`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2;

--
-- AUTO_INCREMENT for table `leave_types`
--
ALTER TABLE `leave_types`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=5;

--
-- AUTO_INCREMENT for table `loan`
--
ALTER TABLE `loan`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `loans`
--
ALTER TABLE `loans`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `loan_repayments`
--
ALTER TABLE `loan_repayments`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `loan_requests`
--
ALTER TABLE `loan_requests`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3;

--
-- AUTO_INCREMENT for table `loan_settings`
--
ALTER TABLE `loan_settings`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2;

--
-- AUTO_INCREMENT for table `loan_types`
--
ALTER TABLE `loan_types`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=5;

--
-- AUTO_INCREMENT for table `migrations`
--
ALTER TABLE `migrations`
  MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=166;

--
-- AUTO_INCREMENT for table `module_settings`
--
ALTER TABLE `module_settings`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=12;

--
-- AUTO_INCREMENT for table `notification_preferences`
--
ALTER TABLE `notification_preferences`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `orders`
--
ALTER TABLE `orders`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `order_items`
--
ALTER TABLE `order_items`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `overtime_requests`
--
ALTER TABLE `overtime_requests`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `payments`
--
ALTER TABLE `payments`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `payroll_adjustments`
--
ALTER TABLE `payroll_adjustments`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `payroll_modifiers`
--
ALTER TABLE `payroll_modifiers`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `payroll_pending_statutory`
--
ALTER TABLE `payroll_pending_statutory`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `payroll_periods`
--
ALTER TABLE `payroll_periods`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2;

--
-- AUTO_INCREMENT for table `payroll_records`
--
ALTER TABLE `payroll_records`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=11;

--
-- AUTO_INCREMENT for table `payroll_record_items`
--
ALTER TABLE `payroll_record_items`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=92;

--
-- AUTO_INCREMENT for table `payroll_settings`
--
ALTER TABLE `payroll_settings`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2;

--
-- AUTO_INCREMENT for table `pay_groups`
--
ALTER TABLE `pay_groups`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=6;

--
-- AUTO_INCREMENT for table `permissions`
--
ALTER TABLE `permissions`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=242;

--
-- AUTO_INCREMENT for table `pipelines`
--
ALTER TABLE `pipelines`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `pipeline_stages`
--
ALTER TABLE `pipeline_stages`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `plans`
--
ALTER TABLE `plans`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `pos_registers`
--
ALTER TABLE `pos_registers`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `products`
--
ALTER TABLE `products`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `product_categories`
--
ALTER TABLE `product_categories`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `product_orders`
--
ALTER TABLE `product_orders`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `projects`
--
ALTER TABLE `projects`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `project_settings`
--
ALTER TABLE `project_settings`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `project_tasks`
--
ALTER TABLE `project_tasks`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `resource_allocations`
--
ALTER TABLE `resource_allocations`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `roles`
--
ALTER TABLE `roles`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=16;

--
-- AUTO_INCREMENT for table `saas_notification_templates`
--
ALTER TABLE `saas_notification_templates`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `saas_settings`
--
ALTER TABLE `saas_settings`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `salary_components`
--
ALTER TABLE `salary_components`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=16;

--
-- AUTO_INCREMENT for table `sales_targets`
--
ALTER TABLE `sales_targets`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `settings`
--
ALTER TABLE `settings`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2;

--
-- AUTO_INCREMENT for table `shifts`
--
ALTER TABLE `shifts`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=49;

--
-- AUTO_INCREMENT for table `subscriptions`
--
ALTER TABLE `subscriptions`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `tax_rates`
--
ALTER TABLE `tax_rates`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `teams`
--
ALTER TABLE `teams`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3;

--
-- AUTO_INCREMENT for table `tenants`
--
ALTER TABLE `tenants`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `tenant_databases`
--
ALTER TABLE `tenant_databases`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `time_entries`
--
ALTER TABLE `time_entries`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `users`
--
ALTER TABLE `users`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=11;

--
-- AUTO_INCREMENT for table `users_available_leaves`
--
ALTER TABLE `users_available_leaves`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=33;

--
-- AUTO_INCREMENT for table `user_settings`
--
ALTER TABLE `user_settings`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `user_statuses`
--
ALTER TABLE `user_statuses`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `visits`
--
ALTER TABLE `visits`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `webhook_events`
--
ALTER TABLE `webhook_events`
  MODIFY `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- Constraints for dumped tables
--

--
-- Constraints for table `accounting_migrations`
--
ALTER TABLE `accounting_migrations`
  ADD CONSTRAINT `accounting_migrations_basic_transaction_id_foreign` FOREIGN KEY (`basic_transaction_id`) REFERENCES `basic_transactions` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `attendances`
--
ALTER TABLE `attendances`
  ADD CONSTRAINT `attendances_approved_by_id_foreign` FOREIGN KEY (`approved_by_id`) REFERENCES `users` (`id`) ON DELETE SET NULL,
  ADD CONSTRAINT `attendances_created_by_id_foreign` FOREIGN KEY (`created_by_id`) REFERENCES `users` (`id`) ON DELETE SET NULL,
  ADD CONSTRAINT `attendances_shift_id_foreign` FOREIGN KEY (`shift_id`) REFERENCES `shifts` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `attendances_updated_by_id_foreign` FOREIGN KEY (`updated_by_id`) REFERENCES `users` (`id`) ON DELETE SET NULL,
  ADD CONSTRAINT `attendances_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `attendance_logs`
--
ALTER TABLE `attendance_logs`
  ADD CONSTRAINT `attendance_logs_attendance_id_foreign` FOREIGN KEY (`attendance_id`) REFERENCES `attendances` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `attendance_logs_created_by_id_foreign` FOREIGN KEY (`created_by_id`) REFERENCES `users` (`id`) ON DELETE SET NULL,
  ADD CONSTRAINT `attendance_logs_shift_id_foreign` FOREIGN KEY (`shift_id`) REFERENCES `shifts` (`id`) ON DELETE SET NULL,
  ADD CONSTRAINT `attendance_logs_updated_by_id_foreign` FOREIGN KEY (`updated_by_id`) REFERENCES `users` (`id`) ON DELETE SET NULL,
  ADD CONSTRAINT `attendance_logs_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `bank_accounts`
--
ALTER TABLE `bank_accounts`
  ADD CONSTRAINT `bank_accounts_created_by_id_foreign` FOREIGN KEY (`created_by_id`) REFERENCES `users` (`id`) ON DELETE SET NULL,
  ADD CONSTRAINT `bank_accounts_updated_by_id_foreign` FOREIGN KEY (`updated_by_id`) REFERENCES `users` (`id`) ON DELETE SET NULL,
  ADD CONSTRAINT `bank_accounts_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `basic_transactions`
--
ALTER TABLE `basic_transactions`
  ADD CONSTRAINT `basic_transactions_category_id_foreign` FOREIGN KEY (`category_id`) REFERENCES `basic_transaction_categories` (`id`);

--
-- Constraints for table `basic_transaction_categories`
--
ALTER TABLE `basic_transaction_categories`
  ADD CONSTRAINT `basic_transaction_categories_parent_id_foreign` FOREIGN KEY (`parent_id`) REFERENCES `basic_transaction_categories` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `clients`
--
ALTER TABLE `clients`
  ADD CONSTRAINT `clients_assigned_to_foreign` FOREIGN KEY (`assigned_to`) REFERENCES `users` (`id`),
  ADD CONSTRAINT `clients_created_by_id_foreign` FOREIGN KEY (`created_by_id`) REFERENCES `users` (`id`);

--
-- Constraints for table `companies`
--
ALTER TABLE `companies`
  ADD CONSTRAINT `companies_created_by_id_foreign` FOREIGN KEY (`created_by_id`) REFERENCES `users` (`id`),
  ADD CONSTRAINT `companies_customer_group_id_foreign` FOREIGN KEY (`customer_group_id`) REFERENCES `customer_groups` (`id`) ON DELETE SET NULL;

--
-- Constraints for table `compensatory_offs`
--
ALTER TABLE `compensatory_offs`
  ADD CONSTRAINT `compensatory_offs_created_by_id_foreign` FOREIGN KEY (`created_by_id`) REFERENCES `users` (`id`) ON DELETE SET NULL,
  ADD CONSTRAINT `compensatory_offs_leave_request_id_foreign` FOREIGN KEY (`leave_request_id`) REFERENCES `leave_requests` (`id`) ON DELETE SET NULL,
  ADD CONSTRAINT `compensatory_offs_updated_by_id_foreign` FOREIGN KEY (`updated_by_id`) REFERENCES `users` (`id`) ON DELETE SET NULL,
  ADD CONSTRAINT `compensatory_offs_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `core_combo_items`
--
ALTER TABLE `core_combo_items`
  ADD CONSTRAINT `core_combo_items_item_product_id_foreign` FOREIGN KEY (`item_product_id`) REFERENCES `core_products` (`id`),
  ADD CONSTRAINT `core_combo_items_product_id_foreign` FOREIGN KEY (`product_id`) REFERENCES `core_products` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `core_customers`
--
ALTER TABLE `core_customers`
  ADD CONSTRAINT `core_customers_created_by_id_foreign` FOREIGN KEY (`created_by_id`) REFERENCES `users` (`id`) ON DELETE SET NULL,
  ADD CONSTRAINT `core_customers_payment_term_id_foreign` FOREIGN KEY (`payment_term_id`) REFERENCES `core_payment_terms` (`id`) ON DELETE SET NULL;

--
-- Constraints for table `core_order_items`
--
ALTER TABLE `core_order_items`
  ADD CONSTRAINT `core_order_items_product_id_foreign` FOREIGN KEY (`product_id`) REFERENCES `core_products` (`id`) ON DELETE SET NULL;

--
-- Constraints for table `core_products`
--
ALTER TABLE `core_products`
  ADD CONSTRAINT `core_products_brand_id_foreign` FOREIGN KEY (`brand_id`) REFERENCES `core_brands` (`id`) ON DELETE SET NULL,
  ADD CONSTRAINT `core_products_category_id_foreign` FOREIGN KEY (`category_id`) REFERENCES `core_product_categories` (`id`) ON DELETE SET NULL,
  ADD CONSTRAINT `core_products_created_by_id_foreign` FOREIGN KEY (`created_by_id`) REFERENCES `users` (`id`) ON DELETE SET NULL,
  ADD CONSTRAINT `core_products_purchase_unit_id_foreign` FOREIGN KEY (`purchase_unit_id`) REFERENCES `core_units` (`id`) ON DELETE SET NULL,
  ADD CONSTRAINT `core_products_unit_id_foreign` FOREIGN KEY (`unit_id`) REFERENCES `core_units` (`id`) ON DELETE SET NULL;

--
-- Constraints for table `core_product_categories`
--
ALTER TABLE `core_product_categories`
  ADD CONSTRAINT `core_product_categories_parent_id_foreign` FOREIGN KEY (`parent_id`) REFERENCES `core_product_categories` (`id`) ON DELETE SET NULL;

--
-- Constraints for table `core_purchase_orders`
--
ALTER TABLE `core_purchase_orders`
  ADD CONSTRAINT `core_purchase_orders_created_by_id_foreign` FOREIGN KEY (`created_by_id`) REFERENCES `users` (`id`) ON DELETE SET NULL,
  ADD CONSTRAINT `core_purchase_orders_supplier_id_foreign` FOREIGN KEY (`supplier_id`) REFERENCES `core_suppliers` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `core_purchase_orders_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE SET NULL;

--
-- Constraints for table `core_sales_orders`
--
ALTER TABLE `core_sales_orders`
  ADD CONSTRAINT `core_sales_orders_created_by_id_foreign` FOREIGN KEY (`created_by_id`) REFERENCES `users` (`id`) ON DELETE SET NULL,
  ADD CONSTRAINT `core_sales_orders_customer_id_foreign` FOREIGN KEY (`customer_id`) REFERENCES `core_customers` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `core_sales_orders_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE SET NULL;

--
-- Constraints for table `core_suppliers`
--
ALTER TABLE `core_suppliers`
  ADD CONSTRAINT `core_suppliers_created_by_id_foreign` FOREIGN KEY (`created_by_id`) REFERENCES `users` (`id`) ON DELETE SET NULL,
  ADD CONSTRAINT `core_suppliers_payment_term_id_foreign` FOREIGN KEY (`payment_term_id`) REFERENCES `core_payment_terms` (`id`) ON DELETE SET NULL;

--
-- Constraints for table `core_units`
--
ALTER TABLE `core_units`
  ADD CONSTRAINT `core_units_base_unit_id_foreign` FOREIGN KEY (`base_unit_id`) REFERENCES `core_units` (`id`) ON DELETE SET NULL;

--
-- Constraints for table `customer_groups`
--
ALTER TABLE `customer_groups`
  ADD CONSTRAINT `customer_groups_created_by_id_foreign` FOREIGN KEY (`created_by_id`) REFERENCES `users` (`id`);

--
-- Constraints for table `deals`
--
ALTER TABLE `deals`
  ADD CONSTRAINT `deals_assigned_to_foreign` FOREIGN KEY (`assigned_to`) REFERENCES `users` (`id`),
  ADD CONSTRAINT `deals_client_id_foreign` FOREIGN KEY (`client_id`) REFERENCES `clients` (`id`) ON DELETE SET NULL,
  ADD CONSTRAINT `deals_created_by_id_foreign` FOREIGN KEY (`created_by_id`) REFERENCES `users` (`id`),
  ADD CONSTRAINT `deals_lead_id_foreign` FOREIGN KEY (`lead_id`) REFERENCES `leads` (`id`) ON DELETE SET NULL,
  ADD CONSTRAINT `deals_pipeline_id_foreign` FOREIGN KEY (`pipeline_id`) REFERENCES `pipelines` (`id`),
  ADD CONSTRAINT `deals_pipeline_stage_id_foreign` FOREIGN KEY (`pipeline_stage_id`) REFERENCES `pipeline_stages` (`id`);

--
-- Constraints for table `departments`
--
ALTER TABLE `departments`
  ADD CONSTRAINT `departments_created_by_id_foreign` FOREIGN KEY (`created_by_id`) REFERENCES `users` (`id`) ON DELETE SET NULL,
  ADD CONSTRAINT `departments_parent_id_foreign` FOREIGN KEY (`parent_id`) REFERENCES `departments` (`id`) ON DELETE SET NULL,
  ADD CONSTRAINT `departments_updated_by_id_foreign` FOREIGN KEY (`updated_by_id`) REFERENCES `users` (`id`) ON DELETE SET NULL;

--
-- Constraints for table `designations`
--
ALTER TABLE `designations`
  ADD CONSTRAINT `designations_created_by_id_foreign` FOREIGN KEY (`created_by_id`) REFERENCES `users` (`id`) ON DELETE SET NULL,
  ADD CONSTRAINT `designations_department_id_foreign` FOREIGN KEY (`department_id`) REFERENCES `departments` (`id`) ON DELETE SET NULL,
  ADD CONSTRAINT `designations_parent_id_foreign` FOREIGN KEY (`parent_id`) REFERENCES `designations` (`id`) ON DELETE SET NULL,
  ADD CONSTRAINT `designations_updated_by_id_foreign` FOREIGN KEY (`updated_by_id`) REFERENCES `users` (`id`) ON DELETE SET NULL;

--
-- Constraints for table `device_sync_logs`
--
ALTER TABLE `device_sync_logs`
  ADD CONSTRAINT `device_sync_logs_attendance_device_id_foreign` FOREIGN KEY (`attendance_device_id`) REFERENCES `attendance_devices` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `employee_daily_shifts`
--
ALTER TABLE `employee_daily_shifts`
  ADD CONSTRAINT `employee_daily_shifts_shift_id_foreign` FOREIGN KEY (`shift_id`) REFERENCES `shifts` (`id`),
  ADD CONSTRAINT `employee_daily_shifts_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `employee_lifecycle_events`
--
ALTER TABLE `employee_lifecycle_events`
  ADD CONSTRAINT `employee_lifecycle_events_triggered_by_id_foreign` FOREIGN KEY (`triggered_by_id`) REFERENCES `users` (`id`) ON DELETE SET NULL,
  ADD CONSTRAINT `employee_lifecycle_events_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `employee_salary_items`
--
ALTER TABLE `employee_salary_items`
  ADD CONSTRAINT `employee_salary_items_employee_salary_structure_id_foreign` FOREIGN KEY (`employee_salary_structure_id`) REFERENCES `employee_salary_structures` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `employee_salary_items_salary_component_id_foreign` FOREIGN KEY (`salary_component_id`) REFERENCES `salary_components` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `employee_salary_structures`
--
ALTER TABLE `employee_salary_structures`
  ADD CONSTRAINT `employee_salary_structures_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `expense_requests`
--
ALTER TABLE `expense_requests`
  ADD CONSTRAINT `expense_requests_approved_by_id_foreign` FOREIGN KEY (`approved_by_id`) REFERENCES `users` (`id`) ON DELETE SET NULL,
  ADD CONSTRAINT `expense_requests_created_by_id_foreign` FOREIGN KEY (`created_by_id`) REFERENCES `users` (`id`) ON DELETE SET NULL,
  ADD CONSTRAINT `expense_requests_expense_type_id_foreign` FOREIGN KEY (`expense_type_id`) REFERENCES `expense_types` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `expense_requests_rejected_by_id_foreign` FOREIGN KEY (`rejected_by_id`) REFERENCES `users` (`id`) ON DELETE SET NULL,
  ADD CONSTRAINT `expense_requests_updated_by_id_foreign` FOREIGN KEY (`updated_by_id`) REFERENCES `users` (`id`) ON DELETE SET NULL,
  ADD CONSTRAINT `expense_requests_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `expense_types`
--
ALTER TABLE `expense_types`
  ADD CONSTRAINT `expense_types_created_by_id_foreign` FOREIGN KEY (`created_by_id`) REFERENCES `users` (`id`) ON DELETE SET NULL,
  ADD CONSTRAINT `expense_types_updated_by_id_foreign` FOREIGN KEY (`updated_by_id`) REFERENCES `users` (`id`) ON DELETE SET NULL;

--
-- Constraints for table `face_data`
--
ALTER TABLE `face_data`
  ADD CONSTRAINT `face_data_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `fcm_tokens`
--
ALTER TABLE `fcm_tokens`
  ADD CONSTRAINT `fcm_tokens_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `field_manager_activities`
--
ALTER TABLE `field_manager_activities`
  ADD CONSTRAINT `field_manager_activities_attendance_log_id_foreign` FOREIGN KEY (`attendance_log_id`) REFERENCES `attendance_logs` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `field_manager_user_devices`
--
ALTER TABLE `field_manager_user_devices`
  ADD CONSTRAINT `field_manager_user_devices_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `holidays`
--
ALTER TABLE `holidays`
  ADD CONSTRAINT `holidays_approved_by_id_foreign` FOREIGN KEY (`approved_by_id`) REFERENCES `users` (`id`) ON DELETE SET NULL,
  ADD CONSTRAINT `holidays_created_by_id_foreign` FOREIGN KEY (`created_by_id`) REFERENCES `users` (`id`) ON DELETE SET NULL,
  ADD CONSTRAINT `holidays_updated_by_id_foreign` FOREIGN KEY (`updated_by_id`) REFERENCES `users` (`id`) ON DELETE SET NULL;

--
-- Constraints for table `inventory_adjustment_items`
--
ALTER TABLE `inventory_adjustment_items`
  ADD CONSTRAINT `inventory_adjustment_items_adjustment_id_foreign` FOREIGN KEY (`adjustment_id`) REFERENCES `inventory_adjustments` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `inventory_delivery_items`
--
ALTER TABLE `inventory_delivery_items`
  ADD CONSTRAINT `inventory_delivery_items_delivery_id_foreign` FOREIGN KEY (`delivery_id`) REFERENCES `inventory_deliveries` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `inventory_goods_receipt_items`
--
ALTER TABLE `inventory_goods_receipt_items`
  ADD CONSTRAINT `inventory_goods_receipt_items_grn_id_foreign` FOREIGN KEY (`grn_id`) REFERENCES `inventory_goods_receipts` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `inventory_transfer_items`
--
ALTER TABLE `inventory_transfer_items`
  ADD CONSTRAINT `inventory_transfer_items_transfer_id_foreign` FOREIGN KEY (`transfer_id`) REFERENCES `inventory_transfers` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `inventory_warehouses`
--
ALTER TABLE `inventory_warehouses`
  ADD CONSTRAINT `inventory_warehouses_parent_id_foreign` FOREIGN KEY (`parent_id`) REFERENCES `inventory_warehouses` (`id`) ON DELETE SET NULL;

--
-- Constraints for table `leads`
--
ALTER TABLE `leads`
  ADD CONSTRAINT `leads_assigned_to_foreign` FOREIGN KEY (`assigned_to`) REFERENCES `users` (`id`),
  ADD CONSTRAINT `leads_converted_client_id_foreign` FOREIGN KEY (`converted_client_id`) REFERENCES `clients` (`id`),
  ADD CONSTRAINT `leads_created_by_id_foreign` FOREIGN KEY (`created_by_id`) REFERENCES `users` (`id`);

--
-- Constraints for table `lead_documents`
--
ALTER TABLE `lead_documents`
  ADD CONSTRAINT `lead_documents_created_by_id_foreign` FOREIGN KEY (`created_by_id`) REFERENCES `users` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `lead_documents_lead_id_foreign` FOREIGN KEY (`lead_id`) REFERENCES `leads` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `lead_labels`
--
ALTER TABLE `lead_labels`
  ADD CONSTRAINT `lead_labels_created_by_id_foreign` FOREIGN KEY (`created_by_id`) REFERENCES `users` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `lead_label_pivot`
--
ALTER TABLE `lead_label_pivot`
  ADD CONSTRAINT `lead_label_pivot_lead_id_foreign` FOREIGN KEY (`lead_id`) REFERENCES `leads` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `lead_label_pivot_lead_label_id_foreign` FOREIGN KEY (`lead_label_id`) REFERENCES `lead_labels` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `lead_notes`
--
ALTER TABLE `lead_notes`
  ADD CONSTRAINT `lead_notes_created_by_id_foreign` FOREIGN KEY (`created_by_id`) REFERENCES `users` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `lead_notes_lead_id_foreign` FOREIGN KEY (`lead_id`) REFERENCES `leads` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `lead_sources`
--
ALTER TABLE `lead_sources`
  ADD CONSTRAINT `lead_sources_created_by_id_foreign` FOREIGN KEY (`created_by_id`) REFERENCES `users` (`id`);

--
-- Constraints for table `lead_statuses`
--
ALTER TABLE `lead_statuses`
  ADD CONSTRAINT `lead_statuses_created_by_id_foreign` FOREIGN KEY (`created_by_id`) REFERENCES `users` (`id`);

--
-- Constraints for table `leave_accruals`
--
ALTER TABLE `leave_accruals`
  ADD CONSTRAINT `leave_accruals_created_by_id_foreign` FOREIGN KEY (`created_by_id`) REFERENCES `users` (`id`) ON DELETE SET NULL,
  ADD CONSTRAINT `leave_accruals_leave_type_id_foreign` FOREIGN KEY (`leave_type_id`) REFERENCES `leave_types` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `leave_accruals_updated_by_id_foreign` FOREIGN KEY (`updated_by_id`) REFERENCES `users` (`id`) ON DELETE SET NULL,
  ADD CONSTRAINT `leave_accruals_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `leave_balance_adjustments`
--
ALTER TABLE `leave_balance_adjustments`
  ADD CONSTRAINT `leave_balance_adjustments_created_by_id_foreign` FOREIGN KEY (`created_by_id`) REFERENCES `users` (`id`) ON DELETE SET NULL,
  ADD CONSTRAINT `leave_balance_adjustments_leave_type_id_foreign` FOREIGN KEY (`leave_type_id`) REFERENCES `leave_types` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `leave_balance_adjustments_updated_by_id_foreign` FOREIGN KEY (`updated_by_id`) REFERENCES `users` (`id`) ON DELETE SET NULL,
  ADD CONSTRAINT `leave_balance_adjustments_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `leave_requests`
--
ALTER TABLE `leave_requests`
  ADD CONSTRAINT `leave_requests_created_by_id_foreign` FOREIGN KEY (`created_by_id`) REFERENCES `users` (`id`) ON DELETE SET NULL,
  ADD CONSTRAINT `leave_requests_leave_type_id_foreign` FOREIGN KEY (`leave_type_id`) REFERENCES `leave_types` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `leave_requests_updated_by_id_foreign` FOREIGN KEY (`updated_by_id`) REFERENCES `users` (`id`) ON DELETE SET NULL,
  ADD CONSTRAINT `leave_requests_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `leave_types`
--
ALTER TABLE `leave_types`
  ADD CONSTRAINT `leave_types_created_by_id_foreign` FOREIGN KEY (`created_by_id`) REFERENCES `users` (`id`) ON DELETE SET NULL,
  ADD CONSTRAINT `leave_types_updated_by_id_foreign` FOREIGN KEY (`updated_by_id`) REFERENCES `users` (`id`) ON DELETE SET NULL;

--
-- Constraints for table `loans`
--
ALTER TABLE `loans`
  ADD CONSTRAINT `loans_approved_by_foreign` FOREIGN KEY (`approved_by`) REFERENCES `users` (`id`),
  ADD CONSTRAINT `loans_loan_type_id_foreign` FOREIGN KEY (`loan_type_id`) REFERENCES `loan_types` (`id`),
  ADD CONSTRAINT `loans_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `loan_repayments`
--
ALTER TABLE `loan_repayments`
  ADD CONSTRAINT `loan_repayments_loan_id_foreign` FOREIGN KEY (`loan_id`) REFERENCES `loans` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `loan_requests`
--
ALTER TABLE `loan_requests`
  ADD CONSTRAINT `loan_requests_ibfk_1` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `loan_requests_ibfk_2` FOREIGN KEY (`loan_type_id`) REFERENCES `loan_types` (`id`);

--
-- Constraints for table `model_has_permissions`
--
ALTER TABLE `model_has_permissions`
  ADD CONSTRAINT `model_has_permissions_permission_id_foreign` FOREIGN KEY (`permission_id`) REFERENCES `permissions` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `model_has_roles`
--
ALTER TABLE `model_has_roles`
  ADD CONSTRAINT `model_has_roles_role_id_foreign` FOREIGN KEY (`role_id`) REFERENCES `roles` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `notification_preferences`
--
ALTER TABLE `notification_preferences`
  ADD CONSTRAINT `notification_preferences_created_by_id_foreign` FOREIGN KEY (`created_by_id`) REFERENCES `users` (`id`) ON DELETE SET NULL,
  ADD CONSTRAINT `notification_preferences_updated_by_id_foreign` FOREIGN KEY (`updated_by_id`) REFERENCES `users` (`id`) ON DELETE SET NULL,
  ADD CONSTRAINT `notification_preferences_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `orders`
--
ALTER TABLE `orders`
  ADD CONSTRAINT `orders_client_id_foreign` FOREIGN KEY (`client_id`) REFERENCES `clients` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `orders_created_by_id_foreign` FOREIGN KEY (`created_by_id`) REFERENCES `users` (`id`);

--
-- Constraints for table `order_items`
--
ALTER TABLE `order_items`
  ADD CONSTRAINT `order_items_order_id_foreign` FOREIGN KEY (`order_id`) REFERENCES `product_orders` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `order_items_product_id_foreign` FOREIGN KEY (`product_id`) REFERENCES `products` (`id`) ON DELETE SET NULL;

--
-- Constraints for table `overtime_requests`
--
ALTER TABLE `overtime_requests`
  ADD CONSTRAINT `overtime_requests_approved_by_foreign` FOREIGN KEY (`approved_by`) REFERENCES `users` (`id`) ON DELETE SET NULL,
  ADD CONSTRAINT `overtime_requests_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `payments`
--
ALTER TABLE `payments`
  ADD CONSTRAINT `payments_subscription_id_foreign` FOREIGN KEY (`subscription_id`) REFERENCES `subscriptions` (`id`) ON DELETE SET NULL,
  ADD CONSTRAINT `payments_tenant_id_foreign` FOREIGN KEY (`tenant_id`) REFERENCES `tenants` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `payroll_adjustments`
--
ALTER TABLE `payroll_adjustments`
  ADD CONSTRAINT `payroll_adjustments_created_by_foreign` FOREIGN KEY (`created_by`) REFERENCES `users` (`id`),
  ADD CONSTRAINT `payroll_adjustments_payroll_record_id_foreign` FOREIGN KEY (`payroll_record_id`) REFERENCES `payroll_records` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `payroll_modifiers`
--
ALTER TABLE `payroll_modifiers`
  ADD CONSTRAINT `payroll_modifiers_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `payroll_pending_statutory`
--
ALTER TABLE `payroll_pending_statutory`
  ADD CONSTRAINT `payroll_pending_statutory_approved_by_foreign` FOREIGN KEY (`approved_by`) REFERENCES `users` (`id`) ON DELETE SET NULL,
  ADD CONSTRAINT `payroll_pending_statutory_payroll_period_id_foreign` FOREIGN KEY (`payroll_period_id`) REFERENCES `payroll_periods` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `payroll_pending_statutory_salary_structure_id_foreign` FOREIGN KEY (`salary_structure_id`) REFERENCES `employee_salary_structures` (`id`) ON DELETE SET NULL,
  ADD CONSTRAINT `payroll_pending_statutory_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `payroll_periods`
--
ALTER TABLE `payroll_periods`
  ADD CONSTRAINT `payroll_periods_pay_group_id_foreign` FOREIGN KEY (`pay_group_id`) REFERENCES `pay_groups` (`id`) ON DELETE SET NULL;

--
-- Constraints for table `payroll_records`
--
ALTER TABLE `payroll_records`
  ADD CONSTRAINT `payroll_records_approved_by_foreign` FOREIGN KEY (`approved_by`) REFERENCES `users` (`id`) ON DELETE SET NULL,
  ADD CONSTRAINT `payroll_records_payroll_period_id_foreign` FOREIGN KEY (`payroll_period_id`) REFERENCES `payroll_periods` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `payroll_records_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `payroll_record_items`
--
ALTER TABLE `payroll_record_items`
  ADD CONSTRAINT `payroll_record_items_payroll_record_id_foreign` FOREIGN KEY (`payroll_record_id`) REFERENCES `payroll_records` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `pipelines`
--
ALTER TABLE `pipelines`
  ADD CONSTRAINT `pipelines_created_by_id_foreign` FOREIGN KEY (`created_by_id`) REFERENCES `users` (`id`);

--
-- Constraints for table `pipeline_stages`
--
ALTER TABLE `pipeline_stages`
  ADD CONSTRAINT `pipeline_stages_pipeline_id_foreign` FOREIGN KEY (`pipeline_id`) REFERENCES `pipelines` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `pos_registers`
--
ALTER TABLE `pos_registers`
  ADD CONSTRAINT `pos_registers_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `product_orders`
--
ALTER TABLE `product_orders`
  ADD CONSTRAINT `product_orders_client_id_foreign` FOREIGN KEY (`client_id`) REFERENCES `clients` (`id`) ON DELETE SET NULL,
  ADD CONSTRAINT `product_orders_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE SET NULL;

--
-- Constraints for table `project_tasks`
--
ALTER TABLE `project_tasks`
  ADD CONSTRAINT `project_tasks_project_id_foreign` FOREIGN KEY (`project_id`) REFERENCES `projects` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `role_has_permissions`
--
ALTER TABLE `role_has_permissions`
  ADD CONSTRAINT `role_has_permissions_permission_id_foreign` FOREIGN KEY (`permission_id`) REFERENCES `permissions` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `role_has_permissions_role_id_foreign` FOREIGN KEY (`role_id`) REFERENCES `roles` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `sales_targets`
--
ALTER TABLE `sales_targets`
  ADD CONSTRAINT `sales_targets_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `shifts`
--
ALTER TABLE `shifts`
  ADD CONSTRAINT `shifts_created_by_id_foreign` FOREIGN KEY (`created_by_id`) REFERENCES `users` (`id`) ON DELETE SET NULL,
  ADD CONSTRAINT `shifts_updated_by_id_foreign` FOREIGN KEY (`updated_by_id`) REFERENCES `users` (`id`) ON DELETE SET NULL;

--
-- Constraints for table `subscriptions`
--
ALTER TABLE `subscriptions`
  ADD CONSTRAINT `subscriptions_plan_id_foreign` FOREIGN KEY (`plan_id`) REFERENCES `plans` (`id`),
  ADD CONSTRAINT `subscriptions_tenant_id_foreign` FOREIGN KEY (`tenant_id`) REFERENCES `tenants` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `teams`
--
ALTER TABLE `teams`
  ADD CONSTRAINT `teams_created_by_id_foreign` FOREIGN KEY (`created_by_id`) REFERENCES `users` (`id`) ON DELETE SET NULL,
  ADD CONSTRAINT `teams_team_head_id_foreign` FOREIGN KEY (`team_head_id`) REFERENCES `users` (`id`) ON DELETE SET NULL,
  ADD CONSTRAINT `teams_updated_by_id_foreign` FOREIGN KEY (`updated_by_id`) REFERENCES `users` (`id`) ON DELETE SET NULL;

--
-- Constraints for table `tenant_databases`
--
ALTER TABLE `tenant_databases`
  ADD CONSTRAINT `tenant_databases_tenant_id_foreign` FOREIGN KEY (`tenant_id`) REFERENCES `tenants` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `time_entries`
--
ALTER TABLE `time_entries`
  ADD CONSTRAINT `time_entries_project_id_foreign` FOREIGN KEY (`project_id`) REFERENCES `projects` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `time_entries_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `users`
--
ALTER TABLE `users`
  ADD CONSTRAINT `users_created_by_id_foreign` FOREIGN KEY (`created_by_id`) REFERENCES `users` (`id`) ON DELETE SET NULL,
  ADD CONSTRAINT `users_designation_id_foreign` FOREIGN KEY (`designation_id`) REFERENCES `designations` (`id`) ON DELETE SET NULL,
  ADD CONSTRAINT `users_reporting_to_id_foreign` FOREIGN KEY (`reporting_to_id`) REFERENCES `users` (`id`) ON DELETE SET NULL,
  ADD CONSTRAINT `users_shift_id_foreign` FOREIGN KEY (`shift_id`) REFERENCES `shifts` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `users_team_id_foreign` FOREIGN KEY (`team_id`) REFERENCES `teams` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `users_updated_by_id_foreign` FOREIGN KEY (`updated_by_id`) REFERENCES `users` (`id`) ON DELETE SET NULL;

--
-- Constraints for table `users_available_leaves`
--
ALTER TABLE `users_available_leaves`
  ADD CONSTRAINT `users_available_leaves_created_by_id_foreign` FOREIGN KEY (`created_by_id`) REFERENCES `users` (`id`) ON DELETE SET NULL,
  ADD CONSTRAINT `users_available_leaves_leave_type_id_foreign` FOREIGN KEY (`leave_type_id`) REFERENCES `leave_types` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `users_available_leaves_updated_by_id_foreign` FOREIGN KEY (`updated_by_id`) REFERENCES `users` (`id`) ON DELETE SET NULL,
  ADD CONSTRAINT `users_available_leaves_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `user_settings`
--
ALTER TABLE `user_settings`
  ADD CONSTRAINT `user_settings_created_by_id_foreign` FOREIGN KEY (`created_by_id`) REFERENCES `users` (`id`) ON DELETE SET NULL,
  ADD CONSTRAINT `user_settings_updated_by_id_foreign` FOREIGN KEY (`updated_by_id`) REFERENCES `users` (`id`) ON DELETE SET NULL,
  ADD CONSTRAINT `user_settings_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `user_statuses`
--
ALTER TABLE `user_statuses`
  ADD CONSTRAINT `user_statuses_created_by_id_foreign` FOREIGN KEY (`created_by_id`) REFERENCES `users` (`id`) ON DELETE SET NULL,
  ADD CONSTRAINT `user_statuses_updated_by_id_foreign` FOREIGN KEY (`updated_by_id`) REFERENCES `users` (`id`) ON DELETE SET NULL,
  ADD CONSTRAINT `user_statuses_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `visits`
--
ALTER TABLE `visits`
  ADD CONSTRAINT `visits_attendance_log_id_foreign` FOREIGN KEY (`attendance_log_id`) REFERENCES `attendance_logs` (`id`),
  ADD CONSTRAINT `visits_client_id_foreign` FOREIGN KEY (`client_id`) REFERENCES `clients` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `visits_created_by_id_foreign` FOREIGN KEY (`created_by_id`) REFERENCES `users` (`id`);
COMMIT;

/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
