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

START TRANSACTION;



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

--
-- Table structure for table `booking`
--

CREATE TABLE `booking` (
  `Booking_id` int(11) NOT NULL,
  `Name` varchar(255) NOT NULL,
  `email` varchar(255) NOT NULL,
  `contact` varchar(20) NOT NULL,
  `person` int(11) NOT NULL,
  `DepartureCity` varchar(255) NOT NULL,
  `DepartureDate` date NOT NULL,
  `PackageName` varchar(255) NOT NULL,
  `PackageType` varchar(255) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

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

--
-- Table structure for table `contact_us`
--

CREATE TABLE `contact_us` (
  `Contact_id` int(11) NOT NULL,
  `Name` varchar(255) NOT NULL,
  `Email` varchar(255) NOT NULL,
  `Contact` varchar(20) NOT NULL,
  `Address` varchar(255) DEFAULT NULL,
  `Message` text DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

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

--
-- Table structure for table `options`
--

CREATE TABLE `options` (
  `id` int(11) NOT NULL,
  `package_id` int(11) DEFAULT NULL,
  `image` varchar(255) DEFAULT NULL,
  `price` decimal(10,2) DEFAULT NULL,
  `type` varchar(255) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

--
-- Dumping data for table `options`
--

INSERT INTO `options` (`id`, `package_id`, `image`, `price`, `type`) VALUES
(1, 1, '', 0.00, 'economy'),
(2, 1, '', 0.00, 'standard'),
(3, 1, '', 0.00, 'delux'),
(4, 0, '', 0.00, 'economy'),
(5, 0, '', 0.00, 'standard'),
(6, 0, '', 0.00, 'delux'),
(7, 0, '', 0.00, 'economy'),
(8, 0, '', 0.00, 'standard'),
(9, 0, '', 0.00, 'delux'),
(10, 0, '', 0.00, 'economy'),
(11, 0, '', 0.00, 'standard'),
(12, 0, '', 0.00, 'delux'),
(13, 0, '', 0.00, 'economy'),
(14, 0, '', 0.00, 'standard'),
(15, 0, '', 0.00, 'delux'),
(16, 0, '', 0.00, 'economy'),
(17, 0, '', 0.00, 'standard'),
(18, 0, '', 0.00, 'delux'),
(19, 0, '', 0.00, 'economy'),
(20, 0, '', 0.00, 'standard'),
(21, 0, '', 0.00, 'delux'),
(22, 0, '', 1500.00, 'economy'),
(23, 0, '', 2500.00, 'standard'),
(24, 0, '', 4500.00, 'delux'),
(25, 0, '', 1500.00, 'economy'),
(26, 0, '', 2500.00, 'standard'),
(27, 0, '', 4500.00, 'delux');

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

--
-- Table structure for table `packages`
--

CREATE TABLE `packages` (
  `package_id` int(11) NOT NULL,
  `package_name` varchar(255) DEFAULT NULL,
  `main_image` varchar(255) DEFAULT NULL,
  `side_image` varchar(255) DEFAULT NULL,
  `cover_image` varchar(255) DEFAULT NULL,
  `province` varchar(255) DEFAULT NULL,
  `price` decimal(10,2) DEFAULT NULL,
  `info` text DEFAULT NULL,
  `overview` text DEFAULT NULL,
  `itinerary` text DEFAULT NULL,
  `note` text DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

--
-- Dumping data for table `packages`
--

INSERT INTO `packages` (`package_id`, `package_name`, `main_image`, `side_image`, `cover_image`, `province`, `price`, `info`, `overview`, `itinerary`, `note`) VALUES
(1, '', '', '', '', 'Azad Kashmir', 0.00, '', '', '', '');

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

--
-- Table structure for table `payments`
--

CREATE TABLE `payments` (
  `payment_id` int(11) NOT NULL,
  `item_number` varchar(255) NOT NULL,
  `txn_id` varchar(255) NOT NULL,
  `payment_amount` decimal(10,2) NOT NULL,
  `currency_code` varchar(3) NOT NULL,
  `payment_status` varchar(20) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

--
-- Indexes for table `booking`
--
ALTER TABLE `booking`
  ADD PRIMARY KEY (`Booking_id`);

--
-- Indexes for table `contact_us`
--
ALTER TABLE `contact_us`
  ADD PRIMARY KEY (`Contact_id`);

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

--
-- Indexes for table `packages`
--
ALTER TABLE `packages`
  ADD PRIMARY KEY (`package_id`);

--
-- Indexes for table `payments`
--
ALTER TABLE `payments`
  ADD PRIMARY KEY (`payment_id`);

--
-- AUTO_INCREMENT for table `booking`
--
ALTER TABLE `booking`
  MODIFY `Booking_id` int(11) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `contact_us`
--
ALTER TABLE `contact_us`
  MODIFY `Contact_id` int(11) NOT NULL AUTO_INCREMENT;

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

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

--
-- AUTO_INCREMENT for table `payments`
--
ALTER TABLE `payments`
  MODIFY `payment_id` int(11) NOT NULL AUTO_INCREMENT;
COMMIT;

