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੐)|#o0aڱ$I>}k&1`U#V?YsV x>{t1[I~D&(I$I/{H0fw"q"y%4 IXyE~M3 8XψL}qE$I[> nD?~sf ]o΁ cT6"?'_Ἣ $I>~.f|'!N?⟩0G KkXZE]ޡ;/&?k OۘH$IRۀwXӨ<7@PnS04aӶp.:@\IWQJ6sS%I$e5ڑv`3:x';wq_vpgHyXZ 3gЂ7{{EuԹn±}$I$8t;b|591nءQ"P6O5i }iR̈́%Q̄p!I䮢]O{H$IRϻ9s֧ a=`- aB\X0"+5"C1Hb?߮3x3&gşggl_hZ^,`5?ߎvĸ%̀M!OZC2#0x LJ0 Gw$I$I}<{Eb+y;iI,`ܚF:5ܛA8-O-|8K7s|#Z8a&><a&/VtbtLʌI$I$I$I$I$I$IRjDD%tEXtdate:create2022-05-31T04:40:26+00:00!Î%tEXtdate:modify2022-05-31T04:40:26+00:00|{2IENDB`Mini Shell

HOME


Mini Shell 1.0
DIR:/home/htlwork.com/www/dev/hms/
Upload File :
Current File : //home/htlwork.com/www/dev/hms/database.sql
-- MySQL dump 10.13  Distrib 8.0.22, for Linux (x86_64)
--
-- Host: localhost    Database: saturn
-- ------------------------------------------------------
-- Server version	8.0.22-0ubuntu0.20.04.3

/*!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 */;
/*!50503 SET NAMES utf8mb4 */;
/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;

--
-- Table structure for table `accommodation`
--

