-- phpMyAdmin SQL Dump
-- version 5.2.1
-- https://www.phpmyadmin.net/
--
-- Host: 127.0.0.1
-- Generation Time: Jan 13, 2025 at 09:48 AM
-- Server version: 10.4.32-MariaDB
-- PHP Version: 8.2.12

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

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

--
-- Table structure for table `admin`
--

CREATE TABLE `admin` (
  `id` int(11) NOT NULL,
  `role_id` int(11) DEFAULT NULL,
  `site_id` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`site_id`)),
  `user_pin` text NOT NULL,
  `joining_date` text NOT NULL,
  `company_id` text DEFAULT NULL,
  `name` varchar(200) NOT NULL,
  `gender` varchar(200) NOT NULL,
  `mobile` text NOT NULL,
  `email` varchar(200) NOT NULL,
  `password` text NOT NULL,
  `image` text NOT NULL,
  `view_status` int(2) DEFAULT NULL,
  `add_status` int(2) NOT NULL,
  `edit_status` int(2) NOT NULL,
  `delete_status` int(2) NOT NULL,
  `id_proof` text DEFAULT NULL,
  `id_proof_no` text NOT NULL,
  `id_proof_img` text NOT NULL,
  `is_active` int(2) NOT NULL DEFAULT 1,
  `is_deleted` int(2) NOT NULL,
  `created` timestamp NOT NULL DEFAULT current_timestamp(),
  `modified` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

--
-- Dumping data for table `admin`
--

INSERT INTO `admin` (`id`, `role_id`, `site_id`, `user_pin`, `joining_date`, `company_id`, `name`, `gender`, `mobile`, `email`, `password`, `image`, `view_status`, `add_status`, `edit_status`, `delete_status`, `id_proof`, `id_proof_no`, `id_proof_img`, `is_active`, `is_deleted`, `created`, `modified`) VALUES
(26, 1, '[]', 'CLUE001', '1212-12-12', '2', 'Vipin Rasekar', 'Male', '1234567890', 'vipin@admin.com', 'df240877c942d01adf42779d1b2fe5f83872f34efad60ea93dbe55011af7e8174bf55e51e5db0bf01d2f52f85a7e0bdc2a8671d9f339ccaaf35c9c8358093e75wWLF/5Ggqc7PppP8cQzmxGfW21a281iMwOUU4NxCpGs=', 'default.png', NULL, 0, 0, 0, 'aadhar_card', '221221212121', 'deafult.png', 1, 0, '2024-11-12 01:02:26', '2024-12-24 02:41:44'),
(81, 1, NULL, 'INTE001', '2022-11-11', '9', 'Hemant SIr Barapatre', 'Male', '1234567890', 'hemant@admin.com', 'a3f01a14f1aff065555685b59ffd29b2598f86d5b39208e8678cff7dbfcc6ae7b47bcf2c6a074242b94db15becc253e6ff9dcb059e7488f29374d2e2c4b7677el3fRUysKLAmSc9JUydJOJBCBsIqrBEBftPBEB5tY1Yw=', 'default.png', NULL, 0, 0, 0, 'aadhar_card', '2223331111', 'name-id.png', 1, 0, '2024-12-23 01:06:17', NULL),
(82, 69, '[\"4\",\"6\"]', 'CLUE002', '2023-09-01', '2', 'Rishiraj Korde', 'Male', '8888172881', 'rishirajkorde@gmail.com', 'd443d11efcd9dda8b0c5464f0232f714a063e76e6ca660bc3af574925e0d47eaea7d161fd590443bfec18717c85bc198c4418ae1472f66dee7c22b3fc1f35787B6vdu+Jv0nXnueiER+FpSjEO37knkfwnE0AdIlZMF/E=', 'default.png', NULL, 0, 0, 0, 'aadhar_card', '123123', 'name-id.png', 1, 0, '2024-12-23 01:25:20', '2024-12-24 05:19:28'),
(83, 70, '[\"6\"]', 'CLUE003', '1111-11-11', '2', 'Asmita Patil', 'Female', '1234567890', 'asmita@hr.com', '2fe8c052d94cd487236610f72a09f9bbd17be1ac28fff36a174c2b56bedf99f62042214ce854d2b48ed3ad8ea766851c1b13d55fd2bda428ee2b87ab158e92718W55oMX202SeLIX4j9lVE1IIxCCQWp3lkvlOHbe+d3Q=', 'default.png', NULL, 0, 0, 0, 'aadhar_card', '1234', 'name-id.png', 1, 0, '2024-12-24 05:16:31', '2024-12-24 05:18:27');

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

--
-- Table structure for table `agreement`
--

