-- phpMyAdmin SQL Dump
-- version 4.9.7
-- https://www.phpmyadmin.net/
--
-- Host: localhost:3306
-- Generation Time: Jul 21, 2022 at 06:35 AM
-- Server version: 5.7.38-cll-lve
-- PHP Version: 7.4.30

SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
SET AUTOCOMMIT = 0;
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: `couponzr_bidwiz_main`
--

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

--
-- Table structure for table `dashboard_master`
--

CREATE TABLE `dashboard_master` (
  `id` int(11) NOT NULL,
  `name` varchar(100) COLLATE utf8_unicode_ci NOT NULL,
  `is_deactive` int(11) DEFAULT NULL,
  `db_name` varchar(100) COLLATE utf8_unicode_ci NOT NULL,
  `logo` varchar(100) COLLATE utf8_unicode_ci NOT NULL DEFAULT 'logo.png',
  `token` varchar(100) COLLATE utf8_unicode_ci NOT NULL,
  `pay_email` varchar(100) COLLATE utf8_unicode_ci DEFAULT NULL,
  `pay_pass` varchar(250) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL,
  `pay_key` varchar(250) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL,
  `time` datetime DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `dashboard_master`
--

INSERT INTO `dashboard_master` (`id`, `name`, `is_deactive`, `db_name`, `logo`, `token`, `pay_email`, `pay_pass`, `pay_key`, `time`) VALUES
(1, 'Complete Property Restoration', NULL, 'couponzr_bidwiz_cpr', '1582721687-1701892481.jpg', 'cpr', 'payments@propertycpr.com', 'KAëñªâ»¤/,cÉg{Îý¨R±®}ÉvÅ¬VWÂ~mX£rûVÃN|mn', '&ò¯%¹ÿ4\r\nØÃÛcüUÌPUå8·Ëïg;bÍsP,dYCX#é9s 6/\"-î?[WCg', '2020-04-02 12:17:08'),
(2, 'National Property', NULL, 'couponzr_bidwiz_natpro', '1583158305-1583714231.png', 'natpro', '', NULL, NULL, '2020-04-01 04:26:41'),
(3, 'Reo Management Group', NULL, 'couponzr_bidwiz_reo', '1583158246-567568502.png', 'reo', 'payments@reomgtgroup.com', 'J#1ÿÒö>Uvr÷\nÁ3?«ç¢+²V×4%J·<_9:èè:AÓuÛä¤ïÑ*', ':£ä¾±õÐéuNãôÆ¤?D«ðp|­vÒÇ[Öûô ¦ürúèâsürDM	\0®îp¯¤AÆz', NULL);

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

--
-- Table structure for table `employee`
--

CREATE TABLE `employee` (
  `employee_id` int(11) NOT NULL,
  `employee_fname` varchar(50) COLLATE utf8_unicode_ci NOT NULL,
  `employee_lname` varchar(50) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
  `staff_cat_id` int(11) NOT NULL DEFAULT '1',
  `employee_phone` varchar(20) COLLATE utf8_unicode_ci NOT NULL,
  `employee_email` varchar(50) COLLATE utf8_unicode_ci NOT NULL,
  `password_hash` varchar(250) COLLATE utf8_unicode_ci DEFAULT NULL,
  `status` varchar(50) COLLATE utf8_unicode_ci NOT NULL,
  `active_time` datetime NOT NULL,
  `deact_time` datetime DEFAULT NULL,
  `created_by` int(11) DEFAULT NULL,
  `created_time` datetime DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `employee`
--

INSERT INTO `employee` (`employee_id`, `employee_fname`, `employee_lname`, `staff_cat_id`, `employee_phone`, `employee_email`, `password_hash`, `status`, `active_time`, `deact_time`, `created_by`, `created_time`) VALUES
(1, 'Alyssa', 'Francois', 1, '', 'alyssaf@propertycpr.com', '$2y$10$wnWx6Y7ZfUpRoaQmluiVCOHcp9JSzfeyZzBUXR3RWxT2CUTqN9ZE6', 'active', '2020-03-02 12:03:06', '2020-03-02 08:55:26', 20, '2020-02-25 00:00:00'),
(2, 'Hans', 'Lovius', 2, '', 'hansl@propertycpr.com', '$2y$10$xxs4XV/EMATTguvPnu7jQ.pLWFMgI9n1KuussJC8PA2aL0JMI5re6', 'active', '2020-02-06 07:16:55', '2020-02-06 07:06:29', 4, '2020-02-25 00:00:00'),
(3, 'Jayne', 'Axalan', 1, '', 'jaynea@propertycpr.com', '$2y$10$3S/dgVAj7M0/YI9sqbB7j.FtX9A5/Df7lOYyIt6c0EUFxXFmkJbm.', 'active', '2020-03-26 12:20:35', '2020-02-06 07:06:31', 20, '2020-02-25 00:00:00'),
(4, 'Sandra', 'Frazilus', 2, '', 'admin@youremail.com', '$2y$10$xxs4XV/EMATTguvPnu7jQ.pLWFMgI9n1KuussJC8PA2aL0JMI5re6', 'active', '2020-02-06 06:15:22', '2020-02-06 07:06:23', 4, '2020-02-25 00:00:00'),
(5, 'John', 'Banks', 1, '', 'johnb@propertycpr.com', '', 'delete', '2020-02-06 06:15:30', '2020-03-04 08:56:46', 20, '2020-02-25 00:00:00'),
(6, 'Krishna', 'Karthik', 1, '', 'krishnak@propertycpr.com', '$2y$10$2eVKF7zF.MwR3oWWEfLrbemjf2BzUwbFfwE2Bbgo8y2u7UiZ1n4rK', 'active', '2020-03-26 12:18:00', '2020-02-06 07:15:54', 20, '2020-02-25 00:00:00'),
(7, 'Michael', 'Huff', 1, '', 'michaelh@propertycpr.com', '', 'delete', '2019-12-10 01:33:14', '2020-03-04 08:58:15', 20, '2020-02-25 00:00:00'),
(8, 'Nonilo', 'Fajardo', 1, '', 'nonilof@propertycpr.com', '', 'delete', '2019-12-10 01:33:14', '2020-03-04 08:56:53', 20, '2020-02-25 00:00:00'),
(9, 'Raj', 'Paul', 1, '', 'RajP@propertycpr.com', '$2y$10$fKmtPCjZq/Hs7V1i/qa5YexjYGS5zreS5W.9RRQtIqLbBjkiwPLs6', 'active', '2020-03-26 12:20:08', '2020-02-06 06:16:12', 20, '2020-02-25 00:00:00'),
(10, 'Alekya', 'Moha', 1, '', 'alekyaM@propertycpr.com', '$2y$10$JCrWbDgLJK295WNMYN5dG.kHE6liBVNTPaZ7zu7vE6lfDQZzBnJx6', 'active', '2020-03-26 12:18:18', NULL, 20, '2020-02-25 00:00:00'),
(11, 'Lavanya', 'Armans', 1, '', 'Lavanyaa@propertycpr.com', '', 'delete', '2019-12-10 01:33:14', '2020-03-04 08:56:57', 20, '2020-02-25 00:00:00'),
(12, 'Rey Jay', 'Camuta', 1, '', 'reyjayc@propertycpr.com', '$2y$10$uOe31PPf34fwvYYntlB4.e6o0md2fmuAiXLoJXKfPv/k//tbBViQi', 'delete', '2020-02-27 00:33:43', '2020-03-04 08:57:55', 20, '2020-02-25 00:00:00'),
(13, 'Ruben', 'Fajardo', 1, '', 'rubenf@propertycpr.com', '$2y$10$hiS9952kOhbjL6AzRpP0DOIgixgpSFU1DQXbOnTdNc4p.x0AymWSm', 'delete', '2020-02-06 07:16:00', '2020-03-04 08:58:11', 20, '2020-02-25 00:00:00'),
(14, 'Sachin', 'Ghatwal', 1, '', 'saching@propertycpr.com', '$2y$10$vavq7WbalqTsuzRcjPqzq.ulDXmiMXxY64lcvk8rk7M0qBIAYR29.', 'active', '2020-03-26 12:20:27', NULL, 20, '2020-02-25 00:00:00'),
(15, 'Sergio', 'Arcenal', 1, '', 'sergioa@propertycpr.com', '$2y$10$abTweT714FbeVB5JisZwyuQ/.PMwbdeee.l9xhZ29xcd0zE4X1zGq', 'delete', '2020-02-28 08:00:48', '2020-03-04 08:57:06', 20, '2020-02-25 00:00:00'),
(16, 'Sheryl', 'St. Clare', 5, '', 'sheryls@propertycpr.com', '$2y$10$vgiXmFY14ipfO/R4jF5gNuvPeVN1ggS1PNjpxr1PR.7mcNonMeXhe', 'active', '2020-03-04 08:57:39', NULL, 20, '2020-02-25 00:00:00'),
(17, 'Sri veerendra', 'Yalla', 1, '', 'sriy@propertycpr.com', '', 'delete', '2019-12-10 01:33:14', '2020-03-04 08:57:14', 20, '2020-02-25 00:00:00'),
(18, 'Reomgt', 'Group', 3, '', 'info@reomgtgroup.com', '$2y$10$pXAbdZdiFnkSg5uz2L7Ft.0snmmCNy4xHvKUVaDP.gUIjSb4Bk7TK', 'active', '2020-03-09 10:44:23', '2020-02-06 06:15:11', 20, '2020-02-25 00:00:00'),
(19, 'Jiselle', 'Tan', 1, '', 'jisellet@propertycpr.com', '', 'delete', '2019-12-10 01:33:14', '2020-03-04 08:57:50', 20, '2020-02-25 00:00:00'),
(20, 'Laude', 'P', 1, '', 'Laudep@nationalpropertypres.com', '$2y$10$NzUansRtj4P.kZloHw5Zv.USBZhSDvw9c9ptEDIhpYsScSu5uyvgy', 'active', '2020-03-26 12:23:03', NULL, 4, NULL),
(21, 'Daniel', 'L', 1, '', 'Daniell@nationalpropertypres.com', '$2y$10$/oDyxkA4f6EV.XivXBaLpOwxw3BeO/QRpeAeItwHXKMRilBvPcQgG', 'active', '2020-03-27 09:48:40', NULL, 4, NULL),
(22, 'Divya', 'V', 1, '', 'divyav@propertycpr.com', '$2y$10$q7GFYcYWAtISEGVcMXh0YeSfMTKjaSXvAJKwRCoDkd8OLvCyPSl9C', 'active', '2020-03-30 09:20:15', NULL, 4, NULL);

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

--
-- Table structure for table `employee_session`
--

CREATE TABLE `employee_session` (
  `selector` varchar(256) NOT NULL,
  `token` varchar(256) NOT NULL,
  `employee_id` int(11) NOT NULL,
  `login_time` datetime NOT NULL,
  `login_expiry` datetime NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `employee_session`
--

INSERT INTO `employee_session` (`selector`, `token`, `employee_id`, `login_time`, `login_expiry`) VALUES
('8IRT1PEf3sU=', '333ed60ef72933a066c8f5aebdc20e010ada59d1cf7268da49bc9f3f467e217a', 20, '2020-04-08 14:43:33', '2020-04-08 14:43:33'),
('BR2D6fuZ3rk=', '0d8820074e894efb1560a5a86c65598009b886e81c158feda7b80c21fb16e9eb', 21, '2020-03-27 12:05:54', '2020-03-27 12:05:54'),
('cFBnrg9Iu5Q=', 'f301f5a3683a72525ad484f16f0cc0f2f5d9a2403c11dd734b5cdf7dea9c7026', 6, '2020-04-08 17:14:39', '2020-04-08 17:14:39'),
('f0YfsFtLqyk=', '9254395e3bc60df5fdf3a2bd39e7a9d9d0c24d3ddc2a1be044d68af271118b31', 2, '2020-04-06 16:11:55', '2020-04-06 16:11:55'),
('FXur/18H4qY=', '6b6d5df80d4ab18617dfb41ff409c79591aec275d368b1e4239a8a253848299d', 10, '2020-04-04 01:53:06', '2020-04-04 01:53:06'),
('KAgkAT/jhBs=', '1dbec603e0aa9cadc3d332286062d134030e17d26e19539620a0ad910b9b8eed', 14, '2020-04-08 17:04:44', '2020-04-08 17:04:44'),
('mTnzsm2OFnA=', 'afedd6327ea31b111cff177131864b2aedeaf5108a8b6a09f1d5876a2c919932', 22, '2020-04-08 23:37:17', '2020-04-08 23:37:17'),
('rC7j5gmpPwA=', 'bbe0b5d9951478b9a1aed1fe14e9f8e896becb18714a22dd8382b7ed687078d4', 18, '2020-04-06 14:02:30', '2020-04-06 14:02:30'),
('T0IHZ3aZJIk=', '57cd1c21dd751803b515244975582a6ea49ff087ad9de0b1d72d9718332d278e', 3, '2020-03-28 04:25:45', '2020-03-28 04:25:45');

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

--
-- Table structure for table `functions_list`
--

CREATE TABLE `functions_list` (
  `id` int(11) NOT NULL,
  `feature_name` varchar(100) COLLATE utf8_unicode_ci NOT NULL,
  `is_invisible` int(1) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `functions_list`
--

INSERT INTO `functions_list` (`id`, `feature_name`, `is_invisible`) VALUES
(1, 'FINANCIAL HEALTH INFO', NULL),
(2, 'CREATE STAFF ACCOUNT', NULL),
(3, 'CREATE VENDOR ACCOUNT', NULL),
(5, 'CREATE CLIENT ACCOUNT', NULL),
(6, 'AUTHORIZE ACCOUNTS', 1),
(7, 'CREATE PROPERTIES', NULL),
(8, 'EDIT PROPERTIES', NULL),
(9, 'CREATE BIDS', NULL),
(10, 'APPROVE ALL BIDS & INVOICES', 1),
(11, 'APPROVE BIDS & INVOICES $301-500', 1),
(12, 'APPROVE BIDS & INVOICES under $300', 1),
(13, 'AUTHORIZE BIDS', 1),
(15, 'CREATE INVOICE TO CLIENT', NULL),
(16, 'AUTHORIZE INVOICE', 1),
(17, 'CREATE FLASH MESSAGE', 1),
(18, 'VIEW FLASH MESSAGE', 1),
(19, 'UPLOAD IMAGES', NULL),
(20, 'UPLOAD DOCUMENTS', NULL),
(21, 'VIEW IMAGES', NULL),
(22, 'VIEW DOCUMENTS', NULL),
(23, 'APPROVE, ADD, EDIT, DELETE MAPS LINE ITEMS', NULL),
(24, 'REVIEW BID', 1),
(25, 'CREATE PAYMENTS', NULL),
(26, 'VIEW PAYMENTS MARKED APPROVED/PAID', 1),
(27, 'REVIEW PAYMENTS', 1),
(28, 'APPROVE PAYMENTS', 1),
(29, 'MARK PAYMENTS PAID', 1),
(31, 'DEACTIVATE STAFF BELOW THEM', NULL),
(32, 'CLIENT INVOICE SECTION VIEW & UPDATE', NULL),
(33, 'ADD VENDOR PAY', NULL),
(34, 'ADD VENDOR PAYROLL', NULL),
(35, 'VIEW / ADD MAPS LINE ITEMS BUT NEED APPROVAL', NULL),
(36, 'ADD CLIENT MAP', NULL),
(37, 'DELETE CLIENT MAP', NULL);

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

--
-- Table structure for table `staff_cat_function_right_list`
--

CREATE TABLE `staff_cat_function_right_list` (
  `id` int(11) NOT NULL,
  `staff_cat_id` int(11) NOT NULL,
  `function_id` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `staff_cat_function_right_list`
--

INSERT INTO `staff_cat_function_right_list` (`id`, `staff_cat_id`, `function_id`) VALUES
(1, 2, 1),
(2, 2, 2),
(3, 2, 3),
(4, 2, 5),
(5, 2, 6),
(6, 2, 7),
(7, 2, 8),
(8, 2, 9),
(9, 2, 10),
(10, 2, 11),
(11, 2, 12),
(12, 2, 13),
(13, 2, 15),
(14, 2, 32),
(15, 2, 33),
(16, 2, 34),
(17, 2, 16),
(18, 2, 17),
(19, 2, 18),
(20, 2, 19),
(21, 2, 20),
(22, 2, 21),
(23, 2, 22),
(24, 2, 23),
(25, 2, 35),
(26, 2, 36),
(27, 2, 37),
(28, 2, 24),
(29, 2, 25),
(30, 2, 26),
(31, 2, 27),
(32, 2, 28),
(33, 2, 29),
(35, 2, 31),
(36, 3, 1),
(37, 3, 2),
(38, 3, 3),
(39, 3, 5),
(40, 3, 6),
(41, 3, 7),
(42, 3, 8),
(43, 3, 9),
(44, 3, 10),
(45, 3, 11),
(46, 3, 12),
(47, 3, 13),
(48, 3, 15),
(49, 3, 16),
(50, 3, 17),
(51, 3, 18),
(52, 3, 19),
(53, 3, 20),
(54, 3, 21),
(55, 3, 22),
(56, 3, 23),
(57, 3, 24),
(58, 3, 25),
(59, 3, 26),
(60, 3, 27),
(61, 3, 28),
(62, 3, 29),
(63, 3, 31),
(64, 3, 32),
(65, 3, 33),
(66, 3, 34),
(67, 3, 35),
(68, 3, 36),
(69, 3, 37),
(70, 4, 2),
(71, 4, 5),
(72, 4, 7),
(73, 4, 8),
(74, 4, 9),
(75, 4, 10),
(76, 4, 11),
(77, 4, 12),
(78, 4, 13),
(79, 4, 15),
(80, 4, 16),
(81, 4, 17),
(82, 4, 18),
(83, 4, 19),
(84, 4, 20),
(85, 4, 21),
(86, 4, 22),
(87, 4, 23),
(88, 4, 24),
(89, 4, 25),
(90, 4, 26),
(91, 4, 27),
(92, 4, 28),
(93, 4, 29),
(94, 4, 32),
(95, 4, 33),
(96, 4, 34),
(97, 4, 35),
(98, 4, 36),
(99, 4, 37),
(100, 5, 2),
(101, 5, 5),
(102, 5, 7),
(103, 5, 8),
(104, 5, 9),
(105, 5, 11),
(106, 5, 12),
(107, 5, 13),
(108, 5, 15),
(109, 5, 16),
(110, 5, 17),
(111, 5, 18),
(112, 5, 19),
(113, 5, 20),
(114, 5, 21),
(115, 5, 22),
(116, 5, 23),
(117, 5, 24),
(118, 5, 25),
(119, 5, 26),
(120, 5, 27),
(121, 5, 28),
(122, 5, 29),
(123, 5, 32),
(124, 5, 33),
(125, 5, 34),
(126, 5, 35),
(127, 5, 36),
(128, 5, 37),
(129, 1, 7),
(130, 1, 8),
(131, 1, 9),
(132, 1, 12),
(133, 1, 13),
(134, 1, 15),
(135, 1, 16),
(136, 1, 17),
(137, 1, 18),
(138, 1, 19),
(139, 1, 20),
(140, 1, 21),
(141, 1, 22),
(142, 1, 35);

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

--
-- Table structure for table `staff_cat_list`
--

CREATE TABLE `staff_cat_list` (
  `id` int(11) NOT NULL,
  `user_cat_name` varchar(100) COLLATE utf8_unicode_ci NOT NULL,
  `user_display_cat_name` varchar(100) COLLATE utf8_unicode_ci NOT NULL,
  `is_invisible` int(1) DEFAULT NULL,
  `level` int(2) NOT NULL,
  `token` varchar(100) COLLATE utf8_unicode_ci NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `staff_cat_list`
--

INSERT INTO `staff_cat_list` (`id`, `user_cat_name`, `user_display_cat_name`, `is_invisible`, `level`, `token`) VALUES
(1, 'CPR STAFF', 'Staff', NULL, 1, 'cprstaff'),
(2, 'SUPER ADMIN', 'Super Admin', NULL, 4, 'superadmin'),
(3, 'CPR MANAGER', 'Manager', NULL, 3, 'cprmanager'),
(4, 'STAFF LEAD', 'Lead', NULL, 2, 'stafflead'),
(5, 'AR/AP', 'AR/AP', NULL, 2, 'arap');

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

--
-- Table structure for table `user_dash_right_list`
--

CREATE TABLE `user_dash_right_list` (
  `id` int(11) NOT NULL,
  `dashboard_id` int(11) NOT NULL,
  `user_id` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `user_dash_right_list`
--

INSERT INTO `user_dash_right_list` (`id`, `dashboard_id`, `user_id`) VALUES
(1, 1, 4),
(2, 2, 4),
(3, 3, 4),
(4, 1, 2),
(5, 2, 2),
(6, 3, 2),
(9, 1, 5),
(11, 1, 7),
(12, 1, 8),
(15, 1, 11),
(16, 1, 12),
(17, 1, 13),
(19, 1, 15),
(21, 1, 17),
(23, 1, 19),
(42, 1, 16),
(60, 2, 21),
(61, 1, 1),
(62, 1, 3),
(63, 1, 6),
(64, 1, 9),
(65, 1, 10),
(68, 1, 22),
(70, 1, 14),
(71, 3, 18),
(72, 2, 20);

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

--
-- Table structure for table `user_function_right_list`
--

CREATE TABLE `user_function_right_list` (
  `id` int(11) NOT NULL,
  `function_id` int(11) NOT NULL,
  `user_id` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `user_function_right_list`
--

INSERT INTO `user_function_right_list` (`id`, `function_id`, `user_id`) VALUES
(1, 1, 2),
(2, 2, 2),
(3, 3, 2),
(4, 5, 2),
(5, 6, 2),
(6, 7, 2),
(7, 8, 2),
(8, 9, 2),
(9, 10, 2),
(10, 11, 2),
(11, 12, 2),
(12, 13, 2),
(13, 15, 2),
(14, 32, 2),
(15, 33, 2),
(16, 34, 2),
(17, 16, 2),
(18, 17, 2),
(19, 18, 2),
(20, 19, 2),
(21, 20, 2),
(22, 21, 2),
(23, 22, 2),
(24, 23, 2),
(25, 35, 2),
(26, 36, 2),
(27, 37, 2),
(28, 24, 2),
(29, 25, 2),
(30, 26, 2),
(31, 27, 2),
(32, 28, 2),
(33, 29, 2),
(34, 31, 2),
(35, 1, 4),
(36, 2, 4),
(37, 3, 4),
(38, 5, 4),
(39, 6, 4),
(40, 7, 4),
(41, 8, 4),
(42, 9, 4),
(43, 10, 4),
(44, 11, 4),
(45, 12, 4),
(46, 13, 4),
(47, 15, 4),
(48, 32, 4),
(49, 33, 4),
(50, 34, 4),
(51, 16, 4),
(52, 17, 4),
(53, 18, 4),
(54, 19, 4),
(55, 20, 4),
(56, 21, 4),
(57, 22, 4),
(58, 23, 4),
(59, 35, 4),
(60, 36, 4),
(61, 37, 4),
(62, 24, 4),
(63, 25, 4),
(64, 26, 4),
(65, 27, 4),
(66, 28, 4),
(67, 29, 4),
(68, 31, 4),
(249, 3, 16),
(250, 5, 16),
(251, 7, 16),
(252, 8, 16),
(253, 9, 16),
(254, 15, 16),
(255, 19, 16),
(256, 20, 16),
(257, 21, 16),
(258, 22, 16),
(259, 23, 16),
(260, 25, 16),
(261, 32, 16),
(262, 33, 16),
(263, 34, 16),
(264, 35, 16),
(265, 36, 16),
(439, 7, 21),
(440, 8, 21),
(441, 9, 21),
(442, 15, 21),
(443, 19, 21),
(444, 20, 21),
(445, 21, 21),
(446, 22, 21),
(447, 32, 21),
(448, 35, 21),
(449, 36, 21),
(450, 7, 1),
(451, 8, 1),
(452, 9, 1),
(453, 15, 1),
(454, 19, 1),
(455, 20, 1),
(456, 21, 1),
(457, 22, 1),
(458, 32, 1),
(459, 33, 1),
(460, 7, 3),
(461, 8, 3),
(462, 9, 3),
(463, 15, 3),
(464, 19, 3),
(465, 20, 3),
(466, 21, 3),
(467, 22, 3),
(468, 32, 3),
(469, 33, 3),
(470, 35, 3),
(471, 7, 6),
(472, 8, 6),
(473, 9, 6),
(474, 15, 6),
(475, 19, 6),
(476, 20, 6),
(477, 21, 6),
(478, 22, 6),
(479, 32, 6),
(480, 33, 6),
(481, 35, 6),
(482, 7, 9),
(483, 8, 9),
(484, 9, 9),
(485, 15, 9),
(486, 19, 9),
(487, 20, 9),
(488, 21, 9),
(489, 22, 9),
(490, 32, 9),
(491, 33, 9),
(492, 35, 9),
(493, 7, 10),
(494, 8, 10),
(495, 9, 10),
(496, 15, 10),
(497, 19, 10),
(498, 20, 10),
(499, 21, 10),
(500, 22, 10),
(501, 33, 10),
(502, 35, 10),
(526, 7, 22),
(527, 8, 22),
(528, 9, 22),
(529, 15, 22),
(530, 19, 22),
(531, 20, 22),
(532, 21, 22),
(533, 22, 22),
(534, 32, 22),
(535, 33, 22),
(536, 35, 22),
(556, 5, 14),
(557, 7, 14),
(558, 8, 14),
(559, 9, 14),
(560, 15, 14),
(561, 19, 14),
(562, 20, 14),
(563, 21, 14),
(564, 22, 14),
(565, 23, 14),
(566, 32, 14),
(567, 33, 14),
(568, 35, 14),
(569, 36, 14),
(570, 37, 14),
(571, 1, 18),
(572, 2, 18),
(573, 3, 18),
(574, 5, 18),
(575, 7, 18),
(576, 8, 18),
(577, 9, 18),
(578, 15, 18),
(579, 19, 18),
(580, 20, 18),
(581, 21, 18),
(582, 22, 18),
(583, 23, 18),
(584, 25, 18),
(585, 31, 18),
(586, 32, 18),
(587, 33, 18),
(588, 34, 18),
(589, 35, 18),
(590, 36, 18),
(591, 37, 18),
(592, 3, 20),
(593, 7, 20),
(594, 8, 20),
(595, 9, 20),
(596, 15, 20),
(597, 19, 20),
(598, 20, 20),
(599, 21, 20),
(600, 22, 20),
(601, 23, 20),
(602, 25, 20),
(603, 32, 20),
(604, 33, 20),
(605, 34, 20),
(606, 35, 20),
(607, 36, 20),
(608, 37, 20);

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

--
-- Table structure for table `user_login_time_log`
--

CREATE TABLE `user_login_time_log` (
  `id` int(11) NOT NULL,
  `user_id` int(11) NOT NULL,
  `time` datetime NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `user_login_time_log`
--

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

--
-- Indexes for dumped tables
--

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

--
-- Indexes for table `employee`
--
ALTER TABLE `employee`
  ADD PRIMARY KEY (`employee_id`);

--
-- Indexes for table `employee_session`
--
ALTER TABLE `employee_session`
  ADD PRIMARY KEY (`selector`),
  ADD UNIQUE KEY `employee_id` (`employee_id`);

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

--
-- Indexes for table `staff_cat_function_right_list`
--
ALTER TABLE `staff_cat_function_right_list`
  ADD PRIMARY KEY (`id`,`staff_cat_id`,`function_id`);

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

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

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

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

--
-- AUTO_INCREMENT for dumped tables
--

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

--
-- AUTO_INCREMENT for table `employee`
--
ALTER TABLE `employee`
  MODIFY `employee_id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=23;

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

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

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

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

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

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

--
-- Constraints for dumped tables
--

--
-- Constraints for table `employee_session`
--
ALTER TABLE `employee_session`
  ADD CONSTRAINT `employee_session_ibfk_1` FOREIGN KEY (`employee_id`) REFERENCES `employee` (`employee_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 */;
