-- phpMyAdmin SQL Dump
-- version 5.2.2
-- https://www.phpmyadmin.net/
--
-- Host: localhost:3306
-- Generation Time: Feb 19, 2026 at 07:11 PM
-- Server version: 10.6.24-MariaDB-cll-lve
-- PHP Version: 8.4.16

SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
START TRANSACTION;
SET time_zone = "+00:00";


/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
/*!40101 SET NAMES utf8mb4 */;

--
-- Database: `bectelec_fluterupdate`
--

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

--
-- Table structure for table `charges`
--

CREATE TABLE `charges` (
  `id` int(11) NOT NULL,
  `service` varchar(255) NOT NULL,
  `charge_type` enum('percentage','fixed_charge') NOT NULL DEFAULT 'percentage',
  `percent` decimal(5,2) DEFAULT NULL,
  `fixed_charge` decimal(10,2) DEFAULT NULL,
  `status` enum('On','Off') DEFAULT 'On',
  `created_at` timestamp NOT NULL DEFAULT current_timestamp(),
  `updated_at` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp()
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `charges`
--

INSERT INTO `charges` (`id`, `service`, `charge_type`, `percent`, `fixed_charge`, `status`, `created_at`, `updated_at`) VALUES
(1, 'Wallet Funding - PluzzPay', 'percentage', 1.20, NULL, 'On', '2026-02-18 12:39:36', '2026-02-18 12:39:36'),
(2, 'Wallet Funding - Payvessel', 'percentage', 1.20, NULL, 'On', '2026-02-18 12:39:36', '2026-02-18 12:39:36'),
(3, 'Wallet Funding - PaymentPoint', 'percentage', 1.20, NULL, 'On', '2026-02-18 12:39:36', '2026-02-18 12:39:36'),
(4, 'Wallet Funding - NCWallet', 'percentage', 1.20, NULL, 'On', '2026-02-18 12:39:36', '2026-02-18 12:39:36');

--
-- Indexes for dumped tables
--

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

--
-- AUTO_INCREMENT for dumped tables
--

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

/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
