-- phpMyAdmin SQL Dump
-- version 5.2.1
-- https://www.phpmyadmin.net/
--
-- Host: 127.0.0.1:3306
-- Generation Time: Jul 11, 2024 at 12:57 PM
-- Server version: 8.3.0
-- PHP Version: 8.2.18

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: `mybillingnew`
--

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

--
-- Table structure for table `menus`
--

DROP TABLE IF EXISTS `menus`;
CREATE TABLE IF NOT EXISTS `menus` (
  `id` bigint UNSIGNED NOT NULL AUTO_INCREMENT,
  `name` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `pid` int NOT NULL,
  `route` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `level` int NOT NULL,
  `is_parent` tinyint(1) NOT NULL,
  `icon` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `status` int NOT NULL DEFAULT '1',
  `created_by` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `updated_by` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `deleted_by` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=49 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `menus`
--

INSERT INTO `menus` (`id`, `name`, `pid`, `route`, `level`, `is_parent`, `icon`, `status`, `created_by`, `updated_by`, `deleted_by`, `deleted_at`, `created_at`, `updated_at`) VALUES
(2, 'Zones', 14, 'zone', 1, 0, '', 1, '1', '1', NULL, NULL, '2024-02-23 23:01:53', '2024-02-23 23:01:53'),
(3, 'Block Reason', 14, 'blockreason', 1, 0, '', 1, '1', '1', NULL, NULL, '2024-02-23 23:01:53', '2024-02-23 23:01:53'),
(4, 'Business Type', 14, 'businesstype', 1, 0, '', 1, '1', '1', NULL, NULL, '2024-02-23 23:01:53', '2024-02-23 23:01:53'),
(5, 'Suboffice', 14, 'suboffice', 1, 0, '', 1, '1', '1', NULL, NULL, '2024-02-23 23:01:53', '2024-02-23 23:01:53'),
(6, 'Department', 14, 'department', 1, 0, '', 1, '1', '1', NULL, NULL, '2024-02-23 23:01:53', '2024-02-23 23:01:53'),
(7, 'Task Progress', 14, 'taskprogress', 1, 0, '', 1, '1', '1', NULL, NULL, '2024-02-23 23:01:53', '2024-02-23 23:01:53'),
(8, 'Variables', 14, 'variables', 1, 0, '', 1, '1', '1', NULL, NULL, '2024-02-23 23:01:53', '2024-02-23 23:01:53'),
(9, 'Designation', 14, 'designation', 1, 0, '', 1, '1', '1', NULL, NULL, '2024-02-23 23:01:53', '2024-02-23 23:01:53'),
(10, 'Area', 14, 'area', 1, 0, '', 1, '1', '1', NULL, NULL, '2024-02-23 23:01:53', '2024-02-23 23:01:53'),
(11, 'Router', 15, 'router', 1, 0, '', 1, '1', '1', NULL, NULL, '2024-02-23 23:01:53', '2024-02-23 23:01:53'),
(12, 'Static IP', 15, 'staticip', 1, 0, '', 1, '1', '1', NULL, NULL, '2024-02-23 23:01:53', '2024-02-23 23:01:53'),
(13, 'Nas List', 15, 'nas', 1, 0, '', 1, '1', '1', NULL, NULL, '2024-02-23 23:01:53', '2024-02-23 23:01:53'),
(14, 'Global Setup', 0, '#', 0, 1, '<i class=\"fa-solid fa-outdent\"></i>', 1, '1', '1', NULL, NULL, '2024-02-28 13:24:41', '2024-02-28 13:24:41'),
(15, 'Radius', 0, '#', 0, 1, '<i class=\"fa-solid fa-microchip\"></i>', 1, '1', '1', NULL, NULL, '2024-02-28 13:24:41', '2024-02-28 13:24:41'),
(16, 'Mikrotik Graph', 14, 'mikrotikgraph', 1, 0, '', 1, '1', '1', NULL, NULL, '2024-02-23 23:01:53', '2024-02-23 23:01:53'),
(17, 'IP', 15, 'ip', 1, 0, '', 1, '1', '1', NULL, NULL, '2024-02-23 23:01:53', '2024-02-23 23:01:53'),
(18, 'Assign Pool', 15, 'assignpool', 1, 0, '', 1, '1', '1', NULL, NULL, '2024-02-23 23:01:53', '2024-02-23 23:01:53'),
(19, 'Client Control', 15, 'clientcontrol', 1, 0, '', 1, '1', '1', NULL, NULL, '2024-02-23 23:01:53', '2024-02-23 23:01:53'),
(20, 'SMS & Email', 0, '#', 0, 1, '<i class=\"fa-solid fa-envelope-open-text\"></i>', 1, '1', '1', NULL, NULL, '2024-02-28 13:24:41', '2024-02-28 13:24:41'),
(21, 'Send Single SMS', 20, 'sendsinglesms', 1, 0, '', 1, '1', '1', NULL, NULL, '2024-02-23 23:01:53', '2024-02-23 23:01:53'),
(22, 'Send SMS', 20, 'sendsms', 1, 0, '', 1, '1', '1', NULL, NULL, '2024-02-23 23:01:53', '2024-02-23 23:01:53'),
(23, 'SMS Template', 20, 'smstemplate', 1, 0, '', 1, '1', '1', NULL, NULL, '2024-02-23 23:01:53', '2024-02-23 23:01:53'),
(24, 'SMS Setup', 20, 'smssetup', 1, 0, '', 1, '1', '1', NULL, NULL, '2024-02-23 23:01:53', '2024-02-23 23:01:53'),
(25, 'Billing', 0, '#', 0, 1, '<i class=\"fa-solid fa-money-bill-wheat\"></i>', 1, '1', '1', NULL, NULL, '2024-02-28 13:24:41', '2024-02-28 13:24:41'),
(26, 'Monthly Invoice Update', 25, 'monthlyinvoiceupdate', 1, 0, '', 1, '1', '1', NULL, NULL, '2024-02-23 23:01:53', '2024-02-23 23:01:53'),
(27, 'Edit Invoice', 25, 'editinvoice', 1, 0, '', 1, '1', '1', NULL, NULL, '2024-02-23 23:01:53', '2024-02-23 23:01:53'),
(28, 'Edit Invoice Collection(All)', 25, 'invoicecollection', 1, 0, '', 1, '1', '1', NULL, NULL, '2024-02-23 23:01:53', '2024-02-23 23:01:53'),
(29, 'Daily Collection Sheet', 25, 'dailycollectionsheet', 1, 0, '', 1, '1', '1', NULL, NULL, '2024-02-23 23:01:53', '2024-02-23 23:01:53'),
(30, 'Send Email', 20, 'sendemail', 1, 0, '', 1, '1', '1', NULL, NULL, '2024-02-23 23:01:53', '2024-02-23 23:01:53'),
(31, 'Email Template', 20, 'emailtemplate', 1, 0, '', 1, '1', '1', NULL, NULL, '2024-02-23 23:01:53', '2024-02-23 23:01:53'),
(32, 'Invoice Collection(Home)', 25, 'invoicecollectionhome', 1, 0, '', 1, '1', '1', NULL, NULL, '2024-02-23 23:01:53', '2024-02-23 23:01:53'),
(33, 'Advance Information', 25, 'advanceinformation', 1, 0, '', 1, '1', '1', NULL, NULL, '2024-02-23 23:01:53', '2024-02-23 23:01:53'),
(34, 'Renew Customer', 25, 'renewcustomer', 1, 0, '', 1, '1', '1', NULL, NULL, '2024-02-23 23:01:53', '2024-02-23 23:01:53'),
(35, 'Other Invoice', 25, 'otherinvoice', 1, 0, '', 1, '1', '1', NULL, NULL, '2024-02-23 23:01:53', '2024-02-23 23:01:53'),
(36, 'Send Email & SMS ', 20, 'emailandsms', 1, 0, '', 1, '1', '1', NULL, NULL, '2024-02-23 23:01:53', '2024-02-23 23:01:53'),
(37, 'Email Setup', 20, 'emailsetup', 1, 0, '', 1, '1', '1', NULL, NULL, '2024-02-23 23:01:53', '2024-02-23 23:01:53'),
(38, 'Email Log', 20, 'emaillog', 1, 0, '', 1, '1', '1', NULL, NULL, '2024-02-23 23:01:53', '2024-02-23 23:01:53'),
(39, 'Invoice Type', 14, 'invoicetype', 1, 0, '', 1, '1', '1', NULL, NULL, '2024-02-23 23:01:53', '2024-02-23 23:01:53'),
(40, 'IP Pool', 15, 'ippool', 1, 0, '', 1, '1', '1', NULL, NULL, '2024-02-23 23:01:53', '2024-02-23 23:01:53'),
(41, 'Bulk Router Change', 15, 'bulkrouterchange', 1, 0, '', 1, '1', '1', NULL, NULL, '2024-02-23 23:01:53', '2024-02-23 23:01:53'),
(42, 'Service Log', 15, 'servicelog', 1, 0, '', 1, '1', '1', NULL, NULL, '2024-02-23 23:01:53', '2024-02-23 23:01:53'),
(43, 'Radius Access Log', 15, 'accesslog', 1, 0, '', 1, '1', '1', NULL, NULL, '2024-02-23 23:01:53', '2024-02-23 23:01:53'),
(44, 'User Status Report', 15, 'userstatusreport', 1, 0, '', 1, '1', '1', NULL, NULL, '2024-02-23 23:01:53', '2024-02-23 23:01:53'),
(45, 'Company Setup', 0, '#', 0, 1, '<i class=\"fa-solid fa-outdent\"></i>', 1, '1', '1', NULL, NULL, '2024-02-28 13:24:41', '2024-02-28 13:24:41'),
(46, 'Customers', 45, 'customers', 1, 0, '', 1, '1', '1', NULL, NULL, '2024-02-23 23:01:53', '2024-02-23 23:01:53'),
(47, 'Services', 45, 'services', 1, 0, '', 1, '1', '1', NULL, NULL, '2024-02-23 23:01:53', '2024-02-23 23:01:53'),
(48, 'Monthly Invoice Create', 25, 'monthlyinvoicecreate', 1, 0, '', 1, '1', '1', NULL, NULL, '2024-02-23 23:01:53', '2024-02-23 23:01:53');
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 */;
