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

START TRANSACTION;



--
-- Database: `u240644457_GP_Latest`
--

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

--
-- Table structure for table `applicants`
--

CREATE TABLE `applicants` (
  `id` int(11) NOT NULL,
  `name` varchar(255) NOT NULL,
  `email` varchar(255) NOT NULL,
  `phoneNumber` varchar(255) NOT NULL,
  `cv` varchar(255) NOT NULL,
  `coverLetter` varchar(6000) NOT NULL,
  `JobID` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `applicants`
--

INSERT INTO `applicants` (`id`, `name`, `email`, `phoneNumber`, `cv`, `coverLetter`, `JobID`) VALUES
(1, 'saqer basem', 'saqeralnairab@gmail.com', '0790089551', 'uploads/Tasneem CV Updated.pdf', 'sa', 1),
(2, 'nadine al-saifi', 'nadinenihadals@gmail.com', '0799729026', 'uploads/bulk-upload - completed.xlsx', 'aaaa', 1),
(3, 'nadine alsaifi', 'nadinenihadals@gmail.com', '0799729027', 'uploads/bulk-upload - completed.xlsx', 'qqqqqq', 1),
(4, 'test', 'saqeralnairab@gmail.com', '+962790089551', 'uploads/images.png', 'test', 1);

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

--
-- Table structure for table `attendance`
--

CREATE TABLE `attendance` (
  `id` int(10) UNSIGNED NOT NULL,
  `user_id` int(10) UNSIGNED NOT NULL,
  `attendance_date` varchar(20) NOT NULL,
  `checkin_time` varchar(20) DEFAULT NULL,
  `checkout_time` varchar(20) DEFAULT NULL,
  `lat` decimal(10,8) DEFAULT NULL,
  `lng` decimal(11,8) DEFAULT NULL,
  `distance` int(10) UNSIGNED DEFAULT NULL,
  `checkout_accuracy` int(10) UNSIGNED DEFAULT NULL,
  `checkout_lat` decimal(10,8) DEFAULT NULL,
  `checkout_lng` decimal(11,8) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;

--
-- Dumping data for table `attendance`
--

INSERT INTO `attendance` (`id`, `user_id`, `attendance_date`, `checkin_time`, `checkout_time`, `lat`, `lng`, `distance`, `checkout_accuracy`, `checkout_lat`, `checkout_lng`) VALUES
(1, 6, '2025-12-22', '2025-12-22 20:33:38', NULL, 31.85499690, 35.94257370, 0, NULL, NULL, NULL),
(2, 17, '2026-01-05', '2026-01-05 13:08:15', NULL, 31.99913714, 35.84594051, 22057, NULL, NULL, NULL),
(3, 17, '2026-01-05', '2026-01-05 13:08:15', NULL, 31.99913714, 35.84594051, 22057, NULL, NULL, NULL),
(4, 17, '2026-01-07', '2026-01-07 13:13:21', NULL, 31.99894334, 35.84585572, 22058, NULL, NULL, NULL),
(5, 6, '2026-01-09', '2026-01-09 18:40:20', '2026-01-09 18:40:41', 31.99913714, 35.84594051, 22057, 22057, 31.99913714, 35.84594051),
(6, 6, '2026-01-09', '2026-01-09 18:40:23', '2026-01-09 18:40:41', 31.99913714, 35.84594051, 22057, 22057, 31.99913714, 35.84594051);

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

--
-- Table structure for table `interviews`
--

CREATE TABLE `interviews` (
  `id` int(11) NOT NULL,
  `applicantID` int(11) NOT NULL,
  `time` varchar(255) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `interviews`
--

INSERT INTO `interviews` (`id`, `applicantID`, `time`) VALUES
(1, 1, '2025-11-30T14:25'),
(2, 1, '2026-01-02T10:13'),
(3, 0, '2025-12-03T13:16'),
(4, 1, '2025-12-04T12:31'),
(5, 1, '2025-12-04T12:31'),
(6, 1, '2025-12-04T12:31'),
(7, 1, '2025-12-17T13:09'),
(8, 1, '2026-01-31T22:11');

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

--
-- Table structure for table `Jobs`
--

CREATE TABLE `Jobs` (
  `id` int(11) NOT NULL,
  `jobTitle` varchar(255) NOT NULL,
  `yearsOfExperiance` varchar(255) NOT NULL,
  `location` varchar(255) NOT NULL,
  `Description` varchar(5000) NOT NULL,
  `status` varchar(255) NOT NULL DEFAULT 'posted'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `Jobs`
--

INSERT INTO `Jobs` (`id`, `jobTitle`, `yearsOfExperiance`, `location`, `Description`, `status`) VALUES
(1, 'Developer', 'Amman', '5', 'Test', 'posted');

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

--
-- Table structure for table `leaves`
--

CREATE TABLE `leaves` (
  `id` int(10) UNSIGNED NOT NULL,
  `userID` int(10) UNSIGNED NOT NULL,
  `leave_date` varchar(20) NOT NULL,
  `leave_type` varchar(50) NOT NULL,
  `status` varchar(20) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;

--
-- Dumping data for table `leaves`
--

INSERT INTO `leaves` (`id`, `userID`, `leave_date`, `leave_type`, `status`) VALUES
(1, 6, '2025-12-31', 'Personal', 'Approved'),
(2, 6, '2025-12-25', 'Sick', 'Approved'),
(3, 6, '2025-12-24', 'Sick', 'inserted'),
(4, 17, '2025-12-31', 'Personal', 'inserted');

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

--
-- Table structure for table `messages`
--

CREATE TABLE `messages` (
  `id` int(11) NOT NULL,
  `message` varchar(500) NOT NULL,
  `email` varchar(255) NOT NULL,
  `first_name` varchar(255) NOT NULL,
  `last_name` varchar(255) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

--
-- Dumping data for table `messages`
--

INSERT INTO `messages` (`id`, `message`, `email`, `first_name`, `last_name`) VALUES
(1, 'test', '', '', ''),
(2, 'test', '', '', ''),
(3, 'test2', '', '', ''),
(4, 'test message', '', '', ''),
(5, 'test message', '', '', ''),
(6, 'Add your lifepulsecrm.com website in Google Search Index to have it displayed in Web Search Results.\r\n\r\nRegister lifepulsecrm.com at https://searchregister.info', 'contact@domainreg.pro', 'Benjamin', 'Spring'),
(7, 'Hi http://lifepulsecrm.com,\r\n\r\nThe New Year is coming, and this is the perfect time to upgrade your SEO and attract more customers.\r\n\r\nPlease share your target countries and main services so I can prepare your New Year SEO plan.\r\n\r\nExcited to support your growth this year.\r\n\r\nThank You,\r\nDeepa', 'deepa.dgtlsolution@gmail.com', 'Deepa', 'Gupta');

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

--
-- Table structure for table `nationalities`
--

CREATE TABLE `nationalities` (
  `id` int(11) NOT NULL,
  `nationality` varchar(20) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

--
-- Dumping data for table `nationalities`
--

INSERT INTO `nationalities` (`id`, `nationality`) VALUES
(1, 'Jordanian'),
(2, 'Lebanese'),
(3, 'Syrian'),
(4, 'Iraqi'),
(5, 'Palestinian'),
(6, 'Qatari'),
(7, 'Omani'),
(8, 'Emirati'),
(9, 'Kuwaiti'),
(10, 'Bahraini');

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

--
-- Table structure for table `NDAApprovals`
--

CREATE TABLE `NDAApprovals` (
  `id` int(11) NOT NULL,
  `userId` int(11) NOT NULL,
  `status` varchar(10) NOT NULL,
  `signture` varchar(200) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_unicode_ci;

--
-- Dumping data for table `NDAApprovals`
--

INSERT INTO `NDAApprovals` (`id`, `userId`, `status`, `signture`) VALUES
(1, 6, 'Approved', 'signtures/sig-6922c84800afa0.42812143.txt'),
(2, 17, 'Approved', 'signtures/sig-6953e3afe13af5.05467663.txt'),
(3, 17, 'Approved', 'signtures/sig-6953e3fac05501.79642728.txt'),
(4, 17, 'Approved', 'signtures/sig-6953e3fec4c8f1.44689008.txt'),
(5, 17, 'Approved', 'signtures/sig-6953e40aecc027.90121251.txt'),
(6, 17, 'Approved', 'signtures/sig-6953e48820e012.76053048.txt');

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

--
-- Table structure for table `objectives`
--

CREATE TABLE `objectives` (
  `id` int(11) NOT NULL,
  `userId` int(11) NOT NULL,
  `objective` varchar(5000) DEFAULT NULL,
  `rate` int(11) DEFAULT NULL,
  `rate_date` date DEFAULT NULL,
  `month` int(11) DEFAULT NULL,
  `year` int(11) DEFAULT NULL,
  `comments` varchar(5000) DEFAULT NULL,
  `file` varchar(5000) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;

--
-- Dumping data for table `objectives`
--

INSERT INTO `objectives` (`id`, `userId`, `objective`, `rate`, `rate_date`, `month`, `year`, `comments`, `file`) VALUES
(6, 6, 'test ', 90, '2025-12-03', 1, 2025, NULL, NULL),
(7, 6, 'test ', 70, '2025-12-03', 2, 2025, NULL, NULL),
(8, 6, 'hjkl;', 90, '2025-12-07', 2, 2025, NULL, NULL),
(9, 6, 'nadine', 90, '2025-12-14', 3, 2025, NULL, NULL),
(10, 6, 'nadine', 0, NULL, 3, 2025, NULL, NULL),
(11, 6, 'testt objv', 0, NULL, 6, 2025, NULL, NULL),
(12, 6, 'testt objv', 0, NULL, 6, 2025, NULL, NULL),
(13, 6, 't2', 60, '2025-12-07', 4, 2025, NULL, NULL),
(14, 6, 'ts', 0, NULL, 8, 2025, NULL, NULL),
(15, 6, 'test 1', 90, '2025-12-14', 4, 2025, 'test comments', NULL),
(16, 6, 'test 2', 0, NULL, 3, 2025, 'test comments2', NULL),
(17, 6, 'nnnn', 0, NULL, 3, 2027, 'nnnnn', NULL),
(18, 6, 'test doc', 89, '2025-12-14', 12, 2025, 'nnn', NULL),
(19, 9, 'testtest', 89, '2025-12-14', 1, 2025, 'hhh', NULL),
(20, 6, 'kpi', 100, '2025-12-16', 1, 2025, 'fghjkl', NULL),
(21, 6, 'test', 0, NULL, 1, 2026, 'test 1 ', 'Picture2.png'),
(22, 6, 'test 2', 0, NULL, 2, 2026, 'test 2 ', 'Screenshot 2025-09-16 105239.png'),
(23, 6, 'test', 0, NULL, 1, 2025, 'test', 'Picture2.png');

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

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

CREATE TABLE `positions` (
  `id` int(11) NOT NULL,
  `name` varchar(20) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

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

INSERT INTO `positions` (`id`, `name`) VALUES
(1, 'Developer'),
(2, 'Team Leader'),
(3, 'QA'),
(4, 'Project Manager'),
(5, 'Trainee'),
(6, 'HR'),
(7, 'Recruiter'),
(8, 'CEO'),
(9, 'CHRO'),
(10, 'CTO');

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

--
-- Table structure for table `rates`
--

CREATE TABLE `rates` (
  `id` int(11) NOT NULL,
  `userid` int(11) NOT NULL,
  `rate` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_unicode_ci;

--
-- Dumping data for table `rates`
--

INSERT INTO `rates` (`id`, `userid`, `rate`) VALUES
(1, 9, 4),
(2, 9, 4),
(3, 9, 5),
(4, 9, 5),
(5, 6, 0),
(6, 6, 5),
(7, 6, 0),
(8, 6, 0),
(9, 6, 0),
(10, 9, 0),
(11, 9, 5),
(12, 9, 5),
(13, 6, 0),
(14, 6, 5),
(15, 6, 4),
(16, 6, 0),
(17, 6, 5),
(18, 6, 5),
(19, 6, 5),
(20, 6, 5),
(21, 6, 5),
(22, 6, 5),
(23, 6, 5),
(24, 6, 5),
(25, 6, 5),
(26, 6, 5),
(27, 6, 5),
(28, 6, 4),
(29, 9, 1),
(30, 6, 4),
(31, 9, 3),
(32, 9, 5),
(33, 6, 5),
(34, 6, 5),
(35, 6, 5),
(36, 6, 5);

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

--
-- Table structure for table `timesheet`
--

CREATE TABLE `timesheet` (
  `id` int(11) NOT NULL,
  `userid` int(11) NOT NULL,
  `tasks` varchar(1000) NOT NULL,
  `date` date NOT NULL,
  `status` varchar(10) NOT NULL DEFAULT 'new'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_unicode_ci;

--
-- Dumping data for table `timesheet`
--

INSERT INTO `timesheet` (`id`, `userid`, `tasks`, `date`, `status`) VALUES
(1, 6, 'test', '2025-11-19', 'new'),
(2, 17, 'nnnn', '2025-12-30', 'new'),
(3, 6, 'mmm', '2026-01-09', 'new');

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

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

CREATE TABLE `users` (
  `id` int(11) NOT NULL,
  `first_name` varchar(20) NOT NULL,
  `last_name` varchar(20) NOT NULL,
  `user_name` varchar(40) NOT NULL,
  `password` varchar(100) NOT NULL,
  `phone_number` varchar(20) DEFAULT NULL,
  `position` int(11) NOT NULL,
  `Gender` varchar(10) NOT NULL,
  `personal_id` varchar(400) NOT NULL,
  `pasport` varchar(400) NOT NULL,
  `uni_cert` varchar(400) NOT NULL,
  `non_crime_cert` varchar(400) NOT NULL,
  `medical_cert` varchar(400) NOT NULL,
  `cv` varchar(400) NOT NULL,
  `iban` varchar(400) NOT NULL,
  `recommendation_letter` varchar(400) DEFAULT NULL,
  `other` varchar(400) DEFAULT NULL,
  `email` varchar(200) NOT NULL,
  `role` varchar(20) NOT NULL,
  `emergencyPhoneNumber` varchar(20) NOT NULL,
  `emergencyName` varchar(20) NOT NULL,
  `age` int(11) NOT NULL,
  `status` varchar(20) NOT NULL DEFAULT 'InActive',
  `signture` varchar(400) NOT NULL,
  `reports_to` int(11) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

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

INSERT INTO `users` (`id`, `first_name`, `last_name`, `user_name`, `password`, `phone_number`, `position`, `Gender`, `personal_id`, `pasport`, `uni_cert`, `non_crime_cert`, `medical_cert`, `cv`, `iban`, `recommendation_letter`, `other`, `email`, `role`, `emergencyPhoneNumber`, `emergencyName`, `age`, `status`, `signture`, `reports_to`) VALUES
(4, 'Lubna', 'Mohammad', 'lubna mohammad', 'a63ec2360343e98a2326dd545ab51d14', '+1 (791) 379-17357', 1, 'female', '/files/62ed064a20ed33.54990890.txt', '/files/62ed064a210669.17910344.txt', '/files/62ed064a212458.02372470.txt', '/files/696133ca518740.74775602.png', '/files/62ed064a215426.14413402.txt', '/files/62ed064a217f96.01040743.txt', '/files/62ed064a219a75.32052465.txt', '', '/files/6957c01983d983.98714652.csv', 'lubnamohammad@gmail.com', 'Admin', '+1 (146) 479-9716', 'Luke Watson', 21, 'Active', '', NULL),
(5, 'Sarah', 'Anas', 'Sarah Anas', 'a63ec2360343e98a2326dd545ab51d14', '+1 (909) 927-9983', 6, 'female', '/files/62ed0baca0fea2.92116047.txt', '/files/62ed0baca14573.30278587.txt', '/files/62ed0baca15571.54192579.txt', '/files/696133ca518740.74775602.png', '/files/62ed0baca37084.20545874.txt', '/files/62ed0baca37cd0.82363073.txt', '/files/62ed0baca387d8.74835125.txt', '/files/62ed0baca394b0.20231464.txt', '/files/6957c01983d983.98714652.csv', 'sarahanas@gmail.com', 'HR', '+1 (849) 536-8329', 'Ashton Macdonald', 44, 'Active', '', 14),
(6, 'admad', 'yousef', 'ahmad yousef', 'a63ec2360343e98a2326dd545ab51d14', '+1 (909) 927-9987', 3, 'male', '/files/62ed0baca0fea2.92116047.txt', '/files/62ed0baca14573.30278587.txt', '/files/62ed0baca15571.54192579.txt', '/files/696133ca518740.74775602.png', '/files/62ed0baca37084.20545874.txt', '/files/62ed0baca37cd0.82363073.txt', '/files/62ed0baca387d8.74835125.txt', '/files/62ed0baca394b0.20231464.txt', '/files/6957c01983d983.98714652.csv', 'ahmadyousef@gmail.com', 'user', '+1 (849) 536-8329', 'Ashton Macdonald', 44, 'Active', '', 10),
(9, 'lama', 'rami', 'lama rami', 'd847f5bbe427010efbf1e27934b8efcb', '0798989898', 1, 'female', '/files/6347260065ec19.05120002.png', '/files/6347260065f539.62109717.png', '/files/6347260065fe94.08637552.png', '/files/696133ca518740.74775602.png', '/files/63472600660c13.32578174.txt', '/files/63472600661290.34626705.png', '/files/63472600661921.26859526.png', '', '/files/6957c01983d983.98714652.csv', 'lama@gmail.com', 'user', '0798855844', 'Father', 22, 'Active', 'signtures/sig-63472600655d22.89674699.txt', 10),
(10, 'Json', 'stathim', 'Json stathim', 'a63ec2360343e98a2326dd545ab51d14', '0790089551', 2, 'male', '/files/691d7ff72216e4.01035403.png', '/files/691d7ff7222a80.06477452.png', '/files/691d7ff7223ed6.40050625.png', '/files/696133ca518740.74775602.png', '/files/691d7ff7225ae3.94822933.png', '/files/691d7ff7226887.69904760.pdf', '/files/691d7ff7227bd7.61890593.docx', '', '/files/6957c01983d983.98714652.csv', 'test@gmail.com', 'user', '0790089551', 'saqer', 27, 'Active', 'signtures/sig-691d7ff721f378.61104620.txt', 13),
(11, 'bill', 'Gates', 'bill Gates', 'a63ec2360343e98a2326dd545ab51d14', '0790089551', 7, 'male', '/files/692ac8ea431b63.37675959.csv', '/files/692ac8ea433810.73816348.csv', '/files/692ac8ea4349f6.84393916.csv', '/files/696133ca518740.74775602.png', '/files/692ac8ea436697.92791407.csv', '/files/692ac8ea437846.09440616.csv', '/files/692ac8ea4389e9.83541444.csv', '', '/files/6957c01983d983.98714652.csv', 'saqerbasem@gmail.com', 'Recruiter', '0790089551', 'Test', 28, 'Active', 'signtures/sig-692ac8ea42e512.75665958.txt', 5),
(12, 'Saqer', 'Basem', 'Saqer Basem', 'a63ec2360343e98a2326dd545ab51d14', '+962790089551', 8, 'male', '/files/62ed064a20ed33.54990890.txt', '/files/62ed064a210669.17910344.txt', '/files/62ed064a212458.02372470.txt', '/files/696133ca518740.74775602.png', '/files/62ed064a215426.14413402.txt', '/files/62ed064a217f96.01040743.txt', '/files/62ed064a219a75.32052465.txt', '', '/files/6957c01983d983.98714652.csv', 'saqerbasem@gmail.com', 'CEO', '+962790089551', 'saq', 27, 'Active', '', NULL),
(13, 'mark', 'joseph', 'mark joseph', 'a63ec2360343e98a2326dd545ab51d14', '+962790089551', 10, 'male', '/files/62ed064a20ed33.54990890.txt', '/files/62ed064a210669.17910344.txt', '/files/62ed064a212458.02372470.txt', '/files/696133ca518740.74775602.png', '/files/62ed064a215426.14413402.txt', '/files/62ed064a217f96.01040743.txt', '/files/62ed064a219a75.32052465.txt', '', '/files/6957c01983d983.98714652.csv', 'markjoseph@gmail.com', 'CTO', '+962790089551', 'saq', 32, 'Active', '', 12),
(14, 'lacy', 'john', 'lacy john', 'a63ec2360343e98a2326dd545ab51d14', '+962790089551', 9, 'female', '/files/62ed064a20ed33.54990890.txt', '/files/62ed064a210669.17910344.txt', '/files/62ed064a212458.02372470.txt', '/files/696133ca518740.74775602.png', '/files/62ed064a215426.14413402.txt', '/files/62ed064a217f96.01040743.txt', '/files/62ed064a219a75.32052465.txt', '', '/files/6957c01983d983.98714652.csv', 'lacyjohn@gmail.com', 'CHRO', '+962790089551', 'saq', 30, 'Active', '', 12),
(15, 'aaaaaa', 'sarahanas@gmail.com', 'aaaaaa sarahanas@gmail.com', 'a63ec2360343e98a2326dd545ab51d14', '0794567890', 2, 'female', '/files/6953e114091231.66620821.jpg', '/files/6953e114099481.53589720.jpg', '/files/6953e11409c620.36843000.jpg', '/files/696133ca518740.74775602.png', '/files/6953e1140a0c95.60290307.jpg', '/files/6953e1140a20e3.05843646.jpg', '/files/6953e1140a4537.46938227.jpg', '', '/files/6957c01983d983.98714652.csv', 'sarahl;m@gmail.com', 'user', '0799787878', ' mm', 24, 'InActive', 'signtures/sig-6953e114087ba2.14475871.txt', NULL),
(16, 'aaaaaa', 'sarahanas@gmail.com', 'aaaaaa sarahanas@gmail.com', 'a63ec2360343e98a2326dd545ab51d14', '0794567890', 2, 'female', '/files/6953e114b16332.34178569.jpg', '/files/6953e114b18526.79014037.jpg', '/files/6953e114b18937.55246890.jpg', '/files/696133ca518740.74775602.png', '/files/6953e114b19273.23033803.jpg', '/files/6953e114b19642.23500704.jpg', '/files/6953e114b1a128.08147055.jpg', '', '/files/6957c01983d983.98714652.csv', 'sarahl;m@gmail.com', 'user', '0799787878', ' mm', 24, 'InActive', 'signtures/sig-6953e114b14eb1.22107676.txt', NULL),
(17, 'Nadine', 'sarahanas@gmail.com', 'Nadine sarahanas@gmail.com', 'a63ec2360343e98a2326dd545ab51d14', '0798787654', 3, 'female', '/files/6953e21aa87515.92925035.22', '/files/6953e21aa88435.08144998.jpg', '/files/6953e21aa88ae2.74681198.jpg', '/files/696133ca518740.74775602.png', '/files/6953e21aa89780.53918124.jpg', '/files/6953e21aa8aad3.99788025.22', '/files/6953e21aa8af42.15045507.22', '', '/files/6957c01983d983.98714652.csv', 'nadinetest@gmail.com', 'user', '0799898987', 'mmm', 32, 'Active', 'signtures/sig-6953e21aa85fc8.92395947.txt', NULL),
(18, 'Nadine', 'sarahanas@gmail.com', 'Nadine sarahanas@gmail.com', 'a63ec2360343e98a2326dd545ab51d14', '0798787654', 3, 'female', '/files/6953e2312e9562.79674610.22', '/files/6953e2312e9b61.59691283.jpg', '/files/6953e2312e9f04.83788752.jpg', '/files/696133ca518740.74775602.png', '/files/6953e2312ea680.16202876.jpg', '/files/6953e2312eab63.16208778.22', '/files/6953e2312eae18.81800990.22', '', '/files/6957c01983d983.98714652.csv', 'nadinetest@gmail.com', 'user', '0799898987', 'mmm', 32, 'InActive', 'signtures/sig-6953e2312e8aa8.95078358.txt', NULL),
(19, 'Nadine', 'sarahanas@gmail.com', 'Nadine sarahanas@gmail.com', 'a63ec2360343e98a2326dd545ab51d14', '0798787654', 3, 'female', '/files/6953e231d43c69.18901019.22', '/files/6953e231d44782.44751808.jpg', '/files/6953e231d44c59.78421434.jpg', '/files/696133ca518740.74775602.png', '/files/6953e231d455b7.90146729.jpg', '/files/6953e231d459d7.25857190.22', '/files/6953e231d45ee7.19472001.22', '', '/files/6957c01983d983.98714652.csv', 'nadinetest@gmail.com', 'user', '0799898987', 'mmm', 32, 'InActive', 'signtures/sig-6953e231d42b49.23744055.txt', NULL),
(20, 'Nadine', 'sarahanas@gmail.com', 'Nadine sarahanas@gmail.com', 'a63ec2360343e98a2326dd545ab51d14', '0798787654', 3, 'female', '/files/6953e234808502.57942236.22', '/files/6953e234809088.53961956.jpg', '/files/6953e234809468.62715946.jpg', '/files/696133ca518740.74775602.png', '/files/6953e234809ce8.36174467.jpg', '/files/6953e23480a0b2.72064932.22', '/files/6953e23480a5d0.10219151.22', '', '/files/6957c01983d983.98714652.csv', 'nadinetest@gmail.com', 'user', '0799898987', 'mmm', 32, 'InActive', 'signtures/sig-6953e234807534.07359858.txt', NULL);

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

--
-- Table structure for table `usersMessages`
--

CREATE TABLE `usersMessages` (
  `id` int(11) NOT NULL,
  `sender_id` int(11) NOT NULL,
  `recipient_id` int(11) NOT NULL,
  `subject` varchar(100) NOT NULL,
  `message` varchar(500) NOT NULL,
  `status` varchar(20) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_unicode_ci;

--
-- Dumping data for table `usersMessages`
--

INSERT INTO `usersMessages` (`id`, `sender_id`, `recipient_id`, `subject`, `message`, `status`) VALUES
(1, 5, 6, 'test', 'test', ''),
(2, 5, 6, 'test', 'nnnnn', ''),
(3, 6, 5, 'hi', 'asking', '');

--
-- Indexes for dumped tables
--

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

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

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

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

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

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

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

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

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

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

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

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

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

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

--
-- AUTO_INCREMENT for dumped tables
--

--
-- AUTO_INCREMENT for table `applicants`
--
ALTER TABLE `applicants`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=5;

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

--
-- AUTO_INCREMENT for table `interviews`
--
ALTER TABLE `interviews`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=9;

--
-- AUTO_INCREMENT for table `Jobs`
--
ALTER TABLE `Jobs`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2;

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

--
-- AUTO_INCREMENT for table `messages`
--
ALTER TABLE `messages`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=8;

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

--
-- AUTO_INCREMENT for table `NDAApprovals`
--
ALTER TABLE `NDAApprovals`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=7;

--
-- AUTO_INCREMENT for table `objectives`
--
ALTER TABLE `objectives`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=24;

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

--
-- AUTO_INCREMENT for table `rates`
--
ALTER TABLE `rates`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=37;

--
-- AUTO_INCREMENT for table `timesheet`
--
ALTER TABLE `timesheet`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=4;

--
-- AUTO_INCREMENT for table `users`
--
ALTER TABLE `users`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=21;

--
-- AUTO_INCREMENT for table `usersMessages`
--
ALTER TABLE `usersMessages`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=4;
COMMIT;

