-- phpMyAdmin SQL Dump
-- version 4.4.14
-- http://www.phpmyadmin.net
--
-- Host: 127.0.0.1
-- Generation Time: May 16, 2023 at 11:33 AM
-- Server version: 5.6.26
-- PHP Version: 5.6.12

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


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

--
-- Database: `robipos`
--

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

--
-- Table structure for table `beds`
--

CREATE TABLE IF NOT EXISTS `beds` (
  `id` int(11) NOT NULL,
  `houseno` varchar(100) NOT NULL,
  `status` varchar(40) NOT NULL DEFAULT 'active',
  `createdat` varchar(100) NOT NULL,
  `updatedat` varchar(100) NOT NULL,
  `userid` varchar(100) NOT NULL,
  `name` varchar(50) NOT NULL,
  `companyid` varchar(30) NOT NULL,
  `roomid` varchar(20) NOT NULL,
  `plotno` varchar(20) DEFAULT NULL,
  `description` text NOT NULL,
  `chargeid` int(20) DEFAULT NULL
) ENGINE=InnoDB AUTO_INCREMENT=11 DEFAULT CHARSET=latin1;

--
-- Dumping data for table `beds`
--

INSERT INTO `beds` (`id`, `houseno`, `status`, `createdat`, `updatedat`, `userid`, `name`, `companyid`, `roomid`, `plotno`, `description`, `chargeid`) VALUES
(1, 'xxxxxxxxx', 'occupied', '2023-05-12 02:34:32pm', '', '1', 'Bed B', '1', '10', '1', 'Bed B', NULL),
(3, 'xxxxxxxxx', 'active', '2023-05-12 02:34:44pm', '', '1', 'BB', '1', '10', '1', 'BB', NULL),
(6, '101', 'active', '2023-05-12 03:21:34pm', '', '1', 'BED A', '1', '1', '1', 'BED A', NULL),
(7, '101', 'active', '2023-05-12 03:21:42pm', '2023-05-16 04:44:42am', '1', 'BED B1', '1', '1', '1', 'BED B1', NULL),
(8, '107B', 'active', '2023-05-12 03:26:34pm', '', '1', 'B1', '1', '8', '1', 'B1', NULL),
(9, '102', 'active', '2023-05-12 04:21:23pm', '', '1', 'BED A', '1', '2', '1', 'BED A', NULL),
(10, '102', 'active', '2023-05-12 04:21:37pm', '', '1', 'BED B', '1', '2', '1', 'BED B', NULL);

--
-- Indexes for dumped tables
--

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

--
-- AUTO_INCREMENT for dumped tables
--

--
-- AUTO_INCREMENT for table `beds`
--
ALTER TABLE `beds`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT,AUTO_INCREMENT=11;
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
