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

START TRANSACTION;



--
-- Database: `346178_db_drink_note`
--

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

--
-- Table structure for table `board`
--

CREATE TABLE `board` (
  `Id` int(11) UNSIGNED ZEROFILL NOT NULL,
  `Service` int(11) DEFAULT NULL,
  `Amount` decimal(8,2) DEFAULT NULL,
  `Category` int(11) DEFAULT NULL,
  `Ubication` int(11) DEFAULT NULL,
  `UserCreate` int(11) DEFAULT NULL,
  `Status` int(11) NOT NULL,
  `Pay` int(1) NOT NULL,
  `DateCreate` datetime DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `board`
--

INSERT INTO `board` (`Id`, `Service`, `Amount`, `Category`, `Ubication`, `UserCreate`, `Status`, `Pay`, `DateCreate`) VALUES
(00000000133, 1, '175.00', 1, 1, 4, 0, 1, '2019-01-07 16:05:25'),
(00000000134, 2, '1500.00', 2, 3, 3, 0, 1, '2019-01-07 16:18:29'),
(00000000135, 2, '1500.00', 2, 1, 3, 0, 1, '2019-01-07 16:30:17'),
(00000000136, 1, '175.00', 1, 4, 3, 0, 1, '2019-01-07 17:17:10'),
(00000000137, 13, '200.00', 4, 6, 3, 0, 1, '2019-01-07 17:17:16'),
(00000000138, 16, '1100.00', 2, 16, 3, 0, 1, '2019-01-07 17:17:21'),
(00000000139, 20, '850.00', 5, 14, 3, 0, 0, '2019-01-07 17:18:17'),
(00000000140, 16, '1100.00', 2, 1, 3, 0, 1, '2019-01-08 00:11:40'),
(00000000141, 16, '1100.00', 2, 12, 3, 0, 1, '2019-01-08 00:11:48'),
(00000000142, 2, '1500.00', 2, 14, 3, 1, 0, '2019-01-08 00:35:05'),
(00000000143, 1, '175.00', 1, 1, 3, 0, 1, '2019-01-08 00:36:07'),
(00000000144, 17, '142.00', 1, 1, 3, 0, 1, '2019-01-08 19:47:51'),
(00000000145, 1, '175.00', 1, 1, 3, 0, 1, '2019-01-09 10:57:15'),
(00000000146, 2, '1500.00', 2, 1, 3, 0, 1, '2019-01-09 10:57:37'),
(00000000147, 2, '132.00', 3, 1, 4, 0, 1, '2019-01-09 10:59:59'),
(00000000148, 2, '1500.00', 2, 3, 3, 1, 0, '2019-01-09 11:00:52'),
(00000000149, 1, '175.00', 1, 3, 3, 0, 0, '2019-01-10 21:07:54'),
(00000000150, 1, '175.00', 1, 1, 3, 0, 1, '2019-01-11 21:07:54'),
(00000000151, 2, '1500.00', 2, 1, 3, 0, 1, '2019-01-11 11:11:32'),
(00000000152, 1, '175.00', 1, 1, 3, 0, 1, '2019-01-11 21:07:54'),
(00000000153, 1, '175.00', 1, 2, 3, 0, 1, '2019-01-10 21:18:24'),
(00000000154, 1, '175.00', 1, 1, 3, 0, 1, '2019-01-11 22:58:10'),
(00000000155, 1, '175.00', 1, 1, 3, 0, 1, '2019-01-11 09:12:53'),
(00000000156, 1, '175.00', 1, 1, 3, 0, 1, '2019-01-11 09:27:53'),
(00000000157, 1, '175.00', 1, 1, 3, 0, 1, '2019-01-11 09:07:53'),
(00000000158, 1, '175.00', 1, 1, 3, 0, 1, '2019-01-10 09:17:46'),
(00000000159, 2, '1500.00', 2, 1, 3, 0, 1, '2019-01-10 09:17:49'),
(00000000160, 1, '175.00', 1, 1, 3, 0, 1, '2019-01-10 09:17:53'),
(00000000161, 18, '240.00', 4, 14, 3, 1, 0, '2019-01-11 13:24:41'),
(00000000162, 1, '175.00', 1, 1, 3, 0, 1, '2019-01-11 13:27:07'),
(00000000163, 1, '175.00', 1, 1, 3, 0, 1, '2019-01-11 18:04:58'),
(00000000164, 21, '25.00', 6, 5, 3, 1, 0, '2019-01-12 15:42:05'),
(00000000165, 18, '240.00', 4, 5, 3, 0, 0, '2019-01-12 15:42:10'),
(00000000166, 1, '175.00', 1, 10, 3, 0, 0, '2019-03-15 21:36:17'),
(00000000167, 1, '175.00', 1, 10, 3, 0, 0, '2019-03-15 21:36:30'),
(00000000168, 1, '175.00', 1, 10, 3, 0, 0, '2019-03-15 23:11:13'),
(00000000169, 14, '130.00', 1, 1, 3, 0, 1, '2019-05-31 12:51:51'),
(00000000170, 2, '1500.00', 2, 5, 3, 1, 0, '2019-05-31 12:55:43'),
(00000000171, 13, '200.00', 4, 5, 3, 0, 0, '2019-05-31 12:55:58'),
(00000000172, 2, '1500.00', 2, 1, 3, 0, 1, '2019-10-01 13:52:00'),
(00000000173, 2, '1500.00', 2, 2, 3, 0, 1, '2019-10-03 14:15:49'),
(00000000174, 22, '130.00', 7, 16, 3, 1, 0, '2020-05-28 22:17:45'),
(00000000175, 13, '200.00', 4, 16, 3, 0, 0, '2020-05-28 22:18:24'),
(00000000176, 3, '250.00', 3, 16, 3, 0, 0, '2020-05-28 22:18:59'),
(00000000177, 14, '130.00', 1, 16, 3, 0, 0, '2020-05-28 22:19:23'),
(00000000178, 13, '200.00', 4, 11, 3, 0, 0, '2021-08-12 10:06:02'),
(00000000179, 2, '1500.00', 2, 3, 3, 0, 0, '2021-08-16 15:03:58');

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

--
-- Table structure for table `comment_services`
--

CREATE TABLE `comment_services` (
  `Id` int(11) NOT NULL,
  `Ubication` int(11) DEFAULT NULL,
  `Services` int(11) DEFAULT NULL,
  `UserComment` int(11) NOT NULL,
  `Description` varchar(4000) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `comment_services`
--

INSERT INTO `comment_services` (`Id`, `Ubication`, `Services`, `UserComment`, `Description`) VALUES
(73, 2, 16, 3, 'Ffr'),
(74, 1, 1, 3, 'Vc'),
(75, 1, 1, 3, 'Kf'),
(76, 1, 1, 3, 'Uu'),
(77, 1, 16, 3, 'Ff'),
(78, 1, 1, 3, 'Gy'),
(79, 1, 1, 3, 'Ll'),
(80, 1, 1, 3, 'Kk'),
(81, 1, 1, 3, 'Jj'),
(82, 1, 1, 3, 'Jjh'),
(83, 2, 1, 3, 'K'),
(84, 2, 1, 3, 'Jj'),
(85, 1, 1, 3, 'Jj'),
(86, 1, 1, 3, 'Yy'),
(87, 1, 1, 3, 'Kk'),
(88, 1, 1, 3, 'Jzj'),
(89, 1, 1, 3, 'H'),
(90, 1, 1, 3, 'H'),
(91, 1, 1, 3, 'Hh'),
(92, 1, 1, 3, 'H'),
(93, 1, 1, 3, 'Xj'),
(94, 1, 1, 3, 'Bxjx'),
(95, 1, 1, 3, 'Kxkf'),
(96, 1, 1, 3, 'Jfj'),
(97, 1, 1, 3, 'Jsj'),
(98, 1, 1, 3, 'Jsj'),
(99, 1, 1, 3, 'Nsjz'),
(100, 1, 1, 3, 'Hsj'),
(101, 1, 1, 3, 'Jsj'),
(102, 1, 1, 3, 'Mx'),
(103, 1, 1, 3, 'Lxlx'),
(104, 1, 1, 3, 'Xllx'),
(105, 1, 1, 3, 'Lxlx'),
(106, 1, 1, 3, 'Ksk'),
(107, 1, 1, 3, 'Kdkd'),
(108, 1, 1, 3, 'Jj'),
(109, 1, 2, 3, 'Bh'),
(110, 1, 1, 3, 'Jgjg'),
(111, 1, 2, 3, 'Kgkf'),
(112, 1, 1, 3, 'Jj'),
(113, 1, 1, 3, 'Lk'),
(114, 1, 1, 3, 'Jfj'),
(115, 1, 2, 3, 'Vv'),
(116, 1, 1, 3, 'Hh'),
(117, 1, 1, 3, 'Kfkd'),
(118, 1, 2, 3, 'Jd'),
(119, 1, 2, 3, 'No va'),
(120, 5, 21, 3, 'Mee '),
(121, 5, 2, 3, 'No se '),
(122, 14, 2, 3, 'No me corresponde '),
(123, 14, 18, 3, 'error'),
(124, 16, 22, 3, 'Pedido incorrecto '),
(125, 3, 2, 3, 'me did last gana');

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

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

CREATE TABLE `company` (
  `Id` int(11) NOT NULL,
  `Company_Desc` varchar(100) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

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

INSERT INTO `company` (`Id`, `Company_Desc`) VALUES
(1, 'Hangar'),
(2, 'Tele-Oferta');

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

--
-- Table structure for table `profile`
--

CREATE TABLE `profile` (
  `Id` int(11) NOT NULL,
  `Profile_Desc` varchar(50) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `profile`
--

INSERT INTO `profile` (`Id`, `Profile_Desc`) VALUES
(1, 'Administrator'),
(2, 'Waiter');

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

--
-- Table structure for table `rooms`
--

CREATE TABLE `rooms` (
  `IdRoom` int(11) UNSIGNED ZEROFILL NOT NULL,
  `WaiterRoom` int(11) NOT NULL,
  `RoomUbication` int(11) DEFAULT NULL,
  `Status` bit(1) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `rooms`
--

INSERT INTO `rooms` (`IdRoom`, `WaiterRoom`, `RoomUbication`, `Status`) VALUES
(00000000001, 4, 1, b'1'),
(00000000002, 4, 2, b'1'),
(00000000003, 2, 3, b'0'),
(00000000004, 4, 4, b'1'),
(00000000005, 2, 5, b'0'),
(00000000006, 2, 6, b'1'),
(00000000007, 4, 5, b'0'),
(00000000008, 4, 10, b'0'),
(00000000009, 4, 11, b'0'),
(00000000010, 4, 12, b'1'),
(00000000011, 4, 14, b'1'),
(00000000012, 4, 15, b'1'),
(00000000013, 4, 16, b'0');

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

--
-- Table structure for table `services`
--

CREATE TABLE `services` (
  `Id` int(11) UNSIGNED ZEROFILL NOT NULL,
  `Name` varchar(40) DEFAULT NULL,
  `Amount` decimal(8,2) DEFAULT NULL,
  `Category` int(11) DEFAULT NULL,
  `Status` bit(1) DEFAULT NULL,
  `Images` varchar(100) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `services`
--

INSERT INTO `services` (`Id`, `Name`, `Amount`, `Category`, `Status`, `Images`) VALUES
(00000000001, 'Presidente Light', '175.00', 1, b'1', 'images/services/presidente_light.png'),
(00000000002, 'J.W. Black Label', '1500.00', 2, b'1', 'images/services/black_label.png'),
(00000000003, 'Brugal Extra Viejo', '250.00', 3, b'0', 'images/services/extra_viejo.png'),
(00000000013, 'Alitas Picantes', '200.00', 4, b'1', 'images/services/alitas.png'),
(00000000014, 'Presidente Normal', '130.00', 1, b'1', 'images/services/presidente_light.png'),
(00000000015, 'Something Special', '1300.00', 2, b'0', 'images/services/something_special.png'),
(00000000016, 'J.W. Red Label', '1100.00', 2, b'1', 'images/services/red_label.png'),
(00000000017, 'Brugal Blanco', '142.00', 1, b'1', 'images/services/brugal_blanco.png'),
(00000000018, 'Pica Pollo Grande', '240.00', 4, b'1', 'images/services/pica_pollo.png'),
(00000000019, 'Frontera', '600.00', 5, b'1', 'images/services/frontera.png'),
(00000000020, 'Casillero del Diablo', '850.00', 5, b'1', 'images/services/casillero_del_diablo.png'),
(00000000021, 'Coca Cola 16 oz', '25.00', 6, b'1', 'images/services/coca_cola.png'),
(00000000022, 'Red Bull', '130.00', 7, b'1', 'images/services/red_bull.png');

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

--
-- Table structure for table `services_category`
--

CREATE TABLE `services_category` (
  `id` int(11) NOT NULL,
  `category_desc` varchar(30) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `services_category`
--

INSERT INTO `services_category` (`id`, `category_desc`) VALUES
(1, 'Cerveza'),
(2, 'Wisky'),
(3, 'Ron'),
(4, 'Alimentos'),
(5, 'Vinos'),
(6, 'Gaseosa'),
(7, 'Energizante');

--
-- Indexes for dumped tables
--

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

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

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

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

--
-- Indexes for table `rooms`
--
ALTER TABLE `rooms`
  ADD PRIMARY KEY (`IdRoom`);

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

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

--
-- AUTO_INCREMENT for dumped tables
--

--
-- AUTO_INCREMENT for table `board`
--
ALTER TABLE `board`
  MODIFY `Id` int(11) UNSIGNED ZEROFILL NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=180;

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

--
-- AUTO_INCREMENT for table `rooms`
--
ALTER TABLE `rooms`
  MODIFY `IdRoom` int(11) UNSIGNED ZEROFILL NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=14;

--
-- AUTO_INCREMENT for table `services`
--
ALTER TABLE `services`
  MODIFY `Id` int(11) UNSIGNED ZEROFILL NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=23;

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

