-- MySQL dump 10.13  Distrib 5.5.40, for debian-linux-gnu (x86_64)
--
-- Host: localhost    Database: avantikads_nmgen
-- ------------------------------------------------------
-- Server version	5.5.40-0ubuntu0.14.04.1

/*!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 `configuracion`
--

DROP TABLE IF EXISTS `configuracion`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `configuracion` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `nRespaldo` int(1) NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `configuracion`
--

LOCK TABLES `configuracion` WRITE;
/*!40000 ALTER TABLE `configuracion` DISABLE KEYS */;
INSERT INTO `configuracion` VALUES (1,5);
/*!40000 ALTER TABLE `configuracion` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `empresa`
--

DROP TABLE IF EXISTS `empresa`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `empresa` (
  `empresaId` int(11) NOT NULL AUTO_INCREMENT,
  `activo` enum('0','1') NOT NULL DEFAULT '0',
  `activadoEl` date NOT NULL,
  `limite` int(11) NOT NULL DEFAULT '0',
  `productId` int(11) NOT NULL,
  `registerDate` date NOT NULL,
  `limiteRfcs` int(11) NOT NULL DEFAULT '1',
  `socioId` int(11) NOT NULL DEFAULT '0',
  `proveedorId` int(11) NOT NULL DEFAULT '0',
  `version` enum('2','v3','auto','ticgums','avantika','construc','demo','global') NOT NULL DEFAULT '2',
  `vencimiento` date NOT NULL,
  `costo` float(20,6) NOT NULL DEFAULT '2500.000000',
  `identificador` varchar(255) NOT NULL,
  `porcentajeBonificacion` float NOT NULL,
  `porcentajeDevoluicon` float NOT NULL,
  PRIMARY KEY (`empresaId`)
) ENGINE=MyISAM AUTO_INCREMENT=16 DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `empresa`
--

LOCK TABLES `empresa` WRITE;
/*!40000 ALTER TABLE `empresa` DISABLE KEYS */;
INSERT INTO `empresa` VALUES (15,'1','2011-05-02',21100,0,'2010-09-24',100,0,0,'v3','2015-05-02',2500.000000,'Novomoda',0,0);
/*!40000 ALTER TABLE `empresa` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `usuario`
--

DROP TABLE IF EXISTS `usuario`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `usuario` (
  `usuarioId` int(11) NOT NULL AUTO_INCREMENT,
  `empresaId` int(11) NOT NULL,
  `nombre` varchar(255) NOT NULL,
  `apellidos` varchar(255) NOT NULL,
  `calle` varchar(255) NOT NULL,
  `noExt` varchar(255) NOT NULL,
  `noInt` varchar(255) NOT NULL,
  `referencia` varchar(255) NOT NULL,
  `colonia` varchar(255) NOT NULL,
  `localidad` varchar(255) NOT NULL,
  `municipio` varchar(255) NOT NULL,
  `codigoPostal` int(11) NOT NULL,
  `estado` varchar(255) NOT NULL,
  `pais` varchar(255) NOT NULL,
  `telefono` varchar(255) NOT NULL,
  `celular` varchar(255) NOT NULL,
  `noImss` varchar(255) NOT NULL,
  `curp` varchar(255) NOT NULL,
  `rfc` varchar(255) NOT NULL,
  `identificacion` varchar(255) NOT NULL,
  `comprobante` varchar(255) NOT NULL,
  `email` varchar(255) NOT NULL,
  `password` varchar(255) NOT NULL,
  `type` varchar(255) NOT NULL,
  `main` enum('si','no') NOT NULL DEFAULT 'no',
  `sucursalId` int(11) NOT NULL,
  `baja` enum('0','1') NOT NULL DEFAULT '0',
  PRIMARY KEY (`usuarioId`)
) ENGINE=MyISAM AUTO_INCREMENT=11 DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `usuario`
--

LOCK TABLES `usuario` WRITE;
/*!40000 ALTER TABLE `usuario` DISABLE KEYS */;
INSERT INTO `usuario` VALUES (1,15,'Admin','General','','','','','','','',0,'','','','','','','','','','admin@novomoda.ddns.net','Novomoda.25','admin','si',0,'0'),(3,15,'cedis','','','','','','','','',0,'','','','','','','','','','cedis@novomoda.com.mx','cedis','almacen','no',0,'0'),(4,15,'Sonia','Velazquez','','','','','','','',0,'','','','','','','','','','sonia.velezquez@novomoda.com.mx','sonia.v','direccion','no',0,'0'),(5,15,'Gerente','Chapultpec','','','','','','','',0,'','','','','','','','','','gerente@novomoda.com.mx','gerente','gerente','no',5,'0'),(6,15,'Silvano','','','','','','','','',0,'','','','','','','','','','silvano.cruz@novomoda.com.mx','silvano.cruz','admin','no',0,'0'),(7,15,'Diego','','','','','','','','',0,'','','','','','','','','','diego@novomoda.com.mx','diego','gerente','no',5,'0'),(8,15,'facturación','','','','','','','','',0,'','','','','','','','','','facturacion@novomoda.com.mx','facturacion','facturacion','no',0,'0'),(9,15,'tizimin','','','','','','','','',0,'','','','','','','','','','gtizimin@novomoda.com.mx','tizimin','gerente','no',28,'0'),(10,15,'Moshe','Sfadia','','','','','','','',0,'','','','','','','','','','moshe.sfadia@novomoda.com.mx','moshe.sfadia','centralizador','no',0,'0');
/*!40000 ALTER TABLE `usuario` 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 2014-12-24 12:50:20
