-- phpMyAdmin SQL Dump
-- version 5.2.0
-- https://www.phpmyadmin.net/
--
-- Hôte : 127.0.0.1
-- Généré le : sam. 29 août 2026 à 16:52
-- Version du serveur : 10.4.27-MariaDB
-- Version de PHP : 8.2.0

SET FOREIGN_KEY_CHECKS=0;
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
START TRANSACTION;
SET time_zone = "+00:00";


/*!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 */;

--
-- Base de données : `est`
--

-- --------------------------------------------------------

--
-- Structure de la table `admin`
--

CREATE TABLE `admin` (
                         `id` bigint(20) NOT NULL,
                         `email` varchar(255) NOT NULL,
                         `password` varchar(255) DEFAULT NULL,
                         `nom` varchar(50) DEFAULT NULL,
                         `cin` varchar(50) DEFAULT NULL,
                         `phone` varchar(50) DEFAULT NULL,
                         `prenom` varchar(255) NOT NULL,
                         `blocked` int(11) NOT NULL,
                         `cnx_fail_number` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

--
-- Déchargement des données de la table `admin`
--

INSERT INTO `admin` (`id`, `email`, `password`, `nom`, `cin`, `phone`, `prenom`, `blocked`, `cnx_fail_number`) VALUES
    (6, 'y.zouani@uca.ma', '$2y$10$q64pz64YD6hvaeMDU1fCn.OauoRIyd3qYdLaGFkFvq2sKgHi9cnrm', 'ZOUANI', 'EE307732', '0625495187', ' YOUNES', 0, 0);

-- --------------------------------------------------------

--
-- Structure de la table `affectation_module`
--

CREATE TABLE `affectation_module` (
                                      `id` bigint(20) NOT NULL,
                                      `module_id` bigint(20) NOT NULL,
                                      `filiere_id` bigint(20) NOT NULL,
                                      `semestre_id` bigint(20) NOT NULL,
                                      `employee_id` bigint(20) NOT NULL,
                                      `annee_universitaire_id` bigint(20) DEFAULT NULL,
                                      `nb_etudiants` int(11) NOT NULL,
                                      `description` text NOT NULL,
                                      `nbr_heure_cours` int(11) DEFAULT NULL,
                                      `nbr_heure_tp` int(11) DEFAULT NULL,
                                      `nbr_heure_td` int(11) DEFAULT NULL,
                                      `nbr_heure_total` int(11) DEFAULT NULL,
                                      `nbr_heure_realise_cours` int(11) DEFAULT NULL,
                                      `nbr_heure_realise_tp` int(11) DEFAULT NULL,
                                      `nbr_heure_realise_td` int(11) DEFAULT NULL,
                                      `nbr_heure_realise_total` int(11) DEFAULT NULL,
                                      `created_at` datetime DEFAULT current_timestamp()
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

--
-- Déchargement des données de la table `affectation_module`
--

INSERT INTO `affectation_module` (`id`, `module_id`, `filiere_id`, `semestre_id`, `employee_id`, `annee_universitaire_id`, `nb_etudiants`, `description`, `nbr_heure_cours`, `nbr_heure_tp`, `nbr_heure_td`, `nbr_heure_total`, `nbr_heure_realise_cours`, `nbr_heure_realise_tp`, `nbr_heure_realise_td`, `nbr_heure_realise_total`, `created_at`) VALUES
    (16, 2, 1, 1, 15, 3, 0, '', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2026-08-29 15:38:16');

-- --------------------------------------------------------

--
-- Structure de la table `affectation_module_detail`
--

CREATE TABLE `affectation_module_detail` (
                                             `id` bigint(20) NOT NULL,
                                             `affectation_module_id` bigint(20) NOT NULL,
                                             `student_id` bigint(20) NOT NULL,
                                             `description` varchar(255) DEFAULT NULL,
                                             `created_at` datetime DEFAULT current_timestamp()
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

-- --------------------------------------------------------

--
-- Structure de la table `annee_budgitaire`
--

CREATE TABLE `annee_budgitaire` (
                                    `id` bigint(20) NOT NULL,
                                    `libelle` varchar(255) NOT NULL,
                                    `code` varchar(50) NOT NULL,
                                    `style` varchar(50) DEFAULT NULL,
                                    `description` text DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

--
-- Déchargement des données de la table `annee_budgitaire`
--

INSERT INTO `annee_budgitaire` (`id`, `libelle`, `code`, `style`, `description`) VALUES
                                                                                     (1, '2025', '2025', 'primary', 'Année budgétaire 2025'),
                                                                                     (2, '2026', '2026', 'success', 'Année budgétaire 2026'),
                                                                                     (3, '2027', '2027', 'info', 'Année budgétaire 2027');

-- --------------------------------------------------------

--
-- Structure de la table `annee_universitaire`
--

CREATE TABLE `annee_universitaire` (
                                       `id` bigint(20) NOT NULL,
                                       `code` varchar(50) NOT NULL,
                                       `libelle` varchar(255) NOT NULL,
                                       `description` text DEFAULT NULL,
                                       `date_creation` date DEFAULT NULL,
                                       `date_modification` date DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

--
-- Déchargement des données de la table `annee_universitaire`
--

INSERT INTO `annee_universitaire` (`id`, `code`, `libelle`, `description`, `date_creation`, `date_modification`) VALUES
                                                                                                                     (1, '2024-2025', '2024-2025', NULL, '2026-08-09', '2026-08-09'),
                                                                                                                     (2, '2025-2026', '2025-2026', NULL, '2026-08-09', '2026-08-09'),
                                                                                                                     (3, '2026-2027', '2026-2027', NULL, '2026-08-09', '2026-08-09');

-- --------------------------------------------------------

--
-- Structure de la table `avancement`
--

CREATE TABLE `avancement` (
                              `id` int(11) NOT NULL,
                              `libelle` varchar(255) NOT NULL,
                              `description` text DEFAULT NULL,
                              `employee_id` bigint(20) DEFAULT NULL,
                              `etat_avancement_id` bigint(20) NOT NULL,
                              `echellon_source_id` bigint(20) NOT NULL,
                              `echellon_destination_id` bigint(20) NOT NULL,
                              `avancement_type_id` bigint(20) NOT NULL,
                              `date_demande` date DEFAULT NULL,
                              `date_avancement` date DEFAULT NULL,
                              `date_decision` date DEFAULT NULL,
                              `date_creation` date NOT NULL DEFAULT current_timestamp(),
                              `date_modification` date DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

--
-- Déchargement des données de la table `avancement`
--

INSERT INTO `avancement` (`id`, `libelle`, `description`, `employee_id`, `etat_avancement_id`, `echellon_source_id`, `echellon_destination_id`, `avancement_type_id`, `date_demande`, `date_avancement`, `date_decision`, `date_creation`, `date_modification`) VALUES
                                                                                                                                                                                                                                                                    (1, 'Avancement échelon - ZOUANI Younes', 'Avancement automatique à l\'échelon supérieur', 1, 3, 12, 13, 1, '2023-06-01', '2023-09-01', '2023-08-15', '2023-06-01', '2023-08-15'),
(2, 'Avancement échelon - BENJELLOUN Mohamed', 'Avancement automatique à l\'échelon supérieur', 2, 3, 12, 13, 1, '2022-05-10', '2022-09-01', '2022-08-20', '2022-05-10', '2022-08-20'),
                                                                                                                                                                                                                                                                    (3, 'Avancement échelon - ELAMRANI Fatima', 'Demande en cours d\'examen', 3, 2, 12, 13, 1, '2024-01-15', NULL, NULL, '2024-01-15', '2024-02-01'),
(4, 'Avancement échelon - BADAOUI Ahmed', 'Avancement automatique à l\'échelon supérieur', 4, 3, 12, 13, 1, '2021-04-20', '2021-09-01', '2021-08-10', '2021-04-20', '2021-08-10'),
                                                                                                                                                                                                                                                                    (5, 'Avancement échelon - CHAKIR Said', 'Avancement automatique à l\'échelon supérieur', 5, 3, 10, 11, 1, '2023-03-05', '2023-09-01', '2023-08-25', '2023-03-05', '2023-08-25'),
(6, 'Avancement échelon - RAJI Nadia', 'Demande en attente de traitement', 6, 1, 11, 12, 1, '2024-05-01', NULL, NULL, '2024-05-01', '2024-05-01'),
(7, 'Avancement échelon - BENNANI Kamal', 'Avancement automatique à l\'échelon supérieur', 7, 3, 12, 13, 1, '2020-06-12', '2020-09-01', '2020-08-18', '2020-06-12', '2020-08-18'),
                                                                                                                                                                                                                                                                    (8, 'Avancement échelon - ELHASSANI Meriem', 'Avancement automatique à l\'échelon supérieur', 8, 3, 9, 10, 1, '2023-02-10', '2023-09-01', '2023-08-12', '2023-02-10', '2023-08-12'),
(9, 'Avancement de grade - TAZI Hassan', 'Avancement par changement de grade', 9, 4, 12, 13, 2, '2022-09-01', NULL, '2022-11-15', '2022-09-01', '2022-11-15'),
(10, 'Avancement échelon - BOUSSAID Latifa', 'Demande en révision', 10, 5, 8, 9, 1, '2024-03-20', NULL, NULL, '2024-03-20', '2024-04-10'),
(11, 'Avancement échelon - FENNANE Younes', 'Avancement automatique à l\'échelon supérieur', 11, 3, 12, 13, 1, '2019-05-15', '2019-09-01', '2019-08-22', '2019-05-15', '2019-08-22'),
                                                                                                                                                                                                                                                                    (12, 'Avancement échelon - ZEROUAL Soufiane', 'Avancement automatique à l\'échelon supérieur', 12, 3, 11, 12, 1, '2023-01-08', '2023-09-01', '2023-08-05', '2023-01-08', '2023-08-05'),
(13, 'Avancement exceptionnel - CHBANI Salma', 'Avancement exceptionnel sur décision', 13, 2, 8, 9, 3, '2024-04-01', NULL, NULL, '2024-04-01', '2024-04-15'),
(14, 'Avancement échelon - MANSOURI Rachid', 'Avancement automatique à l\'échelon supérieur', 14, 3, 12, 13, 1, '2018-06-01', '2018-09-01', '2018-08-14', '2018-06-01', '2018-08-14'),
                                                                                                                                                                                                                                                                    (15, 'Avancement échelon - NACIRI Aicha', 'Demande en attente de traitement', 15, 1, 12, 13, 1, '2024-06-01', NULL, NULL, '2024-06-01', '2024-06-01'),
                                                                                                                                                                                                                                                                    (16, 'Avancement échelon - GHANNAM Imane', 'Avancement automatique à l\'échelon supérieur', 16, 3, 7, 8, 1, '2023-07-01', '2023-09-01', '2023-08-28', '2023-07-01', '2023-08-28'),
(17, 'Reclassement - BENCHARIF Anas', 'Reclassement suite à concours ou diplôme', 17, 3, 10, 11, 4, '2022-10-05', NULL, '2022-12-01', '2022-10-05', '2022-12-01'),
(18, 'Avancement échelon - AITOUAZZOU Hinda', 'Demande rejetée pour dossier incomplet', 18, 4, 9, 10, 1, '2024-02-14', NULL, '2024-03-01', '2024-02-14', '2024-03-01'),
(19, 'Avancement échelon - ZOUINE Mustapha', 'Avancement automatique à l\'échelon supérieur', 19, 3, 12, 13, 1, '2020-03-11', '2020-09-01', '2020-08-19', '2020-03-11', '2020-08-19'),
                                                                                                                                                                                                                                                                    (20, 'Avancement échelon - ELMOKHTARI Samira', 'Demande en cours d\'examen', 20, 2, 10, 11, 1, '2024-05-20', NULL, NULL, '2024-05-20', '2024-06-02'),
(0, 'MC-ECH-PES-E2-4-ECH-PES-E2-5', NULL, 15, 3, 9, 10, 2, '2026-07-31', '2026-07-31', '2026-08-09', '2026-07-31', NULL),
(0, 'MC-ECH-PES-E2-5-ECH-PES-E3-1', NULL, 15, 1, 10, 11, 1, NULL, '2026-08-03', NULL, '2026-08-03', NULL);

-- --------------------------------------------------------

--
-- Structure de la table `avancement_type`
--

CREATE TABLE `avancement_type` (
  `id` bigint(20) NOT NULL,
  `libelle` varchar(255) NOT NULL,
  `code` varchar(100) NOT NULL,
  `description` text DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

--
-- Déchargement des données de la table `avancement_type`
--

INSERT INTO `avancement_type` (`id`, `libelle`, `code`, `description`) VALUES
(1, 'Avancement d\'échelon', 'ECH', 'Avancement automatique à l\'échelon supérieur'),
(2, 'Avancement de grade', 'GRD', 'Avancement par changement de grade'),
(3, 'Avancement exceptionnel', 'EXC', 'Avancement exceptionnel sur décision'),
(4, 'Reclassement', 'REC', 'Reclassement suite à concours ou diplôme');

-- --------------------------------------------------------

--
-- Structure de la table `budget_faculte`
--

CREATE TABLE `budget_faculte` (
  `id` bigint(20) NOT NULL,
  `libelle` varchar(255) NOT NULL,
  `description` text DEFAULT NULL,
  `annee_budgitaire_id` bigint(20) NOT NULL,
  `montant_investissement_total` decimal(15,2) NOT NULL DEFAULT 0.00,
  `montant_fonctionnement_total` decimal(15,2) NOT NULL DEFAULT 0.00,
  `montant_investissement_engage` decimal(15,2) NOT NULL DEFAULT 0.00,
  `montant_fonctionnement_engage` decimal(15,2) NOT NULL DEFAULT 0.00,
  `montant_investissement_paye` decimal(15,2) NOT NULL DEFAULT 0.00,
  `montant_fonctionnement_paye` decimal(15,2) NOT NULL DEFAULT 0.00,
  `montant_investissement_restant` decimal(15,2) NOT NULL DEFAULT 0.00,
  `montant_fonctionnement_restant` decimal(15,2) NOT NULL DEFAULT 0.00,
  `etat_budget_faculte_id` bigint(20) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

--
-- Déchargement des données de la table `budget_faculte`
--

INSERT INTO `budget_faculte` (`id`, `libelle`, `description`, `annee_budgitaire_id`, `montant_investissement_total`, `montant_fonctionnement_total`, `montant_investissement_engage`, `montant_fonctionnement_engage`, `montant_investissement_paye`, `montant_fonctionnement_paye`, `montant_investissement_restant`, `montant_fonctionnement_restant`, `etat_budget_faculte_id`) VALUES
(1, 'Budget 2026', 'Budget général de l\'EST pour 2026', 2, '500000.00', '300000.00', '120000.00', '80000.00', '50000.00', '30000.00', '380000.00', '220000.00', 3),
                                                                                                                                                                                                                                                                    (2, 'Budget 2025', 'Budget 2025 exécuté', 1, '450000.00', '280000.00', '420000.00', '260000.00', '410000.00', '250000.00', '30000.00', '20000.00', 3),
                                                                                                                                                                                                                                                                    (3, 'Budget 2027 (prévisionnel)', 'Prévisionnel pour 2027', 3, '600000.00', '350000.00', '0.00', '0.00', '0.00', '0.00', '600000.00', '350000.00', 1),
                                                                                                                                                                                                                                                                    (8, 'Budget-2026', '', 1, '100.00', '200.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', 1);

-- --------------------------------------------------------

--
-- Structure de la table `budget_faculte_detail`
--

CREATE TABLE `budget_faculte_detail` (
                                         `id` bigint(20) NOT NULL,
                                         `pourcentage` decimal(5,2) NOT NULL DEFAULT 0.00,
                                         `libelle` varchar(255) NOT NULL,
                                         `description` text DEFAULT NULL,
                                         `budget_faculte_id` bigint(20) NOT NULL,
                                         `entite_administrative_id` bigint(20) NOT NULL,
                                         `montant_investissement_total` decimal(15,2) NOT NULL DEFAULT 0.00,
                                         `montant_fonctionnement_total` decimal(15,2) NOT NULL DEFAULT 0.00,
                                         `montant_investissement_engage` decimal(15,2) NOT NULL DEFAULT 0.00,
                                         `montant_fonctionnement_engage` decimal(15,2) NOT NULL DEFAULT 0.00,
                                         `montant_investissement_paye` decimal(15,2) NOT NULL DEFAULT 0.00,
                                         `montant_fonctionnement_paye` decimal(15,2) NOT NULL DEFAULT 0.00,
                                         `montant_investissement_restant` decimal(15,2) NOT NULL DEFAULT 0.00,
                                         `montant_fonctionnement_restant` decimal(15,2) NOT NULL DEFAULT 0.00
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

--
-- Déchargement des données de la table `budget_faculte_detail`
--

INSERT INTO `budget_faculte_detail` (`id`, `pourcentage`, `libelle`, `description`, `budget_faculte_id`, `entite_administrative_id`, `montant_investissement_total`, `montant_fonctionnement_total`, `montant_investissement_engage`, `montant_fonctionnement_engage`, `montant_investissement_paye`, `montant_fonctionnement_paye`, `montant_investissement_restant`, `montant_fonctionnement_restant`) VALUES
                                                                                                                                                                                                                                                                                                                                                                                                             (1, '35.00', 'Dép. Informatique', 'Budget alloué au département INFO', 1, 2, '175000.00', '105000.00', '50000.00', '30000.00', '20000.00', '10000.00', '125000.00', '75000.00'),
                                                                                                                                                                                                                                                                                                                                                                                                             (2, '25.00', 'Dép. Management', 'Budget alloué au département MGT', 1, 3, '125000.00', '75000.00', '30000.00', '20000.00', '15000.00', '10000.00', '95000.00', '55000.00'),
                                                                                                                                                                                                                                                                                                                                                                                                             (3, '20.00', 'Dép. Agroenvironnement', 'Budget alloué au département AGRO', 1, 4, '100000.00', '60000.00', '20000.00', '15000.00', '8000.00', '5000.00', '80000.00', '45000.00'),
                                                                                                                                                                                                                                                                                                                                                                                                             (4, '20.00', 'Direction Générale', 'Fonds central', 1, 1, '100000.00', '60000.00', '20000.00', '15000.00', '7000.00', '5000.00', '80000.00', '45000.00'),
                                                                                                                                                                                                                                                                                                                                                                                                             (12, '40.00', 'AGRO', '', 8, 4, '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00'),
                                                                                                                                                                                                                                                                                                                                                                                                             (13, '60.00', '60', '', 8, 2, '60.00', '120.00', '0.00', '0.00', '0.00', '0.00', '0.00', '0.00');

-- --------------------------------------------------------

--
-- Structure de la table `candidat`
--

CREATE TABLE `candidat` (
                            `id` bigint(20) NOT NULL,
                            `email` varchar(255) NOT NULL,
                            `password` varchar(255) DEFAULT NULL,
                            `nom` varchar(50) DEFAULT NULL,
                            `cin` varchar(50) DEFAULT NULL,
                            `phone` varchar(50) DEFAULT NULL,
                            `prenom` varchar(255) NOT NULL,
                            `blocked` int(11) NOT NULL,
                            `cnx_fail_number` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

--
-- Déchargement des données de la table `candidat`
--

INSERT INTO `candidat` (`id`, `email`, `password`, `nom`, `cin`, `phone`, `prenom`, `blocked`, `cnx_fail_number`) VALUES
                                                                                                                      (8, 'ahmed.benjelloun@gmail.com', '$2y$10$hZohXOKKoc9osZB7UwRIw.TErOKeAoaS43NNoGNUobJhkFE6yqWPi', 'Benjelloun', 'AB123456', '0612345678', 'Ahmed', 0, 0),
                                                                                                                      (9, 'fatima.zahra@yahoo.com', '$2y$10$hZohXOKKoc9osZB7UwRIw.TErOKeAoaS43NNoGNUobJhkFE6yqWPi', 'Zahra', 'FZ234567', '0623456789', 'Fatima', 0, 0),
                                                                                                                      (10, 'mohamed.alami@gmail.com', '$2y$10$hZohXOKKoc9osZB7UwRIw.TErOKeAoaS43NNoGNUobJhkFE6yqWPi', 'Alami', 'MA345678', '0634567890', 'Mohamed', 0, 0),
                                                                                                                      (11, 'sanae.benali@hotmail.com', '$2y$10$hZohXOKKoc9osZB7UwRIw.TErOKeAoaS43NNoGNUobJhkFE6yqWPi', 'Benali', 'SB456789', '0645678901', 'Sanae', 0, 0),
                                                                                                                      (12, 'youssef.mansouri@gmail.com', '$2y$10$hZohXOKKoc9osZB7UwRIw.TErOKeAoaS43NNoGNUobJhkFE6yqWPi', 'Mansouri', 'YM567890', '0656789012', 'Youssef', 0, 0),
                                                                                                                      (13, 'amina.karimi@yahoo.com', '$2y$10$hZohXOKKoc9osZB7UwRIw.TErOKeAoaS43NNoGNUobJhkFE6yqWPi', 'Karimi', 'AK678901', '0667890123', 'Amina', 0, 0),
                                                                                                                      (14, 'hassan.ouali@gmail.com', '$2y$10$hZohXOKKoc9osZB7UwRIw.TErOKeAoaS43NNoGNUobJhkFE6yqWPi', 'Ouali', 'HO789012', '0678901234', 'Hassan', 0, 0),
                                                                                                                      (15, 'khadija.bousaid@hotmail.com', '$2y$10$hZohXOKKoc9osZB7UwRIw.TErOKeAoaS43NNoGNUobJhkFE6yqWPi', 'Bousaid', 'KB890123', '0689012345', 'Khadija', 0, 0),
                                                                                                                      (16, 'rachid.tazi@gmail.com', '$2y$10$hZohXOKKoc9osZB7UwRIw.TErOKeAoaS43NNoGNUobJhkFE6yqWPi', 'Tazi', 'RT901234', '0690123456', 'Rachid', 0, 0),
                                                                                                                      (17, 'nadia.elmekki@yahoo.com', '$2y$10$hZohXOKKoc9osZB7UwRIw.TErOKeAoaS43NNoGNUobJhkFE6yqWPi', 'Elmekki', 'NE012345', '0701234567', 'Nadia', 0, 0),
                                                                                                                      (18, 'karim.berrada@gmail.com', '$2y$10$hZohXOKKoc9osZB7UwRIw.TErOKeAoaS43NNoGNUobJhkFE6yqWPi', 'Berrada', 'KB123456', '0612345679', 'Karim', 0, 0),
                                                                                                                      (19, 'sara.azzouz@hotmail.com', '$2y$10$hZohXOKKoc9osZB7UwRIw.TErOKeAoaS43NNoGNUobJhkFE6yqWPi', 'Azzouz', 'SA234567', '0623456780', 'Sara', 0, 0),
                                                                                                                      (20, 'soufiane.iraqui@gmail.com', '$2y$10$hZohXOKKoc9osZB7UwRIw.TErOKeAoaS43NNoGNUobJhkFE6yqWPi', 'Iraqui', 'SI345678', '0634567891', 'Soufiane', 0, 0),
                                                                                                                      (21, 'latifa.aziz@yahoo.com', '$2y$10$hZohXOKKoc9osZB7UwRIw.TErOKeAoaS43NNoGNUobJhkFE6yqWPi', 'Aziz', 'LA456789', '0645678902', 'Latifa', 0, 0),
                                                                                                                      (22, 'ismail.chakir@gmail.com', '$2y$10$hZohXOKKoc9osZB7UwRIw.TErOKeAoaS43NNoGNUobJhkFE6yqWPi', 'Chakir', 'IC567890', '0656789013', 'Ismail', 0, 0),
                                                                                                                      (23, 'meriem.bahri@hotmail.com', '$2y$10$hZohXOKKoc9osZB7UwRIw.TErOKeAoaS43NNoGNUobJhkFE6yqWPi', 'Bahri', 'MB678901', '0667890124', 'Meriem', 0, 0),
                                                                                                                      (24, 'taoufik.said@gmail.com', '$2y$10$hZohXOKKoc9osZB7UwRIw.TErOKeAoaS43NNoGNUobJhkFE6yqWPi', 'Said', 'TS789012', '0678901235', 'Taoufik', 0, 0),
                                                                                                                      (25, 'hajar.meziane@yahoo.com', '$2y$10$hZohXOKKoc9osZB7UwRIw.TErOKeAoaS43NNoGNUobJhkFE6yqWPi', 'Meziane', 'HM890123', '0689012346', 'Hajar', 0, 0),
                                                                                                                      (26, 'samir.hatimi@gmail.com', '$2y$10$hZohXOKKoc9osZB7UwRIw.TErOKeAoaS43NNoGNUobJhkFE6yqWPi', 'Hatimi', 'SH901234', '0690123457', 'Samir', 0, 0),
                                                                                                                      (27, 'chaima.benomar@hotmail.com', '$2y$10$hZohXOKKoc9osZB7UwRIw.TErOKeAoaS43NNoGNUobJhkFE6yqWPi', 'Benomar', 'CB012345', '0701234568', 'Chaima', 0, 0),
                                                                                                                      (28, 'yassin.bouazza@gmail.com', '$2y$10$hZohXOKKoc9osZB7UwRIw.TErOKeAoaS43NNoGNUobJhkFE6yqWPi', 'Bouazza', 'YB123456', '0612345680', 'Yassin', 0, 0),
                                                                                                                      (29, 'salma.elouafi@yahoo.com', '$2y$10$hZohXOKKoc9osZB7UwRIw.TErOKeAoaS43NNoGNUobJhkFE6yqWPi', 'Elouafi', 'SE234567', '0623456781', 'Salma', 0, 0),
                                                                                                                      (30, 'mehdi.fathi@gmail.com', '$2y$10$hZohXOKKoc9osZB7UwRIw.TErOKeAoaS43NNoGNUobJhkFE6yqWPi', 'Fathi', 'MF345678', '0634567892', 'Mehdi', 0, 0),
                                                                                                                      (31, 'ghita.radi@hotmail.com', '$2y$10$hZohXOKKoc9osZB7UwRIw.TErOKeAoaS43NNoGNUobJhkFE6yqWPi', 'Radi', 'GR456789', '0645678903', 'Ghita', 0, 0),
                                                                                                                      (32, 'hamza.chaoui@gmail.com', '$2y$10$hZohXOKKoc9osZB7UwRIw.TErOKeAoaS43NNoGNUobJhkFE6yqWPi', 'Chaoui', 'HC567890', '0656789014', 'Hamza', 0, 0),
                                                                                                                      (33, 'nour.elahd@yahoo.com', '$2y$10$hZohXOKKoc9osZB7UwRIw.TErOKeAoaS43NNoGNUobJhkFE6yqWPi', 'Elahd', 'NE678901', '0667890125', 'Nour', 0, 0),
                                                                                                                      (34, 'anas.berrichi@gmail.com', '$2y$10$hZohXOKKoc9osZB7UwRIw.TErOKeAoaS43NNoGNUobJhkFE6yqWPi', 'Berrichi', 'AB789012', '0678901236', 'Anas', 0, 0),
                                                                                                                      (35, 'ilyas.derraz@hotmail.com', '$2y$10$hZohXOKKoc9osZB7UwRIw.TErOKeAoaS43NNoGNUobJhkFE6yqWPi', 'Derraz', 'ID890123', '0689012347', 'Ilyas', 0, 0),
                                                                                                                      (36, 'malika.boutayeb@gmail.com', '$2y$10$hZohXOKKoc9osZB7UwRIw.TErOKeAoaS43NNoGNUobJhkFE6yqWPi', 'Boutayeb', 'MB901234', '0690123458', 'Malika', 0, 0),
                                                                                                                      (37, 'zakaria.gherbi@yahoo.com', '$2y$10$hZohXOKKoc9osZB7UwRIw.TErOKeAoaS43NNoGNUobJhkFE6yqWPi', 'Gherbi', 'ZG012345', '0701234569', 'Zakaria', 0, 0),
                                                                                                                      (38, 'imane.chemlal@gmail.com', '$2y$10$hZohXOKKoc9osZB7UwRIw.TErOKeAoaS43NNoGNUobJhkFE6yqWPi', 'Chemlal', 'IC123456', '0612345681', 'Imane', 0, 0),
                                                                                                                      (39, 'badr.abdellaoui@hotmail.com', '$2y$10$hZohXOKKoc9osZB7UwRIw.TErOKeAoaS43NNoGNUobJhkFE6yqWPi', 'Abdellaoui', 'BA234567', '0623456782', 'Badr', 0, 0),
                                                                                                                      (40, 'siham.aitali@gmail.com', '$2y$10$hZohXOKKoc9osZB7UwRIw.TErOKeAoaS43NNoGNUobJhkFE6yqWPi', 'Ait-Ali', 'SA345678', '0634567893', 'Siham', 0, 0),
                                                                                                                      (41, 'amin.berkani@yahoo.com', '$2y$10$hZohXOKKoc9osZB7UwRIw.TErOKeAoaS43NNoGNUobJhkFE6yqWPi', 'Berkani', 'AB456789', '0645678904', 'Amin', 0, 0),
                                                                                                                      (42, 'mouna.hassani@gmail.com', '$2y$10$hZohXOKKoc9osZB7UwRIw.TErOKeAoaS43NNoGNUobJhkFE6yqWPi', 'Hassani', 'MH567890', '0656789015', 'Mouna', 0, 0),
                                                                                                                      (43, 'mohamed.benjelloun@outlook.com', '$2y$10$hZohXOKKoc9osZB7UwRIw.TErOKeAoaS43NNoGNUobJhkFE6yqWPi', 'Benjelloun', 'MB678912', '0667890126', 'Mohamed', 0, 0),
                                                                                                                      (44, 'fatima.alami@outlook.com', '$2y$10$hZohXOKKoc9osZB7UwRIw.TErOKeAoaS43NNoGNUobJhkFE6yqWPi', 'Alami', 'FA678913', '0678901237', 'Fatima', 0, 0),
                                                                                                                      (45, 'youssef.benali@outlook.com', '$2y$10$hZohXOKKoc9osZB7UwRIw.TErOKeAoaS43NNoGNUobJhkFE6yqWPi', 'Benali', 'YB678914', '0689012348', 'Youssef', 0, 0),
                                                                                                                      (46, 'sanae.mansouri@outlook.com', '$2y$10$hZohXOKKoc9osZB7UwRIw.TErOKeAoaS43NNoGNUobJhkFE6yqWPi', 'Mansouri', 'SM678915', '0690123459', 'Sanae', 0, 0),
                                                                                                                      (47, 'hassan.karimi@outlook.com', '$2y$10$hZohXOKKoc9osZB7UwRIw.TErOKeAoaS43NNoGNUobJhkFE6yqWPi', 'Karimi', 'HK678916', '0701234570', 'Hassan', 0, 0),
                                                                                                                      (48, 'oussamabenjellounn@gmail.com', '$2y$10$cA02sVjU/UQZMN/gIqZB3OBpJ3yB5mvo/SROMK33zoKJjJvodPMBK', 'Benjelloun', 'XA150779', NULL, 'Oussama', 0, 0),
                                                                                                                      (49, 'hanane.chatbitazi@usmba.ac.ma', '$2y$10$V5lUw6pLeTOQoKOa5J5Tm.Yk1BzD5q2xiJ4NQewQJxBGqe1S90cg6', 'Chatbi-Tazi', 'CD789539', NULL, 'Hanane', 0, 0),
                                                                                                                      (50, 'meryemelmarti273@gmail.com', '$2y$10$75cGkFB.pJW0H51unwLzd.NxPXe/S9CDaTrPMa2B5QOyqaGH/vLEu', 'El Marti', 'D678868', NULL, 'Meryem', 0, 0),
                                                                                                                      (51, 'fadouaahachmi0220@gmail.com', '$2y$10$NfsEky7k3N.2WOZVrEsWWe/j66j5mzt6fvrRiGn35hh3OwalntR8W', 'AHACHMI', 'EE889884', NULL, 'FADOUA', 0, 0),
                                                                                                                      (52, 'maro.elarbaoui@gmail.com', '$2y$10$A4p7CqsumFXQ.j.7xwXARe2OkU5ye1dvDQfmuZCufjGwELEDcqYxK', 'EL ARBAOUI', 'WA326028', NULL, 'MAROUANE', 0, 0),
                                                                                                                      (53, 'mohamedhadfani2004@gmail.com', '$2y$10$7I2lbUGZxVjeDqe.oCWRo.p79sswQhFVRtE.LVrHdyO4TwOnpuyYm', 'Hadfani', 'Q369482', NULL, 'Mohamed', 0, 0),
                                                                                                                      (54, 'zinebznouba502@gmail.com', '$2y$10$.aiPcu.g964CTx3T6lQHIOLwsUtbJozMic.m0F4zkDg2ioXq.Qfei', 'ETTOUIL', 'DI23403', NULL, 'ZINEB', 0, 0),
                                                                                                                      (55, 'abderrahmanbendahman1@gmail.com', '$2y$10$isoyHYE4QBFB0rOV0rGZ.OBUMrv0j5b1HqoYxZFOS2QfdAIUUrLmO', 'BENDAHMAN', 'AD304173', NULL, 'Abderrahman', 0, 0),
                                                                                                                      (56, 'elaidiachraf04@gmail.com', '$2y$10$8Ve2W3xhTYseHMNif3Ut9u1CF2rBqONi5wDUKlLuJqbmWNRZpUioi', 'EL AIDI', 'V383957', NULL, 'ACHRAF', 0, 0),
                                                                                                                      (57, 'salmaaamira4@gmail.com', '$2y$10$ynRVUfs2IKp9n2srfFaoIuRMsU31.M5W2TnkjcSj439/YQqxdrjtC', 'AAMIRA', 'Y533955', NULL, 'Salma', 0, 0),
                                                                                                                      (58, 'anas@uca.ma', '$2y$10$A/1gITLFP75czNXPJsg5XeXVkDCzC0TzcqbhmFTBi92jOR3.lwyMa', 'Jarane', 'EE334455', NULL, 'Anas', 0, 1),
                                                                                                                      (59, 'zitounu@uca.ma', '$2y$10$46wnAYvokmA9WYoV65KQW.SiirxcVhW/1Ho0jYPtHFj5Me29Evq.y', 'Yanis', 'EE337788', NULL, 'Zitouni', 0, 0),
                                                                                                                      (60, 'mery@uca.ma', '$2y$10$o18h6X3SW5IqSPHm2bnNoOlvPZiSVSR/kPQe7YQctTD7xqL/wLc42', 'kounjab', 'EE345555', NULL, 'Mery', 0, 1),
                                                                                                                      (61, 'y.zouani@uca.ma', '$2y$10$9R4dclBBgVf2jj7dieVes.NaQgILcEnf6cKfz7dibHVPPbgAuUf2i', 'ZOUANI', 'EE667788', NULL, 'YOUNES', 0, 0),
                                                                                                                      (62, 'ee11@uca.ac.ma', '$2y$10$R6kqMyIFnXqjmqCS4P96bOeHPpfTtSrjlqytl5yBOnyswRR3iO.pa', 'Yassineeeee', 'EE112233', '0625495187', 'Alaouiiiiii', 0, 2),
                                                                                                                      (63, 'zouani.younes@gmail.com', '$2y$10$fYiOoXmDSnQf44CLmy18B.HyxZsmhkLJJbjINsfdlByTY9HD94k/6', 'ZOUANI', 'EE119988', NULL, 'YOUNES', 1, 3),
                                                                                                                      (64, 'ana.younes@gmail.com', '$2y$10$cQBLru4WP8gFdss.aJrkIuCbBlHVux6hstFxvhLIDgy1T5MbXWmnK', 'ZOUANI', 'ABC1234', NULL, 'YOUNES', 0, 0),
                                                                                                                      (65, 'ayaayouch@gmail.com', '$2y$10$l6MTBqBV6uYrQez896rpq.Mqjquwp8idBpvnUe1IQfAa9JKy3yyhm', 'ayouch', 'Ma178181', NULL, 'aya', 0, 0),
                                                                                                                      (73, 'lst.sir.2015@gmail.com', '$2y$10$nNoZ6tleO72.4mrn.BJLjuDKcfKuD6G/6RBXR6my1Bx5RPX4ge.j2', 'ZOUANI', 'EE345559', NULL, 'YOUNES', 0, 0),
                                                                                                                      (75, 'lst.sir.2015@gmail.comm', '$2y$10$UUWNL81sdP/ad3l9VDclQOEMAuUlev8G3Ac35vxnhTPa6bQ2tpcx2', 'Ana', 'EE345550', NULL, 'Yonos', 0, 0),
                                                                                                                      (77, 'maryamkounjab94@gmail.com', '$2y$10$ybu6IDOgowTIfVHTLR9NRetQDB/0u37J7Om7rBota.OBqzfEajttm', 'Ana', 'EE337700', NULL, 'Mery', 0, 0),
                                                                                                                      (78, 'zouani.younes1@gmail.com', '$2y$10$hvffaaBEqRy703qi6V1EY.EBV1hdstzoOtaNt.q3yz9K5/n.LomDy', 'ZOUANI', 'EJBI7878', NULL, 'YOUNES', 0, 0);

-- --------------------------------------------------------

--
-- Structure de la table `categorie_produit`
--

CREATE TABLE `categorie_produit` (
                                     `id` bigint(20) NOT NULL,
                                     `libelle` varchar(255) NOT NULL,
                                     `code` varchar(50) NOT NULL,
                                     `style` varchar(50) DEFAULT NULL,
                                     `description` text DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

--
-- Déchargement des données de la table `categorie_produit`
--

INSERT INTO `categorie_produit` (`id`, `libelle`, `code`, `style`, `description`) VALUES
                                                                                      (1, 'Fournitures de bureau', 'BUREAU', 'info', 'Papeterie, cartouches, etc.'),
                                                                                      (2, 'Matériel informatique', 'INFO', 'primary', 'Ordinateurs, périphériques, serveurs'),
                                                                                      (3, 'Mobilier', 'MEUBLE', 'warning', 'Bureaux, chaises, armoires'),
                                                                                      (4, 'Consommables de laboratoire', 'LABO', 'danger', 'Réactifs, verrerie, EPI'),
                                                                                      (5, 'Entretien et maintenance', 'MAINT', 'secondary', 'Produits d\'entretien, outillage');

-- --------------------------------------------------------

--
-- Structure de la table `category_document_dossier_admin`
--

CREATE TABLE `category_document_dossier_admin` (
  `id` bigint(20) NOT NULL,
  `libelle` varchar(255) NOT NULL,
  `code` varchar(255) NOT NULL,
  `description` text DEFAULT NULL,
  `badge` varchar(255) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

--
-- Déchargement des données de la table `category_document_dossier_admin`
--

INSERT INTO `category_document_dossier_admin` (`id`, `libelle`, `code`, `description`, `badge`) VALUES
(1, 'Contrat', 'contrat', 'Contrats de travail', 'info'),
(2, 'Diplôme', 'diplome', 'Documents de diplômes', 'success'),
(3, 'Identité', 'identite', 'CIN et pièces identité', 'warning'),
(4, 'Administratif', 'administratif', 'Documents administratifs', 'primary'),
(5, 'Médical', 'medical', 'Certificats médicaux', 'danger'),
(6, 'Formation', 'formation', 'Attestations formation', 'secondary'),
(7, 'Autre', 'autre', 'Autres documents', 'dark');

-- --------------------------------------------------------

--
-- Structure de la table `certificat_medical`
--

CREATE TABLE `certificat_medical` (
  `id` bigint(20) NOT NULL,
  `libelle` varchar(255) NOT NULL,
  `code` varchar(30) NOT NULL,
  `date` date NOT NULL,
  `student_id` bigint(20) NOT NULL,
  `fichier_pdf` varchar(255) NOT NULL,
  `message` text DEFAULT NULL,
  `semestre_id` bigint(20) DEFAULT NULL,
  `module_id` bigint(20) DEFAULT NULL,
  `type_examen` varchar(50) DEFAULT NULL,
  `annee_universitaire` varchar(20) DEFAULT NULL,
  `statut` varchar(20) NOT NULL DEFAULT 'en_attente',
  `reponse_admin` text DEFAULT NULL,
  `date_depot` datetime NOT NULL DEFAULT current_timestamp(),
  `date_traitement` datetime DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

-- --------------------------------------------------------

--
-- Structure de la table `commite_organisation_membre`
--

CREATE TABLE `commite_organisation_membre` (
  `id` bigint(20) NOT NULL,
  `employee_id` bigint(20) NOT NULL,
  `concours_id` bigint(20) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

--
-- Déchargement des données de la table `commite_organisation_membre`
--

INSERT INTO `commite_organisation_membre` (`id`, `employee_id`, `concours_id`) VALUES
(4, 13, 4),
(5, 12, 4),
(6, 19, 4);

-- --------------------------------------------------------

--
-- Structure de la table `concours`
--

CREATE TABLE `concours` (
  `id` bigint(20) NOT NULL,
  `code` varchar(255) NOT NULL,
  `label` varchar(255) NOT NULL,
  `description` text DEFAULT NULL,
  `active` tinyint(1) DEFAULT NULL,
  `filiere` varchar(255) DEFAULT NULL,
  `date_lancement` datetime DEFAULT NULL,
  `date_fin` datetime DEFAULT NULL,
  `commite_organisation_id` bigint(20) DEFAULT NULL,
  `etat_concours` varchar(100) DEFAULT NULL,
  `date_fin_inscription` datetime DEFAULT NULL,
  `date_affichage_ecrit` datetime DEFAULT NULL,
  `date_ecrit` datetime DEFAULT NULL,
  `date_affichage_orale` datetime DEFAULT NULL,
  `date_orale` datetime DEFAULT NULL,
  `date_affichage_resultat` datetime DEFAULT NULL,
  `chef_commite_organisation` bigint(20) DEFAULT NULL,
  `nbr_selection_initial` int(11) DEFAULT NULL,
  `nbr_elegible_ecrit` int(11) DEFAULT NULL,
  `nbr_elegible_oral` int(11) DEFAULT NULL,
  `nbr_selection_finale` int(11) DEFAULT NULL,
  `nbr_selection_attente` int(11) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

--
-- Déchargement des données de la table `concours`
--

INSERT INTO `concours` (`id`, `code`, `label`, `description`, `active`, `filiere`, `date_lancement`, `date_fin`, `commite_organisation_id`, `etat_concours`, `date_fin_inscription`, `date_affichage_ecrit`, `date_ecrit`, `date_affichage_orale`, `date_orale`, `date_affichage_resultat`, `chef_commite_organisation`, `nbr_selection_initial`, `nbr_elegible_ecrit`, `nbr_elegible_oral`, `nbr_selection_finale`, `nbr_selection_attente`) VALUES
(1, 'CONC-2026-BDAPA', 'Concours Bachelor - Biotechnologies et Amélioration des Productions Agricoles (BAPA)', 'Concours d\'accès au Bachelor en Technologies - Filière Biotechnologies, Digitalisation et Amélioration des Productions Agricoles - Pour les titulaires de Bac+2', 1, 'Biotechnologies et Productions Agricoles', '2026-01-15 08:00:00', '2026-09-30 23:59:59', NULL, 'OUVERT', '2026-07-31 23:59:59', '2026-08-10 08:00:00', '2026-08-15 09:00:00', '2026-08-20 08:00:00', '2026-08-22 09:00:00', '2026-09-15 08:00:00', 1, NULL, NULL, NULL, NULL, NULL),
                                                                                      (2, 'CONC-2026-CCA', 'Concours Bachelor - Comptabilité, Contrôle et Audit(CCA)', 'Concours d\'accès au Bachelor en Technologies - Filière Comptabilité,\r\n        Contrôle et Audit - Pour les titulaires de Bac+2', 1, 'Comptabilité, Contrôle et Audit', '2026-01-15 08:00:00', '2026-09-30 23:59:59', NULL, 'OUVERT', '2026-07-31 23:59:59', '2026-08-10 08:00:00', '2026-08-15 09:00:00', '2026-08-20 08:00:00', '2026-08-22 09:00:00', '2026-09-15 08:00:00', 1, NULL, NULL, NULL, NULL, NULL),
(3, 'CONC-2026-CSTC', 'Concours Bachelor - Cyber Sécurité et Technologies Cloud(CSTC)', 'Concours d\'accès au Bachelor en Technologies - Filière Cyber Sécurité et Technologies Cloud - Pour les titulaires de Bac+2', 1, 'Cyber Sécurité et Technologies Cloud', '2026-01-15 08:00:00', '2026-09-30 23:59:59', NULL, 'OUVERT', '2026-07-31 23:59:59', '2026-08-10 08:00:00', '2026-08-15 09:00:00', '2026-08-20 08:00:00', '2026-08-22 09:00:00', '2026-09-15 08:00:00', 1, NULL, NULL, NULL, NULL, NULL),
                                                                                      (4, 'CONC-2026-GCF', 'Concours Bachelor - Gestion Comptable et Financière (GCF)', 'Concours d\'accès au Bachelor en Technologies - Filière Gestion Comptable et Financière - Pour les titulaires de Bac+2', 1, 'Gestion Comptable et Financière', '2026-01-15 08:00:00', '2026-09-30 23:59:59', NULL, 'OUVERT', '2026-07-31 23:59:59', '2026-08-10 08:00:00', '2026-08-15 09:00:00', '2026-08-20 08:00:00', '2026-08-22 09:00:00', '2026-09-15 08:00:00', 1, NULL, NULL, NULL, NULL, NULL),
(5, 'CONC-2026-ISITW', 'Concours Bachelor - Ingénierie des Systèmes Informatiques et Technologies Web(ISITW)', 'Concours d\'accès au Bachelor en Technologies - Filière Ingénierie des Systèmes Informatiques et Technologies Web - Pour les titulaires de Bac+2', 1, 'Ingénierie des Systèmes Informatiques et Technologies Web', '2026-01-15 08:00:00', '2026-09-30 23:59:59', NULL, 'OUVERT', '2026-07-31 23:59:59', '2026-08-10 08:00:00', '2026-08-15 09:00:00', '2026-08-20 08:00:00', '2026-08-22 09:00:00', '2026-09-15 08:00:00', 1, NULL, NULL, NULL, NULL, NULL);

-- --------------------------------------------------------

--
-- Structure de la table `concours_detail`
--

CREATE TABLE `concours_detail` (
                                   `id` bigint(20) NOT NULL,
                                   `concours_id` bigint(20) NOT NULL,
                                   `type_diplome_id` int(11) NOT NULL,
                                   `pourcentage` decimal(5,2) DEFAULT NULL,
                                   `description` text DEFAULT NULL,
                                   `nbr_selection_initial` int(11) DEFAULT NULL,
                                   `nbr_elegible_ecrit` int(11) DEFAULT NULL,
                                   `nbr_elegible_oral` int(11) DEFAULT NULL,
                                   `nbr_selection_finale` int(11) DEFAULT NULL,
                                   `nbr_selection_attente` int(11) DEFAULT NULL,
                                   `pourcentage_selection_initial` int(11) DEFAULT NULL,
                                   `pourcentage_elegible_ecrit` int(11) DEFAULT NULL,
                                   `pourcentage_elegible_oral` int(11) DEFAULT NULL,
                                   `pourcentage_selection_finale` int(11) DEFAULT NULL,
                                   `pourcentage_selection_attente` int(11) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

--
-- Déchargement des données de la table `concours_detail`
--

INSERT INTO `concours_detail` (`id`, `concours_id`, `type_diplome_id`, `pourcentage`, `description`, `nbr_selection_initial`, `nbr_elegible_ecrit`, `nbr_elegible_oral`, `nbr_selection_finale`, `nbr_selection_attente`, `pourcentage_selection_initial`, `pourcentage_elegible_ecrit`, `pourcentage_elegible_oral`, `pourcentage_selection_finale`, `pourcentage_selection_attente`) VALUES
                                                                                                                                                                                                                                                                                                                                                                                           (127, 1, 1, '10.00', '10% DEUST', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
                                                                                                                                                                                                                                                                                                                                                                                           (128, 1, 2, '15.00', '15% BTS', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
                                                                                                                                                                                                                                                                                                                                                                                           (129, 1, 3, '10.00', '10% DEUG', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
                                                                                                                                                                                                                                                                                                                                                                                           (130, 1, 4, '20.00', '20% DUT', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
                                                                                                                                                                                                                                                                                                                                                                                           (131, 1, 5, '10.00', '10% DTS', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
                                                                                                                                                                                                                                                                                                                                                                                           (132, 1, 6, '5.00', '5% DTA', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
                                                                                                                                                                                                                                                                                                                                                                                           (133, 1, 7, '5.00', '5% DU', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
                                                                                                                                                                                                                                                                                                                                                                                           (134, 1, 8, '5.00', '5% DT', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
                                                                                                                                                                                                                                                                                                                                                                                           (135, 1, 9, '10.00', '10% DTS - OFPPT', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
                                                                                                                                                                                                                                                                                                                                                                                           (136, 1, 10, '10.00', '10% DEUP', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
                                                                                                                                                                                                                                                                                                                                                                                           (137, 2, 1, '10.00', '10% DEUST', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
                                                                                                                                                                                                                                                                                                                                                                                           (138, 2, 2, '15.00', '15% BTS Comptabilité', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
                                                                                                                                                                                                                                                                                                                                                                                           (139, 2, 3, '10.00', '10% DEUG', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
                                                                                                                                                                                                                                                                                                                                                                                           (140, 2, 4, '20.00', '20% DUT Gestion', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
                                                                                                                                                                                                                                                                                                                                                                                           (141, 2, 5, '10.00', '10% DTS', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
                                                                                                                                                                                                                                                                                                                                                                                           (142, 2, 6, '5.00', '5% DTA', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
                                                                                                                                                                                                                                                                                                                                                                                           (143, 2, 7, '5.00', '5% DU', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
                                                                                                                                                                                                                                                                                                                                                                                           (144, 2, 8, '5.00', '5% DT', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
                                                                                                                                                                                                                                                                                                                                                                                           (145, 2, 9, '10.00', '10% DTS - OFPPT', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
                                                                                                                                                                                                                                                                                                                                                                                           (146, 2, 10, '10.00', '10% DEUP', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
                                                                                                                                                                                                                                                                                                                                                                                           (147, 3, 1, '10.00', '10% DEUST', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
                                                                                                                                                                                                                                                                                                                                                                                           (148, 3, 2, '10.00', '10% BTS Informatique', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
                                                                                                                                                                                                                                                                                                                                                                                           (149, 3, 3, '10.00', '10% DEUG', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
                                                                                                                                                                                                                                                                                                                                                                                           (150, 3, 4, '25.00', '25% DUT Informatique', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
                                                                                                                                                                                                                                                                                                                                                                                           (151, 3, 5, '10.00', '10% DTS', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
                                                                                                                                                                                                                                                                                                                                                                                           (152, 3, 6, '5.00', '5% DTA', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
                                                                                                                                                                                                                                                                                                                                                                                           (153, 3, 7, '5.00', '5% DU', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
                                                                                                                                                                                                                                                                                                                                                                                           (154, 3, 8, '5.00', '5% DT', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
                                                                                                                                                                                                                                                                                                                                                                                           (155, 3, 9, '10.00', '10% DTS - OFPPT', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
                                                                                                                                                                                                                                                                                                                                                                                           (156, 3, 10, '10.00', '10% DEUP', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
                                                                                                                                                                                                                                                                                                                                                                                           (157, 4, 1, '10.00', '10% DEUST', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
                                                                                                                                                                                                                                                                                                                                                                                           (158, 4, 2, '10.00', '10% BTS Electrotechnique', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
                                                                                                                                                                                                                                                                                                                                                                                           (159, 4, 3, '10.00', '10% DEUG', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
                                                                                                                                                                                                                                                                                                                                                                                           (160, 4, 4, '25.00', '25% DUT GE', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
                                                                                                                                                                                                                                                                                                                                                                                           (161, 4, 5, '10.00', '10% DTS', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
                                                                                                                                                                                                                                                                                                                                                                                           (162, 4, 6, '5.00', '5% DTA', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
                                                                                                                                                                                                                                                                                                                                                                                           (163, 4, 7, '5.00', '5% DU', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
                                                                                                                                                                                                                                                                                                                                                                                           (164, 4, 8, '5.00', '5% DT', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
                                                                                                                                                                                                                                                                                                                                                                                           (165, 4, 9, '10.00', '10% DTS - OFPPT', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
                                                                                                                                                                                                                                                                                                                                                                                           (166, 4, 10, '10.00', '10% DEUP', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
                                                                                                                                                                                                                                                                                                                                                                                           (167, 5, 1, '10.00', '10% DEUST', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
                                                                                                                                                                                                                                                                                                                                                                                           (168, 5, 2, '10.00', '10% BTS Industriel', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
                                                                                                                                                                                                                                                                                                                                                                                           (169, 5, 3, '10.00', '10% DEUG', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
                                                                                                                                                                                                                                                                                                                                                                                           (170, 5, 4, '25.00', '25% DUT Industriel', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
                                                                                                                                                                                                                                                                                                                                                                                           (171, 5, 5, '10.00', '10% DTS', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
                                                                                                                                                                                                                                                                                                                                                                                           (172, 5, 6, '5.00', '5% DTA', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
                                                                                                                                                                                                                                                                                                                                                                                           (173, 5, 7, '5.00', '5% DU', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
                                                                                                                                                                                                                                                                                                                                                                                           (174, 5, 8, '5.00', '5% DT', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
                                                                                                                                                                                                                                                                                                                                                                                           (175, 5, 9, '10.00', '10% DTS - OFPPT', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
                                                                                                                                                                                                                                                                                                                                                                                           (176, 5, 10, '10.00', '10% DEUP', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL);

-- --------------------------------------------------------

--
-- Structure de la table `demande`
--

CREATE TABLE `demande` (
                           `id` bigint(20) NOT NULL,
                           `libelle` varchar(255) NOT NULL,
                           `description` text DEFAULT NULL,
                           `date_demande` date DEFAULT NULL,
                           `montant_total` decimal(15,2) NOT NULL DEFAULT 0.00,
                           `montant_paye` decimal(15,2) NOT NULL DEFAULT 0.00,
                           `annee_universitaire_id` bigint(20) DEFAULT NULL,
                           `devis_demande_id` bigint(20) DEFAULT NULL,
                           `type_demande_id` bigint(20) NOT NULL,
                           `etat_demande_id` bigint(20) NOT NULL,
                           `fournisseur_id` bigint(20) NOT NULL,
                           `entite_administrative_id` bigint(20) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

--
-- Déchargement des données de la table `demande`
--

INSERT INTO `demande` (`id`, `libelle`, `description`, `date_demande`, `montant_total`, `montant_paye`, `annee_universitaire_id`, `devis_demande_id`, `type_demande_id`, `etat_demande_id`, `fournisseur_id`, `entite_administrative_id`) VALUES
                                                                                                                                                                                                                                              (1, 'Demande Achat Bureau', 'Papier + cartouches', '2026-03-10', '2500.00', '2000.00', 2, 1, 1, 3, 1, 2),
                                                                                                                                                                                                                                              (2, 'Demande Achat Informatique', 'PC + serveur', '2026-03-20', '12000.00', '9000.00', 2, 2, 1, 2, 2, 2),
                                                                                                                                                                                                                                              (3, 'Demande Achat Mobilier', 'Bureaux et chaises', '2026-04-01', '4500.00', '4500.00', 2, 3, 1, 5, 3, 3),
                                                                                                                                                                                                                                              (4, 'Demande Achat Labo', 'Éthanol et gants', '2026-04-15', '800.00', '0.00', 2, 4, 1, 1, 4, 4),
                                                                                                                                                                                                                                              (5, 'Demande Entretien', 'Détergent', '2026-04-20', '500.00', '500.00', 2, 5, 1, 5, 5, 1),
                                                                                                                                                                                                                                              (7, 'dem-2026', '', '2026-08-20', '300.00', '0.00', 3, 5, 1, 1, 5, 4),
                                                                                                                                                                                                                                              (9, 'Devis laboratoire', 'Éthanol et gants', '2026-04-01', '800.00', '0.00', 2, 4, 1, 1, 4, 4),
                                                                                                                                                                                                                                              (10, 'dem-2026-1', '', '2026-08-20', '100.00', '100.00', 3, 5, 1, 2, 5, 4);

-- --------------------------------------------------------

--
-- Structure de la table `demande_detail`
--

CREATE TABLE `demande_detail` (
                                  `id` bigint(20) NOT NULL,
                                  `categorie_produit_id` bigint(20) NOT NULL,
                                  `produit_id` bigint(20) NOT NULL,
                                  `quantite_demande` int(11) NOT NULL DEFAULT 0,
                                  `quantite_commande` int(11) NOT NULL DEFAULT 0,
                                  `quantite_receptionnee` int(11) NOT NULL DEFAULT 0,
                                  `quantite_livree` int(11) NOT NULL DEFAULT 0,
                                  `description` text DEFAULT NULL,
                                  `expression_besoin_id` bigint(20) DEFAULT NULL,
                                  `demande_id` bigint(20) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

--
-- Déchargement des données de la table `demande_detail`
--

INSERT INTO `demande_detail` (`id`, `categorie_produit_id`, `produit_id`, `quantite_demande`, `quantite_commande`, `quantite_receptionnee`, `quantite_livree`, `description`, `expression_besoin_id`, `demande_id`) VALUES
                                                                                                                                                                                                                        (1, 1, 1, 20, 20, 15, 15, 'Papier A4', 1, 1),
                                                                                                                                                                                                                        (2, 1, 2, 10, 10, 10, 10, 'Cartouches', 1, 1),
                                                                                                                                                                                                                        (3, 2, 3, 4, 4, 4, 4, 'PC', 2, 2),
                                                                                                                                                                                                                        (4, 2, 4, 1, 1, 1, 1, 'Serveur', 2, 2),
                                                                                                                                                                                                                        (5, 3, 5, 3, 3, 3, 3, 'Bureaux', 3, 3),
                                                                                                                                                                                                                        (6, 3, 6, 2, 2, 2, 2, 'Chaises', 3, 3),
                                                                                                                                                                                                                        (7, 4, 7, 8, 8, 8, 8, 'Éthanol', 4, 4),
                                                                                                                                                                                                                        (8, 4, 8, 5, 5, 5, 5, 'Gants', 4, 4),
                                                                                                                                                                                                                        (9, 5, 9, 10, 10, 10, 10, 'Détergent', 5, 5),
                                                                                                                                                                                                                        (12, 5, 10, 20, 0, 0, 0, '', NULL, 7),
                                                                                                                                                                                                                        (13, 2, 3, 30, 0, 0, 0, '', NULL, 7),
                                                                                                                                                                                                                        (15, 4, 7, 8, 0, 0, 0, 'Éthanol', 4, 9),
                                                                                                                                                                                                                        (16, 4, 8, 5, 0, 0, 0, 'Gants', 4, 9),
                                                                                                                                                                                                                        (17, 4, 7, 20, 0, 19, 16, '', NULL, 10),
                                                                                                                                                                                                                        (18, 4, 8, 30, 0, 22, 25, '', NULL, 10),
                                                                                                                                                                                                                        (19, 2, 3, 100, 0, 89, 28, '', NULL, 10);

-- --------------------------------------------------------

--
-- Structure de la table `demande_detail_repartition`
--

CREATE TABLE `demande_detail_repartition` (
                                              `id` bigint(20) NOT NULL,
                                              `demande_detail_id` bigint(20) NOT NULL,
                                              `produit_id` bigint(20) NOT NULL,
                                              `quantite_demande` int(11) NOT NULL DEFAULT 0,
                                              `quantite_commande` int(11) NOT NULL DEFAULT 0,
                                              `quantite_receptionnee` int(11) NOT NULL DEFAULT 0,
                                              `quantite_livree` int(11) NOT NULL DEFAULT 0,
                                              `description` text DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

--
-- Déchargement des données de la table `demande_detail_repartition`
--

INSERT INTO `demande_detail_repartition` (`id`, `demande_detail_id`, `produit_id`, `quantite_demande`, `quantite_commande`, `quantite_receptionnee`, `quantite_livree`, `description`) VALUES
                                                                                                                                                                                           (1, 1, 1, 20, 20, 15, 15, 'Répartition papier entre départements'),
                                                                                                                                                                                           (2, 3, 3, 2, 2, 2, 2, 'PC pour département INFO'),
                                                                                                                                                                                           (3, 3, 3, 2, 2, 2, 2, 'PC pour département MGT');

-- --------------------------------------------------------

--
-- Structure de la table `demande_document`
--

CREATE TABLE `demande_document` (
                                    `id` bigint(20) NOT NULL,
                                    `employee_id` bigint(20) NOT NULL,
                                    `libelle` varchar(255) NOT NULL,
                                    `description` text DEFAULT NULL,
                                    `etat_demande_document_id` bigint(20) NOT NULL,
                                    `type_demande_document_id` bigint(20) NOT NULL,
                                    `date_soumission` date DEFAULT NULL,
                                    `date_reponse` date DEFAULT NULL,
                                    `date_creation` date NOT NULL DEFAULT current_timestamp(),
                                    `date_modification` date DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

--
-- Déchargement des données de la table `demande_document`
--

INSERT INTO `demande_document` (`id`, `employee_id`, `libelle`, `description`, `etat_demande_document_id`, `type_demande_document_id`, `date_soumission`, `date_reponse`, `date_creation`, `date_modification`) VALUES
                                                                                                                                                                                                                    (1, 1, 'Demande de stage', 'Stage pour le semestre prochain', 4, 1, '2026-06-01', '2026-06-24', '2026-06-01', NULL),
                                                                                                                                                                                                                    (2, 1, 'Demande de congé', 'Congé annuel 2026', 3, 2, '2026-06-02', '2026-06-24', '2026-06-02', NULL);

-- --------------------------------------------------------

--
-- Structure de la table `demande_etudiant`
--

CREATE TABLE `demande_etudiant` (
                                    `id` int(11) NOT NULL,
                                    `student_id` int(11) NOT NULL,
                                    `etat_id` int(11) NOT NULL,
                                    `type_id` int(11) NOT NULL,
                                    `description` text DEFAULT NULL,
                                    `date_traitement` datetime DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

--
-- Déchargement des données de la table `demande_etudiant`
--

INSERT INTO `demande_etudiant` (`id`, `student_id`, `etat_id`, `type_id`, `description`, `date_traitement`) VALUES
                                                                                                                (1, 1, 1, 1, 'Besoin de l\'attestation pour la carte de bus.', NULL),
(2, 2, 2, 2, 'Relevé de notes du 1er semestre.', '2026-07-02 10:30:00');

-- --------------------------------------------------------

--
-- Structure de la table `departement`
--

CREATE TABLE `departement` (
  `id` bigint(20) NOT NULL,
  `libelle` varchar(255) NOT NULL,
  `code` varchar(50) NOT NULL,
  `description` text DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

--
-- Déchargement des données de la table `departement`
--

INSERT INTO `departement` (`id`, `libelle`, `code`, `description`) VALUES
(1, 'Génie Informatique et Mathematique', 'GNIE-MATH-INFO', 'Département spécialisé dans les sciences de l\'informatique et réseaux.'),
                                                                                                                (2, 'Techniques de Management', 'TM', 'Département dédié à la gestion, commerce et administration des entreprises.'),
                                                                                                                (3, 'Administration', 'ADMINISTRATION', 'Département pour l\'administration sous le controle de SG.'),
(4, 'Agroenvironnement', 'AGRO', 'Département Agroenvironnement.');

-- --------------------------------------------------------

--
-- Structure de la table `devis_demande`
--

CREATE TABLE `devis_demande` (
  `id` bigint(20) NOT NULL,
  `libelle` varchar(255) NOT NULL,
  `description` text DEFAULT NULL,
  `date_demande` date DEFAULT NULL,
  `montant_total` decimal(15,2) NOT NULL DEFAULT 0.00,
  `annee_universitaire_id` bigint(20) DEFAULT NULL,
  `type_devis_demande_id` bigint(20) NOT NULL,
  `etat_devis_demande_id` bigint(20) NOT NULL,
  `fournisseur_id` bigint(20) NOT NULL,
  `entite_administrative_id` bigint(20) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

--
-- Déchargement des données de la table `devis_demande`
--

INSERT INTO `devis_demande` (`id`, `libelle`, `description`, `date_demande`, `montant_total`, `annee_universitaire_id`, `type_devis_demande_id`, `etat_devis_demande_id`, `fournisseur_id`, `entite_administrative_id`) VALUES
(1, 'Devis fournitures de bureau', 'Papier + cartouches', '2026-03-01', '2500.00', 2, 1, 3, 1, 2),
(2, 'Devis matériel informatique', '5 PC + 1 serveur', '2026-03-15', '12000.00', 2, 1, 2, 2, 2),
(3, 'Devis mobilier', 'Bureaux et chaises', '2026-03-20', '4500.00', 2, 1, 3, 3, 3),
(4, 'Devis laboratoire', 'Éthanol et gants', '2026-04-01', '800.00', 2, 1, 1, 4, 4),
(5, 'Devis entretien', 'Détergent', '2026-04-10', '500.00', 2, 1, 3, 5, 1),
(11, 'test 001', 'test 001', '2026-08-21', '0.00', 3, 2, 3, 1, 6),
(14, 'test 001 (copie)', 'test 001', '2026-08-21', '0.00', 3, 2, 3, 1, 6),
(15, 'Devis fournitures de bureau (copie)', 'Papier + cartouches', '2026-03-01', '2500.00', 2, 1, 3, 1, 2);

-- --------------------------------------------------------

--
-- Structure de la table `devis_demande_detail`
--

CREATE TABLE `devis_demande_detail` (
  `id` bigint(20) NOT NULL,
  `categorie_produit_id` bigint(20) NOT NULL,
  `produit_id` bigint(20) NOT NULL,
  `quantite` int(11) NOT NULL DEFAULT 0,
  `description` text DEFAULT NULL,
  `expression_besoin_id` bigint(20) DEFAULT NULL,
  `devis_demande_id` bigint(20) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

--
-- Déchargement des données de la table `devis_demande_detail`
--

INSERT INTO `devis_demande_detail` (`id`, `categorie_produit_id`, `produit_id`, `quantite`, `description`, `expression_besoin_id`, `devis_demande_id`) VALUES
(1, 1, 1, 20, 'Papier A4', 1, 1),
(2, 1, 2, 10, 'Cartouches noires', 1, 1),
(3, 2, 3, 4, 'PC Dell', 2, 2),
(4, 2, 4, 1, 'Serveur HP', 2, 2),
(5, 3, 5, 3, 'Bureaux', 3, 3),
(6, 3, 6, 2, 'Chaises', 3, 3),
(7, 4, 7, 8, 'Éthanol', 4, 4),
(8, 4, 8, 5, 'Gants', 4, 4),
(9, 5, 9, 10, 'Détergent', 5, 5),
(24, 3, 19, 3, 'Bureaux 160x80', NULL, 11),
(25, 3, 20, 2, 'Lot de 6 chaises', NULL, 11),
(26, 4, 21, 70, 'LAB 11', NULL, 11),
(27, 1, 22, 600, 'IMPRI 001', NULL, 11),
(36, 3, 19, 3, 'Bureaux 160x80', NULL, 14),
(37, 3, 20, 2, 'Lot de 6 chaises', NULL, 14),
(38, 4, 21, 70, 'LAB 11', NULL, 14),
(39, 1, 22, 600, 'IMPRI 001', NULL, 14),
(40, 1, 1, 20, 'Papier A4', NULL, 15),
(41, 1, 2, 10, 'Cartouches noires', NULL, 15);

-- --------------------------------------------------------

--
-- Structure de la table `document_dossier_admin`
--

CREATE TABLE `document_dossier_admin` (
  `id` bigint(20) NOT NULL,
  `employee_id` bigint(20) NOT NULL,
  `departement_id` bigint(20) DEFAULT NULL,
  `original_name` text NOT NULL,
  `stored_name` text NOT NULL,
  `mime_type_id` bigint(20) NOT NULL,
  `size` bigint(20) NOT NULL,
  `category_id` bigint(20) NOT NULL,
  `note` text DEFAULT NULL,
  `uploaded_at` datetime NOT NULL,
  `uploaded_by` bigint(20) NOT NULL,
  `expiry_date` date DEFAULT NULL,
  `annee_univ` int(4) DEFAULT NULL,
  `is_verified` int(1) NOT NULL DEFAULT 0,
  `verified_by` bigint(20) DEFAULT NULL,
  `verified_at` datetime DEFAULT NULL,
  `etat_document_dossier_administratif_id` bigint(20) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

--
-- Déchargement des données de la table `document_dossier_admin`
--

INSERT INTO `document_dossier_admin` (`id`, `employee_id`, `departement_id`, `original_name`, `stored_name`, `mime_type_id`, `size`, `category_id`, `note`, `uploaded_at`, `uploaded_by`, `expiry_date`, `annee_univ`, `is_verified`, `verified_by`, `verified_at`, `etat_document_dossier_administratif_id`) VALUES
(20, 21, 1, 'TD - 05 (S2).pdf', '1785588753626_TD_-_05_(S2).pdf', 1, 1298026, 7, '', '2026-08-01 14:53:18', 17, '2026-08-28', 0, 1, 3, NULL, 3),
(21, 32, 2, 'TD 03 -RÃ©️gression linÃ©️aire.pdf', '1785591299970_TD_03_-RÃ©️gression_linÃ©️aire.pdf', 1, 1192048, 7, '', '2026-08-01 15:35:35', 5, '2026-08-20', 2026, 1, 20, NULL, 5),
(22, 25, 2, 'about_blank.pdf', '1785760527308_about_blank.pdf', 2, 324628, 1, '', '2026-08-03 14:36:02', 19, '2026-08-23', 2026, 1, 17, NULL, 2),
(24, 15, 1, 'PV LANAI-2026.pdf', '1785760962529_PV_LANAI-2026.pdf', 1, 411835, 1, '', '2026-08-03 14:43:14', 12, '2026-08-18', 2025, 0, 1, NULL, 12),
(26, 15, 1, '2026 AGO-PV Affect resul 2025 AGRICOLE TAMENSOURT-SARL AU.doc', '1785761082274_2026_AGO-PV_Affect_resul_2025_AGRICOLE_TAMENSOURT-SARL_AU.doc', 2, 16896, 1, '', '2026-08-03 14:45:27', 12, '2026-08-25', 2025, 0, 21, NULL, 17);

-- --------------------------------------------------------

--
-- Structure de la table `echelle`
--

CREATE TABLE `echelle` (
  `id` bigint(20) NOT NULL,
  `libelle` varchar(255) NOT NULL,
  `code` varchar(100) NOT NULL,
  `description` text DEFAULT NULL,
  `grade_id` bigint(20) NOT NULL,
  `echellon_depart` int(11) NOT NULL,
  `echellon_fin` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

--
-- Déchargement des données de la table `echelle`
--

INSERT INTO `echelle` (`id`, `libelle`, `code`, `description`, `grade_id`, `echellon_depart`, `echellon_fin`) VALUES
(12, 'Hors Echelle', 'HE', NULL, 1, 1, 8),
(1000, 'Echelle PES - 1', 'PES-E1', 'Première échelle pour le grade PES', 6, 1, 5),
(1001, 'Echelle PES - 2', 'PES-E2', 'Deuxième échelle pour le grade PES', 6, 1, 5),
(1002, 'Echelle PES - 3', 'PES-E3', 'Troisième échelle pour le grade PES', 6, 1, 5),
(1010, 'Echelle MC - 1', 'MC-E1', 'Première échelle pour le grade MC', 1, 1, 5),
(1011, 'Echelle MC - 2', 'MC-E2', 'Deuxième échelle pour le grade MC', 1, 1, 5),
(1012, 'Echelle MC - 3', 'MC-E3', 'Troisième échelle pour le grade MC', 1, 1, 5);

-- --------------------------------------------------------

--
-- Structure de la table `echellon`
--

CREATE TABLE `echellon` (
  `id` bigint(20) NOT NULL,
  `libelle` varchar(255) NOT NULL,
  `code` varchar(100) NOT NULL,
  `description` text DEFAULT NULL,
  `echelle_id` bigint(20) NOT NULL,
  `echellon_suivant_id` bigint(20) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

--
-- Déchargement des données de la table `echellon`
--

INSERT INTO `echellon` (`id`, `libelle`, `code`, `description`, `echelle_id`, `echellon_suivant_id`) VALUES
(1, 'PES-E1 - Échelon 1', 'ECH-PES-E1-1', 'Échelon 1 de PES-E1', 1000, 2),
(2, 'PES-E1 - Échelon 2', 'ECH-PES-E1-2', 'Échelon 2 de PES-E1', 1000, 3),
(3, 'PES-E1 - Échelon 3', 'ECH-PES-E1-3', 'Échelon 3 de PES-E1', 1000, 4),
(4, 'PES-E1 - Échelon 4', 'ECH-PES-E1-4', 'Échelon 4 de PES-E1', 1000, 5),
(5, 'PES-E1 - Échelon 5', 'ECH-PES-E1-5', 'Échelon 5 de PES-E1', 1000, 6),
(6, 'PES-E2 - Échelon 1', 'ECH-PES-E2-1', 'Échelon 1 de PES-E2', 1001, 7),
(7, 'PES-E2 - Échelon 2', 'ECH-PES-E2-2', 'Échelon 2 de PES-E2', 1001, 8),
(8, 'PES-E2 - Échelon 3', 'ECH-PES-E2-3', 'Échelon 3 de PES-E2', 1001, 9),
(9, 'PES-E2 - Échelon 4', 'ECH-PES-E2-4', 'Échelon 4 de PES-E2', 1001, 10),
(10, 'PES-E2 - Échelon 5', 'ECH-PES-E2-5', 'Échelon 5 de PES-E2', 1001, 11),
(11, 'PES-E3 - Échelon 1', 'ECH-PES-E3-1', 'Échelon 1 de PES-E3', 1002, 12),
(12, 'PES-E3 - Échelon 2', 'ECH-PES-E3-2', 'Échelon 2 de PES-E3', 1002, 13),
(13, 'PES-E3 - Échelon 3', 'ECH-PES-E3-3', 'Échelon 3 de PES-E3', 1002, 14),
(14, 'PES-E3 - Échelon 4', 'ECH-PES-E3-4', 'Échelon 4 de PES-E3', 1002, 15),
(15, 'PES-E3 - Échelon 5', 'ECH-PES-E3-5', 'Échelon 5 de PES-E3', 1002, NULL),
(16, 'MC-E1 - Échelon 1', 'ECH-MC-E1-1', 'Échelon 1 de MC-E1', 1010, 17),
(17, 'MC-E1 - Échelon 2', 'ECH-MC-E1-2', 'Échelon 2 de MC-E1', 1010, 18),
(18, 'MC-E1 - Échelon 3', 'ECH-MC-E1-3', 'Échelon 3 de MC-E1', 1010, 19),
(19, 'MC-E1 - Échelon 4', 'ECH-MC-E1-4', 'Échelon 4 de MC-E1', 1010, 20),
(20, 'MC-E1 - Échelon 5', 'ECH-MC-E1-5', 'Échelon 5 de MC-E1', 1010, 21),
(21, 'MC-E2 - Échelon 1', 'ECH-MC-E2-1', 'Échelon 1 de MC-E2', 1011, 22),
(22, 'MC-E2 - Échelon 2', 'ECH-MC-E2-2', 'Échelon 2 de MC-E2', 1011, 23),
(23, 'MC-E2 - Échelon 3', 'ECH-MC-E2-3', 'Échelon 3 de MC-E2', 1011, 24),
(24, 'MC-E2 - Échelon 4', 'ECH-MC-E2-4', 'Échelon 4 de MC-E2', 1011, 25),
(25, 'MC-E2 - Échelon 5', 'ECH-MC-E2-5', 'Échelon 5 de MC-E2', 1011, 26),
(26, 'MC-E3 - Échelon 1', 'ECH-MC-E3-1', 'Échelon 1 de MC-E3', 1012, 27),
(27, 'MC-E3 - Échelon 2', 'ECH-MC-E3-2', 'Échelon 2 de MC-E3', 1012, 28),
(28, 'MC-E3 - Échelon 3', 'ECH-MC-E3-3', 'Échelon 3 de MC-E3', 1012, 29),
(29, 'MC-E3 - Échelon 4', 'ECH-MC-E3-4', 'Échelon 4 de MC-E3', 1012, 30),
(30, 'MC-E3 - Échelon 5', 'ECH-MC-E3-5', 'Échelon 5 de MC-E3', 1012, 1);

-- --------------------------------------------------------

--
-- Structure de la table `employee`
--

CREATE TABLE `employee` (
  `id` bigint(20) NOT NULL,
  `code` varchar(255) NOT NULL,
  `nom` varchar(255) NOT NULL,
  `nom_arab` varchar(255) NOT NULL,
  `prenom` varchar(255) NOT NULL,
  `prenom_arab` varchar(255) NOT NULL,
  `cin` varchar(255) NOT NULL,
  `email` varchar(255) NOT NULL,
  `login` varchar(255) NOT NULL,
  `password` varchar(255) NOT NULL,
  `specialite` varchar(255) NOT NULL,
  `diplome` varchar(255) NOT NULL,
  `genre` varchar(255) NOT NULL,
  `etablissement_diplome` varchar(255) NOT NULL,
  `lieu_naissance` varchar(255) NOT NULL,
  `date_naissance` date NOT NULL,
  `fonctionnaire` tinyint(1) DEFAULT 0,
  `nombre_annee_fonctionnaire` int(11) DEFAULT 0,
  `date_recrutement` date NOT NULL,
  `date_affectation_enseignement` date NOT NULL,
  `status` varchar(255) NOT NULL,
  `phone` varchar(255) NOT NULL,
  `grade_id` bigint(20) DEFAULT NULL,
  `type_grade_id` bigint(20) DEFAULT NULL,
  `echellon_id` bigint(20) DEFAULT NULL,
  `departement_id` bigint(20) DEFAULT NULL,
  `blocked` int(11) NOT NULL DEFAULT 0,
  `cnx_fail_number` int(11) NOT NULL DEFAULT 0
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

--
-- Déchargement des données de la table `employee`
--

INSERT INTO `employee` (`id`, `code`, `nom`, `nom_arab`, `prenom`, `prenom_arab`, `cin`, `email`, `login`, `password`, `specialite`, `diplome`, `genre`, `etablissement_diplome`, `lieu_naissance`, `date_naissance`, `fonctionnaire`, `nombre_annee_fonctionnaire`, `date_recrutement`, `date_affectation_enseignement`, `status`, `phone`, `grade_id`, `type_grade_id`, `echellon_id`, `departement_id`, `blocked`, `cnx_fail_number`) VALUES
(1, '1', 'EL OMARI', '', 'Redouane', '', 'AG000001', 'redouane.elomari@uca.ma', 'redouane.elomari', '$2y$10$hZohXOKKoc9osZB7UwRIw.TErOKeAoaS43NNoGNUobJhkFE6yqWPi', 'Agroenvironnement', 'Doctorat', '', 'Université Cadi Ayyad', 'El Jadida', '1980-05-10', 1, 15, '2010-09-01', '2010-09-01', 'ACTIF', '0600000001', 1, 1, 12, 4, 0, 0),
(2, '2', 'EL BAKKALI', '', 'Nezha', '', 'AG000002', 'nezha.elbakkali@uca.ma', 'nezha.elbakkali', '$2y$10$hZohXOKKoc9osZB7UwRIw.TErOKeAoaS43NNoGNUobJhkFE6yqWPi', 'Agroenvironnement', 'Doctorat', 'Féminin', 'Université Cadi Ayyad', 'Casablanca', '1982-08-12', 1, 13, '2012-09-01', '2012-09-01', 'ACTIF', '0600000002', 1, 1, 11, 4, 0, 0),
(3, '3', 'BESSBOUSSE', '', 'Haad', '', 'AG000003', 'haad.bessbousse@uca.ma', 'haad.bessbousse', '$2y$10$hZohXOKKoc9osZB7UwRIw.TErOKeAoaS43NNoGNUobJhkFE6yqWPi', 'Agroenvironnement', 'Doctorat', 'Masculin', 'Université Hassan II', 'Safi', '1983-02-15', 1, 12, '2013-09-01', '2013-09-01', 'ACTIF', '0600000003', 1, 1, 10, 4, 0, 0),
(4, '4', 'TAAIFI', '', 'Yassine', '', 'AG000004', 'yassine.taaifi@uca.ma', 'yassine.taaifi', '$2y$10$hZohXOKKoc9osZB7UwRIw.TErOKeAoaS43NNoGNUobJhkFE6yqWPi', 'Agroenvironnement', 'Doctorat', 'Masculin', 'Université Mohammed V', 'Rabat', '1984-06-18', 1, 11, '2014-09-01', '2014-09-01', 'ACTIF', '0600000004', 1, 1, 10, 4, 0, 0),
(5, '5', 'AYLAJ', '', 'Mina', '', 'AG000005', 'mina.aylaj@uca.ma', 'mina.aylaj', '$2y$10$hZohXOKKoc9osZB7UwRIw.TErOKeAoaS43NNoGNUobJhkFE6yqWPi', 'Agroenvironnement', 'Doctorat', 'Féminin', 'Université Cadi Ayyad', 'Marrakech', '1986-03-08', 1, 10, '2015-09-01', '2015-09-01', 'ACTIF', '0600000005', 1, 1, 9, 4, 0, 0),
(6, '6', 'ZOUITINE', '', 'Asmaa', '', 'AG000006', 'asmaa.zouitine@uca.ma', 'asmaa.zouitine', '$2y$10$hZohXOKKoc9osZB7UwRIw.TErOKeAoaS43NNoGNUobJhkFE6yqWPi', 'Agroenvironnement', 'Doctorat', 'Féminin', 'Université Ibn Zohr', 'Agadir', '1987-01-12', 1, 9, '2016-09-01', '2016-09-01', 'ACTIF', '0600000006', 1, 1, 8, 4, 0, 0),
(7, '7', 'BELHAJ', '', 'Kamal', '', 'AG000007', 'kamal.belhaj@uca.ma', 'kamal.belhaj', '$2y$10$hZohXOKKoc9osZB7UwRIw.TErOKeAoaS43NNoGNUobJhkFE6yqWPi', 'Agroenvironnement', 'Doctorat', 'Masculin', 'Université Hassan II', 'Settat', '1979-11-22', 1, 16, '2009-09-01', '2009-09-01', 'ACTIF', '0600000007', 1, 1, 12, 4, 0, 0),
(8, '8', 'BENMESSAOUD', '', 'Safaa', '', 'AG000008', 'safaa.benmessaoud@uca.ma', 'safaa.benmessaoud', '$2y$10$hZohXOKKoc9osZB7UwRIw.TErOKeAoaS43NNoGNUobJhkFE6yqWPi', 'Agroenvironnement', 'Doctorat', 'Féminin', 'Université Mohammed Premier', 'Oujda', '1985-04-14', 1, 10, '2015-09-01', '2015-09-01', 'ACTIF', '0600000008', 1, 1, 9, 4, 0, 0),
(9, '9', 'ZHOURI', '', 'Latifa', '', 'AG000009', 'latifa.zhouri@uca.ma', 'latifa.zhouri', '$2y$10$hZohXOKKoc9osZB7UwRIw.TErOKeAoaS43NNoGNUobJhkFE6yqWPi', 'Agroenvironnement', 'Doctorat', 'Féminin', 'Université Cadi Ayyad', 'Marrakech', '1981-12-10', 1, 14, '2011-09-01', '2011-09-01', 'ACTIF', '0600000009', 1, 1, 11, 4, 0, 0),
(10, '10', 'ZAAKOUR', '', 'Fatna', '', 'AG000010', 'fatna.zaakour@uca.ma', 'fatna.zaakour', '$2y$10$hZohXOKKoc9osZB7UwRIw.TErOKeAoaS43NNoGNUobJhkFE6yqWPi', 'Agroenvironnement', 'Doctorat', 'Féminin', 'Université Ibn Tofail', 'Kénitra', '1984-07-09', 1, 12, '2013-09-01', '2013-09-01', 'ACTIF', '0600000010', 1, 1, 10, 4, 0, 0),
(11, '11', 'SARA', '', 'Armou', '', 'AG000011', 'armou.sara@uca.ma', 'armou.sara', '$2y$10$hZohXOKKoc9osZB7UwRIw.TErOKeAoaS43NNoGNUobJhkFE6yqWPi', 'Agroenvironnement', 'Doctorat', 'Féminin', 'Université Cadi Ayyad', 'Agadir', '1988-10-20', 1, 8, '2017-09-01', '2017-09-01', 'ACTIF', '0600000011', 1, 1, 8, 4, 0, 0),
(12, '12', 'HEKSS', '', 'Zineb', '', 'AG000012', 'zineb.hekss@uca.ma', 'zineb.hekss', '$2y$10$hZohXOKKoc9osZB7UwRIw.TErOKeAoaS43NNoGNUobJhkFE6yqWPi', 'Agroenvironnement', 'Doctorat', 'Féminin', 'Université Hassan II', 'Casablanca', '1989-05-28', 1, 7, '2018-09-01', '2018-09-01', 'ACTIF', '0600000012', 1, 1, 7, 4, 0, 0),
(13, '13', 'BADDI', '', 'Youssef', '', 'INFO000013', 'youssef.baddi@uca.ma', 'youssef.baddi', '$2y$10$hZohXOKKoc9osZB7UwRIw.TErOKeAoaS43NNoGNUobJhkFE6yqWPi', 'Informatique', 'Doctorat', 'Masculin', 'Université Cadi Ayyad', 'El Jadida', '1980-03-12', 1, 15, '2010-09-01', '2010-09-01', 'ACTIF', '0600000013', 1, 1, 12, 1, 0, 0),
(14, '14', 'SAIDI', '', 'Abdelali', '', 'INFO000014', 'abdelali.saidi@uca.ma', 'abdelali.saidi', '$2y$10$hZohXOKKoc9osZB7UwRIw.TErOKeAoaS43NNoGNUobJhkFE6yqWPi', 'Informatique', 'Doctorat', 'Masculin', 'Université Mohammed V', 'Rabat', '1979-07-10', 1, 16, '2009-09-01', '2009-09-01', 'ACTIF', '0600000014', 1, 1, 12, 1, 0, 0),
(15, '15', 'ZOUANI', '', 'Younes', '', 'INFO000015', 'younes.zouani@uca.ma', 'younes.zouani', '$2y$10$hZohXOKKoc9osZB7UwRIw.TErOKeAoaS43NNoGNUobJhkFE6yqWPi', 'Génie Logiciel', 'Doctorat', 'Masculin', 'Université Cadi Ayyad', 'Marrakech', '1988-05-18', 1, 10, '2015-09-01', '2015-09-01', 'ACTIF', '0600000015', 1, 1, 10, 1, 0, 0),
(16, '16', 'MABROUK', '', 'Abdelfettah', '', 'INFO000016', 'abdelfettah.mabrouk@uca.ma', 'abdelfettah.mabrouk', '$2y$10$hZohXOKKoc9osZB7UwRIw.TErOKeAoaS43NNoGNUobJhkFE6yqWPi', 'Mathématiques', 'Doctorat', 'Masculin', 'Université Hassan II', 'Casablanca', '1981-01-21', 1, 14, '2011-09-01', '2011-09-01', 'ACTIF', '0600000016', 1, 1, 11, 1, 0, 0),
(17, '17', 'CHERKAOUI', '', 'Badreddine', '', 'INFO000017', 'badreddine.cherkaoui@uca.ma', 'badreddine.cherkaoui', '$2y$10$hZohXOKKoc9osZB7UwRIw.TErOKeAoaS43NNoGNUobJhkFE6yqWPi', 'Informatique', 'Doctorat', 'Masculin', 'Université Chouaib Doukkali', 'El Jadida', '1985-06-15', 1, 11, '2014-09-01', '2014-09-01', 'ACTIF', '0600000017', 1, 1, 10, 1, 0, 0),
(18, '18', 'TOUMI', '', 'Hicham', '', 'INFO000018', 'hicham.toumi@uca.ma', 'hicham.toumi', '$2y$10$hZohXOKKoc9osZB7UwRIw.TErOKeAoaS43NNoGNUobJhkFE6yqWPi', 'Informatique', 'Doctorat', 'Masculin', 'Université Mohammed V', 'Rabat', '1982-09-25', 1, 13, '2012-09-01', '2012-09-01', 'ACTIF', '0600000018', 1, 1, 11, 1, 0, 0),
(19, '19', 'EL AROUSSI', '', 'El Mehdi', '', 'INFO000019', 'elmehdi.elaroussi@uca.ma', 'elmehdi.elaroussi', '$2y$10$hZohXOKKoc9osZB7UwRIw.TErOKeAoaS43NNoGNUobJhkFE6yqWPi', 'Informatique', 'Doctorat', 'Masculin', 'Université Ibn Zohr', 'Agadir', '1986-11-08', 1, 10, '2015-09-01', '2015-09-01', 'ACTIF', '0600000019', 1, 1, 9, 1, 0, 0),
(20, '20', 'BAHRAOUI', '', 'Zuhair', '', 'INFO000020', 'zuhair.bahraoui@uca.ma', 'zuhair.bahraoui', '$2y$10$hZohXOKKoc9osZB7UwRIw.TErOKeAoaS43NNoGNUobJhkFE6yqWPi', 'Mathématiques', 'Doctorat', 'Masculin', 'Université Hassan II', 'Casablanca', '1980-12-18', 1, 15, '2010-09-01', '2010-09-01', 'ACTIF', '0600000020', 1, 1, 12, 1, 0, 0),
(21, '21', 'EL RHOUBARI', '', 'Zineb', '', 'INFO000021', 'zineb.elrhoubari@uca.ma', 'zineb.elrhoubari', '$2y$10$hZohXOKKoc9osZB7UwRIw.TErOKeAoaS43NNoGNUobJhkFE6yqWPi', 'Mathématiques', 'Doctorat', 'Féminin', 'Université Cadi Ayyad', 'Marrakech', '1987-04-14', 1, 9, '2016-09-01', '2016-09-01', 'ACTIF', '0600000021', 1, 1, 8, 1, 0, 0),
(22, '22', 'EL OGRI', '', 'Omar', '', 'INFO000022', 'omar.elogri@uca.ma', 'omar.elogri', '$2y$10$hZohXOKKoc9osZB7UwRIw.TErOKeAoaS43NNoGNUobJhkFE6yqWPi', 'Informatique', 'Doctorat', 'Masculin', 'Université Mohammed Premier', 'Oujda', '1984-02-16', 1, 12, '2013-09-01', '2013-09-01', 'ACTIF', '0600000022', 1, 1, 10, 1, 0, 0),
(23, '23', 'BOUALAM', '', 'Abdelaziz', '', 'MDC000023', 'abdelaziz.boualam@uca.ma', 'abdelaziz.boualam', '$2y$10$hZohXOKKoc9osZB7UwRIw.TErOKeAoaS43NNoGNUobJhkFE6yqWPi', 'Management', 'Doctorat', 'Masculin', 'Université Chouaïb Doukkali', 'El Jadida', '1978-05-11', 1, 18, '2008-09-01', '2008-09-01', 'ACTIF', '0600000023', 1, 1, 12, 2, 0, 0),
(24, '24', 'ZAIM', '', 'Mehdi', '', 'MDC000024', 'mehdi.zaim@uca.ma', 'mehdi.zaim', '$2y$10$hZohXOKKoc9osZB7UwRIw.TErOKeAoaS43NNoGNUobJhkFE6yqWPi', 'Management Public', 'Doctorat', 'Masculin', 'Université Mohammed V', 'Rabat', '1985-08-10', 1, 11, '2014-09-01', '2014-09-01', 'ACTIF', '0600000024', 1, 1, 10, 2, 0, 0),
(25, '25', 'EL FELSOUFI', '', 'Zoubir', '', 'MDC000025', 'zoubir.elfelsoufi@uca.ma', 'zoubir.elfelsoufi', '$2y$10$hZohXOKKoc9osZB7UwRIw.TErOKeAoaS43NNoGNUobJhkFE6yqWPi', 'Management', 'Doctorat', 'Masculin', 'Université Hassan II', 'Casablanca', '1976-03-15', 1, 20, '2006-09-01', '2006-09-01', 'ACTIF', '0600000025', 1, 1, 12, 2, 0, 0),
(26, '26', 'REGRAGUI', '', 'Taki', '', 'MDC000026', 'taki.regragui@uca.ma', 'taki.regragui', '$2y$10$hZohXOKKoc9osZB7UwRIw.TErOKeAoaS43NNoGNUobJhkFE6yqWPi', 'Droit', 'Doctorat', 'Masculin', 'Université Mohammed Premier', 'Oujda', '1982-01-18', 1, 13, '2012-09-01', '2012-09-01', 'ACTIF', '0600000026', 1, 1, 11, 2, 0, 0),
(27, '27', 'EL MANSOURI', '', 'Khalid', '', 'MDC000027', 'khalid.elmansouri@uca.ma', 'khalid.elmansouri', '$2y$10$hZohXOKKoc9osZB7UwRIw.TErOKeAoaS43NNoGNUobJhkFE6yqWPi', 'Comptabilité', 'Doctorat', 'Masculin', 'Université Cadi Ayyad', 'Marrakech', '1983-09-08', 1, 12, '2013-09-01', '2013-09-01', 'ACTIF', '0600000027', 1, 1, 10, 2, 0, 0),
(28, '28', 'BENNANI', '', 'Nadia', '', 'MDC000028', 'nadia.bennani@uca.ma', 'nadia.bennani', '$2y$10$hZohXOKKoc9osZB7UwRIw.TErOKeAoaS43NNoGNUobJhkFE6yqWPi', 'Finance', 'Doctorat', 'Féminin', 'Université Hassan II', 'Casablanca', '1986-02-14', 1, 10, '2015-09-01', '2015-09-01', 'ACTIF', '0600000028', 1, 1, 9, 2, 0, 0),
(29, '29', 'AMRANI', '', 'Hassan', '', 'MDC000029', 'hassan.amrani@uca.ma', 'hassan.amrani', '$2y$10$9/2FTZ9BOZqbfQL/wNh5/OCkKkyDYwkP.iPGO8OpmN6W1meGrg0V6', 'Economie', 'Doctorat', 'Masculin', 'Université Mohammed V', 'Rabat', '1981-07-12', 1, 14, '2011-09-01', '2011-09-01', 'ACTIF', '0600000029', 1, 1, 11, 2, 0, 0),
(30, '30', 'EL ALAOUI', '', 'Salma', '', 'MDC000030', 'salma.elaalaoui@uca.ma', 'salma.elaalaoui', '$2y$10$hZohXOKKoc9osZB7UwRIw.TErOKeAoaS43NNoGNUobJhkFE6yqWPi', 'Marketing', 'Doctorat', 'Féminin', 'Université Ibn Zohr', 'Agadir', '1987-10-05', 1, 9, '2016-09-01', '2016-09-01', 'ACTIF', '0600000030', 1, 1, 8, 2, 0, 0),
(31, '31', 'LAHLOU', '', 'Omar', '', 'MDC000031', 'omar.lahlou@uca.ma', 'omar.lahlou', '$2y$10$hZohXOKKoc9osZB7UwRIw.TErOKeAoaS43NNoGNUobJhkFE6yqWPi', 'Gestion', 'Doctorat', 'Masculin', 'Université Chouaïb Doukkali', 'El Jadida', '1984-11-20', 1, 11, '2014-09-01', '2014-09-01', 'ACTIF', '0600000031', 1, 1, 10, 2, 0, 0),
(32, '32', 'EL IDRISSI', '', 'Amina', '', 'MDC000032', 'amina.elidrissi@uca.ma', 'amina.elidrissi', '$2y$10$hZohXOKKoc9osZB7UwRIw.TErOKeAoaS43NNoGNUobJhkFE6yqWPi', 'Communication', 'Doctorat', 'Féminin', 'Université Abdelmalek Essaâdi', 'Tétouan', '1988-06-30', 1, 8, '2017-09-01', '2017-09-01', 'ACTIF', '0600000032', 1, 1, 8, 2, 0, 0);

-- --------------------------------------------------------

--
-- Structure de la table `entite_administrative`
--

CREATE TABLE `entite_administrative` (
  `id` bigint(20) NOT NULL,
  `libelle` varchar(255) NOT NULL,
  `code` varchar(50) NOT NULL,
  `style` varchar(50) DEFAULT NULL,
  `description` text DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

--
-- Déchargement des données de la table `entite_administrative`
--

INSERT INTO `entite_administrative` (`id`, `libelle`, `code`, `style`, `description`) VALUES
(1, 'Direction Générale', 'DG', 'primary', 'Direction générale de l\'EST'),
                                                                                                                (2, 'Département Informatique', 'INFO', 'info', 'Département Génie Informatique'),
                                                                                                                (3, 'Département Management', 'MGT', 'success', 'Département Techniques de Management'),
                                                                                                                (4, 'Département Agroenvironnement', 'AGRO', 'warning', 'Département Agroenvironnement'),
                                                                                                                (5, 'Service Finances', 'FIN', 'danger', 'Service comptabilité et budget'),
                                                                                                                (6, 'Service Logistique', 'LOG', 'secondary', 'Gestion des achats et approvisionnements');

-- --------------------------------------------------------

--
-- Structure de la table `etat_avancement`
--

CREATE TABLE `etat_avancement` (
                                   `id` bigint(20) NOT NULL,
                                   `libelle` varchar(255) NOT NULL,
                                   `code` varchar(100) NOT NULL,
                                   `description` text DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

--
-- Déchargement des données de la table `etat_avancement`
--

INSERT INTO `etat_avancement` (`id`, `libelle`, `code`, `description`) VALUES
                                                                           (1, 'En attente', 'ATT', 'Demande d\'avancement en attente de traitement'),
(2, 'En cours', 'ENC', 'Demande d\'avancement en cours d\'examen'),
(3, 'Approuvé', 'APP', 'Demande d\'avancement approuvée'),
                                                                           (4, 'Rejeté', 'REJ', 'Demande d\'avancement rejetée'),
(5, 'En révision', 'REV', 'Demande d\'avancement en révision');

-- --------------------------------------------------------

--
-- Structure de la table `etat_budget_faculte`
--

CREATE TABLE `etat_budget_faculte` (
                                       `id` bigint(20) NOT NULL,
                                       `libelle` varchar(255) NOT NULL,
                                       `code` varchar(50) NOT NULL,
                                       `style` varchar(50) DEFAULT NULL,
                                       `description` text DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

--
-- Déchargement des données de la table `etat_budget_faculte`
--

INSERT INTO `etat_budget_faculte` (`id`, `libelle`, `code`, `style`, `description`) VALUES
                                                                                        (1, 'En préparation', 'PREP', 'secondary', 'Budget en cours d\'élaboration'),
(2, 'Soumis', 'SOUM', 'info', 'Budget soumis à validation'),
(3, 'Approuvé', 'APP', 'success', 'Budget approuvé et exécutable'),
(4, 'Rejeté', 'REJ', 'danger', 'Budget rejeté');

-- --------------------------------------------------------

--
-- Structure de la table `etat_demande`
--

CREATE TABLE `etat_demande` (
  `id` bigint(20) NOT NULL,
  `libelle` varchar(255) NOT NULL,
  `code` varchar(50) NOT NULL,
  `style` varchar(50) DEFAULT NULL,
  `description` text DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

--
-- Déchargement des données de la table `etat_demande`
--

INSERT INTO `etat_demande` (`id`, `libelle`, `code`, `style`, `description`) VALUES
(1, 'En attente', 'ATT', 'secondary', 'Demande en attente de traitement'),
(2, 'En cours', 'ENC', 'info', 'En cours de validation'),
(3, 'Validée', 'VAL', 'success', 'Demande validée'),
(4, 'Rejetée', 'REJ', 'danger', 'Demande rejetée'),
(5, 'Clôturée', 'CLO', 'dark', 'Demande terminée');

-- --------------------------------------------------------

--
-- Structure de la table `etat_demande_document`
--

CREATE TABLE `etat_demande_document` (
  `id` bigint(20) NOT NULL,
  `libelle` varchar(255) NOT NULL,
  `code` varchar(100) NOT NULL,
  `description` text DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

--
-- Déchargement des données de la table `etat_demande_document`
--

INSERT INTO `etat_demande_document` (`id`, `libelle`, `code`, `description`) VALUES
(1, 'En attente', 'ATT', 'Demande en attente de traitement'),
(2, 'En cours', 'ENC', 'Demande en cours de traitement'),
(3, 'Approuvée', 'APP', 'Demande approuvée'),
(4, 'Rejetée', 'REJ', 'Demande rejetée'),
(5, 'En révision', 'REV', 'Demande en révision');

-- --------------------------------------------------------

--
-- Structure de la table `etat_demande_etudiant`
--

CREATE TABLE `etat_demande_etudiant` (
  `id` int(11) NOT NULL,
  `code` varchar(50) NOT NULL,
  `libelle` varchar(100) NOT NULL,
  `budge` decimal(10,2) DEFAULT 0.00,
  `description` text DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

--
-- Déchargement des données de la table `etat_demande_etudiant`
--

INSERT INTO `etat_demande_etudiant` (`id`, `code`, `libelle`, `budge`, `description`) VALUES
(1, 'EN_COURS', 'En cours de traitement', '0.00', 'La demande est reçue mais pas encore traitée.'),
(2, 'VALIDE', 'Validée', '0.00', 'La demande a été acceptée.'),
(3, 'REJETE', 'Rejetée', '0.00', 'La demande a été refusée.');

-- --------------------------------------------------------

--
-- Structure de la table `etat_devis_demande`
--

CREATE TABLE `etat_devis_demande` (
  `id` bigint(20) NOT NULL,
  `libelle` varchar(255) NOT NULL,
  `code` varchar(50) NOT NULL,
  `style` varchar(50) DEFAULT NULL,
  `description` text DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

--
-- Déchargement des données de la table `etat_devis_demande`
--

INSERT INTO `etat_devis_demande` (`id`, `libelle`, `code`, `style`, `description`) VALUES
(1, 'Brouillon', 'BRD', 'secondary', 'En cours de rédaction'),
(2, 'Soumis', 'SOUM', 'info', 'Transmis pour validation'),
(3, 'Approuvé', 'APP', 'success', 'Devis approuvé'),
(4, 'Rejeté', 'REJ', 'danger', 'Devis rejeté');

-- --------------------------------------------------------

--
-- Structure de la table `etat_document_dossier_administratif`
--

CREATE TABLE `etat_document_dossier_administratif` (
  `id` int(11) NOT NULL,
  `code` varchar(50) NOT NULL,
  `libelle` varchar(100) NOT NULL,
  `description` text DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

--
-- Déchargement des données de la table `etat_document_dossier_administratif`
--

INSERT INTO `etat_document_dossier_administratif` (`id`, `code`, `libelle`, `description`) VALUES
(1, 'DOC-001', 'Document reçu', 'Le document a été réceptionné par l\'administration'),
                                                                                        (2, 'DOC-002', 'En cours de traitement', 'Le document est en cours d\'examen par les services compétents'),
(3, 'DOC-003', 'Document validé', 'Le document a été validé par l\'autorité compétente'),
                                                                                        (4, 'DOC-004', 'Document rejeté', 'Le document a été rejeté pour non-conformité'),
                                                                                        (5, 'DOC-005', 'En attente de pièces', 'En attente de pièces complémentaires de la part du demandeur'),
                                                                                        (6, 'DOC-006', 'En cours de vérification', 'Le document est en cours de vérification par le service contrôle'),
                                                                                        (7, 'DOC-007', 'Approuvé', 'Le document a été approuvé définitivement'),
                                                                                        (8, 'DOC-008', 'Transmis au service', 'Le document a été transmis au service concerné pour traitement'),
                                                                                        (9, 'DOC-009', 'Document archivé', 'Le document a été archivé définitivement'),
                                                                                        (10, 'DOC-010', 'En révision', 'Le document est en cours de révision suite à des remarques'),
                                                                                        (11, 'DOC-011', 'Prêt pour signature', 'Le document est prêt pour la signature de l\'autorité'),
(12, 'DOC-012', 'Signé', 'Le document a été signé par l\'autorité compétente'),
                                                                                        (13, 'DOC-013', 'Transmis à la direction', 'Le document a été transmis à la direction générale'),
                                                                                        (14, 'DOC-014', 'En attente de validation', 'Le document est en attente de la validation hiérarchique'),
                                                                                        (15, 'DOC-015', 'Classé sans suite', 'Le document a été classé sans suite administrativement'),
                                                                                        (16, 'DOC-016', 'En cours d\'instruction', 'Le document est en cours d\'instruction par le service traitant'),
                                                                                        (17, 'DOC-017', 'Transmis à l\'usager', 'Le document a été transmis à l\'usager ou au demandeur'),
                                                                                        (18, 'DOC-018', 'Non recevable', 'Le document a été déclaré non recevable pour vice de forme'),
                                                                                        (19, 'DOC-019', 'En instance de décision', 'Le document est en instance de décision finale'),
                                                                                        (20, 'DOC-020', 'Dossier clôturé', 'Le dossier est clôturé définitivement après traitement complet');

-- --------------------------------------------------------

--
-- Structure de la table `etat_expression_besoin`
--

CREATE TABLE `etat_expression_besoin` (
                                          `id` bigint(20) NOT NULL,
                                          `libelle` varchar(255) NOT NULL,
                                          `code` varchar(50) NOT NULL,
                                          `style` varchar(50) DEFAULT NULL,
                                          `description` text DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

--
-- Déchargement des données de la table `etat_expression_besoin`
--

INSERT INTO `etat_expression_besoin` (`id`, `libelle`, `code`, `style`, `description`) VALUES
                                                                                           (1, 'Brouillon', 'BRD', 'secondary', 'Expression en cours'),
                                                                                           (2, 'Soumise', 'SOUM', 'info', 'Soumise à validation'),
                                                                                           (3, 'Approuvée', 'APP', 'success', 'Expression validée'),
                                                                                           (4, 'Rejetée', 'REJ', 'danger', 'Expression rejetée');

-- --------------------------------------------------------

--
-- Structure de la table `etat_livraison`
--

CREATE TABLE `etat_livraison` (
                                  `id` bigint(20) NOT NULL,
                                  `libelle` varchar(255) NOT NULL,
                                  `code` varchar(50) NOT NULL,
                                  `style` varchar(50) DEFAULT NULL,
                                  `description` text DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

--
-- Déchargement des données de la table `etat_livraison`
--

INSERT INTO `etat_livraison` (`id`, `libelle`, `code`, `style`, `description`) VALUES
                                                                                   (1, 'En préparation', 'PREP', 'secondary', 'En cours de préparation'),
                                                                                   (2, 'En transit', 'TRANS', 'info', 'En cours d\'acheminement'),
(3, 'Livrée', 'LIV', 'success', 'Livrée réceptionnée'),
(4, 'Annulée', 'ANN', 'danger', 'Livraison annulée');

-- --------------------------------------------------------

--
-- Structure de la table `etat_paiement`
--

CREATE TABLE `etat_paiement` (
  `id` bigint(20) NOT NULL,
  `libelle` varchar(255) NOT NULL,
  `code` varchar(50) NOT NULL,
  `style` varchar(50) DEFAULT NULL,
  `description` text DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

--
-- Déchargement des données de la table `etat_paiement`
--

INSERT INTO `etat_paiement` (`id`, `libelle`, `code`, `style`, `description`) VALUES
(1, 'En attente', 'ATT', 'secondary', 'En attente de validation'),
(2, 'Validé', 'VAL', 'success', 'Paiement validé'),
(3, 'Refusé', 'REF', 'danger', 'Paiement rejeté'),
(4, 'Effectué', 'EFF', 'primary', 'Paiement exécuté');

-- --------------------------------------------------------

--
-- Structure de la table `etat_reception`
--

CREATE TABLE `etat_reception` (
  `id` bigint(20) NOT NULL,
  `libelle` varchar(255) NOT NULL,
  `code` varchar(50) NOT NULL,
  `style` varchar(50) DEFAULT NULL,
  `description` text DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

--
-- Déchargement des données de la table `etat_reception`
--

INSERT INTO `etat_reception` (`id`, `libelle`, `code`, `style`, `description`) VALUES
(1, 'Planifiée', 'PLAN', 'secondary', 'Réception planifiée'),
(2, 'Partielle', 'PART', 'warning', 'Réception partielle'),
(3, 'Complète', 'COMP', 'success', 'Réception complète'),
(4, 'Rejetée', 'REJ', 'danger', 'Réception refusée');

-- --------------------------------------------------------

--
-- Structure de la table `etat_student`
--

CREATE TABLE `etat_student` (
  `id` bigint(20) NOT NULL,
  `libelle` varchar(255) NOT NULL,
  `code` varchar(50) NOT NULL,
  `style` varchar(50) DEFAULT NULL,
  `description` text DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

--
-- Déchargement des données de la table `etat_student`
--

INSERT INTO `etat_student` (`id`, `libelle`, `code`, `style`, `description`) VALUES
(1, 'Actif', 'ACTIF', 'success', NULL),
(2, 'Bloqué', 'BLOQUE', 'danger', NULL),
(3, 'Diplômé', 'DIPLOME', 'info', NULL),
(4, 'Abandon', 'ABANDON', 'warning', NULL),
(5, 'Suspendu', 'SUSPENDU', 'secondary', NULL);

-- --------------------------------------------------------

--
-- Structure de la table `expression_besoin`
--

CREATE TABLE `expression_besoin` (
  `id` bigint(20) NOT NULL,
  `libelle` varchar(255) NOT NULL,
  `description` text DEFAULT NULL,
  `annee_budgitaire_id` bigint(20) NOT NULL,
  `employee_id` bigint(20) NOT NULL,
  `etat_expression_besoin_id` bigint(20) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

--
-- Déchargement des données de la table `expression_besoin`
--

INSERT INTO `expression_besoin` (`id`, `libelle`, `description`, `annee_budgitaire_id`, `employee_id`, `etat_expression_besoin_id`) VALUES
(1, 'EB-2026-01', 'Besoin de papier et cartouches pour le département INFO', 2, 13, 3),
(2, 'EB-2026-02', 'Besoin de matériel informatique (PC et serveur)', 2, 14, 2),
(3, 'EB-2026-03', 'Besoin de mobilier pour nouveau bureau', 2, 23, 3),
(4, 'EB-2026-04', 'Besoin de consommables de laboratoire', 2, 1, 1),
(5, 'EB-2026-05', 'Besoin de produits d\'entretien', 2, 10, 3),
                                                                                   (7, 'EXP 2026', '', 1, 15, 1),
                                                                                   (9, 'dem-2026-08', 'test', 3, 21, 1);

-- --------------------------------------------------------

--
-- Structure de la table `expression_besoin_detail`
--

CREATE TABLE `expression_besoin_detail` (
                                            `id` bigint(20) NOT NULL,
                                            `libelle` varchar(255) NOT NULL,
                                            `categorie_produit_id` bigint(20) NOT NULL,
                                            `description` text DEFAULT NULL,
                                            `quantite_demande` int(11) NOT NULL DEFAULT 0,
                                            `quantite_approvee` int(11) NOT NULL DEFAULT 0,
                                            `quantite_commande` int(11) NOT NULL DEFAULT 0,
                                            `quantite_receptionnee` int(11) NOT NULL DEFAULT 0,
                                            `quantite_livree` int(11) NOT NULL DEFAULT 0,
                                            `expression_besoin_id` bigint(20) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

--
-- Déchargement des données de la table `expression_besoin_detail`
--

INSERT INTO `expression_besoin_detail` (`id`, `libelle`, `categorie_produit_id`, `description`, `quantite_demande`, `quantite_approvee`, `quantite_commande`, `quantite_receptionnee`, `quantite_livree`, `expression_besoin_id`) VALUES
                                                                                                                                                                                                                                      (1, 'Papier A4', 1, 'Ramettes A4', 20, 20, 20, 15, 15, 1),
                                                                                                                                                                                                                                      (2, 'Cartouches d\'encre', 1, 'Cartouches noires HP', 10, 10, 10, 10, 10, 1),
(3, 'Ordinateurs portables', 2, 'Dell Latitude', 5, 5, 4, 4, 4, 2),
(4, 'Serveur', 2, 'HP ProLiant', 1, 1, 1, 1, 1, 2),
(5, 'Bureaux métalliques', 3, 'Bureaux 160x80', 3, 3, 3, 3, 3, 3),
(6, 'Chaises', 3, 'Lot de 6 chaises', 2, 2, 2, 2, 2, 3),
(7, 'Éthanol 95%', 4, 'Flacons 1L', 10, 10, 8, 8, 8, 4),
(8, 'Gants latex', 4, 'Boîtes de 100', 5, 5, 5, 5, 5, 4),
(9, 'Détergent multi-surface', 5, 'Flacons 5L', 15, 12, 10, 10, 10, 5),
(11, 'PH', 4, 'PH de grande qualite', 20, 0, 0, 0, 0, 7),
(12, 'PC', 2, 'P DELL', 100, 0, 0, 0, 0, 7),
(17, 'Labo Geo', 4, '', 100, 70, 0, 0, 0, 9),
(18, 'Marqueure', 1, '', 2000, 600, 0, 0, 0, 9),
(19, 'PC Dell', 2, '', 40, 6, 0, 0, 0, 9);

-- --------------------------------------------------------

--
-- Structure de la table `filiere`
--

CREATE TABLE `filiere` (
  `id` bigint(20) NOT NULL,
  `libelle` varchar(255) NOT NULL,
  `code` varchar(50) NOT NULL,
  `description` text DEFAULT NULL,
  `departement_id` bigint(20) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

--
-- Déchargement des données de la table `filiere`
--

INSERT INTO `filiere` (`id`, `libelle`, `code`, `description`, `departement_id`) VALUES
(1, 'Génie Informatique', 'GI', 'Diplôme Universitaire de Technologie en Génie Informatique', 1),
(2, 'Ingénierie des Systèmes Informatiques et Technologies Web', 'ISITW', 'Bachelor en Ingénierie des Systèmes Informatiques et Technologies Web', 1),
(3, 'Cybersécurité et Technologies Cloud', 'CSTC', 'Bachelor en Cybersécurité et Technologies Cloud', 1),
(4, 'Techniques de Management', 'TM', 'Diplôme Universitaire de Technologie en Techniques de Management', 2),
(5, 'Comptabilité, Contrôle et Audit', 'CCA', 'Bachelor en Comptabilité, Contrôle et Audit', 2),
(6, 'Gestion Comptable et Financière', 'GCF', 'Bachelor en Gestion Comptable et Financière', 2),
(7, 'Génie Agroenvironnement', 'GAE', 'Diplôme Universitaire de Technologie en Génie Agroenvironnement', 4),
(8, 'Biotechnologies, Digitalisation et Amélioration des Productions Agricoles', 'BDAPA', 'Bachelor en Biotechnologies, Digitalisation et Amélioration des Productions Agricoles', 4),
(9, 'Génie Équin', 'GE', 'Diplôme Universitaire de Technologie en Génie Équin', 4),
(10, 'Les équipements et les Techniques de Dessalement des eaux', 'DES', 'Diplôme Universitaire de Technologie en Techniques de Dessalement des eaux', 4);

-- --------------------------------------------------------

--
-- Structure de la table `fournisseur`
--

CREATE TABLE `fournisseur` (
  `id` bigint(20) NOT NULL,
  `nom` varchar(255) NOT NULL,
  `prenom` varchar(255) DEFAULT NULL,
  `adresse` varchar(255) DEFAULT NULL,
  `code` varchar(50) NOT NULL,
  `phone` varchar(50) DEFAULT NULL,
  `email` varchar(255) DEFAULT NULL,
  `description` text DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

--
-- Déchargement des données de la table `fournisseur`
--

INSERT INTO `fournisseur` (`id`, `nom`, `prenom`, `adresse`, `code`, `phone`, `email`, `description`) VALUES
(1, 'SAFI Office', NULL, '12 Rue des Administrations, Casablanca', 'FOU001', '0522123456', 'safi.office@office.ma', 'Fournisseur de fournitures de bureau'),
(2, 'InfoTech SARL', NULL, '45 Avenue des Technologies, Rabat', 'FOU002', '0537123456', 'contact@infotech.ma', 'Matériel informatique et serveurs'),
(3, 'Mobilier Moderne', NULL, '33 Boulevard Industriel, Tanger', 'FOU003', '0539123456', 'mobilier@moderne.ma', 'Mobilier de bureau'),
(4, 'LaboPro', NULL, '87 Rue des Sciences, Marrakech', 'FOU004', '0524123456', 'labopro@labo.ma', 'Produits de laboratoire'),
(5, 'Clean & Co', NULL, '19 Lotissement Oasis, Agadir', 'FOU005', '0528123456', 'cleanco@clean.ma', 'Produits d\'entretien');

-- --------------------------------------------------------

--
-- Structure de la table `grade`
--

CREATE TABLE `grade` (
                         `id` bigint(20) NOT NULL,
                         `libelle` varchar(255) NOT NULL,
                         `code` varchar(100) NOT NULL,
                         `description` text DEFAULT NULL,
                         `type_grade_id` bigint(20) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

--
-- Déchargement des données de la table `grade`
--

INSERT INTO `grade` (`id`, `libelle`, `code`, `description`, `type_grade_id`) VALUES
                                                                                  (1, 'Maitre de conference', 'MC', 'Maitre de conference', 1),
                                                                                  (5, 'Maitre de conference habilite', 'MCH', 'Maitre de conference habilite', 1),
                                                                                  (6, 'Professeur Enseignement Superieure', 'PES', 'Professeur Enseignement Superieure', 1),
                                                                                  (7, 'Technicien', 'TECH', 'Technicien', 5),
                                                                                  (8, 'Ingenieure', 'ING', 'Ingenieure', 5);

-- --------------------------------------------------------

--
-- Structure de la table `inscription_concours`
--

CREATE TABLE `inscription_concours` (
                                        `id` bigint(20) NOT NULL,
                                        `code` varchar(255) NOT NULL,
                                        `civilite` varchar(20) DEFAULT NULL COMMENT 'Civilité: Monsieur, Madame, Mademoiselle',
                                        `email` varchar(255) DEFAULT NULL COMMENT 'Adresse e-mail',
                                        `prenom` varchar(100) DEFAULT NULL COMMENT 'Prénom en français',
                                        `nom` varchar(100) DEFAULT NULL COMMENT 'Nom en français',
                                        `prenom_arabe` varchar(100) DEFAULT NULL COMMENT 'الاسم الشخصي (Arabe)',
                                        `nom_arabe` varchar(100) DEFAULT NULL COMMENT 'الاسم العائلي (Arabe)',
                                        `cin` varchar(20) DEFAULT NULL COMMENT 'Carte d''identité nationale',
                                        `telephone` varchar(20) DEFAULT NULL COMMENT 'Numéro de téléphone',
                                        `photo` varchar(255) DEFAULT NULL COMMENT 'Photo d''identité (chemin du fichier)',
                                        `situation_familiale` varchar(30) DEFAULT NULL COMMENT 'Situation familiale: Célibataire, Marié(e), Divorcé(e),\r\n        Veuf(ve)',
                                        `date_naissance` date DEFAULT NULL COMMENT 'Date de naissance',
                                        `lieu_naissance` varchar(255) DEFAULT NULL COMMENT 'Lieu de naissance (Français)',
                                        `lieu_naissance_arabe` varchar(255) DEFAULT NULL COMMENT 'Lieu de naissance (Arabe)',
                                        `province_naissance` varchar(100) DEFAULT NULL COMMENT 'Province de naissance',
                                        `nationalite` varchar(50) DEFAULT NULL COMMENT 'Nationalité',
                                        `adresse` varchar(255) DEFAULT NULL COMMENT 'Adresse (Français)',
                                        `adresse_arabe` varchar(255) DEFAULT NULL COMMENT 'Adresse (Arabe)',
                                        `code_postal` varchar(10) DEFAULT NULL COMMENT 'Code postal',
                                        `province_residence` varchar(100) DEFAULT NULL COMMENT 'Province de résidence',
                                        `situation_professionnelle` varchar(50) DEFAULT NULL COMMENT 'Situation professionnelle: Non employé, Employé,\r\n        Fonctionnaire, Étudiant, Autre',
                                        `label` varchar(255) DEFAULT NULL,
                                        `active` tinyint(1) DEFAULT NULL,
                                        `description` text DEFAULT NULL,
                                        `concours_id` bigint(20) DEFAULT NULL,
                                        `candidat_id` bigint(20) DEFAULT NULL,
                                        `annee_bac` bigint(20) DEFAULT NULL,
                                        `specialite_bac` varchar(255) DEFAULT NULL,
                                        `mention_bac` varchar(255) DEFAULT NULL,
                                        `type_etablissement_bac` varchar(255) DEFAULT NULL,
                                        `province` varchar(255) DEFAULT NULL,
                                        `moyenne_general_bac` decimal(10,2) DEFAULT NULL,
                                        `etat_inscription` varchar(100) DEFAULT NULL,
                                        `bac_recto` varchar(500) DEFAULT NULL,
                                        `bac_verso` varchar(500) DEFAULT NULL,
                                        `type_diplome_obtenu` int(11) DEFAULT NULL,
                                        `specialite_diplome` varchar(255) DEFAULT NULL,
                                        `anne_obtention_diplome` bigint(20) DEFAULT NULL,
                                        `etablissement_origine` varchar(255) DEFAULT NULL,
                                        `module_valide` tinyint(1) DEFAULT NULL,
                                        `duree_diplome` bigint(20) DEFAULT NULL,
                                        `note_s1` decimal(10,2) DEFAULT NULL,
                                        `note_s2` decimal(10,2) DEFAULT NULL,
                                        `note_s3` decimal(10,2) DEFAULT NULL,
                                        `note_s4` decimal(10,2) DEFAULT NULL,
                                        `note_s5` decimal(10,2) DEFAULT NULL,
                                        `note_s6` decimal(10,2) DEFAULT NULL,
                                        `moyenne_general_calcule` decimal(10,2) DEFAULT NULL,
                                        `moyenne_ecrit` decimal(10,2) DEFAULT NULL,
                                        `moyenne_orale` decimal(10,2) DEFAULT NULL,
                                        `resultat_inscription` varchar(100) DEFAULT NULL,
                                        `attestation_reusite` varchar(500) DEFAULT NULL,
                                        `releves_notes` varchar(500) DEFAULT NULL,
                                        `demande_maniscrite` varchar(500) DEFAULT NULL,
                                        `cv` varchar(500) DEFAULT NULL,
                                        `cin_recto` varchar(500) DEFAULT NULL,
                                        `cin_verso` varchar(500) DEFAULT NULL,
                                        `date_inscription` date DEFAULT current_timestamp(),
                                        `date_creation` date DEFAULT current_timestamp(),
                                        `date_modification` date DEFAULT NULL,
                                        `code_massar` varchar(255) DEFAULT NULL,
                                        `province_bac` varchar(255) DEFAULT NULL,
                                        `moyenne_bac` decimal(10,2) DEFAULT NULL,
                                        `type_diplome` varchar(255) DEFAULT NULL,
                                        `annee_diplome` int(11) DEFAULT NULL,
                                        `modules_valides` int(11) DEFAULT NULL,
                                        `diplome` varchar(255) DEFAULT NULL,
                                        `moyenne_calcule_avant_ecrit` decimal(10,2) DEFAULT NULL,
                                        `moyenne_calcule_avant_orale` decimal(10,2) DEFAULT NULL,
                                        `moyenne_calcule_avant_finale` decimal(10,2) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

--
-- Déchargement des données de la table `inscription_concours`
--

INSERT INTO `inscription_concours` (`id`, `code`, `civilite`, `email`, `prenom`, `nom`, `prenom_arabe`, `nom_arabe`, `cin`, `telephone`, `photo`, `situation_familiale`, `date_naissance`, `lieu_naissance`, `lieu_naissance_arabe`, `province_naissance`, `nationalite`, `adresse`, `adresse_arabe`, `code_postal`, `province_residence`, `situation_professionnelle`, `label`, `active`, `description`, `concours_id`, `candidat_id`, `annee_bac`, `specialite_bac`, `mention_bac`, `type_etablissement_bac`, `province`, `moyenne_general_bac`, `etat_inscription`, `bac_recto`, `bac_verso`, `type_diplome_obtenu`, `specialite_diplome`, `anne_obtention_diplome`, `etablissement_origine`, `module_valide`, `duree_diplome`, `note_s1`, `note_s2`, `note_s3`, `note_s4`, `note_s5`, `note_s6`, `moyenne_general_calcule`, `moyenne_ecrit`, `moyenne_orale`, `resultat_inscription`, `attestation_reusite`, `releves_notes`, `demande_maniscrite`, `cv`, `cin_recto`, `cin_verso`, `date_inscription`, `date_creation`, `date_modification`, `code_massar`, `province_bac`, `moyenne_bac`, `type_diplome`, `annee_diplome`, `modules_valides`, `diplome`, `moyenne_calcule_avant_ecrit`, `moyenne_calcule_avant_orale`, `moyenne_calcule_avant_finale`) VALUES
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 (29, 'INSC1782196354002', 'Monsieur', 'ahmed.benjelloun@gmail.com', 'Ahmed', 'Benjelloun', 'أحمد', 'بنجلون', 'AB123456', '0612345678', '', 'Célibataire', '2000-01-15', 'Casablanca', 'الدار البيضاء', 'Casablanca', 'Marocaine', '123 Bd Mohamed V,\r\n        Casablanca ', '', '20000', 'Casablanca', 'Étudiant', '', 1, NULL, 2, 8, 2018, 'Sciences Mathématiques', 'Bien', 'Public', 'Casablanca', '14.50', 'EN_ATTENTE', NULL, NULL, 2, 'Réseaux et Télécoms', 2020, 'EST Casablanca', 1, 2, '14.00', '15.00', '13.00', '14.50', '14.00', '13.00', '13.92', NULL, NULL, 'NON_ELLIBGIBLE_ECRIT', NULL, NULL, NULL, NULL, NULL, NULL, '2026-01-15', '2026-01-15', '2026-06-30', 'K123456789', 'Casablanca', '14.50', 'DUT', 2020, 4, '', NULL, NULL, NULL),
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 (31, 'INSC1782196354004', 'Madame', 'fatima.zahra@yahoo.com', 'Fatima', 'Zahra', 'فاطمة', 'زهرة', 'FZ234567', '0623456789', '', 'Célibataire', '2001-03-20', 'Rabat', 'الرباط', 'Rabat', 'Marocaine', '45 Rue de Paris,\r\n        Rabat ', '', '10000', 'Rabat', 'Étudiant', 'INSC1782196354004', 1, '', 3, 9, 2019, 'Sciences Physiques', 'Assez Bien', 'Public', 'Rabat', '12.75', 'EN_ATTENTE', NULL, NULL, NULL, 'Génie Industriel', 2021, 'EST Rabat', 1, 2, '12.00', '13.00', '11.50', '12.00', '13.00', '12.50', '12.33', NULL, NULL, 'ADMIS_ORALE', NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-01', '2026-02-01', '2026-06-26', 'K234567890', 'Rabat', '12.75', 'DUT', 2021, 5, '', NULL, NULL, NULL),
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 (33, 'INSC1782196354006', 'Monsieur', 'mohamed.alami@gmail.com', 'Mohamed', 'Alami', 'محمد', 'علمي', 'MA345678', '0634567890', '', 'Marié', '1999-07-10', 'Fès', 'فاس', 'Fès', 'Marocaine', '78 Rue de la Liberté,\r\n        Fès ', '', '30000', 'Fès', 'Employé', '', 1, NULL, 2, 10, 2017, 'Sciences Mathématiques', 'Très Bien', 'Public', 'Fès', '16.25', 'EN_ATTENTE', NULL, NULL, 3, 'Informatique', 2021, 'Faculté des Sciences Fès', 1, 3, '16.00', '15.00', '17.00', '16.00', '16.00', '15.00', '15.83', NULL, NULL, 'ELLIBGIBLE_ECRIT', NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-10', '2026-02-10', '2026-06-30', 'K345678901', 'Fès', '16.25', 'Licence', 2021, 6, '', NULL, NULL, NULL),
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 (36, 'INSC1782196354009', 'Monsieur', 'youssef.mansouri@gmail.com', 'Youssef', 'Mansouri', 'يوسف', 'منصوري', 'YM567890', '0656789012', '', 'Célibataire', '2001-11-02', 'Tanger', 'طنجة', 'Tanger', 'Marocaine', '56 Rue de la Mer,\r\n        Tanger ', '', '90000', 'Tanger', 'Étudiant', 'INSC1782196354009', 1, '', 3, 12, 2019, 'Sciences Mathématiques', 'Très Bien', 'Public', 'Tanger', '15.75', 'EN_ATTENTE', NULL, NULL, NULL, 'Génie Civil', 2021, 'EST Tanger', 1, 2, '15.00', '16.00', '14.50', '15.50', '16.00', '15.00', '15.33', NULL, NULL, 'NON_ELIGIBLE_ORALE', NULL, NULL, NULL, NULL, NULL, NULL, '2026-03-01', '2026-03-01', '2026-06-25', 'K567890123', 'Tanger', '15.75', 'DUT', 2021, 4, '', NULL, NULL, NULL),
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 (39, 'INSC1782196354012', 'Monsieur', 'hassan.ouali@gmail.com', 'Hassan', 'Ouali', 'حسن', 'وعلي', 'HO789012', '0678901234', '', 'Marié', '1998-04-18', 'Agadir', 'أكادير', 'Agadir', 'Marocaine', '89 Rue de l\'Océan,\r\n        Agadir ', '', '80000', 'Agadir', 'Employé', '', 1, NULL, 2, 14, 2016, 'Sciences Mathématiques', 'Bien', 'Public', 'Agadir', '13.75', 'EN_ATTENTE', NULL, NULL, 3, 'Informatique', 2020, 'Faculté des Sciences Agadir', 1, 3, '13.00', '14.00', '13.50', '13.00', '14.00', '13.00', '13.42', NULL, NULL, 'EN_COURS', NULL, NULL, NULL, NULL, NULL, NULL, '2026-02-15', '2026-02-15', NULL, 'K789012345', 'Agadir', '13.75', 'Licence', 2020, 6, '', NULL, NULL, NULL),
(42, 'INSC1782196354015', 'Monsieur', 'rachid.tazi@gmail.com', 'Rachid', 'Tazi', 'رشيد', 'تازي', 'RT901234', '0690123456', '', 'Célibataire', '2001-12-05', 'Tétouan', 'تطوان', 'Tétouan', 'Marocaine', '67 Rue de la Plage,\r\n        Tétouan ', '', '93000', 'Tétouan', 'Étudiant', '', 1, NULL, 3, 16, 2019, 'Sciences Mathématiques', 'Très Bien', 'Public', 'Tétouan', '16.50', 'EN_ATTENTE', NULL, NULL, 2, 'Informatique', 2021, 'EST Tétouan', 1, 2, '16.00', '17.00', '15.50', '16.50', '17.00', '16.00', '16.33', NULL, NULL, 'ADMIS_ECRIT', NULL, NULL, NULL, NULL, NULL, NULL, '2026-03-05', '2026-03-05', '2026-06-24', 'K901234567', 'Tétouan', '16.50', 'DUT', 2021, 4, '', NULL, NULL, NULL),
(45, 'INSC1782196354018', 'Monsieur', 'karim.berrada@gmail.com', 'Karim', 'Berrada', 'كريم', 'برادة', 'KB123456', '0612345679', '', 'Célibataire', '2000-02-28', 'Kenitra', 'القنيطرة', 'Kenitra', 'Marocaine', '34 Rue de la Résistance,\r\n        Kenitra ', '', '14000', 'Kenitra', 'Étudiant', '', 1, NULL, 2, 18, 2018, 'Sciences Mathématiques', 'Bien', 'Public', 'Kenitra', '14.75', 'EN_ATTENTE', NULL, NULL, 2, 'Génie Mécanique', 2020, 'EST Kenitra', 1, 2, '14.00', '15.00', '14.50', '14.00', '15.00', '14.00', '14.42', NULL, NULL, 'NON_ELLIBGIBLE_ECRIT', NULL, NULL, NULL, NULL, NULL, NULL, '2026-03-10', '2026-03-10', '2026-06-30', 'K123456790', 'Kenitra', '14.75', 'DUT', 2020, 4, '', NULL, NULL, NULL),
(48, 'INSC1782196354021', 'Monsieur', 'soufiane.iraqui@gmail.com', 'Soufiane', 'Iraqui', 'سفيان', 'عراقي', 'SI345678', '0634567891', '', 'Marié', '1999-08-15', 'Safi', 'آسفي', 'Safi', 'Marocaine', '56 Rue de la Plage,\r\n        Safi ', '', '46000', 'Safi', 'Employé', '', 1, NULL, 3, 20, 2017, 'Sciences Mathématiques', 'Très Bien', 'Public', 'Safi', '15.50', 'EN_ATTENTE', NULL, NULL, 3, 'Informatique', 2021, 'Faculté des Sciences Safi', 1, 3, '15.00', '16.00', '15.50', '15.00', '16.00', '15.00', '15.42', NULL, NULL, 'ELIGIBLE_ORALE', NULL, NULL, NULL, NULL, NULL, NULL, '2026-03-15', '2026-03-15', '2026-06-26', 'K345678912', 'Safi', '15.50', 'Licence', 2021, 6, '', NULL, NULL, NULL),
(51, 'INSC1782196354024', 'Monsieur', 'ismail.chakir@gmail.com', 'Ismail', 'Chakir', 'إسماعيل', 'شكير', 'IC567890', '0656789013', '', 'Célibataire', '2000-07-25', 'Béni Mellal', 'بني ملال', 'Béni Mellal', 'Marocaine', '45 Rue de la Liberté,\r\n        Béni Mellal', '', '23000', 'Béni Mellal', 'Étudiant', '', 1, NULL, 2, 22, 2018, 'Sciences Physiques', 'Assez Bien', 'Public', 'Béni Mellal', '11.50', 'EN_ATTENTE', NULL, NULL, 2, 'Génie Civil', 2020, 'EST Béni Mellal', 1, 2, '11.00', '12.00', '10.50', '11.50', '12.00', '11.00', '11.33', NULL, NULL, 'EN_COURS', NULL, NULL, NULL, NULL, NULL, NULL, '2026-03-18', '2026-03-18', NULL, 'K567890134', 'Béni Mellal', '11.50', 'DUT', 2020, 4, '', NULL, NULL, NULL),
(54, 'INSC1782196354027', 'Monsieur', 'taoufik.said@gmail.com', 'Taoufik', 'Said', 'توفيق', 'سعيد', 'TS789012', '0678901235', '', 'Marié', '1998-11-30', 'Laâyoune', 'العيون', 'Laâyoune', 'Marocaine', '34 Rue de l\'Espoir,\r\n        Laâyoune ', '', '70000', 'Laâyoune', 'Employé', '', 1, NULL, 2, 24, 2016, 'Sciences Mathématiques', 'Très Bien', 'Public', 'Laâyoune', '16.00', 'EN_ATTENTE', NULL, NULL, 3, 'Informatique', 2020, 'Faculté des Sciences Laâyoune', 1, 3, '16.00', '17.00', '15.50', '16.00', '17.00', '16.00', '16.25', NULL, NULL, 'ELLIBGIBLE_ECRIT', NULL, NULL, NULL, NULL, NULL, NULL, '2026-03-20', '2026-03-20', '2026-06-30', 'K789012356', 'Laâyoune', '16.00', 'Licence', 2020, 6, '', NULL, NULL, NULL),
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 (57, 'INSC1782196354030', 'Monsieur', 'samir.hatimi@gmail.com', 'Samir', 'Hatimi', 'سمير', 'حاتمي', 'SH901234', '0690123457', '', 'Célibataire', '2001-05-21', 'Tiznit', 'تيزنيت', 'Tiznit', 'Marocaine', '56 Rue de la Plage,\r\n        Tiznit ', '', '85000', 'Tiznit', 'Étudiant', 'INSC1782196354030', 1, '', 3, 26, 2019, 'Sciences Mathématiques', 'Très Bien', 'Public', 'Tiznit', '15.25', 'EN_ATTENTE', NULL, NULL, NULL, 'Informatique', 2021, 'EST Tiznit', 1, 2, '15.00', '16.00', '14.50', '15.00', '16.00', '15.00', '15.25', NULL, NULL, 'ADMIS_ECRIT', NULL, NULL, NULL, NULL, NULL, NULL, '2026-04-01', '2026-04-01', '2026-06-25', 'K901234578', 'Tiznit', '15.25', 'DUT', 2021, 4, '', NULL, NULL, NULL),
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 (60, 'INSC1782196354033', 'Monsieur', 'yassin.bouazza@gmail.com', 'Yassin', 'Bouazza', 'ياسين', 'بوعزة', 'YB123456', '0612345680', '', 'Célibataire', '2000-09-15', 'Taroudant', 'تارودانت', 'Taroudant', 'Marocaine', '34 Rue de la Palmeraie,\r\n        Taroudant ', '', '83000', 'Taroudant', 'Étudiant', '', 1, NULL, 2, 28, 2018, 'Sciences Mathématiques', 'Bien', 'Public', 'Taroudant', '14.00', 'EN_ATTENTE', NULL, NULL, 2, 'Génie Mécanique', 2020, 'EST Taroudant', 1, 2, '14.00', '15.00', '13.50', '14.00', '15.00', '14.00', '14.25', NULL, NULL, 'NON_ELLIBGIBLE_ECRIT', NULL, NULL, NULL, NULL, NULL, NULL, '2026-04-05', '2026-04-05', '2026-06-30', 'K123456801', 'Taroudant', '14.00', 'DUT', 2020, 4, '', NULL, NULL, NULL),
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 (63, 'INSC1782196354036', 'Monsieur', 'mehdi.fathi@gmail.com', 'Mehdi', 'Fathi', 'مهدي', 'فتحي', 'MF345678', '0634567892', '', 'Marié', '1999-04-20', 'Khouribga', 'خريبكة', 'Khouribga', 'Marocaine', '23 Rue de la Liberté,\r\n        Khouribga ', '', '25000', 'Khouribga', 'Employé', '', 1, NULL, 3, 30, 2017, 'Sciences Mathématiques', 'Très Bien', 'Public', 'Khouribga', '15.75', 'EN_ATTENTE', NULL, NULL, 3, 'Informatique', 2021, 'Faculté des Sciences Khouribga', 1, 3, '15.00', '16.00', '15.50', '15.00', '16.00', '15.00', '15.42', NULL, NULL, 'ELIGIBLE_ORALE', NULL, NULL, NULL, NULL, NULL, NULL, '2026-04-10', '2026-04-10', '2026-06-26', 'K345678923', 'Khouribga', '15.75', 'Licence', 2021, 6, '', NULL, NULL, NULL),
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 (66, 'INSC1782196354039', 'Monsieur', 'hamza.chaoui@gmail.com', 'Hamza', 'Chaoui', 'حمزة', 'شاوي', 'HC567890', '0656789014', '', 'Célibataire', '2001-08-22', 'Guelmim', 'كلميم', 'Guelmim', 'Marocaine', '45 Rue de la Liberté,\r\n        Guelmim ', '', '81000', 'Guelmim', 'Étudiant', '', 1, NULL, 2, 32, 2019, 'Sciences Physiques', 'Assez Bien', 'Public', 'Guelmim', '12.50', 'EN_ATTENTE', NULL, NULL, 2, 'Électrotechnique', 2021, 'EST Guelmim', 1, 2, '12.00', '13.00', '12.00', '12.50', '13.00', '12.00', '12.42', NULL, NULL, 'EN_COURS', NULL, NULL, NULL, NULL, NULL, NULL, '2026-04-15', '2026-04-15', NULL, 'K567890145', 'Guelmim', '12.50', 'DUT', 2021, 4, '', NULL, NULL, NULL),
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 (69, 'INSC1782196354042', 'Monsieur', 'anas.berrichi@gmail.com', 'Anas', 'Berrichi', 'أنس', 'بريشي', 'AB789012', '0678901236', '', 'Célibataire', '2000-11-11', 'Sidi Kacem', 'سيدي قاسم', 'Sidi Kacem', 'Marocaine', '34 Rue de la Liberté,\r\n        Sidi Kacem', '', '16000', 'Sidi Kacem', 'Étudiant', '', 1, NULL, 3, 34, 2018, 'Sciences Mathématiques', 'Très Bien', 'Public', 'Sidi Kacem', '16.25', 'EN_ATTENTE', NULL, NULL, 2, 'Informatique', 2020, 'EST Sidi Kacem', 1, 2, '16.00', '17.00', '15.50', '16.00', '17.00', '16.00', '16.25', NULL, NULL, 'ADMIS_ECRIT', NULL, NULL, NULL, NULL, NULL, NULL, '2026-04-20', '2026-04-20', '2026-06-24', 'K789012367', 'Sidi Kacem', '16.25', 'DUT', 2020, 4, '', NULL, NULL, NULL),
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 (72, 'INSC1782196354045', 'Madame', 'malika.boutayeb@gmail.com', 'Malika', 'Boutayeb', 'مالكة', 'بوتيب', 'MB901234', '0690123458', '', 'Mariée', '1999-06-08', 'Youssoufia', 'اليوسفية', 'Youssoufia', 'Marocaine', '56 Rue de la Liberté,\r\n        Youssoufia ', '', '26000', 'Youssoufia', 'Employé', '', 1, NULL, 2, 36, 2017, 'Sciences Mathématiques', 'Bien', 'Public', 'Youssoufia', '14.50', 'EN_ATTENTE', NULL, NULL, 3, 'Informatique', 2021, 'Faculté des Sciences Youssoufia', 1, 3, '14.00', '15.00', '14.50', '14.00', '15.00', '14.00', '14.42', NULL, NULL, 'NON_ELLIBGIBLE_ECRIT', NULL, NULL, NULL, NULL, NULL, NULL, '2026-04-25', '2026-04-25', '2026-06-30', 'K901234589', 'Youssoufia', '14.50', 'Licence', 2021, 6, '', NULL, NULL, NULL),
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 (75, 'INSC1782196354048', 'Madame', 'imane.chemlal@gmail.com', 'Imane', 'Chemlal', 'إيمان', 'شملال', 'IC123456', '0612345681', '', 'Célibataire', '2001-07-30', 'Tan-Tan', 'طانطان', 'Tan-Tan', 'Marocaine', '67 Rue de la Mer,\r\n        Tan - Tan ', '', '82000', 'Tan-Tan', 'Étudiant', '', 1, NULL, 3, 38, 2019, 'Sciences Physiques', 'Bien', 'Public', 'Tan-Tan', '13.25', 'EN_ATTENTE', NULL, NULL, 2, 'Électrotechnique', 2021, 'EST Tan-Tan', 1, 2, '13.00', '14.00', '13.00', '13.00', '14.00', '13.00', '13.33', NULL, NULL, 'ADMIS_ORALE', NULL, NULL, NULL, NULL, NULL, NULL, '2026-05-01', '2026-05-01', '2026-06-26', 'K123456812', 'Tan-Tan', '13.25', 'DUT', 2021, 4, '', NULL, NULL, NULL),
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 (78, 'INSC1782196354051', 'Madame', 'siham.aitali@gmail.com', 'Siham', 'Ait-Ali', 'سهام', 'آيت علي', 'SA345678', '0634567893', '', 'Célibataire', '2000-05-15', 'Midelt', 'ميدلت', 'Midelt', 'Marocaine', '34 Rue de la Montagne,\r\n        Midelt ', '', '54000', 'Midelt', 'Étudiant', '', 1, NULL, 2, 40, 2018, 'Sciences Mathématiques', 'Très Bien', 'Public', 'Midelt', '15.00', 'EN_ATTENTE', NULL, NULL, 2, 'Génie Mécanique', 2020, 'EST Midelt', 1, 2, '15.00', '16.00', '14.50', '15.00', '16.00', '15.00', '15.25', NULL, NULL, 'ELLIBGIBLE_ECRIT', NULL, NULL, NULL, NULL, NULL, NULL, '2026-05-05', '2026-05-05', '2026-06-30', 'K345678934', 'Midelt', '15.00', 'DUT', 2020, 4, '', NULL, NULL, NULL),
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 (81, 'INSC1782196354054', 'Madame', 'mouna.hassani@gmail.com', 'Mouna', 'Hassani', 'منى', 'حساني', 'MH567890', '0656789015', '', 'Célibataire', '2002-03-18', 'Larache', 'العرائش', 'Larache', 'Marocaine', '56 Rue de la Mer,\r\n        Larache ', '', '92000', 'Larache', 'Étudiant', '', 1, NULL, 3, 42, 2020, 'Sciences Physiques', 'Assez Bien', 'Public', 'Larache', '12.25', 'EN_ATTENTE', NULL, NULL, 2, 'Électronique', 2022, 'EST Larache', 1, 2, '12.00', '13.00', '11.50', '12.00', '13.00', '12.00', '12.25', NULL, NULL, 'ADMIS_ORALE', NULL, NULL, NULL, NULL, NULL, NULL, '2026-05-10', '2026-05-10', '2026-06-26', 'K567890156', 'Larache', '12.25', 'DUT', 2022, 4, '', NULL, NULL, NULL),
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 (84, 'INSC1782196354057', 'Madame', 'fatima.alami@outlook.com', 'Fatima', 'Alami', 'فاطمة', 'علمي', 'FA678913', '0678901237', '', 'Célibataire', '2001-01-20', 'Rabat', 'الرباط', 'Rabat', 'Marocaine', '45 Rue de Paris,\r\n        Rabat ', '', '10000', 'Rabat', 'Étudiant', '', 1, NULL, 2, 44, 2019, 'Sciences Économiques', 'Bien', 'Public', 'Rabat', '13.75', 'EN_ATTENTE', NULL, NULL, 2, 'Gestion', 2021, 'EST Rabat', 1, 2, '13.00', '14.00', '13.50', '13.00', '14.00', '13.00', '13.42', NULL, NULL, 'NON_ELLIBGIBLE_ECRIT', NULL, NULL, NULL, NULL, NULL, NULL, '2026-05-15', '2026-05-15', '2026-06-30', 'K678913456', 'Rabat', '13.75', 'DUT', 2021, 4, '', NULL, NULL, NULL),
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 (87, 'INSC1782196354060', 'Madame', 'sanae.mansouri@outlook.com', 'Sanae', 'Mansouri', 'سناء', 'منصوري', 'SM678915', '0690123459', '', 'Célibataire', '2000-06-05', 'Fès', 'فاس', 'Fès', 'Marocaine', '78 Rue de la Liberté,\r\n        Fès ', '', '30000', 'Fès', 'Étudiant', '', 1, NULL, 3, 46, 2018, 'Sciences Physiques', 'Assez Bien', 'Public', 'Fès', '11.75', 'EN_ATTENTE', NULL, NULL, 2, 'Électrotechnique', 2020, 'EST Fès', 1, 2, '11.00', '12.00', '11.50', '11.00', '12.00', '11.00', '11.42', NULL, NULL, 'ELIGIBLE_ORALE', NULL, NULL, NULL, NULL, NULL, NULL, '2026-05-20', '2026-05-20', '2026-06-26', 'K678915678', 'Fès', '11.75', 'DUT', 2020, 4, '', NULL, NULL, NULL),
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 (89, 'INSC1782196354062', 'Monsieur', 'ahmed.benjelloun@gmail.com', 'Ahmed', 'Benjelloun', 'أحمد', 'بنجلون', 'AB123456', '0612345678', 'Array', 'Célibataire', '2000-01-15', 'Casablanca', 'الدار البيضاء', 'Casablanca', 'Marocaine', '123 Bd Mohamed V,\r\n        Casablanca', 'koko', '20000', 'Casablanca', 'Étudiant', 'INSC1782196354062', 1, '', 3, 8, 2025, 'Sciences Mathématiques', 'Bien', 'Public', 'Casablanca', '14.50', 'EN_ATTENTE', NULL, NULL, 2, 'Réseaux et Télécoms', 2020, 'EST Sidi Bennour', 1, 2, '14.00', '15.00', '13.00', '14.50', '14.00', '13.00', '14.13', NULL, NULL, 'ELLIBGIBLE_ECRIT', NULL, 'Array', 'Array', 'Array', 'Array', 'Array', '2026-06-27', '2026-05-25', '2026-06-27', 'K123456789', 'Casablanca', '14.50', 'DUT', 2026, 0, 'Array', NULL, NULL, NULL),
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 (90, 'INSC1782196354063', 'Monsieur', 'mohamed.alami@gmail.com', 'Mohamed', 'Alami', 'محمد', 'علمي', 'MA345678', '0634567890', '', 'Marié', '1999-07-10', 'Fès', 'فاس', 'Fès', 'Marocaine', '78 Rue de la Liberté,\r\n        Fès ', '', '30000', 'Fès', 'Employé', '', 1, NULL, 2, 10, 2017, 'Sciences Mathématiques', 'Très Bien', 'Public', 'Fès', '16.25', 'EN_ATTENTE', NULL, NULL, 3, 'Informatique', 2021, 'Faculté des Sciences Fès', 1, 3, '16.00', '15.00', '17.00', '16.00', '16.00', '15.00', '15.83', NULL, NULL, 'ELLIBGIBLE_ECRIT', NULL, NULL, NULL, NULL, NULL, NULL, '2026-05-30', '2026-05-30', '2026-06-30', 'K345678901', 'Fès', '16.25', 'Licence', 2021, 6, '', NULL, NULL, NULL),
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 (91, 'INSC1782196354064', 'Monsieur', 'youssef.mansouri@gmail.com', 'Youssef', 'Mansouri', 'يوسف', 'منصوري', 'YM567890', '0656789012', '', 'Célibataire', '2001-11-02', 'Tanger', 'طنجة', 'Tanger', 'Marocaine', '56 Rue de la Mer,\r\n        Tanger ', '', '90000', 'Tanger', 'Étudiant', '', 1, NULL, 2, 12, 2019, 'Sciences Mathématiques', 'Très Bien', 'Public', 'Tanger', '15.75', 'EN_ATTENTE', NULL, NULL, 2, 'Génie Civil', 2021, 'EST Tanger', 1, 2, '15.00', '16.00', '14.50', '15.50', '16.00', '15.00', '15.33', NULL, NULL, 'ELLIBGIBLE_ECRIT', NULL, NULL, NULL, NULL, NULL, NULL, '2026-06-01', '2026-06-01', '2026-06-30', 'K567890123', 'Tanger', '15.75', 'DUT', 2021, 4, '', NULL, NULL, NULL),
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 (92, 'INSC1782196354065', 'Monsieur', 'hassan.ouali@gmail.com', 'Hassan', 'Ouali', 'حسن', 'وعلي', 'HO789012', '0678901234', '', 'Marié', '1998-04-18', 'Agadir', 'أكادير', 'Agadir', 'Marocaine', '89 Rue de l\'Océan,\r\n        Agadir ', '', '80000', 'Agadir', 'Employé', '', 1, NULL, 3, 14, 2016, 'Sciences Mathématiques', 'Bien', 'Public', 'Agadir', '13.75', 'EN_ATTENTE', NULL, NULL, 3, 'Informatique', 2020, 'Faculté des Sciences Agadir', 1, 3, '13.00', '14.00', '13.50', '13.00', '14.00', '13.00', '13.42', NULL, NULL, 'EN_COURS', NULL, NULL, NULL, NULL, NULL, NULL, '2026-06-05', '2026-06-05', NULL, 'K789012345', 'Agadir', '13.75', 'Licence', 2020, 6, '', NULL, NULL, NULL),
(93, 'INSC1782196354066', 'Monsieur', 'rachid.tazi@gmail.com', 'Rachid', 'Tazi', 'رشيد', 'تازي', 'RT901234', '0690123456', '', 'Célibataire', '2001-12-05', 'Tétouan', 'تطوان', 'Tétouan', 'Marocaine', '67 Rue de la Plage,\r\n        Tétouan ', '', '93000', 'Tétouan', 'Étudiant', '', 1, NULL, 2, 16, 2019, 'Sciences Mathématiques', 'Très Bien', 'Public', 'Tétouan', '16.50', 'EN_ATTENTE', NULL, NULL, 2, 'Informatique', 2021, 'EST Tétouan', 1, 2, '16.00', '17.00', '15.50', '16.50', '17.00', '16.00', '16.33', NULL, NULL, 'ELLIBGIBLE_ECRIT', NULL, NULL, NULL, NULL, NULL, NULL, '2026-06-10', '2026-06-10', '2026-06-30', 'K901234567', 'Tétouan', '16.50', 'DUT', 2021, 4, '', NULL, NULL, NULL),
(94, 'INSC1782196354067', 'Monsieur', 'karim.berrada@gmail.com', 'Karim', 'Berrada', 'كريم', 'برادة', 'KB123456', '0612345679', '', 'Célibataire', '2000-02-28', 'Kenitra', 'القنيطرة', 'Kenitra', 'Marocaine', '34 Rue de la Résistance,\r\n        Kenitra ', '', '14000', 'Kenitra', 'Étudiant', '', 1, NULL, 3, 18, 2018, 'Sciences Mathématiques', 'Bien', 'Public', 'Kenitra', '14.75', 'EN_ATTENTE', NULL, NULL, 2, 'Génie Mécanique', 2020, 'EST Kenitra', 1, 2, '14.00', '15.00', '14.50', '14.00', '15.00', '14.00', '14.42', NULL, NULL, 'ADMIS_ECRIT', NULL, NULL, NULL, NULL, NULL, NULL, '2026-06-15', '2026-06-15', '2026-06-25', 'K123456790', 'Kenitra', '14.75', 'DUT', 2020, 4, '', NULL, NULL, NULL),
(95, 'INSC1782196354068', 'Monsieur', 'soufiane.iraqui@gmail.com', 'Soufiane', 'Iraqui', 'سفيان', 'عراقي', 'SI345678', '0634567891', '', 'Marié', '1999-08-15', 'Safi', 'آسفي', 'Safi', 'Marocaine', '56 Rue de la Plage,\r\n        Safi ', '', '46000', 'Safi', 'Employé', '', 1, NULL, 2, 20, 2017, 'Sciences Mathématiques', 'Très Bien', 'Public', 'Safi', '15.50', 'EN_ATTENTE', NULL, NULL, 3, 'Informatique', 2021, 'Faculté des Sciences Safi', 1, 3, '15.00', '16.00', '15.50', '15.00', '16.00', '15.00', '15.42', NULL, NULL, 'ELLIBGIBLE_ECRIT', NULL, NULL, NULL, NULL, NULL, NULL, '2026-06-18', '2026-06-18', '2026-06-30', 'K345678912', 'Safi', '15.50', 'Licence', 2021, 6, '', NULL, NULL, NULL),
(96, 'INSC1782196354069', 'Monsieur', 'ismail.chakir@gmail.com', 'Ismail', 'Chakir', 'إسماعيل', 'شكير', 'IC567890', '0656789013', '', 'Célibataire', '2000-07-25', 'Béni Mellal', 'بني ملال', 'Béni Mellal', 'Marocaine', '45 Rue de la Liberté,\r\n        Béni Mellal', '', '23000', 'Béni Mellal', 'Étudiant', '', 1, NULL, 3, 22, 2018, 'Sciences Physiques', 'Assez Bien', 'Public', 'Béni Mellal', '11.50', 'EN_ATTENTE', NULL, NULL, 2, 'Génie Civil', 2020, 'EST Béni Mellal', 1, 2, '11.00', '12.00', '10.50', '11.50', '12.00', '11.00', '11.33', NULL, NULL, 'ELIGIBLE_ORALE', NULL, NULL, NULL, NULL, NULL, NULL, '2026-06-20', '2026-06-20', '2026-06-26', 'K567890134', 'Béni Mellal', '11.50', 'DUT', 2020, 4, '', NULL, NULL, NULL),
(97, 'INSC1782196354070', 'Monsieur', 'taoufik.said@gmail.com', 'Taoufik', 'Said', 'توفيق', 'سعيد', 'TS789012', '0678901235', '', 'Marié', '1998-11-30', 'Laâyoune', 'العيون', 'Laâyoune', 'Marocaine', '34 Rue de l\'Espoir,\r\n        Laâyoune ', '', '70000', 'Laâyoune', 'Employé', '', 1, NULL, 3, 24, 2016, 'Sciences Mathématiques', 'Très Bien', 'Public', 'Laâyoune', '16.00', 'EN_ATTENTE', NULL, NULL, 3, 'Informatique', 2020, 'Faculté des Sciences Laâyoune', 1, 3, '16.00', '17.00', '15.50', '16.00', '17.00', '16.00', '16.25', NULL, NULL, 'ELIGIBLE_ORALE', NULL, NULL, NULL, NULL, NULL, NULL, '2026-06-22', '2026-06-22', '2026-06-25', 'K789012356', 'Laâyoune', '16.00', 'Licence', 2020, 6, '', NULL, NULL, NULL),
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 (130, 'INSC-1782649744-7465-1', 'Monsieur', 'oussamabenjellounn@gmail.com', 'Oussama', 'Benjelloun', 'اسامة', 'بنجلون', 'XA150779', '0652297562', 'https://drive.google.com/open?id=1_llTcmcGMP32OCgoxwHtXZzU9eCZFbzn', 'Célibataire', '2005-06-03', 'Tiflet', 'تيفلت', 'KHEMISSET', 'Marocaine', 'QRT NAHDA 2 TIFLET', 'حي النهضة 2 تيفلت', '15400', 'KHEMISSET', 'Non employé', '', 1, NULL, 1, 48, 2023, 'Sciences Physiques - Option Français', 'Très bien', 'LYCEE PUBLIC', NULL, NULL, 'VALIDE', 'https://drive.google.com/open?id=1opt8O6D78gm49MzvUFG78gk6QMAYNWbJ', 'https://drive.google.com/open?id=1k4owMjoJy_qMyMoh5WcWdgwDtDj4vuwx', 2, 'Génie Informatique', 2025, 'Ecole Supérieure de Technologies Salé', 1, 2, '16.22', '16.15', '16.49', '16.47', '0.00', '0.00', '16.33', NULL, NULL, 'ELLIBGIBLE_ECRIT', 'https://drive.google.com/open?id=1lYeH1lhDdrsdEbgostC_amDc06CEX2rS', 'https://drive.google.com/open?id=1JbzliTPf7P5EcARoALGjoYpHSDJuL5Rp', 'https://drive.google.com/open?id=1Jf07UkopRv07F-w0Z-Fxn8jwtbeEL1Eu', 'https://drive.google.com/open?id=1aqnMh1JfZfZMdyB2b8iM3lnolAe4uhCW', 'https://drive.google.com/open?id=1-YxcIS46lN_x_StT4p-Rjn5NQ5BKdDCo', 'https://drive.google.com/open?id=19CcKP6NEX_pwBxzuTHe5ER6lvoVH4skZ', '2026-06-28', '2026-06-28', '2026-06-28', 'J143061074', 'KHEMISSET', '16.14', '', 0, 0, '', NULL, NULL, NULL),
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 (131, 'INSC-1782649744-7471-2', 'Mademoiselle', 'hanane.chatbitazi@usmba.ac.ma', 'Hanane', 'Chatbi-Tazi', 'حنان', 'شطبي التازي', 'CD789539', '0628994163', 'https://drive.google.com/open?id=1PDKJor_7uZM9G2_wSdKTx0J0qe2R3cNj', 'Célibataire', '2006-05-17', 'Tissa', 'تيسة', 'TAOUNATE', 'Marocaine', '29 lot al hanae sidi boudhar el merja fes', '29 تجزئة الهناء حي بوظهار المرجة واد فاس فاس', '30020', 'FES-MEDINA', 'Non employé', '', 1, NULL, 1, 49, 2023, 'Science Physique Bac International', 'Très bien', 'LYCEE PUBLIC', NULL, NULL, 'VALIDE', 'https://drive.google.com/open?id=1er6E1UGC2tvs8hLxw68o_IiPnCvw2nEE', 'https://drive.google.com/open?id=1v0ewdn3ZW3mft1lNvjcbcEDlC5CgFB6A', 2, 'genie informatique', 2025, 'école supérieure de technologie Fès', 1, 2, '14.29', '14.29', '15.60', '15.60', '0.00', '0.00', '14.95', NULL, NULL, 'EN_COURS', 'https://drive.google.com/open?id=1k0sujbNjg4Ym-uIRipoftvIVEeAiQJhw', 'https://drive.google.com/open?id=1MNiVODWOrVW2dJzjAiKcqUjT8OllhzCv', 'https://drive.google.com/open?id=1116-whJzU2i-CyUl6QbEfp60A9S6Av3F', 'https://drive.google.com/open?id=1hQ8aXcuUu7ZHnQCTYIk5T5JLfW-G7PvQ', 'https://drive.google.com/open?id=1mmDXGPLaLPwuQnMTaUVi-3qDHu9FGvAh', 'https://drive.google.com/open?id=1F-uEZ7eQoIV9Rjl_3Fdj_frJY5FILVIg', '2026-06-28', '2026-06-28', NULL, 's133156876', 'FES-MEDINA', '16.12', '', 0, 0, '', NULL, NULL, NULL),
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 (132, 'INSC-1782649744-4044-3', 'Mademoiselle', 'meryemelmarti273@gmail.com', 'Meryem', 'El Marti', 'مريم', 'المرضي', 'D678868', '0634012900', 'https://drive.google.com/open?id=1bkZiplAHkwqa10G6sCA82VCjartY-srA', 'Célibataire', '2005-07-09', 'MEKNES', 'مكناس', 'MEKNES-EL-MENZEH', 'Marocaine', 'APRT 3 RES AL ANDALOUSS 24 AV CHEFCHAOUEN VN MEKNES', 'شقة 03 اقامة الاندلس 24 شارع شفشاون م ج مكناس', '50000', 'MEKNES-EL-MENZEH', 'Non employé', '', 1, NULL, 1, 50, 2023, 'Sciences Physiques - Option Français', 'Très bien', 'LYCEE PRIVEE', NULL, NULL, 'VALIDE', 'https://drive.google.com/open?id=14XUcU0szPWt-YMUrmpuVpJClzU5yLiky', 'https://drive.google.com/open?id=1RB6zpmvS2_17j5s9DKJvIgHHy8WdizUp', 2, 'Génie Informatique', 2025, 'Ecole Supérieur de Technologie', 1, 2, '14.92', '14.04', '14.78', '16.02', '0.00', '0.00', '14.94', NULL, NULL, 'EN_COURS', 'https://drive.google.com/open?id=1IXC3d4LBrS5e9Qc7ADTGsZ30zBye3nGU', 'https://drive.google.com/open?id=187sjm6FoCbmGV-pH7m3Zin62eHpJc8-7', 'https://drive.google.com/open?id=1jQ4g-l0SlCLY_Y2hBY02hQ7Pr0Kaq7rA', 'https://drive.google.com/open?id=1vAXybhzfVAoqW13bd8VQoStxKOHTi-G4', 'https://drive.google.com/open?id=1-TnAzGSR25EExQiHLZD9z8pyWVUiRV97', 'https://drive.google.com/open?id=1GN8V_nPr72fYwnf4Lc2KP5HqwnSS4e_t', '2026-06-28', '2026-06-28', NULL, 'M131274250', 'MEKNES-AL-ISMAILIA', '16.23', '', 0, 0, '', NULL, NULL, NULL),
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 (133, 'INSC-1782649744-2177-4', 'Mademoiselle', 'fadouaahachmi0220@gmail.com', 'FADOUA', 'AHACHMI', 'فدوى', 'احشمي', 'EE889884', '0600137010', 'https://drive.google.com/open?id=1uIlccBB_rxo9nFQaq_SlGCo4oJSeRjQJ', 'Célibataire', '2005-02-20', 'SIDI YOUSSEF BEN ALI MARRAKECH', 'سيدي يوسف بن علي مراكش', 'MARRAKECH', 'Marocaine', 'DB SADIENNE NO 22 SYBA MARRAKECH', 'درب السعديين رقم 22 سيبع ش مراكش', '40000', 'MARRAKECH', 'Non employé', '', 1, NULL, 1, 51, 2023, 'Sciences Physique Chimie', 'Bien', 'LYCEE PUBLIC', NULL, NULL, 'VALIDE', 'https://drive.google.com/open?id=1cE_svJkk-uShzszvuaI64UVwalRyDSH1', 'https://drive.google.com/open?id=1OJvao4b0GZXOFpDqkb7cFxPKsS_h0Nkw', 2, 'Ingénierie des données', 2025, 'Ecole supérieure de technologie El kelaa des sraghna', 1, 2, '15.65', '14.86', '15.12', '16.81', '0.00', '0.00', '15.61', NULL, NULL, 'ELLIBGIBLE_ECRIT', 'https://drive.google.com/open?id=1TbVZih-pHaPXFX2GpkBX9-TBmUl969QK', 'https://drive.google.com/open?id=1VaO86lST3auvN8rY4PJwgn15hc8Ea86X', 'https://drive.google.com/open?id=1Y9JEBcUGn6oOFGEX3KofjDsg1BUCxSUv', 'https://drive.google.com/open?id=15p6P0uQmH7CS02krUvF2ClFZbqAGLxG4', 'https://drive.google.com/open?id=1xbQt0g7zf1VtEf_tyOZ60HkANz-597MP', 'https://drive.google.com/open?id=15PlzbGvElqWZNpox2WB9dfaO3ko9OoOQ', '2026-06-28', '2026-06-28', '2026-06-28', 'G138288104', 'MARRAKECH', '14.21', '', 0, 0, '', NULL, NULL, NULL),
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 (134, 'INSC-1782649744-9272-5', 'Monsieur', 'maro.elarbaoui@gmail.com', 'MAROUANE', 'EL ARBAOUI', 'مروان', 'العرباوي', 'WA326028', '0777758765', 'https://drive.google.com/open?id=1psE1w-3AQi48S6cVsyxAtofoxcaoPwFK', 'Célibataire', '2005-10-09', 'Marrakech', 'مراكش', 'MARRAKECH-MEDINA', 'Marocaine', '25 LOT YASSINE ROUTE DE MILS BERRECHID', '25 تجزئة ياسين طريق ميلس برشيد', '26100', 'BERRECHID', 'Non employé', '', 1, NULL, 1, 52, 2023, 'Sciences Physiques - Option Anglais', 'Bien', 'LYCEE PUBLIC', NULL, NULL, 'VALIDE', 'https://drive.google.com/open?id=1zju5Xh30cpo-F3C7icKW_3sTxrDBi_VC', 'https://drive.google.com/open?id=1UpDw_EwupfM4Km8yYzniy4fNIImnRHXm', 2, 'genie informatique', 2025, 'EST Essaouira', 1, 2, '14.95', '14.95', '16.19', '16.19', '0.00', '0.00', '15.57', NULL, NULL, 'ELLIBGIBLE_ECRIT', 'https://drive.google.com/open?id=1ujIVmL-vmm9-Ul6iJpdywQjWc8cCxOz_', 'https://drive.google.com/open?id=1Qr70Y1kb7t1r_vQjYRYIsWbEBGmkR11V', 'https://drive.google.com/open?id=1ljHr3FpmMxDJ_drt8jN26079tQVGJMXx', 'https://drive.google.com/open?id=1bB82JOUpH9dw-uoCb_qmokkrug0onbHR', 'https://drive.google.com/open?id=1UIFtYpFby3OX8PSEy9kX17KlsnQkWM_x', 'https://drive.google.com/open?id=1pSkrZPUgQZCTKXRfkgQtUZoUWjrEo6gA', '2026-06-28', '2026-06-28', '2026-06-28', 'F130127129', 'BERRECHID', '14.95', '', 0, 0, '', NULL, NULL, NULL),
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 (135, 'INSC-1782649744-3488-6', 'Monsieur', 'mohamedhadfani2004@gmail.com', 'Mohamed', 'Hadfani', 'محمد', 'هدفاني', 'Q369482', '0646792017', 'https://drive.google.com/open?id=14AAmPT8B9bvlUWTFHb8BXxErxm4pYp-1', 'Célibataire', '2005-08-01', 'Khouribga', 'خريبكة', 'KHOURIBGA', 'Marocaine', 'Rue 8 hay el qods 1 NR 888', 'شارع رقم 8 حي القدس 1 رقم المنزل 888', '25', 'KHOURIBGA', 'Non employé', '', 1, NULL, 1, 53, 2023, 'Sciences Physique Chimie', 'Bien', 'LYCEE PUBLIC', NULL, NULL, 'VALIDE', 'https://drive.google.com/open?id=1p7vgBlRyCjnYN2GieD53cKj1L8RiRkyZ', 'https://drive.google.com/open?id=1hHea6Gf5jmd9nPDNKmODJi2quTJ24Fw2', 2, 'Génie informatique', 2025, 'École supérieure de technologie béni mellal', 1, 2, '15.65', '14.71', '15.02', '16.64', '0.00', '0.00', '15.51', NULL, NULL, 'ELLIBGIBLE_ECRIT', 'https://drive.google.com/open?id=13afNZQn6IaqYkFrOPJb79c5oKE5CsiyD', 'https://drive.google.com/open?id=18vzaNbwvhVcsKcK643f-1_yAFzL6D4O6', 'https://drive.google.com/open?id=16L8c-6nnpGqFNmoyAHNEkX_2xBt93gsd', 'https://drive.google.com/open?id=1BdiwHHADn2nc7UfFXPfdTckQF0dVG7Nq', 'https://drive.google.com/open?id=1cXoveg8vDWI7OTskp83_8m4TUZsTBTUs', 'https://drive.google.com/open?id=1VZk69DCP06yqP8qJV6ufZlcmJGxW4U7I', '2026-06-28', '2026-06-28', '2026-06-28', 'F133091101', 'KHOURIBGA', '15.19', '', 0, 0, '', NULL, NULL, NULL),
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 (136, 'INSC-1782649745-6275-7', 'Madame', 'zinebznouba502@gmail.com', 'ZINEB', 'ETTOUIL', 'زينب', 'الطويل', 'DI23403', '0776797088', 'https://drive.google.com/open?id=11i1kxxkbj0KjldbfrOnJ_yXLYk5OMYKb', 'Célibataire', '2006-04-15', 'N78 lot zitouna tranche 2 el bassatine meknes', 'رقم تجزئة الزيتونة الشطر 2 البساتين مكناس', 'MEKNES', 'Marocaine', 'N78,\r\n        lot zitouna tranche 2 el bassatine meknes', NULL, '50000', 'MEKNES', 'Non employé', '', 1, NULL, 1, 54, 2023, 'Sciences Physiques - Option Français', 'Bien', 'LYCEE PUBLIC', NULL, NULL, 'VALIDE', 'https://drive.google.com/open?id=1MRhtwjH0wVZdAkA6sG4qyTGmWDBFf1Yx', 'https://drive.google.com/open?id=1rSG18evI9nQLteUXG7Z1JsklCMrUQr1w', 2, 'DEVELOPPEMENT WEB ET MULTIMEDIA', 2025, 'ECOLE SUPERIEUR DE TECHNOLOGIE MEKNES', 1, 2, '16.25', '13.97', '15.80', '15.64', '0.00', '0.00', '15.42', NULL, NULL, 'ELLIBGIBLE_ECRIT', 'https://drive.google.com/open?id=1UUHMEfzUQy348-LYrpY8G8JKPTivJ2eb', 'https://drive.google.com/open?id=1jxXRTOMclW6j3vGpPYecKbtoxMd1eol5', 'https://drive.google.com/open?id=1aRO4awUuhjrmL5eiXP5AabDtz_Vlq2u2', 'https://drive.google.com/open?id=1P8YK1juU8F18b1adWq5Qu1j0EpNOZLgL', 'https://drive.google.com/open?id=1MTy5ysxaCXKJSUBnm1CNBKIf2f-d-yn6', 'https://drive.google.com/open?id=1yRw9v2xiKUmsIM1R-g2drkQVRV5RMaFA', '2026-06-28', '2026-06-28', '2026-06-28', 'M136385886', 'MEKNES', '15.31', '', 0, 0, '', NULL, NULL, NULL),
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 (137, 'INSC-1782649745-2910-8', 'Monsieur', 'abderrahmanbendahman1@gmail.com', 'Abderrahman', 'BENDAHMAN', 'عبد الرحمان', 'بندحمان', 'AD304173', '0701238880', 'https://drive.google.com/open?id=1-1lItjOGGzaec7cEcwiKPuWided8gDIl', 'Célibataire', '2005-04-26', 'Temara', 'تمارة', 'SKHIRATE-TEMARA', 'Marocaine', 'Lot kenz el hiba villa 32 temara', 'تجزئة كنز الهبة فيلا 32 تمارة', '12000', 'SKHIRATE-TEMARA', 'Non employé', '', 1, NULL, 1, 55, 2023, 'Sciences Physiques - Option Français', 'Bien', 'LYCEE PUBLIC', NULL, NULL, 'VALIDE', 'https://drive.google.com/open?id=1LKGmtV_nQRrfGfQ2RRwu1buHJ9mGQrrD', 'https://drive.google.com/open?id=1Pr5xkPctUtStTFxW0cbTS1wXS_vHJGp6', 2, 'Génie Informatique', 2025, 'EST salé', 1, 2, '14.83', '15.10', '15.72', '15.73', '0.00', '0.00', '15.35', NULL, NULL, 'ELLIBGIBLE_ECRIT', 'https://drive.google.com/open?id=1_gvV2ZWDGxmZ30Xeyy7ZdXZpHoNyGttR', 'https://drive.google.com/open?id=1cFLpDz-BTxuKL5z3zU33N7Kys0qOoO0z', 'https://drive.google.com/open?id=1Lirpa1HOYxw2ixknkzT8PxLV5mbiCZl-', 'https://drive.google.com/open?id=1Q-u0EMdqAQtE2R0gTXWg6ebtKa7ez3y-', 'https://drive.google.com/open?id=17RY2XdICYOZiyYAkJlFYPQOpJuo2MS_a', 'https://drive.google.com/open?id=1TvJfaGFDgCarDtMEvWIt8VX12DuA-MBm', '2026-06-28', '2026-06-28', '2026-06-28', 'J132388120', 'SKHIRATE-TEMARA', '14.83', '', 0, 0, '', NULL, NULL, NULL),
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 (138, 'INSC-1782649745-8070-9', 'Monsieur', 'elaidiachraf04@gmail.com', 'ACHRAF', 'EL AIDI', 'أشرف', 'العيدي', 'V383957', '0693182958', 'https://drive.google.com/open?id=1PtOzFTWAzMLMiO1xg39yqA3IGEv3_eZo', 'Célibataire', '2004-07-21', 'KHENIFRA', 'خنيفرة', 'KHENIFRA', 'Marocaine', 'TICHOUTE DES MOUKHAZNIS KHENIFRA', 'تيشوت المخازنية خنيفرة', '54000', 'KHENIFRA', 'Non employé', '', 1, NULL, 1, 56, 2022, 'Sciences Physiques - Option Français', 'Très bien', 'LYCEE PUBLIC', NULL, NULL, 'VALIDE', 'https://drive.google.com/open?id=1jb9wIHy1AcaBnc4pM4KTONHJyudeAtCD', 'https://drive.google.com/open?id=18pwJkRN8uF8RkCWCcS3RkqdczxdbzKDm', 2, 'GENIE LOGICIEL', 2024, 'EST KHENIFRA', 1, 2, '14.40', '13.40', '13.42', '16.90', '0.00', '0.00', '14.53', NULL, NULL, 'EN_COURS', 'https://drive.google.com/open?id=1IQVGlG3uuPIgGWKmfe2PgtNltfNKLuWS', 'https://drive.google.com/open?id=1zuPTJC2cfW3O44uhaZNyl41_PuxCtBHM', 'https://drive.google.com/open?id=15cUJROrZ4CECJK06yO9d43uVBQ9-BJKB', 'https://drive.google.com/open?id=1l9ub9qS5s6GDTt4vn5T8fRmsA1L14TuI', 'https://drive.google.com/open?id=1YPksAUrxT2c8jIFfT6KWlH1fUPsQ_tPb', 'https://drive.google.com/open?id=11Jf9AFj7AgwlCZYNpNuOaaryUlYUXFdw', '2026-06-28', '2026-06-28', NULL, 'M130118971', 'KHENIFRA', '16.47', '', 0, 0, '', NULL, NULL, NULL),
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 (139, 'INSC-1782649745-4646-10', 'Mademoiselle', 'salmaaamira4@gmail.com', 'Salma', 'AAMIRA', 'سلمى', 'اعمرى', 'Y533955', '0654317748', 'https://drive.google.com/open?id=1SYcvArXM8XlzTrV7mKaj6WGuuobYnQU9', 'Célibataire', '2005-11-11', 'EL KELAA DES SRAGHENA', 'قلعة السراغنة', 'KELAAT ESSRAGHNA', 'Marocaine', 'El kelaa des sraghena Nakhela 2 N 233', 'قلعة السراغنة النخلة 2', '43000', 'KELAAT ESSRAGHNA', 'Non employé', '', 1, NULL, 1, 57, 2023, 'Sciences Physique Chimie', 'Bien', 'LYCEE PUBLIC', NULL, NULL, 'VALIDE', 'https://drive.google.com/open?id=1x7l_BPL1Wj8ODGa6o287gpUSp5x2cxRB', 'https://drive.google.com/open?id=1K7z7vwBPmke6R-FAbyBhwYKJlmOgfZtX', 2, 'ingenierie des donnees', 2025, 'EST', 1, 2, '14.69', '15.62', '15.12', '15.23', '0.00', '0.00', '15.17', NULL, NULL, 'EN_COURS', 'https://drive.google.com/open?id=1r4S81fQxNHTlCmcn5qnWncVehzn8VvhE', 'https://drive.google.com/open?id=16PYHpANDIGhGzHJN_eKNjrzaE7296frd', 'https://drive.google.com/open?id=1XTqDqdeEQsyr4VM_VpfDskEI20jLW03A', 'https://drive.google.com/open?id=16dm2bgB4P0qsorLEwT5StYhZGr4tBFS0', 'https://drive.google.com/open?id=12czvPbq2fg6st4yo38buLkr1RUTvzPJS', 'https://drive.google.com/open?id=1fIjHpmbQ5CdhH8GP61B9CSxDfA2uUcdX', '2026-06-28', '2026-06-28', NULL, 'G139177872', 'KELAAT ESSRAGHNA', '15.80', '', 0, 0, '', NULL, NULL, NULL),
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 (140, 'INSC-1782713468105', '', 'zitounu@uca.ma', 'Zitouni', 'Yanis', '', '', 'EE337788', '', 'Array', '', '0000-00-00', '', '', '', '', '', '', '', '', '', NULL, 1, NULL, 1, 59, 0, '', '', '', NULL, NULL, 'BROUILLON', NULL, NULL, 2, '', NULL, '', 0, 2, '0.00', '0.00', '0.00', '0.00', NULL, NULL, NULL, NULL, NULL, 'EN_COURS', NULL, 'Array', 'Array', 'Array', 'Array', 'Array', '2026-06-29', '2026-06-29', NULL, '', '', '0.00', NULL, 0, 0, 'Array', NULL, NULL, NULL),
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 (141, 'INSC-1782809097228', 'Monsieur', 'maryamkounjab94@gmail.com', 'Kamal', 'El Hattab', 'مريم', 'قنجاب', 'EE345555', '0652937515', 'C:\\xampp41\\htdocs\\est-concours/concours/CONC-2026-GI/EE345555/photo.png', 'Célibataire', '2007-06-28', 'Sidi bennour', 'سيدي بنور', 'Casablanca', 'Marocaine', 'centre tnine chtouka,\r\n        cte Azammour, province El jadida', 'مركز اثنين شتوية، جماعة أزمور، إقليم الجديدة', '24175', 'Casablanca', 'Étudiant', NULL, 1, NULL, 1, 60, 2025, 'Sciences PC', 'Très Bien', 'Public', NULL, NULL, 'EN_ATTENTE', NULL, NULL, 2, 'Génie Informatique', NULL, 'EST Sidi Bennour', 0, 2, '14.50', '15.10', '14.90', '16.00', NULL, NULL, '15.13', NULL, NULL, 'EN_COURS', NULL, 'C:\\xampp41\\htdocs\\est-concours/concours/CONC-2026-GI/EE345555/releves_notes.pdf', 'C:\\xampp41\\htdocs\\est-concours/concours/CONC-2026-GI/EE345555/demande_maniscrite.png', 'C:\\xampp41\\htdocs\\est-concours/concours/CONC-2026-GI/EE345555/cv.docx', 'C:\\xampp41\\htdocs\\est-concours/concours/CONC-2026-GI/EE345555/cin_recto.png', 'C:\\xampp41\\htdocs\\est-concours/concours/CONC-2026-GI/EE345555/cin_verso.png', '2026-06-30', '2026-06-29', '2026-06-30', 'K130024512', 'Sidi Bennour', '16.12', 'DUT', 2025, 0, 'C:\\xampp41\\htdocs\\est-concours/concours/CONC-2026-GI/EE345555/diplome.pdf', NULL, NULL, NULL),
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 (142, 'INSC-1782807714621', 'Mademoiselle', 'maryamkounjab94@gmail.com', 'Maryam', 'Kounjab', 'مريم', 'قنجاب', 'EE345555', '0652937515', 'C:\\xampp41\\htdocs\\est-concours/concours/CONC-2026-INDUS/EE345555/photo.png', 'Célibataire', '2007-06-28', 'Sidi bennour', 'سيدي بنور', 'Casablanca', 'Marocaine', 'centre tnine chtouka,\r\n        cte Azammour, province El jadida', 'مركز اثنين شتوية، جماعة أزمور، إقليم الجديدة', '24175', 'Casablanca', 'Étudiant', NULL, 1, NULL, 2, 60, 2025, 'Sciences PC', 'Très Bien', 'Public', NULL, NULL, 'EN_ATTENTE', NULL, NULL, 2, 'Génie Informatique', NULL, 'EST Sidi Bennour', 0, 2, '14.50', '15.10', '14.90', '16.00', NULL, NULL, '15.13', NULL, NULL, 'ELLIBGIBLE_ECRIT', NULL, 'C:\\xampp41\\htdocs\\est-concours/concours/CONC-2026-INDUS/EE345555/releves_notes.pdf', 'C:\\xampp41\\htdocs\\est-concours/concours/CONC-2026-INDUS/EE345555/demande_maniscrite.png', 'C:\\xampp41\\htdocs\\est-concours/concours/CONC-2026-INDUS/EE345555/cv.docx', 'C:\\xampp41\\htdocs\\est-concours/concours/CONC-2026-INDUS/EE345555/cin_recto.png', 'C:\\xampp41\\htdocs\\est-concours/concours/CONC-2026-INDUS/EE345555/cin_verso.png', '2026-06-30', '2026-06-30', '2026-06-30', 'K130024512', 'Sidi Bennour', '16.12', 'DUT', 2025, 0, 'C:\\xampp41\\htdocs\\est-concours/concours/CONC-2026-INDUS/EE345555/diplome.png', NULL, NULL, NULL),
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 (144, 'INSC-1782859606723', 'Monsieur', 'ee11@uca.ac.ma', 'Alaouiiiiii', 'Yassineeeee', 'SOUAD', 'KHAIBANE', 'EE112233', '', 'photo.png', 'Célibataire', '0000-00-00', 'Casablanca', 'سيدي بنور', 'Casablanca', 'Marocaine', 'DOUAR OULED BELAAGUID BLOC B NR 576 OUAHAT SIDI BRAHIM EL OUIDANE', '', '', 'Marrakech', '', NULL, 1, NULL, 1, 62, 2025, 'Sciences Mathématiques', 'Bien', 'Public', NULL, NULL, 'BROUILLON', NULL, NULL, 2, 'Génie Informatique', NULL, 'EST Sidi Bennour', 0, 2, '16.00', '17.00', '11.00', '18.00', NULL, NULL, '15.50', NULL, NULL, 'EN_COURS', NULL, NULL, NULL, NULL, 'cin_recto.png', NULL, '2026-07-01', '2026-07-01', '2026-07-01', 'K130024512', 'Sidi Bennour', '111.00', 'DUT', 2026, 0, NULL, NULL, NULL, NULL),
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 (145, 'INSC-1783606867930', 'Monsieur', 'y.zouani@uca.ma', 'YOUNES', 'ZOUANI', 'YOUNES', 'ZOUANI', 'EE667788', '0625495187', 'photo.pdf', 'Célibataire', '2026-07-09', 'Casablanca', 'سيدي بنور', 'Rabat', 'Marocaine', 'BLOC 41 N 9 UNITE 3', 'DAOUDIATE', '40000', 'Casablanca', 'Non employé', NULL, 1, NULL, 1, 61, 2025, 'Sciences Mathématiques', 'Très Bien', 'Public', NULL, NULL, 'EN_ATTENTE', NULL, NULL, 2, 'Génie Informatique', NULL, 'EST Sidi Bennour', 0, 2, '13.00', '14.00', '13.00', '15.00', NULL, NULL, '13.75', NULL, NULL, 'EN_COURS', NULL, 'releves_notes.pdf', 'demande_maniscrite.png', 'cv.docx', 'cin_recto.png', 'cin_verso.png', '2026-07-09', '2026-07-09', NULL, 'K130024512', 'Sidi Bennour', '12.00', 'DUT', 2026, 0, 'diplome.png', NULL, NULL, NULL),
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 (146, 'INSC-1783718260221', 'Monsieur', 'ana.younes@gmail.com', 'YOUNES', 'ZOUANI', 'YOUNES', 'ZOUANI', 'ABC1234', '0625495187', 'photo.jpg', 'Célibataire', '2026-07-10', 'Sidi bennour', 'سيدي بنور', 'Casablanca', 'Marocaine', 'BLOC 41 N 9 UNITE 3', 'DAOUDIATE', '40000', 'Casablanca', 'Non employé', NULL, 1, NULL, 1, 64, 2025, 'Sciences PC', 'Très Bien', 'Public', NULL, NULL, 'BROUILLON', NULL, NULL, 2, 'Génie Informatique', NULL, 'EST Sidi Bennour', 0, 2, '17.00', '16.00', '11.00', '14.00', NULL, NULL, '14.50', NULL, NULL, 'EN_COURS', NULL, 'releves_notes.png', 'demande_maniscrite.png', 'cv.pdf', 'cin_recto.png', 'cin_verso.png', '2026-07-10', '2026-07-10', NULL, 'K130024512', 'Sidi Bennour', '14.00', 'DUT', 2026, 0, 'diplome.jpg', NULL, NULL, NULL),
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 (147, 'INSC-1783892431582', '', 'ayaayouch@gmail.com', 'aya', 'ayouch', '', '', 'Ma178181', '', 'Array', '', '0000-00-00', '', '', '', '', '', '', '', '', '', NULL, 1, NULL, 1, 65, 0, '', '', '', NULL, NULL, 'BROUILLON', NULL, NULL, 2, '', NULL, '', 0, 2, '0.00', '0.00', '0.00', '0.00', NULL, NULL, NULL, NULL, NULL, 'EN_COURS', NULL, 'Array', 'Array', 'Array', 'Array', 'Array', '2026-07-12', '2026-07-12', NULL, '', '', '0.00', NULL, 0, 0, 'Array', NULL, NULL, NULL);

-- --------------------------------------------------------

--
-- Structure de la table `inscription_etudiant`
--

CREATE TABLE `inscription_etudiant` (
                                        `id` bigint(20) NOT NULL,
                                        `student_id` bigint(20) NOT NULL,
                                        `filiere_id` bigint(20) NOT NULL,
                                        `annee_universitaire_id` bigint(20) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

--
-- Déchargement des données de la table `inscription_etudiant`
--

INSERT INTO `inscription_etudiant` (`id`, `student_id`, `filiere_id`, `annee_universitaire_id`) VALUES
                                                                                                    (1, 8, 1, NULL),
                                                                                                    (2, 9, 1, NULL),
                                                                                                    (3, 10, 1, NULL),
                                                                                                    (4, 11, 1, NULL),
                                                                                                    (5, 12, 1, NULL),
                                                                                                    (6, 13, 1, NULL),
                                                                                                    (7, 14, 1, NULL),
                                                                                                    (8, 15, 1, NULL),
                                                                                                    (9, 16, 1, NULL),
                                                                                                    (10, 17, 1, NULL),
                                                                                                    (11, 18, 1, NULL),
                                                                                                    (12, 19, 1, NULL),
                                                                                                    (13, 20, 2, NULL),
                                                                                                    (14, 21, 2, NULL),
                                                                                                    (15, 22, 2, NULL),
                                                                                                    (16, 23, 2, NULL),
                                                                                                    (17, 24, 2, NULL),
                                                                                                    (18, 25, 2, NULL),
                                                                                                    (19, 26, 2, NULL),
                                                                                                    (20, 27, 2, NULL),
                                                                                                    (21, 28, 3, NULL),
                                                                                                    (22, 29, 3, NULL),
                                                                                                    (23, 30, 3, NULL),
                                                                                                    (24, 31, 3, NULL),
                                                                                                    (25, 32, 3, NULL),
                                                                                                    (26, 33, 3, NULL),
                                                                                                    (27, 34, 3, NULL),
                                                                                                    (28, 35, 3, NULL),
                                                                                                    (29, 36, 3, NULL),
                                                                                                    (30, 37, 3, NULL),
                                                                                                    (31, 38, 3, NULL),
                                                                                                    (32, 39, 3, NULL),
                                                                                                    (33, 40, 3, NULL),
                                                                                                    (34, 41, 3, NULL),
                                                                                                    (35, 42, 3, NULL),
                                                                                                    (36, 43, 4, NULL),
                                                                                                    (37, 44, 4, NULL),
                                                                                                    (38, 45, 4, NULL),
                                                                                                    (39, 46, 4, NULL),
                                                                                                    (40, 47, 4, NULL),
                                                                                                    (41, 48, 4, NULL),
                                                                                                    (42, 49, 4, NULL),
                                                                                                    (43, 50, 4, NULL),
                                                                                                    (44, 51, 4, NULL),
                                                                                                    (45, 52, 4, NULL),
                                                                                                    (46, 53, 4, NULL),
                                                                                                    (47, 54, 4, NULL),
                                                                                                    (48, 55, 4, NULL),
                                                                                                    (49, 56, 4, NULL),
                                                                                                    (50, 57, 4, NULL),
                                                                                                    (51, 58, 4, NULL),
                                                                                                    (52, 59, 4, NULL),
                                                                                                    (53, 60, 4, NULL),
                                                                                                    (54, 61, 5, NULL),
                                                                                                    (55, 62, 5, NULL),
                                                                                                    (56, 63, 5, NULL),
                                                                                                    (57, 64, 5, NULL),
                                                                                                    (58, 65, 5, NULL),
                                                                                                    (59, 66, 5, NULL),
                                                                                                    (60, 67, 5, NULL),
                                                                                                    (61, 68, 5, NULL);

-- --------------------------------------------------------

--
-- Structure de la table `livraison`
--

CREATE TABLE `livraison` (
                             `id` bigint(20) NOT NULL,
                             `libelle` varchar(255) NOT NULL,
                             `description` text DEFAULT NULL,
                             `demande_id` bigint(20) NOT NULL,
                             `date_livraison` date DEFAULT NULL,
                             `annee_universitaire_id` bigint(20) DEFAULT NULL,
                             `etat_livraison_id` bigint(20) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

--
-- Déchargement des données de la table `livraison`
--

INSERT INTO `livraison` (`id`, `libelle`, `description`, `demande_id`, `date_livraison`, `annee_universitaire_id`, `etat_livraison_id`) VALUES
                                                                                                                                            (1, 'Livraison Papier', 'Livraison partielle du papier', 1, '2026-03-11', 2, 2),
                                                                                                                                            (2, 'Livraison PC', 'Livraison PC', 2, '2026-03-24', 2, 3),
                                                                                                                                            (3, 'Livraison Serveur', 'Livraison serveur', 2, '2026-03-24', 2, 3),
                                                                                                                                            (4, 'Livraison Mobilier', 'Livraison complète', 3, '2026-04-04', 2, 3),
                                                                                                                                            (7, 'Liv-1- dem-2026-1', '', 10, '2026-08-20', 3, 1),
                                                                                                                                            (8, 'Livraison-2- dem-2026-1', '', 10, '2026-08-20', 3, 2);

-- --------------------------------------------------------

--
-- Structure de la table `livraison_detail`
--

CREATE TABLE `livraison_detail` (
                                    `id` bigint(20) NOT NULL,
                                    `magasin_id` bigint(20) NOT NULL,
                                    `entite_administrative_id` bigint(20) NOT NULL,
                                    `categorie_produit_id` bigint(20) NOT NULL,
                                    `produit_id` bigint(20) NOT NULL,
                                    `quantite` int(11) NOT NULL DEFAULT 0,
                                    `description` text DEFAULT NULL,
                                    `livraison_id` bigint(20) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

--
-- Déchargement des données de la table `livraison_detail`
--

INSERT INTO `livraison_detail` (`id`, `magasin_id`, `entite_administrative_id`, `categorie_produit_id`, `produit_id`, `quantite`, `description`, `livraison_id`) VALUES
                                                                                                                                                                     (1, 1, 2, 1, 1, 15, 'Livraison partielle papier', 1),
                                                                                                                                                                     (2, 2, 2, 2, 3, 2, 'PC pour INFO', 2),
                                                                                                                                                                     (3, 2, 3, 2, 3, 2, 'PC pour MGT', 2),
                                                                                                                                                                     (4, 2, 2, 2, 4, 1, 'Serveur pour INFO', 3),
                                                                                                                                                                     (5, 1, 3, 3, 5, 3, 'Bureaux pour MGT', 4),
                                                                                                                                                                     (6, 1, 3, 3, 6, 2, 'Chaises pour MGT', 4),
                                                                                                                                                                     (13, 2, 4, 4, 7, 12, '', 7),
                                                                                                                                                                     (14, 2, 4, 4, 8, 15, '', 7),
                                                                                                                                                                     (15, 2, 4, 2, 3, 10, '', 7),
                                                                                                                                                                     (16, 2, 2, 4, 7, 4, '', 8),
                                                                                                                                                                     (17, 2, 2, 4, 8, 10, '', 8),
                                                                                                                                                                     (18, 2, 2, 2, 3, 18, '', 8);

-- --------------------------------------------------------

--
-- Structure de la table `magasin`
--

CREATE TABLE `magasin` (
                           `id` bigint(20) NOT NULL,
                           `libelle` varchar(255) NOT NULL,
                           `code` varchar(50) NOT NULL,
                           `adresse` varchar(255) DEFAULT NULL,
                           `description` text DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

--
-- Déchargement des données de la table `magasin`
--

INSERT INTO `magasin` (`id`, `libelle`, `code`, `adresse`, `description`) VALUES
                                                                              (1, 'Magasin principal', 'MAG-PRIN', 'Bâtiment A, RDC', 'Stock central'),
                                                                              (2, 'Magasin informatique', 'MAG-INFO', 'Bâtiment B, 1er étage', 'Matériel informatique et bureautique'),
                                                                              (3, 'Magasin laboratoire', 'MAG-LABO', 'Bâtiment C', 'Consommables de labo');

-- --------------------------------------------------------

--
-- Structure de la table `mime_document_dossier_admin`
--

CREATE TABLE `mime_document_dossier_admin` (
                                               `id` bigint(20) NOT NULL,
                                               `libelle` varchar(255) NOT NULL,
                                               `code` varchar(255) NOT NULL,
                                               `description` text DEFAULT NULL,
                                               `badge` varchar(255) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

--
-- Déchargement des données de la table `mime_document_dossier_admin`
--

INSERT INTO `mime_document_dossier_admin` (`id`, `libelle`, `code`, `description`, `badge`) VALUES
                                                                                                (1, 'PDF', 'application/pdf', 'Portable Document Format', 'danger'),
                                                                                                (2, 'Image', 'image/jpeg', 'Image JPEG', 'success'),
                                                                                                (4, 'Word', 'application/msword', 'Microsoft Word', 'primary');

-- --------------------------------------------------------

--
-- Structure de la table `module`
--

CREATE TABLE `module` (
                          `id` bigint(20) NOT NULL,
                          `libelle` varchar(255) NOT NULL,
                          `code` varchar(50) NOT NULL,
                          `description` text DEFAULT NULL,
                          `filiere_id` bigint(20) NOT NULL,
                          `filiere_origine_id` bigint(20) DEFAULT NULL,
                          `charge_horaire_cours` int(11) DEFAULT 0,
                          `charge_horaire_tp` int(11) DEFAULT 0,
                          `charge_horaire_td` int(11) DEFAULT 0,
                          `coefficient_cours` int(11) NOT NULL DEFAULT 1,
                          `coefficient_td` int(11) NOT NULL DEFAULT 1,
                          `coefficient_tp` int(11) NOT NULL DEFAULT 1,
                          `evaluation` int(11) NOT NULL DEFAULT 4,
                          `nombre_groupe_cours` int(11) DEFAULT 1,
                          `nombre_groupe_tp` int(11) DEFAULT 1,
                          `nombre_groupe_td` int(11) DEFAULT 1,
                          `semestre_id` bigint(20) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

--
-- Déchargement des données de la table `module`
--

INSERT INTO `module` (`id`, `libelle`, `code`, `description`, `filiere_id`, `charge_horaire_cours`, `charge_horaire_tp`, `charge_horaire_td`, `nombre_groupe_cours`, `nombre_groupe_tp`, `nombre_groupe_td`, `semestre_id`) VALUES
                                                                                                                                                                                                                                (1, 'Algèbre', 'GI-S1-01', NULL, 1, 30, 20, 0, 1, 1, 1, 1),
                                                                                                                                                                                                                                (2, 'Algorithmique', 'GI-S1-02', NULL, 1, 30, 20, 0, 1, 1, 1, 1),
                                                                                                                                                                                                                                (3, 'Langage C', 'GI-S1-03', NULL, 1, 30, 20, 0, 1, 1, 1, 1),
                                                                                                                                                                                                                                (4, 'Analyse 1', 'GI-S1-04', NULL, 1, 30, 20, 0, 1, 1, 1, 1),
                                                                                                                                                                                                                                (5, 'Architecture des ordinateurs et électronique numérique', 'GI-S1-05', NULL, 1, 30, 20, 0, 1, 1, 1, 1),
                                                                                                                                                                                                                                (6, 'Anglais', 'GI-S1-06', NULL, 1, 30, 20, 0, 1, 1, 1, 1),
                                                                                                                                                                                                                                (7, 'Compétences numériques', 'GI-S1-07', NULL, 1, 30, 20, 0, 1, 1, 1, 1),
                                                                                                                                                                                                                                (8, 'Probabilités et statistiques', 'GI-S2-01', NULL, 1, 30, 20, 0, 1, 1, 1, 2),
                                                                                                                                                                                                                                (9, 'Analyse 2', 'GI-S2-02', NULL, 1, 30, 20, 0, 1, 1, 1, 2),
                                                                                                                                                                                                                                (10, 'Français', 'GI-S2-03', NULL, 1, 30, 20, 0, 1, 1, 1, 2),
                                                                                                                                                                                                                                (11, 'Introduction à l\'intelligence artificielle', 'GI-S2-04', NULL, 1, 30, 20, 0, 1, 1, 1, 2),
(12, 'Structures de données', 'GI-S2-05', NULL, 1, 30, 20, 0, 1, 1, 1, 2),
(13, 'Réseaux informatiques', 'GI-S2-06', NULL, 1, 30, 20, 0, 1, 1, 1, 2),
(14, 'Bases de données relationnelles', 'GI-S2-07', NULL, 1, 30, 20, 0, 1, 1, 1, 2),
(15, 'Communication professionnelle', 'GI-S3-01', NULL, 1, 30, 20, 0, 1, 1, 1, 3),
(16, 'Développement Web II', 'GI-S3-02', NULL, 1, 30, 20, 0, 1, 1, 1, 3),
(17, 'Génie logiciel et UML', 'GI-S3-03', NULL, 1, 30, 20, 0, 1, 1, 1, 3),
(18, 'Programmation orienté objet', 'GI-S3-04', NULL, 1, 30, 20, 0, 1, 1, 1, 3),
(19, 'Système d\'exploitation et administration', 'GI-S3-05', NULL, 1, 30, 20, 0, 1, 1, 1, 3),
                                                                                                                                                                                                                                (20, 'Développement web', 'GI-S3-06', NULL, 1, 30, 20, 0, 1, 1, 1, 3),
                                                                                                                                                                                                                                (21, 'Bases de données avancées', 'GI-S3-07', NULL, 1, 30, 20, 0, 1, 1, 1, 3),
                                                                                                                                                                                                                                (22, 'IHM et programmation mobile', 'GI-S4-01', NULL, 1, 30, 20, 0, 1, 1, 1, 4),
                                                                                                                                                                                                                                (23, 'Réseaux avancés et services', 'GI-S4-02', NULL, 1, 30, 20, 0, 1, 1, 1, 4),
                                                                                                                                                                                                                                (24, 'Programmation orienté IA', 'GI-S4-03', NULL, 1, 30, 20, 0, 1, 1, 1, 4),
                                                                                                                                                                                                                                (25, 'Gestion de projet et entreprenariat', 'GI-S4-04', NULL, 1, 30, 20, 0, 1, 1, 1, 4),
                                                                                                                                                                                                                                (26, 'STAGES', 'GI-S4-05', NULL, 1, 30, 20, 0, 1, 1, 1, 4),
                                                                                                                                                                                                                                (27, 'PROJET DE FIN D\'ÉTUDES', 'GI-S4-06', NULL, 1, 30, 20, 0, 1, 1, 1, 4),
(28, 'Mathématique', 'GAE-S1-01', NULL, 7, 30, 20, 0, 1, 1, 1, 1),
(29, 'Statistiques Appliquées et logiciels statistiques', 'GAE-S1-02', NULL, 7, 30, 20, 0, 1, 1, 1, 1),
(30, 'Chimie', 'GAE-S1-03', NULL, 7, 30, 20, 0, 1, 1, 1, 1),
(31, 'Biologie Cellulaire', 'GAE-S1-04', NULL, 7, 30, 20, 0, 1, 1, 1, 1),
(32, 'Microbiologie et Parasitologie', 'GAE-S1-05', NULL, 7, 30, 20, 0, 1, 1, 1, 1),
(33, 'Compétences Numériques', 'GAE-S1-06', NULL, 7, 30, 20, 0, 1, 1, 1, 1),
(34, 'Langues et Techniques d\'expression et de communication 1', 'GAE-S1-07', NULL, 7, 30, 20, 0, 1, 1, 1, 1),
                                                                                                                                                                                                                                (35, 'Écologie Appliquée', 'GAE-S2-01', NULL, 7, 30, 20, 0, 1, 1, 1, 2),
                                                                                                                                                                                                                                (36, 'Biochimie', 'GAE-S2-02', NULL, 7, 30, 20, 0, 1, 1, 1, 2),
                                                                                                                                                                                                                                (37, 'Génétique et Biologie Moléculaire', 'GAE-S2-03', NULL, 7, 30, 20, 0, 1, 1, 1, 2),
                                                                                                                                                                                                                                (38, 'Initiation à l\'Intelligence Artificielle', 'GAE-S2-04', NULL, 7, 30, 20, 0, 1, 1, 1, 2),
(39, 'Ecologie générale', 'GAE-S2-05', NULL, 7, 30, 20, 0, 1, 1, 1, 2),
(40, 'Analyses Physico Chimiques et Biologiques', 'GAE-S2-06', NULL, 7, 30, 20, 0, 1, 1, 1, 2),
(41, 'Langues et Techniques d\'Expression et de Communication 2', 'GAE-S2-07', NULL, 7, 30, 20, 0, 1, 1, 1, 2),
                                                                                                                                                                                                                                (42, 'ALIMENTATIONS DES ANIMAUX', 'GAE-S3-A-01', 'Option Animale', 7, 30, 20, 0, 1, 1, 1, 3),
                                                                                                                                                                                                                                (43, 'REPRODUCTION ET BIOTECHNO', 'GAE-S3-A-02', 'Option Animale', 7, 30, 20, 0, 1, 1, 1, 3),
                                                                                                                                                                                                                                (44, 'Santé Animale et Pharmaco', 'GAE-S3-A-03', 'Option Animale', 7, 30, 20, 0, 1, 1, 1, 3),
                                                                                                                                                                                                                                (45, 'Biologies des Organismes', 'GAE-S3-A-04', 'Option Animale', 7, 30, 20, 0, 1, 1, 1, 3),
                                                                                                                                                                                                                                (46, 'Production Animal', 'GAE-S3-A-05', 'Option Animale', 7, 30, 20, 0, 1, 1, 1, 3),
                                                                                                                                                                                                                                (47, 'ANATOMIE ET PHYSIOLOGIE A', 'GAE-S3-A-06', 'Option Animale', 7, 30, 20, 0, 1, 1, 1, 3),
                                                                                                                                                                                                                                (48, 'Production Avicole et Ele', 'GAE-S3-A-07', 'Option Animale', 7, 30, 20, 0, 1, 1, 1, 3),
                                                                                                                                                                                                                                (49, 'HYGIENE DU MILIEU ET ENVI', 'GAE-S4-A-01', 'Option Animale', 7, 30, 20, 0, 1, 1, 1, 4),
                                                                                                                                                                                                                                (50, 'NORMES DE QUALITE, SECURI', 'GAE-S4-A-02', 'Option Animale', 7, 30, 20, 0, 1, 1, 1, 4),
                                                                                                                                                                                                                                (51, 'GESTION, ENTREPRENEURIAT', 'GAE-S4-A-03', 'Option Animale', 7, 30, 20, 0, 1, 1, 1, 4),
                                                                                                                                                                                                                                (52, 'REGLEMENTATION ET DIGITAL', 'GAE-S4-A-04', 'Option Animale', 7, 30, 20, 0, 1, 1, 1, 4),
                                                                                                                                                                                                                                (53, 'STAGES', 'GAE-S4-A-05', 'Option Animale', 7, 30, 20, 0, 1, 1, 1, 4),
                                                                                                                                                                                                                                (54, 'PROJET DE FIN D\'ÉTUDES', 'GAE-S4-A-06', 'Option Animale', 7, 30, 20, 0, 1, 1, 1, 4),
(55, 'PRODUCTION VEGETALE ET GR', 'GAE-S3-V-01', 'Option Végétale', 7, 30, 20, 0, 1, 1, 1, 3),
(56, 'IRRIGATION, AMENDEMENTS A', 'GAE-S3-V-02', 'Option Végétale', 7, 30, 20, 0, 1, 1, 1, 3),
(57, 'HORTICULTURE : CULTURES M', 'GAE-S3-V-03', 'Option Végétale', 7, 30, 20, 0, 1, 1, 1, 3),
(58, 'PROTECTION DES CULTURES', 'GAE-S3-V-04', 'Option Végétale', 7, 30, 20, 0, 1, 1, 1, 3),
(59, 'PHYSIOLOGIE VEGETALE', 'GAE-S3-V-05', 'Option Végétale', 7, 30, 20, 0, 1, 1, 1, 3),
(60, 'BIOLOGIE DES ORGANISMES V', 'GAE-S3-V-06', 'Option Végétale', 7, 30, 20, 0, 1, 1, 1, 3),
(61, 'SCIENCES DU SOL', 'GAE-S3-V-07', 'Option Végétale', 7, 30, 20, 0, 1, 1, 1, 3),
(62, 'HYGIENE DU MILIEU ET ENVI', 'GAE-S4-V-01', 'Option Végétale', 7, 30, 20, 0, 1, 1, 1, 4),
(63, 'NORMES DE QUALITE, SECURI', 'GAE-S4-V-02', 'Option Végétale', 7, 30, 20, 0, 1, 1, 1, 4),
(64, 'GESTION, ENTREPRENEURIAT', 'GAE-S4-V-03', 'Option Végétale', 7, 30, 20, 0, 1, 1, 1, 4),
(65, 'REGLEMENTATION ET DIGITAL', 'GAE-S4-V-04', 'Option Végétale', 7, 30, 20, 0, 1, 1, 1, 4),
(66, 'STAGES', 'GAE-S4-V-05', 'Option Végétale', 7, 30, 20, 0, 1, 1, 1, 4),
(67, 'PROJET DE FIN D\'ÉTUDES', 'GAE-S4-V-06', 'Option Végétale', 7, 30, 20, 0, 1, 1, 1, 4),
                                                                                                                                                                                                                                (68, 'Chimie', 'GE-S1-01', NULL, 9, 30, 20, 0, 1, 1, 1, 1),
                                                                                                                                                                                                                                (69, 'Probabilités et Statistiques appliquées', 'GE-S1-02', NULL, 9, 30, 20, 0, 1, 1, 1, 1),
                                                                                                                                                                                                                                (70, 'Physique', 'GE-S1-03', NULL, 9, 30, 20, 0, 1, 1, 1, 1),
                                                                                                                                                                                                                                (71, 'Biologie Cellulaire', 'GE-S1-04', NULL, 9, 30, 20, 0, 1, 1, 1, 1),
                                                                                                                                                                                                                                (72, 'Microbiologie et Parasitologie', 'GE-S1-05', NULL, 9, 30, 20, 0, 1, 1, 1, 1),
                                                                                                                                                                                                                                (73, 'Français et Techniques d\'expression et de communication', 'GE-S1-06', NULL, 9, 30, 20, 0, 1, 1, 1, 1),
(74, 'Compétences numériques', 'GE-S1-07', NULL, 9, 30, 20, 0, 1, 1, 1, 1),
(75, 'Virologie et Immunologie', 'GE-S2-01', NULL, 9, 30, 20, 0, 1, 1, 1, 2),
(76, 'Biochimie', 'GE-S2-02', NULL, 9, 30, 20, 0, 1, 1, 1, 2),
(77, 'Techniques d\'élevage des équidés', 'GE-S2-03', NULL, 9, 30, 20, 0, 1, 1, 1, 2),
                                                                                                                                                                                                                                (78, 'Initiation à l\'intelligence artificielle', 'GE-S2-04', NULL, 9, 30, 20, 0, 1, 1, 1, 2),
(79, 'Technique d\'analyses', 'GE-S2-05', NULL, 9, 30, 20, 0, 1, 1, 1, 2),
                                                                                                                                                                                                                                (80, 'Génétique et Biologie Moléculaire', 'GE-S2-06', NULL, 9, 30, 20, 0, 1, 1, 1, 2),
                                                                                                                                                                                                                                (81, 'Anglais et Techniques d\'expression et de communication', 'GE-S2-07', NULL, 9, 30, 20, 0, 1, 1, 1, 2),
(82, 'Pathologie des équidés et pharmacologie', 'GE-S3-01', NULL, 9, 30, 20, 0, 1, 1, 1, 3),
(83, 'Alimentation des équidés', 'GE-S3-02', NULL, 9, 30, 20, 0, 1, 1, 1, 3),
(84, 'Biologie des organismes animaux', 'GE-S3-03', NULL, 9, 30, 20, 0, 1, 1, 1, 3),
(85, 'Reproduction et biotechnologie de la reproduction du cheval', 'GE-S3-04', NULL, 9, 30, 20, 0, 1, 1, 1, 3),
(86, 'Zootechnie équine et anatomie du cheval', 'GE-S3-05', NULL, 9, 30, 20, 0, 1, 1, 1, 3),
(87, 'Maréchal ferrant des équidés et discipline équestres', 'GE-S3-06', NULL, 9, 30, 20, 0, 1, 1, 1, 3),
(88, 'Physiologie du cheval', 'GE-S3-07', NULL, 9, 30, 20, 0, 1, 1, 1, 3),
(89, 'Normes de qualité et gestion de l\'environnement', 'GE-S4-01', NULL, 9, 30, 20, 0, 1, 1, 1, 4),
                                                                                                                                                                                                                                (90, 'Entrepreneuriat, Management et gestion des entreprise de la filière cheval Stratégique', 'GE-S4-02', NULL, 9, 30, 20, 0, 1, 1, 1, 4),
                                                                                                                                                                                                                                (91, 'Hygiène du milieu et environnement', 'GE-S4-03', NULL, 9, 30, 20, 0, 1, 1, 1, 4),
                                                                                                                                                                                                                                (92, 'Bien-être animal et Digitalisation de la filière équine', 'GE-S4-04', NULL, 9, 30, 20, 0, 1, 1, 1, 4),
                                                                                                                                                                                                                                (93, 'STAGES', 'GE-S4-05', NULL, 9, 30, 20, 0, 1, 1, 1, 4),
                                                                                                                                                                                                                                (94, 'PROJET DE FIN D\'ÉTUDES', 'GE-S4-06', NULL, 9, 30, 20, 0, 1, 1, 1, 4),
(95, 'Mathématiques appliquées', 'TM-S1-01', NULL, 4, 30, 20, 0, 1, 1, 1, 1),
(96, 'Comptabilité générale I', 'TM-S1-02', NULL, 4, 30, 20, 0, 1, 1, 1, 1),
(97, 'Management', 'TM-S1-03', NULL, 4, 30, 20, 0, 1, 1, 1, 1),
(98, 'Economie générale', 'TM-S1-04', NULL, 4, 30, 20, 0, 1, 1, 1, 1),
(99, 'Introduction à l\'étude de droit', 'TM-S1-05', NULL, 4, 30, 20, 0, 1, 1, 1, 1),
                                                                                                                                                                                                                                (100, 'Langue étrangère (Français)', 'TM-S1-06', NULL, 4, 30, 20, 0, 1, 1, 1, 1),
                                                                                                                                                                                                                                (101, 'Compétences numériques', 'TM-S1-07', NULL, 4, 30, 20, 0, 1, 1, 1, 1),
                                                                                                                                                                                                                                (102, 'Comptabilité Générale II', 'TM-S2-01', NULL, 4, 30, 20, 0, 1, 1, 1, 2),
                                                                                                                                                                                                                                (103, 'Droit de l\'entreprise', 'TM-S2-02', NULL, 4, 30, 20, 0, 1, 1, 1, 2),
(104, 'Communication et développement personnel', 'TM-S2-03', NULL, 4, 30, 20, 0, 1, 1, 1, 2),
(105, 'Intelligence Artificielle', 'TM-S2-04', NULL, 4, 30, 20, 0, 1, 1, 1, 2),
(106, 'Statistiques descriptives', 'TM-S2-05', NULL, 4, 30, 20, 0, 1, 1, 1, 2),
(107, 'Mathématiques financières', 'TM-S2-06', NULL, 4, 30, 20, 0, 1, 1, 1, 2),
(108, 'Gestion des ressources humaines', 'TM-S2-07', NULL, 4, 30, 20, 0, 1, 1, 1, 2),
(109, 'Analyse financière', 'TM-S3-01', NULL, 4, 30, 20, 0, 1, 1, 1, 3),
(110, 'Fiscalité des Entreprises', 'TM-S3-02', NULL, 4, 30, 20, 0, 1, 1, 1, 3),
(111, 'Marketing', 'TM-S3-03', NULL, 4, 30, 20, 0, 1, 1, 1, 3),
(112, 'Langue étrangère (Anglais)', 'TM-S3-04', NULL, 4, 30, 20, 0, 1, 1, 1, 3),
(113, 'Probabilités et Statistiques Inférentielles', 'TM-S3-05', NULL, 4, 30, 20, 0, 1, 1, 1, 3),
(114, 'Comptabilité analytique', 'TM-S3-06', NULL, 4, 30, 20, 0, 1, 1, 1, 3),
(115, 'Informatique de gestion', 'TM-S3-07', NULL, 4, 30, 20, 0, 1, 1, 1, 3),
(116, 'Management stratégique', 'TM-S4-01', NULL, 4, 30, 20, 0, 1, 1, 1, 4),
(117, 'Contrôle de gestion', 'TM-S4-02', NULL, 4, 30, 20, 0, 1, 1, 1, 4),
(118, 'Gestion de la trésorerie', 'TM-S4-03', NULL, 4, 30, 20, 0, 1, 1, 1, 4),
(119, 'Entreprenariat et business model', 'TM-S4-04', NULL, 4, 30, 20, 0, 1, 1, 1, 4),
(120, 'Stages', 'TM-S4-05', NULL, 4, 30, 20, 0, 1, 1, 1, 4),
(121, 'Projet de fin d\'études', 'TM-S4-06', NULL, 4, 30, 20, 0, 1, 1, 1, 4),
                                                                                                                                                                                                                                (122, 'Mathématique et Statistiques Appliquées', 'DES-S1-01', NULL, 10, 30, 20, 0, 1, 1, 1, 1),
                                                                                                                                                                                                                                (123, 'Chimie', 'DES-S1-02', NULL, 10, 30, 20, 0, 1, 1, 1, 1),
                                                                                                                                                                                                                                (124, 'Electricité et Electronique', 'DES-S1-03', NULL, 10, 30, 20, 0, 1, 1, 1, 1),
                                                                                                                                                                                                                                (125, 'Ecologie Aquatique', 'DES-S1-04', NULL, 10, 30, 20, 0, 1, 1, 1, 1),
                                                                                                                                                                                                                                (126, 'Mécanique des Fluides et Hydraulique', 'DES-S1-05', NULL, 10, 30, 20, 0, 1, 1, 1, 1),
                                                                                                                                                                                                                                (127, 'Compétences Numériques', 'DES-S1-06', NULL, 10, 30, 20, 0, 1, 1, 1, 1),
                                                                                                                                                                                                                                (128, 'Français et Techniques d\'expression et de communication', 'DES-S1-07', NULL, 10, 30, 20, 0, 1, 1, 1, 1),
(129, 'Electrotechnique et Machines Electriques', 'DES-S2-01', NULL, 10, 30, 20, 0, 1, 1, 1, 2),
(130, 'Biotechnologie et Traitement des Eaux', 'DES-S2-02', NULL, 10, 30, 20, 0, 1, 1, 1, 2),
(131, 'Thermodynamique et Machines thermiques', 'DES-S2-03', NULL, 10, 30, 20, 0, 1, 1, 1, 2),
(132, 'Machines Hydrauliques, pompage d\'eau et robinetterie industrielle', 'DES-S2-04', NULL, 10, 30, 20, 0, 1, 1, 1, 2),
                                                                                                                                                                                                                                (133, 'Automatismes Industriels', 'DES-S2-05', NULL, 10, 30, 20, 0, 1, 1, 1, 2),
                                                                                                                                                                                                                                (134, 'Initiation à l\'intelligence artificielle', 'DES-S2-06', NULL, 10, 30, 20, 0, 1, 1, 1, 2),
(135, 'Anglais et Techniques d\'expression et de communication', 'DES-S2-07', NULL, 10, 30, 20, 0, 1, 1, 1, 2),
                                                                                                                                                                                                                                (136, 'Dessalement des eaux saumâtres / de mer et Impact sur l\'environnement', 'DES-S3-01', NULL, 10, 30, 20, 0, 1, 1, 1, 3),
(137, 'Instrumentation et Capteurs', 'DES-S3-02', NULL, 10, 30, 20, 0, 1, 1, 1, 3),
(138, 'RDM, Corrosion et Choix des matériaux', 'DES-S3-03', NULL, 10, 30, 20, 0, 1, 1, 1, 3),
(139, 'Conversion d\'énergie solaire', 'DES-S3-04', NULL, 10, 30, 20, 0, 1, 1, 1, 3),
                                                                                                                                                                                                                                (140, 'Maintenance industrielle', 'DES-S3-05', NULL, 10, 30, 20, 0, 1, 1, 1, 3),
                                                                                                                                                                                                                                (141, 'Dimensionnement des installations de dessalement', 'DES-S3-06', NULL, 10, 30, 20, 0, 1, 1, 1, 3),
                                                                                                                                                                                                                                (142, 'Normes de qualité et Valorisation des eaux', 'DES-S3-07', NULL, 10, 30, 20, 0, 1, 1, 1, 3),
                                                                                                                                                                                                                                (143, 'Caractérisation Physico-chimique et Biologique', 'DES-S4-01', NULL, 10, 30, 20, 0, 1, 1, 1, 4),
                                                                                                                                                                                                                                (144, 'Efficacité énergétique, Digitalisation et Télégestion d\'une usine de dessalement', 'DES-S4-02', NULL, 10, 30, 20, 0, 1, 1, 1, 4),
(145, 'Hygiène des Installations de dessalement et pollution des eaux', 'DES-S4-03', NULL, 10, 30, 20, 0, 1, 1, 1, 4),
(146, 'Gestion, Entrepreneuriat et Management de l\'Entreprise', 'DES-S4-04', NULL, 10, 30, 20, 0, 1, 1, 1, 4),
                                                                                                                                                                                                                                (147, 'STAGES', 'DES-S4-05', NULL, 10, 30, 20, 0, 1, 1, 1, 4),
                                                                                                                                                                                                                                (148, 'PROJET DE FIN D\'ÉTUDES', 'DES-S4-06', NULL, 10, 30, 20, 0, 1, 1, 1, 4),
(149, 'BIOTECHNOLOGIE ET PHYSIOLOGIE VEGETALE', 'BDAPA-S5-M01', '', 8, 30, 20, 0, 1, 1, 1, 5),
(150, 'INTERACTION PLANTES/MICROORGANISMES/SOL', 'BDAPA-S5-M02', '', 8, 30, 20, 0, 1, 1, 1, 5),
(151, 'PRODUCTION VEGETALE', 'BDAPA-S5-M03', '', 8, 30, 20, 0, 1, 1, 1, 5),
(152, 'BIOTECHNOLOGIE, PHYSIOLOGIE ET NUTRITION DES ANIMAUX', 'BDAPA-S5-M04', '', 8, 30, 20, 0, 1, 1, 1, 5),
(153, 'PRODUCTION ANIMALE', 'BDAPA-S5-M05', '', 8, 30, 20, 0, 1, 1, 1, 5),
(154, 'AGRICULTURE DE PRECISION ET DIGITALISATION', 'BDAPA-S5-M06', '', 8, 30, 20, 0, 1, 1, 1, 5),
(155, 'Anglais et Techniques d’Expression et de Communication', 'BDAPA-S5-M07', '', 8, 30, 20, 0, 1, 1, 1, 5),
(156, 'TECHNIQUES D’AMELIORATION DES PRODUCTIONS AGRICOLES', 'BDAPA-S6-M01', '', 8, 30, 20, 0, 1, 1, 1, 6),
(157, 'TRANSFORMATION ET VALORISATION DES PRODUCTIONS AGRICOLES', 'BDAPA-S6-M02', '', 8, 30, 20, 0, 1, 1, 1, 6),
(158, 'BIOINFORMATIQUE', 'BDAPA-S6-M03', '', 8, 30, 20, 0, 1, 1, 1, 6),
(159, 'ENTREPRENEURIAT ET MARKETING DES PRODUITS AGRICOLES', 'BDAPA-S6-M04', '', 8, 30, 20, 0, 1, 1, 1, 6),
(160, 'STAGE PROFESSIONNEL', 'BDAPA-S6-M05', '', 8, 30, 20, 0, 1, 1, 1, 6),
(161, 'ADMINISTRATION DES BASES DE DONNEES', 'ISITW-S5-M01', '', 2, 30, 20, 0, 1, 1, 1, 5),
(162, 'Développement Web Front-End', 'ISITW-S5-M02', '', 2, 30, 20, 0, 1, 1, 1, 5),
(163, 'ADMINISTRATION DES SYSTEMES ET RESEAUX', 'ISITW-S5-M03', '', 2, 30, 20, 0, 1, 1, 1, 5),
(164, 'CONCEPTION ET METHODES AGILES', 'ISITW-S5-M04', '', 2, 30, 20, 0, 1, 1, 1, 5),
(165, 'Programmation Orientée Objet Java Spring', 'ISITW-S5-M05', '', 2, 30, 20, 0, 1, 1, 1, 5),
(166, 'VIRTUALISATION ET CLOUD COMPUTING', 'ISITW-S5-M06', '', 2, 30, 20, 0, 1, 1, 1, 5),
(167, 'langues étrangères', 'ISITW-S5-M07', '', 2, 30, 20, 0, 1, 1, 1, 5),
(168, 'Développement Web BackEnd', 'ISITW-S6-M01', '', 2, 30, 20, 0, 1, 1, 1, 6),
(169, 'SECURITE DES RESEAUX ET DES APPLICATIONS WEB', 'ISITW-S6-M02', '', 2, 30, 20, 0, 1, 1, 1, 6),
(170, 'Programmation d\'applications mobiles', 'ISITW-S6-M03', '', 2, 30, 20, 0, 1, 1, 1, 6),
                                                                                                                                                                                                                                (171, 'ENTREPRENEURIAT ET MANAGEMENT DE PROJET', 'ISITW-S6-M04', '', 2, 30, 20, 0, 1, 1, 1, 6),
                                                                                                                                                                                                                                (172, 'Stage professionnel', 'ISITW-S6-M05', '', 2, 30, 20, 0, 1, 1, 1, 6),
                                                                                                                                                                                                                                (173, 'CONTROLE DE GESTION', 'CCA-S5-M01', '', 5, 30, 20, 0, 1, 1, 1, 5),
                                                                                                                                                                                                                                (174, 'COMPTABILITE APPROFONDIE', 'CCA-S5-M02', '', 5, 30, 20, 0, 1, 1, 1, 5),
                                                                                                                                                                                                                                (175, 'COMPTABILITE INTERNATIONALE (NORMES IAS_IFRS)', 'CCA-S5-M03', '', 5, 30, 20, 0, 1, 1, 1, 5),
                                                                                                                                                                                                                                (176, 'DROIT DES AFFAIRES', 'CCA-S5-M04', '', 5, 30, 20, 0, 1, 1, 1, 5),
                                                                                                                                                                                                                                (177, 'FINANCE DES ENTREPRISES', 'CCA-S5-M05', '', 5, 30, 20, 0, 1, 1, 1, 5),
                                                                                                                                                                                                                                (178, 'COMPTABILITE DES SOCIETES', 'CCA-S5-M06', '', 5, 30, 20, 0, 1, 1, 1, 5),
                                                                                                                                                                                                                                (179, 'ANGLAIS DES AFFAIRES', 'CCA-S5-M07', '', 5, 30, 20, 0, 1, 1, 1, 5),
                                                                                                                                                                                                                                (180, 'AUDIT COMPTABLE ET FINANCIER', 'CCA-S6-M01', '', 5, 30, 20, 0, 1, 1, 1, 6),
                                                                                                                                                                                                                                (181, 'FISCALITE ET OPTIMISATION FISCALE', 'CCA-S6-M02', '', 5, 30, 20, 0, 1, 1, 1, 6),
                                                                                                                                                                                                                                (182, 'ENTREPRENEURIAT ET MANAGEMENT DE PROJET', 'CCA-S6-M03', '', 5, 30, 20, 0, 1, 1, 1, 6),
                                                                                                                                                                                                                                (183, 'COMMUNICATION PROFESSIONNELLE', 'CCA-S6-M04', '', 5, 30, 20, 0, 1, 1, 1, 6),
                                                                                                                                                                                                                                (184, 'Stage professionnel', 'CCA-S6-M05', '', 5, 30, 20, 0, 1, 1, 1, 6),
                                                                                                                                                                                                                                (185, 'GESTION FINANCIÈRE APPROFONDIE', 'GCF-S5-M01', '', 6, 30, 20, 0, 1, 1, 1, 5),
                                                                                                                                                                                                                                (186, 'COMPTABILITÉ DE GESTION ET ANALYSE DES COÛTS', 'GCF-S5-M02', '', 6, 30, 20, 0, 1, 1, 1, 5),
                                                                                                                                                                                                                                (187, 'FISCALITÉ DES ENTREPRISES', 'GCF-S5-M03', '', 6, 30, 20, 0, 1, 1, 1, 5),
                                                                                                                                                                                                                                (188, 'DROIT DES SOCIÉTÉS ET DES AFFAIRES', 'GCF-S5-M04', '', 6, 30, 20, 0, 1, 1, 1, 5),
                                                                                                                                                                                                                                (189, 'MARCHÉS FINANCIERS ET PRODUITS DÉRIVÉS', 'GCF-S5-M05', '', 6, 30, 20, 0, 1, 1, 1, 5),
                                                                                                                                                                                                                                (190, 'OUTILS DE GESTION (TABLEAUX DE BORD ET ERP)', 'GCF-S5-M06', '', 6, 30, 20, 0, 1, 1, 1, 5),
                                                                                                                                                                                                                                (191, 'ANGLAIS FINANCIER', 'GCF-S5-M07', '', 6, 30, 20, 0, 1, 1, 1, 5),
                                                                                                                                                                                                                                (192, 'AUDIT ET CONTRÔLE INTERNE', 'GCF-S6-M01', '', 6, 30, 20, 0, 1, 1, 1, 6),
                                                                                                                                                                                                                                (193, 'DIAGNOSTIC FINANCIER ET ÉVALUATION D\'ENTREPRISE', 'GCF-S6-M02', '', 6, 30, 20, 0, 1, 1, 1, 6),
(194, 'GESTION BUDGÉTAIRE ET PRÉVISIONNELLE', 'GCF-S6-M03', '', 6, 30, 20, 0, 1, 1, 1, 6),
(195, 'MANAGEMENT STRATÉGIQUE ET GOUVERNANCE', 'GCF-S6-M04', '', 6, 30, 20, 0, 1, 1, 1, 6),
(196, 'MANAGEMENT DE PROJET ET ENTREPRENEURIAT', 'GCF-S6-M05', '', 6, 30, 20, 0, 1, 1, 1, 6),
(197, 'COMMUNICATION ET NÉGOCIATION PROFESSIONNELLE', 'GCF-S6-M06', '', 6, 30, 20, 0, 1, 1, 1, 6),
(198, 'Stage professionnel', 'GCF-S6-M07', '', 6, 30, 20, 0, 1, 1, 1, 6),
(199, 'FONDAMENTAUX DU CLOUD ET VIRTUALISATION', 'CSTC-S5-M01', '', 3, 30, 20, 0, 1, 1, 1, 5),
(200, 'ARCHITECTURE DES SYSTÈMES SÉCURISÉS', 'CSTC-S5-M02', '', 3, 30, 20, 0, 1, 1, 1, 5),
(201, 'ADMINISTRATION LINUX ET RÉSEAUX', 'CSTC-S5-M03', '', 3, 30, 20, 0, 1, 1, 1, 5),
(202, 'CRYPTOGRAPHIE ET SÉCURITÉ DES DONNÉES', 'CSTC-S5-M04', '', 3, 30, 20, 0, 1, 1, 1, 5),
(203, 'DÉVELOPPEMENT SÉCURISÉ (DEVSECOPS)', 'CSTC-S5-M05', '', 3, 30, 20, 0, 1, 1, 1, 5),
(204, 'GESTION DES IDENTITÉS ET ACCÈS (IAM)', 'CSTC-S5-M06', '', 3, 30, 20, 0, 1, 1, 1, 5),
(205, 'ANGLAIS TECHNIQUE', 'CSTC-S5-M07', '', 3, 30, 20, 0, 1, 1, 1, 5),
(206, 'SÉCURITÉ DES INFRASTRUCTURES CLOUD (AWS/AZURE/GCP)', 'CSTC-S6-M01', '', 3, 30, 20, 0, 1, 1, 1, 6),
(207, 'TESTS D\'INTRUSION ET AUDIT DE SÉCURITÉ (PENTEST)', 'CSTC-S6-M02', '', 3, 30, 20, 0, 1, 1, 1, 6),
                                                                                                                                                                                                                                (208, 'INVESTIGATION NUMÉRIQUE ET FORENSIC', 'CSTC-S6-M03', '', 3, 30, 20, 0, 1, 1, 1, 6),
                                                                                                                                                                                                                                (209, 'GOUVERNANCE, RISQUE ET CONFORMITÉ (GRC)', 'CSTC-S6-M04', '', 3, 30, 20, 0, 1, 1, 1, 6),
                                                                                                                                                                                                                                (210, 'ORCHESTRATION ET CONTENEURISATION (KUBERNETES/DOCKER)', 'CSTC-S6-M05', '', 3, 30, 20, 0, 1, 1, 1, 6),
                                                                                                                                                                                                                                (211, 'INTELLIGENCE ARTIFICIELLE APPLIQUÉE À LA CYBERSÉCURITÉ', 'CSTC-S6-M06', '', 3, 30, 20, 0, 1, 1, 1, 6),
                                                                                                                                                                                                                                (212, 'Stage professionnel', 'CSTC-S6-M07', '', 3, 30, 20, 0, 1, 1, 1, 6),
                                                                                                                                                                                                                                (213, 'KOKO', 'KOKO', '', 1, 30, 20, 0, 1, 1, 1, 1);

-- --------------------------------------------------------

--
-- Structure de la table `note_semestre`
--

CREATE TABLE `note_semestre` (
                                 `id` bigint(20) NOT NULL,
                                 `departement_id` bigint(20) DEFAULT NULL,
                                 `filiere_id` bigint(20) DEFAULT NULL,
                                 `semestre_id` bigint(20) NOT NULL,
                                 `student_id` bigint(20) NOT NULL,
                                 `note_avant_ratt` decimal(5,2) DEFAULT NULL,
                                 `decision_avant_ratt` varchar(50) DEFAULT NULL,
                                 `note_apres_ratt` decimal(5,2) DEFAULT NULL,
                                 `decision_apres_ratt` varchar(50) DEFAULT NULL,
                                 `annee_universitaire_id` bigint(20) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

--
-- Déchargement des données de la table `note_semestre`
--

INSERT INTO `note_semestre` (`id`, `departement_id`, `filiere_id`, `semestre_id`, `student_id`, `note_avant_ratt`, `decision_avant_ratt`, `note_apres_ratt`, `decision_apres_ratt`, `annee_universitaire_id`) VALUES
                                                                                                                                                                                                                  (1, 1, 1, 1, 8, '13.50', 'VALIDÉ', NULL, NULL, NULL),
                                                                                                                                                                                                                  (2, 1, 1, 1, 9, '10.00', 'RATTRAPAGE', '14.00', 'VALIDÉ', NULL),
                                                                                                                                                                                                                  (3, 1, 1, 1, 10, '9.50', 'RATTRAPAGE', '12.50', 'VALIDÉ', NULL),
                                                                                                                                                                                                                  (4, 1, 1, 1, 11, '15.00', 'VALIDÉ', NULL, NULL, NULL),
                                                                                                                                                                                                                  (5, 1, 1, 1, 12, '7.00', 'RATTRAPAGE', '9.50', 'VALIDÉ', NULL),
                                                                                                                                                                                                                  (6, 1, 1, 1, 13, '8.50', 'AJOURNÉ', NULL, NULL, NULL),
                                                                                                                                                                                                                  (7, 1, 1, 2, 8, '11.50', 'RATTRAPAGE', '13.00', 'VALIDÉ', NULL),
                                                                                                                                                                                                                  (8, 1, 1, 2, 9, '14.50', 'VALIDÉ', NULL, NULL, NULL),
                                                                                                                                                                                                                  (9, 1, 1, 2, 10, '9.00', 'RATTRAPAGE', '12.00', 'VALIDÉ', NULL),
                                                                                                                                                                                                                  (10, 1, 1, 2, 11, '16.00', 'VALIDÉ', NULL, NULL, NULL),
                                                                                                                                                                                                                  (11, 1, 1, 2, 12, '7.50', 'RATTRAPAGE', '10.00', 'VALIDÉ', NULL),
                                                                                                                                                                                                                  (12, 1, 1, 2, 13, '10.50', 'RATTRAPAGE', '12.00', 'VALIDÉ', NULL),
                                                                                                                                                                                                                  (13, NULL, NULL, 1, 8, '13.50', 'VALIDE', NULL, NULL, 1),
                                                                                                                                                                                                                  (14, NULL, NULL, 1, 9, '10.00', 'RATTRAPAGE', '14.00', 'VALIDE', 1);

-- --------------------------------------------------------

--
-- Structure de la table `note_semestre_detail`
--

CREATE TABLE `note_semestre_detail` (
                                        `id` bigint(20) NOT NULL,
                                        `note_semestre_id` bigint(20) NOT NULL,
                                        `module_id` bigint(20) NOT NULL,
                                        `note_avant_ratt_cc` decimal(5,2) DEFAULT NULL,
                                        `note_avant_ratt_cf` decimal(5,2) DEFAULT NULL,
                                        `note_avant_ratt` decimal(5,2) DEFAULT NULL,
                                        `decision_avant_ratt` varchar(50) DEFAULT NULL,
                                        `note_apres_ratt` decimal(5,2) DEFAULT NULL,
                                        `decision_apres_ratt` varchar(50) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

--
-- Déchargement des données de la table `note_semestre_detail`
--

INSERT INTO `note_semestre_detail` (`id`, `note_semestre_id`, `module_id`, `note_avant_ratt_cc`, `note_avant_ratt_cf`, `note_avant_ratt`, `decision_avant_ratt`, `note_apres_ratt`, `decision_apres_ratt`) VALUES
                                                                                                                                                                                                               (1, 1, 1, '14.00', '13.00', '13.50', 'VALIDÉ', NULL, NULL),
                                                                                                                                                                                                               (2, 1, 2, '15.00', '12.00', '13.50', 'VALIDÉ', NULL, NULL),
                                                                                                                                                                                                               (3, 1, 3, '13.00', '14.00', '13.50', 'VALIDÉ', NULL, NULL),
                                                                                                                                                                                                               (4, 2, 1, '9.00', '11.00', '10.00', 'RATTRAPAGE', '14.00', 'VALIDÉ'),
                                                                                                                                                                                                               (5, 2, 2, '10.00', '8.00', '9.00', 'RATTRAPAGE', '13.50', 'VALIDÉ'),
                                                                                                                                                                                                               (6, 2, 4, '12.00', '10.00', '11.00', 'RATTRAPAGE', '14.00', 'VALIDÉ'),
                                                                                                                                                                                                               (7, 3, 1, '10.00', '9.00', '9.50', 'RATTRAPAGE', '12.00', 'VALIDÉ'),
                                                                                                                                                                                                               (8, 3, 3, '9.00', '10.00', '9.50', 'RATTRAPAGE', '13.00', 'VALIDÉ'),
                                                                                                                                                                                                               (9, 3, 4, '10.50', '8.50', '9.50', 'RATTRAPAGE', '12.50', 'VALIDÉ'),
                                                                                                                                                                                                               (10, 4, 1, '16.00', '15.00', '15.50', 'VALIDÉ', NULL, NULL),
                                                                                                                                                                                                               (11, 4, 2, '14.00', '16.00', '15.00', 'VALIDÉ', NULL, NULL),
                                                                                                                                                                                                               (12, 4, 3, '15.00', '15.00', '15.00', 'VALIDÉ', NULL, NULL),
                                                                                                                                                                                                               (13, 4, 4, '13.00', '14.00', '13.50', 'VALIDÉ', NULL, NULL),
                                                                                                                                                                                                               (14, 4, 5, '15.00', '16.00', '15.50', 'VALIDÉ', NULL, NULL),
                                                                                                                                                                                                               (15, 4, 6, '14.00', '14.00', '14.00', 'VALIDÉ', NULL, NULL),
                                                                                                                                                                                                               (16, 5, 1, '6.00', '8.00', '7.00', 'RATTRAPAGE', '9.00', 'VALIDÉ'),
                                                                                                                                                                                                               (17, 5, 4, '7.00', '6.00', '6.50', 'RATTRAPAGE', '9.00', 'VALIDÉ'),
                                                                                                                                                                                                               (18, 5, 7, '8.50', '7.50', '8.00', 'RATTRAPAGE', '10.50', 'VALIDÉ'),
                                                                                                                                                                                                               (19, 6, 2, '7.00', '10.00', '8.50', 'AJOURNÉ', NULL, NULL),
                                                                                                                                                                                                               (20, 6, 5, '8.00', '7.00', '7.50', 'AJOURNÉ', NULL, NULL),
                                                                                                                                                                                                               (21, 6, 6, '9.50', '9.00', '9.25', 'AJOURNÉ', NULL, NULL),
                                                                                                                                                                                                               (22, 6, 7, '8.00', '9.00', '8.50', 'AJOURNÉ', NULL, NULL),
                                                                                                                                                                                                               (23, 7, 8, '12.00', '10.00', '11.00', 'RATTRAPAGE', '13.00', 'VALIDÉ'),
                                                                                                                                                                                                               (24, 7, 9, '13.00', '10.00', '11.50', 'RATTRAPAGE', '13.00', 'VALIDÉ'),
                                                                                                                                                                                                               (25, 7, 10, '11.00', '12.00', '11.50', 'RATTRAPAGE', '13.00', 'VALIDÉ'),
                                                                                                                                                                                                               (26, 8, 8, '15.00', '14.00', '14.50', 'VALIDÉ', NULL, NULL),
                                                                                                                                                                                                               (27, 8, 13, '14.00', '15.00', '14.50', 'VALIDÉ', NULL, NULL),
                                                                                                                                                                                                               (28, 8, 14, '14.00', '15.00', '14.50', 'VALIDÉ', NULL, NULL),
                                                                                                                                                                                                               (29, 9, 9, '8.00', '10.00', '9.00', 'RATTRAPAGE', '12.00', 'VALIDÉ'),
                                                                                                                                                                                                               (30, 9, 10, '9.00', '9.00', '9.00', 'RATTRAPAGE', '11.50', 'VALIDÉ'),
                                                                                                                                                                                                               (31, 9, 12, '9.00', '9.00', '9.00', 'RATTRAPAGE', '12.00', 'VALIDÉ'),
                                                                                                                                                                                                               (32, 9, 14, '9.00', '9.00', '9.00', 'RATTRAPAGE', '12.00', 'VALIDÉ'),
                                                                                                                                                                                                               (33, 10, 8, '17.00', '15.00', '16.00', 'VALIDÉ', NULL, NULL),
                                                                                                                                                                                                               (34, 10, 9, '16.00', '16.00', '16.00', 'VALIDÉ', NULL, NULL),
                                                                                                                                                                                                               (35, 10, 10, '15.00', '17.00', '16.00', 'VALIDÉ', NULL, NULL),
                                                                                                                                                                                                               (36, 10, 11, '16.00', '16.00', '16.00', 'VALIDÉ', NULL, NULL),
                                                                                                                                                                                                               (37, 10, 12, '17.00', '15.00', '16.00', 'VALIDÉ', NULL, NULL),
                                                                                                                                                                                                               (38, 11, 11, '8.00', '7.00', '7.50', 'RATTRAPAGE', '10.00', 'VALIDÉ'),
                                                                                                                                                                                                               (39, 11, 13, '7.00', '8.00', '7.50', 'RATTRAPAGE', '9.50', 'VALIDÉ'),
                                                                                                                                                                                                               (40, 11, 14, '6.50', '8.50', '7.50', 'RATTRAPAGE', '10.50', 'VALIDÉ'),
                                                                                                                                                                                                               (41, 12, 10, '10.00', '11.00', '10.50', 'RATTRAPAGE', '12.00', 'VALIDÉ'),
                                                                                                                                                                                                               (42, 12, 11, '11.00', '10.00', '10.50', 'RATTRAPAGE', '12.00', 'VALIDÉ');

-- --------------------------------------------------------

--
-- Structure de la table `paiement_demande`
--

CREATE TABLE `paiement_demande` (
                                    `id` bigint(20) NOT NULL,
                                    `libelle` varchar(255) NOT NULL,
                                    `description` text DEFAULT NULL,
                                    `date_paiement` date DEFAULT NULL,
                                    `montant` decimal(15,2) NOT NULL DEFAULT 0.00,
                                    `annee_universitaire_id` bigint(20) DEFAULT NULL,
                                    `demande_id` bigint(20) NOT NULL,
                                    `type_paiement_id` bigint(20) NOT NULL,
                                    `etat_paiement_id` bigint(20) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

--
-- Déchargement des données de la table `paiement_demande`
--

INSERT INTO `paiement_demande` (`id`, `libelle`, `description`, `date_paiement`, `montant`, `annee_universitaire_id`, `demande_id`, `type_paiement_id`, `etat_paiement_id`) VALUES
                                                                                                                                                                                (1, 'Paiement fournitures bureau', 'Règlement facture SAFI Office', '2026-03-15', '2000.00', 2, 1, 1, 4),
                                                                                                                                                                                (2, 'Paiement PC', 'Règlement partiel pour PC', '2026-03-30', '9000.00', 2, 2, 1, 4),
                                                                                                                                                                                (3, 'Paiement mobilier', 'Règlement complet', '2026-04-10', '4500.00', 2, 3, 1, 4),
                                                                                                                                                                                (4, 'Paiement entretien', 'Règlement complet', '2026-04-25', '500.00', 2, 5, 2, 4),
                                                                                                                                                                                (7, 'Paiement - dem-2026-1', '', '2026-08-21', '10.00', 3, 10, 1, 1),
                                                                                                                                                                                (8, 'Paiement - dem-2026-1', '', '2026-08-21', '70.00', 3, 10, 1, 1),
                                                                                                                                                                                (9, 'Paiement - dem-2026-1', '', '2026-08-21', '20.00', 3, 10, 2, 1);

-- --------------------------------------------------------

--
-- Structure de la table `presence`
--

CREATE TABLE `presence` (
                            `id` bigint(20) NOT NULL,
                            `affectation_module_id` bigint(20) NOT NULL,
                            `libelle` varchar(255) NOT NULL,
                            `type_seance` varchar(20) DEFAULT 'Cours',
                            `description` text DEFAULT NULL,
                            `date_seance` date DEFAULT NULL,
                            `heure_debut` time DEFAULT '08:00:00',
                            `nb_heures` int(11) DEFAULT 2,
                            `jour_semaine` varchar(20) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

-- --------------------------------------------------------

--
-- Structure de la table `presence_detail`
--

CREATE TABLE `presence_detail` (
                                   `id` bigint(20) NOT NULL,
                                   `presence_id` bigint(20) NOT NULL,
                                   `student_id` bigint(20) NOT NULL,
                                   `present` tinyint(1) NOT NULL DEFAULT 0 COMMENT '1=Présent (P), 0=Absent (A)',
                                   `description` varchar(255) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

--
-- Déchargement des données de la table `presence_detail`
--

INSERT INTO `presence_detail` (`id`, `presence_id`, `student_id`, `present`, `description`) VALUES
                                                                                                (1, 1, 8, 1, NULL),
                                                                                                (2, 1, 9, 0, 'Malade'),
                                                                                                (3, 1, 10, 1, NULL),
                                                                                                (4, 1, 11, 1, NULL),
                                                                                                (5, 1, 12, 0, 'Non justifié'),
                                                                                                (6, 1, 13, 1, NULL),
                                                                                                (7, 1, 14, 0, 'Retard 20min'),
                                                                                                (8, 1, 15, 1, NULL),
                                                                                                (9, 1, 16, 1, NULL),
                                                                                                (10, 1, 17, 1, NULL),
                                                                                                (11, 1, 18, 1, NULL),
                                                                                                (12, 1, 19, 0, 'Convocation'),
                                                                                                (13, 2, 8, 1, NULL),
                                                                                                (14, 2, 9, 1, NULL),
                                                                                                (15, 2, 10, 1, NULL),
                                                                                                (16, 2, 11, 1, NULL),
                                                                                                (17, 2, 12, 1, NULL),
                                                                                                (18, 2, 13, 1, NULL),
                                                                                                (19, 2, 14, 1, NULL),
                                                                                                (20, 2, 15, 1, NULL),
                                                                                                (21, 2, 16, 1, NULL),
                                                                                                (22, 2, 17, 0, 'Retard 5min'),
                                                                                                (23, 3, 8, 1, NULL),
                                                                                                (24, 3, 9, 0, 'Malade'),
                                                                                                (25, 3, 10, 1, NULL),
                                                                                                (26, 3, 11, 0, 'Non justifié'),
                                                                                                (27, 3, 12, 1, NULL),
                                                                                                (28, 3, 13, 0, 'Retard 30min'),
                                                                                                (29, 3, 14, 1, NULL),
                                                                                                (30, 3, 15, 0, 'Non justifié'),
                                                                                                (31, 3, 16, 1, NULL),
                                                                                                (32, 3, 17, 0, 'Convocation'),
                                                                                                (33, 4, 8, 1, NULL),
                                                                                                (34, 4, 9, 1, NULL),
                                                                                                (35, 4, 10, 1, NULL),
                                                                                                (36, 4, 11, 0, 'Non justifié'),
                                                                                                (37, 4, 12, 1, NULL),
                                                                                                (38, 4, 13, 0, 'Retard 15min'),
                                                                                                (39, 4, 14, 1, NULL),
                                                                                                (40, 4, 15, 0, 'Malade'),
                                                                                                (41, 5, 8, 1, NULL),
                                                                                                (42, 5, 13, 1, NULL),
                                                                                                (43, 5, 9, 1, NULL),
                                                                                                (44, 5, 14, 1, NULL),
                                                                                                (45, 5, 18, 1, NULL),
                                                                                                (46, 5, 15, 1, NULL),
                                                                                                (47, 5, 10, 1, NULL),
                                                                                                (48, 5, 17, 1, NULL),
                                                                                                (49, 5, 16, 1, NULL),
                                                                                                (50, 5, 11, 1, NULL),
                                                                                                (51, 5, 19, 1, NULL),
                                                                                                (52, 5, 12, 1, NULL),
                                                                                                (56, 6, 31, 1, NULL),
                                                                                                (57, 6, 32, 1, NULL),
                                                                                                (58, 6, 33, 1, NULL),
                                                                                                (59, 6, 34, 1, NULL),
                                                                                                (60, 6, 35, 1, NULL),
                                                                                                (61, 6, 36, 1, NULL),
                                                                                                (62, 6, 37, 1, NULL),
                                                                                                (63, 6, 38, 1, NULL),
                                                                                                (64, 6, 39, 1, NULL),
                                                                                                (65, 6, 40, 1, NULL),
                                                                                                (71, 7, 20, 1, NULL),
                                                                                                (72, 7, 21, 1, NULL),
                                                                                                (73, 7, 22, 1, NULL),
                                                                                                (74, 7, 23, 1, NULL),
                                                                                                (75, 7, 24, 1, NULL),
                                                                                                (76, 7, 25, 1, NULL),
                                                                                                (77, 7, 26, 1, NULL),
                                                                                                (78, 7, 27, 1, NULL),
                                                                                                (79, 7, 28, 1, NULL),
                                                                                                (80, 7, 29, 1, NULL),
                                                                                                (81, 7, 30, 1, NULL),
                                                                                                (86, 9, 8, 1, NULL),
                                                                                                (87, 9, 9, 1, NULL),
                                                                                                (88, 9, 10, 1, NULL),
                                                                                                (89, 9, 11, 1, NULL),
                                                                                                (90, 9, 12, 1, NULL),
                                                                                                (91, 9, 13, 1, NULL),
                                                                                                (92, 9, 14, 0, NULL),
                                                                                                (93, 9, 15, 0, 'Retard'),
                                                                                                (94, 9, 8, 0, 'Retard'),
                                                                                                (95, 9, 9, 0, NULL),
                                                                                                (96, 9, 10, 1, NULL),
                                                                                                (97, 9, 11, 0, NULL),
                                                                                                (98, 9, 12, 1, NULL),
                                                                                                (99, 9, 13, 1, NULL),
                                                                                                (100, 9, 14, 0, NULL),
                                                                                                (101, 9, 15, 1, 'Retard'),
                                                                                                (102, 9, 16, 1, 'Retard'),
                                                                                                (103, 9, 17, 0, 'Retard'),
                                                                                                (104, 9, 18, 1, NULL),
                                                                                                (105, 9, 19, 0, NULL),
                                                                                                (106, 10, 8, 1, NULL),
                                                                                                (107, 10, 9, 1, NULL),
                                                                                                (108, 10, 10, 1, NULL),
                                                                                                (109, 10, 11, 1, NULL),
                                                                                                (110, 10, 12, 0, NULL),
                                                                                                (111, 10, 13, 0, NULL),
                                                                                                (112, 10, 14, 1, NULL),
                                                                                                (113, 10, 15, 1, NULL),
                                                                                                (114, 10, 8, 0, 'Retard'),
                                                                                                (115, 10, 9, 1, NULL),
                                                                                                (116, 10, 10, 1, NULL),
                                                                                                (117, 10, 11, 0, NULL),
                                                                                                (118, 10, 12, 0, 'Retard'),
                                                                                                (119, 10, 13, 1, NULL),
                                                                                                (120, 10, 14, 1, NULL),
                                                                                                (121, 10, 15, 0, NULL),
                                                                                                (122, 10, 16, 1, NULL),
                                                                                                (123, 10, 17, 1, 'Retard'),
                                                                                                (124, 10, 18, 1, 'Retard'),
                                                                                                (125, 10, 19, 1, 'Retard'),
                                                                                                (126, 11, 31, 1, NULL),
                                                                                                (127, 11, 32, 1, NULL),
                                                                                                (128, 11, 33, 1, 'Retard'),
                                                                                                (129, 11, 34, 0, NULL),
                                                                                                (130, 11, 35, 1, 'Retard'),
                                                                                                (131, 11, 36, 0, NULL),
                                                                                                (132, 11, 37, 1, NULL),
                                                                                                (133, 11, 38, 1, NULL),
                                                                                                (134, 11, 39, 1, NULL),
                                                                                                (135, 11, 40, 1, 'Retard'),
                                                                                                (136, 12, 31, 1, NULL),
                                                                                                (137, 12, 32, 1, 'Retard'),
                                                                                                (138, 12, 33, 1, NULL),
                                                                                                (139, 12, 34, 1, NULL),
                                                                                                (140, 12, 35, 1, NULL),
                                                                                                (141, 12, 36, 1, NULL),
                                                                                                (142, 12, 37, 1, NULL),
                                                                                                (143, 12, 38, 1, NULL),
                                                                                                (144, 12, 39, 1, NULL),
                                                                                                (145, 12, 40, 1, NULL),
                                                                                                (146, 13, 20, 1, 'Retard'),
                                                                                                (147, 13, 21, 0, 'Retard'),
                                                                                                (148, 13, 22, 1, NULL),
                                                                                                (149, 13, 23, 1, NULL),
                                                                                                (150, 13, 24, 1, NULL),
                                                                                                (151, 13, 25, 1, NULL),
                                                                                                (152, 13, 26, 0, 'Retard'),
                                                                                                (153, 13, 27, 1, NULL),
                                                                                                (154, 13, 28, 0, NULL),
                                                                                                (155, 13, 29, 1, NULL),
                                                                                                (156, 13, 30, 0, NULL),
                                                                                                (157, 14, 20, 1, NULL),
                                                                                                (158, 14, 21, 1, 'Retard'),
                                                                                                (159, 14, 22, 1, 'Retard'),
                                                                                                (160, 14, 23, 1, 'Retard'),
                                                                                                (161, 14, 24, 1, NULL),
                                                                                                (162, 14, 25, 0, 'Retard'),
                                                                                                (163, 14, 26, 1, NULL),
                                                                                                (164, 14, 27, 0, 'Retard'),
                                                                                                (165, 14, 28, 1, 'Retard'),
                                                                                                (166, 14, 29, 1, NULL),
                                                                                                (167, 14, 30, 1, 'Retard'),
                                                                                                (213, 23, 10, 0, NULL),
                                                                                                (214, 23, 10, 0, NULL),
                                                                                                (215, 23, 11, 0, NULL),
                                                                                                (216, 23, 11, 0, NULL),
                                                                                                (217, 23, 8, 0, NULL),
                                                                                                (218, 23, 8, 0, NULL),
                                                                                                (219, 23, 15, 0, NULL),
                                                                                                (220, 23, 15, 0, NULL),
                                                                                                (221, 23, 13, 0, NULL),
                                                                                                (222, 23, 13, 0, NULL),
                                                                                                (223, 23, 12, 0, NULL),
                                                                                                (224, 23, 12, 0, NULL),
                                                                                                (225, 23, 14, 0, NULL),
                                                                                                (226, 23, 14, 0, NULL),
                                                                                                (227, 23, 9, 0, NULL),
                                                                                                (228, 23, 9, 0, NULL),
                                                                                                (229, 9, 57, 1, ''),
                                                                                                (230, 9, 39, 1, ''),
                                                                                                (231, 9, 51, 1, ''),
                                                                                                (232, 9, 40, 1, ''),
                                                                                                (233, 9, 44, 1, ''),
                                                                                                (234, 9, 10, 1, ''),
                                                                                                (235, 9, 68, 1, ''),
                                                                                                (236, 9, 21, 1, ''),
                                                                                                (237, 9, 19, 1, ''),
                                                                                                (238, 9, 23, 1, ''),
                                                                                                (239, 9, 11, 1, ''),
                                                                                                (240, 9, 45, 1, ''),
                                                                                                (241, 9, 55, 1, ''),
                                                                                                (242, 9, 8, 1, ''),
                                                                                                (243, 9, 43, 1, ''),
                                                                                                (244, 9, 48, 1, ''),
                                                                                                (245, 9, 27, 1, ''),
                                                                                                (246, 9, 41, 1, ''),
                                                                                                (247, 9, 18, 1, ''),
                                                                                                (248, 9, 34, 1, ''),
                                                                                                (249, 9, 28, 1, ''),
                                                                                                (250, 9, 15, 1, ''),
                                                                                                (251, 9, 36, 1, ''),
                                                                                                (252, 9, 22, 1, ''),
                                                                                                (253, 9, 32, 1, ''),
                                                                                                (254, 9, 49, 1, ''),
                                                                                                (255, 9, 38, 1, ''),
                                                                                                (256, 9, 35, 1, ''),
                                                                                                (257, 9, 56, 1, ''),
                                                                                                (258, 9, 52, 1, ''),
                                                                                                (259, 9, 50, 1, ''),
                                                                                                (260, 9, 33, 1, ''),
                                                                                                (261, 9, 17, 1, ''),
                                                                                                (262, 9, 29, 1, ''),
                                                                                                (263, 9, 54, 1, ''),
                                                                                                (264, 9, 30, 1, ''),
                                                                                                (265, 9, 37, 1, ''),
                                                                                                (266, 9, 53, 1, ''),
                                                                                                (267, 9, 67, 1, ''),
                                                                                                (268, 9, 42, 1, ''),
                                                                                                (269, 9, 26, 1, ''),
                                                                                                (270, 9, 20, 1, ''),
                                                                                                (271, 9, 58, 1, ''),
                                                                                                (272, 9, 13, 1, ''),
                                                                                                (273, 9, 47, 1, ''),
                                                                                                (274, 9, 66, 1, ''),
                                                                                                (275, 9, 60, 1, ''),
                                                                                                (276, 9, 46, 1, ''),
                                                                                                (277, 9, 12, 1, ''),
                                                                                                (278, 9, 65, 1, ''),
                                                                                                (279, 9, 25, 1, ''),
                                                                                                (280, 9, 14, 1, ''),
                                                                                                (281, 9, 31, 1, ''),
                                                                                                (282, 9, 24, 1, ''),
                                                                                                (283, 9, 16, 1, ''),
                                                                                                (284, 9, 59, 1, ''),
                                                                                                (285, 9, 62, 1, ''),
                                                                                                (286, 9, 9, 1, ''),
                                                                                                (287, 9, 61, 1, ''),
                                                                                                (288, 9, 64, 1, ''),
                                                                                                (289, 9, 63, 1, ''),
                                                                                                (290, 10, 0, 1, NULL),
                                                                                                (291, 10, 0, 1, NULL),
                                                                                                (292, 10, 0, 1, NULL),
                                                                                                (293, 10, 0, 1, NULL),
                                                                                                (294, 10, 0, 1, NULL),
                                                                                                (295, 10, 0, 1, NULL),
                                                                                                (296, 10, 0, 1, NULL),
                                                                                                (297, 10, 0, 1, NULL),
                                                                                                (298, 11, 0, 1, NULL),
                                                                                                (299, 11, 0, 1, NULL),
                                                                                                (300, 11, 0, 1, NULL),
                                                                                                (301, 11, 0, 1, NULL),
                                                                                                (302, 11, 0, 1, NULL),
                                                                                                (303, 11, 0, 1, NULL),
                                                                                                (304, 11, 0, 1, NULL),
                                                                                                (305, 11, 0, 1, NULL);

-- --------------------------------------------------------

--
-- Structure de la table `produit`
--

CREATE TABLE `produit` (
                           `id` bigint(20) NOT NULL,
                           `libelle` varchar(255) NOT NULL,
                           `code` varchar(50) NOT NULL,
                           `style` varchar(50) DEFAULT NULL,
                           `description` text DEFAULT NULL,
                           `categorie_produit_id` bigint(20) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

--
-- Déchargement des données de la table `produit`
--

INSERT INTO `produit` (`id`, `libelle`, `code`, `style`, `description`, `categorie_produit_id`) VALUES
                                                                                                    (1, 'Papier A4 80g', 'PAP-A4', 'white', 'Ramette de 500 feuilles', 1),
                                                                                                    (2, 'Cartouche d\'encre HP LaserJet', 'ENC-HP', 'black', 'Cartouche noire', 1),
(3, 'Ordinateur portable Dell Latitude', 'PC-DELL', 'blue', 'Intel i5, 16Go RAM, 512Go SSD', 2),
(4, 'Serveur HP ProLiant', 'SRV-HP', 'red', '2 x Xeon, 64Go RAM, 2To RAID', 2),
(5, 'Bureau métallique 160x80', 'BUR-MET', 'gray', 'Bureau de direction', 3),
(6, 'Chaises de bureau', 'CHA-BUR', 'brown', 'Lot de 6 chaises', 3),
(7, 'Éthanol 95%', 'ETH-95', 'warning', 'Flacon 1L', 4),
(8, 'Gants latex', 'GANT-LAT', 'primary', 'Boîte de 100', 4),
(9, 'Détergent multi-surface', 'DET-MULTI', 'success', 'Flacon 5L', 5),
(10, 'Ampoule LED', 'AMP-LED', 'info', 'Lot de 10', 5),
(19, 'Bureaux métalliques', 'EB-6a8851a68bd94', NULL, 'Bureaux 160x80', 3),
(20, 'Chaises', 'EB-6a8851a68d008', NULL, 'Lot de 6 chaises', 3),
(21, 'Labo Geo', 'EB-6a8851a68f377', NULL, 'LAB 11', 4),
(22, 'Marqueure', 'EB-6a8851a691618', NULL, 'IMPRI 001', 1);

-- --------------------------------------------------------

--
-- Structure de la table `professeur`
--

CREATE TABLE `professeur` (
  `id` bigint(20) NOT NULL,
  `code` varchar(255) NOT NULL,
  `nom` varchar(255) NOT NULL,
  `prenom` varchar(255) NOT NULL,
  `cin` varchar(255) NOT NULL,
  `email` varchar(255) NOT NULL,
  `login` varchar(255) NOT NULL,
  `password` varchar(255) NOT NULL,
  `specialite` varchar(255) NOT NULL,
  `status` varchar(255) NOT NULL,
  `phone` varchar(255) NOT NULL,
  `grade_id` bigint(20) DEFAULT NULL,
  `echellon_id` bigint(20) DEFAULT NULL,
  `blocked` int(11) NOT NULL,
  `cnx_fail_number` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

--
-- Déchargement des données de la table `professeur`
--

INSERT INTO `professeur` (`id`, `code`, `nom`, `prenom`, `cin`, `email`, `login`, `password`, `specialite`, `status`, `phone`, `grade_id`, `echellon_id`, `blocked`, `cnx_fail_number`) VALUES
(1, 'Zouani Younes', 'ZOUANI', '0', 'EE307739', 'zouani.younes@gmail.com', 'zouani.younes@gmail.com', '$2y$10$hZohXOKKoc9osZB7UwRIw.TErOKeAoaS43NNoGNUobJhkFE6yqWPi', 'Info', 'active', '0625495187', 1, 5, 0, 0),
(2, 'Baddi Youssef', '', '0', '0', '0', '0', '$2y$10$hZohXOKKoc9osZB7UwRIw.TErOKeAoaS43NNoGNUobJhkFE6yqWPi', '', '', '', 1, 8, 0, 0),
(3, 'Toumi Hicham', '', '0', '0', '0', '0', '$2y$10$hZohXOKKoc9osZB7UwRIw.TErOKeAoaS43NNoGNUobJhkFE6yqWPi', '', '', '', 1, 10, 0, 0),
(4, 'SaidiAbdelali', 'Saidi', 'Ensa', 'EE12', 'saidi@uca.ma', 'saidi', '$2y$10$hZohXOKKoc9osZB7UwRIw.TErOKeAoaS43NNoGNUobJhkFE6yqWPi', 'Info', 'active', '0625495187', 1, 12, 0, 0);

-- --------------------------------------------------------

--
-- Structure de la table `reception`
--

CREATE TABLE `reception` (
  `id` bigint(20) NOT NULL,
  `libelle` varchar(255) NOT NULL,
  `description` text DEFAULT NULL,
  `demande_id` bigint(20) NOT NULL,
  `date_reception` date DEFAULT NULL,
  `annee_universitaire_id` bigint(20) DEFAULT NULL,
  `etat_reception_id` bigint(20) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

--
-- Déchargement des données de la table `reception`
--

INSERT INTO `reception` (`id`, `libelle`, `description`, `demande_id`, `date_reception`, `annee_universitaire_id`, `etat_reception_id`) VALUES
(1, 'Réception Papier', 'Réception de 15 ramettes', 1, '2026-03-12', 2, 2),
(2, 'Réception Cartouches', 'Réception de 10 cartouches', 1, '2026-03-12', 2, 3),
(3, 'Réception PC', 'Réception de 4 PC', 2, '2026-03-25', 2, 3),
(4, 'Réception Serveur', 'Réception du serveur', 2, '2026-03-25', 2, 3),
(5, 'Réception Mobilier', 'Réception complète', 3, '2026-04-05', 2, 3),
(9, 'Réception - dem-2026-1', '', 10, '2026-08-20', 3, 1),
(10, 'Réception - dem-2026-1', '', 10, '2026-08-20', 3, 3);

-- --------------------------------------------------------

--
-- Structure de la table `reception_detail`
--

CREATE TABLE `reception_detail` (
  `id` bigint(20) NOT NULL,
  `magasin_id` bigint(20) NOT NULL,
  `categorie_produit_id` bigint(20) NOT NULL,
  `produit_id` bigint(20) NOT NULL,
  `quantite` int(11) NOT NULL DEFAULT 0,
  `description` text DEFAULT NULL,
  `reception_id` bigint(20) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

--
-- Déchargement des données de la table `reception_detail`
--

INSERT INTO `reception_detail` (`id`, `magasin_id`, `categorie_produit_id`, `produit_id`, `quantite`, `description`, `reception_id`) VALUES
(1, 1, 1, 1, 15, 'Papier reçu', 1),
(2, 1, 1, 2, 10, 'Cartouches reçues', 2),
(3, 2, 2, 3, 4, 'PC reçus', 3),
(4, 2, 2, 4, 1, 'Serveur reçu', 4),
(5, 1, 3, 5, 3, 'Bureaux', 5),
(6, 1, 3, 6, 2, 'Chaises', 5),
(14, 2, 4, 7, 16, '', 9),
(15, 2, 4, 8, 20, '', 9),
(16, 2, 2, 3, 80, '', 9),
(17, 1, 4, 7, 3, '', 10),
(18, 1, 4, 8, 2, '', 10),
(19, 1, 2, 3, 9, '', 10);

-- --------------------------------------------------------

--
-- Structure de la table `reclamation_note`
--

CREATE TABLE `reclamation_note` (
  `id` bigint(20) NOT NULL,
  `note_semestre_detail_id` bigint(20) NOT NULL,
  `student_id` bigint(20) NOT NULL,
  `type` varchar(50) NOT NULL,
  `message` text NOT NULL,
  `statut` varchar(20) NOT NULL DEFAULT 'en_attente',
  `reponse_admin` text DEFAULT NULL,
  `date_reclamation` datetime NOT NULL DEFAULT current_timestamp(),
  `date_traitement` datetime DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

-- --------------------------------------------------------

--
-- Structure de la table `resultat_concours`
--

CREATE TABLE `resultat_concours` (
  `id` int(11) NOT NULL,
  `libelle` varchar(150) NOT NULL,
  `code` varchar(50) NOT NULL,
  `description` text DEFAULT NULL,
  `order_preparation_ecrit` int(11) DEFAULT 0,
  `badge_preparation_ecrit` int(11) DEFAULT 0,
  `order_preparation_orale` int(11) DEFAULT 0,
  `badge_preparation_orale` int(11) DEFAULT 0,
  `order_resultat_finale` int(11) DEFAULT 0,
  `badge_resultat_finale` int(11) DEFAULT 0
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

--
-- Déchargement des données de la table `resultat_concours`
--

INSERT INTO `resultat_concours` (`id`, `libelle`, `code`, `description`, `order_preparation_ecrit`, `badge_preparation_ecrit`, `order_preparation_orale`, `badge_preparation_orale`, `order_resultat_finale`, `badge_resultat_finale`) VALUES
(1, 'EN COURS', 'EN_COURS', 'Statut en cours de traitement', 1, 0, 0, 0, 0, 0),
(2, 'ELLIBGIBLE ECRIT', 'ELLIBGIBLE_ECRIT', 'Eligible pour l\'épreuve écrite', 2, 0, 1, 0, 0, 0),
                                                                                                    (3, 'NON ELLIBGIBLE ECRIT', 'NON_ELLIBGIBLE_ECRIT', 'Non éligible pour l\'épreuve écrite', 3, 0, 0, 0, 0, 0),
(4, 'ELIGIBLE ORALE', 'ELIGIBLE_ORALE', 'Eligible pour l\'épreuve orale', 0, 0, 2, 0, 1, 0),
                                                                                                    (5, 'NON ELIGIBLE ORALE', 'NON_ELIGIBLE_ORALE', 'Non éligible pour l\'épreuve orale', 0, 0, 3, 0, 0, 0),
(6, 'ADMIS ORALE', 'ADMIS_ORALE', 'Admis à l\'épreuve orale', 0, 0, 4, 0, 2, 0),
                                                                                                    (7, 'NON ADMIS ORALE', 'NON_ADMIS_ORALE', 'Non admis à l\'épreuve orale', 0, 0, 5, 0, 3, 0);

-- --------------------------------------------------------

--
-- Structure de la table `semestre`
--

CREATE TABLE `semestre` (
  `id` bigint(20) NOT NULL,
  `libelle` varchar(255) NOT NULL,
  `code` varchar(50) NOT NULL,
  `description` text DEFAULT NULL,
  `annee_universitaire_id` bigint(20) DEFAULT NULL,
  `date_debut` date NOT NULL,
  `date_fin` date NOT NULL,
  `date_creation` date NOT NULL,
  `date_modification` date NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

--
-- Déchargement des données de la table `semestre`
--

INSERT INTO `semestre` (`id`, `libelle`, `code`, `description`, `annee_universitaire_id`, `date_debut`, `date_fin`, `date_creation`, `date_modification`) VALUES
(1, 'Semestre 1', 'S1', 'Premier semestre de la première année', NULL, '0000-00-00', '0000-00-00', '0000-00-00', '0000-00-00'),
(2, 'Semestre 2', 'S2', 'Deuxième semestre de la première année', NULL, '0000-00-00', '0000-00-00', '0000-00-00', '0000-00-00'),
(3, 'Semestre 3', 'S3', 'Premier semestre de la deuxième année', NULL, '0000-00-00', '0000-00-00', '0000-00-00', '0000-00-00'),
(4, 'Semestre 4', 'S4', 'Deuxième semestre de la deuxième année', NULL, '0000-00-00', '0000-00-00', '0000-00-00', '0000-00-00'),
(5, ',Semestre 5', 'S5', 'Premier semestre de la troisième année', NULL, '0000-00-00', '0000-00-00', '0000-00-00', '0000-00-00'),
(6, 'Semestre 6', 'S6', 'Deuxième semestre de la troisième année', NULL, '0000-00-00', '0000-00-00', '0000-00-00', '0000-00-00');

-- --------------------------------------------------------

--
-- Structure de la table `sg`
--

CREATE TABLE `sg` (
  `id` bigint(20) NOT NULL,
  `code` varchar(255) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

-- --------------------------------------------------------

--
-- Structure de la table `stock`
--

CREATE TABLE `stock` (
  `id` bigint(20) NOT NULL,
  `produit_id` bigint(20) NOT NULL,
  `magasin_id` bigint(20) NOT NULL,
  `quantite` int(11) NOT NULL DEFAULT 0,
  `seuil_alert` int(11) NOT NULL DEFAULT 0
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

--
-- Déchargement des données de la table `stock`
--

INSERT INTO `stock` (`id`, `produit_id`, `magasin_id`, `quantite`, `seuil_alert`) VALUES
(1, 1, 1, 50, 10),
(2, 2, 1, 15, 5),
(3, 3, 2, 8, 2),
(4, 4, 2, 2, 1),
(5, 5, 1, 5, 1),
(6, 6, 1, 20, 4),
(7, 7, 3, 30, 5),
(8, 8, 3, 100, 20),
(9, 9, 1, 10, 3),
(10, 10, 1, 25, 5);

-- --------------------------------------------------------

--
-- Structure de la table `student`
--

CREATE TABLE `student` (
  `id` bigint(20) NOT NULL,
  `email` varchar(255) NOT NULL,
  `password` varchar(255) DEFAULT NULL,
  `nom` varchar(50) DEFAULT NULL,
  `cin` varchar(50) DEFAULT NULL,
  `phone` varchar(50) DEFAULT NULL,
  `prenom` varchar(255) NOT NULL,
  `blocked` int(11) NOT NULL,
  `cnx_fail_number` int(11) NOT NULL,
  `cine` varchar(255) NOT NULL,
  `filiere_id` bigint(20) DEFAULT NULL,
  `annee_universitaire_debut_id` bigint(20) DEFAULT NULL,
  `annee_universitaire_fin_id` bigint(20) DEFAULT NULL,
  `semestre_id` bigint(20) DEFAULT NULL,
  `etat_student_id` bigint(20) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

--
-- Déchargement des données de la table `student`
--

INSERT INTO `student` (`id`, `email`, `password`, `nom`, `cin`, `phone`, `prenom`, `blocked`, `cnx_fail_number`, `cine`, `filiere_id`, `annee_universitaire_debut_id`, `annee_universitaire_fin_id`, `semestre_id`, `etat_student_id`) VALUES
(8, 'ahmed.benjelloun@example.com', '$2y$10$hZohXOKKoc9osZB7UwRIw.TErOKeAoaS43NNoGNUobJhkFE6yqWPi', 'BENJELLOUN', 'AB123456', '0612345678', 'Ahmed', 0, 0, '123456789', 9, 3, NULL, 1, 1),
(9, 'fatima.zahra@example.com', '$2y$10$hZohXOKKoc9osZB7UwRIw.TErOKeAoaS43NNoGNUobJhkFE6yqWPi', 'ZAHRA', 'FZ234567', '0623456789', 'Fatima', 0, 0, '234567890', 9, 3, NULL, 1, 1),
(10, 'mohamed.alami@example.com', '$2y$10$hZohXOKKoc9osZB7UwRIw.TErOKeAoaS43NNoGNUobJhkFE6yqWPi', 'ALAMI', 'MA345678', '0634567890', 'Mohamed', 0, 0, '345678901', 9, 3, NULL, 1, 1),
(11, 'sanae.benali@example.com', '$2y$10$JhPga8ksv3v2KDFGRDrtbud7gWKZ3GisbrWicuaSdoKvy5wh2Mwze', 'BENALI', 'SB456789', '0645678901', 'Sanae', 0, 0, '456789012', 9, 3, NULL, 1, 1),
(12, 'youssef.mansouri@example.com', '$2y$10$hZohXOKKoc9osZB7UwRIw.TErOKeAoaS43NNoGNUobJhkFE6yqWPi', 'MANSOURI', 'YM567890', '0656789012', 'Youssef', 0, 0, '567890123', 9, 3, NULL, 1, 1),
(13, 'amina.karimi@example.com', '$2y$10$hZohXOKKoc9osZB7UwRIw.TErOKeAoaS43NNoGNUobJhkFE6yqWPi', 'KARIMI', 'AK678901', '0667890123', 'Amina', 0, 0, '678901234', 9, 3, NULL, 1, 1),
(14, 'hassan.ouali@example.com', '$2y$10$hZohXOKKoc9osZB7UwRIw.TErOKeAoaS43NNoGNUobJhkFE6yqWPi', 'OUALI', 'HO789012', '0678901234', 'Hassan', 0, 0, '789012345', 9, 3, NULL, 1, 1),
(15, 'khadija.bousaid@example.com', '$2y$10$hZohXOKKoc9osZB7UwRIw.TErOKeAoaS43NNoGNUobJhkFE6yqWPi', 'BOUSAID', 'KB890123', '0689012345', 'Khadija', 0, 0, '890123456', 9, 3, NULL, 1, 1),
(16, 'rachid.tazi@example.com', '$2y$10$hZohXOKKoc9osZB7UwRIw.TErOKeAoaS43NNoGNUobJhkFE6yqWPi', 'TAZI', 'RT901234', '0690123456', 'Rachid', 0, 0, '901234567', 9, 3, NULL, 1, 1),
(17, 'nadia.elmekki@example.com', '$2y$10$hZohXOKKoc9osZB7UwRIw.TErOKeAoaS43NNoGNUobJhkFE6yqWPi', 'ELMEKKI', 'NE012345', '0701234567', 'Nadia', 0, 0, '012345678', 9, 3, NULL, 1, 1),
(18, 'karim.berrada@gmail.com', '$2y$10$hZohXOKKoc9osZB7UwRIw.TErOKeAoaS43NNoGNUobJhkFE6yqWPi', 'Berrada', 'KB123456', '0612345679', 'Karim', 0, 0, '', 1, 3, NULL, 1, NULL),
(19, 'sara.azzouz@hotmail.com', '$2y$10$hZohXOKKoc9osZB7UwRIw.TErOKeAoaS43NNoGNUobJhkFE6yqWPi', 'Azzouz', 'SA234567', '0623456780', 'Sara', 0, 0, '', 1, 3, NULL, 1, NULL),
(20, 'soufiane.iraqui@gmail.com', '$2y$10$hZohXOKKoc9osZB7UwRIw.TErOKeAoaS43NNoGNUobJhkFE6yqWPi', 'Iraqui', 'SI345678', '0634567891', 'Soufiane', 0, 0, '', 1, 3, NULL, 1, NULL),
(21, 'latifa.aziz@yahoo.com', '$2y$10$hZohXOKKoc9osZB7UwRIw.TErOKeAoaS43NNoGNUobJhkFE6yqWPi', 'Aziz', 'LA456789', '0645678902', 'Latifa', 0, 0, '', 1, 3, NULL, 1, NULL),
(22, 'ismail.chakir@gmail.com', '$2y$10$hZohXOKKoc9osZB7UwRIw.TErOKeAoaS43NNoGNUobJhkFE6yqWPi', 'Chakir', 'IC567890', '0656789013', 'Ismail', 0, 0, '', 1, 3, NULL, 1, NULL),
(23, 'meriem.bahri@hotmail.com', '$2y$10$hZohXOKKoc9osZB7UwRIw.TErOKeAoaS43NNoGNUobJhkFE6yqWPi', 'Bahri', 'MB678901', '0667890124', 'Meriem', 0, 0, '', 1, 3, NULL, 1, NULL),
(24, 'taoufik.said@gmail.com', '$2y$10$hZohXOKKoc9osZB7UwRIw.TErOKeAoaS43NNoGNUobJhkFE6yqWPi', 'Said', 'TS789012', '0678901235', 'Taoufik', 0, 0, '', 1, 3, NULL, 1, NULL),
(25, 'hajar.meziane@yahoo.com', '$2y$10$hZohXOKKoc9osZB7UwRIw.TErOKeAoaS43NNoGNUobJhkFE6yqWPi', 'Meziane', 'HM890123', '0689012346', 'Hajar', 0, 0, '', 1, 3, NULL, 1, NULL),
(26, 'samir.hatimi@gmail.com', '$2y$10$hZohXOKKoc9osZB7UwRIw.TErOKeAoaS43NNoGNUobJhkFE6yqWPi', 'Hatimi', 'SH901234', '0690123457', 'Samir', 0, 0, '', 1, 3, NULL, 1, NULL),
(27, 'chaima.benomar@hotmail.com', '$2y$10$hZohXOKKoc9osZB7UwRIw.TErOKeAoaS43NNoGNUobJhkFE6yqWPi', 'Benomar', 'CB012345', '0701234568', 'Chaima', 0, 0, '', 1, 3, NULL, 1, NULL),
(28, 'yassin.bouazza@gmail.com', '$2y$10$hZohXOKKoc9osZB7UwRIw.TErOKeAoaS43NNoGNUobJhkFE6yqWPi', 'Bouazza', 'YB123456', '0612345680', 'Yassin', 0, 0, '', 1, 3, NULL, 1, NULL),
(29, 'salma.elouafi@yahoo.com', '$2y$10$hZohXOKKoc9osZB7UwRIw.TErOKeAoaS43NNoGNUobJhkFE6yqWPi', 'Elouafi', 'SE234567', '0623456781', 'Salma', 0, 0, '', 1, 3, NULL, 1, NULL),
(30, 'mehdi.fathi@gmail.com', '$2y$10$hZohXOKKoc9osZB7UwRIw.TErOKeAoaS43NNoGNUobJhkFE6yqWPi', 'Fathi', 'MF345678', '0634567892', 'Mehdi', 0, 0, '', 1, 3, NULL, 1, NULL),
(31, 'ghita.radi@hotmail.com', '$2y$10$hZohXOKKoc9osZB7UwRIw.TErOKeAoaS43NNoGNUobJhkFE6yqWPi', 'Radi', 'GR456789', '0645678903', 'Ghita', 0, 0, '', 1, 3, NULL, 1, NULL),
(32, 'hamza.chaoui@gmail.com', '$2y$10$hZohXOKKoc9osZB7UwRIw.TErOKeAoaS43NNoGNUobJhkFE6yqWPi', 'Chaoui', 'HC567890', '0656789014', 'Hamza', 0, 0, '', 1, 3, NULL, 1, NULL),
(33, 'nour.elahd@yahoo.com', '$2y$10$hZohXOKKoc9osZB7UwRIw.TErOKeAoaS43NNoGNUobJhkFE6yqWPi', 'Elahd', 'NE678901', '0667890125', 'Nour', 0, 0, '', 1, 3, NULL, 1, NULL),
(34, 'anas.berrichi@gmail.com', '$2y$10$hZohXOKKoc9osZB7UwRIw.TErOKeAoaS43NNoGNUobJhkFE6yqWPi', 'Berrichi', 'AB789012', '0678901236', 'Anas', 0, 0, '', 1, 3, NULL, 1, NULL),
(35, 'ilyas.derraz@hotmail.com', '$2y$10$hZohXOKKoc9osZB7UwRIw.TErOKeAoaS43NNoGNUobJhkFE6yqWPi', 'Derraz', 'ID890123', '0689012347', 'Ilyas', 0, 0, '', 1, 3, NULL, 1, NULL),
(36, 'malika.boutayeb@gmail.com', '$2y$10$hZohXOKKoc9osZB7UwRIw.TErOKeAoaS43NNoGNUobJhkFE6yqWPi', 'Boutayeb', 'MB901234', '0690123458', 'Malika', 0, 0, '', 1, 3, NULL, 1, NULL),
(37, 'zakaria.gherbi@yahoo.com', '$2y$10$hZohXOKKoc9osZB7UwRIw.TErOKeAoaS43NNoGNUobJhkFE6yqWPi', 'Gherbi', 'ZG012345', '0701234569', 'Zakaria', 0, 0, '', 1, 3, NULL, 1, NULL),
(38, 'imane.chemlal@gmail.com', '$2y$10$hZohXOKKoc9osZB7UwRIw.TErOKeAoaS43NNoGNUobJhkFE6yqWPi', 'Chemlal', 'IC123456', '0612345681', 'Imane', 0, 0, '', 1, 3, NULL, 1, NULL),
(39, 'badr.abdellaoui@hotmail.com', '$2y$10$hZohXOKKoc9osZB7UwRIw.TErOKeAoaS43NNoGNUobJhkFE6yqWPi', 'Abdellaoui', 'BA234567', '0623456782', 'Badr', 0, 0, '', 4, 3, NULL, 1, NULL),
(40, 'siham.aitali@gmail.com', '$2y$10$hZohXOKKoc9osZB7UwRIw.TErOKeAoaS43NNoGNUobJhkFE6yqWPi', 'Ait-Ali', 'SA345678', '0634567893', 'Siham', 0, 0, '', 4, 3, NULL, 1, NULL),
(41, 'amin.berkani@yahoo.com', '$2y$10$hZohXOKKoc9osZB7UwRIw.TErOKeAoaS43NNoGNUobJhkFE6yqWPi', 'Berkani', 'AB456789', '0645678904', 'Amin', 0, 0, '', 4, 3, NULL, 1, NULL),
(42, 'mouna.hassani@gmail.com', '$2y$10$hZohXOKKoc9osZB7UwRIw.TErOKeAoaS43NNoGNUobJhkFE6yqWPi', 'Hassani', 'MH567890', '0656789015', 'Mouna', 0, 0, '', 4, 3, NULL, 1, NULL),
(43, 'mohamed.benjelloun@outlook.com', '$2y$10$hZohXOKKoc9osZB7UwRIw.TErOKeAoaS43NNoGNUobJhkFE6yqWPi', 'Benjelloun', 'MB678912', '0667890126', 'Mohamed', 0, 0, '', 4, 3, NULL, 1, NULL),
(44, 'fatima.alami@outlook.com', '$2y$10$hZohXOKKoc9osZB7UwRIw.TErOKeAoaS43NNoGNUobJhkFE6yqWPi', 'Alami', 'FA678913', '0678901237', 'Fatima', 0, 0, '', 4, 3, NULL, 1, NULL),
(45, 'youssef.benali@outlook.com', '$2y$10$hZohXOKKoc9osZB7UwRIw.TErOKeAoaS43NNoGNUobJhkFE6yqWPi', 'Benali', 'YB678914', '0689012348', 'Youssef', 0, 0, '', 4, 3, NULL, 1, NULL),
(46, 'sanae.mansouri@outlook.com', '$2y$10$hZohXOKKoc9osZB7UwRIw.TErOKeAoaS43NNoGNUobJhkFE6yqWPi', 'Mansouri', 'SM678915', '0690123459', 'Sanae', 0, 0, '', 4, 3, NULL, 1, NULL),
(47, 'hassan.karimi@outlook.com', '$2y$10$hZohXOKKoc9osZB7UwRIw.TErOKeAoaS43NNoGNUobJhkFE6yqWPi', 'Karimi', 'HK678916', '0701234570', 'Hassan', 0, 0, '', 4, 3, NULL, 1, NULL),
(48, 'oussamabenjellounn@gmail.com', '$2y$10$cA02sVjU/UQZMN/gIqZB3OBpJ3yB5mvo/SROMK33zoKJjJvodPMBK', 'Benjelloun', 'XA150779', NULL, 'Oussama', 0, 0, '', 4, 3, NULL, 1, NULL),
(49, 'hanane.chatbitazi@usmba.ac.ma', '$2y$10$V5lUw6pLeTOQoKOa5J5Tm.Yk1BzD5q2xiJ4NQewQJxBGqe1S90cg6', 'Chatbi-Tazi', 'CD789539', NULL, 'Hanane', 0, 0, '', 4, 3, NULL, 1, NULL),
(50, 'meryemelmarti273@gmail.com', '$2y$10$75cGkFB.pJW0H51unwLzd.NxPXe/S9CDaTrPMa2B5QOyqaGH/vLEu', 'El Marti', 'D678868', NULL, 'Meryem', 0, 0, '', 4, 3, NULL, 1, NULL),
(51, 'fadouaahachmi0220@gmail.com', '$2y$10$NfsEky7k3N.2WOZVrEsWWe/j66j5mzt6fvrRiGn35hh3OwalntR8W', 'AHACHMI', 'EE889884', NULL, 'FADOUA', 0, 0, '', 4, 3, NULL, 1, NULL),
(52, 'maro.elarbaoui@gmail.com', '$2y$10$A4p7CqsumFXQ.j.7xwXARe2OkU5ye1dvDQfmuZCufjGwELEDcqYxK', 'EL ARBAOUI', 'WA326028', NULL, 'MAROUANE', 0, 0, '', 4, 3, NULL, 1, NULL),
(53, 'mohamedhadfani2004@gmail.com', '$2y$10$7I2lbUGZxVjeDqe.oCWRo.p79sswQhFVRtE.LVrHdyO4TwOnpuyYm', 'Hadfani', 'Q369482', NULL, 'Mohamed', 0, 0, '', 4, 3, NULL, 1, NULL),
(54, 'zinebznouba502@gmail.com', '$2y$10$.aiPcu.g964CTx3T6lQHIOLwsUtbJozMic.m0F4zkDg2ioXq.Qfei', 'ETTOUIL', 'DI23403', NULL, 'ZINEB', 0, 0, '', 4, 3, NULL, 1, NULL),
(55, 'abderrahmanbendahman1@gmail.com', '$2y$10$isoyHYE4QBFB0rOV0rGZ.OBUMrv0j5b1HqoYxZFOS2QfdAIUUrLmO', 'BENDAHMAN', 'AD304173', NULL, 'Abderrahman', 0, 0, '', 4, 3, NULL, 1, NULL),
(56, 'elaidiachraf04@gmail.com', '$2y$10$8Ve2W3xhTYseHMNif3Ut9u1CF2rBqONi5wDUKlLuJqbmWNRZpUioi', 'EL AIDI', 'V383957', NULL, 'ACHRAF', 0, 0, '', 4, 3, NULL, 1, NULL),
(57, 'salmaaamira4@gmail.com', '$2y$10$ynRVUfs2IKp9n2srfFaoIuRMsU31.M5W2TnkjcSj439/YQqxdrjtC', 'AAMIRA', 'Y533955', NULL, 'Salma', 0, 0, '', 4, 3, NULL, 1, NULL),
(58, 'anas@uca.ma', '$2y$10$A/1gITLFP75czNXPJsg5XeXVkDCzC0TzcqbhmFTBi92jOR3.lwyMa', 'Jarane', 'EE334455', NULL, 'Anas', 0, 1, '', 4, 3, NULL, 1, NULL),
(59, 'zitounu@uca.ma', '$2y$10$46wnAYvokmA9WYoV65KQW.SiirxcVhW/1Ho0jYPtHFj5Me29Evq.y', 'Yanis', 'EE337788', NULL, 'Zitouni', 0, 0, '', 4, 3, NULL, 1, NULL),
(60, 'mery@uca.ma', '$2y$10$o18h6X3SW5IqSPHm2bnNoOlvPZiSVSR/kPQe7YQctTD7xqL/wLc42', 'kounjab', 'EE345555', NULL, 'Mery', 0, 1, '', 4, 3, NULL, 1, NULL),
(61, 'y.zouani@uca.ma', '$2y$10$9R4dclBBgVf2jj7dieVes.NaQgILcEnf6cKfz7dibHVPPbgAuUf2i', 'ZOUANI', 'EE667788', NULL, 'YOUNES', 0, 0, '', 4, 3, NULL, 1, NULL),
(62, 'ee11@uca.ac.ma', '$2y$10$R6kqMyIFnXqjmqCS4P96bOeHPpfTtSrjlqytl5yBOnyswRR3iO.pa', 'Yassineeeee', 'EE112233', '0625495187', 'Alaouiiiiii', 0, 2, '', 4, 3, NULL, 1, NULL),
(63, 'zouani.younes@gmail.com', '$2y$10$fYiOoXmDSnQf44CLmy18B.HyxZsmhkLJJbjINsfdlByTY9HD94k/6', 'ZOUANI', 'EE119988', NULL, 'YOUNES', 1, 3, '', 4, 3, NULL, 1, NULL),
(64, 'ana.younes@gmail.com', '$2y$10$cQBLru4WP8gFdss.aJrkIuCbBlHVux6hstFxvhLIDgy1T5MbXWmnK', 'ZOUANI', 'ABC1234', NULL, 'YOUNES', 0, 0, '', 4, 3, NULL, 1, NULL),
(65, 'maryammaryami@gmail.com', '$2y$10$MwQ/T15Ku6WNhKfJ1WAGFOMFdEllCNnIdiDYz1QrJqZ4J27G.jUTO', 'maryami', 'Ma178144', NULL, 'maryam', 0, 0, '', 4, 3, NULL, 1, NULL),
(66, 'maryamkounjab94@gmail.com', '$2y$10$.sT/Nfj8GclbqjzvUZCJ6.tFRM6KirplKncDn6nRiLPg5oSnHTkHO', 'Kounjab', 'Ma178141', NULL, 'Maryam', 0, 0, '', 4, 3, NULL, 1, NULL),
(67, 'hananehan@gmail.com', '$2y$10$n7wa7wFVowSVxZFDmdkvCuWX4qc/0HnmRBVFzLzRMtY8LNsneoAUi', 'han', 'Ma178143', NULL, 'hanane', 0, 0, '', 4, 3, NULL, 1, NULL),
(68, 'ayaayoya@gmail.com', '$2y$10$z7Qk/2Zpb3gQagMQOut4i.lOOafmZlXnW4I.dnQDrjSFhyE7MFcrK', 'ayoya', 'Ma178141', NULL, 'aya', 0, 0, '', 4, 3, NULL, 1, NULL),
(69, 'zouani.younes2@gmail.com', '$2y$10$tmrKZXT4TYzPlmgzN5QNbeB2MYzqr3pqYJMkbKJN1vW9OVTqHThVO', 'ZOUANI', 'YTHU1234', NULL, 'YOUNES', 0, 0, '', 4, 3, NULL, 1, NULL);

-- --------------------------------------------------------

--
-- Structure de la table `type_demande`
--

CREATE TABLE `type_demande` (
  `id` bigint(20) NOT NULL,
  `libelle` varchar(255) NOT NULL,
  `code` varchar(50) NOT NULL,
  `style` varchar(50) DEFAULT NULL,
  `description` text DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

--
-- Déchargement des données de la table `type_demande`
--

INSERT INTO `type_demande` (`id`, `libelle`, `code`, `style`, `description`) VALUES
(1, 'Demande d\'achat', 'ACHAT', 'primary', 'Achat de biens ou services'),
                                                                                                    (2, 'Demande de service', 'SERVICE', 'info', 'Prestation de service');

-- --------------------------------------------------------

--
-- Structure de la table `type_demande_document`
--

CREATE TABLE `type_demande_document` (
                                         `id` bigint(20) NOT NULL,
                                         `libelle` varchar(255) NOT NULL,
                                         `code` varchar(100) NOT NULL,
                                         `description` text DEFAULT NULL,
                                         `template_document` text DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

--
-- Déchargement des données de la table `type_demande_document`
--

INSERT INTO `type_demande_document` (`id`, `libelle`, `code`, `description`, `template_document`) VALUES
                                                                                                      (1, 'Demande de stage', 'STG', 'Demande de stage pour les professeurs', 'Template_stage.pdf'),
                                                                                                      (2, 'Demande de congé', 'CNG', 'Demande de congé administratif', 'Template_conge.pdf'),
                                                                                                      (3, 'Demande de mission', 'MSN', 'Demande de mission professionnelle', 'Template_mission.pdf'),
                                                                                                      (4, 'Attestation Travail', 'AT_TR', '<div style=\"font-family: Arial, sans-serif; max-width: 700px; margin: 0 auto; padding: 30px; border: 1px solid #ddd; background: #fff;\">\n    \n    <div style=\"text-align: center; border-bottom: 2px solid #333; padding-bottom: 15px; margin-bottom: 25px;\">\n        <h2 style=\"margin: 0; color: #1a3c6e;\">ÉCOLE SUPÉRIEURE DE TECHNOLOGIE</h2>\n        <h3 style=\"margin: 5px 0; color: #555; font-weight: normal;\">EST Salé</h3>\n    </div>\n\n    <div style=\"text-align: center; margin: 20px 0;\">\n        <h3 style=\"text-transform: uppercase; color: #1a3c6e; letter-spacing: 2px;\">\n            ATTESTATION DE TRAVAIL\n        </h3>\n        <p style=\"color: #666; font-size: 13px;\">\n            N° {{id}} / {{date_soumission}}\n        </p>\n    </div>\n\n    <div style=\"margin: 30px 0; line-height: 1.8; font-size: 14px;\">\n        <p>\n            <strong>Je soussigné, Directeur de l\'EST Salé, </\r\n\r\n        strong> atteste que \n <strong>{{prenom}} {{nom}}</ strong>, \n titulaire de la CIN n° <strong>{{cin}}</\r\n\r\n        strong>, \n exerce la fonction de <strong>{{grade}}</ strong>\n dans la spécialité <strong>{{specialite}}</\r\n\r\n        strong>\n au sein de notre établissement.\n </ p>\n \n <p>\n {{description}}\n </ p>\n \n <div style =\"background: #f5f5f5; padding: 15px; margin: 15px 0; border-radius: 5px;\">\n            <p style=\"margin: 3px 0;\"><strong>Informations de contact :</strong></p>\n            <p style=\"margin: 3px 0;\">📧 {{email}}</p>\n            <p style=\"margin: 3px 0;\">📱 {{phone}}</p>\n        </div>\n\n        <p>\n            La présente attestation est délivrée à l\'intéressé(e) pour servir et valoir ce que de droit.\n        </p>\n    </div>\n\n    <div style=\"margin-top: 40px; display: flex; justify-content: space-between; border-top: 1px solid #ddd; padding-top: 25px;\">\n        <div style=\"font-size: 12px; color: #777;\">\n            <p style=\"margin: 0;\">Date de réponse : {{date_reponse}}</p>\n            <p style=\"margin: 0;\">Document : {{libelle}}</p>\n        </div>\n        <div style=\"text-align: center;\">\n            <p style=\"margin: 0; font-weight: bold;\">Le Directeur</p>\n            <div style=\"height: 30px;\"></div>\n            <p style=\"margin: 0; font-size: 12px; color: #777;\">Cachet et signature</p>\n        </div>\n    </div>\n\n    <div style=\"margin-top: 20px; text-align: center; font-size: 11px; color: #aaa; border-top: 1px solid #eee; padding-top: 10px;\">\n        <p style=\"margin: 0;\">EST Salé - Avenue Ibnou Khatib, BP 227 - Salé, Maroc</p>\n        <p style=\"margin: 0;\">Généré le : {{date_creation}}</p>\n    </div>\n</div>', 'Template_attestation.pdf');

-- --------------------------------------------------------

--
-- Structure de la table `type_demande_etudiant`
--

                                                                                                       CREATE TABLE `type_demande_etudiant` (
                                                                                                       `id` int(11) NOT NULL,
                                                                                                       `code` varchar(50) NOT NULL,
                                                                                                       `libelle` varchar(100) NOT NULL,
                                                                                                       `budge` decimal(10,2) DEFAULT 0.00,
                                                                                                       `description` text DEFAULT NULL
                                                                                                      ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

--
-- Déchargement des données de la table `type_demande_etudiant`
--

INSERT INTO `type_demande_etudiant` (`id`, `code`, `libelle`, `budge`, `description`) VALUES
                                                                                          (1, 'ATTEST_SCOL', 'Attestation de scolarité', '0.00', 'Demande d\'attestation.'),
(2, 'RELEVE_NOTE', 'Relevé de notes', '20.50', 'Demande de relevé officiels.'),
(3, 'CARTE_PERD', 'Renouvellement carte', '50.00', 'Frais de perte de carte.');

-- --------------------------------------------------------

--
-- Structure de la table `type_devis_demande`
--

CREATE TABLE `type_devis_demande` (
  `id` bigint(20) NOT NULL,
  `libelle` varchar(255) NOT NULL,
  `code` varchar(50) NOT NULL,
  `style` varchar(50) DEFAULT NULL,
  `description` text DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

--
-- Déchargement des données de la table `type_devis_demande`
--

INSERT INTO `type_devis_demande` (`id`, `libelle`, `code`, `style`, `description`) VALUES
(1, 'Bon de commande', 'BC', 'info', 'Bon de commande standard'),
(2, 'Marché public', 'MARCHE', 'primary', 'Marché soumis à procédure');

-- --------------------------------------------------------

--
-- Structure de la table `type_diplome`
--

CREATE TABLE `type_diplome` (
  `id` int(11) NOT NULL,
  `code` varchar(255) NOT NULL,
  `libelle` varchar(255) NOT NULL,
  `annee_apres_bac` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

--
-- Déchargement des données de la table `type_diplome`
--

INSERT INTO `type_diplome` (`id`, `code`, `libelle`, `annee_apres_bac`) VALUES
(1, 'DEUST', 'Diplôme d\'Études Universitaires Scientifiques et Techniques (DEUST)', 2),
                                                                                          (2, 'BTS', 'Brevet de Technicien Supérieur (BTS)', 2),
                                                                                          (3, 'DEUG', 'Diplôme d\'Études Universitaires Générales (DEUG)', 2),
(4, 'DUT', 'Diplôme Universitaire de Technologie (DUT)', 2),
(5, 'DTS', 'Diplôme de Technicien Spécialisé (DTS)', 2),
(6, 'DTA', 'Diplôme de Technicien d\'Administration (DTA)', 2),
                                                                                          (7, 'DU', 'Diplôme Universitaire (DU)', 2),
                                                                                          (8, 'DT', 'Diplôme de Technicien (DT)', 2),
                                                                                          (9, 'DTS-OFPPT', 'Diplôme de Technicien Spécialisé (DTS - OFPPT)', 2),
                                                                                          (10, 'DEUP', 'Diplôme d\'Études Universitaires Professionnelles (DEUP)', 2);

-- --------------------------------------------------------

--
-- Structure de la table `type_document_dossier_administratif`
--

CREATE TABLE `type_document_dossier_administratif` (
  `id` bigint(20) NOT NULL,
  `libelle` varchar(255) NOT NULL,
  `code` varchar(100) NOT NULL,
  `description` text DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

--
-- Déchargement des données de la table `type_document_dossier_administratif`
--

INSERT INTO `type_document_dossier_administratif` (`id`, `libelle`, `code`, `description`) VALUES
(1, 'Attestation de travail', 'ATT_TRAV', 'Attestation officielle certifiant le statut de travail du professeur.'),
(2, 'Attestation de salaire', 'ATT_SAL', 'Attestation contenant les détails de la rémunération mensuelle.'),
(3, 'Ordre de mission', 'ORD_MISS', 'Autorisation officielle de déplacement pour une mission administrative ou scientifique.'),
(4, 'Demande de congé', 'DEM_CONG', 'Demande de congé annuel ou exceptionnel.'),
(5, 'Fiche d\'évaluation', 'FICH_EVAL', 'Fiche d\'évaluation périodique des performances administratives.');

-- --------------------------------------------------------

--
-- Structure de la table `type_grade`
--

CREATE TABLE `type_grade` (
  `id` bigint(20) NOT NULL,
  `libelle` varchar(255) NOT NULL,
  `code` varchar(100) NOT NULL,
  `description` text DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

--
-- Déchargement des données de la table `type_grade`
--

INSERT INTO `type_grade` (`id`, `libelle`, `code`, `description`) VALUES
(1, 'Enseignant', 'ENS', 'Enseignant'),
(5, 'Administrateur', 'ADMIN', 'Administrateur');

-- --------------------------------------------------------

--
-- Structure de la table `type_paiement`
--

CREATE TABLE `type_paiement` (
  `id` bigint(20) NOT NULL,
  `libelle` varchar(255) NOT NULL,
  `code` varchar(50) NOT NULL,
  `style` varchar(50) DEFAULT NULL,
  `description` text DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

--
-- Déchargement des données de la table `type_paiement`
--

INSERT INTO `type_paiement` (`id`, `libelle`, `code`, `style`, `description`) VALUES
(1, 'Virement bancaire', 'VIR', 'primary', 'Virement'),
(2, 'Chèque', 'CHQ', 'info', 'Chèque bancaire'),
(3, 'Espèces', 'ESP', 'warning', 'Paiement en espèces');

--
-- Index pour les tables déchargées
--

--
-- Index pour la table `admin`
--
ALTER TABLE `admin`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `code` (`email`);

--
-- Index pour la table `affectation_module`
--
ALTER TABLE `affectation_module`
  ADD PRIMARY KEY (`id`),
  ADD KEY `fk_affectation_filiere` (`filiere_id`),
  ADD KEY `fk_affectation_semestre` (`semestre_id`),
  ADD KEY `idx_affectation_module` (`module_id`),
  ADD KEY `idx_affectation_employee` (`employee_id`),
  ADD KEY `fk_affectation_module_annee` (`annee_universitaire_id`);

--
-- Index pour la table `annee_budgitaire`
--
ALTER TABLE `annee_budgitaire`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `code` (`code`);

--
-- Index pour la table `annee_universitaire`
--
ALTER TABLE `annee_universitaire`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `code` (`code`);

--
-- Index pour la table `avancement_type`
--
ALTER TABLE `avancement_type`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `uk_avancement_type_code` (`code`);

--
-- Index pour la table `budget_faculte`
--
ALTER TABLE `budget_faculte`
  ADD PRIMARY KEY (`id`),
  ADD KEY `fk_budget_faculte_annee` (`annee_budgitaire_id`),
  ADD KEY `fk_budget_faculte_etat` (`etat_budget_faculte_id`);

--
-- Index pour la table `budget_faculte_detail`
--
ALTER TABLE `budget_faculte_detail`
  ADD PRIMARY KEY (`id`),
  ADD KEY `fk_budget_detail_budget` (`budget_faculte_id`),
  ADD KEY `fk_budget_detail_entite` (`entite_administrative_id`);

--
-- Index pour la table `candidat`
--
ALTER TABLE `candidat`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `code` (`email`);

--
-- Index pour la table `categorie_produit`
--
ALTER TABLE `categorie_produit`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `code` (`code`);

--
-- Index pour la table `category_document_dossier_admin`
--
ALTER TABLE `category_document_dossier_admin`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `code` (`code`);

--
-- Index pour la table `certificat_medical`
--
ALTER TABLE `certificat_medical`
  ADD PRIMARY KEY (`id`),
  ADD KEY `idx_student` (`student_id`),
  ADD KEY `idx_code` (`code`),
  ADD KEY `idx_statut` (`statut`),
  ADD KEY `idx_module` (`module_id`),
  ADD KEY `idx_semestre` (`semestre_id`);

--
-- Index pour la table `commite_organisation_membre`
--
ALTER TABLE `commite_organisation_membre`
  ADD PRIMARY KEY (`id`),
  ADD KEY `idx_com_employee` (`employee_id`),
  ADD KEY `idx_com_concours` (`concours_id`);

--
-- Index pour la table `concours`
--
ALTER TABLE `concours`
  ADD PRIMARY KEY (`id`),
  ADD KEY `fk_concours_chef_commite` (`chef_commite_organisation`);

--
-- Index pour la table `concours_detail`
--
ALTER TABLE `concours_detail`
  ADD PRIMARY KEY (`id`),
  ADD KEY `fk_concours_detail_concours` (`concours_id`),
  ADD KEY `fk_concours_detail_type_diplome` (`type_diplome_id`);

--
-- Index pour la table `demande`
--
ALTER TABLE `demande`
  ADD PRIMARY KEY (`id`),
  ADD KEY `fk_demande_annee` (`annee_universitaire_id`),
  ADD KEY `fk_demande_devis` (`devis_demande_id`),
  ADD KEY `fk_demande_type` (`type_demande_id`),
  ADD KEY `fk_demande_etat` (`etat_demande_id`),
  ADD KEY `fk_demande_fournisseur` (`fournisseur_id`),
  ADD KEY `fk_demande_entite` (`entite_administrative_id`);

--
-- Index pour la table `demande_detail`
--
ALTER TABLE `demande_detail`
  ADD PRIMARY KEY (`id`),
  ADD KEY `fk_demandd_categorie` (`categorie_produit_id`),
  ADD KEY `fk_demandd_produit` (`produit_id`),
  ADD KEY `fk_demandd_expression` (`expression_besoin_id`);

--
-- Index pour la table `demande_detail_repartition`
--
ALTER TABLE `demande_detail_repartition`
  ADD PRIMARY KEY (`id`),
  ADD KEY `fk_repart_demande_detail` (`demande_detail_id`),
  ADD KEY `fk_repart_produit` (`produit_id`);

--
-- Index pour la table `demande_document`
--
ALTER TABLE `demande_document`
  ADD PRIMARY KEY (`id`),
  ADD KEY `fk_demande_document_employee` (`employee_id`),
  ADD KEY `fk_demande_document_etat` (`etat_demande_document_id`),
  ADD KEY `fk_demande_demande_document_type` (`type_demande_document_id`),
  ADD KEY `idx_demande_document_date_soumission` (`date_soumission`),
  ADD KEY `idx_demande_document_employee_date` (`employee_id`,`date_soumission`);

--
-- Index pour la table `demande_etudiant`
--
ALTER TABLE `demande_etudiant`
  ADD PRIMARY KEY (`id`),
  ADD KEY `fk_etat_demande` (`etat_id`),
  ADD KEY `fk_type_demande` (`type_id`);

--
-- Index pour la table `departement`
--
ALTER TABLE `departement`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `code` (`code`);

--
-- Index pour la table `devis_demande`
--
ALTER TABLE `devis_demande`
  ADD PRIMARY KEY (`id`),
  ADD KEY `fk_devis_annee` (`annee_universitaire_id`),
  ADD KEY `fk_devis_type` (`type_devis_demande_id`),
  ADD KEY `fk_devis_etat` (`etat_devis_demande_id`),
  ADD KEY `fk_devis_fournisseur` (`fournisseur_id`),
  ADD KEY `fk_devis_entite` (`entite_administrative_id`);

--
-- Index pour la table `devis_demande_detail`
--
ALTER TABLE `devis_demande_detail`
  ADD PRIMARY KEY (`id`),
  ADD KEY `fk_devisd_categorie` (`categorie_produit_id`),
  ADD KEY `fk_devisd_produit` (`produit_id`),
  ADD KEY `fk_devisd_expression` (`expression_besoin_id`);

--
-- Index pour la table `document_dossier_admin`
--
ALTER TABLE `document_dossier_admin`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `uk_document_stored_name` (`stored_name`(255)),
  ADD KEY `idx_document_employee` (`employee_id`),
  ADD KEY `idx_document_category` (`category_id`),
  ADD KEY `idx_document_mime` (`mime_type_id`),
  ADD KEY `idx_document_etat` (`etat_document_dossier_administratif_id`),
  ADD KEY `idx_document_uploaded_by` (`uploaded_by`),
  ADD KEY `idx_document_verified_by` (`verified_by`),
  ADD KEY `idx_document_departement` (`departement_id`);

--
-- Index pour la table `echelle`
--
ALTER TABLE `echelle`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `uk_echelle_code` (`code`),
  ADD KEY `fk_echelle_grade` (`grade_id`);

--
-- Index pour la table `echellon`
--
ALTER TABLE `echellon`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `uk_echellon_code` (`code`),
  ADD KEY `fk_echellon_echelle` (`echelle_id`),
  ADD KEY `fk_echellon_suivant` (`echellon_suivant_id`);

--
-- Index pour la table `employee`
--
ALTER TABLE `employee`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `code` (`code`),
  ADD UNIQUE KEY `email` (`email`),
  ADD UNIQUE KEY `login` (`login`),
  ADD KEY `fk_employee_grade` (`grade_id`),
  ADD KEY `fk_employee_type_grade` (`type_grade_id`),
  ADD KEY `fk_employee_echellon` (`echellon_id`),
  ADD KEY `fk_employee_departement` (`departement_id`);

--
-- Index pour la table `entite_administrative`
--
ALTER TABLE `entite_administrative`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `code` (`code`);

--
-- Index pour la table `etat_avancement`
--
ALTER TABLE `etat_avancement`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `uk_etat_avancement_code` (`code`);

--
-- Index pour la table `etat_budget_faculte`
--
ALTER TABLE `etat_budget_faculte`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `code` (`code`);

--
-- Index pour la table `etat_demande`
--
ALTER TABLE `etat_demande`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `code` (`code`);

--
-- Index pour la table `etat_demande_document`
--
ALTER TABLE `etat_demande_document`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `uk_etat_demande_document_code` (`code`);

--
-- Index pour la table `etat_demande_etudiant`
--
ALTER TABLE `etat_demande_etudiant`
  ADD PRIMARY KEY (`id`);

--
-- Index pour la table `etat_devis_demande`
--
ALTER TABLE `etat_devis_demande`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `code` (`code`);

--
-- Index pour la table `etat_document_dossier_administratif`
--
ALTER TABLE `etat_document_dossier_administratif`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `code` (`code`);

--
-- Index pour la table `etat_expression_besoin`
--
ALTER TABLE `etat_expression_besoin`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `code` (`code`);

--
-- Index pour la table `etat_livraison`
--
ALTER TABLE `etat_livraison`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `code` (`code`);

--
-- Index pour la table `etat_paiement`
--
ALTER TABLE `etat_paiement`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `code` (`code`);

--
-- Index pour la table `etat_reception`
--
ALTER TABLE `etat_reception`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `code` (`code`);

--
-- Index pour la table `etat_student`
--
ALTER TABLE `etat_student`
  ADD PRIMARY KEY (`id`);

--
-- Index pour la table `expression_besoin`
--
ALTER TABLE `expression_besoin`
  ADD PRIMARY KEY (`id`),
  ADD KEY `fk_eb_annee` (`annee_budgitaire_id`),
  ADD KEY `fk_eb_employee` (`employee_id`),
  ADD KEY `fk_eb_etat` (`etat_expression_besoin_id`);

--
-- Index pour la table `expression_besoin_detail`
--
ALTER TABLE `expression_besoin_detail`
  ADD PRIMARY KEY (`id`),
  ADD KEY `fk_ebd_categorie` (`categorie_produit_id`),
  ADD KEY `fk_ebd_expression` (`expression_besoin_id`);

--
-- Index pour la table `filiere`
--
ALTER TABLE `filiere`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `code` (`code`),
  ADD KEY `idx_filiere_departement` (`departement_id`);

--
-- Index pour la table `fournisseur`
--
ALTER TABLE `fournisseur`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `code` (`code`),
  ADD UNIQUE KEY `email` (`email`);

--
-- Index pour la table `grade`
--
ALTER TABLE `grade`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `uk_grade_code` (`code`),
  ADD KEY `fk_grade_type_grade` (`type_grade_id`);

--
-- Index pour la table `inscription_concours`
--
ALTER TABLE `inscription_concours`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `code` (`code`),
  ADD KEY `fk_inscription_concours` (`concours_id`),
  ADD KEY `fk_inscription_candidat` (`candidat_id`),
  ADD KEY `idx_type_diplome_obtenu` (`type_diplome_obtenu`),
  ADD KEY `idx_inscription_concours_cin` (`cin`),
  ADD KEY `idx_inscription_concours_email` (`email`),
  ADD KEY `idx_inscription_concours_nom_prenom` (`nom`,`prenom`),
  ADD KEY `idx_inscription_concours_date_naissance` (`date_naissance`),
  ADD KEY `idx_inscription_concours_province_naissance` (`province_naissance`),
  ADD KEY `idx_inscription_concours_nationalite` (`nationalite`);

--
-- Index pour la table `inscription_etudiant`
--
ALTER TABLE `inscription_etudiant`
  ADD PRIMARY KEY (`id`),
  ADD KEY `student_id` (`student_id`),
  ADD KEY `filiere_id` (`filiere_id`),
  ADD KEY `fk_inscription_etudiant_annee` (`annee_universitaire_id`);

--
-- Index pour la table `livraison`
--
ALTER TABLE `livraison`
  ADD PRIMARY KEY (`id`),
  ADD KEY `fk_livraison_demande` (`demande_id`),
  ADD KEY `fk_livraison_annee` (`annee_universitaire_id`),
  ADD KEY `fk_livraison_etat` (`etat_livraison_id`);

--
-- Index pour la table `livraison_detail`
--
ALTER TABLE `livraison_detail`
  ADD PRIMARY KEY (`id`),
  ADD KEY `fk_livraisond_magasin` (`magasin_id`),
  ADD KEY `fk_livraisond_entite` (`entite_administrative_id`),
  ADD KEY `fk_livraisond_categorie` (`categorie_produit_id`),
  ADD KEY `fk_livraisond_produit` (`produit_id`),
  ADD KEY `fk_livraisond_livraison` (`livraison_id`);

--
-- Index pour la table `magasin`
--
ALTER TABLE `magasin`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `code` (`code`);

--
-- Index pour la table `mime_document_dossier_admin`
--
ALTER TABLE `mime_document_dossier_admin`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `code` (`code`);

--
-- Index pour la table `module`
--
ALTER TABLE `module`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `code` (`code`),
  ADD KEY `idx_module_filiere` (`filiere_id`),
  ADD KEY `idx_module_semestre` (`semestre_id`);

--
-- Index pour la table `note_semestre`
--
ALTER TABLE `note_semestre`
  ADD PRIMARY KEY (`id`),
  ADD KEY `idx_note_semestre_semestre` (`semestre_id`),
  ADD KEY `idx_note_semestre_student` (`student_id`),
  ADD KEY `idx_note_semestre_departement` (`departement_id`),
  ADD KEY `idx_note_semestre_filiere` (`filiere_id`),
  ADD KEY `fk_note_semestre_annee` (`annee_universitaire_id`);

--
-- Index pour la table `note_semestre_detail`
--
ALTER TABLE `note_semestre_detail`
  ADD PRIMARY KEY (`id`),
  ADD KEY `idx_note_semestre_detail_note` (`note_semestre_id`),
  ADD KEY `idx_note_semestre_detail_module` (`module_id`);

--
-- Index pour la table `paiement_demande`
--
ALTER TABLE `paiement_demande`
  ADD PRIMARY KEY (`id`),
  ADD KEY `fk_paiement_annee` (`annee_universitaire_id`),
  ADD KEY `fk_paiement_demande` (`demande_id`),
  ADD KEY `fk_paiement_type` (`type_paiement_id`),
  ADD KEY `fk_paiement_etat` (`etat_paiement_id`);

--
-- Index pour la table `presence`
--
ALTER TABLE `presence`
  ADD PRIMARY KEY (`id`),
  ADD KEY `idx_presence_date` (`date_seance`),
  ADD KEY `idx_presence_affectation_module` (`affectation_module_id`),
  ADD KEY `idx_presence_type` (`type_seance`);

--
-- Index pour la table `presence_detail`
--
ALTER TABLE `presence_detail`
  ADD PRIMARY KEY (`id`),
  ADD KEY `idx_presence_detail_presence` (`presence_id`),
  ADD KEY `idx_presence_detail_student` (`student_id`),
  ADD KEY `idx_present` (`present`);

--
-- Index pour la table `produit`
--
ALTER TABLE `produit`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `code` (`code`),
  ADD KEY `fk_produit_categorie` (`categorie_produit_id`);

--
-- Index pour la table `professeur`
--
ALTER TABLE `professeur`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `code` (`code`),
  ADD KEY `fk_professeur_grade` (`grade_id`),
  ADD KEY `fk_professeur_echellon` (`echellon_id`);

--
-- Index pour la table `reception`
--
ALTER TABLE `reception`
  ADD PRIMARY KEY (`id`),
  ADD KEY `fk_reception_demande` (`demande_id`),
  ADD KEY `fk_reception_annee` (`annee_universitaire_id`),
  ADD KEY `fk_reception_etat` (`etat_reception_id`);

--
-- Index pour la table `reception_detail`
--
ALTER TABLE `reception_detail`
  ADD PRIMARY KEY (`id`),
  ADD KEY `fk_receptiond_magasin` (`magasin_id`),
  ADD KEY `fk_receptiond_categorie` (`categorie_produit_id`),
  ADD KEY `fk_receptiond_produit` (`produit_id`),
  ADD KEY `fk_receptiond_reception` (`reception_id`);

--
-- Index pour la table `reclamation_note`
--
ALTER TABLE `reclamation_note`
  ADD PRIMARY KEY (`id`),
  ADD KEY `idx_detail` (`note_semestre_detail_id`),
  ADD KEY `idx_student` (`student_id`),
  ADD KEY `idx_statut` (`statut`);

--
-- Index pour la table `resultat_concours`
--
ALTER TABLE `resultat_concours`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `code` (`code`);

--
-- Index pour la table `semestre`
--
ALTER TABLE `semestre`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `code` (`code`),
  ADD KEY `fk_semestre_annee` (`annee_universitaire_id`);

--
-- Index pour la table `sg`
--
ALTER TABLE `sg`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `code` (`code`);

--
-- Index pour la table `stock`
--
ALTER TABLE `stock`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `uk_stock_produit_magasin` (`produit_id`,`magasin_id`),
  ADD KEY `fk_stock_magasin` (`magasin_id`);

--
-- Index pour la table `student`
--
ALTER TABLE `student`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `code` (`email`);

--
-- Index pour la table `type_demande`
--
ALTER TABLE `type_demande`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `code` (`code`);

--
-- Index pour la table `type_demande_document`
--
ALTER TABLE `type_demande_document`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `uk_type_demande_document_code` (`code`);

--
-- Index pour la table `type_demande_etudiant`
--
ALTER TABLE `type_demande_etudiant`
  ADD PRIMARY KEY (`id`);

--
-- Index pour la table `type_devis_demande`
--
ALTER TABLE `type_devis_demande`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `code` (`code`);

--
-- Index pour la table `type_diplome`
--
ALTER TABLE `type_diplome`
  ADD PRIMARY KEY (`id`);

--
-- Index pour la table `type_document_dossier_administratif`
--
ALTER TABLE `type_document_dossier_administratif`
  ADD PRIMARY KEY (`id`);

--
-- Index pour la table `type_grade`
--
ALTER TABLE `type_grade`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `uk_type_grade_code` (`code`);

--
-- Index pour la table `type_paiement`
--
ALTER TABLE `type_paiement`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `code` (`code`);

--
-- AUTO_INCREMENT pour les tables déchargées
--

--
-- AUTO_INCREMENT pour la table `admin`
--
ALTER TABLE `admin`
  MODIFY `id` bigint(20) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=7;

--
-- AUTO_INCREMENT pour la table `affectation_module`
--
ALTER TABLE `affectation_module`
  MODIFY `id` bigint(20) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=17;

--
-- AUTO_INCREMENT pour la table `annee_budgitaire`
--
ALTER TABLE `annee_budgitaire`
  MODIFY `id` bigint(20) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=4;

--
-- AUTO_INCREMENT pour la table `annee_universitaire`
--
ALTER TABLE `annee_universitaire`
  MODIFY `id` bigint(20) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=4;

--
-- AUTO_INCREMENT pour la table `avancement_type`
--
ALTER TABLE `avancement_type`
  MODIFY `id` bigint(20) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=5;

--
-- AUTO_INCREMENT pour la table `budget_faculte`
--
ALTER TABLE `budget_faculte`
  MODIFY `id` bigint(20) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=9;

--
-- AUTO_INCREMENT pour la table `budget_faculte_detail`
--
ALTER TABLE `budget_faculte_detail`
  MODIFY `id` bigint(20) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=14;

--
-- AUTO_INCREMENT pour la table `candidat`
--
ALTER TABLE `candidat`
  MODIFY `id` bigint(20) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=79;

--
-- AUTO_INCREMENT pour la table `categorie_produit`
--
ALTER TABLE `categorie_produit`
  MODIFY `id` bigint(20) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=6;

--
-- AUTO_INCREMENT pour la table `category_document_dossier_admin`
--
ALTER TABLE `category_document_dossier_admin`
  MODIFY `id` bigint(20) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=8;

--
-- AUTO_INCREMENT pour la table `certificat_medical`
--
ALTER TABLE `certificat_medical`
  MODIFY `id` bigint(20) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT pour la table `commite_organisation_membre`
--
ALTER TABLE `commite_organisation_membre`
  MODIFY `id` bigint(20) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=7;

--
-- AUTO_INCREMENT pour la table `concours`
--
ALTER TABLE `concours`
  MODIFY `id` bigint(20) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=6;

--
-- AUTO_INCREMENT pour la table `concours_detail`
--
ALTER TABLE `concours_detail`
  MODIFY `id` bigint(20) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=177;

--
-- AUTO_INCREMENT pour la table `demande`
--
ALTER TABLE `demande`
  MODIFY `id` bigint(20) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=11;

--
-- AUTO_INCREMENT pour la table `demande_detail`
--
ALTER TABLE `demande_detail`
  MODIFY `id` bigint(20) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=20;

--
-- AUTO_INCREMENT pour la table `demande_detail_repartition`
--
ALTER TABLE `demande_detail_repartition`
  MODIFY `id` bigint(20) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=4;

--
-- AUTO_INCREMENT pour la table `demande_document`
--
ALTER TABLE `demande_document`
  MODIFY `id` bigint(20) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3;

--
-- AUTO_INCREMENT pour la table `demande_etudiant`
--
ALTER TABLE `demande_etudiant`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3;

--
-- AUTO_INCREMENT pour la table `departement`
--
ALTER TABLE `departement`
  MODIFY `id` bigint(20) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=5;

--
-- AUTO_INCREMENT pour la table `devis_demande`
--
ALTER TABLE `devis_demande`
  MODIFY `id` bigint(20) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=16;

--
-- AUTO_INCREMENT pour la table `devis_demande_detail`
--
ALTER TABLE `devis_demande_detail`
  MODIFY `id` bigint(20) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=42;

--
-- AUTO_INCREMENT pour la table `document_dossier_admin`
--
ALTER TABLE `document_dossier_admin`
  MODIFY `id` bigint(20) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=27;

--
-- AUTO_INCREMENT pour la table `echelle`
--
ALTER TABLE `echelle`
  MODIFY `id` bigint(20) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=1013;

--
-- AUTO_INCREMENT pour la table `echellon`
--
ALTER TABLE `echellon`
  MODIFY `id` bigint(20) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=31;

--
-- AUTO_INCREMENT pour la table `employee`
--
ALTER TABLE `employee`
  MODIFY `id` bigint(20) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=33;

--
-- AUTO_INCREMENT pour la table `entite_administrative`
--
ALTER TABLE `entite_administrative`
  MODIFY `id` bigint(20) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=7;

--
-- AUTO_INCREMENT pour la table `etat_avancement`
--
ALTER TABLE `etat_avancement`
  MODIFY `id` bigint(20) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=6;

--
-- AUTO_INCREMENT pour la table `etat_budget_faculte`
--
ALTER TABLE `etat_budget_faculte`
  MODIFY `id` bigint(20) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=5;

--
-- AUTO_INCREMENT pour la table `etat_demande`
--
ALTER TABLE `etat_demande`
  MODIFY `id` bigint(20) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=6;

--
-- AUTO_INCREMENT pour la table `etat_demande_document`
--
ALTER TABLE `etat_demande_document`
  MODIFY `id` bigint(20) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=6;

--
-- AUTO_INCREMENT pour la table `etat_demande_etudiant`
--
ALTER TABLE `etat_demande_etudiant`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=4;

--
-- AUTO_INCREMENT pour la table `etat_devis_demande`
--
ALTER TABLE `etat_devis_demande`
  MODIFY `id` bigint(20) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=5;

--
-- AUTO_INCREMENT pour la table `etat_document_dossier_administratif`
--
ALTER TABLE `etat_document_dossier_administratif`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=21;

--
-- AUTO_INCREMENT pour la table `etat_expression_besoin`
--
ALTER TABLE `etat_expression_besoin`
  MODIFY `id` bigint(20) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=5;

--
-- AUTO_INCREMENT pour la table `etat_livraison`
--
ALTER TABLE `etat_livraison`
  MODIFY `id` bigint(20) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=5;

--
-- AUTO_INCREMENT pour la table `etat_paiement`
--
ALTER TABLE `etat_paiement`
  MODIFY `id` bigint(20) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=5;

--
-- AUTO_INCREMENT pour la table `etat_reception`
--
ALTER TABLE `etat_reception`
  MODIFY `id` bigint(20) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=5;

--
-- AUTO_INCREMENT pour la table `etat_student`
--
ALTER TABLE `etat_student`
  MODIFY `id` bigint(20) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=6;

--
-- AUTO_INCREMENT pour la table `expression_besoin`
--
ALTER TABLE `expression_besoin`
  MODIFY `id` bigint(20) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=10;

--
-- AUTO_INCREMENT pour la table `expression_besoin_detail`
--
ALTER TABLE `expression_besoin_detail`
  MODIFY `id` bigint(20) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=20;

--
-- AUTO_INCREMENT pour la table `filiere`
--
ALTER TABLE `filiere`
  MODIFY `id` bigint(20) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=11;

--
-- AUTO_INCREMENT pour la table `fournisseur`
--
ALTER TABLE `fournisseur`
  MODIFY `id` bigint(20) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=6;

--
-- AUTO_INCREMENT pour la table `grade`
--
ALTER TABLE `grade`
  MODIFY `id` bigint(20) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=9;

--
-- AUTO_INCREMENT pour la table `inscription_concours`
--
ALTER TABLE `inscription_concours`
  MODIFY `id` bigint(20) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=148;

--
-- AUTO_INCREMENT pour la table `inscription_etudiant`
--
ALTER TABLE `inscription_etudiant`
  MODIFY `id` bigint(20) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=62;

--
-- AUTO_INCREMENT pour la table `livraison`
--
ALTER TABLE `livraison`
  MODIFY `id` bigint(20) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=9;

--
-- AUTO_INCREMENT pour la table `livraison_detail`
--
ALTER TABLE `livraison_detail`
  MODIFY `id` bigint(20) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=19;

--
-- AUTO_INCREMENT pour la table `magasin`
--
ALTER TABLE `magasin`
  MODIFY `id` bigint(20) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=4;

--
-- AUTO_INCREMENT pour la table `mime_document_dossier_admin`
--
ALTER TABLE `mime_document_dossier_admin`
  MODIFY `id` bigint(20) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=5;

--
-- AUTO_INCREMENT pour la table `module`
--
ALTER TABLE `module`
  MODIFY `id` bigint(20) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=216;

--
-- AUTO_INCREMENT pour la table `note_semestre`
--
ALTER TABLE `note_semestre`
  MODIFY `id` bigint(20) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=15;

--
-- AUTO_INCREMENT pour la table `note_semestre_detail`
--
ALTER TABLE `note_semestre_detail`
  MODIFY `id` bigint(20) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=43;

--
-- AUTO_INCREMENT pour la table `paiement_demande`
--
ALTER TABLE `paiement_demande`
  MODIFY `id` bigint(20) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=10;

--
-- AUTO_INCREMENT pour la table `presence`
--
ALTER TABLE `presence`
  MODIFY `id` bigint(20) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=12;

--
-- AUTO_INCREMENT pour la table `presence_detail`
--
ALTER TABLE `presence_detail`
  MODIFY `id` bigint(20) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=306;

--
-- AUTO_INCREMENT pour la table `produit`
--
ALTER TABLE `produit`
  MODIFY `id` bigint(20) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=23;

--
-- AUTO_INCREMENT pour la table `professeur`
--
ALTER TABLE `professeur`
  MODIFY `id` bigint(20) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=5;

--
-- AUTO_INCREMENT pour la table `reception`
--
ALTER TABLE `reception`
  MODIFY `id` bigint(20) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=11;

--
-- AUTO_INCREMENT pour la table `reception_detail`
--
ALTER TABLE `reception_detail`
  MODIFY `id` bigint(20) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=20;

--
-- AUTO_INCREMENT pour la table `reclamation_note`
--
ALTER TABLE `reclamation_note`
  MODIFY `id` bigint(20) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT pour la table `resultat_concours`
--
ALTER TABLE `resultat_concours`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=8;

--
-- AUTO_INCREMENT pour la table `semestre`
--
ALTER TABLE `semestre`
  MODIFY `id` bigint(20) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=7;

--
-- AUTO_INCREMENT pour la table `sg`
--
ALTER TABLE `sg`
  MODIFY `id` bigint(20) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT pour la table `stock`
--
ALTER TABLE `stock`
  MODIFY `id` bigint(20) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=11;

--
-- AUTO_INCREMENT pour la table `student`
--
ALTER TABLE `student`
  MODIFY `id` bigint(20) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=73;

--
-- AUTO_INCREMENT pour la table `type_demande`
--
ALTER TABLE `type_demande`
  MODIFY `id` bigint(20) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3;

--
-- AUTO_INCREMENT pour la table `type_demande_document`
--
ALTER TABLE `type_demande_document`
  MODIFY `id` bigint(20) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=5;

--
-- AUTO_INCREMENT pour la table `type_demande_etudiant`
--
ALTER TABLE `type_demande_etudiant`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=4;

--
-- AUTO_INCREMENT pour la table `type_devis_demande`
--
ALTER TABLE `type_devis_demande`
  MODIFY `id` bigint(20) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3;

--
-- AUTO_INCREMENT pour la table `type_diplome`
--
ALTER TABLE `type_diplome`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=11;

--
-- AUTO_INCREMENT pour la table `type_document_dossier_administratif`
--
ALTER TABLE `type_document_dossier_administratif`
  MODIFY `id` bigint(20) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=6;

--
-- AUTO_INCREMENT pour la table `type_grade`
--
ALTER TABLE `type_grade`
  MODIFY `id` bigint(20) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=6;

--
-- AUTO_INCREMENT pour la table `type_paiement`
--
ALTER TABLE `type_paiement`
  MODIFY `id` bigint(20) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=4;

--
-- Contraintes pour les tables déchargées
--

--
-- Contraintes pour la table `affectation_module`
--
ALTER TABLE `affectation_module`
  ADD CONSTRAINT `fk_affectation_employee` FOREIGN KEY (`employee_id`) REFERENCES `employee` (`id`) ON UPDATE CASCADE,
  ADD CONSTRAINT `fk_affectation_filiere` FOREIGN KEY (`filiere_id`) REFERENCES `filiere` (`id`) ON UPDATE CASCADE,
  ADD CONSTRAINT `fk_affectation_module` FOREIGN KEY (`module_id`) REFERENCES `module` (`id`) ON UPDATE CASCADE,
  ADD CONSTRAINT `fk_affectation_module_annee` FOREIGN KEY (`annee_universitaire_id`) REFERENCES `annee_universitaire` (`id`) ON UPDATE CASCADE,
  ADD CONSTRAINT `fk_affectation_semestre` FOREIGN KEY (`semestre_id`) REFERENCES `semestre` (`id`) ON UPDATE CASCADE;

--
-- Contraintes pour la table `budget_faculte`
--
ALTER TABLE `budget_faculte`
  ADD CONSTRAINT `fk_budget_faculte_annee` FOREIGN KEY (`annee_budgitaire_id`) REFERENCES `annee_budgitaire` (`id`) ON UPDATE CASCADE,
  ADD CONSTRAINT `fk_budget_faculte_etat` FOREIGN KEY (`etat_budget_faculte_id`) REFERENCES `etat_budget_faculte` (`id`) ON UPDATE CASCADE;

--
-- Contraintes pour la table `budget_faculte_detail`
--
ALTER TABLE `budget_faculte_detail`
  ADD CONSTRAINT `fk_budget_detail_budget` FOREIGN KEY (`budget_faculte_id`) REFERENCES `budget_faculte` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
  ADD CONSTRAINT `fk_budget_detail_entite` FOREIGN KEY (`entite_administrative_id`) REFERENCES `entite_administrative` (`id`) ON UPDATE CASCADE;

--
-- Contraintes pour la table `commite_organisation_membre`
--
ALTER TABLE `commite_organisation_membre`
  ADD CONSTRAINT `fk_com_concours` FOREIGN KEY (`concours_id`) REFERENCES `concours` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
  ADD CONSTRAINT `fk_com_employee` FOREIGN KEY (`employee_id`) REFERENCES `employee` (`id`) ON DELETE CASCADE ON UPDATE CASCADE;

--
-- Contraintes pour la table `concours`
--
ALTER TABLE `concours`
  ADD CONSTRAINT `fk_concours_chef_commite` FOREIGN KEY (`chef_commite_organisation`) REFERENCES `employee` (`id`) ON UPDATE CASCADE;

--
-- Contraintes pour la table `concours_detail`
--
ALTER TABLE `concours_detail`
  ADD CONSTRAINT `fk_concours_detail_concours` FOREIGN KEY (`concours_id`) REFERENCES `concours` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
  ADD CONSTRAINT `fk_concours_detail_type_diplome` FOREIGN KEY (`type_diplome_id`) REFERENCES `type_diplome` (`id`) ON DELETE CASCADE ON UPDATE CASCADE;

--
-- Contraintes pour la table `demande`
--
ALTER TABLE `demande`
  ADD CONSTRAINT `fk_demande_annee` FOREIGN KEY (`annee_universitaire_id`) REFERENCES `annee_universitaire` (`id`) ON UPDATE CASCADE,
  ADD CONSTRAINT `fk_demande_devis` FOREIGN KEY (`devis_demande_id`) REFERENCES `devis_demande` (`id`) ON DELETE SET NULL ON UPDATE CASCADE,
  ADD CONSTRAINT `fk_demande_entite` FOREIGN KEY (`entite_administrative_id`) REFERENCES `entite_administrative` (`id`) ON UPDATE CASCADE,
  ADD CONSTRAINT `fk_demande_etat` FOREIGN KEY (`etat_demande_id`) REFERENCES `etat_demande` (`id`) ON UPDATE CASCADE,
  ADD CONSTRAINT `fk_demande_fournisseur` FOREIGN KEY (`fournisseur_id`) REFERENCES `fournisseur` (`id`) ON UPDATE CASCADE,
  ADD CONSTRAINT `fk_demande_type` FOREIGN KEY (`type_demande_id`) REFERENCES `type_demande` (`id`) ON UPDATE CASCADE;

--
-- Contraintes pour la table `demande_detail`
--
ALTER TABLE `demande_detail`
  ADD CONSTRAINT `fk_demandd_categorie` FOREIGN KEY (`categorie_produit_id`) REFERENCES `categorie_produit` (`id`) ON UPDATE CASCADE,
  ADD CONSTRAINT `fk_demandd_expression` FOREIGN KEY (`expression_besoin_id`) REFERENCES `expression_besoin` (`id`) ON DELETE SET NULL ON UPDATE CASCADE,
  ADD CONSTRAINT `fk_demandd_produit` FOREIGN KEY (`produit_id`) REFERENCES `produit` (`id`) ON UPDATE CASCADE;

--
-- Contraintes pour la table `demande_detail_repartition`
--
ALTER TABLE `demande_detail_repartition`
  ADD CONSTRAINT `fk_repart_demande_detail` FOREIGN KEY (`demande_detail_id`) REFERENCES `demande_detail` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
  ADD CONSTRAINT `fk_repart_produit` FOREIGN KEY (`produit_id`) REFERENCES `produit` (`id`) ON UPDATE CASCADE;

--
-- Contraintes pour la table `demande_document`
--
ALTER TABLE `demande_document`
  ADD CONSTRAINT `fk_demande_document_employee` FOREIGN KEY (`employee_id`) REFERENCES `employee` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
  ADD CONSTRAINT `fk_demande_document_etat` FOREIGN KEY (`etat_demande_document_id`) REFERENCES `etat_demande_document` (`id`) ON UPDATE CASCADE,
  ADD CONSTRAINT `fk_demande_document_type_demande_document` FOREIGN KEY (`type_demande_document_id`) REFERENCES `type_demande_document` (`id`) ON UPDATE CASCADE;

--
-- Contraintes pour la table `demande_etudiant`
--
ALTER TABLE `demande_etudiant`
  ADD CONSTRAINT `fk_etat_demande` FOREIGN KEY (`etat_id`) REFERENCES `etat_demande_etudiant` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `fk_type_demande` FOREIGN KEY (`type_id`) REFERENCES `type_demande_etudiant` (`id`) ON DELETE CASCADE;

--
-- Contraintes pour la table `devis_demande`
--
ALTER TABLE `devis_demande`
  ADD CONSTRAINT `fk_devis_annee` FOREIGN KEY (`annee_universitaire_id`) REFERENCES `annee_universitaire` (`id`) ON UPDATE CASCADE,
  ADD CONSTRAINT `fk_devis_entite` FOREIGN KEY (`entite_administrative_id`) REFERENCES `entite_administrative` (`id`) ON UPDATE CASCADE,
  ADD CONSTRAINT `fk_devis_etat` FOREIGN KEY (`etat_devis_demande_id`) REFERENCES `etat_devis_demande` (`id`) ON UPDATE CASCADE,
  ADD CONSTRAINT `fk_devis_fournisseur` FOREIGN KEY (`fournisseur_id`) REFERENCES `fournisseur` (`id`) ON UPDATE CASCADE,
  ADD CONSTRAINT `fk_devis_type` FOREIGN KEY (`type_devis_demande_id`) REFERENCES `type_devis_demande` (`id`) ON UPDATE CASCADE;

--
-- Contraintes pour la table `devis_demande_detail`
--
ALTER TABLE `devis_demande_detail`
  ADD CONSTRAINT `fk_devisd_categorie` FOREIGN KEY (`categorie_produit_id`) REFERENCES `categorie_produit` (`id`) ON UPDATE CASCADE,
  ADD CONSTRAINT `fk_devisd_expression` FOREIGN KEY (`expression_besoin_id`) REFERENCES `expression_besoin` (`id`) ON DELETE SET NULL ON UPDATE CASCADE,
  ADD CONSTRAINT `fk_devisd_produit` FOREIGN KEY (`produit_id`) REFERENCES `produit` (`id`) ON UPDATE CASCADE;

--
-- Contraintes pour la table `document_dossier_admin`
--
ALTER TABLE `document_dossier_admin`
  ADD CONSTRAINT `fk_document_category` FOREIGN KEY (`category_id`) REFERENCES `category_document_dossier_admin` (`id`) ON UPDATE CASCADE,
  ADD CONSTRAINT `fk_document_departement` FOREIGN KEY (`departement_id`) REFERENCES `departement` (`id`) ON DELETE SET NULL ON UPDATE CASCADE,
  ADD CONSTRAINT `fk_document_employee` FOREIGN KEY (`employee_id`) REFERENCES `employee` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
  ADD CONSTRAINT `fk_document_mime` FOREIGN KEY (`mime_type_id`) REFERENCES `mime_document_dossier_admin` (`id`) ON UPDATE CASCADE,
  ADD CONSTRAINT `fk_document_uploaded_by` FOREIGN KEY (`uploaded_by`) REFERENCES `employee` (`id`) ON UPDATE CASCADE,
  ADD CONSTRAINT `fk_document_verified_by` FOREIGN KEY (`verified_by`) REFERENCES `employee` (`id`) ON DELETE SET NULL ON UPDATE CASCADE;

--
-- Contraintes pour la table `echelle`
--
ALTER TABLE `echelle`
  ADD CONSTRAINT `fk_echelle_grade` FOREIGN KEY (`grade_id`) REFERENCES `grade` (`id`) ON DELETE CASCADE ON UPDATE CASCADE;

--
-- Contraintes pour la table `echellon`
--
ALTER TABLE `echellon`
  ADD CONSTRAINT `fk_echellon_echelle` FOREIGN KEY (`echelle_id`) REFERENCES `echelle` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
  ADD CONSTRAINT `fk_echellon_suivant` FOREIGN KEY (`echellon_suivant_id`) REFERENCES `echellon` (`id`) ON DELETE SET NULL ON UPDATE CASCADE;

--
-- Contraintes pour la table `employee`
--
ALTER TABLE `employee`
  ADD CONSTRAINT `fk_employee_departement` FOREIGN KEY (`departement_id`) REFERENCES `departement` (`id`) ON DELETE SET NULL ON UPDATE CASCADE,
  ADD CONSTRAINT `fk_employee_echellon` FOREIGN KEY (`echellon_id`) REFERENCES `echellon` (`id`) ON DELETE SET NULL ON UPDATE CASCADE,
  ADD CONSTRAINT `fk_employee_grade` FOREIGN KEY (`grade_id`) REFERENCES `grade` (`id`) ON DELETE SET NULL ON UPDATE CASCADE,
  ADD CONSTRAINT `fk_employee_type_grade` FOREIGN KEY (`type_grade_id`) REFERENCES `type_grade` (`id`) ON DELETE SET NULL ON UPDATE CASCADE;

--
-- Contraintes pour la table `expression_besoin`
--
ALTER TABLE `expression_besoin`
  ADD CONSTRAINT `fk_eb_annee` FOREIGN KEY (`annee_budgitaire_id`) REFERENCES `annee_budgitaire` (`id`) ON UPDATE CASCADE,
  ADD CONSTRAINT `fk_eb_employee` FOREIGN KEY (`employee_id`) REFERENCES `employee` (`id`) ON UPDATE CASCADE,
  ADD CONSTRAINT `fk_eb_etat` FOREIGN KEY (`etat_expression_besoin_id`) REFERENCES `etat_expression_besoin` (`id`) ON UPDATE CASCADE;

--
-- Contraintes pour la table `expression_besoin_detail`
--
ALTER TABLE `expression_besoin_detail`
  ADD CONSTRAINT `fk_ebd_categorie` FOREIGN KEY (`categorie_produit_id`) REFERENCES `categorie_produit` (`id`) ON UPDATE CASCADE,
  ADD CONSTRAINT `fk_ebd_expression` FOREIGN KEY (`expression_besoin_id`) REFERENCES `expression_besoin` (`id`) ON DELETE CASCADE ON UPDATE CASCADE;

--
-- Contraintes pour la table `filiere`
--
ALTER TABLE `filiere`
  ADD CONSTRAINT `fk_filiere_departement` FOREIGN KEY (`departement_id`) REFERENCES `departement` (`id`) ON UPDATE CASCADE;

--
-- Contraintes pour la table `grade`
--
ALTER TABLE `grade`
  ADD CONSTRAINT `fk_grade_type_grade` FOREIGN KEY (`type_grade_id`) REFERENCES `type_grade` (`id`) ON DELETE CASCADE ON UPDATE CASCADE;

--
-- Contraintes pour la table `inscription_etudiant`
--
ALTER TABLE `inscription_etudiant`
  ADD CONSTRAINT `fk_inscription_etudiant_annee` FOREIGN KEY (`annee_universitaire_id`) REFERENCES `annee_universitaire` (`id`) ON UPDATE CASCADE,
  ADD CONSTRAINT `inscription_etudiant_ibfk_1` FOREIGN KEY (`student_id`) REFERENCES `student` (`id`),
  ADD CONSTRAINT `inscription_etudiant_ibfk_2` FOREIGN KEY (`filiere_id`) REFERENCES `filiere` (`id`);

--
-- Contraintes pour la table `livraison`
--
ALTER TABLE `livraison`
  ADD CONSTRAINT `fk_livraison_annee` FOREIGN KEY (`annee_universitaire_id`) REFERENCES `annee_universitaire` (`id`) ON UPDATE CASCADE,
  ADD CONSTRAINT `fk_livraison_demande` FOREIGN KEY (`demande_id`) REFERENCES `demande` (`id`) ON UPDATE CASCADE,
  ADD CONSTRAINT `fk_livraison_etat` FOREIGN KEY (`etat_livraison_id`) REFERENCES `etat_livraison` (`id`) ON UPDATE CASCADE;

--
-- Contraintes pour la table `livraison_detail`
--
ALTER TABLE `livraison_detail`
  ADD CONSTRAINT `fk_livraisond_categorie` FOREIGN KEY (`categorie_produit_id`) REFERENCES `categorie_produit` (`id`) ON UPDATE CASCADE,
  ADD CONSTRAINT `fk_livraisond_entite` FOREIGN KEY (`entite_administrative_id`) REFERENCES `entite_administrative` (`id`) ON UPDATE CASCADE,
  ADD CONSTRAINT `fk_livraisond_livraison` FOREIGN KEY (`livraison_id`) REFERENCES `livraison` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
  ADD CONSTRAINT `fk_livraisond_magasin` FOREIGN KEY (`magasin_id`) REFERENCES `magasin` (`id`) ON UPDATE CASCADE,
  ADD CONSTRAINT `fk_livraisond_produit` FOREIGN KEY (`produit_id`) REFERENCES `produit` (`id`) ON UPDATE CASCADE;

--
-- Contraintes pour la table `note_semestre`
--
ALTER TABLE `note_semestre`
  ADD CONSTRAINT `fk_note_semestre_annee` FOREIGN KEY (`annee_universitaire_id`) REFERENCES `annee_universitaire` (`id`) ON UPDATE CASCADE,
  ADD CONSTRAINT `fk_note_semestre_departement` FOREIGN KEY (`departement_id`) REFERENCES `departement` (`id`) ON UPDATE CASCADE,
  ADD CONSTRAINT `fk_note_semestre_filiere` FOREIGN KEY (`filiere_id`) REFERENCES `filiere` (`id`) ON UPDATE CASCADE,
  ADD CONSTRAINT `fk_note_semestre_semestre` FOREIGN KEY (`semestre_id`) REFERENCES `semestre` (`id`) ON UPDATE CASCADE,
  ADD CONSTRAINT `fk_note_semestre_student` FOREIGN KEY (`student_id`) REFERENCES `student` (`id`) ON DELETE CASCADE ON UPDATE CASCADE;

--
-- Contraintes pour la table `note_semestre_detail`
--
ALTER TABLE `note_semestre_detail`
  ADD CONSTRAINT `fk_note_semestre_detail_module` FOREIGN KEY (`module_id`) REFERENCES `module` (`id`) ON UPDATE CASCADE,
  ADD CONSTRAINT `fk_note_semestre_detail_note` FOREIGN KEY (`note_semestre_id`) REFERENCES `note_semestre` (`id`) ON DELETE CASCADE ON UPDATE CASCADE;

--
-- Contraintes pour la table `paiement_demande`
--
ALTER TABLE `paiement_demande`
  ADD CONSTRAINT `fk_paiement_annee` FOREIGN KEY (`annee_universitaire_id`) REFERENCES `annee_universitaire` (`id`) ON UPDATE CASCADE,
  ADD CONSTRAINT `fk_paiement_demande` FOREIGN KEY (`demande_id`) REFERENCES `demande` (`id`) ON UPDATE CASCADE,
  ADD CONSTRAINT `fk_paiement_etat` FOREIGN KEY (`etat_paiement_id`) REFERENCES `etat_paiement` (`id`) ON UPDATE CASCADE,
  ADD CONSTRAINT `fk_paiement_type` FOREIGN KEY (`type_paiement_id`) REFERENCES `type_paiement` (`id`) ON UPDATE CASCADE;

--
-- Contraintes pour la table `presence`
--
ALTER TABLE `presence`
  ADD CONSTRAINT `fk_presence_affectation_module` FOREIGN KEY (`affectation_module_id`) REFERENCES `affectation_module` (`id`) ON DELETE CASCADE ON UPDATE CASCADE;

--
-- Contraintes pour la table `produit`
--
ALTER TABLE `produit`
  ADD CONSTRAINT `fk_produit_categorie` FOREIGN KEY (`categorie_produit_id`) REFERENCES `categorie_produit` (`id`) ON DELETE CASCADE ON UPDATE CASCADE;

--
-- Contraintes pour la table `reception`
--
ALTER TABLE `reception`
  ADD CONSTRAINT `fk_reception_annee` FOREIGN KEY (`annee_universitaire_id`) REFERENCES `annee_universitaire` (`id`) ON UPDATE CASCADE,
  ADD CONSTRAINT `fk_reception_demande` FOREIGN KEY (`demande_id`) REFERENCES `demande` (`id`) ON UPDATE CASCADE,
  ADD CONSTRAINT `fk_reception_etat` FOREIGN KEY (`etat_reception_id`) REFERENCES `etat_reception` (`id`) ON UPDATE CASCADE;

--
-- Contraintes pour la table `reception_detail`
--
ALTER TABLE `reception_detail`
  ADD CONSTRAINT `fk_receptiond_categorie` FOREIGN KEY (`categorie_produit_id`) REFERENCES `categorie_produit` (`id`) ON UPDATE CASCADE,
  ADD CONSTRAINT `fk_receptiond_magasin` FOREIGN KEY (`magasin_id`) REFERENCES `magasin` (`id`) ON UPDATE CASCADE,
  ADD CONSTRAINT `fk_receptiond_produit` FOREIGN KEY (`produit_id`) REFERENCES `produit` (`id`) ON UPDATE CASCADE,
  ADD CONSTRAINT `fk_receptiond_reception` FOREIGN KEY (`reception_id`) REFERENCES `reception` (`id`) ON DELETE CASCADE ON UPDATE CASCADE;

--
-- Contraintes pour la table `semestre`
--
ALTER TABLE `semestre`
  ADD CONSTRAINT `fk_semestre_annee` FOREIGN KEY (`annee_universitaire_id`) REFERENCES `annee_universitaire` (`id`) ON UPDATE CASCADE;

--
-- Contraintes pour la table `stock`
--
ALTER TABLE `stock`
  ADD CONSTRAINT `fk_stock_magasin` FOREIGN KEY (`magasin_id`) REFERENCES `magasin` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
  ADD CONSTRAINT `fk_stock_produit` FOREIGN KEY (`produit_id`) REFERENCES `produit` (`id`) ON DELETE CASCADE ON UPDATE CASCADE;
SET FOREIGN_KEY_CHECKS=1;
COMMIT;

/*!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 */;
