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

START TRANSACTION;



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

--
-- Table structure for table `tblvisitor`
--

CREATE TABLE `tblvisitor` (
  `ID` int(5) NOT NULL,
  `VisitorName` varchar(120) DEFAULT NULL,
  `MobileNumber` bigint(11) DEFAULT NULL,
  `Address` varchar(250) DEFAULT NULL,
  `Apartment` varchar(120) NOT NULL,
  `Floor` varchar(120) NOT NULL,
  `WhomtoMeet` varchar(120) DEFAULT NULL,
  `ReasontoMeet` varchar(120) DEFAULT NULL,
  `EnterDate` timestamp NULL DEFAULT current_timestamp(),
  `remark` varchar(255) DEFAULT NULL,
  `outtime` timestamp NULL DEFAULT NULL ON UPDATE current_timestamp()
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `tblvisitor`
--

INSERT INTO `tblvisitor` (`ID`, `VisitorName`, `MobileNumber`, `Address`, `Apartment`, `Floor`, `WhomtoMeet`, `ReasontoMeet`, `EnterDate`, `remark`, `outtime`) VALUES
(1, 'John', 9879798777, 'C-126, Kamalroad Reliance fresh', '220', '2nd floor, C-wing', 'Mr. Birijesh', 'Deliver Product', '2019-07-12 06:11:53', 'OK.', '2019-07-12 15:39:46'),
(2, 'Yogesh Kumar', 6444464646, 'Harikesh Nagar Delhi', '310', '3 rd floor', 'Alok Kumar', 'Relative', '2019-06-27 06:41:05', 'OK', '2019-07-12 15:39:40'),
(3, 'Test', 4646464444, 'Sample Test', '302', '3rd floor', 'Sanchana', 'Some Paper work', '2019-04-03 06:42:40', 'ok', '2019-07-12 15:39:35'),
(4, 'New User', 1234567890, 'New Delhi India', '1234', '10', 'Abc', 'Personal', '2019-07-12 15:52:09', 'Out', '2019-07-12 15:52:28'),
(5, 'Amit', 1908621561, 'Aligarh Uttar Pradesh 201301', '1234', '12', 'Anuj kumar', 'Personal', '2019-07-12 15:56:42', 'Out', '2019-07-12 15:57:02');

--
-- Indexes for table `tblvisitor`
--
ALTER TABLE `tblvisitor`
  ADD PRIMARY KEY (`ID`);

--
-- AUTO_INCREMENT for table `tblvisitor`
--
ALTER TABLE `tblvisitor`
  MODIFY `ID` int(5) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=6;
COMMIT;