DROP TABLE IF EXISTS `accommodation`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `accommodation` (
  `accommodation_id` varchar(60) NOT NULL DEFAULT '',
  `accommodation_category_id` varchar(60) DEFAULT NULL,
  `room_number` varchar(11) DEFAULT NULL,
  `status` int DEFAULT NULL,
  `rent` int DEFAULT NULL,
  `created_on` int DEFAULT NULL,
  `created_by` varchar(60) DEFAULT NULL,
  `timestamp` int DEFAULT NULL,
  `updated_by` varchar(60) DEFAULT NULL,
  PRIMARY KEY (`accommodation_id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `accommodation`
--

LOCK TABLES `accommodation` WRITE;
/*!40000 ALTER TABLE `accommodation` DISABLE KEYS */;
/*!40000 ALTER TABLE `accommodation` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `accommodation_category`
--

DROP TABLE IF EXISTS `accommodation_category`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `accommodation_category` (
  `accommodation_category_id` varchar(60) NOT NULL DEFAULT '',
  `name` varchar(55) DEFAULT NULL,
  `uri` varchar(55) DEFAULT NULL,
  `description` varchar(255) DEFAULT NULL,
  `accommodation_type` int DEFAULT NULL COMMENT 'single room = 0, is bed = 1, has beds = 2',
  `created_on` int DEFAULT NULL,
  `created_by` varchar(60) DEFAULT NULL,
  `timestamp` int DEFAULT NULL,
  `updated_by` varchar(60) DEFAULT NULL,
  PRIMARY KEY (`accommodation_category_id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `accommodation_category`
--

LOCK TABLES `accommodation_category` WRITE;
/*!40000 ALTER TABLE `accommodation_category` DISABLE KEYS */;
/*!40000 ALTER TABLE `accommodation_category` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `appointment`
--

DROP TABLE IF EXISTS `appointment`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `appointment` (
  `appointment_id` varchar(60) NOT NULL DEFAULT '',
  `doctor_id` varchar(60) DEFAULT NULL,
  `patient_id` varchar(60) DEFAULT NULL,
  `appointment_date` int DEFAULT NULL,
  `appointment_time` varchar(11) DEFAULT NULL,
  `status` int DEFAULT NULL,
  `created_on` int DEFAULT NULL,
  `created_by` varchar(60) DEFAULT NULL,
  `timestamp` int DEFAULT NULL,
  `updated_by` varchar(60) DEFAULT NULL,
  PRIMARY KEY (`appointment_id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `appointment`
--

LOCK TABLES `appointment` WRITE;
/*!40000 ALTER TABLE `appointment` DISABLE KEYS */;
/*!40000 ALTER TABLE `appointment` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `bed`
--

DROP TABLE IF EXISTS `bed`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `bed` (
  `bed_id` varchar(60) NOT NULL DEFAULT '',
  `root_accommodation_category_id` varchar(60) DEFAULT NULL,
  `bed_number` varchar(11) DEFAULT NULL,
  `status` int DEFAULT NULL,
  `rent` int DEFAULT NULL,
  `created_on` int DEFAULT NULL,
  `created_by` varchar(60) DEFAULT NULL,
  `timestamp` int DEFAULT NULL,
  `updated_by` varchar(60) DEFAULT NULL,
  `accommodation_category_id` varchar(60) DEFAULT NULL,
  `accommodation_id` varchar(60) DEFAULT NULL,
  PRIMARY KEY (`bed_id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `bed`
--

LOCK TABLES `bed` WRITE;
/*!40000 ALTER TABLE `bed` DISABLE KEYS */;
/*!40000 ALTER TABLE `bed` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `blood_donor`
--

DROP TABLE IF EXISTS `blood_donor`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `blood_donor` (
  `blood_donor_id` varchar(60) NOT NULL DEFAULT '',
  `name` varchar(55) DEFAULT NULL,
  `mobile_number` varchar(22) DEFAULT NULL,
  `email` varchar(55) DEFAULT NULL,
  `blood_inventory_id` int NOT NULL,
  `address` varchar(111) DEFAULT NULL,
  `dob` int DEFAULT NULL,
  `age` int DEFAULT NULL,
  `last_donated_on` int DEFAULT NULL,
  `ssn` char(11) DEFAULT NULL,
  `profession_id` int DEFAULT NULL,
  `health_status` varchar(255) DEFAULT NULL,
  `purpose` varchar(255) DEFAULT NULL,
  `status` int DEFAULT NULL,
  `created_on` int DEFAULT NULL,
  `created_by` varchar(60) DEFAULT NULL,
  `timestamp` int DEFAULT NULL,
  `updated_by` varchar(60) DEFAULT NULL,
  `sex_id` int DEFAULT NULL,
  PRIMARY KEY (`blood_donor_id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `blood_donor`
--

LOCK TABLES `blood_donor` WRITE;
/*!40000 ALTER TABLE `blood_donor` DISABLE KEYS */;
/*!40000 ALTER TABLE `blood_donor` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `blood_inventory`
--

DROP TABLE IF EXISTS `blood_inventory`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `blood_inventory` (
  `blood_inventory_id` varchar(60) NOT NULL DEFAULT '',
  `blood_group_name` char(11) NOT NULL,
  `num_of_bags` int DEFAULT NULL,
  `updated_by` varchar(60) DEFAULT NULL,
  `timestamp` int DEFAULT NULL,
  PRIMARY KEY (`blood_inventory_id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `blood_inventory`
--

LOCK TABLES `blood_inventory` WRITE;
/*!40000 ALTER TABLE `blood_inventory` DISABLE KEYS */;
INSERT INTO `blood_inventory` VALUES ('1','A+',1000,'c7f47180-77ce-49bd-9b08-7c440cd03b13',1587628392),('2','O+',1000,'c7f47180-77ce-49bd-9b08-7c440cd03b13',1587628374),('3','B+',1001,'c7f47180-77ce-49bd-9b08-7c440cd03b13',1587667415),('4','AB+',1002,'c7f47180-77ce-49bd-9b08-7c440cd03b13',1587667517),('5','A-',1000,'c7f47180-77ce-49bd-9b08-7c440cd03b13',1587628409),('6','O-',1001,'c7f47180-77ce-49bd-9b08-7c440cd03b13',1587628414),('7','B-',1001,'c7f47180-77ce-49bd-9b08-7c440cd03b13',1587628379),('8','AB-',1000,'c7f47180-77ce-49bd-9b08-7c440cd03b13',1587628385);
/*!40000 ALTER TABLE `blood_inventory` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `blood_request`
--

DROP TABLE IF EXISTS `blood_request`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `blood_request` (
  `blood_request_id` varchar(60) NOT NULL DEFAULT '',
  `blood_inventory_id` varchar(60) DEFAULT NULL,
  `num_of_bags` int DEFAULT NULL,
  `purpose` varchar(255) DEFAULT NULL,
  `status` int DEFAULT NULL,
  `created_on` int DEFAULT NULL,
  `created_by` varchar(60) DEFAULT NULL,
  `timestamp` int DEFAULT NULL,
  `updated_by` varchar(60) DEFAULT NULL,
  `doctor_id` varchar(60) DEFAULT NULL,
  `blood_donor_id` varchar(60) DEFAULT NULL,
  PRIMARY KEY (`blood_request_id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `blood_request`
--

LOCK TABLES `blood_request` WRITE;
/*!40000 ALTER TABLE `blood_request` DISABLE KEYS */;
/*!40000 ALTER TABLE `blood_request` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `cafeteria_inventory`
--

DROP TABLE IF EXISTS `cafeteria_inventory`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `cafeteria_inventory` (
  `cafeteria_inventory_id` varchar(60) NOT NULL DEFAULT '',
  `name` varchar(55) DEFAULT NULL,
  `code` varchar(22) DEFAULT NULL,
  `price` int DEFAULT NULL,
  `quantity` int DEFAULT NULL,
  `unit_id` varchar(60) DEFAULT NULL,
  `created_on` int DEFAULT NULL,
  `created_by` varchar(60) DEFAULT NULL,
  `timestamp` int DEFAULT NULL,
  `updated_by` varchar(60) DEFAULT NULL,
  PRIMARY KEY (`cafeteria_inventory_id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `cafeteria_inventory`
--

LOCK TABLES `cafeteria_inventory` WRITE;
/*!40000 ALTER TABLE `cafeteria_inventory` DISABLE KEYS */;
/*!40000 ALTER TABLE `cafeteria_inventory` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `cafeteria_sale`
--

DROP TABLE IF EXISTS `cafeteria_sale`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `cafeteria_sale` (
  `cafeteria_sale_id` varchar(60) NOT NULL DEFAULT '',
  `status` int DEFAULT NULL,
  `grand_total` int DEFAULT NULL,
  `customer_name` varchar(55) DEFAULT NULL,
  `customer_mobile` varchar(22) DEFAULT NULL,
  `invoice_number` varchar(22) DEFAULT NULL,
  `discount` int DEFAULT NULL,
  `created_on` int DEFAULT NULL,
  `created_by` varchar(60) DEFAULT NULL,
  `timestamp` int DEFAULT NULL,
  `updated_by` varchar(60) DEFAULT NULL,
  PRIMARY KEY (`cafeteria_sale_id`),
  UNIQUE KEY `invoice_number` (`invoice_number`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `cafeteria_sale`
--

LOCK TABLES `cafeteria_sale` WRITE;
/*!40000 ALTER TABLE `cafeteria_sale` DISABLE KEYS */;
/*!40000 ALTER TABLE `cafeteria_sale` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `cafeteria_sale_details`
--

DROP TABLE IF EXISTS `cafeteria_sale_details`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `cafeteria_sale_details` (
  `cafeteria_sale_details_id` varchar(60) NOT NULL,
  `cafeteria_inventory_id` varchar(60) DEFAULT NULL,
  `quantity` int DEFAULT NULL,
  `total` int DEFAULT NULL,
  `timestamp` int DEFAULT NULL,
  `cafeteria_sale_id` varchar(60) DEFAULT NULL,
  PRIMARY KEY (`cafeteria_sale_details_id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `cafeteria_sale_details`
--

LOCK TABLES `cafeteria_sale_details` WRITE;
/*!40000 ALTER TABLE `cafeteria_sale_details` DISABLE KEYS */;
/*!40000 ALTER TABLE `cafeteria_sale_details` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `certificate`
--

DROP TABLE IF EXISTS `certificate`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `certificate` (
  `certificate_id` varchar(60) NOT NULL DEFAULT '',
  `certificate_type` int DEFAULT NULL,
  `name` varchar(55) DEFAULT NULL,
  `father_name` varchar(55) DEFAULT NULL,
  `mother_name` varchar(55) DEFAULT NULL,
  `ssn` varchar(15) DEFAULT NULL,
  `sex_id` int DEFAULT NULL,
  `dod` int DEFAULT NULL,
  `address` varchar(111) DEFAULT NULL,
  `age` int DEFAULT NULL,
  `dob` int DEFAULT NULL,
  `extra_note` varchar(255) DEFAULT NULL,
  `place` varchar(111) DEFAULT NULL,
  `reason` varchar(255) DEFAULT NULL,
  `email` varchar(55) DEFAULT NULL,
  `mobile_number` varchar(22) DEFAULT NULL,
  `created_on` int DEFAULT NULL,
  `created_by` varchar(60) DEFAULT NULL,
  `timestamp` int DEFAULT NULL,
  `updated_by` varchar(60) DEFAULT NULL,
  `doctor_id` varchar(60) DEFAULT NULL,
  PRIMARY KEY (`certificate_id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `certificate`
--

LOCK TABLES `certificate` WRITE;
/*!40000 ALTER TABLE `certificate` DISABLE KEYS */;
/*!40000 ALTER TABLE `certificate` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `currency`
--

DROP TABLE IF EXISTS `currency`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `currency` (
  `currency_id` int NOT NULL AUTO_INCREMENT,
  `name` varchar(64) DEFAULT NULL,
  `code` char(3) DEFAULT NULL,
  `created_on` int DEFAULT NULL,
  `created_by` varchar(60) DEFAULT NULL,
  `timestamp` int DEFAULT NULL,
  `updated_by` varchar(60) DEFAULT NULL,
  PRIMARY KEY (`currency_id`)
) ENGINE=InnoDB AUTO_INCREMENT=168 DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `currency`
--

LOCK TABLES `currency` WRITE;
/*!40000 ALTER TABLE `currency` DISABLE KEYS */;
INSERT INTO `currency` VALUES (1,'Andorran Peseta','ADP',1519583748,'1',1519583748,'1'),(2,'United Arab Emirates Dirham','AED',1519583748,'1',1519583748,'1'),(3,'Afghanistan Afghani','AFA',1519583748,'1',1519583748,'1'),(4,'Albanian Lek','ALL',1519583748,'1',1519583748,'1'),(5,'Netherlands Antillian Guilder','ANG',1519583748,'1',1519583748,'1'),(6,'Angolan Kwanza','AOK',1519583748,'1',1519583748,'1'),(7,'Argentine Peso','ARS',1519583748,'1',1519583748,'1'),(9,'Australian Dollar','AUD',1519583748,'1',1519583748,'1'),(10,'Aruban Florin','AWG',1519583748,'1',1519583748,'1'),(11,'Barbados Dollar','BBD',1519583748,'1',1519583748,'1'),(12,'Bangladeshi Taka','BDT',1519583748,'1',1519583748,'1'),(14,'Bulgarian Lev','BGN',1519583748,'1',1519583748,'1'),(15,'Bahraini Dinar','BHD',1519583748,'1',1519583748,'1'),(16,'Burundi Franc','BIF',1519583748,'1',1519583748,'1'),(17,'Bermudian Dollar','BMD',1519583748,'1',1519583748,'1'),(18,'Brunei Dollar','BND',1519583748,'1',1519583748,'1'),(19,'Bolivian Boliviano','BOB',1519583748,'1',1519583748,'1'),(20,'Brazilian Real','BRL',1519583748,'1',1519583748,'1'),(21,'Bahamian Dollar','BSD',1519583748,'1',1519583748,'1'),(22,'Bhutan Ngultrum','BTN',1519583748,'1',1519583748,'1'),(23,'Burma Kyat','BUK',1519583748,'1',1519583748,'1'),(24,'Botswanian Pula','BWP',1519583748,'1',1519583748,'1'),(25,'Belize Dollar','BZD',1519583748,'1',1519583748,'1'),(26,'Canadian Dollar','CAD',1519583748,'1',1519583748,'1'),(27,'Swiss Franc','CHF',1519583748,'1',1519583748,'1'),(28,'Chilean Unidades de Fomento','CLF',1519583748,'1',1519583748,'1'),(29,'Chilean Peso','CLP',1519583748,'1',1519583748,'1'),(30,'Yuan (Chinese) Renminbi','CNY',1519583748,'1',1519583748,'1'),(31,'Colombian Peso','COP',1519583748,'1',1519583748,'1'),(32,'Costa Rican Colon','CRC',1519583748,'1',1519583748,'1'),(33,'Czech Republic Koruna','CZK',1519583748,'1',1519583748,'1'),(34,'Cuban Peso','CUP',1519583748,'1',1519583748,'1'),(35,'Cape Verde Escudo','CVE',1519583748,'1',1519583748,'1'),(36,'Cyprus Pound','CYP',1519583748,'1',1519583748,'1'),(40,'Danish Krone','DKK',1519583748,'1',1519583748,'1'),(41,'Dominican Peso','DOP',1519583748,'1',1519583748,'1'),(42,'Algerian Dinar','DZD',1519583748,'1',1519583748,'1'),(43,'Ecuador Sucre','ECS',1519583748,'1',1519583748,'1'),(44,'Egyptian Pound','EGP',1519583748,'1',1519583748,'1'),(45,'Estonian Kroon (EEK)','EEK',1519583748,'1',1519583748,'1'),(46,'Ethiopian Birr','ETB',1519583748,'1',1519583748,'1'),(47,'Euro','EUR',1519583748,'1',1519583748,'1'),(49,'Fiji Dollar','FJD',1519583748,'1',1519583748,'1'),(50,'Falkland Islands Pound','FKP',1519583748,'1',1519583748,'1'),(52,'British Pound','GBP',1519583748,'1',1519583748,'1'),(53,'Ghanaian Cedi','GHC',1519583748,'1',1519583748,'1'),(54,'Gibraltar Pound','GIP',1519583748,'1',1519583748,'1'),(55,'Gambian Dalasi','GMD',1519583748,'1',1519583748,'1'),(56,'Guinea Franc','GNF',1519583748,'1',1519583748,'1'),(58,'Guatemalan Quetzal','GTQ',1519583748,'1',1519583748,'1'),(59,'Guinea-Bissau Peso','GWP',1519583748,'1',1519583748,'1'),(60,'Guyanan Dollar','GYD',1519583748,'1',1519583748,'1'),(61,'Hong Kong Dollar','HKD',1519583748,'1',1519583748,'1'),(62,'Honduran Lempira','HNL',1519583748,'1',1519583748,'1'),(63,'Haitian Gourde','HTG',1519583748,'1',1519583748,'1'),(64,'Hungarian Forint','HUF',1519583748,'1',1519583748,'1'),(65,'Indonesian Rupiah','IDR',1519583748,'1',1519583748,'1'),(66,'Irish Punt','IEP',1519583748,'1',1519583748,'1'),(67,'Israeli Shekel','ILS',1519583748,'1',1519583748,'1'),(68,'Indian Rupee','INR',1519583748,'1',1519583748,'1'),(69,'Iraqi Dinar','IQD',1519583748,'1',1519583748,'1'),(70,'Iranian Rial','IRR',1519583748,'1',1519583748,'1'),(73,'Jamaican Dollar','JMD',1519583748,'1',1519583748,'1'),(74,'Jordanian Dinar','JOD',1519583748,'1',1519583748,'1'),(75,'Japanese Yen','JPY',1519583748,'1',1519583748,'1'),(76,'Kenyan Schilling','KES',1519583748,'1',1519583748,'1'),(77,'Kampuchean (Cambodian) Riel','KHR',1519583748,'1',1519583748,'1'),(78,'Comoros Franc','KMF',1519583748,'1',1519583748,'1'),(79,'North Korean Won','KPW',1519583748,'1',1519583748,'1'),(80,'(South) Korean Won','KRW',1519583748,'1',1519583748,'1'),(81,'Kuwaiti Dinar','KWD',1519583748,'1',1519583748,'1'),(82,'Cayman Islands Dollar','KYD',1519583748,'1',1519583748,'1'),(83,'Lao Kip','LAK',1519583748,'1',1519583748,'1'),(84,'Lebanese Pound','LBP',1519583748,'1',1519583748,'1'),(85,'Sri Lanka Rupee','LKR',1519583748,'1',1519583748,'1'),(86,'Liberian Dollar','LRD',1519583748,'1',1519583748,'1'),(87,'Lesotho Loti','LSL',1519583748,'1',1519583748,'1'),(89,'Libyan Dinar','LYD',1519583748,'1',1519583748,'1'),(90,'Moroccan Dirham','MAD',1519583748,'1',1519583748,'1'),(91,'Malagasy Franc','MGF',1519583748,'1',1519583748,'1'),(92,'Mongolian Tugrik','MNT',1519583748,'1',1519583748,'1'),(93,'Macau Pataca','MOP',1519583748,'1',1519583748,'1'),(94,'Mauritanian Ouguiya','MRO',1519583748,'1',1519583748,'1'),(95,'Maltese Lira','MTL',1519583748,'1',1519583748,'1'),(96,'Mauritius Rupee','MUR',1519583748,'1',1519583748,'1'),(97,'Maldive Rufiyaa','MVR',1519583748,'1',1519583748,'1'),(98,'Malawi Kwacha','MWK',1519583748,'1',1519583748,'1'),(99,'Mexican Peso','MXP',1519583748,'1',1519583748,'1'),(100,'Malaysian Ringgit','MYR',1519583748,'1',1519583748,'1'),(101,'Mozambique Metical','MZM',1519583748,'1',1519583748,'1'),(102,'Namibian Dollar','NAD',1519583748,'1',1519583748,'1'),(103,'Nigerian Naira','NGN',1519583748,'1',1519583748,'1'),(104,'Nicaraguan Cordoba','NIO',1519583748,'1',1519583748,'1'),(105,'Norwegian Kroner','NOK',1519583748,'1',1519583748,'1'),(106,'Nepalese Rupee','NPR',1519583748,'1',1519583748,'1'),(107,'New Zealand Dollar','NZD',1519583748,'1',1519583748,'1'),(108,'Omani Rial','OMR',1519583748,'1',1519583748,'1'),(109,'Panamanian Balboa','PAB',1519583748,'1',1519583748,'1'),(110,'Peruvian Nuevo Sol','PEN',1519583748,'1',1519583748,'1'),(111,'Papua New Guinea Kina','PGK',1519583748,'1',1519583748,'1'),(112,'Philippine Peso','PHP',1519583748,'1',1519583748,'1'),(113,'Pakistan Rupee','PKR',1519583748,'1',1519583748,'1'),(114,'Polish Zloty','PLN',1519583748,'1',1519583748,'1'),(116,'Paraguay Guarani','PYG',1519583748,'1',1519583748,'1'),(117,'Qatari Rial','QAR',1519583748,'1',1519583748,'1'),(118,'Romanian Leu','RON',1519583748,'1',1519583748,'1'),(119,'Rwanda Franc','RWF',1519583748,'1',1519583748,'1'),(120,'Saudi Arabian Riyal','SAR',1519583748,'1',1519583748,'1'),(121,'Solomon Islands Dollar','SBD',1519583748,'1',1519583748,'1'),(122,'Seychelles Rupee','SCR',1519583748,'1',1519583748,'1'),(123,'Sudanese Pound','SDP',1519583748,'1',1519583748,'1'),(124,'Swedish Krona','SEK',1519583748,'1',1519583748,'1'),(125,'Singapore Dollar','SGD',1519583748,'1',1519583748,'1'),(126,'St. Helena Pound','SHP',1519583748,'1',1519583748,'1'),(127,'Sierra Leone Leone','SLL',1519583748,'1',1519583748,'1'),(128,'Somali Schilling','SOS',1519583748,'1',1519583748,'1'),(129,'Suriname Guilder','SRG',1519583748,'1',1519583748,'1'),(130,'Sao Tome and Principe Dobra','STD',1519583748,'1',1519583748,'1'),(131,'Russian Ruble','RUB',1519583748,'1',1519583748,'1'),(132,'El Salvador Colon','SVC',1519583748,'1',1519583748,'1'),(133,'Syrian Potmd','SYP',1519583748,'1',1519583748,'1'),(134,'Swaziland Lilangeni','SZL',1519583748,'1',1519583748,'1'),(135,'Thai Baht','THB',1519583748,'1',1519583748,'1'),(136,'Tunisian Dinar','TND',1519583748,'1',1519583748,'1'),(137,'Tongan Paanga','TOP',1519583748,'1',1519583748,'1'),(138,'East Timor Escudo','TPE',1519583748,'1',1519583748,'1'),(139,'Turkish Lira','TRY',1519583748,'1',1519583748,'1'),(140,'Trinidad and Tobago Dollar','TTD',1519583748,'1',1519583748,'1'),(141,'Taiwan Dollar','TWD',1519583748,'1',1519583748,'1'),(142,'Tanzanian Schilling','TZS',1519583748,'1',1519583748,'1'),(143,'Uganda Shilling','UGX',1519583748,'1',1519583748,'1'),(144,'US Dollar','USD',1519583748,'1',1519583748,'1'),(145,'Uruguayan Peso','UYU',1519583748,'1',1519583748,'1'),(146,'Venezualan Bolivar','VEF',1519583748,'1',1519583748,'1'),(147,'Vietnamese Dong','VND',1519583748,'1',1519583748,'1'),(148,'Vanuatu Vatu','VUV',1519583748,'1',1519583748,'1'),(149,'Samoan Tala','WST',1519583748,'1',1519583748,'1'),(150,'Communauté Financière Africaine BEAC, Francs','XAF',1519583748,'1',1519583748,'1'),(151,'Silver, Ounces','XAG',1519583748,'1',1519583748,'1'),(152,'Gold, Ounces','XAU',1519583748,'1',1519583748,'1'),(153,'East Caribbean Dollar','XCD',1519583748,'1',1519583748,'1'),(154,'International Monetary Fund (IMF) Special Drawing Rights','XDR',1519583748,'1',1519583748,'1'),(155,'Communauté Financière Africaine BCEAO - Francs','XOF',1519583748,'1',1519583748,'1'),(156,'Palladium Ounces','XPD',1519583748,'1',1519583748,'1'),(157,'Comptoirs Français du Pacifique Francs','XPF',1519583748,'1',1519583748,'1'),(158,'Platinum, Ounces','XPT',1519583748,'1',1519583748,'1'),(159,'Democratic Yemeni Dinar','YDD',1519583748,'1',1519583748,'1'),(160,'Yemeni Rial','YER',1519583748,'1',1519583748,'1'),(161,'New Yugoslavia Dinar','YUD',1519583748,'1',1519583748,'1'),(162,'South African Rand','ZAR',1519583748,'1',1519583748,'1'),(163,'Zambian Kwacha','ZMK',1519583748,'1',1519583748,'1'),(164,'Zaire Zaire','ZRZ',1519583748,'1',1519583748,'1'),(165,'Zimbabwe Dollar','ZWD',1519583748,'1',1519583748,'1'),(166,'Slovak Koruna','SKK',1519583748,'1',1519583748,'1'),(167,'Armenian Dram','AMD',1519583748,'1',1519583748,'1');
/*!40000 ALTER TABLE `currency` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `custom_invoice_item`
--

DROP TABLE IF EXISTS `custom_invoice_item`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `custom_invoice_item` (
  `custom_invoice_item_id` varchar(60) NOT NULL,
  `item` varchar(55) DEFAULT NULL,
  `content` varchar(255) DEFAULT NULL,
  `cost` int DEFAULT NULL,
  `created_on` int DEFAULT NULL,
  `created_by` varchar(60) DEFAULT NULL,
  `updated_by` varchar(60) DEFAULT NULL,
  `timestamp` int DEFAULT NULL,
  PRIMARY KEY (`custom_invoice_item_id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `custom_invoice_item`
--

LOCK TABLES `custom_invoice_item` WRITE;
/*!40000 ALTER TABLE `custom_invoice_item` DISABLE KEYS */;
/*!40000 ALTER TABLE `custom_invoice_item` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `department`
--

DROP TABLE IF EXISTS `department`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `department` (
  `department_id` varchar(60) NOT NULL DEFAULT '',
  `name` varchar(55) DEFAULT NULL,
  `description` varchar(255) DEFAULT NULL,
  `created_on` int DEFAULT NULL,
  `created_by` varchar(60) DEFAULT NULL,
  `timestamp` int DEFAULT NULL,
  `updated_by` varchar(60) DEFAULT NULL,
  PRIMARY KEY (`department_id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `department`
--

LOCK TABLES `department` WRITE;
/*!40000 ALTER TABLE `department` DISABLE KEYS */;
/*!40000 ALTER TABLE `department` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `discharge`
--

DROP TABLE IF EXISTS `discharge`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `discharge` (
  `discharge_id` varchar(60) NOT NULL DEFAULT '',
  `occupancy_id` varchar(60) DEFAULT NULL,
  `doctor_id` varchar(60) DEFAULT NULL,
  `next_appointment` int DEFAULT NULL,
  `conditions` varchar(255) DEFAULT NULL,
  `instructions` varchar(255) DEFAULT NULL,
  `created_on` int DEFAULT NULL,
  `created_by` varchar(60) DEFAULT NULL,
  `timestamp` int DEFAULT NULL,
  `updated_by` varchar(60) DEFAULT NULL,
  PRIMARY KEY (`discharge_id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `discharge`
--

LOCK TABLES `discharge` WRITE;
/*!40000 ALTER TABLE `discharge` DISABLE KEYS */;
/*!40000 ALTER TABLE `discharge` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `discharge_details`
--

DROP TABLE IF EXISTS `discharge_details`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `discharge_details` (
  `discharge_details_id` varchar(60) NOT NULL,
  `medicine_id` varchar(60) DEFAULT NULL,
  `dose` varchar(11) DEFAULT NULL,
  `medication_time` varchar(11) DEFAULT NULL,
  `discharge_id` varchar(60) DEFAULT NULL,
  `timestamp` int DEFAULT NULL,
  PRIMARY KEY (`discharge_details_id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `discharge_details`
--

LOCK TABLES `discharge_details` WRITE;
/*!40000 ALTER TABLE `discharge_details` DISABLE KEYS */;
/*!40000 ALTER TABLE `discharge_details` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `disease`
--

DROP TABLE IF EXISTS `disease`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `disease` (
  `disease_id` varchar(60) NOT NULL DEFAULT '',
  `name` varchar(55) DEFAULT NULL,
  `created_on` int DEFAULT NULL,
  `created_by` varchar(60) DEFAULT NULL,
  `timestamp` int DEFAULT NULL,
  `updated_by` varchar(60) DEFAULT NULL,
  PRIMARY KEY (`disease_id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `disease`
--

LOCK TABLES `disease` WRITE;
/*!40000 ALTER TABLE `disease` DISABLE KEYS */;
/*!40000 ALTER TABLE `disease` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `doctor`
--

DROP TABLE IF EXISTS `doctor`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `doctor` (
  `doctor_id` varchar(60) NOT NULL DEFAULT '',
  `name` varchar(55) DEFAULT NULL,
  `email` varchar(55) DEFAULT NULL,
  `mobile_number` varchar(22) DEFAULT NULL,
  `department_id` varchar(60) DEFAULT NULL,
  `image_link` varchar(255) DEFAULT NULL,
  `address` varchar(111) DEFAULT NULL,
  `age` int DEFAULT NULL,
  `dob` int DEFAULT NULL,
  `ssn` char(11) DEFAULT NULL,
  `sex_id` int DEFAULT NULL,
  `blood_inventory_id` varchar(60) DEFAULT NULL,
  `staff_category_id` varchar(60) DEFAULT NULL,
  `degrees` varchar(111) DEFAULT NULL,
  `designation` varchar(111) DEFAULT NULL,
  `status` int DEFAULT NULL,
  `created_on` int DEFAULT NULL,
  `created_by` varchar(60) DEFAULT NULL,
  `timestamp` int DEFAULT NULL,
  `updated_by` varchar(60) DEFAULT NULL,
  `appointment_fee` int DEFAULT NULL,
  PRIMARY KEY (`doctor_id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `doctor`
--

LOCK TABLES `doctor` WRITE;
/*!40000 ALTER TABLE `doctor` DISABLE KEYS */;
/*!40000 ALTER TABLE `doctor` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `expense`
--

DROP TABLE IF EXISTS `expense`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `expense` (
  `expense_id` varchar(60) NOT NULL,
  `name` varchar(55) DEFAULT NULL,
  `description` varchar(255) DEFAULT NULL,
  `amount` int DEFAULT NULL,
  `created_on` int DEFAULT NULL,
  `created_by` varchar(60) DEFAULT NULL,
  `timestamp` int DEFAULT NULL,
  `updated_by` varchar(60) DEFAULT NULL,
  `month` varchar(11) DEFAULT NULL,
  `year` int DEFAULT NULL,
  PRIMARY KEY (`expense_id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `expense`
--

LOCK TABLES `expense` WRITE;
/*!40000 ALTER TABLE `expense` DISABLE KEYS */;
/*!40000 ALTER TABLE `expense` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `feedback`
--

DROP TABLE IF EXISTS `feedback`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `feedback` (
  `feedback_id` varchar(60) NOT NULL DEFAULT '',
  `feedback` text NOT NULL,
  `user_id` varchar(60) DEFAULT NULL,
  `created_on` int DEFAULT NULL,
  `created_by` varchar(60) DEFAULT NULL,
  `timestamp` int DEFAULT NULL,
  `updated_by` varchar(60) DEFAULT NULL,
  PRIMARY KEY (`feedback_id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `feedback`
--

LOCK TABLES `feedback` WRITE;
/*!40000 ALTER TABLE `feedback` DISABLE KEYS */;
/*!40000 ALTER TABLE `feedback` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `inventory`
--

DROP TABLE IF EXISTS `inventory`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `inventory` (
  `inventory_id` varchar(60) NOT NULL,
  `item` varchar(55) NOT NULL,
  `description` varchar(255) DEFAULT NULL,
  `quantity` int DEFAULT NULL,
  `timestamp` int DEFAULT NULL,
  `created_on` int DEFAULT NULL,
  `created_by` varchar(60) DEFAULT NULL,
  `updated_by` varchar(60) DEFAULT NULL,
  PRIMARY KEY (`inventory_id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `inventory`
--

LOCK TABLES `inventory` WRITE;
/*!40000 ALTER TABLE `inventory` DISABLE KEYS */;
/*!40000 ALTER TABLE `inventory` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `invoice`
--

DROP TABLE IF EXISTS `invoice`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `invoice` (
  `invoice_id` varchar(60) NOT NULL,
  `invoice_number` varchar(22) DEFAULT NULL,
  `grand_total` int DEFAULT NULL,
  `discount` int DEFAULT NULL,
  `created_on` int DEFAULT NULL,
  `created_by` varchar(60) DEFAULT NULL,
  `timestamp` int DEFAULT NULL,
  `updated_by` varchar(60) DEFAULT NULL,
  `patient_name` varchar(55) DEFAULT NULL,
  `patient_mobile` varchar(22) DEFAULT NULL,
  `patient_address` varchar(111) DEFAULT NULL,
  `patient_id` varchar(60) DEFAULT NULL,
  PRIMARY KEY (`invoice_id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `invoice`
--

LOCK TABLES `invoice` WRITE;
/*!40000 ALTER TABLE `invoice` DISABLE KEYS */;
/*!40000 ALTER TABLE `invoice` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `invoice_request`
--

DROP TABLE IF EXISTS `invoice_request`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `invoice_request` (
  `invoice_request_id` varchar(60) NOT NULL,
  `table_name` varchar(55) DEFAULT NULL,
  `table_row_id` varchar(60) DEFAULT NULL,
  `amount` float DEFAULT NULL,
  `content` varchar(255) DEFAULT NULL,
  `created_on` int DEFAULT NULL,
  `created_by` varchar(60) DEFAULT NULL,
  `timestamp` int DEFAULT NULL,
  `updated_by` varchar(60) DEFAULT NULL,
  `status` int DEFAULT NULL COMMENT '0 = Unpaid, 1 = Paid',
  `invoice_id` varchar(60) DEFAULT NULL,
  `patient_id` varchar(60) DEFAULT NULL,
  `item` varchar(55) DEFAULT NULL,
  `quantity` int DEFAULT NULL,
  `is_custom` int DEFAULT NULL,
  PRIMARY KEY (`invoice_request_id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `invoice_request`
--

LOCK TABLES `invoice_request` WRITE;
/*!40000 ALTER TABLE `invoice_request` DISABLE KEYS */;
/*!40000 ALTER TABLE `invoice_request` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `laboratory`
--

DROP TABLE IF EXISTS `laboratory`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `laboratory` (
  `laboratory_id` varchar(60) NOT NULL DEFAULT '',
  `room_number` varchar(11) DEFAULT NULL,
  `name` varchar(55) DEFAULT NULL,
  `created_on` int DEFAULT NULL,
  `created_by` varchar(60) DEFAULT NULL,
  `timestamp` int DEFAULT NULL,
  `updated_by` varchar(60) DEFAULT NULL,
  PRIMARY KEY (`laboratory_id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `laboratory`
--

LOCK TABLES `laboratory` WRITE;
/*!40000 ALTER TABLE `laboratory` DISABLE KEYS */;
/*!40000 ALTER TABLE `laboratory` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `medicine`
--

DROP TABLE IF EXISTS `medicine`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `medicine` (
  `medicine_id` varchar(60) NOT NULL DEFAULT '',
  `name` varchar(55) DEFAULT NULL,
  `created_on` int DEFAULT NULL,
  `created_by` varchar(60) DEFAULT NULL,
  `timestamp` int DEFAULT NULL,
  `updated_by` varchar(60) DEFAULT NULL,
  PRIMARY KEY (`medicine_id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `medicine`
--

LOCK TABLES `medicine` WRITE;
/*!40000 ALTER TABLE `medicine` DISABLE KEYS */;
/*!40000 ALTER TABLE `medicine` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `message`
--

DROP TABLE IF EXISTS `message`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `message` (
  `message_id` varchar(60) NOT NULL DEFAULT '',
  `receiver_id` varchar(60) DEFAULT NULL,
  `message` text,
  `created_on` int DEFAULT NULL,
  `created_by` varchar(60) DEFAULT NULL,
  `timestamp` int DEFAULT NULL,
  `updated_by` varchar(60) DEFAULT NULL,
  PRIMARY KEY (`message_id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `message`
--

LOCK TABLES `message` WRITE;
/*!40000 ALTER TABLE `message` DISABLE KEYS */;
/*!40000 ALTER TABLE `message` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `module`
--

DROP TABLE IF EXISTS `module`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `module` (
  `module_id` int NOT NULL AUTO_INCREMENT,
  `name` varchar(55) DEFAULT NULL,
  `title` varchar(55) DEFAULT NULL,
  PRIMARY KEY (`module_id`)
) ENGINE=InnoDB AUTO_INCREMENT=55 DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `module`
--

LOCK TABLES `module` WRITE;
/*!40000 ALTER TABLE `module` DISABLE KEYS */;
INSERT INTO `module` VALUES (1,'dashboard','Dashboard'),(2,'occupancies','Occupancies'),(3,'treatments','Treatments'),(4,'discharges','Discharges'),(5,'patient_meals','Patient Meals'),(6,'appointments','Appointments'),(7,'patients','Patients'),(8,'prescriptions','Prescriptions'),(9,'emergency_rosters','Emergency Rosters'),(10,'emergency_patients','Emergency Patients'),(11,'pharmacy_inventory','Pharmacy Inventory'),(12,'pharmacy_invoice','Pharmacy Invoice'),(13,'pharmacy_pos','Pharmacy POS'),(14,'pharmacy_sales','Pharmacy Sales'),(15,'pharmacy_sale_returns','Pharmacy Sale Returns'),(16,'pharmacy_units','Pharmacy Units'),(17,'cafeteria_inventory','Cafeteria Inventory'),(18,'cafeteria_pos','Cafeteria POS'),(19,'cafeteria_invoice','Cafeteria Invoice'),(20,'cafeteria_sales','Cafeteria Sales'),(21,'cafeteria_units','Cafeteria Units'),(22,'staff_categories','Staff Categories'),(23,'staff','Staff'),(24,'accommodation_categories','Accommodation Categories'),(25,'accommodations','Accommodations'),(26,'transport_categories','Transport Categories'),(27,'transports','Transports'),(28,'departments','Departments'),(29,'settings','Settings'),(31,'payroll','Payroll'),(32,'revenue','Revenue'),(33,'inventory','Inventory'),(34,'expenses','Expenses'),(35,'income_statement','Income Statement'),(36,'blood_requests','Blood Requests'),(37,'blood_inventory','Blood Inventory'),(38,'blood_donors','Blood Donors'),(39,'reports','Reports'),(40,'report_categories','Report Categories'),(41,'laboratories','Laboratories'),(42,'notices','Notices'),(43,'feedback_and_ratings','Feedback & Ratings'),(44,'certificates','Certificates'),(45,'medicines','Medicines'),(46,'diseases','Diseases'),(47,'rosters','Rosters'),(48,'individual_workload','Individual Workload'),(49,'shift_categories','Shift Categories'),(50,'shifts','Shifts'),(51,'invoice_requests','Invoice Requests'),(52,'invoices','Invoices'),(53,'custom_invoice_items','Custom Invoice Items'),(54,'transport_services','Transport Services');
/*!40000 ALTER TABLE `module` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `notice`
--

DROP TABLE IF EXISTS `notice`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `notice` (
  `notice_id` varchar(60) NOT NULL DEFAULT '',
  `notice` text NOT NULL,
  `created_on` int DEFAULT NULL,
  `created_by` varchar(60) DEFAULT NULL,
  `timestamp` int DEFAULT NULL,
  `updated_by` varchar(60) DEFAULT NULL,
  `title` varchar(111) DEFAULT NULL,
  PRIMARY KEY (`notice_id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `notice`
--

LOCK TABLES `notice` WRITE;
/*!40000 ALTER TABLE `notice` DISABLE KEYS */;
/*!40000 ALTER TABLE `notice` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `occupancy`
--

DROP TABLE IF EXISTS `occupancy`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `occupancy` (
  `occupancy_id` varchar(60) NOT NULL DEFAULT '',
  `patient_id` varchar(60) DEFAULT NULL,
  `accommodation_category_id` varchar(60) DEFAULT NULL,
  `accommodation_id` varchar(60) DEFAULT NULL,
  `doctor_id` varchar(60) DEFAULT NULL,
  `status` int DEFAULT NULL COMMENT '0 = Discharged, 1 = Admitted',
  `reason` varchar(255) DEFAULT NULL,
  `extra_note` varchar(255) DEFAULT NULL,
  `created_on` int DEFAULT NULL,
  `created_by` varchar(60) DEFAULT NULL,
  `timestamp` int DEFAULT NULL,
  `updated_by` varchar(60) DEFAULT NULL,
  PRIMARY KEY (`occupancy_id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `occupancy`
--

LOCK TABLES `occupancy` WRITE;
/*!40000 ALTER TABLE `occupancy` DISABLE KEYS */;
/*!40000 ALTER TABLE `occupancy` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `patient`
--

DROP TABLE IF EXISTS `patient`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `patient` (
  `patient_id` varchar(60) NOT NULL DEFAULT '',
  `pid` varchar(22) DEFAULT NULL,
  `profession_id` int DEFAULT NULL,
  `name` varchar(55) DEFAULT NULL,
  `email` varchar(55) DEFAULT NULL,
  `password` varchar(99) DEFAULT NULL,
  `mobile_number` varchar(22) DEFAULT NULL,
  `image_link` varchar(255) DEFAULT NULL,
  `address` varchar(111) DEFAULT NULL,
  `age` int DEFAULT NULL,
  `dob` int DEFAULT NULL,
  `sex_id` int DEFAULT NULL,
  `blood_inventory_id` varchar(60) DEFAULT NULL,
  `ssn` char(11) DEFAULT NULL,
  `father_name` varchar(55) DEFAULT NULL,
  `mother_name` varchar(55) DEFAULT NULL,
  `emergency_contact` varchar(55) DEFAULT NULL,
  `emergency_contact_number` varchar(22) DEFAULT NULL,
  `emergency_contact_relation` varchar(22) DEFAULT NULL,
  `created_on` int DEFAULT NULL,
  `created_by` varchar(60) DEFAULT NULL,
  `timestamp` int DEFAULT NULL,
  `updated_by` varchar(60) DEFAULT NULL,
  `type` int DEFAULT NULL COMMENT '0 = Regular, 1 = Emergency',
  `status` int DEFAULT NULL COMMENT '0 = Not Admitted, 1 = Admitted',
  PRIMARY KEY (`patient_id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `patient`
--

LOCK TABLES `patient` WRITE;
/*!40000 ALTER TABLE `patient` DISABLE KEYS */;
/*!40000 ALTER TABLE `patient` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `patient_meal`
--

DROP TABLE IF EXISTS `patient_meal`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `patient_meal` (
  `patient_meal_id` varchar(60) NOT NULL DEFAULT '',
  `occupancy_id` varchar(60) DEFAULT NULL,
  `doctor_id` varchar(60) DEFAULT NULL,
  `breakfast` varchar(255) DEFAULT NULL,
  `milk_break` varchar(255) DEFAULT NULL,
  `lunch` varchar(255) DEFAULT NULL,
  `tea_break` varchar(255) DEFAULT NULL,
  `dinner` varchar(255) DEFAULT NULL,
  `extra_note` varchar(255) DEFAULT NULL,
  `created_on` int DEFAULT NULL,
  `created_by` varchar(60) DEFAULT NULL,
  `timestamp` int DEFAULT NULL,
  `updated_by` varchar(60) DEFAULT NULL,
  PRIMARY KEY (`patient_meal_id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `patient_meal`
--

LOCK TABLES `patient_meal` WRITE;
/*!40000 ALTER TABLE `patient_meal` DISABLE KEYS */;
/*!40000 ALTER TABLE `patient_meal` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `payroll`
--

DROP TABLE IF EXISTS `payroll`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `payroll` (
  `payroll_id` varchar(60) NOT NULL,
  `user_id` varchar(60) DEFAULT NULL,
  `status` int DEFAULT NULL COMMENT '0 = Unpaid, 1 = Paid',
  `amount` int DEFAULT NULL,
  `created_on` int DEFAULT NULL,
  `created_by` varchar(60) DEFAULT NULL,
  `timestamp` int DEFAULT NULL,
  `updated_by` varchar(60) DEFAULT NULL,
  `month` varchar(11) DEFAULT NULL,
  `year` int DEFAULT NULL,
  PRIMARY KEY (`payroll_id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `payroll`
--

LOCK TABLES `payroll` WRITE;
/*!40000 ALTER TABLE `payroll` DISABLE KEYS */;
/*!40000 ALTER TABLE `payroll` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `pharmacy_inventory`
--

DROP TABLE IF EXISTS `pharmacy_inventory`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `pharmacy_inventory` (
  `pharmacy_inventory_id` varchar(60) NOT NULL DEFAULT '',
  `name` varchar(55) DEFAULT NULL,
  `code` varchar(22) DEFAULT NULL,
  `price` int DEFAULT NULL,
  `quantity` int DEFAULT NULL,
  `unit_id` varchar(60) DEFAULT NULL,
  `created_on` int DEFAULT NULL,
  `created_by` varchar(60) DEFAULT NULL,
  `timestamp` int DEFAULT NULL,
  `updated_by` varchar(60) DEFAULT NULL,
  PRIMARY KEY (`pharmacy_inventory_id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `pharmacy_inventory`
--

LOCK TABLES `pharmacy_inventory` WRITE;
/*!40000 ALTER TABLE `pharmacy_inventory` DISABLE KEYS */;
/*!40000 ALTER TABLE `pharmacy_inventory` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `pharmacy_sale`
--

DROP TABLE IF EXISTS `pharmacy_sale`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `pharmacy_sale` (
  `pharmacy_sale_id` varchar(60) NOT NULL DEFAULT '',
  `status` int DEFAULT NULL,
  `grand_total` int DEFAULT NULL,
  `is_patient` int DEFAULT NULL COMMENT '0 = Customer, 1 = Patient',
  `patient_id` varchar(60) DEFAULT NULL,
  `customer_name` varchar(55) DEFAULT NULL,
  `customer_mobile` varchar(22) DEFAULT NULL,
  `created_on` int DEFAULT NULL,
  `created_by` varchar(60) DEFAULT NULL,
  `timestamp` int DEFAULT NULL,
  `updated_by` varchar(60) DEFAULT NULL,
  `invoice_number` varchar(22) DEFAULT NULL,
  `discount` int DEFAULT NULL,
  PRIMARY KEY (`pharmacy_sale_id`),
  UNIQUE KEY `invoice_number` (`invoice_number`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `pharmacy_sale`
--

LOCK TABLES `pharmacy_sale` WRITE;
/*!40000 ALTER TABLE `pharmacy_sale` DISABLE KEYS */;
/*!40000 ALTER TABLE `pharmacy_sale` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `pharmacy_sale_details`
--

DROP TABLE IF EXISTS `pharmacy_sale_details`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `pharmacy_sale_details` (
  `pharmacy_sale_details_id` varchar(60) NOT NULL,
  `pharmacy_inventory_id` varchar(60) DEFAULT NULL,
  `pharmacy_sale_id` varchar(60) DEFAULT NULL,
  `quantity` int DEFAULT NULL,
  `total` int DEFAULT NULL,
  `timestamp` int DEFAULT NULL,
  PRIMARY KEY (`pharmacy_sale_details_id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `pharmacy_sale_details`
--

LOCK TABLES `pharmacy_sale_details` WRITE;
/*!40000 ALTER TABLE `pharmacy_sale_details` DISABLE KEYS */;
/*!40000 ALTER TABLE `pharmacy_sale_details` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `pharmacy_sale_return`
--

DROP TABLE IF EXISTS `pharmacy_sale_return`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `pharmacy_sale_return` (
  `pharmacy_sale_return_id` varchar(60) NOT NULL DEFAULT '',
  `pharmacy_sale_id` varchar(60) DEFAULT NULL,
  `grand_total` int DEFAULT NULL,
  `created_on` int DEFAULT NULL,
  `created_by` varchar(60) DEFAULT NULL,
  `timestamp` int DEFAULT NULL,
  `updated_by` varchar(60) DEFAULT NULL,
  PRIMARY KEY (`pharmacy_sale_return_id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `pharmacy_sale_return`
--

LOCK TABLES `pharmacy_sale_return` WRITE;
/*!40000 ALTER TABLE `pharmacy_sale_return` DISABLE KEYS */;
/*!40000 ALTER TABLE `pharmacy_sale_return` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `pharmacy_sale_return_details`
--

DROP TABLE IF EXISTS `pharmacy_sale_return_details`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `pharmacy_sale_return_details` (
  `pharmacy_sale_return_details_id` varchar(60) NOT NULL,
  `pharmacy_inventory_id` varchar(60) DEFAULT NULL,
  `pharmacy_sale_return_id` varchar(60) DEFAULT NULL,
  `quantity` int DEFAULT NULL,
  `total` int DEFAULT NULL,
  `timestamp` int DEFAULT NULL,
  PRIMARY KEY (`pharmacy_sale_return_details_id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `pharmacy_sale_return_details`
--

LOCK TABLES `pharmacy_sale_return_details` WRITE;
/*!40000 ALTER TABLE `pharmacy_sale_return_details` DISABLE KEYS */;
/*!40000 ALTER TABLE `pharmacy_sale_return_details` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `prescription`
--

DROP TABLE IF EXISTS `prescription`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `prescription` (
  `prescription_id` varchar(60) NOT NULL DEFAULT '',
  `doctor_id` varchar(60) DEFAULT NULL,
  `patient_id` varchar(60) DEFAULT NULL,
  `disease_id` varchar(60) DEFAULT NULL,
  `next_appointment` int DEFAULT NULL,
  `extra_note` varchar(255) DEFAULT NULL,
  `created_on` int DEFAULT NULL,
  `created_by` varchar(60) DEFAULT NULL,
  `timestamp` int DEFAULT NULL,
  `updated_by` varchar(60) DEFAULT NULL,
  `symptoms` varchar(255) DEFAULT NULL,
  PRIMARY KEY (`prescription_id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `prescription`
--

LOCK TABLES `prescription` WRITE;
/*!40000 ALTER TABLE `prescription` DISABLE KEYS */;
/*!40000 ALTER TABLE `prescription` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `prescription_details`
--

DROP TABLE IF EXISTS `prescription_details`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `prescription_details` (
  `prescription_details_id` varchar(60) NOT NULL,
  `medicine_id` varchar(60) DEFAULT NULL,
  `dose` varchar(11) DEFAULT NULL,
  `medication_time` varchar(11) DEFAULT NULL,
  `prescription_id` varchar(60) DEFAULT NULL,
  `timestamp` int DEFAULT NULL,
  PRIMARY KEY (`prescription_details_id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `prescription_details`
--

LOCK TABLES `prescription_details` WRITE;
/*!40000 ALTER TABLE `prescription_details` DISABLE KEYS */;
/*!40000 ALTER TABLE `prescription_details` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `profession`
--

DROP TABLE IF EXISTS `profession`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `profession` (
  `profession_id` int NOT NULL AUTO_INCREMENT,
  `name` varchar(55) CHARACTER SET utf8 COLLATE utf8_unicode_ci DEFAULT NULL,
  `timestamp` int DEFAULT NULL,
  PRIMARY KEY (`profession_id`)
) ENGINE=InnoDB AUTO_INCREMENT=53 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `profession`
--

LOCK TABLES `profession` WRITE;
/*!40000 ALTER TABLE `profession` DISABLE KEYS */;
INSERT INTO `profession` VALUES (1,'Accountant',1484580450),(2,'Actor',1484580461),(3,'Air Steward',1484580483),(4,'Animator',1484580488),(5,'Architect',1484580494),(6,'Artist',1484580498),(7,'Author',1484580502),(8,'Baker',1484580507),(9,'Biologist',1484580511),(10,'Builder',1484580515),(11,'Butcher',1484580519),(12,'Counselor',1484580523),(13,'Chef',1484580527),(14,'Director',1484580532),(15,'Dentist',1484580537),(16,'Designer',1484580547),(17,'Doctor',1484580551),(18,'Economist',1484580556),(19,'Electrician',1484580560),(20,'Engineer',1484580565),(21,'Farmer',1484580576),(22,'Film Director',1484580582),(23,'Fisherman',1484580586),(24,'Geologist',1484581447),(25,'Head Teacher',1484581455),(26,'Journalist',1484581461),(27,'Judge',1484581466),(28,'Lawyer',1484581470),(29,'Lecturer',1484581474),(30,'Magician',1484581479),(31,'Manager',1484581483),(32,'Musician',1484581488),(33,'Nurse',1484581492),(34,'Painter',1484581497),(35,'Photographer',1484581501),(36,'Pilot',1484581506),(37,'Police Officer',1484581514),(38,'Politician',1484581519),(39,'Receptionist',1484581523),(40,'Salesperson',1484581527),(41,'Scientist',1484581532),(42,'Secretary',1484581537),(43,'Singer',1484581541),(44,'Software Engineer',1484581549),(45,'Soldier',1484581556),(46,'Surgeon',1484581560),(47,'Teacher',1484581565),(48,'Translator',1484581570),(49,'Waiter',1484581575),(50,'Web Developer',1484581588),(51,'Writer',1484581592),(52,'Other',1484581601);
/*!40000 ALTER TABLE `profession` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `rating`
--

DROP TABLE IF EXISTS `rating`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `rating` (
  `rating_id` varchar(60) NOT NULL DEFAULT '',
  `rating` int DEFAULT NULL,
  `user_id` varchar(60) DEFAULT NULL,
  `created_on` int DEFAULT NULL,
  `created_by` varchar(60) DEFAULT NULL,
  `timestamp` int DEFAULT NULL,
  `updated_by` varchar(60) DEFAULT NULL,
  PRIMARY KEY (`rating_id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `rating`
--

LOCK TABLES `rating` WRITE;
/*!40000 ALTER TABLE `rating` DISABLE KEYS */;
/*!40000 ALTER TABLE `rating` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `report`
--

DROP TABLE IF EXISTS `report`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `report` (
  `report_id` varchar(60) NOT NULL DEFAULT '',
  `delivery_date` int DEFAULT NULL,
  `patient_id` varchar(60) DEFAULT NULL,
  `doctor_id` varchar(60) DEFAULT NULL,
  `status` int DEFAULT NULL,
  `created_on` int DEFAULT NULL,
  `created_by` varchar(60) DEFAULT NULL,
  `timestamp` int DEFAULT NULL,
  `updated_by` varchar(60) DEFAULT NULL,
  `description` varchar(255) DEFAULT NULL,
  `is_patient` int DEFAULT NULL,
  `customer_name` varchar(55) DEFAULT NULL,
  `customer_mobile` varchar(22) DEFAULT NULL,
  `discount` int DEFAULT NULL,
  `grand_total` int DEFAULT NULL,
  PRIMARY KEY (`report_id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `report`
--

LOCK TABLES `report` WRITE;
/*!40000 ALTER TABLE `report` DISABLE KEYS */;
/*!40000 ALTER TABLE `report` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `report_category`
--

DROP TABLE IF EXISTS `report_category`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `report_category` (
  `report_category_id` varchar(60) NOT NULL DEFAULT '',
  `name` varchar(111) DEFAULT NULL,
  `cost` int DEFAULT NULL,
  `laboratory_id` varchar(60) DEFAULT NULL,
  `created_on` int DEFAULT NULL,
  `created_by` varchar(60) DEFAULT NULL,
  `timestamp` int DEFAULT NULL,
  `updated_by` varchar(60) DEFAULT NULL,
  PRIMARY KEY (`report_category_id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `report_category`
--

LOCK TABLES `report_category` WRITE;
/*!40000 ALTER TABLE `report_category` DISABLE KEYS */;
/*!40000 ALTER TABLE `report_category` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `report_details`
--

DROP TABLE IF EXISTS `report_details`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `report_details` (
  `report_details_id` varchar(60) NOT NULL,
  `report_category_id` varchar(60) DEFAULT NULL,
  `report_id` varchar(60) DEFAULT NULL,
  `timestamp` int DEFAULT NULL,
  `total` int DEFAULT NULL,
  PRIMARY KEY (`report_details_id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `report_details`
--

LOCK TABLES `report_details` WRITE;
/*!40000 ALTER TABLE `report_details` DISABLE KEYS */;
/*!40000 ALTER TABLE `report_details` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `roster`
--

DROP TABLE IF EXISTS `roster`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `roster` (
  `roster_id` varchar(60) NOT NULL DEFAULT '',
  `shift_id` varchar(60) DEFAULT NULL,
  `staff_id` varchar(60) DEFAULT NULL,
  `extra_note` varchar(255) DEFAULT NULL,
  `created_on` int DEFAULT NULL,
  `created_by` varchar(60) DEFAULT NULL,
  `timestamp` int DEFAULT NULL,
  `updated_by` varchar(60) DEFAULT NULL,
  `status` int DEFAULT NULL COMMENT '0 = Incoming, 1 = Ongoing, 2 = Done, 3 = Incomplete',
  `duty_on` int DEFAULT NULL,
  `type` int DEFAULT NULL COMMENT '0 = Regular, 1 = Emergency',
  PRIMARY KEY (`roster_id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `roster`
--

LOCK TABLES `roster` WRITE;
/*!40000 ALTER TABLE `roster` DISABLE KEYS */;
/*!40000 ALTER TABLE `roster` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `setting`
--

DROP TABLE IF EXISTS `setting`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `setting` (
  `setting_id` int NOT NULL AUTO_INCREMENT,
  `item` varchar(55) NOT NULL,
  `content` varchar(255) DEFAULT NULL,
  `timestamp` int DEFAULT NULL,
  `tag` varchar(22) DEFAULT NULL,
  PRIMARY KEY (`setting_id`)
) ENGINE=InnoDB AUTO_INCREMENT=15 DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `setting`
--

LOCK TABLES `setting` WRITE;
/*!40000 ALTER TABLE `setting` DISABLE KEYS */;
INSERT INTO `setting` VALUES (1,'breakfast_price','122',1587277577,'meal'),(2,'milk_break_price','52',1587277577,'meal'),(3,'lunch_price','102',1587277577,'meal'),(4,'tea_break_price','52',1587277577,'meal'),(5,'dinner_price','82',1587277577,'meal'),(6,'currency','USD',1587277577,'currency'),(7,'system_name','Saturn',1587277577,'system'),(8,'system_address','Sonargaon Janapath<br>Uttara, Dhaka 1230',1587277577,'system'),(9,'system_phone','(123) 456-7890',1587277577,'system'),(10,'system_website','saturn.t1m9m.com',1587277577,'system'),(11,'system_email','t1m9m.com@gmail.com',1587277577,'system'),(12,'login_bg','login_bg_1587496032.jpg',1587277577,'system'),(13,'favicon','favicon_1587496135.png',1587277577,'system'),(14,'system_tagline','Hospital Management System',1587277577,'system');
/*!40000 ALTER TABLE `setting` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `shift`
--

DROP TABLE IF EXISTS `shift`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `shift` (
  `shift_id` varchar(60) NOT NULL DEFAULT '',
  `shift_starts` varchar(11) DEFAULT NULL,
  `shift_ends` varchar(11) DEFAULT NULL,
  `staff_category_id` varchar(60) DEFAULT NULL,
  `is_doctor` int DEFAULT NULL,
  `created_on` int DEFAULT NULL,
  `created_by` varchar(60) DEFAULT NULL,
  `timestamp` int DEFAULT NULL,
  `updated_by` varchar(60) DEFAULT NULL,
  PRIMARY KEY (`shift_id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `shift`
--

LOCK TABLES `shift` WRITE;
/*!40000 ALTER TABLE `shift` DISABLE KEYS */;
/*!40000 ALTER TABLE `shift` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `staff`
--

DROP TABLE IF EXISTS `staff`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `staff` (
  `staff_id` varchar(60) NOT NULL DEFAULT '',
  `name` varchar(55) DEFAULT NULL,
  `email` varchar(55) DEFAULT NULL,
  `mobile_number` varchar(22) DEFAULT NULL,
  `image_link` varchar(255) DEFAULT NULL,
  `address` varchar(111) DEFAULT NULL,
  `ssn` char(11) DEFAULT NULL,
  `sex_id` int DEFAULT NULL,
  `blood_inventory_id` varchar(60) DEFAULT NULL,
  `staff_category_id` varchar(60) DEFAULT NULL,
  `status` int DEFAULT NULL,
  `created_on` int DEFAULT NULL,
  `created_by` varchar(60) DEFAULT NULL,
  `timestamp` int DEFAULT NULL,
  `updated_by` varchar(60) DEFAULT NULL,
  PRIMARY KEY (`staff_id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `staff`
--

LOCK TABLES `staff` WRITE;
/*!40000 ALTER TABLE `staff` DISABLE KEYS */;
INSERT INTO `staff` VALUES ('aa5ec2ef-d90f-4d76-885f-f4e68b2a8c38','Matthew Tucker','admin@saturn.com','(257)-284-7497','c7f47180-77ce-49bd-9b08-7c440cd03b13.jpeg','2175  Custer Street<br>Altoona, PA','NULL',1,'3','8212f432-db93-4eea-bb16-432193559b26',1,1587627194,'c7f47180-77ce-49bd-9b08-7c440cd03b13',1587627194,'c7f47180-77ce-49bd-9b08-7c440cd03b13');
/*!40000 ALTER TABLE `staff` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `staff_category`
--

DROP TABLE IF EXISTS `staff_category`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `staff_category` (
  `staff_category_id` varchar(60) NOT NULL DEFAULT '',
  `name` varchar(55) DEFAULT NULL,
  `pay_scale` int DEFAULT NULL,
  `duties` varchar(255) DEFAULT NULL,
  `uri` varchar(55) DEFAULT NULL,
  `created_on` int DEFAULT NULL,
  `created_by` varchar(60) DEFAULT NULL,
  `timestamp` int DEFAULT NULL,
  `updated_by` varchar(60) DEFAULT NULL,
  `is_doctor` int DEFAULT NULL,
  `payment_type` int DEFAULT NULL,
  `permissions` varchar(255) DEFAULT NULL,
  PRIMARY KEY (`staff_category_id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `staff_category`
--

LOCK TABLES `staff_category` WRITE;
/*!40000 ALTER TABLE `staff_category` DISABLE KEYS */;
INSERT INTO `staff_category` VALUES ('8212f432-db93-4eea-bb16-432193559b26','Super Admin',0,'Super Admin stuff','super_admin',1587626239,'c7f47180-77ce-49bd-9b08-7c440cd03b13',1587626239,'c7f47180-77ce-49bd-9b08-7c440cd03b13',0,1,'1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54');
/*!40000 ALTER TABLE `staff_category` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `transport`
--

DROP TABLE IF EXISTS `transport`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `transport` (
  `transport_id` varchar(60) NOT NULL DEFAULT '',
  `transport_number` varchar(22) DEFAULT NULL,
  `transport_category_id` varchar(60) DEFAULT NULL,
  `status` int DEFAULT NULL,
  `created_on` int DEFAULT NULL,
  `created_by` varchar(60) DEFAULT NULL,
  `timestamp` int DEFAULT NULL,
  `updated_by` varchar(60) DEFAULT NULL,
  PRIMARY KEY (`transport_id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `transport`
--

LOCK TABLES `transport` WRITE;
/*!40000 ALTER TABLE `transport` DISABLE KEYS */;
/*!40000 ALTER TABLE `transport` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `transport_category`
--

DROP TABLE IF EXISTS `transport_category`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `transport_category` (
  `transport_category_id` varchar(60) NOT NULL DEFAULT '',
  `name` varchar(55) DEFAULT NULL,
  `uri` varchar(55) DEFAULT NULL,
  `description` varchar(255) DEFAULT NULL,
  `created_on` int DEFAULT NULL,
  `created_by` varchar(60) DEFAULT NULL,
  `timestamp` int DEFAULT NULL,
  `updated_by` varchar(60) DEFAULT NULL,
  `cost` int DEFAULT NULL,
  PRIMARY KEY (`transport_category_id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `transport_category`
--

LOCK TABLES `transport_category` WRITE;
/*!40000 ALTER TABLE `transport_category` DISABLE KEYS */;
/*!40000 ALTER TABLE `transport_category` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `transport_service`
--

DROP TABLE IF EXISTS `transport_service`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `transport_service` (
  `transport_service_id` varchar(60) NOT NULL,
  `transport_category_id` varchar(60) DEFAULT NULL,
  `transport_id` varchar(60) DEFAULT NULL,
  `patient_id` varchar(60) DEFAULT NULL,
  `cost` int DEFAULT NULL,
  `created_on` int DEFAULT NULL,
  `created_by` varchar(60) DEFAULT NULL,
  `updated_by` varchar(60) DEFAULT NULL,
  `timestamp` int DEFAULT NULL,
  PRIMARY KEY (`transport_service_id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `transport_service`
--

LOCK TABLES `transport_service` WRITE;
/*!40000 ALTER TABLE `transport_service` DISABLE KEYS */;
/*!40000 ALTER TABLE `transport_service` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `treatment`
--

DROP TABLE IF EXISTS `treatment`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `treatment` (
  `treatment_id` varchar(60) NOT NULL DEFAULT '',
  `patient_id` varchar(60) DEFAULT NULL,
  `next_checkup` int DEFAULT NULL,
  `extra_note` varchar(255) DEFAULT NULL,
  `created_on` int DEFAULT NULL,
  `created_by` varchar(60) DEFAULT NULL,
  `timestamp` int DEFAULT NULL,
  `updated_by` varchar(60) DEFAULT NULL,
  `symptoms` varchar(255) DEFAULT NULL,
  `disease_id` varchar(60) DEFAULT NULL,
  PRIMARY KEY (`treatment_id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `treatment`
--

LOCK TABLES `treatment` WRITE;
/*!40000 ALTER TABLE `treatment` DISABLE KEYS */;
/*!40000 ALTER TABLE `treatment` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `treatment_details`
--

DROP TABLE IF EXISTS `treatment_details`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `treatment_details` (
  `treatment_details_id` varchar(60) NOT NULL,
  `medicine_id` varchar(60) DEFAULT NULL,
  `dose` varchar(11) DEFAULT NULL,
  `medication_time` varchar(11) DEFAULT NULL,
  `treatment_id` varchar(60) DEFAULT NULL,
  `timestamp` int DEFAULT NULL,
  PRIMARY KEY (`treatment_details_id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `treatment_details`
--

LOCK TABLES `treatment_details` WRITE;
/*!40000 ALTER TABLE `treatment_details` DISABLE KEYS */;
/*!40000 ALTER TABLE `treatment_details` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `unit`
--

DROP TABLE IF EXISTS `unit`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `unit` (
  `unit_id` varchar(60) NOT NULL DEFAULT '',
  `name` varchar(55) DEFAULT NULL,
  `created_on` int DEFAULT NULL,
  `created_by` varchar(60) DEFAULT NULL,
  `timestamp` int DEFAULT NULL,
  `updated_by` varchar(60) DEFAULT NULL,
  `unit_for` int DEFAULT NULL COMMENT '1 = Pharmacy, 2 = Cafeteria',
  PRIMARY KEY (`unit_id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `unit`
--

LOCK TABLES `unit` WRITE;
/*!40000 ALTER TABLE `unit` DISABLE KEYS */;
/*!40000 ALTER TABLE `unit` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `user`
--

DROP TABLE IF EXISTS `user`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `user` (
  `user_id` varchar(60) NOT NULL DEFAULT '',
  `email` varchar(55) DEFAULT NULL,
  `password` varchar(99) DEFAULT NULL,
  `staff_category_id` varchar(60) DEFAULT NULL,
  `staff_id` varchar(60) DEFAULT NULL,
  `is_doctor` int DEFAULT NULL,
  `status` int DEFAULT NULL,
  `created_on` int DEFAULT NULL,
  `created_by` varchar(60) DEFAULT NULL,
  `timestamp` int DEFAULT NULL,
  `updated_by` varchar(60) DEFAULT NULL,
  PRIMARY KEY (`user_id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `user`
--

LOCK TABLES `user` WRITE;
/*!40000 ALTER TABLE `user` DISABLE KEYS */;
INSERT INTO `user` VALUES ('c7f47180-77ce-49bd-9b08-7c440cd03b13','admin@saturn.com','$2y$10$uH17QG9FnyTosG5iMxMwMeBcVDHkyGZiJ.bVD/D.uhQANsY.LVhBq','8212f432-db93-4eea-bb16-432193559b26','aa5ec2ef-d90f-4d76-885f-f4e68b2a8c38',0,1,1587627194,'c7f47180-77ce-49bd-9b08-7c440cd03b13',1587627194,'c7f47180-77ce-49bd-9b08-7c440cd03b13');
/*!40000 ALTER TABLE `user` ENABLE KEYS */;
UNLOCK TABLES;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
/*!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 */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

-- Dump completed on 2020-12-06 18:09:22