-- MySQL dump 10.15  Distrib 10.0.20-MariaDB, for debian-linux-gnu (x86_64)
--
-- Host: localhost    Database: mkradius
-- ------------------------------------------------------
-- Server version	10.0.20-MariaDB-1~jessie

/*!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' */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;

--
-- Table structure for table `sis_contaspagar`
--

DROP TABLE IF EXISTS `sis_contaspagar`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `sis_contaspagar` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `uuid_contaspagar` varchar(48) DEFAULT NULL,
  `fornecedor` varchar(255) DEFAULT NULL,
  `zap` enum('sim','nao') DEFAULT 'nao',
  `celular` varchar(32) DEFAULT NULL,
  `vencimento` datetime DEFAULT NULL,
  `valor` decimal(12,2) DEFAULT NULL,
  `valorpago` decimal(12,2) DEFAULT '0.00',
  `emissao` datetime DEFAULT NULL,
  `nrdocumento` varchar(50) DEFAULT NULL,
  `usergerou` varchar(50) DEFAULT NULL,
  `historico` varchar(255) DEFAULT NULL,
  `planodecontas` varchar(255) DEFAULT NULL,
  `numparcelas` int(11) DEFAULT NULL,
  `observacao` text,
  `parcatual` int(11) DEFAULT '1',
  `status` varchar(50) DEFAULT 'aberto',
  `datapg` datetime DEFAULT NULL,
  `tipodiv` enum('for','fun') DEFAULT 'for',
  `linhapgdig` varchar(64) DEFAULT NULL,
  `qrcode` longtext,
  PRIMARY KEY (`id`),
  KEY `fornecedor` (`fornecedor`),
  KEY `nrdocumento` (`nrdocumento`),
  KEY `status` (`status`),
  KEY `uuid_contaspagar` (`uuid_contaspagar`)
) ENGINE=InnoDB AUTO_INCREMENT=102 DEFAULT CHARSET=latin1;
/*!40101 SET character_set_client = @saved_cs_client */;

/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!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 2025-10-21  7:37:37
