-- MySQL dump 10.13  Distrib 5.6.24, for Win64 (x86_64)
--
-- Host: localhost    Database: circle_k
-- ------------------------------------------------------
-- Server version	5.7.10-log

/*!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 utf8 */;
/*!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 `horarios`
--

DROP TABLE IF EXISTS `horarios`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `horarios` (
  `HorariosID` varchar(50) NOT NULL DEFAULT '0',
  `EmpleadosID` varchar(50) DEFAULT NULL,
  `SemanasID` varchar(50) DEFAULT NULL,
  `FechaInicio` date DEFAULT NULL,
  `Dia1_Entrada` datetime DEFAULT NULL,
  `Dia1_Salida` datetime DEFAULT NULL,
  `Dia2_Entrada` datetime DEFAULT NULL,
  `Dia2_Salida` datetime DEFAULT NULL,
  `Dia3_Entrada` datetime DEFAULT NULL,
  `Dia3_Salida` datetime DEFAULT NULL,
  `Dia4_Entrada` datetime DEFAULT NULL,
  `Dia4_Salida` datetime DEFAULT NULL,
  `Dia5_Entrada` datetime DEFAULT NULL,
  `Dia5_Salida` datetime DEFAULT NULL,
  `Dia6_Entrada` datetime DEFAULT NULL,
  `Dia6_Salida` datetime DEFAULT NULL,
  `Dia7_Entrada` datetime DEFAULT NULL,
  `Dia7_Salida` datetime DEFAULT NULL,
  `FechaFin` date DEFAULT NULL,
  `InternalVersion` int(11) DEFAULT '0',
  `EmpleadoAutorizaID` varchar(50) DEFAULT NULL,
  `FechaUltimaModificacion` datetime DEFAULT NULL,
  `Dia1_Descanso` tinyint(4) DEFAULT '0',
  `Dia2_Descanso` tinyint(4) DEFAULT '0',
  `Dia3_Descanso` tinyint(4) DEFAULT '0',
  `Dia4_Descanso` tinyint(4) DEFAULT '0',
  `Dia5_Descanso` tinyint(4) DEFAULT '0',
  `Dia6_Descanso` tinyint(4) DEFAULT '0',
  `Dia7_Descanso` tinyint(4) DEFAULT '0',
  `Comentario` varchar(200) DEFAULT NULL,
  `JornadasID` varchar(50) DEFAULT NULL,
  PRIMARY KEY (`HorariosID`),
  KEY `WDIDX_Horarios_EmpleadosID` (`EmpleadosID`),
  KEY `WDIDX_Horarios_SemanasID` (`SemanasID`),
  KEY `WDIDX_Horarios_FechaInicio` (`FechaInicio`),
  KEY `WDIDX_Horarios_FechaFin` (`FechaFin`),
  KEY `WDIDX_Horarios_EmpleadoAutorizaID` (`EmpleadoAutorizaID`),
  KEY `WDIDX_Horarios_JornadasID` (`JornadasID`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `horarios`
--

LOCK TABLES `horarios` WRITE;
/*!40000 ALTER TABLE `horarios` DISABLE KEYS */;
/*!40000 ALTER TABLE `horarios` 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 2018-12-17  9:07:43