CREATE TABLE `agreement` (
  `id` int(11) NOT NULL,
  `user_id` int(11) NOT NULL,
  `plot_id` int(11) NOT NULL,
  `customer_id` int(11) NOT NULL,
  `sale_id` varchar(111) NOT NULL,
  `img` text NOT NULL,
  `created` timestamp NOT NULL DEFAULT current_timestamp(),
  `modified` timestamp NULL DEFAULT NULL ON UPDATE current_timestamp(),
  `is_active` int(2) NOT NULL DEFAULT 1,
  `is_deleted` int(2) NOT NULL DEFAULT 0
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

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

--
-- Table structure for table `bank_details`
--

CREATE TABLE `bank_details` (
  `id` int(11) NOT NULL,
  `user_id` int(11) NOT NULL,
  `bank_name` varchar(200) NOT NULL,
  `holder_name` varchar(200) NOT NULL,
  `account_no` text NOT NULL,
  `ifsc` text DEFAULT NULL,
  `micr` bigint(11) DEFAULT NULL,
  `branch_name` varchar(200) NOT NULL,
  `created` timestamp NOT NULL DEFAULT current_timestamp(),
  `modified` timestamp NULL DEFAULT NULL ON UPDATE current_timestamp(),
  `is_active` int(2) NOT NULL DEFAULT 1,
  `is_deleted` int(2) NOT NULL DEFAULT 0
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

--
-- Dumping data for table `bank_details`
--

INSERT INTO `bank_details` (`id`, `user_id`, `bank_name`, `holder_name`, `account_no`, `ifsc`, `micr`, `branch_name`, `created`, `modified`, `is_active`, `is_deleted`) VALUES
(1, 39, 'bank of india 1232', 'pravin Sir mendhe', '3333333333333333', '33333333333', 333333333, 'hudkeshwar\\', '2024-11-19 02:30:07', '2024-11-20 05:14:27', 1, 0),
(2, 40, 'bank of gondia', 'lalit tembhare', '2312321321323123', '12321312312312', 233123213, 'gondia2', '2024-11-20 05:49:00', '2024-11-21 02:25:42', 1, 0),
(3, 41, 'bank of india', 'lalit tembhare', '3123213232312312', '2312321312312312312', 213123123, 'manewada', '2024-11-21 03:00:01', NULL, 1, 0),
(4, 42, 'bank of maharashtra', 'bank of india', '3212123123123123', '123213123123', 213213312, 'manewada', '2024-11-21 03:04:07', NULL, 1, 0),
(5, 43, 'bank of maharashtra', 'sdasdasd', '2312312312321312', '31232131231', 123123123, 'manewada', '2024-11-21 03:05:34', NULL, 1, 0),
(6, 44, 'bank of maharahstra', 'medha umredkar', '2312312312321312', 'abcd1234123', 213123121, 'manaadaa', '2024-12-02 04:49:50', NULL, 1, 0),
(7, 45, 'bank of wardha', 'asmita patil', '1231546546545645', '556465465456465', 564564545, 'Wardha', '2024-12-02 05:29:50', NULL, 1, 0),
(8, 46, 'bank of india', 'asmita patil', '2312312312321321', 'abcd124354', 231233123, 'wardha', '2024-12-02 05:32:24', NULL, 1, 0),
(9, 47, 'bank of wardha', 'asmita patil', '2312323123213', '2312312321', 213213213, 'wardha', '2024-12-03 04:36:12', NULL, 1, 0),
(10, 48, 'bank of manager', 'rishiraj', '2112312321312312', 'sd213123213', 231231231, '2312321312312', '2024-12-03 06:40:17', NULL, 1, 0),
(11, 49, 'bank of india', 'asmita patil', '2321323312332231', '31233212123', 231231231, 'manewda', '2024-12-03 06:41:30', NULL, 1, 0),
(12, 50, 'wardha', 'wardha', '3212323123233223', '123213312', 213232131, 'wardha', '2024-12-03 07:05:49', NULL, 1, 0),
(13, 51, 'wardha', 'wardha', '3213123123321321', '1231231321', 213213213, 'wardha', '2024-12-03 07:06:42', '2024-12-03 07:06:54', 1, 0),
(14, 52, 'wardha', 'wardha', '3213123231232121', '31231231232312', 213212133, 'wardha', '2024-12-03 07:08:34', NULL, 1, 0),
(15, 53, 'wardha', 'wardha', '2132131232132322', '2131233231221', 213213231, 'wardha', '2024-12-03 07:10:16', NULL, 1, 0),
(16, 54, 'wardha', 'wardha', '3123123321221312', '21321323231', 231231231, 'wardha', '2024-12-03 07:12:51', NULL, 1, 0),
(17, 55, '222222222', '2222122111', '2312321323213322', '21321212', 123213213, '32132132123', '2024-12-03 07:15:21', NULL, 1, 0),
(18, 56, '232132332132', '231231231221', '321312321312', '213232321321', 213213213, '213213213221', '2024-12-03 07:15:57', NULL, 1, 0),
(19, 57, '23213213', '1232213', '123123213212321', '312321221', 232132132, '123123213132', '2024-12-03 07:17:46', NULL, 1, 0),
(20, 58, '3213213213', '123213213', '213213232132321', '123213213123', 321321321, '12321321213121', '2024-12-03 07:20:05', NULL, 1, 0),
(21, 59, '3213321321', '122133213', '123123213123121', '12312332132123123', 123213213, '1212312321', '2024-12-03 07:21:10', NULL, 1, 0),
(22, 60, '21323211312', '213123321', '1231232123213231', '213213213', 213213213, '321321321321', '2024-12-03 07:37:17', NULL, 1, 0),
(23, 61, '31231232133', '23123213213', '3123213122123213', '213123213', 321312321, '12312312321', '2024-12-03 07:38:59', NULL, 1, 0),
(24, 62, '23123213231', '231321321', '2132132312312321', '12321321312', 123123213, '1232133212', '2024-12-03 07:40:50', NULL, 1, 0),
(25, 63, 'bank of india', '23213213213213', '2131231231232132', '232132321323233', 231232132, '2312321321312312', '2024-12-03 07:49:08', '2024-12-03 07:51:28', 1, 0),
(26, 64, '111111', '11111', '1111111111111111', '111111111111', 111111111, '1111111', '2024-12-03 07:52:53', NULL, 1, 0),
(27, 65, '111111', '111111', '1111111111111111', '11111', 111111111, '111111111', '2024-12-03 07:55:18', NULL, 1, 0),
(28, 66, 'bank of india', 'bank of maharashtra', '9633333555565656', 'ABCD1234', 231231231, 'Manewada', '2024-12-03 23:27:23', NULL, 1, 0),
(29, 67, 'bank of india', 'rishriaj korde', '12312312312323', '2312312asdas', 213123123, 'Manewda', '2024-12-04 00:21:28', NULL, 1, 0),
(30, 68, 'bank of india', 'rishiraj korde', '23123213123213', '2312321', 231231232, 'manewda', '2024-12-04 01:17:20', NULL, 1, 0),
(31, 70, 'bank of india', 'rishiraj korde', '9635151515151515', 'abcd1232', 231231233, 'manewada', '2024-12-05 02:52:10', NULL, 1, 0),
(32, 71, 'bbb', 'bbb', '4342343222222222', '23442433', 324242424, 'mnmnm', '2024-12-05 07:28:39', '2024-12-09 05:40:02', 1, 0),
(33, 72, 'bank of india', '21321', '3212122111111111', '213123', 231231213, '1321231221', '2024-12-06 01:06:03', NULL, 1, 0),
(34, 73, 'bank of maharashtra', 'ashish bopche', '9636555565656555', 'ABCD12341', 564666666, 'manewda', '2024-12-09 00:31:57', NULL, 1, 0),
(35, 74, 'hdfc', 'hemant', '7848748787844878', 'hdfc000102', 645569585, 'dharmpeth extn', '2024-12-09 23:30:40', '2024-12-09 23:37:09', 1, 0),
(36, 75, 'bank of maharahstra', 'rishiraj sss', '231232312322121', '312212adsasa', 231231323, 'manewda', '2024-12-20 01:46:22', NULL, 1, 0),
(37, 76, 'bank of india', 'xyz', '3212312312331232', '3123123213xyz', 321331221, 'xyz', '2024-12-20 02:31:21', NULL, 1, 0),
(38, 77, 'bank of india', '123123', '2132331221231231', '23213123sdfsd', 312312312, 'manewda', '2024-12-20 05:20:17', NULL, 1, 0),
(39, 78, '231232321', 'hemant barapatre', '232131231231', '32132131221', 321231231, 'manewada', '2024-12-20 05:27:06', NULL, 1, 0),
(40, 79, 'bank of india', 'pravin mendhe', '3242342343422342', '324234', 213123123, 'manewda', '2024-12-23 00:17:02', NULL, 1, 0),
(41, 81, 'bank of dighori', 'hemant barapatre', '2123112312121212', '1234abcd', 231231231, 'manewda', '2024-12-23 01:06:17', NULL, 1, 0);

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

--
-- Table structure for table `brokers`
--

CREATE TABLE `brokers` (
  `id` int(11) NOT NULL,
  `user_id` int(11) NOT NULL,
  `company_id` int(11) NOT NULL,
  `customer_id` varchar(111) NOT NULL,
  `site_id` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL,
  `plot_id` varchar(111) NOT NULL,
  `name` varchar(200) NOT NULL,
  `mobile` text NOT NULL,
  `email` varchar(200) DEFAULT NULL,
  `password` text NOT NULL,
  `dob` text NOT NULL,
  `gender` varchar(200) NOT NULL,
  `bank_name` varchar(200) NOT NULL,
  `bank_holder_name` varchar(200) NOT NULL,
  `account_no` int(100) NOT NULL,
  `ifsc` varchar(100) NOT NULL,
  `branch_name` varchar(200) NOT NULL,
  `percentage` int(100) NOT NULL,
  `id_proof` text NOT NULL,
  `id_proof_no` text NOT NULL,
  `id_proof_img` text NOT NULL,
  `total_amount` int(255) NOT NULL,
  `created` timestamp NOT NULL DEFAULT current_timestamp(),
  `modified` timestamp NULL DEFAULT NULL ON UPDATE current_timestamp(),
  `is_active` int(2) NOT NULL DEFAULT 1,
  `is_deleted` int(2) NOT NULL DEFAULT 0,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

--
-- Dumping data for table `brokers`
--

INSERT INTO `brokers` (`id`, `user_id`, `company_id`, `customer_id`, `site_id`, `plot_id`, `name`, `mobile`, `email`, `password`, `dob`, `gender`, `bank_name`, `bank_holder_name`, `account_no`, `ifsc`, `branch_name`, `percentage`, `id_proof`, `id_proof_no`, `id_proof_img`, `total_amount`, `created`, `modified`, `is_active`, `is_deleted`, `updated_at`) VALUES
(1, 26, 3, '', NULL, '', 'Rishiraj Korde', '8888172881', 'rishirajkorde@gmail.com', '03f02da96db4b7557aec11524149c2a47f5a72967995ff7fb986d72338cfdee03afe94b770521ae25317526a154988155ed74cab76e4de9860a1635882b162eaLu6o7EKpEXHcbQOmGQL9izRqHLK6M4EG4GdxcuLuHag=', '2011-02-11', 'Male', 'bank of india', 'rishiraj korde', 2147483647, 'abcd1234', 'manewda', 6, 'aadhar_card', '231231212', 'name-id.png', 0, '2024-12-19 00:19:12', '2024-12-19 05:42:08', 1, 0, NULL),
(2, 71, 3, '', NULL, '', 'lalit tembhare', '8888172881', 'lalit@customer.com', 'cf9c6ae9fd9daa8783825f7a46f93cdeba38e16b498038683b6e4f49271dc67e61f25d9d7b80c4bc6a254f10c2441b33cd98961e93e880330257786dc4929b5dZTsxbBacd8Z8RHs2G3J2CJ4SaTe4mnGqdMH/e7kJaGE=', '2222-02-22', 'Male', 'bank of gondia', 'lalit tembhare', 2147483647, '32213abcd', 'manewda', 8, 'aadhar_card', '3213213123', 'name-id.png', 0, '2024-12-19 00:21:03', '2024-12-19 02:38:20', 1, 0, NULL),
(3, 71, 3, '', NULL, '', 'pravin mendhe', '3123231323', 'pravin@broker.com', '6be11b20df674f5725dc7df6a0a34770f37cbc1fe12e52cc5ef77c3e36f4c0220d9c119c7e37b24492a42e14bb2c7456208e4c9333c30691fc44f023528ac023rmR9nMw/v14moM5pHBwJrXV2eVtiWdXAb63kk6SOYqg=', '2222-02-12', 'Male', 'bank of india', 'pravin mendhe', 2147483647, 'abcd1234', 'ghugus', 10, 'pan_card', '213213213231', 'name-id.png', 0, '2024-12-19 01:05:05', '2024-12-20 00:51:29', 0, 0, NULL),
(4, 82, 2, '', NULL, '', 'Tanmay Khotele', '1234567899', 'tanmay@broker.com', 'f23457d71738c3df985e464094817f96fe8f272031054f3793f5cad3310852b3205403d8c32a5cb173702c6f117fed390e5a12444cb93bb1d5e99251d42e59147QzQ9hfqcT+RPLMsF9jo51rzuApfREDEokkKbAvIxos=', '2002-12-12', 'Male', 'bank of sakoli', 'tanmyay khatole', 2147483647, 'abcd1234', 'sakoli', 7, 'aadhar_card', '55667888777', 'name-id.png', 0, '2024-12-23 02:51:36', NULL, 1, 0, NULL),
(5, 26, 2, '', NULL, '', 'sahil gajbhiye', '1231231233', 'sahil@broker.com', '348051292d87067a29ecd186c550674e8bd3af3c6ff01eee114a7ab252659a1db73f7abd5dbe63e235841676293735681123f645d30889a405bb3de22c5c77080oJiEienLRYNsTrcaLafEo9GYc1yzRfazcODgMMDHh8=', '2012-02-02', 'Male', 'bank of itwari', 'sahil gajbhiye', 2147483647, 'itwari12344', 'itwari', 9, 'aadhar_card', '23123213121', 'name-id.png', 0, '2024-12-23 02:53:36', NULL, 1, 0, NULL);

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

--
-- Table structure for table `broker_payment`
--

CREATE TABLE `broker_payment` (
  `id` int(11) NOT NULL,
  `site_id` int(200) NOT NULL,
  `plot_id` int(240) NOT NULL,
  `customer_id` int(240) NOT NULL,
  `broker_id` int(200) NOT NULL,
  `user_id` int(200) NOT NULL,
  `total_amount` text NOT NULL,
  `paid_amount` text NOT NULL,
  `payment_date` date DEFAULT NULL,
  `remaining_amount` text DEFAULT NULL,
  `is_active` int(11) NOT NULL DEFAULT 1,
  `created_at` timestamp NOT NULL DEFAULT current_timestamp(),
  `modified_at` timestamp NULL DEFAULT NULL,
  `is_deleted` int(11) NOT NULL,
  `updated_at` date DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

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

--
-- Table structure for table `city`
--

CREATE TABLE `city` (
  `id` int(11) NOT NULL,
  `name` varchar(100) NOT NULL,
  `district_id` int(11) DEFAULT NULL,
  `state_id` int(11) DEFAULT NULL,
  `is_active` int(2) DEFAULT 1
) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

--
-- Dumping data for table `city`
--

INSERT INTO `city` (`id`, `name`, `district_id`, `state_id`, `is_active`) VALUES
(2, 'Nagpur', NULL, 21, 1);

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

--
-- Table structure for table `company`
--

CREATE TABLE `company` (
  `id` int(11) NOT NULL,
  `company_name` varchar(200) NOT NULL,
  `mobile` text NOT NULL,
  `contact_name` varchar(200) NOT NULL,
  `email` varchar(200) NOT NULL,
  `rera_reg` text DEFAULT NULL,
  `gst_no` text DEFAULT NULL,
  `alternate_no` text NOT NULL,
  `logo` varchar(200) NOT NULL,
  `address` text NOT NULL,
  `pincode` text NOT NULL,
  `city` int(11) NOT NULL,
  `state` int(11) NOT NULL,
  `country` int(11) NOT NULL,
  `created` timestamp NOT NULL DEFAULT current_timestamp(),
  `modified` timestamp NULL DEFAULT NULL ON UPDATE current_timestamp(),
  `is_active` int(2) NOT NULL DEFAULT 1,
  `is_deleted` int(2) NOT NULL DEFAULT 0
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

--
-- Dumping data for table `company`
--

INSERT INTO `company` (`id`, `company_name`, `mobile`, `contact_name`, `email`, `rera_reg`, `gst_no`, `alternate_no`, `logo`, `address`, `pincode`, `city`, `state`, `country`, `created`, `modified`, `is_active`, `is_deleted`) VALUES
(2, 'Cluematrix Private Limited', '8888172881', 'Rishiraj Korde', 'rishirajkorde@gmail.com', 'Maharashtra', '2312212312', '5678956789', 'deafult.png', 'Flat No 102 Arya Apartment Near Manewada Square', '440034', 2, 21, 1, '2024-11-11 09:58:40', NULL, 1, 0),
(9, 'InternOrbit', '1234567891', 'Hemant Barapatre', 'hemant@gmail.com', '23213213121231', '23123123213', '1234567899', 'deafult.png', 'Flat No 102 Arya Apartment Near Manewada Square', '440034', 2, 21, 1, '2024-12-23 00:50:10', NULL, 1, 0);

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

--
-- Table structure for table `country`
--

CREATE TABLE `country` (
  `id` int(11) NOT NULL,
  `name` varchar(200) NOT NULL,
  `created` timestamp NOT NULL DEFAULT current_timestamp(),
  `is_active` int(2) NOT NULL DEFAULT 1
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

--
-- Dumping data for table `country`
--

INSERT INTO `country` (`id`, `name`, `created`, `is_active`) VALUES
(1, 'India\r\n', '2022-05-05 10:20:54', 1);

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

--
-- Table structure for table `customers`
--

CREATE TABLE `customers` (
  `id` int(11) NOT NULL,
  `company_id` int(11) NOT NULL,
  `visitor_id` int(11) DEFAULT NULL,
  `site_id` int(11) DEFAULT NULL,
  `broker_id` int(11) DEFAULT NULL,
  `user_id` int(11) NOT NULL,
  `first_name` varchar(200) NOT NULL,
  `middle_name` varchar(200) NOT NULL,
  `last_name` varchar(200) NOT NULL,
  `dob` text NOT NULL,
  `address` text NOT NULL,
  `country` varchar(111) DEFAULT NULL,
  `state` varchar(111) DEFAULT NULL,
  `city` varchar(111) DEFAULT NULL,
  `area` varchar(240) DEFAULT NULL,
  `pincode` text NOT NULL,
  `mobile` text NOT NULL,
  `alternate_mobile` text NOT NULL,
  `email` varchar(200) NOT NULL,
  `logo` text NOT NULL,
  `id_proof` varchar(200) NOT NULL,
  `id_proof_no` text NOT NULL,
  `id_proof_img` varchar(200) NOT NULL,
  `plot_id` int(11) DEFAULT NULL,
  `occupation` varchar(200) DEFAULT NULL,
  `designation` varchar(200) DEFAULT NULL,
  `income` text DEFAULT NULL,
  `payment_method` varchar(200) DEFAULT NULL,
  `office_address` text DEFAULT NULL,
  `liabilities` text DEFAULT NULL,
  `family_income` text DEFAULT NULL,
  `created` timestamp NOT NULL DEFAULT current_timestamp(),
  `modified` timestamp NULL DEFAULT NULL ON UPDATE current_timestamp(),
  `is_active` int(2) NOT NULL DEFAULT 1,
  `is_deleted` int(2) NOT NULL DEFAULT 0
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

--
-- Dumping data for table `customers`
--

INSERT INTO `customers` (`id`, `company_id`, `visitor_id`, `site_id`, `broker_id`, `user_id`, `first_name`, `middle_name`, `last_name`, `dob`, `address`, `country`, `state`, `city`, `area`, `pincode`, `mobile`, `alternate_mobile`, `email`, `logo`, `id_proof`, `id_proof_no`, `id_proof_img`, `plot_id`, `occupation`, `designation`, `income`, `payment_method`, `office_address`, `liabilities`, `family_income`, `created`, `modified`, `is_active`, `is_deleted`) VALUES
(1, 2, 1, 4, NULL, 82, 'aaa', 'bbb', 'ccc', '', 'aaa', NULL, NULL, NULL, NULL, '', '1231231231', '', '123@gmail.com', '', '', '', '', 42, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2024-12-23 10:00:13', NULL, 1, 0),
(2, 2, 3, 3, NULL, 26, 'mmm', 'nnn', 'ooo', '', 'mmm nnn ooo', NULL, NULL, NULL, NULL, '', '1234567890', '', 'mmm@gmail.com', '', '', '', '', 36, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2024-12-23 10:01:35', NULL, 1, 0);

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

--
-- Table structure for table `development`
--

CREATE TABLE `development` (
  `id` int(11) NOT NULL,
  `company_id` int(11) DEFAULT NULL,
  `user_id` int(11) NOT NULL,
  `expenses_id` int(11) NOT NULL,
  `site_id` int(11) DEFAULT NULL,
  `unit_id` int(11) NOT NULL,
  `material_id` int(11) NOT NULL,
  `qty` int(200) NOT NULL,
  `details` longtext NOT NULL,
  `is_active` int(2) NOT NULL DEFAULT 1,
  `is_deleted` int(2) NOT NULL DEFAULT 0,
  `updated_at` int(11) NOT NULL,
  `modified` int(11) NOT NULL,
  `created_at` timestamp NOT NULL DEFAULT current_timestamp()
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

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

--
-- Table structure for table `district`
--

CREATE TABLE `district` (
  `id` int(11) NOT NULL,
  `name` varchar(100) NOT NULL,
  `state_id` int(11) DEFAULT NULL,
  `is_active` int(2) NOT NULL DEFAULT 1
) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

--
-- Dumping data for table `district`
--

INSERT INTO `district` (`id`, `name`, `state_id`, `is_active`) VALUES
(1, 'Nagpur', 21, 1);

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

--
-- Table structure for table `expenses`
--

CREATE TABLE `expenses` (
  `id` int(11) NOT NULL,
  `user_id` int(11) NOT NULL,
  `expense_type` varchar(255) DEFAULT NULL,
  `expense_name` varchar(255) NOT NULL,
  `by_whom` varchar(255) NOT NULL,
  `amount` int(255) NOT NULL,
  `date` text DEFAULT NULL,
  `reason` text NOT NULL,
  `created` timestamp NOT NULL DEFAULT current_timestamp(),
  `modified` timestamp NULL DEFAULT NULL ON UPDATE current_timestamp(),
  `is_active` int(2) NOT NULL DEFAULT 1,
  `is_deleted` int(2) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

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

--
-- Table structure for table `expenses_type`
--

CREATE TABLE `expenses_type` (
  `id` int(11) NOT NULL,
  `company_id` int(11) NOT NULL,
  `user_id` int(11) NOT NULL,
  `name` varchar(255) DEFAULT NULL,
  `created` timestamp NOT NULL DEFAULT current_timestamp(),
  `modified` timestamp NULL DEFAULT NULL ON UPDATE current_timestamp(),
  `is_active` int(2) NOT NULL DEFAULT 1,
  `is_deleted` int(2) NOT NULL DEFAULT 0
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

--
-- Dumping data for table `expenses_type`
--

INSERT INTO `expenses_type` (`id`, `company_id`, `user_id`, `name`, `created`, `modified`, `is_active`, `is_deleted`) VALUES
(1, 3, 26, 'road', '2024-12-09 05:47:12', NULL, 1, 0),
(2, 3, 26, 'garden', '2024-12-09 05:47:16', NULL, 1, 0),
(3, 3, 26, 'Bulding', '2024-12-09 05:47:39', NULL, 1, 0);

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

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

CREATE TABLE `leads` (
  `id` int(11) NOT NULL,
  `company_id` int(11) NOT NULL,
  `name` varchar(240) DEFAULT NULL,
  `address` text DEFAULT NULL,
  `email` varchar(240) DEFAULT NULL,
  `mobile` text DEFAULT NULL,
  `user_id` int(11) DEFAULT NULL,
  `created_at` timestamp NOT NULL DEFAULT current_timestamp(),
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  `is_deleted` int(11) DEFAULT NULL,
  `description` varchar(240) DEFAULT NULL,
  `is_active` int(2) DEFAULT 1
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

--
-- Dumping data for table `leads`
--

INSERT INTO `leads` (`id`, `company_id`, `name`, `address`, `email`, `mobile`, `user_id`, `created_at`, `updated_at`, `deleted_at`, `is_deleted`, `description`, `is_active`) VALUES
(1, 2, 'Rishiraj Korde', 'Flat No 102 Arya Apartment Near Manewada Square', NULL, '8888172881', 26, '2024-12-24 01:00:06', NULL, NULL, NULL, 'php', 1);

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

--
-- Table structure for table `lead_follow_ups`
--

CREATE TABLE `lead_follow_ups` (
  `id` int(11) NOT NULL,
  `user_id` int(11) DEFAULT NULL,
  `lead_id` int(11) DEFAULT NULL,
  `follow_up_descr` varchar(240) DEFAULT NULL,
  `date` date DEFAULT NULL,
  `created_at` timestamp NOT NULL DEFAULT current_timestamp(),
  `is_deleted` int(11) DEFAULT NULL,
  `is_active` int(2) NOT NULL DEFAULT 1
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

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

--
-- Table structure for table `material`
--

CREATE TABLE `material` (
  `id` int(11) NOT NULL,
  `company_id` int(11) DEFAULT NULL,
  `user_id` int(11) NOT NULL,
  `material_name` varchar(200) DEFAULT NULL,
  `is_active` int(2) NOT NULL DEFAULT 1,
  `is_deleted` int(2) NOT NULL DEFAULT 0,
  `modified` timestamp NOT NULL DEFAULT current_timestamp(),
  `created_at` timestamp NOT NULL DEFAULT current_timestamp(),
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

--
-- Dumping data for table `material`
--

INSERT INTO `material` (`id`, `company_id`, `user_id`, `material_name`, `is_active`, `is_deleted`, `modified`, `created_at`, `updated_at`) VALUES
(1, 2, 26, 'soil', 1, 0, '2024-12-23 06:04:30', '2024-12-23 01:34:30', NULL),
(2, 2, 26, 'aluminum', 0, 1, '2024-12-23 06:04:34', '2024-12-23 01:34:34', NULL),
(3, 2, 26, 'aluminum', 1, 0, '2024-12-23 06:04:42', '2024-12-23 01:34:42', NULL),
(4, 9, 81, 'soil', 1, 0, '2024-12-23 06:05:54', '2024-12-23 01:35:54', NULL),
(5, 9, 81, 'bricks', 1, 0, '2024-12-23 06:06:10', '2024-12-23 01:36:10', NULL);

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

--
-- Table structure for table `plot_details`
--

CREATE TABLE `plot_details` (
  `id` int(11) NOT NULL,
  `user_id` int(11) NOT NULL,
  `company_id` int(11) NOT NULL,
  `hold_by_broker` varchar(240) DEFAULT NULL,
  `site_id` int(11) NOT NULL,
  `customer_id` varchar(111) NOT NULL,
  `plot_no` text NOT NULL,
  `plot_area` text NOT NULL,
  `amount` text NOT NULL,
  `total` int(11) NOT NULL,
  `plot_type` varchar(255) NOT NULL,
  `is_sold` int(11) NOT NULL,
  `created` timestamp NOT NULL DEFAULT current_timestamp(),
  `modified` timestamp NULL DEFAULT NULL ON UPDATE current_timestamp(),
  `is_active` int(2) NOT NULL DEFAULT 1,
  `is_deleted` int(2) NOT NULL DEFAULT 0,
  `is_deleted_employee` int(2) NOT NULL DEFAULT 0
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

--
-- Dumping data for table `plot_details`
--

INSERT INTO `plot_details` (`id`, `user_id`, `company_id`, `hold_by_broker`, `site_id`, `customer_id`, `plot_no`, `plot_area`, `amount`, `total`, `plot_type`, `is_sold`, `created`, `modified`, `is_active`, `is_deleted`, `is_deleted_employee`) VALUES
(1, 26, 3, NULL, 1, '', '1', '', '112', 0, '', 0, '2024-12-20 04:40:21', NULL, 1, 0, 0),
(2, 26, 3, NULL, 1, '', '2', '', '112', 0, '', 0, '2024-12-20 04:40:21', NULL, 1, 0, 0),
(3, 26, 3, NULL, 1, '', '3', '', '112', 0, '', 0, '2024-12-20 04:40:21', NULL, 1, 0, 0),
(4, 26, 3, NULL, 1, '', '4', '', '112', 0, '', 0, '2024-12-20 04:40:21', NULL, 1, 0, 0),
(5, 26, 3, NULL, 1, '', '5', '', '112', 0, '', 0, '2024-12-20 04:40:21', NULL, 1, 0, 0),
(6, 26, 3, NULL, 1, '', '6', '', '112', 0, '', 0, '2024-12-20 04:40:21', NULL, 1, 0, 0),
(7, 26, 3, NULL, 1, '', '7', '', '112', 0, '', 0, '2024-12-20 04:40:21', NULL, 1, 0, 0),
(8, 26, 3, NULL, 1, '', '8', '', '112', 0, '', 0, '2024-12-20 04:40:21', NULL, 1, 0, 0),
(9, 26, 3, NULL, 1, '', '9', '', '112', 0, '', 0, '2024-12-20 04:40:21', NULL, 1, 0, 0),
(10, 26, 3, NULL, 1, '', '10', '', '112', 0, '', 0, '2024-12-20 04:40:21', NULL, 1, 0, 0),
(11, 26, 3, NULL, 1, '', '11', '', '112', 0, '', 0, '2024-12-20 04:40:21', NULL, 1, 0, 0),
(12, 26, 3, NULL, 1, '', '12', '', '112', 0, '', 0, '2024-12-20 04:40:21', NULL, 1, 0, 0),
(13, 26, 3, NULL, 1, '', '13', '', '112', 0, '', 0, '2024-12-20 04:40:21', NULL, 1, 0, 0),
(14, 26, 3, NULL, 1, '', '14', '', '112', 0, '', 0, '2024-12-20 04:40:21', NULL, 1, 0, 0),
(15, 26, 3, NULL, 1, '', '15', '', '112', 0, '', 0, '2024-12-20 04:40:21', NULL, 1, 0, 0),
(16, 26, 3, NULL, 1, '', '16', '', '112', 0, '', 0, '2024-12-20 04:40:21', NULL, 1, 0, 0),
(17, 26, 3, NULL, 1, '', '17', '', '112', 0, '', 0, '2024-12-20 04:40:21', NULL, 1, 0, 0),
(18, 26, 3, NULL, 1, '', '18', '', '112', 0, '', 0, '2024-12-20 04:40:21', NULL, 1, 0, 0),
(19, 26, 3, NULL, 1, '', '19', '', '112', 0, '', 0, '2024-12-20 04:40:21', NULL, 1, 0, 0),
(20, 26, 3, NULL, 1, '', '20', '', '112', 0, '', 0, '2024-12-20 04:40:21', NULL, 1, 0, 0),
(21, 26, 3, NULL, 1, '', '21', '', '112', 0, '', 0, '2024-12-20 04:40:21', NULL, 1, 0, 0),
(22, 26, 3, NULL, 1, '', '22', '', '112', 0, '', 0, '2024-12-20 04:40:21', NULL, 1, 0, 0),
(23, 26, 3, NULL, 2, '', '1', '', '122', 0, '', 0, '2024-12-20 04:47:10', NULL, 1, 0, 0),
(24, 26, 3, NULL, 2, '', '2', '', '122', 0, '', 0, '2024-12-20 04:47:10', NULL, 1, 0, 0),
(25, 26, 3, NULL, 2, '', '3', '', '122', 0, '', 0, '2024-12-20 04:47:10', NULL, 1, 0, 0),
(26, 26, 3, NULL, 2, '', '4', '', '122', 0, '', 0, '2024-12-20 04:47:10', NULL, 1, 0, 0),
(27, 26, 3, NULL, 2, '', '5', '', '122', 0, '', 0, '2024-12-20 04:47:10', NULL, 1, 0, 0),
(28, 26, 3, NULL, 2, '', '6', '', '122', 0, '', 0, '2024-12-20 04:47:10', NULL, 1, 0, 0),
(29, 26, 3, NULL, 2, '', '7', '', '122', 0, '', 0, '2024-12-20 04:47:10', NULL, 1, 0, 0),
(30, 26, 2, NULL, 3, '', '1', '', '233', 0, '', 0, '2024-12-23 02:07:46', NULL, 1, 0, 0),
(31, 26, 2, NULL, 3, '', '2', '', '233', 0, '', 0, '2024-12-23 02:07:46', NULL, 1, 0, 0),
(32, 26, 2, NULL, 3, '', '3', '', '233', 0, '', 0, '2024-12-23 02:07:46', NULL, 1, 0, 0),
(33, 26, 2, NULL, 3, '', '4', '', '233', 0, '', 0, '2024-12-23 02:07:46', NULL, 1, 0, 0),
(34, 26, 2, NULL, 3, '', '5', '', '233', 0, '', 0, '2024-12-23 02:07:46', NULL, 1, 0, 0),
(35, 26, 2, NULL, 3, '', '6', '', '233', 0, '', 0, '2024-12-23 02:07:46', NULL, 1, 0, 0),
(36, 26, 2, NULL, 3, '', '7', '22', '233', 5126, 'Residential', 1, '2024-12-23 02:07:46', '2024-12-23 10:17:34', 1, 0, 0),
(37, 26, 2, NULL, 3, '', '8', '', '233', 0, '', 0, '2024-12-23 02:07:46', NULL, 1, 0, 0),
(38, 26, 2, NULL, 3, '', '9', '', '233', 0, '', 0, '2024-12-23 02:07:46', NULL, 1, 0, 0),
(39, 26, 2, NULL, 3, '', '10', '', '233', 0, '', 0, '2024-12-23 02:07:46', NULL, 1, 0, 0),
(40, 26, 2, NULL, 3, '', '11', '', '233', 0, '', 0, '2024-12-23 02:07:46', NULL, 1, 0, 0),
(41, 26, 2, NULL, 3, '', '12', '', '233', 0, '', 0, '2024-12-23 02:07:46', NULL, 1, 0, 0),
(42, 82, 2, NULL, 4, '', '1', '546', '232', 126672, 'Residential', 1, '2024-12-23 02:10:16', '2024-12-23 08:46:49', 1, 0, 0),
(43, 82, 2, NULL, 4, '', '2', '', '232', 0, '', 0, '2024-12-23 02:10:16', NULL, 1, 0, 0),
(44, 82, 2, NULL, 4, '', '3', '', '232', 0, '', 0, '2024-12-23 02:10:16', NULL, 1, 0, 0),
(45, 26, 2, NULL, 5, '', '1', '', '11', 0, '', 0, '2024-12-24 02:41:44', NULL, 1, 0, 0),
(46, 26, 2, NULL, 5, '', '2', '', '11', 0, '', 0, '2024-12-24 02:41:44', NULL, 1, 0, 0),
(47, 26, 2, NULL, 5, '', '3', '', '11', 0, '', 0, '2024-12-24 02:41:44', NULL, 1, 0, 0),
(48, 26, 2, NULL, 5, '', '4', '', '11', 0, '', 0, '2024-12-24 02:41:44', NULL, 1, 0, 0),
(49, 26, 2, NULL, 5, '', '5', '', '11', 0, '', 0, '2024-12-24 02:41:44', NULL, 1, 0, 0),
(50, 83, 2, NULL, 6, '', '1', '', '332', 0, '', 0, '2024-12-24 05:18:27', NULL, 1, 0, 0),
(51, 83, 2, NULL, 6, '', '2', '', '332', 0, '', 0, '2024-12-24 05:18:27', NULL, 1, 0, 0),
(52, 83, 2, NULL, 6, '', '3', '221', '332', 73372, 'Residential', 0, '2024-12-24 05:18:27', '2024-12-24 05:20:31', 1, 0, 0);

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

--
-- Table structure for table `plot_emi`
--

CREATE TABLE `plot_emi` (
  `id` int(11) NOT NULL,
  `company_id` int(11) NOT NULL,
  `user_id` int(200) NOT NULL,
  `customer_id` int(200) NOT NULL,
  `plot_id` int(200) NOT NULL,
  `emi_amount` varchar(200) DEFAULT NULL,
  `paid_amount` varchar(200) DEFAULT NULL,
  `pay_emi_method` varchar(200) DEFAULT NULL,
  `paid_to_be_amount` text DEFAULT NULL,
  `utr` int(11) NOT NULL,
  `payment_mode` varchar(200) DEFAULT NULL,
  `bank` text NOT NULL,
  `cheque_no` int(200) NOT NULL,
  `upi_id` text NOT NULL,
  `emi_date` date NOT NULL,
  `total_amount` decimal(10,8) NOT NULL,
  `remaining_amount` text DEFAULT NULL,
  `created_at` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
  `created` date DEFAULT NULL,
  `is_deleted` int(11) NOT NULL DEFAULT 0,
  `is_active` int(11) NOT NULL DEFAULT 1,
  `emi_status` varchar(100) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

--
-- Dumping data for table `plot_emi`
--

INSERT INTO `plot_emi` (`id`, `company_id`, `user_id`, `customer_id`, `plot_id`, `emi_amount`, `paid_amount`, `pay_emi_method`, `paid_to_be_amount`, `utr`, `payment_mode`, `bank`, `cheque_no`, `upi_id`, `emi_date`, `total_amount`, `remaining_amount`, `created_at`, `created`, `is_deleted`, `is_active`, `emi_status`) VALUES
(1, 2, 0, 1, 42, '222', NULL, '', '222', 0, 'Cash', '', 0, '', '0000-00-00', 0.00000000, '126117', '2024-12-23 09:47:24', '2024-12-23', 0, 1, NULL),
(2, 2, 0, 2, 36, '222', NULL, '', '222', 0, 'Cash', '', 0, '', '0000-00-00', 0.00000000, '4660', '2024-12-23 10:24:06', '2024-12-23', 0, 1, NULL),
(3, 2, 0, 1, 42, '2222', NULL, '', '2222', 0, 'Cash', '', 0, '', '0000-00-00', 0.00000000, '123895', '2024-12-23 10:58:59', '2024-12-23', 0, 1, NULL),
(4, 2, 0, 1, 42, '222', NULL, '', '222', 0, 'Cash', '', 0, '', '0000-00-00', 0.00000000, '123673', '2024-12-23 11:20:25', '2024-12-23', 0, 1, NULL),
(5, 2, 0, 1, 42, '2222', NULL, '', '2222', 0, 'Cash', '', 0, '', '0000-00-00', 0.00000000, '121451', '2024-12-24 05:50:17', '2024-12-24', 0, 1, NULL),
(6, 2, 0, 1, 42, '2122', NULL, '', '2122', 0, 'Cash', '', 0, '', '0000-00-00', 0.00000000, '119329', '2024-12-24 06:15:57', '2024-12-24', 0, 1, NULL),
(7, 2, 0, 1, 42, '1111', NULL, '', '1111', 0, 'Cash', '', 0, '', '0000-00-00', 0.00000000, '118218', '2024-12-24 06:22:38', '2024-12-24', 0, 1, NULL),
(8, 2, 0, 2, 36, '333', NULL, '', '333', 0, 'Cash', '', 0, '', '0000-00-00', 0.00000000, '4327', '2024-12-24 06:23:42', '2024-12-24', 0, 1, NULL),
(9, 2, 0, 1, 42, '1111', NULL, '', '1111', 0, 'Cash', '', 0, '', '0000-00-00', 0.00000000, '117107', '2024-12-24 08:53:29', '2024-12-24', 0, 1, NULL),
(10, 2, 0, 2, 36, '2222', NULL, '', '2222', 0, 'Cash', '', 0, '', '0000-00-00', 0.00000000, '2105', '2024-12-24 08:53:37', '2024-12-24', 0, 1, NULL);

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

--
-- Table structure for table `plot_sales`
--

CREATE TABLE `plot_sales` (
  `id` int(11) NOT NULL,
  `user_id` int(11) NOT NULL,
  `company_id` int(11) NOT NULL,
  `customer_id` int(11) NOT NULL,
  `site_id` int(11) NOT NULL,
  `plot_id` int(11) NOT NULL,
  `plot_total` int(100) NOT NULL,
  `plot_amount_sq_ft` int(100) NOT NULL,
  `plot_amount_sq_ft_discount` int(100) NOT NULL,
  `broker_id` int(11) DEFAULT NULL,
  `broker_percentage` int(100) DEFAULT NULL,
  `broker_amount` int(100) NOT NULL,
  `sale_method` varchar(200) NOT NULL,
  `discount_amount` int(100) NOT NULL,
  `paid_amount` int(100) NOT NULL,
  `balance_amount` int(100) NOT NULL,
  `loan_amount` int(100) DEFAULT NULL,
  `no_of_months` int(100) DEFAULT NULL,
  `emi` int(100) DEFAULT NULL,
  `payment_method` varchar(200) NOT NULL,
  `bank_name` varchar(200) DEFAULT NULL,
  `branch_name` varchar(200) DEFAULT NULL,
  `cheque_no` text DEFAULT NULL,
  `paid_to_broker_amt` int(255) NOT NULL,
  `remaining_broker_amt` int(11) DEFAULT NULL,
  `paid_date` text DEFAULT NULL,
  `agreement_date` text NOT NULL,
  `agreement_status` varchar(255) NOT NULL,
  `token_amount` text DEFAULT NULL,
  `is_status` int(11) NOT NULL,
  `is_active` int(2) NOT NULL DEFAULT 1,
  `is_deleted` int(2) NOT NULL DEFAULT 0,
  `created` timestamp NOT NULL DEFAULT current_timestamp(),
  `modified` timestamp NULL DEFAULT NULL ON UPDATE current_timestamp()
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

--
-- Dumping data for table `plot_sales`
--

INSERT INTO `plot_sales` (`id`, `user_id`, `company_id`, `customer_id`, `site_id`, `plot_id`, `plot_total`, `plot_amount_sq_ft`, `plot_amount_sq_ft_discount`, `broker_id`, `broker_percentage`, `broker_amount`, `sale_method`, `discount_amount`, `paid_amount`, `balance_amount`, `loan_amount`, `no_of_months`, `emi`, `payment_method`, `bank_name`, `branch_name`, `cheque_no`, `paid_to_broker_amt`, `remaining_broker_amt`, `paid_date`, `agreement_date`, `agreement_status`, `token_amount`, `is_status`, `is_active`, `is_deleted`, `created`, `modified`) VALUES
(1, 82, 2, 1, 4, 42, 126672, 232, 0, 0, 0, 0, 'On Cash', 0, 333, 117107, 126339, 0, 0, 'cash', '', '', '', 0, 0, '2022-02-02', '1999-09-13', 'On-Progress', NULL, 0, 1, 0, '2024-12-23 04:16:49', '2024-12-24 08:53:29'),
(2, 26, 2, 2, 3, 36, 5126, 233, 0, 0, 0, 0, 'On Cash', 22, 222, 2105, 4882, 0, 0, 'cash', '', '', '', 0, 0, '2222-12-31', '2222-02-22', 'On-Progress', NULL, 0, 1, 0, '2024-12-23 05:47:34', '2024-12-24 08:53:37');

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

--
-- Table structure for table `registry`
--

CREATE TABLE `registry` (
  `id` int(11) NOT NULL,
  `user_id` int(11) NOT NULL,
  `plot_id` int(11) NOT NULL,
  `customer_id` int(11) NOT NULL,
  `sale_id` int(11) NOT NULL,
  `img` text NOT NULL,
  `created` timestamp NOT NULL DEFAULT current_timestamp(),
  `modified` timestamp NULL DEFAULT NULL ON UPDATE current_timestamp(),
  `is_active` int(2) NOT NULL DEFAULT 1,
  `is_deleted` int(2) NOT NULL DEFAULT 0
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

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

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

CREATE TABLE `roles` (
  `id` int(11) NOT NULL,
  `company_id` int(11) DEFAULT NULL,
  `name` varchar(200) NOT NULL,
  `created` timestamp NOT NULL DEFAULT current_timestamp(),
  `is_active` int(2) NOT NULL DEFAULT 1,
  `is_deleted` int(2) NOT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `modified` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

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

INSERT INTO `roles` (`id`, `company_id`, `name`, `created`, `is_active`, `is_deleted`, `updated_at`, `modified`) VALUES
(1, NULL, 'admin', '2022-05-05 11:52:00', 1, 0, NULL, NULL),
(69, 2, 'manager', '2024-12-23 01:17:34', 1, 0, NULL, NULL),
(70, 2, 'HR', '2024-12-23 01:17:38', 1, 0, NULL, NULL),
(71, 2, 'Developer', '2024-12-23 01:17:48', 1, 0, NULL, NULL);

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

--
-- Table structure for table `role_permissions`
--

CREATE TABLE `role_permissions` (
  `id` int(11) NOT NULL,
  `role_id` int(11) DEFAULT NULL,
  `permissions` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL CHECK (json_valid(`permissions`))
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

--
-- Dumping data for table `role_permissions`
--

INSERT INTO `role_permissions` (`id`, `role_id`, `permissions`) VALUES
(12, 1, '{\"Employees\":{\"view_status\":1,\"add_status\":1,\"edit_status\":1,\"delete_status\":1},\"Role_Management\":{\"view_status\":1,\"add_status\":1,\"edit_status\":1,\"delete_status\":1},\"Roles\":{\"view_status\":1,\"add_status\":1,\"edit_status\":1,\"delete_status\":1},\"Material\":{\"view_status\":1,\"add_status\":1,\"edit_status\":1,\"delete_status\":1},\"Units\":{\"view_status\":1,\"add_status\":1,\"edit_status\":1,\"delete_status\":1},\"Expenses_Type\":{\"view_status\":1,\"add_status\":1,\"edit_status\":1,\"delete_status\":1},\"Vendor\":{\"view_status\":1,\"add_status\":1,\"edit_status\":1,\"delete_status\":1},\"Development\":{\"view_status\":1,\"add_status\":1,\"edit_status\":1,\"delete_status\":1},\"Site_Installation\":{\"view_status\":1,\"add_status\":1,\"edit_status\":1,\"delete_status\":1},\"Lead_Generation\":{\"view_status\":1,\"add_status\":1,\"edit_status\":1,\"delete_status\":1},\"Plot_Details\":{\"view_status\":1,\"add_status\":1,\"edit_status\":1,\"delete_status\":1},\"Visitors\":{\"view_status\":1,\"add_status\":1,\"edit_status\":1,\"delete_status\":1},\"Customers\":{\"view_status\":1,\"add_status\":1,\"edit_status\":1,\"delete_status\":1},\"Brokers\":{\"view_status\":1,\"add_status\":1,\"edit_status\":1,\"delete_status\":1},\"Sales\":{\"view_status\":1,\"add_status\":1,\"edit_status\":1,\"delete_status\":1},\"Payment\":{\"view_status\":1,\"add_status\":1,\"edit_status\":1,\"delete_status\":1},\"Company\":{\"view_status\":1,\"add_status\":1,\"edit_status\":1,\"delete_status\":1}}'),
(25, 41, '{\"Employees\":{\"add_status\":1,\"edit_status\":1,\"view_status\":1,\"delete_status\":1},\"Role_Management\":{\"add_status\":1,\"edit_status\":1,\"view_status\":0,\"delete_status\":1},\"Roles\":{\"add_status\":1,\"edit_status\":1,\"view_status\":1,\"delete_status\":1},\"Material\":{\"add_status\":1,\"edit_status\":1,\"view_status\":1,\"delete_status\":1},\"Units\":{\"add_status\":1,\"edit_status\":1,\"view_status\":1,\"delete_status\":1},\"Expenses_Type\":{\"add_status\":1,\"edit_status\":1,\"view_status\":1,\"delete_status\":1},\"Vendor\":{\"add_status\":1,\"edit_status\":1,\"view_status\":1,\"delete_status\":1},\"Development\":{\"add_status\":1,\"edit_status\":1,\"view_status\":1,\"delete_status\":1},\"Site_Installation\":{\"add_status\":1,\"edit_status\":1,\"view_status\":1,\"delete_status\":1},\"Lead_Generation\":{\"add_status\":1,\"edit_status\":1,\"view_status\":1,\"delete_status\":1},\"Plot_Details\":{\"add_status\":1,\"edit_status\":1,\"view_status\":1,\"delete_status\":1},\"Visitors\":{\"add_status\":1,\"edit_status\":1,\"view_status\":1,\"delete_status\":1},\"Customers\":{\"add_status\":1,\"edit_status\":1,\"view_status\":1,\"delete_status\":1},\"Brokers\":{\"add_status\":1,\"edit_status\":1,\"view_status\":1,\"delete_status\":1},\"Sales\":{\"add_status\":1,\"edit_status\":1,\"view_status\":1,\"delete_status\":1},\"Payment\":{\"add_status\":1,\"edit_status\":1,\"view_status\":1,\"delete_status\":1},\"Company\":{\"add_status\":1,\"edit_status\":1,\"view_status\":1,\"delete_status\":1}}'),
(26, 42, '{\"Employees\":{\"add_status\":1,\"edit_status\":1,\"view_status\":1,\"delete_status\":1},\"Role_Management\":{\"add_status\":1,\"edit_status\":1,\"view_status\":0,\"delete_status\":1},\"Roles\":{\"add_status\":1,\"edit_status\":1,\"view_status\":1,\"delete_status\":1},\"Material\":{\"add_status\":1,\"edit_status\":1,\"view_status\":1,\"delete_status\":1},\"Units\":{\"add_status\":1,\"edit_status\":1,\"view_status\":1,\"delete_status\":1},\"Expenses_Type\":{\"add_status\":1,\"edit_status\":1,\"view_status\":1,\"delete_status\":1},\"Vendor\":{\"add_status\":1,\"edit_status\":1,\"view_status\":1,\"delete_status\":1},\"Development\":{\"add_status\":1,\"edit_status\":1,\"view_status\":1,\"delete_status\":1},\"Site_Installation\":{\"add_status\":1,\"edit_status\":1,\"view_status\":1,\"delete_status\":1},\"Lead_Generation\":{\"add_status\":1,\"edit_status\":1,\"view_status\":1,\"delete_status\":1},\"Plot_Details\":{\"add_status\":1,\"edit_status\":1,\"view_status\":1,\"delete_status\":1},\"Visitors\":{\"add_status\":1,\"edit_status\":1,\"view_status\":1,\"delete_status\":1},\"Customers\":{\"add_status\":1,\"edit_status\":1,\"view_status\":1,\"delete_status\":1},\"Brokers\":{\"add_status\":1,\"edit_status\":1,\"view_status\":1,\"delete_status\":1},\"Sales\":{\"add_status\":1,\"edit_status\":1,\"view_status\":1,\"delete_status\":1},\"Payment\":{\"add_status\":1,\"edit_status\":1,\"view_status\":1,\"delete_status\":1},\"Company\":{\"add_status\":1,\"edit_status\":1,\"view_status\":1,\"delete_status\":1}}'),
(27, 43, '{\"Employees\":{\"view_status\":1,\"add_status\":1,\"edit_status\":1,\"delete_status\":1},\"Role_Management\":{\"view_status\":0,\"add_status\":1,\"edit_status\":1,\"delete_status\":1},\"Roles\":{\"view_status\":1,\"add_status\":1,\"edit_status\":1,\"delete_status\":1},\"Material\":{\"view_status\":1,\"add_status\":1,\"edit_status\":1,\"delete_status\":1},\"Units\":{\"view_status\":1,\"add_status\":1,\"edit_status\":1,\"delete_status\":1},\"Expenses_Type\":{\"view_status\":1,\"add_status\":1,\"edit_status\":1,\"delete_status\":1},\"Vendor\":{\"view_status\":1,\"add_status\":1,\"edit_status\":1,\"delete_status\":1},\"Development\":{\"view_status\":1,\"add_status\":1,\"edit_status\":1,\"delete_status\":1},\"Site_Installation\":{\"view_status\":1,\"add_status\":1,\"edit_status\":1,\"delete_status\":1},\"Lead_Generation\":{\"view_status\":1,\"add_status\":1,\"edit_status\":1,\"delete_status\":1},\"Plot_Details\":{\"view_status\":1,\"add_status\":1,\"edit_status\":1,\"delete_status\":1},\"Visitors\":{\"view_status\":1,\"add_status\":1,\"edit_status\":1,\"delete_status\":1},\"Customers\":{\"view_status\":1,\"add_status\":1,\"edit_status\":1,\"delete_status\":1},\"Brokers\":{\"view_status\":1,\"add_status\":1,\"edit_status\":1,\"delete_status\":1},\"Sales\":{\"view_status\":1,\"add_status\":1,\"edit_status\":1,\"delete_status\":1},\"Payment\":{\"view_status\":1,\"add_status\":1,\"edit_status\":1,\"delete_status\":1},\"Company\":{\"view_status\":1,\"add_status\":1,\"edit_status\":1,\"delete_status\":1}}'),
(28, 44, '{\"Employees\":{\"add_status\":1,\"edit_status\":1,\"view_status\":1,\"delete_status\":1},\"Role_Management\":{\"add_status\":1,\"edit_status\":1,\"view_status\":0,\"delete_status\":1},\"Roles\":{\"add_status\":1,\"edit_status\":1,\"view_status\":1,\"delete_status\":1},\"Material\":{\"add_status\":1,\"edit_status\":1,\"view_status\":1,\"delete_status\":1},\"Units\":{\"add_status\":1,\"edit_status\":1,\"view_status\":1,\"delete_status\":1},\"Expenses_Type\":{\"add_status\":1,\"edit_status\":1,\"view_status\":1,\"delete_status\":1},\"Vendor\":{\"add_status\":1,\"edit_status\":1,\"view_status\":1,\"delete_status\":1},\"Development\":{\"add_status\":1,\"edit_status\":1,\"view_status\":1,\"delete_status\":1},\"Site_Installation\":{\"add_status\":1,\"edit_status\":1,\"view_status\":1,\"delete_status\":1},\"Lead_Generation\":{\"add_status\":1,\"edit_status\":1,\"view_status\":1,\"delete_status\":1},\"Plot_Details\":{\"add_status\":1,\"edit_status\":1,\"view_status\":1,\"delete_status\":1},\"Visitors\":{\"add_status\":1,\"edit_status\":1,\"view_status\":1,\"delete_status\":1},\"Customers\":{\"add_status\":1,\"edit_status\":1,\"view_status\":1,\"delete_status\":1},\"Brokers\":{\"add_status\":1,\"edit_status\":1,\"view_status\":1,\"delete_status\":1},\"Sales\":{\"add_status\":1,\"edit_status\":1,\"view_status\":1,\"delete_status\":1},\"Payment\":{\"add_status\":1,\"edit_status\":1,\"view_status\":1,\"delete_status\":1},\"Company\":{\"add_status\":1,\"edit_status\":1,\"view_status\":1,\"delete_status\":1}}'),
(29, 45, '{\"Employees\":{\"view_status\":1,\"add_status\":1,\"edit_status\":1,\"delete_status\":1},\"Role_Management\":{\"view_status\":0,\"add_status\":0,\"edit_status\":0,\"delete_status\":1},\"Roles\":{\"view_status\":1,\"add_status\":0,\"edit_status\":0,\"delete_status\":0},\"Material\":{\"view_status\":1,\"add_status\":1,\"edit_status\":1,\"delete_status\":1},\"Units\":{\"view_status\":1,\"add_status\":1,\"edit_status\":1,\"delete_status\":1},\"Expenses_Type\":{\"view_status\":1,\"add_status\":1,\"edit_status\":1,\"delete_status\":1},\"Vendor\":{\"view_status\":1,\"add_status\":1,\"edit_status\":1,\"delete_status\":1},\"Development\":{\"view_status\":1,\"add_status\":1,\"edit_status\":1,\"delete_status\":1},\"Site_Installation\":{\"view_status\":1,\"add_status\":1,\"edit_status\":1,\"delete_status\":1},\"Lead_Generation\":{\"view_status\":1,\"add_status\":1,\"edit_status\":1,\"delete_status\":1},\"Plot_Details\":{\"view_status\":1,\"add_status\":1,\"edit_status\":1,\"delete_status\":1},\"Visitors\":{\"view_status\":1,\"add_status\":1,\"edit_status\":1,\"delete_status\":1},\"Customers\":{\"view_status\":1,\"add_status\":1,\"edit_status\":1,\"delete_status\":1},\"Brokers\":{\"view_status\":1,\"add_status\":1,\"edit_status\":1,\"delete_status\":1},\"Sales\":{\"view_status\":1,\"add_status\":1,\"edit_status\":1,\"delete_status\":1},\"Payment\":{\"view_status\":1,\"add_status\":1,\"edit_status\":1,\"delete_status\":1},\"Company\":{\"view_status\":1,\"add_status\":1,\"edit_status\":1,\"delete_status\":1}}'),
(30, 46, '{\"Employees\":{\"add_status\":1,\"edit_status\":1,\"view_status\":1,\"delete_status\":1},\"Role_Management\":{\"add_status\":1,\"edit_status\":1,\"view_status\":0,\"delete_status\":1},\"Roles\":{\"add_status\":1,\"edit_status\":1,\"view_status\":1,\"delete_status\":1},\"Material\":{\"add_status\":1,\"edit_status\":1,\"view_status\":1,\"delete_status\":1},\"Units\":{\"add_status\":1,\"edit_status\":1,\"view_status\":1,\"delete_status\":1},\"Expenses_Type\":{\"add_status\":1,\"edit_status\":1,\"view_status\":1,\"delete_status\":1},\"Vendor\":{\"add_status\":1,\"edit_status\":1,\"view_status\":1,\"delete_status\":1},\"Development\":{\"add_status\":1,\"edit_status\":1,\"view_status\":1,\"delete_status\":1},\"Site_Installation\":{\"add_status\":1,\"edit_status\":1,\"view_status\":1,\"delete_status\":1},\"Lead_Generation\":{\"add_status\":1,\"edit_status\":1,\"view_status\":1,\"delete_status\":1},\"Plot_Details\":{\"add_status\":1,\"edit_status\":1,\"view_status\":1,\"delete_status\":1},\"Visitors\":{\"add_status\":1,\"edit_status\":1,\"view_status\":1,\"delete_status\":1},\"Customers\":{\"add_status\":1,\"edit_status\":1,\"view_status\":1,\"delete_status\":1},\"Brokers\":{\"add_status\":1,\"edit_status\":1,\"view_status\":1,\"delete_status\":1},\"Sales\":{\"add_status\":1,\"edit_status\":1,\"view_status\":1,\"delete_status\":1},\"Payment\":{\"add_status\":1,\"edit_status\":1,\"view_status\":1,\"delete_status\":1},\"Company\":{\"add_status\":1,\"edit_status\":1,\"view_status\":1,\"delete_status\":1}}'),
(31, 47, '{\"Employees\":{\"add_status\":1,\"edit_status\":1,\"view_status\":1,\"delete_status\":1},\"Role_Management\":{\"add_status\":1,\"edit_status\":1,\"view_status\":0,\"delete_status\":1},\"Roles\":{\"add_status\":1,\"edit_status\":1,\"view_status\":1,\"delete_status\":1},\"Material\":{\"add_status\":1,\"edit_status\":1,\"view_status\":1,\"delete_status\":1},\"Units\":{\"add_status\":1,\"edit_status\":1,\"view_status\":1,\"delete_status\":1},\"Expenses_Type\":{\"add_status\":1,\"edit_status\":1,\"view_status\":1,\"delete_status\":1},\"Vendor\":{\"add_status\":1,\"edit_status\":1,\"view_status\":1,\"delete_status\":1},\"Development\":{\"add_status\":1,\"edit_status\":1,\"view_status\":1,\"delete_status\":1},\"Site_Installation\":{\"add_status\":1,\"edit_status\":1,\"view_status\":1,\"delete_status\":1},\"Lead_Generation\":{\"add_status\":1,\"edit_status\":1,\"view_status\":1,\"delete_status\":1},\"Plot_Details\":{\"add_status\":1,\"edit_status\":1,\"view_status\":1,\"delete_status\":1},\"Visitors\":{\"add_status\":1,\"edit_status\":1,\"view_status\":1,\"delete_status\":1},\"Customers\":{\"add_status\":1,\"edit_status\":1,\"view_status\":1,\"delete_status\":1},\"Brokers\":{\"add_status\":1,\"edit_status\":1,\"view_status\":1,\"delete_status\":1},\"Sales\":{\"add_status\":1,\"edit_status\":1,\"view_status\":1,\"delete_status\":1},\"Payment\":{\"add_status\":1,\"edit_status\":1,\"view_status\":1,\"delete_status\":1},\"Company\":{\"add_status\":1,\"edit_status\":1,\"view_status\":1,\"delete_status\":1}}'),
(32, 48, '{\"Employees\":{\"add_status\":1,\"edit_status\":1,\"view_status\":1,\"delete_status\":1},\"Role_Management\":{\"add_status\":1,\"edit_status\":1,\"view_status\":0,\"delete_status\":1},\"Roles\":{\"add_status\":1,\"edit_status\":1,\"view_status\":1,\"delete_status\":1},\"Material\":{\"add_status\":1,\"edit_status\":1,\"view_status\":1,\"delete_status\":1},\"Units\":{\"add_status\":1,\"edit_status\":1,\"view_status\":1,\"delete_status\":1},\"Expenses_Type\":{\"add_status\":1,\"edit_status\":1,\"view_status\":1,\"delete_status\":1},\"Vendor\":{\"add_status\":1,\"edit_status\":1,\"view_status\":1,\"delete_status\":1},\"Development\":{\"add_status\":1,\"edit_status\":1,\"view_status\":1,\"delete_status\":1},\"Site_Installation\":{\"add_status\":1,\"edit_status\":1,\"view_status\":1,\"delete_status\":1},\"Lead_Generation\":{\"add_status\":1,\"edit_status\":1,\"view_status\":1,\"delete_status\":1},\"Plot_Details\":{\"add_status\":1,\"edit_status\":1,\"view_status\":1,\"delete_status\":1},\"Visitors\":{\"add_status\":1,\"edit_status\":1,\"view_status\":1,\"delete_status\":1},\"Customers\":{\"add_status\":1,\"edit_status\":1,\"view_status\":1,\"delete_status\":1},\"Brokers\":{\"add_status\":1,\"edit_status\":1,\"view_status\":1,\"delete_status\":1},\"Sales\":{\"add_status\":1,\"edit_status\":1,\"view_status\":1,\"delete_status\":1},\"Payment\":{\"add_status\":1,\"edit_status\":1,\"view_status\":1,\"delete_status\":1},\"Company\":{\"add_status\":1,\"edit_status\":1,\"view_status\":1,\"delete_status\":1}}'),
(33, 49, '{\"Employees\":{\"add_status\":1,\"edit_status\":1,\"view_status\":1,\"delete_status\":1},\"Role_Management\":{\"add_status\":1,\"edit_status\":1,\"view_status\":0,\"delete_status\":1},\"Roles\":{\"add_status\":1,\"edit_status\":1,\"view_status\":1,\"delete_status\":1},\"Material\":{\"add_status\":1,\"edit_status\":1,\"view_status\":1,\"delete_status\":1},\"Units\":{\"add_status\":1,\"edit_status\":1,\"view_status\":1,\"delete_status\":1},\"Expenses_Type\":{\"add_status\":1,\"edit_status\":1,\"view_status\":1,\"delete_status\":1},\"Vendor\":{\"add_status\":1,\"edit_status\":1,\"view_status\":1,\"delete_status\":1},\"Development\":{\"add_status\":1,\"edit_status\":1,\"view_status\":1,\"delete_status\":1},\"Site_Installation\":{\"add_status\":1,\"edit_status\":1,\"view_status\":1,\"delete_status\":1},\"Lead_Generation\":{\"add_status\":1,\"edit_status\":1,\"view_status\":1,\"delete_status\":1},\"Plot_Details\":{\"add_status\":1,\"edit_status\":1,\"view_status\":1,\"delete_status\":1},\"Visitors\":{\"add_status\":1,\"edit_status\":1,\"view_status\":1,\"delete_status\":1},\"Customers\":{\"add_status\":1,\"edit_status\":1,\"view_status\":1,\"delete_status\":1},\"Brokers\":{\"add_status\":1,\"edit_status\":1,\"view_status\":1,\"delete_status\":1},\"Sales\":{\"add_status\":1,\"edit_status\":1,\"view_status\":1,\"delete_status\":1},\"Payment\":{\"add_status\":1,\"edit_status\":1,\"view_status\":1,\"delete_status\":1},\"Company\":{\"add_status\":1,\"edit_status\":1,\"view_status\":1,\"delete_status\":1}}'),
(34, 50, '{\"Employees\":{\"add_status\":1,\"edit_status\":1,\"view_status\":1,\"delete_status\":1},\"Role_Management\":{\"add_status\":1,\"edit_status\":1,\"view_status\":0,\"delete_status\":1},\"Roles\":{\"add_status\":1,\"edit_status\":1,\"view_status\":1,\"delete_status\":1},\"Material\":{\"add_status\":1,\"edit_status\":1,\"view_status\":1,\"delete_status\":1},\"Units\":{\"add_status\":1,\"edit_status\":1,\"view_status\":1,\"delete_status\":1},\"Expenses_Type\":{\"add_status\":1,\"edit_status\":1,\"view_status\":1,\"delete_status\":1},\"Vendor\":{\"add_status\":1,\"edit_status\":1,\"view_status\":1,\"delete_status\":1},\"Development\":{\"add_status\":1,\"edit_status\":1,\"view_status\":1,\"delete_status\":1},\"Site_Installation\":{\"add_status\":1,\"edit_status\":1,\"view_status\":1,\"delete_status\":1},\"Lead_Generation\":{\"add_status\":1,\"edit_status\":1,\"view_status\":1,\"delete_status\":1},\"Plot_Details\":{\"add_status\":1,\"edit_status\":1,\"view_status\":1,\"delete_status\":1},\"Visitors\":{\"add_status\":1,\"edit_status\":1,\"view_status\":1,\"delete_status\":1},\"Customers\":{\"add_status\":1,\"edit_status\":1,\"view_status\":1,\"delete_status\":1},\"Brokers\":{\"add_status\":1,\"edit_status\":1,\"view_status\":1,\"delete_status\":1},\"Sales\":{\"add_status\":1,\"edit_status\":1,\"view_status\":1,\"delete_status\":1},\"Payment\":{\"add_status\":1,\"edit_status\":1,\"view_status\":1,\"delete_status\":1},\"Company\":{\"add_status\":1,\"edit_status\":1,\"view_status\":1,\"delete_status\":1}}'),
(35, 51, '{\"Employees\":{\"add_status\":1,\"edit_status\":1,\"view_status\":1,\"delete_status\":1},\"Role_Management\":{\"add_status\":1,\"edit_status\":1,\"view_status\":0,\"delete_status\":1},\"Roles\":{\"add_status\":1,\"edit_status\":1,\"view_status\":1,\"delete_status\":1},\"Material\":{\"add_status\":1,\"edit_status\":1,\"view_status\":1,\"delete_status\":1},\"Units\":{\"add_status\":1,\"edit_status\":1,\"view_status\":1,\"delete_status\":1},\"Expenses_Type\":{\"add_status\":1,\"edit_status\":1,\"view_status\":1,\"delete_status\":1},\"Vendor\":{\"add_status\":1,\"edit_status\":1,\"view_status\":1,\"delete_status\":1},\"Development\":{\"add_status\":1,\"edit_status\":1,\"view_status\":1,\"delete_status\":1},\"Site_Installation\":{\"add_status\":1,\"edit_status\":1,\"view_status\":1,\"delete_status\":1},\"Lead_Generation\":{\"add_status\":1,\"edit_status\":1,\"view_status\":1,\"delete_status\":1},\"Plot_Details\":{\"add_status\":1,\"edit_status\":1,\"view_status\":1,\"delete_status\":1},\"Visitors\":{\"add_status\":1,\"edit_status\":1,\"view_status\":1,\"delete_status\":1},\"Customers\":{\"add_status\":1,\"edit_status\":1,\"view_status\":1,\"delete_status\":1},\"Brokers\":{\"add_status\":1,\"edit_status\":1,\"view_status\":1,\"delete_status\":1},\"Sales\":{\"add_status\":1,\"edit_status\":1,\"view_status\":1,\"delete_status\":1},\"Payment\":{\"add_status\":1,\"edit_status\":1,\"view_status\":1,\"delete_status\":1},\"Company\":{\"add_status\":1,\"edit_status\":1,\"view_status\":1,\"delete_status\":1}}'),
(36, 52, '{\"Employees\":{\"add_status\":1,\"edit_status\":1,\"view_status\":1,\"delete_status\":1},\"Role_Management\":{\"add_status\":1,\"edit_status\":1,\"view_status\":0,\"delete_status\":1},\"Roles\":{\"add_status\":1,\"edit_status\":1,\"view_status\":1,\"delete_status\":1},\"Material\":{\"add_status\":1,\"edit_status\":1,\"view_status\":1,\"delete_status\":1},\"Units\":{\"add_status\":1,\"edit_status\":1,\"view_status\":1,\"delete_status\":1},\"Expenses_Type\":{\"add_status\":1,\"edit_status\":1,\"view_status\":1,\"delete_status\":1},\"Vendor\":{\"add_status\":1,\"edit_status\":1,\"view_status\":1,\"delete_status\":1},\"Development\":{\"add_status\":1,\"edit_status\":1,\"view_status\":1,\"delete_status\":1},\"Site_Installation\":{\"add_status\":1,\"edit_status\":1,\"view_status\":1,\"delete_status\":1},\"Lead_Generation\":{\"add_status\":1,\"edit_status\":1,\"view_status\":1,\"delete_status\":1},\"Plot_Details\":{\"add_status\":1,\"edit_status\":1,\"view_status\":1,\"delete_status\":1},\"Visitors\":{\"add_status\":1,\"edit_status\":1,\"view_status\":1,\"delete_status\":1},\"Customers\":{\"add_status\":1,\"edit_status\":1,\"view_status\":1,\"delete_status\":1},\"Brokers\":{\"add_status\":1,\"edit_status\":1,\"view_status\":1,\"delete_status\":1},\"Sales\":{\"add_status\":1,\"edit_status\":1,\"view_status\":1,\"delete_status\":1},\"Payment\":{\"add_status\":1,\"edit_status\":1,\"view_status\":1,\"delete_status\":1},\"Company\":{\"add_status\":1,\"edit_status\":1,\"view_status\":1,\"delete_status\":1}}'),
(37, 53, '{\"Employees\":{\"add_status\":1,\"edit_status\":1,\"view_status\":1,\"delete_status\":1},\"Role_Management\":{\"add_status\":1,\"edit_status\":1,\"view_status\":0,\"delete_status\":1},\"Roles\":{\"add_status\":1,\"edit_status\":1,\"view_status\":1,\"delete_status\":1},\"Material\":{\"add_status\":1,\"edit_status\":1,\"view_status\":1,\"delete_status\":1},\"Units\":{\"add_status\":1,\"edit_status\":1,\"view_status\":1,\"delete_status\":1},\"Expenses_Type\":{\"add_status\":1,\"edit_status\":1,\"view_status\":1,\"delete_status\":1},\"Vendor\":{\"add_status\":1,\"edit_status\":1,\"view_status\":1,\"delete_status\":1},\"Development\":{\"add_status\":1,\"edit_status\":1,\"view_status\":1,\"delete_status\":1},\"Site_Installation\":{\"add_status\":1,\"edit_status\":1,\"view_status\":1,\"delete_status\":1},\"Lead_Generation\":{\"add_status\":1,\"edit_status\":1,\"view_status\":1,\"delete_status\":1},\"Plot_Details\":{\"add_status\":1,\"edit_status\":1,\"view_status\":1,\"delete_status\":1},\"Visitors\":{\"add_status\":1,\"edit_status\":1,\"view_status\":1,\"delete_status\":1},\"Customers\":{\"add_status\":1,\"edit_status\":1,\"view_status\":1,\"delete_status\":1},\"Brokers\":{\"add_status\":1,\"edit_status\":1,\"view_status\":1,\"delete_status\":1},\"Sales\":{\"add_status\":1,\"edit_status\":1,\"view_status\":1,\"delete_status\":1},\"Payment\":{\"add_status\":1,\"edit_status\":1,\"view_status\":1,\"delete_status\":1},\"Company\":{\"add_status\":1,\"edit_status\":1,\"view_status\":1,\"delete_status\":1}}'),
(38, 54, '{\"Employees\":{\"add_status\":1,\"edit_status\":1,\"view_status\":1,\"delete_status\":1},\"Role_Management\":{\"add_status\":1,\"edit_status\":1,\"view_status\":0,\"delete_status\":1},\"Roles\":{\"add_status\":1,\"edit_status\":1,\"view_status\":1,\"delete_status\":1},\"Material\":{\"add_status\":1,\"edit_status\":1,\"view_status\":1,\"delete_status\":1},\"Units\":{\"add_status\":1,\"edit_status\":1,\"view_status\":1,\"delete_status\":1},\"Expenses_Type\":{\"add_status\":1,\"edit_status\":1,\"view_status\":1,\"delete_status\":1},\"Vendor\":{\"add_status\":1,\"edit_status\":1,\"view_status\":1,\"delete_status\":1},\"Development\":{\"add_status\":1,\"edit_status\":1,\"view_status\":1,\"delete_status\":1},\"Site_Installation\":{\"add_status\":1,\"edit_status\":1,\"view_status\":1,\"delete_status\":1},\"Lead_Generation\":{\"add_status\":1,\"edit_status\":1,\"view_status\":1,\"delete_status\":1},\"Plot_Details\":{\"add_status\":1,\"edit_status\":1,\"view_status\":1,\"delete_status\":1},\"Visitors\":{\"add_status\":1,\"edit_status\":1,\"view_status\":1,\"delete_status\":1},\"Customers\":{\"add_status\":1,\"edit_status\":1,\"view_status\":1,\"delete_status\":1},\"Brokers\":{\"add_status\":1,\"edit_status\":1,\"view_status\":1,\"delete_status\":1},\"Sales\":{\"add_status\":1,\"edit_status\":1,\"view_status\":1,\"delete_status\":1},\"Payment\":{\"add_status\":1,\"edit_status\":1,\"view_status\":1,\"delete_status\":1},\"Company\":{\"add_status\":1,\"edit_status\":1,\"view_status\":1,\"delete_status\":1}}'),
(39, 55, '{\"Employees\":{\"add_status\":1,\"edit_status\":1,\"view_status\":1,\"delete_status\":1},\"Role_Management\":{\"add_status\":1,\"edit_status\":1,\"view_status\":0,\"delete_status\":1},\"Roles\":{\"add_status\":1,\"edit_status\":1,\"view_status\":1,\"delete_status\":1},\"Material\":{\"add_status\":1,\"edit_status\":1,\"view_status\":1,\"delete_status\":1},\"Units\":{\"add_status\":1,\"edit_status\":1,\"view_status\":1,\"delete_status\":1},\"Expenses_Type\":{\"add_status\":1,\"edit_status\":1,\"view_status\":1,\"delete_status\":1},\"Vendor\":{\"add_status\":1,\"edit_status\":1,\"view_status\":1,\"delete_status\":1},\"Development\":{\"add_status\":1,\"edit_status\":1,\"view_status\":1,\"delete_status\":1},\"Site_Installation\":{\"add_status\":1,\"edit_status\":1,\"view_status\":1,\"delete_status\":1},\"Lead_Generation\":{\"add_status\":1,\"edit_status\":1,\"view_status\":1,\"delete_status\":1},\"Plot_Details\":{\"add_status\":1,\"edit_status\":1,\"view_status\":1,\"delete_status\":1},\"Visitors\":{\"add_status\":1,\"edit_status\":1,\"view_status\":1,\"delete_status\":1},\"Customers\":{\"add_status\":1,\"edit_status\":1,\"view_status\":1,\"delete_status\":1},\"Brokers\":{\"add_status\":1,\"edit_status\":1,\"view_status\":1,\"delete_status\":1},\"Sales\":{\"add_status\":1,\"edit_status\":1,\"view_status\":1,\"delete_status\":1},\"Payment\":{\"add_status\":1,\"edit_status\":1,\"view_status\":1,\"delete_status\":1},\"Company\":{\"add_status\":1,\"edit_status\":1,\"view_status\":1,\"delete_status\":1}}'),
(40, 56, '{\"Employees\":{\"add_status\":1,\"edit_status\":1,\"view_status\":1,\"delete_status\":1},\"Role_Management\":{\"add_status\":1,\"edit_status\":1,\"view_status\":0,\"delete_status\":1},\"Roles\":{\"add_status\":1,\"edit_status\":1,\"view_status\":1,\"delete_status\":1},\"Material\":{\"add_status\":1,\"edit_status\":1,\"view_status\":1,\"delete_status\":1},\"Units\":{\"add_status\":1,\"edit_status\":1,\"view_status\":1,\"delete_status\":1},\"Expenses_Type\":{\"add_status\":1,\"edit_status\":1,\"view_status\":1,\"delete_status\":1},\"Vendor\":{\"add_status\":1,\"edit_status\":1,\"view_status\":1,\"delete_status\":1},\"Development\":{\"add_status\":1,\"edit_status\":1,\"view_status\":1,\"delete_status\":1},\"Site_Installation\":{\"add_status\":1,\"edit_status\":1,\"view_status\":1,\"delete_status\":1},\"Lead_Generation\":{\"add_status\":1,\"edit_status\":1,\"view_status\":1,\"delete_status\":1},\"Plot_Details\":{\"add_status\":1,\"edit_status\":1,\"view_status\":1,\"delete_status\":1},\"Visitors\":{\"add_status\":1,\"edit_status\":1,\"view_status\":1,\"delete_status\":1},\"Customers\":{\"add_status\":1,\"edit_status\":1,\"view_status\":1,\"delete_status\":1},\"Brokers\":{\"add_status\":1,\"edit_status\":1,\"view_status\":1,\"delete_status\":1},\"Sales\":{\"add_status\":1,\"edit_status\":1,\"view_status\":1,\"delete_status\":1},\"Payment\":{\"add_status\":1,\"edit_status\":1,\"view_status\":1,\"delete_status\":1},\"Company\":{\"add_status\":1,\"edit_status\":1,\"view_status\":1,\"delete_status\":1}}'),
(41, 57, '{\"Employees\":{\"add_status\":1,\"edit_status\":1,\"view_status\":1,\"delete_status\":1},\"Role_Management\":{\"add_status\":1,\"edit_status\":1,\"view_status\":0,\"delete_status\":1},\"Roles\":{\"add_status\":1,\"edit_status\":1,\"view_status\":1,\"delete_status\":1},\"Material\":{\"add_status\":1,\"edit_status\":1,\"view_status\":1,\"delete_status\":1},\"Units\":{\"add_status\":1,\"edit_status\":1,\"view_status\":1,\"delete_status\":1},\"Expenses_Type\":{\"add_status\":1,\"edit_status\":1,\"view_status\":1,\"delete_status\":1},\"Vendor\":{\"add_status\":1,\"edit_status\":1,\"view_status\":1,\"delete_status\":1},\"Development\":{\"add_status\":1,\"edit_status\":1,\"view_status\":1,\"delete_status\":1},\"Site_Installation\":{\"add_status\":1,\"edit_status\":1,\"view_status\":1,\"delete_status\":1},\"Lead_Generation\":{\"add_status\":1,\"edit_status\":1,\"view_status\":1,\"delete_status\":1},\"Plot_Details\":{\"add_status\":1,\"edit_status\":1,\"view_status\":1,\"delete_status\":1},\"Visitors\":{\"add_status\":1,\"edit_status\":1,\"view_status\":1,\"delete_status\":1},\"Customers\":{\"add_status\":1,\"edit_status\":1,\"view_status\":1,\"delete_status\":1},\"Brokers\":{\"add_status\":1,\"edit_status\":1,\"view_status\":1,\"delete_status\":1},\"Sales\":{\"add_status\":1,\"edit_status\":1,\"view_status\":1,\"delete_status\":1},\"Payment\":{\"add_status\":1,\"edit_status\":1,\"view_status\":1,\"delete_status\":1},\"Company\":{\"add_status\":1,\"edit_status\":1,\"view_status\":1,\"delete_status\":1}}'),
(42, 58, '{\"Employees\":{\"add_status\":1,\"edit_status\":1,\"view_status\":1,\"delete_status\":1},\"Role_Management\":{\"add_status\":1,\"edit_status\":1,\"view_status\":0,\"delete_status\":1},\"Roles\":{\"add_status\":1,\"edit_status\":1,\"view_status\":1,\"delete_status\":1},\"Material\":{\"add_status\":1,\"edit_status\":1,\"view_status\":1,\"delete_status\":1},\"Units\":{\"add_status\":1,\"edit_status\":1,\"view_status\":1,\"delete_status\":1},\"Expenses_Type\":{\"add_status\":1,\"edit_status\":1,\"view_status\":1,\"delete_status\":1},\"Vendor\":{\"add_status\":1,\"edit_status\":1,\"view_status\":1,\"delete_status\":1},\"Development\":{\"add_status\":1,\"edit_status\":1,\"view_status\":1,\"delete_status\":1},\"Site_Installation\":{\"add_status\":1,\"edit_status\":1,\"view_status\":1,\"delete_status\":1},\"Lead_Generation\":{\"add_status\":1,\"edit_status\":1,\"view_status\":1,\"delete_status\":1},\"Plot_Details\":{\"add_status\":1,\"edit_status\":1,\"view_status\":1,\"delete_status\":1},\"Visitors\":{\"add_status\":1,\"edit_status\":1,\"view_status\":1,\"delete_status\":1},\"Customers\":{\"add_status\":1,\"edit_status\":1,\"view_status\":1,\"delete_status\":1},\"Brokers\":{\"add_status\":1,\"edit_status\":1,\"view_status\":1,\"delete_status\":1},\"Sales\":{\"add_status\":1,\"edit_status\":1,\"view_status\":1,\"delete_status\":1},\"Payment\":{\"add_status\":1,\"edit_status\":1,\"view_status\":1,\"delete_status\":1},\"Company\":{\"add_status\":1,\"edit_status\":1,\"view_status\":1,\"delete_status\":1}}'),
(43, 59, '{\"Employees\":{\"add_status\":1,\"edit_status\":1,\"view_status\":1,\"delete_status\":1},\"Role_Management\":{\"add_status\":1,\"edit_status\":1,\"view_status\":0,\"delete_status\":1},\"Roles\":{\"add_status\":1,\"edit_status\":1,\"view_status\":1,\"delete_status\":1},\"Material\":{\"add_status\":1,\"edit_status\":1,\"view_status\":1,\"delete_status\":1},\"Units\":{\"add_status\":1,\"edit_status\":1,\"view_status\":1,\"delete_status\":1},\"Expenses_Type\":{\"add_status\":1,\"edit_status\":1,\"view_status\":1,\"delete_status\":1},\"Vendor\":{\"add_status\":1,\"edit_status\":1,\"view_status\":1,\"delete_status\":1},\"Development\":{\"add_status\":1,\"edit_status\":1,\"view_status\":1,\"delete_status\":1},\"Site_Installation\":{\"add_status\":1,\"edit_status\":1,\"view_status\":1,\"delete_status\":1},\"Lead_Generation\":{\"add_status\":1,\"edit_status\":1,\"view_status\":1,\"delete_status\":1},\"Plot_Details\":{\"add_status\":1,\"edit_status\":1,\"view_status\":1,\"delete_status\":1},\"Visitors\":{\"add_status\":1,\"edit_status\":1,\"view_status\":1,\"delete_status\":1},\"Customers\":{\"add_status\":1,\"edit_status\":1,\"view_status\":1,\"delete_status\":1},\"Brokers\":{\"add_status\":1,\"edit_status\":1,\"view_status\":1,\"delete_status\":1},\"Sales\":{\"add_status\":1,\"edit_status\":1,\"view_status\":1,\"delete_status\":1},\"Payment\":{\"add_status\":1,\"edit_status\":1,\"view_status\":1,\"delete_status\":1},\"Company\":{\"add_status\":1,\"edit_status\":1,\"view_status\":1,\"delete_status\":1}}'),
(44, 60, '{\"Employees\":{\"add_status\":1,\"edit_status\":1,\"view_status\":1,\"delete_status\":1},\"Role_Management\":{\"add_status\":1,\"edit_status\":1,\"view_status\":0,\"delete_status\":1},\"Roles\":{\"add_status\":1,\"edit_status\":1,\"view_status\":1,\"delete_status\":1},\"Material\":{\"add_status\":1,\"edit_status\":1,\"view_status\":1,\"delete_status\":1},\"Units\":{\"add_status\":1,\"edit_status\":1,\"view_status\":1,\"delete_status\":1},\"Expenses_Type\":{\"add_status\":1,\"edit_status\":1,\"view_status\":1,\"delete_status\":1},\"Vendor\":{\"add_status\":1,\"edit_status\":1,\"view_status\":1,\"delete_status\":1},\"Development\":{\"add_status\":1,\"edit_status\":1,\"view_status\":1,\"delete_status\":1},\"Site_Installation\":{\"add_status\":1,\"edit_status\":1,\"view_status\":1,\"delete_status\":1},\"Lead_Generation\":{\"add_status\":1,\"edit_status\":1,\"view_status\":1,\"delete_status\":1},\"Plot_Details\":{\"add_status\":1,\"edit_status\":1,\"view_status\":1,\"delete_status\":1},\"Visitors\":{\"add_status\":1,\"edit_status\":1,\"view_status\":1,\"delete_status\":1},\"Customers\":{\"add_status\":1,\"edit_status\":1,\"view_status\":1,\"delete_status\":1},\"Brokers\":{\"add_status\":1,\"edit_status\":1,\"view_status\":1,\"delete_status\":1},\"Sales\":{\"add_status\":1,\"edit_status\":1,\"view_status\":1,\"delete_status\":1},\"Payment\":{\"add_status\":1,\"edit_status\":1,\"view_status\":1,\"delete_status\":1},\"Company\":{\"add_status\":1,\"edit_status\":1,\"view_status\":1,\"delete_status\":1}}'),
(45, 61, '{\"Employees\":{\"add_status\":1,\"edit_status\":1,\"view_status\":1,\"delete_status\":1},\"Role_Management\":{\"add_status\":1,\"edit_status\":1,\"view_status\":0,\"delete_status\":1},\"Roles\":{\"add_status\":1,\"edit_status\":1,\"view_status\":1,\"delete_status\":1},\"Material\":{\"add_status\":1,\"edit_status\":1,\"view_status\":1,\"delete_status\":1},\"Units\":{\"add_status\":1,\"edit_status\":1,\"view_status\":1,\"delete_status\":1},\"Expenses_Type\":{\"add_status\":1,\"edit_status\":1,\"view_status\":1,\"delete_status\":1},\"Vendor\":{\"add_status\":1,\"edit_status\":1,\"view_status\":1,\"delete_status\":1},\"Development\":{\"add_status\":1,\"edit_status\":1,\"view_status\":1,\"delete_status\":1},\"Site_Installation\":{\"add_status\":1,\"edit_status\":1,\"view_status\":1,\"delete_status\":1},\"Lead_Generation\":{\"add_status\":1,\"edit_status\":1,\"view_status\":1,\"delete_status\":1},\"Plot_Details\":{\"add_status\":1,\"edit_status\":1,\"view_status\":1,\"delete_status\":1},\"Visitors\":{\"add_status\":1,\"edit_status\":1,\"view_status\":1,\"delete_status\":1},\"Customers\":{\"add_status\":1,\"edit_status\":1,\"view_status\":1,\"delete_status\":1},\"Brokers\":{\"add_status\":1,\"edit_status\":1,\"view_status\":1,\"delete_status\":1},\"Sales\":{\"add_status\":1,\"edit_status\":1,\"view_status\":1,\"delete_status\":1},\"Payment\":{\"add_status\":1,\"edit_status\":1,\"view_status\":1,\"delete_status\":1},\"Company\":{\"add_status\":1,\"edit_status\":1,\"view_status\":1,\"delete_status\":1}}'),
(46, 62, '{\"Employees\":{\"add_status\":1,\"edit_status\":1,\"view_status\":1,\"delete_status\":1},\"Role_Management\":{\"add_status\":1,\"edit_status\":1,\"view_status\":0,\"delete_status\":1},\"Roles\":{\"add_status\":1,\"edit_status\":1,\"view_status\":1,\"delete_status\":1},\"Material\":{\"add_status\":1,\"edit_status\":1,\"view_status\":1,\"delete_status\":1},\"Units\":{\"add_status\":1,\"edit_status\":1,\"view_status\":1,\"delete_status\":1},\"Expenses_Type\":{\"add_status\":1,\"edit_status\":1,\"view_status\":1,\"delete_status\":1},\"Vendor\":{\"add_status\":1,\"edit_status\":1,\"view_status\":1,\"delete_status\":1},\"Development\":{\"add_status\":1,\"edit_status\":1,\"view_status\":1,\"delete_status\":1},\"Site_Installation\":{\"add_status\":1,\"edit_status\":1,\"view_status\":1,\"delete_status\":1},\"Lead_Generation\":{\"add_status\":1,\"edit_status\":1,\"view_status\":1,\"delete_status\":1},\"Plot_Details\":{\"add_status\":1,\"edit_status\":1,\"view_status\":1,\"delete_status\":1},\"Visitors\":{\"add_status\":1,\"edit_status\":1,\"view_status\":1,\"delete_status\":1},\"Customers\":{\"add_status\":1,\"edit_status\":1,\"view_status\":1,\"delete_status\":1},\"Brokers\":{\"add_status\":1,\"edit_status\":1,\"view_status\":1,\"delete_status\":1},\"Sales\":{\"add_status\":1,\"edit_status\":1,\"view_status\":1,\"delete_status\":1},\"Payment\":{\"add_status\":1,\"edit_status\":1,\"view_status\":1,\"delete_status\":1},\"Company\":{\"add_status\":1,\"edit_status\":1,\"view_status\":1,\"delete_status\":1}}'),
(47, 63, '{\"Employees\":{\"view_status\":0,\"add_status\":1,\"edit_status\":1,\"delete_status\":1},\"Role_Management\":{\"view_status\":0,\"add_status\":1,\"edit_status\":1,\"delete_status\":1},\"Roles\":{\"view_status\":0,\"add_status\":1,\"edit_status\":1,\"delete_status\":1},\"Material\":{\"view_status\":1,\"add_status\":1,\"edit_status\":1,\"delete_status\":1},\"Units\":{\"view_status\":1,\"add_status\":1,\"edit_status\":1,\"delete_status\":1},\"Expenses_Type\":{\"view_status\":1,\"add_status\":1,\"edit_status\":1,\"delete_status\":1},\"Vendor\":{\"view_status\":1,\"add_status\":1,\"edit_status\":1,\"delete_status\":1},\"Development\":{\"view_status\":1,\"add_status\":1,\"edit_status\":1,\"delete_status\":1},\"Site_Installation\":{\"view_status\":1,\"add_status\":1,\"edit_status\":1,\"delete_status\":0},\"Lead_Generation\":{\"view_status\":1,\"add_status\":1,\"edit_status\":1,\"delete_status\":1},\"Plot_Details\":{\"view_status\":1,\"add_status\":1,\"edit_status\":1,\"delete_status\":1},\"Visitors\":{\"view_status\":1,\"add_status\":1,\"edit_status\":1,\"delete_status\":1},\"Customers\":{\"view_status\":1,\"add_status\":1,\"edit_status\":1,\"delete_status\":1},\"Brokers\":{\"view_status\":1,\"add_status\":1,\"edit_status\":1,\"delete_status\":1},\"Sales\":{\"view_status\":1,\"add_status\":1,\"edit_status\":1,\"delete_status\":1},\"Payment\":{\"view_status\":1,\"add_status\":1,\"edit_status\":1,\"delete_status\":1},\"Company\":{\"view_status\":1,\"add_status\":1,\"edit_status\":1,\"delete_status\":1}}'),
(48, 64, '{\"Employees\":{\"view_status\":0,\"add_status\":1,\"edit_status\":1,\"delete_status\":1},\"Role_Management\":{\"view_status\":0,\"add_status\":1,\"edit_status\":1,\"delete_status\":1},\"Roles\":{\"view_status\":0,\"add_status\":1,\"edit_status\":1,\"delete_status\":1},\"Material\":{\"view_status\":1,\"add_status\":1,\"edit_status\":1,\"delete_status\":1},\"Units\":{\"view_status\":1,\"add_status\":1,\"edit_status\":1,\"delete_status\":1},\"Expenses_Type\":{\"view_status\":1,\"add_status\":1,\"edit_status\":1,\"delete_status\":1},\"Vendor\":{\"view_status\":1,\"add_status\":1,\"edit_status\":1,\"delete_status\":1},\"Development\":{\"view_status\":1,\"add_status\":1,\"edit_status\":1,\"delete_status\":1},\"Site_Installation\":{\"view_status\":1,\"add_status\":1,\"edit_status\":1,\"delete_status\":1},\"Lead_Generation\":{\"view_status\":1,\"add_status\":1,\"edit_status\":1,\"delete_status\":1},\"Plot_Details\":{\"view_status\":1,\"add_status\":1,\"edit_status\":1,\"delete_status\":0},\"Visitors\":{\"view_status\":1,\"add_status\":1,\"edit_status\":1,\"delete_status\":1},\"Customers\":{\"view_status\":1,\"add_status\":1,\"edit_status\":1,\"delete_status\":1},\"Brokers\":{\"view_status\":1,\"add_status\":1,\"edit_status\":1,\"delete_status\":1},\"Sales\":{\"view_status\":1,\"add_status\":1,\"edit_status\":1,\"delete_status\":1},\"Payment\":{\"view_status\":1,\"add_status\":1,\"edit_status\":1,\"delete_status\":1},\"Company\":{\"view_status\":1,\"add_status\":1,\"edit_status\":1,\"delete_status\":1}}'),
(49, 65, '{\"Employees\":{\"add_status\":1,\"edit_status\":1,\"view_status\":1,\"delete_status\":1},\"Role_Management\":{\"add_status\":1,\"edit_status\":1,\"view_status\":0,\"delete_status\":1},\"Roles\":{\"add_status\":1,\"edit_status\":1,\"view_status\":1,\"delete_status\":1},\"Material\":{\"add_status\":1,\"edit_status\":1,\"view_status\":1,\"delete_status\":1},\"Units\":{\"add_status\":1,\"edit_status\":1,\"view_status\":1,\"delete_status\":1},\"Expenses_Type\":{\"add_status\":1,\"edit_status\":1,\"view_status\":1,\"delete_status\":1},\"Vendor\":{\"add_status\":1,\"edit_status\":1,\"view_status\":1,\"delete_status\":1},\"Development\":{\"add_status\":1,\"edit_status\":1,\"view_status\":1,\"delete_status\":1},\"Site_Installation\":{\"add_status\":1,\"edit_status\":1,\"view_status\":1,\"delete_status\":1},\"Lead_Generation\":{\"add_status\":1,\"edit_status\":1,\"view_status\":1,\"delete_status\":1},\"Plot_Details\":{\"add_status\":1,\"edit_status\":1,\"view_status\":1,\"delete_status\":1},\"Visitors\":{\"add_status\":1,\"edit_status\":1,\"view_status\":1,\"delete_status\":1},\"Customers\":{\"add_status\":1,\"edit_status\":1,\"view_status\":1,\"delete_status\":1},\"Brokers\":{\"add_status\":1,\"edit_status\":1,\"view_status\":1,\"delete_status\":1},\"Sales\":{\"add_status\":1,\"edit_status\":1,\"view_status\":1,\"delete_status\":1},\"Payment\":{\"add_status\":1,\"edit_status\":1,\"view_status\":1,\"delete_status\":1},\"Company\":{\"add_status\":1,\"edit_status\":1,\"view_status\":1,\"delete_status\":1}}'),
(50, 66, '{\"Employees\":{\"view_status\":1,\"add_status\":0,\"edit_status\":1,\"delete_status\":1},\"Role_Management\":{\"view_status\":1,\"add_status\":1,\"edit_status\":1,\"delete_status\":1},\"Roles\":{\"view_status\":1,\"add_status\":1,\"edit_status\":1,\"delete_status\":1},\"Material\":{\"view_status\":1,\"add_status\":1,\"edit_status\":1,\"delete_status\":1},\"Units\":{\"view_status\":1,\"add_status\":1,\"edit_status\":1,\"delete_status\":1},\"Expenses_Type\":{\"view_status\":1,\"add_status\":1,\"edit_status\":1,\"delete_status\":1},\"Vendor\":{\"view_status\":1,\"add_status\":0,\"edit_status\":0,\"delete_status\":0},\"Development\":{\"view_status\":1,\"add_status\":1,\"edit_status\":1,\"delete_status\":1},\"Site_Installation\":{\"view_status\":1,\"add_status\":1,\"edit_status\":1,\"delete_status\":1},\"Lead_Generation\":{\"view_status\":1,\"add_status\":1,\"edit_status\":1,\"delete_status\":1},\"Plot_Details\":{\"view_status\":1,\"add_status\":1,\"edit_status\":1,\"delete_status\":1},\"Visitors\":{\"view_status\":1,\"add_status\":1,\"edit_status\":1,\"delete_status\":1},\"Customers\":{\"view_status\":1,\"add_status\":1,\"edit_status\":1,\"delete_status\":1},\"Brokers\":{\"view_status\":1,\"add_status\":1,\"edit_status\":1,\"delete_status\":1},\"Sales\":{\"view_status\":1,\"add_status\":1,\"edit_status\":1,\"delete_status\":1},\"Payment\":{\"view_status\":1,\"add_status\":1,\"edit_status\":1,\"delete_status\":1},\"Company\":{\"view_status\":1,\"add_status\":1,\"edit_status\":1,\"delete_status\":1}}'),
(51, 67, '{\"Employees\":{\"add_status\":1,\"edit_status\":1,\"view_status\":1,\"delete_status\":1},\"Role_Management\":{\"add_status\":1,\"edit_status\":1,\"view_status\":0,\"delete_status\":1},\"Roles\":{\"add_status\":1,\"edit_status\":1,\"view_status\":1,\"delete_status\":1},\"Material\":{\"add_status\":1,\"edit_status\":1,\"view_status\":1,\"delete_status\":1},\"Units\":{\"add_status\":1,\"edit_status\":1,\"view_status\":1,\"delete_status\":1},\"Expenses_Type\":{\"add_status\":1,\"edit_status\":1,\"view_status\":1,\"delete_status\":1},\"Vendor\":{\"add_status\":1,\"edit_status\":1,\"view_status\":1,\"delete_status\":1},\"Development\":{\"add_status\":1,\"edit_status\":1,\"view_status\":1,\"delete_status\":1},\"Site_Installation\":{\"add_status\":1,\"edit_status\":1,\"view_status\":1,\"delete_status\":1},\"Lead_Generation\":{\"add_status\":1,\"edit_status\":1,\"view_status\":1,\"delete_status\":1},\"Plot_Details\":{\"add_status\":1,\"edit_status\":1,\"view_status\":1,\"delete_status\":1},\"Visitors\":{\"add_status\":1,\"edit_status\":1,\"view_status\":1,\"delete_status\":1},\"Customers\":{\"add_status\":1,\"edit_status\":1,\"view_status\":1,\"delete_status\":1},\"Brokers\":{\"add_status\":1,\"edit_status\":1,\"view_status\":1,\"delete_status\":1},\"Sales\":{\"add_status\":1,\"edit_status\":1,\"view_status\":1,\"delete_status\":1},\"Payment\":{\"add_status\":1,\"edit_status\":1,\"view_status\":1,\"delete_status\":1},\"Company\":{\"add_status\":1,\"edit_status\":1,\"view_status\":1,\"delete_status\":1}}'),
(52, 68, '{\"Employees\":{\"add_status\":1,\"edit_status\":1,\"view_status\":1,\"delete_status\":1},\"Role_Management\":{\"add_status\":1,\"edit_status\":1,\"view_status\":0,\"delete_status\":1},\"Roles\":{\"add_status\":1,\"edit_status\":1,\"view_status\":1,\"delete_status\":1},\"Material\":{\"add_status\":1,\"edit_status\":1,\"view_status\":1,\"delete_status\":1},\"Units\":{\"add_status\":1,\"edit_status\":1,\"view_status\":1,\"delete_status\":1},\"Expenses_Type\":{\"add_status\":1,\"edit_status\":1,\"view_status\":1,\"delete_status\":1},\"Vendor\":{\"add_status\":1,\"edit_status\":1,\"view_status\":1,\"delete_status\":1},\"Development\":{\"add_status\":1,\"edit_status\":1,\"view_status\":1,\"delete_status\":1},\"Site_Installation\":{\"add_status\":1,\"edit_status\":1,\"view_status\":1,\"delete_status\":1},\"Lead_Generation\":{\"add_status\":1,\"edit_status\":1,\"view_status\":1,\"delete_status\":1},\"Plot_Details\":{\"add_status\":1,\"edit_status\":1,\"view_status\":1,\"delete_status\":1},\"Visitors\":{\"add_status\":1,\"edit_status\":1,\"view_status\":1,\"delete_status\":1},\"Customers\":{\"add_status\":1,\"edit_status\":1,\"view_status\":1,\"delete_status\":1},\"Brokers\":{\"add_status\":1,\"edit_status\":1,\"view_status\":1,\"delete_status\":1},\"Sales\":{\"add_status\":1,\"edit_status\":1,\"view_status\":1,\"delete_status\":1},\"Payment\":{\"add_status\":1,\"edit_status\":1,\"view_status\":1,\"delete_status\":1},\"Company\":{\"add_status\":1,\"edit_status\":1,\"view_status\":1,\"delete_status\":1}}'),
(53, 69, '{\"Employees\":{\"add_status\":1,\"edit_status\":1,\"view_status\":1,\"delete_status\":1},\"Role_Management\":{\"add_status\":1,\"edit_status\":1,\"view_status\":0,\"delete_status\":1},\"Roles\":{\"add_status\":1,\"edit_status\":1,\"view_status\":1,\"delete_status\":1},\"Material\":{\"add_status\":1,\"edit_status\":1,\"view_status\":1,\"delete_status\":1},\"Units\":{\"add_status\":1,\"edit_status\":1,\"view_status\":1,\"delete_status\":1},\"Expenses_Type\":{\"add_status\":1,\"edit_status\":1,\"view_status\":1,\"delete_status\":1},\"Vendor\":{\"add_status\":1,\"edit_status\":1,\"view_status\":1,\"delete_status\":1},\"Development\":{\"add_status\":1,\"edit_status\":1,\"view_status\":1,\"delete_status\":1},\"Site_Installation\":{\"add_status\":1,\"edit_status\":1,\"view_status\":1,\"delete_status\":1},\"Lead_Generation\":{\"add_status\":1,\"edit_status\":1,\"view_status\":1,\"delete_status\":1},\"Plot_Details\":{\"add_status\":1,\"edit_status\":1,\"view_status\":1,\"delete_status\":1},\"Visitors\":{\"add_status\":1,\"edit_status\":1,\"view_status\":1,\"delete_status\":1},\"Customers\":{\"add_status\":1,\"edit_status\":1,\"view_status\":1,\"delete_status\":1},\"Brokers\":{\"add_status\":1,\"edit_status\":1,\"view_status\":1,\"delete_status\":1},\"Sales\":{\"add_status\":1,\"edit_status\":1,\"view_status\":1,\"delete_status\":1},\"Payment\":{\"add_status\":1,\"edit_status\":1,\"view_status\":1,\"delete_status\":1},\"Company\":{\"add_status\":1,\"edit_status\":1,\"view_status\":1,\"delete_status\":1}}'),
(54, 70, '{\"Employees\":{\"add_status\":1,\"edit_status\":1,\"view_status\":1,\"delete_status\":1},\"Role_Management\":{\"add_status\":1,\"edit_status\":1,\"view_status\":0,\"delete_status\":1},\"Roles\":{\"add_status\":1,\"edit_status\":1,\"view_status\":1,\"delete_status\":1},\"Material\":{\"add_status\":1,\"edit_status\":1,\"view_status\":1,\"delete_status\":1},\"Units\":{\"add_status\":1,\"edit_status\":1,\"view_status\":1,\"delete_status\":1},\"Expenses_Type\":{\"add_status\":1,\"edit_status\":1,\"view_status\":1,\"delete_status\":1},\"Vendor\":{\"add_status\":1,\"edit_status\":1,\"view_status\":1,\"delete_status\":1},\"Development\":{\"add_status\":1,\"edit_status\":1,\"view_status\":1,\"delete_status\":1},\"Site_Installation\":{\"add_status\":1,\"edit_status\":1,\"view_status\":1,\"delete_status\":1},\"Lead_Generation\":{\"add_status\":1,\"edit_status\":1,\"view_status\":1,\"delete_status\":1},\"Plot_Details\":{\"add_status\":1,\"edit_status\":1,\"view_status\":1,\"delete_status\":1},\"Visitors\":{\"add_status\":1,\"edit_status\":1,\"view_status\":1,\"delete_status\":1},\"Customers\":{\"add_status\":1,\"edit_status\":1,\"view_status\":1,\"delete_status\":1},\"Brokers\":{\"add_status\":1,\"edit_status\":1,\"view_status\":1,\"delete_status\":1},\"Sales\":{\"add_status\":1,\"edit_status\":1,\"view_status\":1,\"delete_status\":1},\"Payment\":{\"add_status\":1,\"edit_status\":1,\"view_status\":1,\"delete_status\":1},\"Company\":{\"add_status\":1,\"edit_status\":1,\"view_status\":1,\"delete_status\":1}}'),
(55, 71, '{\"Employees\":{\"view_status\":1,\"add_status\":1,\"edit_status\":1,\"delete_status\":1},\"Role_Management\":{\"view_status\":0,\"add_status\":1,\"edit_status\":1,\"delete_status\":1},\"Roles\":{\"view_status\":1,\"add_status\":1,\"edit_status\":1,\"delete_status\":1},\"Material\":{\"view_status\":1,\"add_status\":1,\"edit_status\":1,\"delete_status\":1},\"Units\":{\"view_status\":1,\"add_status\":1,\"edit_status\":1,\"delete_status\":1},\"Expenses_Type\":{\"view_status\":1,\"add_status\":1,\"edit_status\":1,\"delete_status\":1},\"Vendor\":{\"view_status\":1,\"add_status\":1,\"edit_status\":1,\"delete_status\":1},\"Development\":{\"view_status\":1,\"add_status\":1,\"edit_status\":1,\"delete_status\":1},\"Site_Installation\":{\"view_status\":1,\"add_status\":1,\"edit_status\":1,\"delete_status\":1},\"Lead_Generation\":{\"view_status\":1,\"add_status\":1,\"edit_status\":1,\"delete_status\":1},\"Plot_Details\":{\"view_status\":1,\"add_status\":1,\"edit_status\":1,\"delete_status\":1},\"Visitors\":{\"view_status\":1,\"add_status\":1,\"edit_status\":1,\"delete_status\":1},\"Customers\":{\"view_status\":1,\"add_status\":1,\"edit_status\":1,\"delete_status\":1},\"Brokers\":{\"view_status\":1,\"add_status\":1,\"edit_status\":1,\"delete_status\":1},\"Sales\":{\"view_status\":1,\"add_status\":1,\"edit_status\":1,\"delete_status\":1},\"Payment\":{\"view_status\":1,\"add_status\":1,\"edit_status\":1,\"delete_status\":1},\"Company\":{\"view_status\":0,\"add_status\":0,\"edit_status\":0,\"delete_status\":0}}');

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

--
-- Table structure for table `site`
--

CREATE TABLE `site` (
  `id` int(11) NOT NULL,
  `company_id` int(11) DEFAULT NULL,
  `user_id` int(11) NOT NULL,
  `customer_id` varchar(111) NOT NULL,
  `plot_id` varchar(111) NOT NULL,
  `name` varchar(200) NOT NULL,
  `mauja` varchar(200) NOT NULL,
  `patwali_halka` varchar(200) NOT NULL,
  `khasara` varchar(200) NOT NULL,
  `rera` int(240) NOT NULL,
  `latitude` text NOT NULL,
  `longitude` text NOT NULL,
  `address` varchar(240) NOT NULL,
  `pincode` int(100) NOT NULL,
  `state` varchar(200) NOT NULL,
  `site_map` text NOT NULL,
  `site_brochure` text NOT NULL,
  `no_of_plots` int(255) NOT NULL,
  `residential_rate` int(255) NOT NULL,
  `commercial_rate` int(255) NOT NULL,
  `area_rate` int(255) NOT NULL,
  `created` timestamp NOT NULL DEFAULT current_timestamp(),
  `modified` timestamp NULL DEFAULT NULL ON UPDATE current_timestamp(),
  `is_active` int(2) NOT NULL DEFAULT 1,
  `is_deleted` int(2) NOT NULL DEFAULT 0,
  `is_deleted_employee` int(2) NOT NULL DEFAULT 0,
  `city` text NOT NULL,
  `area` varchar(240) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

--
-- Dumping data for table `site`
--

INSERT INTO `site` (`id`, `company_id`, `user_id`, `customer_id`, `plot_id`, `name`, `mauja`, `patwali_halka`, `khasara`, `rera`, `latitude`, `longitude`, `address`, `pincode`, `state`, `site_map`, `site_brochure`, `no_of_plots`, `residential_rate`, `commercial_rate`, `area_rate`, `created`, `modified`, `is_active`, `is_deleted`, `is_deleted_employee`, `city`, `area`) VALUES
(1, 3, 26, '', '', 'Chandrapur', 'Narsala', '1223', '2312', 23123, '23122', '231231', 'Flat No 102 Arya Apartment Near Manewada Square', 440034, 'Maharashtra', 'img_2024_12_20_10_10_21.jpeg', 'pdf_2024_12_20_10_10_21.pdf', 22, 112, 221, 0, '2024-12-20 04:40:21', NULL, 1, 0, 0, 'Nagpur', 'Nagpur'),
(2, 3, 26, '', '', 'Nagpur', 'chatrapati', '321231', '2321', 433, '3432', '3232', 'Flat No 102 Arya Apartment Near Manewada Square', 440034, 'Maharashtra', 'img_2024_12_20_10_17_10.jpg', 'pdf_2024_12_20_10_17_10.pdf', 7, 122, 133, 0, '2024-12-20 04:47:10', NULL, 1, 0, 0, 'Nagpur', 'Nagpur'),
(3, 2, 26, '', '', 'Chandrapur', '123', '1234', '1234', 2132, '23123', '12312', 'Flat No 102 Arya Apartment Near Manewada Square', 442404, 'Maharashtra', '', 'pdf_2024_12_23_07_37_46.pdf', 12, 233, 556, 0, '2024-12-23 02:07:46', NULL, 1, 0, 0, 'Chandrapur', 'Chandrapur'),
(4, 2, 82, '', '', 'Nagpur', '34343', '232332', '23232', 2322, '3232', '3434', 'Flat No 102 Arya Apartment Near Manewada Square', 440034, 'Maharashtra', 'img_2024_12_23_12_45_46.jpeg', 'pdf_2024_12_23_07_40_16.pdf', 3, 232, 233, 0, '2024-12-23 02:10:16', '2024-12-23 07:15:46', 1, 0, 0, 'Nagpur', ''),
(5, 2, 26, '', '', 'Wadgao', 'Narsala', 'besa area', '123123', 213231, '223311', '22231', 'Flat No 102 Arya Apartment Near Manewada Square', 440034, 'Maharashtra', 'img_2024_12_24_08_11_44.jpeg', 'pdf_2024_12_24_08_11_44.pdf', 5, 11, 22, 0, '2024-12-24 02:41:44', NULL, 1, 0, 0, 'Nagpur', 'Nagpur'),
(6, 2, 83, '', '', 'ABC', 'Narsala', '2321311111', '213321', 0, '222333111', '333111222', 'Flat No 102 Arya Apartment Near Manewada Square', 440034, 'Maharashtra', 'img_2024_12_24_10_48_27.jpg', 'pdf_2024_12_24_10_48_27.pdf', 3, 332, 323, 0, '2024-12-24 05:18:27', NULL, 1, 0, 0, 'Nagpur', 'Nagpur');

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

--
-- Table structure for table `stamp_duty`
--

CREATE TABLE `stamp_duty` (
  `id` int(11) NOT NULL,
  `user_id` int(11) NOT NULL,
  `plot_id` int(11) NOT NULL,
  `customer_id` int(11) NOT NULL,
  `sale_id` int(11) NOT NULL,
  `img` text NOT NULL,
  `created` timestamp NOT NULL DEFAULT current_timestamp(),
  `modified` timestamp NULL DEFAULT NULL ON UPDATE current_timestamp(),
  `is_active` int(2) NOT NULL DEFAULT 1,
  `is_deleted` int(2) NOT NULL DEFAULT 0
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

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

--
-- Table structure for table `state`
--

CREATE TABLE `state` (
  `id` int(11) NOT NULL,
  `country_id` int(2) NOT NULL,
  `name` varchar(100) NOT NULL,
  `is_active` int(2) NOT NULL DEFAULT 1
) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

--
-- Dumping data for table `state`
--

INSERT INTO `state` (`id`, `country_id`, `name`, `is_active`) VALUES
(1, 1, 'Andaman & Nicobar Islands', 1),
(2, 1, 'Andhra Pradesh', 1),
(3, 1, 'Arunachal Pradesh', 1),
(4, 1, 'Assam', 1),
(5, 1, 'Bihar', 1),
(6, 1, 'Chandigarh', 1),
(7, 1, 'Chhattisgarh', 1),
(8, 1, 'Dadra & Nagar Haveli', 1),
(9, 1, 'Daman & Diu', 1),
(10, 1, 'Delhi', 1),
(11, 1, 'Goa', 1),
(12, 1, 'Gujarat', 1),
(13, 1, 'Haryana', 1),
(14, 1, 'Himachal Pradesh', 1),
(15, 1, 'Jammu & Kashmir', 1),
(16, 1, 'Jharkhand', 1),
(17, 1, 'Karnataka', 1),
(18, 1, 'Kerala', 1),
(19, 1, 'Lakshadweep', 1),
(20, 1, 'Madhya Pradesh', 1),
(21, 1, 'Maharashtra', 1),
(22, 1, 'Manipur', 1),
(23, 1, 'Meghalaya', 1),
(24, 1, 'Mizoram', 1),
(25, 1, 'Nagaland', 1),
(26, 1, 'Odisha', 1),
(27, 1, 'Puducherry', 1),
(28, 1, 'Punjab', 1),
(29, 1, 'Rajasthan', 1),
(30, 1, 'Sikkim', 1),
(31, 1, 'Tamil Nadu', 1),
(32, 1, 'Tripura', 1),
(33, 1, 'Uttar Pradesh', 1),
(34, 1, 'Uttarakhand', 1),
(35, 1, 'West Bengal', 1);

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

--
-- Table structure for table `unit`
--

CREATE TABLE `unit` (
  `id` int(11) NOT NULL,
  `company_id` int(11) DEFAULT NULL,
  `user_id` int(11) NOT NULL,
  `uname` varchar(100) NOT NULL,
  `is_active` int(2) NOT NULL DEFAULT 1,
  `is_deleted` int(2) NOT NULL DEFAULT 0,
  `created_at` timestamp NOT NULL DEFAULT current_timestamp(),
  `modified` int(11) NOT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

--
-- Dumping data for table `unit`
--

INSERT INTO `unit` (`id`, `company_id`, `user_id`, `uname`, `is_active`, `is_deleted`, `created_at`, `modified`, `updated_at`) VALUES
(1, 2, 26, 'KG', 1, 0, '2024-12-23 01:35:29', 0, NULL),
(2, 9, 81, 'Litre', 1, 0, '2024-12-23 01:36:19', 0, NULL),
(3, 9, 81, 'KG', 1, 0, '2024-12-23 01:36:24', 0, NULL);

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

--
-- Table structure for table `vendor`
--

CREATE TABLE `vendor` (
  `user_id` int(11) NOT NULL,
  `company_id` int(11) DEFAULT NULL,
  `id` int(11) NOT NULL,
  `vname` varchar(200) NOT NULL,
  `vemail` varchar(240) NOT NULL,
  `vaddress` text NOT NULL,
  `vcompany_name` varchar(200) NOT NULL,
  `vgst` text DEFAULT NULL,
  `vmob` text DEFAULT NULL,
  `created_at` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
  `deleted_at` datetime NOT NULL,
  `updated_at` datetime NOT NULL,
  `is_active` int(2) NOT NULL DEFAULT 1,
  `is_deleted` int(2) NOT NULL DEFAULT 0,
  `modified` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

--
-- Dumping data for table `vendor`
--

INSERT INTO `vendor` (`user_id`, `company_id`, `id`, `vname`, `vemail`, `vaddress`, `vcompany_name`, `vgst`, `vmob`, `created_at`, `deleted_at`, `updated_at`, `is_active`, `is_deleted`, `modified`) VALUES
(26, 2, 1, 'Rishiraj Korde', 'rishirajkorde@gmail.com', 'Flat No 102 Arya Apartment Near Manewada Square', 'Cluematrix Private Limited', '213213sfdfsdfsd', '08888172881', '2024-12-24 00:54:17', '0000-00-00 00:00:00', '0000-00-00 00:00:00', 1, 0, NULL);

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

--
-- Table structure for table `visitors`
--

CREATE TABLE `visitors` (
  `id` int(11) NOT NULL,
  `user_id` int(11) NOT NULL,
  `company_id` int(11) NOT NULL,
  `site_id` varchar(111) NOT NULL,
  `plot_id` varchar(111) NOT NULL,
  `visiting` varchar(100) DEFAULT NULL,
  `brokers_id` int(11) DEFAULT NULL,
  `first_name` varchar(255) NOT NULL,
  `middle_name` varchar(250) NOT NULL,
  `last_name` varchar(250) NOT NULL,
  `mobile` bigint(255) NOT NULL,
  `email` varchar(250) NOT NULL,
  `address` text DEFAULT NULL,
  `purpose` text DEFAULT NULL,
  `image` varchar(255) DEFAULT NULL,
  `in_time` text DEFAULT NULL,
  `out_time` text DEFAULT NULL,
  `created` timestamp NOT NULL DEFAULT current_timestamp(),
  `modified` timestamp NULL DEFAULT NULL ON UPDATE current_timestamp(),
  `is_active` int(2) NOT NULL DEFAULT 1,
  `is_deleted` int(2) NOT NULL DEFAULT 0
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

--
-- Dumping data for table `visitors`
--

INSERT INTO `visitors` (`id`, `user_id`, `company_id`, `site_id`, `plot_id`, `visiting`, `brokers_id`, `first_name`, `middle_name`, `last_name`, `mobile`, `email`, `address`, `purpose`, `image`, `in_time`, `out_time`, `created`, `modified`, `is_active`, `is_deleted`) VALUES
(1, 82, 2, '4', '42', 'Own', NULL, 'aaa', 'bbb', 'ccc', 1231231231, '123@gmail.com', 'aaa', 'aaa', NULL, '14:22', '11:11', '2024-12-23 02:38:39', NULL, 1, 0),
(3, 26, 2, '3', '36', 'Distibuter', NULL, 'mmm', 'nnn', 'ooo', 1234567890, 'mmm@gmail.com', 'mmm nnn ooo', 'mno', NULL, '14:22', '03:32', '2024-12-23 02:48:10', NULL, 1, 0);

--
-- Indexes for dumped tables
--

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

--
-- AUTO_INCREMENT for dumped tables
--

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

--
-- AUTO_INCREMENT for table `visitors`
--
ALTER TABLE `visitors`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=4;
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 */;
