-- MySQL dump 10.13  Distrib 5.7.12, for Win32 (AMD64)
--
-- 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 `gb_consumo`
--

DROP TABLE IF EXISTS `gb_consumo`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `gb_consumo` (
  `GB_ConsumoID` varchar(50) NOT NULL,
  `Kilometraje` int(11) DEFAULT '0',
  `Litros` decimal(24,6) DEFAULT '0.000000',
  `Producto` int(11) DEFAULT '0',
  `Importe` decimal(24,6) DEFAULT '0.000000',
  `Estacion` int(11) DEFAULT '0',
  `GB_ChipID` varchar(50) DEFAULT NULL,
  `GB_ProductoID` varchar(50) DEFAULT NULL,
  `Ticket` bigint(20) DEFAULT '0',
  `Anio` int(11) DEFAULT '0',
  `Mes` int(11) DEFAULT '0',
  `Fecha` datetime DEFAULT NULL,
  `UsuariosID` varchar(50) DEFAULT NULL,
  `EstacionesID` varchar(50) DEFAULT NULL,
  `RFID` varchar(50) DEFAULT NULL,
  `InternalVersion` int(11) DEFAULT '0',
  `Bomba` int(11) DEFAULT '0',
  `TipoAcceso` varchar(50) DEFAULT NULL,
  `Transaccion` bigint(20) DEFAULT '0',
  `TransaccionCan` bigint(20) DEFAULT '0',
  `Precio` decimal(24,6) DEFAULT '0.000000',
  `GB_ConsumoOriginalID` varchar(50) DEFAULT NULL,
  `GB_ConEstatusID` varchar(50) DEFAULT NULL,
  `FechaCon` datetime DEFAULT NULL,
  `IVA` decimal(24,6) DEFAULT '0.000000',
  `IEPS` decimal(24,6) DEFAULT '0.000000',
  `FechaFact` datetime DEFAULT NULL,
  `FacturasID` varchar(50) DEFAULT NULL,
  `Organizacion` int(11) DEFAULT '0',
  `Factura` int(11) DEFAULT '0',
  `Memo1` varchar(50) DEFAULT NULL,
  `Memo2` varchar(50) DEFAULT NULL,
  `Memo3` varchar(50) DEFAULT NULL,
  `PosProcesado` tinyint(4) DEFAULT '0',
  PRIMARY KEY (`GB_ConsumoID`),
  KEY `WDIDX_GB_Consumo_GB_ChipID` (`GB_ChipID`),
  KEY `WDIDX_GB_Consumo_GB_ProductoID` (`GB_ProductoID`),
  KEY `WDIDX_GB_Consumo_Fecha` (`Fecha`),
  KEY `WDIDX_GB_Consumo_UsuariosID` (`UsuariosID`),
  KEY `WDIDX_GB_Consumo_EstacionesID` (`EstacionesID`),
  KEY `WDIDX_GB_Consumo_RFID` (`RFID`),
  KEY `WDIDX_GB_Consumo_GB_ConsumoOriginalID` (`GB_ConsumoOriginalID`),
  KEY `WDIDX_GB_Consumo_GB_ConEstatusID` (`GB_ConEstatusID`),
  KEY `WDIDX_GB_Consumo_FechaCon` (`FechaCon`),
  KEY `WDIDX_GB_Consumo_FechaFact` (`FechaFact`),
  KEY `WDIDX_GB_Consumo_FacturasID` (`FacturasID`),
  KEY `WDIDX_GB_Consumo_Organizacion` (`Organizacion`),
  KEY `WDIDX_GB_Consumo_Factura` (`Factura`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `gb_consumo`
--

LOCK TABLES `gb_consumo` WRITE;
/*!40000 ALTER TABLE `gb_consumo` DISABLE KEYS */;
/*!40000 ALTER TABLE `gb_consumo` 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 2026-05-30  9:23:37
