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

START TRANSACTION;



--
-- Database: `webbazar_smartschool_v1`
--

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

--
-- Table structure for table `4th_grad_point_v3`
--

CREATE TABLE `4th_grad_point_v3` (
  `id` int(11) NOT NULL,
  `name` varchar(255) NOT NULL,
  `points_grades` text NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

--
-- Dumping data for table `4th_grad_point_v3`
--

INSERT INTO `4th_grad_point_v3` (`id`, `name`, `points_grades`) VALUES
(1, 'Default', '[{\"point\":\"5.00\",\"grad\":\"A+\"},{\"point\":\"4.00\",\"grad\":\"A\"},{\"point\":\"3.00\",\"grad\":\"B\"},{\"point\":\"0.1\",\"grad\":\"D\"}]');

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

--
-- Table structure for table `academic_bkash_refunds`
--

CREATE TABLE `academic_bkash_refunds` (
  `id` int(11) NOT NULL,
  `student_id` varchar(200) DEFAULT NULL,
  `course_id` varchar(500) DEFAULT NULL,
  `payment_id` varchar(200) DEFAULT NULL,
  `original_trx_id` varchar(200) DEFAULT NULL,
  `refund_trx_id` varchar(200) DEFAULT NULL,
  `amount` varchar(200) DEFAULT NULL,
  `status` varchar(200) DEFAULT NULL,
  `reason` text DEFAULT NULL,
  `created_at` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp()
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

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

--
-- Table structure for table `academic_year`
--

CREATE TABLE `academic_year` (
  `academic_year_id` int(11) NOT NULL,
  `academic_year_name_bn` varchar(255) DEFAULT NULL,
  `academic_year_name_en` varchar(255) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

--
-- Dumping data for table `academic_year`
--

INSERT INTO `academic_year` (`academic_year_id`, `academic_year_name_bn`, `academic_year_name_en`) VALUES
(4, '২০২৫', '2025'),
(6, '2026', '2026');

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

--
-- Table structure for table `accounting_additional_fees`
--

CREATE TABLE `accounting_additional_fees` (
  `id` int(11) NOT NULL,
  `student_id` varchar(50) NOT NULL,
  `description` text NOT NULL,
  `amount` varchar(10) NOT NULL,
  `payment_method` varchar(200) DEFAULT NULL,
  `transaction_id` varchar(500) DEFAULT NULL,
  `payment_date` varchar(200) DEFAULT NULL,
  `status` enum('pending','paid') DEFAULT 'pending',
  `date` date DEFAULT NULL,
  `created_at` timestamp NOT NULL DEFAULT current_timestamp()
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

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

--
-- Table structure for table `accounting_bank_accounts`
--

CREATE TABLE `accounting_bank_accounts` (
  `id` int(11) NOT NULL,
  `bank_name` varchar(100) NOT NULL,
  `account_name` varchar(100) NOT NULL,
  `account_number` varchar(50) NOT NULL,
  `branch_name` varchar(100) NOT NULL,
  `opening_balance` decimal(15,2) DEFAULT 0.00,
  `current_balance` decimal(15,2) DEFAULT 0.00,
  `status` tinyint(1) DEFAULT 1,
  `created_at` timestamp NOT NULL DEFAULT current_timestamp(),
  `created_by` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

--
-- Dumping data for table `accounting_bank_accounts`
--

INSERT INTO `accounting_bank_accounts` (`id`, `bank_name`, `account_name`, `account_number`, `branch_name`, `opening_balance`, `current_balance`, `status`, `created_at`, `created_by`) VALUES
(1, 'City bank', 'City bank', '4564', '56456456', NULL, '2151.00', 1, '2025-05-23 03:34:49', 1),
(2, 'Islami Bank', 'Islami Bank', '5164565646546', 'Islami Bank', '0.00', '0.00', 1, '2025-05-23 03:41:57', 1);

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

--
-- Table structure for table `accounting_bank_transactions`
--

CREATE TABLE `accounting_bank_transactions` (
  `id` int(11) NOT NULL,
  `bank_account_id` int(11) NOT NULL,
  `type` enum('deposit','withdraw','transfer') NOT NULL,
  `amount` decimal(15,2) NOT NULL,
  `description` text NOT NULL,
  `cheque_no` varchar(50) DEFAULT NULL,
  `reference` varchar(100) DEFAULT NULL,
  `transaction_date` date NOT NULL,
  `created_at` timestamp NOT NULL DEFAULT current_timestamp(),
  `created_by` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

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

--
-- Table structure for table `accounting_bkash_pay`
--

CREATE TABLE `accounting_bkash_pay` (
  `id` int(11) NOT NULL,
  `invoice_id` varchar(200) NOT NULL,
  `payment_id` varchar(200) NOT NULL,
  `payment_month` varchar(11) DEFAULT NULL,
  `trx_id` varchar(200) NOT NULL,
  `student_id` int(11) NOT NULL,
  `year` int(11) NOT NULL,
  `course_id` varchar(200) NOT NULL,
  `amount` varchar(200) NOT NULL,
  `payment_type` varchar(200) NOT NULL,
  `description` text NOT NULL,
  `status` varchar(200) NOT NULL,
  `payment_execute_time` datetime NOT NULL,
  `payment_method` varchar(200) NOT NULL,
  `response` text NOT NULL,
  `created_at` datetime NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

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

--
-- Table structure for table `accounting_cash_transactions`
--

CREATE TABLE `accounting_cash_transactions` (
  `id` int(11) NOT NULL,
  `type` enum('cash_in','cash_out') NOT NULL,
  `amount` decimal(15,2) NOT NULL,
  `description` text NOT NULL,
  `voucher_no` varchar(50) DEFAULT NULL,
  `reference` varchar(100) DEFAULT NULL,
  `transaction_date` date NOT NULL,
  `created_at` timestamp NOT NULL DEFAULT current_timestamp(),
  `created_by` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

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

--
-- Table structure for table `accounting_cost_category_v5`
--

CREATE TABLE `accounting_cost_category_v5` (
  `id` int(11) NOT NULL,
  `name` varchar(500) NOT NULL,
  `details` text DEFAULT NULL,
  `date` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp()
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

--
-- Dumping data for table `accounting_cost_category_v5`
--

INSERT INTO `accounting_cost_category_v5` (`id`, `name`, `details`, `date`) VALUES
(2, 'Teacher Salary', 'Teacher Salar', '2025-09-20 13:34:21');

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

--
-- Table structure for table `accounting_cost_inc_sms_v5`
--

CREATE TABLE `accounting_cost_inc_sms_v5` (
  `id` int(11) NOT NULL,
  `cost_sms_temp` varchar(1000) DEFAULT NULL,
  `income_sms_temp` varchar(1000) DEFAULT NULL,
  `date` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp()
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

--
-- Dumping data for table `accounting_cost_inc_sms_v5`
--

INSERT INTO `accounting_cost_inc_sms_v5` (`id`, `cost_sms_temp`, `income_sms_temp`, `date`) VALUES
(1, 'সম্মানিত গ্রাহক `cost_by_or_income_by`, আপনি `amount` টাকা খরচ করেছেন, আপনার ভাউচার নাম্বার `voucher_no` বিস্তারিত জানতে যোগাযোগ করুন ওয়েব বাজার বিডি |', 'সম্মানিত শুভাকাঙ্ক্ষী `cost_by_or_income_by`, আপনার অনুদান টি গ্রহণ করা হয়েছে `amount` টাকা, আপনার ভাউচার নাম্বার `voucher_no` |', '2025-09-22 05:46:49');

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

--
-- Table structure for table `accounting_cost_v5`
--

CREATE TABLE `accounting_cost_v5` (
  `id` int(11) NOT NULL,
  `voucher_no` varchar(200) DEFAULT NULL,
  `amount` varchar(500) NOT NULL,
  `description` text DEFAULT NULL,
  `category_id` varchar(200) NOT NULL,
  `cost_by_name` varchar(500) DEFAULT NULL,
  `attachment` varchar(500) NOT NULL,
  `date` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
  `phone` varchar(255) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

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

--
-- Table structure for table `accounting_income_category_v5`
--

CREATE TABLE `accounting_income_category_v5` (
  `id` int(11) NOT NULL,
  `name` varchar(500) NOT NULL,
  `details` text NOT NULL,
  `date` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp()
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

--
-- Dumping data for table `accounting_income_category_v5`
--

INSERT INTO `accounting_income_category_v5` (`id`, `name`, `details`, `date`) VALUES
(2, 'Donar', 'Donar', '2025-09-20 13:33:35');

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

--
-- Table structure for table `accounting_income_v5`
--

CREATE TABLE `accounting_income_v5` (
  `id` int(11) NOT NULL,
  `voucher_no` varchar(200) DEFAULT NULL,
  `amount` varchar(20) NOT NULL,
  `description` text NOT NULL,
  `category_id` int(11) NOT NULL,
  `income_by_name` varchar(200) NOT NULL,
  `attachment` varchar(500) NOT NULL,
  `date` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
  `phone` varchar(255) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

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

--
-- Table structure for table `accounting_log_v5`
--

CREATE TABLE `accounting_log_v5` (
  `id` int(11) NOT NULL,
  `title` varchar(500) NOT NULL,
  `details` text NOT NULL,
  `user_id` int(11) NOT NULL,
  `date` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp()
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

--
-- Dumping data for table `accounting_log_v5`
--

INSERT INTO `accounting_log_v5` (`id`, `title`, `details`, `user_id`, `date`) VALUES
(4, 'Payment Transaction Deleted', '{\"student_id\":\"20252013\",\"student_name\":\"s\",\"amount\":\"200.00\",\"date\":\"2025-08-12 17:25:20\",\"payment_id\":\"20\"}', 1, '2025-08-23 05:57:32'),
(5, 'Payment Transaction Deleted', '{\"student_id\":\"20252013\",\"student_name\":\"s\",\"amount\":\"200.00\",\"date\":\"2025-08-12 17:24:56\",\"payment_id\":\"19\"}', 1, '2025-08-23 05:57:34'),
(6, 'Payment Transaction Deleted', '{\"student_id\":\"20252015\",\"student_name\":\"d\",\"amount\":\"200.00\",\"date\":\"2025-08-10 16:01:10\",\"payment_id\":\"18\"}', 1, '2025-08-23 05:57:36'),
(7, 'Payment Transaction Deleted', '{\"student_id\":\"20252014\",\"student_name\":\"Abar Aftahi\",\"amount\":\"50.00\",\"date\":\"2025-08-09 16:06:58\",\"payment_id\":\"17\"}', 1, '2025-08-23 05:57:38'),
(8, 'Payment Transaction Deleted', '{\"student_id\":\"20252013\",\"student_name\":\"s\",\"amount\":\"50.00\",\"date\":\"2025-08-09 16:01:14\",\"payment_id\":\"16\"}', 1, '2025-08-23 05:57:40'),
(9, 'Particular Deleted - Name: mm', 'one_time', 1, '2025-08-23 10:07:25'),
(10, 'Particular Deleted - Name: t1', 'one_time', 1, '2025-08-23 11:33:09'),
(11, 'Particular Deleted - Name: tt', 'one_time', 1, '2025-08-23 11:33:11'),
(12, 'Particular Deleted - Name: test', 'one_time', 1, '2025-08-23 11:33:12'),
(13, 'Particular Deleted - Name: Admit Card', 'one_time', 1, '2025-08-23 15:07:42'),
(14, 'Particular Deleted - Name: T1', 'one_time', 1, '2025-08-23 15:07:45'),
(15, 'Particular Deleted - Name: test', 'one_time', 1, '2025-08-23 15:07:47'),
(16, 'Accounting Data Reset', 'All accounting data has been reset successfully', 1, '2025-08-27 15:28:57'),
(17, 'Accounting Data Reset', 'All accounting data has been reset successfully', 1, '2025-09-12 02:36:46'),
(18, 'Particular Deleted - Name: গাড়ি ভাড়া', 'one_time', 1, '2025-09-13 00:30:26'),
(19, 'Accounting Data Reset', 'All accounting data has been reset successfully', 1, '2025-09-15 12:06:35'),
(20, 'Income Deleted - Amount: 1000', 'ttts', 1, '2025-09-15 12:08:02'),
(21, 'Accounting Data Reset', 'All accounting data has been reset successfully', 1, '2025-09-20 00:29:40'),
(22, 'Payment Transaction Deleted', '{\"student_id\":\"202520110\",\"student_name\":\"11\",\"amount\":\"0.00\",\"date\":\"2025-09-20 06:48:19\",\"payment_id\":\"1\"}', 1, '2025-09-21 05:49:04'),
(23, 'Payment Transaction Deleted', '{\"student_id\":\"20252011\",\"student_name\":\"Mst Halima\",\"amount\":\"10.00\",\"date\":\"2025-09-21 11:49:54\",\"payment_id\":\"2\"}', 1, '2025-09-21 05:51:10'),
(24, 'Accounting Data Reset', 'All accounting data has been reset successfully', 1, '2025-09-26 11:52:23'),
(25, 'Cost Deleted - Amount: 100', '0', 1, '2025-10-07 15:41:49'),
(26, 'Payment Transaction Deleted', 'Transaction ID: 4\nStudent ID: 20252031\n\nDeleted at: 2025-11-03 18:45:36', 1, '2025-11-03 12:45:36'),
(28, 'Payment Transaction Deleted', '{\"student_id\":\"20252014\",\"student_name\":\"Unknown\",\"amount\":\"10.00\",\"date\":\"2025-09-30 11:48:40\",\"payment_id\":\"1\"}', 1, '2025-11-06 00:45:55'),
(29, 'Payment Transaction Deleted', '{\"student_id\":\"20252013\",\"student_name\":\"Unknown\",\"amount\":\"2.00\",\"date\":\"2025-10-13 18:16:32\",\"payment_id\":\"2\"}', 1, '2025-11-06 00:45:58'),
(30, 'Payment Transaction Deleted', '{\"student_id\":\"20252011\",\"student_name\":\"Unknown\",\"amount\":\"2.00\",\"date\":\"2025-10-13 18:16:56\",\"payment_id\":\"3\"}', 1, '2025-11-06 00:46:00'),
(31, 'Accounting Data Reset', 'All accounting data has been reset successfully', 1, '2025-11-06 03:35:20'),
(32, 'Accounting Data Reset', 'All accounting data has been reset successfully', 1, '2025-11-08 14:34:34');

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

--
-- Table structure for table `accounting_manual_getway_v5`
--

CREATE TABLE `accounting_manual_getway_v5` (
  `id` int(11) NOT NULL,
  `name` varchar(500) NOT NULL,
  `qr_code_image` varchar(500) NOT NULL,
  `number` varchar(500) NOT NULL,
  `note` text NOT NULL,
  `date` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp()
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

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

--
-- Table structure for table `accounting_particular_amount_v5`
--

CREATE TABLE `accounting_particular_amount_v5` (
  `id` int(11) NOT NULL,
  `particular_id` varchar(500) NOT NULL,
  `course_id` varchar(200) NOT NULL,
  `amount` int(11) NOT NULL,
  `year` varchar(200) NOT NULL,
  `date` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
  `old_student_amount` decimal(10,2) DEFAULT NULL,
  `branch_id` int(11) DEFAULT NULL,
  `gender` varchar(10) DEFAULT 'All',
  `frequency` varchar(20) DEFAULT 'One Time',
  `months` varchar(50) DEFAULT NULL,
  `selected_students` text DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

--
-- Dumping data for table `accounting_particular_amount_v5`
--

INSERT INTO `accounting_particular_amount_v5` (`id`, `particular_id`, `course_id`, `amount`, `year`, `date`, `old_student_amount`, `branch_id`, `gender`, `frequency`, `months`, `selected_students`) VALUES
(1, '29', '3', 10, '2025', '2025-11-08 13:59:31', '10.00', 1, 'All', 'Monthly', '01,02,03,04,05,06,07,08,09,10,11,12', NULL);

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

--
-- Table structure for table `accounting_particular_history_v5`
--

CREATE TABLE `accounting_particular_history_v5` (
  `id` int(11) NOT NULL,
  `particular_id` int(11) NOT NULL,
  `quantity` int(11) NOT NULL,
  `action` varchar(200) NOT NULL,
  `date` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp()
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

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

--
-- Table structure for table `accounting_particular_stock_v5`
--

CREATE TABLE `accounting_particular_stock_v5` (
  `id` int(11) NOT NULL,
  `particular_id` int(11) NOT NULL,
  `stock` int(11) NOT NULL,
  `date` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp()
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

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

--
-- Table structure for table `accounting_particular_v5`
--

CREATE TABLE `accounting_particular_v5` (
  `id` int(11) NOT NULL,
  `name` varchar(500) NOT NULL,
  `type` varchar(200) DEFAULT 'one_time',
  `pay_lastdate` date DEFAULT NULL,
  `last_date_over_amount` varchar(20) DEFAULT NULL,
  `status` varchar(200) DEFAULT NULL,
  `date` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp()
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

--
-- Dumping data for table `accounting_particular_v5`
--

INSERT INTO `accounting_particular_v5` (`id`, `name`, `type`, `pay_lastdate`, `last_date_over_amount`, `status`, `date`) VALUES
(27, 'ভর্তি ফি', 'one_time', NULL, NULL, NULL, '2025-08-24 00:38:34'),
(28, 'সেশন ফি', 'one_time', NULL, NULL, NULL, '2025-08-24 00:38:43'),
(29, 'মাসিক বেতন', 'one_time', NULL, NULL, NULL, '2025-08-24 00:38:50'),
(31, 'গাড়ি ভাড়া', 'one_time', NULL, NULL, NULL, '2025-09-13 00:30:50');

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

--
-- Table structure for table `accounting_payments_request_v5`
--

CREATE TABLE `accounting_payments_request_v5` (
  `id` int(11) NOT NULL,
  `invoice_id` varchar(200) NOT NULL,
  `payment_month` int(11) DEFAULT NULL,
  `description` text DEFAULT NULL,
  `payment_method` varchar(200) NOT NULL,
  `amount` varchar(200) NOT NULL,
  `type` varchar(200) NOT NULL,
  `transaction_id` varchar(200) NOT NULL,
  `student_id` int(11) NOT NULL,
  `course` int(11) NOT NULL,
  `year` varchar(20) NOT NULL,
  `date` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
  `response` varchar(1000) DEFAULT NULL,
  `pay_number` varchar(200) NOT NULL,
  `previous_submit_count` int(11) NOT NULL DEFAULT 0,
  `lock_status` int(11) NOT NULL DEFAULT 0,
  `status` varchar(300) NOT NULL DEFAULT 'Pending'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

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

--
-- Table structure for table `accounting_payment_method_v5`
--

CREATE TABLE `accounting_payment_method_v5` (
  `id` int(11) NOT NULL,
  `name` varchar(500) NOT NULL,
  `details` text NOT NULL,
  `qr_code_image` varchar(1000) NOT NULL,
  `number` varchar(500) NOT NULL,
  `note` text NOT NULL,
  `date` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp()
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

--
-- Dumping data for table `accounting_payment_method_v5`
--

INSERT INTO `accounting_payment_method_v5` (`id`, `name`, `details`, `qr_code_image`, `number`, `note`, `date`) VALUES
(1, 'Cash', '', '../../images/6801adce25348.jpg', '01710414308', 'একাউন্টিং ম্যানেজার থেকে সরাসরি ক্যাশ নিয়ে রিসিভ দিতে হবে।', '2025-04-18 01:57:33'),
(2, 'বিকাশ পেমেট মার্চেন মেনুয়াল', '', '../../images/6801af30a56b9.jpg', '01710414308', 'মেনয়াল বিকাস পেমেট মার্চেন প্রতিষ্ঠানের একাউন্ট পেমেট করে ট্রান্সজেকশন লিখে দিন ভুল করবেন না।', '2025-04-18 01:57:37'),
(3, 'বিকাস পারসোনাল', '', '../../images/6801ae37506e0.jpg', '01717452764', 'প্রতিষ্ঠানের বিকাস পারসোনাল নাম্বার সেন্ড মানি করে ট্রানজেকশন সঠিক ভাবে লিখে দিন ভুল করবেন না।', '2025-04-18 01:57:42');

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

--
-- Table structure for table `accounting_payment_particular_v5`
--

CREATE TABLE `accounting_payment_particular_v5` (
  `id` int(11) NOT NULL,
  `payment_id` varchar(11) DEFAULT NULL,
  `year` int(11) NOT NULL,
  `student_id` int(11) NOT NULL,
  `particular_id` int(11) NOT NULL,
  `payment_month` varchar(11) DEFAULT NULL,
  `frequency` varchar(100) DEFAULT NULL,
  `amount` varchar(200) NOT NULL,
  `created_at` datetime NOT NULL,
  `sub_id` varchar(255) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

--
-- Dumping data for table `accounting_payment_particular_v5`
--

INSERT INTO `accounting_payment_particular_v5` (`id`, `payment_id`, `year`, `student_id`, `particular_id`, `payment_month`, `frequency`, `amount`, `created_at`, `sub_id`) VALUES
(1, '1', 2025, 20252032, 29, '01', 'Monthly', '10', '2025-11-08 20:00:04', '1'),
(2, '1', 2025, 20252032, 29, '02', 'Monthly', '10', '2025-11-08 20:00:04', '1');

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

--
-- Table structure for table `accounting_payment_transport_v5`
--

CREATE TABLE `accounting_payment_transport_v5` (
  `id` int(11) NOT NULL,
  `payment_id` int(11) NOT NULL,
  `student_id` int(11) NOT NULL,
  `year` int(11) NOT NULL,
  `month` varchar(30) NOT NULL,
  `amount` varchar(200) NOT NULL,
  `created_at` datetime NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

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

--
-- Table structure for table `accounting_payment_tuition_v5`
--

CREATE TABLE `accounting_payment_tuition_v5` (
  `id` int(11) NOT NULL,
  `payment_id` int(11) NOT NULL,
  `student_id` int(11) NOT NULL,
  `year` int(11) NOT NULL,
  `month` varchar(20) NOT NULL,
  `amount` varchar(200) NOT NULL,
  `created_at` datetime NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

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

--
-- Table structure for table `accounting_payment_v5`
--

CREATE TABLE `accounting_payment_v5` (
  `id` int(11) NOT NULL,
  `voucher_no` varchar(50) DEFAULT NULL,
  `student_id` int(11) NOT NULL,
  `year` int(11) NOT NULL,
  `course_id` int(11) NOT NULL,
  `branch_id` int(11) DEFAULT NULL,
  `registration_no` varchar(50) DEFAULT NULL,
  `total_amount` varchar(50) NOT NULL,
  `discount` varchar(50) DEFAULT NULL,
  `paid_amount` varchar(50) NOT NULL,
  `payment_date` varchar(255) DEFAULT NULL,
  `payment_month` int(11) NOT NULL,
  `payment_type` varchar(50) NOT NULL,
  `receive_amount` varchar(20) DEFAULT NULL,
  `due_amount` varchar(20) DEFAULT NULL,
  `created_at` datetime NOT NULL,
  `user_id` int(11) DEFAULT NULL,
  `date` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
  `discount_text` varchar(500) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

--
-- Dumping data for table `accounting_payment_v5`
--

INSERT INTO `accounting_payment_v5` (`id`, `voucher_no`, `student_id`, `year`, `course_id`, `branch_id`, `registration_no`, `total_amount`, `discount`, `paid_amount`, `payment_date`, `payment_month`, `payment_type`, `receive_amount`, `due_amount`, `created_at`, `user_id`, `date`, `discount_text`) VALUES
(1, '0', 20252032, 2025, 3, 1, '20252032', '20', '0', '20', '0000-00-00 00:00:00', 11, 'cash', '20', '0', '2025-11-08 20:00:04', 1, '2025-11-08 14:00:04', '');

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

--
-- Table structure for table `accounting_sell_v5`
--

CREATE TABLE `accounting_sell_v5` (
  `id` int(11) NOT NULL,
  `voucher_no` varchar(200) DEFAULT NULL,
  `student_id` int(11) NOT NULL,
  `year` int(11) NOT NULL,
  `course_id` int(11) NOT NULL,
  `regi` int(11) NOT NULL,
  `particulars` text NOT NULL,
  `discount` varchar(200) NOT NULL,
  `discount_text` varchar(200) NOT NULL,
  `paid_amount` varchar(200) NOT NULL,
  `receive_amount` varchar(200) NOT NULL,
  `due_amount` varchar(200) NOT NULL,
  `date` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp()
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

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

--
-- Table structure for table `accounting_settings_v5`
--

CREATE TABLE `accounting_settings_v5` (
  `id` int(11) NOT NULL,
  `website_name` varchar(300) NOT NULL,
  `short_name` varchar(300) NOT NULL,
  `website_name_bn` varchar(300) NOT NULL,
  `logo` varchar(300) NOT NULL,
  `watermark` varchar(300) NOT NULL,
  `address` varchar(300) NOT NULL,
  `address_bn` varchar(300) NOT NULL,
  `site_url` varchar(300) NOT NULL,
  `invoice` varchar(300) NOT NULL,
  `invoice_note` varchar(300) NOT NULL,
  `invoice_paid_mark` varchar(300) NOT NULL,
  `currency` varchar(20) NOT NULL,
  `sslcommerz` varchar(200) NOT NULL,
  `bkash` varchar(500) NOT NULL,
  `manual_payment` varchar(200) NOT NULL,
  `date` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
  `invoice_prefix` varchar(500) DEFAULT NULL,
  `future_payment_show` varchar(255) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

--
-- Dumping data for table `accounting_settings_v5`
--

INSERT INTO `accounting_settings_v5` (`id`, `website_name`, `short_name`, `website_name_bn`, `logo`, `watermark`, `address`, `address_bn`, `site_url`, `invoice`, `invoice_note`, `invoice_paid_mark`, `currency`, `sslcommerz`, `bkash`, `manual_payment`, `date`, `invoice_prefix`, `future_payment_show`) VALUES
(1, 'Web Bazar BD Smart School', 'Smart School', 'ওয়েব বাজার বিডি স্মার্ট স্কুল', 'logo_1744938786_logopng.png', 'watermark_1741673885_logo.png', 'Lalmonirhat Rangpur Bangladesh', 'লালমনিরহাট, রংপুর, বাংলাদেশ', 'http://localhost/webbazar_smartschool_v1/', 'invoice_1', 'প্রিয় অভিভাবকবৃন্দ, আপনাদের অবগতির জন্য জানানো যাচ্ছে যে, শিক্ষার্থীর বেতন প্রতিমাসের ১-৫ তারিখের মধ্যে দেওয়ার অনুরোধ করা হচ্ছে। কর্তৃপক্ষ', 'on', '', 'on', 'on', 'on', '2025-11-06 00:47:55', 'wbbd', 'on');

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

--
-- Table structure for table `accounting_ssl_pay`
--

CREATE TABLE `accounting_ssl_pay` (
  `id` int(11) NOT NULL,
  `invoice_id` varchar(100) NOT NULL,
  `payment_month` varchar(11) DEFAULT NULL,
  `payment_id` varchar(100) NOT NULL,
  `student_id` int(11) NOT NULL,
  `year` int(11) NOT NULL,
  `course_id` int(11) NOT NULL,
  `amount` varchar(100) NOT NULL,
  `payment_type` varchar(100) NOT NULL,
  `description` text NOT NULL,
  `status` varchar(200) NOT NULL,
  `payment_execute_time` datetime NOT NULL,
  `payment_method` varchar(200) NOT NULL,
  `response` varchar(500) NOT NULL,
  `created_at` datetime NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

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

--
-- Table structure for table `accounting_transaction_v5`
--

CREATE TABLE `accounting_transaction_v5` (
  `id` int(11) NOT NULL,
  `voucher_no` varchar(200) DEFAULT NULL,
  `student_id` int(11) NOT NULL,
  `year` int(11) NOT NULL,
  `course_id` int(11) NOT NULL,
  `branch_id` int(11) DEFAULT NULL,
  `receive_amount` varchar(500) NOT NULL,
  `payment_method_id` varchar(110) NOT NULL,
  `payment_id` int(11) NOT NULL,
  `type` varchar(200) NOT NULL,
  `paymentID` varchar(1000) DEFAULT NULL,
  `created_at` datetime NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

--
-- Dumping data for table `accounting_transaction_v5`
--

INSERT INTO `accounting_transaction_v5` (`id`, `voucher_no`, `student_id`, `year`, `course_id`, `branch_id`, `receive_amount`, `payment_method_id`, `payment_id`, `type`, `paymentID`, `created_at`) VALUES
(1, '0', 20252032, 2025, 3, 1, '20', '1', 1, 'particular', NULL, '2025-11-08 20:00:04');

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

--
-- Table structure for table `accounting_transport_fee_v5`
--

CREATE TABLE `accounting_transport_fee_v5` (
  `id` int(11) NOT NULL,
  `course_id` int(11) NOT NULL,
  `year` int(11) NOT NULL,
  `amount` int(11) NOT NULL,
  `date` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp()
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

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

--
-- Table structure for table `accounting_tuition_fee_v5`
--

CREATE TABLE `accounting_tuition_fee_v5` (
  `id` int(11) NOT NULL,
  `course_id` varchar(500) NOT NULL,
  `year` varchar(200) NOT NULL,
  `amount` int(11) NOT NULL,
  `date` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp()
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

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

--
-- Table structure for table `activities_student_v3`
--

CREATE TABLE `activities_student_v3` (
  `id` int(11) NOT NULL,
  `student_id` int(11) NOT NULL,
  `activity_status` varchar(200) NOT NULL,
  `course` varchar(200) NOT NULL,
  `subject` varchar(200) NOT NULL,
  `date` date NOT NULL,
  `year` varchar(200) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

--
-- Dumping data for table `activities_student_v3`
--

INSERT INTO `activities_student_v3` (`id`, `student_id`, `activity_status`, `course`, `subject`, `date`, `year`) VALUES
(1, 2031, '5', '3', '21', '2025-04-04', '2024'),
(2, 2032, '7', '3', '21', '2025-04-04', '2024'),
(3, 2033, '8', '3', '21', '2025-04-04', '2024'),
(4, 2031, '6', '3', '44', '2025-04-04', '2024'),
(5, 2032, '7', '3', '44', '2025-04-04', '2024'),
(6, 2033, '8', '3', '44', '2025-04-04', '2024'),
(7, 2031, '6', '3', '44', '2025-04-07', '2024'),
(8, 2032, '7', '3', '44', '2025-04-07', '2024'),
(9, 2033, '6', '3', '44', '2025-04-07', '2024'),
(10, 2031, '5', '3', '44', '2025-04-06', '2024'),
(11, 2032, '7', '3', '44', '2025-04-06', '2024'),
(12, 2033, '7', '3', '44', '2025-04-06', '2024'),
(13, 2031, '6', '3', '19', '2025-04-08', '2024'),
(14, 2032, '7', '3', '19', '2025-04-08', '2024'),
(15, 2033, '6', '3', '19', '2025-04-08', '2024');

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

--
-- Table structure for table `activities_v3`
--

CREATE TABLE `activities_v3` (
  `id` int(11) NOT NULL,
  `name` varchar(200) NOT NULL,
  `details` varchar(2000) NOT NULL,
  `date` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp()
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

--
-- Dumping data for table `activities_v3`
--

INSERT INTO `activities_v3` (`id`, `name`, `details`, `date`) VALUES
(5, 'ভালো', 'ভালো', '2024-12-27 06:04:20'),
(6, 'উত্তম', 'উত্তম', '2024-12-27 06:04:29'),
(7, 'খারাপ', 'খারাপ', '2024-12-27 06:04:38'),
(8, 'খুবই খারাপ', 'খুবই খারাপ', '2024-12-27 06:04:45'),
(9, 'Others', 'Others', '2025-01-11 08:50:19');

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

--
-- Table structure for table `add_registation_number_update_info`
--

CREATE TABLE `add_registation_number_update_info` (
  `id` int(11) NOT NULL,
  `log_type` varchar(100) NOT NULL,
  `data` text NOT NULL,
  `title` varchar(100) NOT NULL,
  `creator_by` int(30) NOT NULL,
  `creator_by_sub_user` int(11) NOT NULL,
  `is_read` text NOT NULL,
  `is_red_sub_user` text NOT NULL,
  `created_at` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
  `status` varchar(100) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

--
-- Dumping data for table `add_registation_number_update_info`
--

INSERT INTO `add_registation_number_update_info` (`id`, `log_type`, `data`, `title`, `creator_by`, `creator_by_sub_user`, `is_read`, `is_red_sub_user`, `created_at`, `status`) VALUES
(0, 'registation number create', '{\"message\":\"Created by admin Update Registration create   \",\"creator_name\":\"admin\",\"student_id_p\":\"1\"}', 'Update Registration number', 1, 0, '[\"1\"]', '[\"2\"]', '2023-12-19 01:15:08', 'user'),
(30, 'registation number create', '{\"message\":\"Created by admin Update Registration create   \",\"creator_name\":\"admin\",\"student_id_p\":\"1\"}', 'Update Registration number', 1, 0, '[\"1\"]', '[\"2\"]', '2023-11-04 10:49:41', 'user'),
(31, 'registation number create', '{\"message\":\"Created by admin Update Registration create   \",\"creator_name\":\"admin\",\"student_id_p\":\"4\"}', 'Update Registration number', 1, 0, '[\"1\"]', '[\"2\"]', '2023-11-30 02:02:41', 'user'),
(32, 'bulk registration update', '{\"message\":\"Created by admin Bulk Registration Update for Course ID: 3\",\"creator_name\":\"admin\",\"course_id\":\"3\",\"start_number\":\"000020\",\"success_count\":2,\"error_count\":0}', 'Bulk Update Registration numbers', 1, 0, '[\"1\"]', '[\"2\"]', '2025-03-26 20:24:01', 'user'),
(33, 'bulk registration update', '{\"message\":\"Created by admin Bulk Registration Update for Course ID: 3\",\"creator_name\":\"admin\",\"course_id\":\"3\",\"start_number\":\"20253\",\"success_count\":2,\"error_count\":0}', 'Bulk Update Registration numbers', 1, 0, '[\"1\"]', '[\"2\"]', '2025-03-26 20:24:28', 'user'),
(34, 'bulk registration update', '{\"message\":\"Created by admin Bulk Registration Update for Course ID: 3\",\"creator_name\":\"admin\",\"course_id\":\"3\",\"start_number\":\"20243\",\"success_count\":2,\"error_count\":0}', 'Bulk Update Registration numbers', 1, 0, '[\"1\"]', '[\"2\"]', '2025-03-29 04:47:35', 'user'),
(35, 'bulk registration update', '{\"message\":\"Created by admin Bulk Registration Update for Course ID: 1\",\"creator_name\":\"admin\",\"course_id\":\"1\",\"start_number\":\"1\",\"success_count\":3,\"error_count\":0}', 'Bulk Update Registration numbers', 1, 0, '[\"1\"]', '[\"2\"]', '2025-04-18 05:45:43', 'user'),
(36, 'bulk registration update', '{\"message\":\"Created by admin Bulk Registration Update for Course ID: 1\",\"creator_name\":\"admin\",\"course_id\":\"1\",\"start_number\":\"2025\",\"success_count\":14,\"error_count\":0}', 'Bulk Update Registration numbers', 1, 0, '[\"1\"]', '[\"2\"]', '2025-10-16 00:35:29', 'user');

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

--
-- Table structure for table `admin_notice`
--

CREATE TABLE `admin_notice` (
  `id` int(11) NOT NULL,
  `notice_title` varchar(255) DEFAULT NULL,
  `notice_desc` longtext DEFAULT NULL,
  `notice_link` varchar(255) DEFAULT NULL,
  `teacher_action` varchar(255) DEFAULT NULL,
  `course_id` varchar(255) DEFAULT NULL,
  `user_id` varchar(255) DEFAULT NULL,
  `start_date` varchar(255) DEFAULT NULL,
  `update_date` timestamp NULL DEFAULT current_timestamp(),
  `image` varchar(255) DEFAULT NULL,
  `status` varchar(11) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

--
-- Dumping data for table `admin_notice`
--

INSERT INTO `admin_notice` (`id`, `notice_title`, `notice_desc`, `notice_link`, `teacher_action`, `course_id`, `user_id`, `start_date`, `update_date`, `image`, `status`) VALUES
(16, 'Add Notice dashboard', 'Add Notice dashboardAdd Notice dashboard\r\nAdd Notice dashboard\r\nAdd Notice dashboard\r\nAdd Notice dashboard\r\nAdd Notice dashboard\r\nAdd Notice dashboard\r\nAdd Notice dashboard\r\nAdd Notice dashboard\r\n', NULL, 'all,20241,63', 'all', 'all', '1748352228', '2025-05-27 13:23:48', '098b7a5375.jpg', '1'),
(17, 'Add Notice dashboard', 'Add Notice dashboard', NULL, 'all,20241,63', 'all,1,2,3,4,5,6,7,8,9,10,11,12', 'all,2', '1748353200', '2025-05-27 13:30:54', 'ffb0577a58.jpg', '1'),
(18, '1', '1', NULL, 'all,20241,63', 'all,1,2,3,4,5,6,7,8,9,10,11,12', 'all,2', '1748355801', '2025-05-27 14:23:21', '13e7212cf4.jpg', 'user'),
(19, '1', '1', NULL, 'all,20241,63', 'all,1,2,3,4,5,6,7,8,9,10,11,12', 'all,2', '1748356201', '2025-05-27 14:30:01', 'ea7426150c.jpg', 'user'),
(20, '2', '2', NULL, '', '', 'all,8,9,10,11,13', '1748356233', '2025-05-27 14:30:33', '', 'user'),
(21, '3', '3', NULL, '', '', '13', '1748356248', '2025-05-27 14:30:48', '', 'user');

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

--
-- Table structure for table `admission_form_settings`
--

CREATE TABLE `admission_form_settings` (
  `id` int(11) NOT NULL,
  `field_name` varchar(100) NOT NULL,
  `show_field` tinyint(1) NOT NULL DEFAULT 1,
  `label` varchar(255) NOT NULL,
  `correction_text` varchar(255) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

--
-- Dumping data for table `admission_form_settings`
--

INSERT INTO `admission_form_settings` (`id`, `field_name`, `show_field`, `label`, `correction_text`) VALUES
(1, 's_name_en', 1, 'Student Name (English)', 'Student Name (English)'),
(2, 's_name_bn', 1, 'Student Name (Bangla)', 'Student Name (Bangla)'),
(3, 's_mobile', 1, 'Mother Mobile Number', 'Mother Mobile Number'),
(4, 's_email', 1, 'Email (Optional)', 'Email (Optional)'),
(5, 's_birth_date', 1, 'Date Of Birth', 'Date Of Birth'),
(6, 'id_type', 1, 'ID TYPE', 'ID TYPE'),
(7, 's_birth_certificate', 1, 'Birth Certificate No', 'Birth Certificate No'),
(8, 's_gender', 1, 'Gender', 'Gender'),
(9, 'religion', 1, 'Religion', 'Religion'),
(10, 'bloodgroup', 1, 'Blood Group', 'Blood Group'),
(11, 'present_school_name', 1, 'Present School Name', 'Present School Name'),
(12, 's_father_name_en', 1, 'Father Name (English)', 'Father Name (English)'),
(13, 's_father_name_bn', 1, 'Father Name (Bangla)', 'Father Name (Bangla)'),
(14, 's_father_dob', 1, 'Father Date of Birth', 'Father Date of Birth'),
(15, 's_father_nid', 1, 'Father National ID Number', 'Father ID'),
(16, 's_father_profession', 1, 'Father Profession', 'Father Profession'),
(17, 's_father_contact', 1, 'Father Mobile Number', 'Father Mobile Number'),
(18, 's_mother_name_en', 1, 'Mother Name (English)', 'Mother Name (English)'),
(19, 's_mother_name_bn', 1, 'Mother Name (Bangla)', 'Mother Name (Bangla)'),
(20, 's_mother_dob', 1, 'Mother Date of Birth', 'Mother Date of Birth'),
(21, 's_mother_nid', 1, 'Mother National ID Number', 'Mother Date of Birth'),
(22, 's_mother_profession', 1, 'Mother Profession', 'Mother National ID Number'),
(23, 's_parents_income', 1, 'Parents Yearly Income', 'Parents Yearly Income'),
(24, 's_village', 1, 'Village/House, Road', 'Village/House, Road'),
(25, 's_post_office', 1, 'Post/Block, Section', 'Post/Block, Section'),
(26, 's_police', 1, 'Thana', 'Thana'),
(27, 's_district', 1, 'District', 'District'),
(28, 'p_ad_v', 1, 'Permanent Village/House, Road', 'Permanent Village/House, Road'),
(29, 'p_ad_p', 1, 'Permanent Post/Block, Section', 'Permanent Post/Block, Section'),
(30, 'p_ad_t', 1, 'Permanent Thana', 'Permanent Thana'),
(31, 'p_ad_d', 1, 'Permanent District', 'Permanent District'),
(32, 'class', 1, 'Course', 'Course'),
(33, 'branch', 1, 'Group', 'Group'),
(34, 'section', 1, 'Section', 'Section'),
(35, 'shift', 1, 'Shift', 'Shift'),
(36, 'academic_year', 1, 'Session', 'Session'),
(37, 'quota_name', 1, 'Student Quotes', 'Student Quotes'),
(38, 'institution_name_ex', 1, 'Get Admission In Any Institution', 'Get Admission In Any Institution2'),
(39, 'trade_name', 0, 'Trade Name', 'Trade Name'),
(40, 's_image', 1, 'Student Image ( jpg / png support )', 'Student Image ( jpg / png support )2'),
(41, 'student_signature', 0, 'Student Signature (optional)', 'Student Signature (optional)'),
(42, 'institution_name_ex_text', 0, 'Institution Name', 'Institution Name');

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

--
-- Table structure for table `admission_form_settings_bangla`
--

CREATE TABLE `admission_form_settings_bangla` (
  `id` int(11) NOT NULL,
  `field_name` varchar(100) NOT NULL,
  `show_field` tinyint(1) NOT NULL DEFAULT 1,
  `label` varchar(255) NOT NULL,
  `correction_text` varchar(255) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

--
-- Dumping data for table `admission_form_settings_bangla`
--

INSERT INTO `admission_form_settings_bangla` (`id`, `field_name`, `show_field`, `label`, `correction_text`) VALUES
(1, 's_name_en', 1, 'Student Name (English)', 'শিক্ষার্থীর নাম ইংরেজি'),
(2, 's_name_bn', 1, 'Student Name (Bangla)', 'শিক্ষার্থীর নাম বাংলা'),
(3, 's_mobile', 1, 'Mother Mobile Number', 'মায়ের মোবাইল নম্বর'),
(4, 's_email', 1, 'Email (Optional)', 'ইমেল (ঐচ্ছিক)'),
(5, 's_birth_date', 1, 'Date Of Birth', 'জন্ম তারিখ'),
(6, 'id_type', 1, 'ID TYPE', 'আইডি টাইপ'),
(7, 's_birth_certificate', 0, 'Birth Certificate No', 'জন্ম সনদ নম্বর'),
(8, 's_gender', 1, 'Gender', 'লিঙ্গ'),
(9, 'religion', 1, 'Religion', 'ধর্ম'),
(10, 'bloodgroup', 1, 'Blood Group', 'রক্তের গ্রুপ'),
(11, 'present_school_name', 0, 'Present School Name', 'পূর্বে স্কুলের নাম'),
(12, 's_father_name_en', 1, 'Father Name (English)', 'পিতার নাম (ইংরেজি)'),
(13, 's_father_name_bn', 1, 'Father Name (Bangla)', 'পিতার নাম (বাংলা)'),
(14, 's_father_dob', 1, 'Father Date of Birth', 'পিতার জন্ম তারিখ'),
(15, 's_father_nid', 1, 'Father National ID Number', 'পিতা জাতীয় পরিচয়পত্র'),
(16, 's_father_profession', 1, 'Father Profession', 'পিতার পেশা'),
(17, 's_father_contact', 1, 'Father Mobile Number', 'পিতার মোবাইল নম্বর'),
(18, 's_mother_name_en', 1, 'Mother Name (English)', 'মায়ের নাম (ইংরেজি)'),
(19, 's_mother_name_bn', 1, 'Mother Name (Bangla)', 'মাতার নাম (বাংলা)'),
(20, 's_mother_dob', 1, 'Mother Date of Birth', 'মায়ের জন্ম তারিখ'),
(21, 's_mother_nid', 1, 'Mother National ID Number', 'মায়ের জাতীয় পরিচয়পত্র'),
(22, 's_mother_profession', 1, 'Mother Profession', 'মায়ের পেশা'),
(23, 's_parents_income', 1, 'Parents Yearly Income', 'পিতামাতার বার্ষিক আয়'),
(24, 's_village', 1, 'Village/House, Road', 'গ্রাম/বাড়ি, রাস্তা'),
(25, 's_post_office', 1, 'Post/Block, Section', 'পোস্ট/ব্লক, বিভাগ'),
(26, 's_police', 1, 'Thana', 'থানা'),
(27, 's_district', 1, 'District', 'জেলা'),
(28, 'p_ad_v', 1, 'Permanent Village/House, Road', 'স্থায়ী গ্রাম/বাড়ি, রাস্তা'),
(29, 'p_ad_p', 1, 'Permanent Post/Block, Section', 'স্থায়ী পোস্ট/ব্লক, বিভাগ'),
(30, 'p_ad_t', 1, 'Permanent Thana', 'স্থায়ী থানা'),
(31, 'p_ad_d', 1, 'Permanent District', 'স্থায়ী জেলা'),
(32, 'class', 1, 'Course', 'ক্লাস'),
(33, 'branch', 1, 'Group', 'গ্রুপ'),
(34, 'section', 1, 'Section', 'সেকশন'),
(35, 'shift', 1, 'Shift', 'সিফট'),
(36, 'academic_year', 1, 'Session', 'সেশন'),
(37, 'quota_name', 0, 'Student Quotes', 'শিক্ষার্থী কোটা'),
(38, 'institution_name_ex', 0, 'Get Admission In Any Institution', 'ভর্তির প্রতিষ্ঠানের নাম সিলেক্ট করুন'),
(39, 'trade_name', 0, 'Trade Name', 'ট্রেড নাম'),
(40, 's_image', 1, 'Student Image ( jpg / png support )', 'ছাত্রের ছবি (jpg / png সাপোর্ট)'),
(41, 'student_signature', 0, 'Student Signature (optional)', 'শিক্ষার্থীর স্বাক্ষর (ঐচ্ছিক)'),
(42, 'institution_name_ex_text', 1, 'Institution Name', 'আগে কোন প্রতিষ্ঠানে ভর্তি ছিল');

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

--
-- Table structure for table `admission_form_tamplete`
--

CREATE TABLE `admission_form_tamplete` (
  `id` int(11) NOT NULL,
  `form_name` varchar(250) NOT NULL,
  `file_name` varchar(250) DEFAULT NULL,
  `form_no` varchar(100) NOT NULL,
  `status` int(11) NOT NULL DEFAULT 1
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

--
-- Dumping data for table `admission_form_tamplete`
--

INSERT INTO `admission_form_tamplete` (`id`, `form_name`, `file_name`, `form_no`, `status`) VALUES
(2, '\r\nADMISSION FORM - 1 (English)', NULL, '1', 0),
(3, 'ADMISSION FORM - 2 (Bangla)', NULL, '2', 0),
(4, 'ADMISSION FORM - 3', NULL, '3', 0),
(5, 'ADMISSION FORM - 4', NULL, '4', 0),
(6, 'ADMISSION FORM - 5', NULL, '5', 0),
(7, 'ADMISSION FORM - 6', NULL, '6', 0),
(8, 'ADMISSION FORM - 7', NULL, '7', 0),
(9, 'ADMISSION FORM - 8', NULL, '8', 0),
(10, '\r\nADMISSION FORM - 9 (English)', NULL, '9', 0),
(11, 'ADMISSION FORM - 10 (Bangla)', NULL, '10', 0),
(12, '\nADMISSION FORM - 11 (English)', NULL, '11', 1),
(13, 'ADMISSION FORM - 12 (Bangla)', NULL, '12', 0),
(14, 'ADMISSION FORM - 13 (English)', NULL, '13', 0),
(15, 'ADMISSION FORM - 14 (Bangla)', NULL, '14', 0);

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

--
-- Table structure for table `admission_switch`
--

CREATE TABLE `admission_switch` (
  `id` int(10) NOT NULL,
  `msg` varchar(250) NOT NULL,
  `admission_start_date` varchar(250) DEFAULT NULL,
  `admission_last_date` varchar(250) DEFAULT NULL,
  `type` varchar(100) NOT NULL,
  `status` int(10) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

--
-- Dumping data for table `admission_switch`
--

INSERT INTO `admission_switch` (`id`, `msg`, `admission_start_date`, `admission_last_date`, `type`, `status`) VALUES
(1, 'আগামী ৩০ জুন ভর্তি ফরম পুরণ করা যাবে সকাল ১০ টা হতে ', '1716681600', '1905985800', 'student', 1),
(2, 'Contact Admin For Teacher Registration', '1703039220', '1923964020', 'teacher', 1);

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

--
-- Table structure for table `admit_activation`
--

CREATE TABLE `admit_activation` (
  `id` int(11) NOT NULL,
  `zi_section` int(11) DEFAULT NULL,
  `zi_year` int(11) DEFAULT NULL,
  `zi_session` int(11) DEFAULT NULL,
  `zi_class` int(11) DEFAULT NULL,
  `z_exam_name` int(11) DEFAULT NULL,
  `z_regi_id` int(11) DEFAULT NULL,
  `z_shift` int(11) DEFAULT NULL,
  `z_group` int(11) DEFAULT NULL,
  `status` int(11) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

--
-- Dumping data for table `admit_activation`
--

INSERT INTO `admit_activation` (`id`, `zi_section`, `zi_year`, `zi_session`, `zi_class`, `z_exam_name`, `z_regi_id`, `z_shift`, `z_group`, `status`) VALUES
(13, 6, 2023, 3, 3, 21, 1, 1, 1, 1),
(14, 6, 2023, 3, 3, 21, 3, 1, 1, 1),
(15, 6, 2023, 3, 3, 21, 2, 1, 1, 1),
(16, 6, 2023, 3, 3, 21, 47, 1, 1, 1),
(17, 6, 2023, 3, 3, 23, 1, 1, 1, 1),
(18, 6, 2023, 3, 3, 23, 3, 1, 1, 1),
(19, 6, 2023, 3, 3, 23, 2, 1, 1, 1),
(20, 6, 2023, 3, 3, 23, 47, 1, 1, 1),
(21, 6, 2023, 3, 3, 21, 2, 1, 2, 1),
(22, 6, 2023, 3, 3, 29, 2, 1, 1, 1),
(23, 6, 2023, 3, 3, 29, 0, 1, 1, 1),
(24, 6, 2023, 3, 3, 29, 1, 1, 1, 1),
(25, 6, 2024, 4, 3, 21, 7, 1, 1, 1),
(26, 6, 2024, 4, 3, 21, 6, 1, 1, 1),
(27, 6, 2024, 4, 3, 21, 5, 1, 1, 1),
(28, 6, 2024, 4, 3, 21, 4, 1, 1, 1),
(29, 6, 2024, 4, 3, 21, 3, 1, 1, 1),
(30, 6, 2024, 4, 3, 21, 1, 1, 1, 1),
(31, 6, 2024, 4, 3, 21, 2, 1, 1, 1),
(32, 6, 2024, 4, 3, 21, 0, 1, 1, 1),
(33, 6, 2024, 4, 3, 21, 9, 1, 1, 1);

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

--
-- Table structure for table `admit_card_download`
--

CREATE TABLE `admit_card_download` (
  `id` int(20) NOT NULL,
  `start_date` varchar(250) NOT NULL,
  `end_date` varchar(250) NOT NULL,
  `class` varchar(250) NOT NULL,
  `branch` varchar(250) NOT NULL,
  `year` varchar(250) NOT NULL,
  `session` varchar(250) NOT NULL,
  `section` varchar(100) DEFAULT NULL,
  `shift` varchar(100) DEFAULT NULL,
  `exam_name` longtext NOT NULL,
  `description_code` varchar(100) NOT NULL,
  `particular_id` int(11) NOT NULL,
  `payment_month` varchar(100) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

--
-- Dumping data for table `admit_card_download`
--

INSERT INTO `admit_card_download` (`id`, `start_date`, `end_date`, `class`, `branch`, `year`, `session`, `section`, `shift`, `exam_name`, `description_code`, `particular_id`, `payment_month`) VALUES
(10, '2025-08-22', '2025-08-30', '1', '1', '2025', '5', '6', '3', 'Modal Test-1', '1', 26, '2025-08-01');

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

--
-- Table structure for table `admit_card_exam_name_entry`
--

CREATE TABLE `admit_card_exam_name_entry` (
  `id` int(11) NOT NULL,
  `bangla` varchar(255) DEFAULT NULL,
  `english` varchar(255) DEFAULT NULL,
  `exam_center_name` varchar(255) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

--
-- Dumping data for table `admit_card_exam_name_entry`
--

INSERT INTO `admit_card_exam_name_entry` (`id`, `bangla`, `english`, `exam_center_name`) VALUES
(2, 'প্রথম সাময়িক পরীক্ষা/২০২৪', 'First Provisional Examination/2024', 'ঢাকা কলেজ,ঢাকা'),
(3, 'প্রথম', 'First Provisional ', 'আমার ওয়েব বাজার বিডি'),
(4, '', '', ''),
(5, '', '', '');

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

--
-- Table structure for table `admit_id_card_template`
--

CREATE TABLE `admit_id_card_template` (
  `id` int(20) NOT NULL,
  `card_image` varchar(250) DEFAULT NULL,
  `card_no` int(20) DEFAULT NULL,
  `status` int(10) NOT NULL DEFAULT 1,
  `file_name` varchar(250) DEFAULT '0',
  `css_file_name` varchar(250) NOT NULL DEFAULT '0',
  `active_status` int(12) NOT NULL DEFAULT 0
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

--
-- Dumping data for table `admit_id_card_template`
--

INSERT INTO `admit_id_card_template` (`id`, `card_image`, `card_no`, `status`, `file_name`, `css_file_name`, `active_status`) VALUES
(1, 'image/template_1733536512_1.admit_card_english_1.png', 1, 1, '0', '0', 0),
(2, 'image/template_1728004523_2.admit_card_bangla_2.png', 2, 1, '0', '0', 0),
(3, 'image/template_1728004969_3.admit_card_bangla_3.png', 3, 1, '0', '0', 0),
(4, 'image/template_1704964506_admit_card_english_4.png', 4, 1, '0', '0', 0),
(7, 'image/template_1733499117_5.admit_card_bangla_5.png', 5, 1, '0', '0', 0),
(8, 'image/template_1728004969_3.admit_card_bangla_3.png', 6, 1, '0', '0', 0),
(9, 'image/template_1753327506_admit-cardB.png', 7, 1, '0', '0', 0),
(10, 'image/template_1753327465_admit-cardE.png', 8, 1, '0', '0', 1);

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

--
-- Table structure for table `all_jakat`
--

CREATE TABLE `all_jakat` (
  `id` int(20) NOT NULL,
  `details` varchar(250) NOT NULL,
  `create_date` varchar(100) NOT NULL,
  `total_amount` int(20) NOT NULL,
  `amount_status` varchar(100) DEFAULT NULL,
  `d_status` int(10) NOT NULL DEFAULT 1
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

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

--
-- Table structure for table `all_tax`
--

CREATE TABLE `all_tax` (
  `id` int(10) NOT NULL,
  `percent` int(10) NOT NULL,
  `details` varchar(250) DEFAULT NULL,
  `create_date` varchar(100) NOT NULL,
  `total_amount` int(20) NOT NULL,
  `amount_status` varchar(100) DEFAULT NULL,
  `d_status` int(10) NOT NULL DEFAULT 1
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

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

--
-- Table structure for table `applications_type_v3`
--

CREATE TABLE `applications_type_v3` (
  `id` int(11) NOT NULL,
  `name` varchar(500) NOT NULL,
  `details` text NOT NULL,
  `date` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp()
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

--
-- Dumping data for table `applications_type_v3`
--

INSERT INTO `applications_type_v3` (`id`, `name`, `details`, `date`) VALUES
(1, 'Sick leave', 'sick leave', '2025-01-06 08:28:19'),
(2, 'Tour leave', 'Tour leave', '2025-01-06 08:28:32'),
(3, 'Others', 'Others', '2025-01-06 08:28:40'),
(4, 'Family Problem', 'Family Problem', '2025-01-06 08:31:13');

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

--
-- Table structure for table `attendance`
--

CREATE TABLE `attendance` (
  `id` int(11) NOT NULL,
  `group_std` int(11) DEFAULT NULL,
  `year` int(11) DEFAULT NULL,
  `class_std` int(11) DEFAULT NULL,
  `subject` int(11) DEFAULT NULL,
  `shift_id` int(11) DEFAULT NULL,
  `atten_date` varchar(255) DEFAULT NULL,
  `std_id` varchar(11) NOT NULL,
  `std_time` int(11) NOT NULL,
  `present_status` int(11) DEFAULT NULL COMMENT '1=present, 0= Absent, 2=Unkonw',
  `teacher_id` varchar(100) DEFAULT NULL,
  `is_full_day` int(11) DEFAULT NULL,
  `admin_id` varchar(100) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

--
-- Dumping data for table `attendance`
--

INSERT INTO `attendance` (`id`, `group_std`, `year`, `class_std`, `subject`, `shift_id`, `atten_date`, `std_id`, `std_time`, `present_status`, `teacher_id`, `is_full_day`, `admin_id`) VALUES
(246, 1, 2025, 1, NULL, 3, '2025-06-03', '20252011', 1749137370, 1, NULL, 1, '1'),
(247, 1, 2025, 1, NULL, 3, '2025-06-03', '20252012', 1749137370, 3, NULL, 1, '1'),
(248, 1, 2025, 1, NULL, 3, '2025-06-03', '20252013', 1749137370, 2, NULL, 1, '1'),
(249, 1, 2025, 1, NULL, 3, '2025-06-03', '20252014', 1748958831, 2, NULL, 1, '1'),
(250, 1, 2025, 1, NULL, 3, '2025-06-03', '20252015', 1748958831, 2, NULL, 1, '1'),
(251, 1, 2025, 1, 51, 3, '2025-06-03', '20252011', 1748964540, 3, NULL, 0, '1'),
(252, 1, 2025, 1, 51, 3, '2025-06-03', '20252012', 1748964540, 1, NULL, 0, '1'),
(253, 1, 2025, 1, 51, 3, '2025-06-03', '20252013', 1748964540, 2, NULL, 0, '1'),
(254, 1, 2025, 1, 51, 3, '2025-06-03', '20252014', 1748964540, 2, NULL, 0, '1'),
(255, 1, 2025, 1, 51, 3, '2025-06-03', '20252015', 1748964540, 2, NULL, 0, '1'),
(256, 1, 2025, 1, NULL, 3, '2025-06-04', '20252011', 1749056484, 3, NULL, 1, '1'),
(257, 1, 2025, 1, NULL, 3, '2025-06-04', '20252012', 1749056484, 3, NULL, 1, '1'),
(258, 1, 2025, 1, NULL, 3, '2025-06-04', '20252013', 1749056484, 3, NULL, 1, '1'),
(259, 1, 2025, 1, NULL, 3, '2025-06-04', '20252014', 1749024238, 1, NULL, 1, '1'),
(260, 1, 2025, 1, NULL, 3, '2025-06-04', '20252015', 1749024238, 2, NULL, 1, '1'),
(261, 1, 2025, 1, 51, 3, '2025-06-04', '20252011', 1749024081, 1, NULL, 0, '1'),
(262, 1, 2025, 1, 51, 3, '2025-06-04', '20252012', 1749024081, 3, NULL, 0, '1'),
(263, 1, 2025, 1, 51, 3, '2025-06-04', '20252013', 1749024081, 2, NULL, 0, '1'),
(264, 1, 2025, 1, 51, 3, '2025-06-04', '20252014', 1749024081, 2, NULL, 0, '1'),
(265, 1, 2025, 1, 51, 3, '2025-06-04', '20252015', 1749024081, 2, NULL, 0, '1'),
(266, 1, 2025, 1, 51, 5, '2025-06-04', '20252011', 1749024094, 1, NULL, 0, '1'),
(267, 1, 2025, 1, 51, 5, '2025-06-04', '20252012', 1749024094, 1, NULL, 0, '1'),
(268, 1, 2025, 1, 51, 5, '2025-06-04', '20252013', 1749024094, 3, NULL, 0, '1'),
(269, 1, 2025, 1, 51, 5, '2025-06-04', '20252014', 1749024094, 2, NULL, 0, '1'),
(270, 1, 2025, 1, 51, 5, '2025-06-04', '20252015', 1749024094, 2, NULL, 0, '1'),
(271, 1, 2025, 1, NULL, 5, '2025-06-04', '20252011', 1749024241, 1, NULL, 1, '1'),
(272, 1, 2025, 1, NULL, 5, '2025-06-04', '20252012', 1749024241, 2, NULL, 1, '1'),
(273, 1, 2025, 1, NULL, 5, '2025-06-04', '20252013', 1749024241, 2, NULL, 1, '1'),
(274, 1, 2025, 1, NULL, 5, '2025-06-04', '20252014', 1749024241, 2, NULL, 1, '1'),
(275, 1, 2025, 1, NULL, 5, '2025-06-04', '20252015', 1749024241, 2, NULL, 1, '1'),
(276, 1, 2025, 1, 55, 3, '2025-06-04', '20252011', 1749061448, 2, NULL, 0, '1'),
(277, 1, 2025, 1, 55, 3, '2025-06-04', '20252012', 1749061448, 2, NULL, 0, '1'),
(278, 1, 2025, 1, 55, 3, '2025-06-04', '20252013', 1749061448, 3, NULL, 0, '1'),
(279, 1, 2025, 1, NULL, 5, '2025-06-03', '20252011', 1749137846, 3, NULL, 1, '1'),
(280, 1, 2025, 1, NULL, 5, '2025-06-03', '20252012', 1749137846, 1, NULL, 1, '1'),
(281, 1, 2025, 1, NULL, 5, '2025-06-03', '20252013', 1749137846, 1, NULL, 1, '1'),
(282, 1, 2025, 1, NULL, 3, '2025-06-06', '20252012', 1749213477, 1, NULL, 1, '1'),
(283, 1, 2025, 1, NULL, 3, '2025-06-06', '20252013', 1749213477, 2, NULL, 1, '1'),
(284, 1, 2025, 1, NULL, 5, '2025-06-06', '20252012', 1749212322, 1, NULL, 1, '1'),
(285, 1, 2025, 1, NULL, 5, '2025-06-06', '20252013', 1749212322, 1, NULL, 1, '1'),
(286, 1, 2025, 1, 51, 5, '2025-06-06', '20252012', 1749212378, 1, NULL, 0, '1'),
(287, 1, 2025, 1, 51, 5, '2025-06-06', '20252013', 1749212378, 2, NULL, 0, '1'),
(288, 1, 2025, 1, NULL, 3, '2025-06-10', '20252012', 1749432173, 1, NULL, 1, '1'),
(289, 1, 2025, 1, NULL, 3, '2025-06-10', '20252013', 1749432173, 3, NULL, 1, '1'),
(290, 1, 2025, 1, 51, 3, '2025-06-10', '20252012', 1749432180, 1, NULL, 0, '1'),
(291, 1, 2025, 1, 51, 3, '2025-06-10', '20252013', 1749432180, 2, NULL, 0, '1'),
(292, 1, 2025, 1, NULL, 5, '2025-06-11', '20252011', 1749471204, 2, NULL, 1, '1'),
(293, 1, 2025, 1, NULL, 5, '2025-06-11', '20252012', 1749471204, 1, NULL, 1, '1'),
(294, 1, 2025, 1, NULL, 5, '2025-06-11', '20252013', 1749471204, 2, NULL, 1, '1'),
(295, 1, 2025, 1, NULL, 3, '2025-06-11', '20252011', 1749472135, 1, NULL, 1, '1'),
(296, 1, 2025, 1, NULL, 3, '2025-06-11', '20252012', 1749472135, 2, NULL, 1, '1'),
(297, 1, 2025, 1, NULL, 3, '2025-06-11', '20252013', 1749472135, 2, NULL, 1, '1');

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

--
-- Table structure for table `attendance_custom_sms`
--

CREATE TABLE `attendance_custom_sms` (
  `id` int(10) NOT NULL,
  `person_type` varchar(250) NOT NULL,
  `message_type` varchar(250) NOT NULL,
  `lan_type` varchar(250) NOT NULL,
  `message` varchar(250) NOT NULL,
  `status` int(10) NOT NULL DEFAULT 1
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

--
-- Dumping data for table `attendance_custom_sms`
--

INSERT INTO `attendance_custom_sms` (`id`, `person_type`, `message_type`, `lan_type`, `message`, `status`) VALUES
(3, 'staff', 'present', 'en_bn', 'new message  ss', 1),
(4, 'staff', 'late', 'en_bn', 'আমার সোনার বাংলা', 1),
(5, 'staff', 'out', 'en_bn', 'আমার সোনার বাংলা student out', 1),
(6, 'student', 'present', 'en_bn', 'প্রিয় অভিভাবক, আপনার সন্তান স্কুলে উপস্থিত হয়েছে। ', 1),
(7, 'student', 'out', 'en_bn', 'প্রিয় অভিভাবক, আপনার সন্তান স্কুলে থেকে প্রস্থান করেছে।', 1);

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

--
-- Table structure for table `attendance_history`
--

CREATE TABLE `attendance_history` (
  `id` int(20) NOT NULL,
  `attendance_id` varchar(250) NOT NULL,
  `person_id` varchar(250) NOT NULL,
  `person_type` varchar(250) NOT NULL,
  `date_time` varchar(250) NOT NULL,
  `date` varchar(250) NOT NULL,
  `time` varchar(250) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

--
-- Dumping data for table `attendance_history`
--

INSERT INTO `attendance_history` (`id`, `attendance_id`, `person_id`, `person_type`, `date_time`, `date`, `time`) VALUES
(598332, '955', '172', 'student', '2024-05-02T09:31:04', '2024-05-02', '09:31:04');

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

--
-- Table structure for table `attendance_holiday`
--

CREATE TABLE `attendance_holiday` (
  `id` int(11) NOT NULL,
  `holiday_date` date NOT NULL,
  `holiday_type` enum('weekly','special') NOT NULL,
  `created_at` timestamp NOT NULL DEFAULT current_timestamp()
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

--
-- Dumping data for table `attendance_holiday`
--

INSERT INTO `attendance_holiday` (`id`, `holiday_date`, `holiday_type`, `created_at`) VALUES
(141, '2025-01-03', 'weekly', '2025-06-09 12:18:19'),
(142, '2025-01-10', 'weekly', '2025-06-09 12:18:19'),
(143, '2025-01-17', 'weekly', '2025-06-09 12:18:19'),
(144, '2025-01-24', 'weekly', '2025-06-09 12:18:19'),
(145, '2025-01-31', 'weekly', '2025-06-09 12:18:19'),
(146, '2025-02-07', 'weekly', '2025-06-09 12:18:19'),
(147, '2025-02-14', 'weekly', '2025-06-09 12:18:19'),
(148, '2025-02-21', 'weekly', '2025-06-09 12:18:19'),
(149, '2025-02-28', 'weekly', '2025-06-09 12:18:19'),
(150, '2025-03-07', 'weekly', '2025-06-09 12:18:19'),
(151, '2025-03-14', 'weekly', '2025-06-09 12:18:19'),
(152, '2025-03-21', 'weekly', '2025-06-09 12:18:19'),
(153, '2025-03-28', 'weekly', '2025-06-09 12:18:19'),
(154, '2025-04-04', 'weekly', '2025-06-09 12:18:19'),
(155, '2025-04-11', 'weekly', '2025-06-09 12:18:19'),
(156, '2025-04-18', 'weekly', '2025-06-09 12:18:19'),
(157, '2025-04-25', 'weekly', '2025-06-09 12:18:19'),
(158, '2025-05-02', 'weekly', '2025-06-09 12:18:19'),
(159, '2025-05-09', 'weekly', '2025-06-09 12:18:19'),
(160, '2025-05-16', 'weekly', '2025-06-09 12:18:19'),
(161, '2025-05-23', 'weekly', '2025-06-09 12:18:19'),
(162, '2025-05-30', 'weekly', '2025-06-09 12:18:19'),
(163, '2025-06-06', 'weekly', '2025-06-09 12:18:19'),
(164, '2025-06-13', 'weekly', '2025-06-09 12:18:19'),
(165, '2025-06-20', 'weekly', '2025-06-09 12:18:19'),
(166, '2025-06-27', 'weekly', '2025-06-09 12:18:19'),
(167, '2025-07-04', 'weekly', '2025-06-09 12:18:19'),
(168, '2025-07-11', 'weekly', '2025-06-09 12:18:19'),
(169, '2025-07-18', 'weekly', '2025-06-09 12:18:19'),
(170, '2025-07-25', 'weekly', '2025-06-09 12:18:19'),
(171, '2025-08-01', 'weekly', '2025-06-09 12:18:19'),
(172, '2025-08-08', 'weekly', '2025-06-09 12:18:19'),
(173, '2025-08-15', 'weekly', '2025-06-09 12:18:19'),
(174, '2025-08-22', 'weekly', '2025-06-09 12:18:19'),
(175, '2025-08-29', 'weekly', '2025-06-09 12:18:19'),
(176, '2025-09-05', 'weekly', '2025-06-09 12:18:19'),
(177, '2025-09-12', 'weekly', '2025-06-09 12:18:19'),
(178, '2025-09-19', 'weekly', '2025-06-09 12:18:19'),
(179, '2025-09-26', 'weekly', '2025-06-09 12:18:19'),
(180, '2025-10-03', 'weekly', '2025-06-09 12:18:19'),
(181, '2025-10-10', 'weekly', '2025-06-09 12:18:19'),
(182, '2025-10-17', 'weekly', '2025-06-09 12:18:19'),
(183, '2025-10-24', 'weekly', '2025-06-09 12:18:19'),
(184, '2025-10-31', 'weekly', '2025-06-09 12:18:19'),
(185, '2025-11-07', 'weekly', '2025-06-09 12:18:19'),
(186, '2025-11-14', 'weekly', '2025-06-09 12:18:19'),
(187, '2025-11-21', 'weekly', '2025-06-09 12:18:19'),
(188, '2025-11-28', 'weekly', '2025-06-09 12:18:19'),
(189, '2025-12-05', 'weekly', '2025-06-09 12:18:19'),
(190, '2025-12-12', 'weekly', '2025-06-09 12:18:19'),
(191, '2025-12-19', 'weekly', '2025-06-09 12:18:19'),
(192, '2025-12-26', 'weekly', '2025-06-09 12:18:19');

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

--
-- Table structure for table `attendance_holiday_student`
--

CREATE TABLE `attendance_holiday_student` (
  `id` int(11) NOT NULL,
  `student_id` varchar(50) NOT NULL,
  `reason` text NOT NULL,
  `start_date` date NOT NULL,
  `end_date` date NOT NULL,
  `created_at` timestamp NOT NULL DEFAULT current_timestamp()
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

--
-- Dumping data for table `attendance_holiday_student`
--

INSERT INTO `attendance_holiday_student` (`id`, `student_id`, `reason`, `start_date`, `end_date`, `created_at`) VALUES
(7, '20252011', '20252011', '2025-06-05', '2025-06-10', '2025-06-04 18:37:37');

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

--
-- Table structure for table `attendance_live_notice`
--

CREATE TABLE `attendance_live_notice` (
  `id` int(20) NOT NULL,
  `notice` varchar(250) NOT NULL,
  `date` varchar(250) DEFAULT NULL,
  `status` int(10) NOT NULL DEFAULT 1
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

--
-- Dumping data for table `attendance_live_notice`
--

INSERT INTO `attendance_live_notice` (`id`, `notice`, `date`, `status`) VALUES
(7, 'শুভ উদ্বোধন ২০২৪  :: আপনারা দেখছেন ওয়েব বাজার বিডির ডিজিটাল হাজিরা মেশিন লাইভ সফটওয়্যার ডাসবোড......', NULL, 1),
(8, 'শুভ উদ্বোধন ২০২৪ :: আপনারা দেখছেন ওয়েব বাজার বিডির ডিজিটাল হাজিরা মেশিন লাইভ সফটওয়্যার ডাসবোড......', NULL, 1);

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

--
-- Table structure for table `attendance_report`
--

CREATE TABLE `attendance_report` (
  `id` int(20) NOT NULL,
  `history_id` varchar(250) NOT NULL,
  `person_id` varchar(250) NOT NULL,
  `person_type` varchar(250) NOT NULL,
  `date_time` varchar(250) NOT NULL,
  `date` varchar(250) NOT NULL,
  `time` varchar(250) NOT NULL,
  `in_out_status` varchar(250) NOT NULL,
  `sms_status` varchar(250) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

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

--
-- Table structure for table `attendance_sms_config`
--

CREATE TABLE `attendance_sms_config` (
  `id` int(20) NOT NULL,
  `type` varchar(250) NOT NULL,
  `person_id` varchar(250) NOT NULL,
  `sms_status` int(10) NOT NULL DEFAULT 1
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

--
-- Dumping data for table `attendance_sms_config`
--

INSERT INTO `attendance_sms_config` (`id`, `type`, `person_id`, `sms_status`) VALUES
(37, 'student', '165', 1),
(40, 'student', '169', 0),
(45, 'teacher', '40', 1),
(46, 'teacher', '48', 1),
(50, 'staff', '11', 1),
(51, 'staff', '12', 1),
(52, 'student', '170', 0),
(53, 'student', '171', 0),
(54, 'student', '172', 0),
(55, 'student', '173', 0),
(56, 'student', '174', 0);

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

--
-- Table structure for table `attendance_sms_log`
--

CREATE TABLE `attendance_sms_log` (
  `id` int(11) NOT NULL,
  `student_id` varchar(50) COLLATE utf8mb4_unicode_ci NOT NULL,
  `student_name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `contact` varchar(20) COLLATE utf8mb4_unicode_ci NOT NULL,
  `course` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `group` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `section` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `shift` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `status` varchar(50) COLLATE utf8mb4_unicode_ci NOT NULL,
  `date` date NOT NULL,
  `sms_content` text COLLATE utf8mb4_unicode_ci NOT NULL,
  `language` enum('bn','en') COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'bn',
  `sent_status` tinyint(1) NOT NULL DEFAULT 0,
  `error_message` text COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `created_at` datetime NOT NULL DEFAULT current_timestamp()
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `attendance_sms_log`
--

INSERT INTO `attendance_sms_log` (`id`, `student_id`, `student_name`, `contact`, `course`, `group`, `section`, `shift`, `status`, `date`, `sms_content`, `language`, `sent_status`, `error_message`, `created_at`) VALUES
(1, '', 'Md Ashraful Lton', '01717452764', 'Play', 'General', 'A', 'Morning', 'Absent', '2025-06-03', 'প্রিয় মেরিট , 2025-06-03 তারিখে আপনার উপস্থিতি: অনুপস্থিত। কোর্স: প্লে , গ্রুপ: সাধারন, সেকশন: এ, শিফট: সকাল। ইকরা মডেল একাডেমী', 'bn', 1, NULL, '2025-06-05 22:46:05'),
(2, '', 'Md 22 Lton', '01717452764', 'Play', 'General', 'A', 'Morning', 'Late', '2025-06-03', 'প্রিয় মেরিট , 2025-06-03 তারিখে আপনার উপস্থিতি: বিলম্বিত। কোর্স: প্লে , গ্রুপ: সাধারন, সেকশন: এ, শিফট: সকাল। ইকরা মডেল একাডেমী', 'bn', 1, NULL, '2025-06-05 22:46:05'),
(3, '20252011', 'Md Ashraful Lton', '01717452764', 'Play', 'General', 'A', 'Morning', 'Absent', '2025-06-03', 'প্রিয় মেরিট , 2025-06-03 তারিখে আপনার উপস্থিতি: অনুপস্থিত। কোর্স: প্লে , গ্রুপ: সাধারন, সেকশন: এ, শিফট: সকাল। ইকরা মডেল একাডেমী', 'bn', 1, NULL, '2025-06-05 22:46:55'),
(4, '20252012', 'Md 22 Lton', '01717452764', 'Play', 'General', 'A', 'Morning', 'Late', '2025-06-03', 'প্রিয় মেরিট , 2025-06-03 তারিখে আপনার উপস্থিতি: বিলম্বিত। কোর্স: প্লে , গ্রুপ: সাধারন, সেকশন: এ, শিফট: সকাল। ইকরা মডেল একাডেমী', 'bn', 1, NULL, '2025-06-05 22:46:55'),
(5, '20252012', 'Md 22 Lton', '01717452764', 'Play', 'General', 'A', 'Morning', 'Absent', '2025-06-06', 'প্রিয় মেরিট , ২০২৫২০১২, ০৬ জুন, ২০২৫ তারিখে আপনার উপস্থিতি: অনুপস্থিত। কোর্স: প্লে , গ্রুপ: সাধারন, সেকশন: এ, শিফট: সকাল। ইকরা মডেল একাডেমী', 'bn', 1, NULL, '2025-06-06 18:00:36'),
(6, '20252013', 'Md 33 Lton', '01717452764', 'Play', 'General', 'A', 'Morning', 'Present', '2025-06-06', 'প্রিয় মেরিট , ২০২৫২০১৩, ০৬ জুন, ২০২৫ তারিখে আপনার উপস্থিতি: উপস্থিত। কোর্স: প্লে , গ্রুপ: সাধারন, সেকশন: এ, শিফট: সকাল। ইকরা মডেল একাডেমী', 'bn', 1, NULL, '2025-06-06 18:00:36'),
(7, '20252011', 'Md Ashraful Lton', '01717452764', 'Play', 'General', 'A', 'Morning', 'Absent', '2025-06-11', 'প্রিয় মেরিট , ২০২৫২০১১, ১১ জুন, ২০২৫ তারিখে আপনার উপস্থিতি: অনুপস্থিত। কোর্স: প্লে , গ্রুপ: সাধারন, সেকশন: এ, শিফট: সকাল। ইকরা মডেল একাডেমী', 'bn', 1, NULL, '2025-06-09 18:22:02');

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

--
-- Table structure for table `attendance_sms_settings`
--

CREATE TABLE `attendance_sms_settings` (
  `id` int(11) NOT NULL,
  `sms_content_bn` text COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `sms_content_en` text COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `school_name_bn` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `school_name_en` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `active_language` varchar(200) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `address_bn` varchar(500) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `address_en` varchar(500) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `signature_1` varchar(200) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `signature_2` varchar(200) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `block_status` varchar(200) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `created_at` datetime DEFAULT NULL,
  `updated_at` datetime DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `attendance_sms_settings`
--

INSERT INTO `attendance_sms_settings` (`id`, `sms_content_bn`, `sms_content_en`, `school_name_bn`, `school_name_en`, `active_language`, `address_bn`, `address_en`, `signature_1`, `signature_2`, `block_status`, `created_at`, `updated_at`) VALUES
(1, 'প্রিয় `student_name_bn`, `student_id_bn`, `date_bn` তারিখে আপনার উপস্থিতি: `status_bn`। কোর্স: `course_bn`, গ্রুপ: `group_bn`, সেকশন: `section_bn`, শিফট: `shift_bn`। `school_name_bn`', 'Dear `student_name`, your attendance for `date`: `status`. Course: `course`, Group: `group`, Section: `section`, Shift: `shift`. `school_name`', 'ইকরা মডেল একাডেমী1', 'Iqra Model Academy', 'bn', 'কালীগঞ্জ, লালমনিরহাট', 'কালীগঞ্জ, লালমনিরহাট', 'এক নাম্বার সিগনেচার ', 'দুই নাম্বার সিগনেচার', '', '2025-06-05 22:27:16', '2025-06-06 17:55:11');

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

--
-- Table structure for table `baner`
--

CREATE TABLE `baner` (
  `id` int(10) NOT NULL,
  `banner_name` varchar(250) DEFAULT NULL,
  `logo_name` varchar(250) DEFAULT NULL,
  `title` varchar(250) DEFAULT NULL,
  `adminssion_form_baner_bn` varchar(255) CHARACTER SET utf8 DEFAULT NULL,
  `adminssion_form_baner_en` varchar(255) CHARACTER SET utf8 DEFAULT NULL,
  `favicon_icons` varchar(255) DEFAULT NULL,
  `headmaster_signature` varchar(255) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

--
-- Dumping data for table `baner`
--

INSERT INTO `baner` (`id`, `banner_name`, `logo_name`, `title`, `adminssion_form_baner_bn`, `adminssion_form_baner_en`, `favicon_icons`, `headmaster_signature`) VALUES
(1, '1713526629_banner.jpg', '90.png', 'ওয়েব বাজার বিডি স্মার্ট স্কুল', '1713526629_banner.jpg', '1713526629_banner.jpg', '90.png', 'signature_blak.png');

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

--
-- Table structure for table `baner_text`
--

CREATE TABLE `baner_text` (
  `id` int(10) NOT NULL,
  `baner` varchar(250) DEFAULT NULL,
  `text` varchar(250) DEFAULT NULL,
  `sms` text CHARACTER SET utf8 DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

--
-- Dumping data for table `baner_text`
--

INSERT INTO `baner_text` (`id`, `baner`, `text`, `sms`) VALUES
(1, '1719277867.jpg', 'ওয়েব বাজার বিডি স্মার্ট স্কুল', 'Your Payment Received: `amount_bn` TK, Unpaid Amount: `unpaid_amount_bn` TK, Invoice ID: `invoice_id_bn` . Student Name: `student_name_bn`,  Student ID: `student_id_bn` ,  Check Invoice: `url_check` ');

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

--
-- Table structure for table `bank_invoice`
--

CREATE TABLE `bank_invoice` (
  `id` int(20) NOT NULL,
  `bank_id` int(20) NOT NULL DEFAULT 0,
  `bank_name` varchar(100) DEFAULT NULL,
  `billing_type` varchar(100) DEFAULT NULL,
  `self_type` varchar(20) DEFAULT 'self',
  `ac_no` varchar(100) DEFAULT NULL,
  `name` varchar(250) DEFAULT NULL,
  `mobile` varchar(250) DEFAULT NULL,
  `discription` varchar(250) DEFAULT NULL,
  `reciept` varchar(250) DEFAULT NULL,
  `total_amount` int(20) DEFAULT 0,
  `discount` int(20) DEFAULT 0,
  `due` int(20) DEFAULT 0,
  `paid_amount` int(20) DEFAULT 0,
  `billing_time` varchar(100) DEFAULT NULL,
  `add_date` varchar(100) DEFAULT NULL,
  `update_date` varchar(100) DEFAULT NULL,
  `add_author` longtext DEFAULT NULL,
  `update_author` longtext DEFAULT NULL,
  `check_update` int(20) DEFAULT 0,
  `d_status` int(10) NOT NULL DEFAULT 1
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

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

--
-- Table structure for table `bank_list`
--

CREATE TABLE `bank_list` (
  `id` int(20) NOT NULL,
  `bank_name` varchar(200) DEFAULT NULL,
  `bank_account` varchar(200) DEFAULT NULL,
  `holder_name` varchar(100) DEFAULT NULL,
  `bank_mobile` varchar(250) DEFAULT NULL,
  `balance` int(20) NOT NULL DEFAULT 0
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

--
-- Dumping data for table `bank_list`
--

INSERT INTO `bank_list` (`id`, `bank_name`, `bank_account`, `holder_name`, `bank_mobile`, `balance`) VALUES
(2, 'Dutch-Bangla', '44447854', 'WebBazarBD', '01717452764', 5335);

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

--
-- Table structure for table `batch`
--

CREATE TABLE `batch` (
  `betch_id` int(11) NOT NULL,
  `batch_name` varchar(255) DEFAULT NULL,
  `start_end_time` varchar(255) CHARACTER SET utf8mb4 DEFAULT NULL,
  `end_time` varchar(255) CHARACTER SET utf8mb4 DEFAULT NULL,
  `status` int(11) DEFAULT NULL COMMENT '0= false, 1 start'
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

--
-- Dumping data for table `batch`
--

INSERT INTO `batch` (`betch_id`, `batch_name`, `start_end_time`, `end_time`, `status`) VALUES
(6, 'A1', '09:00', '10:00', 1);

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

--
-- Table structure for table `billing_invoice`
--

CREATE TABLE `billing_invoice` (
  `id` int(20) NOT NULL,
  `billing_name` varchar(100) DEFAULT NULL,
  `billing_type` varchar(100) DEFAULT NULL,
  `billing_id` varchar(100) DEFAULT NULL,
  `name` varchar(250) DEFAULT NULL,
  `mobile` varchar(250) DEFAULT NULL,
  `discription` varchar(250) DEFAULT NULL,
  `reciept` varchar(250) DEFAULT NULL,
  `total_amount` varchar(100) DEFAULT NULL,
  `discount` varchar(100) DEFAULT '0',
  `due` int(20) DEFAULT 0,
  `paid_amount` varchar(100) DEFAULT '0',
  `billing_time` varchar(100) DEFAULT NULL,
  `add_date` varchar(100) DEFAULT NULL,
  `update_date` varchar(100) DEFAULT NULL,
  `add_author` longtext DEFAULT NULL,
  `update_author` longtext DEFAULT NULL,
  `check_update` varchar(100) DEFAULT '0',
  `d_status` varchar(100) NOT NULL DEFAULT '1'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

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

--
-- Table structure for table `bkash_sendbox`
--

CREATE TABLE `bkash_sendbox` (
  `id` int(11) NOT NULL,
  `execute_data` text DEFAULT NULL,
  `token_data` text DEFAULT NULL,
  `careet_payment_data` text DEFAULT NULL,
  `date` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp()
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

--
-- Dumping data for table `bkash_sendbox`
--

INSERT INTO `bkash_sendbox` (`id`, `execute_data`, `token_data`, `careet_payment_data`, `date`) VALUES
(1, '{\"paymentID\":\"TR0011lMYTDDC1762161160751\",\"trxID\":\"CK350NRYT7\",\"transactionStatus\":\"Completed\",\"amount\":\"1\",\"currency\":\"BDT\",\"intent\":\"sale\",\"paymentExecuteTime\":\"2025-11-03T15:13:06:098 GMT+0600\",\"merchantInvoiceNumber\":\"Inv2051375847\",\"payerType\":\"Customer\",\"payerReference\":\"554645\",\"customerMsisdn\":\"01619777283\",\"payerAccount\":\"01619777283\",\"maxRefundableAmount\":\"1\",\"statusCode\":\"0000\",\"statusMessage\":\"Successful\"}\n', '{\"statusCode\": \"0000\", \"statusMessage\": \"Successful\", \"id_token\": \"eyJraWQiOiJvTVJzNU9ZY0wrUnRXQ2o3ZEJtdlc5VDBEcytrckw5M1NzY0VqUzlERXVzPSIsImFsZyI6IlJTMjU2In0.eyJzdWIiOiJlODNlMDkwMC1jY2ZmLTQzYTctODhiNy0wNjE5NDJkMTVmOTYiLCJhdWQiOiI2cDdhcWVzZmljZTAxazltNWdxZTJhMGlhaCIsImV2ZW50X2lkIjoiZjU4NDEzYjAtYTI1Mi00MmQ1LWJmYzYtMjVhZTFiMDRjMDlkIiwidG9rZW5fdXNlIjoiaWQiLCJhdXRoX3RpbWUiOjE3NjIxNjExNjAsImlzcyI6Imh0dHBzOlwvXC9jb2duaXRvLWlkcC5hcC1zb3V0aGVhc3QtMS5hbWF6b25hd3MuY29tXC9hcC1zb3V0aGVhc3QtMV9yYTNuUFkzSlMiLCJjb2duaXRvOnVzZXJuYW1lIjoic2FuZGJveFRva2VuaXplZFVzZXIwMiIsImV4cCI6MTc2MjE2NDc2MCwiaWF0IjoxNzYyMTYxMTYwfQ.tdSsY8-J3zO-eTv8tQaNdObm5LgX3DYfsRX_PIQujXTeo5QP4SzcE36QMZ53GkecleW5PCpIWG-FcP0s7K0BD6ON3kJ-t9ZIFjY_nMhaJFguk08r31Ksq37-KraGe2pcEo0NP1s904KeQK_njV8bVmCCu7dz9Y4RMHsesFOkWCjtAX4yKT3Qi5_f_HE5R-zdCmqid5rYLbo_GhU7eXrrfKWTLl8uc-LaSicsYfuU08Yp2XCfAngB7XjKWWzNp9TodTaT864iYEc7yGGY_Ie1mQB2B5la-C1hYkd4mcZkHvpqK3sSmKcqIqQh5p0JtpQk2YODBsfMIVtOLS_nunLxcw\", \"token_type\": \"Bearer\", \"expires_in\": 3600, \"refresh_token\": \"eyJjdHkiOiJKV1QiLCJlbmMiOiJBMjU2R0NNIiwiYWxnIjoiUlNBLU9BRVAifQ.hRL9uhEmhegJIe2KuG3JAOm3rPMPP53Ubo2TDun2c6ISGpblIITR5OSf4hWLUEsa4nb-5t8iSZoyhmvkYnphzWKXzomZPOojP15ipll9GlvXAIVz10ZuIQeFPT90VLJPlefTX9jgzn5CWWXrlzjbxsEgXfKLdjpCf3Wg1ySVFa2h83eTpFEywelPS586pniBo2N5hGqPUT-mvb0wZcZoZPU4cdr8KPhUnPO5QI3cQXwyv83vkSP92l5eMydUHm2wjaD50BZPR9yuPb0Z9K7Hd2iFPZn78G_7kL1xYbDNKucXzOOVg7Y1Y4WcqYhXLTuv-4ausDRvWfJpUACiUCv3gw.rbIki-ruyCrNQg6z.OoMukXkT3U1ZtICKBbfJpuUDnoveZTfnPlOXMAPU_fwp6KDwP6w8elIMBsk2QfDFoKvShDPAPf9MFCaYjMorHgFAws62j6-s8jSUStKcG9QVy54oWzfmAihdHczhZ5CcHdCf2B7_5zoX6DlUNYnFk1X524Tx2ctOElN582zGyewOGHqBIjgpGYJkkB17LLEeDUGyJmX-GcVBAqTf34jKhOhKctl2_oBgYA8rzyp-41fAcrD0Z0HxRhckcQIqL8Lkx-y2aBqfOFChoqY8rSAAPfyVEyZVT-PkSc-0Yw1smbHlV9git0dn9k5YvUpLB691MoMkwNg2Br-3BqhcawCgP9QrueqNjVcYQEurnOgLxbNTjIK-NQu-oXkiQwd6QTJUvg-MzQI6bB08BngZJQb2gryjf7LcrF6YCtOhKZm35z2U6EP6jyELo1Sf3_W6tPIcjjCeW7yaxKo9GHrICFVa8ZSQliFk058v29GNwxGdK-K_iKNpfscWNn98qJG9NFdpKn0Z5i3Mw1U15kc_bFcUWrEltzSQcaGwsIO39G7vxJdFOpWF5BHDydbMPvLbX67vyOR5xZSDB9hnHFKmOboO8EHt0XE8JVX-cVt7W9_y_Qm5pajJPAaEGh3zQwtMDCoN3mI-5NZb8jOrgMQhJdZtR8iyBJBjHdYsuvArmGWWbB4wqSzGnLFVdWHzmkQUWZULGjhkfAXEcibIvZVndT44J9GTLFezWQOrSwZK6yuULptrslJTmq6wPgzWxSMjAo3fXx_fDFisLEjYGlCWxKPb-7RwmWuAne8b6NkYKPGAmEu27YqIZEn5tBphKHq6RaVgdbPVOLbhA44nmNqDqu7jWoypAAQaouRXxC-C2uvtgP3D1CQcuqOX9_su3Xp9YNIw-BARnzM2bwgtNZ7nG0c6uH2hu8_-Q_eK5gK3UqPIpdGcuxWfASjBFWz_My4FMARTQAMIsMvEr3kDaOjn_eAkZpfXAF08NQb6ctYrnDxsUQ4wDKLHQbwh-oYWxSfIqPONDsNqQ8M3e9yHBvZ2yfc9QqrTXes-BDij3QGiTClfXgbjd1DFQqwMnPNRzCOgEK3TqjbhkjkSQXOFhyFB-jBySX8-dXVPHjYErxTnd0-jMXGGHoRPqPY1RhpQb-EzvhnXrYm_QyHO61NxPdkXnlceJq4ilCkqlpjH0YGf0_aDd7xsZ0KJvgP1H79fMQmIWBPgtz7PEMRihaKEQue_dANanPtWJ_hnoXJnBOHMzoD8cuaLI9NfNad4avgYF2fCppBcTjozWnWlYBuc86rpal1Kx7-vQELfRsgBWsm5ir_Ho9Gjmzhwq08.Dg4XTDGgHbxx9ctRiK87pg\"}', '{\"paymentID\":\"TR0011lMYTDDC1762161160751\",\"bkashURL\":\"https://sandbox.payment.bkash.com/?paymentId=TR0011lMYTDDC1762161160751&hash=XMQDiHg(AqVON8mPilpXGINbHJmzRdB_scDuDJLHyla(pSKHl2jYJGqqqY4_Pd03HoOuxl)PnKB5.P-cNxax)zWUffb2USuTL43T1762161160751&mode=0011&apiVersion=v1.2.0-beta/\",\"callbackURL\":\"http://localhost/webbazar_smartschool_v1/module/bkash-v2/callback.php\",\"successCallbackURL\":\"http://localhost/webbazar_smartschool_v1/module/bkash-v2/callback.php?paymentID=TR0011lMYTDDC1762161160751&status=success&signature=Eu1bJ1H2I7\",\"failureCallbackURL\":\"http://localhost/webbazar_smartschool_v1/module/bkash-v2/callback.php?paymentID=TR0011lMYTDDC1762161160751&status=failure&signature=Eu1bJ1H2I7\",\"cancelledCallbackURL\":\"http://localhost/webbazar_smartschool_v1/module/bkash-v2/callback.php?paymentID=TR0011lMYTDDC1762161160751&status=cancel&signature=Eu1bJ1H2I7\",\"amount\":\"1\",\"intent\":\"sale\",\"currency\":\"BDT\",\"paymentCreateTime\":\"2025-11-03T15:12:40:751 GMT+0600\",\"transactionStatus\":\"Initiated\",\"merchantInvoiceNumber\":\"Inv2051375847\",\"statusCode\":\"0000\",\"statusMessage\":\"Successful\"}\n', '2025-11-03 09:13:03');

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

--
-- Table structure for table `bkash_transaction_admission`
--

CREATE TABLE `bkash_transaction_admission` (
  `id` int(11) NOT NULL,
  `admission_id` varchar(200) NOT NULL,
  `payment_id` varchar(200) NOT NULL,
  `trx_id` varchar(200) NOT NULL,
  `amount` varchar(200) NOT NULL,
  `status` varchar(200) NOT NULL,
  `payment_execute_time` datetime NOT NULL,
  `response` text NOT NULL,
  `date` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp()
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

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

--
-- Table structure for table `board_name`
--

CREATE TABLE `board_name` (
  `id` int(20) NOT NULL,
  `name` varchar(250) DEFAULT NULL,
  `bn_name` varchar(250) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

--
-- Dumping data for table `board_name`
--

INSERT INTO `board_name` (`id`, `name`, `bn_name`) VALUES
(1, 'Barisal', NULL),
(2, 'Chattogram', ''),
(3, 'Cumilla', NULL),
(4, 'Dhaka', NULL),
(5, 'Dinajpur', NULL),
(6, 'Jashore', NULL),
(7, 'Mymensingh', NULL),
(8, 'Rajshahi', NULL),
(9, 'Sylhet', NULL),
(10, 'Madrasah', NULL),
(11, 'Technical', NULL);

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

--
-- Table structure for table `branch`
--

CREATE TABLE `branch` (
  `id` int(255) NOT NULL,
  `branch` varchar(255) DEFAULT NULL,
  `address` text DEFAULT NULL,
  `detail` text DEFAULT NULL,
  `delete_status` enum('0','1') CHARACTER SET latin1 NOT NULL DEFAULT '0',
  `group_n_bangla` varchar(255) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

--
-- Dumping data for table `branch`
--

INSERT INTO `branch` (`id`, `branch`, `address`, `detail`, `delete_status`, `group_n_bangla`) VALUES
(1, 'General', '', 'General', '0', 'সাধারন'),
(5, 'Humanities', NULL, 'Humanities', '0', 'মানবিক'),
(6, 'Commerce', NULL, 'Commerce', '0', 'বাণিজ্য '),
(7, 'Science', NULL, 'Science', '0', 'বিজ্ঞান ');

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

--
-- Table structure for table `categories`
--

CREATE TABLE `categories` (
  `id` int(20) NOT NULL,
  `c_name` varchar(250) DEFAULT NULL,
  `c_type` varchar(100) DEFAULT NULL,
  `c_amount` int(20) DEFAULT NULL,
  `c_add` varchar(100) DEFAULT NULL,
  `c_update` varchar(100) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

--
-- Dumping data for table `categories`
--

INSERT INTO `categories` (`id`, `c_name`, `c_type`, `c_amount`, `c_add`, `c_update`) VALUES
(14, 'Official Stationary', 'expense', 0, '2024-06-14', '2024-06-14'),
(15, 'Photocopy', 'expense', 0, '2024-06-14', '2024-06-14'),
(16, 'Exam', 'expense', 0, '2024-06-14', '2024-06-14'),
(17, 'Electricity', 'expense', 0, '2024-06-14', '2024-06-14'),
(18, 'Travel', 'expense', 0, '2024-06-14', '2024-06-14'),
(19, 'Mobile', 'expense', 0, '2024-06-14', '2024-06-14'),
(20, 'Computer', 'expense', 0, '2024-06-14', '2024-06-14'),
(21, 'Foundation', 'expense', 0, '2024-06-14', '2024-06-14'),
(22, 'AC', 'expense', 0, '2024-06-14', '2024-06-14'),
(23, 'Program', 'expense', 0, '2024-06-14', '2024-06-14'),
(24, 'Dress', 'expense', 0, '2024-06-14', '2024-06-14'),
(25, 'Edu.Equipment', 'expense', 0, '2024-06-14', '2024-06-14'),
(26, 'Publication', 'expense', 0, '2024-06-14', '2024-06-14'),
(27, 'Repair', 'expense', 0, '2024-06-14', '2024-06-14'),
(28, 'House rent', 'expense', 0, '2024-06-14', '2024-06-14'),
(29, 'Transport', 'expense', 0, '2024-06-14', '2024-06-14'),
(30, 'Aca.Food', 'expense', 0, '2024-06-14', '2024-06-14');

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

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

CREATE TABLE `category` (
  `category_id` int(11) NOT NULL,
  `category_name` varchar(250) DEFAULT NULL,
  `category_purpose` varchar(250) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

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

--
-- Table structure for table `certificate_id_card_template`
--

CREATE TABLE `certificate_id_card_template` (
  `id` int(20) NOT NULL,
  `card_image` varchar(250) DEFAULT NULL,
  `card_no` int(20) NOT NULL,
  `status` int(10) NOT NULL DEFAULT 1,
  `file_name` varchar(250) DEFAULT '0',
  `css_file_name` varchar(250) NOT NULL DEFAULT '0',
  `active_status` int(20) NOT NULL DEFAULT 0
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

--
-- Dumping data for table `certificate_id_card_template`
--

INSERT INTO `certificate_id_card_template` (`id`, `card_image`, `card_no`, `status`, `file_name`, `css_file_name`, `active_status`) VALUES
(1, 'image/template_1728454088_basic_certificate -01.png', 1, 1, '0', '0', 0),
(2, 'image/template_1728454092_basic_certificate -02.png', 2, 1, '0', '0', 1),
(3, 'image/template_1728454096_basic_certificate -03.png', 3, 1, '0', '0', 0),
(4, 'image/template_1728454099_basic_certificate -04.png', 4, 1, '0', '0', 0),
(6, 'image/template_1753327303_testimonialE.png', 5, 1, '0', '0', 0),
(7, 'image/template_1753327298_testimonialB.png', 6, 1, '0', '0', 0);

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

--
-- Table structure for table `class_routine`
--

CREATE TABLE `class_routine` (
  `id` int(20) NOT NULL,
  `class` varchar(100) NOT NULL,
  `s_group` varchar(100) DEFAULT NULL,
  `s_section` varchar(100) DEFAULT NULL,
  `shift` varchar(100) DEFAULT NULL,
  `session` varchar(100) DEFAULT NULL,
  `year` varchar(100) DEFAULT NULL,
  `routine_headline` longtext DEFAULT NULL,
  `routine_file` varchar(250) DEFAULT NULL,
  `add_date` varchar(250) DEFAULT NULL,
  `update_date` varchar(250) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

--
-- Dumping data for table `class_routine`
--

INSERT INTO `class_routine` (`id`, `class`, `s_group`, `s_section`, `shift`, `session`, `year`, `routine_headline`, `routine_file`, `add_date`, `update_date`) VALUES
(8, '1', '1', '6', '3', '4', '2024', 'প্রথম শ্রেণীর ক্লাস রুটন-২০২৪', 'Class routine 21.01.2018.pdf', '2024-11-17 18:03:05', NULL);

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

--
-- Table structure for table `class_schedule_student`
--

CREATE TABLE `class_schedule_student` (
  `id` int(11) NOT NULL,
  `t_id` varchar(11) DEFAULT NULL,
  `name` varchar(255) DEFAULT NULL,
  `contact` varchar(255) CHARACTER SET utf8 COLLATE utf8_unicode_ci DEFAULT NULL,
  `value_day` varchar(255) DEFAULT NULL,
  `value_time` varchar(255) CHARACTER SET utf8 COLLATE utf8_unicode_ci DEFAULT NULL,
  `room_name` varchar(255) DEFAULT NULL,
  `course` varchar(255) DEFAULT NULL,
  `subject` varchar(255) DEFAULT NULL,
  `subject_time` varchar(255) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

--
-- Dumping data for table `class_schedule_student`
--

INSERT INTO `class_schedule_student` (`id`, `t_id`, `name`, `contact`, `value_day`, `value_time`, `room_name`, `course`, `subject`, `subject_time`) VALUES
(62, '48', 'Md Ashraful Islam', '01717452764', 'Saturday,Sunday,Monday', '4', '1', '12', '26', '00:00'),
(64, '48', 'Md Ashraful Islam', '01717452764', 'Saturday,Sunday,Monday', '6', '1', '5', '27', '09:00');

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

--
-- Table structure for table `class_section`
--

CREATE TABLE `class_section` (
  `id` int(11) NOT NULL,
  `class_section_name` varchar(255) DEFAULT NULL,
  `class_section_name_bn` varchar(250) DEFAULT NULL,
  `delete_status` enum('0','1') CHARACTER SET latin1 NOT NULL DEFAULT '0'
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

--
-- Dumping data for table `class_section`
--

INSERT INTO `class_section` (`id`, `class_section_name`, `class_section_name_bn`, `delete_status`) VALUES
(6, 'A', 'এ', '0');

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

--
-- Table structure for table `class_test_exam`
--

CREATE TABLE `class_test_exam` (
  `mark_id` int(11) NOT NULL,
  `branch` int(11) DEFAULT NULL,
  `s_year` int(11) DEFAULT NULL,
  `course` int(11) DEFAULT NULL,
  `subject` int(11) DEFAULT NULL,
  `exam_name` varchar(255) DEFAULT NULL,
  `exam_key` varchar(100) DEFAULT NULL,
  `regi_ids` varchar(100) DEFAULT NULL,
  `std_mark` float DEFAULT NULL,
  `exam_status` int(11) DEFAULT NULL,
  `subject_mark` float DEFAULT NULL,
  `class_section_name` int(11) DEFAULT NULL,
  `shift_name` int(11) DEFAULT NULL,
  `academic_year_name_bn` int(11) DEFAULT NULL,
  `created_at` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp()
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

--
-- Dumping data for table `class_test_exam`
--

INSERT INTO `class_test_exam` (`mark_id`, `branch`, `s_year`, `course`, `subject`, `exam_name`, `exam_key`, `regi_ids`, `std_mark`, `exam_status`, `subject_mark`, `class_section_name`, `shift_name`, `academic_year_name_bn`, `created_at`) VALUES
(48, 1, 2024, 12, 26, 'Modal', '1711350705_544418686', '1', 85, NULL, 100, 6, 1, 4, '2024-03-25 07:11:57'),
(49, 1, 2024, 3, 15, 'Modal Test Bangla 1', '1718324871_1643069253', '8', 95, NULL, 100, 6, 1, 4, '2024-06-14 00:28:40'),
(50, 1, 2024, 3, 15, 'Modal Test Bangla 1', '1718324871_1643069253', '9', 85, NULL, 100, 6, 1, 4, '2024-06-14 00:28:40'),
(51, 1, 2024, 3, 15, 'Modal Test Bangla 1', '1718324871_1643069253', '7', 90, NULL, 100, 6, 1, 4, '2024-06-14 00:28:40'),
(52, 1, 2024, 3, 15, 'Modal Test Bangla 1', '1718324871_1643069253', '6', 85, NULL, 100, 6, 1, 4, '2024-06-14 00:28:40'),
(53, 1, 2024, 3, 15, 'Modal Test Bangla 1', '1718324871_1643069253', '5', 80, NULL, 100, 6, 1, 4, '2024-06-14 00:28:40'),
(54, 1, 2024, 3, 15, 'Modal Test Bangla 1', '1718324871_1643069253', '4', 85, NULL, 100, 6, 1, 4, '2024-06-14 00:28:40'),
(55, 1, 2024, 3, 15, 'Modal Test Bangla 1', '1718324871_1643069253', '3', 35, NULL, 100, 6, 1, 4, '2024-06-14 00:28:40'),
(56, 1, 2024, 3, 15, 'Modal Test Bangla 1', '1718324871_1643069253', '1', 30, NULL, 100, 6, 1, 4, '2024-06-14 00:28:40'),
(57, 1, 2024, 3, 15, 'Modal Test Bangla 1', '1718324871_1643069253', '2', 70, NULL, 100, 6, 1, 4, '2024-06-14 00:28:40'),
(58, 1, 2024, 1, 43, 'Test Resuls-2024', '1731770658_846665122', '15', 80, NULL, 100, 6, 3, 4, '2024-11-16 15:24:49');

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

--
-- Table structure for table `color_picker`
--

CREATE TABLE `color_picker` (
  `id` int(20) NOT NULL,
  `left_ber_bg` varchar(250) NOT NULL,
  `left_ber_text` varchar(250) NOT NULL,
  `top_ber_bg` varchar(250) NOT NULL,
  `top_ber_text` varchar(250) NOT NULL,
  `card1_gradient1` varchar(7) DEFAULT '#FF416C',
  `card1_gradient2` varchar(7) DEFAULT '#FF4B2B',
  `card1_text` varchar(7) DEFAULT '#FFFFFF',
  `card2_gradient1` varchar(7) DEFAULT '#f2994a',
  `card2_gradient2` varchar(7) DEFAULT '#f2c94c',
  `card2_text` varchar(7) DEFAULT '#FFFFFF',
  `card3_gradient1` varchar(7) DEFAULT '#00b09b',
  `card3_gradient2` varchar(7) DEFAULT '#96c93d',
  `card3_text` varchar(7) DEFAULT '#FFFFFF',
  `card4_gradient1` varchar(7) DEFAULT '#4776E6',
  `card4_gradient2` varchar(7) DEFAULT '#8E54E9',
  `card4_text` varchar(7) DEFAULT '#FFFFFF',
  `card5_gradient1` varchar(7) DEFAULT '#834d9b',
  `card5_gradient2` varchar(7) DEFAULT '#d04ed6',
  `card5_text` varchar(7) DEFAULT '#FFFFFF',
  `card6_gradient1` varchar(7) DEFAULT '#11998e',
  `card6_gradient2` varchar(7) DEFAULT '#38ef7d',
  `card6_text` varchar(7) DEFAULT '#FFFFFF',
  `card7_gradient1` varchar(7) DEFAULT '#eb3349',
  `card7_gradient2` varchar(7) DEFAULT '#f45c43',
  `card7_text` varchar(7) DEFAULT '#FFFFFF',
  `card8_gradient1` varchar(7) DEFAULT '#6B73FF',
  `card8_gradient2` varchar(7) DEFAULT '#000DFF',
  `card8_text` varchar(7) DEFAULT '#FFFFFF'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

--
-- Dumping data for table `color_picker`
--

INSERT INTO `color_picker` (`id`, `left_ber_bg`, `left_ber_text`, `top_ber_bg`, `top_ber_text`, `card1_gradient1`, `card1_gradient2`, `card1_text`, `card2_gradient1`, `card2_gradient2`, `card2_text`, `card3_gradient1`, `card3_gradient2`, `card3_text`, `card4_gradient1`, `card4_gradient2`, `card4_text`, `card5_gradient1`, `card5_gradient2`, `card5_text`, `card6_gradient1`, `card6_gradient2`, `card6_text`, `card7_gradient1`, `card7_gradient2`, `card7_text`, `card8_gradient1`, `card8_gradient2`, `card8_text`) VALUES
(1, '#08007a', '#ffffff', '#380c40', '#ebebeb', '#e100ff', '#e100ff', '#ffffff', '#f2994a', '#f2c94c', '#ffffff', '#00b09b', '#96c93d', '#ffffff', '#4776e6', '#8e54e9', '#ffffff', '#834d9b', '#d04ed6', '#ffffff', '#11998e', '#38ef7d', '#ffffff', '#eb3349', '#f45c43', '#ffffff', '#ff6b89', '#000dff', '#ffffff');

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

--
-- Table structure for table `computer_office_application`
--

CREATE TABLE `computer_office_application` (
  `id` int(11) NOT NULL,
  `std_id` int(11) NOT NULL,
  `mcq` int(11) NOT NULL,
  `viva` int(11) NOT NULL,
  `status` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

--
-- Dumping data for table `computer_office_application`
--

INSERT INTO `computer_office_application` (`id`, `std_id`, `mcq`, `viva`, `status`) VALUES
(1, 1, 90, 80, 0),
(2, 0, 0, 0, 0);

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

--
-- Table structure for table `correction_text`
--

CREATE TABLE `correction_text` (
  `id` int(11) NOT NULL,
  `correction_key` varchar(255) NOT NULL,
  `correction_name` text NOT NULL,
  `created_at` timestamp NOT NULL DEFAULT current_timestamp()
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

--
-- Dumping data for table `correction_text`
--

INSERT INTO `correction_text` (`id`, `correction_key`, `correction_name`, `created_at`) VALUES
(1, 'Course', 'Class', '2025-05-27 04:56:19'),
(7, 'Group', 'Group', '2025-06-02 04:50:19'),
(11, 'Present School Name', 'Previous School Name', '2025-06-17 03:13:35'),
(12, 'Session', 'Session', '2025-06-27 04:18:45'),
(13, 'Section', 'Section', '2025-06-27 04:18:58'),
(14, 'Shift', 'Shift', '2025-06-27 04:19:08'),
(16, 'ক্লাস', 'ক্লাস', '2025-07-02 17:08:20'),
(17, 'গ্রুপ/বিভাগ', 'গ্রুপ', '2025-07-02 17:08:30'),
(18, 'ক্লাস সেকশন', 'ক্লাস সেকশন', '2025-07-02 17:08:39'),
(19, 'ক্লাস শিফট', 'ক্লাস শিফট', '2025-07-02 17:08:48'),
(20, 'শিক্ষাবর্ষ', 'শিক্ষাবর্ষ', '2025-07-02 17:08:55'),
(21, 'Add Class', 'Add Class', '2025-07-02 23:30:38'),
(22, 'Class,Group,Session,Section,Shift', 'Class,Group,Session,Section,Shift', '2025-07-02 23:35:58'),
(23, 'Add Group', 'Add Group', '2025-07-02 23:36:25'),
(24, 'Add Session', 'Add Session', '2025-07-02 23:36:45'),
(25, 'Add Section', 'Add Section', '2025-07-02 23:37:02'),
(26, 'Add Shift', 'Add Shift', '2025-07-02 23:37:24'),
(27, 'পেমেন্ট', 'টিউশন ফি', '2025-07-06 14:25:58'),
(28, '', '', '2025-11-23 01:46:06');

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

--
-- Table structure for table `course`
--

CREATE TABLE `course` (
  `id` int(11) NOT NULL,
  `course` varchar(255) DEFAULT NULL,
  `course_n_bangla` varchar(255) DEFAULT NULL,
  `c_amount` int(5) DEFAULT NULL,
  `detail` text DEFAULT NULL,
  `delete_status` enum('0','1') CHARACTER SET latin1 NOT NULL DEFAULT '0',
  `course_code` int(11) DEFAULT NULL,
  `minimum_payment` varchar(255) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

--
-- Dumping data for table `course`
--

INSERT INTO `course` (`id`, `course`, `course_n_bangla`, `c_amount`, `detail`, `delete_status`, `course_code`, `minimum_payment`) VALUES
(1, 'Play', 'প্লে ', 0, '', '0', 201, ''),
(2, 'Nursery', 'নার্সারী ', 6000, 'নার্সারী শ্রেণী', '0', 202, ''),
(3, 'One', 'প্রথম ', 9000, 'প্রথম শ্রেণী', '0', 203, ''),
(4, 'Two', 'দ্বিতীয়', 4000, 'দ্বিতীয় শ্রেণী', '0', 204, ''),
(5, 'Three', 'তৃতীয় ', 5000, 'তৃতীয় শ্রেণী', '0', 205, ''),
(6, 'Four', 'চতুর্থ ', 6000, 'চতুর্থ শ্রেণীর', '0', 206, ''),
(7, 'Five', 'পঞ্চম', 7000, 'পঞ্চম শ্রেণীর', '0', 207, ''),
(8, 'Six', 'ষষ্ঠ', 12000, 'ষষ্ঠ শ্রেণীর', '0', 208, ''),
(9, 'Seven', 'সপ্তম', 9000, 'সপ্তম শ্রেণি', '0', 209, ''),
(10, 'Eight', 'অষ্টম', 100000, 'অষ্টম শ্রেণি', '0', 210, ''),
(11, 'Nine (General)', 'নবম (সাধারণ)', 11000, 'নবম শ্রেণি', '0', 211, ''),
(12, 'Ten (General)', 'দশম (সাধারণ)', 12000, 'দশম শ্রেণি ', '0', 212, ''),
(17, 'Scholarship Application', 'স্কলারশিপ এপ্লিকেশন', NULL, NULL, '0', 1000, NULL);

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

--
-- Table structure for table `course_subject`
--

CREATE TABLE `course_subject` (
  `id` int(11) NOT NULL,
  `course_id` varchar(11) DEFAULT NULL,
  `religion` varchar(200) DEFAULT NULL,
  `subject_name` varchar(255) DEFAULT NULL,
  `subject_name_bn` varchar(250) DEFAULT NULL,
  `subject_code` varchar(20) DEFAULT NULL,
  `subject_code_bn` varchar(250) DEFAULT NULL,
  `group_id` varchar(30) DEFAULT NULL,
  `picture` varchar(100) DEFAULT NULL,
  `status` varchar(11) NOT NULL DEFAULT '1',
  `written` varchar(255) CHARACTER SET utf8 DEFAULT NULL,
  `4th_subject` varchar(200) DEFAULT NULL,
  `two_in_one` varchar(200) DEFAULT NULL,
  `two_in_one_2` varchar(200) DEFAULT NULL,
  `viva` varchar(255) CHARACTER SET utf8 DEFAULT NULL,
  `total` varchar(255) CHARACTER SET utf8 DEFAULT NULL,
  `priority` varchar(255) DEFAULT NULL,
  `two_in_one_3` varchar(255) DEFAULT NULL,
  `two_in_one_4` varchar(255) DEFAULT NULL,
  `two_in_one_5` varchar(255) DEFAULT NULL,
  `two_in_one_6` varchar(255) DEFAULT NULL,
  `class_time` varchar(255) DEFAULT NULL,
  `room_no` varchar(255) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

--
-- Dumping data for table `course_subject`
--

INSERT INTO `course_subject` (`id`, `course_id`, `religion`, `subject_name`, `subject_name_bn`, `subject_code`, `subject_code_bn`, `group_id`, `picture`, `status`, `written`, `4th_subject`, `two_in_one`, `two_in_one_2`, `viva`, `total`, `priority`, `two_in_one_3`, `two_in_one_4`, `two_in_one_5`, `two_in_one_6`, `class_time`, `room_no`) VALUES
(69, '3', '', 'English', 'ইংলিশ', '102', '১০২', '', NULL, '1', NULL, '0', '', '', NULL, NULL, '1', '', '', '', '', '16:35', '202'),
(71, '3', '', 'Bangla', 'বাংলা', '101', '১০১', '', NULL, '1', NULL, '0', '', '', NULL, NULL, '2', '', '', '', '', '', ''),
(73, '7', '', 'English', 'ইংলিশ', '102', '১০২', 'General', NULL, '1', NULL, '0', '', '', NULL, NULL, '1', '', '', '', '', '', ''),
(74, '7', '', 'Bangla', 'বাংলা', '101', '১০১', 'General', NULL, '1', NULL, '0', '', '', NULL, NULL, '2', '', '', '', '', '', ''),
(75, '7', '', 'Mathematics', 'অংক', '103', '১০৩', 'General', NULL, '1', NULL, '0', '', '', NULL, NULL, '3', '', '', '', '', '', ''),
(76, '7', '', 'Arts and Crafts', 'চারু ও কারুশিল্প', '106', '১০৬', 'General', NULL, '1', NULL, '0', '', '', NULL, NULL, '4', '', '', '', '', '', '');

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

--
-- Table structure for table `custom_sms`
--

CREATE TABLE `custom_sms` (
  `id` int(10) NOT NULL,
  `type` varchar(250) DEFAULT NULL,
  `status` varchar(250) NOT NULL DEFAULT '1',
  `sms` longtext DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

--
-- Dumping data for table `custom_sms`
--

INSERT INTO `custom_sms` (`id`, `type`, `status`, `sms`) VALUES
(2, 'teacher', '1', 'এখানে কাষ্টম এসএমএস লিখতে পারবেন'),
(3, 'student', '1', 'Dear  `student_name` ,\r\nCongratulations! Your admission to ILMUL OHI MODEL MADRASHA has been successfully completed.  Your ID:  `student_id`'),
(4, 'user', '1', 'এখানে কাষ্টম এসএমএস লিখতে পারবে');

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

--
-- Table structure for table `daily_study_v3`
--

CREATE TABLE `daily_study_v3` (
  `id` int(11) NOT NULL,
  `course` int(11) NOT NULL,
  `branch` int(11) NOT NULL,
  `course_subject` int(11) NOT NULL,
  `date` date NOT NULL,
  `topic` varchar(300) NOT NULL,
  `details` text NOT NULL,
  `type` varchar(200) NOT NULL,
  `attachment` varchar(500) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

--
-- Dumping data for table `daily_study_v3`
--

INSERT INTO `daily_study_v3` (`id`, `course`, `branch`, `course_subject`, `date`, `topic`, `details`, `type`, `attachment`) VALUES
(1, 3, 1, 18, '2025-01-02', 'fdxgbfcx', 'gcxfbvcbn111111111111111111111', 'Home Work', '4679862551download.png'),
(8, 3, 5, 21, '2025-01-02', 'xzv', 'xvxcv', '', 'Screenshot_5.png'),
(9, 3, 5, 21, '2025-01-02', 'xzv', 'xvxcv', '', '168666445Screenshot_5.png'),
(10, 3, 1, 23, '2025-01-02', 'fdxgbfcx', 'dxfdf', '', '479888102Screenshot_5.png'),
(11, 3, 1, 23, '2025-01-02', 'fdxgbfcx', 'dxfdf', '', '1134187533Screenshot_5.png'),
(12, 3, 1, 23, '2025-01-02', 'fdxgbfcx', 'fdsf', '', ''),
(13, 3, 5, 22, '2025-01-02', 'sdaasda', 'dasd', '', '1418517119Screenshot_2.png'),
(16, 3, 7, 21, '2025-01-02', 'fdxgbfcx', 'cxfgh', 'Class Test', '1838744830_20_frd_1690101871.jpg'),
(17, 3, 7, 21, '2025-01-02', 'fdxgbfcx', 'cxfgh', 'Home Work', '1090605998_20_frd_1690101871.jpg'),
(18, 3, 1, 17, '2025-01-07', 'fdxgbfcx', 'hhh', 'Home Work', '14264393391download.png'),
(19, 3, 1, 17, '2025-01-11', 'টেস্ট করার জন্য', 'বই -৩১ পিষ্টা', 'Class Test', '185822426088.png'),
(20, 3, 1, 44, '2025-04-04', 'function con($query) {     global $con;     return mysqli_query($con, $query); }  function row($query) {     return mysqli_fetch_assoc($query); }', 'function con($query)\r\n{\r\n    global $con;\r\n    return mysqli_query($con, $query);\r\n}\r\n\r\nfunction row($query)\r\n{\r\n    return mysqli_fetch_assoc($query);\r\n}\r\n', 'Home Work', '342010631LMC_20250331_140847_COLOUR BOOST x GCAMTHEBOSS jpeg .jpg'),
(21, 3, 1, 44, '2025-04-06', 'Add Daily Study', 'Add Daily Study\r\nAdd Daily Study\r\nAdd Daily Study\r\nAdd Daily Study\r\nAdd Daily Study\r\nAdd Daily Study\r\n', 'Class Test', '1223499674Screenshot_2-removebg-preview.png'),
(22, 3, 1, 23, '2025-04-07', 'Add Daily Study', 'Add Daily Study\r\n', 'Home Work', ''),
(23, 1, 1, 51, '2025-08-22', 'টেস্ট করার জন্য', 'cscs', 'Class Test', '51297166Aftahi.jpg'),
(24, 1, 1, 51, '2025-08-22', 'টেস্ট করার জন্য', ' eees svvsvsvsvsvseees svvsvsvsvsvseees svvsvsvsvsvseees svvsvsvsvsvseees svvsvsvsvsvseees svvsvsvsvsvseees svvsvsvsvsvs eees svvsvsvsvsvseees svvsvsvsvsvs', 'Home Work', '1392246593Aftahi.jpg'),
(25, 1, 1, 51, '2025-08-22', 'ddd', 'ddvdv ', 'Home Work', '1718846287logo.png');

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

--
-- Table structure for table `device_connect`
--

CREATE TABLE `device_connect` (
  `id` int(20) NOT NULL,
  `person_name` varchar(250) DEFAULT NULL,
  `gender` varchar(250) DEFAULT NULL,
  `contact` varchar(250) DEFAULT NULL,
  `person_id` int(20) DEFAULT NULL,
  `person_type` varchar(100) DEFAULT NULL,
  `card_no` varchar(250) DEFAULT NULL,
  `uni_id` varchar(250) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

--
-- Dumping data for table `device_connect`
--

INSERT INTO `device_connect` (`id`, `person_name`, `gender`, `contact`, `person_id`, `person_type`, `card_no`, `uni_id`) VALUES
(70, 'Md Aminur Rahman', '1', '01', 170, 'student', '', '3'),
(71, 'Md Ashraful Islam', '1', '01', 169, 'student', '', '2'),
(72, 'Md Rofiqul Islam', '1', '01', 173, 'student', '', '6'),
(73, 'Md Shagor Islam', '1', '01', 174, 'student', '', '7'),
(74, 'Mst Amina Begum', '1', '01', 172, 'student', '', '5'),
(75, 'Mst Janatul Mina', '1', '01', 171, 'student', '0013855409', '4'),
(77, 'Mst Amina Begum', '1', '01', 172, 'student', '5240485', '5');

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

--
-- Table structure for table `discount`
--

CREATE TABLE `discount` (
  `id` int(20) NOT NULL,
  `student_id` int(10) DEFAULT NULL,
  `description_id` int(20) NOT NULL,
  `percent` varchar(100) DEFAULT NULL,
  `amount` varchar(250) DEFAULT NULL,
  `date` varchar(250) DEFAULT NULL,
  `status` int(10) NOT NULL DEFAULT 1
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

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

--
-- Table structure for table `donar`
--

CREATE TABLE `donar` (
  `id` int(20) NOT NULL,
  `name` varchar(100) DEFAULT NULL,
  `mobile` varchar(100) DEFAULT NULL,
  `duration` varchar(100) DEFAULT NULL,
  `address` varchar(150) DEFAULT NULL,
  `add_date` varchar(100) DEFAULT NULL,
  `update_date` varchar(100) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

--
-- Dumping data for table `donar`
--

INSERT INTO `donar` (`id`, `name`, `mobile`, `duration`, `address`, `add_date`, `update_date`) VALUES
(4, 'জিয়ারুল ইসলাম ভাই-পিরগঞ্জ', '01717452764', '0', 'রংপুর', '2023-11-15', '2024-01-22');

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

--
-- Table structure for table `examination_name`
--

CREATE TABLE `examination_name` (
  `id` int(20) NOT NULL,
  `exam_name` varchar(200) DEFAULT NULL,
  `exam_center_name` varchar(255) DEFAULT NULL,
  `exam_key` varchar(255) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

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

--
-- Table structure for table `exam_publish_date`
--

CREATE TABLE `exam_publish_date` (
  `id` int(11) NOT NULL,
  `class_name` varchar(100) DEFAULT NULL,
  `exam_year` varchar(100) DEFAULT NULL,
  `publish_date` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
  `exam_name` varchar(255) DEFAULT NULL,
  `status` int(11) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

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

--
-- Table structure for table `exam_result_v3`
--

CREATE TABLE `exam_result_v3` (
  `id` int(11) NOT NULL,
  `student_id` varchar(11) DEFAULT NULL,
  `course` varchar(200) DEFAULT NULL,
  `subject` varchar(200) DEFAULT NULL,
  `year` varchar(200) DEFAULT NULL,
  `exam_id` varchar(200) DEFAULT NULL,
  `cq` varchar(200) DEFAULT NULL,
  `mcq` varchar(200) DEFAULT NULL,
  `practical` varchar(200) DEFAULT NULL,
  `oral` varchar(20) DEFAULT NULL,
  `total` varchar(200) DEFAULT NULL,
  `date` timestamp NOT NULL DEFAULT current_timestamp(),
  `regi_id` varchar(255) DEFAULT NULL,
  `attendance` tinyint(1) DEFAULT 0
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

--
-- Dumping data for table `exam_result_v3`
--

INSERT INTO `exam_result_v3` (`id`, `student_id`, `course`, `subject`, `year`, `exam_id`, `cq`, `mcq`, `practical`, `oral`, `total`, `date`, `regi_id`, `attendance`) VALUES
(1, '1', '1', '51', '2025', '1', '32', '30', '20', '0', '82', '2025-06-09 03:44:12', NULL, 1),
(2, '2', '1', '51', '2025', '1', '35', '30', '20', '0', '85', '2025-06-09 03:44:12', NULL, 1),
(3, '3', '1', '51', '2025', '1', '30', '30', '20', '0', '80', '2025-06-09 03:44:12', NULL, 1),
(4, '1', '1', '52', '2025', '1', '32', '30', '20', '0', '82', '2025-06-09 03:44:36', NULL, 1),
(5, '2', '1', '52', '2025', '1', '35', '30', '20', '0', '85', '2025-06-09 03:44:36', NULL, 1),
(6, '3', '1', '52', '2025', '1', '30', '30', '20', '0', '80', '2025-06-09 03:44:36', NULL, 1),
(7, '1', '1', '63', '2025', '1', '85', '0', '0', '0', '85', '2025-09-03 11:42:38', NULL, 1),
(8, '2', '1', '63', '2025', '1', '95', '0', '0', '0', '95', '2025-09-03 11:42:38', NULL, 1),
(9, '16', '1', '63', '2025', '1', '60', '0', '0', '0', '60', '2025-09-03 11:42:38', NULL, 1),
(10, '11', '1', '63', '2025', '1', '70', '0', '0', '0', '70', '2025-09-03 11:42:38', NULL, 1),
(11, '15', '1', '63', '2025', '1', '80', '0', '0', '0', '80', '2025-09-03 11:42:38', NULL, 1),
(12, '1', '1', '64', '2025', '1', '100', '0', '0', '0', '100', '2025-09-03 11:42:47', NULL, 1),
(13, '2', '1', '64', '2025', '1', '95', '0', '0', '0', '95', '2025-09-03 11:42:47', NULL, 1),
(14, '16', '1', '64', '2025', '1', '85', '0', '0', '0', '85', '2025-09-03 11:42:47', NULL, 1),
(15, '11', '1', '64', '2025', '1', '58', '0', '0', '0', '58', '2025-09-03 11:42:47', NULL, 1),
(16, '15', '1', '64', '2025', '1', '90', '0', '0', '0', '90', '2025-09-03 11:42:47', NULL, 1),
(17, '1', '1', '64', '2025', '2', '85', '0', '0', '0', '85', '2025-09-03 11:42:58', NULL, 1),
(18, '2', '1', '64', '2025', '2', '90', '0', '0', '0', '90', '2025-09-03 11:42:58', NULL, 1),
(19, '16', '1', '64', '2025', '2', '0', '0', '0', '0', '0', '2025-09-03 11:42:58', NULL, 0),
(20, '11', '1', '64', '2025', '2', '0', '0', '0', '0', '0', '2025-09-03 11:42:58', NULL, 0),
(21, '15', '1', '64', '2025', '2', '0', '0', '0', '0', '0', '2025-09-03 11:42:58', NULL, 0),
(22, '1', '1', '63', '2025', '2', '90', '0', '0', '0', '90', '2025-09-03 11:43:16', NULL, 1),
(23, '2', '1', '63', '2025', '2', '80', '0', '0', '0', '80', '2025-09-03 11:43:16', NULL, 1),
(24, '16', '1', '63', '2025', '2', '0', '0', '0', '0', '0', '2025-09-03 11:43:16', NULL, 0),
(25, '11', '1', '63', '2025', '2', '0', '0', '0', '0', '0', '2025-09-03 11:43:16', NULL, 0),
(26, '15', '1', '63', '2025', '2', '0', '0', '0', '0', '0', '2025-09-03 11:43:16', NULL, 0),
(27, '1', '1', '69', '2025', '1', '90', '0', '0', '0', '90', '2025-10-28 13:12:55', '20252011', 1),
(28, '29', '3', '71', '2025', '1', '85', '0', '0', '0', '85', '2025-11-13 23:57:58', NULL, 1),
(29, '30', '3', '71', '2025', '1', '90', '0', '0', '0', '90', '2025-11-13 23:57:58', NULL, 1),
(30, '29', '3', '69', '2025', '1', '99', '0', '0', '0', '99', '2025-11-13 23:58:07', NULL, 1),
(31, '30', '3', '69', '2025', '1', '85', '0', '0', '0', '85', '2025-11-13 23:58:07', NULL, 1);

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

--
-- Table structure for table `exam_v3`
--

CREATE TABLE `exam_v3` (
  `id` int(11) NOT NULL,
  `year` varchar(200) DEFAULT NULL,
  `exam_name` varchar(500) DEFAULT NULL,
  `exam_name_bn` varchar(200) NOT NULL,
  `priority` varchar(11) DEFAULT NULL,
  `publish_date` date DEFAULT NULL,
  `publish_time` varchar(200) NOT NULL,
  `date` timestamp NOT NULL DEFAULT current_timestamp()
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

--
-- Dumping data for table `exam_v3`
--

INSERT INTO `exam_v3` (`id`, `year`, `exam_name`, `exam_name_bn`, `priority`, `publish_date`, `publish_time`, `date`) VALUES
(1, '2025', '1st Tram Examination', 'প্রথম সাময়িক পরীক্ষা', '1', '2025-06-07', '18:32', '2025-06-09 03:42:21'),
(2, '2025', 'Second Tram Examination', 'দ্বিতীয় সাময়িক পরীক্ষা', '2', '2025-09-19', '10:00', '2025-09-03 11:26:52'),
(3, '2025', 'Annual Examination', 'বার্ষিক পরীক্ষা', '3', '0000-00-00', '', '2025-11-23 10:48:45');

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

--
-- Table structure for table `expense`
--

CREATE TABLE `expense` (
  `expense_id` int(11) NOT NULL,
  `expense_amount` int(11) NOT NULL,
  `category_id` int(11) NOT NULL,
  `expense_details` varchar(250) NOT NULL,
  `expense_receipt` varchar(250) NOT NULL,
  `expense_date` varchar(255) NOT NULL,
  `expense_month` varchar(250) NOT NULL,
  `expense_year` varchar(250) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

--
-- Dumping data for table `expense`
--

INSERT INTO `expense` (`expense_id`, `expense_amount`, `category_id`, `expense_details`, `expense_receipt`, `expense_date`, `expense_month`, `expense_year`) VALUES
(8, 100, 1, '', '', '2022-11-08', '01', '2023'),
(9, 6000, 1, '', '', '2023-05-11', '05', '2023');

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

--
-- Table structure for table `grading_v3`
--

CREATE TABLE `grading_v3` (
  `id` int(11) NOT NULL,
  `year` varchar(200) DEFAULT NULL,
  `class_id` varchar(11) DEFAULT NULL,
  `subject_id` varchar(11) DEFAULT NULL,
  `exam_id` varchar(11) DEFAULT NULL,
  `conditions` text DEFAULT NULL,
  `max_mark` varchar(50) DEFAULT NULL,
  `pass_mark` varchar(200) DEFAULT NULL,
  `class_id_hidden` varchar(500) DEFAULT NULL,
  `status` varchar(200) DEFAULT NULL,
  `date` timestamp NOT NULL DEFAULT current_timestamp(),
  `cq_pass_mark` varchar(255) DEFAULT NULL,
  `mcq_pass_mark` varchar(255) DEFAULT NULL,
  `practical_pass_mark` varchar(255) DEFAULT NULL,
  `final_pass_mark` varchar(255) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

--
-- Dumping data for table `grading_v3`
--

INSERT INTO `grading_v3` (`id`, `year`, `class_id`, `subject_id`, `exam_id`, `conditions`, `max_mark`, `pass_mark`, `class_id_hidden`, `status`, `date`, `cq_pass_mark`, `mcq_pass_mark`, `practical_pass_mark`, `final_pass_mark`) VALUES
(1, '2025', '1', '51', '1', '[{\"max\":\"100\",\"min\":\"80\",\"grade\":\"A+\",\"point\":\"5.00\"},{\"max\":\"80\",\"min\":\"50\",\"grade\":\"A\",\"point\":\"4.00\"},{\"max\":\"50\",\"min\":\"33\",\"grade\":\"C\",\"point\":\"2.50\"}]', '100', '30', '1', NULL, '2025-06-09 03:43:14', '', '', '', ''),
(2, '2025', '1', '52', '1', '[{\"max\":100,\"min\":80,\"grade\":\"A+\",\"point\":5},{\"max\":80,\"min\":50,\"grade\":\"A\",\"point\":4},{\"max\":50,\"min\":33,\"grade\":\"C\",\"point\":2.5}]', '100', '33', '1', NULL, '2025-06-09 03:43:19', '', '', '', ''),
(5, '2025', '1', '51', '2', '[{\"max\":\"100\",\"min\":\"80\",\"grade\":\"A+\",\"point\":\"5.00\"},{\"max\":\"80\",\"min\":\"50\",\"grade\":\"A\",\"point\":\"4.00\"},{\"max\":\"50\",\"min\":\"33\",\"grade\":\"C\",\"point\":\"2.50\"}]', '100', '30', '1', NULL, '2025-09-03 11:28:08', '', '', '', ''),
(6, '2025', '1', '52', '2', '[{\"max\":100,\"min\":80,\"grade\":\"A+\",\"point\":5},{\"max\":80,\"min\":50,\"grade\":\"A\",\"point\":4},{\"max\":50,\"min\":33,\"grade\":\"C\",\"point\":2.5}]', '100', '33', '1', NULL, '2025-09-03 11:28:08', '', '', '', ''),
(7, '2025', '1', '63', '1', '[{\"max\":\"100\",\"min\":\"80\",\"grade\":\"A+\",\"point\":\"5.00\"},{\"max\":\"79.99\",\"min\":\"70\",\"grade\":\"A\",\"point\":\"4.00\"},{\"max\":\"69.99\",\"min\":\"60\",\"grade\":\"A-\",\"point\":\"3.50\"},{\"max\":\"59.99\",\"min\":\"50\",\"grade\":\"B\",\"point\":\"3.00\"},{\"max\":\"49.99\",\"min\":\"40\",\"grade\":\"C\",\"point\":\"2.00\"},{\"max\":\"39.99\",\"min\":\"33\",\"grade\":\"D\",\"point\":\"1.00\"},{\"max\":\"32.99\",\"min\":\"0\",\"grade\":\"F\",\"point\":\"0.00\"}]', '100', '33', '1', NULL, '2025-09-03 11:49:11', '', '', '', ''),
(8, '2025', '1', '64', '1', '[{\"max\":\"100\",\"min\":\"80\",\"grade\":\"A+\",\"point\":\"5.00\"},{\"max\":\"79.99\",\"min\":\"70\",\"grade\":\"A\",\"point\":\"4.00\"},{\"max\":\"69.99\",\"min\":\"60\",\"grade\":\"A-\",\"point\":\"3.50\"},{\"max\":\"59.99\",\"min\":\"50\",\"grade\":\"B\",\"point\":\"3.00\"},{\"max\":\"49.99\",\"min\":\"40\",\"grade\":\"C\",\"point\":\"2.00\"},{\"max\":\"39.99\",\"min\":\"33\",\"grade\":\"D\",\"point\":\"1.00\"},{\"max\":\"32.99\",\"min\":\"0\",\"grade\":\"F\",\"point\":\"0.00\"}]', '100', '33', '1', NULL, '2025-09-03 13:56:27', '', '', '', ''),
(9, '2025', '1', '51', '2', '[{\"max\":\"100\",\"min\":\"80\",\"grade\":\"A+\",\"point\":\"5.00\"},{\"max\":\"80\",\"min\":\"50\",\"grade\":\"A\",\"point\":\"4.00\"},{\"max\":\"50\",\"min\":\"33\",\"grade\":\"C\",\"point\":\"2.50\"}]', '100', '30', '1', NULL, '2025-09-03 13:57:02', '', '', '', ''),
(10, '2025', '1', '52', '2', '[{\"max\":100,\"min\":80,\"grade\":\"A+\",\"point\":5},{\"max\":80,\"min\":50,\"grade\":\"A\",\"point\":4},{\"max\":50,\"min\":33,\"grade\":\"C\",\"point\":2.5}]', '100', '33', '1', NULL, '2025-09-03 13:57:02', '', '', '', ''),
(11, '2025', '1', '63', '2', '[{\"max\":\"100\",\"min\":\"80\",\"grade\":\"A+\",\"point\":\"5.00\"},{\"max\":\"79\",\"min\":\"70\",\"grade\":\"A\",\"point\":\"4.00\"},{\"max\":\"69\",\"min\":\"60\",\"grade\":\"A-\",\"point\":\"3.50\"},{\"max\":\"59\",\"min\":\"50\",\"grade\":\"B\",\"point\":\"3.00\"},{\"max\":\"49\",\"min\":\"40\",\"grade\":\"C\",\"point\":\"2.00\"},{\"max\":\"39\",\"min\":\"33\",\"grade\":\"D\",\"point\":\"1.00\"},{\"max\":\"32\",\"min\":\"0\",\"grade\":\"F\",\"point\":\"0.00\"}]', '100', '33', '1', NULL, '2025-09-03 13:57:02', '', '', '', ''),
(12, '2025', '1', '64', '2', '[{\"max\":\"100\",\"min\":\"80\",\"grade\":\"A+\",\"point\":\"5.00\"},{\"max\":\"79\",\"min\":\"70\",\"grade\":\"A\",\"point\":\"4.00\"},{\"max\":\"69\",\"min\":\"60\",\"grade\":\"A-\",\"point\":\"3.50\"},{\"max\":\"59\",\"min\":\"50\",\"grade\":\"B\",\"point\":\"3.00\"},{\"max\":\"49\",\"min\":\"40\",\"grade\":\"C\",\"point\":\"2.00\"},{\"max\":\"39\",\"min\":\"33\",\"grade\":\"D\",\"point\":\"1.00\"},{\"max\":\"32\",\"min\":\"0\",\"grade\":\"F\",\"point\":\"0.00\"}]', '100', '33', '1', NULL, '2025-09-03 13:57:02', '', '', '', ''),
(13, '2025', '1', '66', '2', '[{\"max\":\"100\",\"min\":\"80\",\"grade\":\"A+\",\"point\":\"5.00\"},{\"max\":\"79\",\"min\":\"70\",\"grade\":\"A\",\"point\":\"4.00\"},{\"max\":\"69\",\"min\":\"60\",\"grade\":\"A-\",\"point\":\"3.50\"},{\"max\":\"59\",\"min\":\"50\",\"grade\":\"B\",\"point\":\"3.00\"},{\"max\":\"49\",\"min\":\"40\",\"grade\":\"C\",\"point\":\"2.00\"},{\"max\":\"39\",\"min\":\"33\",\"grade\":\"D\",\"point\":\"1.00\"},{\"max\":\"32\",\"min\":\"00\",\"grade\":\"F\",\"point\":\"0.00\"}]', '100', '33', '1', NULL, '2025-09-18 10:17:00', '', '', '', ''),
(14, '2025', '1', '67', '2', '[{\"max\":\"100\",\"min\":\"80\",\"grade\":\"A+\",\"point\":\"5.00\"},{\"max\":\"79\",\"min\":\"70\",\"grade\":\"A\",\"point\":\"4.00\"},{\"max\":\"69\",\"min\":\"60\",\"grade\":\"A-\",\"point\":\"3.50\"},{\"max\":\"59\",\"min\":\"50\",\"grade\":\"B\",\"point\":\"3.00\"},{\"max\":\"49\",\"min\":\"40\",\"grade\":\"C\",\"point\":\"2.00\"},{\"max\":\"39\",\"min\":\"33\",\"grade\":\"D\",\"point\":\"1.00\"},{\"max\":\"32\",\"min\":\"00\",\"grade\":\"F\",\"point\":\"0.00\"}]', '100', '33', '1', NULL, '2025-09-18 10:17:07', '', '', '', ''),
(15, '2025', '1', '68', '2', '[{\"max\":\"100\",\"min\":\"80\",\"grade\":\"A+\",\"point\":\"5.00\"},{\"max\":\"79\",\"min\":\"70\",\"grade\":\"A\",\"point\":\"4.00\"},{\"max\":\"69\",\"min\":\"60\",\"grade\":\"A-\",\"point\":\"3.50\"},{\"max\":\"59\",\"min\":\"50\",\"grade\":\"B\",\"point\":\"3.00\"},{\"max\":\"49\",\"min\":\"40\",\"grade\":\"C\",\"point\":\"2.00\"},{\"max\":\"39\",\"min\":\"33\",\"grade\":\"D\",\"point\":\"1.00\"},{\"max\":\"32\",\"min\":\"00\",\"grade\":\"F\",\"point\":\"0.00\"}]', '100', '33', '1', NULL, '2025-09-18 10:17:11', '', '', '', ''),
(17, '2025', '3', '69', '1', '[{\"max\":\"100\",\"min\":\"80\",\"grade\":\"A+\",\"point\":\"5.00\"}]', '100', '33', '3', NULL, '2025-11-13 23:57:31', '', '', '', ''),
(18, '2025', '3', '71', '1', '[{\"max\":\"100\",\"min\":\"80\",\"grade\":\"A+\",\"point\":\"5.00\"}]', '100', '33', '3', NULL, '2025-11-14 00:00:37', '', '', '', '');

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

--
-- Table structure for table `grad_point_v3`
--

CREATE TABLE `grad_point_v3` (
  `id` int(11) NOT NULL,
  `name` varchar(500) NOT NULL,
  `points_grades` text NOT NULL,
  `date` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp()
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

--
-- Dumping data for table `grad_point_v3`
--

INSERT INTO `grad_point_v3` (`id`, `name`, `points_grades`, `date`) VALUES
(3, 'GPA Calculator1', '[{\"point\":\"4.00\",\"grad\":\"A+\"},{\"point\":\"3.75\",\"grad\":\"A\"},{\"point\":\"3.50\",\"grad\":\"A-\"},{\"point\":\"3.25\",\"grad\":\"B+\"},{\"point\":\"3.00\",\"grad\":\"B\"},{\"point\":\"2.75\",\"grad\":\"B-\"},{\"point\":\"2.50\",\"grad\":\"C+\"},{\"point\":\"2.00\",\"grad\":\"C\"},{\"point\":\"1.75\",\"grad\":\"D\"},{\"point\":\"0.00\",\"grad\":\"F\"}]', '2025-01-11 03:58:17'),
(8, 'GPA Calculator2', '[{\"point\":\"5.00\",\"grad\":\"A+\"},{\"point\":\"4.00\",\"grad\":\"A\"},{\"point\":\"3.50\",\"grad\":\"A-\"},{\"point\":\"3.00\",\"grad\":\"B\"},{\"point\":\"2.00\",\"grad\":\"C\"},{\"point\":\"1.00\",\"grad\":\"D\"},{\"point\":\"0.00\",\"grad\":\"F\"}]', '2025-01-11 04:05:37');

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

--
-- Table structure for table `guardian_card_expiry`
--

CREATE TABLE `guardian_card_expiry` (
  `id` int(11) NOT NULL,
  `course_id` int(11) DEFAULT NULL,
  `academic_year` int(11) DEFAULT NULL,
  `expiry_date` date DEFAULT NULL,
  `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;

--
-- Dumping data for table `guardian_card_expiry`
--

INSERT INTO `guardian_card_expiry` (`id`, `course_id`, `academic_year`, `expiry_date`, `created_at`, `updated_at`) VALUES
(3, 1, 2025, '2027-11-17', '2025-04-16 03:05:10', '2025-04-16 03:05:10'),
(4, 1, 2022, '2024-07-16', '2025-04-16 03:07:50', '2025-04-16 03:07:50');

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

--
-- Table structure for table `height_mark`
--

CREATE TABLE `height_mark` (
  `id` int(11) NOT NULL,
  `student_id` varchar(255) NOT NULL,
  `mark_year` varchar(100) NOT NULL,
  `class_id` int(11) NOT NULL,
  `mark_number` float NOT NULL,
  `subject_id` int(11) NOT NULL,
  `status` int(11) NOT NULL,
  `created_add` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp()
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

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

--
-- Table structure for table `hold_results`
--

CREATE TABLE `hold_results` (
  `id` int(11) NOT NULL,
  `course_id` int(11) NOT NULL,
  `year` int(11) NOT NULL,
  `exam_id` int(11) NOT NULL,
  `student_id` int(11) NOT NULL,
  `reason` text NOT NULL,
  `hold_date` datetime NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

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

--
-- Table structure for table `holiday_v3`
--

CREATE TABLE `holiday_v3` (
  `id` int(11) NOT NULL,
  `name` varchar(500) NOT NULL,
  `date` date NOT NULL,
  `add_time` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp()
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

--
-- Dumping data for table `holiday_v3`
--

INSERT INTO `holiday_v3` (`id`, `name`, `date`, `add_time`) VALUES
(4, 'বিজয় দিবস', '2024-12-25', '2024-12-27 09:30:17');

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

--
-- Table structure for table `hotline_settings`
--

CREATE TABLE `hotline_settings` (
  `id` int(11) NOT NULL,
  `phone_1` varchar(100) NOT NULL,
  `phone_2` varchar(100) DEFAULT NULL,
  `email` varchar(100) NOT NULL,
  `address` varchar(500) NOT NULL,
  `google_map_embed` text NOT NULL,
  `date` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp()
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

--
-- Dumping data for table `hotline_settings`
--

INSERT INTO `hotline_settings` (`id`, `phone_1`, `phone_2`, `email`, `address`, `google_map_embed`, `date`) VALUES
(1, '01717452764', '01717452764', 'webbazarbd24@gmail.com', 'Kaliganj, Lalmonirhat, Ranpur,Bangladesh', '<iframe src=\"https://www.google.com/maps/embed?pb=!1m23!1m12!1m3!1d114785.87447169314!2d89.11741509398381!3d25.96611917517843!2m3!1f0!2f0!3f0!3m2!1i1024!2i768!4f13.1!4m8!3e6!4m0!4m5!1s0x39e33d018a5141fd%3A0x3ed1a95fffaef4bb!2sX682%2BJ4C%2C%20Tushbhander!3m2!1d25.966141!2d89.1998167!5e0!3m2!1sen!2sbd!4v1749948390307!5m2!1sen!2sbd\"   width=\"100%\" \r\n                                height=\"450\" \r\n                                style=\"border:0;\" \r\n                                allowfullscreen=\"\" \r\n                                loading=\"lazy\"></iframe>', '2025-06-15 00:48:57');

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

--
-- Table structure for table `income`
--

CREATE TABLE `income` (
  `income_id` int(11) NOT NULL,
  `income_amount` int(11) NOT NULL,
  `category_id` int(11) NOT NULL,
  `income_details` varchar(250) NOT NULL,
  `income_receipt` varchar(250) NOT NULL,
  `income_date` varchar(255) NOT NULL,
  `income_month` varchar(255) NOT NULL,
  `income_year` varchar(255) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

--
-- Dumping data for table `income`
--

INSERT INTO `income` (`income_id`, `income_amount`, `category_id`, `income_details`, `income_receipt`, `income_date`, `income_month`, `income_year`) VALUES
(3, 200, 5, '', '', '2022-01-29', '01', '2022'),
(4, 500, 6, '', '', '2022-01-31', '01', '2022'),
(5, 500, 3, 'uku', '', '2022-11-08', '11', '2022'),
(9, 90, 3, '', '8e06a13c506c7d4d3ef7343b9a9dee2a.jpg', '2022-12-02', '12', '2022'),
(11, 900, 3, '', '', '2023-05-11', '05', '2023');

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

--
-- Table structure for table `information`
--

CREATE TABLE `information` (
  `id` int(20) NOT NULL,
  `person_id` varchar(250) DEFAULT NULL,
  `date_time` varchar(250) DEFAULT NULL,
  `date` varchar(250) DEFAULT NULL,
  `time` varchar(250) DEFAULT NULL,
  `direction` varchar(250) DEFAULT NULL,
  `type` varchar(250) DEFAULT NULL,
  `serial_no` varchar(250) DEFAULT NULL,
  `person_name` varchar(250) DEFAULT NULL,
  `card_no` varchar(250) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

--
-- Dumping data for table `information`
--

INSERT INTO `information` (`id`, `person_id`, `date_time`, `date`, `time`, `direction`, `type`, `serial_no`, `person_name`, `card_no`) VALUES
(496, '17', '2024-02-13T17:12:50', '2024-02-13', '17:12:50', '', 'john', 'DS-K1T343EFX20220310V030304ENK72668265', 'Md Ashraful Islam Liton Kondoker tt ttttttt', '0003317314'),
(497, '18', '2024-02-13T17:13:14', '2024-02-13', '17:13:14', '', 'john', 'DS-K1T343EFX20220310V030304ENK72668265', 'md rasel', '0002676737'),
(498, '18', '2024-02-13T17:13:28', '2024-02-13', '17:13:28', '', 'john', 'DS-K1T343EFX20220310V030304ENK72668265', 'md rasel', '0002676737'),
(499, '18', '2024-02-13T17:13:41', '2024-02-13', '17:13:41', '', 'john', 'DS-K1T343EFX20220310V030304ENK72668265', 'md rasel', '0002676737'),
(500, '17', '2024-02-13T17:13:43', '2024-02-13', '17:13:43', '', 'john', 'DS-K1T343EFX20220310V030304ENK72668265', 'Md Ashraful Islam Liton Kondoker tt ttttttt', '0003317314'),
(501, '17', '2024-02-13T17:13:44', '2024-02-13', '17:13:44', '', 'john', 'DS-K1T343EFX20220310V030304ENK72668265', 'Md Ashraful Islam Liton Kondoker tt ttttttt', '0003317314'),
(502, '17', '2024-02-13T17:15:10', '2024-02-13', '17:15:10', '', 'john', 'DS-K1T343EFX20220310V030304ENK72668265', 'Md Ashraful Islam Liton Kondoker tt ttttttt', '0003317314'),
(503, '17', '2024-02-13T17:16:03', '2024-02-13', '17:16:03', '', 'john', 'DS-K1T343EFX20220310V030304ENK72668265', 'Md Ashraful Islam Liton Kondoker tt ttttttt', '0003317314'),
(504, '18', '2024-02-13T17:25:25', '2024-02-13', '17:25:25', '', 'john', 'DS-K1T343EFX20220310V030304ENK72668265', 'md rasel', '0002676737'),
(505, '17', '2024-02-13T17:25:26', '2024-02-13', '17:25:26', '', 'john', 'DS-K1T343EFX20220310V030304ENK72668265', 'Md Ashraful Islam Liton Kondoker tt ttttttt', '0003317314'),
(506, '18', '2024-02-13T17:25:28', '2024-02-13', '17:25:28', '', 'john', 'DS-K1T343EFX20220310V030304ENK72668265', 'md rasel', '0002676737'),
(507, '18', '2024-02-13T17:25:36', '2024-02-13', '17:25:36', '', 'john', 'DS-K1T343EFX20220310V030304ENK72668265', 'md rasel', '0002676737'),
(508, '17', '2024-02-13T17:25:39', '2024-02-13', '17:25:39', '', 'john', 'DS-K1T343EFX20220310V030304ENK72668265', 'Md Ashraful Islam Liton Kondoker tt ttttttt', '0003317314'),
(509, '18', '2024-02-13T17:25:43', '2024-02-13', '17:25:43', '', 'john', 'DS-K1T343EFX20220310V030304ENK72668265', 'md rasel', '0002676737'),
(510, '17', '2024-02-13T17:25:45', '2024-02-13', '17:25:45', '', 'john', 'DS-K1T343EFX20220310V030304ENK72668265', 'Md Ashraful Islam Liton Kondoker tt ttttttt', '0003317314'),
(511, '18', '2024-02-13T17:25:47', '2024-02-13', '17:25:47', '', 'john', 'DS-K1T343EFX20220310V030304ENK72668265', 'md rasel', '0002676737'),
(512, '17', '2024-02-13T17:25:52', '2024-02-13', '17:25:52', '', 'john', 'DS-K1T343EFX20220310V030304ENK72668265', 'Md Ashraful Islam Liton Kondoker tt ttttttt', '0003317314'),
(513, '18', '2024-02-13T17:25:54', '2024-02-13', '17:25:54', '', 'john', 'DS-K1T343EFX20220310V030304ENK72668265', 'md rasel', '0002676737'),
(516, '18', '2024-02-13T17:29:09', '2024-02-13', '17:29:09', '0', 'john', 'DS-K1T343EFX20220310V030304ENK72668265', 'md rasel', '0002676737'),
(517, '18', '2024-02-13T17:29:24', '2024-02-13', '17:29:24', '0', 'john', 'DS-K1T343EFX20220310V030304ENK72668265', 'md rasel', '0002676737'),
(518, '18', '2024-02-13T17:29:31', '2024-02-13', '17:29:31', '0', 'john', 'DS-K1T343EFX20220310V030304ENK72668265', 'md rasel', '0002676737'),
(519, '17', '2024-02-13T17:29:36', '2024-02-13', '17:29:36', '0', 'john', 'DS-K1T343EFX20220310V030304ENK72668265', 'Md Ashraful Islam Liton Kondoker tt ttttttt', '0003317314'),
(520, '18', '2024-02-13T17:30:01', '2024-02-13', '17:30:01', '0', 'john', 'DS-K1T343EFX20220310V030304ENK72668265', 'md rasel', '0002676737'),
(522, '18', '2024-02-13T17:45:44', '2024-02-13', '17:45:44', '0', 'john', 'DS-K1T343EFX20220310V030304ENK72668265', 'md rasel', '0002676737'),
(523, '18', '2024-02-13T17:45:50', '2024-02-13', '17:45:50', '0', 'john', 'DS-K1T343EFX20220310V030304ENK72668265', 'md rasel', '0002676737'),
(524, '18', '2024-02-13T17:45:52', '2024-02-13', '17:45:52', '0', 'john', 'DS-K1T343EFX20220310V030304ENK72668265', 'md rasel', '0002676737'),
(525, '18', '2024-02-13T17:45:56', '2024-02-13', '17:45:56', '0', 'john', 'DS-K1T343EFX20220310V030304ENK72668265', 'md rasel', '0002676737'),
(526, '17', '2024-02-13T17:46:01', '2024-02-13', '17:46:01', '0', 'john', 'DS-K1T343EFX20220310V030304ENK72668265', 'Md Ashraful Islam Liton Kondoker tt ttttttt', '0003317314'),
(527, '17', '2024-02-13T17:46:03', '2024-02-13', '17:46:03', '0', 'john', 'DS-K1T343EFX20220310V030304ENK72668265', 'Md Ashraful Islam Liton Kondoker tt ttttttt', '0003317314'),
(529, '18', '2024-02-13T19:12:37', '2024-02-13', '19:12:37', '0', 'john', 'DS-K1T343EFX20220310V030304ENK72668265', 'md rasel', '0002676737'),
(531, '17', '2024-02-13T19:13:47', '2024-02-13', '19:13:47', '0', 'john', 'DS-K1T343EFX20220310V030304ENK72668265', 'Md Ashraful Islam Liton Kondoker tt ttttttt', '0003317314'),
(532, '18', '2024-02-13T19:13:57', '2024-02-13', '19:13:57', '0', 'john', 'DS-K1T343EFX20220310V030304ENK72668265', 'md rasel', '0002676737'),
(534, '18', '2024-02-13T19:35:43', '2024-02-13', '19:35:43', '0', 'john', 'DS-K1T343EFX20220310V030304ENK72668265', 'md rasel', '0002676737'),
(535, '17', '2024-02-13T19:35:55', '2024-02-13', '19:35:55', '0', 'john', 'DS-K1T343EFX20220310V030304ENK72668265', 'Md Ashraful Islam Liton Kondoker tt ttttttt', '0003317314'),
(536, '18', '2024-02-13T19:36:08', '2024-02-13', '19:36:08', '0', 'john', 'DS-K1T343EFX20220310V030304ENK72668265', 'md rasel', '0002676737'),
(537, '18', '2024-02-13T19:36:21', '2024-02-13', '19:36:21', '0', 'john', 'DS-K1T343EFX20220310V030304ENK72668265', 'md rasel', '0002676737');

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

--
-- Table structure for table `institution_name_ex`
--

CREATE TABLE `institution_name_ex` (
  `id` int(11) NOT NULL,
  `name_bangla` varchar(255) DEFAULT NULL,
  `name_english` varchar(255) DEFAULT NULL,
  `name_code` varchar(255) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

--
-- Dumping data for table `institution_name_ex`
--

INSERT INTO `institution_name_ex` (`id`, `name_bangla`, `name_english`, `name_code`) VALUES
(1, 'অভিযান এডুকেশন প্রোগ্রাম', 'অভিযান এডুকেশন প্রোগ্রাম', NULL);

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

--
-- Table structure for table `in_bank_invoice`
--

CREATE TABLE `in_bank_invoice` (
  `id` int(20) NOT NULL,
  `bank_name` varchar(100) NOT NULL,
  `billing_type` varchar(100) NOT NULL,
  `ac_no` varchar(100) DEFAULT NULL,
  `name` varchar(250) DEFAULT NULL,
  `mobile` varchar(250) DEFAULT NULL,
  `discription` varchar(250) DEFAULT NULL,
  `reciept` varchar(250) NOT NULL,
  `total_amount` int(20) DEFAULT 0,
  `discount` int(20) DEFAULT 0,
  `due` int(20) DEFAULT 0,
  `paid_amount` int(20) DEFAULT 0,
  `billing_time` varchar(100) NOT NULL,
  `add_date` varchar(100) NOT NULL,
  `update_date` varchar(100) NOT NULL,
  `add_author` longtext NOT NULL,
  `update_author` longtext NOT NULL,
  `check_update` int(20) DEFAULT 0,
  `d_status` int(10) NOT NULL DEFAULT 1
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

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

--
-- Table structure for table `in_bank_list`
--

CREATE TABLE `in_bank_list` (
  `id` int(20) NOT NULL,
  `bank_name` varchar(200) NOT NULL,
  `bank_account` varchar(200) NOT NULL,
  `holder_name` varchar(100) NOT NULL,
  `bank_mobile` varchar(250) DEFAULT NULL,
  `balance` int(20) NOT NULL DEFAULT 0
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

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

--
-- Table structure for table `jh_payment`
--

CREATE TABLE `jh_payment` (
  `user_pay_id` int(10) NOT NULL,
  `invoice_id` varchar(200) NOT NULL,
  `student_id` varchar(20) NOT NULL,
  `course_id` int(10) NOT NULL,
  `amount` int(10) NOT NULL,
  `payment_date` varchar(16) CHARACTER SET utf8mb4 NOT NULL,
  `total_payment` varchar(10) CHARACTER SET utf8mb4 NOT NULL,
  `due` int(11) NOT NULL,
  `accept_name` varchar(255) CHARACTER SET utf8mb4 DEFAULT NULL,
  `accept_id` int(11) DEFAULT NULL,
  `status` int(2) NOT NULL COMMENT '1 = complite_payment\r\n2 = incomplite_payment',
  `description_name` varchar(255) NOT NULL,
  `transtion_id` varchar(255) DEFAULT NULL,
  `payment_method` varchar(255) DEFAULT NULL,
  `create_at` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp()
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

--
-- Dumping data for table `jh_payment`
--

INSERT INTO `jh_payment` (`user_pay_id`, `invoice_id`, `student_id`, `course_id`, `amount`, `payment_date`, `total_payment`, `due`, `accept_name`, `accept_id`, `status`, `description_name`, `transtion_id`, `payment_method`, `create_at`) VALUES
(96, '1698198532_592102591', '1', 0, 50, '2023-10-25', '', 8950, 'admin', 1, 0, '5', NULL, NULL, '2023-10-25 01:48:52'),
(97, '1699073197_1689803675', '1', 0, 500, '2023-11-04', '', 8450, 'admin', 1, 0, '3', NULL, NULL, '2023-11-04 04:46:37');

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

--
-- Table structure for table `language_table`
--

CREATE TABLE `language_table` (
  `id` int(10) NOT NULL,
  `lang` varchar(100) NOT NULL DEFAULT 'en'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

--
-- Dumping data for table `language_table`
--

INSERT INTO `language_table` (`id`, `lang`) VALUES
(1, 'en');

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

--
-- Table structure for table `last_id_history`
--

CREATE TABLE `last_id_history` (
  `id` int(20) NOT NULL,
  `last_id` varchar(250) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

--
-- Dumping data for table `last_id_history`
--

INSERT INTO `last_id_history` (`id`, `last_id`) VALUES
(1, '955');

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

--
-- Table structure for table `leave_application_v3`
--

CREATE TABLE `leave_application_v3` (
  `id` int(11) NOT NULL,
  `regi_id` int(11) NOT NULL,
  `class_teacher` varchar(200) DEFAULT NULL,
  `application_type` varchar(200) NOT NULL,
  `start_date` date NOT NULL,
  `end_date` date NOT NULL,
  `application_date` datetime NOT NULL,
  `subject` varchar(300) NOT NULL,
  `message` text NOT NULL,
  `approve_by` varchar(200) DEFAULT NULL,
  `status` varchar(200) NOT NULL DEFAULT 'Pending'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

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

--
-- Table structure for table `login_otp`
--

CREATE TABLE `login_otp` (
  `id` int(10) NOT NULL,
  `sending_method` varchar(100) DEFAULT NULL,
  `status` varchar(50) DEFAULT NULL,
  `custom_sms` varchar(250) DEFAULT NULL,
  `type` varchar(120) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

--
-- Dumping data for table `login_otp`
--

INSERT INTO `login_otp` (`id`, `sending_method`, `status`, `custom_sms`, `type`) VALUES
(1, 'mobile', 'off', 'WebBazarBD YOUR LOG IN OTP', 'admin'),
(2, 'mobile', 'off', 'User Login OTP', 'user');

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

--
-- Table structure for table `logo`
--

CREATE TABLE `logo` (
  `id` int(20) NOT NULL,
  `type` varchar(250) DEFAULT NULL,
  `names` varchar(250) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

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

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

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

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

--
-- Table structure for table `mode_test_exam_v3`
--

CREATE TABLE `mode_test_exam_v3` (
  `id` int(11) NOT NULL,
  `exam` varchar(500) DEFAULT NULL,
  `course` varchar(200) DEFAULT NULL,
  `year` varchar(500) DEFAULT NULL,
  `json_data` text DEFAULT NULL,
  `status` varchar(200) DEFAULT NULL,
  `date` timestamp NOT NULL DEFAULT current_timestamp()
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

--
-- Dumping data for table `mode_test_exam_v3`
--

INSERT INTO `mode_test_exam_v3` (`id`, `exam`, `course`, `year`, `json_data`, `status`, `date`) VALUES
(19, 'M-1', 'One', '2024', '{\"course\":\"One\",\"subjects\":[\"English\",\"Mathematics\",\"environment society and science\"],\"year\":\"2024\",\"exam\":\"M-1\",\"total_mark\":\"100\",\"marks_data\":[{\"student_id\":\"2032\",\"student_name\":\"MD ABRAR AFTAHI\",\"marks\":[{\"subject\":\"English\",\"mark\":\"99\"},{\"subject\":\"Mathematics\",\"mark\":\"80\"},{\"subject\":\"environment society and science\",\"mark\":\"90\"}]},{\"student_id\":\"2031\",\"student_name\":\"Al Imran\",\"marks\":[{\"subject\":\"English\",\"mark\":\"50\"},{\"subject\":\"Mathematics\",\"mark\":\"50\"},{\"subject\":\"environment society and science\",\"mark\":\"50\"}]}]}', NULL, '2024-12-23 03:10:55');

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

--
-- Table structure for table `notification_add_student`
--

CREATE TABLE `notification_add_student` (
  `id` int(11) NOT NULL,
  `regi` int(11) NOT NULL,
  `sname` varchar(255) CHARACTER SET utf8 NOT NULL,
  `image` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  `ad_noti` varchar(500) COLLATE utf8_unicode_ci NOT NULL,
  `time_stamp` int(11) NOT NULL,
  `edite_time` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
  `last_date` varchar(50) COLLATE utf8_unicode_ci NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `notification_add_student`
--

INSERT INTO `notification_add_student` (`id`, `regi`, `sname`, `image`, `ad_noti`, `time_stamp`, `edite_time`, `last_date`) VALUES
(15, 1, 'mst amin beguum', '', '    hi', 1669292757, '2022-11-24 12:34:13', '2022-11-30');

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

--
-- Table structure for table `online_admission_switch`
--

CREATE TABLE `online_admission_switch` (
  `id` int(20) NOT NULL,
  `type` varchar(100) NOT NULL,
  `value` varchar(100) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

--
-- Dumping data for table `online_admission_switch`
--

INSERT INTO `online_admission_switch` (`id`, `type`, `value`) VALUES
(1, 'online-admission', 'off'),
(2, 'admission-fee', '1'),
(3, 'max-time', '24'),
(4, 'payment-method', 'bkash'),
(5, 'youtube', 'https://www.youtube.com/embed/mWZ6b_I-Djg');

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

--
-- Table structure for table `online_notice`
--

CREATE TABLE `online_notice` (
  `id` int(20) NOT NULL,
  `title` varchar(250) NOT NULL,
  `notice` longtext NOT NULL,
  `notice_id` varchar(250) NOT NULL,
  `status` int(5) NOT NULL DEFAULT 1,
  `expire_time` varchar(250) NOT NULL,
  `publish_date` varchar(250) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

--
-- Dumping data for table `online_notice`
--

INSERT INTO `online_notice` (`id`, `title`, `notice`, `notice_id`, `status`, `expire_time`, `publish_date`) VALUES
(4, 'আগামীকাল সফটওয়্যার বন্ধ থাকবে', 'আগামীকাল সফটওয়্যার বন্ধ থাকবে', '10', 1, '1732201422', '1732190622');

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

--
-- Table structure for table `operator_description`
--

CREATE TABLE `operator_description` (
  `op_id` int(11) NOT NULL,
  `op_description` varchar(200) NOT NULL,
  `oprator_image` varchar(100) DEFAULT NULL,
  `oprator_key` varchar(100) NOT NULL,
  `status` varchar(100) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

--
-- Dumping data for table `operator_description`
--

INSERT INTO `operator_description` (`op_id`, `op_description`, `oprator_image`, `oprator_key`, `status`) VALUES
(3, 'bkash', NULL, 'bkash', 'payment_operator'),
(4, 'Monthly payment', NULL, 'monthly_payment', 'payment_description'),
(9, 'Cash', NULL, 'cash', 'payment_operator');

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

--
-- Table structure for table `payment_redirect`
--

CREATE TABLE `payment_redirect` (
  `id` int(10) NOT NULL,
  `link_name` varchar(250) DEFAULT NULL,
  `status` int(20) NOT NULL,
  `note` varchar(250) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

--
-- Dumping data for table `payment_redirect`
--

INSERT INTO `payment_redirect` (`id`, `link_name`, `status`, `note`) VALUES
(1, 'bangla', 0, NULL),
(2, 'english', 0, ''),
(3, 'english2', 0, NULL),
(4, 'pos_english', 0, NULL),
(5, 'pos_bangla', 0, NULL),
(6, 'invoice-6', 1, 'Please make the payment by the due date to avoid any late fees. For assistance, contact the finance department and reference your student ID');

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

--
-- Table structure for table `permissions`
--

CREATE TABLE `permissions` (
  `id` int(11) NOT NULL,
  `name` varchar(255) NOT NULL,
  `module` varchar(100) NOT NULL,
  `created_at` timestamp NOT NULL DEFAULT current_timestamp()
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

--
-- Dumping data for table `permissions`
--

INSERT INTO `permissions` (`id`, `name`, `module`, `created_at`) VALUES
(76, 'Student', 'Dashboard', '2025-04-03 05:28:47'),
(77, 'Student Seat Plane', 'Dashboard', '2025-04-03 05:29:14'),
(78, 'Routine All', 'Dashboard', '2025-04-03 05:29:44'),
(79, 'Attendance', 'Dashboard', '2025-04-03 05:30:03'),
(80, 'Examination', 'Dashboard', '2025-04-03 05:30:16'),
(81, 'Registration', 'Dashboard', '2025-04-03 05:30:32'),
(82, 'Card Information', 'Dashboard', '2025-04-03 05:30:44'),
(83, 'Card Expiry', 'Dashboard', '2025-04-03 05:30:54'),
(84, 'Testimonial', 'Dashboard', '2025-04-03 05:31:04'),
(85, 'Basic Certificate', 'Dashboard', '2025-04-03 05:31:14'),
(86, 'Class,Group,Session,Section,Shift', 'Dashboard', '2025-04-03 05:31:26'),
(87, 'Institution Name', 'Dashboard', '2025-04-03 05:31:37'),
(88, 'Teacher Panel', 'Dashboard', '2025-04-03 05:31:47'),
(89, 'SMS Panel', 'Dashboard', '2025-04-03 05:31:57'),
(90, 'Note Notification', 'Dashboard', '2025-04-03 05:32:09'),
(91, 'Staff Entry', 'Dashboard', '2025-04-03 05:32:34'),
(92, 'Notice', 'Dashboard', '2025-04-03 05:32:37'),
(93, 'Promotion', 'Dashboard', '2025-04-03 05:32:46'),
(94, 'Visitor Portal', 'Dashboard', '2025-04-03 05:32:54'),
(95, 'Backup', 'Dashboard', '2025-04-03 05:33:04'),
(96, 'Subjects,Mark,Grading,eSif', 'Resultcontrol', '2025-04-03 05:47:11'),
(97, 'Certificate Manage', 'Resultcontrol', '2025-04-03 05:47:35'),
(98, 'MarkSheet', 'Resultcontrol', '2025-04-03 05:47:46'),
(99, 'TabilationSheet', 'Resultcontrol', '2025-04-03 05:48:14'),
(100, 'Student List,DCR,Blank Mark Input', 'Resultcontrol', '2025-04-03 05:48:44'),
(101, 'Progressive Report', 'Resultcontrol', '2025-04-03 05:49:00'),
(102, 'Result SMS', 'Resultcontrol', '2025-04-03 05:49:15'),
(103, 'Result Settings', 'Resultcontrol', '2025-04-03 05:49:37'),
(104, 'Role Management', 'Dashboard', '2025-04-04 02:37:31'),
(105, 'Resultcontrol Panel', 'Dashboard', '2025-04-04 03:50:43'),
(106, 'Activity Panel', 'Dashboard', '2025-04-04 03:51:09'),
(107, 'Accounting Panel', 'Dashboard', '2025-04-04 03:51:21'),
(108, 'Study Management', 'Activity', '2025-04-04 03:53:48'),
(109, 'Activity Management', 'Activity', '2025-04-04 03:54:08'),
(110, 'Holidays Management', 'Activity', '2025-04-04 03:54:23'),
(111, 'TC Management', 'Activity', '2025-04-04 03:54:37'),
(112, 'Applications Management', 'Activity', '2025-04-04 03:54:56'),
(113, 'Activity Settings', 'Activity', '2025-04-04 03:55:11'),
(115, 'Costs & Incomes', 'Accounting', '2025-04-04 04:03:00'),
(117, 'Due SMS System', 'Accounting', '2025-04-04 04:03:53'),
(118, 'Ledger', 'Accounting', '2025-04-04 04:04:29'),
(119, 'Setup', 'Accounting', '2025-04-04 04:04:40'),
(121, 'Payment Requests', 'Accounting', '2025-04-04 04:05:13'),
(122, 'SSL Payment', 'Accounting', '2025-04-04 04:05:23'),
(123, 'Manage bKash', 'Accounting', '2025-04-04 04:05:44'),
(124, 'Accounting Settings', 'Accounting', '2025-04-04 04:05:57'),
(128, 'Delete Log', 'Accounting', '2025-04-16 02:16:57'),
(129, 'Temporary Application', 'Temporary AD', '2025-04-26 06:55:48'),
(130, 'Manual Payment Request', 'Temporary AD', '2025-04-26 06:56:16'),
(131, 'Exams Temporary AD', 'Temporary AD', '2025-04-26 06:56:41'),
(132, 'Exam Selected Student', 'Temporary AD', '2025-04-26 06:56:55'),
(133, 'Admit Instructions', 'Temporary AD', '2025-04-26 06:57:05'),
(134, 'Admit Cards', 'Temporary AD', '2025-04-26 06:57:16'),
(135, 'Exam Attend Entry', 'Temporary AD', '2025-04-26 06:57:26'),
(136, 'Mark Input', 'Temporary AD', '2025-04-26 06:57:39'),
(137, 'Tiem Over Student', 'Temporary AD', '2025-04-26 06:57:52'),
(138, 'Move Student', 'Temporary AD', '2025-04-26 06:58:03'),
(139, 'SSLCommerz Payment', 'Temporary AD', '2025-04-26 06:58:19'),
(140, 'Bkash Payment', 'Temporary AD', '2025-04-26 06:58:31'),
(141, 'Settings Temporary AD', 'Temporary AD', '2025-04-26 06:58:48'),
(142, 'Temporary AD Panel', 'Dashboard', '2025-04-26 06:59:27'),
(143, 'Fee Collection Temporary AD', 'Temporary AD', '2025-04-28 07:52:22'),
(144, 'Fee Payment', 'Temporary AD', '2025-04-28 07:52:32'),
(145, 'Fee Manual Request', 'Temporary AD', '2025-04-28 07:52:41'),
(146, 'SSL Fee Payment', 'Temporary AD', '2025-04-28 07:52:50'),
(147, 'Bkash Fee Payment', 'Temporary AD', '2025-04-28 07:53:02'),
(148, 'Collection Report Temporary AD', 'Temporary AD', '2025-04-28 12:16:01'),
(149, 'Temp Application SMS', 'Temporary AD', '2025-04-30 10:36:45'),
(150, 'Exam Selected SMS', 'Temporary AD', '2025-04-30 10:37:01'),
(151, 'Fee Settings', 'Temporary AD', '2025-04-30 10:37:19'),
(152, 'SMS Settings Temporary AD', 'Temporary AD', '2025-04-30 10:37:33'),
(153, 'Notice Seetings', 'Temporary AD', '2025-05-03 03:38:02'),
(154, 'Exam Fee Collection', 'Temporary AD', '2025-05-04 13:27:51'),
(155, 'Bank Management', 'Accounting', '2025-05-23 16:30:44'),
(156, 'Dashboard Settings', 'Dashboard', '2025-05-27 05:15:19'),
(158, 'Fee Collection', 'Accounting', '2025-05-31 14:40:39'),
(163, 'Collection Due', 'Accounting', '2025-05-31 14:41:30'),
(165, 'DCR', 'Accounting', '2025-06-06 12:24:16'),
(166, 'Accounting Dashboard', 'Accounting', '2025-07-03 13:38:36');

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

--
-- Table structure for table `person_categories`
--

CREATE TABLE `person_categories` (
  `cat_id` int(20) NOT NULL,
  `cat_name` varchar(250) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

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

--
-- Table structure for table `print_template`
--

CREATE TABLE `print_template` (
  `id` int(10) NOT NULL,
  `image` varchar(200) DEFAULT NULL,
  `status` int(10) NOT NULL DEFAULT 1,
  `template_no` int(10) NOT NULL,
  `card_no` varchar(255) DEFAULT NULL,
  `bottom_page` varchar(250) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

--
-- Dumping data for table `print_template`
--

INSERT INTO `print_template` (`id`, `image`, `status`, `template_no`, `card_no`, `bottom_page`) VALUES
(1, 'template/template_1761395918_1.From_d-1-School_English.png', 0, 1, '1-School_English', NULL),
(2, 'template/template_1707699923_From_d_BN-2.png', 0, 2, '2-School_Bangla', NULL),
(3, 'template/template_1711596292_3.from-d-3-School_English.png', 0, 3, '3-School_English', NULL),
(4, 'template/template_1723073889_4.from-d-4-Coaching_English.png', 0, 4, '4-Coaching_English', NULL),
(5, 'template/template_1761396456_5.From-d-5-Madrsha_Bangla.png', 0, 5, '5-Madrsha_Bangla', NULL),
(6, 'template/template_1733987956_6.From-d-6-Coaching_English.png', 0, 6, '6-Coaching_English', NULL),
(7, 'template/template_1711598186_7.from-d-7-Coaching_English.png', 0, 7, '7-Coaching_English', NULL),
(8, 'template/template_1723348327_8.from-d-8-Coaching_English.png', 0, 8, '8-Coaching_English', NULL),
(9, 'template/template_1731939036_08 ADMISSION  new Form-images-0.jpg', 0, 9, '9-JAMIA ISLAMIA DARUL', 'template/template_1731939043_08 ADMISSION  new Form-images-1.jpg'),
(10, 'template/template_1733642272_10.From-d-10-Madrsha_Bangla.png', 0, 10, '10-Madrsha_Bangla', NULL),
(11, 'template/template_1754061722_13-English.png', 1, 11, '11-সকল প্রতিষ্ঠানের জন্য -ইংলিশ', NULL),
(12, 'template/template_1754061731_14_Bangla.png', 0, 12, '12-সকল প্রতিষ্ঠানের জন্য -বাংলা', NULL),
(13, 'template/template_1761396357_13-English.png', 0, 13, '13-Madrsha', NULL),
(14, 'template/template_1761396267_14_Bangla.png', 0, 14, '14-Madrsha_English', NULL);

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

--
-- Table structure for table `p_customer`
--

CREATE TABLE `p_customer` (
  `id` int(20) NOT NULL,
  `name` varchar(100) DEFAULT NULL,
  `categories_id` int(20) DEFAULT NULL,
  `mobile` varchar(100) NOT NULL,
  `duration` varchar(100) DEFAULT NULL,
  `address` varchar(150) NOT NULL,
  `add_date` varchar(100) NOT NULL,
  `update_date` varchar(100) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

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

--
-- Table structure for table `p_customer_categories`
--

CREATE TABLE `p_customer_categories` (
  `id` int(20) NOT NULL,
  `name` varchar(250) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

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

--
-- Table structure for table `p_invoice`
--

CREATE TABLE `p_invoice` (
  `p_in_id` int(10) NOT NULL,
  `customer_id` int(10) NOT NULL,
  `customer_name` varchar(150) NOT NULL,
  `customer_mobile` varchar(50) NOT NULL,
  `customer_address` varchar(250) NOT NULL,
  `product_information` longtext NOT NULL,
  `files` varchar(100) DEFAULT NULL,
  `description` varchar(250) DEFAULT NULL,
  `total_amount` int(20) DEFAULT NULL,
  `discount` int(20) DEFAULT NULL,
  `due` int(20) DEFAULT NULL,
  `paid_amount` int(20) DEFAULT NULL,
  `add_date` varchar(100) DEFAULT NULL,
  `update_date` varchar(100) DEFAULT NULL,
  `create_date` varchar(100) NOT NULL,
  `d_status` int(10) DEFAULT 1
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

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

--
-- Table structure for table `p_invoice_temp`
--

CREATE TABLE `p_invoice_temp` (
  `temp_in_id` int(20) NOT NULL,
  `in_id` int(20) NOT NULL,
  `temp_mobile` varchar(100) NOT NULL,
  `temp_amount` int(20) NOT NULL,
  `temp_date` varchar(100) NOT NULL,
  `temp_dates` varchar(250) NOT NULL,
  `d_status` int(11) NOT NULL DEFAULT 1
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

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

--
-- Table structure for table `p_product`
--

CREATE TABLE `p_product` (
  `p_id` int(20) NOT NULL,
  `p_name` varchar(250) NOT NULL,
  `p_amount` int(20) NOT NULL,
  `p_add_date` varchar(100) DEFAULT NULL,
  `p_update_date` varchar(100) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

--
-- Dumping data for table `p_product`
--

INSERT INTO `p_product` (`p_id`, `p_name`, `p_amount`, `p_add_date`, `p_update_date`) VALUES
(1, 'SM PDF APPS', 1000, '2023-12-15', '2023-12-15'),
(2, 'SMS SOFT APP', 2000, '2023-12-15', '2023-12-15');

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

--
-- Table structure for table `quota_student`
--

CREATE TABLE `quota_student` (
  `quota_stu_id` int(11) NOT NULL,
  `quota_ba` varchar(255) NOT NULL,
  `quota_en` varchar(255) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

--
-- Dumping data for table `quota_student`
--

INSERT INTO `quota_student` (`quota_stu_id`, `quota_ba`, `quota_en`) VALUES
(2, 'নাই', 'N/A');

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

--
-- Table structure for table `regination_settings`
--

CREATE TABLE `regination_settings` (
  `id` int(11) NOT NULL,
  `sig1_name` varchar(5000) DEFAULT NULL,
  `sig2_name` varchar(500) DEFAULT NULL,
  `note1` text DEFAULT NULL,
  `note2` text DEFAULT NULL,
  `issue_date` date DEFAULT NULL,
  `image` varchar(500) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

--
-- Dumping data for table `regination_settings`
--

INSERT INTO `regination_settings` (`id`, `sig1_name`, `sig2_name`, `note1`, `note2`, `issue_date`, `image`) VALUES
(1, 'Signature of the Student	', 'Signature of Head of the Institute', 'This Registration card is Valid for six months.', 'For all communications with the insititute code, registation number and session are be mentioned.', '2025-03-12', 'img/1744961795_sig1_background.png');

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

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

CREATE TABLE `roles` (
  `id` int(11) NOT NULL,
  `name` varchar(255) NOT NULL,
  `description` text DEFAULT NULL,
  `created_at` timestamp NOT NULL DEFAULT current_timestamp()
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

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

INSERT INTO `roles` (`id`, `name`, `description`, `created_at`) VALUES
(5, 'admin', '', '2025-04-03 03:21:49'),
(7, 'Resultcontrol & Student', '', '2025-04-04 02:51:39'),
(8, 'Accounting Manager', '', '2025-04-17 03:24:06');

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

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

CREATE TABLE `role_permissions` (
  `role_id` int(11) NOT NULL,
  `permission_id` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

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

INSERT INTO `role_permissions` (`role_id`, `permission_id`) VALUES
(5, 76),
(5, 77),
(5, 78),
(5, 79),
(5, 80),
(5, 81),
(5, 82),
(5, 83),
(5, 84),
(5, 85),
(5, 86),
(5, 87),
(5, 88),
(5, 89),
(5, 90),
(5, 91),
(5, 92),
(5, 93),
(5, 94),
(5, 95),
(5, 96),
(5, 97),
(5, 98),
(5, 99),
(5, 100),
(5, 101),
(5, 102),
(5, 103),
(5, 104),
(5, 105),
(5, 106),
(5, 107),
(5, 108),
(5, 109),
(5, 110),
(5, 111),
(5, 112),
(5, 113),
(5, 115),
(5, 117),
(5, 118),
(5, 119),
(5, 121),
(5, 122),
(5, 123),
(5, 124),
(5, 128),
(5, 129),
(5, 130),
(5, 131),
(5, 132),
(5, 133),
(5, 134),
(5, 135),
(5, 136),
(5, 137),
(5, 138),
(5, 139),
(5, 140),
(5, 141),
(5, 142),
(5, 143),
(5, 144),
(5, 145),
(5, 146),
(5, 147),
(5, 148),
(5, 149),
(5, 150),
(5, 151),
(5, 152),
(5, 153),
(5, 154),
(5, 155),
(5, 156),
(5, 157),
(5, 158),
(5, 159),
(5, 160),
(5, 161),
(5, 162),
(5, 163),
(5, 164),
(5, 165),
(5, 166),
(7, 76),
(8, 107),
(8, 118),
(8, 158);

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

--
-- Table structure for table `room`
--

CREATE TABLE `room` (
  `room_id` int(11) NOT NULL,
  `room_name` varchar(255) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

--
-- Dumping data for table `room`
--

INSERT INTO `room` (`room_id`, `room_name`) VALUES
(1, '101'),
(2, '107'),
(11, '100');

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

--
-- Table structure for table `save_routine_v3`
--

CREATE TABLE `save_routine_v3` (
  `id` int(11) NOT NULL,
  `course_id` varchar(100) DEFAULT NULL,
  `shift` varchar(100) DEFAULT NULL,
  `section` varchar(100) DEFAULT NULL,
  `year` varchar(100) DEFAULT NULL,
  `exam_id` varchar(100) DEFAULT NULL,
  `branch` varchar(100) DEFAULT NULL,
  `academic_year` varchar(100) DEFAULT NULL,
  `routine_details` text DEFAULT NULL,
  `start_date` date DEFAULT NULL,
  `end_date` date DEFAULT NULL,
  `status` varchar(100) DEFAULT NULL,
  `date` timestamp NOT NULL DEFAULT current_timestamp()
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

--
-- Dumping data for table `save_routine_v3`
--

INSERT INTO `save_routine_v3` (`id`, `course_id`, `shift`, `section`, `year`, `exam_id`, `branch`, `academic_year`, `routine_details`, `start_date`, `end_date`, `status`, `date`) VALUES
(3, '211', 'Morning', 'A', '2024', '7', 'General', '2024-2025', '{\"subject_id\":\"Quaran 5\",\"date\":\"2024-11-08\",\"start_time\":\"13:25\",\"end_time\":\"13:25\"}', NULL, NULL, '', '2024-11-12 05:23:37'),
(4, '211', 'Morning', 'A', '2024', '4', 'General', '2024-2025', '[{\"subject_id\":\"\\u0987\\u09b8\\u09b2\\u09be\\u09ae\\u09c7\\u09b0 \\u0987\\u09a4\\u09bf\\u09b9\\u09be\\u09b8\",\"date\":\"2024-11-13\",\"start_time\":\"11:31\",\"end_time\":\"11:32\"},{\"subject_id\":\"\\u09b8\\u09be\\u09a7\\u09be\\u09b0\\u09a3 \\u099c\\u09cd\\u099e\\u09be\\u09a8\",\"date\":\"2024-11-17\",\"start_time\":\"11:33\",\"end_time\":\"11:31\"},{\"subject_id\":\"Quaran 5\",\"date\":\"2024-11-15\",\"start_time\":\"11:32\",\"end_time\":\"11:30\"}]', NULL, NULL, '', '2024-11-12 05:29:46'),
(5, '201', '', '', '', '', 'General', '', '[{\"subject_id\":\"Bangla\",\"date\":\"2025-05-28\",\"start_time\":\"14:07\",\"end_time\":\"14:07\"},{\"subject_id\":\"English\",\"date\":\"2025-05-30\",\"start_time\":\"17:07\",\"end_time\":\"14:06\"},{\"subject_id\":\"environment and 52\",\"date\":\"\",\"start_time\":\"\",\"end_time\":\"\"},{\"subject_id\":\"English9\",\"date\":\"\",\"start_time\":\"\",\"end_time\":\"\"},{\"subject_id\":\"society and science\",\"date\":\"\",\"start_time\":\"\",\"end_time\":\"\"},{\"subject_id\":\"science\",\"date\":\"\",\"start_time\":\"\",\"end_time\":\"\"},{\"subject_id\":\"English3\",\"date\":\"\",\"start_time\":\"\",\"end_time\":\"\"},{\"subject_id\":\"English4\",\"date\":\"\",\"start_time\":\"\",\"end_time\":\"\"},{\"subject_id\":\"English5\",\"date\":\"\",\"start_time\":\"\",\"end_time\":\"\"},{\"subject_id\":\"English6\",\"date\":\"\",\"start_time\":\"\",\"end_time\":\"\"},{\"subject_id\":\"English7\",\"date\":\"\",\"start_time\":\"\",\"end_time\":\"\"},{\"subject_id\":\"English8\",\"date\":\"\",\"start_time\":\"\",\"end_time\":\"\"}]', NULL, NULL, NULL, '2025-05-13 08:03:26'),
(6, '201', 'Morning', 'A', '2024', '10', '', '2024-2025', '[{\"subject_id\":\"Bangla\",\"date\":\"2025-05-14\",\"start_time\":\"14:06\",\"end_time\":\"14:09\"},{\"subject_id\":\"English\",\"date\":\"2025-05-31\",\"start_time\":\"14:07\",\"end_time\":\"14:06\"},{\"subject_id\":\"environment and 52\",\"date\":\"2025-05-24\",\"start_time\":\"14:08\",\"end_time\":\"14:07\"},{\"subject_id\":\"English9\",\"date\":\"\",\"start_time\":\"\",\"end_time\":\"\"},{\"subject_id\":\"society and science\",\"date\":\"\",\"start_time\":\"\",\"end_time\":\"\"},{\"subject_id\":\"science\",\"date\":\"\",\"start_time\":\"\",\"end_time\":\"\"},{\"subject_id\":\"English3\",\"date\":\"\",\"start_time\":\"\",\"end_time\":\"\"},{\"subject_id\":\"English4\",\"date\":\"\",\"start_time\":\"\",\"end_time\":\"\"},{\"subject_id\":\"English5\",\"date\":\"\",\"start_time\":\"\",\"end_time\":\"\"},{\"subject_id\":\"English6\",\"date\":\"\",\"start_time\":\"\",\"end_time\":\"\"},{\"subject_id\":\"English7\",\"date\":\"\",\"start_time\":\"\",\"end_time\":\"\"},{\"subject_id\":\"English8\",\"date\":\"\",\"start_time\":\"\",\"end_time\":\"\"}]', NULL, NULL, NULL, '2025-05-13 08:04:04'),
(7, '1', '', 'A', '2024', '12', 'General', '2024-2025', '[{\"subject_id\":\"Bangla\",\"date\":\"2025-05-13\",\"start_time\":\"20:57\",\"end_time\":\"20:57\"},{\"subject_id\":\"English\",\"date\":\"2025-05-14\",\"start_time\":\"20:55\",\"end_time\":\"20:55\"},{\"subject_id\":\"environment and 52\",\"date\":\"2025-05-15\",\"start_time\":\"20:56\",\"end_time\":\"20:55\"},{\"subject_id\":\"English9\",\"date\":\"2025-05-14\",\"start_time\":\"\",\"end_time\":\"\"},{\"subject_id\":\"society and science\",\"date\":\"\",\"start_time\":\"\",\"end_time\":\"\"},{\"subject_id\":\"science\",\"date\":\"\",\"start_time\":\"\",\"end_time\":\"\"},{\"subject_id\":\"English3\",\"date\":\"\",\"start_time\":\"\",\"end_time\":\"\"},{\"subject_id\":\"English4\",\"date\":\"\",\"start_time\":\"\",\"end_time\":\"\"},{\"subject_id\":\"English5\",\"date\":\"\",\"start_time\":\"\",\"end_time\":\"\"},{\"subject_id\":\"English6\",\"date\":\"\",\"start_time\":\"\",\"end_time\":\"\"},{\"subject_id\":\"English7\",\"date\":\"\",\"start_time\":\"\",\"end_time\":\"\"},{\"subject_id\":\"English8\",\"date\":\"\",\"start_time\":\"\",\"end_time\":\"\"}]', '2025-05-13', '2025-05-30', NULL, '2025-05-13 14:53:57'),
(9, '3', 'Morning', 'A', '2025', '1', 'General', '2025', '[{\"subject_id\":\"English\",\"date\":\"2025-11-15\",\"start_time\":\"10:08\",\"end_time\":\"12:08\"},{\"subject_id\":\"Bangla\",\"date\":\"2025-11-20\",\"start_time\":\"10:10\",\"end_time\":\"12:11\"}]', '2025-11-15', '2025-11-30', NULL, '2025-11-15 12:10:00');

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

--
-- Table structure for table `semester_exam_v3`
--

CREATE TABLE `semester_exam_v3` (
  `id` int(11) NOT NULL,
  `year` varchar(200) DEFAULT NULL,
  `class` varchar(200) DEFAULT NULL,
  `subject` varchar(200) DEFAULT NULL,
  `mt` varchar(200) DEFAULT NULL,
  `semester` varchar(200) DEFAULT NULL,
  `date` timestamp NOT NULL DEFAULT current_timestamp()
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

--
-- Dumping data for table `semester_exam_v3`
--

INSERT INTO `semester_exam_v3` (`id`, `year`, `class`, `subject`, `mt`, `semester`, `date`) VALUES
(2, '2024', '3', '19', '65', '55', '2024-11-30 02:23:36'),
(4, '2024', '3', '17', '30', '50', '2024-11-30 02:30:52'),
(5, '2024', '3', '18', '50', '25', '2024-11-30 02:31:04'),
(7, '2024', '3', '20', '50', '25', '2024-12-02 03:51:56'),
(8, '2024', '3', '21', '100', '33', '2024-12-02 03:52:10'),
(9, '2024', '3', '22', '100', '50', '2024-12-02 03:52:23'),
(10, '2024', '3', '23', '100', '90', '2024-12-02 03:52:34'),
(12, '2024', '3', '44', '70', '30', '2024-12-02 04:05:46');

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

--
-- Table structure for table `sessions`
--

CREATE TABLE `sessions` (
  `id` int(255) NOT NULL,
  `user_id` bigint(20) UNSIGNED DEFAULT NULL,
  `ip_address` varchar(45) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `user_agent` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `payload` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `last_activity` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

--
-- Dumping data for table `sessions`
--

INSERT INTO `sessions` (`id`, `user_id`, `ip_address`, `user_agent`, `payload`, `last_activity`) VALUES
(1, 0, '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.124 Safari/537.36', 'YTozOntzOjY6Il90b2tlbiI7czo0MDoiU2l4emFiWDA5NjFValNDb1ZUNHZ0RVlndnlSRTBydDdiS3hTMmloWCI7czo5OiJfcHJldmlvdXMiO2E6MTp7czozOiJ1cmwiO3M6NTI6Imh0dHA6Ly9sb2NhbGhvc3Qvc3R1ZGVudF9tYW5hZ21lbnRfc3lzdGVtL3Ntcy9wdWJsaWMiO31zOjY6Il9mbGFzaCI7YToyOntzOjM6Im9sZCI7YTowOnt9czozOiJuZXciO2E6MDp7fX19', 1625916890);

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

--
-- Table structure for table `settings`
--

CREATE TABLE `settings` (
  `id` int(11) NOT NULL,
  `regi_system` varchar(10) DEFAULT NULL,
  `date` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
  `slogan` varchar(255) DEFAULT NULL,
  `school_name` varchar(255) DEFAULT NULL,
  `address` text DEFAULT NULL,
  `contact_info` text DEFAULT NULL,
  `admission_form_primary_color` varchar(20) DEFAULT '#2c5aa0',
  `admission_previews` varchar(20) DEFAULT NULL,
  `admission_form_text_color` varchar(7) DEFAULT '#333333',
  `admission_header_bg_color` varchar(200) DEFAULT NULL,
  `signature_1` varchar(255) DEFAULT NULL,
  `signature_2` varchar(255) DEFAULT NULL,
  `admission_form_header_text_color` varchar(255) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

--
-- Dumping data for table `settings`
--

INSERT INTO `settings` (`id`, `regi_system`, `date`, `slogan`, `school_name`, `address`, `contact_info`, `admission_form_primary_color`, `admission_previews`, `admission_form_text_color`, `admission_header_bg_color`, `signature_1`, `signature_2`, `admission_form_header_text_color`) VALUES
(1, 'new', '2025-10-31 01:54:50', ' ইসলামী ও জেনারেল শিক্ষার মাধ্যমে তালিকুর্রাহাম জন্য গ্রহণীয়', 'দ্যা হালি কুরআন ইসলামিক স্কুল', 'কামিলা, সদর, দিনাজপুর ', 'মোবাইল ০১৩৩০-৭৩১০০৫ (অফিস) ০১৩৩০-৭৩১০০৬ (প্রধান শিক্ষক)', '#570000', 'off', '#050505', '#00a876', 'Student signature', 'Principal\'s Signature', '#ffffff');

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

--
-- Table structure for table `settings_certificate_v3`
--

CREATE TABLE `settings_certificate_v3` (
  `id` int(11) NOT NULL,
  `certificate_english` varchar(2000) NOT NULL,
  `certificate_bangla` varchar(2000) NOT NULL,
  `certificate_letter_english` varchar(2000) NOT NULL,
  `certificate_letter_bangla` varchar(2000) NOT NULL,
  `signature_1` varchar(200) NOT NULL,
  `signature_2` varchar(200) NOT NULL,
  `date` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
  `certificate_english_head` varchar(200) NOT NULL,
  `certificate_bangla_head` varchar(200) NOT NULL,
  `certificate_letter_english_head` varchar(200) NOT NULL,
  `certificate_letter_bangla_head` varchar(200) NOT NULL,
  `certificate_cover` varchar(255) DEFAULT NULL,
  `watermark` varchar(255) DEFAULT NULL,
  `signature_1_img` varchar(255) DEFAULT NULL,
  `signature_2_img` varchar(255) DEFAULT NULL,
  `hide_head` varchar(20) DEFAULT 'head_show'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

--
-- Dumping data for table `settings_certificate_v3`
--

INSERT INTO `settings_certificate_v3` (`id`, `certificate_english`, `certificate_bangla`, `certificate_letter_english`, `certificate_letter_bangla`, `signature_1`, `signature_2`, `date`, `certificate_english_head`, `certificate_bangla_head`, `certificate_letter_english_head`, `certificate_letter_bangla_head`, `certificate_cover`, `watermark`, `signature_1_img`, `signature_2_img`, `hide_head`) VALUES
(1, 'This is to certify that `student_name`, daughter of `fname`,  student of `website_name` , `address` , bearing Student ID `student_regi_no`, Roll No. `roll` and studying Class `course_name` , `Failed_or_Passed` the `exam_name`  of `year` in `branch` Group and obtained a G.P.A of `gpa` in the scale of 5.00.', 'এই মর্মে সার্টিফিকেট প্রদান করা যাচ্ছে যে `student_name`, পিতা `fname`, `website_name_bn`, `address_bn` এর ছাত্রী, যার ছাত্র আইডি `student_reg_no`,  রোল নম্বর `roll_2` এবং শ্রেণী `course_name` এ অধ্যয়নরত `Failed_or_Passed` হয়েছে `exam_name` পরীক্ষায় `year` সালে `branch` গ্রুপে এবং ৫.০০ এর স্কেলে একটি জি.পি.এ `gpa` অর্জন করেছে।', 'He/She has been a regular student of this institution in the year `year`, in the class `course_name`, and has passed with a GPA of `gpa` He/She is eligible for promotion to the next class. This certificate is issued upon the request of the guardian.', 'সে এই প্রতিষ্ঠানে একজন নিয়মিত শিক্ষার্থী হিসেবে `year` সালে,  `course_name` শ্রেণিতে , জিপিএ `gpa` পেয়ে উত্তীর্ণ হয়েছে। সে পরবর্তী শ্রেণিতে উন্নীত হওয়ার যোগ্য। তার অভিভাবকের আবেদনের প্রেক্ষিতে প্রত্যয়নপত্র প্রদান করা হল।', 'পরীক্ষা আহ্বায়ক', 'অধ্যক্ষ (ভারপ্রাপ্ত)', '2025-11-18 09:47:44', 'Certificate', 'সার্টিফিকেট', 'Testimonial', 'প্রত্যয়ন পত্র', 'certificate_cover_1763459264_2114.jpg', 'watermark_1763459264_1062.png', 'signature_1_img_1763459264_8813.png', 'signature_2_img_1763459264_4386.png', 'head_show');

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

--
-- Table structure for table `settings_v3`
--

CREATE TABLE `settings_v3` (
  `id` int(11) NOT NULL,
  `website_name` varchar(250) NOT NULL,
  `short_name` varchar(100) NOT NULL,
  `website_name_bn` varchar(500) NOT NULL,
  `email` varchar(250) NOT NULL,
  `phone` varchar(250) NOT NULL,
  `logo` varchar(500) NOT NULL,
  `watermark` varchar(500) NOT NULL,
  `result_system` varchar(200) NOT NULL,
  `address` varchar(500) NOT NULL,
  `address_bn` varchar(200) NOT NULL,
  `site_url` varchar(200) NOT NULL,
  `col_1` varchar(200) NOT NULL,
  `col_3` varchar(200) NOT NULL,
  `col_2` varchar(200) NOT NULL,
  `col_4` varchar(200) DEFAULT NULL,
  `result_show` varchar(500) NOT NULL,
  `signature_1` varchar(200) NOT NULL,
  `signature_2` varchar(200) NOT NULL,
  `holidays` text NOT NULL,
  `grading_formula` text NOT NULL,
  `slogan` varchar(300) NOT NULL,
  `sms_content` varchar(1000) NOT NULL,
  `certificate_cover` varchar(200) NOT NULL,
  `hide_head` varchar(200) DEFAULT NULL,
  `backup_path` text DEFAULT NULL,
  `signature_1_text` varchar(100) DEFAULT NULL,
  `signature_2_text` varchar(100) DEFAULT NULL,
  `marksheet_attendance` varchar(20) DEFAULT NULL,
  `date` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
  `curriculum_activities` varchar(255) DEFAULT NULL,
  `gpa_details` text DEFAULT NULL,
  `sms_content_model_test` varchar(255) DEFAULT NULL,
  `sms_send_status` varchar(255) DEFAULT NULL,
  `progressive_report_2_note` varchar(500) DEFAULT NULL,
  `progressive_report_3_note` varchar(500) DEFAULT NULL,
  `marksheet_merit_position_show` varchar(255) DEFAULT NULL,
  `official_website_link` varchar(255) DEFAULT NULL,
  `result_show_default_year` varchar(255) DEFAULT NULL,
  `result_publish_date` varchar(255) DEFAULT NULL,
  `marksheet_comment` varchar(255) DEFAULT NULL,
  `gpa_detail_title` varchar(255) DEFAULT NULL,
  `curriculum_title` varchar(255) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

--
-- Dumping data for table `settings_v3`
--

INSERT INTO `settings_v3` (`id`, `website_name`, `short_name`, `website_name_bn`, `email`, `phone`, `logo`, `watermark`, `result_system`, `address`, `address_bn`, `site_url`, `col_1`, `col_3`, `col_2`, `col_4`, `result_show`, `signature_1`, `signature_2`, `holidays`, `grading_formula`, `slogan`, `sms_content`, `certificate_cover`, `hide_head`, `backup_path`, `signature_1_text`, `signature_2_text`, `marksheet_attendance`, `date`, `curriculum_activities`, `gpa_details`, `sms_content_model_test`, `sms_send_status`, `progressive_report_2_note`, `progressive_report_3_note`, `marksheet_merit_position_show`, `official_website_link`, `result_show_default_year`, `result_publish_date`, `marksheet_comment`, `gpa_detail_title`, `curriculum_title`) VALUES
(1, 'Web Bazar BD Smart School', 'WBD Smart School', 'ওয়েব বাজার বিডি স্মার্ট স্কুল', 'webbazarbd24@gmail.com', '01717452764', 'logo_1744939284_logopng.png', 'watermark_1735624401_logo.png', 'regular', 'Lalmonirhat Rangpur Bangladesh', 'লালমনিরহাট, রংপুর, বাংলাদেশ', 'https://webbazarbd.top/smartmanagementv1/', 'CQ', 'PR', 'MCQ', 'Final', 'mark_sheet_1', 'signature_1_1735149414_Screenshot_8.png', 'signature_2_1735149414_Screenshot_6.png', 'Friday,Saturday', 'grading_formula2', 'আপনার সন্তান গড়ে তোলার দায়িত্ব আমাদের', '`exam_name`, `student_name_bn` , আইডি: `student_id_bn`, ক্লাস: `class_bn`, জিপিএ : `gpa_bn` পেয়েছো, মোট নাম্বার: `total_mark_bn`, সর্বোচ্চ নাম্বার : `max_mark_bn`।, মেরিট পজিশন: `position_bn`।  `school_name`।', 'certificate_cover_1736073774_Untitled design.png', 'head_hide', 'students-image,stuImages,images, resultcontrol/images,activity/images,activity/students-image,id-card-control/image,teacher_registration_data/images,staff_data/images,admin_notic,accounting/images,admission/template,temporary_ad/uploads/notices', 'Signature 1 Text', 'Signature 2 Text', 'off', '2025-11-23 01:29:25', 'খেলাধুলা, গজল, প্রতিযোগিতা, সাংস্কৃতিক অনুষ্ঠান, কুইজ ও বিভিন্ন সৃজনশীল কার্যক্রম।', '[{\"gpa\":\"5.00\",\"text\":\"মাশাল্লাহ, খুব ভালো\"},{\"gpa\":\"4.00\",\"text\":\"সন্তোষজনক আরও ভালো করার সুযোগ আছে\"},{\"gpa\":\"3.00\",\"text\":\"একটু ভাল আরো ভাল করতে হবে\"},{\"gpa\":\"2.00\",\"text\":\"পাস করেছে, আরও চেষ্টা প্রয়োজন\"},{\"gpa\":\"1.00\",\"text\":\"দুর্বল, অনেক বেশি পরিশ্রম করতে হবে\"},{\"gpa\":\"0.00\",\"text\":\"ফেল – আবার চেষ্টা করো\"}]', 'exam_name, student_name_en , আইডি: student_id_en, ক্লাস: class, মোট নাম্বার: total_mark_bn, পেয়েছো ।  school_name', 'off', 'সিটিং থেকে আপনার মত করে নোট লিখতে পারেন এখানে', 'সিটিং থেকে আপনার মত করে নোট লিখতে পারেন এখানে', 'off', 'http://localhost/webbazar_smartschool_v1', '2025', '', '', '', '');

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

--
-- Table structure for table `set_grade_system_v3`
--

CREATE TABLE `set_grade_system_v3` (
  `id` int(11) NOT NULL,
  `system_name` varchar(500) NOT NULL,
  `grade_id` int(11) NOT NULL,
  `date` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp()
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

--
-- Dumping data for table `set_grade_system_v3`
--

INSERT INTO `set_grade_system_v3` (`id`, `system_name`, `grade_id`, `date`) VALUES
(1, 'marksheet_1', 8, '2025-01-11 04:06:01'),
(2, 'marksheet_2', 8, '2025-05-07 11:54:40'),
(3, 'marksheet_3', 8, '2025-05-07 11:53:55'),
(4, 'marksheet_4', 8, '2025-01-11 04:06:08'),
(6, 'marksheet_6', 8, '2025-05-07 11:54:44'),
(7, 'marksheet_7', 8, '2025-01-11 04:06:12'),
(10, 'merit_list_1', 8, '2025-01-11 04:06:13'),
(11, 'merit_list_2', 8, '2025-01-11 04:06:15'),
(12, 'certificate_english', 8, '2025-01-11 04:06:17'),
(13, 'certificate_bangla', 8, '2025-01-11 04:06:20'),
(14, 'certification_letter_en', 8, '2025-01-11 04:06:24'),
(15, 'certification_letter', 8, '2025-01-11 04:06:49'),
(16, 'progressive_report_1', 8, '2025-01-11 04:06:45'),
(17, 'progressive_report_2', 8, '2025-01-11 04:06:41'),
(18, 'progressive_report_3', 8, '2025-01-11 04:06:36'),
(19, 'progressive_report_4', 8, '2025-01-11 04:06:33');

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

--
-- Table structure for table `share_holder`
--

CREATE TABLE `share_holder` (
  `id` int(20) NOT NULL,
  `details` longtext NOT NULL,
  `create_date` varchar(250) NOT NULL,
  `total_amount` int(20) NOT NULL,
  `d_status` int(10) NOT NULL DEFAULT 1
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

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

--
-- Table structure for table `shift_system`
--

CREATE TABLE `shift_system` (
  `id` int(11) NOT NULL,
  `shift_name` varchar(255) NOT NULL,
  `shift_name_bn` varchar(200) NOT NULL,
  `delete_status` enum('0','1') CHARACTER SET latin1 NOT NULL DEFAULT '0'
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

--
-- Dumping data for table `shift_system`
--

INSERT INTO `shift_system` (`id`, `shift_name`, `shift_name_bn`, `delete_status`) VALUES
(3, 'Morning', 'সকাল', '0');

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

--
-- Table structure for table `sms`
--

CREATE TABLE `sms` (
  `id` int(10) NOT NULL,
  `status` int(10) NOT NULL DEFAULT 1,
  `type` varchar(250) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

--
-- Dumping data for table `sms`
--

INSERT INTO `sms` (`id`, `status`, `type`) VALUES
(1, 1, 'teacher'),
(2, 1, 'student'),
(3, 1, 'user');

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

--
-- Table structure for table `sms_config`
--

CREATE TABLE `sms_config` (
  `id` int(10) NOT NULL,
  `type` varchar(250) DEFAULT NULL,
  `status` int(10) DEFAULT 1
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

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

--
-- Table structure for table `sms_deactive`
--

CREATE TABLE `sms_deactive` (
  `id` int(20) NOT NULL,
  `type` varchar(250) NOT NULL,
  `status` int(10) NOT NULL DEFAULT 1
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

--
-- Dumping data for table `sms_deactive`
--

INSERT INTO `sms_deactive` (`id`, `type`, `status`) VALUES
(1, 'teacher', 0),
(2, 'student', 1),
(3, 'staff', 0);

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

--
-- Table structure for table `sms_error_log`
--

CREATE TABLE `sms_error_log` (
  `id` int(11) NOT NULL,
  `provider` varchar(50) NOT NULL,
  `mobile` varchar(20) NOT NULL,
  `message` text NOT NULL,
  `error_message` text DEFAULT NULL,
  `http_code` int(11) DEFAULT NULL,
  `api_response` text DEFAULT NULL,
  `created_at` timestamp NOT NULL DEFAULT current_timestamp()
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

--
-- Dumping data for table `sms_error_log`
--

INSERT INTO `sms_error_log` (`id`, `provider`, `mobile`, `message`, `error_message`, `http_code`, `api_response`, `created_at`) VALUES
(1, 'mram', '01717452764', 'Student\'s Admission SMS:Mst Halima, Welcome to Kaliganj Ikra Academy, Lalmonirhat. Your admission has been confirm. Your ID is: 2. http://localhost/webbazar_smartschool_v1', 'HTTP Error', 200, '1003', '2025-08-11 06:41:30'),
(2, 'mram', '01717452764', 'Student\'s Admission SMS:Mst Halima, Welcome to Kaliganj Ikra Academy, Lalmonirhat. Your admission has been confirm. Your ID is: 1. http://localhost/webbazar_smartschool_v1', 'HTTP Error', 200, '1003', '2025-08-11 06:42:05'),
(3, 'mram', '01717452764', 'সম্মানিত অভিভাবক  আপনার  পেমেন্ট  গৃহীত হয়েছে: ১০ টাকা,অপরিশোধিত পরিমাণ: ২০ টাকা. শিক্ষার্থীর নাম: মুহাম্মদ হালিমা খাতুন , শিক্ষার্থীর আইডি: ২০২৫২০১১ , ইনভয়েস পরীক্ষা করুন: http://localhost/webbazar_smartschool_v1/accounting/main-user/invoice.php?id=1 ওয়েব বাজার বিডি', 'HTTP Error', 200, 'SMS SUBMITTED: ID - bw-rdC300155968a995eef19eb', '2025-08-23 10:20:28'),
(4, 'mram', '01717452764', 'সম্মানিত অভিভাবক  আপনার  পেমেন্ট   test - February মাসের  গৃহীত হয়েছে: ১০০ টাকা,অপরিশোধিত পরিমাণ: ০ টাকা, ইনভয়েস আইডি: ২ . শিক্ষার্থীর নাম: মুহাম্মদ হালিমা খাতুন , শিক্ষার্থীর আইডি: ২০২৫২০১১ , ইনভয়েস পরীক্ষা করুন: http://localhost/webbazar_smartschool_v1/accounting/main-user/invoice.php?id=2 ওয়েব বাজার বিডি', 'HTTP Error', 200, 'SMS SUBMITTED: ID - bw-rdC300155968a99623aa673', '2025-08-23 10:21:21'),
(5, 'mram', '01717452764', 'সম্মানিত অভিভাবক  আপনার  পেমেন্ট   Unknown মাসের  গৃহীত হয়েছে: ১ টাকা,অপরিশোধিত পরিমাণ: ০ টাকা, ইনভয়েস আইডি: ৩ . শিক্ষার্থীর নাম: মুহাম্মদ হালিমা খাতুন , শিক্ষার্থীর আইডি: ২০২৫২০১১ , ইনভয়েস পরীক্ষা করুন: http://localhost/webbazar_smartschool_v1/accounting/main-user/invoice.php?id=3 ওয়েব বাজার বিডি', 'HTTP Error', 200, 'SMS SUBMITTED: ID - bw-rdC300155968a9972cc097e', '2025-08-23 10:25:46'),
(6, 'mram', '01717452764', 'সম্মানিত অভিভাবক  আপনার  পেমেন্ট   Unknown মাসের  গৃহীত হয়েছে: ১ টাকা,অপরিশোধিত পরিমাণ: ০ টাকা, ইনভয়েস আইডি: ৪ . শিক্ষার্থীর নাম: মুহাম্মদ হালিমা খাতুন , শিক্ষার্থীর আইডি: ২০২৫২০১১ , ইনভয়েস পরীক্ষা করুন: http://localhost/webbazar_smartschool_v1/accounting/main-user/invoice.php?id=4 ওয়েব বাজার বিডি', 'HTTP Error', 200, 'SMS SUBMITTED: ID - bw-rdC300155968a9982a792bc', '2025-08-23 10:29:59'),
(7, 'mram', '01717452764', 'সম্মানিত অভিভাবক  আপনার  পেমেন্ট   Unknown মাসের  গৃহীত হয়েছে: ১০০.০০ টাকা,অপরিশোধিত পরিমাণ: ০ টাকা, ইনভয়েস আইডি: ৫ . শিক্ষার্থীর নাম: মুহাম্মদ হালিমা খাতুন , শিক্ষার্থীর আইডি: ২০২৫২০১১ , ইনভয়েস পরীক্ষা করুন: http://localhost/webbazar_smartschool_v1/accounting/main-user/invoice.php?id=5 ওয়েব বাজার বিডি', 'HTTP Error', 200, 'SMS SUBMITTED: ID - bw-rdC300155968a9989abbb93', '2025-08-23 10:31:52'),
(8, 'mram', '01717452764', 'সম্মানিত অভিভাবক  আপনার  পেমেন্ট  গৃহীত হয়েছে: ২০ টাকা,অপরিশোধিত পরিমাণ: 0 টাকা. শিক্ষার্থীর নাম: মুহাম্মদ হালিমা খাতুন , শিক্ষার্থীর আইডি: ২০২৫২০১১ , ইনভয়েস পরীক্ষা করুন: http://localhost/webbazar_smartschool_v1/accounting/main-user/invoice.php?id=1 ওয়েব বাজার বিডি', 'HTTP Error', 200, 'SMS SUBMITTED: ID - bw-rdC300155968a998f901603', '2025-08-23 10:33:26'),
(9, 'mram', '01717452764', 'সম্মানিত অভিভাবক  আপনার  পেমেন্ট  গৃহীত হয়েছে: ২০ টাকা,অপরিশোধিত পরিমাণ: 0 টাকা. শিক্ষার্থীর নাম: মুহাম্মদ হালিমা খাতুন , শিক্ষার্থীর আইডি: ২০২৫২০১১ , ইনভয়েস পরীক্ষা করুন: http://localhost/webbazar_smartschool_v1/accounting/main-user/invoice.php?id=1 ওয়েব বাজার বিডি', 'HTTP Error', 200, 'SMS SUBMITTED: ID - bw-rdC300155968a999035131f', '2025-08-23 10:33:36'),
(10, 'mram', '01717452764', 'সম্মানিত অভিভাবক  আপনার  পেমেন্ট   Unknown মাসের  গৃহীত হয়েছে: ১ টাকা,অপরিশোধিত পরিমাণ: ০ টাকা, ইনভয়েস আইডি: ৬ . শিক্ষার্থীর নাম: মুহাম্মদ হালিমা খাতুন , শিক্ষার্থীর আইডি: ২০২৫২০১১ , ইনভয়েস পরীক্ষা করুন: http://localhost/webbazar_smartschool_v1/accounting/main-user/invoice.php?id=6 ওয়েব বাজার বিডি', 'HTTP Error', 200, 'SMS SUBMITTED: ID - bw-rdC300155968a99a01051a8', '2025-08-23 10:37:50'),
(11, 'mram', '01717452764', 'সম্মানিত অভিভাবক  আপনার  পেমেন্ট   test - January মাসের  গৃহীত হয়েছে: ৩ টাকা,অপরিশোধিত পরিমাণ: ২ টাকা, ইনভয়েস আইডি: ৫ . শিক্ষার্থীর নাম: মুহাম্মদ হালিমা খাতুন , শিক্ষার্থীর আইডি: ২০২৫২০১১ , ইনভয়েস পরীক্ষা করুন: http://localhost/webbazar_smartschool_v1/accounting/main-user/invoice.php?id=5 ওয়েব বাজার বিডি', 'HTTP Error', 200, 'SMS SUBMITTED: ID - bw-rdC300155968a9bc4aaafd5', '2025-08-23 13:04:10'),
(12, 'mram', '01717452764', 'সম্মানিত অভিভাবক  আপনার  পেমেন্ট  গৃহীত হয়েছে: ২ টাকা,অপরিশোধিত পরিমাণ: ০ টাকা. শিক্ষার্থীর নাম: মুহাম্মদ হালিমা খাতুন , শিক্ষার্থীর আইডি: ২০২৫২০১১ , ইনভয়েস পরীক্ষা করুন: http://localhost/webbazar_smartschool_v1/accounting/main-user/invoice.php?id=5 ওয়েব বাজার বিডি', 'HTTP Error', 200, 'SMS SUBMITTED: ID - bw-rdC300155968a9bc83a061c', '2025-08-23 13:05:07'),
(13, 'mram', '01717452764', 'সম্মানিত অভিভাবক  আপনার  পেমেন্ট   Unknown মাসের  গৃহীত হয়েছে: ৫ টাকা,অপরিশোধিত পরিমাণ: ০ টাকা, ইনভয়েস আইডি: ৬ . শিক্ষার্থীর নাম: মুহাম্মদ হালিমা খাতুন , শিক্ষার্থীর আইডি: ২০২৫২০১১ , ইনভয়েস পরীক্ষা করুন: http://localhost/webbazar_smartschool_v1/accounting/main-user/invoice.php?id=6 ওয়েব বাজার বিডি', 'HTTP Error', 200, 'SMS SUBMITTED: ID - bw-rdC300155968a9bccd4b643', '2025-08-23 13:06:21'),
(14, 'mram', '01717452764', 'সম্মানিত অভিভাবক  আপনার  পেমেন্ট   test - January মাসের  গৃহীত হয়েছে: ৫ টাকা,অপরিশোধিত পরিমাণ: ৫ টাকা, ইনভয়েস আইডি: ৭ . শিক্ষার্থীর নাম: মুহাম্মদ মরিয়ম, শিক্ষার্থীর আইডি: ২০২৫২০১২ , ইনভয়েস পরীক্ষা করুন: http://localhost/webbazar_smartschool_v1/accounting/main-user/invoice.php?id=7 ওয়েব বাজার বিডি', 'HTTP Error', 200, 'SMS SUBMITTED: ID - bw-rdC300155968a9be2ff0aaa', '2025-08-23 13:12:16'),
(15, 'mram', '01717452764', 'Your admission success\nUser ID :  47A22ZE \nPass :  984903  \nDownload admission form http://localhost/webbazar_smartschool_v1/online-admission/download-admission-form.php \nKaliganj Ikra Academy, Lalmonirhat', 'HTTP Error', 200, 'SMS SUBMITTED: ID - bw-rdC300155968a9c1fb6d41e', '2025-08-23 13:28:27'),
(16, 'webbazarbd', '01717452764', 'ddd', 'All messages sent successfully', 200, '{\"status\":1,\"sms_status\":1,\"msg\":\"All messages sent successfully\"}\r\n\r\n', '2025-08-23 13:48:41'),
(17, 'mram', '01717452764', 'Dear  MD ABRAR AFTAHI ,\r\nCongratulations! Your admission to ILMUL OHI MODEL MADRASHA has been successfully completed.  Your ID:  20252017', 'HTTP Error', 200, '1003', '2025-09-09 00:34:48'),
(18, 'mram', '01717452764', 'Your admission success\nUser ID :  39A23ZE \nPass :  485216  \nDownload admission form http://localhost/webbazar_smartschool_v1/online-admission/download-admission-form.php \nKaliganj Ikra Academy, Lalmonirhat', 'HTTP Error', 200, '1003', '2025-09-10 06:21:46'),
(19, 'mram', '01717452764', 'Your admission success\nUser ID :  14A24ZE \nPass :  228624  \nDownload admission form http://localhost/webbazar_smartschool_v1/online-admission/download-admission-form.php \nKaliganj Ikra Academy, Lalmonirhat', 'HTTP Error', 200, '1003', '2025-09-10 06:28:08'),
(20, 'mram', '01717452764', 'এখানে কাষ্টম এসএমএস লিখতে পারবেনYour User ID: 69  Password : .300203', 'HTTP Error', 200, '1003', '2025-09-15 01:00:54'),
(21, 'mram', '01717452764', 'Dear  Goljar ,\r\nCongratulations! Your admission to ILMUL OHI MODEL MADRASHA has been successfully completed.  Your ID:  20252018', 'HTTP Error', 200, '1003', '2025-09-15 12:16:32'),
(22, 'mram', '01717452764', 'Dear  MD ABRAR AFTAHI ,\r\nCongratulations! Your admission to ILMUL OHI MODEL MADRASHA has been successfully completed.  Your ID:  20252019', 'HTTP Error', 200, '1003', '2025-09-15 14:37:26'),
(23, 'mram', '01717452764', 'Your admission success\nUser ID :  52A25ZE \nPass :  884048  \nDownload admission form http://localhost/webbazar_smartschool_v1/online-admission/download-admission-form.php \nKaliganj Ikra Academy, Lalmonirhat', 'HTTP Error', 200, '1003', '2025-09-20 14:28:54'),
(24, 'mram', '01717452764', 'Your admission success\nUser ID :  41A26ZE \nPass :  279417  \nDownload admission form http://localhost/webbazar_smartschool_v1/online-admission/download-admission-form.php \nKaliganj Ikra Academy, Lalmonirhat', 'HTTP Error', 200, '1003', '2025-09-20 14:30:15'),
(25, 'mram', '01717452764', 'Your User Id: 52A25ZE Password: 884048 Admission Form download link  http://localhost/webbazar_smartschool_v1/online-admission/download-admission-form.php', 'HTTP Error', 200, '1003', '2025-09-23 01:36:22'),
(26, 'mram', '01717452764', 'সম্মানিত অভিভাবক শিক্ষার্থীর নাম: Abar Aftahi, শিক্ষার্থীর আইডি: ২০২৫২০১৪ , অপরিশোধিত টাকা: ৫', 'HTTP Error', 200, '1003', '2025-09-26 11:50:55'),
(27, 'mram', '8801717452764', 'vs \nMst Halima,Your username m1 \nPassword 123456', 'HTTP Error', 200, '1003', '2025-10-01 00:47:50'),
(28, 'mram', '01717452764', 'Student\'s Admission SMS:MD ABRAR AFTAHI, Welcome to Kaliganj Ikra Academy, Lalmonirhat. Your admission has been confirmed. Your ID: 20251. http://localhost/webbazar_smartschool_v1', 'HTTP Error', 200, '1003', '2025-10-23 00:23:03'),
(29, 'mram', '01717452764', 'Student\'s Admission SMS:MD ABRAR AFTAHI, Welcome to Kaliganj Ikra Academy, Lalmonirhat. Your admission has been confirmed. Your ID: 202520111. http://localhost/webbazar_smartschool_v1', 'HTTP Error', 200, '1003', '2025-10-23 00:27:11'),
(30, 'mram', '01717452764', 'Dear  MD ABRAR AFTAHI ,\r\nCongratulations! Your admission to ILMUL OHI MODEL MADRASHA has been successfully completed.  Your ID:  20252011', 'HTTP Error', 200, '1003', '2025-11-23 11:02:02');

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

--
-- Table structure for table `sms_log_v3`
--

CREATE TABLE `sms_log_v3` (
  `id` int(11) NOT NULL,
  `placeholders` text NOT NULL,
  `status` varchar(500) NOT NULL DEFAULT 'active',
  `date` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp()
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

--
-- Dumping data for table `sms_log_v3`
--

INSERT INTO `sms_log_v3` (`id`, `placeholders`, `status`, `date`) VALUES
(2, '{\"`exam_name`\":\"Modal Test1\",\"`student_name_bn`\":\"asd\",\"student_name_en\":\"MD ABRAR AFTAHI\",\"`student_id_bn`\":\"১\",\"`student_id_en`\":\"1\",\"`class_bn`\":\"প্রথম \",\"`class_en`\":\"One\",\"`gpa_bn`\":\"৪.২৫\",\"`gpa_en`\":4.25,\"`position_bn`\":\"১\",\"position_en\":1,\"`school_name`\":\"Shamsul Haque Model Madrasa\"}', 'active', '2024-11-24 09:12:31'),
(3, '{\"`exam_name`\":\"Modal Test1\",\"`student_name_bn`\":\"asd\",\"student_name_en\":\"MD ABRAR AFTAHI\",\"`student_id_bn`\":\"১\",\"`student_id_en`\":\"1\",\"`class_bn`\":\"প্রথম \",\"`class_en`\":\"One\",\"`gpa_bn`\":\"৪.২৫\",\"`gpa_en`\":4.25,\"`position_bn`\":\"১\",\"position_en\":1,\"`school_name`\":\"Shamsul Haque Model Madrasa\"}', 'active', '2024-11-24 09:19:25'),
(4, '{\"`exam_name`\":\"Modal Test1\",\"`student_name_bn`\":\"asd\",\"student_name_en\":\"MD ABRAR AFTAHI\",\"`student_id_bn`\":\"১\",\"`student_id_en`\":\"1\",\"`class_bn`\":\"প্রথম \",\"`class_en`\":\"One\",\"`gpa_bn`\":\"৪.২৫\",\"`gpa_en`\":4.25,\"`position_bn`\":\"১\",\"position_en\":1,\"`school_name`\":\"Shamsul Haque Model Madrasa\"}', 'active', '2024-11-24 09:20:49'),
(5, '{\"`exam_name`\":\"Modal Test1\",\"`student_name_bn`\":\"asd\",\"student_name_en\":\"MD ABRAR AFTAHI\",\"`student_id_bn`\":\"১\",\"`student_id_en`\":\"1\",\"`class_bn`\":\"প্রথম \",\"`class_en`\":\"One\",\"`gpa_bn`\":\"৪.২৫\",\"`gpa_en`\":4.25,\"`position_bn`\":\"১\",\"position_en\":1,\"`school_name`\":\"Shamsul Haque Model Madrasa\"}', 'active', '2024-11-24 09:22:58'),
(6, '{\"`exam_name`\":\"Modal Test1\",\"`student_name_bn`\":\"asd\",\"student_name_en\":\"MD ABRAR AFTAHI\",\"`student_id_bn`\":\"১\",\"`student_id_en`\":\"1\",\"`class_bn`\":\"প্রথম \",\"`class_en`\":\"One\",\"`gpa_bn`\":\"৪.২৫\",\"`gpa_en`\":4.25,\"`position_bn`\":\"১\",\"position_en\":1,\"`school_name`\":\"Shamsul Haque Model Madrasa\"}', 'active', '2024-11-24 09:24:35'),
(7, '{\"`exam_name`\":\"Modal Test1\",\"`student_name_bn`\":\"asd\",\"student_name_en\":\"MD ABRAR AFTAHI\",\"`student_id_bn`\":\"১\",\"`student_id_en`\":\"1\",\"`class_bn`\":\"প্রথম \",\"`class_en`\":\"One\",\"`gpa_bn`\":\"৪.২৫\",\"`gpa_en`\":4.25,\"`position_bn`\":\"১\",\"position_en\":1,\"`school_name`\":\"Shamsul Haque Model Madrasa\"}', 'active', '2024-11-24 09:25:51'),
(8, '{\"`exam_name`\":\"Modal Test1\",\"`student_name_bn`\":\"\",\"student_name_en\":\"Al Imran\",\"`student_id_bn`\":\"২\",\"`student_id_en`\":\"2\",\"`class_bn`\":\"প্রথম \",\"`class_en`\":\"One\",\"`gpa_bn`\":\"৪.২৫\",\"`gpa_en`\":4.25,\"`position_bn`\":\"২\",\"position_en\":2,\"`school_name`\":\"Shamsul Haque Model Madrasa\"}', 'active', '2024-11-24 09:25:51'),
(9, '{\"`exam_name`\":\"Modal Test1\",\"`student_name_bn`\":\"asd\",\"student_name_en\":\"MD ABRAR AFTAHI\",\"`student_id_bn`\":\"১\",\"`student_id_en`\":\"1\",\"`class_bn`\":\"প্রথম \",\"`class_en`\":\"One\",\"`gpa_bn`\":\"৪.২৫\",\"`gpa_en`\":4.25,\"`position_bn`\":\"১\",\"position_en\":1,\"`school_name`\":\"Shamsul Haque Model Madrasa\"}', 'active', '2024-11-24 12:20:46'),
(10, '{\"`exam_name`\":\"Modal Test1\",\"`student_name_bn`\":\"asd\",\"student_name_en\":\"MD ABRAR AFTAHI\",\"`student_id_bn`\":\"১\",\"`student_id_en`\":\"1\",\"`class_bn`\":\"প্রথম \",\"`class_en`\":\"One\",\"`gpa_bn`\":\"৪.২৫\",\"`gpa_en`\":4.25,\"`position_bn`\":\"১\",\"position_en\":1,\"`school_name`\":\"Shamsul Haque Model Madrasa\"}', 'active', '2024-11-24 12:22:09'),
(11, '{\"`exam_name`\":\"Modal Test1\",\"`student_name_bn`\":\"asd\",\"student_name_en\":\"MD ABRAR AFTAHI\",\"`student_id_bn`\":\"১\",\"`student_id_en`\":\"1\",\"`class_bn`\":\"প্রথম \",\"`class_en`\":\"One\",\"`gpa_bn`\":\"৪.২৫\",\"`gpa_en`\":4.25,\"`position_bn`\":\"১\",\"position_en\":1,\"`school_name`\":\"Shamsul Haque Model Madrasa\"}', 'active', '2024-11-24 12:22:48'),
(12, '{\"`exam_name`\":\"Modal Test-1\",\"`student_name_bn`\":\"মো: আশরাফুল ইসলাম \",\"`student_name_en`\":\"MD ABRAR AFTAHI\",\"`student_id_bn`\":\"২০৩২\",\"`student_id_en`\":\"2032\",\"`class_bn`\":\"প্রথম \",\"`class_en`\":\"One\",\"`gpa_bn`\":\"৪.১৪\",\"`gpa_en`\":4.14,\"`total_mark`\":612,\"`total_mark_bn`\":\"৬১২\",\"`max_mark`\":\"709\",\"`max_mark_bn`\":\"৭০৯\",\"`position_bn`\":\"১\",\"`position_en`\":1,\"`school_name`\":\"ILMUL OHI MODEL MADRASHA\"}', 'active', '2025-02-11 13:11:10'),
(13, '{\"`exam_name`\":\"Modal Test-1\",\"`student_name_bn`\":\"মো: আশরাফুল ইসলাম \",\"`student_name_en`\":\"MD ABRAR AFTAHI\",\"`student_id_bn`\":\"২০৩২\",\"`student_id_en`\":\"2032\",\"`class_bn`\":\"প্রথম \",\"`class_en`\":\"One\",\"`gpa_bn`\":\"৪.১৪\",\"`gpa_en`\":4.14,\"`total_mark`\":612,\"`total_mark_bn`\":\"৬১২\",\"`max_mark`\":\"709\",\"`max_mark_bn`\":\"৭০৯\",\"`position_bn`\":\"১\",\"`position_en`\":1,\"`school_name`\":\"ILMUL OHI MODEL MADRASHA\"}', 'active', '2025-02-11 13:12:35'),
(14, '{\"`exam_name`\":\"Modal Test-1\",\"`student_name_bn`\":\"মো: আশরাফুল ইসলাম \",\"`student_name_en`\":\"MD ABRAR AFTAHI\",\"`student_id_bn`\":\"২০৩২\",\"`student_id_en`\":\"2032\",\"`class_bn`\":\"প্রথম \",\"`class_en`\":\"One\",\"`gpa_bn`\":\"৪.১৪\",\"`gpa_en`\":4.14,\"`total_mark`\":612,\"`total_mark_bn`\":\"৬১২\",\"`max_mark`\":\"709\",\"`max_mark_bn`\":\"৭০৯\",\"`position_bn`\":\"১\",\"`position_en`\":1,\"`school_name`\":\"ILMUL OHI MODEL MADRASHA\"}', 'active', '2025-02-11 13:14:03'),
(15, '{\"`exam_name`\":\"Modal Test-1\",\"`student_name_bn`\":\"মো: আশরাফুল ইসলাম \",\"`student_name_en`\":\"MD ABRAR AFTAHI\",\"`student_id_bn`\":\"২০৩২\",\"`student_id_en`\":\"2032\",\"`class_bn`\":\"প্রথম \",\"`class_en`\":\"One\",\"`gpa_bn`\":\"৪.১৪\",\"`gpa_en`\":4.14,\"`total_mark`\":612,\"`total_mark_bn`\":\"৬১২\",\"`max_mark`\":\"709\",\"`max_mark_bn`\":\"৭০৯\",\"`position_bn`\":\"১\",\"`position_en`\":1,\"`school_name`\":\"ILMUL OHI MODEL MADRASHA\"}', 'active', '2025-02-11 13:15:07'),
(16, '{\"`exam_name`\":\"Modal Test-1\",\"`student_name_bn`\":\"মো: আশরাফুল ইসলাম \",\"`student_name_en`\":\"MD ABRAR AFTAHI\",\"`student_id_bn`\":\"২০৩২\",\"`student_id_en`\":\"2032\",\"`class_bn`\":\"প্রথম \",\"`class_en`\":\"One\",\"`gpa_bn`\":\"৪.১৪\",\"`gpa_en`\":4.14,\"`total_mark`\":612,\"`total_mark_bn`\":\"৬১২\",\"`max_mark`\":\"709\",\"`max_mark_bn`\":\"৭০৯\",\"`position_bn`\":\"১\",\"`position_en`\":1,\"`school_name`\":\"ILMUL OHI MODEL MADRASHA\"}', 'active', '2025-02-11 13:20:43'),
(17, '{\"`exam_name`\":\"Modal Test-1\",\"`student_name_bn`\":\"মো: আশরাফুল ইসলাম \",\"`student_name_en`\":\"MD ABRAR AFTAHI\",\"`student_id_bn`\":\"২০৩২\",\"`student_id_en`\":\"2032\",\"`class_bn`\":\"প্রথম \",\"`class_en`\":\"One\",\"`gpa_bn`\":\"৪.৮৬\",\"`gpa_en`\":4.86,\"`total_mark`\":612,\"`total_mark_bn`\":\"৬১২\",\"`max_mark`\":\"709\",\"`max_mark_bn`\":\"৭০৯\",\"`position_bn`\":\"১\",\"`position_en`\":1,\"`school_name`\":\"ILMUL OHI MODEL MADRASHA\"}', 'active', '2025-02-11 13:21:49'),
(18, '{\"`exam_name`\":\"Modal Test-1\",\"`student_name_bn`\":\"মো: আশরাফুল ইসলাম \",\"`student_name_en`\":\"MD ABRAR AFTAHI\",\"`student_id_bn`\":\"২০৩২\",\"`student_id_en`\":\"2032\",\"`class_bn`\":\"প্রথম \",\"`class_en`\":\"One\",\"`gpa_bn`\":\"৪.৮৬\",\"`gpa_en`\":4.86,\"`total_mark`\":612,\"`total_mark_bn`\":\"৬১২\",\"`max_mark`\":\"709\",\"`max_mark_bn`\":\"৭০৯\",\"`position_bn`\":\"১\",\"`position_en`\":1,\"`school_name`\":\"ILMUL OHI MODEL MADRASHA\"}', 'active', '2025-02-11 14:12:19'),
(19, '{\"`exam_name`\":\"Modal Test-1\",\"`student_name_bn`\":\"মো: আশরাফুল ইসলাম \",\"`student_name_en`\":\"MD ABRAR AFTAHI\",\"`student_id_bn`\":\"২০৩২\",\"`student_id_en`\":\"2032\",\"`class_bn`\":\"প্রথম \",\"`class_en`\":\"One\",\"`gpa_bn`\":\"৪.৮৬\",\"`gpa_en`\":4.86,\"`total_mark`\":612,\"`total_mark_bn`\":\"৬১২\",\"`max_mark`\":\"709\",\"`max_mark_bn`\":\"৭০৯\",\"`position_bn`\":\"১\",\"`position_en`\":1,\"`school_name`\":\"ILMUL OHI MODEL MADRASHA\"}', 'active', '2025-02-11 14:13:20'),
(20, '{\"`exam_name`\":\"Modal Test-1\",\"`student_name_bn`\":\"মো: আশরাফুল ইসলাম \",\"`student_name_en`\":\"MD ABRAR AFTAHI\",\"`student_id_bn`\":\"২০৩২\",\"`student_id_en`\":\"2032\",\"`class_bn`\":\"প্রথম \",\"`class_en`\":\"One\",\"`gpa_bn`\":\"৪.৮৬\",\"`gpa_en`\":4.86,\"`total_mark`\":612,\"`total_mark_bn`\":\"৬১২\",\"`max_mark`\":\"709\",\"`max_mark_bn`\":\"৭০৯\",\"`position_bn`\":\"১\",\"`position_en`\":1,\"`school_name`\":\"ILMUL OHI MODEL MADRASHA\"}', 'active', '2025-02-11 14:13:40'),
(21, '{\"`exam_name`\":\"Modal Test-1\",\"`student_name_bn`\":\"মো: আশরাফুল ইসলাম \",\"`student_name_en`\":\"MD ABRAR AFTAHI\",\"`student_id_bn`\":\"২০৩২\",\"`student_id_en`\":\"2032\",\"`class_bn`\":\"প্রথম \",\"`class_en`\":\"One\",\"`gpa_bn`\":\"৪.৮৬\",\"`gpa_en`\":4.86,\"`total_mark`\":612,\"`total_mark_bn`\":\"৬১২\",\"`max_mark`\":\"709\",\"`max_mark_bn`\":\"৭০৯\",\"`position_bn`\":\"১\",\"`position_en`\":1,\"`school_name`\":\"ILMUL OHI MODEL MADRASHA\"}', 'active', '2025-02-11 14:14:28'),
(22, '{\"`exam_name`\":\"Modal Test-1\",\"`student_name_bn`\":\"মো: আশরাফুল ইসলাম \",\"`student_name_en`\":\"MD ABRAR AFTAHI\",\"`student_id_bn`\":\"২০৩২\",\"`student_id_en`\":\"2032\",\"`class_bn`\":\"প্রথম \",\"`class_en`\":\"One\",\"`gpa_bn`\":\"৪.৮৬\",\"`gpa_en`\":4.86,\"`total_mark`\":612,\"`total_mark_bn`\":\"৬১২\",\"`max_mark`\":\"709\",\"`max_mark_bn`\":\"৭০৯\",\"`position_bn`\":\"১\",\"`position_en`\":1,\"`school_name`\":\"ILMUL OHI MODEL MADRASHA\"}', 'active', '2025-02-16 12:32:37'),
(23, '{\"`exam_name`\":\"Modal Test-1\",\"`student_name_bn`\":\"মো: আবরার আফহাতী\",\"`student_name_en`\":\"Al Imran\",\"`student_id_bn`\":\"২০৩১\",\"`student_id_en`\":\"2031\",\"`class_bn`\":\"প্রথম \",\"`class_en`\":\"One\",\"`gpa_bn`\":\"৪.৮৮\",\"`gpa_en`\":4.88,\"`total_mark`\":632,\"`total_mark_bn`\":\"৬৩২\",\"`max_mark`\":\"709\",\"`max_mark_bn`\":\"৭০৯\",\"`position_bn`\":\"১\",\"`position_en`\":1,\"`school_name`\":\"ILMUL OHI MODEL MADRASHA\"}', 'active', '2025-02-16 14:34:25'),
(24, '{\"`exam_name`\":\"Modal Test-1\",\"`student_name_bn`\":\"মো: আশরাফুল ইসলাম \",\"`student_name_en`\":\"MD ABRAR AFTAHI\",\"`student_id_bn`\":\"২০৩২\",\"`student_id_en`\":\"2032\",\"`class_bn`\":\"প্রথম \",\"`class_en`\":\"One\",\"`gpa_bn`\":\"৪.৮৬\",\"`gpa_en`\":4.86,\"`total_mark`\":612,\"`total_mark_bn`\":\"৬১২\",\"`max_mark`\":\"709\",\"`max_mark_bn`\":\"৭০৯\",\"`position_bn`\":\"২\",\"`position_en`\":2,\"`school_name`\":\"ILMUL OHI MODEL MADRASHA\"}', 'active', '2025-02-16 14:34:25'),
(25, '{\"`exam_name`\":\"Modal Test-1\",\"`student_name_bn`\":\"মো: আবরার আফহাতী\",\"`student_name_en`\":\"Al Imran\",\"`student_id_bn`\":\"২০৩১\",\"`student_id_en`\":\"2031\",\"`class_bn`\":\"প্রথম \",\"`class_en`\":\"One\",\"`gpa_bn`\":\"৪.৮৮\",\"`gpa_en`\":4.88,\"`total_mark`\":632,\"`total_mark_bn`\":\"৬৩২\",\"`max_mark`\":\"709\",\"`max_mark_bn`\":\"৭০৯\",\"`position_bn`\":\"১\",\"`position_en`\":1,\"`school_name`\":\"ILMUL OHI MODEL MADRASHA\"}', 'active', '2025-03-19 05:44:20'),
(26, '{\"`exam_name`\":\"Modal Test-1\",\"`student_name_bn`\":\"মো: আশরাফুল ইসলাম \",\"`student_name_en`\":\"MD ABRAR AFTAHI\",\"`student_id_bn`\":\"২০৩২\",\"`student_id_en`\":\"2032\",\"`class_bn`\":\"প্রথম \",\"`class_en`\":\"One\",\"`gpa_bn`\":\"৪.৮৬\",\"`gpa_en`\":4.86,\"`total_mark`\":612,\"`total_mark_bn`\":\"৬১২\",\"`max_mark`\":\"709\",\"`max_mark_bn`\":\"৭০৯\",\"`position_bn`\":\"২\",\"`position_en`\":2,\"`school_name`\":\"ILMUL OHI MODEL MADRASHA\"}', 'active', '2025-03-19 05:44:20');

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

--
-- Table structure for table `ssl_admission_transactions`
--

CREATE TABLE `ssl_admission_transactions` (
  `id` int(11) NOT NULL,
  `admission_id` varchar(500) NOT NULL,
  `transaction_id` varchar(500) NOT NULL,
  `amount` varchar(500) NOT NULL,
  `payment_status` varchar(500) NOT NULL,
  `response_data` text NOT NULL,
  `date` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp()
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

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

--
-- Table structure for table `staff_card_settings`
--

CREATE TABLE `staff_card_settings` (
  `id` int(11) NOT NULL,
  `slogan` varchar(255) DEFAULT NULL,
  `card_name` varchar(255) DEFAULT NULL,
  `signature_name` varchar(255) DEFAULT NULL,
  `signature_title` varchar(255) DEFAULT NULL,
  `signature_mobile` varchar(30) DEFAULT NULL,
  `notice` text DEFAULT NULL,
  `watermark_admit` varchar(255) DEFAULT NULL,
  `border_image_admit` varchar(255) DEFAULT NULL,
  `seventeen_card_image` varchar(255) DEFAULT NULL,
  `watermark_width` int(11) DEFAULT NULL,
  `admit_signature_image` varchar(255) DEFAULT '',
  `website_name` varchar(255) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

--
-- Dumping data for table `staff_card_settings`
--

INSERT INTO `staff_card_settings` (`id`, `slogan`, `card_name`, `signature_name`, `signature_title`, `signature_mobile`, `notice`, `watermark_admit`, `border_image_admit`, `seventeen_card_image`, `watermark_width`, `admit_signature_image`, `website_name`) VALUES
(1, 'Goneshtola, Dinajpur-5200. Tel: 0531-65020', 'Admit card', 'আশরাফুল ইসলাম', 'প্রধান শিক্ষক', 'মোবাইল: ০১৭০০০০০০০০', 'পরীক্ষার্থীকে অবশ্যই পরীক্ষার হলে প্রবেশের আগে হাজির করা। পরীক্ষার্থীকে অবশ্যই পরীক্ষার হলে প্রবেশের আগে হাজির করা।', 'watermark_admit_1751424699.png', 'border_image_admit_1763949336.png', 'seventeen_card_image_1751434070.png', 50, 'admit_signature_image_1763949336.png', 'Dinajpur Govt. Girls\' High School');

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

--
-- Table structure for table `staff_data`
--

CREATE TABLE `staff_data` (
  `id` int(11) NOT NULL,
  `name` varchar(255) DEFAULT NULL,
  `name_bn` varchar(255) CHARACTER SET utf8 DEFAULT NULL,
  `position` varchar(255) DEFAULT NULL,
  `mobile` varchar(20) DEFAULT NULL,
  `email_address` varchar(100) DEFAULT NULL,
  `status` varchar(100) DEFAULT NULL COMMENT '1=active, 0=false',
  `created_at` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
  `stup_image` varchar(100) DEFAULT NULL,
  `qr_code_generator` varchar(100) DEFAULT NULL,
  `staff_id` varchar(255) CHARACTER SET utf8 DEFAULT NULL,
  `blood_group` varchar(255) CHARACTER SET utf8 DEFAULT NULL,
  `expire_date` varchar(255) DEFAULT NULL,
  `joined_date` varchar(255) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

--
-- Dumping data for table `staff_data`
--

INSERT INTO `staff_data` (`id`, `name`, `name_bn`, `position`, `mobile`, `email_address`, `status`, `created_at`, `stup_image`, `qr_code_generator`, `staff_id`, `blood_group`, `expire_date`, `joined_date`) VALUES
(11, 'Md Fozlul Hoque', 'মো: ফজলুল হক', 'Supervisor', '01717452764', 'webbazarbd24@gmail.com', '0', '2024-02-22 03:48:21', 'images/1698197169.jpg', 'staff_11', 'S_250', 'A+', '2024-10-23', '2023-10-23'),
(13, 'Md Fozlul Hoque', 'মো: ফজলুল হক', 'Computer Op', '01717452764', 'abcd@gmail.com', NULL, '2024-10-04 01:00:04', 'images/1720138095.png', 'staff_1385348', '2024990', 'A+', '2024-12-31', '2024-01-01');

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

--
-- Table structure for table `staff_id_card_settings`
--

CREATE TABLE `staff_id_card_settings` (
  `id` int(11) NOT NULL,
  `slogan` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT 'School slogan text',
  `headmaster_name` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT 'Headmaster name for signature',
  `headmaster_signature` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT 'Headmaster signature image file',
  `notice` text COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT 'Notice text for ID card',
  `contact` varchar(100) COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT 'Contact phone number',
  `email` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT 'School email address',
  `address` varchar(500) COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT 'School address',
  `color_1` varchar(7) COLLATE utf8mb4_unicode_ci DEFAULT '#2E8B57' COMMENT 'Primary color (hex format)',
  `color_2` varchar(7) COLLATE utf8mb4_unicode_ci DEFAULT '#228B22' COMMENT 'Secondary color (hex format)',
  `color_3` varchar(7) COLLATE utf8mb4_unicode_ci DEFAULT '#32CD32' COMMENT 'Accent color (hex format)',
  `text_color` varchar(200) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `created_at` timestamp NOT NULL DEFAULT current_timestamp(),
  `updated_at` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
  `school_name` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT '',
  `heading_bg_color` varchar(7) COLLATE utf8mb4_unicode_ci DEFAULT '#FFFFFF',
  `heading_title_color` varchar(7) COLLATE utf8mb4_unicode_ci DEFAULT '#2E8B57',
  `heading_text_color` varchar(7) COLLATE utf8mb4_unicode_ci DEFAULT '#666666',
  `notice_card_color` varchar(7) COLLATE utf8mb4_unicode_ci DEFAULT '#F8F9FA',
  `notice_text_color` varchar(7) COLLATE utf8mb4_unicode_ci DEFAULT '#333333'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `staff_id_card_settings`
--

INSERT INTO `staff_id_card_settings` (`id`, `slogan`, `headmaster_name`, `headmaster_signature`, `notice`, `contact`, `email`, `address`, `color_1`, `color_2`, `color_3`, `text_color`, `created_at`, `updated_at`, `school_name`, `heading_bg_color`, `heading_title_color`, `heading_text_color`, `notice_card_color`, `notice_text_color`) VALUES
(1, 'Excellence in Education', 'Md. Headmaster', 'headmaster_signature_1751747466.png', 'This card is a personal identity. If it is found anywhere except user, please send it to the school address.', '01330702002, 01330702004', 'info@school.com', 'Kalitola, Sadar, Dinajpur.', '#2e8b57', '#228b22', '#32cd32', '#ffffff', '2025-07-05 20:26:20', '2025-07-07 02:08:55', 'Web Bazar BD Smart', '#ffffff', '#8a4e2e', '#666666', '#f8f9fa', '#d61f1f');

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

--
-- Table structure for table `staff_id_card_template`
--

CREATE TABLE `staff_id_card_template` (
  `id` int(20) NOT NULL,
  `card_image` varchar(250) DEFAULT NULL,
  `card_no` int(20) NOT NULL,
  `status` int(10) NOT NULL DEFAULT 1,
  `file_name` varchar(250) DEFAULT '0',
  `css_file_name` varchar(250) NOT NULL DEFAULT '0',
  `active_status` int(12) NOT NULL DEFAULT 0
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

--
-- Dumping data for table `staff_id_card_template`
--

INSERT INTO `staff_id_card_template` (`id`, `card_image`, `card_no`, `status`, `file_name`, `css_file_name`, `active_status`) VALUES
(1, 'image/template_1704922036_staff_id_card_1.png', 1, 1, '0', '0', 0),
(2, 'image/template_1704922170_staff_id_card_2.png', 2, 1, '0', '0', 0),
(3, 'image/template_1707196826_staff_id_card_3.png', 3, 1, '0', '0', 0),
(4, 'image/template_1710476590_staff_id_card_4.png', 4, 1, '0', '0', 0),
(5, 'image/template_1720246875_staff_id_card_5.png', 5, 1, '0', '0', 0),
(6, 'image/template_1751898085_staf.png', 6, 1, '0', '0', 1);

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

--
-- Table structure for table `staff_time`
--

CREATE TABLE `staff_time` (
  `id` int(20) NOT NULL,
  `staff_id` varchar(250) NOT NULL,
  `start_from` varchar(250) NOT NULL,
  `start_to` varchar(250) NOT NULL,
  `late_start` varchar(250) NOT NULL,
  `late_end` varchar(250) NOT NULL,
  `end_form` varchar(250) NOT NULL,
  `end_to` varchar(250) NOT NULL,
  `status` int(10) NOT NULL DEFAULT 1
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

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

--
-- Table structure for table `std_registation`
--

CREATE TABLE `std_registation` (
  `id` int(11) NOT NULL,
  `std_name_b` varchar(255) NOT NULL,
  `std_name_e` varchar(255) NOT NULL,
  `f_name_b` varchar(255) NOT NULL,
  `f_name_e` varchar(255) NOT NULL,
  `m_name_b` varchar(255) NOT NULL,
  `m_name_e` varchar(255) NOT NULL,
  `guardian` varchar(255) NOT NULL,
  `p_villege` varchar(255) NOT NULL,
  `p_post_name` varchar(255) NOT NULL,
  `p_upzila` varchar(255) NOT NULL,
  `p_zila` varchar(255) NOT NULL,
  `p_mobile` varchar(255) NOT NULL,
  `per_address` varchar(255) NOT NULL,
  `guardian_mobile` varchar(255) NOT NULL,
  `birth_day` varchar(255) CHARACTER SET utf8mb4 NOT NULL,
  `nationality` varchar(255) NOT NULL,
  `religion` varchar(255) NOT NULL,
  `course_duration` varchar(255) CHARACTER SET utf8mb4 NOT NULL,
  `course_session` varchar(255) NOT NULL,
  `course_id` varchar(255) CHARACTER SET utf8mb4 NOT NULL,
  `jsc_role` varchar(255) NOT NULL,
  `jsc_subject` varchar(255) NOT NULL,
  `jsc_passing` varchar(255) NOT NULL,
  `jsc_gpa` varchar(255) NOT NULL,
  `jsc_board` varchar(255) NOT NULL,
  `ssc_roll` varchar(255) NOT NULL,
  `ssc_subject` varchar(255) NOT NULL,
  `ssc_passing_year` varchar(255) NOT NULL,
  `ssc_bivag` varchar(255) NOT NULL,
  `ssc_board` varchar(255) NOT NULL,
  `st_images` varchar(255) CHARACTER SET utf8mb4 NOT NULL,
  `status` varchar(255) CHARACTER SET utf8mb4 NOT NULL DEFAULT '0' COMMENT '0 Panding, 1 Approved',
  `tmp_id` int(11) NOT NULL,
  `form_date` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
  `gender` varchar(20) CHARACTER SET utf8mb4 NOT NULL,
  `course_price` int(11) NOT NULL,
  `guardian_year_income` varchar(255) NOT NULL,
  `st_guardian_profession` varchar(255) NOT NULL,
  `st_guardian_vill` varchar(255) NOT NULL,
  `st_guardian_post` varchar(255) NOT NULL,
  `st_union_name` varchar(255) NOT NULL,
  `st_guardian_upzi` varchar(255) NOT NULL,
  `st_guardian_dist` varchar(255) NOT NULL,
  `quota_student` varchar(255) NOT NULL,
  `institution_Name_b_ssc` varchar(255) NOT NULL,
  `institution_Name_e_ssc` varchar(255) NOT NULL,
  `institution_adr_ssc` varchar(255) NOT NULL,
  `roll_no_ssc` varchar(255) NOT NULL,
  `regi_no_ssc` varchar(255) NOT NULL,
  `pass_year_ssc` varchar(255) NOT NULL,
  `group_trade_ssc` varchar(255) NOT NULL,
  `gpa_ssc` varchar(255) NOT NULL,
  `board_ssc` varchar(255) NOT NULL,
  `institution_Name_b_hsc` varchar(255) NOT NULL,
  `institution_Name_e_hsc` varchar(255) NOT NULL,
  `institution_adr_hsc` varchar(255) NOT NULL,
  `roll_no_hsc` varchar(255) NOT NULL,
  `regi_no_hsc` varchar(255) NOT NULL,
  `pass_year_hsc` varchar(255) NOT NULL,
  `group_trade_hsc` varchar(255) NOT NULL,
  `gpa_hsc` varchar(255) NOT NULL,
  `board_hsc` varchar(255) NOT NULL,
  `f_birth_day` varchar(255) NOT NULL,
  `m_birth_day` varchar(255) NOT NULL,
  `st_national_bir_id` varchar(255) NOT NULL,
  `f_national_bir_id` varchar(255) NOT NULL,
  `m_national_bir_id` varchar(255) NOT NULL,
  `per_union_name` varchar(255) NOT NULL,
  `academic_year` varchar(255) NOT NULL,
  `blood_group_st` varchar(255) NOT NULL,
  `board_shotcord` varchar(255) NOT NULL,
  `class_section_name` varchar(255) NOT NULL,
  `academic_year_name_bn` varchar(255) NOT NULL,
  `shift_name` varchar(255) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

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

--
-- Table structure for table `student_card_settings`
--

CREATE TABLE `student_card_settings` (
  `id` int(11) NOT NULL,
  `slogan` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT 'School slogan text',
  `school_name` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT '',
  `signature_path` varchar(500) COLLATE utf8mb4_unicode_ci DEFAULT '',
  `heading_bg_color` varchar(7) COLLATE utf8mb4_unicode_ci DEFAULT '#FFFFFF',
  `heading_title_color` varchar(7) COLLATE utf8mb4_unicode_ci DEFAULT '#2E8B57',
  `heading_text_color` varchar(7) COLLATE utf8mb4_unicode_ci DEFAULT '#666666',
  `notice_card_color` varchar(7) COLLATE utf8mb4_unicode_ci DEFAULT '#F8F9FA',
  `notice_text_color` varchar(7) COLLATE utf8mb4_unicode_ci DEFAULT '#333333',
  `headmaster_name` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT 'Headmaster name for signature',
  `notice` text COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT 'Notice text for ID card',
  `contact` varchar(100) COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT 'Contact phone number',
  `email` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT 'School email address',
  `address` varchar(200) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `color_1` varchar(7) COLLATE utf8mb4_unicode_ci DEFAULT '#2E8B57' COMMENT 'Primary color (hex format)',
  `color_2` varchar(7) COLLATE utf8mb4_unicode_ci DEFAULT '#228B22' COMMENT 'Secondary color (hex format)',
  `color_3` varchar(7) COLLATE utf8mb4_unicode_ci DEFAULT '#32CD32' COMMENT 'Accent color (hex format)',
  `text_color` varchar(200) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `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 `student_card_settings`
--

INSERT INTO `student_card_settings` (`id`, `slogan`, `school_name`, `signature_path`, `heading_bg_color`, `heading_title_color`, `heading_text_color`, `notice_card_color`, `notice_text_color`, `headmaster_name`, `notice`, `contact`, `email`, `address`, `color_1`, `color_2`, `color_3`, `text_color`, `created_at`, `updated_at`) VALUES
(1, 'মাদ্রাসা শিক্ষার একটি আর্দর্শিক মানের সময়1', 'Iqra Islamic Madrasa', 'uploads/signatures/signature_1751895816.png', '#004cff', '#ffdd00', '#ffffff', '#00a2ad', '#ffffff', 'আশরাফুল ইসলাম', 'This card is a personal identity. If it is found anywhere except user, please send it to the school address.1', 'মোবাইল: ০১৭০০০০০০০০1', 'holyquranislamicschool@gnmail.com1', 'কালিতলা, সদর, দিনাজপুর।1', '#ff0000', '#ff0000', '#ff0000', '#ffffff', '2025-07-05 17:56:27', '2025-10-10 02:48:26');

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

--
-- Table structure for table `student_esf`
--

CREATE TABLE `student_esf` (
  `id` int(11) NOT NULL,
  `regi` int(11) NOT NULL,
  `sname` varchar(250) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  `fname` varchar(250) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  `mName` varchar(250) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  `contact` varchar(255) NOT NULL,
  `image` varchar(250) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

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

--
-- Table structure for table `student_id_card_template`
--

CREATE TABLE `student_id_card_template` (
  `id` int(20) NOT NULL,
  `card_image` varchar(250) DEFAULT NULL,
  `card_no` int(20) NOT NULL,
  `status` int(10) NOT NULL DEFAULT 1,
  `file_name` varchar(250) DEFAULT '0',
  `css_file_name` varchar(250) NOT NULL DEFAULT '0',
  `active_status` int(12) NOT NULL DEFAULT 0
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

--
-- Dumping data for table `student_id_card_template`
--

INSERT INTO `student_id_card_template` (`id`, `card_image`, `card_no`, `status`, `file_name`, `css_file_name`, `active_status`) VALUES
(1, 'image/template_1704968643_Student_ID_Card_1.png', 1, 1, '0', '0', 0),
(2, 'image/template_1704917747_Student_ID_Card_2.png', 2, 1, '0', '0', 0),
(3, 'image/template_1705023464_Student_ID_Card_3.png', 3, 1, '0', '0', 0),
(4, 'image/template_1704917973_Student_ID_Card_4.png', 4, 1, '0', '0', 0),
(5, 'image/template_1705032093_Student_ID_Card_5.png', 5, 1, '0', '0', 0),
(6, 'image/template_1704918427_Student_ID_Card_6.png', 6, 1, '0', '0', 0),
(7, 'image/template_1704918438_Student_ID_Card_7.png', 7, 1, '0', '0', 0),
(8, 'image/template_1706749036_Student_ID_Card_8.png', 8, 1, '0', '0', 0),
(9, 'image/template_1704918461_Student_ID_Card_9.png', 9, 1, '0', '0', 0),
(10, 'image/template_1704918471_Student_ID_Card_10.png', 10, 1, '0', '0', 0),
(11, 'image/template_1716944252_Student_ID_Card_11.png', 11, 1, '0', '0', 0),
(12, 'image/template_1706146186_Student_ID_Card_12.png', 12, 1, '0', '0', 0),
(13, 'image/template_1707138939_Student_ID_Card_13.png', 13, 1, '0', '0', 1),
(14, 'image/template_1719236779_Student_ID_Card_14.png', 14, 1, '0', '0', 0),
(15, 'image/template_1720659225_Student_ID_Card_14.png', 15, 1, '0', '0', 0),
(16, 'image/template_1723337487_Student_ID_Card_16.png', 16, 1, '0', '0', 0),
(17, 'image/template_1751897806_Screenshot_1.png', 17, 1, '0', '0', 0);

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

--
-- Table structure for table `student_position`
--

CREATE TABLE `student_position` (
  `id` int(11) NOT NULL,
  `class_id` int(11) NOT NULL,
  `total_mark` float NOT NULL,
  `student_id` int(11) NOT NULL,
  `s_year` varchar(50) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

--
-- Dumping data for table `student_position`
--

INSERT INTO `student_position` (`id`, `class_id`, `total_mark`, `student_id`, `s_year`) VALUES
(1, 3, 0, 1, '2024'),
(2, 3, 0, 2, '2024'),
(3, 3, 0, 0, '2024'),
(4, 3, 0, 2, '2024'),
(5, 3, 263, 3, '2024'),
(6, 3, 263, 4, '2024'),
(7, 3, 1063, 5, '2024'),
(8, 3, 263, 6, '2024'),
(9, 3, 263, 7, '2024'),
(10, 3, 268, 8, '2024'),
(11, 3, 263, 9, '2024'),
(12, 3, 0, 10, '2024'),
(13, 3, 0, 0, '2024'),
(14, 3, 0, 1, '2024');

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

--
-- Table structure for table `student_subject_selection`
--

CREATE TABLE `student_subject_selection` (
  `id` int(11) NOT NULL,
  `student_id` int(11) NOT NULL,
  `subject_id` int(11) NOT NULL,
  `created_at` timestamp NOT NULL DEFAULT current_timestamp()
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

--
-- Dumping data for table `student_subject_selection`
--

INSERT INTO `student_subject_selection` (`id`, `student_id`, `subject_id`, `created_at`) VALUES
(70, 1397, 51, '2025-04-14 13:25:06'),
(71, 1397, 52, '2025-04-14 13:25:06'),
(72, 1397, 53, '2025-04-14 13:25:06');

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

--
-- Table structure for table `student_time`
--

CREATE TABLE `student_time` (
  `id` int(11) NOT NULL,
  `class` varchar(250) NOT NULL,
  `department` varchar(250) NOT NULL,
  `section` varchar(250) NOT NULL,
  `shift` varchar(250) NOT NULL,
  `year` varchar(250) NOT NULL,
  `academic_year` varchar(250) NOT NULL,
  `start_form` varchar(250) NOT NULL,
  `start_to` varchar(250) NOT NULL,
  `late_attend_start` varchar(250) NOT NULL,
  `late_attend_end` varchar(250) NOT NULL,
  `end_form` varchar(250) NOT NULL,
  `end_to` varchar(2502) NOT NULL,
  `status` int(10) NOT NULL DEFAULT 1
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

--
-- Dumping data for table `student_time`
--

INSERT INTO `student_time` (`id`, `class`, `department`, `section`, `shift`, `year`, `academic_year`, `start_form`, `start_to`, `late_attend_start`, `late_attend_end`, `end_form`, `end_to`, `status`) VALUES
(17, '3', '1', '6', '1', '', '', '09:30', '10:00', '11:01', '00:05', '11:22', '11:40', 1);

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

--
-- Table structure for table `student_update_info`
--

CREATE TABLE `student_update_info` (
  `id` int(11) NOT NULL,
  `log_type` varchar(100) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  `data` text CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  `title` varchar(100) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  `creator_by` int(30) NOT NULL,
  `creator_by_sub_user` int(11) NOT NULL,
  `is_read` text NOT NULL,
  `is_red_sub_user` text CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  `created_at` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
  `status` varchar(100) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

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

--
-- Table structure for table `study_type_v3`
--

CREATE TABLE `study_type_v3` (
  `id` int(11) NOT NULL,
  `name` varchar(500) NOT NULL,
  `details` text DEFAULT NULL,
  `date` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp()
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

--
-- Dumping data for table `study_type_v3`
--

INSERT INTO `study_type_v3` (`id`, `name`, `details`, `date`) VALUES
(1, 'Home Work', 'Home Work', '2025-01-08 03:13:47'),
(2, 'Class Test', 'Class Test', '2025-01-08 03:14:19');

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

--
-- Table structure for table `stu_attendance`
--

CREATE TABLE `stu_attendance` (
  `at_id` int(11) NOT NULL,
  `value` varchar(50) CHARACTER SET utf8 NOT NULL,
  `id` int(11) NOT NULL,
  `date` varchar(30) COLLATE utf8_unicode_ci NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Dumping data for table `stu_attendance`
--

INSERT INTO `stu_attendance` (`at_id`, `value`, `id`, `date`) VALUES
(15, 'Present', 13, '24-11-21'),
(16, 'Absent', 13, '25-11-21'),
(17, 'Absent', 13, '27-11-21');

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

--
-- Table structure for table `st_postion`
--

CREATE TABLE `st_postion` (
  `id` int(11) NOT NULL,
  `ps_year` varchar(100) DEFAULT NULL,
  `ps_class` varchar(255) DEFAULT NULL,
  `ps_exam` varchar(255) DEFAULT NULL,
  `ps_std_id` varchar(100) DEFAULT NULL,
  `ps_mark` float DEFAULT NULL,
  `status` int(11) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

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

--
-- Table structure for table `teacher_blog`
--

CREATE TABLE `teacher_blog` (
  `id` int(11) NOT NULL,
  `teacher_id` varchar(100) NOT NULL,
  `blog_title` varchar(255) NOT NULL,
  `class_name` int(11) NOT NULL,
  `subject` varchar(100) NOT NULL,
  `subject_time` varchar(100) NOT NULL,
  `message` text NOT NULL,
  `start_date` varchar(100) NOT NULL,
  `status` int(11) NOT NULL,
  `create_at` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp()
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

--
-- Dumping data for table `teacher_blog`
--

INSERT INTO `teacher_blog` (`id`, `teacher_id`, `blog_title`, `class_name`, `subject`, `subject_time`, `message`, `start_date`, `status`, `create_at`) VALUES
(4, 'AS_6027', 'asdfasdf', 9, '2', '23:14', 'adfasdfasdf', '2022-04-09', 1, '2022-04-02 03:24:13'),
(10, 'AS_6865', 'asdfasdf', 9, '2,3', '00:00,00:00', 'asdfasdfasd', '2022-04-07', 1, '2022-04-02 07:40:21'),
(11, 'AS_6865', 'asdfasdf', 9, '2,3', '19:58,19:52', 'adfasdfas', '2022-04-07', 1, '2022-04-02 08:52:32'),
(12, 'AS_9882', 'sadfasdfa', 9, '3', '16:40', 'dsklfaslk laslalsdakjflkasd flkasdj flksadj flksad flksa dlkf aslkf sadfasd', '2022-04-19', 1, '2022-04-09 08:40:04'),
(13, 'AS_9882', 'sadfasdfasd', 9, '3', '06:25', 'sdfasdfasdfasdf', '2022-04-10', 1, '2022-04-09 10:23:53'),
(14, '48', '', 0, '', '', '', '', 0, '2024-02-26 11:45:34'),
(15, '48', '', 0, '', '', '', '', 0, '2024-02-26 11:45:46'),
(16, '48', '', 0, '', '', '', '', 0, '2024-02-26 11:46:11'),
(17, '48', '', 0, '', '', '', '', 0, '2024-02-26 11:47:35'),
(18, '20241', 'tt', 3, '17', '05:12', 'আমার সোনার আংলা', '2025-01-07', 1, '2025-01-07 11:12:33');

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

--
-- Table structure for table `teacher_card_settings`
--

CREATE TABLE `teacher_card_settings` (
  `id` int(11) NOT NULL,
  `slogan` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT 'School slogan text',
  `headmaster_name` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT 'Headmaster name for signature',
  `headmaster_signature` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT 'Headmaster signature image file',
  `notice` text COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT 'Notice text for ID card',
  `contact` varchar(100) COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT 'Contact phone number',
  `email` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT 'School email address',
  `address` varchar(500) COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT 'School address',
  `color_1` varchar(7) COLLATE utf8mb4_unicode_ci DEFAULT '#2E8B57' COMMENT 'Primary color (hex format)',
  `color_2` varchar(7) COLLATE utf8mb4_unicode_ci DEFAULT '#228B22' COMMENT 'Secondary color (hex format)',
  `color_3` varchar(7) COLLATE utf8mb4_unicode_ci DEFAULT '#32CD32' COMMENT 'Accent color (hex format)',
  `text_color` varchar(200) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `created_at` timestamp NOT NULL DEFAULT current_timestamp(),
  `updated_at` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
  `school_name` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT '',
  `heading_bg_color` varchar(7) COLLATE utf8mb4_unicode_ci DEFAULT '#FFFFFF',
  `heading_title_color` varchar(7) COLLATE utf8mb4_unicode_ci DEFAULT '#2E8B57',
  `heading_text_color` varchar(7) COLLATE utf8mb4_unicode_ci DEFAULT '#666666',
  `notice_card_color` varchar(7) COLLATE utf8mb4_unicode_ci DEFAULT '#F8F9FA',
  `notice_text_color` varchar(7) COLLATE utf8mb4_unicode_ci DEFAULT '#333333'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `teacher_card_settings`
--

INSERT INTO `teacher_card_settings` (`id`, `slogan`, `headmaster_name`, `headmaster_signature`, `notice`, `contact`, `email`, `address`, `color_1`, `color_2`, `color_3`, `text_color`, `created_at`, `updated_at`, `school_name`, `heading_bg_color`, `heading_title_color`, `heading_text_color`, `notice_card_color`, `notice_text_color`) VALUES
(1, 'Excellence in Education', 'Md. Headmaster', 'headmaster_signature_1751739445.png', 'This card is a personal identity. If it is found anywhere except user, please send it to the school address.', '01330702002, 01330702004', 'info@school.com', 'Kalitola, Sadar, Dinajpur.', '#2e8b57', '#228b22', '#32cd32', '#ffffff', '2025-07-05 18:12:24', '2025-07-07 02:11:41', 'Web Bazar BD Smart', '#ffffff', '#93260b', '#666666', '#f8f9fa', '#f03838');

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

--
-- Table structure for table `teacher_id_card_template`
--

CREATE TABLE `teacher_id_card_template` (
  `id` int(20) NOT NULL,
  `card_image` varchar(250) DEFAULT NULL,
  `card_no` int(20) NOT NULL,
  `status` int(10) NOT NULL DEFAULT 1,
  `file_name` varchar(250) DEFAULT '0',
  `css_file_name` varchar(250) NOT NULL DEFAULT '0',
  `active_status` int(12) NOT NULL DEFAULT 0
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

--
-- Dumping data for table `teacher_id_card_template`
--

INSERT INTO `teacher_id_card_template` (`id`, `card_image`, `card_no`, `status`, `file_name`, `css_file_name`, `active_status`) VALUES
(1, 'image/template_1704920823_teacher_id_card_1.png', 1, 1, '0', '0', 0),
(2, 'image/template_1724665349_teacher_id_card_2.png', 2, 1, '0', '0', 0),
(3, 'image/template_1707184223_teacher_id_card_3.png', 3, 1, '0', '0', 0),
(4, 'image/template_1710475169_teacher_id_card_4.png', 4, 1, '0', '0', 0),
(5, 'image/template_1720245333_teacher_id_card_5.png', 5, 1, '0', '0', 0),
(6, 'image/template_1751898074_tes.png', 6, 1, '0', '0', 1);

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

--
-- Table structure for table `teacher_subject`
--

CREATE TABLE `teacher_subject` (
  `id` int(11) NOT NULL,
  `course_id` varchar(20) DEFAULT NULL,
  `subject` varchar(255) DEFAULT NULL,
  `subject_time` varchar(100) DEFAULT NULL,
  `t_s_id` varchar(255) DEFAULT NULL,
  `branch` varchar(250) DEFAULT NULL,
  `status` varchar(11) NOT NULL DEFAULT '0',
  `timestamp` timestamp NOT NULL DEFAULT current_timestamp()
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

--
-- Dumping data for table `teacher_subject`
--

INSERT INTO `teacher_subject` (`id`, `course_id`, `subject`, `subject_time`, `t_s_id`, `branch`, `status`, `timestamp`) VALUES
(65, '1', '69', NULL, '20241', 'General', '0', '2025-09-30 10:36:00');

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

--
-- Table structure for table `teacher_time`
--

CREATE TABLE `teacher_time` (
  `id` int(20) NOT NULL,
  `teacher_id` varchar(250) NOT NULL,
  `start_from` varchar(250) NOT NULL,
  `start_to` varchar(250) NOT NULL,
  `late_start` varchar(250) NOT NULL,
  `late_end` varchar(250) NOT NULL,
  `end_form` varchar(250) NOT NULL,
  `end_to` varchar(250) NOT NULL,
  `status` int(10) NOT NULL DEFAULT 1
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

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

--
-- Table structure for table `techer_p`
--

CREATE TABLE `techer_p` (
  `id` int(11) NOT NULL,
  `t_id` varchar(255) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  `name` varchar(250) NOT NULL,
  `f_name` varchar(250) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  `m_name` varchar(255) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  `d_birth` varchar(255) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  `nationality` varchar(255) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  `blood_group` varchar(250) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  `marital_status` varchar(250) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  `contact_address` varchar(255) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  `contract` varchar(255) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  `email_a` varchar(255) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  `skill_know` varchar(255) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  `techer_image` varchar(255) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  `designation` varchar(255) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL,
  `techer_qcode` varchar(255) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

--
-- Dumping data for table `techer_p`
--

INSERT INTO `techer_p` (`id`, `t_id`, `name`, `f_name`, `m_name`, `d_birth`, `nationality`, `blood_group`, `marital_status`, `contact_address`, `contract`, `email_a`, `skill_know`, `techer_image`, `designation`, `techer_qcode`) VALUES
(1, '502', 'ফজলুল হক', 'আলিমুল হক', 'ফাতেমাতুজ জোহরা', '    30-12-1989', 'bangldshi', '    A+', 'Unmarit', 'Post-Karimpur, Upzilla-Kaliganj', '01717452764', 'abc@gmail.com', 'Computer ', 'pincipal.jpg', 'Assistant Techer  ', 'IMG_20211111_163112.jpg'),
(2, '501', 'Md Nur Islam', 'Jobbar', 'Amana', '      30-12-1989', 'bangldshi', '      A+', 'Unmarit', 'Post-Karimpur, Upzilla-Kaliganj', '01717452765', 'abc@gmail.com', 'Computer ', 'online.jpg2.jpg', 'Assistant Techer  ', 'folwerWithoutname-removebg-preview.png');

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

--
-- Table structure for table `temporary_admit_instructions`
--

CREATE TABLE `temporary_admit_instructions` (
  `id` int(11) NOT NULL,
  `instructions` text NOT NULL,
  `date` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp()
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

--
-- Dumping data for table `temporary_admit_instructions`
--

INSERT INTO `temporary_admit_instructions` (`id`, `instructions`, `date`) VALUES
(1, 'পরীক্ষার দিনে অবশ্যই আপনার Admit Card সাথে আনতে হবে। Admit Card ছাড়া আপনাকে পরীক্ষায় অংশগ্রহণ করতে দেওয়া হবে না।', '2025-04-21 09:33:54'),
(3, 'পরীক্ষার সময়ের কমপক্ষে ৩০ মিনিট আগে পরীক্ষাকেন্দ্রে পৌঁছান যেন সিটে বসা ও অন্যান্য প্রস্তুতি নিতে সুবিধা হয়।', '2025-04-21 09:34:11'),
(4, 'Admit Card পরিষ্কার ও ভালো অবস্থায় রাখতে হবে। কোন দাগ, লেখা, কিংবা ভাঁজ করা যাবে না।', '2025-04-21 09:34:18'),
(5, 'পরীক্ষাকেন্দ্রে নিষিদ্ধ সামগ্রী আনবেন না:\r\nযেমন – মোবাইল ফোন, বইপত্র, স্মার্টঘড়ি, ইলেকট্রনিক ডিভাইস ইত্যাদি সম্পূর্ণ নিষিদ্ধ।', '2025-04-21 09:34:51'),
(6, 'Admit Card-এর পিছনে বা নিচে যদি আলাদা কোনো নির্দেশনা থাকে, সেগুলো ভালোভাবে পড়ে মেনে চলুন।', '2025-04-21 09:34:29'),
(7, 'MCQ পরীক্ষার উত্তর পত্রে অবশ্যই নীল বা কালো কালির বল পয়েন্ট কলম দিয়ে উত্তর চিহ্নিত করতে হবে। অন্য কোন কলম ব্যবহার করা যাবে না', '2025-04-21 09:37:45');

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

--
-- Table structure for table `temporary_ad_settings`
--

CREATE TABLE `temporary_ad_settings` (
  `id` int(11) NOT NULL,
  `admission_start_date` date NOT NULL,
  `admission_end_date` date NOT NULL,
  `admission_title` varchar(500) NOT NULL,
  `admission_amount` varchar(500) NOT NULL DEFAULT '0',
  `admission_note` text DEFAULT NULL,
  `course_ids` varchar(200) DEFAULT NULL,
  `payment_time` varchar(200) NOT NULL,
  `bkash` varchar(20) NOT NULL,
  `sslcommerz` varchar(20) NOT NULL,
  `manual_payment` varchar(20) NOT NULL,
  `account_disabled_hours` int(11) DEFAULT NULL,
  `sms_content` varchar(1000) NOT NULL,
  `select_for_exam_notice` varchar(1000) NOT NULL,
  `waiting_1_notice` varchar(2000) NOT NULL,
  `waiting_2_notice` varchar(2000) NOT NULL,
  `date` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
  `admission_close_note_1` varchar(255) DEFAULT NULL,
  `admission_close_note_2` varchar(255) DEFAULT NULL,
  `admission_close_note_3` varchar(255) DEFAULT NULL,
  `admission_close_note_4` varchar(255) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

--
-- Dumping data for table `temporary_ad_settings`
--

INSERT INTO `temporary_ad_settings` (`id`, `admission_start_date`, `admission_end_date`, `admission_title`, `admission_amount`, `admission_note`, `course_ids`, `payment_time`, `bkash`, `sslcommerz`, `manual_payment`, `account_disabled_hours`, `sms_content`, `select_for_exam_notice`, `waiting_1_notice`, `waiting_2_notice`, `date`, `admission_close_note_1`, `admission_close_note_2`, `admission_close_note_3`, `admission_close_note_4`) VALUES
(1, '2025-12-30', '2025-12-31', 'অস্থায়ী ভর্তি বর্তমান বন্ধ আছে। ', '0', 'এখানে ভর্তি নোটিশ দেওয়া যাবে।', '8', '1', 'on', 'on', 'on', 1, 'Dear Student Your username: `username` and password: `password` Login Url: http://localhost/webbazar_smartschool_v1/temp_student/login.php', 'প্রিয় শিক্ষার্থী,\r\nআপনি ভর্তি পরীক্ষার জন্য নির্বাচিত হয়েছেন। অনুগ্রহ করে মেনু থেকে “অ্যাডমিট কার্ড” অপশনে ক্লিক করে তা ডাউনলোড করুন এবং পরীক্ষার তারিখ, সময় ও কেন্দ্র সংক্রান্ত সকল তথ্য সতর্কতার সঙ্গে যাচাই করুন। নির্ধারিত সময় অনুযায়ী পরীক্ষাকেন্দ্রে উপস্থিত থাকার জন্য অনুরোধ করা হলো।\r\n\r\nআপনার সাফল্য কামনায় রইল অগ্রিম শুভেচ্ছা।', 'প্রিয় শিক্ষার্থী,\r\nপ্রথম ধাপের আপনার ফলাফল প্রতিষ্ঠান কর্তৃক যাচাই-বাছাইয়ের প্রক্রিয়ায় রয়েছে। অনুগ্রহ করে ধৈর্য ধরুন এবং ফলাফলের জন্য অপেক্ষা করুন। নির্ধারিত সময়ে ফলাফল প্রকাশ করা হবে, যা অনলাইন, এসএমএস বা প্রতিষ্ঠানের হটলাইন নম্বরের মাধ্যমে জানা যাবে।  অনুগ্রহ করে নিয়মিত নোটিশ পর্যবেক্ষণ করুন এবং প্রয়োজনে আমাদের হটলাইনে যোগাযোগ রাখুন।  আপনার সম্ভাব্য সাফল্যের জন্য রইল আগাম শুভেচ্ছা।', 'প্রিয় শিক্ষার্থী,\r\nপ্রথম ধাপে আপনার আবেদনটি নির্বাচিত হয়নি। তবে আপনি এখনও প্রক্রিয়ায় আছেন। পরবর্তী (২য়) ধাপের ফলাফলের জন্য অপেক্ষা করুন। নির্ধারিত সময়ে ফলাফল প্রকাশ করা হবে এবং তা অনলাইনে, এসএমএসে অথবা প্রতিষ্ঠানের হটলাইন নম্বরের মাধ্যমে জানা যাবে। অনুগ্রহ করে নিয়মিত নোটিশ পর্যবেক্ষণ করুন এবং প্রয়োজন হলে আমাদের হটলাইনে যোগাযোগ রাখুন। আপনার আগাম সাফল্য কামনায় রইল আন্তরিক শুভেচ্ছা।', '2025-12-03 12:26:52', 'Admission Close Note 1', 'Admission Close Note 1', 'Admission Close Note 1', 'Admission Close Note 1');

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

--
-- Table structure for table `temporary_exams`
--

CREATE TABLE `temporary_exams` (
  `id` int(11) NOT NULL,
  `exam_name` varchar(255) NOT NULL,
  `course_id` int(11) NOT NULL,
  `year` int(11) NOT NULL,
  `exam_date` date NOT NULL,
  `exam_time` time DEFAULT NULL,
  `hall_name` varchar(100) DEFAULT NULL,
  `status` enum('active','inactive') DEFAULT 'active',
  `created_at` timestamp NOT NULL DEFAULT current_timestamp()
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

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

--
-- Table structure for table `temporary_fee_bkash`
--

CREATE TABLE `temporary_fee_bkash` (
  `id` int(11) NOT NULL,
  `student_id` int(11) DEFAULT NULL,
  `fee_payment_id` varchar(500) NOT NULL,
  `amount` decimal(10,2) DEFAULT NULL,
  `payment_id` varchar(255) DEFAULT NULL,
  `trx_id` varchar(255) DEFAULT NULL,
  `payment_execute_time` datetime DEFAULT NULL,
  `status` varchar(50) DEFAULT NULL,
  `response` text NOT NULL,
  `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;

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

--
-- Table structure for table `temporary_fee_payment`
--

CREATE TABLE `temporary_fee_payment` (
  `id` int(11) NOT NULL,
  `student_id` varchar(50) NOT NULL,
  `payment_date` date NOT NULL,
  `course_id` int(11) NOT NULL,
  `exam_id` int(11) NOT NULL,
  `payment_time` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
  `amount` decimal(10,2) NOT NULL,
  `payment_method` varchar(20) NOT NULL,
  `transaction_id` varchar(100) NOT NULL,
  `payment_id` varchar(200) NOT NULL,
  `status` varchar(20) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

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

--
-- Table structure for table `temporary_fee_request`
--

CREATE TABLE `temporary_fee_request` (
  `id` int(11) NOT NULL,
  `student_id` int(11) NOT NULL,
  `amount` decimal(10,2) NOT NULL,
  `year` int(11) NOT NULL,
  `course` int(11) NOT NULL,
  `exam_id` int(11) NOT NULL,
  `transaction_id` varchar(100) NOT NULL,
  `payment_date` timestamp NOT NULL DEFAULT current_timestamp(),
  `status` enum('pending','approved','rejected') DEFAULT 'pending',
  `payment_method_id` int(11) NOT NULL,
  `payment_number` varchar(50) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

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

--
-- Table structure for table `temporary_fee_settings`
--

CREATE TABLE `temporary_fee_settings` (
  `id` int(11) NOT NULL,
  `year` int(11) NOT NULL,
  `exam_type` int(11) NOT NULL,
  `course` int(11) NOT NULL,
  `amount` decimal(10,2) NOT NULL,
  `created_at` timestamp NOT NULL DEFAULT current_timestamp(),
  `updated_at` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
  `from_date` date DEFAULT NULL,
  `to_date` date DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

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

--
-- Table structure for table `temporary_fee_ssl`
--

CREATE TABLE `temporary_fee_ssl` (
  `id` int(11) NOT NULL,
  `student_id` varchar(50) NOT NULL,
  `transaction_id` varchar(100) NOT NULL,
  `amount` decimal(10,2) NOT NULL,
  `payment_status` varchar(20) NOT NULL,
  `course_id` int(11) NOT NULL,
  `exam_id` int(11) NOT NULL,
  `response_data` text DEFAULT NULL,
  `created_at` datetime NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

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

--
-- Table structure for table `temporary_manual_payments`
--

CREATE TABLE `temporary_manual_payments` (
  `id` int(11) NOT NULL,
  `payment_id` varchar(50) NOT NULL,
  `payment_method_id` int(11) NOT NULL,
  `student_id` int(11) NOT NULL,
  `pay_number` varchar(50) NOT NULL,
  `transaction_id` varchar(100) NOT NULL,
  `amount` decimal(10,2) NOT NULL,
  `status` enum('pending','approved','rejected') DEFAULT 'pending',
  `student_data` text NOT NULL,
  `created_at` datetime NOT NULL,
  `updated_at` datetime DEFAULT NULL,
  `admin_note` text DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

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

--
-- Table structure for table `temporary_notices`
--

CREATE TABLE `temporary_notices` (
  `id` int(11) NOT NULL,
  `notice_date` date NOT NULL,
  `notice_by` varchar(255) NOT NULL,
  `notice_content` text NOT NULL,
  `attachments` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`attachments`)),
  `status` varchar(200) NOT NULL,
  `created_at` timestamp NOT NULL DEFAULT current_timestamp()
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

--
-- Dumping data for table `temporary_notices`
--

INSERT INTO `temporary_notices` (`id`, `notice_date`, `notice_by`, `notice_content`, `attachments`, `status`, `created_at`) VALUES
(2, '2025-05-02', 'Admin', 'আপনি পরীক্ষার জন্য নির্বাচিত হয়েছেন।\r\nঅনুগ্রহ করে মেনু থেকে \"এডমিট কার্ড\" এ ক্লিক করুন এবং তা ডাউনলোড করে পরীক্ষার তারিখ, সময় ও কেন্দ্র সংক্রান্ত সকল তথ্য ভালোভাবে পরীক্ষা করে দেখুন। নির্ধারিত সময় অনুযায়ী পরীক্ষা কেন্দ্রে উপস্থিত থাকবেন।\r\nআপনার সাফল্য কামনায় রইল অগ্রিম শুভেচ্ছা।', '[{\"type\":\"file\",\"name\":\"Md Ibrahim Bashar Resume CV.pdf\",\"path\":\"uploads\\/notices\\/681460049fa4d_Md Ibrahim Bashar Resume CV.pdf\",\"mime_type\":\"application\\/pdf\"}]', '0', '2025-05-02 06:02:44'),
(3, '2025-04-29', 'Admin-2', 'আপনি পরীক্ষার জন্য নির্বাচিত হয়েছেন। অনুগ্রহ করে মেনু থেকে \"এডমিট কার্ড\" এ ক্লিক করুন এবং তা ডাউনলোড করে পরীক্ষার তারিখ, সময় ও কেন্দ্র সংক্রান্ত সকল তথ্য ভালোভাবে পরীক্ষা করে দেখুন। নির্ধারিত সময় অনুযায়ী পরীক্ষা কেন্দ্রে উপস্থিত থাকবেন। আপনার সাফল্য কামনায় রইল অগ্রিম শুভেচ্ছা।	', '[{\"type\":\"video\",\"url\":\"<iframe width=\\\"560\\\" height=\\\"315\\\" src=\\\"https:\\/\\/www.youtube.com\\/embed\\/_mguTKHAGUc?si=K2hGhgVaQFSM-lBx\\\" title=\\\"YouTube video player\\\" frameborder=\\\"0\\\" allow=\\\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\\\" referrerpolicy=\\\"strict-origin-when-cross-origin\\\" allowfullscreen><\\/iframe>\"}]', '1', '2025-05-02 10:07:36');

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

--
-- Table structure for table `temporary_sms_settings`
--

CREATE TABLE `temporary_sms_settings` (
  `id` int(11) NOT NULL,
  `selected_sms_content` text NOT NULL,
  `waiting_sms_content` text NOT NULL,
  `waiting_status` int(11) NOT NULL,
  `selected_status` int(11) NOT NULL,
  `admission_submit_time_sms` varchar(200) NOT NULL,
  `date` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp()
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

--
-- Dumping data for table `temporary_sms_settings`
--

INSERT INTO `temporary_sms_settings` (`id`, `selected_sms_content`, `waiting_sms_content`, `waiting_status`, `selected_status`, `admission_submit_time_sms`, `date`) VALUES
(1, 'Congratulations, you have been selected. Click on this link to pay the admission fee. http://localhost/webbazar_smartschool_v1/temporary_ad/fee-payment.php?id=`student_id`', 'Congratulations, you have been Waiting List. Click on this link to pay the admission fee. `student_id`, `student_name` http://localhost/main/mark-input.php', 0, 1, '0', '2025-05-01 16:01:35');

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

--
-- Table structure for table `testimonial_id_card_template`
--

CREATE TABLE `testimonial_id_card_template` (
  `id` int(20) NOT NULL,
  `card_image` varchar(250) DEFAULT NULL,
  `card_no` int(20) NOT NULL,
  `status` int(10) NOT NULL DEFAULT 1,
  `file_name` varchar(250) DEFAULT '0',
  `css_file_name` varchar(250) NOT NULL DEFAULT '0',
  `active_status` int(10) NOT NULL DEFAULT 0
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

--
-- Dumping data for table `testimonial_id_card_template`
--

INSERT INTO `testimonial_id_card_template` (`id`, `card_image`, `card_no`, `status`, `file_name`, `css_file_name`, `active_status`) VALUES
(1, 'image/template_1704969100_Testimonial_Bangla_1.png', 1, 1, '0', '0', 0),
(2, 'image/template_1704961801_Testimonial_English_2.png', 2, 1, '0', '0', 0),
(3, 'image/template_1750136915_Testimonial_Bangla_1.png', 3, 1, '0', '0', 0),
(6, 'image/template_1753327360_testimonialB.png', 4, 1, '0', '0', 1),
(7, 'image/template_1753327366_testimonialE.png', 5, 1, '0', '0', 0);

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

--
-- Table structure for table `title_text_all`
--

CREATE TABLE `title_text_all` (
  `id` int(11) NOT NULL,
  `title_text_b` varchar(255) NOT NULL,
  `title_text_e` varchar(255) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

--
-- Dumping data for table `title_text_all`
--

INSERT INTO `title_text_all` (`id`, `title_text_b`, `title_text_e`) VALUES
(1, 'বেষ্ট আফ আমার স্কুল', 'ওয়েব বাজার বিডি স্মার্ট স্কুল');

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

--
-- Table structure for table `trade_name`
--

CREATE TABLE `trade_name` (
  `id` int(11) NOT NULL,
  `trade_name_bangla` varchar(255) NOT NULL,
  `trade_name_english` varchar(255) NOT NULL,
  `trade_code` varchar(255) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

--
-- Dumping data for table `trade_name`
--

INSERT INTO `trade_name` (`id`, `trade_name_bangla`, `trade_name_english`, `trade_code`) VALUES
(1, 'বেসিক ট্রেড (৩৬০ ঘন্টা )', 'Basic Trade (360 hours)', '76'),
(2, 'অ্যাডভান্সড সার্টিফিকেট', 'Advanced Certificate', '99');

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

--
-- Table structure for table `transcript_title_text_all`
--

CREATE TABLE `transcript_title_text_all` (
  `id` int(11) NOT NULL,
  `title_text_e` varchar(255) NOT NULL,
  `exam_text` varchar(255) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

--
-- Dumping data for table `transcript_title_text_all`
--

INSERT INTO `transcript_title_text_all` (`id`, `title_text_e`, `exam_text`) VALUES
(1, 'Academic Transcript', 'Annual Exam');

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

--
-- Table structure for table `trash_zi_payment`
--

CREATE TABLE `trash_zi_payment` (
  `user_pay_id` int(10) NOT NULL,
  `invoice_id` varchar(100) DEFAULT NULL,
  `student_id` varchar(100) DEFAULT NULL,
  `course_id` varchar(100) DEFAULT NULL,
  `amount` varchar(100) DEFAULT NULL,
  `payment_date` varchar(100) DEFAULT NULL,
  `total_payment` varchar(100) DEFAULT NULL,
  `due` varchar(100) DEFAULT NULL,
  `accept_name` varchar(100) DEFAULT NULL,
  `accept_id` varchar(100) DEFAULT NULL,
  `status` varchar(100) DEFAULT NULL,
  `description_name` varchar(255) DEFAULT NULL,
  `transtion_id` varchar(255) DEFAULT NULL,
  `payment_method` varchar(255) DEFAULT NULL,
  `create_at` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
  `discount` varchar(100) DEFAULT NULL,
  `discount_type` varchar(100) DEFAULT NULL,
  `survey` varchar(100) DEFAULT NULL,
  `survey_comment` varchar(100) DEFAULT NULL,
  `year_course_fee` varchar(100) DEFAULT NULL,
  `refine_amount` varchar(100) DEFAULT NULL,
  `refun_status` varchar(100) DEFAULT NULL,
  `Payment_id` varchar(100) DEFAULT NULL,
  `refundTrxID` varchar(100) DEFAULT NULL,
  `marchent_name` varchar(255) CHARACTER SET utf8 DEFAULT NULL,
  `blank_pay_dates` varchar(100) DEFAULT NULL,
  `custom_reciept` varchar(250) DEFAULT NULL,
  `delete_by_id` longtext DEFAULT NULL,
  `delete_time` varchar(150) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

--
-- Dumping data for table `trash_zi_payment`
--

INSERT INTO `trash_zi_payment` (`user_pay_id`, `invoice_id`, `student_id`, `course_id`, `amount`, `payment_date`, `total_payment`, `due`, `accept_name`, `accept_id`, `status`, `description_name`, `transtion_id`, `payment_method`, `create_at`, `discount`, `discount_type`, `survey`, `survey_comment`, `year_course_fee`, `refine_amount`, `refun_status`, `Payment_id`, `refundTrxID`, `marchent_name`, `blank_pay_dates`, `custom_reciept`, `delete_by_id`, `delete_time`) VALUES
(301, '1728015904_1624930711', '1', NULL, '9', '2024-01-01', NULL, NULL, 'student', '1', NULL, '22', 'BJ416HZL4X', 'bKash-bKash', '2024-10-04 04:25:00', '0', '', NULL, NULL, '0', NULL, NULL, 'WEB1728015846103871', NULL, 'Amarpay-marchent(bKash-bKash)', NULL, NULL, '{\"lamguage\":\"en\",\"username\":\"admin\",\"uid\":\"1\",\"name\":\"admin\",\"admins\":1}', '2024-10-06 18:42:45');

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

--
-- Table structure for table `update_info_institute`
--

CREATE TABLE `update_info_institute` (
  `id` int(11) NOT NULL,
  `institute_name` varchar(300) NOT NULL,
  `institute_address` varchar(500) NOT NULL,
  `header_name` varchar(255) NOT NULL,
  `login_title_text` varchar(255) NOT NULL,
  `institute_name_en` varchar(255) NOT NULL,
  `institute_address_en` varchar(255) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

--
-- Dumping data for table `update_info_institute`
--

INSERT INTO `update_info_institute` (`id`, `institute_name`, `institute_address`, `header_name`, `login_title_text`, `institute_name_en`, `institute_address_en`) VALUES
(1, 'Web Bazar BD', 'Kaliganj, Debiganj, Panchagarh', 'ওয়েব বাজার বিডি স্মার্ট স্কুল', 'ওয়েব বাজার বিডি স্মার্ট স্কুল', 'ওয়েব বাজার বিডি স্মার্ট স্কুল', 'কালীগঞ্জ, লালমনিরহাট');

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

--
-- Table structure for table `user_log`
--

CREATE TABLE `user_log` (
  `id` int(11) NOT NULL,
  `log_type` varchar(100) NOT NULL,
  `data` text NOT NULL,
  `title` varchar(255) NOT NULL,
  `creator_by` int(30) NOT NULL,
  `creator_by_sub_user` int(11) NOT NULL,
  `is_read` text NOT NULL,
  `is_red_sub_user` text NOT NULL,
  `created_at` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
  `status` varchar(100) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

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

--
-- Table structure for table `vigitor_entry`
--

CREATE TABLE `vigitor_entry` (
  `user_pay_id` int(10) NOT NULL,
  `invoice_id` int(11) NOT NULL,
  `student_id` varchar(300) NOT NULL,
  `course_id` int(10) NOT NULL,
  `amount` int(10) NOT NULL,
  `payment_date` varchar(16) CHARACTER SET utf8mb4 NOT NULL,
  `total_payment` varchar(10) CHARACTER SET utf8mb4 NOT NULL,
  `due` int(11) NOT NULL,
  `accept_name` varchar(255) CHARACTER SET utf8mb4 DEFAULT NULL,
  `accept_id` int(11) DEFAULT NULL,
  `status` int(2) NOT NULL COMMENT '1 = complite_payment\r\n2 = incomplite_payment',
  `description_name` varchar(255) NOT NULL,
  `transtion_id` varchar(255) DEFAULT NULL,
  `payment_method` varchar(255) DEFAULT NULL,
  `create_at` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
  `survey_comment` varchar(255) NOT NULL,
  `monthly_pay_name` varchar(255) NOT NULL,
  `course_add` varchar(255) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

--
-- Dumping data for table `vigitor_entry`
--

INSERT INTO `vigitor_entry` (`user_pay_id`, `invoice_id`, `student_id`, `course_id`, `amount`, `payment_date`, `total_payment`, `due`, `accept_name`, `accept_id`, `status`, `description_name`, `transtion_id`, `payment_method`, `create_at`, `survey_comment`, `monthly_pay_name`, `course_add`) VALUES
(35, 1677026626, 'Md Ashraful islam', 0, 0, '2023-02-22', '', 0, 'ashraful', 1, 0, '01717452764', NULL, NULL, '2023-02-22 01:41:13', 'জানুয়ারি মাসের চাদা', 'কালীগঞ্জ লালমনিরহাট রংপুর', 'Office Application');

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

--
-- Table structure for table `year_course_fee`
--

CREATE TABLE `year_course_fee` (
  `id` int(11) NOT NULL,
  `course_id` int(11) NOT NULL,
  `montly_fee` float NOT NULL,
  `total_course_fee` int(11) NOT NULL,
  `status` int(11) NOT NULL,
  `course_year_payment` varchar(100) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

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

--
-- Table structure for table `zi_mark_sheet`
--

CREATE TABLE `zi_mark_sheet` (
  `mark_id` int(11) NOT NULL,
  `student_id` varchar(100) NOT NULL,
  `condition_id` int(11) NOT NULL,
  `subject_mark` int(11) NOT NULL,
  `status` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

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

--
-- Table structure for table `zi_payment`
--

CREATE TABLE `zi_payment` (
  `user_pay_id` int(10) NOT NULL,
  `invoice_id` varchar(100) DEFAULT NULL,
  `student_id` varchar(100) DEFAULT NULL,
  `course_id` varchar(100) DEFAULT NULL,
  `amount` varchar(100) DEFAULT NULL,
  `payment_date` varchar(100) DEFAULT NULL,
  `total_payment` varchar(100) DEFAULT NULL,
  `due` varchar(100) DEFAULT NULL,
  `accept_name` varchar(100) DEFAULT NULL,
  `accept_id` varchar(100) DEFAULT NULL,
  `status` varchar(100) DEFAULT NULL,
  `description_name` varchar(255) DEFAULT NULL,
  `transtion_id` varchar(255) DEFAULT NULL,
  `payment_method` varchar(255) DEFAULT NULL,
  `create_at` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
  `discount` varchar(100) DEFAULT NULL,
  `discount_type` varchar(100) DEFAULT NULL,
  `survey` varchar(100) DEFAULT NULL,
  `survey_comment` varchar(100) DEFAULT NULL,
  `year_course_fee` varchar(100) DEFAULT NULL,
  `refine_amount` varchar(100) DEFAULT NULL,
  `refun_status` varchar(100) DEFAULT NULL,
  `Payment_id` varchar(100) DEFAULT NULL,
  `refundTrxID` varchar(100) DEFAULT NULL,
  `marchent_name` varchar(255) CHARACTER SET utf8 DEFAULT NULL,
  `blank_pay_dates` varchar(100) DEFAULT NULL,
  `custom_reciept` varchar(250) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

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

--
-- Table structure for table `zk_device_auth`
--

CREATE TABLE `zk_device_auth` (
  `id` int(11) NOT NULL,
  `auth1` varchar(250) NOT NULL,
  `auth2` varchar(250) NOT NULL,
  `auth3` varchar(250) NOT NULL,
  `auth4` varchar(250) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

--
-- Dumping data for table `zk_device_auth`
--

INSERT INTO `zk_device_auth` (`id`, `auth1`, `auth2`, `auth3`, `auth4`) VALUES
(5, 'rszqs', '1000', '2024-08-04', '2024-07-03');

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

--
-- Table structure for table `zk_institute_short_name`
--

CREATE TABLE `zk_institute_short_name` (
  `id` int(20) NOT NULL,
  `short_name` varchar(250) NOT NULL,
  `type` varchar(250) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

--
-- Dumping data for table `zk_institute_short_name`
--

INSERT INTO `zk_institute_short_name` (`id`, `short_name`, `type`) VALUES
(8, 'কালীগঞ্জ ইকরা একডেমি, লালমনিরহাট', 'bangla'),
(9, 'Kaliganj Ikra Academy, Lalmonirhat', 'english'),
(10, 'http://localhost/webbazar_smartschool_v1', 'visitlink');

--
-- Indexes for dumped tables
--

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

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

--
-- Indexes for table `academic_year`
--
ALTER TABLE `academic_year`
  ADD PRIMARY KEY (`academic_year_id`);

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

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

--
-- Indexes for table `accounting_bank_transactions`
--
ALTER TABLE `accounting_bank_transactions`
  ADD PRIMARY KEY (`id`),
  ADD KEY `bank_account_id` (`bank_account_id`);

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

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

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

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

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

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

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

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

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

--
-- Indexes for table `accounting_particular_amount_v5`
--
ALTER TABLE `accounting_particular_amount_v5`
  ADD PRIMARY KEY (`id`),
  ADD KEY `idx_particular_amount_lookup` (`course_id`,`branch_id`,`gender`,`particular_id`,`amount`);

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

--
-- Indexes for table `attendance_sms_log`
--
ALTER TABLE `attendance_sms_log`
  ADD PRIMARY KEY (`id`),
  ADD KEY `student_id` (`student_id`),
  ADD KEY `date` (`date`),
  ADD KEY `sent_status` (`sent_status`);

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

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

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

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

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

--
-- Indexes for table `batch`
--
ALTER TABLE `batch`
  ADD PRIMARY KEY (`betch_id`);

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

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

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

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

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

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

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

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

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

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

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

--
-- Indexes for table `class_test_exam`
--
ALTER TABLE `class_test_exam`
  ADD PRIMARY KEY (`mark_id`);

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

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

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

--
-- Indexes for table `course`
--
ALTER TABLE `course`
  ADD PRIMARY KEY (`id`),
  ADD KEY `idx_course_lookup` (`id`,`course`);

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

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

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

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

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

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

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

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

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

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

--
-- Indexes for table `expense`
--
ALTER TABLE `expense`
  ADD PRIMARY KEY (`expense_id`);

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

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

--
-- Indexes for table `guardian_card_expiry`
--
ALTER TABLE `guardian_card_expiry`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `unique_course_year` (`course_id`,`academic_year`);

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

--
-- Indexes for table `hold_results`
--
ALTER TABLE `hold_results`
  ADD PRIMARY KEY (`id`),
  ADD KEY `course_id` (`course_id`),
  ADD KEY `year` (`year`),
  ADD KEY `exam_id` (`exam_id`),
  ADD KEY `student_id` (`student_id`);

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

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

--
-- Indexes for table `income`
--
ALTER TABLE `income`
  ADD PRIMARY KEY (`income_id`);

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

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

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

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

--
-- Indexes for table `jh_payment`
--
ALTER TABLE `jh_payment`
  ADD PRIMARY KEY (`user_pay_id`);

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

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

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

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

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

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

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

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

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

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

--
-- Indexes for table `operator_description`
--
ALTER TABLE `operator_description`
  ADD PRIMARY KEY (`op_id`);

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

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

--
-- Indexes for table `person_categories`
--
ALTER TABLE `person_categories`
  ADD PRIMARY KEY (`cat_id`);

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

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

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

--
-- Indexes for table `p_invoice`
--
ALTER TABLE `p_invoice`
  ADD PRIMARY KEY (`p_in_id`);

--
-- Indexes for table `p_invoice_temp`
--
ALTER TABLE `p_invoice_temp`
  ADD PRIMARY KEY (`temp_in_id`);

--
-- Indexes for table `p_product`
--
ALTER TABLE `p_product`
  ADD PRIMARY KEY (`p_id`);

--
-- Indexes for table `quota_student`
--
ALTER TABLE `quota_student`
  ADD PRIMARY KEY (`quota_stu_id`);

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

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

--
-- Indexes for table `role_permissions`
--
ALTER TABLE `role_permissions`
  ADD PRIMARY KEY (`role_id`,`permission_id`),
  ADD KEY `permission_id` (`permission_id`);

--
-- Indexes for table `room`
--
ALTER TABLE `room`
  ADD PRIMARY KEY (`room_id`);

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

--
-- Indexes for table `student_subject_selection`
--
ALTER TABLE `student_subject_selection`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `unique_student_subject` (`student_id`,`subject_id`);

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

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

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

--
-- Indexes for table `stu_attendance`
--
ALTER TABLE `stu_attendance`
  ADD PRIMARY KEY (`at_id`);

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

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

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

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

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

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

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

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

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

--
-- Indexes for table `temporary_exams`
--
ALTER TABLE `temporary_exams`
  ADD PRIMARY KEY (`id`),
  ADD KEY `course_id` (`course_id`);

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

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

--
-- Indexes for table `temporary_fee_request`
--
ALTER TABLE `temporary_fee_request`
  ADD PRIMARY KEY (`id`),
  ADD KEY `student_id` (`student_id`),
  ADD KEY `course` (`course`),
  ADD KEY `exam_id` (`exam_id`),
  ADD KEY `payment_method_id` (`payment_method_id`);

--
-- Indexes for table `temporary_fee_settings`
--
ALTER TABLE `temporary_fee_settings`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `unique_fee_setting` (`year`,`exam_type`,`course`);

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

--
-- Indexes for table `temporary_manual_payments`
--
ALTER TABLE `temporary_manual_payments`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `payment_id` (`payment_id`);

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

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

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

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

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

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

--
-- Indexes for table `trash_zi_payment`
--
ALTER TABLE `trash_zi_payment`
  ADD PRIMARY KEY (`user_pay_id`);

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

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

--
-- Indexes for table `vigitor_entry`
--
ALTER TABLE `vigitor_entry`
  ADD PRIMARY KEY (`user_pay_id`);

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

--
-- Indexes for table `zi_mark_sheet`
--
ALTER TABLE `zi_mark_sheet`
  ADD PRIMARY KEY (`mark_id`);

--
-- Indexes for table `zi_payment`
--
ALTER TABLE `zi_payment`
  ADD PRIMARY KEY (`user_pay_id`);

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

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

--
-- AUTO_INCREMENT for dumped tables
--

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

--
-- AUTO_INCREMENT for table `all_jakat`
--
ALTER TABLE `all_jakat`
  MODIFY `id` int(20) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `all_tax`
--
ALTER TABLE `all_tax`
  MODIFY `id` int(10) NOT NULL AUTO_INCREMENT;

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

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

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

--
-- AUTO_INCREMENT for table `attendance_history`
--
ALTER TABLE `attendance_history`
  MODIFY `id` int(20) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=598333;

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

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

--
-- AUTO_INCREMENT for table `attendance_live_notice`
--
ALTER TABLE `attendance_live_notice`
  MODIFY `id` int(20) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=9;

--
-- AUTO_INCREMENT for table `attendance_report`
--
ALTER TABLE `attendance_report`
  MODIFY `id` int(20) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=67;

--
-- AUTO_INCREMENT for table `attendance_sms_config`
--
ALTER TABLE `attendance_sms_config`
  MODIFY `id` int(20) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=57;

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

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

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

--
-- AUTO_INCREMENT for table `bank_invoice`
--
ALTER TABLE `bank_invoice`
  MODIFY `id` int(20) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `bank_list`
--
ALTER TABLE `bank_list`
  MODIFY `id` int(20) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=5;

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

--
-- AUTO_INCREMENT for table `billing_invoice`
--
ALTER TABLE `billing_invoice`
  MODIFY `id` int(20) NOT NULL AUTO_INCREMENT;

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

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

--
-- AUTO_INCREMENT for table `branch`
--
ALTER TABLE `branch`
  MODIFY `id` int(255) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=8;

--
-- AUTO_INCREMENT for table `categories`
--
ALTER TABLE `categories`
  MODIFY `id` int(20) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=31;

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

--
-- AUTO_INCREMENT for table `certificate_id_card_template`
--
ALTER TABLE `certificate_id_card_template`
  MODIFY `id` int(20) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=8;

--
-- AUTO_INCREMENT for table `class_routine`
--
ALTER TABLE `class_routine`
  MODIFY `id` int(20) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=9;

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

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

--
-- AUTO_INCREMENT for table `class_test_exam`
--
ALTER TABLE `class_test_exam`
  MODIFY `mark_id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=59;

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

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

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

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

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

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

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

--
-- AUTO_INCREMENT for table `device_connect`
--
ALTER TABLE `device_connect`
  MODIFY `id` int(20) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=78;

--
-- AUTO_INCREMENT for table `discount`
--
ALTER TABLE `discount`
  MODIFY `id` int(20) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `donar`
--
ALTER TABLE `donar`
  MODIFY `id` int(20) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=5;

--
-- AUTO_INCREMENT for table `examination_name`
--
ALTER TABLE `examination_name`
  MODIFY `id` int(20) NOT NULL AUTO_INCREMENT;

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

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

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

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

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

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

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

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

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

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

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

--
-- AUTO_INCREMENT for table `income`
--
ALTER TABLE `income`
  MODIFY `income_id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=12;

--
-- AUTO_INCREMENT for table `information`
--
ALTER TABLE `information`
  MODIFY `id` int(20) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=538;

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

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

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

--
-- AUTO_INCREMENT for table `jh_payment`
--
ALTER TABLE `jh_payment`
  MODIFY `user_pay_id` int(10) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=98;

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

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

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

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

--
-- AUTO_INCREMENT for table `logo`
--
ALTER TABLE `logo`
  MODIFY `id` int(20) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `migrations`
--
ALTER TABLE `migrations`
  MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT;

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

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

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

--
-- AUTO_INCREMENT for table `online_notice`
--
ALTER TABLE `online_notice`
  MODIFY `id` int(20) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=5;

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

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

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

--
-- AUTO_INCREMENT for table `person_categories`
--
ALTER TABLE `person_categories`
  MODIFY `cat_id` int(20) NOT NULL AUTO_INCREMENT;

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

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

--
-- AUTO_INCREMENT for table `p_customer_categories`
--
ALTER TABLE `p_customer_categories`
  MODIFY `id` int(20) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=5;

--
-- AUTO_INCREMENT for table `p_invoice`
--
ALTER TABLE `p_invoice`
  MODIFY `p_in_id` int(10) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=7;

--
-- AUTO_INCREMENT for table `p_invoice_temp`
--
ALTER TABLE `p_invoice_temp`
  MODIFY `temp_in_id` int(20) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=5;

--
-- AUTO_INCREMENT for table `p_product`
--
ALTER TABLE `p_product`
  MODIFY `p_id` int(20) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3;

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

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

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

--
-- AUTO_INCREMENT for table `room`
--
ALTER TABLE `room`
  MODIFY `room_id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=12;

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

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

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

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

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

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

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

--
-- AUTO_INCREMENT for table `share_holder`
--
ALTER TABLE `share_holder`
  MODIFY `id` int(20) NOT NULL AUTO_INCREMENT;

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

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

--
-- AUTO_INCREMENT for table `sms_config`
--
ALTER TABLE `sms_config`
  MODIFY `id` int(10) NOT NULL AUTO_INCREMENT;

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

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

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

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

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

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

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

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

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

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

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

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

--
-- AUTO_INCREMENT for table `student_id_card_template`
--
ALTER TABLE `student_id_card_template`
  MODIFY `id` int(20) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=19;

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

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

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

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

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

--
-- AUTO_INCREMENT for table `stu_attendance`
--
ALTER TABLE `stu_attendance`
  MODIFY `at_id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=18;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

--
-- AUTO_INCREMENT for table `testimonial_id_card_template`
--
ALTER TABLE `testimonial_id_card_template`
  MODIFY `id` int(20) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=8;

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

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

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

--
-- AUTO_INCREMENT for table `trash_zi_payment`
--
ALTER TABLE `trash_zi_payment`
  MODIFY `user_pay_id` int(10) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=302;

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

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

--
-- AUTO_INCREMENT for table `vigitor_entry`
--
ALTER TABLE `vigitor_entry`
  MODIFY `user_pay_id` int(10) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=36;

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

--
-- AUTO_INCREMENT for table `zi_mark_sheet`
--
ALTER TABLE `zi_mark_sheet`
  MODIFY `mark_id` int(11) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `zi_payment`
--
ALTER TABLE `zi_payment`
  MODIFY `user_pay_id` int(10) NOT NULL AUTO_INCREMENT;

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

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

--
-- Constraints for dumped tables
--

--
-- Constraints for table `accounting_bank_transactions`
--
ALTER TABLE `accounting_bank_transactions`
  ADD CONSTRAINT `accounting_bank_transactions_ibfk_1` FOREIGN KEY (`bank_account_id`) REFERENCES `accounting_bank_accounts` (`id`);

--
-- Constraints for table `temporary_exams`
--
ALTER TABLE `temporary_exams`
  ADD CONSTRAINT `temporary_exams_ibfk_1` FOREIGN KEY (`course_id`) REFERENCES `course` (`id`);

--
-- Constraints for table `temporary_fee_request`
--
ALTER TABLE `temporary_fee_request`
  ADD CONSTRAINT `temporary_fee_request_ibfk_1` FOREIGN KEY (`student_id`) REFERENCES `temporary_admissions` (`id`),
  ADD CONSTRAINT `temporary_fee_request_ibfk_2` FOREIGN KEY (`course`) REFERENCES `course` (`id`),
  ADD CONSTRAINT `temporary_fee_request_ibfk_3` FOREIGN KEY (`exam_id`) REFERENCES `temporary_exams` (`id`),
  ADD CONSTRAINT `temporary_fee_request_ibfk_4` FOREIGN KEY (`payment_method_id`) REFERENCES `accounting_payment_method_v5` (`id`);
COMMIT;

