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

START TRANSACTION;



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

--
-- Table structure for table `app_acct_account_group`
--

CREATE TABLE `app_acct_account_group` (
  `Id` int(11) NOT NULL,
  `Code` varchar(255) DEFAULT NULL,
  `Name` varchar(255) DEFAULT NULL,
  `Description` text DEFAULT NULL,
  `Status` int(11) DEFAULT NULL,
  `CreatedBy` int(11) DEFAULT NULL,
  `CreatedDate` datetime DEFAULT NULL,
  `ModifiedBy` int(11) DEFAULT NULL,
  `ModifedDate` datetime DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `app_acct_account_group`
--

INSERT INTO `app_acct_account_group` (`Id`, `Code`, `Name`, `Description`, `Status`, `CreatedBy`, `CreatedDate`, `ModifiedBy`, `ModifedDate`) VALUES
(1, 'AG-0000001', 'Balance Sheet', 'Balance Sheet', 1, 1, '2024-11-06 07:29:34', NULL, NULL),
(2, 'AG-0000002', 'PROFT AND LOSS STATEMENT', 'PROFT AND LOSS STATEMENT/ INCOME STATMENT.', 1, 1, '2024-11-18 14:36:21', 1, '2024-11-18 14:36:55');

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

--
-- Table structure for table `app_acct_chart_of_account`
--

CREATE TABLE `app_acct_chart_of_account` (
  `Id` int(11) NOT NULL,
  `Code` varchar(255) DEFAULT NULL,
  `Name` varchar(255) DEFAULT NULL,
  `Description` text DEFAULT NULL,
  `AccountNatureId` int(11) DEFAULT NULL,
  `ParentAccountId` int(11) DEFAULT NULL,
  `Status` int(11) DEFAULT NULL,
  `CreatedBy` int(11) DEFAULT NULL,
  `CreatedDate` datetime DEFAULT NULL,
  `ModifiedBy` int(11) DEFAULT NULL,
  `ModifiedDate` datetime DEFAULT NULL,
  `AllowReconciliation` int(11) DEFAULT NULL,
  `OpeningBalance` double DEFAULT NULL,
  `Levelno` int(11) NOT NULL DEFAULT 1
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `app_acct_chart_of_account`
--

INSERT INTO `app_acct_chart_of_account` (`Id`, `Code`, `Name`, `Description`, `AccountNatureId`, `ParentAccountId`, `Status`, `CreatedBy`, `CreatedDate`, `ModifiedBy`, `ModifiedDate`, `AllowReconciliation`, `OpeningBalance`, `Levelno`) VALUES
(1, 'COA-0000001', 'CURRENT ASSET', NULL, 6, -1, 1, 1, '2024-11-06 07:30:49', NULL, NULL, NULL, NULL, 1),
(2, 'COA-0000002', 'ACCOUNT RECEIVABLE', NULL, NULL, 1, 1, 1, '2024-11-06 07:44:45', 1, '2024-11-06 07:45:11', NULL, NULL, 1),
(3, 'COA-0000003', 'Shafiq Auto Motive', 'Shafiq Auto Motive', NULL, 2, 1, 1, '2024-11-06 11:47:12', NULL, NULL, NULL, NULL, 1),
(4, 'COA-0000004', 'CASH OR CASH EQUIVALENTS', NULL, NULL, 1, 1, 1, '2024-11-07 05:36:29', NULL, NULL, NULL, NULL, 1),
(5, 'COA-0000005', 'INVENTORY', NULL, NULL, 1, 1, 1, '2024-11-07 05:40:03', NULL, NULL, NULL, NULL, 1),
(6, 'COA-0000006', 'RAW MATERIAL', NULL, NULL, 5, 1, 1, '2024-11-07 05:40:25', NULL, NULL, NULL, NULL, 1),
(7, 'COA-0000007', 'WORK IN PROCESS', NULL, NULL, 5, 1, 1, '2024-11-07 05:43:47', 1, '2024-11-08 08:14:38', NULL, NULL, 1),
(8, 'COA-0000008', 'SHORT TERM LOAN AND ADVANCES', NULL, NULL, 1, 1, 1, '2024-11-07 06:10:31', NULL, NULL, NULL, NULL, 1),
(9, 'COA-0000009', 'ADVANCE TO EMPLOYEE', NULL, NULL, 8, 1, 1, '2024-11-07 06:12:08', NULL, NULL, NULL, NULL, 1),
(10, 'COA-0000010', 'ADVANCE TO VENDERS', NULL, NULL, 8, 1, 1, '2024-11-07 06:12:37', NULL, NULL, NULL, NULL, 1),
(11, 'COA-0000011', 'ACCRUED REVENUE', NULL, NULL, 1, 1, 1, '2024-11-07 06:20:05', NULL, NULL, NULL, NULL, 1),
(12, 'COA-0000012', 'CASH AT BANK', NULL, NULL, 1, 1, 1, '2024-11-07 06:20:21', 1, '2024-12-04 10:36:28', NULL, 0, 1),
(13, 'COA-0000013', 'PREPAID EXPENSE', NULL, NULL, 1, 1, 1, '2024-11-07 06:26:19', NULL, NULL, NULL, NULL, 1),
(14, 'COA-0000014', 'SOFTWARE SUBSCRIPTION', NULL, NULL, 13, 1, 1, '2024-11-07 06:27:04', NULL, NULL, NULL, NULL, 1),
(15, 'COA-0000015', 'SHORT TERM INVESTMENT/ MARKETABLE SECURITIES', NULL, NULL, 1, 1, 1, '2024-11-07 07:02:14', 1, '2024-11-11 04:40:20', NULL, NULL, 1),
(16, 'COA-0000016', 'NON-CURRENT ASSETS/ FIXED ASSETS', NULL, 6, -1, 1, 1, '2024-11-07 07:05:50', NULL, NULL, NULL, NULL, 1),
(17, 'COA-0000017', 'LAND & BUILDING', NULL, NULL, 16, 1, 1, '2024-11-11 04:42:14', NULL, NULL, NULL, NULL, 1),
(18, 'COA-0000018', 'LONG TERM INVESTMENT', NULL, NULL, 16, 1, 1, '2024-11-11 04:44:49', NULL, NULL, NULL, NULL, 1),
(19, 'COA-0000019', 'FURNITURE', NULL, NULL, 16, 1, 1, '2024-11-11 06:13:35', NULL, NULL, NULL, NULL, 1),
(20, 'COA-0000020', 'MACHINERY', NULL, NULL, 16, 1, 1, '2024-11-11 06:13:58', NULL, NULL, NULL, NULL, 1),
(21, 'COA-0000021', 'OFFICE EQUIPMENTS', NULL, NULL, 16, 1, 1, '2024-11-11 06:15:01', NULL, NULL, NULL, NULL, 1),
(22, 'COA-0000022', 'PATENT & TRADEMARK', NULL, NULL, 16, 1, 1, '2024-11-11 06:33:40', NULL, NULL, NULL, NULL, 1),
(23, 'COA-0000023', 'CURRENT LIABILITIES', NULL, 7, -1, 1, 1, '2024-11-11 06:35:12', NULL, NULL, NULL, NULL, 1),
(24, 'COA-0000024', 'ACCOUNTS PAYABLE', NULL, NULL, 23, 1, 1, '2024-11-11 06:43:35', NULL, NULL, NULL, NULL, 1),
(25, 'COA-0000025', 'SALARIES PAYABLE', NULL, NULL, 23, 1, 1, '2024-11-11 06:43:54', NULL, NULL, NULL, NULL, 1),
(26, 'COA-0000026', 'SHORT TERM LOAN', NULL, NULL, 23, 1, 1, '2024-11-14 15:10:18', NULL, NULL, NULL, NULL, 1),
(27, 'COA-0000027', 'ACCRUED EXPENSE', NULL, NULL, 23, 1, 1, '2024-11-14 15:11:15', NULL, NULL, NULL, NULL, 1),
(28, 'COA-0000028', 'INCOME TAXES PAYABLE', NULL, NULL, 23, 1, 1, '2024-11-14 15:12:12', NULL, NULL, NULL, NULL, 1),
(29, 'COA-0000029', 'DEFFERED/ UNEARNED REVENUE', NULL, NULL, 23, 1, 1, '2024-11-14 15:18:51', 1, '2024-11-14 15:43:25', NULL, NULL, 1),
(30, 'COA-0000029', 'BANK OVERDRAFT', NULL, NULL, 23, 1, 1, '2024-11-14 15:22:24', 1, '2024-11-14 15:23:08', NULL, NULL, 1),
(31, 'COA-0000031', 'OUTSTANDING EXPENSE', NULL, NULL, 23, 1, 1, '2024-11-14 15:29:47', NULL, NULL, NULL, NULL, 1),
(32, 'COA-0000031', 'INTEREST PAYABLE', NULL, NULL, 23, 1, 1, '2024-11-14 15:29:49', 1, '2024-11-14 15:45:48', NULL, NULL, 1),
(33, 'COA-0000033', 'NON-CURRENT LIABILITIES', NULL, 7, -1, 1, 1, '2024-11-14 15:46:30', NULL, NULL, NULL, NULL, 1),
(34, 'COA-0000034', 'DEFERRED TAX LIABILITY', NULL, NULL, 33, 1, 1, '2024-11-14 15:47:27', 1, '2024-11-14 15:49:08', NULL, NULL, 1),
(35, 'COA-0000035', 'CAPITAL LEASE', NULL, NULL, 33, 1, 1, '2024-11-14 15:52:37', NULL, NULL, NULL, NULL, 1),
(36, 'COA-0000036', 'OWNER\'S INVESTMENT', NULL, 8, -1, 1, 1, '2024-11-18 13:41:06', NULL, NULL, NULL, NULL, 1),
(37, 'COA-0000037', 'RETAINED EARNINGS', NULL, 8, -1, 1, 1, '2024-11-18 13:41:35', NULL, NULL, NULL, NULL, 1),
(38, 'COA-0000038', 'DRAWINGS', NULL, 8, -1, 1, 1, '2024-11-18 14:29:02', NULL, NULL, NULL, NULL, 1),
(39, 'COA-0000039', 'SALES REVENUE', NULL, 10, -1, 1, 1, '2024-11-18 14:48:12', NULL, NULL, NULL, NULL, 1),
(40, 'COA-0000040', 'GAINS', NULL, 10, -1, 1, 1, '2024-11-18 14:53:50', NULL, NULL, NULL, NULL, 1),
(41, 'COA-0000041', 'UTILITIES EXPENSES', NULL, 9, -1, 1, 1, '2024-11-18 14:58:27', NULL, NULL, NULL, NULL, 1),
(42, 'COA-0000042', 'ELECTRICITY BILL', NULL, NULL, 41, 1, 1, '2024-11-18 14:59:14', NULL, NULL, NULL, NULL, 1),
(43, 'COA-0000043', 'GAS BILL', NULL, NULL, 41, 1, 1, '2024-11-18 15:00:43', NULL, NULL, NULL, NULL, 1),
(44, 'COA-0000044', 'WASA BILL', NULL, NULL, 41, 1, 1, '2024-11-18 15:01:16', NULL, NULL, NULL, NULL, 1),
(45, 'COA-0000045', 'TELEPHONE BILL', NULL, NULL, 41, 1, 1, '2024-11-18 15:01:46', NULL, NULL, NULL, NULL, 1),
(46, 'CUST-0000046', 'CUST-0000046-Jedehha auto', 'CUST-0000046-Jedehha auto', 0, 2, 1, 1, '2024-11-20 12:27:29', NULL, NULL, 1, 0, 1),
(47, 'VEN-0000047', 'VEN-0000047-test', 'VEN-0000047-test', 0, 24, 1, 1, '2024-11-20 12:32:22', 1, '2024-12-04 11:41:04', 1, 80000, 1),
(48, 'VEN-0000048', 'VEN-0000048-test', 'VEN-0000048-test', 0, 24, 1, 1, '2024-11-27 09:45:25', NULL, NULL, 1, 4545, 1),
(59, 'BRNC-0000049', 'BRNC-0000049-Cantt Branch', 'BRNC-0000049-Cantt Branch', 0, 12, 1, 1, '2024-12-04 11:16:05', NULL, NULL, 1, 454545, 1),
(60, 'EMP-0000060', 'EMP-0000060-sdfsdf', 'EMP-0000060-sdfsdf', 0, 0, 1, 1, '2024-12-05 12:25:35', 1, '2024-12-05 12:25:44', 1, 55, 1),
(61, 'EMP-0000061', 'EMP-0000061-adgfdfg', 'EMP-0000061-adgfdfg', 0, 0, 1, 1, '2024-12-06 04:23:47', NULL, NULL, 1, 4444, 1),
(62, 'EMP-0000062', 'EMP-0000062-test employee coa', 'EMP-0000062-test employee coa', 0, 25, 1, 1, '2024-12-06 04:25:41', NULL, NULL, 1, 50000, 1),
(63, 'COA-0000063', 'Admin and Selling Expense', NULL, 9, -1, 1, 1, '2024-12-06 04:30:26', NULL, NULL, NULL, 0, 1),
(64, 'COA-0000064', 'Wages and Salaries', NULL, NULL, 63, 1, 1, '2024-12-06 04:30:48', NULL, NULL, NULL, 0, 1),
(65, 'COA-0000065', 'update', NULL, -1, -1, 1, 1, '2024-12-31 08:51:01', NULL, NULL, NULL, 0, 1),
(66, 'COA-0000066', 'testt', NULL, -1, -1, 1, 1, '2024-12-31 09:24:21', NULL, NULL, NULL, 0, 1),
(67, 'COA-0000067', 'Test Level 2', NULL, -1, 1, 1, 1, '2024-12-31 09:31:06', NULL, NULL, NULL, 0, 2),
(68, 'COA-0000068', 'Level Three', NULL, -1, 67, 1, 1, '2024-12-31 09:32:55', NULL, NULL, NULL, 0, 3);

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

--
-- Table structure for table `app_acct_employee_payment`
--

CREATE TABLE `app_acct_employee_payment` (
  `Id` int(11) NOT NULL,
  `EmployeeId` int(11) DEFAULT NULL,
  `PaymentTypeId` int(11) DEFAULT NULL,
  `BankId` int(11) DEFAULT NULL,
  `BankBranchId` int(11) DEFAULT NULL,
  `ChkNo` varchar(255) DEFAULT NULL,
  `ChkDate` date DEFAULT NULL,
  `ChkCashDate` date DEFAULT NULL,
  `PaymentDate` date DEFAULT NULL,
  `Amount` double DEFAULT NULL,
  `PaymentNote` text DEFAULT NULL,
  `Status` int(11) DEFAULT NULL,
  `CreatedDate` datetime DEFAULT NULL,
  `CreatedBy` int(11) DEFAULT NULL,
  `ModifiedDate` datetime DEFAULT NULL,
  `ModifiedBy` int(11) DEFAULT NULL,
  `BranchId` int(11) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `app_acct_employee_payment`
--

INSERT INTO `app_acct_employee_payment` (`Id`, `EmployeeId`, `PaymentTypeId`, `BankId`, `BankBranchId`, `ChkNo`, `ChkDate`, `ChkCashDate`, `PaymentDate`, `Amount`, `PaymentNote`, `Status`, `CreatedDate`, `CreatedBy`, `ModifiedDate`, `ModifiedBy`, `BranchId`) VALUES
(1, 3, 2, 1, 1, '4545', '2024-12-06', '2024-12-06', '2024-12-06', 50000, NULL, 1, '2024-12-06 03:54:26', 1, NULL, NULL, 1);

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

--
-- Table structure for table `app_acct_ledger_entries`
--

CREATE TABLE `app_acct_ledger_entries` (
  `Id` bigint(20) NOT NULL,
  `TransactionId` bigint(20) DEFAULT NULL,
  `TransactionTable` varchar(255) DEFAULT NULL,
  `BookingDate` datetime DEFAULT NULL,
  `Notes` longtext DEFAULT NULL,
  `DocNo` varchar(45) DEFAULT NULL,
  `VType` varchar(45) DEFAULT NULL,
  `DebitAmount` decimal(10,0) DEFAULT NULL,
  `CreditAmount` decimal(10,0) DEFAULT NULL,
  `AccountId` int(11) DEFAULT NULL,
  `FinanicalYearId` int(11) DEFAULT NULL,
  `Status` int(11) DEFAULT NULL,
  `CreatedBy` int(11) DEFAULT NULL,
  `CreatedDate` datetime DEFAULT NULL,
  `ModifiedBy` int(11) DEFAULT NULL,
  `ModifedDate` datetime DEFAULT NULL,
  `PaymentType` varchar(45) DEFAULT NULL,
  `BranchId` int(11) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

--
-- Dumping data for table `app_acct_ledger_entries`
--

INSERT INTO `app_acct_ledger_entries` (`Id`, `TransactionId`, `TransactionTable`, `BookingDate`, `Notes`, `DocNo`, `VType`, `DebitAmount`, `CreditAmount`, `AccountId`, `FinanicalYearId`, `Status`, `CreatedBy`, `CreatedDate`, `ModifiedBy`, `ModifedDate`, `PaymentType`, `BranchId`) VALUES
(1, 1, 'GRN', '2024-10-12 00:00:00', NULL, '1500', 'VA', 0, 1895, 2, 1, 1, 1, '2024-10-12 12:57:25', NULL, NULL, 'CREDIT', 1),
(2, 2, 'GRN', '2024-12-04 00:00:00', NULL, 'afd', 'VA', 0, 176500, 2, 1, 1, 1, '2024-12-04 11:38:28', NULL, NULL, 'CREDIT', 1),
(3, 2, 'GRN', '2024-12-04 00:00:00', NULL, 'afd', 'VT', 0, 0, 0, 1, 1, 1, '2024-12-04 11:38:28', NULL, NULL, 'DEBIT', 1),
(4, 4, 'JV', '2024-12-05 00:00:00', 'trt', '45', 'JV', 344, 0, 59, NULL, 1, 1, '2024-12-05 09:31:59', NULL, NULL, NULL, NULL),
(5, 4, 'JV', '2024-12-05 00:00:00', '', '45', 'JV', 0, 344, 3, NULL, 1, 1, '2024-12-05 09:31:59', NULL, NULL, NULL, NULL),
(6, 2, 'CUSTOMERPAYMENT', '2024-12-05 00:00:00', NULL, '', 'CP', 0, 1000, NULL, 1, 1, 1, '2024-12-05 09:37:53', NULL, NULL, 'CREDIT', 1),
(7, 3, 'CUSTOMERPAYMENT', '2024-12-05 00:00:00', NULL, '', 'CP', 0, 20000, NULL, 1, 1, 1, '2024-12-05 09:46:12', NULL, NULL, 'CREDIT', 1),
(8, 1, 'EmployeePayment', '2024-12-06 00:00:00', NULL, '', 'EP', 0, 50000, NULL, 1, 1, 1, '2024-12-06 03:54:26', NULL, NULL, 'CREDIT', 1),
(9, 1, 'VENDORPAYMENT', '2024-12-09 00:00:00', NULL, '', 'VP', 19999, 0, NULL, 1, 1, 1, '2024-12-09 12:13:45', NULL, NULL, 'DEBIT', 1),
(10, 4, 'GRN', '2024-12-25 00:00:00', ' Receving (GRN)', '202412313', 'VA', 0, 2, 47, 1, 1, 1, '2024-12-31 10:56:22', NULL, NULL, 'CREDIT', 1),
(11, 4, 'GRN', '2024-12-25 00:00:00', NULL, '202412313', 'COG', 1, 0, 184, 1, 1, 1, '2024-12-31 10:56:22', NULL, NULL, 'DEBIT', 1),
(12, 4, 'GRN', '2024-12-25 00:00:00', NULL, '202412313', 'VT', 0, 0, 0, 1, 1, 1, '2024-12-31 10:56:22', NULL, NULL, 'DEBIT', 1),
(13, 5, 'GRN', '2024-12-21 00:00:00', ' Receving (GRN)', '202412315', 'VA', 0, 3000, 47, 1, 1, 1, '2024-12-31 10:56:44', NULL, NULL, 'CREDIT', 1),
(14, 5, 'GRN', '2024-12-21 00:00:00', NULL, '202412315', 'COG', 3000, 0, 184, 1, 1, 1, '2024-12-31 10:56:44', NULL, NULL, 'DEBIT', 1),
(15, 5, 'GRN', '2024-12-21 00:00:00', NULL, '202412315', 'VT', 0, 0, 0, 1, 1, 1, '2024-12-31 10:56:44', NULL, NULL, 'DEBIT', 1),
(16, 4, 'CUSTOMERPAYMENT', '2024-12-30 00:00:00', NULL, '', 'CP', 0, 5000, 0, 1, 1, 1, '2024-12-31 10:59:43', NULL, NULL, 'CREDIT', 1),
(17, 4, 'BANKDEPOSIT', '2024-12-30 00:00:00', NULL, '', 'BP', 5000, 0, 59, 1, 1, 1, '2024-12-31 10:59:43', NULL, NULL, 'DEBIT', 1),
(18, 5, 'CUSTOMERPAYMENT', '2024-12-25 00:00:00', NULL, '', 'CP', 0, 60000, 46, 1, 1, 1, '2024-12-31 11:00:16', NULL, NULL, 'CREDIT', 1),
(19, 5, 'BANKDEPOSIT', '2024-12-25 00:00:00', NULL, '', 'BP', 60000, 0, 59, 1, 1, 1, '2024-12-31 11:00:16', NULL, NULL, 'DEBIT', 1),
(23, 20, 'LE', '2025-01-01 00:00:00', NULL, 'dec', 'LE', 1000, 0, 43, NULL, 1, 1, '2025-01-01 13:24:05', 1, '2025-01-01 13:24:36', NULL, NULL),
(24, 20, 'LE', '2025-01-01 00:00:00', NULL, 'dec', 'LE', 0, 10000, 6, NULL, 1, 1, '2025-01-01 13:24:05', 1, '2025-01-01 13:24:36', NULL, NULL);

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

--
-- Table structure for table `app_acct_nature_of_account`
--

CREATE TABLE `app_acct_nature_of_account` (
  `Id` int(11) NOT NULL,
  `Code` varchar(255) DEFAULT NULL,
  `Name` varchar(255) DEFAULT NULL,
  `Description` text DEFAULT NULL,
  `AccountGroupId` int(11) DEFAULT NULL,
  `Status` int(11) DEFAULT NULL,
  `CreatedBy` int(11) DEFAULT NULL,
  `CreatedDate` datetime DEFAULT NULL,
  `ModifedBy` int(11) DEFAULT NULL,
  `ModifiedDate` datetime DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `app_acct_nature_of_account`
--

INSERT INTO `app_acct_nature_of_account` (`Id`, `Code`, `Name`, `Description`, `AccountGroupId`, `Status`, `CreatedBy`, `CreatedDate`, `ModifedBy`, `ModifiedDate`) VALUES
(6, 'AN-0000001', 'ASSET', NULL, 1, 1, 1, '2024-11-06 07:29:54', NULL, NULL),
(7, 'AN-0000007', 'LIABILITIES', NULL, 1, 1, 1, '2024-11-07 04:56:04', NULL, NULL),
(8, 'AN-0000008', 'OWNER\'S EQUITY', NULL, 1, 1, 1, '2024-11-07 05:03:34', NULL, NULL),
(9, 'AN-0000009', 'EXPENSES', NULL, 2, 1, 1, '2024-11-18 14:38:14', NULL, NULL),
(10, 'AN-0000010', 'INCOME', NULL, 2, 1, 1, '2024-11-18 14:39:23', NULL, NULL);

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

--
-- Table structure for table `app_acc_chart_of_account_links`
--

CREATE TABLE `app_acc_chart_of_account_links` (
  `Id` int(11) NOT NULL,
  `ChartOfAccountId` int(11) DEFAULT NULL,
  `LinkWith` varchar(255) DEFAULT NULL,
  `Status` int(11) DEFAULT NULL,
  `CreatedBy` int(11) DEFAULT NULL,
  `CreatedDate` datetime DEFAULT NULL,
  `ModifiedBy` int(11) DEFAULT NULL,
  `ModifiedDate` datetime DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

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

--
-- Table structure for table `app_asset_item`
--

CREATE TABLE `app_asset_item` (
  `Id` int(11) NOT NULL,
  `Code` varchar(255) DEFAULT NULL,
  `Name` varchar(255) DEFAULT NULL,
  `ModelNo` varchar(255) DEFAULT NULL,
  `BarCode` text DEFAULT NULL,
  `QRCode` text DEFAULT NULL,
  `Description` text DEFAULT NULL,
  `UnitPrice` decimal(18,2) DEFAULT NULL,
  `AssetStatusId` int(11) DEFAULT NULL,
  `PurchaseDate` date DEFAULT NULL,
  `TypeId` int(11) DEFAULT NULL,
  `SubTypeId` int(11) DEFAULT NULL,
  `VendorId` int(11) DEFAULT NULL,
  `DepartmentId` int(11) DEFAULT NULL,
  `DateOfManufacture` date DEFAULT NULL,
  `YearOfValuation` date DEFAULT NULL,
  `WarranetyInMonth` decimal(18,2) DEFAULT NULL,
  `DepreciationInMonth` decimal(18,2) DEFAULT NULL,
  `LocationId` int(11) DEFAULT NULL,
  `Image` text DEFAULT NULL,
  `PurchaseReceipt` text DEFAULT NULL,
  `Notes` text DEFAULT NULL,
  `Status` int(11) DEFAULT NULL,
  `CreatedBy` int(11) DEFAULT NULL,
  `CreatedDate` datetime DEFAULT NULL,
  `ModifiedBy` int(11) DEFAULT NULL,
  `ModifiedDate` datetime DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

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

--
-- Table structure for table `app_asset_location`
--

CREATE TABLE `app_asset_location` (
  `Id` int(11) NOT NULL,
  `Code` varchar(50) DEFAULT NULL,
  `Name` varchar(255) DEFAULT NULL,
  `Description` text DEFAULT NULL,
  `Status` int(11) DEFAULT NULL,
  `CreatedBy` int(11) DEFAULT NULL,
  `CreatedDate` datetime DEFAULT NULL,
  `ModifiedBy` int(11) DEFAULT NULL,
  `ModifiedDate` datetime DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

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

--
-- Table structure for table `app_asset_status`
--

CREATE TABLE `app_asset_status` (
  `Id` int(11) NOT NULL,
  `Code` varchar(50) DEFAULT NULL,
  `Name` varchar(255) DEFAULT NULL,
  `Description` text DEFAULT NULL,
  `Status` int(11) DEFAULT NULL,
  `CreatedBy` int(11) DEFAULT NULL,
  `CreatedDate` datetime DEFAULT NULL,
  `ModifiedBy` int(11) DEFAULT NULL,
  `ModifiedDate` datetime DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

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

--
-- Table structure for table `app_asset_sub_type`
--

CREATE TABLE `app_asset_sub_type` (
  `Id` int(11) NOT NULL,
  `Code` varchar(50) DEFAULT NULL,
  `SubTypeName` varchar(255) DEFAULT NULL,
  `Description` text DEFAULT NULL,
  `Status` int(11) DEFAULT NULL,
  `CreatedBy` int(11) DEFAULT NULL,
  `CreatedDate` datetime DEFAULT NULL,
  `ModifiedBy` int(11) DEFAULT NULL,
  `ModifiedDate` datetime DEFAULT NULL,
  `AssetTypeId` int(11) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

--
-- Dumping data for table `app_asset_sub_type`
--

INSERT INTO `app_asset_sub_type` (`Id`, `Code`, `SubTypeName`, `Description`, `Status`, `CreatedBy`, `CreatedDate`, `ModifiedBy`, `ModifiedDate`, `AssetTypeId`) VALUES
(1, 'ASTC-0000001', 'update', 'ag', 1, 1, '2025-01-01 13:32:44', 1, '2025-01-01 13:32:53', 2);

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

--
-- Table structure for table `app_asset_type`
--

CREATE TABLE `app_asset_type` (
  `Id` int(11) NOT NULL,
  `Code` varchar(50) DEFAULT NULL,
  `TypeName` varchar(255) DEFAULT NULL,
  `Description` text DEFAULT NULL,
  `Status` int(11) DEFAULT NULL,
  `CreatedBy` int(11) DEFAULT NULL,
  `CreatedDate` datetime DEFAULT NULL,
  `ModifiedDate` datetime DEFAULT NULL,
  `ModifiedBy` int(11) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

--
-- Dumping data for table `app_asset_type`
--

INSERT INTO `app_asset_type` (`Id`, `Code`, `TypeName`, `Description`, `Status`, `CreatedBy`, `CreatedDate`, `ModifiedDate`, `ModifiedBy`) VALUES
(2, 'ATC-0000001', 'asdf', 'fsd', 1, 1, '2024-11-26 14:18:31', NULL, NULL);

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

--
-- Table structure for table `app_gen_setting_area`
--

CREATE TABLE `app_gen_setting_area` (
  `Id` bigint(20) NOT NULL,
  `Name` varchar(250) DEFAULT NULL,
  `Status` int(11) DEFAULT NULL,
  `CreatedBy` int(11) DEFAULT NULL,
  `CreatedDate` datetime DEFAULT NULL,
  `ModifiedBy` int(11) DEFAULT NULL,
  `ModifiedDate` datetime DEFAULT NULL,
  `CityId` int(11) DEFAULT NULL,
  `StateId` int(11) DEFAULT NULL,
  `CountryId` int(11) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

--
-- Dumping data for table `app_gen_setting_area`
--

INSERT INTO `app_gen_setting_area` (`Id`, `Name`, `Status`, `CreatedBy`, `CreatedDate`, `ModifiedBy`, `ModifiedDate`, `CityId`, `StateId`, `CountryId`) VALUES
(1, 'Iqbal Town', 1, 1, '2024-12-30 12:40:32', NULL, NULL, 1, 1, 1),
(2, 'test', 1, 1, '2024-12-31 10:53:37', NULL, NULL, 1, 1, 1);

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

--
-- Table structure for table `app_gen_setting_city`
--

CREATE TABLE `app_gen_setting_city` (
  `Id` int(11) NOT NULL,
  `Code` varchar(50) DEFAULT NULL,
  `Name` varchar(250) DEFAULT NULL,
  `Status` smallint(6) DEFAULT NULL,
  `CreatedBy` int(11) DEFAULT NULL,
  `CreatedDate` datetime DEFAULT NULL,
  `ModifiedBy` int(11) DEFAULT NULL,
  `ModifiedDate` datetime DEFAULT NULL,
  `CountryId` int(11) DEFAULT NULL,
  `StateId` int(11) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

--
-- Dumping data for table `app_gen_setting_city`
--

INSERT INTO `app_gen_setting_city` (`Id`, `Code`, `Name`, `Status`, `CreatedBy`, `CreatedDate`, `ModifiedBy`, `ModifiedDate`, `CountryId`, `StateId`) VALUES
(1, 'CC-0000001', 'Lahore', 1, 1, '2024-12-30 12:40:14', NULL, NULL, 1, 1);

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

--
-- Table structure for table `app_gen_setting_country`
--

CREATE TABLE `app_gen_setting_country` (
  `Id` int(11) NOT NULL,
  `Code` varchar(50) DEFAULT NULL,
  `Name` varchar(250) DEFAULT NULL,
  `Status` smallint(6) DEFAULT NULL,
  `CreatedBy` int(11) DEFAULT NULL,
  `CreatedDate` datetime DEFAULT NULL,
  `ModifiedBy` int(11) DEFAULT NULL,
  `ModifiedDate` datetime DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

--
-- Dumping data for table `app_gen_setting_country`
--

INSERT INTO `app_gen_setting_country` (`Id`, `Code`, `Name`, `Status`, `CreatedBy`, `CreatedDate`, `ModifiedBy`, `ModifiedDate`) VALUES
(1, '92', 'Pakistan', 1, 1, '2024-12-30 12:35:15', NULL, NULL);

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

--
-- Table structure for table `app_gen_setting_factory`
--

CREATE TABLE `app_gen_setting_factory` (
  `Id` bigint(20) NOT NULL,
  `Name` varchar(1000) DEFAULT NULL,
  `Code` varchar(100) DEFAULT NULL,
  `Address` text DEFAULT NULL,
  `Description` text DEFAULT NULL,
  `Status` smallint(6) DEFAULT NULL,
  `CreatedDate` datetime DEFAULT NULL,
  `CreatedBy` int(11) DEFAULT NULL,
  `ModifiedBy` int(11) DEFAULT NULL,
  `ModifiedDate` datetime DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

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

--
-- Table structure for table `app_gen_setting_payment_type`
--

CREATE TABLE `app_gen_setting_payment_type` (
  `Id` int(11) NOT NULL,
  `Code` varchar(255) DEFAULT NULL,
  `Name` varchar(255) DEFAULT NULL,
  `Description` text DEFAULT NULL,
  `Status` int(11) DEFAULT NULL,
  `CreatedDate` date DEFAULT NULL,
  `CreatedBy` int(11) DEFAULT NULL,
  `ModifiedDate` date DEFAULT NULL,
  `ModififedBy` int(11) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `app_gen_setting_payment_type`
--

INSERT INTO `app_gen_setting_payment_type` (`Id`, `Code`, `Name`, `Description`, `Status`, `CreatedDate`, `CreatedBy`, `ModifiedDate`, `ModififedBy`) VALUES
(1, 'CASH', 'CASH', 'CASH', 1, NULL, NULL, NULL, NULL),
(2, 'CREDIT', 'CREDIT', 'CREDIT', 1, NULL, NULL, NULL, NULL),
(3, 'RETURN', 'RETURN', 'RETURN', 1, NULL, NULL, NULL, NULL),
(4, 'BANK TRANSFER', 'BANK TRANSFER', 'BANK TRANSFER', 1, NULL, NULL, NULL, NULL),
(5, 'ONLINE BANK TRANSFER', 'ONLINE BANK TRANSFER', 'ONLINE BANK TRANSFER', 1, NULL, NULL, NULL, NULL),
(6, 'CHEQUE', 'CHEQUE', 'CHEQUE', 1, NULL, NULL, NULL, NULL),
(7, 'ADVANCE PAYMENT', 'ADVANCE PAYMENT', 'ADVANCE PAYMENT', 1, NULL, NULL, NULL, NULL);

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

--
-- Table structure for table `app_gen_setting_state`
--

CREATE TABLE `app_gen_setting_state` (
  `Id` bigint(20) NOT NULL,
  `Code` varchar(50) DEFAULT NULL,
  `Name` varchar(250) DEFAULT NULL,
  `Status` smallint(6) DEFAULT NULL,
  `CreatedBy` int(11) DEFAULT NULL,
  `CreatedDate` datetime DEFAULT NULL,
  `ModifiedBy` int(11) DEFAULT NULL,
  `ModifiedDate` datetime DEFAULT NULL,
  `CountryId` int(11) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

--
-- Dumping data for table `app_gen_setting_state`
--

INSERT INTO `app_gen_setting_state` (`Id`, `Code`, `Name`, `Status`, `CreatedBy`, `CreatedDate`, `ModifiedBy`, `ModifiedDate`, `CountryId`) VALUES
(1, 'SC-0000001', 'Punjab', 1, 1, '2024-12-30 12:39:59', NULL, NULL, 1);

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

--
-- Table structure for table `app_hr_att_leave_type`
--

CREATE TABLE `app_hr_att_leave_type` (
  `Id` int(11) NOT NULL,
  `Code` varchar(50) DEFAULT NULL,
  `Name` varchar(250) DEFAULT NULL,
  `Description` text DEFAULT NULL,
  `SalDeduction` int(11) DEFAULT NULL,
  `Status` smallint(6) DEFAULT NULL,
  `CreatedBy` int(11) DEFAULT NULL,
  `CreatedDate` datetime DEFAULT NULL,
  `ModifiedBy` int(11) DEFAULT NULL,
  `ModifiedDate` datetime DEFAULT NULL,
  `LeaveAllowed` decimal(18,2) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

--
-- Dumping data for table `app_hr_att_leave_type`
--

INSERT INTO `app_hr_att_leave_type` (`Id`, `Code`, `Name`, `Description`, `SalDeduction`, `Status`, `CreatedBy`, `CreatedDate`, `ModifiedBy`, `ModifiedDate`, `LeaveAllowed`) VALUES
(1, 'LTC-0000001', 'Sick Leave', NULL, 0, 1, 1, '2024-12-31 11:05:23', NULL, NULL, NULL);

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

--
-- Table structure for table `app_hr_department`
--

CREATE TABLE `app_hr_department` (
  `Id` int(11) NOT NULL,
  `Code` varchar(255) DEFAULT NULL,
  `Name` varchar(255) DEFAULT NULL,
  `Description` text DEFAULT NULL,
  `Status` int(11) DEFAULT NULL,
  `CreatedBy` int(11) DEFAULT NULL,
  `CreatedDate` datetime DEFAULT NULL,
  `ModifiedBy` int(11) DEFAULT NULL,
  `ModifiedDate` datetime DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

--
-- Table structure for table `app_hr_designation`
--

CREATE TABLE `app_hr_designation` (
  `Id` int(11) NOT NULL,
  `Code` varchar(255) DEFAULT NULL,
  `Name` varchar(255) DEFAULT NULL,
  `Description` text DEFAULT NULL,
  `Status` int(11) DEFAULT NULL,
  `CreatedBy` int(11) DEFAULT NULL,
  `CreatedDate` datetime DEFAULT NULL,
  `ModifiedBy` int(11) DEFAULT NULL,
  `ModifiedDate` datetime DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

--
-- Table structure for table `app_hr_profession`
--

CREATE TABLE `app_hr_profession` (
  `Id` bigint(20) NOT NULL,
  `ProfessionName` varchar(100) DEFAULT NULL,
  `Description` text DEFAULT NULL,
  `Status` smallint(6) DEFAULT NULL,
  `CreatedDate` datetime DEFAULT NULL,
  `CreatedBy` int(11) DEFAULT NULL,
  `ModifiedBy` int(11) DEFAULT NULL,
  `ModifiedDate` datetime DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

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

--
-- Table structure for table `app_inv_customer`
--

CREATE TABLE `app_inv_customer` (
  `Id` bigint(20) NOT NULL,
  `CustomerName` varchar(255) DEFAULT NULL,
  `PhoneNo` varchar(30) DEFAULT NULL,
  `MobileNo` varchar(30) DEFAULT NULL,
  `EmailAddress` varchar(255) DEFAULT NULL,
  `TempAddress` text DEFAULT NULL,
  `PermanentAddress` text DEFAULT NULL,
  `OpeningBalance` double DEFAULT NULL,
  `CustomerTypeId` int(11) DEFAULT NULL,
  `Status` int(11) DEFAULT NULL,
  `CreatedDate` datetime DEFAULT NULL,
  `CreatedBy` int(11) DEFAULT NULL,
  `ModifiedDate` datetime DEFAULT NULL,
  `ModifiedBy` int(11) DEFAULT NULL,
  `CustomerCode` varchar(255) DEFAULT NULL,
  `ContactPerson` varchar(255) DEFAULT NULL,
  `DiscountTypeId` int(11) DEFAULT NULL,
  `DiscountPerFlat` varchar(255) DEFAULT NULL,
  `DiscountValue` double DEFAULT NULL,
  `TaxStatus` int(11) DEFAULT NULL,
  `ChartOfAccountId` int(11) DEFAULT NULL,
  `SaleTaxRegNo` varchar(255) DEFAULT NULL,
  `NTNNo` varchar(255) DEFAULT NULL,
  `CNIC` varchar(255) DEFAULT NULL,
  `Picture` text DEFAULT NULL,
  `Description` text DEFAULT NULL,
  `CreditLimit` double DEFAULT 0,
  `MaxDiscountAllow` decimal(10,0) DEFAULT 0,
  `CustomerResidenceTypeId` int(11) DEFAULT NULL,
  `MobileNoTwo` varchar(255) DEFAULT NULL,
  `Location` text DEFAULT NULL,
  `AddressUr` text DEFAULT NULL,
  `ResidenceDuration` varchar(255) DEFAULT NULL,
  `LocationPicture` text DEFAULT NULL,
  `CNICFrontPicture` text DEFAULT NULL,
  `CNICBackPicture` int(11) DEFAULT NULL,
  `AccountNo` varchar(255) DEFAULT NULL,
  `PreAccountNo` varchar(255) DEFAULT NULL,
  `FatherName` varchar(255) DEFAULT NULL,
  `Occupation` varchar(255) DEFAULT NULL,
  `CustomerNameUr` varchar(255) DEFAULT NULL,
  `Bussiness` varchar(255) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `app_inv_customer`
--

INSERT INTO `app_inv_customer` (`Id`, `CustomerName`, `PhoneNo`, `MobileNo`, `EmailAddress`, `TempAddress`, `PermanentAddress`, `OpeningBalance`, `CustomerTypeId`, `Status`, `CreatedDate`, `CreatedBy`, `ModifiedDate`, `ModifiedBy`, `CustomerCode`, `ContactPerson`, `DiscountTypeId`, `DiscountPerFlat`, `DiscountValue`, `TaxStatus`, `ChartOfAccountId`, `SaleTaxRegNo`, `NTNNo`, `CNIC`, `Picture`, `Description`, `CreditLimit`, `MaxDiscountAllow`, `CustomerResidenceTypeId`, `MobileNoTwo`, `Location`, `AddressUr`, `ResidenceDuration`, `LocationPicture`, `CNICFrontPicture`, `CNICBackPicture`, `AccountNo`, `PreAccountNo`, `FatherName`, `Occupation`, `CustomerNameUr`, `Bussiness`) VALUES
(1, '445', 'dfs', 'dsf', 'dsf', 'dsf', 'dsfdsf', 0, 2, 1, '2024-03-18 20:25:45', 1, '2024-03-21 15:59:41', 1, '34update', 'gfh', NULL, NULL, NULL, 1, 0, 'hdfg', 'dsfds', 'dgdg', 'customerimage/120240321154825jedda.png', 'uodate', 0, 0, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
(2, 'Nabeel Bin Ezad', '03244492569', '4545', 'nabeel.ezad@gmail.com', NULL, 'House No 22 Nargis Street Taj Bagh Housing Scheme Lahore Billing', 0, 3, 1, '2024-05-04 07:19:35', 1, NULL, NULL, 'IC-0000002', NULL, NULL, NULL, NULL, 0, 0, 'dsfdsf', 'dsfds', 'dsfsdf', NULL, NULL, 0, 0, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
(3, 'fdsg', 'sdg', 'sdfg', 'fds', NULL, 'sdg', 454, 3, 1, '2024-05-04 10:27:55', 1, NULL, NULL, 'IC-0000003', NULL, NULL, NULL, NULL, 1, 0, 'gsdg', 'sfdg', 'dsgsgf', 'customerimage/120240504102755985px-Laravel.svg.png', 'zdd', 4545, 0, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
(4, 'AHMED AL HARIRI AUTO SPARE PARTS LLC', '000000', '00000', 'AHMAD', NULL, 'UAE', 0, 2, 1, '2024-06-27 16:29:49', 3, NULL, NULL, 'A01', NULL, NULL, NULL, NULL, 1, 0, NULL, NULL, NULL, NULL, NULL, 0, 0, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
(5, 'Test Customer', '232', '345', '111admin@gmail.com', NULL, NULL, 0, 0, 1, '2024-07-03 10:43:51', 1, NULL, NULL, 'CC-0000005', NULL, NULL, NULL, NULL, 0, 3, NULL, NULL, NULL, '', NULL, 0, 0, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
(6, 'Jedehha auto', '3454345update', '435', 'nab@gmail.com', 'test', 'pty', 0, 2, 1, '2024-11-20 12:27:29', 1, '2024-11-20 12:30:34', 1, 'CC-0000006', NULL, NULL, NULL, NULL, 0, 46, NULL, NULL, '45454', '', 'testupdate', 0, 0, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL);

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

--
-- Table structure for table `app_inv_customer_payment`
--

CREATE TABLE `app_inv_customer_payment` (
  `Id` bigint(20) NOT NULL,
  `CustomerInvoiceId` bigint(20) DEFAULT NULL,
  `CustomerId` int(11) DEFAULT NULL,
  `PaymentTypeId` int(11) DEFAULT NULL,
  `BankId` int(11) DEFAULT NULL,
  `BankBranch` varchar(255) DEFAULT NULL,
  `ChkNo` varchar(255) DEFAULT NULL,
  `ChkDate` date DEFAULT NULL,
  `ChkCashDate` date DEFAULT NULL,
  `PaymentDate` date DEFAULT NULL,
  `Amount` double DEFAULT NULL,
  `PaymentNote` text DEFAULT NULL,
  `Status` int(11) DEFAULT NULL,
  `CreatedDate` datetime DEFAULT NULL,
  `CreatedBy` int(11) DEFAULT NULL,
  `ModifiedDate` datetime DEFAULT NULL,
  `ModifiedBy` int(11) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

--
-- Table structure for table `app_inv_customer_type`
--

CREATE TABLE `app_inv_customer_type` (
  `Id` int(11) NOT NULL,
  `Code` varchar(255) DEFAULT NULL,
  `CustomerTypeName` varchar(255) DEFAULT NULL,
  `Description` text DEFAULT NULL,
  `Status` int(11) DEFAULT NULL,
  `CreatedBy` int(11) DEFAULT NULL,
  `CreatedDate` datetime DEFAULT NULL,
  `ModifiedBy` int(11) DEFAULT NULL,
  `ModifiedDate` datetime DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `app_inv_customer_type`
--

INSERT INTO `app_inv_customer_type` (`Id`, `Code`, `CustomerTypeName`, `Description`, `Status`, `CreatedBy`, `CreatedDate`, `ModifiedBy`, `ModifiedDate`) VALUES
(1, '01', 'Walking', 'Walking', 1, NULL, NULL, NULL, NULL),
(2, '2', 'CreditCustomer', 'CreditCustomer', 1, NULL, NULL, NULL, NULL);

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

--
-- Table structure for table `app_inv_delivery_order`
--

CREATE TABLE `app_inv_delivery_order` (
  `Id` bigint(20) NOT NULL,
  `OrderNo` varchar(255) DEFAULT NULL,
  `OrderDate` datetime DEFAULT NULL,
  `RefNo` varchar(255) DEFAULT NULL,
  `OrderStatus` int(11) DEFAULT NULL,
  `CustomerId` int(11) DEFAULT NULL,
  `TaxRateId` int(11) DEFAULT NULL,
  `ShipDate` datetime DEFAULT NULL,
  `EmployeeId` int(11) DEFAULT NULL,
  `SupplyPlaceId` int(11) DEFAULT NULL,
  `Description` longtext CHARACTER SET armscii8 COLLATE armscii8_general_ci DEFAULT NULL,
  `SubTotal` decimal(10,0) DEFAULT NULL,
  `Discount` decimal(10,0) DEFAULT NULL,
  `Tax` decimal(10,0) DEFAULT NULL,
  `Freight` decimal(10,0) DEFAULT NULL,
  `SNo` varchar(255) DEFAULT NULL,
  `Remarks` longtext DEFAULT NULL,
  `Status` int(11) DEFAULT NULL,
  `CreatedBy` int(11) DEFAULT NULL,
  `CreatedDate` datetime DEFAULT NULL,
  `ModifiedBy` int(11) DEFAULT NULL,
  `ModifiedDate` datetime DEFAULT NULL,
  `NetTotal` decimal(10,0) DEFAULT NULL,
  `InvoiceGen` int(11) DEFAULT NULL,
  `TransactionStatus` int(11) DEFAULT NULL,
  `BranchId` int(11) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

--
-- Dumping data for table `app_inv_delivery_order`
--

INSERT INTO `app_inv_delivery_order` (`Id`, `OrderNo`, `OrderDate`, `RefNo`, `OrderStatus`, `CustomerId`, `TaxRateId`, `ShipDate`, `EmployeeId`, `SupplyPlaceId`, `Description`, `SubTotal`, `Discount`, `Tax`, `Freight`, `SNo`, `Remarks`, `Status`, `CreatedBy`, `CreatedDate`, `ModifiedBy`, `ModifiedDate`, `NetTotal`, `InvoiceGen`, `TransactionStatus`, `BranchId`) VALUES
(1, '202407032', '2024-07-03 00:00:00', NULL, 1, -1, 1, NULL, -1, 1, NULL, 600, 0, 0, 0, NULL, NULL, 1, 3, '2024-07-03 10:57:23', NULL, NULL, 600, 0, 0, 1),
(2, '202407032', '2024-07-03 00:00:00', NULL, 1, -1, 1, NULL, -1, 1, NULL, 0, 0, 0, 0, NULL, NULL, 1, 3, '2024-07-03 10:57:40', NULL, NULL, 0, 0, 0, 1),
(3, '202407033', '2024-07-03 00:00:00', NULL, 1, 4, 1, NULL, -1, 1, NULL, 18900, 0, 900, 0, NULL, NULL, 1, 3, '2024-07-03 11:59:39', NULL, NULL, 18900, 0, 0, 1),
(4, '202408094', '2024-08-09 00:00:00', NULL, 1, 4, NULL, '2024-08-09 00:00:00', 3, NULL, NULL, NULL, NULL, NULL, 0, NULL, NULL, 1, 1, '2024-08-09 12:38:15', NULL, NULL, NULL, 0, 0, 1),
(5, '202408095', '2024-08-09 00:00:00', NULL, 1, -1, 1, '2024-08-09 00:00:00', -1, 1, NULL, 37200, 0, 1200, 0, NULL, NULL, 1, 1, '2024-08-09 12:38:54', NULL, NULL, 37200, 0, 0, 1);

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

--
-- Table structure for table `app_inv_delivery_order_detail`
--

CREATE TABLE `app_inv_delivery_order_detail` (
  `Id` bigint(20) NOT NULL,
  `DeliveryOrderId` bigint(20) DEFAULT NULL,
  `ItemId` bigint(20) DEFAULT NULL,
  `PurchasePrice` decimal(10,0) DEFAULT NULL,
  `WholeSalePrice` decimal(10,0) DEFAULT NULL,
  `SalePrice` decimal(10,0) DEFAULT NULL,
  `ActualSalePrice` decimal(10,0) DEFAULT NULL,
  `DiscountValue` decimal(10,0) DEFAULT NULL,
  `DiscountId` int(11) DEFAULT NULL,
  `DiscPerFlat` varchar(255) DEFAULT NULL,
  `DiscountTotal` decimal(10,0) DEFAULT NULL,
  `TaxId` int(11) DEFAULT NULL,
  `TaxRate` decimal(10,0) DEFAULT NULL,
  `TaxValue` decimal(10,0) DEFAULT NULL,
  `Quantity` decimal(10,0) DEFAULT NULL,
  `SubTotal` decimal(10,0) DEFAULT NULL,
  `NetTotal` decimal(10,0) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

--
-- Dumping data for table `app_inv_delivery_order_detail`
--

INSERT INTO `app_inv_delivery_order_detail` (`Id`, `DeliveryOrderId`, `ItemId`, `PurchasePrice`, `WholeSalePrice`, `SalePrice`, `ActualSalePrice`, `DiscountValue`, `DiscountId`, `DiscPerFlat`, `DiscountTotal`, `TaxId`, `TaxRate`, `TaxValue`, `Quantity`, `SubTotal`, `NetTotal`) VALUES
(1, 1, 6, 5, 5, 6, 6, NULL, NULL, '-1', 0, NULL, NULL, 0, 100, 600, 600),
(2, 3, 3, 8, 8, 8, 8, NULL, NULL, '-1', 0, NULL, NULL, 600, 1500, 12000, 12600),
(3, 3, 12, 4, 4, 4, 4, 0, NULL, '-1', 0, NULL, NULL, 300, 1500, 6000, 6300),
(4, 5, 3, 8, 8, 0, 8, NULL, NULL, '-1', 0, NULL, NULL, 0, 1500, 0, 0),
(5, 5, 3, 8, 8, 8, 8, 0, NULL, '-1', 0, NULL, NULL, 0, 1500, 12000, 12000),
(6, 5, 3, 8, 8, 8, 8, 0, NULL, '-1', 0, NULL, NULL, 600, 1500, 12000, 12600),
(7, 5, 3, 8, 8, 8, 8, 0, NULL, '-1', 0, NULL, NULL, 600, 1500, 12000, 12600);

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

--
-- Table structure for table `app_inv_discount_type`
--

CREATE TABLE `app_inv_discount_type` (
  `Id` int(11) NOT NULL,
  `Code` varchar(255) DEFAULT NULL,
  `Name` varchar(255) DEFAULT NULL,
  `FlatPer` varchar(255) DEFAULT NULL,
  `Discount` double DEFAULT NULL,
  `Description` text DEFAULT NULL,
  `Status` int(11) NOT NULL,
  `CreatedDate` datetime NOT NULL,
  `CreatedBy` int(11) NOT NULL,
  `ModifiedDate` datetime NOT NULL,
  `ModifiedBy` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

--
-- Table structure for table `app_inv_document`
--

CREATE TABLE `app_inv_document` (
  `Id` int(11) NOT NULL,
  `RefrenceId` int(11) DEFAULT NULL,
  `TableName` varchar(255) DEFAULT NULL,
  `DocumentURL` varchar(1024) DEFAULT NULL,
  `CreatedBy` int(11) DEFAULT NULL,
  `CreatedDate` datetime DEFAULT NULL,
  `ModifiedBy` int(11) DEFAULT NULL,
  `ModifiedDate` datetime DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

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

--
-- Table structure for table `app_inv_grn_order`
--

CREATE TABLE `app_inv_grn_order` (
  `Id` bigint(20) NOT NULL,
  `OrderDate` date DEFAULT NULL,
  `PurchaseOrderId` bigint(20) DEFAULT NULL,
  `VendorId` int(11) DEFAULT NULL,
  `BillNo` varchar(255) DEFAULT NULL,
  `DiscountId` int(11) DEFAULT NULL,
  `DiscountType` varchar(255) DEFAULT NULL,
  `DiscountValue` decimal(10,0) DEFAULT NULL,
  `OrderTotal` decimal(10,0) DEFAULT NULL,
  `DiscountTotal` decimal(10,0) DEFAULT NULL,
  `SalesTax` decimal(10,0) DEFAULT NULL,
  `FurtherTax` decimal(10,0) DEFAULT NULL,
  `NetAmount` decimal(10,0) DEFAULT NULL,
  `FinancialYearId` int(11) DEFAULT NULL,
  `DemandNoteId` int(11) DEFAULT NULL,
  `PaymentTypeId` int(11) DEFAULT NULL,
  `Note` text DEFAULT NULL,
  `ReferenceNo` varchar(255) DEFAULT NULL,
  `WareHouseId` int(11) DEFAULT NULL,
  `IsReturn` int(11) DEFAULT NULL,
  `OrderStatus` int(11) DEFAULT NULL,
  `BranchId` int(11) DEFAULT NULL,
  `Status` int(11) DEFAULT NULL,
  `CreatedBy` int(11) DEFAULT NULL,
  `CreatedDate` datetime DEFAULT NULL,
  `ModifiedBy` int(11) DEFAULT NULL,
  `ModifiedDate` datetime DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `app_inv_grn_order`
--

INSERT INTO `app_inv_grn_order` (`Id`, `OrderDate`, `PurchaseOrderId`, `VendorId`, `BillNo`, `DiscountId`, `DiscountType`, `DiscountValue`, `OrderTotal`, `DiscountTotal`, `SalesTax`, `FurtherTax`, `NetAmount`, `FinancialYearId`, `DemandNoteId`, `PaymentTypeId`, `Note`, `ReferenceNo`, `WareHouseId`, `IsReturn`, `OrderStatus`, `BranchId`, `Status`, `CreatedBy`, `CreatedDate`, `ModifiedBy`, `ModifiedDate`) VALUES
(1, '2024-10-12', 14, 1, '1500', NULL, NULL, NULL, 1895, 0, NULL, 0, 1895, NULL, 0, 2, NULL, NULL, 0, 0, 1, 1, 1, 1, '2024-10-12 12:57:25', NULL, NULL),
(2, '2024-12-04', NULL, 1, 'afd', NULL, NULL, NULL, 176500, 0, 0, 0, 176500, NULL, 0, 1, NULL, '343', NULL, 0, 1, 1, 1, 1, '2024-12-04 11:38:28', NULL, NULL),
(4, '2024-12-25', NULL, 2, '202412313', NULL, NULL, NULL, 1, 0, 0, 0, 2, NULL, 0, 1, NULL, NULL, NULL, 0, 1, 1, 1, 1, '2024-12-31 10:56:22', NULL, NULL),
(5, '2024-12-21', NULL, 2, '202412315', NULL, NULL, NULL, 3000, 0, 0, 0, 3000, NULL, 0, 1, NULL, NULL, NULL, 0, 1, 1, 1, 1, '2024-12-31 10:56:44', NULL, NULL);

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

--
-- Table structure for table `app_inv_grn_order_detail`
--

CREATE TABLE `app_inv_grn_order_detail` (
  `Id` bigint(20) NOT NULL,
  `GrnOrderId` bigint(20) DEFAULT NULL,
  `ItemId` int(11) DEFAULT NULL,
  `SalePrice` decimal(10,0) DEFAULT NULL,
  `PurchasePrice` decimal(10,0) DEFAULT NULL,
  `WholeSalePrice` decimal(10,0) DEFAULT NULL,
  `TaxRate` decimal(10,0) DEFAULT NULL,
  `TaxValue` decimal(10,0) DEFAULT NULL,
  `TaxId` int(11) DEFAULT NULL,
  `BrandId` int(11) DEFAULT NULL,
  `CategoryId` int(11) DEFAULT NULL,
  `SubCategoryId` int(11) DEFAULT NULL,
  `ChildCategoryId` int(11) DEFAULT NULL,
  `ItemTypeId` int(11) DEFAULT NULL,
  `UnitId` int(11) DEFAULT NULL,
  `DiscountId` int(11) DEFAULT NULL,
  `DiscountValue` decimal(10,0) DEFAULT NULL,
  `DiscPerFlat` varchar(255) DEFAULT NULL,
  `DiscountTotal` decimal(10,0) DEFAULT NULL,
  `TotalAmount` decimal(10,0) DEFAULT NULL,
  `NetAmount` decimal(10,0) DEFAULT NULL,
  `Quantity` decimal(10,0) DEFAULT NULL,
  `StoreId` int(11) DEFAULT NULL,
  `Status` int(11) DEFAULT NULL,
  `CreatedBy` int(11) DEFAULT NULL,
  `CreatedDate` datetime DEFAULT NULL,
  `ModifiedBy` int(11) DEFAULT NULL,
  `ModifiedDate` datetime DEFAULT NULL,
  `WarehouseId` int(11) DEFAULT NULL,
  `Bundle` int(11) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `app_inv_grn_order_detail`
--

INSERT INTO `app_inv_grn_order_detail` (`Id`, `GrnOrderId`, `ItemId`, `SalePrice`, `PurchasePrice`, `WholeSalePrice`, `TaxRate`, `TaxValue`, `TaxId`, `BrandId`, `CategoryId`, `SubCategoryId`, `ChildCategoryId`, `ItemTypeId`, `UnitId`, `DiscountId`, `DiscountValue`, `DiscPerFlat`, `DiscountTotal`, `TotalAmount`, `NetAmount`, `Quantity`, `StoreId`, `Status`, `CreatedBy`, `CreatedDate`, `ModifiedBy`, `ModifiedDate`, `WarehouseId`, `Bundle`) VALUES
(1, 1, 4, 2, 2, 2, 0, 0, NULL, 0, 0, 0, 0, 0, 0, NULL, 0, NULL, 0, 1730, 1730, 1000, 0, 1, 1, '2024-10-12 12:57:25', NULL, NULL, NULL, NULL),
(2, 1, 13, 1, 1, 1, 0, 0, NULL, 0, 0, 0, 0, 0, 0, NULL, 0, NULL, 0, 165, 165, 150, 0, 1, 1, '2024-10-12 12:57:25', NULL, NULL, NULL, NULL),
(3, 2, 4, 4, 500, 4, 0, 0, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0, NULL, 0, 116500, 116500, 233, NULL, 1, 1, '2024-12-04 11:38:28', NULL, NULL, 0, 500),
(4, 2, 8, 4, 600, 4, 0, 0, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0, NULL, 0, 60000, 60000, 100, NULL, 1, 1, '2024-12-04 11:38:28', NULL, NULL, 0, 200),
(5, 4, 6, 6, 1, 5, 0, 0, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0, NULL, 0, 1, 2, 1, NULL, 1, 1, '2024-12-31 10:56:22', NULL, NULL, 0, 1),
(6, 5, 3, 8, 3, 8, 0, 0, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0, NULL, 0, 3000, 3000, 1000, NULL, 1, 1, '2024-12-31 10:56:44', NULL, NULL, 0, 1);

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

--
-- Table structure for table `app_inv_grn_order_other_expense`
--

CREATE TABLE `app_inv_grn_order_other_expense` (
  `Id` bigint(20) NOT NULL,
  `ExpenseId` int(11) DEFAULT NULL,
  `Amount` decimal(10,0) DEFAULT NULL,
  `GRNId` bigint(20) DEFAULT NULL,
  `Status` int(11) DEFAULT NULL,
  `CreatedBy` int(11) DEFAULT NULL,
  `CreatedDate` datetime DEFAULT NULL,
  `ModifiedBy` int(11) DEFAULT NULL,
  `ModifiedDate` datetime DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

--
-- Table structure for table `app_inv_item_stock_adjustment`
--

CREATE TABLE `app_inv_item_stock_adjustment` (
  `Id` int(11) NOT NULL,
  `ItemId` int(11) DEFAULT NULL,
  `Quantity` decimal(10,0) DEFAULT NULL,
  `ReasonId` int(11) DEFAULT NULL,
  `AdjustmentDate` date DEFAULT NULL,
  `Note` text DEFAULT NULL,
  `Status` int(11) DEFAULT NULL,
  `CreatedBy` int(11) DEFAULT NULL,
  `CreatedDate` datetime DEFAULT NULL,
  `ModifiedBy` int(11) DEFAULT NULL,
  `ModifiedDate` datetime DEFAULT NULL,
  `PurchasePrice` decimal(18,4) NOT NULL,
  `WarehouseId` int(11) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `app_inv_item_stock_adjustment`
--

INSERT INTO `app_inv_item_stock_adjustment` (`Id`, `ItemId`, `Quantity`, `ReasonId`, `AdjustmentDate`, `Note`, `Status`, `CreatedBy`, `CreatedDate`, `ModifiedBy`, `ModifiedDate`, `PurchasePrice`, `WarehouseId`) VALUES
(2, 20, 34, 1, '2024-06-06', NULL, 1, 1, '2024-06-06 12:11:45', NULL, NULL, 0.0000, NULL),
(3, 6, 90, 1, '2025-01-01', NULL, 1, 1, '2025-01-01 05:38:18', 1, '2025-01-01 05:38:41', 500.0000, 1);

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

--
-- Table structure for table `app_inv_item_stock_adjustment_reason`
--

CREATE TABLE `app_inv_item_stock_adjustment_reason` (
  `Id` int(11) NOT NULL,
  `Reason` text DEFAULT NULL,
  `Status` int(11) DEFAULT NULL,
  `CreatedBy` int(11) DEFAULT NULL,
  `CreatedDate` datetime DEFAULT NULL,
  `ModifiedBy` int(11) DEFAULT NULL,
  `ModifiedDate` datetime DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `app_inv_item_stock_adjustment_reason`
--

INSERT INTO `app_inv_item_stock_adjustment_reason` (`Id`, `Reason`, `Status`, `CreatedBy`, `CreatedDate`, `ModifiedBy`, `ModifiedDate`) VALUES
(1, 'Some Reason', 1, 1, NULL, 1, NULL);

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

--
-- Table structure for table `app_inv_item_warehouse`
--

CREATE TABLE `app_inv_item_warehouse` (
  `Id` bigint(20) NOT NULL,
  `ItemId` bigint(20) DEFAULT NULL,
  `StoreId` int(11) DEFAULT NULL,
  `StoreName` varchar(250) DEFAULT NULL,
  `RackNo` int(11) DEFAULT NULL,
  `Location` varchar(50) DEFAULT NULL,
  `Status` smallint(6) DEFAULT NULL,
  `CreatedDate` datetime DEFAULT NULL,
  `CreatedBy` int(11) DEFAULT NULL,
  `ModifiedDate` datetime DEFAULT NULL,
  `ModifiedBy` int(11) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

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

--
-- Table structure for table `app_inv_payment_term`
--

CREATE TABLE `app_inv_payment_term` (
  `Id` int(11) NOT NULL,
  `Title` varchar(255) DEFAULT NULL,
  `TermDays` int(11) DEFAULT NULL,
  `Status` int(11) DEFAULT NULL,
  `CreatedBy` int(11) DEFAULT NULL,
  `CreatedDate` datetime DEFAULT NULL,
  `ModifiedBy` int(11) DEFAULT NULL,
  `ModifiedDate` datetime DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

--
-- Dumping data for table `app_inv_payment_term`
--

INSERT INTO `app_inv_payment_term` (`Id`, `Title`, `TermDays`, `Status`, `CreatedBy`, `CreatedDate`, `ModifiedBy`, `ModifiedDate`) VALUES
(1, '90 Days', 90, 1, NULL, NULL, NULL, NULL),
(2, '45 Days', 45, 1, NULL, NULL, NULL, NULL);

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

--
-- Table structure for table `app_inv_purchase_order`
--

CREATE TABLE `app_inv_purchase_order` (
  `Id` bigint(20) NOT NULL,
  `BillNo` varchar(255) DEFAULT NULL,
  `OrderDate` date DEFAULT NULL,
  `VendorId` int(11) DEFAULT NULL,
  `DiscountId` int(11) DEFAULT NULL,
  `DiscountType` varchar(255) DEFAULT NULL,
  `DiscountValue` decimal(10,2) DEFAULT NULL,
  `OrderTotal` decimal(10,2) DEFAULT NULL,
  `DiscountTotal` decimal(10,2) DEFAULT NULL,
  `SalesTax` decimal(10,2) DEFAULT NULL,
  `FurtherTax` decimal(10,2) DEFAULT NULL,
  `NetAmount` decimal(10,2) DEFAULT NULL,
  `FinancialYearId` int(11) DEFAULT NULL,
  `OrderDueDate` date DEFAULT NULL,
  `JobNo` varchar(255) DEFAULT NULL,
  `PaymentTypeId` int(11) DEFAULT NULL,
  `Note` text DEFAULT NULL,
  `ReferenceNo` varchar(255) DEFAULT NULL,
  `BranchId` int(11) DEFAULT NULL,
  `Status` int(11) DEFAULT NULL,
  `CreatedBy` int(11) DEFAULT NULL,
  `CreatedDate` datetime DEFAULT NULL,
  `ModifiedBy` int(11) DEFAULT NULL,
  `ModifiedDate` datetime DEFAULT NULL,
  `IsTaxable` int(11) DEFAULT NULL,
  `ShipDate` date DEFAULT NULL,
  `OrderTypeId` int(11) DEFAULT NULL,
  `TaxRateId` int(11) DEFAULT NULL,
  `TRNNo` int(11) DEFAULT NULL,
  `SNNo` varchar(255) DEFAULT NULL,
  `InvoiceGenerated` int(11) DEFAULT NULL,
  `SourceOfSupplyId` int(11) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `app_inv_purchase_order`
--

INSERT INTO `app_inv_purchase_order` (`Id`, `BillNo`, `OrderDate`, `VendorId`, `DiscountId`, `DiscountType`, `DiscountValue`, `OrderTotal`, `DiscountTotal`, `SalesTax`, `FurtherTax`, `NetAmount`, `FinancialYearId`, `OrderDueDate`, `JobNo`, `PaymentTypeId`, `Note`, `ReferenceNo`, `BranchId`, `Status`, `CreatedBy`, `CreatedDate`, `ModifiedBy`, `ModifiedDate`, `IsTaxable`, `ShipDate`, `OrderTypeId`, `TaxRateId`, `TRNNo`, `SNNo`, `InvoiceGenerated`, `SourceOfSupplyId`) VALUES
(1, NULL, '2024-07-03', 1, NULL, NULL, NULL, 12.00, 0.00, 0.00, NULL, 12.00, NULL, NULL, NULL, 1, NULL, NULL, 1, 1, 1, '2024-07-03 16:39:04', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
(2, '202408092', '2024-08-09', 1, NULL, NULL, NULL, 19.00, 0.00, 1.00, NULL, 20.00, NULL, NULL, 'test', 1, 'note', 'ref no', 1, 1, 1, '2024-08-09 13:10:53', NULL, NULL, NULL, '2024-08-15', 1, 1, NULL, NULL, 0, 1),
(3, '202408133', '2024-08-13', 1, NULL, NULL, NULL, 1124.00, 73.00, 56.00, NULL, 1107.00, NULL, NULL, NULL, 1, NULL, NULL, 1, 1, 1, '2024-08-13 06:16:33', NULL, NULL, NULL, NULL, 3, 1, NULL, NULL, 0, 1),
(4, '1500', '2024-08-14', 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 5, NULL, NULL, 1, 1, 1, '2024-08-14 13:25:10', NULL, NULL, 0, NULL, NULL, NULL, NULL, NULL, 0, NULL),
(5, '1500', '2024-08-14', 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 5, NULL, NULL, 1, 1, 1, '2024-08-14 13:25:11', NULL, NULL, 0, NULL, NULL, NULL, NULL, NULL, 0, NULL),
(6, '1500', '2024-08-15', 1, NULL, NULL, NULL, 6408.00, 0.00, 83.00, NULL, 6491.00, NULL, NULL, NULL, 5, NULL, NULL, 1, 1, 1, '2024-08-15 07:52:12', NULL, NULL, 1, NULL, 1, 1, NULL, NULL, 0, 1),
(7, '202408287', '2024-08-28', 2, NULL, NULL, NULL, 12540.00, 0.00, 627.00, NULL, 13167.00, NULL, NULL, NULL, 2, NULL, NULL, 1, 1, 1, '2024-08-28 09:59:12', NULL, NULL, 1, '2024-08-28', 1, 1, NULL, NULL, 0, 1),
(8, '202409268', '2024-09-26', 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, NULL, NULL, 1, 1, 1, '2024-09-26 05:36:46', NULL, NULL, 0, NULL, NULL, NULL, NULL, NULL, 0, NULL),
(9, '202410029', '2024-10-02', 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'dsfd', 2, NULL, 'erew', 1, 1, 1, '2024-10-02 09:59:56', NULL, NULL, 1, '2024-10-02', 1, 1, 32434, '45454', 0, 1),
(10, '2024100610', '2024-10-06', 1, NULL, NULL, NULL, 3.00, 0.00, 0.00, NULL, 3.00, NULL, NULL, NULL, 3, NULL, NULL, 1, 1, 1, '2024-10-06 16:23:13', NULL, NULL, 1, NULL, 1, 1, NULL, NULL, 0, 1),
(11, '2024100711', '2024-10-07', 1, NULL, NULL, NULL, 3.00, 0.00, 0.00, NULL, 3.00, NULL, NULL, 'J123', 2, NULL, NULL, 1, 1, 1, '2024-10-07 07:09:46', NULL, NULL, 1, '2024-10-08', 1, 1, NULL, NULL, 0, 1),
(12, '2024100712', '2024-10-07', 2, NULL, NULL, NULL, 3.00, 0.00, 0.00, NULL, 3.00, NULL, NULL, 'B2323', 1, NULL, NULL, 1, 1, 1, '2024-10-07 07:10:56', NULL, NULL, 1, '2024-10-07', 1, 1, NULL, NULL, 0, 1),
(13, '2024100713', '2024-10-07', 1, NULL, NULL, NULL, 4.83, 0.00, 0.00, NULL, 4.83, NULL, NULL, NULL, 1, NULL, NULL, 1, 1, 1, '2024-10-07 09:19:31', NULL, NULL, 0, '2024-10-07', 1, NULL, NULL, NULL, 0, 1),
(14, '2024101214', '2024-10-12', 1, NULL, NULL, NULL, 1895.00, 0.00, 0.00, NULL, 1895.00, NULL, NULL, NULL, 2, NULL, NULL, 1, 1, 1, '2024-10-12 12:54:51', NULL, NULL, 0, '2024-10-12', 3, NULL, NULL, NULL, 0, 1);

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

--
-- Table structure for table `app_inv_purchase_order_detail`
--

CREATE TABLE `app_inv_purchase_order_detail` (
  `Id` bigint(20) NOT NULL,
  `PurchaseOrderId` bigint(20) DEFAULT NULL,
  `ItemId` int(11) DEFAULT NULL,
  `Quantity` decimal(10,2) DEFAULT NULL,
  `SalePrice` decimal(10,2) DEFAULT NULL,
  `TaxValue` decimal(10,2) DEFAULT NULL,
  `TaxRate` decimal(10,2) DEFAULT NULL,
  `PurchasePrice` decimal(10,2) DEFAULT NULL,
  `DiscountId` int(11) DEFAULT NULL,
  `Discount` decimal(10,2) DEFAULT NULL,
  `DiscountPerFlat` varchar(255) DEFAULT NULL,
  `DiscountValue` decimal(10,2) DEFAULT NULL,
  `BrandId` int(11) DEFAULT NULL,
  `CategoryId` int(11) DEFAULT NULL,
  `ItemTypeId` int(11) DEFAULT NULL,
  `UnitId` int(11) DEFAULT NULL,
  `TotalAmount` decimal(10,2) DEFAULT NULL,
  `NetAmount` decimal(10,2) DEFAULT NULL,
  `Status` int(11) DEFAULT NULL,
  `CreatedBy` int(11) DEFAULT NULL,
  `CreatedDate` datetime DEFAULT NULL,
  `ModifiedBy` int(11) DEFAULT NULL,
  `ModifiedDate` datetime DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `app_inv_purchase_order_detail`
--

INSERT INTO `app_inv_purchase_order_detail` (`Id`, `PurchaseOrderId`, `ItemId`, `Quantity`, `SalePrice`, `TaxValue`, `TaxRate`, `PurchasePrice`, `DiscountId`, `Discount`, `DiscountPerFlat`, `DiscountValue`, `BrandId`, `CategoryId`, `ItemTypeId`, `UnitId`, `TotalAmount`, `NetAmount`, `Status`, `CreatedBy`, `CreatedDate`, `ModifiedBy`, `ModifiedDate`) VALUES
(1, 1, 3, 2.00, 8.00, 0.00, 0.00, 3.00, NULL, 0.00, NULL, 0.00, NULL, NULL, NULL, NULL, 6.00, 6.00, 1, 1, '2024-07-03 16:39:04', NULL, NULL),
(2, 1, 3, 2.00, 8.00, 0.00, 0.00, 3.00, NULL, 0.00, 'null', 0.00, NULL, NULL, NULL, NULL, 6.00, 6.00, 1, 1, '2024-07-03 16:39:04', NULL, NULL),
(3, 2, 4, 1.00, 4.00, 0.00, 5.00, 2.00, NULL, 0.00, NULL, 0.00, NULL, NULL, NULL, NULL, 2.00, 2.00, 1, 1, '2024-08-09 13:10:53', NULL, NULL),
(4, 2, 6, 5.00, 6.00, 0.00, 5.00, 1.00, NULL, 0.00, 'null', 0.00, NULL, NULL, NULL, NULL, 7.00, 7.00, 1, 1, '2024-08-09 13:10:53', NULL, NULL),
(5, 2, 8, 10.00, 4.00, 1.00, 5.00, 1.00, NULL, 0.00, 'null', 0.00, NULL, NULL, NULL, NULL, 11.00, 12.00, 1, 1, '2024-08-09 13:10:53', NULL, NULL),
(6, 3, 6, 154.00, 6.00, 10.00, 5.00, 1.00, NULL, 0.00, NULL, 0.00, NULL, NULL, NULL, NULL, 200.00, 210.00, 1, 1, '2024-08-13 06:16:33', NULL, NULL),
(7, 3, 3, 154.00, 8.00, 23.00, 5.00, 3.00, NULL, 23.00, 'Per', 5.00, NULL, NULL, NULL, NULL, 462.00, 462.00, 1, 1, '2024-08-13 06:16:33', NULL, NULL),
(8, 3, 3, 154.00, 8.00, 23.00, 5.00, 3.00, NULL, 50.00, 'Flat', 50.00, NULL, NULL, NULL, NULL, 462.00, 435.00, 1, 1, '2024-08-13 06:16:33', NULL, NULL),
(9, 6, 11, 2100.00, 5.00, 0.00, 0.00, 1.00, NULL, 0.00, NULL, 0.00, NULL, NULL, NULL, NULL, 3108.00, 3108.00, 1, 1, '2024-08-15 07:52:12', NULL, NULL),
(10, 6, 13, 1500.00, 6.00, 0.00, 0.00, 1.00, NULL, 0.00, 'null', 0.00, NULL, NULL, NULL, NULL, 1650.00, 1650.00, 1, 1, '2024-08-15 07:52:12', NULL, NULL),
(11, 6, 13, 1500.00, 6.00, 83.00, 5.00, 1.00, NULL, 0.00, 'null', 0.00, NULL, NULL, NULL, NULL, 1650.00, 1733.00, 1, 1, '2024-08-15 07:52:12', NULL, NULL),
(12, 7, 3, 150.00, 8.00, 23.00, 5.00, 3.00, NULL, 0.00, NULL, 0.00, NULL, NULL, NULL, NULL, 450.00, 473.00, 1, 1, '2024-08-28 09:59:12', NULL, NULL),
(13, 7, 7, 1500.00, 6.00, 83.00, 5.00, 1.00, NULL, 0.00, 'null', 0.00, NULL, NULL, NULL, NULL, 1650.00, 1733.00, 1, 1, '2024-08-28 09:59:12', NULL, NULL),
(14, 7, 14, 1500.00, 5.00, 75.00, 5.00, 1.00, NULL, 0.00, 'null', 0.00, NULL, NULL, NULL, NULL, 1500.00, 1575.00, 1, 1, '2024-08-28 09:59:12', NULL, NULL),
(15, 7, 12, 1500.00, 4.00, 225.00, 5.00, 3.00, NULL, 0.00, 'null', 0.00, NULL, NULL, NULL, NULL, 4500.00, 4725.00, 1, 1, '2024-08-28 09:59:12', NULL, NULL),
(16, 7, 11, 1500.00, 5.00, 111.00, 5.00, 1.00, NULL, 0.00, 'null', 0.00, NULL, NULL, NULL, NULL, 2220.00, 2331.00, 1, 1, '2024-08-28 09:59:12', NULL, NULL),
(17, 7, 11, 1500.00, 5.00, 111.00, 5.00, 1.00, NULL, 0.00, 'null', 0.00, NULL, NULL, NULL, NULL, 2220.00, 2331.00, 1, 1, '2024-08-28 09:59:12', NULL, NULL),
(18, 10, 6, 1.00, 1.00, 0.00, 0.00, 1.00, NULL, 0.00, NULL, 0.00, NULL, NULL, NULL, NULL, 1.00, 1.00, 1, 1, '2024-10-06 16:23:13', NULL, NULL),
(19, 10, 6, 1.00, 1.00, 0.00, 0.00, 1.00, NULL, 0.00, 'null', 0.00, NULL, NULL, NULL, NULL, 1.00, 1.00, 1, 1, '2024-10-06 16:23:13', NULL, NULL),
(20, 11, 4, 1.00, 2.00, 0.00, 5.00, 2.00, NULL, 0.00, NULL, 0.00, NULL, NULL, NULL, NULL, 2.00, 2.00, 1, 1, '2024-10-07 07:09:46', NULL, NULL),
(21, 11, 8, 1.00, 1.00, 0.00, 5.00, 1.00, NULL, 0.00, 'null', 0.00, NULL, NULL, NULL, NULL, 1.00, 1.00, 1, 1, '2024-10-07 07:09:46', NULL, NULL),
(22, 12, 6, 1.00, 1.00, 0.00, 5.00, 1.00, NULL, 0.00, NULL, 0.00, NULL, NULL, NULL, NULL, 1.00, 1.00, 1, 1, '2024-10-07 07:10:56', NULL, NULL),
(23, 12, 9, 1.00, 2.00, 0.00, 5.00, 2.00, NULL, 0.00, 'null', 0.00, NULL, NULL, NULL, NULL, 2.00, 2.00, 1, 1, '2024-10-07 07:10:56', NULL, NULL),
(24, 13, 9, 1.00, 2.00, 0.00, 0.00, 2.00, NULL, 0.00, NULL, 0.00, NULL, NULL, NULL, NULL, 2.00, 2.00, 1, 1, '2024-10-07 09:19:31', NULL, NULL),
(25, 13, 8, 1.00, 1.10, 0.00, 0.00, 1.10, NULL, 0.00, 'null', 0.00, NULL, NULL, NULL, NULL, 1.10, 1.10, 1, 1, '2024-10-07 09:19:31', NULL, NULL),
(26, 13, 4, 1.00, 1.73, 0.00, 0.00, 1.73, NULL, 0.00, 'null', 0.00, NULL, NULL, NULL, NULL, 1.73, 1.73, 1, 1, '2024-10-07 09:19:31', NULL, NULL),
(27, 14, 4, 1000.00, 1.73, 0.00, 0.00, 1.73, NULL, 0.00, NULL, 0.00, NULL, NULL, NULL, NULL, 1730.00, 1730.00, 1, 1, '2024-10-12 12:54:51', NULL, NULL),
(28, 14, 13, 150.00, 1.10, 0.00, 0.00, 1.10, NULL, 0.00, 'null', 0.00, NULL, NULL, NULL, NULL, 165.00, 165.00, 1, 1, '2024-10-12 12:54:51', NULL, NULL);

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

--
-- Table structure for table `app_inv_store_requisition`
--

CREATE TABLE `app_inv_store_requisition` (
  `Id` bigint(20) NOT NULL,
  `OrderDate` date DEFAULT NULL,
  `EmployeeId` int(11) DEFAULT NULL,
  `FullName` varchar(250) DEFAULT NULL,
  `BillNo` varchar(50) DEFAULT NULL,
  `DiscountId` int(11) DEFAULT NULL,
  `DiscountType` varchar(50) DEFAULT NULL,
  `DiscountValue` decimal(18,2) DEFAULT NULL,
  `OrderTotal` decimal(18,2) DEFAULT NULL,
  `DiscountTotal` decimal(18,2) DEFAULT NULL,
  `SalesTax` decimal(18,2) DEFAULT NULL,
  `FurtherTax` decimal(18,2) DEFAULT NULL,
  `NetAmount` decimal(18,2) DEFAULT NULL,
  `Status` smallint(6) DEFAULT NULL,
  `CreatedBy` int(11) DEFAULT NULL,
  `CreatedDate` datetime DEFAULT NULL,
  `ModifiedBy` int(11) DEFAULT NULL,
  `ModifiedDate` datetime DEFAULT NULL,
  `YearNo` int(11) DEFAULT NULL,
  `MonthNo` int(11) DEFAULT NULL,
  `FinancialYearId` int(11) DEFAULT NULL,
  `FinanicialYearNo` int(11) DEFAULT NULL,
  `OrderDueDate` date DEFAULT NULL,
  `TotalQty` decimal(18,2) DEFAULT NULL,
  `DepartmentId` int(11) DEFAULT NULL,
  `DepartmentName` varchar(250) DEFAULT NULL,
  `JobNo` varchar(250) DEFAULT NULL,
  `Note` text DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

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

--
-- Table structure for table `app_inv_store_requisition_detail`
--

CREATE TABLE `app_inv_store_requisition_detail` (
  `Id` bigint(20) NOT NULL,
  `StoreRequisitionId` bigint(20) DEFAULT NULL,
  `ItemId` int(11) DEFAULT NULL,
  `ItemName` varchar(250) DEFAULT NULL,
  `Quantity` decimal(18,2) DEFAULT NULL,
  `SalePrice` decimal(18,2) DEFAULT NULL,
  `TaxValue` decimal(18,2) DEFAULT NULL,
  `TaxRate` decimal(18,2) DEFAULT NULL,
  `PurchasePrice` decimal(18,2) DEFAULT NULL,
  `BrandId` int(11) DEFAULT NULL,
  `BrnadName` varchar(250) DEFAULT NULL,
  `CategoryId` int(11) DEFAULT NULL,
  `CategoryName` varchar(250) DEFAULT NULL,
  `ItemTypeId` int(11) DEFAULT NULL,
  `ItemTypeName` varchar(250) DEFAULT NULL,
  `UnitId` int(11) DEFAULT NULL,
  `UnitName` varchar(250) DEFAULT NULL,
  `DiscountId` int(11) DEFAULT NULL,
  `DiscountType` varchar(250) DEFAULT NULL,
  `DiscountValue` decimal(18,2) DEFAULT NULL,
  `DiscPerFlat` decimal(18,2) DEFAULT NULL,
  `TotalAmount` decimal(18,2) DEFAULT NULL,
  `NetAmount` decimal(18,2) DEFAULT NULL,
  `Status` smallint(6) DEFAULT NULL,
  `CreatedBy` int(11) DEFAULT NULL,
  `CreatedDate` datetime DEFAULT NULL,
  `ModifiedBy` int(11) DEFAULT NULL,
  `ModifiedDate` datetime DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

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

--
-- Table structure for table `app_inv_vendor`
--

CREATE TABLE `app_inv_vendor` (
  `Id` int(11) NOT NULL,
  `Code` varchar(255) DEFAULT NULL,
  `Name` varchar(255) DEFAULT NULL,
  `Description` text DEFAULT NULL,
  `PhoneNo` varchar(255) DEFAULT NULL,
  `MobileNo` varchar(255) DEFAULT NULL,
  `EmailAddress` varchar(255) DEFAULT NULL,
  `Address` text DEFAULT NULL,
  `OpeningBalance` double DEFAULT NULL,
  `Status` int(11) DEFAULT NULL,
  `CreatedBy` int(11) DEFAULT NULL,
  `CreatedDate` datetime DEFAULT NULL,
  `ModifiedBy` int(11) DEFAULT NULL,
  `ModifiedDate` datetime DEFAULT NULL,
  `ChartOfAccountId` int(11) DEFAULT NULL,
  `BranchId` int(11) DEFAULT NULL,
  `Picture` text DEFAULT NULL,
  `ContactPerson` varchar(255) DEFAULT NULL,
  `SaleTaxRegNo` varchar(255) DEFAULT NULL,
  `NTNNo` varchar(255) DEFAULT NULL,
  `CNIC` varchar(255) DEFAULT NULL,
  `TaxStatus` int(11) DEFAULT NULL,
  `NameUr` varchar(255) DEFAULT NULL,
  `Currency` varchar(45) DEFAULT NULL,
  `CountryId` int(11) DEFAULT NULL,
  `PeymentTermId` int(11) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `app_inv_vendor`
--

INSERT INTO `app_inv_vendor` (`Id`, `Code`, `Name`, `Description`, `PhoneNo`, `MobileNo`, `EmailAddress`, `Address`, `OpeningBalance`, `Status`, `CreatedBy`, `CreatedDate`, `ModifiedBy`, `ModifiedDate`, `ChartOfAccountId`, `BranchId`, `Picture`, `ContactPerson`, `SaleTaxRegNo`, `NTNNo`, `CNIC`, `TaxStatus`, `NameUr`, `Currency`, `CountryId`, `PeymentTermId`) VALUES
(1, 'J001', 'SHAFIQ AUTOMOTIVE IND PVT LTD.', 'testupdate', '+924236522842', NULL, 'info@supermaxfilters.com', 'Tezghar Road,\r\nYadgar-E-Shudada\r\nG.T. Road Lahore-Pakistan.', 0, 1, 1, '2024-10-17 07:27:43', NULL, NULL, 2, NULL, 'vendorimage/320240626140323logo.png', NULL, NULL, NULL, NULL, 1, NULL, NULL, NULL, NULL),
(2, 'VC-0000002', 'AHMED AL HARIRI AUTO SPARE PARTS LLC', NULL, '000000', '00000', 'AHMAD', 'DUBAI', 80000, 1, 1, '2024-12-04 11:41:04', NULL, NULL, 47, NULL, '', 'IMDAD', '5', '1556545465654654545454', NULL, 1, NULL, 'AED', 224, 2),
(3, 'VC-0000003', 'testupdate', 'gfdg', 'adf', '53454', 'ema', 'dafg', 5000, 1, 1, '2024-12-04 11:40:20', NULL, NULL, 47, NULL, '', NULL, NULL, NULL, NULL, 0, NULL, NULL, NULL, 1),
(4, 'VC-0000004', 'test', NULL, 'sdf', 'sdf', 'nab@gmail.com', 'dsf', 4545, 1, 1, '2024-11-27 09:45:25', NULL, NULL, 48, NULL, '', 'sdf', '445', 'fdsfds', NULL, 0, NULL, 'ALL', 1, 1);

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

--
-- Table structure for table `app_inv_vendor_payment`
--

CREATE TABLE `app_inv_vendor_payment` (
  `Id` int(11) NOT NULL,
  `PurchaseOrderId` int(11) DEFAULT NULL,
  `VendorId` int(11) DEFAULT NULL,
  `PaymentTypeId` int(11) DEFAULT NULL,
  `BankId` int(11) DEFAULT NULL,
  `BankBranch` varchar(255) DEFAULT NULL,
  `ChkNo` varchar(255) DEFAULT NULL,
  `ChkDate` date DEFAULT NULL,
  `ChkCashDate` date DEFAULT NULL,
  `PaymentDate` date DEFAULT NULL,
  `Amount` double DEFAULT NULL,
  `PaymentNote` text DEFAULT NULL,
  `Status` int(11) DEFAULT NULL,
  `CreatedDate` datetime DEFAULT NULL,
  `CreatedBy` int(11) DEFAULT NULL,
  `ModifiedDate` datetime DEFAULT NULL,
  `ModifiedBy` int(11) DEFAULT NULL,
  `BranchId` int(11) DEFAULT NULL,
  `BankBranchId` int(11) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `app_inv_vendor_payment`
--

INSERT INTO `app_inv_vendor_payment` (`Id`, `PurchaseOrderId`, `VendorId`, `PaymentTypeId`, `BankId`, `BankBranch`, `ChkNo`, `ChkDate`, `ChkCashDate`, `PaymentDate`, `Amount`, `PaymentNote`, `Status`, `CreatedDate`, `CreatedBy`, `ModifiedDate`, `ModifiedBy`, `BranchId`, `BankBranchId`) VALUES
(1, 0, 1, 6, -1, NULL, NULL, NULL, NULL, '2024-12-09', 19999, NULL, 1, '2024-12-09 12:13:45', 1, NULL, NULL, 1, -1);

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

--
-- Table structure for table `app_payroll_allowance`
--

CREATE TABLE `app_payroll_allowance` (
  `Id` bigint(20) NOT NULL,
  `AllowanceName` varchar(1000) DEFAULT NULL,
  `Description` text DEFAULT NULL,
  `Status` smallint(6) DEFAULT 1,
  `CreatedDate` datetime DEFAULT NULL,
  `AllowanceCode` varchar(50) DEFAULT NULL,
  `CreatedBy` int(11) DEFAULT NULL,
  `ModifiedBy` int(11) DEFAULT NULL,
  `ModifiedDate` datetime DEFAULT NULL,
  `BranchId` int(11) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

--
-- Dumping data for table `app_payroll_allowance`
--

INSERT INTO `app_payroll_allowance` (`Id`, `AllowanceName`, `Description`, `Status`, `CreatedDate`, `AllowanceCode`, `CreatedBy`, `ModifiedBy`, `ModifiedDate`, `BranchId`) VALUES
(1, 'ddg', 'dfgfdg', 1, '2024-12-27 12:03:46', 'AC-0000001', 1, NULL, NULL, 1);

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

--
-- Table structure for table `app_payroll_deduction`
--

CREATE TABLE `app_payroll_deduction` (
  `Id` bigint(20) NOT NULL,
  `DeductionName` varchar(1000) DEFAULT NULL,
  `Description` text DEFAULT NULL,
  `Status` smallint(6) DEFAULT 1,
  `CreatedDate` datetime DEFAULT NULL,
  `DeductionCode` varchar(50) DEFAULT NULL,
  `CreatedBy` int(11) DEFAULT NULL,
  `ModifiedBy` int(11) DEFAULT NULL,
  `ModifiedDate` datetime DEFAULT NULL,
  `BranchId` int(11) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

--
-- Dumping data for table `app_payroll_deduction`
--

INSERT INTO `app_payroll_deduction` (`Id`, `DeductionName`, `Description`, `Status`, `CreatedDate`, `DeductionCode`, `CreatedBy`, `ModifiedBy`, `ModifiedDate`, `BranchId`) VALUES
(1, 'Loan', NULL, 1, '2024-12-31 10:40:17', 'DC-0000001', 1, NULL, NULL, 1);

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

--
-- Table structure for table `app_payroll_employee_allowance`
--

CREATE TABLE `app_payroll_employee_allowance` (
  `Id` bigint(20) NOT NULL,
  `EmployeeId` int(11) DEFAULT NULL,
  `AllowanceId` int(11) DEFAULT NULL,
  `AllowanceAmount` decimal(18,2) DEFAULT NULL,
  `BranchId` int(11) DEFAULT NULL,
  `Status` smallint(6) DEFAULT NULL,
  `CreatedDate` datetime DEFAULT NULL,
  `CreatedBy` int(11) DEFAULT NULL,
  `ModifiedDate` datetime DEFAULT NULL,
  `ModifiedBy` int(11) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

--
-- Dumping data for table `app_payroll_employee_allowance`
--

INSERT INTO `app_payroll_employee_allowance` (`Id`, `EmployeeId`, `AllowanceId`, `AllowanceAmount`, `BranchId`, `Status`, `CreatedDate`, `CreatedBy`, `ModifiedDate`, `ModifiedBy`) VALUES
(1, 4, 1, 500.00, 1, 1, '2024-12-31 10:41:07', 1, NULL, NULL);

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

--
-- Table structure for table `app_payroll_employee_deduction`
--

CREATE TABLE `app_payroll_employee_deduction` (
  `Id` int(11) NOT NULL,
  `EmployeeId` int(11) DEFAULT NULL,
  `DeductionId` int(11) DEFAULT NULL,
  `DeductionAmount` decimal(18,2) DEFAULT NULL,
  `BranchId` int(11) DEFAULT NULL,
  `Status` smallint(6) DEFAULT NULL,
  `CreatedDate` datetime DEFAULT NULL,
  `CreatedBy` int(11) DEFAULT NULL,
  `ModifiedDate` datetime DEFAULT NULL,
  `ModifiedBy` int(11) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

--
-- Dumping data for table `app_payroll_employee_deduction`
--

INSERT INTO `app_payroll_employee_deduction` (`Id`, `EmployeeId`, `DeductionId`, `DeductionAmount`, `BranchId`, `Status`, `CreatedDate`, `CreatedBy`, `ModifiedDate`, `ModifiedBy`) VALUES
(1, 3, 1, 500.00, 1, 1, '2024-12-31 10:40:33', 1, NULL, NULL);

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

--
-- Table structure for table `app_payroll_emplpyee_advance_salary`
--

CREATE TABLE `app_payroll_emplpyee_advance_salary` (
  `Id` int(11) NOT NULL,
  `EmployeeId` int(11) DEFAULT NULL,
  `PaymentDate` datetime DEFAULT NULL,
  `Amount` decimal(10,4) DEFAULT NULL,
  `Status` int(11) DEFAULT NULL,
  `CreatedBy` int(11) DEFAULT NULL,
  `CreatedDate` datetime DEFAULT NULL,
  `ModifiedBy` int(11) DEFAULT NULL,
  `ModifiedDate` datetime DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

--
-- Dumping data for table `app_payroll_emplpyee_advance_salary`
--

INSERT INTO `app_payroll_emplpyee_advance_salary` (`Id`, `EmployeeId`, `PaymentDate`, `Amount`, `Status`, `CreatedBy`, `CreatedDate`, `ModifiedBy`, `ModifiedDate`) VALUES
(1, 4, '2024-12-11 00:00:00', 1000.0000, 1, 1, '2024-12-09 11:49:44', NULL, NULL);

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

--
-- Table structure for table `app_payroll_emplpyee_weekly_salary_payment`
--

CREATE TABLE `app_payroll_emplpyee_weekly_salary_payment` (
  `Id` int(11) NOT NULL,
  `EmployeeId` int(11) DEFAULT NULL,
  `PaymentDate` datetime DEFAULT NULL,
  `PayableAmount` decimal(18,4) DEFAULT NULL,
  `Deduction` decimal(18,4) DEFAULT NULL,
  `PayAmount` decimal(18,4) DEFAULT NULL,
  `Status` int(11) DEFAULT NULL,
  `CreatedBy` int(11) DEFAULT NULL,
  `CreatedDate` datetime DEFAULT NULL,
  `ModifiedBy` int(11) DEFAULT NULL,
  `ModifiedDate` datetime DEFAULT NULL,
  `Advance` decimal(18,4) DEFAULT NULL,
  `LoanDeduction` decimal(18,4) DEFAULT NULL,
  `ExtraPay` decimal(18,4) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

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

--
-- Table structure for table `app_payroll_emplpyee_weekly_salary_payment_detail`
--

CREATE TABLE `app_payroll_emplpyee_weekly_salary_payment_detail` (
  `Id` int(11) NOT NULL,
  `WeeklyPaymentId` int(11) DEFAULT NULL,
  `ProductId` int(11) DEFAULT NULL,
  `Rate` decimal(18,4) DEFAULT NULL,
  `Quantity` decimal(18,4) DEFAULT NULL,
  `NetAmount` decimal(10,4) DEFAULT NULL,
  `Status` int(11) DEFAULT NULL,
  `CreatedBy` int(11) DEFAULT NULL,
  `CreatedDate` datetime DEFAULT NULL,
  `ModifiedBy` int(11) DEFAULT NULL,
  `ModifiedDate` datetime DEFAULT NULL,
  `Bundle` int(11) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

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

--
-- Table structure for table `app_pointofsale_customer_payment`
--

CREATE TABLE `app_pointofsale_customer_payment` (
  `Id` bigint(20) NOT NULL,
  `CustomerInvoiceId` bigint(20) DEFAULT NULL,
  `CustomerId` int(11) DEFAULT NULL,
  `PaymentTypeId` int(11) DEFAULT NULL,
  `BankId` int(11) DEFAULT NULL,
  `BankBranch` varchar(1000) DEFAULT NULL,
  `ChkNo` varchar(1000) DEFAULT NULL,
  `ChkDate` date DEFAULT NULL,
  `ChkCashDate` date DEFAULT NULL,
  `PaymentDate` date DEFAULT NULL,
  `Amount` decimal(10,0) DEFAULT NULL,
  `PaymentNote` text DEFAULT NULL,
  `Status` int(11) DEFAULT NULL,
  `CreatedDate` date DEFAULT NULL,
  `CreatedBy` int(11) DEFAULT NULL,
  `ModifiedDate` date DEFAULT NULL,
  `ModifiedBy` int(11) DEFAULT NULL,
  `BranchId` int(11) DEFAULT NULL,
  `BankBranchId` int(11) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `app_pointofsale_customer_payment`
--

INSERT INTO `app_pointofsale_customer_payment` (`Id`, `CustomerInvoiceId`, `CustomerId`, `PaymentTypeId`, `BankId`, `BankBranch`, `ChkNo`, `ChkDate`, `ChkCashDate`, `PaymentDate`, `Amount`, `PaymentNote`, `Status`, `CreatedDate`, `CreatedBy`, `ModifiedDate`, `ModifiedBy`, `BranchId`, `BankBranchId`) VALUES
(1, 40, 1, 4, 1, 'fgdupdate', '454', '2024-04-09', '2024-04-10', '2024-04-10', 5000, 'noteupdate', 1, '2024-04-08', 1, '2024-04-09', 1, 1, NULL),
(2, -1, 4, 2, 1, NULL, '54645', '2024-12-05', '2024-12-06', '2024-12-05', 1000, NULL, 1, '2024-12-05', 1, NULL, NULL, 1, 1),
(3, -1, 4, 2, 1, NULL, NULL, '2024-12-05', '2024-12-05', '2024-12-05', 20000, NULL, 1, '2024-12-05', 1, NULL, NULL, 1, 1),
(4, -1, 4, 4, 1, NULL, '6786576', '2024-12-01', '2024-12-30', '2024-12-30', 5000, NULL, 1, '2024-12-31', 1, NULL, NULL, 1, 1),
(5, -1, 6, 4, 1, NULL, '87987987', '2024-12-28', '2024-12-28', '2024-12-25', 60000, NULL, 1, '2024-12-31', 1, NULL, NULL, 1, 1);

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

--
-- Table structure for table `app_pointofsale_sale_order`
--

CREATE TABLE `app_pointofsale_sale_order` (
  `Id` bigint(20) NOT NULL,
  `OrderDate` datetime DEFAULT NULL,
  `CustomerId` int(11) DEFAULT NULL,
  `EmployeeId` int(11) DEFAULT NULL,
  `BillNo` varchar(255) DEFAULT NULL,
  `OrderTotal` decimal(10,0) DEFAULT NULL,
  `DiscountTotal` decimal(10,0) DEFAULT NULL,
  `SaleTax` decimal(10,0) DEFAULT NULL,
  `NetAmount` decimal(10,0) DEFAULT NULL,
  `DiscountId` int(11) DEFAULT NULL,
  `BranchId` int(11) DEFAULT NULL,
  `FinancialYearId` int(11) DEFAULT NULL,
  `PointAwarded` decimal(10,0) DEFAULT NULL,
  `RedeemPoint` decimal(10,0) DEFAULT NULL,
  `RedeemAmount` decimal(10,0) DEFAULT NULL,
  `PyamentTypeId` int(11) DEFAULT NULL,
  `PaymentAmount` decimal(10,0) DEFAULT NULL,
  `Balance` decimal(10,0) DEFAULT NULL,
  `RetailWholeSale` varchar(255) DEFAULT NULL,
  `Commission` decimal(10,0) DEFAULT NULL,
  `CommissionValue` decimal(10,0) DEFAULT NULL,
  `SyncStatus` int(11) DEFAULT NULL,
  `RefundInvoiceId` bigint(20) DEFAULT NULL,
  `ReturnInvoiceId` bigint(20) DEFAULT NULL,
  `CustomerTypeId` int(11) DEFAULT NULL,
  `CustomerName` varchar(255) DEFAULT NULL,
  `Note` text DEFAULT NULL,
  `SaleTaxInvStatus` int(11) DEFAULT NULL,
  `FBRInvoiceNumber` varchar(255) DEFAULT NULL,
  `CustomerMobileNumber` varchar(255) DEFAULT NULL,
  `OrderTypeId` int(11) DEFAULT NULL,
  `TableId` int(11) DEFAULT NULL,
  `Status` int(11) DEFAULT NULL,
  `CreatedDate` datetime DEFAULT NULL,
  `CreatedBy` int(11) DEFAULT NULL,
  `ModifiedDate` datetime DEFAULT NULL,
  `ModifiedBy` int(11) DEFAULT NULL,
  `TotalQty` decimal(10,0) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `app_pointofsale_sale_order`
--

INSERT INTO `app_pointofsale_sale_order` (`Id`, `OrderDate`, `CustomerId`, `EmployeeId`, `BillNo`, `OrderTotal`, `DiscountTotal`, `SaleTax`, `NetAmount`, `DiscountId`, `BranchId`, `FinancialYearId`, `PointAwarded`, `RedeemPoint`, `RedeemAmount`, `PyamentTypeId`, `PaymentAmount`, `Balance`, `RetailWholeSale`, `Commission`, `CommissionValue`, `SyncStatus`, `RefundInvoiceId`, `ReturnInvoiceId`, `CustomerTypeId`, `CustomerName`, `Note`, `SaleTaxInvStatus`, `FBRInvoiceNumber`, `CustomerMobileNumber`, `OrderTypeId`, `TableId`, `Status`, `CreatedDate`, `CreatedBy`, `ModifiedDate`, `ModifiedBy`, `TotalQty`) VALUES
(17, '2024-03-28 00:00:00', -1, -1, '', 714, 0, 0, 714, 0, 0, 0, 0, 0, 0, 0, 800, -86, '0', 0, 0, 0, 0, 0, 0, '', NULL, 0, '', '', 1, 0, 1, '2024-03-28 11:27:00', 0, NULL, NULL, NULL),
(18, '2024-03-28 00:00:00', -1, -1, '', 738, 0, 0, 738, 0, 0, 0, 0, 0, 0, 0, 800, -62, '0', 0, 0, 0, 0, 0, 0, '', NULL, 0, '', '', 1, 0, 1, '2024-03-28 11:28:06', 0, NULL, NULL, NULL),
(19, '2024-03-29 00:00:00', -1, -1, '', 714, 0, 0, 714, 0, 0, 0, 0, 0, 0, 0, 800, -86, '0', 0, 0, 0, 0, 0, 0, '', NULL, 0, '', '', 1, 0, 1, '2024-03-29 09:32:23', 0, NULL, NULL, NULL),
(20, '2024-03-29 00:00:00', -1, -1, '', 714, 0, 0, 714, 0, 0, 0, 0, 0, 0, 0, 800, -86, '0', 0, 0, 0, 0, 0, 0, '', NULL, 0, '', '', 1, 0, 1, '2024-03-29 09:40:45', 0, NULL, NULL, NULL),
(21, '2024-03-29 00:00:00', -1, -1, '', 1054, 0, 450, 1504, 0, 0, 0, 0, 0, 0, 0, 1600, -96, '0', 0, 0, 0, 0, 0, 0, '', NULL, 0, '', '', 1, 0, 1, '2024-03-29 10:51:50', 0, NULL, NULL, NULL),
(22, '2024-03-31 00:00:00', -1, -1, '', 1059, 0, 0, 1059, 0, 0, 0, 0, 0, 0, 0, 1100, -41, '0', 0, 0, 0, 0, 0, 0, '', NULL, 0, '', '', 1, 0, 1, '2024-03-31 10:02:13', 0, NULL, NULL, NULL),
(23, '2024-03-31 00:00:00', -1, -1, '', 1059, 0, 0, 1059, 0, 0, 0, 0, 0, 0, 0, 1200, -141, '0', 0, 0, 0, 0, 0, 0, '', NULL, 0, '', '', 1, 0, 1, '2024-03-31 10:06:59', 0, NULL, NULL, NULL),
(24, '2024-03-31 00:00:00', -1, -1, '', 714, 0, 0, 714, 0, 0, 0, 0, 0, 0, 0, 800, -86, '0', 0, 0, 0, 0, 0, 0, '', NULL, 0, '', '', 1, 0, 1, '2024-03-31 10:15:45', 0, NULL, NULL, NULL),
(25, '2024-03-31 00:00:00', -1, -1, '', 1054, 0, 450, 1504, 0, 0, 0, 0, 0, 0, 0, 1600, -96, '0', 0, 0, 0, 0, 0, 0, '', NULL, 0, '', '', 1, 0, 1, '2024-03-31 12:07:54', 0, NULL, NULL, NULL),
(26, '2024-03-31 00:00:00', -1, -1, '', 1078, 0, 450, 1528, 0, NULL, 0, 0, 0, 0, 1, 1600, -72, '0', 0, 0, 0, 0, 0, 1, '', NULL, 0, '', '', 1, 0, 1, '2024-03-31 16:40:03', 0, NULL, NULL, NULL),
(27, '2024-03-31 00:00:00', 1, -1, '', 369, 0, 0, 369, 0, NULL, 0, 0, 0, 0, 4, NULL, NULL, '0', 0, 0, 0, 0, 0, 2, '', NULL, 0, '', '', 1, 0, 1, '2024-03-31 17:02:30', 0, NULL, NULL, NULL),
(28, '2024-03-31 00:00:00', 1, -1, '', 738, 0, 0, 738, 0, NULL, 0, 0, 0, 0, 4, 0, 0, '0', 0, 0, 0, 0, 0, 2, '', NULL, 0, '', '', 1, 0, 1, '2024-03-31 17:02:41', 0, NULL, NULL, NULL),
(29, '2024-03-31 00:00:00', 1, -1, '', 0, 0, 0, 0, 0, NULL, 0, 0, 0, 0, 4, 0, 0, '0', 0, 0, 0, 0, 0, 2, '', NULL, 0, '', '', 1, 0, 1, '2024-03-31 17:02:49', 0, NULL, NULL, NULL),
(30, '2024-03-31 00:00:00', -1, -1, '', 714, 0, 0, 714, 0, NULL, 0, 0, 0, 0, 1, NULL, NULL, '0', 0, 0, 0, 0, 0, 1, '', NULL, 0, '', '', 1, 0, 1, '2024-03-31 17:07:38', 0, NULL, NULL, NULL),
(31, '2024-03-31 00:00:00', -1, -1, '', 714, 0, 0, 714, 0, NULL, 0, 0, 0, 0, 1, NULL, NULL, '0', 0, 0, 0, 0, 0, 1, '', NULL, 0, '', '', 1, 0, 1, '2024-03-31 17:08:32', 0, NULL, NULL, NULL),
(32, '2024-03-31 00:00:00', -1, -1, '', 714, 0, 0, 714, 0, NULL, 0, 0, 0, 0, 1, 0, NULL, '0', 0, 0, 0, 0, 0, 1, '', NULL, 0, '', '', 1, 0, 1, '2024-03-31 17:09:24', 0, NULL, NULL, NULL),
(33, '2024-03-31 00:00:00', -1, -1, '', 714, 0, 0, 714, 0, NULL, 0, 0, 0, 0, 1, 0, NULL, '0', 0, 0, 0, 0, 0, 1, '', NULL, 0, '', '', 1, 0, 1, '2024-03-31 17:10:00', 0, NULL, NULL, NULL),
(34, '2024-03-31 00:00:00', -1, -1, '', 714, 0, 0, 714, 0, NULL, 0, 0, 0, 0, 1, 750, -36, '0', 0, 0, 0, 0, 0, 1, '', NULL, 0, '', '', 1, 0, 1, '2024-03-31 17:10:52', 0, NULL, NULL, NULL),
(35, '2024-03-31 00:00:00', -1, -1, '', 369, 0, 0, 369, 0, NULL, 0, 0, 0, 0, 1, 400, -31, '0', 0, 0, 0, 0, 0, 1, '', NULL, 0, '', '', 1, 0, 1, '2024-03-31 17:18:19', 0, NULL, NULL, NULL),
(36, '2024-03-31 00:00:00', -1, -1, '', 1059, 0, 0, 1059, 0, NULL, 0, 0, 0, 0, 1, 1200, -141, '0', 0, 0, 0, 0, 0, 1, '', NULL, 0, '', '', 1, 0, 1, '2024-03-31 17:21:49', 0, NULL, NULL, NULL),
(37, '2024-03-31 00:00:00', -1, -1, '20240331', 714, 0, 0, 714, 0, NULL, 0, 0, 0, 0, 1, 800, -86, 'Retail', 0, 0, 0, 0, 0, 1, '', 'fg', 0, '', '', 1, 0, 1, '2024-03-31 17:50:26', 0, NULL, NULL, NULL),
(38, '2024-03-31 00:00:00', -1, -1, '2024033137', 738, 0, 0, 738, 0, NULL, 0, 0, 0, 0, 1, 800, -62, 'Retail', 0, 0, 0, 0, 0, 1, '', NULL, 0, '', '', 1, 0, 1, '2024-03-31 17:55:05', 0, NULL, NULL, NULL),
(39, '2024-03-31 00:00:00', -1, -1, '2024033139', 738, 0, 0, 738, 0, NULL, 0, 0, 0, 0, 1, 800, -62, 'Retail', 0, 0, 0, 0, 0, 1, '', NULL, 0, '', '', 1, 0, 1, '2024-03-31 17:55:30', 0, NULL, NULL, NULL),
(40, '2024-03-31 00:00:00', 1, -1, '2024033140', 369, 0, 0, 369, 0, NULL, 0, 0, 0, 0, 4, 400, -31, 'WholeSale', 0, 0, 0, 0, 0, 2, '', NULL, 0, '', '', 1, 0, 1, '2024-03-31 17:56:06', 0, NULL, NULL, NULL),
(41, '2024-05-05 00:00:00', 1, 3, '2024050541', 225000, 0, 0, 225000, 0, 1, 0, 0, 0, 0, 1, 300000, -75000, 'WholeSale', 0, 0, 0, 0, 0, 2, '', NULL, 0, '', '', 1, 0, 1, '2024-05-05 14:27:27', 0, NULL, NULL, NULL),
(42, '2024-06-06 00:00:00', -1, -1, '2024060642', 225000, 0, 0, 225000, 0, 1, 0, 0, 0, 0, 1, 300000, -75000, 'Retail', 0, 0, 0, 0, 0, 1, '', NULL, 0, '', '', 1, 0, 1, '2024-06-06 10:05:12', 0, NULL, NULL, NULL),
(43, '2024-06-06 00:00:00', -1, -1, '2024060643', 170000, 0, 0, 170000, 0, 1, 0, 0, 0, 0, 1, 200000, -30000, 'Retail', 0, 0, 0, 0, 0, 1, '', NULL, 0, '', '', 1, 0, 1, '2024-06-06 10:54:06', 0, NULL, NULL, NULL),
(44, '2024-06-12 00:00:00', -1, -1, '2024061344', 170000, 0, 0, 170000, 0, 1, 0, 0, 0, 0, 1, 200000, -30000, 'Retail', 0, 0, 0, 0, 0, 1, '', NULL, 0, '', '', 1, 0, 1, '2024-06-13 06:44:26', 0, NULL, NULL, NULL),
(45, '2024-06-27 00:00:00', 1, -1, '2024062745', 335, 0, 17, 352, 0, 1, 0, 0, 0, 0, 1, 400, -48, 'WholeSale', 0, 0, 0, 0, 0, 2, '', NULL, 0, '', '', 1, 0, 1, '2024-06-27 10:12:54', 0, NULL, NULL, NULL),
(46, '2024-06-27 00:00:00', -1, -1, '2024062746', 201, 0, 10, 211, 0, 1, 0, 0, 0, 0, 1, 1000, -789, 'Retail', 0, 0, 0, 0, 0, 1, '', NULL, 0, '', '', 1, 0, 1, '2024-06-27 10:16:26', 0, NULL, NULL, NULL),
(47, '2024-06-27 00:00:00', 4, 3, '2024062747', 715, 0, 36, 751, 0, 1, 0, 0, 0, 0, 3, 1000, -249, 'WholeSale', 0, 0, 0, 0, 0, 2, '', NULL, 0, '', '', 1, 0, 1, '2024-06-27 16:33:18', 0, NULL, NULL, NULL),
(48, '2024-07-03 00:00:00', -1, -1, '2024070348', 10, 0, 0, 10, 0, 1, 0, 0, 0, 0, 1, 10, 0, 'Retail', 0, 0, 0, 0, 0, 1, '', NULL, 0, '', '', 4, 0, 1, '2024-07-03 10:09:26', 0, NULL, NULL, NULL),
(49, '2024-07-03 00:00:00', 4, 4, '2024070349', 12, 0, 1, 13, 0, 1, 0, 0, 0, 0, 1, 13, 0, 'WholeSale', 0, 0, 0, 0, 0, 2, '', NULL, 0, '', '', 4, 0, 1, '2024-07-03 16:40:28', 0, NULL, NULL, NULL);

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

--
-- Table structure for table `app_pointofsale_sale_order_detail`
--

CREATE TABLE `app_pointofsale_sale_order_detail` (
  `Id` bigint(20) NOT NULL,
  `SaleOrderId` bigint(20) DEFAULT NULL,
  `ProductId` int(11) DEFAULT NULL,
  `UnitId` int(11) DEFAULT NULL,
  `SalePrice` decimal(10,0) DEFAULT NULL,
  `PurchasePrice` decimal(10,0) DEFAULT NULL,
  `SalePriceSale` decimal(10,0) DEFAULT NULL,
  `Quantity` decimal(10,0) DEFAULT NULL,
  `SubTotal` decimal(10,0) DEFAULT NULL,
  `DiscountAmount` decimal(10,0) DEFAULT NULL,
  `TaxAmount` decimal(10,0) DEFAULT NULL,
  `TotalAmount` decimal(10,0) DEFAULT NULL,
  `DiscountPer` varchar(255) DEFAULT NULL,
  `DiscountValue` decimal(10,0) DEFAULT NULL,
  `CategoryId` int(11) DEFAULT NULL,
  `SubCategoryId` int(11) DEFAULT NULL,
  `ChildCategoryId` int(11) DEFAULT NULL,
  `BrandId` int(11) DEFAULT NULL,
  `PointAward` decimal(10,0) DEFAULT NULL,
  `PointRedeem` decimal(10,0) DEFAULT NULL,
  `EmployeeId` int(11) DEFAULT NULL,
  `Commission` decimal(10,0) DEFAULT NULL,
  `CommissionValue` decimal(10,0) DEFAULT NULL,
  `ProjectId` int(11) DEFAULT NULL,
  `PricePerUnit` decimal(10,0) DEFAULT NULL,
  `QtyPerUnit` decimal(10,0) DEFAULT NULL,
  `Status` int(11) DEFAULT NULL,
  `CreatedDate` datetime DEFAULT NULL,
  `CreatedBy` int(11) DEFAULT NULL,
  `ModifiedDate` datetime DEFAULT NULL,
  `ModifiedBy` int(11) DEFAULT NULL,
  `SyncStatus` int(11) DEFAULT NULL,
  `AssortmentId` int(11) DEFAULT NULL,
  `SizeValue` varchar(255) DEFAULT NULL,
  `SizeRange` varchar(255) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `app_pointofsale_sale_order_detail`
--

INSERT INTO `app_pointofsale_sale_order_detail` (`Id`, `SaleOrderId`, `ProductId`, `UnitId`, `SalePrice`, `PurchasePrice`, `SalePriceSale`, `Quantity`, `SubTotal`, `DiscountAmount`, `TaxAmount`, `TotalAmount`, `DiscountPer`, `DiscountValue`, `CategoryId`, `SubCategoryId`, `ChildCategoryId`, `BrandId`, `PointAward`, `PointRedeem`, `EmployeeId`, `Commission`, `CommissionValue`, `ProjectId`, `PricePerUnit`, `QtyPerUnit`, `Status`, `CreatedDate`, `CreatedBy`, `ModifiedDate`, `ModifiedBy`, `SyncStatus`, `AssortmentId`, `SizeValue`, `SizeRange`) VALUES
(73, 41, 20, 0, 170000, 0, 170000, 1, 170000, 0, 0, 170000, '0', 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, '2024-05-05 14:27:27', 0, NULL, NULL, 0, 1, '', ''),
(74, 41, 21, 0, 55000, 0, 55000, 1, 55000, 0, 0, 55000, '0', 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, '2024-05-05 14:27:27', 0, NULL, NULL, 0, 1, '', ''),
(75, 42, 20, 0, 170000, 0, 170000, 1, 170000, 0, 0, 170000, '0', 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, '2024-06-06 10:05:12', 0, NULL, NULL, 0, 1, '', ''),
(76, 42, 21, 0, 55000, 0, 55000, 1, 55000, 0, 0, 55000, '0', 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, '2024-06-06 10:05:12', 0, NULL, NULL, 0, 1, '', ''),
(77, 43, 20, 0, 170000, 0, 170000, 1, 170000, 0, 0, 170000, '0', 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, '2024-06-06 10:54:06', 0, NULL, NULL, 0, 1, '', ''),
(78, 44, 20, 0, 170000, 0, 170000, 1, 170000, 0, 0, 170000, '0', 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, '2024-06-13 06:44:26', 0, NULL, NULL, 0, 1, '', ''),
(79, 45, 1, 0, 67, 0, 67, 5, 335, 0, 17, 352, '0', 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, '2024-06-27 10:12:54', 0, NULL, NULL, 0, 1, '', ''),
(80, 46, 1, 0, 67, 0, 67, 3, 201, 0, 10, 211, '0', 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, '2024-06-27 10:16:26', 0, NULL, NULL, 0, 1, '', ''),
(81, 47, 11, 0, 5, 0, 5, 50, 250, 0, 13, 263, '0', 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, '2024-06-27 16:33:18', 0, NULL, NULL, 0, 1, '', ''),
(82, 47, 11, 0, 5, 0, 5, 40, 200, 0, 10, 210, '0', 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, '2024-06-27 16:33:18', 0, NULL, NULL, 0, 1, '', ''),
(83, 47, 14, 0, 5, 0, 5, 40, 200, 0, 10, 210, '0', 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, '2024-06-27 16:33:18', 0, NULL, NULL, 0, 1, '', ''),
(84, 47, 14, 0, 5, 0, 5, 13, 65, 0, 3, 68, '0', 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, '2024-06-27 16:33:18', 0, NULL, NULL, 0, 1, '', ''),
(85, 48, 4, 0, 4, 0, 4, 1, 4, 0, 0, 4, '0', 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, '2024-07-03 10:09:26', 0, NULL, NULL, 0, 1, '', ''),
(86, 48, 7, 0, 6, 0, 6, 1, 6, 0, 0, 6, '0', 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, '2024-07-03 10:09:26', 0, NULL, NULL, 0, 1, '', ''),
(87, 49, 6, 0, 6, 0, 6, 1, 6, 0, 0, 6, '0', 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, '2024-07-03 16:40:28', 0, NULL, NULL, 0, 1, '', ''),
(88, 49, 6, 0, 6, 0, 6, 1, 6, 0, 0, 6, '0', 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, '2024-07-03 16:40:28', 0, NULL, NULL, 0, 1, '', '');

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

--
-- Table structure for table `app_pointofsale_store_expense`
--

CREATE TABLE `app_pointofsale_store_expense` (
  `Id` int(11) NOT NULL,
  `Code` varchar(255) DEFAULT NULL,
  `Name` varchar(255) DEFAULT NULL,
  `Description` text DEFAULT NULL,
  `Status` int(11) DEFAULT NULL,
  `CreatedBy` int(11) DEFAULT NULL,
  `CreatedDate` datetime DEFAULT NULL,
  `ModifiedBy` int(11) DEFAULT NULL,
  `ModifiedDate` datetime DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `app_pointofsale_store_expense`
--

INSERT INTO `app_pointofsale_store_expense` (`Id`, `Code`, `Name`, `Description`, `Status`, `CreatedBy`, `CreatedDate`, `ModifiedBy`, `ModifiedDate`) VALUES
(1, '01', 'Fuel', 'Fuel', 1, 1, '2024-03-31 22:11:03', NULL, NULL),
(2, '45', 'updare', 'fghf', 1, 1, '2024-04-02 11:30:31', 1, '2024-04-06 07:48:10'),
(3, '03', 'Salary', NULL, 1, 1, '2024-12-03 06:21:03', NULL, NULL);

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

--
-- Table structure for table `app_pos_branch`
--

CREATE TABLE `app_pos_branch` (
  `Id` int(11) NOT NULL,
  `Name` varchar(255) DEFAULT NULL,
  `Address` text DEFAULT NULL,
  `Code` varchar(255) DEFAULT NULL,
  `FBRPOSId` varchar(255) DEFAULT NULL,
  `CompanyId` int(11) DEFAULT NULL,
  `PhoneNoOne` varchar(255) DEFAULT NULL,
  `PhoneNoTwo` varchar(255) DEFAULT NULL,
  `EmailAddress` varchar(255) DEFAULT NULL,
  `Logo` text DEFAULT NULL,
  `BranchTypeId` int(11) DEFAULT NULL,
  `Status` int(11) DEFAULT NULL,
  `CreatedBy` int(11) DEFAULT NULL,
  `CreatedDate` datetime DEFAULT NULL,
  `ModifiedDate` datetime DEFAULT NULL,
  `ModifiedBy` int(11) DEFAULT NULL,
  `Currency` varchar(255) DEFAULT NULL,
  `CurrencyCode` varchar(255) DEFAULT NULL,
  `CurrencySymbol` varchar(255) DEFAULT NULL,
  `AllowDiscount` int(11) DEFAULT 0,
  `MaximumDiscount` decimal(10,0) DEFAULT 0
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `app_pos_branch`
--

INSERT INTO `app_pos_branch` (`Id`, `Name`, `Address`, `Code`, `FBRPOSId`, `CompanyId`, `PhoneNoOne`, `PhoneNoTwo`, `EmailAddress`, `Logo`, `BranchTypeId`, `Status`, `CreatedBy`, `CreatedDate`, `ModifiedDate`, `ModifiedBy`, `Currency`, `CurrencyCode`, `CurrencySymbol`, `AllowDiscount`, `MaximumDiscount`) VALUES
(1, 'JEDDAH AUTO SPARE PARTS L.L.C', 'POST BOX 112853 Dubai- UAE', '01', '1111', 1, '+971-4-2284468', '+971-4-2284496', 'jeddah16@emirates.net.ae', 'http://localhost:8000/admin/assets/img/logo.png', 1, 1, NULL, NULL, '2024-06-26 10:42:38', 1, 'Dirham', 'AED', 'AED', 1, 10),
(2, 'Dubai Branch', 'up add', '02', '12233 up', 1, '343435545fd', '4545', 'gba@gmail.com', 'otherimages/120240620070119admission-open.jpg', 1, 1, 1, '2024-06-20 06:39:41', '2024-06-20 07:44:24', 1, 'Dollars', 'USD', '$', 1, 10);

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

--
-- Table structure for table `app_pos_daily_expense`
--

CREATE TABLE `app_pos_daily_expense` (
  `Id` bigint(20) NOT NULL,
  `ExpenseId` int(11) DEFAULT NULL,
  `Amount` decimal(10,0) DEFAULT NULL,
  `ExpenseDate` date DEFAULT NULL,
  `RefNo` varchar(1000) DEFAULT NULL,
  `Description` text DEFAULT NULL,
  `Status` int(11) DEFAULT NULL,
  `CreatedDate` datetime DEFAULT NULL,
  `CreatedBy` int(11) DEFAULT NULL,
  `ModifiedDate` datetime DEFAULT NULL,
  `ModififedBy` int(11) DEFAULT NULL,
  `BranchId` int(11) DEFAULT NULL,
  `BankId` int(11) DEFAULT NULL,
  `BankBranchId` int(11) DEFAULT NULL,
  `ChkNo` varchar(255) DEFAULT NULL,
  `ChkDate` date DEFAULT NULL,
  `PaymentTypeId` int(11) DEFAULT NULL,
  `ChkCashDate` date DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `app_pos_daily_expense`
--

INSERT INTO `app_pos_daily_expense` (`Id`, `ExpenseId`, `Amount`, `ExpenseDate`, `RefNo`, `Description`, `Status`, `CreatedDate`, `CreatedBy`, `ModifiedDate`, `ModififedBy`, `BranchId`, `BankId`, `BankBranchId`, `ChkNo`, `ChkDate`, `PaymentTypeId`, `ChkCashDate`) VALUES
(1, 1, 2000, '2024-04-09', '2323', 'descupdate', 1, '2024-04-08 11:37:26', 1, '2024-04-08 11:56:15', 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
(2, 1, 546546, '2024-12-03', 'fghfgg', 'fgh', 1, '2024-12-03 06:18:42', 1, NULL, NULL, 1, NULL, NULL, NULL, NULL, NULL, NULL),
(3, 1, 6767, '2024-12-13', 'ghjhgj', 'hgjh', 1, '2024-12-03 06:18:57', 1, NULL, NULL, 1, NULL, NULL, NULL, NULL, NULL, NULL),
(4, 2, 65767, '2024-12-04', 'fdgfg', 'fdg', 1, '2024-12-03 06:19:11', 1, NULL, NULL, 1, NULL, NULL, NULL, NULL, NULL, NULL),
(5, 2, 7878, '2024-12-06', 'hfgh', 'gfhg', 1, '2024-12-03 06:19:24', 1, NULL, NULL, 1, NULL, NULL, NULL, NULL, NULL, NULL);

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

--
-- Table structure for table `app_project_management_lead`
--

CREATE TABLE `app_project_management_lead` (
  `Id` int(11) NOT NULL,
  `Name` varchar(255) DEFAULT NULL,
  `Email` varchar(255) DEFAULT NULL,
  `LeadStatusId` int(11) DEFAULT NULL,
  `AssignToId` int(11) DEFAULT NULL,
  `LeadSourceId` int(11) DEFAULT NULL,
  `LeadTypeId` int(11) DEFAULT NULL,
  `Remarks` text DEFAULT NULL,
  `Address` text DEFAULT NULL,
  `AreaId` int(11) DEFAULT NULL,
  `CityId` int(11) DEFAULT NULL,
  `StateId` int(11) DEFAULT NULL,
  `CountryId` int(11) DEFAULT NULL,
  `ZipCode` varchar(50) DEFAULT NULL,
  `Status` int(11) DEFAULT NULL,
  `CreatedBy` int(11) DEFAULT NULL,
  `CreatedDate` datetime DEFAULT NULL,
  `ModifiedBy` int(11) DEFAULT NULL,
  `ModifiedDate` datetime DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

--
-- Dumping data for table `app_project_management_lead`
--

INSERT INTO `app_project_management_lead` (`Id`, `Name`, `Email`, `LeadStatusId`, `AssignToId`, `LeadSourceId`, `LeadTypeId`, `Remarks`, `Address`, `AreaId`, `CityId`, `StateId`, `CountryId`, `ZipCode`, `Status`, `CreatedBy`, `CreatedDate`, `ModifiedBy`, `ModifiedDate`) VALUES
(1, 'sdfg', 'hello@gmail.com', 1, 3, 1, 1, 'dfgdg', 'atf', 1, 1, 1, 1, '2525', 1, 1, '2025-01-01 13:20:55', NULL, NULL);

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

--
-- Table structure for table `app_project_management_lead_source`
--

CREATE TABLE `app_project_management_lead_source` (
  `Id` int(11) NOT NULL,
  `Code` varchar(50) DEFAULT NULL,
  `SourceName` text DEFAULT NULL,
  `Status` int(11) DEFAULT NULL,
  `CreatedBy` int(11) DEFAULT NULL,
  `CreatedDate` datetime DEFAULT NULL,
  `ModifiedBy` int(11) DEFAULT NULL,
  `ModifiedDate` datetime DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

--
-- Dumping data for table `app_project_management_lead_source`
--

INSERT INTO `app_project_management_lead_source` (`Id`, `Code`, `SourceName`, `Status`, `CreatedBy`, `CreatedDate`, `ModifiedBy`, `ModifiedDate`) VALUES
(1, 'LSC-0000001', 'XYZ', 1, 1, '2024-12-30 12:48:52', NULL, NULL);

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

--
-- Table structure for table `app_project_management_lead_status`
--

CREATE TABLE `app_project_management_lead_status` (
  `Id` bigint(20) NOT NULL,
  `Code` varchar(50) DEFAULT NULL,
  `StatusName` text DEFAULT NULL,
  `Status` int(11) DEFAULT NULL,
  `CreatedBy` int(11) DEFAULT NULL,
  `CreatedDate` datetime DEFAULT NULL,
  `ModifiedBy` int(11) DEFAULT NULL,
  `ModifiedDate` datetime DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

--
-- Dumping data for table `app_project_management_lead_status`
--

INSERT INTO `app_project_management_lead_status` (`Id`, `Code`, `StatusName`, `Status`, `CreatedBy`, `CreatedDate`, `ModifiedBy`, `ModifiedDate`) VALUES
(1, 'LSC-0000001', 'SFD', 1, 1, '2024-12-30 12:49:00', NULL, NULL);

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

--
-- Table structure for table `app_project_management_lead_type`
--

CREATE TABLE `app_project_management_lead_type` (
  `Id` int(11) NOT NULL,
  `Code` varchar(50) DEFAULT NULL,
  `LeadTypeName` text DEFAULT NULL,
  `Status` int(11) DEFAULT NULL,
  `CreatedBy` int(11) DEFAULT NULL,
  `CreatedDate` datetime DEFAULT NULL,
  `ModifiedBy` int(11) DEFAULT NULL,
  `ModifiedDate` datetime DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

--
-- Dumping data for table `app_project_management_lead_type`
--

INSERT INTO `app_project_management_lead_type` (`Id`, `Code`, `LeadTypeName`, `Status`, `CreatedBy`, `CreatedDate`, `ModifiedBy`, `ModifiedDate`) VALUES
(1, 'LTC-0000001', 'ABC', 1, 1, '2024-12-30 12:48:42', NULL, NULL);

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

--
-- Table structure for table `app_setting_branch_type`
--

CREATE TABLE `app_setting_branch_type` (
  `Id` int(11) NOT NULL,
  `Name` varchar(255) DEFAULT NULL,
  `Code` varchar(255) DEFAULT NULL,
  `Description` text DEFAULT NULL,
  `Status` int(11) DEFAULT NULL,
  `CreatedBy` int(11) DEFAULT NULL,
  `CreatedDate` datetime DEFAULT NULL,
  `ModifiedBy` int(11) DEFAULT NULL,
  `ModifiedDate` datetime DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `app_setting_branch_type`
--

INSERT INTO `app_setting_branch_type` (`Id`, `Name`, `Code`, `Description`, `Status`, `CreatedBy`, `CreatedDate`, `ModifiedBy`, `ModifiedDate`) VALUES
(1, 'Retail', '01', 'Retail', 1, 1, NULL, NULL, NULL),
(2, 'WholeSale', '02', 'WholeSale', 1, 1, NULL, NULL, NULL);

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

--
-- Table structure for table `app_setting_company`
--

CREATE TABLE `app_setting_company` (
  `Id` int(11) NOT NULL,
  `Name` varchar(255) DEFAULT NULL,
  `ContactPersonName` varchar(255) DEFAULT NULL,
  `Logo` text DEFAULT NULL,
  `PhoneNumberOne` varchar(40) DEFAULT NULL,
  `PhoneNumberTwo` varchar(40) DEFAULT NULL,
  `MobileNumberOne` varchar(40) DEFAULT NULL,
  `MobileNumberTwo` varchar(40) DEFAULT NULL,
  `EmailAddress` int(11) DEFAULT NULL,
  `AddressOne` text DEFAULT NULL,
  `FaxNumber` varchar(30) DEFAULT NULL,
  `NtnNumber` varchar(30) DEFAULT NULL,
  `StrnNumber` varchar(30) DEFAULT NULL,
  `Status` int(11) DEFAULT NULL,
  `CreatedBy` int(11) DEFAULT NULL,
  `CreatedDate` datetime DEFAULT NULL,
  `ModifiedBy` int(11) DEFAULT NULL,
  `ModifiedDate` datetime DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `app_setting_company`
--

INSERT INTO `app_setting_company` (`Id`, `Name`, `ContactPersonName`, `Logo`, `PhoneNumberOne`, `PhoneNumberTwo`, `MobileNumberOne`, `MobileNumberTwo`, `EmailAddress`, `AddressOne`, `FaxNumber`, `NtnNumber`, `StrnNumber`, `Status`, `CreatedBy`, `CreatedDate`, `ModifiedBy`, `ModifiedDate`) VALUES
(1, 'ABC', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, NULL, NULL, NULL, NULL);

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

--
-- Table structure for table `area`
--

CREATE TABLE `area` (
  `Id` int(10) UNSIGNED NOT NULL,
  `Code` varchar(255) NOT NULL,
  `Name` varchar(255) NOT NULL,
  `Status` smallint(6) NOT NULL DEFAULT 0,
  `CreatedDate` datetime DEFAULT NULL,
  `CreatedBy` int(11) NOT NULL DEFAULT 0,
  `ModifiedDate` datetime DEFAULT NULL,
  `ModifiedBy` int(11) NOT NULL DEFAULT 0,
  `CityId` int(11) NOT NULL DEFAULT 0,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `area`
--

INSERT INTO `area` (`Id`, `Code`, `Name`, `Status`, `CreatedDate`, `CreatedBy`, `ModifiedDate`, `ModifiedBy`, `CityId`, `created_at`, `updated_at`) VALUES
(1, '01', 'Iqbal Town', 1, '2023-10-03 07:09:24', 0, '2023-10-03 07:14:08', 0, 1, NULL, NULL);

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

--
-- Table structure for table `attribute`
--

CREATE TABLE `attribute` (
  `Id` int(10) UNSIGNED NOT NULL,
  `Code` varchar(255) NOT NULL,
  `Name` varchar(255) NOT NULL,
  `NameUr` varchar(255) DEFAULT NULL,
  `Status` smallint(6) NOT NULL DEFAULT 0,
  `CreatedDate` datetime DEFAULT NULL,
  `CreatedBy` int(11) NOT NULL DEFAULT 0,
  `ModifiedDate` datetime DEFAULT NULL,
  `ModifiedBy` int(11) NOT NULL DEFAULT 0,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `attribute`
--

INSERT INTO `attribute` (`Id`, `Code`, `Name`, `NameUr`, `Status`, `CreatedDate`, `CreatedBy`, `ModifiedDate`, `ModifiedBy`, `created_at`, `updated_at`) VALUES
(1, 'AC-0000001', 'Made', 'Made', 1, '2024-06-26 11:32:15', 3, NULL, 0, NULL, NULL),
(2, 'AC-0000002', 'Engine', 'Engine', 1, '2024-06-26 11:32:45', 3, NULL, 0, NULL, NULL),
(3, 'AC-0000003', 'VIC', 'VIC', 1, '2024-06-26 11:33:12', 3, NULL, 0, NULL, NULL),
(4, 'AC-0000004', 'Net Weight', 'Net Weight', 1, '2024-06-26 11:33:34', 3, NULL, 0, NULL, NULL),
(5, 'AC-0000005', 'Gross Weight', 'Gross Weight', 1, '2024-06-26 11:33:55', 3, NULL, 0, NULL, NULL),
(6, 'AC-0000006', 'FGaurd', 'ایف گارڈ', 1, '2024-06-26 11:34:14', 3, '2024-06-26 11:37:14', 3, NULL, NULL),
(7, 'AC-0000007', 'Cross Reference', 'کراس حوالہ', 1, '2024-06-26 11:36:30', 3, NULL, 0, NULL, NULL),
(8, 'AC-0000008', 'test', NULL, 1, '2024-07-16 09:27:11', 1, NULL, 0, NULL, NULL);

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

--
-- Table structure for table `banks`
--

CREATE TABLE `banks` (
  `Id` int(11) NOT NULL,
  `Code` varchar(255) DEFAULT NULL,
  `Name` varchar(255) DEFAULT NULL,
  `Status` int(11) DEFAULT NULL,
  `CreatedBy` int(11) DEFAULT NULL,
  `CreatedDate` datetime DEFAULT NULL,
  `ModifiedBy` int(11) DEFAULT NULL,
  `ModifiedDate` datetime DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

--
-- Dumping data for table `banks`
--

INSERT INTO `banks` (`Id`, `Code`, `Name`, `Status`, `CreatedBy`, `CreatedDate`, `ModifiedBy`, `ModifiedDate`) VALUES
(1, 'BC-0000001', 'Habib Bank', 1, 1, '2024-12-04 10:25:08', 1, '2024-12-04 10:25:27');

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

--
-- Table structure for table `blog`
--

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

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

--
-- Table structure for table `blogcategory`
--

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

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

--
-- Table structure for table `brand`
--

CREATE TABLE `brand` (
  `Id` int(10) UNSIGNED NOT NULL,
  `Code` varchar(255) NOT NULL,
  `Name` varchar(255) NOT NULL,
  `NameUr` varchar(255) DEFAULT NULL,
  `Icon` varchar(255) DEFAULT NULL,
  `Description` longtext DEFAULT NULL,
  `Picture` text DEFAULT NULL,
  `Slug` text DEFAULT NULL,
  `Status` smallint(6) NOT NULL DEFAULT 0,
  `CreatedDate` datetime DEFAULT NULL,
  `CreatedBy` int(11) NOT NULL DEFAULT 0,
  `ModifiedDate` datetime DEFAULT NULL,
  `ModifiedBy` int(11) NOT NULL DEFAULT 0,
  `SellerId` int(11) NOT NULL DEFAULT 0,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `brand`
--

INSERT INTO `brand` (`Id`, `Code`, `Name`, `NameUr`, `Icon`, `Description`, `Picture`, `Slug`, `Status`, `CreatedDate`, `CreatedBy`, `ModifiedDate`, `ModifiedBy`, `SellerId`, `created_at`, `updated_at`) VALUES
(1, 'BR-0000001', 'Supermax', 'سپر میکس', NULL, 'Supermax', 'brandpicture/320240626140925logo.png', NULL, 1, '2024-06-26 11:26:33', 3, '2024-06-26 14:10:58', 3, 0, NULL, NULL),
(2, 'BR-0000002', 'Max Plus', 'میکس پلس', NULL, 'Max Plus', 'None', NULL, 1, '2024-06-26 12:51:34', 3, '2024-06-26 12:53:19', 3, 0, NULL, NULL),
(3, 'BR-0000003', 'SMF', 'ایس ایم ایف', NULL, 'SMF', 'None', NULL, 1, '2024-06-26 14:08:06', 3, '2024-06-26 14:13:59', 3, 0, NULL, NULL);

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

--
-- Table structure for table `campaign`
--

CREATE TABLE `campaign` (
  `Id` int(10) UNSIGNED NOT NULL,
  `Name` varchar(255) NOT NULL,
  `Slug` varchar(255) NOT NULL,
  `Title` varchar(255) NOT NULL,
  `Offer` double NOT NULL,
  `StartDateTime` datetime DEFAULT NULL,
  `EndDateTime` datetime DEFAULT NULL,
  `ShowHomePage` smallint(6) NOT NULL DEFAULT 0,
  `Status` smallint(6) NOT NULL DEFAULT 0,
  `CreatedDate` datetime DEFAULT NULL,
  `CreatedBy` int(11) NOT NULL DEFAULT 0,
  `ModifiedDate` datetime DEFAULT NULL,
  `ModifiedBy` int(11) NOT NULL DEFAULT 0,
  `Picture` text DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `campaign`
--

INSERT INTO `campaign` (`Id`, `Name`, `Slug`, `Title`, `Offer`, `StartDateTime`, `EndDateTime`, `ShowHomePage`, `Status`, `CreatedDate`, `CreatedBy`, `ModifiedDate`, `ModifiedBy`, `Picture`, `created_at`, `updated_at`) VALUES
(1, 'asdf', 'sdf', 'sdf', 34, '2024-01-06 21:10:00', '2024-01-06 21:10:00', 0, 1, '2024-01-06 16:11:46', 0, NULL, 0, '', NULL, NULL),
(2, 'sdfs fsdf', 'sdfs-fsdf', 'dfdf', 33, '2024-01-06 21:17:00', '2024-01-06 21:17:00', 0, 0, '2024-01-06 16:17:54', 0, NULL, 0, 'campaignpicture/020240106161755sso.jpeg', NULL, NULL),
(3, 'New Camp', 'new-camp', 'New Camp', 20, '2024-02-05 11:12:00', '2024-02-22 11:12:00', 0, 1, '2024-02-05 06:12:40', 0, NULL, 0, 'campaignpicture/020240205061241images.jpeg', NULL, NULL),
(4, 'ds', 'ds', 'dsd', 34, '2024-02-05 11:18:00', '2024-02-05 11:18:00', 0, 1, '2024-02-05 06:18:08', 0, NULL, 0, 'campaignpicture/020240205061808images.jpeg', NULL, NULL),
(5, 'test camp', 'test-camp', 'tes', 20, '2024-02-05 13:59:00', '2024-02-05 13:59:00', 1, 1, '2024-02-05 08:59:35', 0, NULL, 0, 'campaignpicture/020240205085935images.jpeg', NULL, NULL);

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

--
-- Table structure for table `campaignproduct`
--

CREATE TABLE `campaignproduct` (
  `Id` int(10) UNSIGNED NOT NULL,
  `CampaignId` int(11) NOT NULL DEFAULT 0,
  `ProductId` int(11) NOT NULL DEFAULT 0,
  `ShowHomePage` smallint(6) NOT NULL DEFAULT 0,
  `DiscOfferPer` float NOT NULL DEFAULT 0,
  `Status` smallint(6) NOT NULL DEFAULT 0,
  `CreatedDate` datetime DEFAULT NULL,
  `CreatedBy` int(11) NOT NULL DEFAULT 0,
  `ModifiedDate` datetime DEFAULT NULL,
  `ModifiedBy` int(11) NOT NULL DEFAULT 0,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `campaignproduct`
--

INSERT INTO `campaignproduct` (`Id`, `CampaignId`, `ProductId`, `ShowHomePage`, `DiscOfferPer`, `Status`, `CreatedDate`, `CreatedBy`, `ModifiedDate`, `ModifiedBy`, `created_at`, `updated_at`) VALUES
(1, 1, 13, 0, 50, 1, NULL, 0, NULL, 0, NULL, NULL),
(2, 1, 14, 0, 20, 1, NULL, 0, NULL, 0, NULL, NULL),
(3, 5, 13, 1, 20, 0, '2024-02-05 08:59:35', 0, NULL, 0, NULL, NULL),
(4, 5, 13, 1, 20, 0, '2024-02-05 08:59:35', 0, NULL, 0, NULL, NULL);

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

--
-- Table structure for table `category`
--

CREATE TABLE `category` (
  `Id` int(10) UNSIGNED NOT NULL,
  `Code` varchar(255) NOT NULL,
  `Name` varchar(255) NOT NULL,
  `NameUr` varchar(255) DEFAULT NULL,
  `Icon` varchar(255) DEFAULT NULL,
  `Description` text DEFAULT NULL,
  `Picture` text DEFAULT NULL,
  `Slug` text DEFAULT NULL,
  `Status` smallint(6) NOT NULL DEFAULT 0,
  `CreatedDate` datetime DEFAULT NULL,
  `CreatedBy` int(11) NOT NULL DEFAULT 0,
  `ModifiedDate` datetime DEFAULT NULL,
  `ModifiedBy` int(11) NOT NULL DEFAULT 0,
  `ParentCategoryId` int(11) NOT NULL DEFAULT -1,
  `SellerId` int(11) NOT NULL DEFAULT 0,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `category`
--

INSERT INTO `category` (`Id`, `Code`, `Name`, `NameUr`, `Icon`, `Description`, `Picture`, `Slug`, `Status`, `CreatedDate`, `CreatedBy`, `ModifiedDate`, `ModifiedBy`, `ParentCategoryId`, `SellerId`, `created_at`, `updated_at`) VALUES
(1, 'CC-0000001', 'Filter', 'فلٹر', NULL, 'Filter', 'None', NULL, 1, '2024-06-26 11:26:11', 3, NULL, 0, -1, 0, NULL, NULL),
(2, 'CC-0000002', 'Air Filter', 'ائیر فلٹر', NULL, 'Air Filter', 'None', NULL, 1, '2024-06-26 11:41:14', 3, '2024-06-27 13:17:14', 3, 1, 0, NULL, NULL),
(3, 'CC-0000003', 'Cabin Filter', 'کیبن فلٹر', NULL, 'Cabin Filter', 'None', NULL, 1, '2024-06-26 11:41:46', 3, NULL, 0, 1, 0, NULL, NULL),
(4, 'CC-0000004', 'Oil Filter', 'آہل فلٹر', NULL, 'Oil Filter', 'None', NULL, 1, '2024-06-26 11:42:33', 3, NULL, 0, 1, 0, NULL, NULL),
(5, 'CC-0000005', 'Fuel Filter', 'فیول فلٹر', NULL, 'Fuel Filter', 'None', NULL, 1, '2024-06-26 11:43:10', 3, '2024-06-26 12:43:29', 3, 1, 0, NULL, NULL);

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

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

CREATE TABLE `city` (
  `Id` int(10) UNSIGNED NOT NULL,
  `Code` varchar(255) NOT NULL,
  `Name` varchar(255) NOT NULL,
  `Status` smallint(6) NOT NULL DEFAULT 0,
  `CreatedDate` datetime DEFAULT NULL,
  `CreatedBy` int(11) NOT NULL DEFAULT 0,
  `ModifiedDate` datetime DEFAULT NULL,
  `ModifiedBy` int(11) NOT NULL DEFAULT 0,
  `StateId` int(11) NOT NULL DEFAULT 0,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

INSERT INTO `city` (`Id`, `Code`, `Name`, `Status`, `CreatedDate`, `CreatedBy`, `ModifiedDate`, `ModifiedBy`, `StateId`, `created_at`, `updated_at`) VALUES
(1, '01', 'Lahore', 1, '2023-10-02 14:25:59', 0, '2023-10-02 14:36:05', 0, 1, NULL, NULL);

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

--
-- Table structure for table `contactus`
--

CREATE TABLE `contactus` (
  `Id` int(10) UNSIGNED NOT NULL,
  `Country` varchar(255) DEFAULT NULL,
  `Name` varchar(255) NOT NULL,
  `EmailAddress` varchar(255) DEFAULT NULL,
  `Subject` text DEFAULT NULL,
  `Description` text DEFAULT NULL,
  `Status` smallint(6) NOT NULL DEFAULT 0,
  `CreatedDate` datetime DEFAULT NULL,
  `CreatedBy` int(11) NOT NULL DEFAULT 0,
  `ModifiedDate` datetime DEFAULT NULL,
  `ModifiedBy` int(11) NOT NULL DEFAULT 0,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `MobileNumber` varchar(100) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `contactus`
--

INSERT INTO `contactus` (`Id`, `Country`, `Name`, `EmailAddress`, `Subject`, `Description`, `Status`, `CreatedDate`, `CreatedBy`, `ModifiedDate`, `ModifiedBy`, `created_at`, `updated_at`, `MobileNumber`) VALUES
(28, NULL, 'Nabeel Bin Ezad', 'nabeel.ezad@gmail.com', 'dsfa', 'sdfdsf', 1, '2024-02-23 19:17:52', 0, NULL, 0, NULL, NULL, '03244492569'),
(29, NULL, 'Nabeel Bin Ezad', 'nabeel.ezad@gmail.com', 'dsfds', 'sfsdfdsf', 1, '2024-02-23 19:20:38', 0, NULL, 0, NULL, NULL, '03244492569'),
(30, NULL, 'Nabeel Bin Ezad', 'nabeel.ezad@gmail.com', 'tete', 'dgdgdg', 1, '2024-02-23 19:31:47', 0, NULL, 0, NULL, NULL, '03244492569'),
(31, NULL, 'Nabeel Bin Ezad', 'nabeel.ezad@gmail.com', 'tete', 'dgdgdg', 1, '2024-02-23 19:35:22', 0, NULL, 0, NULL, NULL, '03244492569'),
(32, NULL, 'Nabeel Bin Ezad', 'nabeel.ezad@gmail.com', 'tete', 'dgdgdg', 1, '2024-02-23 19:36:13', 0, NULL, 0, NULL, NULL, '03244492569'),
(33, NULL, 'Nabeel Bin Ezad', 'nabeel.ezad@gmail.com', 'test email', 'sddsfd', 1, '2024-02-23 19:37:30', 0, NULL, 0, NULL, NULL, '03244492569');

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

--
-- Table structure for table `contactusreply`
--

CREATE TABLE `contactusreply` (
  `Id` int(10) UNSIGNED NOT NULL,
  `Country` varchar(255) NOT NULL,
  `Name` varchar(255) NOT NULL,
  `EmailAddress` varchar(255) DEFAULT NULL,
  `Description` text DEFAULT NULL,
  `Status` smallint(6) NOT NULL DEFAULT 0,
  `CreatedDate` datetime DEFAULT NULL,
  `CreatedBy` int(11) NOT NULL DEFAULT 0,
  `ModifiedDate` datetime DEFAULT NULL,
  `ModifiedBy` int(11) NOT NULL DEFAULT 0,
  `ReplyContactUsId` int(11) NOT NULL DEFAULT 0,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

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

CREATE TABLE `country` (
  `Id` int(10) UNSIGNED NOT NULL,
  `iso` varchar(255) NOT NULL,
  `Name` varchar(255) NOT NULL,
  `nicename` varchar(1000) DEFAULT NULL,
  `iso3` varchar(255) DEFAULT NULL,
  `numcode` varchar(255) DEFAULT NULL,
  `phonecode` varchar(255) DEFAULT NULL,
  `Status` smallint(6) NOT NULL DEFAULT 0,
  `CreatedDate` datetime DEFAULT NULL,
  `CreatedBy` int(11) NOT NULL DEFAULT 0,
  `ModifiedDate` datetime DEFAULT NULL,
  `ModifiedBy` int(11) NOT NULL DEFAULT 0,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

INSERT INTO `country` (`Id`, `iso`, `Name`, `nicename`, `iso3`, `numcode`, `phonecode`, `Status`, `CreatedDate`, `CreatedBy`, `ModifiedDate`, `ModifiedBy`, `created_at`, `updated_at`) VALUES
(1, 'AF', 'AFGHANISTAN', 'Afghanistan', 'AFG', '4', '93', 1, NULL, 0, NULL, 0, NULL, NULL),
(2, 'AL', 'ALBANIA', 'Albania', 'ALB', '8', '355', 1, NULL, 0, NULL, 0, NULL, NULL),
(3, 'DZ', 'ALGERIA', 'Algeria', 'DZA', '12', '213', 1, NULL, 0, NULL, 0, NULL, NULL),
(4, 'AS', 'AMERICAN SAMOA', 'American Samoa', 'ASM', '16', '1684', 1, NULL, 0, NULL, 0, NULL, NULL),
(5, 'AD', 'ANDORRA', 'Andorra', 'AND', '20', '376', 1, NULL, 0, NULL, 0, NULL, NULL),
(6, 'AO', 'ANGOLA', 'Angola', 'AGO', '24', '244', 1, NULL, 0, NULL, 0, NULL, NULL),
(7, 'AI', 'ANGUILLA', 'Anguilla', 'AIA', '660', '1264', 1, NULL, 0, NULL, 0, NULL, NULL),
(8, 'AQ', 'ANTARCTICA', 'Antarctica', NULL, NULL, '0', 1, NULL, 0, NULL, 0, NULL, NULL),
(9, 'AG', 'ANTIGUA AND BARBUDA', 'Antigua and Barbuda', 'ATG', '28', '1268', 1, NULL, 0, NULL, 0, NULL, NULL),
(10, 'AR', 'ARGENTINA', 'Argentina', 'ARG', '32', '54', 1, NULL, 0, NULL, 0, NULL, NULL),
(11, 'AM', 'ARMENIA', 'Armenia', 'ARM', '51', '374', 1, NULL, 0, NULL, 0, NULL, NULL),
(12, 'AW', 'ARUBA', 'Aruba', 'ABW', '533', '297', 1, NULL, 0, NULL, 0, NULL, NULL),
(13, 'AU', 'AUSTRALIA', 'Australia', 'AUS', '36', '61', 1, NULL, 0, NULL, 0, NULL, NULL),
(14, 'AT', 'AUSTRIA', 'Austria', 'AUT', '40', '43', 1, NULL, 0, NULL, 0, NULL, NULL),
(15, 'AZ', 'AZERBAIJAN', 'Azerbaijan', 'AZE', '31', '994', 1, NULL, 0, NULL, 0, NULL, NULL),
(16, 'BS', 'BAHAMAS', 'Bahamas', 'BHS', '44', '1242', 1, NULL, 0, NULL, 0, NULL, NULL),
(17, 'BH', 'BAHRAIN', 'Bahrain', 'BHR', '48', '973', 1, NULL, 0, NULL, 0, NULL, NULL),
(18, 'BD', 'BANGLADESH', 'Bangladesh', 'BGD', '50', '880', 1, NULL, 0, NULL, 0, NULL, NULL),
(19, 'BB', 'BARBADOS', 'Barbados', 'BRB', '52', '1246', 1, NULL, 0, NULL, 0, NULL, NULL),
(20, 'BY', 'BELARUS', 'Belarus', 'BLR', '112', '375', 1, NULL, 0, NULL, 0, NULL, NULL),
(21, 'BE', 'BELGIUM', 'Belgium', 'BEL', '56', '32', 1, NULL, 0, NULL, 0, NULL, NULL),
(22, 'BZ', 'BELIZE', 'Belize', 'BLZ', '84', '501', 1, NULL, 0, NULL, 0, NULL, NULL),
(23, 'BJ', 'BENIN', 'Benin', 'BEN', '204', '229', 1, NULL, 0, NULL, 0, NULL, NULL),
(24, 'BM', 'BERMUDA', 'Bermuda', 'BMU', '60', '1441', 1, NULL, 0, NULL, 0, NULL, NULL),
(25, 'BT', 'BHUTAN', 'Bhutan', 'BTN', '64', '975', 1, NULL, 0, NULL, 0, NULL, NULL),
(26, 'BO', 'BOLIVIA', 'Bolivia', 'BOL', '68', '591', 1, NULL, 0, NULL, 0, NULL, NULL),
(27, 'BA', 'BOSNIA AND HERZEGOVINA', 'Bosnia and Herzegovina', 'BIH', '70', '387', 1, NULL, 0, NULL, 0, NULL, NULL),
(28, 'BW', 'BOTSWANA', 'Botswana', 'BWA', '72', '267', 1, NULL, 0, NULL, 0, NULL, NULL),
(29, 'BV', 'BOUVET ISLAND', 'Bouvet Island', NULL, NULL, '0', 1, NULL, 0, NULL, 0, NULL, NULL),
(30, 'BR', 'BRAZIL', 'Brazil', 'BRA', '76', '55', 1, NULL, 0, NULL, 0, NULL, NULL),
(31, 'IO', 'BRITISH INDIAN OCEAN TERRITORY', 'British Indian Ocean Territory', NULL, NULL, '246', 1, NULL, 0, NULL, 0, NULL, NULL),
(32, 'BN', 'BRUNEI DARUSSALAM', 'Brunei Darussalam', 'BRN', '96', '673', 1, NULL, 0, NULL, 0, NULL, NULL),
(33, 'BG', 'BULGARIA', 'Bulgaria', 'BGR', '100', '359', 1, NULL, 0, NULL, 0, NULL, NULL),
(34, 'BF', 'BURKINA FASO', 'Burkina Faso', 'BFA', '854', '226', 1, NULL, 0, NULL, 0, NULL, NULL),
(35, 'BI', 'BURUNDI', 'Burundi', 'BDI', '108', '257', 1, NULL, 0, NULL, 0, NULL, NULL),
(36, 'KH', 'CAMBODIA', 'Cambodia', 'KHM', '116', '855', 1, NULL, 0, NULL, 0, NULL, NULL),
(37, 'CM', 'CAMEROON', 'Cameroon', 'CMR', '120', '237', 1, NULL, 0, NULL, 0, NULL, NULL),
(38, 'CA', 'CANADA', 'Canada', 'CAN', '124', '1', 1, NULL, 0, NULL, 0, NULL, NULL),
(39, 'CV', 'CAPE VERDE', 'Cape Verde', 'CPV', '132', '238', 1, NULL, 0, NULL, 0, NULL, NULL),
(40, 'KY', 'CAYMAN ISLANDS', 'Cayman Islands', 'CYM', '136', '1345', 1, NULL, 0, NULL, 0, NULL, NULL),
(41, 'CF', 'CENTRAL AFRICAN REPUBLIC', 'Central African Republic', 'CAF', '140', '236', 1, NULL, 0, NULL, 0, NULL, NULL),
(42, 'TD', 'CHAD', 'Chad', 'TCD', '148', '235', 1, NULL, 0, NULL, 0, NULL, NULL),
(43, 'CL', 'CHILE', 'Chile', 'CHL', '152', '56', 1, NULL, 0, NULL, 0, NULL, NULL),
(44, 'CN', 'CHINA', 'China', 'CHN', '156', '86', 1, NULL, 0, NULL, 0, NULL, NULL),
(45, 'CX', 'CHRISTMAS ISLAND', 'Christmas Island', NULL, NULL, '61', 1, NULL, 0, NULL, 0, NULL, NULL),
(46, 'CC', 'COCOS (KEELING) ISLANDS', 'Cocos (Keeling) Islands', NULL, NULL, '672', 1, NULL, 0, NULL, 0, NULL, NULL),
(47, 'CO', 'COLOMBIA', 'Colombia', 'COL', '170', '57', 1, NULL, 0, NULL, 0, NULL, NULL),
(48, 'KM', 'COMOROS', 'Comoros', 'COM', '174', '269', 1, NULL, 0, NULL, 0, NULL, NULL),
(49, 'CG', 'CONGO', 'Congo', 'COG', '178', '242', 1, NULL, 0, NULL, 0, NULL, NULL),
(50, 'CD', 'CONGO, THE DEMOCRATIC REPUBLIC OF THE', 'Congo, the Democratic Republic of the', 'COD', '180', '242', 1, NULL, 0, NULL, 0, NULL, NULL),
(51, 'CK', 'COOK ISLANDS', 'Cook Islands', 'COK', '184', '682', 1, NULL, 0, NULL, 0, NULL, NULL),
(52, 'CR', 'COSTA RICA', 'Costa Rica', 'CRI', '188', '506', 1, NULL, 0, NULL, 0, NULL, NULL),
(53, 'CI', 'COTE D\'IVOIRE', 'Cote D\'Ivoire', 'CIV', '384', '225', 1, NULL, 0, NULL, 0, NULL, NULL),
(54, 'HR', 'CROATIA', 'Croatia', 'HRV', '191', '385', 1, NULL, 0, NULL, 0, NULL, NULL),
(55, 'CU', 'CUBA', 'Cuba', 'CUB', '192', '53', 1, NULL, 0, NULL, 0, NULL, NULL),
(56, 'CY', 'CYPRUS', 'Cyprus', 'CYP', '196', '357', 1, NULL, 0, NULL, 0, NULL, NULL),
(57, 'CZ', 'CZECH REPUBLIC', 'Czech Republic', 'CZE', '203', '420', 1, NULL, 0, NULL, 0, NULL, NULL),
(58, 'DK', 'DENMARK', 'Denmark', 'DNK', '208', '45', 1, NULL, 0, NULL, 0, NULL, NULL),
(59, 'DJ', 'DJIBOUTI', 'Djibouti', 'DJI', '262', '253', 1, NULL, 0, NULL, 0, NULL, NULL),
(60, 'DM', 'DOMINICA', 'Dominica', 'DMA', '212', '1767', 1, NULL, 0, NULL, 0, NULL, NULL),
(61, 'DO', 'DOMINICAN REPUBLIC', 'Dominican Republic', 'DOM', '214', '1809', 1, NULL, 0, NULL, 0, NULL, NULL),
(62, 'EC', 'ECUADOR', 'Ecuador', 'ECU', '218', '593', 1, NULL, 0, NULL, 0, NULL, NULL),
(63, 'EG', 'EGYPT', 'Egypt', 'EGY', '818', '20', 1, NULL, 0, NULL, 0, NULL, NULL),
(64, 'SV', 'EL SALVADOR', 'El Salvador', 'SLV', '222', '503', 1, NULL, 0, NULL, 0, NULL, NULL),
(65, 'GQ', 'EQUATORIAL GUINEA', 'Equatorial Guinea', 'GNQ', '226', '240', 1, NULL, 0, NULL, 0, NULL, NULL),
(66, 'ER', 'ERITREA', 'Eritrea', 'ERI', '232', '291', 1, NULL, 0, NULL, 0, NULL, NULL),
(67, 'EE', 'ESTONIA', 'Estonia', 'EST', '233', '372', 1, NULL, 0, NULL, 0, NULL, NULL),
(68, 'ET', 'ETHIOPIA', 'Ethiopia', 'ETH', '231', '251', 1, NULL, 0, NULL, 0, NULL, NULL),
(69, 'FK', 'FALKLAND ISLANDS (MALVINAS)', 'Falkland Islands (Malvinas)', 'FLK', '238', '500', 1, NULL, 0, NULL, 0, NULL, NULL),
(70, 'FO', 'FAROE ISLANDS', 'Faroe Islands', 'FRO', '234', '298', 1, NULL, 0, NULL, 0, NULL, NULL),
(71, 'FJ', 'FIJI', 'Fiji', 'FJI', '242', '679', 1, NULL, 0, NULL, 0, NULL, NULL),
(72, 'FI', 'FINLAND', 'Finland', 'FIN', '246', '358', 1, NULL, 0, NULL, 0, NULL, NULL),
(73, 'FR', 'FRANCE', 'France', 'FRA', '250', '33', 1, NULL, 0, NULL, 0, NULL, NULL),
(74, 'GF', 'FRENCH GUIANA', 'French Guiana', 'GUF', '254', '594', 1, NULL, 0, NULL, 0, NULL, NULL),
(75, 'PF', 'FRENCH POLYNESIA', 'French Polynesia', 'PYF', '258', '689', 1, NULL, 0, NULL, 0, NULL, NULL),
(76, 'TF', 'FRENCH SOUTHERN TERRITORIES', 'French Southern Territories', NULL, NULL, '0', 1, NULL, 0, NULL, 0, NULL, NULL),
(77, 'GA', 'GABON', 'Gabon', 'GAB', '266', '241', 1, NULL, 0, NULL, 0, NULL, NULL),
(78, 'GM', 'GAMBIA', 'Gambia', 'GMB', '270', '220', 1, NULL, 0, NULL, 0, NULL, NULL),
(79, 'GE', 'GEORGIA', 'Georgia', 'GEO', '268', '995', 1, NULL, 0, NULL, 0, NULL, NULL),
(80, 'DE', 'GERMANY', 'Germany', 'DEU', '276', '49', 1, NULL, 0, NULL, 0, NULL, NULL),
(81, 'GH', 'GHANA', 'Ghana', 'GHA', '288', '233', 1, NULL, 0, NULL, 0, NULL, NULL),
(82, 'GI', 'GIBRALTAR', 'Gibraltar', 'GIB', '292', '350', 1, NULL, 0, NULL, 0, NULL, NULL),
(83, 'GR', 'GREECE', 'Greece', 'GRC', '300', '30', 1, NULL, 0, NULL, 0, NULL, NULL),
(84, 'GL', 'GREENLAND', 'Greenland', 'GRL', '304', '299', 1, NULL, 0, NULL, 0, NULL, NULL),
(85, 'GD', 'GRENADA', 'Grenada', 'GRD', '308', '1473', 1, NULL, 0, NULL, 0, NULL, NULL),
(86, 'GP', 'GUADELOUPE', 'Guadeloupe', 'GLP', '312', '590', 1, NULL, 0, NULL, 0, NULL, NULL),
(87, 'GU', 'GUAM', 'Guam', 'GUM', '316', '1671', 1, NULL, 0, NULL, 0, NULL, NULL),
(88, 'GT', 'GUATEMALA', 'Guatemala', 'GTM', '320', '502', 1, NULL, 0, NULL, 0, NULL, NULL),
(89, 'GN', 'GUINEA', 'Guinea', 'GIN', '324', '224', 1, NULL, 0, NULL, 0, NULL, NULL),
(90, 'GW', 'GUINEA-BISSAU', 'Guinea-Bissau', 'GNB', '624', '245', 1, NULL, 0, NULL, 0, NULL, NULL),
(91, 'GY', 'GUYANA', 'Guyana', 'GUY', '328', '592', 1, NULL, 0, NULL, 0, NULL, NULL),
(92, 'HT', 'HAITI', 'Haiti', 'HTI', '332', '509', 1, NULL, 0, NULL, 0, NULL, NULL),
(93, 'HM', 'HEARD ISLAND AND MCDONALD ISLANDS', 'Heard Island and Mcdonald Islands', NULL, NULL, '0', 1, NULL, 0, NULL, 0, NULL, NULL),
(94, 'VA', 'HOLY SEE (VATICAN CITY STATE)', 'Holy See (Vatican City State)', 'VAT', '336', '39', 1, NULL, 0, NULL, 0, NULL, NULL),
(95, 'HN', 'HONDURAS', 'Honduras', 'HND', '340', '504', 1, NULL, 0, NULL, 0, NULL, NULL),
(96, 'HK', 'HONG KONG', 'Hong Kong', 'HKG', '344', '852', 1, NULL, 0, NULL, 0, NULL, NULL),
(97, 'HU', 'HUNGARY', 'Hungary', 'HUN', '348', '36', 1, NULL, 0, NULL, 0, NULL, NULL),
(98, 'IS', 'ICELAND', 'Iceland', 'ISL', '352', '354', 1, NULL, 0, NULL, 0, NULL, NULL),
(99, 'IN', 'INDIA', 'India', 'IND', '356', '91', 1, NULL, 0, NULL, 0, NULL, NULL),
(100, 'ID', 'INDONESIA', 'Indonesia', 'IDN', '360', '62', 1, NULL, 0, NULL, 0, NULL, NULL),
(101, 'IR', 'IRAN, ISLAMIC REPUBLIC OF', 'Iran, Islamic Republic of', 'IRN', '364', '98', 1, NULL, 0, NULL, 0, NULL, NULL),
(102, 'IQ', 'IRAQ', 'Iraq', 'IRQ', '368', '964', 1, NULL, 0, NULL, 0, NULL, NULL),
(103, 'IE', 'IRELAND', 'Ireland', 'IRL', '372', '353', 1, NULL, 0, NULL, 0, NULL, NULL),
(104, 'IL', 'ISRAEL', 'Israel', 'ISR', '376', '972', 1, NULL, 0, NULL, 0, NULL, NULL),
(105, 'IT', 'ITALY', 'Italy', 'ITA', '380', '39', 1, NULL, 0, NULL, 0, NULL, NULL),
(106, 'JM', 'JAMAICA', 'Jamaica', 'JAM', '388', '1876', 1, NULL, 0, NULL, 0, NULL, NULL),
(107, 'JP', 'JAPAN', 'Japan', 'JPN', '392', '81', 1, NULL, 0, NULL, 0, NULL, NULL),
(108, 'JO', 'JORDAN', 'Jordan', 'JOR', '400', '962', 1, NULL, 0, NULL, 0, NULL, NULL),
(109, 'KZ', 'KAZAKHSTAN', 'Kazakhstan', 'KAZ', '398', '7', 1, NULL, 0, NULL, 0, NULL, NULL),
(110, 'KE', 'KENYA', 'Kenya', 'KEN', '404', '254', 1, NULL, 0, NULL, 0, NULL, NULL),
(111, 'KI', 'KIRIBATI', 'Kiribati', 'KIR', '296', '686', 1, NULL, 0, NULL, 0, NULL, NULL),
(112, 'KP', 'KOREA, DEMOCRATIC PEOPLE\'S REPUBLIC OF', 'Korea, Democratic People\'s Republic of', 'PRK', '408', '850', 1, NULL, 0, NULL, 0, NULL, NULL),
(113, 'KR', 'KOREA, REPUBLIC OF', 'Korea, Republic of', 'KOR', '410', '82', 1, NULL, 0, NULL, 0, NULL, NULL),
(114, 'KW', 'KUWAIT', 'Kuwait', 'KWT', '414', '965', 1, NULL, 0, NULL, 0, NULL, NULL),
(115, 'KG', 'KYRGYZSTAN', 'Kyrgyzstan', 'KGZ', '417', '996', 1, NULL, 0, NULL, 0, NULL, NULL),
(116, 'LA', 'LAO PEOPLE\'S DEMOCRATIC REPUBLIC', 'Lao People\'s Democratic Republic', 'LAO', '418', '856', 1, NULL, 0, NULL, 0, NULL, NULL),
(117, 'LV', 'LATVIA', 'Latvia', 'LVA', '428', '371', 1, NULL, 0, NULL, 0, NULL, NULL),
(118, 'LB', 'LEBANON', 'Lebanon', 'LBN', '422', '961', 1, NULL, 0, NULL, 0, NULL, NULL),
(119, 'LS', 'LESOTHO', 'Lesotho', 'LSO', '426', '266', 1, NULL, 0, NULL, 0, NULL, NULL),
(120, 'LR', 'LIBERIA', 'Liberia', 'LBR', '430', '231', 1, NULL, 0, NULL, 0, NULL, NULL),
(121, 'LY', 'LIBYAN ARAB JAMAHIRIYA', 'Libyan Arab Jamahiriya', 'LBY', '434', '218', 1, NULL, 0, NULL, 0, NULL, NULL),
(122, 'LI', 'LIECHTENSTEIN', 'Liechtenstein', 'LIE', '438', '423', 1, NULL, 0, NULL, 0, NULL, NULL),
(123, 'LT', 'LITHUANIA', 'Lithuania', 'LTU', '440', '370', 1, NULL, 0, NULL, 0, NULL, NULL),
(124, 'LU', 'LUXEMBOURG', 'Luxembourg', 'LUX', '442', '352', 1, NULL, 0, NULL, 0, NULL, NULL),
(125, 'MO', 'MACAO', 'Macao', 'MAC', '446', '853', 1, NULL, 0, NULL, 0, NULL, NULL),
(126, 'MK', 'MACEDONIA, THE FORMER YUGOSLAV REPUBLIC OF', 'Macedonia, the Former Yugoslav Republic of', 'MKD', '807', '389', 1, NULL, 0, NULL, 0, NULL, NULL),
(127, 'MG', 'MADAGASCAR', 'Madagascar', 'MDG', '450', '261', 1, NULL, 0, NULL, 0, NULL, NULL),
(128, 'MW', 'MALAWI', 'Malawi', 'MWI', '454', '265', 1, NULL, 0, NULL, 0, NULL, NULL),
(129, 'MY', 'MALAYSIA', 'Malaysia', 'MYS', '458', '60', 1, NULL, 0, NULL, 0, NULL, NULL),
(130, 'MV', 'MALDIVES', 'Maldives', 'MDV', '462', '960', 1, NULL, 0, NULL, 0, NULL, NULL),
(131, 'ML', 'MALI', 'Mali', 'MLI', '466', '223', 1, NULL, 0, NULL, 0, NULL, NULL),
(132, 'MT', 'MALTA', 'Malta', 'MLT', '470', '356', 1, NULL, 0, NULL, 0, NULL, NULL),
(133, 'MH', 'MARSHALL ISLANDS', 'Marshall Islands', 'MHL', '584', '692', 1, NULL, 0, NULL, 0, NULL, NULL),
(134, 'MQ', 'MARTINIQUE', 'Martinique', 'MTQ', '474', '596', 1, NULL, 0, NULL, 0, NULL, NULL),
(135, 'MR', 'MAURITANIA', 'Mauritania', 'MRT', '478', '222', 1, NULL, 0, NULL, 0, NULL, NULL),
(136, 'MU', 'MAURITIUS', 'Mauritius', 'MUS', '480', '230', 1, NULL, 0, NULL, 0, NULL, NULL),
(137, 'YT', 'MAYOTTE', 'Mayotte', NULL, NULL, '269', 1, NULL, 0, NULL, 0, NULL, NULL),
(138, 'MX', 'MEXICO', 'Mexico', 'MEX', '484', '52', 1, NULL, 0, NULL, 0, NULL, NULL),
(139, 'FM', 'MICRONESIA, FEDERATED STATES OF', 'Micronesia, Federated States of', 'FSM', '583', '691', 1, NULL, 0, NULL, 0, NULL, NULL),
(140, 'MD', 'MOLDOVA, REPUBLIC OF', 'Moldova, Republic of', 'MDA', '498', '373', 1, NULL, 0, NULL, 0, NULL, NULL),
(141, 'MC', 'MONACO', 'Monaco', 'MCO', '492', '377', 1, NULL, 0, NULL, 0, NULL, NULL),
(142, 'MN', 'MONGOLIA', 'Mongolia', 'MNG', '496', '976', 1, NULL, 0, NULL, 0, NULL, NULL),
(143, 'MS', 'MONTSERRAT', 'Montserrat', 'MSR', '500', '1664', 1, NULL, 0, NULL, 0, NULL, NULL),
(144, 'MA', 'MOROCCO', 'Morocco', 'MAR', '504', '212', 1, NULL, 0, NULL, 0, NULL, NULL),
(145, 'MZ', 'MOZAMBIQUE', 'Mozambique', 'MOZ', '508', '258', 1, NULL, 0, NULL, 0, NULL, NULL),
(146, 'MM', 'MYANMAR', 'Myanmar', 'MMR', '104', '95', 1, NULL, 0, NULL, 0, NULL, NULL),
(147, 'NA', 'NAMIBIA', 'Namibia', 'NAM', '516', '264', 1, NULL, 0, NULL, 0, NULL, NULL),
(148, 'NR', 'NAURU', 'Nauru', 'NRU', '520', '674', 1, NULL, 0, NULL, 0, NULL, NULL),
(149, 'NP', 'NEPAL', 'Nepal', 'NPL', '524', '977', 1, NULL, 0, NULL, 0, NULL, NULL),
(150, 'NL', 'NETHERLANDS', 'Netherlands', 'NLD', '528', '31', 1, NULL, 0, NULL, 0, NULL, NULL),
(151, 'AN', 'NETHERLANDS ANTILLES', 'Netherlands Antilles', 'ANT', '530', '599', 1, NULL, 0, NULL, 0, NULL, NULL),
(152, 'NC', 'NEW CALEDONIA', 'New Caledonia', 'NCL', '540', '687', 1, NULL, 0, NULL, 0, NULL, NULL),
(153, 'NZ', 'NEW ZEALAND', 'New Zealand', 'NZL', '554', '64', 1, NULL, 0, NULL, 0, NULL, NULL),
(154, 'NI', 'NICARAGUA', 'Nicaragua', 'NIC', '558', '505', 1, NULL, 0, NULL, 0, NULL, NULL),
(155, 'NE', 'NIGER', 'Niger', 'NER', '562', '227', 1, NULL, 0, NULL, 0, NULL, NULL),
(156, 'NG', 'NIGERIA', 'Nigeria', 'NGA', '566', '234', 1, NULL, 0, NULL, 0, NULL, NULL),
(157, 'NU', 'NIUE', 'Niue', 'NIU', '570', '683', 1, NULL, 0, NULL, 0, NULL, NULL),
(158, 'NF', 'NORFOLK ISLAND', 'Norfolk Island', 'NFK', '574', '672', 1, NULL, 0, NULL, 0, NULL, NULL),
(159, 'MP', 'NORTHERN MARIANA ISLANDS', 'Northern Mariana Islands', 'MNP', '580', '1670', 1, NULL, 0, NULL, 0, NULL, NULL),
(160, 'NO', 'NORWAY', 'Norway', 'NOR', '578', '47', 1, NULL, 0, NULL, 0, NULL, NULL),
(161, 'OM', 'OMAN', 'Oman', 'OMN', '512', '968', 1, NULL, 0, NULL, 0, NULL, NULL),
(162, 'PK', 'PAKISTAN', 'Pakistan', 'PAK', '586', '92', 1, NULL, 0, NULL, 0, NULL, NULL),
(163, 'PW', 'PALAU', 'Palau', 'PLW', '585', '680', 1, NULL, 0, NULL, 0, NULL, NULL),
(164, 'PS', 'PALESTINIAN TERRITORY, OCCUPIED', 'Palestinian Territory, Occupied', NULL, NULL, '970', 1, NULL, 0, NULL, 0, NULL, NULL),
(165, 'PA', 'PANAMA', 'Panama', 'PAN', '591', '507', 1, NULL, 0, NULL, 0, NULL, NULL),
(166, 'PG', 'PAPUA NEW GUINEA', 'Papua New Guinea', 'PNG', '598', '675', 1, NULL, 0, NULL, 0, NULL, NULL),
(167, 'PY', 'PARAGUAY', 'Paraguay', 'PRY', '600', '595', 1, NULL, 0, NULL, 0, NULL, NULL),
(168, 'PE', 'PERU', 'Peru', 'PER', '604', '51', 1, NULL, 0, NULL, 0, NULL, NULL),
(169, 'PH', 'PHILIPPINES', 'Philippines', 'PHL', '608', '63', 1, NULL, 0, NULL, 0, NULL, NULL),
(170, 'PN', 'PITCAIRN', 'Pitcairn', 'PCN', '612', '0', 1, NULL, 0, NULL, 0, NULL, NULL),
(171, 'PL', 'POLAND', 'Poland', 'POL', '616', '48', 1, NULL, 0, NULL, 0, NULL, NULL),
(172, 'PT', 'PORTUGAL', 'Portugal', 'PRT', '620', '351', 1, NULL, 0, NULL, 0, NULL, NULL),
(173, 'PR', 'PUERTO RICO', 'Puerto Rico', 'PRI', '630', '1787', 1, NULL, 0, NULL, 0, NULL, NULL),
(174, 'QA', 'QATAR', 'Qatar', 'QAT', '634', '974', 1, NULL, 0, NULL, 0, NULL, NULL),
(175, 'RE', 'REUNION', 'Reunion', 'REU', '638', '262', 1, NULL, 0, NULL, 0, NULL, NULL),
(176, 'RO', 'ROMANIA', 'Romania', 'ROM', '642', '40', 1, NULL, 0, NULL, 0, NULL, NULL),
(177, 'RU', 'RUSSIAN FEDERATION', 'Russian Federation', 'RUS', '643', '70', 1, NULL, 0, NULL, 0, NULL, NULL),
(178, 'RW', 'RWANDA', 'Rwanda', 'RWA', '646', '250', 1, NULL, 0, NULL, 0, NULL, NULL),
(179, 'SH', 'SAINT HELENA', 'Saint Helena', 'SHN', '654', '290', 1, NULL, 0, NULL, 0, NULL, NULL),
(180, 'KN', 'SAINT KITTS AND NEVIS', 'Saint Kitts and Nevis', 'KNA', '659', '1869', 1, NULL, 0, NULL, 0, NULL, NULL),
(181, 'LC', 'SAINT LUCIA', 'Saint Lucia', 'LCA', '662', '1758', 1, NULL, 0, NULL, 0, NULL, NULL),
(182, 'PM', 'SAINT PIERRE AND MIQUELON', 'Saint Pierre and Miquelon', 'SPM', '666', '508', 1, NULL, 0, NULL, 0, NULL, NULL),
(183, 'VC', 'SAINT VINCENT AND THE GRENADINES', 'Saint Vincent and the Grenadines', 'VCT', '670', '1784', 1, NULL, 0, NULL, 0, NULL, NULL),
(184, 'WS', 'SAMOA', 'Samoa', 'WSM', '882', '684', 1, NULL, 0, NULL, 0, NULL, NULL),
(185, 'SM', 'SAN MARINO', 'San Marino', 'SMR', '674', '378', 1, NULL, 0, NULL, 0, NULL, NULL),
(186, 'ST', 'SAO TOME AND PRINCIPE', 'Sao Tome and Principe', 'STP', '678', '239', 1, NULL, 0, NULL, 0, NULL, NULL),
(187, 'SA', 'SAUDI ARABIA', 'Saudi Arabia', 'SAU', '682', '966', 1, NULL, 0, NULL, 0, NULL, NULL),
(188, 'SN', 'SENEGAL', 'Senegal', 'SEN', '686', '221', 1, NULL, 0, NULL, 0, NULL, NULL),
(189, 'CS', 'SERBIA AND MONTENEGRO', 'Serbia and Montenegro', NULL, NULL, '381', 1, NULL, 0, NULL, 0, NULL, NULL),
(190, 'SC', 'SEYCHELLES', 'Seychelles', 'SYC', '690', '248', 1, NULL, 0, NULL, 0, NULL, NULL),
(191, 'SL', 'SIERRA LEONE', 'Sierra Leone', 'SLE', '694', '232', 1, NULL, 0, NULL, 0, NULL, NULL),
(192, 'SG', 'SINGAPORE', 'Singapore', 'SGP', '702', '65', 1, NULL, 0, NULL, 0, NULL, NULL),
(193, 'SK', 'SLOVAKIA', 'Slovakia', 'SVK', '703', '421', 1, NULL, 0, NULL, 0, NULL, NULL),
(194, 'SI', 'SLOVENIA', 'Slovenia', 'SVN', '705', '386', 1, NULL, 0, NULL, 0, NULL, NULL),
(195, 'SB', 'SOLOMON ISLANDS', 'Solomon Islands', 'SLB', '90', '677', 1, NULL, 0, NULL, 0, NULL, NULL),
(196, 'SO', 'SOMALIA', 'Somalia', 'SOM', '706', '252', 1, NULL, 0, NULL, 0, NULL, NULL),
(197, 'ZA', 'SOUTH AFRICA', 'South Africa', 'ZAF', '710', '27', 1, NULL, 0, NULL, 0, NULL, NULL),
(198, 'GS', 'SOUTH GEORGIA AND THE SOUTH SANDWICH ISLANDS', 'South Georgia and the South Sandwich Islands', NULL, NULL, '0', 1, NULL, 0, NULL, 0, NULL, NULL),
(199, 'ES', 'SPAIN', 'Spain', 'ESP', '724', '34', 1, NULL, 0, NULL, 0, NULL, NULL),
(200, 'LK', 'SRI LANKA', 'Sri Lanka', 'LKA', '144', '94', 1, NULL, 0, NULL, 0, NULL, NULL),
(201, 'SD', 'SUDAN', 'Sudan', 'SDN', '736', '249', 1, NULL, 0, NULL, 0, NULL, NULL),
(202, 'SR', 'SURINAME', 'Suriname', 'SUR', '740', '597', 1, NULL, 0, NULL, 0, NULL, NULL),
(203, 'SJ', 'SVALBARD AND JAN MAYEN', 'Svalbard and Jan Mayen', 'SJM', '744', '47', 1, NULL, 0, NULL, 0, NULL, NULL),
(204, 'SZ', 'SWAZILAND', 'Swaziland', 'SWZ', '748', '268', 1, NULL, 0, NULL, 0, NULL, NULL),
(205, 'SE', 'SWEDEN', 'Sweden', 'SWE', '752', '46', 1, NULL, 0, NULL, 0, NULL, NULL),
(206, 'CH', 'SWITZERLAND', 'Switzerland', 'CHE', '756', '41', 1, NULL, 0, NULL, 0, NULL, NULL),
(207, 'SY', 'SYRIAN ARAB REPUBLIC', 'Syrian Arab Republic', 'SYR', '760', '963', 1, NULL, 0, NULL, 0, NULL, NULL),
(208, 'TW', 'TAIWAN, PROVINCE OF CHINA', 'Taiwan, Province of China', 'TWN', '158', '886', 1, NULL, 0, NULL, 0, NULL, NULL),
(209, 'TJ', 'TAJIKISTAN', 'Tajikistan', 'TJK', '762', '992', 1, NULL, 0, NULL, 0, NULL, NULL),
(210, 'TZ', 'TANZANIA, UNITED REPUBLIC OF', 'Tanzania, United Republic of', 'TZA', '834', '255', 1, NULL, 0, NULL, 0, NULL, NULL),
(211, 'TH', 'THAILAND', 'Thailand', 'THA', '764', '66', 1, NULL, 0, NULL, 0, NULL, NULL),
(212, 'TL', 'TIMOR-LESTE', 'Timor-Leste', NULL, NULL, '670', 1, NULL, 0, NULL, 0, NULL, NULL),
(213, 'TG', 'TOGO', 'Togo', 'TGO', '768', '228', 1, NULL, 0, NULL, 0, NULL, NULL),
(214, 'TK', 'TOKELAU', 'Tokelau', 'TKL', '772', '690', 1, NULL, 0, NULL, 0, NULL, NULL),
(215, 'TO', 'TONGA', 'Tonga', 'TON', '776', '676', 1, NULL, 0, NULL, 0, NULL, NULL),
(216, 'TT', 'TRINIDAD AND TOBAGO', 'Trinidad and Tobago', 'TTO', '780', '1868', 1, NULL, 0, NULL, 0, NULL, NULL),
(217, 'TN', 'TUNISIA', 'Tunisia', 'TUN', '788', '216', 1, NULL, 0, NULL, 0, NULL, NULL),
(218, 'TR', 'TURKEY', 'Turkey', 'TUR', '792', '90', 1, NULL, 0, NULL, 0, NULL, NULL),
(219, 'TM', 'TURKMENISTAN', 'Turkmenistan', 'TKM', '795', '7370', 1, NULL, 0, NULL, 0, NULL, NULL),
(220, 'TC', 'TURKS AND CAICOS ISLANDS', 'Turks and Caicos Islands', 'TCA', '796', '1649', 1, NULL, 0, NULL, 0, NULL, NULL),
(221, 'TV', 'TUVALU', 'Tuvalu', 'TUV', '798', '688', 1, NULL, 0, NULL, 0, NULL, NULL),
(222, 'UG', 'UGANDA', 'Uganda', 'UGA', '800', '256', 1, NULL, 0, NULL, 0, NULL, NULL),
(223, 'UA', 'UKRAINE', 'Ukraine', 'UKR', '804', '380', 1, NULL, 0, NULL, 0, NULL, NULL),
(224, 'AE', 'UNITED ARAB EMIRATES', 'United Arab Emirates', 'ARE', '784', '971', 1, NULL, 0, NULL, 0, NULL, NULL),
(225, 'GB', 'UNITED KINGDOM', 'United Kingdom', 'GBR', '826', '44', 1, NULL, 0, NULL, 0, NULL, NULL),
(226, 'US', 'UNITED STATES', 'United States', 'USA', '840', '1', 1, NULL, 0, NULL, 0, NULL, NULL),
(227, 'UM', 'UNITED STATES MINOR OUTLYING ISLANDS', 'United States Minor Outlying Islands', NULL, NULL, '1', 1, NULL, 0, NULL, 0, NULL, NULL),
(228, 'UY', 'URUGUAY', 'Uruguay', 'URY', '858', '598', 1, NULL, 0, NULL, 0, NULL, NULL),
(229, 'UZ', 'UZBEKISTAN', 'Uzbekistan', 'UZB', '860', '998', 1, NULL, 0, NULL, 0, NULL, NULL),
(230, 'VU', 'VANUATU', 'Vanuatu', 'VUT', '548', '678', 1, NULL, 0, NULL, 0, NULL, NULL),
(231, 'VE', 'VENEZUELA', 'Venezuela', 'VEN', '862', '58', 1, NULL, 0, NULL, 0, NULL, NULL),
(232, 'VN', 'VIET NAM', 'Viet Nam', 'VNM', '704', '84', 1, NULL, 0, NULL, 0, NULL, NULL),
(233, 'VG', 'VIRGIN ISLANDS, BRITISH', 'Virgin Islands, British', 'VGB', '92', '1284', 1, NULL, 0, NULL, 0, NULL, NULL),
(234, 'VI', 'VIRGIN ISLANDS, U.S.', 'Virgin Islands, U.s.', 'VIR', '850', '1340', 1, NULL, 0, NULL, 0, NULL, NULL),
(235, 'WF', 'WALLIS AND FUTUNA', 'Wallis and Futuna', 'WLF', '876', '681', 1, NULL, 0, NULL, 0, NULL, NULL),
(236, 'EH', 'WESTERN SAHARA', 'Western Sahara', 'ESH', '732', '212', 1, NULL, 0, NULL, 0, NULL, NULL),
(237, 'YE', 'YEMEN', 'Yemen', 'YEM', '887', '967', 1, NULL, 0, NULL, 0, NULL, NULL),
(238, 'ZM', 'ZAMBIA', 'Zambia', 'ZMB', '894', '260', 1, NULL, 0, NULL, 0, NULL, NULL),
(239, 'ZW', 'ZIMBABWE', 'Zimbabwe', 'ZWE', '716', '263', 1, NULL, 0, NULL, 0, NULL, NULL);

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

--
-- Table structure for table `coupon`
--

CREATE TABLE `coupon` (
  `Id` bigint(20) UNSIGNED NOT NULL,
  `Name` varchar(255) NOT NULL,
  `Code` varchar(255) DEFAULT NULL,
  `NumberOfTime` int(11) DEFAULT NULL,
  `ExpireDate` datetime DEFAULT NULL,
  `DiscountPerFlat` varchar(255) DEFAULT NULL,
  `DiscountValue` double(8,2) DEFAULT NULL,
  `Status` int(11) NOT NULL DEFAULT 0,
  `CreatedDate` datetime DEFAULT NULL,
  `CreatedBy` int(11) NOT NULL DEFAULT 0,
  `ModifiedDate` datetime DEFAULT NULL,
  `ModifiedBy` int(11) NOT NULL DEFAULT 0,
  `ApplyQty` int(11) DEFAULT 0,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `coupon`
--

INSERT INTO `coupon` (`Id`, `Name`, `Code`, `NumberOfTime`, `ExpireDate`, `DiscountPerFlat`, `DiscountValue`, `Status`, `CreatedDate`, `CreatedBy`, `ModifiedDate`, `ModifiedBy`, `ApplyQty`, `created_at`, `updated_at`) VALUES
(1, 'test', '0333', 6, '2024-02-02 00:00:00', 'Percentage', 10.00, 1, '2024-01-28 06:27:36', 0, NULL, 0, 0, NULL, NULL);

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

--
-- Table structure for table `currency`
--

CREATE TABLE `currency` (
  `Id` int(11) NOT NULL,
  `Name` varchar(255) DEFAULT NULL,
  `Symbol` varchar(255) DEFAULT NULL,
  `Status` int(11) DEFAULT NULL,
  `CreatedBy` int(11) NOT NULL,
  `CreatedDate` datetime DEFAULT NULL,
  `ModifiedBy` int(11) DEFAULT NULL,
  `ModifiedDate` datetime DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `currency`
--

INSERT INTO `currency` (`Id`, `Name`, `Symbol`, `Status`, `CreatedBy`, `CreatedDate`, `ModifiedBy`, `ModifiedDate`) VALUES
(1, 'USD', '$', 1, 0, NULL, NULL, NULL),
(2, 'PKR', 'RS.', 1, 0, NULL, NULL, NULL);

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

--
-- Table structure for table `currencylist`
--

CREATE TABLE `currencylist` (
  `country` varchar(100) DEFAULT NULL,
  `currency` varchar(100) DEFAULT NULL,
  `code` varchar(100) DEFAULT NULL,
  `symbol` varchar(100) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `currencylist`
--

INSERT INTO `currencylist` (`country`, `currency`, `code`, `symbol`) VALUES
('Albania', 'Leke', 'ALL', 'Lek'),
('America', 'Dollars', 'USD', '$'),
('Afghanistan', 'Afghanis', 'AFN', '؋'),
('Argentina', 'Pesos', 'ARS', '$'),
('Aruba', 'Guilders', 'AWG', 'ƒ'),
('Australia', 'Dollars', 'AUD', '$'),
('Azerbaijan', 'New Manats', 'AZN', 'ман'),
('Bahamas', 'Dollars', 'BSD', '$'),
('Barbados', 'Dollars', 'BBD', '$'),
('Belarus', 'Rubles', 'BYR', 'p.'),
('Belgium', 'Euro', 'EUR', '€'),
('Beliz', 'Dollars', 'BZD', 'BZ$'),
('Bermuda', 'Dollars', 'BMD', '$'),
('Bolivia', 'Bolivianos', 'BOB', '$b'),
('Bosnia and Herzegovina', 'Convertible Marka', 'BAM', 'KM'),
('Botswana', 'Pula', 'BWP', 'P'),
('Bulgaria', 'Leva', 'BGN', 'лв'),
('Brazil', 'Reais', 'BRL', 'R$'),
('Britain (United Kingdom)', 'Pounds', 'GBP', '£'),
('Brunei Darussalam', 'Dollars', 'BND', '$'),
('Cambodia', 'Riels', 'KHR', '៛'),
('Canada', 'Dollars', 'CAD', '$'),
('Cayman Islands', 'Dollars', 'KYD', '$'),
('Chile', 'Pesos', 'CLP', '$'),
('China', 'Yuan Renminbi', 'CNY', '¥'),
('Colombia', 'Pesos', 'COP', '$'),
('Costa Rica', 'Colón', 'CRC', '₡'),
('Croatia', 'Kuna', 'HRK', 'kn'),
('Cuba', 'Pesos', 'CUP', '₱'),
('Cyprus', 'Euro', 'EUR', '€'),
('Czech Republic', 'Koruny', 'CZK', 'Kč'),
('Denmark', 'Kroner', 'DKK', 'kr'),
('Dominican Republic', 'Pesos', 'DOP ', 'RD$'),
('East Caribbean', 'Dollars', 'XCD', '$'),
('Egypt', 'Pounds', 'EGP', '£'),
('El Salvador', 'Colones', 'SVC', '$'),
('England (United Kingdom)', 'Pounds', 'GBP', '£'),
('Euro', 'Euro', 'EUR', '€'),
('Falkland Islands', 'Pounds', 'FKP', '£'),
('Fiji', 'Dollars', 'FJD', '$'),
('France', 'Euro', 'EUR', '€'),
('Ghana', 'Cedis', 'GHC', '¢'),
('Gibraltar', 'Pounds', 'GIP', '£'),
('Greece', 'Euro', 'EUR', '€'),
('Guatemala', 'Quetzales', 'GTQ', 'Q'),
('Guernsey', 'Pounds', 'GGP', '£'),
('Guyana', 'Dollars', 'GYD', '$'),
('Holland (Netherlands)', 'Euro', 'EUR', '€'),
('Honduras', 'Lempiras', 'HNL', 'L'),
('Hong Kong', 'Dollars', 'HKD', '$'),
('Hungary', 'Forint', 'HUF', 'Ft'),
('Iceland', 'Kronur', 'ISK', 'kr'),
('India', 'Rupees', 'INR', 'Rp'),
('Indonesia', 'Rupiahs', 'IDR', 'Rp'),
('Iran', 'Rials', 'IRR', '﷼'),
('Ireland', 'Euro', 'EUR', '€'),
('Isle of Man', 'Pounds', 'IMP', '£'),
('Israel', 'New Shekels', 'ILS', '₪'),
('Italy', 'Euro', 'EUR', '€'),
('Jamaica', 'Dollars', 'JMD', 'J$'),
('Japan', 'Yen', 'JPY', '¥'),
('Jersey', 'Pounds', 'JEP', '£'),
('Kazakhstan', 'Tenge', 'KZT', 'лв'),
('Korea (North)', 'Won', 'KPW', '₩'),
('Korea (South)', 'Won', 'KRW', '₩'),
('Kyrgyzstan', 'Soms', 'KGS', 'лв'),
('Laos', 'Kips', 'LAK', '₭'),
('Latvia', 'Lati', 'LVL', 'Ls'),
('Lebanon', 'Pounds', 'LBP', '£'),
('Liberia', 'Dollars', 'LRD', '$'),
('Liechtenstein', 'Switzerland Francs', 'CHF', 'CHF'),
('Lithuania', 'Litai', 'LTL', 'Lt'),
('Luxembourg', 'Euro', 'EUR', '€'),
('Macedonia', 'Denars', 'MKD', 'ден'),
('Malaysia', 'Ringgits', 'MYR', 'RM'),
('Malta', 'Euro', 'EUR', '€'),
('Mauritius', 'Rupees', 'MUR', '₨'),
('Mexico', 'Pesos', 'MXN', '$'),
('Mongolia', 'Tugriks', 'MNT', '₮'),
('Mozambique', 'Meticais', 'MZN', 'MT'),
('Namibia', 'Dollars', 'NAD', '$'),
('Nepal', 'Rupees', 'NPR', '₨'),
('Netherlands Antilles', 'Guilders', 'ANG', 'ƒ'),
('Netherlands', 'Euro', 'EUR', '€'),
('New Zealand', 'Dollars', 'NZD', '$'),
('Nicaragua', 'Cordobas', 'NIO', 'C$'),
('Nigeria', 'Nairas', 'NGN', '₦'),
('North Korea', 'Won', 'KPW', '₩'),
('Norway', 'Krone', 'NOK', 'kr'),
('Oman', 'Rials', 'OMR', '﷼'),
('Pakistan', 'Rupees', 'PKR', '₨'),
('Panama', 'Balboa', 'PAB', 'B/.'),
('Paraguay', 'Guarani', 'PYG', 'Gs'),
('Peru', 'Nuevos Soles', 'PEN', 'S/.'),
('Philippines', 'Pesos', 'PHP', 'Php'),
('Poland', 'Zlotych', 'PLN', 'zł'),
('Qatar', 'Rials', 'QAR', '﷼'),
('Romania', 'New Lei', 'RON', 'lei'),
('Russia', 'Rubles', 'RUB', 'руб'),
('Saint Helena', 'Pounds', 'SHP', '£'),
('Saudi Arabia', 'Riyals', 'SAR', '﷼'),
('Serbia', 'Dinars', 'RSD', 'Дин.'),
('Seychelles', 'Rupees', 'SCR', '₨'),
('Singapore', 'Dollars', 'SGD', '$'),
('Slovenia', 'Euro', 'EUR', '€'),
('Solomon Islands', 'Dollars', 'SBD', '$'),
('Somalia', 'Shillings', 'SOS', 'S'),
('South Africa', 'Rand', 'ZAR', 'R'),
('South Korea', 'Won', 'KRW', '₩'),
('Spain', 'Euro', 'EUR', '€'),
('Sri Lanka', 'Rupees', 'LKR', '₨'),
('Sweden', 'Kronor', 'SEK', 'kr'),
('Switzerland', 'Francs', 'CHF', 'CHF'),
('Suriname', 'Dollars', 'SRD', '$'),
('Syria', 'Pounds', 'SYP', '£'),
('Taiwan', 'New Dollars', 'TWD', 'NT$'),
('Thailand', 'Baht', 'THB', '฿'),
('Trinidad and Tobago', 'Dollars', 'TTD', 'TT$'),
('Turkey', 'Lira', 'TRY', 'TL'),
('Turkey', 'Liras', 'TRL', '£'),
('Tuvalu', 'Dollars', 'TVD', '$'),
('Ukraine', 'Hryvnia', 'UAH', '₴'),
('United Kingdom', 'Pounds', 'GBP', '£'),
('United States of America', 'Dollars', 'USD', '$'),
('Uruguay', 'Pesos', 'UYU', '$U'),
('Uzbekistan', 'Sums', 'UZS', 'лв'),
('Vatican City', 'Euro', 'EUR', '€'),
('Venezuela', 'Bolivares Fuertes', 'VEF', 'Bs'),
('Vietnam', 'Dong', 'VND', '₫'),
('Yemen', 'Rials', 'YER', '﷼'),
('Zimbabwe', 'Zimbabwe Dollars', 'ZWD', 'Z$'),
('India', 'Rupees', 'INR', '₹'),
('United Arab Emirates', 'Dirham', 'AED', 'AED');

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

--
-- Table structure for table `customerbillinginfo`
--

CREATE TABLE `customerbillinginfo` (
  `Id` bigint(20) NOT NULL,
  `CustomerId` bigint(20) DEFAULT NULL,
  `FirstName` varchar(255) DEFAULT NULL,
  `LastName` varchar(255) DEFAULT NULL,
  `Address` longtext DEFAULT NULL,
  `CountryId` int(11) DEFAULT NULL,
  `CityId` int(11) DEFAULT NULL,
  `MobileNo` varchar(255) DEFAULT NULL,
  `PostalCode` varchar(30) DEFAULT NULL,
  `Status` int(11) DEFAULT NULL,
  `CreatedBy` int(11) DEFAULT NULL,
  `CreatedDate` datetime DEFAULT NULL,
  `ModifiedBy` int(11) DEFAULT NULL,
  `ModifiedDate` datetime DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `customerbillinginfo`
--

INSERT INTO `customerbillinginfo` (`Id`, `CustomerId`, `FirstName`, `LastName`, `Address`, `CountryId`, `CityId`, `MobileNo`, `PostalCode`, `Status`, `CreatedBy`, `CreatedDate`, `ModifiedBy`, `ModifiedDate`) VALUES
(1, 1, 'Nabeel', 'Ezad', 'House No 22 Nargis Street Taj Bagh Housing Scheme Lahore update', 1, 1, '03244492569', NULL, 1, 0, '2024-01-29 12:31:06', 0, '2024-02-04 10:09:54');

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

--
-- Table structure for table `customerresidancetype`
--

CREATE TABLE `customerresidancetype` (
  `Id` int(11) NOT NULL,
  `Code` varchar(255) DEFAULT NULL,
  `Name` varchar(255) DEFAULT NULL,
  `NameUr` varchar(25) DEFAULT NULL,
  `Status` int(11) DEFAULT NULL,
  `CreatedBy` int(11) DEFAULT NULL,
  `CreatedDate` datetime DEFAULT NULL,
  `ModifiedBy` int(11) DEFAULT NULL,
  `ModifiedDate` datetime DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `customerresidancetype`
--

INSERT INTO `customerresidancetype` (`Id`, `Code`, `Name`, `NameUr`, `Status`, `CreatedBy`, `CreatedDate`, `ModifiedBy`, `ModifiedDate`) VALUES
(1, '01', 'Owner House', 'مالک مکان', 1, NULL, NULL, NULL, NULL),
(2, '02', 'Shopkeeper', 'دکاندار', 1, NULL, NULL, NULL, NULL),
(3, '02', 'Mortgage', 'گروی', 1, NULL, NULL, NULL, NULL),
(4, '04', 'Tenant', 'کرایے دار', 1, NULL, NULL, NULL, NULL);

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

--
-- Table structure for table `customershippinginfo`
--

CREATE TABLE `customershippinginfo` (
  `Id` bigint(20) NOT NULL,
  `CustomerId` bigint(20) DEFAULT NULL,
  `FirstName` varchar(255) DEFAULT NULL,
  `LastName` varchar(255) DEFAULT NULL,
  `Address` longtext DEFAULT NULL,
  `CountryId` int(11) DEFAULT NULL,
  `CityId` int(11) DEFAULT NULL,
  `MobileNo` varchar(255) DEFAULT NULL,
  `PostalCode` varchar(30) DEFAULT NULL,
  `Status` int(11) DEFAULT NULL,
  `CreatedBy` int(11) DEFAULT NULL,
  `CreatedDate` datetime DEFAULT NULL,
  `ModifiedBy` int(11) DEFAULT NULL,
  `ModifiedDate` datetime DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `customershippinginfo`
--

INSERT INTO `customershippinginfo` (`Id`, `CustomerId`, `FirstName`, `LastName`, `Address`, `CountryId`, `CityId`, `MobileNo`, `PostalCode`, `Status`, `CreatedBy`, `CreatedDate`, `ModifiedBy`, `ModifiedDate`) VALUES
(1, 1, 'Nabeel', '343434', 'House No 22 Nargis Street Taj Bagh Housing Scheme Lahore', 1, 1, '03244492569', '54600 update', 1, 0, '2024-01-29 12:31:06', 0, '2024-02-04 10:09:54');

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

--
-- Table structure for table `customerwishlist`
--

CREATE TABLE `customerwishlist` (
  `Id` bigint(20) NOT NULL,
  `CustomerId` bigint(20) DEFAULT NULL,
  `ProductId` bigint(20) DEFAULT NULL,
  `Status` int(11) DEFAULT NULL,
  `CreatedBy` int(11) DEFAULT NULL,
  `CreatedDate` datetime DEFAULT NULL,
  `ModifiedBy` int(11) DEFAULT NULL,
  `ModifiedDate` datetime DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `customerwishlist`
--

INSERT INTO `customerwishlist` (`Id`, `CustomerId`, `ProductId`, `Status`, `CreatedBy`, `CreatedDate`, `ModifiedBy`, `ModifiedDate`) VALUES
(3, 1, 14, 1, 0, '2024-02-04 18:00:35', NULL, NULL),
(4, 1, 13, 1, 0, '2024-02-15 12:53:34', NULL, NULL);

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

--
-- Table structure for table `department`
--

CREATE TABLE `department` (
  `Id` int(11) NOT NULL,
  `GroupID` int(11) NOT NULL,
  `Code` varchar(50) NOT NULL,
  `Description` text NOT NULL,
  `CreatedBy` int(11) NOT NULL,
  `CreatedDate` datetime NOT NULL,
  `ModifiedBy` int(11) NOT NULL,
  `ModifiedDate` datetime NOT NULL,
  `Status` smallint(6) DEFAULT NULL,
  `Name` varchar(350) DEFAULT NULL,
  `Area` varchar(350) DEFAULT NULL,
  `GroupName` varchar(250) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

--
-- Dumping data for table `department`
--

INSERT INTO `department` (`Id`, `GroupID`, `Code`, `Description`, `CreatedBy`, `CreatedDate`, `ModifiedBy`, `ModifiedDate`, `Status`, `Name`, `Area`, `GroupName`) VALUES
(1, 1, 'DC-0000001', 'asdf', 1, '2024-12-27 11:59:59', 1, '2024-12-27 12:00:14', 1, 'update', 'sdf', 'Test Group');

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

--
-- Table structure for table `designation`
--

CREATE TABLE `designation` (
  `Id` int(11) NOT NULL,
  `Code` varchar(255) NOT NULL,
  `Name` varchar(255) NOT NULL,
  `Status` int(11) NOT NULL,
  `CreatedBy` int(11) DEFAULT NULL,
  `CreatedDate` datetime DEFAULT NULL,
  `ModifiedBy` int(11) DEFAULT NULL,
  `ModifiedDate` datetime DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

--
-- Dumping data for table `designation`
--

INSERT INTO `designation` (`Id`, `Code`, `Name`, `Status`, `CreatedBy`, `CreatedDate`, `ModifiedBy`, `ModifiedDate`) VALUES
(1, 'DC-0000001', 'testupdate', 1, 1, '2024-11-26 13:25:20', 1, '2024-11-26 13:25:29');

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

--
-- Table structure for table `emailtemplate`
--

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

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

--
-- Table structure for table `employeetype`
--

CREATE TABLE `employeetype` (
  `Id` bigint(20) NOT NULL,
  `Code` varchar(50) DEFAULT NULL,
  `Name` varchar(250) DEFAULT NULL,
  `Description` text DEFAULT NULL,
  `Status` smallint(6) DEFAULT NULL,
  `CreatedDate` datetime DEFAULT NULL,
  `CreatedBy` int(11) DEFAULT NULL,
  `ModifiedDate` datetime DEFAULT NULL,
  `ModifiedBy` int(11) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

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

--
-- Table structure for table `failed_jobs`
--

CREATE TABLE `failed_jobs` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `uuid` varchar(255) NOT NULL,
  `connection` text NOT NULL,
  `queue` text NOT NULL,
  `payload` longtext NOT NULL,
  `exception` longtext NOT NULL,
  `failed_at` timestamp NOT NULL DEFAULT current_timestamp()
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

--
-- Table structure for table `findus`
--

CREATE TABLE `findus` (
  `Id` int(10) UNSIGNED NOT NULL,
  `StoreName` varchar(255) NOT NULL,
  `StoreAddress` text DEFAULT NULL,
  `PictureOne` varchar(255) DEFAULT NULL,
  `PictureTwo` varchar(255) DEFAULT NULL,
  `PictureThree` varchar(255) DEFAULT NULL,
  `PictureFour` varchar(255) DEFAULT NULL,
  `PictureFive` varchar(255) DEFAULT NULL,
  `LatVal` double NOT NULL DEFAULT 0,
  `LongVal` double NOT NULL DEFAULT 0,
  `CityId` int(11) NOT NULL DEFAULT 0,
  `AreaId` int(11) NOT NULL DEFAULT 0,
  `Status` smallint(6) NOT NULL DEFAULT 0,
  `CreatedDate` datetime DEFAULT NULL,
  `CreatedBy` int(11) NOT NULL DEFAULT 0,
  `ModifiedDate` datetime DEFAULT NULL,
  `ModifiedBy` int(11) NOT NULL DEFAULT 0,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `findus`
--

INSERT INTO `findus` (`Id`, `StoreName`, `StoreAddress`, `PictureOne`, `PictureTwo`, `PictureThree`, `PictureFour`, `PictureFive`, `LatVal`, `LongVal`, `CityId`, `AreaId`, `Status`, `CreatedDate`, `CreatedBy`, `ModifiedDate`, `ModifiedBy`, `created_at`, `updated_at`) VALUES
(1, 'dsfds', 'sdfd', 'NoImage', 'NoImage', 'NoImage', 'NoImage', 'NoImage', 4543, 3454, 1, 1, 1, '2023-12-21 07:23:07', 0, NULL, 0, NULL, NULL),
(2, 'sadf', 'fasdf', 'storepicture/0202312210725191652239711955.jfif', 'NoImage', 'NoImage', 'NoImage', 'NoImage', 32423, 324, 1, 1, 1, '2023-12-21 07:25:19', 0, NULL, 0, NULL, NULL);

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

--
-- Table structure for table `grades`
--

CREATE TABLE `grades` (
  `Id` bigint(20) NOT NULL,
  `GradeName` varchar(1000) DEFAULT NULL,
  `CommissionRate` float DEFAULT NULL,
  `Type` varchar(50) DEFAULT NULL,
  `Description` text DEFAULT NULL,
  `Status` smallint(6) DEFAULT 1,
  `CreatedDate` datetime DEFAULT NULL,
  `CreatedBy` int(11) DEFAULT NULL,
  `ModifiedBy` int(11) DEFAULT NULL,
  `ModifiedDate` datetime DEFAULT NULL,
  `GradeScale` varchar(50) DEFAULT NULL,
  `SalaryFrom` decimal(18,2) DEFAULT NULL,
  `SalaryTo` decimal(18,2) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

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

--
-- Table structure for table `groups`
--

CREATE TABLE `groups` (
  `Id` int(11) NOT NULL,
  `Code` varchar(50) NOT NULL,
  `Name` varchar(50) DEFAULT NULL,
  `Description` varchar(50) DEFAULT NULL,
  `Manager` varchar(50) DEFAULT NULL,
  `CreatedBy` int(11) DEFAULT NULL,
  `CreatedDate` datetime DEFAULT NULL,
  `ModifiedBy` int(11) DEFAULT NULL,
  `ModifiedDate` datetime DEFAULT NULL,
  `Status` smallint(6) DEFAULT NULL,
  `FactoryId` int(11) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

--
-- Dumping data for table `groups`
--

INSERT INTO `groups` (`Id`, `Code`, `Name`, `Description`, `Manager`, `CreatedBy`, `CreatedDate`, `ModifiedBy`, `ModifiedDate`, `Status`, `FactoryId`) VALUES
(1, 'GC-0000001', 'Test Group', 'descp', 'Man', 1, '2024-11-26 12:59:17', 1, '2024-11-26 12:59:27', 1, 1);

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

--
-- Table structure for table `headerslider`
--

CREATE TABLE `headerslider` (
  `Id` int(11) NOT NULL,
  `Title` varchar(255) DEFAULT NULL,
  `TextOne` text DEFAULT NULL,
  `TextTwo` text DEFAULT NULL,
  `TextThree` text DEFAULT NULL,
  `RedirectLink` text DEFAULT NULL,
  `Picture` text DEFAULT NULL,
  `Status` int(11) DEFAULT 1,
  `CreatedBy` int(11) DEFAULT NULL,
  `CreatedDate` datetime DEFAULT NULL,
  `ModififedBy` int(11) DEFAULT NULL,
  `ModififedDate` datetime DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

--
-- Table structure for table `hrdocumentstatus`
--

CREATE TABLE `hrdocumentstatus` (
  `Id` int(11) NOT NULL,
  `Name` varchar(250) DEFAULT NULL,
  `Code` varchar(50) DEFAULT NULL,
  `Description` text DEFAULT NULL,
  `Status` int(11) DEFAULT NULL,
  `CreatedBy` int(11) DEFAULT NULL,
  `CreatedDate` datetime DEFAULT NULL,
  `ModifiedBy` int(11) DEFAULT NULL,
  `ModifiedDate` datetime DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

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

--
-- Table structure for table `hrdocumenttype`
--

CREATE TABLE `hrdocumenttype` (
  `Id` int(11) NOT NULL,
  `Code` varchar(50) DEFAULT NULL,
  `Name` varchar(255) DEFAULT NULL,
  `Status` int(11) DEFAULT NULL,
  `CreatedBy` int(11) DEFAULT NULL,
  `CreatedDate` datetime DEFAULT NULL,
  `ModifiedBy` int(11) DEFAULT NULL,
  `ModifiedDate` datetime DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

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

--
-- Table structure for table `hrinstitute`
--

CREATE TABLE `hrinstitute` (
  `Id` bigint(20) NOT NULL,
  `InstituteName` varchar(1000) DEFAULT NULL,
  `Description` text DEFAULT NULL,
  `Status` smallint(6) DEFAULT 1,
  `CreatedDate` datetime DEFAULT NULL,
  `CreatedBy` int(11) DEFAULT NULL,
  `ModifiedBy` int(11) DEFAULT NULL,
  `ModifiedDate` datetime DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

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

--
-- Table structure for table `industry`
--

CREATE TABLE `industry` (
  `Id` bigint(20) NOT NULL,
  `IndustryName` varchar(100) DEFAULT NULL,
  `Description` text DEFAULT NULL,
  `Status` smallint(6) DEFAULT 1,
  `CreatedDate` datetime DEFAULT NULL,
  `CreatedBy` int(11) DEFAULT NULL,
  `ModifiedBy` int(11) DEFAULT NULL,
  `ModifiedDate` datetime DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

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

--
-- Table structure for table `institute`
--

CREATE TABLE `institute` (
  `Id` bigint(20) NOT NULL,
  `InstituteName` varchar(1000) DEFAULT NULL,
  `Description` text DEFAULT NULL,
  `Status` smallint(6) DEFAULT 1,
  `CreatedDate` datetime DEFAULT NULL,
  `CreatedBy` int(11) DEFAULT NULL,
  `ModifiedBy` int(11) DEFAULT NULL,
  `ModifiedDate` datetime DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

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

--
-- Table structure for table `interest`
--

CREATE TABLE `interest` (
  `Id` bigint(20) NOT NULL,
  `InterestName` varchar(100) DEFAULT NULL,
  `Description` text DEFAULT NULL,
  `Status` smallint(6) DEFAULT 1,
  `CreatedDate` datetime DEFAULT NULL,
  `CreatedBy` int(11) DEFAULT NULL,
  `ModifiedBy` int(11) DEFAULT NULL,
  `ModifiedDate` datetime DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

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

--
-- Table structure for table `logofviconsetting`
--

CREATE TABLE `logofviconsetting` (
  `Id` int(11) NOT NULL,
  `Logo` text DEFAULT NULL,
  `FVIcon` text DEFAULT NULL,
  `Status` int(11) DEFAULT NULL,
  `CreatedBy` int(11) DEFAULT NULL,
  `CreatedDate` datetime DEFAULT NULL,
  `ModifiedBy` int(11) DEFAULT NULL,
  `ModifiedDate` datetime DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `logofviconsetting`
--

INSERT INTO `logofviconsetting` (`Id`, `Logo`, `FVIcon`, `Status`, `CreatedBy`, `CreatedDate`, `ModifiedBy`, `ModifiedDate`) VALUES
(1, 'logofviconpicture/020240221171136shoplixlogo.png', 'logofviconpicture/020240225105108shoplixlogo.png', 1, 0, '2024-02-25 10:51:08', NULL, NULL);

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

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

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

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

INSERT INTO `migrations` (`id`, `migration`, `batch`) VALUES
(1, '2014_10_12_000000_create_users_table', 1),
(2, '2014_10_12_100000_create_password_reset_tokens_table', 1),
(3, '2019_08_19_000000_create_failed_jobs_table', 1),
(4, '2019_12_14_000001_create_personal_access_tokens_table', 1),
(5, '2023_09_20_143010_create_category_table', 1),
(6, '2023_09_20_143023_create_area_table', 1),
(7, '2023_09_20_143031_create_attribute_table', 1),
(8, '2023_09_20_143037_create_brand_table', 1),
(9, '2023_09_20_143043_create_city_table', 1),
(10, '2023_09_20_143051_create_country_table', 1),
(11, '2023_09_20_143102_create_customer_table', 1),
(12, '2023_09_20_143113_create_emailconfig_table', 1),
(13, '2023_09_20_143128_create_emailtemplate_table', 1),
(14, '2023_09_20_143138_create_order_table', 1),
(15, '2023_09_20_143143_create_orderdetail_table', 1),
(16, '2023_09_20_143152_create_orderstatus_table', 1),
(17, '2023_09_20_143159_create_orderstype_table', 1),
(18, '2023_09_20_143213_create_pages_table', 1),
(19, '2023_09_20_143220_create_product_table', 1),
(20, '2023_09_20_143225_create_productreview_table', 1),
(21, '2023_09_20_143233_create_productreport_table', 1),
(22, '2023_09_20_143246_create_returpolicy_table', 1),
(23, '2023_09_20_143254_create_shipping_table', 1),
(24, '2023_09_20_143300_create_state_table', 1),
(25, '2023_09_20_143305_create_tax_table', 1),
(26, '2023_09_20_143312_create_users_table', 2),
(27, '2023_09_20_143319_create_usertype_table', 2),
(28, '2023_09_25_142210_create_productattribute_table', 3),
(29, '2023_09_25_144158_create_seller_table', 4),
(30, '2023_10_13_103811_create_coupon_table', 5),
(31, '2023_10_13_104931_create_blogcategory_table', 6),
(32, '2023_10_13_104953_create_blog_table', 6),
(33, '2023_12_11_140055_create_admin_user_table', 6),
(34, '2023_12_19_111337_create_findus_table', 7),
(35, '2023_12_21_091943_create_unit_table', 8),
(36, '2023_12_21_122955_create_contactus_table', 9),
(37, '2023_12_21_143831_create_contactusreply_table', 10),
(38, '2023_12_24_085834_create_socialmedialinks_table', 11),
(39, '2024_01_03_123645_create_campaign_table', 12),
(40, '2024_01_03_124443_create_campaignproduct_table', 13);

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

--
-- Table structure for table `nationality`
--

CREATE TABLE `nationality` (
  `Id` bigint(20) NOT NULL,
  `Nationality` varchar(250) DEFAULT NULL,
  `Description` text DEFAULT NULL,
  `Status` smallint(6) DEFAULT 1,
  `CreatedDate` datetime DEFAULT NULL,
  `CreatedBy` int(11) DEFAULT NULL,
  `ModifiedBy` int(11) DEFAULT NULL,
  `ModifiedDate` datetime DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

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

--
-- Table structure for table `orderbillinginfo`
--

CREATE TABLE `orderbillinginfo` (
  `Id` bigint(20) NOT NULL,
  `OrderId` bigint(20) DEFAULT NULL,
  `FirstName` varchar(255) DEFAULT NULL,
  `LastName` varchar(255) DEFAULT NULL,
  `Address` longtext DEFAULT NULL,
  `CountryId` int(11) DEFAULT NULL,
  `CityId` int(11) DEFAULT NULL,
  `MobileNo` varchar(255) DEFAULT NULL,
  `PostalCode` varchar(30) DEFAULT NULL,
  `Status` int(11) DEFAULT NULL,
  `CreatedBy` int(11) DEFAULT NULL,
  `CreatedDate` datetime DEFAULT NULL,
  `ModifiedBy` int(11) DEFAULT NULL,
  `ModifiedDate` datetime DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `orderbillinginfo`
--

INSERT INTO `orderbillinginfo` (`Id`, `OrderId`, `FirstName`, `LastName`, `Address`, `CountryId`, `CityId`, `MobileNo`, `PostalCode`, `Status`, `CreatedBy`, `CreatedDate`, `ModifiedBy`, `ModifiedDate`) VALUES
(1, 3, 'Nabeel', 'Ezad', 'House No 22 Nargis Street Taj Bagh Housing Scheme Lahore', 1, -1, '03244492569', '54600', 1, 0, '2024-01-29 12:46:26', NULL, NULL),
(2, 4, 'Nabeel', 'Ezad', 'House No 22 Nargis Street Taj Bagh Housing Scheme Lahore', 1, 1, '03244492569', '54600', 1, 0, '2024-01-29 14:30:43', NULL, NULL),
(3, 5, 'Nabeel', 'Ezad', 'House No 22 Nargis Street Taj Bagh Housing Scheme Lahore', 1, 1, '03244492569', '54600', 1, 0, '2024-01-31 07:36:38', NULL, NULL),
(4, 6, 'Nabeel', 'Ezad', 'House No 22 Nargis Street Taj Bagh Housing Scheme Lahore', 1, 1, '03244492569', '54600', 1, 0, '2024-01-31 07:36:38', NULL, NULL);

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

--
-- Table structure for table `orderdetail`
--

CREATE TABLE `orderdetail` (
  `Id` bigint(20) UNSIGNED NOT NULL,
  `OrderId` bigint(20) DEFAULT NULL,
  `ProductId` bigint(20) DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `AttributeValue` longtext DEFAULT NULL,
  `Price` double DEFAULT NULL,
  `Quantity` double DEFAULT NULL,
  `SubTotal` double DEFAULT NULL,
  `Discount` double DEFAULT NULL,
  `Tax` double DEFAULT 0,
  `NetAmount` double DEFAULT 0
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `orderdetail`
--

INSERT INTO `orderdetail` (`Id`, `OrderId`, `ProductId`, `created_at`, `updated_at`, `AttributeValue`, `Price`, `Quantity`, `SubTotal`, `Discount`, `Tax`, `NetAmount`) VALUES
(1, 1, 14, NULL, NULL, 'None', 69, 1, 69, 0, 0, 69),
(2, 2, 14, NULL, NULL, 'None', 69, 1, 69, 0, 0, 69),
(3, 3, 14, NULL, NULL, 'None', 69, 2, 138, 0, 0, 138),
(4, 3, 13, NULL, NULL, 'None', 184.5, 1, 184.5, 0, 0, 184.5),
(5, 4, 14, NULL, NULL, 'None', 69, 1, 69, 0, 0, 69),
(6, 4, 13, NULL, NULL, 'None', 184.5, 1, 184.5, 0, 0, 184.5),
(7, 5, 14, NULL, NULL, 'None', 69, 1, 69, 0, 0, 69),
(8, 6, 14, NULL, NULL, 'None', 69, 1, 69, 0, 0, 69);

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

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

CREATE TABLE `orders` (
  `Id` bigint(20) NOT NULL,
  `OrderNo` varchar(255) DEFAULT NULL,
  `OrderDate` datetime DEFAULT NULL,
  `Quantity` double DEFAULT 0,
  `GrossTotal` double DEFAULT 0,
  `TotalDiscount` double DEFAULT 0,
  `TotalTax` double DEFAULT 0,
  `NetTotal` double NOT NULL DEFAULT 0,
  `OrderStatusId` int(11) DEFAULT 1,
  `CustomerId` int(11) DEFAULT NULL,
  `PaymentStatus` int(11) DEFAULT 1,
  `Status` int(11) DEFAULT 1,
  `CreatedBy` int(11) DEFAULT NULL,
  `ModifiedBy` int(11) DEFAULT NULL,
  `PaymentTypeId` int(11) DEFAULT NULL,
  `ShippingId` int(11) DEFAULT NULL,
  `ShippingCharges` double DEFAULT 0,
  `CreatedDate` datetime DEFAULT NULL,
  `ModifiedDate` datetime DEFAULT NULL,
  `ShippedDate` datetime DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `orders`
--

INSERT INTO `orders` (`Id`, `OrderNo`, `OrderDate`, `Quantity`, `GrossTotal`, `TotalDiscount`, `TotalTax`, `NetTotal`, `OrderStatusId`, `CustomerId`, `PaymentStatus`, `Status`, `CreatedBy`, `ModifiedBy`, `PaymentTypeId`, `ShippingId`, `ShippingCharges`, `CreatedDate`, `ModifiedDate`, `ShippedDate`) VALUES
(1, '1', '2024-01-29 12:29:24', 1, 69, 0, 0, 1269, 4, 1, 2, 1, 0, 0, 1, 1, 1200, '2024-01-29 12:29:24', '2024-02-23 13:00:24', NULL),
(2, '1', '2024-01-29 12:31:06', 1, 69, 0, 0, 1269, 1, 1, 1, 1, 0, NULL, 1, 1, 1200, '2024-01-29 12:31:06', NULL, NULL),
(3, '1', '2024-01-29 12:46:26', 3, 322.5, 0, 0, 1522.5, 2, 1, 1, 1, 0, 0, 1, 1, 1200, '2024-01-29 12:46:26', '2024-02-02 12:56:01', NULL),
(4, '1', '2024-01-29 14:30:43', 2, 253.5, 0, 0, 1453.5, 4, 1, 2, 1, 0, 0, 1, 1, 1200, '2024-01-29 14:30:43', '2024-02-23 13:00:01', NULL),
(5, '1', '2024-01-31 07:36:38', 1, 69, 0, 0, 1269, 3, 1, 1, 1, 0, 0, 1, 1, 1200, '2024-01-31 07:36:38', '2024-02-02 12:56:34', NULL),
(6, '1', '2024-01-31 07:36:38', 1, 69, 0, 0, 1269, 1, 1, 1, 1, 0, NULL, 1, 1, 1200, '2024-01-31 07:36:38', NULL, NULL);

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

--
-- Table structure for table `ordershippinginfo`
--

CREATE TABLE `ordershippinginfo` (
  `Id` bigint(20) NOT NULL,
  `OrderId` bigint(20) DEFAULT NULL,
  `FirstName` varchar(255) DEFAULT NULL,
  `LastName` varchar(255) DEFAULT NULL,
  `Address` longtext DEFAULT NULL,
  `CountryId` int(11) DEFAULT NULL,
  `CityId` int(11) DEFAULT NULL,
  `MobileNo` varchar(255) DEFAULT NULL,
  `PostalCode` varchar(30) DEFAULT NULL,
  `Status` int(11) DEFAULT NULL,
  `CreatedBy` int(11) DEFAULT NULL,
  `CreatedDate` datetime DEFAULT NULL,
  `ModifiedBy` int(11) DEFAULT NULL,
  `ModifiedDate` datetime DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `ordershippinginfo`
--

INSERT INTO `ordershippinginfo` (`Id`, `OrderId`, `FirstName`, `LastName`, `Address`, `CountryId`, `CityId`, `MobileNo`, `PostalCode`, `Status`, `CreatedBy`, `CreatedDate`, `ModifiedBy`, `ModifiedDate`) VALUES
(1, 3, 'Nabeel', 'Ezad', 'House No 22 Nargis Street Taj Bagh Housing Scheme Lahore', 1, -1, '03244492569', '54600', 1, 0, '2024-01-29 12:46:26', NULL, NULL),
(2, 4, 'Nabeel', 'Ezad', 'House No 22 Nargis Street Taj Bagh Housing Scheme Lahore', 1, 1, '03244492569', '54600', 1, 0, '2024-01-29 14:30:43', NULL, NULL),
(3, 5, 'Nabeel', 'Ezad', 'House No 22 Nargis Street Taj Bagh Housing Scheme Lahore', 1, 1, '03244492569', '54600', 1, 0, '2024-01-31 07:36:38', NULL, NULL),
(4, 6, 'Nabeel', 'Ezad', 'House No 22 Nargis Street Taj Bagh Housing Scheme Lahore', 1, 1, '03244492569', '54600', 1, 0, '2024-01-31 07:36:38', NULL, NULL);

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

--
-- Table structure for table `orderstatus`
--

CREATE TABLE `orderstatus` (
  `Id` int(10) UNSIGNED NOT NULL,
  `Code` varchar(255) NOT NULL,
  `Name` varchar(255) NOT NULL,
  `Status` smallint(6) NOT NULL DEFAULT 0,
  `CreatedDate` datetime DEFAULT NULL,
  `CreatedBy` int(11) NOT NULL DEFAULT 0,
  `ModifiedDate` datetime DEFAULT NULL,
  `ModifiedBy` int(11) NOT NULL DEFAULT 0,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `orderstatus`
--

INSERT INTO `orderstatus` (`Id`, `Code`, `Name`, `Status`, `CreatedDate`, `CreatedBy`, `ModifiedDate`, `ModifiedBy`, `created_at`, `updated_at`) VALUES
(1, '01', 'Pending', 1, '2023-09-26 10:40:18', 0, '2023-09-26 10:40:36', 0, NULL, NULL),
(2, '02', 'Progress', 1, '2023-09-26 10:40:46', 0, '2024-01-03 11:14:11', 0, NULL, NULL),
(3, '03', 'Delivered', 1, '2024-01-03 11:14:32', 0, NULL, 0, NULL, NULL),
(4, '04', 'Completed', 1, '2024-01-03 11:14:44', 0, NULL, 0, NULL, NULL),
(5, '05', 'Declined', 1, '2024-01-03 11:15:14', 0, NULL, 0, NULL, NULL);

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

--
-- Table structure for table `orderstype`
--

CREATE TABLE `orderstype` (
  `Id` int(10) UNSIGNED NOT NULL,
  `Code` varchar(255) NOT NULL,
  `Name` varchar(255) NOT NULL,
  `Status` smallint(6) NOT NULL DEFAULT 0,
  `CreatedDate` datetime DEFAULT NULL,
  `CreatedBy` int(11) NOT NULL DEFAULT 0,
  `ModifiedDate` datetime DEFAULT NULL,
  `ModifiedBy` int(11) NOT NULL DEFAULT 0,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `orderstype`
--

INSERT INTO `orderstype` (`Id`, `Code`, `Name`, `Status`, `CreatedDate`, `CreatedBy`, `ModifiedDate`, `ModifiedBy`, `created_at`, `updated_at`) VALUES
(1, '01', 'Local', 1, '2023-09-26 09:25:41', 0, '2023-09-26 09:26:52', 0, NULL, NULL),
(3, '02', 'Import', 1, '2024-01-06 05:25:10', 0, NULL, 0, NULL, NULL);

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

--
-- Table structure for table `pages`
--

CREATE TABLE `pages` (
  `Id` int(10) UNSIGNED NOT NULL,
  `Title` text NOT NULL,
  `Banner` longtext NOT NULL,
  `Description` longtext NOT NULL,
  `Status` smallint(6) NOT NULL DEFAULT 0,
  `CreatedDate` datetime DEFAULT NULL,
  `CreatedBy` int(11) NOT NULL DEFAULT 0,
  `ModifiedDate` datetime DEFAULT NULL,
  `ModifiedBy` int(11) NOT NULL DEFAULT 0,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

--
-- Table structure for table `paymentstatus`
--

CREATE TABLE `paymentstatus` (
  `Id` int(11) NOT NULL,
  `Code` varchar(255) DEFAULT NULL,
  `Name` varchar(255) DEFAULT NULL,
  `Status` int(11) DEFAULT NULL,
  `CreatedBy` int(11) DEFAULT NULL,
  `CreatedDate` datetime DEFAULT NULL,
  `ModifiedBy` int(11) DEFAULT NULL,
  `ModifiedDate` datetime DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `paymentstatus`
--

INSERT INTO `paymentstatus` (`Id`, `Code`, `Name`, `Status`, `CreatedBy`, `CreatedDate`, `ModifiedBy`, `ModifiedDate`) VALUES
(1, '01', 'Pending', 1, NULL, NULL, NULL, NULL),
(2, '02', 'Paid', 1, NULL, NULL, NULL, NULL),
(3, '03', 'Refund', 1, NULL, NULL, NULL, NULL);

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

--
-- Table structure for table `paymenttype`
--

CREATE TABLE `paymenttype` (
  `Id` int(11) NOT NULL,
  `Code` varchar(255) DEFAULT NULL,
  `Name` varchar(255) DEFAULT NULL,
  `Status` int(11) DEFAULT NULL,
  `CreatedBy` int(11) DEFAULT 1,
  `CreatedDate` datetime DEFAULT NULL,
  `ModifiedBy` int(11) DEFAULT NULL,
  `ModifiedDate` datetime DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `paymenttype`
--

INSERT INTO `paymenttype` (`Id`, `Code`, `Name`, `Status`, `CreatedBy`, `CreatedDate`, `ModifiedBy`, `ModifiedDate`) VALUES
(1, '01', 'Cash on Delivery', 1, 1, NULL, NULL, NULL),
(2, '02', 'Bank Transfer', 1, 1, NULL, NULL, NULL),
(4, '03', 'Stripe', 1, 0, '2024-03-09 19:20:00', NULL, NULL);

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

--
-- Table structure for table `placeofsupply`
--

CREATE TABLE `placeofsupply` (
  `Id` int(11) NOT NULL,
  `Code` varchar(45) DEFAULT NULL,
  `Name` text DEFAULT NULL,
  `Description` text DEFAULT NULL,
  `Status` int(11) DEFAULT NULL,
  `CreatedBy` int(11) DEFAULT NULL,
  `CreatedDate` datetime DEFAULT NULL,
  `ModifiedBy` int(11) DEFAULT NULL,
  `ModifiedDate` datetime DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `placeofsupply`
--

INSERT INTO `placeofsupply` (`Id`, `Code`, `Name`, `Description`, `Status`, `CreatedBy`, `CreatedDate`, `ModifiedBy`, `ModifiedDate`) VALUES
(1, '01', 'UAE', 'UAE', 1, 1, NULL, NULL, NULL),
(2, '01', 'UAE', 'UAE', 0, 1, NULL, NULL, NULL);

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

--
-- Table structure for table `possetting`
--

CREATE TABLE `possetting` (
  `id` int(11) NOT NULL,
  `Lang` varchar(255) DEFAULT NULL,
  `Logo` text DEFAULT NULL,
  `ShopName` text DEFAULT NULL,
  `Address` text DEFAULT NULL,
  `PhoneNo` varchar(30) DEFAULT NULL,
  `PhoneNoTwo` varchar(30) DEFAULT NULL,
  `EmailAddress` varchar(255) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

--
-- Table structure for table `product`
--

CREATE TABLE `product` (
  `Id` bigint(20) UNSIGNED NOT NULL,
  `Thumbnai` text DEFAULT NULL,
  `BannerImage` text DEFAULT NULL,
  `ShorName` text DEFAULT NULL,
  `Name` text NOT NULL,
  `Slug` text DEFAULT NULL,
  `CategoryId` int(11) DEFAULT NULL,
  `SubCategoryId` int(11) DEFAULT NULL,
  `ChildCategoryId` int(11) DEFAULT NULL,
  `BrandId` int(11) DEFAULT NULL,
  `PurchasePrice` decimal(10,2) DEFAULT 0.00,
  `SalePrice` decimal(10,2) DEFAULT 0.00,
  `StockQty` double(10,2) DEFAULT 0.00,
  `VideoLink` text DEFAULT NULL,
  `ShortDescription` longtext DEFAULT NULL,
  `LongDescription` longtext DEFAULT NULL,
  `Tags` text DEFAULT NULL,
  `Returnable` int(11) NOT NULL DEFAULT 0,
  `Warranty` int(11) NOT NULL DEFAULT 0,
  `Status` int(11) NOT NULL DEFAULT 1,
  `SEOTitle` text DEFAULT NULL,
  `SeoDescription` longtext DEFAULT NULL,
  `CreatedDate` datetime DEFAULT NULL,
  `CreatedBy` int(11) NOT NULL DEFAULT 0,
  `ModifiedDate` datetime DEFAULT NULL,
  `ModifiedBy` int(11) NOT NULL DEFAULT 0,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `SellerId` int(11) DEFAULT NULL,
  `TaxId` int(11) DEFAULT NULL,
  `TaxRate` float DEFAULT 0,
  `TaxValue` double DEFAULT 0,
  `SKU` varchar(255) DEFAULT NULL,
  `Featured` int(11) NOT NULL DEFAULT 0,
  `UnitId` int(11) DEFAULT NULL,
  `WholeSalePrice` double DEFAULT 0,
  `ExpireyDate` date DEFAULT NULL,
  `MinStockValue` double DEFAULT 0,
  `NameUr` varchar(255) DEFAULT NULL,
  `BarCode` varchar(255) DEFAULT NULL,
  `ProductTypeId` int(11) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `product`
--

INSERT INTO `product` (`Id`, `Thumbnai`, `BannerImage`, `ShorName`, `Name`, `Slug`, `CategoryId`, `SubCategoryId`, `ChildCategoryId`, `BrandId`, `PurchasePrice`, `SalePrice`, `StockQty`, `VideoLink`, `ShortDescription`, `LongDescription`, `Tags`, `Returnable`, `Warranty`, `Status`, `SEOTitle`, `SeoDescription`, `CreatedDate`, `CreatedBy`, `ModifiedDate`, `ModifiedBy`, `created_at`, `updated_at`, `SellerId`, `TaxId`, `TaxRate`, `TaxValue`, `SKU`, `Featured`, `UnitId`, `WholeSalePrice`, `ExpireyDate`, `MinStockValue`, `NameUr`, `BarCode`, `ProductTypeId`) VALUES
(3, 'productthumbpicture/320240627102333409b64915c9fc54b491b8f95b8ecea6a.JPG_thumb.jpg', NULL, NULL, 'SH01-13-3A0A', NULL, 1, 2, 0, 1, 3.00, 8.00, 1.00, NULL, NULL, NULL, NULL, 0, 0, 1, NULL, NULL, '2024-09-24 09:34:41', 0, NULL, 0, NULL, NULL, 1, 1, 0, 0.4, 'PR-0000001', 0, 1, 8, NULL, NULL, 'ائیر فلٹر', 'PR-0000001', 1),
(4, 'productthumbpicture/32024062710253697751f3a836ef669a1292eb4f8d1f6da_thumb.jpg', NULL, NULL, '17801-21050', NULL, 1, 2, 0, 1, 500.00, 600.00, 1.00, NULL, NULL, NULL, NULL, 1, 0, 1, NULL, NULL, '2024-06-27 13:14:55', 0, '2024-12-31 11:06:40', 1, NULL, NULL, 1, 1, 0, 0.18, 'PR-0000004', 0, 1, 550, NULL, NULL, 'ائیر فلٹر', 'PR-0000004', 1),
(6, 'productthumbpicture/32024062715031463aff4e6e2c655e01cdd226b3fbcc2dd_thumb.jpg', NULL, NULL, '27274-EA000', NULL, 1, 3, 0, 1, 500.00, 600.00, 1.00, NULL, NULL, NULL, NULL, 1, 0, 1, NULL, NULL, '2024-06-27 15:44:21', 0, '2024-12-31 11:06:22', 1, NULL, NULL, 1, 1, 0, 0.3, 'PR-0000005', 0, 1, 550, NULL, NULL, '\0', 'PR-0000005', 1),
(7, 'productthumbpicture/320240627150602dbc9e271cc0117ac4844dd29710398cd_thumb.jpg', NULL, NULL, '27274-EB700', NULL, 1, 3, NULL, 2, 1.10, 6.00, 1.00, NULL, NULL, 'CABIN FILTER (SET)', NULL, 1, 2, 1, NULL, NULL, '2024-06-27 15:06:02', 3, NULL, 0, NULL, NULL, 1, 1, 0, 0.3, 'PR-0000007', 0, 1, 6, NULL, NULL, NULL, 'PR-0000007', 1),
(8, 'productthumbpicture/32024062715471432c8554929609669c51c6668303094ca_thumb.jpg', NULL, NULL, '27277-1HD0B', NULL, 1, 3, NULL, 1, 1.10, 4.00, 1.00, NULL, NULL, 'CABIN FILTER', NULL, 1, 2, 1, NULL, NULL, '2024-06-27 15:47:14', 3, NULL, 0, NULL, NULL, 1, 1, 0, 0.2, 'PR-0000008', 0, 1, 3.5, NULL, NULL, NULL, 'PR-0000008', 1),
(9, NULL, NULL, NULL, '27277-3AW0A', NULL, 1, 3, NULL, 1, 2.00, 4.00, 1.00, NULL, NULL, 'CABIN FILTER', NULL, 1, 2, 1, NULL, NULL, '2024-06-27 15:53:58', 3, NULL, 0, NULL, NULL, 1, 1, 0, 0.2, 'PR-0000009', 0, 1, 4, NULL, NULL, NULL, 'PR-0000009', 1),
(10, 'productthumbpicture/3202406271559202a035da19fd979a52fefe06fdfa56e16_thumb.jpg', NULL, NULL, '27277-4M425', NULL, 1, 3, NULL, 1, 1.10, 4.00, 1.00, NULL, NULL, 'CABIN FILTER', NULL, 1, 2, 1, NULL, NULL, '2024-06-27 15:59:20', 3, NULL, 0, NULL, NULL, 1, 1, 0, 0.2, 'PR-0000010', 0, 1, 4, NULL, NULL, NULL, 'PR-0000010', 1),
(11, 'productthumbpicture/3202406271602423cb18f34a7afa51ba28579a95af95616_thumb.jpg', NULL, NULL, '27891-3YF0A', NULL, 1, 3, 0, 1, 1.48, 5.00, 1.00, NULL, NULL, NULL, NULL, 1, 0, 1, NULL, NULL, '2024-06-27 17:38:22', 0, NULL, 0, NULL, NULL, 1, 1, 0, 0.25, 'PR-0000011', 0, 1, 5, NULL, NULL, NULL, 'PR-0000011', 1),
(12, 'productthumbpicture/320240627160654FIN-FA14551-560x252.jpg', NULL, NULL, '51186-41960', NULL, 1, 3, NULL, 1, 3.00, 4.00, 1.00, NULL, NULL, 'CABIN FILTER', NULL, 1, 2, 1, NULL, NULL, '2024-06-27 16:06:54', 3, NULL, 0, NULL, NULL, 1, 1, 0, 0.2, 'PR-0000012', 0, 1, 4, NULL, NULL, NULL, 'PR-0000012', 1),
(13, 'productthumbpicture/320240627161404c8cdd30f715a0ca23ada2d0d23e3f29b_thumb.jpg', NULL, NULL, '80292-SDC-A01', NULL, 1, 3, 0, 1, 1.10, 6.00, 1.00, NULL, NULL, NULL, NULL, 1, 0, 1, NULL, NULL, '2024-09-14 13:28:00', 0, NULL, 0, NULL, NULL, 1, 1, 0, 0.25, 'PR-0000013', 0, 1, 5, NULL, NULL, NULL, 'PR-0000013', 1),
(14, 'productthumbpicture/3202406271622167a1b5656d8f23a6992e8b62fa19d75cd_thumb.jpg', NULL, NULL, '80291-TF0-941', NULL, 1, 3, 0, 0, 1.00, 5.00, 1.00, NULL, NULL, 'CABIN FILTER', NULL, 1, 0, 1, NULL, NULL, '2024-07-05 13:57:51', 0, NULL, 0, NULL, NULL, 1, 1, 0, 0.25, 'PR-0000014', 0, 1, 5, NULL, NULL, NULL, 'PR-0000014', 1),
(15, NULL, NULL, NULL, '15208-31U00', NULL, 1, 4, NULL, 3, 1.50, 2.00, 1.00, NULL, NULL, 'OIL FILTER', NULL, 1, 2, 1, NULL, NULL, '2024-09-25 09:37:57', 1, NULL, 0, NULL, NULL, 1, 1, 0, 0.1, 'PR-0000015', 0, 1, 2, NULL, 250, NULL, 'PR-0000015', 1),
(16, NULL, NULL, NULL, '90915-10001', NULL, 1, 4, NULL, 1, 1.00, 2.30, 0.00, NULL, NULL, 'OIL FILTER', NULL, 1, 2, 1, NULL, NULL, '2024-10-17 07:19:04', 1, NULL, 0, NULL, NULL, 1, 1, 0, 0.12, 'PR-0000016', 0, 1, 2.2, NULL, NULL, NULL, 'PR-0000016', 1),
(17, NULL, NULL, NULL, '90915-10001', NULL, 1, 4, NULL, 1, 1.00, 2.30, 1.00, NULL, NULL, 'OIL FILTER', NULL, 1, 2, 1, NULL, NULL, '2024-10-17 07:19:23', 1, NULL, 0, NULL, NULL, 1, 1, 0, 0.12, 'PR-0000016', 0, 1, 2.2, NULL, NULL, NULL, 'PR-0000016', 1),
(18, NULL, NULL, NULL, '90915-10001', NULL, 1, 4, NULL, 1, 1.00, 2.30, 2.00, NULL, NULL, 'OIL FILTER', NULL, 1, 2, 1, NULL, NULL, '2024-10-17 07:19:45', 1, NULL, 0, NULL, NULL, 1, 1, 0, 0.12, 'PR-0000016', 0, 1, 2.2, NULL, 1, NULL, 'PR-0000016', 1),
(19, NULL, NULL, NULL, '90915-10001', NULL, 1, 4, NULL, 1, 1.00, 2.30, 1000.00, NULL, NULL, 'OIL FILTER', NULL, 1, 2, 1, NULL, NULL, '2024-10-17 07:20:02', 1, NULL, 0, NULL, NULL, 1, 1, 0, 0.12, 'PR-0000016', 0, 1, 2.2, NULL, 1, NULL, 'PR-0000016', 1);

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

--
-- Table structure for table `productattribute`
--

CREATE TABLE `productattribute` (
  `Id` bigint(20) UNSIGNED NOT NULL,
  `ProductId` int(11) NOT NULL,
  `AttributeId` int(11) NOT NULL,
  `AttributeValue` text DEFAULT NULL,
  `CreatedDate` datetime DEFAULT NULL,
  `CreatedBy` int(11) NOT NULL DEFAULT 0,
  `ModifiedDate` datetime DEFAULT NULL,
  `ModifiedBy` int(11) NOT NULL DEFAULT 0,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `ShonOnDetail` smallint(6) NOT NULL DEFAULT 0
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `productattribute`
--

INSERT INTO `productattribute` (`Id`, `ProductId`, `AttributeId`, `AttributeValue`, `CreatedDate`, `CreatedBy`, `ModifiedDate`, `ModifiedBy`, `created_at`, `updated_at`, `ShonOnDetail`) VALUES
(5, 4, 7, '17801-YZZ05,17801-0D090,17801-0M020,17801-0T020,17801-0T030', '2024-06-27 13:14:55', 0, NULL, 0, NULL, NULL, 1),
(7, 7, 7, '27274-EB725', '2024-06-27 15:06:02', 3, NULL, 0, NULL, NULL, 1),
(8, 6, 7, '27274-9CH0A ,27277-VR00A,999M-1VR006,999M1-VR056', '2024-06-27 15:44:21', 0, NULL, 0, NULL, NULL, 1),
(9, 8, 7, '27277-1HA0A ,27277-1HD0A ,27277-1HD0B,27277-1HDKE,27277-1HE0E,27277-1KK0A ,27277-1KK0C,27277-9ME0A ,27278-1KK0A', '2024-06-27 15:47:14', 3, NULL, 0, NULL, NULL, 1),
(10, 10, 7, '27277-4M400, 7803A112, 87139-30100,', '2024-06-27 15:59:20', 3, NULL, 0, NULL, NULL, 1),
(11, 10, 7, '27274-WD000, 27275-0N025,7803A004, 8981394280', '2024-06-27 15:59:20', 3, NULL, 0, NULL, NULL, 1),
(13, 12, 7, '51186-42300', '2024-06-27 16:06:54', 3, NULL, 0, NULL, NULL, 1),
(16, 11, 7, '27277-4HH0A, 27277-AR025,27277-1CA0A,27277-EG000,27277-EG025,27277-EG02A', '2024-06-27 17:38:22', 0, NULL, 0, NULL, NULL, 1),
(18, 14, 7, '80291-TF0-J01, 80292-TG0-T01,80292-TJA-H01,80292-TBA-A11', '2024-07-05 13:57:51', 0, NULL, 0, NULL, NULL, 1),
(19, 13, 7, '80292-SDA-A01, 80292-SDG-W01,', '2024-09-14 13:28:00', 0, NULL, 0, NULL, NULL, 1),
(20, 3, 7, 'SH01-13-A0A,PY8W-13-3A0', '2024-09-24 09:34:41', 0, NULL, 0, NULL, NULL, 1),
(21, 15, 7, '15208-31U0B', '2024-09-25 09:37:57', 1, NULL, 0, NULL, NULL, 1),
(22, 16, 7, '90915-YZZE1', '2024-10-17 07:19:04', 1, NULL, 0, NULL, NULL, 1),
(23, 17, 7, '90915-YZZE1', '2024-10-17 07:19:23', 1, NULL, 0, NULL, NULL, 1),
(24, 18, 7, '90915-YZZE1', '2024-10-17 07:19:45', 1, NULL, 0, NULL, NULL, 1),
(25, 19, 7, '90915-YZZE1', '2024-10-17 07:20:02', 1, NULL, 0, NULL, NULL, 1);

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

--
-- Table structure for table `productpicture`
--

CREATE TABLE `productpicture` (
  `Id` bigint(20) NOT NULL,
  `ProductId` bigint(20) NOT NULL,
  `PictureThumbPath` longtext NOT NULL,
  `PicturePath` longtext NOT NULL,
  `Status` int(11) NOT NULL,
  `CreatedBy` int(11) DEFAULT NULL,
  `CreatedDate` datetime DEFAULT NULL,
  `ModifiedBy` int(11) DEFAULT NULL,
  `ModifiedDate` datetime DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

--
-- Table structure for table `productrating`
--

CREATE TABLE `productrating` (
  `Id` bigint(20) NOT NULL,
  `ProductId` bigint(20) NOT NULL,
  `Rating` float NOT NULL DEFAULT 0,
  `CustomerId` int(11) NOT NULL,
  `IPAddress` varchar(255) DEFAULT NULL,
  `Status` int(11) DEFAULT 1,
  `CreatedBy` int(11) DEFAULT NULL,
  `CreatedDate` datetime DEFAULT NULL,
  `ModififedBy` int(11) DEFAULT NULL,
  `ModififedDate` datetime DEFAULT NULL,
  `Comment` longtext DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `productrating`
--

INSERT INTO `productrating` (`Id`, `ProductId`, `Rating`, `CustomerId`, `IPAddress`, `Status`, `CreatedBy`, `CreatedDate`, `ModififedBy`, `ModififedDate`, `Comment`) VALUES
(2, 13, 5, 0, NULL, 1, NULL, NULL, NULL, NULL, NULL),
(3, 13, 5, 0, NULL, 1, NULL, NULL, NULL, NULL, NULL),
(4, 13, 1, 0, NULL, 1, NULL, NULL, NULL, NULL, NULL),
(5, 13, 0, 0, NULL, 1, NULL, NULL, NULL, NULL, NULL),
(6, 13, 4, 0, NULL, 1, 1, NULL, NULL, NULL, NULL),
(8, 13, 3, 0, NULL, 1, NULL, NULL, NULL, NULL, NULL),
(9, 13, 3, 0, NULL, 1, NULL, NULL, NULL, NULL, NULL),
(10, 13, 4, 0, NULL, 1, NULL, NULL, NULL, NULL, NULL),
(11, 13, 4, 0, NULL, 1, NULL, NULL, NULL, NULL, NULL),
(12, 13, 3, 1, '1.1.1.1', 1, 0, '2024-01-25 11:37:10', 0, '2024-01-25 12:59:44', 'sdfdsf'),
(13, 13, 5, 1, '127.0.0.1', 1, 0, '2024-01-25 11:41:00', 0, '2024-01-25 12:49:47', 'Test Update'),
(14, 13, 2, 1, '127.0.0.1', 1, 0, '2024-01-25 13:04:58', 0, '2024-01-25 13:05:21', 'fhghfg'),
(15, 13, 4, 1, '127.0.0.1', 1, 0, '2024-01-28 08:26:46', 0, '2024-01-28 08:27:11', 'test review update test');

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

--
-- Table structure for table `productreport`
--

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

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

--
-- Table structure for table `productwarehouse`
--

CREATE TABLE `productwarehouse` (
  `Id` int(11) NOT NULL,
  `ProductId` int(11) DEFAULT NULL,
  `WareHouseId` int(11) DEFAULT NULL,
  `Quntity` decimal(10,0) DEFAULT NULL,
  `Status` int(11) DEFAULT NULL,
  `CreatedBy` int(11) DEFAULT NULL,
  `CreatedDate` datetime DEFAULT NULL,
  `ModifiedBy` int(11) DEFAULT NULL,
  `ModifiedDate` datetime DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `productwarehouse`
--

INSERT INTO `productwarehouse` (`Id`, `ProductId`, `WareHouseId`, `Quntity`, `Status`, `CreatedBy`, `CreatedDate`, `ModifiedBy`, `ModifiedDate`) VALUES
(1, 13, 1, NULL, NULL, 0, '2024-09-14 13:28:00', NULL, NULL),
(2, 3, 1, NULL, NULL, 0, '2024-09-24 09:34:41', NULL, NULL),
(3, 15, 1, NULL, NULL, 1, '2024-09-25 09:37:57', NULL, NULL);

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

--
-- Table structure for table `productype`
--

CREATE TABLE `productype` (
  `Id` int(10) UNSIGNED NOT NULL,
  `Code` varchar(255) NOT NULL,
  `Name` varchar(255) NOT NULL,
  `NameUr` varchar(255) DEFAULT NULL,
  `Status` smallint(6) NOT NULL DEFAULT 0,
  `CreatedDate` datetime DEFAULT NULL,
  `CreatedBy` int(11) NOT NULL DEFAULT 0,
  `ModifiedDate` datetime DEFAULT NULL,
  `ModifiedBy` int(11) NOT NULL DEFAULT 0,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `productype`
--

INSERT INTO `productype` (`Id`, `Code`, `Name`, `NameUr`, `Status`, `CreatedDate`, `CreatedBy`, `ModifiedDate`, `ModifiedBy`, `created_at`, `updated_at`) VALUES
(1, '01', 'Stock Item', 'Stock Item', 1, NULL, 0, NULL, 0, NULL, NULL);

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

--
-- Table structure for table `profession`
--

CREATE TABLE `profession` (
  `Id` bigint(20) NOT NULL,
  `ProfessionName` varchar(100) DEFAULT NULL,
  `Description` text DEFAULT NULL,
  `Status` smallint(6) DEFAULT NULL,
  `CreatedDate` datetime DEFAULT NULL,
  `CreatedBy` int(11) DEFAULT NULL,
  `ModifiedBy` int(11) DEFAULT NULL,
  `ModifiedDate` datetime DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

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

--
-- Table structure for table `relation`
--

CREATE TABLE `relation` (
  `Id` bigint(20) NOT NULL,
  `RelationName` varchar(100) DEFAULT NULL,
  `Description` text DEFAULT NULL,
  `Status` smallint(6) DEFAULT NULL,
  `CreatedDate` datetime DEFAULT NULL,
  `CreatedBy` int(11) DEFAULT NULL,
  `ModifiedBy` int(11) DEFAULT NULL,
  `ModifiedDate` datetime DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

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

--
-- Table structure for table `religion`
--

CREATE TABLE `religion` (
  `Id` bigint(20) NOT NULL,
  `ReligionName` varchar(1000) DEFAULT NULL,
  `Description` text DEFAULT NULL,
  `Status` smallint(6) DEFAULT 1,
  `CreatedDate` datetime DEFAULT NULL,
  `CreatedBy` int(11) DEFAULT NULL,
  `ModifiedBy` int(11) DEFAULT NULL,
  `ModifiedDate` datetime DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

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

--
-- Table structure for table `resignreason`
--

CREATE TABLE `resignreason` (
  `Id` int(11) NOT NULL,
  `Code` varchar(50) DEFAULT NULL,
  `Name` text DEFAULT NULL,
  `Description` text DEFAULT NULL,
  `Status` int(11) DEFAULT NULL,
  `CreatedBy` int(11) DEFAULT NULL,
  `CreatedDate` datetime DEFAULT NULL,
  `ModifiedBy` int(11) DEFAULT NULL,
  `ModifiedDate` datetime DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

--
-- Dumping data for table `resignreason`
--

INSERT INTO `resignreason` (`Id`, `Code`, `Name`, `Description`, `Status`, `CreatedBy`, `CreatedDate`, `ModifiedBy`, `ModifiedDate`) VALUES
(2, 'EC-0000002', 'fdg', 'dfg', 1, 1, '2024-11-26 14:20:56', NULL, NULL);

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

--
-- Table structure for table `returpolicy`
--

CREATE TABLE `returpolicy` (
  `Id` int(10) UNSIGNED NOT NULL,
  `Name` varchar(255) DEFAULT NULL,
  `Description` text DEFAULT NULL,
  `Status` int(11) NOT NULL DEFAULT 1,
  `CreatedDate` datetime DEFAULT NULL,
  `CreatedBy` int(11) DEFAULT NULL,
  `ModifiedDate` datetime DEFAULT NULL,
  `ModifiedBy` int(11) DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `returpolicy`
--

INSERT INTO `returpolicy` (`Id`, `Name`, `Description`, `Status`, `CreatedDate`, `CreatedBy`, `ModifiedDate`, `ModifiedBy`, `created_at`, `updated_at`) VALUES
(1, 'Title of return policy', 'Desc', 1, '2024-01-03 11:35:35', 0, NULL, NULL, NULL, NULL),
(4, 'sdf', 'sdfsf', 1, '2024-01-06 05:26:09', 0, NULL, NULL, NULL, NULL);

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

--
-- Table structure for table `sec_forms`
--

CREATE TABLE `sec_forms` (
  `Id` int(11) NOT NULL,
  `FormName` varchar(255) DEFAULT NULL,
  `Description` text DEFAULT NULL,
  `Status` int(11) DEFAULT NULL,
  `ModuleId` int(11) DEFAULT NULL,
  `LeftMenu` int(11) DEFAULT NULL,
  `FormTitle` varchar(255) DEFAULT NULL,
  `OrderNo` float DEFAULT NULL,
  `CreatedBy` int(11) DEFAULT NULL,
  `CreatedDate` datetime DEFAULT NULL,
  `ModifiedBy` int(11) DEFAULT NULL,
  `ModifiedDate` datetime DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `sec_forms`
--

INSERT INTO `sec_forms` (`Id`, `FormName`, `Description`, `Status`, `ModuleId`, `LeftMenu`, `FormTitle`, `OrderNo`, `CreatedBy`, `CreatedDate`, `ModifiedBy`, `ModifiedDate`) VALUES
(1, 'employee', 'Employee', 1, 1, 1, 'Employee', 1, NULL, NULL, NULL, NULL),
(2, 'category', 'Category', 1, 2, 1, 'Category', 1, NULL, NULL, NULL, NULL),
(3, 'brand', 'Brand', 1, 2, 1, 'Brand', 2, NULL, NULL, 1, '2024-06-11 13:00:59'),
(4, 'unit', 'Unit', 1, 2, 1, 'Unit', 3, NULL, NULL, 1, '2024-06-11 13:01:08'),
(5, 'attribute', 'Attribute', 1, 2, 1, 'Attribute', 4, 1, NULL, 1, '2024-06-11 13:01:24'),
(6, 'creditcustomer', 'creditcustomer', 1, 2, 1, 'Credit Customer', 5, 1, NULL, NULL, NULL),
(7, 'forms', 'Forms', 1, 6, 1, 'Forms', 1, 1, NULL, NULL, NULL),
(8, 'roles', 'Role', 1, 6, 1, 'Role', 2, 1, NULL, NULL, NULL),
(9, 'customerpayment', 'Customer Payment up', 1, 3, 1, 'Customer Payment', 1, 1, '2024-06-11 12:27:42', 1, '2024-06-11 12:59:50'),
(10, 'vendorpayment', 'Vendor Payment', 1, 3, 1, 'Vendor Payment', 2, 1, '2024-06-11 13:00:39', NULL, NULL),
(11, 'vendor', 'Vendor', 1, 2, 1, 'Vendor', 7, 1, '2024-06-11 13:15:27', NULL, NULL),
(12, 'product', 'Product', 1, 2, 1, 'Product', 3, 1, '2024-06-11 13:16:09', 1, '2024-06-12 10:43:42'),
(13, 'paymenttype', 'paymenttype', 1, 2, 1, 'Payment Method', 7, 1, '2024-06-12 11:07:40', NULL, NULL),
(14, 'grn', 'Goods Receiving Notes', 1, 2, 1, 'Goods Receiving Notes', 8, 1, '2024-06-12 11:09:20', NULL, NULL),
(15, 'stockadjust', 'Stock Adjustment', 1, 2, 1, 'Stock Adjustment', 9, 1, '2024-06-12 11:09:45', NULL, NULL),
(16, 'purchaseorder', 'Purchase Order', 1, 2, 1, 'Purchase Order', 11, 1, '2024-06-12 11:10:12', NULL, NULL),
(17, 'producttype', 'Product Type', 1, 2, 1, 'Product Type', 10, 1, '2024-06-12 11:25:17', NULL, NULL),
(18, 'storeexpense', 'Expense Type', 1, 5, 1, 'Expense Type', 1, 1, '2024-06-12 11:30:28', NULL, NULL),
(19, 'dailystoreexpense', 'Daily Store Expense', 1, 5, 1, 'Daily Store Expense', 2, 1, '2024-06-12 11:30:52', NULL, NULL),
(20, 'possetting', 'POS Setting', 1, 4, 1, 'POS Setting', 1, 1, '2024-06-13 06:40:35', NULL, NULL),
(21, 'saleorder', 'Cash Sale', 1, 5, 1, 'Customer Invoice', 1, 1, '2024-06-13 06:43:34', 1, '2024-07-03 10:08:38'),
(22, 'posreport', 'POS Reports', 1, 5, 1, 'Reports', 5, 1, '2024-06-13 06:50:31', NULL, NULL),
(23, 'performainvoice', 'Performa Invoice', 1, 5, 1, 'Performa Invoice', 6, 1, '2024-06-13 06:54:57', NULL, NULL),
(24, 'creditsale', 'Credit Sale', 1, 5, 1, 'Credit Sale', 8, 1, '2024-06-13 06:55:20', NULL, NULL),
(25, 'returnsale', 'Return Sale', 1, 5, 1, 'Return Sale', 8, 1, '2024-06-13 06:55:44', NULL, NULL),
(26, 'users', 'Users', 1, 6, 1, 'Users', 1, 1, '2024-06-13 06:58:27', NULL, NULL),
(27, 'branch', 'Branch', 1, 4, 1, 'Branch', 2, 1, '2024-06-13 10:05:16', NULL, NULL),
(28, 'performainvoice', 'Performa Invoice', 1, 5, 1, 'Performa Invoice', 10, 1, '2024-06-13 11:11:03', 1, '2024-06-13 11:11:24'),
(29, 'tax', 'Tax Rate', 1, 4, 1, 'Tax Rate', 1, 1, '2024-06-26 11:18:14', NULL, NULL),
(30, 'deliveryorder', 'Delivery Order', 1, 5, 1, 'Delivery Order', 1, 1, '2024-06-26 11:19:55', NULL, NULL),
(31, 'warehouse', 'Warehouse', 1, 4, 1, 'Warehouse', 1, 1, '2024-09-14 13:12:04', NULL, NULL),
(32, 'productsearch', 'Product Search', 1, 2, 1, 'Product Search', 10, 1, '2024-09-14 13:52:50', NULL, NULL),
(33, 'accountgroup', NULL, 1, 3, 1, 'Account Group', 3, 1, '2024-10-23 09:30:53', NULL, NULL),
(34, 'accountnature', 'Account Nature', 1, 3, 1, 'Account Nature', 4, 1, '2024-10-23 09:35:32', NULL, NULL),
(35, 'chartofaccount', 'Chart of Account', 1, 3, 1, 'Chart of Account', 6, 1, '2024-10-23 09:36:01', NULL, NULL),
(36, 'department', 'Department', 1, 7, 1, 'Department', 2, 1, '2024-11-26 12:52:06', 1, '2024-11-26 13:07:43'),
(37, 'groups', 'Groups', 1, 7, 1, 'Groups', 1, 1, '2024-11-26 12:58:07', 1, '2024-11-26 13:08:07'),
(38, 'designation', 'Designation', 1, 7, 1, 'Designation', 3, 1, '2024-11-26 13:07:24', NULL, NULL),
(39, 'assettype', 'Asset Type', 1, 9, 1, 'Asset Type', 1, 1, '2024-11-26 13:29:23', NULL, NULL),
(40, 'assetstatus', 'Asset Status', 1, 9, 1, 'Asset Status', 2, 1, '2024-11-26 13:29:52', NULL, NULL),
(41, 'assetlocation', 'Asset Location', 1, 9, 1, 'Asset Location', 3, 1, '2024-11-26 13:31:47', NULL, NULL),
(42, 'assetsubtype', 'Asset Sub Type', 1, 9, 1, 'Asset Sub Type', 4, 1, '2024-11-26 14:10:54', NULL, NULL),
(43, 'hrdocumenttype', 'HR Document Type', 1, 7, 1, 'HR Document Type', 4, 1, '2024-11-26 14:13:55', NULL, NULL),
(44, 'hrdocumentstatus', 'HR Document Status', 1, 7, 1, 'HR Document Status', 5, 1, '2024-11-26 14:14:21', NULL, NULL),
(45, 'nationality', 'Nationality', 1, 7, 1, 'Nationality', 6, 1, '2024-11-26 14:15:18', NULL, NULL),
(46, 'resignreason', 'Resign Reason', 1, 7, 1, 'Resign Reason', 8, 1, '2024-11-26 14:15:44', NULL, NULL),
(47, 'banks', NULL, 1, 4, 1, 'Manage Bank', 6, 1, '2024-12-03 08:09:56', 1, '2024-12-03 08:13:42'),
(48, 'bankbranches', NULL, 1, 4, 1, 'Bank Branches', 7, 1, '2024-12-04 10:27:31', NULL, NULL),
(49, 'journalvoucher', NULL, 1, 3, 1, 'Journal Voucher', 8, 1, '2024-12-05 09:30:27', NULL, NULL),
(50, 'employeepayment', NULL, 1, 3, 1, 'Employee Payment', 10, 1, '2024-12-05 14:36:13', NULL, NULL),
(51, 'employeeweeklypayment', 'Employee Weekly Payment', 1, 10, 1, 'Employee Weekly Payment', 1, 1, '2024-12-09 04:49:45', NULL, NULL),
(52, 'employeeadvancepayment', 'Employee Advance Payment', 1, 10, 1, 'Employee Advance Payment', 2, 1, '2024-12-09 04:50:16', NULL, NULL),
(53, 'countries', NULL, 1, 4, 1, 'Country', 1, 1, '2024-12-30 12:36:10', NULL, NULL),
(54, 'states', NULL, 1, 4, 1, 'State', 2, 1, '2024-12-30 12:36:32', NULL, NULL),
(55, 'cities', NULL, 1, 4, 1, 'City', 3, 1, '2024-12-30 12:36:50', NULL, NULL),
(56, 'areas', NULL, 1, 4, 1, 'Area', 5, 1, '2024-12-30 12:37:13', NULL, NULL),
(57, 'leadtype', NULL, 1, 13, 1, 'Lead Type', 1, 1, '2024-12-30 12:44:49', NULL, NULL),
(58, 'leadsource', NULL, 1, 13, 1, 'Lead Source', 2, 1, '2024-12-30 12:45:34', NULL, NULL),
(59, 'leadstatus', NULL, 1, 13, 1, 'Lead Source', 3, 1, '2024-12-30 12:45:54', NULL, NULL),
(60, 'deduction', NULL, 1, 10, 1, 'Deduction', 4, 1, '2024-12-31 10:33:38', NULL, NULL),
(61, 'employeededuction', NULL, 1, 10, 1, 'Employee Deduction', 6, 1, '2024-12-31 10:34:42', NULL, NULL),
(62, 'allowance', NULL, 1, 10, 1, 'Allowance', 4, 1, '2024-12-31 10:35:18', NULL, NULL),
(63, 'employeeallowance', NULL, 1, 10, 1, 'Employee Allowance', 8, 1, '2024-12-31 10:36:46', NULL, NULL),
(64, 'leavetype', NULL, 1, 11, 1, 'Leave Type', 1, 1, '2024-12-31 11:02:33', NULL, NULL),
(65, 'leads', NULL, 1, 13, 1, 'Lead Management', 5, 1, '2024-12-31 11:03:46', NULL, NULL),
(66, 'ledgerentries', NULL, 1, 3, 1, 'Ledger Entries', 10, 1, '2024-12-31 11:08:38', NULL, NULL);

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

--
-- Table structure for table `sec_module`
--

CREATE TABLE `sec_module` (
  `Id` int(11) NOT NULL,
  `ModuleName` varchar(255) DEFAULT NULL,
  `Description` text DEFAULT NULL,
  `Status` int(11) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

--
-- Dumping data for table `sec_module`
--

INSERT INTO `sec_module` (`Id`, `ModuleName`, `Description`, `Status`) VALUES
(1, 'HIRS', 'HRIS', 1),
(2, 'INVENTORY', 'INVENTORY', 1),
(3, 'ACCOUNTS', 'ACCOUNTS', 1),
(4, 'SETTINGS', 'SETTINGS	', 0),
(5, 'POINT OF SALE', 'POINT OF SALE', NULL),
(6, 'SECURITY', 'SECURITY', 1),
(7, 'HRIS SETUP', 'HRIS SETUP', 1),
(8, 'INVENTORY SETUP', 'INVENTORY SETUP', 1),
(9, 'ASSET MANAGEMENT', 'ASSET MANAGEMENT', 1),
(10, 'PAYROLL', 'PAYROLL', 1),
(11, 'ATTENDANCE', 'ATTENDANCE', 1),
(12, 'EMPLOYEE SELF SERVICE', 'EMPLOYEE SELF SERVICE', 1),
(13, 'CRM', 'CRM', 1);

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

--
-- Table structure for table `sec_zone`
--

CREATE TABLE `sec_zone` (
  `Id` int(11) NOT NULL,
  `ZoneName` varchar(255) DEFAULT NULL,
  `Description` text DEFAULT NULL,
  `Status` int(11) DEFAULT NULL,
  `CreatedBy` int(11) DEFAULT NULL,
  `CreatedDate` datetime DEFAULT NULL,
  `ModifiedBy` int(11) DEFAULT NULL,
  `ModifiedDate` datetime DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

--
-- Dumping data for table `sec_zone`
--

INSERT INTO `sec_zone` (`Id`, `ZoneName`, `Description`, `Status`, `CreatedBy`, `CreatedDate`, `ModifiedBy`, `ModifiedDate`) VALUES
(1, 'adminaccle', 'adminsdfsdfsd', 1, NULL, NULL, 1, '2025-01-01 13:22:17'),
(3, 'Pos', NULL, 1, 1, '2024-06-13 09:00:29', 1, '2024-06-13 11:12:16'),
(6, 'invpos', NULL, 1, 1, '2024-06-26 10:34:33', 1, '2024-09-14 13:54:01');

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

--
-- Table structure for table `sec_zone_gate`
--

CREATE TABLE `sec_zone_gate` (
  `Id` int(11) NOT NULL,
  `FormId` int(11) DEFAULT NULL,
  `ZoneId` int(11) DEFAULT NULL,
  `AddRight` tinyint(1) DEFAULT NULL,
  `EditRight` tinyint(1) DEFAULT NULL,
  `DeleteRight` tinyint(1) DEFAULT NULL,
  `ViewRight` tinyint(1) DEFAULT NULL,
  `PrintRight` tinyint(1) DEFAULT NULL,
  `Status` int(11) DEFAULT NULL,
  `CreatedBy` int(11) DEFAULT NULL,
  `CreatedDate` datetime DEFAULT NULL,
  `ModifiedDate` datetime DEFAULT NULL,
  `ModifiedBy` int(11) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

--
-- Dumping data for table `sec_zone_gate`
--

INSERT INTO `sec_zone_gate` (`Id`, `FormId`, `ZoneId`, `AddRight`, `EditRight`, `DeleteRight`, `ViewRight`, `PrintRight`, `Status`, `CreatedBy`, `CreatedDate`, `ModifiedDate`, `ModifiedBy`) VALUES
(353, 1, 3, 0, 0, 0, 0, 0, 1, 1, '2024-06-13 11:12:16', NULL, NULL),
(354, 2, 3, 0, 0, 0, 0, 0, 1, 1, '2024-06-13 11:12:16', NULL, NULL),
(355, 3, 3, 0, 0, 0, 0, 0, 1, 1, '2024-06-13 11:12:16', NULL, NULL),
(356, 4, 3, 0, 0, 0, 0, 0, 1, 1, '2024-06-13 11:12:16', NULL, NULL),
(357, 5, 3, 0, 0, 0, 0, 0, 1, 1, '2024-06-13 11:12:16', NULL, NULL),
(358, 6, 3, 0, 0, 0, 0, 0, 1, 1, '2024-06-13 11:12:16', NULL, NULL),
(359, 7, 3, 0, 0, 0, 0, 0, 1, 1, '2024-06-13 11:12:16', NULL, NULL),
(360, 8, 3, 0, 0, 0, 0, 0, 1, 1, '2024-06-13 11:12:16', NULL, NULL),
(361, 9, 3, 0, 0, 0, 0, 0, 1, 1, '2024-06-13 11:12:16', NULL, NULL),
(362, 10, 3, 0, 0, 0, 0, 0, 1, 1, '2024-06-13 11:12:16', NULL, NULL),
(363, 11, 3, 0, 0, 0, 0, 0, 1, 1, '2024-06-13 11:12:16', NULL, NULL),
(364, 12, 3, 0, 0, 0, 0, 0, 1, 1, '2024-06-13 11:12:16', NULL, NULL),
(365, 13, 3, 0, 0, 0, 0, 0, 1, 1, '2024-06-13 11:12:16', NULL, NULL),
(366, 14, 3, 0, 0, 0, 0, 0, 1, 1, '2024-06-13 11:12:16', NULL, NULL),
(367, 15, 3, 0, 0, 0, 0, 0, 1, 1, '2024-06-13 11:12:16', NULL, NULL),
(368, 16, 3, 0, 0, 0, 0, 0, 1, 1, '2024-06-13 11:12:16', NULL, NULL),
(369, 17, 3, 0, 0, 0, 0, 0, 1, 1, '2024-06-13 11:12:16', NULL, NULL),
(370, 18, 3, 0, 0, 0, 0, 0, 1, 1, '2024-06-13 11:12:16', NULL, NULL),
(371, 19, 3, 1, 1, 1, 1, 1, 1, 1, '2024-06-13 11:12:16', NULL, NULL),
(372, 20, 3, 0, 0, 0, 0, 0, 1, 1, '2024-06-13 11:12:16', NULL, NULL),
(373, 21, 3, 0, 0, 0, 0, 0, 1, 1, '2024-06-13 11:12:16', NULL, NULL),
(374, 22, 3, 1, 1, 1, 1, 1, 1, 1, '2024-06-13 11:12:16', NULL, NULL),
(375, 23, 3, 1, 1, 1, 1, 1, 1, 1, '2024-06-13 11:12:16', NULL, NULL),
(376, 24, 3, 1, 1, 1, 1, 1, 1, 1, '2024-06-13 11:12:16', NULL, NULL),
(377, 25, 3, 1, 1, 1, 1, 1, 1, 1, '2024-06-13 11:12:16', NULL, NULL),
(378, 26, 3, 0, 0, 0, 0, 0, 1, 1, '2024-06-13 11:12:16', NULL, NULL),
(379, 27, 3, 0, 0, 0, 0, 0, 1, 1, '2024-06-13 11:12:16', NULL, NULL),
(380, 28, 3, 1, 1, 1, 1, 1, 1, 1, '2024-06-13 11:12:16', NULL, NULL),
(648, 1, 6, 0, 0, 0, 0, 0, 1, 1, '2024-09-14 13:54:01', NULL, NULL),
(649, 2, 6, 1, 1, 1, 1, 1, 1, 1, '2024-09-14 13:54:01', NULL, NULL),
(650, 3, 6, 1, 1, 1, 1, 1, 1, 1, '2024-09-14 13:54:01', NULL, NULL),
(651, 4, 6, 1, 1, 1, 1, 1, 1, 1, '2024-09-14 13:54:01', NULL, NULL),
(652, 5, 6, 1, 1, 1, 1, 1, 1, 1, '2024-09-14 13:54:01', NULL, NULL),
(653, 6, 6, 1, 1, 1, 1, 1, 1, 1, '2024-09-14 13:54:01', NULL, NULL),
(654, 7, 6, 0, 0, 0, 0, 0, 1, 1, '2024-09-14 13:54:01', NULL, NULL),
(655, 8, 6, 0, 0, 0, 0, 0, 1, 1, '2024-09-14 13:54:01', NULL, NULL),
(656, 9, 6, 1, 1, 1, 1, 1, 1, 1, '2024-09-14 13:54:01', NULL, NULL),
(657, 10, 6, 1, 1, 1, 1, 1, 1, 1, '2024-09-14 13:54:01', NULL, NULL),
(658, 11, 6, 1, 1, 1, 1, 1, 1, 1, '2024-09-14 13:54:01', NULL, NULL),
(659, 12, 6, 1, 1, 1, 1, 1, 1, 1, '2024-09-14 13:54:01', NULL, NULL),
(660, 13, 6, 0, 0, 0, 0, 0, 1, 1, '2024-09-14 13:54:01', NULL, NULL),
(661, 14, 6, 1, 1, 1, 1, 1, 1, 1, '2024-09-14 13:54:01', NULL, NULL),
(662, 15, 6, 1, 1, 1, 1, 0, 1, 1, '2024-09-14 13:54:01', NULL, NULL),
(663, 16, 6, 0, 0, 0, 0, 0, 1, 1, '2024-09-14 13:54:01', NULL, NULL),
(664, 17, 6, 0, 0, 0, 0, 0, 1, 1, '2024-09-14 13:54:01', NULL, NULL),
(665, 18, 6, 1, 1, 1, 1, 1, 1, 1, '2024-09-14 13:54:01', NULL, NULL),
(666, 19, 6, 1, 1, 1, 1, 1, 1, 1, '2024-09-14 13:54:01', NULL, NULL),
(667, 20, 6, 0, 0, 0, 0, 0, 1, 1, '2024-09-14 13:54:01', NULL, NULL),
(668, 21, 6, 1, 1, 1, 1, 1, 1, 1, '2024-09-14 13:54:01', NULL, NULL),
(669, 22, 6, 1, 1, 1, 1, 1, 1, 1, '2024-09-14 13:54:01', NULL, NULL),
(670, 23, 6, 1, 1, 1, 1, 1, 1, 1, '2024-09-14 13:54:01', NULL, NULL),
(671, 24, 6, 0, 0, 0, 0, 0, 1, 1, '2024-09-14 13:54:01', NULL, NULL),
(672, 25, 6, 1, 1, 1, 1, 1, 1, 1, '2024-09-14 13:54:01', NULL, NULL),
(673, 26, 6, 0, 0, 0, 0, 0, 1, 1, '2024-09-14 13:54:01', NULL, NULL),
(674, 27, 6, 0, 0, 0, 0, 0, 1, 1, '2024-09-14 13:54:01', NULL, NULL),
(675, 28, 6, 1, 1, 1, 1, 1, 1, 1, '2024-09-14 13:54:01', NULL, NULL),
(676, 29, 6, 0, 0, 0, 0, 0, 1, 1, '2024-09-14 13:54:01', NULL, NULL),
(677, 30, 6, 1, 1, 1, 1, 1, 1, 1, '2024-09-14 13:54:01', NULL, NULL),
(678, 31, 6, 1, 1, 1, 1, 1, 1, 1, '2024-09-14 13:54:01', NULL, NULL),
(679, 32, 6, 1, 1, 1, 1, 1, 1, 1, '2024-09-14 13:54:01', NULL, NULL),
(1435, 1, 1, 1, 1, 1, 1, 1, 1, 1, '2025-01-01 13:22:17', NULL, NULL),
(1436, 2, 1, 1, 1, 1, 1, 1, 1, 1, '2025-01-01 13:22:17', NULL, NULL),
(1437, 3, 1, 1, 1, 1, 1, 1, 1, 1, '2025-01-01 13:22:17', NULL, NULL),
(1438, 4, 1, 1, 1, 1, 1, 1, 1, 1, '2025-01-01 13:22:17', NULL, NULL),
(1439, 5, 1, 1, 1, 1, 1, 1, 1, 1, '2025-01-01 13:22:17', NULL, NULL),
(1440, 6, 1, 1, 1, 1, 1, 1, 1, 1, '2025-01-01 13:22:17', NULL, NULL),
(1441, 7, 1, 1, 1, 1, 1, 1, 1, 1, '2025-01-01 13:22:17', NULL, NULL),
(1442, 8, 1, 1, 1, 1, 1, 1, 1, 1, '2025-01-01 13:22:17', NULL, NULL),
(1443, 9, 1, 1, 1, 1, 1, 1, 1, 1, '2025-01-01 13:22:17', NULL, NULL),
(1444, 10, 1, 1, 1, 1, 1, 1, 1, 1, '2025-01-01 13:22:17', NULL, NULL),
(1445, 11, 1, 1, 1, 1, 1, 1, 1, 1, '2025-01-01 13:22:17', NULL, NULL),
(1446, 12, 1, 1, 1, 1, 1, 1, 1, 1, '2025-01-01 13:22:17', NULL, NULL),
(1447, 13, 1, 1, 1, 1, 1, 1, 1, 1, '2025-01-01 13:22:17', NULL, NULL),
(1448, 14, 1, 1, 1, 1, 1, 1, 1, 1, '2025-01-01 13:22:17', NULL, NULL),
(1449, 15, 1, 1, 1, 1, 1, 1, 1, 1, '2025-01-01 13:22:17', NULL, NULL),
(1450, 16, 1, 1, 1, 1, 1, 1, 1, 1, '2025-01-01 13:22:17', NULL, NULL),
(1451, 17, 1, 1, 1, 1, 1, 1, 1, 1, '2025-01-01 13:22:17', NULL, NULL),
(1452, 18, 1, 1, 1, 1, 1, 1, 1, 1, '2025-01-01 13:22:17', NULL, NULL),
(1453, 19, 1, 1, 1, 1, 1, 1, 1, 1, '2025-01-01 13:22:17', NULL, NULL),
(1454, 20, 1, 1, 1, 1, 1, 1, 1, 1, '2025-01-01 13:22:17', NULL, NULL),
(1455, 21, 1, 1, 1, 1, 1, 1, 1, 1, '2025-01-01 13:22:17', NULL, NULL),
(1456, 22, 1, 1, 1, 1, 1, 1, 1, 1, '2025-01-01 13:22:17', NULL, NULL),
(1457, 23, 1, 1, 1, 1, 1, 1, 1, 1, '2025-01-01 13:22:17', NULL, NULL),
(1458, 24, 1, 1, 1, 1, 1, 1, 1, 1, '2025-01-01 13:22:17', NULL, NULL),
(1459, 25, 1, 1, 1, 1, 1, 1, 1, 1, '2025-01-01 13:22:17', NULL, NULL),
(1460, 26, 1, 1, 1, 1, 1, 1, 1, 1, '2025-01-01 13:22:17', NULL, NULL),
(1461, 27, 1, 1, 1, 1, 1, 1, 1, 1, '2025-01-01 13:22:17', NULL, NULL),
(1462, 28, 1, 1, 1, 1, 1, 1, 1, 1, '2025-01-01 13:22:17', NULL, NULL),
(1463, 29, 1, 1, 1, 1, 1, 1, 1, 1, '2025-01-01 13:22:17', NULL, NULL),
(1464, 30, 1, 1, 1, 1, 1, 1, 1, 1, '2025-01-01 13:22:17', NULL, NULL),
(1465, 31, 1, 1, 1, 1, 1, 1, 1, 1, '2025-01-01 13:22:17', NULL, NULL),
(1466, 32, 1, 1, 1, 1, 1, 1, 1, 1, '2025-01-01 13:22:17', NULL, NULL),
(1467, 33, 1, 1, 1, 1, 1, 1, 1, 1, '2025-01-01 13:22:17', NULL, NULL),
(1468, 34, 1, 1, 1, 1, 1, 1, 1, 1, '2025-01-01 13:22:17', NULL, NULL),
(1469, 35, 1, 1, 1, 1, 1, 1, 1, 1, '2025-01-01 13:22:17', NULL, NULL),
(1470, 36, 1, 1, 1, 1, 1, 1, 1, 1, '2025-01-01 13:22:17', NULL, NULL),
(1471, 37, 1, 1, 1, 1, 1, 1, 1, 1, '2025-01-01 13:22:17', NULL, NULL),
(1472, 38, 1, 1, 1, 1, 1, 1, 1, 1, '2025-01-01 13:22:17', NULL, NULL),
(1473, 39, 1, 1, 1, 1, 1, 1, 1, 1, '2025-01-01 13:22:17', NULL, NULL),
(1474, 40, 1, 1, 1, 1, 1, 1, 1, 1, '2025-01-01 13:22:17', NULL, NULL),
(1475, 41, 1, 1, 1, 1, 1, 1, 1, 1, '2025-01-01 13:22:17', NULL, NULL),
(1476, 42, 1, 1, 1, 1, 1, 1, 1, 1, '2025-01-01 13:22:17', NULL, NULL),
(1477, 43, 1, 1, 1, 1, 1, 1, 1, 1, '2025-01-01 13:22:17', NULL, NULL),
(1478, 44, 1, 1, 1, 1, 1, 1, 1, 1, '2025-01-01 13:22:17', NULL, NULL),
(1479, 45, 1, 1, 1, 1, 1, 1, 1, 1, '2025-01-01 13:22:17', NULL, NULL),
(1480, 46, 1, 1, 1, 1, 1, 1, 1, 1, '2025-01-01 13:22:17', NULL, NULL),
(1481, 47, 1, 1, 1, 1, 1, 1, 1, 1, '2025-01-01 13:22:17', NULL, NULL),
(1482, 48, 1, 1, 1, 1, 1, 1, 1, 1, '2025-01-01 13:22:17', NULL, NULL),
(1483, 49, 1, 1, 1, 1, 1, 1, 1, 1, '2025-01-01 13:22:17', NULL, NULL),
(1484, 50, 1, 1, 1, 1, 1, 1, 1, 1, '2025-01-01 13:22:17', NULL, NULL),
(1485, 51, 1, 1, 1, 1, 1, 1, 1, 1, '2025-01-01 13:22:17', NULL, NULL),
(1486, 52, 1, 1, 1, 1, 1, 1, 1, 1, '2025-01-01 13:22:17', NULL, NULL),
(1487, 53, 1, 1, 1, 1, 1, 1, 1, 1, '2025-01-01 13:22:17', NULL, NULL),
(1488, 54, 1, 1, 1, 1, 1, 1, 1, 1, '2025-01-01 13:22:17', NULL, NULL),
(1489, 55, 1, 1, 1, 1, 1, 1, 1, 1, '2025-01-01 13:22:17', NULL, NULL),
(1490, 56, 1, 1, 1, 1, 1, 1, 1, 1, '2025-01-01 13:22:17', NULL, NULL),
(1491, 57, 1, 1, 1, 1, 1, 1, 1, 1, '2025-01-01 13:22:17', NULL, NULL),
(1492, 58, 1, 1, 1, 1, 1, 1, 1, 1, '2025-01-01 13:22:17', NULL, NULL),
(1493, 59, 1, 1, 1, 1, 1, 1, 1, 1, '2025-01-01 13:22:17', NULL, NULL),
(1494, 60, 1, 1, 1, 1, 1, 1, 1, 1, '2025-01-01 13:22:17', NULL, NULL),
(1495, 61, 1, 1, 1, 1, 1, 1, 1, 1, '2025-01-01 13:22:17', NULL, NULL),
(1496, 62, 1, 1, 1, 1, 1, 1, 1, 1, '2025-01-01 13:22:17', NULL, NULL),
(1497, 63, 1, 1, 1, 1, 1, 1, 1, 1, '2025-01-01 13:22:17', NULL, NULL),
(1498, 64, 1, 1, 1, 1, 1, 1, 1, 1, '2025-01-01 13:22:17', NULL, NULL),
(1499, 65, 1, 1, 1, 1, 1, 1, 1, 1, '2025-01-01 13:22:17', NULL, NULL),
(1500, 66, 1, 1, 1, 1, 1, 1, 1, 1, '2025-01-01 13:22:17', NULL, NULL);

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

--
-- Table structure for table `seller`
--

CREATE TABLE `seller` (
  `Id` bigint(20) UNSIGNED NOT NULL,
  `Name` varchar(255) NOT NULL,
  `PhoneNo` varchar(255) DEFAULT NULL,
  `MobileNo` varchar(255) DEFAULT NULL,
  `EmailAddress` varchar(255) DEFAULT NULL,
  `Address` text DEFAULT NULL,
  `Picture` text DEFAULT NULL,
  `ZipCode` varchar(255) DEFAULT NULL,
  `CountryId` int(11) DEFAULT NULL,
  `StateId` int(11) DEFAULT NULL,
  `CityId` int(11) DEFAULT NULL,
  `Status` int(11) NOT NULL DEFAULT 0,
  `ShopStatus` int(11) NOT NULL DEFAULT 0,
  `UserStatus` int(11) NOT NULL DEFAULT 0,
  `RegisterDate` datetime DEFAULT NULL,
  `OpeningBalance` double NOT NULL DEFAULT 0,
  `CreatedDate` datetime DEFAULT NULL,
  `CreatedBy` int(11) NOT NULL DEFAULT 0,
  `ModifiedDate` datetime DEFAULT NULL,
  `ModifiedBy` int(11) NOT NULL DEFAULT 0,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

--
-- Table structure for table `shipping`
--

CREATE TABLE `shipping` (
  `Id` int(10) UNSIGNED NOT NULL,
  `Name` varchar(255) NOT NULL,
  `ShippingCost` double NOT NULL DEFAULT 0,
  `Description` text DEFAULT NULL,
  `Status` int(11) NOT NULL DEFAULT 1,
  `CreatedDate` datetime DEFAULT NULL,
  `CreatedBy` int(11) NOT NULL DEFAULT 0,
  `ModifiedDate` datetime DEFAULT NULL,
  `ModifiedBy` int(11) DEFAULT 0,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `shipping`
--

INSERT INTO `shipping` (`Id`, `Name`, `ShippingCost`, `Description`, `Status`, `CreatedDate`, `CreatedBy`, `ModifiedDate`, `ModifiedBy`, `created_at`, `updated_at`) VALUES
(1, 'Free Shipping', 1200, 'Free Shipping', 1, '2024-01-03 11:26:32', 0, '2024-01-27 15:06:52', 0, NULL, NULL),
(2, 'Outside City', 120, 'Outside City', 1, '2024-01-06 05:32:28', 0, '2024-01-27 15:07:24', 0, NULL, NULL),
(3, 'Inside City', 60, 'Inside City', 1, '2024-01-27 15:07:51', 0, NULL, 0, NULL, NULL);

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

--
-- Table structure for table `skills`
--

CREATE TABLE `skills` (
  `Id` bigint(20) NOT NULL,
  `SkillCode` varchar(50) DEFAULT NULL,
  `SkillName` varchar(200) DEFAULT NULL,
  `Description` text DEFAULT NULL,
  `Status` smallint(6) DEFAULT NULL,
  `CreatedDate` datetime DEFAULT NULL,
  `CreatedBy` int(11) DEFAULT NULL,
  `ModifiedBy` int(11) DEFAULT NULL,
  `ModifiedDate` datetime DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

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

--
-- Table structure for table `socialmedialinks`
--

CREATE TABLE `socialmedialinks` (
  `Id` int(10) UNSIGNED NOT NULL,
  `Name` varchar(255) NOT NULL,
  `SocialMediaUrl` text NOT NULL,
  `IconOne` text DEFAULT NULL,
  `IconTwo` text DEFAULT NULL,
  `Description` text DEFAULT NULL,
  `Status` smallint(6) NOT NULL DEFAULT 0,
  `CreatedDate` datetime DEFAULT NULL,
  `CreatedBy` int(11) NOT NULL DEFAULT 0,
  `ModifiedDate` datetime DEFAULT NULL,
  `ModifiedBy` int(11) NOT NULL DEFAULT 0,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `socialmedialinks`
--

INSERT INTO `socialmedialinks` (`Id`, `Name`, `SocialMediaUrl`, `IconOne`, `IconTwo`, `Description`, `Status`, `CreatedDate`, `CreatedBy`, `ModifiedDate`, `ModifiedBy`, `created_at`, `updated_at`) VALUES
(1, 'dsfd update', 'sdfdsf', 'ds', 'sdf', 'sdfds', 1, '2023-12-24 18:44:12', 0, '2023-12-24 18:57:37', 0, NULL, NULL);

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

--
-- Table structure for table `sourceofsupply`
--

CREATE TABLE `sourceofsupply` (
  `Id` int(11) NOT NULL,
  `Code` varchar(45) DEFAULT NULL,
  `Name` varchar(245) DEFAULT NULL,
  `Description` text DEFAULT NULL,
  `Status` int(11) DEFAULT NULL,
  `CreatedBy` int(11) DEFAULT NULL,
  `CreatedDate` datetime DEFAULT NULL,
  `ModifiedBy` int(11) DEFAULT NULL,
  `ModifiedDate` datetime DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci;

--
-- Dumping data for table `sourceofsupply`
--

INSERT INTO `sourceofsupply` (`Id`, `Code`, `Name`, `Description`, `Status`, `CreatedBy`, `CreatedDate`, `ModifiedBy`, `ModifiedDate`) VALUES
(1, '01', 'UAE', 'UAE', 1, NULL, NULL, NULL, NULL);

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

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

CREATE TABLE `state` (
  `Id` int(10) UNSIGNED NOT NULL,
  `Code` varchar(255) NOT NULL,
  `Name` varchar(255) NOT NULL,
  `Status` smallint(6) NOT NULL DEFAULT 0,
  `CreatedDate` datetime DEFAULT NULL,
  `CreatedBy` int(11) NOT NULL DEFAULT 0,
  `ModifiedDate` datetime DEFAULT NULL,
  `ModifiedBy` int(11) NOT NULL DEFAULT 0,
  `CountryId` int(11) NOT NULL DEFAULT 0,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

INSERT INTO `state` (`Id`, `Code`, `Name`, `Status`, `CreatedDate`, `CreatedBy`, `ModifiedDate`, `ModifiedBy`, `CountryId`, `created_at`, `updated_at`) VALUES
(1, '01up', 'Punjab', 1, '2023-10-02 12:06:01', 0, '2023-10-02 12:17:21', 0, 1, NULL, NULL),
(3, '02', 'KPK', 1, '2023-10-02 13:44:14', 0, NULL, 0, 1, NULL, NULL);

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

--
-- Table structure for table `tax`
--

CREATE TABLE `tax` (
  `Id` int(10) UNSIGNED NOT NULL,
  `Name` varchar(255) DEFAULT NULL,
  `TaxRate` float NOT NULL DEFAULT 0,
  `Description` text NOT NULL,
  `Status` int(11) NOT NULL DEFAULT 1,
  `CreatedDate` datetime DEFAULT NULL,
  `CreatedBy` int(11) DEFAULT NULL,
  `ModifiedDate` datetime DEFAULT NULL,
  `ModifiedBy` int(11) DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `tax`
--

INSERT INTO `tax` (`Id`, `Name`, `TaxRate`, `Description`, `Status`, `CreatedDate`, `CreatedBy`, `ModifiedDate`, `ModifiedBy`, `created_at`, `updated_at`) VALUES
(1, 'Domestic Taxable Supplies @ 5%', 5, 'Domestic Taxable Supplies @ 5%', 1, '2023-10-05 11:45:20', 0, '2024-06-26 11:21:15', 0, NULL, NULL);

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

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

CREATE TABLE `unit` (
  `Id` int(10) UNSIGNED NOT NULL,
  `Code` varchar(255) NOT NULL,
  `Name` varchar(255) NOT NULL,
  `NameUr` varchar(255) DEFAULT NULL,
  `Icon` varchar(255) DEFAULT NULL,
  `Description` text DEFAULT NULL,
  `Picture` text DEFAULT NULL,
  `Status` smallint(6) NOT NULL DEFAULT 0,
  `CreatedDate` datetime DEFAULT NULL,
  `CreatedBy` int(11) NOT NULL DEFAULT 0,
  `ModifiedDate` datetime DEFAULT NULL,
  `ModifiedBy` int(11) NOT NULL DEFAULT 0,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

INSERT INTO `unit` (`Id`, `Code`, `Name`, `NameUr`, `Icon`, `Description`, `Picture`, `Status`, `CreatedDate`, `CreatedBy`, `ModifiedDate`, `ModifiedBy`, `created_at`, `updated_at`) VALUES
(1, 'UC-0000001', 'Pieces', 'پیسس', NULL, NULL, NULL, 1, '2024-06-26 11:27:01', 0, '2024-06-26 12:56:11', 0, NULL, NULL);

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

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

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

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

--
-- Table structure for table `usertype`
--

CREATE TABLE `usertype` (
  `Id` int(10) UNSIGNED NOT NULL,
  `Name` varchar(255) NOT NULL,
  `Description` varchar(255) NOT NULL,
  `Status` smallint(6) NOT NULL DEFAULT 0,
  `CreatedDate` datetime DEFAULT NULL,
  `CreatedBy` int(11) NOT NULL DEFAULT 0,
  `ModifiedDate` datetime DEFAULT NULL,
  `ModifiedBy` int(11) NOT NULL DEFAULT 0,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `usertype`
--

INSERT INTO `usertype` (`Id`, `Name`, `Description`, `Status`, `CreatedDate`, `CreatedBy`, `ModifiedDate`, `ModifiedBy`, `created_at`, `updated_at`) VALUES
(1, 'Standard', 'Standard', 1, '2023-10-05 10:48:17', 0, '2023-10-05 10:51:33', 0, NULL, NULL);

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

--
-- Table structure for table `warehouse`
--

CREATE TABLE `warehouse` (
  `Id` int(11) NOT NULL,
  `Code` varchar(45) DEFAULT NULL,
  `Name` varchar(245) DEFAULT NULL,
  `Status` int(11) DEFAULT NULL,
  `CreatedBy` int(11) DEFAULT NULL,
  `CreatedDate` datetime DEFAULT NULL,
  `ModifiedBy` int(11) DEFAULT NULL,
  `ModifiedDate` datetime DEFAULT NULL,
  `Address` text DEFAULT NULL,
  `Picture` text DEFAULT NULL,
  `CountryId` int(11) NOT NULL,
  `StateId` int(11) NOT NULL,
  `CityId` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `warehouse`
--

INSERT INTO `warehouse` (`Id`, `Code`, `Name`, `Status`, `CreatedBy`, `CreatedDate`, `ModifiedBy`, `ModifiedDate`, `Address`, `Picture`, `CountryId`, `StateId`, `CityId`) VALUES
(1, 'WC-0000001', 'Warehouse 1 up', 1, 1, '2024-09-14 13:16:47', 1, '2024-09-14 13:27:35', NULL, NULL, 0, 0, 0);

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

--
-- Table structure for table `websitegeneralsetting`
--

CREATE TABLE `websitegeneralsetting` (
  `Id` int(11) NOT NULL,
  `MainTitle` varchar(255) DEFAULT NULL,
  `ContactEmailAddress` varchar(255) DEFAULT NULL,
  `InfoEmailAddress` varchar(255) DEFAULT NULL,
  `DefaultCurrency` varchar(255) DEFAULT NULL,
  `CurrencyIcon` varchar(50) DEFAULT NULL,
  `TimeZone` varchar(255) DEFAULT NULL,
  `MobileNumber` varchar(50) DEFAULT NULL,
  `WhatsAppNumber` varchar(50) DEFAULT NULL,
  `LandlineNumber` varchar(50) DEFAULT NULL,
  `Address` text DEFAULT NULL,
  `MondayToFridayTiming` varchar(255) DEFAULT NULL,
  `SaturdayTiming` varchar(255) DEFAULT NULL,
  `SundayTiming` varchar(255) DEFAULT NULL,
  `Status` int(11) DEFAULT NULL,
  `CreatedBy` int(11) DEFAULT NULL,
  `CreatedDate` datetime DEFAULT NULL,
  `ModifiedDate` datetime DEFAULT NULL,
  `ModifiedBy` int(11) DEFAULT NULL,
  `MainText` text DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `websitegeneralsetting`
--

INSERT INTO `websitegeneralsetting` (`Id`, `MainTitle`, `ContactEmailAddress`, `InfoEmailAddress`, `DefaultCurrency`, `CurrencyIcon`, `TimeZone`, `MobileNumber`, `WhatsAppNumber`, `LandlineNumber`, `Address`, `MondayToFridayTiming`, `SaturdayTiming`, `SundayTiming`, `Status`, `CreatedBy`, `CreatedDate`, `ModifiedDate`, `ModifiedBy`, `MainText`) VALUES
(1, 'fdfg', 'nabeel.ezad@gmail.com', 'nabeel.ezad@gmail.com', 'PKR', 'RS.', 'usd', '03244492569', '3343434', '6767674354', 'House No 22 Nargis Street Taj Bagh Housing Scheme Lahore Billing', '435', '435565', '5656', 1, 0, '2024-02-25 10:47:32', NULL, NULL, 'Fashion'),
(2, 'fdfg', 'nabeel.ezad@gmail.com', 'nabeel.ezad@gmail.com', 'usd', '$', 'usd', '03244492569', NULL, NULL, 'House No 22 Nargis Street Taj Bagh Housing Scheme Lahore Billing', NULL, NULL, NULL, 1, 0, '2024-02-07 14:17:56', NULL, NULL, NULL),
(3, 'fdfg', 'nabeel.ezad@gmail.com', 'nabeel.ezad@gmail.com', 'usd', '$', 'usd', '03244492569', NULL, NULL, 'House No 22 Nargis Street Taj Bagh Housing Scheme Lahore Billing', NULL, NULL, NULL, 1, 0, '2024-02-07 14:19:00', NULL, NULL, NULL),
(4, 'fdfg', 'nabeel.ezad@gmail.com', 'nabeel.ezad@gmail.com', 'usd', '$', 'usd', '03244492569', NULL, NULL, 'House No 22 Nargis Street Taj Bagh Housing Scheme Lahore Billing', NULL, NULL, NULL, 1, 0, '2024-02-07 14:20:03', NULL, NULL, NULL);

--
-- Indexes for table `app_acct_account_group`
--
ALTER TABLE `app_acct_account_group`
  ADD PRIMARY KEY (`Id`);

--
-- Indexes for table `app_acct_chart_of_account`
--
ALTER TABLE `app_acct_chart_of_account`
  ADD PRIMARY KEY (`Id`);

--
-- Indexes for table `app_acct_employee_payment`
--
ALTER TABLE `app_acct_employee_payment`
  ADD PRIMARY KEY (`Id`);

--
-- Indexes for table `app_acct_ledger_entries`
--
ALTER TABLE `app_acct_ledger_entries`
  ADD PRIMARY KEY (`Id`);

--
-- Indexes for table `app_acct_nature_of_account`
--
ALTER TABLE `app_acct_nature_of_account`
  ADD PRIMARY KEY (`Id`);

--
-- Indexes for table `app_acc_chart_of_account_links`
--
ALTER TABLE `app_acc_chart_of_account_links`
  ADD PRIMARY KEY (`Id`);

--
-- Indexes for table `app_asset_item`
--
ALTER TABLE `app_asset_item`
  ADD PRIMARY KEY (`Id`);

--
-- Indexes for table `app_asset_location`
--
ALTER TABLE `app_asset_location`
  ADD PRIMARY KEY (`Id`);

--
-- Indexes for table `app_asset_status`
--
ALTER TABLE `app_asset_status`
  ADD PRIMARY KEY (`Id`);

--
-- Indexes for table `app_asset_sub_type`
--
ALTER TABLE `app_asset_sub_type`
  ADD PRIMARY KEY (`Id`);

--
-- Indexes for table `app_asset_type`
--
ALTER TABLE `app_asset_type`
  ADD PRIMARY KEY (`Id`);

--
-- Indexes for table `app_gen_setting_area`
--
ALTER TABLE `app_gen_setting_area`
  ADD PRIMARY KEY (`Id`);

--
-- Indexes for table `app_gen_setting_city`
--
ALTER TABLE `app_gen_setting_city`
  ADD PRIMARY KEY (`Id`);

--
-- Indexes for table `app_gen_setting_country`
--
ALTER TABLE `app_gen_setting_country`
  ADD PRIMARY KEY (`Id`);

--
-- Indexes for table `app_gen_setting_factory`
--
ALTER TABLE `app_gen_setting_factory`
  ADD PRIMARY KEY (`Id`);

--
-- Indexes for table `app_gen_setting_payment_type`
--
ALTER TABLE `app_gen_setting_payment_type`
  ADD PRIMARY KEY (`Id`);

--
-- Indexes for table `app_gen_setting_state`
--
ALTER TABLE `app_gen_setting_state`
  ADD PRIMARY KEY (`Id`);

--
-- Indexes for table `app_hr_att_leave_type`
--
ALTER TABLE `app_hr_att_leave_type`
  ADD PRIMARY KEY (`Id`);

--
-- Indexes for table `app_hr_department`
--
ALTER TABLE `app_hr_department`
  ADD PRIMARY KEY (`Id`);

--
-- Indexes for table `app_hr_designation`
--
ALTER TABLE `app_hr_designation`
  ADD PRIMARY KEY (`Id`);

--
-- Indexes for table `app_hr_profession`
--
ALTER TABLE `app_hr_profession`
  ADD PRIMARY KEY (`Id`);

--
-- Indexes for table `app_inv_customer`
--
ALTER TABLE `app_inv_customer`
  ADD PRIMARY KEY (`Id`);

--
-- Indexes for table `app_inv_customer_payment`
--
ALTER TABLE `app_inv_customer_payment`
  ADD PRIMARY KEY (`Id`);

--
-- Indexes for table `app_inv_customer_type`
--
ALTER TABLE `app_inv_customer_type`
  ADD PRIMARY KEY (`Id`);

--
-- Indexes for table `app_inv_delivery_order`
--
ALTER TABLE `app_inv_delivery_order`
  ADD PRIMARY KEY (`Id`);

--
-- Indexes for table `app_inv_delivery_order_detail`
--
ALTER TABLE `app_inv_delivery_order_detail`
  ADD PRIMARY KEY (`Id`);

--
-- Indexes for table `app_inv_discount_type`
--
ALTER TABLE `app_inv_discount_type`
  ADD PRIMARY KEY (`Id`),
  ADD UNIQUE KEY `Id` (`Id`);

--
-- Indexes for table `app_inv_document`
--
ALTER TABLE `app_inv_document`
  ADD PRIMARY KEY (`Id`);

--
-- Indexes for table `app_inv_grn_order`
--
ALTER TABLE `app_inv_grn_order`
  ADD PRIMARY KEY (`Id`);

--
-- Indexes for table `app_inv_grn_order_detail`
--
ALTER TABLE `app_inv_grn_order_detail`
  ADD PRIMARY KEY (`Id`);

--
-- Indexes for table `app_inv_grn_order_other_expense`
--
ALTER TABLE `app_inv_grn_order_other_expense`
  ADD PRIMARY KEY (`Id`);

--
-- Indexes for table `app_inv_item_stock_adjustment`
--
ALTER TABLE `app_inv_item_stock_adjustment`
  ADD PRIMARY KEY (`Id`);

--
-- Indexes for table `app_inv_item_stock_adjustment_reason`
--
ALTER TABLE `app_inv_item_stock_adjustment_reason`
  ADD PRIMARY KEY (`Id`);

--
-- Indexes for table `app_inv_item_warehouse`
--
ALTER TABLE `app_inv_item_warehouse`
  ADD PRIMARY KEY (`Id`);

--
-- Indexes for table `app_inv_payment_term`
--
ALTER TABLE `app_inv_payment_term`
  ADD PRIMARY KEY (`Id`);

--
-- Indexes for table `app_inv_purchase_order`
--
ALTER TABLE `app_inv_purchase_order`
  ADD PRIMARY KEY (`Id`);

--
-- Indexes for table `app_inv_purchase_order_detail`
--
ALTER TABLE `app_inv_purchase_order_detail`
  ADD PRIMARY KEY (`Id`);

--
-- Indexes for table `app_inv_store_requisition`
--
ALTER TABLE `app_inv_store_requisition`
  ADD PRIMARY KEY (`Id`);

--
-- Indexes for table `app_inv_store_requisition_detail`
--
ALTER TABLE `app_inv_store_requisition_detail`
  ADD PRIMARY KEY (`Id`);

--
-- Indexes for table `app_inv_vendor`
--
ALTER TABLE `app_inv_vendor`
  ADD PRIMARY KEY (`Id`);

--
-- Indexes for table `app_inv_vendor_payment`
--
ALTER TABLE `app_inv_vendor_payment`
  ADD PRIMARY KEY (`Id`);

--
-- Indexes for table `app_payroll_allowance`
--
ALTER TABLE `app_payroll_allowance`
  ADD PRIMARY KEY (`Id`);

--
-- Indexes for table `app_payroll_deduction`
--
ALTER TABLE `app_payroll_deduction`
  ADD PRIMARY KEY (`Id`);

--
-- Indexes for table `app_payroll_employee_allowance`
--
ALTER TABLE `app_payroll_employee_allowance`
  ADD PRIMARY KEY (`Id`);

--
-- Indexes for table `app_payroll_employee_deduction`
--
ALTER TABLE `app_payroll_employee_deduction`
  ADD PRIMARY KEY (`Id`);

--
-- Indexes for table `app_payroll_emplpyee_advance_salary`
--
ALTER TABLE `app_payroll_emplpyee_advance_salary`
  ADD PRIMARY KEY (`Id`);

--
-- Indexes for table `app_payroll_emplpyee_weekly_salary_payment`
--
ALTER TABLE `app_payroll_emplpyee_weekly_salary_payment`
  ADD PRIMARY KEY (`Id`);

--
-- Indexes for table `app_payroll_emplpyee_weekly_salary_payment_detail`
--
ALTER TABLE `app_payroll_emplpyee_weekly_salary_payment_detail`
  ADD PRIMARY KEY (`Id`);

--
-- Indexes for table `app_pointofsale_customer_payment`
--
ALTER TABLE `app_pointofsale_customer_payment`
  ADD PRIMARY KEY (`Id`);

--
-- Indexes for table `app_pointofsale_sale_order`
--
ALTER TABLE `app_pointofsale_sale_order`
  ADD PRIMARY KEY (`Id`);

--
-- Indexes for table `app_pointofsale_sale_order_detail`
--
ALTER TABLE `app_pointofsale_sale_order_detail`
  ADD PRIMARY KEY (`Id`);

--
-- Indexes for table `app_pointofsale_store_expense`
--
ALTER TABLE `app_pointofsale_store_expense`
  ADD PRIMARY KEY (`Id`);

--
-- Indexes for table `app_pos_branch`
--
ALTER TABLE `app_pos_branch`
  ADD PRIMARY KEY (`Id`);

--
-- Indexes for table `app_pos_daily_expense`
--
ALTER TABLE `app_pos_daily_expense`
  ADD PRIMARY KEY (`Id`);

--
-- Indexes for table `app_project_management_lead`
--
ALTER TABLE `app_project_management_lead`
  ADD PRIMARY KEY (`Id`);

--
-- Indexes for table `app_project_management_lead_source`
--
ALTER TABLE `app_project_management_lead_source`
  ADD PRIMARY KEY (`Id`);

--
-- Indexes for table `app_project_management_lead_status`
--
ALTER TABLE `app_project_management_lead_status`
  ADD PRIMARY KEY (`Id`);

--
-- Indexes for table `app_project_management_lead_type`
--
ALTER TABLE `app_project_management_lead_type`
  ADD PRIMARY KEY (`Id`);

--
-- Indexes for table `app_setting_branch_type`
--
ALTER TABLE `app_setting_branch_type`
  ADD PRIMARY KEY (`Id`);

--
-- Indexes for table `app_setting_company`
--
ALTER TABLE `app_setting_company`
  ADD PRIMARY KEY (`Id`);

--
-- Indexes for table `area`
--
ALTER TABLE `area`
  ADD PRIMARY KEY (`Id`);

--
-- Indexes for table `attribute`
--
ALTER TABLE `attribute`
  ADD PRIMARY KEY (`Id`);

--
-- Indexes for table `banks`
--
ALTER TABLE `banks`
  ADD PRIMARY KEY (`Id`);

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

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

--
-- Indexes for table `brand`
--
ALTER TABLE `brand`
  ADD PRIMARY KEY (`Id`);

--
-- Indexes for table `campaign`
--
ALTER TABLE `campaign`
  ADD PRIMARY KEY (`Id`);

--
-- Indexes for table `campaignproduct`
--
ALTER TABLE `campaignproduct`
  ADD PRIMARY KEY (`Id`);

--
-- Indexes for table `category`
--
ALTER TABLE `category`
  ADD PRIMARY KEY (`Id`);

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

--
-- Indexes for table `contactus`
--
ALTER TABLE `contactus`
  ADD PRIMARY KEY (`Id`);

--
-- Indexes for table `contactusreply`
--
ALTER TABLE `contactusreply`
  ADD PRIMARY KEY (`Id`);

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

--
-- Indexes for table `coupon`
--
ALTER TABLE `coupon`
  ADD PRIMARY KEY (`Id`);

--
-- Indexes for table `currency`
--
ALTER TABLE `currency`
  ADD PRIMARY KEY (`Id`);

--
-- Indexes for table `customerbillinginfo`
--
ALTER TABLE `customerbillinginfo`
  ADD PRIMARY KEY (`Id`);

--
-- Indexes for table `customerresidancetype`
--
ALTER TABLE `customerresidancetype`
  ADD PRIMARY KEY (`Id`);

--
-- Indexes for table `customershippinginfo`
--
ALTER TABLE `customershippinginfo`
  ADD PRIMARY KEY (`Id`);

--
-- Indexes for table `customerwishlist`
--
ALTER TABLE `customerwishlist`
  ADD PRIMARY KEY (`Id`);

--
-- Indexes for table `department`
--
ALTER TABLE `department`
  ADD PRIMARY KEY (`Id`);

--
-- Indexes for table `designation`
--
ALTER TABLE `designation`
  ADD PRIMARY KEY (`Id`);

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

--
-- Indexes for table `employeetype`
--
ALTER TABLE `employeetype`
  ADD PRIMARY KEY (`Id`);

--
-- Indexes for table `failed_jobs`
--
ALTER TABLE `failed_jobs`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `failed_jobs_uuid_unique` (`uuid`);

--
-- Indexes for table `grades`
--
ALTER TABLE `grades`
  ADD PRIMARY KEY (`Id`);

--
-- Indexes for table `groups`
--
ALTER TABLE `groups`
  ADD PRIMARY KEY (`Id`);

--
-- Indexes for table `hrdocumentstatus`
--
ALTER TABLE `hrdocumentstatus`
  ADD PRIMARY KEY (`Id`);

--
-- Indexes for table `hrdocumenttype`
--
ALTER TABLE `hrdocumenttype`
  ADD PRIMARY KEY (`Id`);

--
-- Indexes for table `hrinstitute`
--
ALTER TABLE `hrinstitute`
  ADD PRIMARY KEY (`Id`);

--
-- Indexes for table `industry`
--
ALTER TABLE `industry`
  ADD PRIMARY KEY (`Id`);

--
-- Indexes for table `institute`
--
ALTER TABLE `institute`
  ADD PRIMARY KEY (`Id`);

--
-- Indexes for table `interest`
--
ALTER TABLE `interest`
  ADD PRIMARY KEY (`Id`);

--
-- Indexes for table `nationality`
--
ALTER TABLE `nationality`
  ADD PRIMARY KEY (`Id`),
  ADD UNIQUE KEY `IX_nationality` (`Nationality`);

--
-- Indexes for table `orderbillinginfo`
--
ALTER TABLE `orderbillinginfo`
  ADD PRIMARY KEY (`Id`);

--
-- Indexes for table `orderdetail`
--
ALTER TABLE `orderdetail`
  ADD PRIMARY KEY (`Id`);

--
-- Indexes for table `orders`
--
ALTER TABLE `orders`
  ADD PRIMARY KEY (`Id`);

--
-- Indexes for table `ordershippinginfo`
--
ALTER TABLE `ordershippinginfo`
  ADD PRIMARY KEY (`Id`);

--
-- Indexes for table `orderstype`
--
ALTER TABLE `orderstype`
  ADD PRIMARY KEY (`Id`);

--
-- Indexes for table `pages`
--
ALTER TABLE `pages`
  ADD PRIMARY KEY (`Id`);

--
-- Indexes for table `paymentstatus`
--
ALTER TABLE `paymentstatus`
  ADD PRIMARY KEY (`Id`);

--
-- Indexes for table `paymenttype`
--
ALTER TABLE `paymenttype`
  ADD PRIMARY KEY (`Id`);

--
-- Indexes for table `placeofsupply`
--
ALTER TABLE `placeofsupply`
  ADD PRIMARY KEY (`Id`);

--
-- Indexes for table `product`
--
ALTER TABLE `product`
  ADD PRIMARY KEY (`Id`);

--
-- Indexes for table `productattribute`
--
ALTER TABLE `productattribute`
  ADD PRIMARY KEY (`Id`);

--
-- Indexes for table `productpicture`
--
ALTER TABLE `productpicture`
  ADD PRIMARY KEY (`Id`);

--
-- Indexes for table `productrating`
--
ALTER TABLE `productrating`
  ADD PRIMARY KEY (`Id`);

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

--
-- Indexes for table `productwarehouse`
--
ALTER TABLE `productwarehouse`
  ADD PRIMARY KEY (`Id`);

--
-- Indexes for table `productype`
--
ALTER TABLE `productype`
  ADD PRIMARY KEY (`Id`);

--
-- Indexes for table `profession`
--
ALTER TABLE `profession`
  ADD PRIMARY KEY (`Id`);

--
-- Indexes for table `relation`
--
ALTER TABLE `relation`
  ADD PRIMARY KEY (`Id`);

--
-- Indexes for table `religion`
--
ALTER TABLE `religion`
  ADD PRIMARY KEY (`Id`);

--
-- Indexes for table `resignreason`
--
ALTER TABLE `resignreason`
  ADD PRIMARY KEY (`Id`);

--
-- Indexes for table `returpolicy`
--
ALTER TABLE `returpolicy`
  ADD PRIMARY KEY (`Id`);

--
-- Indexes for table `sec_forms`
--
ALTER TABLE `sec_forms`
  ADD PRIMARY KEY (`Id`);

--
-- Indexes for table `sec_module`
--
ALTER TABLE `sec_module`
  ADD PRIMARY KEY (`Id`);

--
-- Indexes for table `sec_zone`
--
ALTER TABLE `sec_zone`
  ADD PRIMARY KEY (`Id`);

--
-- Indexes for table `sec_zone_gate`
--
ALTER TABLE `sec_zone_gate`
  ADD PRIMARY KEY (`Id`);

--
-- Indexes for table `seller`
--
ALTER TABLE `seller`
  ADD PRIMARY KEY (`Id`);

--
-- Indexes for table `shipping`
--
ALTER TABLE `shipping`
  ADD PRIMARY KEY (`Id`);

--
-- Indexes for table `skills`
--
ALTER TABLE `skills`
  ADD PRIMARY KEY (`Id`);

--
-- Indexes for table `socialmedialinks`
--
ALTER TABLE `socialmedialinks`
  ADD PRIMARY KEY (`Id`);

--
-- Indexes for table `sourceofsupply`
--
ALTER TABLE `sourceofsupply`
  ADD PRIMARY KEY (`Id`);

--
-- Indexes for table `state`
--
ALTER TABLE `state`
  ADD PRIMARY KEY (`Id`);

--
-- Indexes for table `tax`
--
ALTER TABLE `tax`
  ADD PRIMARY KEY (`Id`);

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

--
-- Indexes for table `warehouse`
--
ALTER TABLE `warehouse`
  ADD PRIMARY KEY (`Id`);

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

--
-- AUTO_INCREMENT for table `app_acct_chart_of_account`
--
ALTER TABLE `app_acct_chart_of_account`
  MODIFY `Id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=69;

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

--
-- AUTO_INCREMENT for table `app_acct_ledger_entries`
--
ALTER TABLE `app_acct_ledger_entries`
  MODIFY `Id` bigint(20) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=25;

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

--
-- AUTO_INCREMENT for table `app_acc_chart_of_account_links`
--
ALTER TABLE `app_acc_chart_of_account_links`
  MODIFY `Id` int(11) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `app_asset_item`
--
ALTER TABLE `app_asset_item`
  MODIFY `Id` int(11) NOT NULL AUTO_INCREMENT;

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

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

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

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

--
-- AUTO_INCREMENT for table `app_gen_setting_area`
--
ALTER TABLE `app_gen_setting_area`
  MODIFY `Id` bigint(20) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3;

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

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

--
-- AUTO_INCREMENT for table `app_gen_setting_factory`
--
ALTER TABLE `app_gen_setting_factory`
  MODIFY `Id` bigint(20) NOT NULL AUTO_INCREMENT;

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

--
-- AUTO_INCREMENT for table `app_gen_setting_state`
--
ALTER TABLE `app_gen_setting_state`
  MODIFY `Id` bigint(20) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2;

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

--
-- AUTO_INCREMENT for table `app_hr_department`
--
ALTER TABLE `app_hr_department`
  MODIFY `Id` int(11) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `app_hr_designation`
--
ALTER TABLE `app_hr_designation`
  MODIFY `Id` int(11) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `app_hr_profession`
--
ALTER TABLE `app_hr_profession`
  MODIFY `Id` bigint(20) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `app_inv_customer`
--
ALTER TABLE `app_inv_customer`
  MODIFY `Id` bigint(20) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=7;

--
-- AUTO_INCREMENT for table `app_inv_customer_payment`
--
ALTER TABLE `app_inv_customer_payment`
  MODIFY `Id` bigint(20) NOT NULL AUTO_INCREMENT;

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

--
-- AUTO_INCREMENT for table `app_inv_delivery_order`
--
ALTER TABLE `app_inv_delivery_order`
  MODIFY `Id` bigint(20) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=6;

--
-- AUTO_INCREMENT for table `app_inv_delivery_order_detail`
--
ALTER TABLE `app_inv_delivery_order_detail`
  MODIFY `Id` bigint(20) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=8;

--
-- AUTO_INCREMENT for table `app_inv_discount_type`
--
ALTER TABLE `app_inv_discount_type`
  MODIFY `Id` int(11) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `app_inv_document`
--
ALTER TABLE `app_inv_document`
  MODIFY `Id` int(11) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `app_inv_grn_order`
--
ALTER TABLE `app_inv_grn_order`
  MODIFY `Id` bigint(20) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=6;

--
-- AUTO_INCREMENT for table `app_inv_grn_order_detail`
--
ALTER TABLE `app_inv_grn_order_detail`
  MODIFY `Id` bigint(20) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=7;

--
-- AUTO_INCREMENT for table `app_inv_grn_order_other_expense`
--
ALTER TABLE `app_inv_grn_order_other_expense`
  MODIFY `Id` bigint(20) NOT NULL AUTO_INCREMENT;

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

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

--
-- AUTO_INCREMENT for table `app_inv_item_warehouse`
--
ALTER TABLE `app_inv_item_warehouse`
  MODIFY `Id` bigint(20) NOT NULL AUTO_INCREMENT;

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

--
-- AUTO_INCREMENT for table `app_inv_purchase_order`
--
ALTER TABLE `app_inv_purchase_order`
  MODIFY `Id` bigint(20) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=15;

--
-- AUTO_INCREMENT for table `app_inv_purchase_order_detail`
--
ALTER TABLE `app_inv_purchase_order_detail`
  MODIFY `Id` bigint(20) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=29;

--
-- AUTO_INCREMENT for table `app_inv_store_requisition`
--
ALTER TABLE `app_inv_store_requisition`
  MODIFY `Id` bigint(20) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `app_inv_store_requisition_detail`
--
ALTER TABLE `app_inv_store_requisition_detail`
  MODIFY `Id` bigint(20) NOT NULL AUTO_INCREMENT;

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

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

--
-- AUTO_INCREMENT for table `app_payroll_allowance`
--
ALTER TABLE `app_payroll_allowance`
  MODIFY `Id` bigint(20) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2;

--
-- AUTO_INCREMENT for table `app_payroll_deduction`
--
ALTER TABLE `app_payroll_deduction`
  MODIFY `Id` bigint(20) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2;

--
-- AUTO_INCREMENT for table `app_payroll_employee_allowance`
--
ALTER TABLE `app_payroll_employee_allowance`
  MODIFY `Id` bigint(20) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2;

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

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

--
-- AUTO_INCREMENT for table `app_payroll_emplpyee_weekly_salary_payment`
--
ALTER TABLE `app_payroll_emplpyee_weekly_salary_payment`
  MODIFY `Id` int(11) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `app_payroll_emplpyee_weekly_salary_payment_detail`
--
ALTER TABLE `app_payroll_emplpyee_weekly_salary_payment_detail`
  MODIFY `Id` int(11) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `app_pointofsale_customer_payment`
--
ALTER TABLE `app_pointofsale_customer_payment`
  MODIFY `Id` bigint(20) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=6;

--
-- AUTO_INCREMENT for table `app_pointofsale_sale_order`
--
ALTER TABLE `app_pointofsale_sale_order`
  MODIFY `Id` bigint(20) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=50;

--
-- AUTO_INCREMENT for table `app_pointofsale_sale_order_detail`
--
ALTER TABLE `app_pointofsale_sale_order_detail`
  MODIFY `Id` bigint(20) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=89;

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

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

--
-- AUTO_INCREMENT for table `app_pos_daily_expense`
--
ALTER TABLE `app_pos_daily_expense`
  MODIFY `Id` bigint(20) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=6;

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

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

--
-- AUTO_INCREMENT for table `app_project_management_lead_status`
--
ALTER TABLE `app_project_management_lead_status`
  MODIFY `Id` bigint(20) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2;

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

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

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

--
-- AUTO_INCREMENT for table `area`
--
ALTER TABLE `area`
  MODIFY `Id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2;

--
-- AUTO_INCREMENT for table `attribute`
--
ALTER TABLE `attribute`
  MODIFY `Id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=9;

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

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

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

--
-- AUTO_INCREMENT for table `brand`
--
ALTER TABLE `brand`
  MODIFY `Id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=4;

--
-- AUTO_INCREMENT for table `campaign`
--
ALTER TABLE `campaign`
  MODIFY `Id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=6;

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

--
-- AUTO_INCREMENT for table `category`
--
ALTER TABLE `category`
  MODIFY `Id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=6;

--
-- AUTO_INCREMENT for table `city`
--
ALTER TABLE `city`
  MODIFY `Id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2;

--
-- AUTO_INCREMENT for table `contactus`
--
ALTER TABLE `contactus`
  MODIFY `Id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=34;

--
-- AUTO_INCREMENT for table `contactusreply`
--
ALTER TABLE `contactusreply`
  MODIFY `Id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `country`
--
ALTER TABLE `country`
  MODIFY `Id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=240;

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

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

--
-- AUTO_INCREMENT for table `customerbillinginfo`
--
ALTER TABLE `customerbillinginfo`
  MODIFY `Id` bigint(20) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2;

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

--
-- AUTO_INCREMENT for table `customershippinginfo`
--
ALTER TABLE `customershippinginfo`
  MODIFY `Id` bigint(20) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2;

--
-- AUTO_INCREMENT for table `customerwishlist`
--
ALTER TABLE `customerwishlist`
  MODIFY `Id` bigint(20) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=5;

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

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

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

--
-- AUTO_INCREMENT for table `employeetype`
--
ALTER TABLE `employeetype`
  MODIFY `Id` bigint(20) NOT NULL AUTO_INCREMENT;

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

--
-- AUTO_INCREMENT for table `grades`
--
ALTER TABLE `grades`
  MODIFY `Id` bigint(20) NOT NULL AUTO_INCREMENT;

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

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

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

--
-- AUTO_INCREMENT for table `hrinstitute`
--
ALTER TABLE `hrinstitute`
  MODIFY `Id` bigint(20) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `industry`
--
ALTER TABLE `industry`
  MODIFY `Id` bigint(20) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `institute`
--
ALTER TABLE `institute`
  MODIFY `Id` bigint(20) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `interest`
--
ALTER TABLE `interest`
  MODIFY `Id` bigint(20) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `nationality`
--
ALTER TABLE `nationality`
  MODIFY `Id` bigint(20) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2;

--
-- AUTO_INCREMENT for table `orderbillinginfo`
--
ALTER TABLE `orderbillinginfo`
  MODIFY `Id` bigint(20) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=5;

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

--
-- AUTO_INCREMENT for table `orders`
--
ALTER TABLE `orders`
  MODIFY `Id` bigint(20) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=7;

--
-- AUTO_INCREMENT for table `ordershippinginfo`
--
ALTER TABLE `ordershippinginfo`
  MODIFY `Id` bigint(20) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=5;

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

--
-- AUTO_INCREMENT for table `pages`
--
ALTER TABLE `pages`
  MODIFY `Id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT;

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

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

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

--
-- AUTO_INCREMENT for table `product`
--
ALTER TABLE `product`
  MODIFY `Id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=20;

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

--
-- AUTO_INCREMENT for table `productpicture`
--
ALTER TABLE `productpicture`
  MODIFY `Id` bigint(20) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `productrating`
--
ALTER TABLE `productrating`
  MODIFY `Id` bigint(20) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=16;

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

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

--
-- AUTO_INCREMENT for table `productype`
--
ALTER TABLE `productype`
  MODIFY `Id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2;

--
-- AUTO_INCREMENT for table `profession`
--
ALTER TABLE `profession`
  MODIFY `Id` bigint(20) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `relation`
--
ALTER TABLE `relation`
  MODIFY `Id` bigint(20) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `religion`
--
ALTER TABLE `religion`
  MODIFY `Id` bigint(20) NOT NULL AUTO_INCREMENT;

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

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

--
-- AUTO_INCREMENT for table `sec_forms`
--
ALTER TABLE `sec_forms`
  MODIFY `Id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=67;

--
-- AUTO_INCREMENT for table `sec_module`
--
ALTER TABLE `sec_module`
  MODIFY `Id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=15;

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

--
-- AUTO_INCREMENT for table `sec_zone_gate`
--
ALTER TABLE `sec_zone_gate`
  MODIFY `Id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=1501;

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

--
-- AUTO_INCREMENT for table `shipping`
--
ALTER TABLE `shipping`
  MODIFY `Id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=4;

--
-- AUTO_INCREMENT for table `skills`
--
ALTER TABLE `skills`
  MODIFY `Id` bigint(20) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `socialmedialinks`
--
ALTER TABLE `socialmedialinks`
  MODIFY `Id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2;

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

--
-- AUTO_INCREMENT for table `state`
--
ALTER TABLE `state`
  MODIFY `Id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=4;

--
-- AUTO_INCREMENT for table `tax`
--
ALTER TABLE `tax`
  MODIFY `Id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2;

--
-- AUTO_INCREMENT for table `unit`
--
ALTER TABLE `unit`
  MODIFY `Id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2;

--
-- AUTO_INCREMENT for table `warehouse`
--
ALTER TABLE `warehouse`
  MODIFY `Id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3;
COMMIT;

