152 lines
23 KiB
SQL
152 lines
23 KiB
SQL
-- MariaDB dump 10.17 Distrib 10.4.10-MariaDB, for Win64 (AMD64)
|
||
--
|
||
-- Host: localhost Database: fmovel
|
||
-- ------------------------------------------------------
|
||
-- Server version 10.4.10-MariaDB
|
||
|
||
/*!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 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 `contasapagar`
|
||
--
|
||
|
||
DROP TABLE IF EXISTS `contasapagar`;
|
||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
/*!40101 SET character_set_client = utf8 */;
|
||
CREATE TABLE `contasapagar` (
|
||
`idcontasapagar` int(11) NOT NULL AUTO_INCREMENT,
|
||
`movimento` varchar(45) DEFAULT NULL,
|
||
`descricao` varchar(150) DEFAULT NULL,
|
||
`dataentrada` datetime DEFAULT NULL,
|
||
`datavencimento` datetime DEFAULT NULL,
|
||
`databaixa` datetime DEFAULT NULL,
|
||
`valor` double DEFAULT NULL,
|
||
`parcela` int(11) DEFAULT NULL,
|
||
`parcelas` int(11) DEFAULT NULL,
|
||
`status` varchar(45) DEFAULT NULL,
|
||
`idcentrodecustos` int(11) DEFAULT NULL,
|
||
`idbancos` int(11) DEFAULT NULL,
|
||
`idusuarios_cad` int(11) DEFAULT NULL,
|
||
`idusuarios_baixa` int(11) DEFAULT NULL,
|
||
`idclientes` int(11) DEFAULT NULL,
|
||
`idveiculosdetalhes` int(11) DEFAULT NULL,
|
||
`idbancos_p` int(11) DEFAULT NULL,
|
||
`insert_date` datetime DEFAULT current_timestamp(),
|
||
`update_date` datetime DEFAULT NULL ON UPDATE current_timestamp(),
|
||
PRIMARY KEY (`idcontasapagar`)
|
||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
|
||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
||
--
|
||
-- Dumping data for table `contasapagar`
|
||
--
|
||
|
||
LOCK TABLES `contasapagar` WRITE;
|
||
/*!40000 ALTER TABLE `contasapagar` DISABLE KEYS */;
|
||
/*!40000 ALTER TABLE `contasapagar` ENABLE KEYS */;
|
||
UNLOCK TABLES;
|
||
|
||
--
|
||
-- Table structure for table `permissoesacoes`
|
||
--
|
||
|
||
DROP TABLE IF EXISTS `permissoesacoes`;
|
||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
/*!40101 SET character_set_client = utf8 */;
|
||
CREATE TABLE `permissoesacoes` (
|
||
`idpermissoesacoes` int(11) NOT NULL AUTO_INCREMENT,
|
||
`idpermissoes` int(11) NOT NULL,
|
||
`formulario` varchar(150) NOT NULL,
|
||
`acao` varchar(45) NOT NULL,
|
||
`insert_date` datetime DEFAULT current_timestamp(),
|
||
`update_date` datetime DEFAULT NULL ON UPDATE current_timestamp(),
|
||
PRIMARY KEY (`idpermissoesacoes`)
|
||
) ENGINE=InnoDB AUTO_INCREMENT=105 DEFAULT CHARSET=utf8mb4;
|
||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
||
--
|
||
-- Dumping data for table `permissoesacoes`
|
||
--
|
||
|
||
LOCK TABLES `permissoesacoes` WRITE;
|
||
/*!40000 ALTER TABLE `permissoesacoes` DISABLE KEYS */;
|
||
INSERT INTO `permissoesacoes` VALUES (1,8,'Agendamentos','AcessoTotal','2021-02-27 11:19:09',NULL),(2,8,'Backup','AcessoTotal','2021-02-27 11:19:18',NULL),(3,8,'Bancos','AcessoTotal','2021-02-27 11:18:53',NULL),(4,8,'Centros de Custo','AcessoTotal','2021-02-27 11:18:45',NULL),(5,8,'Clientes','AcessoTotal','2021-02-27 11:18:06',NULL),(6,8,'Contas a Pagar','AcessoTotal','2021-02-27 11:18:58',NULL),(7,8,'Controle de Visitas','AcessoTotal','2021-02-27 11:17:00',NULL),(8,8,'Fornecedores','AcessoTotal','2021-02-27 11:18:18',NULL),(9,8,'Movimento de Caixa','AcessoTotal','2021-02-27 11:18:37',NULL),(10,8,'Movimentos Fixos','AcessoTotal','2021-02-27 11:19:04',NULL),(11,8,'Permissoes','AcessoTotal','2021-02-27 11:19:13',NULL),(12,8,'Usuarios','AcessoTotal','2021-02-27 11:17:58',NULL),(13,8,'Veiculos','AcessoTotal','2021-02-27 11:18:26',NULL),(18,5,'Agendamentos','Abrir','2021-02-27 11:45:15',NULL),(19,6,'Agendamentos','Imprimir','2021-02-27 11:45:20',NULL),(20,7,'Agendamentos','SemAcesso','2021-02-27 11:45:25',NULL),(21,5,'Backup','Abrir','2021-02-27 11:46:20',NULL),(22,7,'Backup','SemAcesso','2021-02-27 11:46:32',NULL),(23,1,'Bancos','Inserir','2021-02-27 11:46:39',NULL),(24,2,'Bancos','Excluir','2021-02-27 11:46:45',NULL),(25,3,'Bancos','Editar','2021-02-27 11:46:50',NULL),(26,5,'Bancos','Abrir','2021-02-27 11:47:01',NULL),(27,7,'Bancos','SemAcesso','2021-02-27 11:47:16',NULL),(28,1,'Centros de Custo','Inserir','2021-02-27 11:47:23',NULL),(29,2,'Centros de Custo','Excluir','2021-02-27 11:47:28',NULL),(30,3,'Centros de Custo','Editar','2021-02-27 11:47:33',NULL),(31,5,'Centros de Custo','Abrir','2021-02-27 11:47:43',NULL),(33,7,'Centros de Custo','SemAcesso','2021-02-27 11:48:06',NULL),(34,1,'Clientes','Inserir','2021-02-27 11:48:44',NULL),(35,2,'Clientes','Excluir','2021-02-27 11:48:57',NULL),(36,3,'Clientes','Editar','2021-02-27 11:49:00',NULL),(37,4,'Clientes','Consultar','2021-02-27 11:49:05',NULL),(38,5,'Clientes','Abrir','2021-02-27 11:49:09',NULL),(39,6,'Clientes','Imprimir','2021-02-27 11:49:14',NULL),(40,7,'Clientes','SemAcesso','2021-02-27 11:49:18',NULL),(44,5,'Contas a Pagar','Abrir','2021-02-27 11:50:14',NULL),(46,6,'Contas a Pagar','Imprimir','2021-02-27 11:51:18',NULL),(47,1,'Movimento de Caixa','Inserir','2021-02-27 11:51:24',NULL),(48,2,'Movimento de Caixa','Excluir','2021-02-27 11:51:29',NULL),(49,3,'Movimento de Caixa','Editar','2021-02-27 11:51:33',NULL),(50,5,'Movimento de Caixa','Abrir','2021-02-27 11:51:40',NULL),(51,7,'Movimento de Caixa','SemAcesso','2021-02-27 11:51:45',NULL),(52,7,'Contas a Pagar','SemAcesso','2021-02-27 11:51:48',NULL),(53,1,'Fabricantes','Inserir','2021-02-27 11:51:54',NULL),(54,2,'Fabricantes','Excluir','2021-02-27 11:51:59',NULL),(55,3,'Fabricantes','Editar','2021-02-27 11:52:03',NULL),(56,5,'Fabricantes','Abrir','2021-02-27 11:52:12',NULL),(57,7,'Fabricantes','SemAcesso','2021-02-27 11:52:18',NULL),(58,1,'Fornecedores','Inserir','2021-02-27 11:52:30',NULL),(59,2,'Fornecedores','Excluir','2021-02-27 11:52:34',NULL),(60,3,'Fornecedores','Editar','2021-02-27 11:52:37',NULL),(62,4,'Fornecedores','Consultar','2021-02-27 11:52:47',NULL),(63,5,'Fornecedores','Abrir','2021-02-27 11:52:51',NULL),(65,6,'Fornecedores','Imprimir','2021-02-27 11:54:40',NULL),(66,7,'Fornecedores','SemAcesso','2021-02-27 11:54:53',NULL),(67,1,'Movimentos Fixos','Inserir','2021-02-27 11:55:00',NULL),(68,2,'Movimentos Fixos','Excluir','2021-02-27 11:55:04',NULL),(69,3,'Movimentos Fixos','Editar','2021-02-27 11:55:10',NULL),(70,4,'Movimentos Fixos','Consultar','2021-02-27 11:55:18',NULL),(71,5,'Movimentos Fixos','Abrir','2021-02-27 11:55:24',NULL),(72,7,'Movimentos Fixos','SemAcesso','2021-02-27 11:55:35',NULL),(73,1,'Permissoes','Inserir','2021-02-27 11:55:40',NULL),(74,2,'Permissoes','Excluir','2021-02-27 11:55:46',NULL),(75,3,'Permissoes','Editar','2021-02-27 11:55:52',NULL),(76,5,'Permissoes','Abrir','2021-02-27 11:56:00',NULL),(77,7,'Permissoes','SemAcesso','2021-02-27 11:56:09',NULL),(78,1,'Usuarios','Inserir','2021-02-27 11:56:14',NULL),(79,2,'Usuarios','Excluir','2021-02-27 11:56:19',NULL),(80,3,'Usuarios','Editar','2021-02-27 11:56:25',NULL),(81,5,'Usuarios','Abrir','2021-02-27 11:56:31',NULL),(82,7,'Usuarios','SemAcesso','2021-02-27 11:56:35',NULL),(83,1,'Veiculos','Inserir','2021-02-27 11:56:40',NULL),(84,2,'Veiculos','Excluir','2021-02-27 11:56:48',NULL),(85,3,'Veiculos','Editar','2021-02-27 11:56:52',NULL),(86,4,'Veiculos','Consultar','2021-02-27 11:56:58',NULL),(87,5,'Veiculos','Abrir','2021-02-27 11:57:02',NULL),(88,6,'Veiculos','Imprimir','2021-02-27 11:57:10',NULL),(89,7,'Veiculos','SemAcesso','2021-02-27 11:57:14',NULL),(90,1,'Controle de Visitas','Inserir','2021-02-27 11:57:18',NULL),(91,2,'Controle de Visitas','Excluir','2021-02-27 11:57:34',NULL),(92,3,'Controle de Visitas','Editar','2021-02-27 11:57:38',NULL),(93,4,'Controle de Visitas','Consultar','2021-02-27 11:57:43',NULL),(94,5,'Controle de Visitas','Abrir','2021-02-27 11:57:48',NULL),(95,6,'Controle de Visitas','Imprimir','2021-02-27 11:57:53',NULL),(96,7,'Controle de Visitas','SemAcesso','2021-02-27 11:57:58',NULL),(97,8,'Configurac├Áes','AcessoTotal','2021-03-13 16:26:08',NULL),(98,8,'Fabricantes','AcessoTotal','2021-03-13 16:26:24',NULL),(99,8,'Custos com Veiculos','AcessoTotal','2021-03-24 07:42:11',NULL),(100,1,'Custos com Veiculos','Inserir','2021-03-24 07:42:20',NULL),(101,2,'Custos com Veiculos','Excluir','2021-03-24 07:42:27',NULL),(102,3,'Custos com Veiculos','Editar','2021-03-24 07:42:33',NULL),(103,5,'Custos com Veiculos','Abrir','2021-03-24 07:42:45',NULL),(104,7,'Custos com Veiculos','SemAcesso','2021-03-24 07:42:49',NULL);
|
||
/*!40000 ALTER TABLE `permissoesacoes` ENABLE KEYS */;
|
||
UNLOCK TABLES;
|
||
|
||
--
|
||
-- Table structure for table `permissoesusuario`
|
||
--
|
||
|
||
DROP TABLE IF EXISTS `permissoesusuario`;
|
||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
/*!40101 SET character_set_client = utf8 */;
|
||
CREATE TABLE `permissoesusuario` (
|
||
`idpermissoesacoes` int(11) NOT NULL,
|
||
`idusuarios` int(11) NOT NULL,
|
||
`insert_date` datetime DEFAULT current_timestamp(),
|
||
`update_date` datetime DEFAULT NULL ON UPDATE current_timestamp(),
|
||
PRIMARY KEY (`idpermissoesacoes`,`idusuarios`)
|
||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
|
||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
||
--
|
||
-- Dumping data for table `permissoesusuario`
|
||
--
|
||
|
||
LOCK TABLES `permissoesusuario` WRITE;
|
||
/*!40000 ALTER TABLE `permissoesusuario` DISABLE KEYS */;
|
||
INSERT INTO `permissoesusuario` VALUES (1,1,'2021-02-27 11:21:25','2021-02-27 11:26:28'),(2,1,'2021-02-27 11:40:24',NULL),(3,1,'2021-02-27 11:40:26',NULL),(4,1,'2021-02-27 11:40:28',NULL),(5,1,'2021-02-27 11:40:31',NULL),(6,1,'2021-02-27 11:40:33',NULL),(7,1,'2021-02-27 11:40:35',NULL),(8,1,'2021-02-27 11:40:38',NULL),(9,1,'2021-02-27 11:40:40',NULL),(10,1,'2021-02-27 11:40:43',NULL),(11,1,'2021-02-27 11:40:45',NULL),(12,1,'2021-02-27 11:40:18',NULL),(13,1,'2021-02-27 11:40:50',NULL),(97,1,'2021-03-13 16:26:35',NULL),(98,1,'2021-03-13 16:26:37',NULL),(99,1,'2021-03-24 07:43:06',NULL);
|
||
/*!40000 ALTER TABLE `permissoesusuario` ENABLE KEYS */;
|
||
UNLOCK TABLES;
|
||
|
||
--
|
||
-- Table structure for table `veiculoscustos`
|
||
--
|
||
|
||
DROP TABLE IF EXISTS `veiculoscustos`;
|
||
/*!40101 SET @saved_cs_client = @@character_set_client */;
|
||
/*!40101 SET character_set_client = utf8 */;
|
||
CREATE TABLE `veiculoscustos` (
|
||
`idveiculoscustos` int(11) NOT NULL AUTO_INCREMENT,
|
||
`placa` varchar(45) DEFAULT NULL,
|
||
`descricao` varchar(100) DEFAULT NULL,
|
||
`custo` double DEFAULT NULL,
|
||
`data` datetime DEFAULT NULL,
|
||
`observacao` varchar(255) DEFAULT NULL,
|
||
`insert_date` datetime DEFAULT current_timestamp(),
|
||
`update_date` datetime DEFAULT NULL ON UPDATE current_timestamp(),
|
||
PRIMARY KEY (`idveiculoscustos`)
|
||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
|
||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||
|
||
--
|
||
-- Dumping data for table `veiculoscustos`
|
||
--
|
||
|
||
LOCK TABLES `veiculoscustos` WRITE;
|
||
/*!40000 ALTER TABLE `veiculoscustos` DISABLE KEYS */;
|
||
/*!40000 ALTER TABLE `veiculoscustos` 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 2021-03-24 21:41:06
|