-- MySQL dump 10.13  Distrib 8.0.41, for Win64 (x86_64)
--
-- Host: 127.0.0.1    Database: db_access_02709
-- ------------------------------------------------------
-- Server version	8.0.40

/*!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 */;
/*!50503 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 `cpt_tbl_exercice`
--

DROP TABLE IF EXISTS `cpt_tbl_exercice`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `cpt_tbl_exercice` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `exercice` varchar(4) NOT NULL,
  `is_closed` tinyint(1) NOT NULL DEFAULT '0',
  `is_auto` tinyint(1) NOT NULL DEFAULT '0' COMMENT 'Exercice crée auto par le sys pour la balance ouverture',
  `start_date` date NOT NULL COMMENT 'date debut de l''exercice',
  `end_date` date NOT NULL COMMENT 'date fin de l''exercice',
  `id_app` int NOT NULL,
  `user_crea` varchar(255) NOT NULL,
  `date_crea` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `user_closed` varchar(255) DEFAULT NULL COMMENT 'user qui a cloturé exercices',
  `date_closed` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `unx_exercice_by_app` (`exercice`,`id_app`)
) ENGINE=InnoDB AUTO_INCREMENT=23 DEFAULT CHARSET=utf8mb3 COMMENT='gestion Exercice Comptable';
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `cpt_tbl_exercice`
--

LOCK TABLES `cpt_tbl_exercice` WRITE;
/*!40000 ALTER TABLE `cpt_tbl_exercice` DISABLE KEYS */;
INSERT INTO `cpt_tbl_exercice` VALUES (1,'2024',0,0,'2024-01-01','2024-12-31',2,'admin','2024-05-25 23:19:07',NULL,NULL),(2,'2023',0,0,'2023-01-01','2023-12-31',5,'pathy','2024-06-04 18:01:16',NULL,NULL),(3,'2022',0,0,'2022-01-01','2022-12-31',2,'admin','2024-05-25 23:19:07',NULL,NULL),(4,'2023',0,0,'2023-01-01','2023-12-31',2,'admin','2024-05-25 23:19:07',NULL,NULL),(7,'2023',1,0,'2023-01-01','2023-12-31',6,'mbo','2024-06-06 00:29:45','mbo','2024-06-12 23:00:00'),(17,'2022',1,1,'2022-01-01','2022-12-31',6,'mbo','2024-06-07 18:44:32','SYSADMIN',NULL),(18,'2022',1,1,'2022-01-01','2022-12-31',5,'pathy','2024-06-07 18:57:29','SYSADMIN',NULL),(19,'2024',0,0,'2024-01-01','2024-12-31',5,'pathy','2024-06-09 14:51:06',NULL,NULL),(20,'2024',0,0,'2024-01-01','2024-12-31',6,'mbo','2024-06-13 02:54:37',NULL,NULL),(22,'2024',0,0,'2024-01-01','2024-12-31',13,'john','2024-08-09 15:33:51',NULL,NULL);
/*!40000 ALTER TABLE `cpt_tbl_exercice` 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 2025-05-06 22:45:24
