-- phpMyAdmin SQL Dump
-- version 4.4.14
-- http://www.phpmyadmin.net
--
-- Host: 127.0.0.1
-- Generation Time: Feb 27, 2023 at 04:57 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 `doorlock`
--

CREATE TABLE IF NOT EXISTS `doorlock` (
  `id` int(20) NOT NULL,
  `type` varchar(40) NOT NULL,
  `description` text NOT NULL,
  `status` varchar(40) NOT NULL,
  `createdat` varchar(100) NOT NULL,
  `updatedat` varchar(100) NOT NULL,
  `userid` varchar(100) NOT NULL,
  `name` varchar(50) NOT NULL,
  `companyid` int(5) NOT NULL DEFAULT '1',
  `branchid` int(20) DEFAULT NULL,
  `guest` varchar(50) NOT NULL,
  `roomtype` varchar(50) NOT NULL,
  `roomno` varchar(50) NOT NULL,
  `guesttype` varchar(50) NOT NULL,
  `chargetype` varchar(50) NOT NULL,
  `issuedqty` varchar(50) NOT NULL,
  `recycledcardqty` varchar(50) NOT NULL,
  `state` varchar(50) NOT NULL,
  `checkintime` varchar(50) NOT NULL,
  `departuretime` varchar(50) NOT NULL,
  `vouchertype` varchar(50) NOT NULL,
  `voucherno` varchar(50) NOT NULL,
  `checkouttime` varchar(50) NOT NULL,
  `area1` varchar(50) NOT NULL,
  `area2` varchar(50) NOT NULL,
  `operator` varchar(50) NOT NULL,
  `remark` varchar(50) NOT NULL,
  `familyroom` varchar(50) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Indexes for dumped tables
--

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

--
-- AUTO_INCREMENT for dumped tables
--

--
-- AUTO_INCREMENT for table `doorlock`
--
ALTER TABLE `doorlock`
  MODIFY `id` int(20) NOT NULL AUTO_INCREMENT;
/*!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 */;
