CREATE TABLE `groupe_user_annuaire` (
  `groupe_user_annuaire_id` bigint(11) NOT NULL,
  `groupe_user_id` int(11) NOT NULL,
  `contact_type_id` int(11) NOT NULL,
  `consulter` tinyint(11) NOT NULL,
  `consulter_document` tinyint(4) NOT NULL,
  `consulter_finance` tinyint(4) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Déchargement des données de la table `groupe_user_annuaire`
--

INSERT INTO `groupe_user_annuaire` (`groupe_user_annuaire_id`, `groupe_user_id`, `contact_type_id`, `consulter`, `consulter_document`, `consulter_finance`) VALUES
(1, 1, 21, 1, 1, 1),
(2, 1, 22, 0, 1, 0),
(4, 1, 23, 0, 0, 0),
(5, 1, 25, 0, 1, 0),
(6, 1, 24, 0, 0, 1),
(7, 1, 21, 1, 1, 1),
(8, 1, 26, 0, 0, 0),
(9, 1, 23, 1, 0, 0),
(10, 1, 24, 0, 0, 0),
(11, 1, 22, 1, 0, 0),
(12, 1, 21, 1, 1, 1),
(13, 2, 24, 0, 0, 0),
(14, 2, 25, 1, 0, 0),
(15, 2, 26, 0, 1, 0),
(16, 2, 27, 1, 1, 1),
(17, 2, 21, 1, 1, 0),
(18, 2, 26, 0, 0, 0),
(19, 2, 27, 0, 0, 0),
(20, 2, 22, 0, 0, 0),
(21, 0, 0, 0, 0, 0),
(22, 100, 21, 0, 0, 0),
(23, 100, 22, 0, 0, 0),
(24, 100, 23, 0, 0, 0),
(25, 100, 24, 0, 0, 0),
(26, 100, 25, 0, 0, 0),
(27, 100, 26, 0, 0, 0),
(28, 100, 27, 0, 0, 0),
(29, 102, 21, 0, 0, 0),
(30, 102, 22, 0, 0, 0),
(31, 102, 23, 0, 0, 0),
(32, 102, 24, 0, 0, 0),
(33, 102, 25, 0, 0, 0),
(34, 102, 26, 0, 0, 0),
(35, 102, 27, 0, 0, 0),
(36, 103, 21, 0, 0, 0),
(37, 103, 22, 0, 0, 0),
(38, 103, 23, 0, 0, 0),
(39, 103, 24, 0, 0, 0),
(40, 103, 25, 0, 0, 0),
(41, 103, 26, 0, 0, 0),
(42, 103, 27, 0, 0, 0),
(43, 104, 21, 0, 0, 0),
(44, 104, 22, 0, 0, 0),
(45, 104, 23, 0, 0, 0),
(46, 104, 24, 0, 0, 0),
(47, 104, 25, 0, 0, 0),
(48, 104, 26, 0, 0, 0),
(49, 104, 27, 0, 0, 0),
(50, 105, 21, 0, 0, 0),
(51, 105, 22, 0, 0, 0),
(52, 105, 23, 0, 0, 0),
(53, 105, 24, 0, 0, 0),
(54, 105, 25, 0, 0, 0),
(55, 105, 26, 0, 0, 0),
(56, 105, 27, 0, 0, 0),
(57, 106, 21, 0, 0, 0),
(58, 106, 22, 0, 0, 0),
(59, 106, 23, 0, 0, 0),
(60, 106, 24, 0, 0, 0),
(61, 106, 25, 0, 0, 0),
(62, 106, 26, 0, 0, 0),
(63, 106, 27, 0, 0, 0),
(64, 107, 21, 0, 0, 0),
(65, 107, 22, 0, 0, 0),
(66, 107, 23, 0, 0, 0),
(67, 107, 24, 0, 0, 0),
(68, 107, 25, 0, 0, 0),
(69, 107, 26, 0, 0, 0),
(70, 107, 27, 0, 0, 0),
(71, 108, 21, 0, 0, 0),
(72, 108, 22, 0, 0, 0),
(73, 108, 23, 0, 0, 0),
(74, 108, 24, 0, 0, 0),
(75, 108, 25, 0, 0, 0),
(76, 108, 26, 0, 0, 0),
(77, 108, 27, 0, 0, 0),
(78, 109, 21, 0, 0, 0),
(79, 109, 22, 0, 0, 0),
(80, 109, 23, 0, 0, 0),
(81, 109, 24, 0, 0, 0),
(82, 109, 25, 0, 0, 0),
(83, 109, 26, 0, 0, 0),
(84, 109, 27, 0, 0, 0),
(85, 110, 21, 0, 0, 0),
(86, 110, 22, 0, 0, 0),
(87, 110, 23, 0, 0, 0),
(88, 110, 24, 0, 0, 0),
(89, 110, 25, 0, 0, 0),
(90, 110, 26, 0, 0, 0),
(91, 110, 27, 0, 0, 0),
(92, 111, 21, 0, 0, 0),
(93, 111, 22, 0, 0, 0),
(94, 111, 23, 0, 0, 0),
(95, 111, 24, 0, 0, 0),
(96, 111, 25, 0, 0, 0),
(97, 111, 26, 0, 0, 0),
(98, 111, 27, 0, 0, 0),
(99, 112, 21, 0, 0, 0),
(100, 112, 22, 0, 0, 0),
(101, 112, 23, 0, 0, 0),
(102, 112, 24, 0, 0, 0),
(103, 112, 25, 0, 0, 0),
(104, 112, 26, 0, 0, 0),
(105, 112, 27, 0, 0, 0),
(106, 113, 21, 0, 0, 0),
(107, 113, 22, 0, 0, 0),
(108, 113, 23, 0, 0, 0),
(109, 113, 24, 0, 0, 0),
(110, 113, 25, 0, 0, 0),
(111, 113, 26, 0, 0, 0),
(112, 113, 27, 0, 0, 0),
(113, 114, 21, 0, 0, 0),
(114, 114, 22, 0, 0, 0),
(115, 114, 23, 0, 0, 0),
(116, 114, 24, 0, 0, 0),
(117, 114, 25, 0, 0, 0),
(118, 114, 26, 0, 0, 0),
(119, 114, 27, 0, 0, 0),
(120, 115, 21, 0, 0, 0),
(121, 115, 22, 0, 0, 0),
(122, 115, 23, 0, 0, 0),
(123, 115, 24, 0, 0, 0),
(124, 115, 25, 0, 0, 0),
(125, 115, 26, 0, 0, 0),
(126, 115, 27, 0, 0, 0),
(127, 116, 21, 0, 0, 0),
(128, 116, 22, 0, 0, 0),
(129, 116, 23, 0, 0, 0),
(130, 116, 24, 0, 0, 0),
(131, 116, 25, 0, 0, 0),
(132, 116, 26, 0, 0, 0),
(133, 116, 27, 0, 0, 0),
(134, 117, 21, 0, 0, 0),
(135, 117, 22, 0, 0, 0),
(136, 117, 23, 0, 0, 0),
(137, 117, 24, 0, 0, 0),
(138, 117, 25, 0, 0, 0),
(139, 117, 26, 0, 0, 0),
(140, 117, 27, 0, 0, 0),
(141, 118, 21, 0, 0, 0),
(142, 118, 22, 0, 0, 0),
(143, 118, 23, 0, 0, 0),
(144, 118, 24, 0, 0, 0),
(145, 118, 25, 0, 0, 0),
(146, 118, 26, 0, 0, 0),
(147, 118, 27, 0, 0, 0),
(148, 119, 21, 0, 0, 0),
(149, 119, 22, 0, 0, 0),
(150, 119, 23, 0, 0, 0),
(151, 119, 24, 0, 0, 0),
(152, 119, 25, 0, 0, 0),
(153, 119, 26, 0, 0, 0),
(154, 119, 27, 0, 0, 0),
(155, 120, 21, 0, 0, 0),
(156, 120, 22, 0, 0, 0),
(157, 120, 23, 0, 0, 0),
(158, 120, 24, 0, 0, 0),
(159, 120, 25, 0, 0, 0),
(160, 120, 26, 0, 0, 0),
(161, 120, 27, 0, 0, 0),
(162, 121, 21, 0, 0, 0),
(163, 121, 22, 0, 0, 0),
(164, 121, 23, 0, 0, 0),
(165, 121, 24, 0, 0, 0),
(166, 121, 25, 0, 0, 0),
(167, 121, 26, 0, 0, 0),
(168, 121, 27, 0, 0, 0),
(169, 122, 21, 0, 0, 0),
(170, 122, 22, 0, 0, 0),
(171, 122, 23, 0, 0, 0),
(172, 122, 24, 0, 0, 0),
(173, 122, 25, 0, 0, 0),
(174, 122, 26, 0, 0, 0),
(175, 122, 27, 0, 0, 0),
(176, 123, 21, 0, 0, 0),
(177, 123, 22, 0, 0, 0),
(178, 123, 23, 0, 0, 0),
(179, 123, 24, 0, 0, 0),
(180, 123, 25, 0, 0, 0),
(181, 123, 26, 0, 0, 0),
(182, 123, 27, 0, 0, 0),
(183, 124, 21, 0, 0, 0),
(184, 124, 22, 0, 0, 0),
(185, 124, 23, 0, 0, 0),
(186, 124, 24, 0, 0, 0),
(187, 124, 25, 0, 0, 0),
(188, 124, 26, 0, 0, 0),
(189, 124, 27, 0, 0, 0),
(190, 125, 21, 0, 0, 0),
(191, 125, 22, 0, 0, 0),
(192, 125, 23, 0, 0, 0),
(193, 125, 24, 0, 0, 0),
(194, 125, 25, 0, 0, 0),
(195, 125, 26, 0, 0, 0),
(196, 125, 27, 0, 0, 0),
(197, 126, 21, 0, 0, 0),
(198, 126, 22, 0, 0, 0),
(199, 126, 23, 0, 0, 0),
(200, 126, 24, 0, 0, 0),
(201, 126, 25, 0, 0, 0),
(202, 126, 26, 0, 0, 0),
(203, 126, 27, 0, 0, 0),
(204, 127, 21, 0, 0, 0),
(205, 127, 22, 0, 0, 0),
(206, 127, 23, 0, 0, 0),
(207, 127, 24, 0, 0, 0),
(208, 127, 25, 0, 0, 0),
(209, 127, 26, 0, 0, 0),
(210, 127, 27, 0, 0, 0),
(211, 128, 21, 0, 0, 0),
(212, 128, 22, 0, 0, 0),
(213, 128, 23, 0, 0, 0),
(214, 128, 24, 0, 0, 0),
(215, 128, 25, 0, 0, 0),
(216, 128, 26, 0, 0, 0),
(217, 128, 27, 0, 0, 0),
(218, 129, 21, 0, 0, 0),
(219, 129, 22, 0, 0, 0),
(220, 129, 23, 0, 0, 0),
(221, 129, 24, 0, 0, 0),
(222, 129, 25, 0, 0, 0),
(223, 129, 26, 0, 0, 0),
(224, 129, 27, 0, 0, 0),
(225, 130, 21, 0, 0, 0),
(226, 130, 22, 0, 0, 0),
(227, 130, 23, 0, 0, 0),
(228, 130, 24, 0, 0, 0),
(229, 130, 25, 0, 0, 0),
(230, 130, 26, 0, 0, 0),
(231, 130, 27, 0, 0, 0),
(232, 131, 21, 0, 0, 0),
(233, 131, 22, 0, 0, 0),
(234, 131, 23, 0, 0, 0),
(235, 131, 24, 0, 0, 0),
(236, 131, 25, 0, 0, 0),
(237, 131, 26, 0, 0, 0),
(238, 131, 27, 0, 0, 0),
(239, 132, 21, 0, 0, 0),
(240, 132, 22, 0, 0, 0),
(241, 132, 23, 0, 0, 0),
(242, 132, 24, 0, 0, 0),
(243, 132, 25, 0, 0, 0),
(244, 132, 26, 0, 0, 0),
(245, 132, 27, 0, 0, 0),
(246, 133, 21, 0, 0, 0),
(247, 133, 22, 0, 0, 0),
(248, 133, 23, 0, 0, 0),
(249, 133, 24, 0, 0, 0),
(250, 133, 25, 0, 0, 0),
(251, 133, 26, 0, 0, 0),
(252, 133, 27, 0, 0, 0),
(253, 134, 21, 0, 0, 0),
(254, 134, 22, 0, 0, 0),
(255, 134, 23, 0, 0, 0),
(256, 134, 24, 0, 0, 0),
(257, 134, 25, 0, 0, 0),
(258, 134, 26, 0, 0, 0),
(259, 134, 27, 0, 0, 0),
(260, 136, 21, 0, 0, 0),
(261, 136, 22, 0, 0, 0),
(262, 136, 23, 0, 0, 0),
(263, 136, 24, 0, 0, 0),
(264, 136, 25, 0, 0, 0),
(265, 136, 26, 0, 0, 0),
(266, 136, 27, 0, 0, 0),
(267, 136, 28, 0, 0, 0),
(268, 136, 29, 0, 0, 0),
(269, 136, 30, 0, 0, 0),
(270, 136, 31, 0, 0, 0),
(271, 137, 21, 0, 0, 0),
(272, 137, 22, 0, 0, 0),
(273, 137, 23, 0, 0, 0),
(274, 137, 24, 0, 0, 0),
(275, 137, 25, 0, 0, 0),
(276, 137, 26, 0, 0, 0),
(277, 137, 27, 0, 0, 0),
(278, 137, 28, 0, 0, 0),
(279, 137, 29, 0, 0, 0),
(280, 137, 30, 0, 0, 0),
(281, 137, 31, 0, 0, 0),
(282, 138, 21, 0, 0, 0),
(283, 138, 22, 0, 0, 0),
(284, 138, 23, 0, 0, 0),
(285, 138, 24, 0, 0, 0),
(286, 138, 25, 0, 0, 0),
(287, 138, 26, 0, 0, 0),
(288, 138, 27, 0, 0, 0),
(289, 138, 28, 0, 0, 0),
(290, 138, 29, 0, 0, 0),
(291, 138, 30, 0, 0, 0),
(292, 138, 31, 0, 0, 0),
(293, 139, 21, 0, 0, 0),
(294, 139, 22, 0, 0, 0),
(295, 139, 23, 0, 0, 0),
(296, 139, 24, 0, 0, 0),
(297, 139, 25, 0, 0, 0),
(298, 139, 26, 0, 0, 0),
(299, 139, 27, 0, 0, 0),
(300, 139, 28, 0, 0, 0),
(301, 139, 29, 0, 0, 0),
(302, 139, 30, 0, 0, 0),
(303, 139, 31, 0, 0, 0),
(304, 36, 23, 1, 0, 0),
(305, 36, 24, 1, 0, 0),
(306, 36, 23, 0, 0, 0),
(307, 36, 24, 0, 0, 0);

-- --------------------------------------------------------

--
-- Structure de la table `groupe_user_article_famille`
--

CREATE TABLE `groupe_user_article_famille` (
  `article_famille_id` bigint(20) NOT NULL,
  `groupe_user_id` int(11) NOT NULL,
  `lecture` tinyint(1) NOT NULL,
  `ecriture` tinyint(1) NOT NULL,
  `creation` tinyint(1) NOT NULL,
  `prix` tinyint(1) NOT NULL,
  `validation_demande` tinyint(1) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Déchargement des données de la table `groupe_user_article_famille`
--

INSERT INTO `groupe_user_article_famille` (`article_famille_id`, `groupe_user_id`, `lecture`, `ecriture`, `creation`, `prix`, `validation_demande`) VALUES
(-15, 37, 1, 1, 1, 1, 1),
(11, 37, 1, 1, 1, 1, 1);

-- --------------------------------------------------------

--
-- Structure de la table `groupe_user_module`
--

CREATE TABLE `groupe_user_module` (
  `module_id` bigint(20) NOT NULL,
  `groupe_user_id` int(11) NOT NULL,
  `is_authorized` tinyint(1) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Déchargement des données de la table `groupe_user_module`
--

INSERT INTO `groupe_user_module` (`module_id`, `groupe_user_id`, `is_authorized`) VALUES
(9, 1, 1),
(9, 34, 0),
(9, 140, 0),
(9, 142, 0),
(9, 241, 0),
(9, 271, 1),
(9, 291, 0),
(10, 1, 1),
(10, 34, 1),
(10, 35, 1),
(10, 36, 1),
(10, 37, 1),
(10, 39, 1),
(10, 42, 0),
(10, 135, 1),
(10, 136, 0),
(10, 137, 0),
(10, 138, 0),
(10, 139, 0),
(10, 140, 1),
(10, 142, 1),
(10, 241, 1),
(10, 261, 1),
(10, 291, 1),
(10, 311, 1),
(10, 321, 1),
(10, 341, 1),
(10, 351, 1),
(12, 1, 1),
(12, 34, 0),
(12, 135, 1),
(12, 136, 0),
(12, 137, 0),
(12, 138, 0),
(12, 139, 0),
(12, 140, 1),
(12, 142, 0),
(12, 241, 0),
(12, 271, 1),
(14, 1, 1),
(14, 34, 0),
(14, 135, 1),
(14, 136, 0),
(14, 137, 0),
(14, 138, 0),
(14, 139, 0),
(14, 140, 0),
(14, 142, 0),
(14, 241, 1),
(14, 271, 1),
(66, 1, 1),
(66, 34, 1),
(66, 135, 1),
(66, 136, 0),
(66, 137, 0),
(66, 138, 0),
(66, 139, 0),
(66, 140, 1),
(66, 142, 1),
(68, 1, 1),
(68, 34, 1),
(68, 37, 1),
(68, 135, 1),
(68, 136, 0),
(68, 137, 0),
(68, 138, 0),
(68, 139, 0),
(68, 140, 1),
(68, 142, 1),
(68, 241, 1),
(68, 261, 1),
(68, 271, 1),
(68, 291, 1),
(68, 311, 1),
(68, 321, 1),
(68, 341, 1),
(68, 351, 1),
(70, 1, 1),
(70, 34, 1),
(70, 37, 1),
(70, 135, 1),
(70, 136, 0),
(70, 137, 0),
(70, 138, 0),
(70, 139, 0),
(70, 140, 1),
(70, 142, 1),
(70, 241, 1),
(70, 261, 1),
(70, 271, 1),
(70, 291, 1),
(70, 321, 1),
(70, 351, 0),
(72, 1, 1),
(72, 34, 1),
(72, 135, 1),
(72, 136, 0),
(72, 137, 0),
(72, 138, 0),
(72, 139, 0),
(72, 140, 1),
(72, 142, 1),
(73, 1, 1),
(73, 34, 1),
(73, 135, 1),
(73, 136, 0),
(73, 137, 0),
(73, 138, 0),
(73, 139, 0),
(73, 140, 1),
(73, 142, 1),
(76, 1, 1),
(76, 34, 0),
(76, 37, 0),
(76, 135, 1),
(76, 136, 0),
(76, 137, 0),
(76, 138, 0),
(76, 139, 0),
(76, 140, 1),
(76, 142, 0),
(76, 241, 1),
(76, 261, 0),
(76, 271, 1),
(77, 1, 1),
(77, 34, 0),
(77, 37, 0),
(77, 135, 1),
(77, 136, 0),
(77, 137, 0),
(77, 138, 0),
(77, 139, 0),
(77, 140, 1),
(77, 142, 0),
(77, 241, 1),
(77, 271, 1),
(77, 291, 1),
(79, 1, 1),
(79, 34, 0),
(79, 35, 1),
(79, 36, 1),
(79, 40, 1),
(79, 42, 0),
(79, 135, 1),
(79, 136, 0),
(79, 137, 0),
(79, 138, 0),
(79, 139, 0),
(79, 140, 0),
(79, 142, 0),
(79, 151, 1),
(79, 161, 1),
(79, 201, 1),
(79, 241, 0),
(79, 261, 0),
(79, 271, 1),
(82, 1, 1),
(82, 34, 1),
(82, 135, 1),
(82, 136, 0),
(82, 137, 0),
(82, 138, 0),
(82, 139, 0),
(82, 140, 1),
(82, 142, 1),
(82, 241, 1),
(82, 271, 0),
(83, 1, 1),
(83, 140, 1),
(83, 142, 1),
(84, 1, 1),
(84, 140, 1),
(84, 142, 1),
(86, 1, 1),
(86, 140, 1),
(86, 142, 1),
(87, 1, 1),
(87, 140, 1),
(87, 142, 1),
(88, 1, 1),
(88, 140, 1),
(88, 142, 1),
(89, 1, 1),
(89, 140, 1),
(89, 142, 1),
(90, 1, 1),
(90, 34, 0),
(90, 135, 1),
(90, 136, 0),
(90, 137, 0),
(90, 138, 0),
(90, 139, 0),
(90, 140, 1),
(90, 142, 0),
(90, 241, 0),
(90, 261, 1),
(90, 271, 1),
(90, 311, 1),
(90, 341, 1),
(90, 351, 1),
(91, 1, 1),
(91, 34, 1),
(91, 39, 1),
(91, 40, 1),
(91, 42, 0),
(91, 135, 1),
(91, 136, 0),
(91, 137, 0),
(91, 138, 0),
(91, 139, 0),
(91, 140, 1),
(91, 142, 1),
(91, 143, 1),
(92, 1, 1),
(92, 34, 1),
(92, 36, 1),
(92, 39, 1),
(92, 40, 1),
(92, 135, 1),
(92, 136, 0),
(92, 137, 0),
(92, 138, 0),
(92, 139, 0),
(92, 140, 1),
(92, 142, 1),
(92, 143, 1),
(93, 1, 1),
(93, 34, 0),
(93, 39, 1),
(93, 40, 0),
(93, 135, 1),
(93, 136, 0),
(93, 137, 0),
(93, 138, 0),
(93, 139, 0),
(93, 140, 0),
(93, 142, 0),
(94, 1, 1),
(94, 34, 0),
(94, 135, 1),
(94, 136, 0),
(94, 137, 0),
(94, 138, 0),
(94, 139, 0),
(94, 140, 1),
(94, 142, 1),
(94, 241, 1),
(94, 271, 1),
(95, 1, 1),
(95, 34, 0),
(95, 135, 1),
(95, 136, 0),
(95, 137, 0),
(95, 138, 0),
(95, 139, 0),
(95, 140, 1),
(95, 142, 1),
(95, 241, 1),
(95, 271, 0),
(96, 1, 1),
(96, 34, 0),
(96, 135, 1),
(96, 136, 0),
(96, 137, 0),
(96, 138, 0),
(96, 139, 0),
(96, 140, 1),
(96, 142, 0),
(96, 241, 1),
(96, 271, 1),
(96, 291, 1),
(97, 1, 1),
(97, 34, 1),
(97, 135, 1),
(97, 136, 0),
(97, 137, 0),
(97, 138, 0),
(97, 139, 0),
(97, 140, 1),
(97, 142, 1),
(98, 1, 1),
(98, 34, 0),
(98, 135, 1),
(98, 136, 0),
(98, 137, 0),
(98, 138, 0),
(98, 139, 0),
(98, 140, 1),
(98, 142, 0),
(98, 241, 1),
(98, 271, 1),
(99, 1, 1),
(99, 140, 1),
(99, 142, 1),
(101, 1, 1),
(101, 34, 0),
(101, 135, 1),
(101, 136, 0),
(101, 137, 0),
(101, 138, 0),
(101, 139, 0),
(101, 140, 1),
(101, 142, 1),
(101, 271, 1),
(102, 1, 1),
(102, 34, 1),
(102, 35, 1),
(102, 36, 1),
(102, 135, 1),
(102, 136, 0),
(102, 137, 0),
(102, 138, 0),
(102, 139, 0),
(102, 140, 1),
(102, 142, 1),
(102, 151, 1),
(102, 201, 1),
(102, 241, 1),
(102, 271, 1),
(103, 1, 1),
(103, 34, 1),
(103, 35, 1),
(103, 36, 1),
(103, 135, 1),
(103, 136, 0),
(103, 137, 0),
(103, 138, 0),
(103, 139, 0),
(103, 140, 1),
(103, 142, 1),
(103, 151, 1),
(103, 201, 1),
(103, 241, 1),
(104, 1, 1),
(104, 35, 1),
(104, 36, 1),
(104, 140, 1),
(104, 142, 1),
(104, 151, 1),
(104, 201, 1),
(104, 271, 1),
(105, 1, 1),
(105, 34, 1),
(105, 35, 1),
(105, 36, 1),
(105, 135, 1),
(105, 136, 0),
(105, 137, 0),
(105, 138, 0),
(105, 139, 0),
(105, 140, 1),
(105, 142, 1),
(105, 151, 1),
(105, 201, 1),
(105, 271, 1),
(106, 1, 1),
(106, 34, 1),
(106, 135, 1),
(106, 136, 0),
(106, 137, 0),
(106, 138, 0),
(106, 139, 0),
(106, 140, 1),
(106, 142, 1),
(107, 37, 0),
(107, 241, 1),
(107, 271, 1),
(108, 1, 1),
(108, 34, 0),
(108, 135, 1),
(108, 136, 0),
(108, 137, 0),
(108, 138, 0),
(108, 139, 0),
(108, 140, 1),
(108, 142, 0),
(108, 241, 0),
(108, 271, 1),
(109, 1, 1),
(109, 34, 0),
(109, 37, 0),
(109, 135, 1),
(109, 136, 0),
(109, 137, 0),
(109, 138, 0),
(109, 139, 0),
(109, 140, 1),
(109, 142, 0),
(109, 241, 1),
(109, 271, 1),
(110, 1, 1),
(110, 34, 1),
(110, 135, 1),
(110, 136, 0),
(110, 137, 0),
(110, 138, 0),
(110, 139, 0),
(110, 140, 1),
(110, 142, 1),
(111, 1, 1),
(111, 34, 1),
(111, 135, 1),
(111, 136, 0),
(111, 137, 0),
(111, 138, 0),
(111, 139, 0),
(111, 140, 1),
(111, 142, 1),
(112, 1, 1),
(112, 34, 1),
(112, 135, 1),
(112, 136, 0),
(112, 137, 0),
(112, 138, 0),
(112, 139, 0),
(112, 140, 1),
(112, 142, 1),
(113, 1, 1),
(113, 34, 1),
(113, 135, 1),
(113, 136, 0),
(113, 137, 0),
(113, 138, 0),
(113, 139, 0),
(113, 140, 1),
(113, 142, 1),
(114, 1, 1),
(114, 34, 1),
(114, 135, 1),
(114, 136, 0),
(114, 137, 0),
(114, 138, 0),
(114, 139, 0),
(114, 140, 1),
(114, 142, 1),
(115, 1, 1),
(115, 34, 0),
(115, 37, 0),
(115, 135, 1),
(115, 136, 0),
(115, 137, 0),
(115, 138, 0),
(115, 139, 0),
(115, 140, 1),
(115, 142, 0),
(115, 241, 1),
(115, 271, 1),
(115, 291, 1),
(118, 1, 1),
(118, 34, 0),
(118, 135, 1),
(118, 136, 0),
(118, 137, 0),
(118, 138, 0),
(118, 139, 0),
(118, 140, 1),
(118, 142, 1),
(118, 241, 1),
(118, 271, 1),
(119, 1, 1),
(119, 34, 1),
(119, 35, 0),
(119, 135, 1),
(119, 136, 0),
(119, 137, 0),
(119, 138, 0),
(119, 139, 0),
(119, 140, 1),
(119, 142, 1),
(119, 201, 1),
(119, 271, 1),
(120, 1, 1),
(120, 34, 1),
(120, 135, 1),
(120, 136, 0),
(120, 137, 0),
(120, 138, 0),
(120, 139, 0),
(120, 140, 1),
(120, 142, 1),
(121, 1, 1),
(121, 34, 1),
(121, 135, 1),
(121, 136, 0),
(121, 137, 0),
(121, 138, 0),
(121, 139, 0),
(121, 140, 1),
(121, 142, 1),
(122, 1, 1),
(122, 34, 1),
(122, 42, 0),
(122, 135, 1),
(122, 136, 0),
(122, 137, 0),
(122, 138, 0),
(122, 139, 0),
(122, 140, 1),
(122, 142, 1),
(123, 37, 0),
(123, 241, 0),
(123, 271, 0),
(123, 291, 1),
(124, 1, 1),
(124, 34, 1),
(124, 135, 1),
(124, 136, 0),
(124, 137, 0),
(124, 138, 0),
(124, 139, 0),
(124, 140, 1),
(124, 142, 1),
(125, 1, 1),
(125, 34, 0),
(125, 135, 1),
(125, 136, 0),
(125, 137, 0),
(125, 138, 0),
(125, 139, 0),
(125, 140, 1),
(125, 142, 0),
(125, 241, 1),
(125, 271, 1),
(126, 1, 1),
(126, 34, 0),
(126, 39, 1),
(126, 40, 0),
(126, 42, 0),
(126, 140, 1),
(126, 142, 0),
(126, 201, 1),
(126, 241, 0),
(126, 261, 0),
(126, 271, 1),
(127, 1, 1),
(127, 140, 1),
(127, 142, 1),
(128, 1, 1),
(128, 35, 1),
(128, 36, 1),
(128, 39, 1),
(128, 42, 0),
(128, 140, 0),
(128, 142, 0),
(128, 151, 1),
(128, 161, 1),
(128, 201, 1),
(129, 1, 1),
(129, 140, 1),
(129, 142, 1),
(130, 1, 1),
(130, 140, 1),
(130, 142, 1),
(131, 1, 1),
(131, 140, 1),
(131, 142, 1),
(132, 1, 1),
(132, 35, 1),
(132, 36, 1),
(132, 140, 1),
(132, 142, 1),
(132, 151, 1),
(132, 201, 1),
(132, 241, 1),
(132, 271, 1),
(133, 1, 1),
(133, 140, 1),
(133, 142, 1),
(133, 151, 1),
(133, 201, 1),
(133, 241, 1),
(133, 271, 1),
(134, 1, 1),
(134, 140, 1),
(134, 142, 1),
(135, 1, 1),
(135, 140, 1),
(135, 142, 1),
(135, 241, 1),
(135, 271, 1),
(136, 1, 1),
(136, 140, 1),
(136, 142, 1),
(136, 241, 1),
(137, 1, 1),
(137, 35, 1),
(137, 36, 1),
(137, 140, 1),
(137, 142, 1),
(137, 151, 1),
(137, 201, 1),
(137, 241, 1),
(137, 271, 1),
(138, 1, 1),
(138, 35, 1),
(138, 36, 1),
(138, 140, 1),
(138, 142, 1),
(138, 151, 1),
(138, 161, 0),
(138, 201, 1),
(138, 241, 1),
(138, 271, 1),
(139, 1, 1),
(139, 35, 1),
(139, 36, 1),
(139, 140, 1),
(139, 142, 1),
(139, 151, 1),
(139, 201, 1),
(140, 1, 1),
(140, 35, 1),
(140, 36, 1),
(140, 140, 1),
(140, 142, 1),
(140, 151, 1),
(140, 201, 1),
(140, 241, 1),
(140, 271, 1),
(141, 1, 1),
(141, 35, 1),
(141, 36, 1),
(141, 140, 1),
(141, 142, 1),
(141, 151, 1),
(141, 201, 1),
(142, 1, 1),
(142, 140, 1),
(142, 142, 1),
(142, 151, 1),
(142, 201, 1),
(143, 1, 1),
(143, 140, 1),
(143, 142, 1),
(143, 151, 1),
(143, 201, 1),
(144, 1, 1),
(144, 140, 1),
(144, 142, 1),
(144, 151, 1),
(144, 201, 1),
(145, 1, 1),
(145, 34, 1),
(145, 42, 0),
(145, 140, 0),
(145, 142, 1),
(146, 1, 1),
(146, 140, 1),
(146, 142, 1),
(147, 1, 1),
(147, 35, 1),
(147, 36, 1),
(147, 140, 1),
(147, 142, 1),
(147, 151, 1),
(147, 201, 1),
(147, 241, 1),
(147, 271, 1),
(148, 1, 1),
(148, 34, 1),
(148, 140, 1),
(148, 142, 1),
(149, 1, 1),
(149, 140, 1),
(149, 142, 1),
(150, 1, 1),
(150, 140, 1),
(150, 142, 1),
(150, 241, 1),
(151, 1, 1),
(151, 40, 1),
(151, 140, 0),
(151, 142, 0),
(152, 1, 1),
(152, 40, 1),
(152, 140, 1),
(152, 142, 1),
(153, 1, 1),
(153, 140, 1),
(153, 142, 1),
(154, 1, 1),
(154, 140, 1),
(154, 142, 1),
(154, 241, 1),
(155, 1, 1),
(155, 35, 1),
(155, 36, 1),
(155, 140, 1),
(155, 142, 1),
(155, 151, 1),
(155, 201, 1),
(155, 241, 1),
(155, 271, 1),
(156, 1, 1),
(156, 140, 1),
(156, 142, 1),
(156, 151, 1),
(156, 201, 1),
(157, 1, 1),
(157, 140, 1),
(157, 142, 1),
(157, 241, 1),
(158, 1, 1),
(158, 140, 1),
(158, 142, 1),
(159, 1, 1),
(159, 140, 1),
(159, 142, 1),
(160, 1, 1),
(160, 40, 1),
(160, 140, 1),
(160, 142, 1),
(161, 1, 1),
(161, 40, 1),
(161, 140, 1),
(161, 142, 1),
(162, 1, 1),
(162, 35, 1),
(162, 36, 1),
(162, 39, 1),
(162, 140, 1),
(162, 142, 1),
(162, 151, 1),
(162, 201, 1),
(163, 1, 1),
(163, 140, 1),
(163, 142, 1),
(164, 1, 1),
(164, 140, 1),
(164, 142, 1),
(165, 1, 1),
(165, 35, 1),
(165, 36, 1),
(165, 140, 1),
(165, 142, 1),
(165, 151, 1),
(165, 201, 1),
(165, 241, 1),
(165, 271, 1),
(166, 1, 1),
(166, 39, 0),
(166, 140, 1),
(166, 142, 1),
(167, 1, 1),
(167, 39, 1),
(167, 140, 1),
(167, 142, 1),
(167, 241, 1),
(168, 1, 1),
(168, 35, 1),
(168, 36, 1),
(168, 140, 1),
(168, 142, 1),
(168, 151, 1),
(168, 201, 1),
(168, 241, 1),
(168, 271, 1),
(169, 1, 1),
(169, 140, 1),
(169, 142, 1),
(169, 241, 1),
(169, 271, 1),
(170, 1, 1),
(170, 35, 1),
(170, 36, 1),
(170, 140, 1),
(170, 142, 1),
(170, 201, 1),
(170, 271, 1),
(171, 1, 1),
(171, 34, 1),
(180, 1, 1),
(180, 34, 1),
(181, 1, 1),
(181, 34, 1),
(182, 1, 1),
(182, 241, 1),
(182, 271, 1),
(183, 1, 1),
(184, 1, 1),
(185, 1, 1),
(300, 1, 1),
(300, 241, 0),
(300, 271, 1),
(301, 1, 1),
(301, 241, 1),
(301, 271, 1),
(311, 1, 1),
(321, 1, 1),
(331, 1, 1),
(341, 1, 1),
(351, 1, 1),
(361, 1, 1);

-- --------------------------------------------------------

--
-- Structure de la table `groupe_user_module_action`
--

CREATE TABLE `groupe_user_module_action` (
  `module_id` int(11) NOT NULL,
  `groupe_user_id` int(11) NOT NULL,
  `action_id` int(11) NOT NULL,
  `is_blocked` tinyint(4) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

-- --------------------------------------------------------

--
-- Structure de la table `groupe_user_objectif_type`
--

CREATE TABLE `groupe_user_objectif_type` (
  `groupe_id` bigint(20) NOT NULL,
  `objectif_type_id` bigint(20) NOT NULL,
  `is_authorized` tinyint(1) NOT NULL DEFAULT '0'
) ENGINE=InnoDB DEFAULT CHARSET=utf32 COLLATE=utf32_unicode_ci;

-- --------------------------------------------------------

--
-- Structure de la table `groupe_vendeur`
--

CREATE TABLE `groupe_vendeur` (
  `groupe_id` int(10) NOT NULL,
  `groupe_designation` varchar(56) NOT NULL,
  `groupe_type_id` tinyint(4) NOT NULL,
  `coef` tinyint(4) NOT NULL,
  `is_active` int(11) NOT NULL DEFAULT '0'
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Déchargement des données de la table `groupe_vendeur`
--

INSERT INTO `groupe_vendeur` (`groupe_id`, `groupe_designation`, `groupe_type_id`, `coef`, `is_active`) VALUES
(1, 'PET', 1, 1, 1),
(2, 'PLF', 1, 1, 1),
(3, 'PACK', 1, 1, 1),
(4, 'BISC', 1, 1, 0),
(5, 'Mixte', 1, 1, 0),
(6, 'Gros', 1, 5, 1);

-- --------------------------------------------------------

--
-- Structure de la table `groupe_vendeur_quota`
--

CREATE TABLE `groupe_vendeur_quota` (
  `article_id` bigint(20) NOT NULL,
  `unite_id` int(10) NOT NULL,
  `groupe_id` int(10) NOT NULL,
  `date` date NOT NULL,
  `article_unite_quantite` double NOT NULL,
  `quantite` double NOT NULL,
  `nbr_vendeurs` int(11) NOT NULL DEFAULT '0',
  `is_affected` tinyint(4) NOT NULL DEFAULT '0'
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

-- --------------------------------------------------------

--
-- Structure de la table `groupe_vendeur_quota_model`
--

CREATE TABLE `groupe_vendeur_quota_model` (
  `article_id` bigint(20) NOT NULL,
  `unite_id` int(20) NOT NULL,
  `groupe_id` int(10) NOT NULL,
  `quantite` double NOT NULL,
  `is_affected` tinyint(2) NOT NULL DEFAULT '0'
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

-- --------------------------------------------------------

--
-- Structure de la table `holidays`
--

CREATE TABLE `holidays` (
  `holiday_id` bigint(20) NOT NULL,
  `entreprise_id` bigint(20) DEFAULT NULL,
  `date` date DEFAULT NULL,
  `nb_days` tinyint(4) DEFAULT NULL,
  `description` varchar(256) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Déchargement des données de la table `holidays`
--

INSERT INTO `holidays` (`holiday_id`, `entreprise_id`, `date`, `nb_days`, `description`) VALUES
(1, 305, '2020-06-29', 2, 'EID Fitre'),
(6, 305, '2020-07-31', 2, 'EID Adha');

-- --------------------------------------------------------

--
-- Structure de la table `immobilier_usage_type`
--

CREATE TABLE `immobilier_usage_type` (
  `immobilier_usage_type_id` bigint(20) NOT NULL DEFAULT '0',
  `immobilier_usage_type_designation` varchar(256) COLLATE utf8_unicode_ci DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Déchargement des données de la table `immobilier_usage_type`
--

INSERT INTO `immobilier_usage_type` (`immobilier_usage_type_id`, `immobilier_usage_type_designation`) VALUES
(1, 'Administration'),
(2, 'Dépôt de stockage'),
(3, 'Fabrication'),
(4, 'Parc automobile'),
(5, 'Restauration & Habitation');

-- --------------------------------------------------------

--
-- Structure de la table `infraction`
--

CREATE TABLE `infraction` (
  `infraction_id` bigint(20) NOT NULL,
  `infraction_type_id` tinyint(4) DEFAULT NULL,
  `entreprise_id` bigint(20) DEFAULT NULL,
  `infraction_responsable_id` bigint(20) DEFAULT NULL,
  `lieu_id` bigint(20) DEFAULT NULL,
  `point_id` bigint(20) DEFAULT NULL,
  `sinistre` tinyint(1) NOT NULL,
  `sinistre_id` bigint(20) DEFAULT NULL,
  `autorite_declarante_id` bigint(20) DEFAULT NULL,
  `autorite_declarante_info` varchar(256) COLLATE utf8_unicode_ci DEFAULT NULL,
  `infraction_degre` tinyint(2) DEFAULT NULL,
  `infraction_date` datetime DEFAULT NULL,
  `infraction_date_day` date DEFAULT NULL,
  `infraction_declaration_date` datetime DEFAULT NULL,
  `infraction_declaration_date_day` date DEFAULT NULL,
  `infraction_declared_by` bigint(20) DEFAULT NULL,
  `infraction_designation` varchar(256) COLLATE utf8_unicode_ci DEFAULT NULL,
  `infraction_sanction_autorite` tinyint(1) DEFAULT NULL,
  `infraction_sanction_autorite_detention` tinyint(1) DEFAULT NULL,
  `infraction_sanction_autorite_detention_date_debut` date DEFAULT NULL,
  `infraction_sanction_autorite_detention_date_fin` date DEFAULT NULL,
  `infraction_sanction_autorite_fourriere` tinyint(1) DEFAULT NULL,
  `infraction_sanction_autorite_fourriere_date_debut` date DEFAULT NULL,
  `infraction_sanction_autorite_fourriere_date_fin` date DEFAULT NULL,
  `infraction_sanction_autorite_retrait_documents` tinyint(1) DEFAULT NULL,
  `infraction_sanction_autorite_retrait_documents_liste` varchar(256) COLLATE utf8_unicode_ci DEFAULT NULL,
  `infraction_sanction_autorite_retrait_documents_date_debut` date DEFAULT NULL,
  `infraction_sanction_autorite_retrait_documents_date_fin` date DEFAULT NULL,
  `infraction_sanction_autorite_amende` double DEFAULT NULL,
  `infraction_sanction_autorite_amende_paiement` tinyint(1) DEFAULT NULL,
  `infraction_sanction_autorite_amende_paiement_entreprise` tinyint(1) DEFAULT NULL,
  `infraction_sanction_autorite_amende_paiement_responsable` tinyint(1) DEFAULT NULL,
  `infraction_sanction_entreprise` tinyint(4) DEFAULT NULL,
  `infraction_sanction_entreprise_by` bigint(20) DEFAULT NULL,
  `infraction_sanction_entreprise_type_id` tinyint(4) DEFAULT NULL,
  `infraction_sanction_entreprise_date_debut` date DEFAULT NULL,
  `infraction_sanction_entreprise_date_fin` date DEFAULT NULL,
  `infraction_sanction_entreprise_amount_to_pay` double DEFAULT NULL,
  `infraction_sanction_entreprise_amount_paid` tinyint(4) DEFAULT NULL,
  `infraction_sanction_entreprise_responsable_notified` tinyint(4) DEFAULT NULL,
  `infraction_sanction_entreprise_responsable_notification_date` datetime DEFAULT NULL,
  `infraction_detail` text COLLATE utf8_unicode_ci,
  `infraction_damage_evaluation` double NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Déchargement des données de la table `infraction`
--

INSERT INTO `infraction` (`infraction_id`, `infraction_type_id`, `entreprise_id`, `infraction_responsable_id`, `lieu_id`, `point_id`, `sinistre`, `sinistre_id`, `autorite_declarante_id`, `autorite_declarante_info`, `infraction_degre`, `infraction_date`, `infraction_date_day`, `infraction_declaration_date`, `infraction_declaration_date_day`, `infraction_declared_by`, `infraction_designation`, `infraction_sanction_autorite`, `infraction_sanction_autorite_detention`, `infraction_sanction_autorite_detention_date_debut`, `infraction_sanction_autorite_detention_date_fin`, `infraction_sanction_autorite_fourriere`, `infraction_sanction_autorite_fourriere_date_debut`, `infraction_sanction_autorite_fourriere_date_fin`, `infraction_sanction_autorite_retrait_documents`, `infraction_sanction_autorite_retrait_documents_liste`, `infraction_sanction_autorite_retrait_documents_date_debut`, `infraction_sanction_autorite_retrait_documents_date_fin`, `infraction_sanction_autorite_amende`, `infraction_sanction_autorite_amende_paiement`, `infraction_sanction_autorite_amende_paiement_entreprise`, `infraction_sanction_autorite_amende_paiement_responsable`, `infraction_sanction_entreprise`, `infraction_sanction_entreprise_by`, `infraction_sanction_entreprise_type_id`, `infraction_sanction_entreprise_date_debut`, `infraction_sanction_entreprise_date_fin`, `infraction_sanction_entreprise_amount_to_pay`, `infraction_sanction_entreprise_amount_paid`, `infraction_sanction_entreprise_responsable_notified`, `infraction_sanction_entreprise_responsable_notification_date`, `infraction_detail`, `infraction_damage_evaluation`) VALUES
(2, 3, 122, 186, NULL, NULL, 1, NULL, NULL, NULL, NULL, NULL, '2018-04-10', NULL, NULL, NULL, NULL, 0, 0, NULL, NULL, 0, NULL, NULL, 0, NULL, NULL, NULL, 0, NULL, 0, 0, 1, NULL, NULL, NULL, NULL, 0, NULL, 0, NULL, 'sds', 0),
(3, 1, 122, 183, NULL, NULL, 1, NULL, NULL, NULL, NULL, NULL, '2019-01-20', NULL, NULL, NULL, NULL, 1, 0, '2019-01-20', NULL, 0, NULL, NULL, 0, NULL, NULL, NULL, 0, NULL, 0, 0, 1, NULL, NULL, '2019-01-20', '2019-01-30', 0, NULL, 0, NULL, 'il a rien fait', 0),
(11, 22, 305, 314, NULL, NULL, 1, NULL, NULL, NULL, NULL, '2024-01-31 00:00:00', '2024-01-31', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'test', 20000),
(21, 13, 305, 314, NULL, NULL, 0, NULL, NULL, NULL, NULL, '2024-02-13 00:00:00', '2024-02-13', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, NULL, NULL, '2024-02-13', '2024-02-27', NULL, NULL, NULL, NULL, 'cc', 0),
(31, 13, 305, 314, NULL, NULL, 0, NULL, NULL, NULL, NULL, '2024-03-05 00:00:00', '2024-03-05', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0),
(41, 13, 305, 316, NULL, NULL, 0, NULL, NULL, NULL, NULL, '2024-04-07 00:00:00', '2024-04-07', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 30000),
(51, 15, 305, 316, NULL, NULL, 0, NULL, NULL, NULL, NULL, '2024-04-07 00:00:00', '2024-04-07', NULL, NULL, NULL, NULL, NULL, NULL, '2024-04-07', '2024-04-07', NULL, '2024-04-07', '2024-04-07', NULL, NULL, '2024-04-07', '2024-04-07', 10000, NULL, NULL, NULL, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'details', 0);

-- --------------------------------------------------------

--
-- Structure de la table `infraction_documentfile`
--

CREATE TABLE `infraction_documentfile` (
  `infraction_id` bigint(20) NOT NULL,
  `document_file_id` bigint(20) NOT NULL,
  `document_type_id` int(11) DEFAULT NULL,
  `is_default` tinyint(1) DEFAULT NULL,
  `document_ordre` int(11) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Déchargement des données de la table `infraction_documentfile`
--

INSERT INTO `infraction_documentfile` (`infraction_id`, `document_file_id`, `document_type_id`, `is_default`, `document_ordre`) VALUES
(3, 1570, NULL, NULL, NULL);

-- --------------------------------------------------------

--
-- Structure de la table `infraction_ressource`
--

CREATE TABLE `infraction_ressource` (
  `infraction_id` bigint(20) NOT NULL,
  `ressource_id` bigint(20) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Déchargement des données de la table `infraction_ressource`
--

INSERT INTO `infraction_ressource` (`infraction_id`, `ressource_id`) VALUES
(51, 1),
(3, 725);

-- --------------------------------------------------------

--
-- Structure de la table `infraction_sanction_type`
--

CREATE TABLE `infraction_sanction_type` (
  `infraction_sanction_type_id` bigint(20) NOT NULL,
  `infraction_sanction_type_designation` varchar(256) COLLATE utf8_unicode_ci DEFAULT NULL,
  `entreprise_id` bigint(20) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Déchargement des données de la table `infraction_sanction_type`
--

INSERT INTO `infraction_sanction_type` (`infraction_sanction_type_id`, `infraction_sanction_type_designation`, `entreprise_id`) VALUES
(1, 'Avertissement verbal', 122),
(2, 'Avertissement écrit', 122),
(3, 'Blâme écrit', 122),
(4, 'Mise à pied disciplinaire, période précise et délimitée, contrat suspendu', 122),
(5, 'Mise à pied conservatoire', 122),
(6, 'Licenciement', 122),
(7, 'Avertissement verbal', 305),
(8, 'Avertissement écrit', 305),
(9, 'Blâme écrit', 305),
(10, 'Mise à pied disciplinaire, période précise et délimitée, contrat suspendu', 305),
(11, 'Mise à pied conservatoire', 305),
(12, 'Licenciement', 305);

-- --------------------------------------------------------

--
-- Structure de la table `infraction_temoins`
--

CREATE TABLE `infraction_temoins` (
  `infraction_id` bigint(20) NOT NULL,
  `contact_id` bigint(20) NOT NULL,
  `temoins_report` text COLLATE utf8_unicode_ci
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Déchargement des données de la table `infraction_temoins`
--

INSERT INTO `infraction_temoins` (`infraction_id`, `contact_id`, `temoins_report`) VALUES
(2, 177, 'fdghhg'),
(3, 183, 'il a dit la vérité ');

-- --------------------------------------------------------

--
-- Structure de la table `infraction_type`
--

CREATE TABLE `infraction_type` (
  `infraction_type_id` bigint(20) NOT NULL,
  `infraction_type_designation` varchar(256) COLLATE utf8_unicode_ci DEFAULT NULL,
  `entreprise_id` bigint(20) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Déchargement des données de la table `infraction_type`
--

INSERT INTO `infraction_type` (`infraction_type_id`, `infraction_type_designation`, `entreprise_id`) VALUES
(1, 'Abus de confiance, usage non professionnelle des outils de travail', 122),
(2, 'Non respect du code de la route', 122),
(3, 'Non respect des heures de travail', 122),
(4, 'Absences injustifiées ou abandon de poste', 122),
(5, 'Non respect du préavis', 122),
(6, 'Refus d\'effectuer une tâche de travail', 122),
(7, 'Harcèlement, violences ou injures envers l\'employeur ou d\'autres salariés', 122),
(8, 'Vols dans l\'entreprise', 122),
(9, 'Etat d\'ivresse pendant les heures de travail', 122),
(10, 'Publier des informations confidentielles', 122),
(11, 'Détérioration des biens', 122),
(12, 'Abus de confiance, usage non professionnelle des outils de travail', 305),
(13, 'Non respect du code de la route', 305),
(14, 'Non respect des heures de travail', 305),
(15, 'Absences injustifiées ou abandon de poste', 305),
(16, 'Non respect du préavis', 305),
(17, 'Refus d\'effectuer une tâche de travail', 305),
(18, 'Harcèlement, violences ou injures envers l\'employeur ou d\'autres salariés', 305),
(19, 'Vols dans l\'entreprise', 305),
(20, 'Etat d\'ivresse pendant les heures de travail', 305),
(21, 'Publier des informations confidentielles', 305),
(22, 'Détérioration des biens', 305);

-- --------------------------------------------------------

--
-- Structure de la table `inscription`
--

CREATE TABLE `inscription` (
  `inscription_id` bigint(20) NOT NULL,
  `date_inscription` datetime DEFAULT NULL,
  `num_telephone` int(10) DEFAULT NULL,
  `entreprise_id` bigint(20) DEFAULT NULL,
  `adresse` varchar(30) DEFAULT NULL,
  `latitude` varchar(10) DEFAULT NULL,
  `longitude` varchar(10) DEFAULT NULL,
  `nom` varchar(20) DEFAULT NULL,
  `prenom` varchar(25) DEFAULT NULL,
  `password` varchar(25) DEFAULT NULL,
  `gps` tinyint(1) DEFAULT NULL,
  `parc_auto` tinyint(1) DEFAULT NULL,
  `gestion_stock` tinyint(1) DEFAULT NULL,
  `gestion_missions` tinyint(1) DEFAULT NULL,
  `vente_mobile` int(1) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

-- --------------------------------------------------------

--
-- Structure de la table `inscriptions`
--

CREATE TABLE `inscriptions` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `email` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `wilaya` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `commune` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `adresse` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `longitude` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `latitude` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `geoloc_gps` tinyint(1) DEFAULT '0',
  `gestion_park` tinyint(1) DEFAULT '0',
  `gestion_stock` tinyint(1) DEFAULT '0',
  `gestion_missions` tinyint(1) DEFAULT '0',
  `vente_mobile` tinyint(1) DEFAULT '0',
  `nombre_vehicules` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `nombre_vendeurs` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `domaine_activite` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Déchargement des données de la table `inscriptions`
--

INSERT INTO `inscriptions` (`id`, `email`, `wilaya`, `commune`, `adresse`, `longitude`, `latitude`, `geoloc_gps`, `gestion_park`, `gestion_stock`, `gestion_missions`, `vente_mobile`, `nombre_vehicules`, `nombre_vendeurs`, `domaine_activite`, `created_at`, `updated_at`) VALUES
(8, 'emulateur@gmail.com', NULL, NULL, 'inconnu', '0.0', '0.0', 1, 1, 1, 1, 1, '123456', '123456', 'BTP', '2019-07-31 11:15:01', '2019-07-31 11:15:01'),
(9, 'a@aa.aa', NULL, NULL, 'inconnu', '0.0', '0.0', 1, 1, 1, 1, 1, '195', '20000', 'Banque', '2019-08-01 11:50:20', '2019-08-01 11:50:20'),
(10, 'Aa@gmail.com', NULL, NULL, NULL, NULL, NULL, 1, 0, 1, 0, 0, '4', '2', 'BTP', '2019-08-06 12:09:47', '2019-08-06 12:09:47'),
(11, 'd@d.d', NULL, NULL, 'inconnu', '0.0', '0.0', 1, 1, 1, 1, 1, '4545', '123126', 'BTP', '2019-11-24 11:45:39', '2019-11-24 11:45:39');

-- --------------------------------------------------------

--
-- Structure de la table `intervention_server`
--

CREATE TABLE `intervention_server` (
  `intervention_server_id` bigint(20) NOT NULL,
  `intervention_server_type_id` int(11) DEFAULT NULL,
  `server_id` bigint(20) DEFAULT NULL,
  `intervention_server_montant` double DEFAULT NULL,
  `intervention_server_date_start` datetime DEFAULT NULL,
  `intervention_server_date_start_day` date DEFAULT NULL,
  `intervention_server_date_end` datetime DEFAULT NULL,
  `intervention_server_date_end_day` date DEFAULT NULL,
  `intervention_server_remarque` text
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Déchargement des données de la table `intervention_server`
--

INSERT INTO `intervention_server` (`intervention_server_id`, `intervention_server_type_id`, `server_id`, `intervention_server_montant`, `intervention_server_date_start`, `intervention_server_date_start_day`, `intervention_server_date_end`, `intervention_server_date_end_day`, `intervention_server_remarque`) VALUES
(1, 1, 1, 1200, '2017-10-03 00:00:00', '2017-10-03', '2017-10-05 01:00:00', '2017-10-05', 'pas de remarque');

-- --------------------------------------------------------

--
-- Structure de la table `intervention_server_type`
--

CREATE TABLE `intervention_server_type` (
  `intervention_server_type_id` int(11) NOT NULL,
  `intervention_server_type_designation` varchar(256) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Déchargement des données de la table `intervention_server_type`
--

INSERT INTO `intervention_server_type` (`intervention_server_type_id`, `intervention_server_type_designation`) VALUES
(1, 'Reboot'),
(2, 'Changement disque'),
(3, 'Réparation Hard');

-- --------------------------------------------------------

--
-- Structure de la table `intervention_vehicule`
--

CREATE TABLE `intervention_vehicule` (
  `intervention_vehicule_id` bigint(20) NOT NULL,
  `intervention_vehicule_type_id` int(11) DEFAULT NULL,
  `vehicule_id` bigint(20) DEFAULT NULL,
  `intervention_vehicule_montant` double DEFAULT NULL,
  `intervention_vehicule_date_start` datetime DEFAULT NULL,
  `intervention_vehicule_date_start_day` date DEFAULT NULL,
  `intervention_vehicule_date_end` datetime DEFAULT NULL,
  `intervention_vehicule_date_end_day` date DEFAULT NULL,
  `intervention_vehicule_remarque` text
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Déchargement des données de la table `intervention_vehicule`
--

INSERT INTO `intervention_vehicule` (`intervention_vehicule_id`, `intervention_vehicule_type_id`, `vehicule_id`, `intervention_vehicule_montant`, `intervention_vehicule_date_start`, `intervention_vehicule_date_start_day`, `intervention_vehicule_date_end`, `intervention_vehicule_date_end_day`, `intervention_vehicule_remarque`) VALUES
(1, 4, 3, 600, '2017-10-04 00:00:00', '2017-10-04', '2017-10-04 02:30:00', '2017-10-04', 'remarque 1'),
(2, 5, 21, 1000, '2017-10-04 00:45:00', '2017-10-04', '2017-10-04 01:00:00', '2017-10-04', 'pas de remarque'),
(3, 2, 76, 1500, '2017-10-08 00:15:00', '2017-10-08', '2017-10-08 01:00:00', '2017-10-08', 'remarque2');

-- --------------------------------------------------------

--
-- Structure de la table `intervention_vehicule_type`
--

CREATE TABLE `intervention_vehicule_type` (
  `intervention_vehicule_type_id` int(11) NOT NULL,
  `intervention_vehicule_type_designation` varchar(256) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Déchargement des données de la table `intervention_vehicule_type`
--

INSERT INTO `intervention_vehicule_type` (`intervention_vehicule_type_id`, `intervention_vehicule_type_designation`) VALUES
(1, 'Installation'),
(2, 'Désinstallation'),
(3, 'Déblocage'),
(4, 'Changement'),
(5, 'Reboot gps'),
(6, 'Déplacement inutile');

-- --------------------------------------------------------

--
-- Structure de la table `lang`
--

CREATE TABLE `lang` (
  `lang_id` bigint(20) NOT NULL,
  `lang_code` varchar(10) COLLATE utf8_unicode_ci DEFAULT NULL,
  `lang_designation` varchar(256) COLLATE utf8_unicode_ci DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

-- --------------------------------------------------------

--
-- Structure de la table `lang_text`
--

CREATE TABLE `lang_text` (
  `lang_text_id` bigint(20) NOT NULL,
  `lang_id` bigint(20) DEFAULT NULL,
  `lang_text` text COLLATE utf8_unicode_ci
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

-- --------------------------------------------------------

--
-- Structure de la table `lieu`
--

CREATE TABLE `lieu` (
  `lieu_id` bigint(20) NOT NULL,
  `entreprise_id` bigint(20) NOT NULL,
  `lieu_codification_valeur` varchar(30) COLLATE utf8_unicode_ci NOT NULL,
  `lieu_type_id` bigint(20) NOT NULL,
  `lieu_surface` double NOT NULL,
  `lieu_volume` double NOT NULL,
  `lieu_dimension_longueur` double NOT NULL,
  `lieu_dimension_largeur` double NOT NULL,
  `lieu_dimension_hauteur` double NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Déchargement des données de la table `lieu`
--

INSERT INTO `lieu` (`lieu_id`, `entreprise_id`, `lieu_codification_valeur`, `lieu_type_id`, `lieu_surface`, `lieu_volume`, `lieu_dimension_longueur`, `lieu_dimension_largeur`, `lieu_dimension_hauteur`) VALUES
(1, 122, '1', 1, 200, 200, 100, 120, 130);

-- --------------------------------------------------------

--
-- Structure de la table `lieu_access`
--

CREATE TABLE `lieu_access` (
  `lieu_access_id` bigint(20) NOT NULL,
  `entreprise_id` bigint(20) DEFAULT NULL,
  `lieu_id` bigint(20) DEFAULT NULL,
  `received` tinyint(1) DEFAULT NULL,
  `received_by` bigint(20) DEFAULT NULL,
  `received_date` datetime DEFAULT NULL,
  `date_arrivee` datetime DEFAULT NULL,
  `duree_attente` bigint(20) DEFAULT NULL,
  `remarque_visiteur` text COLLATE utf8_unicode_ci,
  `message_visiteur` text COLLATE utf8_unicode_ci,
  `message_to_visiteur` text COLLATE utf8_unicode_ci,
  `motif` varchar(256) COLLATE utf8_unicode_ci DEFAULT NULL,
  `security_report_text` text COLLATE utf8_unicode_ci,
  `security_report_by` bigint(20) DEFAULT NULL,
  `security_report_date` datetime DEFAULT NULL,
  `is_deleted` tinyint(1) DEFAULT NULL,
  `deleted_date` datetime DEFAULT NULL,
  `archived` tinyint(1) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

-- --------------------------------------------------------

--
-- Structure de la table `lieu_access_accompagnement`
--

CREATE TABLE `lieu_access_accompagnement` (
  `lieu_access_id` bigint(20) NOT NULL DEFAULT '0',
  `contact_id` bigint(20) NOT NULL DEFAULT '0',
  `badge_id` bigint(20) DEFAULT NULL,
  `date_entree` datetime DEFAULT NULL,
  `date_sortie` datetime DEFAULT NULL,
  `remarque` varchar(256) COLLATE utf8_unicode_ci DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

-- --------------------------------------------------------

--
-- Structure de la table `lieu_contact_departement`
--

CREATE TABLE `lieu_contact_departement` (
  `lieu_id` bigint(20) NOT NULL,
  `departement_id` bigint(20) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

-- --------------------------------------------------------

--
-- Structure de la table `lieu_type`
--

CREATE TABLE `lieu_type` (
  `lieu_type_id` bigint(20) NOT NULL,
  `lieu_type_designation` varchar(50) COLLATE utf8_unicode_ci NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Déchargement des données de la table `lieu_type`
--

INSERT INTO `lieu_type` (`lieu_type_id`, `lieu_type_designation`) VALUES
(1, 'Salle de réunion');

-- --------------------------------------------------------

--
-- Structure de la table `localisation_commune`
--

CREATE TABLE `localisation_commune` (
  `commune_id` int(11) NOT NULL,
  `commune_intitule` varchar(50) COLLATE utf8_unicode_ci DEFAULT NULL,
  `wilaya_id` int(11) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Déchargement des données de la table `localisation_commune`
--

INSERT INTO `localisation_commune` (`commune_id`, `commune_intitule`, `wilaya_id`) VALUES
(1, 'ADRAR', 1),
(2, 'TAMEST', 1),
(3, 'CHAROUINE', 1),
(4, 'REGGANE', 1),
(5, 'IN-ZEGMIR', 1),
(6, 'TIT', 1),
(7, 'KSAR-KADDOUR', 1),
(8, 'T\'SABIT', 1),
(9, 'TIMIMOUN', 1),
(10, 'OULED-SAID', 1),
(11, 'ZAOUIET-KOUNTA', 1),
(12, 'AOULEF', 1),
(13, 'TIMOKTENE', 1),
(14, 'TAMENTIT', 1),
(15, 'FENOUGHIL', 1),
(16, 'TENERKOUK', 1),
(17, 'DELDOUL', 1),
(18, 'SALI', 1),
(19, 'AKABLI', 1),
(20, 'METARFA', 1),
(21, 'OULED-AHMED-TIMMI', 1),
(22, 'BOUDA', 1),
(23, 'AOUGROUT', 1),
(24, 'TALMINE', 1),
(25, 'BORDJ-BADJI-MOKHTAR', 1),
(26, 'SBAA', 1),
(27, 'OULED-AISSA', 1),
(28, 'TIMIAOUINE', 1),
(29, 'ECH-CHELIFF', 2),
(30, 'TENES', 2),
(31, 'BENARIA', 2),
(32, 'EL-KARIMIA', 2),
(33, 'TADJENA', 2),
(34, 'TAOUGRITE', 2),
(35, 'BENI-HAOUA', 2),
(36, 'SOBHA', 2),
(37, 'HARCHOUN', 2),
(38, 'OULED-FARES', 2),
(39, 'SIDI-AKACHA', 2),
(40, 'BOUKADIR', 2),
(41, 'BENI-RACHED', 2),
(42, 'TALASSA', 2),
(43, 'HARENFA', 2),
(44, 'OUED-GOUSSINE', 2),
(45, 'DAHRA', 2),
(46, 'OULED-ABBAS', 2),
(47, 'SENDJAS', 2),
(48, 'ZEBOUDJA', 2),
(49, 'OUED-SLY', 2),
(50, 'ABOU-EL-HASSAN', 2),
(51, 'EL-MARSA', 2),
(52, 'CHETTIA', 2),
(53, 'MOUSSADEK', 2),
(54, 'EL-HADJADJ', 2),
(55, 'OUED-FODDA', 2),
(56, 'OULED-BEN-ABDELKADER', 2),
(57, 'BOUZEGHAIA', 2),
(58, 'AIN-MERANE', 2),
(59, 'BREIRA', 2),
(60, 'BENI-BOUATEB', 2),
(61, 'SIDI-ABDERRAHMANE', 2),
(62, 'OUM-DROU', 2),
(63, 'LABIODH-MEDJADJA', 2),
(64, 'LAGHOUAT', 3),
(65, 'KSAR-EL-HIRANE', 3),
(66, 'BENACER-BENCHOHRA', 3),
(67, 'SIDI-MAKHLOUF', 3),
(68, 'HASSI-DELAA', 3),
(69, 'HASSI-R', 3),
(70, 'AIN-MADHI', 3),
(71, 'TADJEMOUT', 3),
(72, 'KHENEG', 3),
(73, 'GUELTAT-SIDI-SAAD', 3),
(74, 'AIN-SIDI-ALI', 3),
(75, 'BEIDHA', 3),
(76, 'BRIDA', 3),
(77, 'EL-GHICHA', 3),
(78, 'HADJ-MECHERI', 3),
(79, 'SEBGAG', 3),
(80, 'TAOUIALA', 3),
(81, 'TADJEROUNA', 3),
(82, 'AFLOU', 3),
(83, 'EL-ASSAFIA', 3),
(84, 'OUED-MORRA', 3),
(85, 'OUED-M', 3),
(86, 'EL-HOUITA', 3),
(87, 'SIDI-BOUZID', 3),
(88, 'OUM-EL-BOUAGHI', 4),
(89, 'AIN-BEIDA', 4),
(90, 'AIN-M', 4),
(91, 'BEHAIR-CHERGUI', 4),
(92, 'EL-AMIRIA', 4),
(93, 'SIGUS', 4),
(94, 'EL-BELLALA', 4),
(95, 'AIN-BABOUCHE', 4),
(96, 'BERRICHE', 4),
(97, 'OULED-HAMLA', 4),
(98, 'DHALAA', 4),
(99, 'AIN-KERCHA', 4),
(100, 'HANCHIR-TOUMGHANI', 4),
(101, 'AIN-DISS', 4),
(102, 'F\'\'KIRINA', 4),
(103, 'SOUK-NAAMANE', 4),
(104, 'ZORG', 4),
(105, 'EL-FEDJOUDJ-BOUGHRARA-SAOUDI', 4),
(106, 'OULED-ZOUI', 4),
(107, 'BIR-CHOUHADA', 4),
(108, 'KSAR-SBAHI', 4),
(109, 'OUED-NINI', 4),
(110, 'MESKIANA', 4),
(111, 'AIN-FAKROUN', 4),
(112, 'RAHIA', 4),
(113, 'AIN-ZITOUN', 4),
(114, 'OULED-GACEM', 4),
(115, 'EL-HARMELIA', 4),
(116, 'DJAZIA', 4),
(117, 'BATNA', 5),
(118, 'GHASSIRA', 5),
(119, 'MAAFA', 5),
(120, 'MEROUANA', 5),
(121, 'SERIANA', 5),
(122, 'MENAA', 5),
(123, 'EL-MADHER', 5),
(124, 'TAZOULT', 5),
(125, 'N\'\'GAOUS', 5),
(126, 'GUIGBA', 5),
(127, 'INOUGHISSENE', 5),
(128, 'AIN-EL-ASSAFEUR', 5),
(129, 'DJERMA', 5),
(130, 'BITAM', 5),
(131, 'ABDELKADER-AZIL', 5),
(132, 'ARRIS', 5),
(133, 'KIMEL', 5),
(134, 'TILATOU', 5),
(135, 'AIN-DJASSER', 5),
(136, 'OULED-SELLEM', 5),
(137, 'TIGHERGHAR', 5),
(138, 'AIN-YAGOUT', 5),
(139, 'FESDIS', 5),
(140, 'SEFIANE', 5),
(141, 'RAHBAT', 5),
(142, 'TIGHANIMINE', 5),
(143, 'BENI-FOUDALA-EL-HAKANIA', 5),
(144, 'KSAR-BELEZMA', 5),
(145, 'SEGGANA', 5),
(146, 'ICHMOUL', 5),
(147, 'FOUM-TOUB', 5),
(148, 'LEMSANE', 5),
(149, 'OUED-EL-MA', 5),
(150, 'TALKHAMT', 5),
(151, 'BOUZINA', 5),
(152, 'CHEMMORA', 5),
(153, 'OUED-CHAABA', 5),
(154, 'TAXLENT', 5),
(155, 'GUECHA', 5),
(156, 'OULED-AOUF', 5),
(157, 'BOUMAGUEUR', 5),
(158, 'BARIKA', 5),
(159, 'DJEZAR', 5),
(160, 'TKOUT', 5),
(161, 'AIN-TOUTA', 5),
(162, 'HIDOUSSA', 5),
(163, 'TENIET-EL-ABED', 5),
(164, 'OUED-TAGA', 5),
(165, 'OULED-FADHEL', 5),
(166, 'TIMGAD', 5),
(167, 'RAS-EL-AIOUN', 5),
(168, 'M\'\'DOUKEL', 5),
(169, 'OULED-SI-SLIMANE', 5),
(170, 'ZANA-EL-BEIDA', 5),
(171, 'CHIR', 5),
(172, 'OULED-AMMAR', 5),
(173, 'EL-HASSI', 5),
(174, 'LAZROU', 5),
(175, 'BOMIA', 5),
(176, 'BOULHILET', 5),
(177, 'LARBAA', 5),
(178, 'BEJAIA', 6),
(179, 'AMIZOUR', 6),
(180, 'FERRAOUN', 6),
(181, 'TAOURIRT-IGHIL', 6),
(182, 'TAMOKRA', 6),
(183, 'CHELLATA', 6),
(184, 'TIMZRIT', 6),
(185, 'SOUK-EL-TENINE', 6),
(186, 'M\'\'CISNA', 6),
(187, 'THINEBDHER', 6),
(188, 'TICHY', 6),
(189, 'SEMAOUNE', 6),
(190, 'KENDIRA', 6),
(191, 'TIFRA', 6),
(192, 'IGHRAM', 6),
(193, 'AMALOU', 6),
(194, 'IGHIL-ALI', 6),
(195, 'IFLAINE-EL-MATEN', 6),
(196, 'TOUDJA', 6),
(197, 'DARGUINA', 6),
(198, 'SIDI-AYAD', 6),
(199, 'AOKAS', 6),
(200, 'BENI-DJELLIL', 6),
(201, 'ADEKAR', 6),
(202, 'AKBOU', 6),
(203, 'SEDDOUK', 6),
(204, 'TAZMALT', 6),
(205, 'AITRIZINE', 6),
(206, 'CHEMINI', 6),
(207, 'SOUK-OUFELLA', 6),
(208, 'TASKRIOUT', 6),
(209, 'TIBANE', 6),
(210, 'TALA-HAMZA', 6),
(211, 'BARBACHA', 6),
(212, 'BENI-K', 6),
(213, 'IFRI-OUZELLAGUEN', 6),
(214, 'BOUHAMZA', 6),
(215, 'BENI-MELIKECHE', 6),
(216, 'SIDI-AICH', 6),
(217, 'EL-KSEUR', 6),
(218, 'MELBOU', 6),
(219, 'AKFADOU', 6),
(220, 'LEFLAYE', 6),
(221, 'KHERRATA', 6),
(222, 'DRAA-EL-KAID', 6),
(223, 'TAMRIDJET', 6),
(224, 'AIT-SMAIL', 6),
(225, 'BOUKHELIFA', 6),
(226, 'TIZI-N', 6),
(227, 'BENI-MAOUCHE', 6),
(228, 'OUED-GHIR', 6),
(229, 'BOUDJELLIL', 6),
(230, 'BISKRA', 7),
(231, 'OUMACHE', 7),
(232, 'BRANIS', 7),
(233, 'CHETMA', 7),
(234, 'OULED-DJELLAL', 7),
(235, 'RAS-EL-MIAAD', 7),
(236, 'BESBES', 7),
(237, 'SIDI-KHALED', 7),
(238, 'DOUCEN', 7),
(239, 'CHAIBA', 7),
(240, 'SIDI-OKBA', 7),
(241, 'M\'\'CHOUNECH', 7),
(242, 'EL-HAOUCH', 7),
(243, 'AIN-NAGA', 7),
(244, 'ZERIBET-EL-OUED', 7),
(245, 'EL-FEIDH', 7),
(246, 'EL-KANTARA', 7),
(247, 'AIN-ZAATOUT', 7),
(248, 'EL-OUTAYA', 7),
(249, 'DJEMOURAH', 7),
(250, 'TOLGA', 7),
(251, 'LIOUA', 7),
(252, 'LICHANA', 7),
(253, 'OURLAL', 7),
(254, 'M\'\'LILI', 7),
(255, 'FOUGHALA', 7),
(256, 'BORDJ-BENAZZOUZ', 7),
(257, 'MEZIRAA', 7),
(258, 'BOUCHAGROUNE', 7),
(259, 'MEKHADMA', 7),
(260, 'EL-GHROUS', 7),
(261, 'EL-HADJEB', 7),
(262, 'KHANGAT-SIDI-NADJI', 7),
(263, 'BECHAR', 8),
(264, 'ARG-FERRADJ', 8),
(265, 'OULED-KHODEIR', 8),
(266, 'MERIDJA', 8),
(267, 'TIMOUDI', 8),
(268, 'LAHMAR', 8),
(269, 'BENI-ABBES', 8),
(270, 'BENI-IKHLEF', 8),
(271, 'MACHRA-H-BOUMEDIENE', 8),
(272, 'KENADSA', 8),
(273, 'IGLI', 8),
(274, 'TABELBALA', 8),
(275, 'TAGHIT', 8),
(276, 'EL-OUATA', 8),
(277, 'BOUKAIS', 8),
(278, 'MOUGHEUL', 8),
(279, 'ABADLA', 8),
(280, 'KERZAZ', 8),
(281, 'KSABI', 8),
(282, 'TAMTERT', 8),
(283, 'BENI-OUNIF', 8),
(284, 'BLIDA', 9),
(285, 'BOUINAN', 9),
(286, 'CHEBLI', 9),
(287, 'OUED-EL-ALLEUG', 9),
(288, 'OULED-YAICH', 9),
(289, 'CHREA', 9),
(290, 'EL-AFFROUN', 9),
(291, 'CHIFFA', 9),
(292, 'HAMMAM-EL-OUANE', 9),
(293, 'BEN-KHELLIL', 9),
(294, 'SOUMAA', 9),
(295, 'MOUZAIA', 9),
(296, 'SOHANE', 9),
(297, 'MEFTAH', 9),
(298, 'OULED-SELAMA', 9),
(299, 'BOUFARIK', 9),
(300, 'LARBAA', 9),
(301, 'OUED-DJER', 9),
(302, 'BENI-TAMOU', 9),
(303, 'BOUARFA', 9),
(304, 'BENI-MERED', 9),
(305, 'BOUGARA', 9),
(306, 'GUERROUAOU', 9),
(307, 'AIN-ROMANA', 9),
(308, 'DJEBABRA', 9),
(309, 'BOUIRA', 10),
(310, 'EL-ASNAM', 10),
(311, 'GUERROUMA', 10),
(312, 'SOUK-EL-KHEMIS', 10),
(313, 'KADIRIA', 10),
(314, 'EL-MOKRANI', 10),
(315, 'DIRAH', 10),
(316, 'AIT-LAAZIZ', 10),
(317, 'TAGHZOUT', 10),
(318, 'RAOURAOUA', 10),
(319, 'MESDOUR', 10),
(320, 'HAIZER', 10),
(321, 'LAKHDARIA', 10),
(322, 'MAALA', 10),
(323, 'EL-HACHIMIA', 10),
(324, 'AOMAR', 10),
(325, 'CHORFA', 10),
(326, 'BORDJ-OKHRISS', 10),
(327, 'EL-ADJIBA', 10),
(328, 'ATH-MANSOUR', 10),
(329, 'EL-KHEBOUZIA', 10),
(330, 'AHL-EL-KSAR', 10),
(331, 'BOUDERBALA', 10),
(332, 'Z\'\'BARBAR', 10),
(333, 'AIN-LAHDJAR', 10),
(334, 'DJEBAHIA', 10),
(335, 'AGHBALOU', 10),
(336, 'TAGUEDIT', 10),
(337, 'AIN-TURK', 10),
(338, 'SAHARIDJ', 10),
(339, 'DECHMYA', 10),
(340, 'RIDANE', 10),
(341, 'BECHLOUL', 10),
(342, 'BOUKRAM', 10),
(343, 'AIN-BESSEM', 10),
(344, 'BIR-GHBALOU', 10),
(345, 'M\'\'CHEDALLAH', 10),
(346, 'SOUR-EL-GHOZLANE', 10),
(347, 'MAAMORA', 10),
(348, 'OULED-RACHED', 10),
(349, 'AIN-LALOUI', 10),
(350, 'HADJRA-ZERGA', 10),
(351, 'HANIF', 10),
(352, 'EL-HAKIMIA', 10),
(353, 'OUED-EL-BERDI', 10),
(354, 'TAMANGHASSET', 11),
(355, 'SILET-ABALESSA', 11),
(356, 'IN-GHAR', 11),
(357, 'IN-GUEZZAM', 11),
(358, 'IDELES', 11),
(359, 'TAZROUK', 11),
(360, 'TIN-ZOUATINE', 11),
(361, 'IN-SALAH', 11),
(362, 'IN-AMGUEL', 11),
(363, 'FOUGARET-EZZOUAOUA', 11),
(364, 'TEBESSA', 12),
(365, 'BIR-EL-ATER', 12),
(366, 'CHERIA', 12),
(367, 'STAH-GUENTIS', 12),
(368, 'EL-AOUINET', 12),
(369, 'EL-HOUIDJEBET', 12),
(370, 'SAF-SAF-EL-OUESRA', 12),
(371, 'HAMMAMET', 12),
(372, 'NEGRINE', 12),
(373, 'BIR-MOKADEM', 12),
(374, 'EL-KOUIF', 12),
(375, 'MORSOTT', 12),
(376, 'EL-OGLA', 12),
(377, 'BIR-DEHEB', 12),
(378, 'EL-OGLA-EL-MALHA', 12),
(379, 'GHORRIGUEUR', 12),
(380, 'BEKKARIA', 12),
(381, 'BOUKHADRA', 12),
(382, 'OUENZA', 12),
(383, 'EL-MA-LABIOD', 12),
(384, 'OUM-ALI', 12),
(385, 'THILIDJENE', 12),
(386, 'AIN-ZERGA', 12),
(387, 'EL-MERIDJ', 12),
(388, 'BOULHEF-DYN', 12),
(389, 'BEDJENE', 12),
(390, 'EL-MEZRAA', 12),
(391, 'FERKANE', 12),
(392, 'TLEMCEN', 13),
(393, 'BENI-MESTER', 13),
(394, 'AIN-TALLOUT', 13),
(395, 'REMCHI', 13),
(396, 'EL-FEHOUL', 13),
(397, 'SABRA', 13),
(398, 'GHAZAOUET', 13),
(399, 'SOUANI', 13),
(400, 'DJEBALA', 13),
(401, 'EL-GOR', 13),
(402, 'OUED-LAKHDAR', 13),
(403, 'AIN-FEZZA', 13),
(404, 'OULED-MIMOUN', 13),
(405, 'AMIEUR', 13),
(406, 'AIN-YOUCEF', 13),
(407, 'ZENATA', 13),
(408, 'BENI-SNOUS', 13),
(409, 'BAB-EL-ASSA', 13),
(410, 'DAR-YAGHMORACEN', 13),
(411, 'FILLAOUCENE', 13),
(412, 'AZAIL', 13),
(413, 'SEBAA-CHIOUKH', 13),
(414, 'TERNY-BENI-HEDIEL', 13),
(415, 'BENSEKRANE', 13),
(416, 'AIN-NAHALA', 13),
(417, 'HENNAYA', 13),
(418, 'MAGHNIA', 13),
(419, 'HAMMAM-BOUGHERARA', 13),
(420, 'SOUAHLIA', 13),
(421, 'M\'\'CIRDA-FOUAGA', 13),
(422, 'AIN-FETAH', 13),
(423, 'EL-ARICHA', 13),
(424, 'SOUK-EL-TLATA', 13),
(425, 'SIDI-ABDELLI', 13),
(426, 'SEBDOU', 13),
(427, 'BENI-OUARSOUS', 13),
(428, 'SIDI-MEDJAHED', 13),
(429, 'BENI-BOUSSAID', 13),
(430, 'MARSA-BEN-M', 13),
(431, 'NEDROMA', 13),
(432, 'SIDI-DJILLALI', 13),
(433, 'BENI-BAHDEL', 13),
(434, 'EL-BOUIHI', 13),
(435, 'HONAINE', 13),
(436, 'TIANET', 13),
(437, 'OULED-RYAH', 13),
(438, 'BOUHLOU', 13),
(439, 'BENI-KHALED', 13),
(440, 'AIN-GHORABA', 13),
(441, 'CHETOUANE', 13),
(442, 'MANSOURAH', 13),
(443, 'BENI-SEMIEL', 13),
(444, 'AIN-KEBIRA', 13),
(445, 'TIARET', 14),
(446, 'MEDROUSSA', 14),
(447, 'AIN-BOUCHKIF', 14),
(448, 'SIDI-ALI-MELLAL', 14),
(449, 'AIN-DZARIT', 14),
(450, 'AIN-DEHEB', 14),
(451, 'SIDI-BAKHTI', 14),
(452, 'MEDRISSA', 14),
(453, 'Z\'\'MALET-EMIR-AEK', 14),
(454, 'MADENA', 14),
(455, 'SEBT', 14),
(456, 'MELLAKOU', 14),
(457, 'DAHMOUNI', 14),
(458, 'RAHOUIA', 14),
(459, 'MAHDIA', 14),
(460, 'SOUGUEUR', 14),
(461, 'SI-ABDELGHANI', 14),
(462, 'AIN-EL-HADID', 14),
(463, 'ROSFA', 14),
(464, 'NAIMA', 14),
(465, 'MEGHILA', 14),
(466, 'GUERTOUFA', 14),
(467, 'SIDI-HOSNI', 14),
(468, 'DJILLALI-BEN-AMAR', 14),
(469, 'AIN-SEBAIN', 14),
(470, 'TOUSNINA', 14),
(471, 'FRENDA', 14),
(472, 'AIN-KERMES', 14),
(473, 'KSAR-CHELLALA', 14),
(474, 'RECHAIGA', 14),
(475, 'BOUGARA', 14),
(476, 'TAGDEMT', 14),
(477, 'OUED-LILI', 14),
(478, 'MECHRAA-SFA', 14),
(479, 'HAMADIA', 14),
(480, 'CHEHAIMA', 14),
(481, 'TAKHMARET', 14),
(482, 'SIDI-ABDERRAHMANE', 14),
(483, 'SERGUINE', 14),
(484, 'NADORAH', 14),
(485, 'TIDDA', 14),
(486, 'FAIDJA', 14),
(487, 'TIZI-OUZOU', 15),
(488, 'AIN-EL-HAMMAM', 15),
(489, 'AKBIL', 15),
(490, 'FREHA', 15),
(491, 'SOUAMAA', 15),
(492, 'MECHTRAS', 15),
(493, 'IRDJEN', 15),
(494, 'TIMIZART', 15),
(495, 'MAKOUDA', 15),
(496, 'DRAA-EL-MIZAN', 15),
(497, 'TIZI-GHENIF', 15),
(498, 'AIT-YAHIA-MOUSSA', 15),
(499, 'AIT-CHAFFA', 15),
(500, 'FRIKAT', 15),
(501, 'BENI-AISSI', 15),
(502, 'BENI-ZMENZER', 15),
(503, 'IFERHOUNENE', 15),
(504, 'AZZAZGA', 15),
(505, 'ILLOULA-OUMALOU', 15),
(506, 'YAKOUREN', 15),
(507, 'LARBAA-NATH-IRATHEN', 15),
(508, 'TIZI-RACHED', 15),
(509, 'ZEKRI', 15),
(510, 'OUAGUENOUN', 15),
(511, 'AIN-ZAOUIA', 15),
(512, 'M\'\'KIRA', 15),
(513, 'AIT-YAHIA', 15),
(514, 'AIT-MAHMOUD', 15),
(515, 'MAATKA', 15),
(516, 'AIT-BOUMAHDI', 15),
(517, 'ABI-YOUCEF', 15),
(518, 'BENI-DOUALA', 15),
(519, 'ILLILTEN', 15),
(520, 'BOUZEGUENE', 15),
(521, 'AIT-AGOUACHA', 15),
(522, 'OUADHIA', 15),
(523, 'AZEFFOUN', 15),
(524, 'TIGZIRT', 15),
(525, 'DJEBEL-AISSA-MIMOUN', 15),
(526, 'BOGHNI', 15),
(527, 'IFIGHA', 15),
(528, 'AIT-OUMALOU', 15),
(529, 'TIRMITINE', 15),
(530, 'AKERROU', 15),
(531, 'YATAFENE', 15),
(532, 'BENI-ZEKI', 15),
(533, 'DRAA-BEN-KHEDDA', 15),
(534, 'OUACIF', 15),
(535, 'IDJEUR', 15),
(536, 'MEKLA', 15),
(537, 'TIZI-N', 15),
(538, 'BENI-YENNI', 15),
(539, 'AGHRIB', 15),
(540, 'IFLISSEN', 15),
(541, 'BOUDJIMA', 15),
(542, 'BOUNOUH', 15),
(543, 'SOUK-EL-TNINE', 15),
(544, 'AIT-KHELILI', 15),
(545, 'SIDI-NAAMANE', 15),
(546, 'IBOUDRARENE', 15),
(547, 'AGHNI-GOUGHRANE', 15),
(548, 'MIZRANA', 15),
(549, 'IMSOUHAL', 15),
(550, 'TADMAIT', 15),
(551, 'AIT-BOUADOU', 15),
(552, 'ASSI-YOUCEF', 15),
(553, 'AIT-TOUDERT', 15),
(554, 'HUSSEIN-DEY', 16),
(555, 'HAMMA-EL-ANNASSER', 16),
(556, 'KOUBA', 16),
(557, 'EL-MAGHARIA', 16),
(558, 'SIDI-M', 16),
(559, 'EL-MADANIA', 16),
(560, 'ALGER-CENTRE', 16),
(561, 'EL-MOURADIA', 16),
(562, 'BAB-EL-OUED', 16),
(563, 'OUED-KORICHE', 16),
(564, 'BOLOGHINE', 16),
(565, 'RAIS-HAMIDOU', 16),
(566, 'CASBAH', 16),
(567, 'BOUZAREAH', 16),
(568, 'BENI-MESSOUS', 16),
(569, 'BEN-AKNOUN', 16),
(570, 'EL-BIAR', 16),
(571, 'BIR-MOURAD-RAIS', 16),
(572, 'BIRKHADEM', 16),
(573, 'DJASR-KACENTINA', 16),
(574, 'SAOULA', 16),
(575, 'HYDRA', 16),
(576, 'EL-HARRACH', 16),
(577, 'BOUROUBA', 16),
(578, 'BACHEDJERAH', 16),
(579, 'OUED-SMAR', 16),
(580, 'BARAKI', 16),
(581, 'EUCALYPTUS', 16),
(582, 'SIDI-MOUSSA', 16),
(583, 'DAR-EL-BEIDA', 16),
(584, 'MOHAMMADIA', 16),
(585, 'BAB-EZZOUAR', 16),
(586, 'BORDJ-EL-KIFFAN', 16),
(587, 'AIN-TAYA', 16),
(588, 'EL-MARSA', 16),
(589, 'ROUIBA', 16),
(590, 'REGHAIA', 16),
(591, 'HERAOUA', 16),
(592, 'BIRTOUTA', 16),
(593, 'OULED-CHEBEL', 16),
(594, 'TESSALA-EL-MERDJA', 16),
(595, 'DRARIA', 16),
(596, 'DOUERA', 16),
(597, 'KHRAISSIA', 16),
(598, 'BABA-HACENE', 16),
(599, 'EL-ACHOUR', 16),
(600, 'CHERAGA', 16),
(601, 'OULED-FAYET', 16),
(602, 'AIN-BENIAN', 16),
(603, 'DELY-BRAHIM', 16),
(604, 'HAMMAMET', 16),
(605, 'ZERALDA', 16),
(606, 'STAOUELI', 16),
(607, 'SOUIDANIA', 16),
(608, 'MAHELMA', 16),
(609, 'RAHMANIA', 16),
(610, 'DJELFA', 17),
(611, 'MOUADJEBAR', 17),
(612, 'EL-GUEDID', 17),
(613, 'HASSI-BAHBAH', 17),
(614, 'AIN-MAABED', 17),
(615, 'SED-RAHAL', 17),
(616, 'FEID-EL-BOTMA', 17),
(617, 'BIRINE', 17),
(618, 'BOUIRA-LAHDEB', 17),
(619, 'ZACCAR', 17),
(620, 'EL-KHEMIS', 17),
(621, 'SIDI-BAIZID', 17),
(622, 'M\'\'LILIHA', 17),
(623, 'EL-IDRISSIA', 17),
(624, 'DOUIS', 17),
(625, 'HASSI-EL-EUCH', 17),
(626, 'MESSAAD', 17),
(627, 'GUETTARA', 17),
(628, 'SIDI-LADJEL', 17),
(629, 'HAD-SAHARY', 17),
(630, 'GUERNINI', 17),
(631, 'SELMANA', 17),
(632, 'AIN-CHOUHADA', 17),
(633, 'OUM-EL-ADHAM', 17),
(634, 'DAR-CHIOUKH', 17),
(635, 'CHAREF', 17),
(636, 'BENI-YAGOUB', 17),
(637, 'ZAAFRANE', 17),
(638, 'DELDOUL', 17),
(639, 'AIN-EL-IBEL', 17),
(640, 'AIN-OUSSERA', 17),
(641, 'BENHAR', 17),
(642, 'HASSI-FEDOUL', 17),
(643, 'AMOURAH', 17),
(644, 'AIN-FEKKA', 17),
(645, 'TADMIT', 17),
(646, 'JIJEL', 18),
(647, 'ERRAGUENE', 18),
(648, 'EL-AOUANA', 18),
(649, 'ZIAMA-MANSOURIAH', 18),
(650, 'TAHER', 18),
(651, 'EMIR-ABDELKADER', 18),
(652, 'CHEKFA', 18),
(653, 'CHAHNA', 18),
(654, 'EL-MILIA', 18),
(655, 'SIDI-MAROUF', 18),
(656, 'SETTARA', 18),
(657, 'EL-ANCER', 18),
(658, 'SIDI-ABDELAZIZ', 18),
(659, 'KAOUS', 18),
(660, 'GHEBALA', 18),
(661, 'BOURAOUI-BELHADEF', 18),
(662, 'DJIMLA', 18),
(663, 'SELMA-BEN-ZIADA', 18),
(664, 'BOUCIF-OULED-ASKEUR', 18),
(665, 'EL-KENNAR-NOUCHFI', 18),
(666, 'OULED-YAHIA-KHADROUCHE', 18),
(667, 'BOUDRIA-BENIYADJIS', 18),
(668, 'KHIER-OUED-ADJOUL', 18),
(669, 'TEXENNA', 18),
(670, 'DJEMAA-BENI-HABIBI', 18),
(671, 'BORDJ-T', 18),
(672, 'OULED-RABAH', 18),
(673, 'OUDJANA', 18),
(674, 'SETIF', 19),
(675, 'AIN-EL-KEBIRA', 19),
(676, 'BENI-AZIZ', 19),
(677, 'OULED-SI-AHMED', 19),
(678, 'BOUTALEB', 19),
(679, 'AIN-ROUA', 19),
(680, 'DRAA-KEBILA', 19),
(681, 'BIR-EL-ARCHE', 19),
(682, 'BENI-CHEBANA', 19),
(683, 'OULED-TEBBEN', 19),
(684, 'OUED-BARED', 19),
(685, 'MAAOUIA', 19),
(686, 'AIN-LEGRADJ', 19),
(687, 'AIN-ABESSA', 19),
(688, 'DEHAMCHA', 19),
(689, 'BABOR', 19),
(690, 'GUIDJEL', 19),
(691, 'AIN-LAHDJAR', 19),
(692, 'BOUSSELAM', 19),
(693, 'EL-EULMA', 19),
(694, 'DJEMILA', 19),
(695, 'BENI-OURTILANE', 19),
(696, 'RASFA', 19),
(697, 'OULED-ADDOUANE', 19),
(698, 'GUELTA-ZERGA', 19),
(699, 'AIN-ARNAT', 19),
(700, 'AMOUCHA', 19),
(701, 'AIN-OULMENE', 19),
(702, 'BEIDA-BORDJ', 19),
(703, 'BOUANDAS', 19),
(704, 'BAZER-SAKHRA', 19),
(705, 'HAMMAM-SOKHNA', 19),
(706, 'MEZLOUG', 19),
(707, 'BIR-HADDADA', 19),
(708, 'SERDJ-EL-GHOUL', 19),
(709, 'HARBIL', 19),
(710, 'EL-OURICIA', 19),
(711, 'TIZI-N', 19),
(712, 'SALAH-BEY', 19),
(713, 'AIN-AZEL', 19),
(714, 'GUENZET', 19),
(715, 'BOUGAA', 19),
(716, 'TALA-IFACENE', 19),
(717, 'BENI-FOUDA', 19),
(718, 'TACHOUDA', 19),
(719, 'BENI-MOHLI', 19),
(720, 'OULED-SABOR', 19),
(721, 'GUELLAL', 19),
(722, 'BENI-OUSSINE', 19),
(723, 'HAMMAM-GUERGOUR', 19),
(724, 'AIT-NOUAL-M', 19),
(725, 'KSAR-EL-ABTAL', 19),
(726, 'AIN-SEBT', 19),
(727, 'AIT-TIZI', 19),
(728, 'MAOKLANE', 19),
(729, 'HAMMA', 19),
(730, 'TAYA', 19),
(731, 'EL-OULDJA', 19),
(732, 'TELAA', 19),
(733, 'BELAA', 19),
(734, 'SAIDA', 20),
(735, 'DOUI-THABET', 20),
(736, 'AIN-EL-HADJAR', 20),
(737, 'OULED-KHALED', 20),
(738, 'MOULAY-LARBI', 20),
(739, 'YOUB', 20),
(740, 'SIDI-AMMAR', 20),
(741, 'SIDI-BOUBEKEUR', 20),
(742, 'EL-HASSASNA', 20),
(743, 'MAAMORA', 20),
(744, 'SIDI-AHMED', 20),
(745, 'AIN-SKHOUNA', 20),
(746, 'OULED-BRAHIM', 20),
(747, 'TIRCINE', 20),
(748, 'AIN-SOLTANE', 20),
(749, 'HOUNET', 20),
(750, 'SKIKDA', 21),
(751, 'AIN-ZOUIT', 21),
(752, 'EL-HADAEIK', 21),
(753, 'AZZABA', 21),
(754, 'DJENDEL-SAADI-MOHAMED', 21),
(755, 'AIN-CHARCHAR', 21),
(756, 'BEKKOUCHE-LAKHDAR', 21),
(757, 'BEN-AZZOUZ', 21),
(758, 'ES-SEBT', 21),
(759, 'COLLO', 21),
(760, 'BENI-ZID', 21),
(761, 'KERKERA', 21),
(762, 'OULED-ATTIA', 21),
(763, 'OUED-Z', 21),
(764, 'ZITOUNA', 21),
(765, 'EL-HARROUCH', 21),
(766, 'ZARDEZAS', 21),
(767, 'OULED-HABEBA', 21),
(768, 'SIDI-MEZGHICHE', 21),
(769, 'EMJEZ-ED-CHICHE', 21),
(770, 'BENI-OULBANE', 21),
(771, 'AIN-BOUZIANE', 21),
(772, 'RAMDANE-DJAMEL', 21),
(773, 'BENI-BECHIR', 21),
(774, 'SALAH-BOUCHAOUR', 21),
(775, 'TAMALOUS', 21),
(776, 'AIN-KECHERA', 21),
(777, 'OUM-TOUB', 21),
(778, 'BEIN-EL-OUIDEN', 21),
(779, 'FILFILA', 21),
(780, 'CHERAIA', 21),
(781, 'KENOUA', 21),
(782, 'EL-GHEDIR', 21),
(783, 'BOUCHTATA', 21),
(784, 'EL-OULDJA-BOULBALOUT', 21),
(785, 'KHENEG-MAYOUN', 21),
(786, 'HAMMADI-KROUMA', 21),
(787, 'EL-MARSA', 21),
(788, 'SIDI-BEL-ABBES', 22),
(789, 'TESSALA', 22),
(790, 'SIDI-BRAHIM', 22),
(791, 'MOSTEFA-BEN-BRAHIM', 22),
(792, 'TELAGH', 22),
(793, 'MEZAOUROU', 22),
(794, 'BOUKHENEFIS', 22),
(795, 'SIDI-ALI-BOUSSIDI', 22),
(796, 'BEDRADINE-EL-MOKRANI', 22),
(797, 'MARHOUM', 22),
(798, 'TAFESSOUR', 22),
(799, 'AMARNAS', 22),
(800, 'BOUMAAD-TILMOUNI', 22),
(801, 'SIDI-LAHCENE', 22),
(802, 'AIN-THRID', 22),
(803, 'MAKEDRA', 22),
(804, 'TENIRA', 22),
(805, 'MOULAY-SLISSEN', 22),
(806, 'EL-HACAIBA', 22),
(807, 'HASSI-ZEHANA', 22),
(808, 'TABIA', 22),
(809, 'MERINE', 22),
(810, 'RAS-EL-MA', 22),
(811, 'AIN-TIDAMINE', 22),
(812, 'AIN-KADA', 22),
(813, 'M\'\'CID', 22),
(814, 'SIDI-KHALED', 22),
(815, 'AIN-EL-BERD', 22),
(816, 'SFISEF', 22),
(817, 'AIN-ADDEN', 22),
(818, 'OUED-TAOURIRA', 22),
(819, 'DHAYA', 22),
(820, 'ZERROUALA', 22),
(821, 'LEMTAR', 22),
(822, 'SIDI-CHAIB', 22),
(823, 'SIDI-DAHO-DEZAIRS', 22),
(824, 'OUED-SEBAA', 22),
(825, 'BOUDJEBAA-EL-BORDJ', 22),
(826, 'SEHALA-THAOURA', 22),
(827, 'SIDI-YACOUB', 22),
(828, 'SIDI-HAMADOUCHE', 22),
(829, 'BELARBI', 22),
(830, 'OUED-SEFIOUNE', 22),
(831, 'TEGHALIMET', 22),
(832, 'BEN-BADIS', 22),
(833, 'SIDI-ALI-BENYOUB', 22),
(834, 'CHETOUANE-BELAILA', 22),
(835, 'BIR-EL-H', 22),
(836, 'TAOUDMOUT', 22),
(837, 'REDJEM-DEMOUCHE', 22),
(838, 'BENACHIBA-CHELIA', 22),
(839, 'HASSI-DAHO', 22),
(840, 'ANNABA', 23),
(841, 'BERRAHAL', 23),
(842, 'EL-HADJAR', 23),
(843, 'EL-EULMA', 23),
(844, 'EL-BOUNI', 23),
(845, 'OUED-EL-ANEB', 23),
(846, 'CHEURFA', 23),
(847, 'SERAIDI', 23),
(848, 'AIN-BERDA', 23),
(849, 'CHETAIBI', 23),
(850, 'SIDI-AMAR', 23),
(851, 'TREAT', 23),
(852, 'GUELMA', 24),
(853, 'NECHMAYA', 24),
(854, 'BOUATI-MAHMOUD', 24),
(855, 'OUED-ZENATI', 24),
(856, 'TAMLOUKA', 24),
(857, 'OUED-FRAGHA', 24),
(858, 'AIN-SANDEL', 24),
(859, 'RAS-EL-AGBA', 24),
(860, 'DAHOUARA', 24),
(861, 'BELKHEIR', 24),
(862, 'BADJARAH', 24),
(863, 'BOUHAMDANE', 24),
(864, 'AIN-MAKHLOUF', 24),
(865, 'AIN-BEN-BEIDA', 24),
(866, 'KHEZARA', 24),
(867, 'BENI-MEZLINE', 24),
(868, 'BOUHACHANA', 24),
(869, 'GUELAAT-BOU-SBAA', 24),
(870, 'HAMMAM-DEBAGH', 24),
(871, 'EL-FEDJOUDJ', 24),
(872, 'BORDJ-SABATH', 24),
(873, 'HAMMAM-N', 24),
(874, 'AIN-LARBI', 24),
(875, 'MEDJEZ-AMMAR', 24),
(876, 'BOUCHEGOUF', 24),
(877, 'HELIOPOLIS', 24),
(878, 'AIN-HSAINIA', 24),
(879, 'ROKNIA', 24),
(880, 'SELLAOUA-ANNOUNA', 24),
(881, 'MEDJEZ-SFA', 24),
(882, 'BOUMAHRA-AHMED', 24),
(883, 'AIN-REGADA', 24),
(884, 'OUED-CHEHAM', 24),
(885, 'DJEBALA-KHEMISSI', 24),
(886, 'CONSTANTINE', 25),
(887, 'HAMMA-BOUZIANE', 25),
(888, 'MESSAOUD-BOUDJERIOU', 25),
(889, 'ZIGHOUD-YOUCEF', 25),
(890, 'DIDOUCHE-MOURAD', 25),
(891, 'EL-KHROUB', 25),
(892, 'AIN-ABID', 25),
(893, 'BENI-HAMIDENE', 25),
(894, 'OULED-RAHMOUNE', 25),
(895, 'AIN-SMARA', 25),
(896, 'BEN-BADIS', 25),
(897, 'IBN-ZIAD', 25),
(898, 'MEDEA', 26),
(899, 'OUZERA', 26),
(900, 'OULED-MAAREF', 26),
(901, 'AIN-BOUCIF', 26),
(902, 'EL-AISSAOUIA', 26),
(903, 'OULED-DEIDE', 26),
(904, 'EL-OMARIA', 26),
(905, 'DERRAG', 26),
(906, 'GUELB-EL-KEBIR', 26),
(907, 'BOUAICHE', 26),
(908, 'MEZGHANA', 26),
(909, 'OULED-BRAHIM', 26),
(910, 'TIZI-MAHDI', 26),
(911, 'SIDI-ZIANE', 26),
(912, 'TAMESGUIDA', 26),
(913, 'EL-HAMDANIA', 26),
(914, 'KEF-LAKHDAR', 26),
(915, 'CHELLALET-EL-ADHAOURA', 26),
(916, 'BOUSEKENE', 26),
(917, 'REBAIA', 26),
(918, 'BOUCHRAHIL', 26),
(919, 'OULED-HELLAL', 26),
(920, 'TAFRAOUT', 26),
(921, 'BAATA', 26),
(922, 'BOGHAR', 26),
(923, 'SIDI-NAAMANE', 26),
(924, 'OULED-BOUACHRA', 26),
(925, 'SIDI-ZAHAR', 26),
(926, 'OUED-HARBIL', 26),
(927, 'BEN-CHICAO', 26),
(928, 'SIDI-DAMED', 26),
(929, 'AZIZ', 26),
(930, 'SOUAGUI', 26),
(931, 'ZOUBIRIA', 26),
(932, 'KSAR-EL-BOUKHARI', 26),
(933, 'EL-AZIZIA', 26),
(934, 'DJOUAB', 26),
(935, 'CHAHBOUNIA', 26),
(936, 'CHENIGUEL', 26),
(937, 'AIN-OUKSIR', 26),
(938, 'OUM-EL-DJALLIL', 26),
(939, 'OUAMRI', 26),
(940, 'SI-MAHDJOUB', 26),
(941, 'TLETAT-ED-DOUAIR', 26),
(942, 'BENI-SLIMANE', 26),
(943, 'BOURROUAGHIA', 26),
(944, 'SEGHOUANE', 26),
(945, 'MEFTAHA', 26),
(946, 'MIHOUB', 26),
(947, 'BOUGHEZOUL', 26),
(948, 'TABLAT', 26),
(949, 'DEUX-BASSINS', 26),
(950, 'DRAA-ESSEMAR', 26),
(951, 'SIDI-ERRABIE', 26),
(952, 'BIR-BEN-ABED', 26),
(953, 'EL-AOUINET', 26),
(954, 'OULED-ANTAR', 26),
(955, 'BOUAICHOUNE', 26),
(956, 'HANNACHA', 26),
(957, 'SEDRAYA', 26),
(958, 'MEDJEBEUR', 26),
(959, 'KHAMS-DJOUAMAA', 26),
(960, 'SANEG', 26),
(961, 'MAGHRAOUA', 26),
(962, 'MOSTAGANEM', 27),
(963, 'SAYADA', 27),
(964, 'FORKANA', 27),
(965, 'STIDIA', 27),
(966, 'AIN-NOUICY', 27),
(967, 'HASSI-MAMECHE', 27),
(968, 'AIN-TEDELES', 27),
(969, 'SOUR', 27),
(970, 'OUED-EL-KHEIR', 27),
(971, 'SIDI-BELLATAR', 27),
(972, 'KHEIR-EDDINE', 27),
(973, 'SIDI-ALI', 27),
(974, 'ABDELMALEK-RAMDANE', 27),
(975, 'HADJADJ', 27),
(976, 'NEKMARIA', 27),
(977, 'SIDI-LAKHDAR', 27),
(978, 'ACHACHA', 27),
(979, 'KHADRA', 27),
(980, 'BOUGUIRAT', 27),
(981, 'SIRAT', 27),
(982, 'AIN-SIDI-CHRIF', 27),
(983, 'MASRA', 27),
(984, 'MANSOURA', 27),
(985, 'SOUAFLIA', 27),
(986, 'OULED-BOUGHALEM', 27),
(987, 'OULED-MAALAH', 27),
(988, 'MEZEGHRANE', 27),
(989, 'AIN-BOUDINAR', 27),
(990, 'TAZGAIT', 27),
(991, 'SAF-SAF', 27),
(992, 'BLED-TOUAHARIA', 27),
(993, 'EL-HASSAINE', 27),
(994, 'M\'\'SILA', 28),
(995, 'MAADID', 28),
(996, 'HAMMAM-DALAA', 28),
(997, 'OULED-DERRADJ', 28),
(998, 'TARMOUNT', 28),
(999, 'METARFA', 28),
(1000, 'KHOUBANA', 28),
(1001, 'M\'\'CIF', 28),
(1002, 'CHELLAL', 28),
(1003, 'OULED-MAHDI', 28),
(1004, 'MAGRA', 28),
(1005, 'BERHOUM', 28),
(1006, 'AIN-EL-KHADRA', 28),
(1007, 'OULED-ADDI-GUEBALA', 28),
(1008, 'BELAIBA', 28),
(1009, 'SIDI-AISSA', 28),
(1010, 'AIN-EL-HADJEL', 28),
(1011, 'SIDI-HADJERES', 28),
(1012, 'OUANOUGHA', 28),
(1013, 'BOU-SAADA', 28),
(1014, 'OULED-SIDI-BRAHIM', 28),
(1015, 'SIDI-AMEUR', 28),
(1016, 'TEMSA', 28),
(1017, 'BEN-SROUR', 28),
(1018, 'OULED-SLIMANE', 28),
(1019, 'EL-HAMEL', 28),
(1020, 'OULED-MANSOUR', 28),
(1021, 'MAARIF', 28),
(1022, 'DEHAHNA', 28),
(1023, 'BOUTI-SAYEH', 28),
(1024, 'MOHAMED-BOUDIAF', 28),
(1025, 'ZERZOUR', 28),
(1026, 'KHETTOUTI-SED-EL-DJIR', 28),
(1027, 'BENZOUH', 28),
(1028, 'BIR-FODA', 28),
(1029, 'AIN-FARES', 28),
(1030, 'SIDI-M', 28),
(1031, 'EL-HOUAMED', 28),
(1032, 'SOUAMAA', 28),
(1033, 'AIN-EL-MELH', 28),
(1034, 'MEDJEDEL', 28),
(1035, 'SLIM', 28),
(1036, 'AIN-RICH', 28),
(1037, 'BENI-ILMANE', 28),
(1038, 'OULTENE', 28),
(1039, 'DJEBEL-MESSAAD', 28),
(1040, 'OULED-ATTIA', 28),
(1041, 'MASCARA', 29),
(1042, 'BOU-HANIFIA', 29),
(1043, 'TIZI', 29),
(1044, 'HACINE', 29),
(1045, 'MAOUSSA', 29),
(1046, 'TIGHENIF', 29),
(1047, 'RACHEM', 29),
(1048, 'SIDI-KADA', 29),
(1049, 'ZELAMTA', 29),
(1050, 'OUED-EL-ABTAL', 29),
(1051, 'AIN-FERAH', 29),
(1052, 'GHRISS', 29),
(1053, 'FROHA', 29),
(1054, 'MATEMORE', 29),
(1055, 'MAKDA', 29),
(1056, 'SIDI-BOUSSAID', 29),
(1057, 'EL-BORDJ', 29),
(1058, 'AIN-FEKKAN', 29),
(1059, 'BENIAN', 29),
(1060, 'FERRAGUIG', 29),
(1061, 'EL-MENAOUER', 29),
(1062, 'OUED-TARIA', 29),
(1063, 'AOUF', 29),
(1064, 'AIN-FARES', 29),
(1065, 'AIN-FRASS', 29),
(1066, 'SIG', 29),
(1067, 'OGGAZ', 29),
(1068, 'EL-ALAIMIA', 29),
(1069, 'EL-GAADA', 29),
(1070, 'ZAHANA', 29),
(1071, 'MOHAMMADIA', 29),
(1072, 'SIDI-ABDELMOUMEN', 29),
(1073, 'EL-GHOMRI', 29),
(1074, 'KHALOUIA', 29),
(1075, 'MOCTA-DOUZ', 29),
(1076, 'BOU-HENNI', 29),
(1077, 'EL-GUEITHNA', 29),
(1078, 'MAMOUNIA', 29),
(1079, 'EL-KEURT', 29),
(1080, 'GHAROUSS', 29),
(1081, 'GUERDJOUM', 29),
(1082, 'CHORFA', 29),
(1083, 'RAS-AIN-AMIROUCHE', 29),
(1084, 'NESMOTH', 29),
(1085, 'SIDI-ABDELDJEBAR', 29),
(1086, 'SEHAILIA', 29),
(1087, 'SEDJERARA', 29),
(1088, 'OUARGLA', 30),
(1089, 'AIN-BEIDA', 30),
(1090, 'N\'\'GOUSSA', 30),
(1091, 'HASSI-MESSAOUD', 30),
(1092, 'BLIDATE-AMEUR', 30),
(1093, 'TEBESBEST', 30),
(1094, 'NEZLA', 30),
(1095, 'ZAOUIA-EL-ABIDIA', 30),
(1096, 'SIDI-SLIMANE', 30),
(1097, 'SIDI-KHOUILED', 30),
(1098, 'HASSI-BEN-ABDELLAH', 30),
(1099, 'TOUGGOURT', 30),
(1100, 'EL-HADJIRA', 30),
(1101, 'TAIBET', 30),
(1102, 'TEMACINE', 30),
(1103, 'BENNACEUR', 30),
(1104, 'M\'\'NAGUER', 30),
(1105, 'MEGARINE', 30),
(1106, 'EL-ALIA', 30),
(1107, 'EL-BORMA', 30),
(1108, 'ORAN', 31),
(1109, 'GDYEL', 31),
(1110, 'BIR-EL-DJIR', 31),
(1111, 'HASSI-BOUNIF', 31),
(1112, 'ES-SENIA', 31),
(1113, 'ARZEW', 31),
(1114, 'BETHIOUA', 31),
(1115, 'MERS-EL-HADJADJ', 31),
(1116, 'AIN-EL-TURK', 31),
(1117, 'EL-ANCAR', 31),
(1118, 'OUED-TLELAT', 31),
(1119, 'TAFRAOUI', 31),
(1120, 'SIDI-CHAHMI', 31),
(1121, 'BOUFATIS', 31),
(1122, 'MERS-EL-KEBIR', 31),
(1123, 'BOU-SFER', 31),
(1124, 'EL-KERMA', 31),
(1125, 'EL-BRAYA', 31),
(1126, 'HASSI-BEN-OKBA', 31),
(1127, 'BEN-FREHA', 31),
(1128, 'HASSI-MEFSOUKH', 31),
(1129, 'SIDI-BENYEBKA', 31),
(1130, 'MISSERGHIN', 31),
(1131, 'BOU-TLELIS', 31),
(1132, 'AIN-EL-KARMA', 31),
(1133, 'AIN-EL-BIYA', 31),
(1134, 'EL-BAYADH', 32),
(1135, 'ROGASSA', 32),
(1136, 'STITEN', 32),
(1137, 'BREZINA', 32),
(1138, 'GHASSOUL', 32),
(1139, 'BOUALEM', 32),
(1140, 'LABIODH-SIDI-CHEIKH', 32),
(1141, 'AIN-EL-ORAK', 32),
(1142, 'ARBAOUT', 32),
(1143, 'BOUGTOB', 32),
(1144, 'EL-KHEITER', 32),
(1145, 'KEF-LAHMAR', 32),
(1146, 'BOUSSEMGHOUN', 32),
(1147, 'CHELLALA', 32),
(1148, 'KRAKDA', 32),
(1149, 'EL-BNOUD', 32),
(1150, 'CHEGUIG', 32),
(1151, 'SIDI-AMAR', 32),
(1152, 'EL-MEHARA', 32),
(1153, 'TOUSMOULINE', 32),
(1154, 'SIDI-SLIMANE', 32),
(1155, 'SIDI-TAIFOUR', 32),
(1156, 'ILLIZI', 33),
(1157, 'DJANET', 33),
(1158, 'DEB-DEB', 33),
(1159, 'BORDJ-OMAR-DRISS', 33),
(1160, 'BORDJ-EL-HAOUASSE', 33),
(1161, 'IN-AMENAS', 33),
(1162, 'BORDJ-BOU-ARRERIDJ', 34),
(1163, 'RAS-EL-OUED', 34),
(1164, 'BORDJ-ZEMMOURA', 34),
(1165, 'MANSOURAH', 34),
(1166, 'EL-MEHIR', 34),
(1167, 'BENDAOUD', 34),
(1168, 'EL-ACHIR', 34),
(1169, 'AIN-TAGHROUT', 34),
(1170, 'BORDJ-GHEDIR', 34),
(1171, 'SIDI-EMBAREK', 34),
(1172, 'EL-HAMMADIA', 34),
(1173, 'BELIMOUR', 34),
(1174, 'MEDJANA', 34),
(1175, 'TENIET-EN-NASR', 34),
(1176, 'DJAAFRA', 34),
(1177, 'EL-MAIN', 34),
(1178, 'OULED-BRAHAM', 34),
(1179, 'OULED-DAHMANE', 34),
(1180, 'KSOUR', 34),
(1181, 'KHELLIL', 34),
(1182, 'TAGLAIT', 34),
(1183, 'OULED-SIDI-BRAHIM', 34),
(1184, 'TAFREG', 34),
(1185, 'COLLA', 34),
(1186, 'TIXTER', 34),
(1187, 'EL-ACH', 34),
(1188, 'EL-ANCEUR', 34),
(1189, 'TASMART', 34),
(1190, 'AIN-TESRA', 34),
(1191, 'BIR-KASDALI', 34),
(1192, 'GHILASSA', 34),
(1193, 'RABTA', 34),
(1194, 'HARAZA', 34),
(1195, 'HASNAOUA', 34),
(1196, 'BOUMERDES', 35),
(1197, 'BOUDOUAOU', 35),
(1198, 'AFIR', 35),
(1199, 'BORDJ-MENAIEL', 35),
(1200, 'NACIRIA', 35),
(1201, 'SIDI-DAOUD', 35),
(1202, 'AMMAL', 35),
(1203, 'DJINET', 35),
(1204, 'ISSER', 35),
(1205, 'ZEMMOURI', 35),
(1206, 'SI-MUSTAPHA', 35),
(1207, 'TIDJELABINE', 35),
(1208, 'CHAABET-EL-AMMEUR', 35),
(1209, 'THENIA', 35),
(1210, 'CORSO', 35),
(1211, 'OULED-MOUSSA', 35),
(1212, 'LARBATACHE', 35),
(1213, 'KEDDARA', 35),
(1214, 'TAOURGA', 35),
(1215, 'OULED-AISSA', 35),
(1216, 'BENCHOUD', 35),
(1217, 'DELLYS', 35),
(1218, 'BENI-AMRANE', 35),
(1219, 'SOUK-EL-HAD', 35),
(1220, 'BOUDOUAOU-EL-BAHRI', 35),
(1221, 'OULED-HADJADJ', 35),
(1222, 'TIMEZRIT', 35),
(1223, 'LEGATA', 35),
(1224, 'HAMMEDI', 35),
(1225, 'KHEMIS-EL-KHECHNA', 35),
(1226, 'EL-KHAROUBA', 35),
(1227, 'EL-TARF', 36),
(1228, 'BOUHADJAR', 36),
(1229, 'BEN-M', 36),
(1230, 'BOUGGOUS', 36),
(1231, 'EL-KALA', 36),
(1232, 'AIN-EL-ASSEL', 36),
(1233, 'EL-AIOUN', 36),
(1234, 'BOUTELDJA', 36),
(1235, 'SOUAREKH', 36),
(1236, 'BERRIHANE', 36),
(1237, 'LAC-DES-OISEAUX', 36),
(1238, 'CHEFFIA', 36),
(1239, 'DREAN', 36),
(1240, 'CHIHANI', 36),
(1241, 'CHEBAITA-MOKHTAR', 36),
(1242, 'BESBES', 36),
(1243, 'ASFOUR', 36),
(1244, 'CHATT', 36),
(1245, 'ZERIZER', 36),
(1246, 'ZITOUNA', 36),
(1247, 'AIN-KERMA', 36),
(1248, 'OUED-ZITOUN', 36),
(1249, 'HAMMAM-BENI-SALAH', 36),
(1250, 'RAML-ESSOUK', 36),
(1251, 'TINDOUF', 37),
(1252, 'OUM-EL-ASSEL', 37),
(1253, 'TISSEMSILT', 38),
(1254, 'BORDJ-BOUNAAMA', 38),
(1255, 'THENIET-EL-HAD', 38),
(1256, 'LAZHARIA', 38),
(1257, 'BENI-CHAIB', 38),
(1258, 'LARDJEM', 38),
(1259, 'MELAAB', 38),
(1260, 'SIDI-LANTRI', 38),
(1261, 'BORDJ-EMIR-AEK', 38),
(1262, 'LAAYOUNE', 38),
(1263, 'KHEMISTI', 38),
(1264, 'OULED-BESSEM', 38),
(1265, 'AMMARI', 38),
(1266, 'YOUSSOUFIA', 38),
(1267, 'SIDI-BOUTOUCHENT', 38),
(1268, 'LARBAA', 38),
(1269, 'MAACEM', 38),
(1270, 'SIDI-ABED', 38),
(1271, 'TAMELAHT', 38),
(1272, 'SIDI-SLIMANE', 38),
(1273, 'BOUKAID', 38),
(1274, 'BENI-LAHCEN', 38),
(1275, 'EL-OUED', 39),
(1276, 'ROBBAH', 39),
(1277, 'OUED-ALLENDA', 39),
(1278, 'BAYADHA', 39),
(1279, 'NAKHLA', 39),
(1280, 'GUEMAR', 39),
(1281, 'KOUININE', 39),
(1282, 'REGUIBA', 39),
(1283, 'HAMRAIA', 39),
(1284, 'TAGHZOUT', 39),
(1285, 'DEBILA', 39),
(1286, 'HASSANI-ABDELKRIM', 39),
(1287, 'HASSI-KHALIFA', 39),
(1288, 'TALEB-LARBI', 39),
(1289, 'DOUAR-EL-MA', 39),
(1290, 'SIDI-AOUN', 39),
(1291, 'TRIFAOUI', 39),
(1292, 'MAGRANE', 39),
(1293, 'BEN-GUECHA', 39),
(1294, 'OURMES', 39),
(1295, 'STILL', 39),
(1296, 'M\'\'GHAGHA', 39),
(1297, 'SIDI-KHELIL', 39),
(1298, 'TENEDLA', 39),
(1299, 'EL-OGLA', 39),
(1300, 'MIH-OUENSA', 39),
(1301, 'EL-MEGHAIER', 39),
(1302, 'DJAMAA', 39),
(1303, 'OUM-TOUYOUR', 39),
(1304, 'SIDI-AMRANE', 39),
(1305, 'KHENCHELA', 40),
(1306, 'M\'\'TOUSSA', 40),
(1307, 'KAIS', 40),
(1308, 'BAGHAI', 40),
(1309, 'EL-HAMMA', 40),
(1310, 'AIN-TOUILA', 40),
(1311, 'BOUHMAMA', 40),
(1312, 'EL-OULDJA', 40),
(1313, 'EL-MAHMEL', 40),
(1314, 'CHECHAR', 40),
(1315, 'DJELLAL', 40),
(1316, 'BABAR', 40),
(1317, 'TAMZA', 40),
(1318, 'ENSIGHA', 40),
(1319, 'OULED-RECHACHE', 40),
(1320, 'M\'\'SARA', 40),
(1321, 'YABOUS', 40),
(1322, 'KHAIRANE', 40),
(1323, 'CHELLIA', 40),
(1324, 'REMILA', 40),
(1325, 'TAOUZINET', 40),
(1326, 'SOUK-AHRAS', 41),
(1327, 'SEDRATA', 41),
(1328, 'HANNENCHA', 41),
(1329, 'MECHROHA', 41),
(1330, 'OULED-DRISS', 41),
(1331, 'TIFFECH', 41),
(1332, 'ZAAROURIA', 41),
(1333, 'TAOURA', 41),
(1334, 'DREA', 41),
(1335, 'HADDADA', 41),
(1336, 'KHEDARA', 41),
(1337, 'MERAHNA', 41),
(1338, 'OULED-MOUMEN', 41),
(1339, 'BIR-BOU-HOUCHE', 41),
(1340, 'M\'\'DAOUROUCH', 41),
(1341, 'OUM-EL-ADHAIM', 41),
(1342, 'AIN-ZANA', 41),
(1343, 'AIN-SOLTANE', 41),
(1344, 'OUILLEN', 41),
(1345, 'SIDI-FREDJ', 41),
(1346, 'SAFEL-EL-OUIDEN', 41),
(1347, 'RAGOUBA', 41),
(1348, 'KHEMISSA', 41),
(1349, 'OUED-KEBRIT', 41),
(1350, 'TERRAGUELT', 41),
(1351, 'ZOUABI', 41),
(1352, 'TIPAZA', 42),
(1353, 'MENACEUR', 42),
(1354, 'LARHAT', 42),
(1355, 'DOUAOUDA', 42),
(1356, 'BOURKIKA', 42),
(1357, 'KHEMISTI', 42),
(1358, 'AGHBAL', 42),
(1359, 'HADJOUT', 42),
(1360, 'SIDI-AMAR', 42),
(1361, 'GOURAYA', 42),
(1362, 'NADOR', 42),
(1363, 'AIN-TAGOURAIT', 42),
(1364, 'CHAIBA', 42),
(1365, 'CHERCHELL', 42),
(1366, 'DAMOUS', 42),
(1367, 'MERAD', 42),
(1368, 'FOUKA', 42),
(1369, 'BOU-ISMAIL', 42),
(1370, 'AHMER-EL-AIN', 42),
(1371, 'BOU-HAROUN', 42),
(1372, 'SIDI-GHILESSE', 42),
(1373, 'MESSELMOUN', 42),
(1374, 'SIDI-RACHED', 42),
(1375, 'KOLEA', 42),
(1376, 'HATTATBA', 42),
(1377, 'HADJRAT-NOUS', 42),
(1378, 'SIDI-SEMIANE', 42),
(1379, 'BENI-MELEUK', 42),
(1380, 'MILA', 43),
(1381, 'FERDJIOUA', 43),
(1382, 'CHELGHOUM-LAID', 43),
(1383, 'OUED-ATHMENIA', 43),
(1384, 'AIN-MELLOUK', 43),
(1385, 'TELERGHMA', 43),
(1386, 'OUED-SEGUIN', 43),
(1387, 'TADJENANET', 43),
(1388, 'BENYAHIA-ABDERAHMANE', 43),
(1389, 'OUED-ENDJA', 43),
(1390, 'AHMED-RACHEDI', 43),
(1391, 'OULED-KHELLOUF', 43),
(1392, 'TIBERGUENT', 43),
(1393, 'BOUHATEM', 43),
(1394, 'ROUACHED', 43),
(1395, 'TESSALA-LAMTAI', 43),
(1396, 'GRAREM-GOUGA', 43),
(1397, 'SIDI-MEROUANE', 43),
(1398, 'TASSADANE-HADDADA', 43),
(1399, 'DERRADJI-BOUSSELAH', 43),
(1400, 'MINAR-ZARZA', 43),
(1401, 'AMIRA-ARRES', 43),
(1402, 'TERRAI-BAINEM', 43),
(1403, 'HAMALA', 43),
(1404, 'AIN-TINE', 43),
(1405, 'EL-MECHIRA', 43),
(1406, 'SIDI-KHELIFA', 43),
(1407, 'ZEGHAIA', 43),
(1408, 'EL-AYADI-BARBES', 43),
(1409, 'AIN-BEIDA-HARICH', 43),
(1410, 'YAHIA-BENI-GUECHA', 43),
(1411, 'CHIGARA', 43),
(1412, 'AIN-DEFLA', 44),
(1413, 'MILIANA', 44),
(1414, 'BOU-MEDFAA', 44),
(1415, 'KHEMIS', 44),
(1416, 'HAMMAM-RIGHA', 44),
(1417, 'ARIB', 44),
(1418, 'DJELIDA', 44),
(1419, 'EL-AMRA', 44),
(1420, 'BOURACHED', 44),
(1421, 'EL-ATTAF', 44),
(1422, 'EL-ABADIA', 44),
(1423, 'DJENDEL', 44),
(1424, 'OUED-CHORFA', 44),
(1425, 'AIN-LECHIAKH', 44),
(1426, 'OUED-DJEMAA', 44),
(1427, 'ROUINA', 44),
(1428, 'ZEDDINE', 44),
(1429, 'EL-HASSANIA', 44),
(1430, 'BIR-OULD-KHLIFA', 44),
(1431, 'AIN-SULTAN', 44),
(1432, 'TARIK-IBN-ZIAD', 44),
(1433, 'BORDJ-EMIR-KHALED', 44),
(1434, 'AIN-TORKI', 44),
(1435, 'SIDI-LAKHDAR', 44),
(1436, 'BEN-ALLEL', 44),
(1437, 'AIN-BENIAN', 44),
(1438, 'EL-HOCEINIA', 44),
(1439, 'BARBOUCHE', 44),
(1440, 'DJEMAA-OULED-CHEIKH', 44),
(1441, 'MEKHATRIA', 44),
(1442, 'BETHAIA', 44),
(1443, 'TACHETA-ZOUGGARA', 44),
(1444, 'AIN-BOUYAHIA', 44),
(1445, 'EL-MAINE', 44),
(1446, 'TIBERKANINE', 44),
(1447, 'BELAAS', 44),
(1448, 'NAAMA', 45),
(1449, 'MECHERIA', 45),
(1450, 'AIN-SEFRA', 45),
(1451, 'TIOUT', 45),
(1452, 'SFISSIFA', 45),
(1453, 'MOGHRAR', 45),
(1454, 'ASLA', 45),
(1455, 'DJENIEN-BOUREZG', 45),
(1456, 'AIN-BEN-KHELIL', 45),
(1457, 'MEKMEN-BEN-AMAR', 45),
(1458, 'KASDIR', 45),
(1459, 'EL-BIODH', 45),
(1460, 'AIN-TEMOUCHENT', 46),
(1461, 'CHAABET-EL-HAM', 46),
(1462, 'AIN-KIHAL', 46),
(1463, 'HAMMAM-BOUHADJAR', 46),
(1464, 'BOUZEDJAR', 46),
(1465, 'OUED-BERKECHE', 46),
(1466, 'AGHLAL', 46),
(1467, 'TERGA', 46),
(1468, 'AIN-EL-ARBAA', 46),
(1469, 'TAMZOURA', 46),
(1470, 'CHENTOUF', 46),
(1471, 'SIDI-BEN-ADDA', 46),
(1472, 'AOUBELIL', 46),
(1473, 'EL-MALAH', 46),
(1474, 'OULHASSA-GHERABA', 46),
(1475, 'OUED-SEBAH', 46),
(1476, 'OULED-BOUDJEMAA', 46),
(1477, 'AIN-TOLBA', 46),
(1478, 'EL-AMRIA', 46),
(1479, 'HASSI-EL-GHELLA', 46),
(1480, 'EL-HASSASNA', 46),
(1481, 'OUED-KIHEL', 46),
(1482, 'BENI-SAF', 46),
(1483, 'SIDI-SAFI', 46),
(1484, 'EL-M', 46),
(1485, 'SIDI-OURIACHE', 46),
(1486, 'EMIR-ABDELKADER', 46),
(1487, 'SIDI-BOUMEDIENE', 46),
(1488, 'GHARDAIA', 47),
(1489, 'EL-MENIAA', 47),
(1490, 'DHAYAT-BEN-DAHOUA', 47),
(1491, 'BERRIANE', 47),
(1492, 'METLILI', 47),
(1493, 'EL-GUERRARA', 47),
(1494, 'EL-ATTEUF', 47),
(1495, 'ZELFANA', 47),
(1496, 'SEB-SEB', 47),
(1497, 'BOUNOURA', 47),
(1498, 'HASSI-EL-FEHAL', 47),
(1499, 'HASSI-EL-GARA', 47),
(1500, 'MANSOURAH', 47),
(1501, 'RELIZANE', 48),
(1502, 'OUED-RHIOU', 48),
(1503, 'SIDI-SAADA', 48),
(1504, 'BELAASSEL-BOUZEGZA', 48),
(1505, 'OULED-AICH', 48),
(1506, 'SIDI-LAZREG', 48),
(1507, 'EL-H', 48),
(1508, 'SIDI-M', 48),
(1509, 'MEDIOUNA', 48),
(1510, 'SIDI-KHETTAB', 48),
(1511, 'AMMI-MOUSSA', 48),
(1512, 'ZEMMOURA', 48),
(1513, 'BENI-DERGOUNE', 48),
(1514, 'DJIDIOUIA', 48),
(1515, 'EL-GUETTAR', 48),
(1516, 'EL-HAMRI', 48),
(1517, 'EL-MATMAR', 48),
(1518, 'SIDI-M', 48),
(1519, 'AIN-TARIK', 48),
(1520, 'OUED-ES-SALAM', 48),
(1521, 'OUARIZANE', 48),
(1522, 'MAZOUNA', 48),
(1523, 'KALAA', 48),
(1524, 'AIN-RAHMA', 48),
(1525, 'OUED-EL-DJEMAA', 48),
(1526, 'RAMKA', 48),
(1527, 'MENDES', 48),
(1528, 'LAHLEF', 48),
(1529, 'BENI-ZENTHIS', 48),
(1530, 'SOUK-EL-HAD', 48),
(1531, 'DAR-BEN-ABDELLAH', 48),
(1532, 'EL-HASSI', 48),
(1533, 'YELLEL', 48),
(1534, 'BENDAOUD', 48),
(1535, 'EL-OULDJA', 48),
(1536, 'MERDJA-SIDI-ABED', 48),
(1537, 'OULED-SIDI-MIHOUB', 48),
(1538, 'HAD-CHEKALA', 48);

-- --------------------------------------------------------

--
-- Structure de la table `localisation_point`
--

CREATE TABLE `localisation_point` (
  `point_id` bigint(20) NOT NULL,
  `entreprise_id` bigint(20) DEFAULT NULL,
  `contact_id` bigint(20) DEFAULT NULL,
  `point_designation` varchar(100) COLLATE utf8_unicode_ci DEFAULT NULL,
  `point_longitude` varchar(25) COLLATE utf8_unicode_ci DEFAULT NULL,
  `point_latitude` varchar(25) COLLATE utf8_unicode_ci DEFAULT NULL,
  `point_radius` bigint(20) DEFAULT NULL,
  `commune_id` int(11) DEFAULT NULL,
  `wilaya_id` int(11) DEFAULT NULL,
  `point_type_id` bigint(20) DEFAULT NULL,
  `point_parent_id` bigint(20) DEFAULT NULL,
  `is_default` int(1) DEFAULT NULL,
  `point_color` varchar(10) COLLATE utf8_unicode_ci DEFAULT NULL,
  `point_address` varchar(256) COLLATE utf8_unicode_ci DEFAULT NULL,
  `forme_type` varchar(50) COLLATE utf8_unicode_ci DEFAULT NULL,
  `sync_data` tinyint(4) DEFAULT NULL,
  `sync_id` tinyint(4) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Déchargement des données de la table `localisation_point`
--

INSERT INTO `localisation_point` (`point_id`, `entreprise_id`, `contact_id`, `point_designation`, `point_longitude`, `point_latitude`, `point_radius`, `commune_id`, `wilaya_id`, `point_type_id`, `point_parent_id`, `is_default`, `point_color`, `point_address`, `forme_type`, `sync_data`, `sync_id`) VALUES
(1, 305, 1, NULL, NULL, NULL, NULL, NULL, NULL, 80, NULL, 1, NULL, NULL, NULL, NULL, NULL),
(11, 305, 11, NULL, NULL, NULL, NULL, NULL, NULL, 80, NULL, 1, NULL, NULL, NULL, NULL, NULL),
(21, 305, 21, 'fournisseur', NULL, NULL, NULL, NULL, NULL, 80, NULL, 1, NULL, NULL, NULL, NULL, NULL),
(31, 305, 1041, NULL, NULL, NULL, NULL, NULL, NULL, 80, NULL, 1, NULL, NULL, NULL, NULL, NULL);

-- --------------------------------------------------------

--
-- Structure de la table `localisation_point_type`
--

CREATE TABLE `localisation_point_type` (
  `point_type_id` bigint(20) NOT NULL,
  `entreprise_id` bigint(20) DEFAULT NULL,
  `point_type_designation` varchar(100) DEFAULT NULL,
  `point_type_icon` varchar(100) DEFAULT 'home.png'
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

--
-- Déchargement des données de la table `localisation_point_type`
--

INSERT INTO `localisation_point_type` (`point_type_id`, `entreprise_id`, `point_type_designation`, `point_type_icon`) VALUES
(68, 122, 'Entreprot', 'Map-Marker-Ball-Right-Pink-icon.png'),
(71, 122, 'Parc', 'Map-Marker-Ball-Right-Pink-icon.png'),
(76, 122, 'Points Clients', 'home.png'),
(77, 122, 'Sièges', 'Map-Marker-Bubble-Azure-icon.png'),
(78, 305, 'Entreprot', 'Map-Marker-Ball-Right-Pink-icon.png'),
(79, 305, 'Parc', 'Map-Marker-Ball-Right-Pink-icon.png'),
(80, 305, 'Points Clients', 'home.png'),
(81, 305, 'Sièges', 'Map-Marker-Bubble-Azure-icon.png'),
(82, 548, 'Entreprot', 'Map-Marker-Ball-Right-Pink-icon.png'),
(83, 548, 'Parc', 'Map-Marker-Ball-Right-Pink-icon.png'),
(84, 548, 'Points Clients', 'home.png'),
(85, 548, 'Sièges', 'Map-Marker-Bubble-Azure-icon.png'),
(86, 549, 'Entreprot', 'Map-Marker-Ball-Right-Pink-icon.png'),
(87, 549, 'Parc', 'Map-Marker-Ball-Right-Pink-icon.png'),
(88, 549, 'Points Clients', 'home.png'),
(89, 549, 'Sièges', 'Map-Marker-Bubble-Azure-icon.png'),
(90, 550, 'Entreprot', 'Map-Marker-Ball-Right-Pink-icon.png'),
(91, 550, 'Parc', 'Map-Marker-Ball-Right-Pink-icon.png'),
(92, 550, 'Points Clients', 'home.png'),
(93, 550, 'Sièges', 'Map-Marker-Bubble-Azure-icon.png'),
(94, 551, 'Entreprot', 'Map-Marker-Ball-Right-Pink-icon.png'),
(95, 551, 'Parc', 'Map-Marker-Ball-Right-Pink-icon.png'),
(96, 551, 'Points Clients', 'home.png'),
(97, 551, 'Sièges', 'Map-Marker-Bubble-Azure-icon.png'),
(98, 552, 'Entreprot', 'Map-Marker-Ball-Right-Pink-icon.png'),
(99, 552, 'Parc', 'Map-Marker-Ball-Right-Pink-icon.png'),
(100, 552, 'Points Clients', 'home.png'),
(101, 552, 'Sièges', 'Map-Marker-Bubble-Azure-icon.png'),
(102, 553, 'Entreprot', 'Map-Marker-Ball-Right-Pink-icon.png'),
(103, 553, 'Parc', 'Map-Marker-Ball-Right-Pink-icon.png'),
(104, 553, 'Points Clients', 'home.png'),
(105, 553, 'Sièges', 'Map-Marker-Bubble-Azure-icon.png'),
(106, 554, 'Entreprot', 'Map-Marker-Ball-Right-Pink-icon.png'),
(107, 554, 'Parc', 'Map-Marker-Ball-Right-Pink-icon.png'),
(108, 554, 'Points Clients', 'home.png'),
(109, 554, 'Sièges', 'Map-Marker-Bubble-Azure-icon.png'),
(110, 555, 'Entreprot', 'Map-Marker-Ball-Right-Pink-icon.png'),
(111, 555, 'Parc', 'Map-Marker-Ball-Right-Pink-icon.png'),
(112, 555, 'Points Clients', 'home.png'),
(113, 555, 'Sièges', 'Map-Marker-Bubble-Azure-icon.png'),
(114, 556, 'Entreprot', 'Map-Marker-Ball-Right-Pink-icon.png'),
(115, 556, 'Parc', 'Map-Marker-Ball-Right-Pink-icon.png'),
(116, 556, 'Points Clients', 'home.png'),
(117, 556, 'Sièges', 'Map-Marker-Bubble-Azure-icon.png'),
(118, 557, 'Entreprot', 'Map-Marker-Ball-Right-Pink-icon.png'),
(119, 557, 'Parc', 'Map-Marker-Ball-Right-Pink-icon.png'),
(120, 557, 'Points Clients', 'home.png'),
(121, 557, 'Sièges', 'Map-Marker-Bubble-Azure-icon.png'),
(122, 558, 'Entreprot', 'Map-Marker-Ball-Right-Pink-icon.png'),
(123, 558, 'Parc', 'Map-Marker-Ball-Right-Pink-icon.png'),
(124, 558, 'Points Clients', 'home.png'),
(125, 558, 'Sièges', 'Map-Marker-Bubble-Azure-icon.png'),
(126, 559, 'Entreprot', 'Map-Marker-Ball-Right-Pink-icon.png'),
(127, 559, 'Parc', 'Map-Marker-Ball-Right-Pink-icon.png'),
(128, 559, 'Points Clients', 'home.png'),
(129, 559, 'Sièges', 'Map-Marker-Bubble-Azure-icon.png'),
(130, 560, 'Entreprot', 'Map-Marker-Ball-Right-Pink-icon.png'),
(131, 560, 'Parc', 'Map-Marker-Ball-Right-Pink-icon.png'),
(132, 560, 'Points Clients', 'home.png'),
(133, 560, 'Sièges', 'Map-Marker-Bubble-Azure-icon.png'),
(134, 561, 'Entreprot', 'Map-Marker-Ball-Right-Pink-icon.png'),
(135, 561, 'Parc', 'Map-Marker-Ball-Right-Pink-icon.png'),
(136, 561, 'Points Clients', 'home.png'),
(137, 561, 'Sièges', 'Map-Marker-Bubble-Azure-icon.png'),
(138, 562, 'Entreprot', 'Map-Marker-Ball-Right-Pink-icon.png'),
(139, 562, 'Parc', 'Map-Marker-Ball-Right-Pink-icon.png'),
(140, 562, 'Points Clients', 'home.png'),
(141, 562, 'Sièges', 'Map-Marker-Bubble-Azure-icon.png'),
(142, 563, 'Entreprot', 'Map-Marker-Ball-Right-Pink-icon.png'),
(143, 563, 'Parc', 'Map-Marker-Ball-Right-Pink-icon.png'),
(144, 563, 'Points Clients', 'home.png'),
(145, 563, 'Sièges', 'Map-Marker-Bubble-Azure-icon.png'),
(146, 564, 'Entreprot', 'Map-Marker-Ball-Right-Pink-icon.png'),
(147, 564, 'Parc', 'Map-Marker-Ball-Right-Pink-icon.png'),
(148, 564, 'Points Clients', 'home.png'),
(149, 564, 'Sièges', 'Map-Marker-Bubble-Azure-icon.png'),
(150, 565, 'Entreprot', 'Map-Marker-Ball-Right-Pink-icon.png'),
(151, 565, 'Parc', 'Map-Marker-Ball-Right-Pink-icon.png'),
(152, 565, 'Points Clients', 'home.png'),
(153, 565, 'Sièges', 'Map-Marker-Bubble-Azure-icon.png'),
(154, 566, 'Entreprot', 'Map-Marker-Ball-Right-Pink-icon.png'),
(155, 566, 'Parc', 'Map-Marker-Ball-Right-Pink-icon.png'),
(156, 566, 'Points Clients', 'home.png'),
(157, 566, 'Sièges', 'Map-Marker-Bubble-Azure-icon.png'),
(158, 567, 'Entreprot', 'Map-Marker-Ball-Right-Pink-icon.png'),
(159, 567, 'Parc', 'Map-Marker-Ball-Right-Pink-icon.png'),
(160, 567, 'Points Clients', 'home.png'),
(161, 567, 'Sièges', 'Map-Marker-Bubble-Azure-icon.png'),
(162, 568, 'Entreprot', 'Map-Marker-Ball-Right-Pink-icon.png'),
(163, 568, 'Parc', 'Map-Marker-Ball-Right-Pink-icon.png'),
(164, 568, 'Points Clients', 'home.png'),
(165, 568, 'Sièges', 'Map-Marker-Bubble-Azure-icon.png'),
(166, 569, 'Entreprot', 'Map-Marker-Ball-Right-Pink-icon.png'),
(167, 569, 'Parc', 'Map-Marker-Ball-Right-Pink-icon.png'),
(168, 569, 'Points Clients', 'home.png'),
(169, 569, 'Sièges', 'Map-Marker-Bubble-Azure-icon.png'),
(170, 570, 'Entreprot', 'Map-Marker-Ball-Right-Pink-icon.png'),
(171, 570, 'Parc', 'Map-Marker-Ball-Right-Pink-icon.png'),
(172, 570, 'Points Clients', 'home.png'),
(173, 570, 'Sièges', 'Map-Marker-Bubble-Azure-icon.png'),
(174, 571, 'Entreprot', 'Map-Marker-Ball-Right-Pink-icon.png'),
(175, 571, 'Parc', 'Map-Marker-Ball-Right-Pink-icon.png'),
(176, 571, 'Points Clients', 'home.png'),
(177, 571, 'Sièges', 'Map-Marker-Bubble-Azure-icon.png'),
(178, 572, 'Entreprot', 'Map-Marker-Ball-Right-Pink-icon.png'),
(179, 572, 'Parc', 'Map-Marker-Ball-Right-Pink-icon.png'),
(180, 572, 'Points Clients', 'home.png'),
(181, 572, 'Sièges', 'Map-Marker-Bubble-Azure-icon.png'),
(182, 573, 'Entreprot', 'Map-Marker-Ball-Right-Pink-icon.png'),
(183, 573, 'Parc', 'Map-Marker-Ball-Right-Pink-icon.png'),
(184, 573, 'Points Clients', 'home.png'),
(185, 573, 'Sièges', 'Map-Marker-Bubble-Azure-icon.png'),
(186, 574, 'Entreprot', 'Map-Marker-Ball-Right-Pink-icon.png'),
(187, 574, 'Parc', 'Map-Marker-Ball-Right-Pink-icon.png'),
(188, 574, 'Points Clients', 'home.png'),
(189, 574, 'Sièges', 'Map-Marker-Bubble-Azure-icon.png'),
(190, 575, 'Entreprot', 'Map-Marker-Ball-Right-Pink-icon.png'),
(191, 575, 'Parc', 'Map-Marker-Ball-Right-Pink-icon.png'),
(192, 575, 'Points Clients', 'home.png'),
(193, 575, 'Sièges', 'Map-Marker-Bubble-Azure-icon.png'),
(194, 576, 'Entreprot', 'Map-Marker-Ball-Right-Pink-icon.png'),
(195, 576, 'Parc', 'Map-Marker-Ball-Right-Pink-icon.png'),
(196, 576, 'Points Clients', 'home.png'),
(197, 576, 'Sièges', 'Map-Marker-Bubble-Azure-icon.png'),
(198, 577, 'Entreprot', 'Map-Marker-Ball-Right-Pink-icon.png'),
(199, 577, 'Parc', 'Map-Marker-Ball-Right-Pink-icon.png'),
(200, 577, 'Points Clients', 'home.png'),
(201, 577, 'Sièges', 'Map-Marker-Bubble-Azure-icon.png'),
(202, 578, 'Entreprot', 'Map-Marker-Ball-Right-Pink-icon.png'),
(203, 578, 'Parc', 'Map-Marker-Ball-Right-Pink-icon.png'),
(204, 578, 'Points Clients', 'home.png'),
(205, 578, 'Sièges', 'Map-Marker-Bubble-Azure-icon.png'),
(206, 579, 'Entreprot', 'Map-Marker-Ball-Right-Pink-icon.png'),
(207, 579, 'Parc', 'Map-Marker-Ball-Right-Pink-icon.png'),
(208, 579, 'Points Clients', 'home.png'),
(209, 579, 'Sièges', 'Map-Marker-Bubble-Azure-icon.png'),
(210, 580, 'Entreprot', 'Map-Marker-Ball-Right-Pink-icon.png'),
(211, 580, 'Parc', 'Map-Marker-Ball-Right-Pink-icon.png'),
(212, 580, 'Points Clients', 'home.png'),
(213, 580, 'Sièges', 'Map-Marker-Bubble-Azure-icon.png'),
(214, 581, 'Entreprot', 'Map-Marker-Ball-Right-Pink-icon.png'),
(215, 581, 'Parc', 'Map-Marker-Ball-Right-Pink-icon.png'),
(216, 581, 'Points Clients', 'home.png'),
(217, 581, 'Sièges', 'Map-Marker-Bubble-Azure-icon.png'),
(218, 582, 'Entreprot', 'Map-Marker-Ball-Right-Pink-icon.png'),
(219, 582, 'Parc', 'Map-Marker-Ball-Right-Pink-icon.png'),
(220, 582, 'Points Clients', 'home.png'),
(221, 582, 'Sièges', 'Map-Marker-Bubble-Azure-icon.png'),
(222, 583, 'Entreprot', 'Map-Marker-Ball-Right-Pink-icon.png'),
(223, 583, 'Parc', 'Map-Marker-Ball-Right-Pink-icon.png'),
(224, 583, 'Points Clients', 'home.png'),
(225, 583, 'Sièges', 'Map-Marker-Bubble-Azure-icon.png'),
(226, 584, 'Entreprot', 'Map-Marker-Ball-Right-Pink-icon.png'),
(227, 584, 'Parc', 'Map-Marker-Ball-Right-Pink-icon.png'),
(228, 584, 'Points Clients', 'home.png'),
(229, 584, 'Sièges', 'Map-Marker-Bubble-Azure-icon.png'),
(230, 585, 'Entreprot', 'Map-Marker-Ball-Right-Pink-icon.png'),
(231, 585, 'Parc', 'Map-Marker-Ball-Right-Pink-icon.png'),
(232, 585, 'Points Clients', 'home.png'),
(233, 585, 'Sièges', 'Map-Marker-Bubble-Azure-icon.png'),
(234, 586, 'Entreprot', 'Map-Marker-Ball-Right-Pink-icon.png'),
(235, 586, 'Parc', 'Map-Marker-Ball-Right-Pink-icon.png'),
(236, 586, 'Points Clients', 'home.png'),
(237, 586, 'Sièges', 'Map-Marker-Bubble-Azure-icon.png'),
(238, 587, 'Entreprot', 'Map-Marker-Ball-Right-Pink-icon.png'),
(239, 587, 'Parc', 'Map-Marker-Ball-Right-Pink-icon.png'),
(240, 587, 'Points Clients', 'home.png'),
(241, 587, 'Sièges', 'Map-Marker-Bubble-Azure-icon.png'),
(242, 588, 'Entreprot', 'Map-Marker-Ball-Right-Pink-icon.png'),
(243, 588, 'Parc', 'Map-Marker-Ball-Right-Pink-icon.png'),
(244, 588, 'Points Clients', 'home.png'),
(245, 588, 'Sièges', 'Map-Marker-Bubble-Azure-icon.png'),
(246, 589, 'Entreprot', 'Map-Marker-Ball-Right-Pink-icon.png'),
(247, 589, 'Parc', 'Map-Marker-Ball-Right-Pink-icon.png'),
(248, 589, 'Points Clients', 'home.png'),
(249, 589, 'Sièges', 'Map-Marker-Bubble-Azure-icon.png'),
(250, 590, 'Entreprot', 'Map-Marker-Ball-Right-Pink-icon.png'),
(251, 590, 'Parc', 'Map-Marker-Ball-Right-Pink-icon.png'),
(252, 590, 'Points Clients', 'home.png'),
(253, 590, 'Sièges', 'Map-Marker-Bubble-Azure-icon.png'),
(254, 591, 'Entreprot', 'Map-Marker-Ball-Right-Pink-icon.png'),
(255, 591, 'Parc', 'Map-Marker-Ball-Right-Pink-icon.png'),
(256, 591, 'Points Clients', 'home.png'),
(257, 591, 'Sièges', 'Map-Marker-Bubble-Azure-icon.png'),
(258, 592, 'Entreprot', 'Map-Marker-Ball-Right-Pink-icon.png'),
(259, 592, 'Parc', 'Map-Marker-Ball-Right-Pink-icon.png'),
(260, 592, 'Points Clients', 'home.png'),
(261, 592, 'Sièges', 'Map-Marker-Bubble-Azure-icon.png'),
(262, 593, 'Entreprot', 'Map-Marker-Ball-Right-Pink-icon.png'),
(263, 593, 'Parc', 'Map-Marker-Ball-Right-Pink-icon.png'),
(264, 593, 'Points Clients', 'home.png'),
(265, 593, 'Sièges', 'Map-Marker-Bubble-Azure-icon.png'),
(266, 594, 'Entreprot', 'Map-Marker-Ball-Right-Pink-icon.png'),
(267, 594, 'Parc', 'Map-Marker-Ball-Right-Pink-icon.png'),
(268, 594, 'Points Clients', 'home.png'),
(269, 594, 'Sièges', 'Map-Marker-Bubble-Azure-icon.png'),
(270, 595, 'Entreprot', 'Map-Marker-Ball-Right-Pink-icon.png'),
(271, 595, 'Parc', 'Map-Marker-Ball-Right-Pink-icon.png'),
(272, 595, 'Points Clients', 'home.png'),
(273, 595, 'Sièges', 'Map-Marker-Bubble-Azure-icon.png'),
(274, 596, 'Entreprot', 'Map-Marker-Ball-Right-Pink-icon.png'),
(275, 596, 'Parc', 'Map-Marker-Ball-Right-Pink-icon.png'),
(276, 596, 'Points Clients', 'home.png'),
(277, 596, 'Sièges', 'Map-Marker-Bubble-Azure-icon.png'),
(278, 597, 'Entreprot', 'Map-Marker-Ball-Right-Pink-icon.png'),
(279, 597, 'Parc', 'Map-Marker-Ball-Right-Pink-icon.png'),
(280, 597, 'Points Clients', 'home.png'),
(281, 597, 'Sièges', 'Map-Marker-Bubble-Azure-icon.png'),
(282, 598, 'Entreprot', 'Map-Marker-Ball-Right-Pink-icon.png'),
(283, 598, 'Parc', 'Map-Marker-Ball-Right-Pink-icon.png'),
(284, 598, 'Points Clients', 'home.png'),
(285, 598, 'Sièges', 'Map-Marker-Bubble-Azure-icon.png'),
(286, 599, 'Entreprot', 'Map-Marker-Ball-Right-Pink-icon.png'),
(287, 599, 'Parc', 'Map-Marker-Ball-Right-Pink-icon.png'),
(288, 599, 'Points Clients', 'home.png'),
(289, 599, 'Sièges', 'Map-Marker-Bubble-Azure-icon.png'),
(290, 600, 'Entreprot', 'Map-Marker-Ball-Right-Pink-icon.png'),
(291, 600, 'Parc', 'Map-Marker-Ball-Right-Pink-icon.png'),
(292, 600, 'Points Clients', 'home.png'),
(293, 600, 'Sièges', 'Map-Marker-Bubble-Azure-icon.png'),
(294, 601, 'Entreprot', 'Map-Marker-Ball-Right-Pink-icon.png'),
(295, 601, 'Parc', 'Map-Marker-Ball-Right-Pink-icon.png'),
(296, 601, 'Points Clients', 'home.png'),
(297, 601, 'Sièges', 'Map-Marker-Bubble-Azure-icon.png'),
(298, 602, 'Entreprot', 'Map-Marker-Ball-Right-Pink-icon.png'),
(299, 602, 'Parc', 'Map-Marker-Ball-Right-Pink-icon.png'),
(300, 602, 'Points Clients', 'home.png'),
(301, 602, 'Sièges', 'Map-Marker-Bubble-Azure-icon.png'),
(302, 603, 'Entreprot', 'Map-Marker-Ball-Right-Pink-icon.png'),
(303, 603, 'Parc', 'Map-Marker-Ball-Right-Pink-icon.png'),
(304, 603, 'Points Clients', 'home.png'),
(305, 603, 'Sièges', 'Map-Marker-Bubble-Azure-icon.png'),
(306, 604, 'Entreprot', 'Map-Marker-Ball-Right-Pink-icon.png'),
(307, 604, 'Parc', 'Map-Marker-Ball-Right-Pink-icon.png'),
(308, 604, 'Points Clients', 'home.png'),
(309, 604, 'Sièges', 'Map-Marker-Bubble-Azure-icon.png'),
(310, 605, 'Entreprot', 'Map-Marker-Ball-Right-Pink-icon.png'),
(311, 605, 'Parc', 'Map-Marker-Ball-Right-Pink-icon.png'),
(312, 605, 'Points Clients', 'home.png'),
(313, 605, 'Sièges', 'Map-Marker-Bubble-Azure-icon.png'),
(314, 606, 'Entreprot', 'Map-Marker-Ball-Right-Pink-icon.png'),
(315, 606, 'Parc', 'Map-Marker-Ball-Right-Pink-icon.png'),
(316, 606, 'Points Clients', 'home.png'),
(317, 606, 'Sièges', 'Map-Marker-Bubble-Azure-icon.png'),
(318, 607, 'Entreprot', 'Map-Marker-Ball-Right-Pink-icon.png'),
(319, 607, 'Parc', 'Map-Marker-Ball-Right-Pink-icon.png'),
(320, 607, 'Points Clients', 'home.png'),
(321, 607, 'Sièges', 'Map-Marker-Bubble-Azure-icon.png'),
(322, 608, 'Entreprot', 'Map-Marker-Ball-Right-Pink-icon.png'),
(323, 608, 'Parc', 'Map-Marker-Ball-Right-Pink-icon.png'),
(324, 608, 'Points Clients', 'home.png'),
(325, 608, 'Sièges', 'Map-Marker-Bubble-Azure-icon.png'),
(326, 609, 'Entreprot', 'Map-Marker-Ball-Right-Pink-icon.png'),
(327, 609, 'Parc', 'Map-Marker-Ball-Right-Pink-icon.png'),
(328, 609, 'Points Clients', 'home.png'),
(329, 609, 'Sièges', 'Map-Marker-Bubble-Azure-icon.png'),
(330, 610, 'Entreprot', 'Map-Marker-Ball-Right-Pink-icon.png'),
(331, 610, 'Parc', 'Map-Marker-Ball-Right-Pink-icon.png'),
(332, 610, 'Points Clients', 'home.png'),
(333, 610, 'Sièges', 'Map-Marker-Bubble-Azure-icon.png'),
(334, 611, 'Entreprot', 'Map-Marker-Ball-Right-Pink-icon.png'),
(335, 611, 'Parc', 'Map-Marker-Ball-Right-Pink-icon.png'),
(336, 611, 'Points Clients', 'home.png'),
(337, 611, 'Sièges', 'Map-Marker-Bubble-Azure-icon.png'),
(338, 612, 'Entreprot', 'Map-Marker-Ball-Right-Pink-icon.png'),
(339, 612, 'Parc', 'Map-Marker-Ball-Right-Pink-icon.png'),
(340, 612, 'Points Clients', 'home.png'),
(341, 612, 'Sièges', 'Map-Marker-Bubble-Azure-icon.png'),
(342, 613, 'Entreprot', 'Map-Marker-Ball-Right-Pink-icon.png'),
(343, 613, 'Parc', 'Map-Marker-Ball-Right-Pink-icon.png'),
(344, 613, 'Points Clients', 'home.png'),
(345, 613, 'Sièges', 'Map-Marker-Bubble-Azure-icon.png'),
(346, 614, 'Entreprot', 'Map-Marker-Ball-Right-Pink-icon.png'),
(347, 614, 'Parc', 'Map-Marker-Ball-Right-Pink-icon.png'),
(348, 614, 'Points Clients', 'home.png'),
(349, 614, 'Sièges', 'Map-Marker-Bubble-Azure-icon.png'),
(350, 615, 'Entreprot', 'Map-Marker-Ball-Right-Pink-icon.png'),
(351, 615, 'Parc', 'Map-Marker-Ball-Right-Pink-icon.png'),
(352, 615, 'Points Clients', 'home.png'),
(353, 615, 'Sièges', 'Map-Marker-Bubble-Azure-icon.png'),
(354, 616, 'Entreprot', 'Map-Marker-Ball-Right-Pink-icon.png'),
(355, 616, 'Parc', 'Map-Marker-Ball-Right-Pink-icon.png'),
(356, 616, 'Points Clients', 'home.png'),
(357, 616, 'Sièges', 'Map-Marker-Bubble-Azure-icon.png'),
(358, 617, 'Entreprot', 'Map-Marker-Ball-Right-Pink-icon.png'),
(359, 617, 'Parc', 'Map-Marker-Ball-Right-Pink-icon.png'),
(360, 617, 'Points Clients', 'home.png'),
(361, 617, 'Sièges', 'Map-Marker-Bubble-Azure-icon.png'),
(362, 618, 'Entreprot', 'Map-Marker-Ball-Right-Pink-icon.png'),
(363, 618, 'Parc', 'Map-Marker-Ball-Right-Pink-icon.png'),
(364, 618, 'Points Clients', 'home.png'),
(365, 618, 'Sièges', 'Map-Marker-Bubble-Azure-icon.png'),
(366, 619, 'Entreprot', 'Map-Marker-Ball-Right-Pink-icon.png'),
(367, 619, 'Parc', 'Map-Marker-Ball-Right-Pink-icon.png'),
(368, 619, 'Points Clients', 'home.png'),
(369, 619, 'Sièges', 'Map-Marker-Bubble-Azure-icon.png'),
(370, 620, 'Entreprot', 'Map-Marker-Ball-Right-Pink-icon.png'),
(371, 620, 'Parc', 'Map-Marker-Ball-Right-Pink-icon.png'),
(372, 620, 'Points Clients', 'home.png'),
(373, 620, 'Sièges', 'Map-Marker-Bubble-Azure-icon.png'),
(374, 621, 'Entreprot', 'Map-Marker-Ball-Right-Pink-icon.png'),
(375, 621, 'Parc', 'Map-Marker-Ball-Right-Pink-icon.png'),
(376, 621, 'Points Clients', 'home.png'),
(377, 621, 'Sièges', 'Map-Marker-Bubble-Azure-icon.png'),
(378, 622, 'Entreprot', 'Map-Marker-Ball-Right-Pink-icon.png'),
(379, 622, 'Parc', 'Map-Marker-Ball-Right-Pink-icon.png'),
(380, 622, 'Points Clients', 'home.png'),
(381, 622, 'Sièges', 'Map-Marker-Bubble-Azure-icon.png'),
(382, 623, 'Entreprot', 'Map-Marker-Ball-Right-Pink-icon.png'),
(383, 623, 'Parc', 'Map-Marker-Ball-Right-Pink-icon.png'),
(384, 623, 'Points Clients', 'home.png'),
(385, 623, 'Sièges', 'Map-Marker-Bubble-Azure-icon.png'),
(386, 624, 'Entreprot', 'Map-Marker-Ball-Right-Pink-icon.png'),
(387, 624, 'Parc', 'Map-Marker-Ball-Right-Pink-icon.png'),
(388, 624, 'Points Clients', 'home.png'),
(389, 624, 'Sièges', 'Map-Marker-Bubble-Azure-icon.png'),
(390, 634, 'Entreprot', 'Map-Marker-Ball-Right-Pink-icon.png'),
(391, 634, 'Parc', 'Map-Marker-Ball-Right-Pink-icon.png'),
(392, 634, 'Points Clients', 'home.png'),
(393, 634, 'Sièges', 'Map-Marker-Bubble-Azure-icon.png'),
(394, 649, 'Entreprot', 'Map-Marker-Ball-Right-Pink-icon.png'),
(395, 649, 'Parc', 'Map-Marker-Ball-Right-Pink-icon.png'),
(396, 649, 'Points Clients', 'home.png'),
(397, 649, 'Sièges', 'Map-Marker-Bubble-Azure-icon.png'),
(398, 650, 'Entreprot', 'Map-Marker-Ball-Right-Pink-icon.png'),
(399, 650, 'Parc', 'Map-Marker-Ball-Right-Pink-icon.png'),
(400, 650, 'Points Clients', 'home.png'),
(401, 650, 'Sièges', 'Map-Marker-Bubble-Azure-icon.png'),
(402, 651, 'Entreprot', 'Map-Marker-Ball-Right-Pink-icon.png'),
(403, 651, 'Parc', 'Map-Marker-Ball-Right-Pink-icon.png'),
(404, 651, 'Points Clients', 'home.png'),
(405, 651, 'Sièges', 'Map-Marker-Bubble-Azure-icon.png'),
(406, 652, 'Entreprot', 'Map-Marker-Ball-Right-Pink-icon.png'),
(407, 652, 'Parc', 'Map-Marker-Ball-Right-Pink-icon.png'),
(408, 652, 'Points Clients', 'home.png'),
(409, 652, 'Sièges', 'Map-Marker-Bubble-Azure-icon.png'),
(410, 654, 'Entreprot', 'Map-Marker-Ball-Right-Pink-icon.png'),
(411, 654, 'Parc', 'Map-Marker-Ball-Right-Pink-icon.png'),
(412, 654, 'Points Clients', 'home.png'),
(413, 654, 'Sièges', 'Map-Marker-Bubble-Azure-icon.png'),
(414, 655, 'Entreprot', 'Map-Marker-Ball-Right-Pink-icon.png'),
(415, 655, 'Parc', 'Map-Marker-Ball-Right-Pink-icon.png'),
(416, 655, 'Points Clients', 'home.png'),
(417, 655, 'Sièges', 'Map-Marker-Bubble-Azure-icon.png'),
(418, 2957, 'Entreprot', 'Map-Marker-Ball-Right-Pink-icon.png'),
(419, 2957, 'Parc', 'Map-Marker-Ball-Right-Pink-icon.png'),
(420, 2957, 'Points Clients', 'home.png'),
(421, 2957, 'Sièges', 'Map-Marker-Bubble-Azure-icon.png');

-- --------------------------------------------------------

--
-- Structure de la table `localisation_wilaya`
--

CREATE TABLE `localisation_wilaya` (
  `wilaya_id` int(11) NOT NULL,
  `wilaya_intitule` varchar(50) COLLATE utf8_unicode_ci DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

-- --------------------------------------------------------

--
-- Structure de la table `logistique_help`
--

CREATE TABLE `logistique_help` (
  `help_id` int(11) NOT NULL,
  `help_parent_id` int(11) DEFAULT NULL,
  `help_title` varchar(256) NOT NULL,
  `help_designation` text NOT NULL,
  `help_video_id` varchar(50) NOT NULL,
  `help_html_link` varchar(256) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

-- --------------------------------------------------------

--
-- Structure de la table `maintenance_etat_log`
--

CREATE TABLE `maintenance_etat_log` (
  `etat_id` int(11) NOT NULL,
  `maintenance_id` int(11) NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `created_by` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Déchargement des données de la table `maintenance_etat_log`
--

INSERT INTO `maintenance_etat_log` (`etat_id`, `maintenance_id`, `created_at`, `created_by`) VALUES
(5, 22131, '2024-01-18 13:08:05', 305),
(5, 22141, '2024-01-18 13:07:56', 305),
(5, 21941, '2024-01-14 10:06:12', 305),
(5, 21961, '2024-01-10 13:07:42', 305),
(8, 21951, '2024-01-10 09:58:22', 305),
(2, 21951, '2024-01-08 14:37:09', 305),
(5, 21921, '2024-01-07 14:49:56', 305),
(3, 21921, '2024-01-07 14:49:08', 305),
(5, 21901, '2024-01-07 09:56:27', 305),
(3, 21901, '2024-01-07 09:55:29', 305),
(5, 21851, '2024-01-07 09:44:01', 305),
(0, 21851, '2024-01-07 09:43:54', 305),
(5, 21881, '2024-01-07 09:24:56', 305),
(3, 20511, '2023-10-18 14:46:55', 305),
(5, 20511, '2023-10-18 14:47:10', 305),
(5, 20521, '2023-10-24 11:46:35', 1081),
(5, 20091, '2023-10-24 11:47:17', 1081),
(5, 20451, '2023-10-24 11:48:50', 1081),
(5, 20461, '2023-10-25 10:30:08', 1081),
(4, 20561, '2023-10-25 12:04:19', 1081),
(5, 20621, '2023-10-25 14:09:09', 1081),
(5, 20391, '2023-10-25 14:10:35', 1081),
(5, 20661, '2023-10-28 11:54:35', 1081),
(5, 20611, '2023-10-28 11:56:35', 1081),
(5, 20631, '2023-10-28 11:57:08', 1081),
(5, 20701, '2023-10-28 13:39:32', 1081),
(5, 20651, '2023-10-28 13:40:44', 1081),
(5, 20561, '2023-10-28 13:41:59', 1081),
(5, 17791, '2023-10-31 09:43:25', 1081),
(5, 20741, '2023-11-01 13:57:31', 1081),
(4, 20721, '2023-11-01 13:58:26', 1081),
(5, 20711, '2023-11-01 13:58:49', 1081),
(4, 20681, '2023-11-01 14:00:06', 1081),
(4, 20511, '2023-11-05 08:35:58', 305),
(5, 20771, '2023-11-05 10:49:30', 1081),
(5, 20811, '2023-11-05 11:04:38', 305),
(5, 19561, '2023-11-05 12:47:05', 1081),
(5, 20271, '2023-11-05 12:47:46', 1081),
(5, 20431, '2023-11-05 12:50:42', 1081),
(5, 20291, '2023-11-05 12:51:19', 1081),
(5, 20601, '2023-11-05 12:52:20', 1081),
(5, 20531, '2023-11-05 12:53:46', 1081),
(4, 20691, '2023-11-05 12:56:18', 1081),
(5, 20441, '2023-11-05 12:57:09', 1081),
(5, 20731, '2023-11-05 12:59:24', 1081),
(5, 20351, '2023-11-05 13:02:17', 1081),
(5, 20831, '2023-11-06 11:12:12', 305),
(5, 20841, '2023-11-06 11:36:56', 305),
(5, 20851, '2023-11-06 11:45:39', 305),
(5, 20861, '2023-11-07 08:15:52', 305),
(5, 20871, '2023-11-07 08:20:11', 305),
(5, 20821, '2023-11-07 09:02:15', 305),
(5, 20881, '2023-11-07 13:56:11', 305),
(5, 20911, '2023-11-07 14:08:03', 305),
(5, 20921, '2023-11-07 14:33:42', 305),
(5, 20931, '2023-11-07 14:44:46', 305),
(5, 20941, '2023-11-07 15:02:36', 305),
(5, 20951, '2023-11-08 07:59:10', 305),
(5, 20511, '2023-11-08 08:56:21', 305),
(2, 20971, '2023-11-08 08:58:41', 305),
(3, 20971, '2023-11-08 08:58:55', 305),
(4, 20971, '2023-11-08 08:59:08', 305),
(5, 20971, '2023-11-08 08:59:18', 305),
(4, 20961, '2023-11-08 11:34:45', 1081),
(3, 20981, '2023-11-08 12:26:07', 305),
(4, 20981, '2023-11-08 12:29:57', 305),
(5, 20981, '2023-11-08 12:30:48', 305),
(5, 20991, '2023-11-08 12:37:45', 305),
(3, 21001, '2023-11-08 12:45:38', 305),
(2, 21001, '2023-11-08 12:51:36', 305),
(5, 21001, '2023-11-08 12:51:50', 305),
(2, 21041, '2023-11-09 08:12:13', 305),
(3, 21041, '2023-11-09 08:13:21', 305),
(5, 21041, '2023-11-09 08:15:52', 305),
(5, 21051, '2023-11-09 08:55:44', 305),
(5, 21021, '2023-11-11 10:28:36', 1081),
(5, 20961, '2023-11-11 13:43:03', 1081),
(5, 20571, '2023-11-12 12:51:24', 305),
(5, 20541, '2023-11-12 12:51:51', 305),
(5, 20551, '2023-11-12 12:52:05', 305),
(5, 20491, '2023-11-12 12:52:34', 305),
(5, 21181, '2023-11-13 12:14:11', 305),
(5, 21171, '2023-11-13 12:14:27', 305),
(5, 21161, '2023-11-13 12:14:46', 305),
(5, 21151, '2023-11-13 12:14:56', 305),
(5, 21111, '2023-11-13 12:16:45', 305),
(5, 21071, '2023-11-13 12:17:35', 305),
(5, 21061, '2023-11-13 12:18:47', 305),
(5, 20761, '2023-11-13 12:27:08', 305),
(5, 20751, '2023-11-13 12:28:25', 305),
(5, 20011, '2023-11-13 12:42:46', 305),
(5, 20251, '2023-11-13 12:47:10', 305),
(5, 21211, '2023-11-13 12:54:14', 305),
(5, 21261, '2023-11-13 12:56:28', 305),
(5, 21251, '2023-11-13 12:56:42', 305),
(5, 21241, '2023-11-13 12:56:52', 305),
(5, 21231, '2023-11-13 12:57:05', 305),
(5, 21221, '2023-11-13 12:57:13', 305),
(5, 19531, '2023-11-13 12:59:08', 305),
(5, 21271, '2023-11-13 13:00:35', 305),
(5, 21291, '2023-11-13 13:01:49', 305),
(5, 21281, '2023-11-13 13:02:00', 305),
(5, 17371, '2023-11-13 13:03:16', 305),
(5, 21301, '2023-11-13 13:13:02', 305),
(5, 19031, '2023-11-13 13:13:58', 305),
(5, 19551, '2023-11-13 13:15:33', 305),
(5, 21311, '2023-11-13 13:16:52', 305),
(5, 19941, '2023-11-13 13:18:20', 305),
(5, 18491, '2023-11-13 13:21:27', 305),
(5, 19881, '2023-11-13 13:22:04', 305),
(5, 20001, '2023-11-13 13:22:34', 305),
(5, 21321, '2023-11-13 13:27:10', 305),
(5, 21331, '2023-11-13 13:27:21', 305),
(5, 17121, '2023-11-13 13:43:55', 305),
(5, 19801, '2023-11-13 13:45:01', 305),
(5, 20141, '2023-11-13 13:48:07', 305),
(5, 21381, '2023-11-13 14:00:50', 305),
(5, 21371, '2023-11-13 14:00:59', 305),
(5, 21361, '2023-11-13 14:01:14', 305),
(4, 21011, '2023-11-14 11:31:37', 1081),
(5, 21121, '2023-11-15 09:47:41', 1081),
(5, 21351, '2023-11-15 09:48:44', 1081),
(4, 21081, '2023-11-15 09:49:48', 1081),
(5, 20261, '2023-11-15 09:53:29', 1081),
(5, 21491, '2023-11-19 12:34:18', 1081),
(5, 21471, '2023-11-19 12:34:56', 1081),
(5, 21481, '2023-11-19 12:35:45', 1081),
(5, 21411, '2023-11-19 12:37:19', 1081),
(5, 21451, '2023-11-19 12:37:57', 1081),
(5, 21201, '2023-11-19 12:38:53', 1081),
(5, 21081, '2023-11-19 12:39:44', 1081),
(5, 21711, '2023-11-25 13:57:38', 1081),
(5, 21691, '2023-11-25 13:59:15', 1081),
(5, 21631, '2023-11-25 14:01:18', 1081),
(5, 21341, '2023-11-25 14:02:49', 1081),
(5, 20671, '2023-11-25 14:04:57', 1081),
(5, 20581, '2023-11-25 14:05:43', 1081),
(5, 21651, '2023-11-27 09:52:45', 1081),
(2, 21731, '2023-11-27 22:18:02', 305),
(2, 21751, '2023-12-12 14:13:08', 305),
(3, 21781, '2023-12-20 09:05:58', 305),
(2, 21881, '2023-12-20 16:09:15', 305),
(4, 21781, '2023-12-24 13:05:31', 305),
(2, 21781, '2023-12-24 13:06:18', 305),
(3, 21781, '2023-12-24 13:10:47', 305),
(5, 22121, '2024-01-18 13:08:13', 305),
(3, 21781, '2023-12-24 13:16:09', 305),
(5, 22111, '2024-01-18 13:08:23', 305),
(5, 22101, '2024-01-18 13:10:23', 305),
(5, 22091, '2024-01-18 13:10:30', 305),
(5, 22081, '2024-01-18 13:10:39', 305),
(5, 22061, '2024-01-18 13:10:46', 305),
(5, 22071, '2024-01-18 13:12:24', 305),
(5, 22051, '2024-01-18 13:12:39', 305),
(5, 22041, '2024-01-18 13:32:47', 305),
(5, 21951, '2024-01-18 13:32:59', 305),
(5, 22021, '2024-01-18 13:33:12', 305),
(5, 22011, '2024-01-18 13:33:25', 305),
(2, 22031, '2024-01-21 08:55:14', 305),
(4, 22031, '2024-01-21 08:55:35', 305),
(3, 22031, '2024-01-21 09:13:18', 305),
(3, 22031, '2024-01-21 09:14:10', 305),
(6, 22031, '2024-01-21 09:22:01', 305),
(3, 22031, '2024-01-21 09:25:55', 305),
(6, 22031, '2024-01-21 09:34:34', 305),
(2, 22031, '2024-01-21 09:35:40', 305),
(3, 22171, '2024-01-24 13:56:20', 305),
(3, 22171, '2024-01-24 13:56:35', 305),
(4, 22171, '2024-01-24 14:05:18', 305),
(2, 22171, '2024-01-24 14:06:08', 305),
(2, 22171, '2024-01-24 14:08:00', 305),
(4, 22171, '2024-01-24 14:15:10', 305),
(6, 22171, '2024-01-24 14:18:29', 305),
(4, 22191, '2024-01-28 07:49:42', 305),
(5, 22181, '2024-01-28 08:59:31', 305),
(5, 22221, '2024-01-28 11:12:55', 305),
(3, 22191, '2024-01-28 13:58:19', 305),
(5, 22191, '2024-01-28 13:58:56', 305),
(6, 22211, '2024-01-28 14:02:38', 305),
(5, 22231, '2024-01-28 14:11:06', 305),
(5, 22241, '2024-01-28 14:12:14', 305),
(5, 22201, '2024-01-28 14:12:52', 305),
(5, 22251, '2024-01-28 14:14:00', 305),
(8, 22211, '2024-01-28 14:58:10', 305),
(5, 22151, '2024-01-28 15:00:00', 305),
(5, 22271, '2024-01-28 15:00:39', 305),
(5, 22281, '2024-01-28 15:01:20', 305),
(5, 21991, '2024-01-28 15:01:55', 305),
(4, 22211, '2024-01-28 15:09:21', 305),
(5, 22211, '2024-01-28 15:11:49', 305),
(6, 22211, '2024-01-28 15:12:02', 305),
(8, 22211, '2024-01-28 15:13:15', 305),
(5, 22211, '2024-01-28 15:14:55', 305),
(6, 22181, '2024-01-28 15:17:01', 305),
(5, 22181, '2024-01-28 15:18:25', 305),
(8, 22181, '2024-01-28 15:18:34', 305),
(5, 22181, '2024-01-28 15:19:29', 305),
(6, 22181, '2024-01-28 15:19:36', 305),
(8, 22181, '2024-01-28 15:19:42', 305),
(5, 22181, '2024-01-28 15:22:43', 305),
(3, 22181, '2024-01-28 15:22:58', 305),
(6, 22181, '2024-01-28 15:23:06', 305),
(2, 22181, '2024-01-28 15:23:12', 305),
(4, 22181, '2024-01-28 15:23:37', 305),
(1, 22181, '2024-01-28 15:24:50', 305),
(5, 22181, '2024-01-29 07:48:55', 305),
(3, 22181, '2024-01-29 07:52:49', 305),
(5, 22181, '2024-01-29 08:07:04', 305),
(3, 22181, '2024-01-29 08:08:34', 305),
(0, 22181, '2024-01-29 08:10:59', 305),
(5, 22181, '2024-01-29 08:11:16', 305),
(6, 22181, '2024-01-29 08:11:26', 305),
(4, 22181, '2024-01-29 08:12:34', 305),
(5, 22181, '2024-01-29 08:16:50', 305),
(6, 22181, '2024-01-29 08:17:20', 305),
(8, 22181, '2024-01-29 08:18:45', 305),
(6, 22181, '2024-01-29 08:26:28', 305),
(4, 11324, '2024-01-29 08:38:08', 305),
(8, 11324, '2024-01-29 08:38:23', 305),
(2, 11324, '2024-01-29 08:39:00', 305),
(0, 22181, '2024-01-29 08:50:08', 305),
(3, 22181, '2024-01-29 08:51:56', 305),
(0, 22181, '2024-01-29 08:52:11', 305),
(0, 22181, '2024-01-29 09:04:39', 305),
(5, 22181, '2024-01-29 13:23:31', 305),
(6, 22181, '2024-01-29 13:36:54', 305),
(5, 22291, '2024-01-29 13:54:24', 305),
(8, 22181, '2024-01-30 10:13:14', 305),
(6, 22181, '2024-01-30 10:25:14', 305),
(8, 22181, '2024-01-30 10:27:32', 305),
(2, 22181, '2024-01-30 15:01:37', 305),
(4, 22181, '2024-01-30 15:10:02', 305),
(5, 22181, '2024-02-27 08:29:07', 305),
(5, 22491, '2024-02-27 13:24:23', 305),
(5, 22501, '2024-02-27 13:26:54', 305),
(5, 22261, '2024-03-07 08:26:22', 305),
(2, 22541, '2024-03-07 08:36:04', 305),
(3, 22541, '2024-03-07 09:18:29', 305),
(2, 22551, '2024-03-07 13:30:55', 305),
(5, 22551, '2024-03-07 13:31:55', 305),
(3, 22611, '2024-04-21 09:08:19', 305),
(3, 22631, '2024-04-21 09:28:58', 305),
(4, 22631, '2024-04-21 14:16:30', 305),
(2, 22631, '2024-04-21 14:17:11', 305),
(5, 22631, '2024-05-05 09:28:48', 305),
(3, 22621, '2024-05-05 09:29:19', 305),
(5, 22621, '2024-05-05 09:42:11', 305),
(2, 22621, '2024-05-05 09:55:43', 305),
(5, 22161, '2024-05-05 10:31:45', 305),
(4, 22161, '2024-05-05 10:35:35', 305),
(3, 22161, '2024-05-05 10:36:58', 305),
(5, 22161, '2024-05-15 14:48:43', 305),
(2, 22661, '2024-05-19 14:33:52', 305),
(10, 22691, '2024-05-19 14:53:57', 324),
(4, 22721, '2024-05-21 13:36:40', 305),
(3, 22721, '2024-05-21 13:38:08', 305),
(1, 22721, '2024-05-21 13:39:02', 305),
(8, 22721, '2024-05-21 14:04:35', 305),
(10, 22781, '2024-05-21 14:52:46', 305),
(6, 22781, '2024-05-21 14:53:24', 305),
(10, 22781, '2024-05-21 14:54:02', 305),
(9, 22721, '2024-05-21 14:55:34', 305),
(9, 22781, '2024-05-21 14:56:14', 305),
(10, 22781, '2024-05-23 07:48:52', 305),
(9, 22781, '2024-05-23 07:59:55', 305),
(10, 22781, '2024-05-23 08:03:03', 305),
(9, 22781, '2024-05-23 08:24:26', 305),
(10, 22781, '2024-05-23 08:30:54', 305),
(11, 22781, '2024-05-23 08:39:09', 305),
(9, 22781, '2024-05-23 08:39:14', 305),
(10, 22781, '2024-05-23 08:45:54', 305),
(9, 22781, '2024-05-23 08:53:03', 305),
(10, 22781, '2024-05-23 08:54:39', 305),
(9, 22781, '2024-05-23 08:54:55', 305),
(10, 22781, '2024-05-23 08:57:31', 305),
(10, 22721, '2024-06-02 09:06:16', 305),
(15, 22721, '2024-06-02 10:06:21', 305),
(15, 22691, '2024-06-02 10:12:10', 305),
(5, 22661, '2024-06-02 10:16:57', 305),
(14, 22671, '2024-06-02 10:28:00', 305),
(9, 22721, '2024-06-02 12:11:07', 305),
(10, 23071, '2024-06-02 12:11:25', 305),
(14, 22961, '2024-06-02 12:19:06', 305),
(12, 22671, '2024-06-02 12:19:24', 305),
(15, 22721, '2024-06-02 13:59:45', 305),
(14, 22671, '2024-06-02 14:00:15', 305),
(15, 23101, '2024-06-02 15:40:31', 305),
(13, 23111, '2024-06-03 06:43:29', 305),
(14, 23111, '2024-06-03 07:29:54', 305),
(15, 23121, '2024-06-03 09:49:56', 305),
(5, 22541, '2024-06-03 09:57:41', 305),
(10, 23141, '2024-06-03 12:28:35', 305),
(15, 23141, '2024-06-03 12:28:55', 305),
(14, 23131, '2024-06-04 07:36:30', 305),
(14, 23181, '2024-06-04 08:35:01', 305),
(14, 23191, '2024-06-04 08:36:45', 305),
(14, 23201, '2024-06-04 08:44:19', 305),
(1, 23221, '2024-06-04 08:53:42', 305),
(2, 23221, '2024-06-04 08:57:31', 305),
(4, 23221, '2024-06-04 09:13:28', 305),
(14, 23591, '2024-06-05 08:36:10', 305),
(15, 23631, '2024-06-10 13:11:46', 305),
(13, 23651, '2024-06-10 13:16:13', 305),
(10, 23641, '2024-06-10 13:18:58', 305),
(1, 23681, '2024-06-13 11:19:05', 305);

-- --------------------------------------------------------

--
-- Structure de la table `marketing`
--

CREATE TABLE `marketing` (
  `client_id` bigint(20) NOT NULL,
  `critere_type_id` int(11) NOT NULL,
  `date` date NOT NULL,
  `mission_point_id` bigint(20) DEFAULT NULL,
  `valeur` varchar(256) CHARACTER SET utf8 COLLATE utf8_unicode_ci DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Déchargement des données de la table `marketing`
--

INSERT INTO `marketing` (`client_id`, `critere_type_id`, `date`, `mission_point_id`, `valeur`) VALUES
(380, 1, '2020-06-28', 6, '15');

-- --------------------------------------------------------

--
-- Structure de la table `message`
--

CREATE TABLE `message` (
  `message_id` bigint(20) NOT NULL,
  `entreprise_id` bigint(20) DEFAULT NULL,
  `to_contact_id` bigint(20) DEFAULT NULL,
  `sent_request_by` bigint(20) DEFAULT NULL,
  `point_id` bigint(20) DEFAULT NULL,
  `vehicule_id` bigint(20) DEFAULT NULL,
  `date_entree` datetime DEFAULT NULL,
  `message_objet` varchar(256) CHARACTER SET utf8 COLLATE utf8_unicode_ci DEFAULT NULL,
  `message_designation` text CHARACTER SET utf8 COLLATE utf8_unicode_ci,
  `message_type` tinyint(1) DEFAULT NULL,
  `message_status` int(11) DEFAULT NULL,
  `date_action` datetime DEFAULT NULL,
  `date_insertion` datetime DEFAULT NULL,
  `date_envoi` datetime DEFAULT NULL,
  `message_destination` varchar(256) CHARACTER SET utf8 COLLATE utf8_unicode_ci DEFAULT NULL,
  `exclure_envoi_depuis` time NOT NULL,
  `exclure_envoi_jusquea` time NOT NULL,
  `deleted_at` date DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

-- --------------------------------------------------------

--
-- Structure de la table `migrations`
--

CREATE TABLE `migrations` (
  `id` int(10) UNSIGNED NOT NULL,
  `migration` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `batch` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Déchargement des données de la table `migrations`
--

INSERT INTO `migrations` (`id`, `migration`, `batch`) VALUES
(1, '2019_06_23_130843_create_activity_log_table', 0),
(2, '2019_06_23_130843_create_article_table', 0),
(3, '2019_06_23_130843_create_article_article_caracteristique_table', 0),
(4, '2019_06_23_130843_create_article_article_libelle_table', 0),
(5, '2019_06_23_130843_create_article_article_unite_table', 0),
(6, '2019_06_23_130843_create_article_caracteristique_table', 0),
(7, '2019_06_23_130843_create_article_caracteristique_famille_table', 0),
(8, '2019_06_23_130843_create_article_client_table', 0),
(9, '2019_06_23_130843_create_article_contact_remise_table', 0),
(10, '2019_06_23_130843_create_article_documentfile_table', 0),
(11, '2019_06_23_130843_create_article_etat_table', 0),
(12, '2019_06_23_130843_create_article_evaluation_table', 0),
(13, '2019_06_23_130843_create_article_famille_table', 0),
(14, '2019_06_23_130843_create_article_fournisseur_table', 0),
(15, '2019_06_23_130843_create_article_inventaire_table', 0),
(16, '2019_06_23_130843_create_article_libelle_table', 0),
(17, '2019_06_23_130843_create_article_marque_table', 0),
(18, '2019_06_23_130843_create_article_media_documentfile_table', 0),
(19, '2019_06_23_130843_create_article_modele_table', 0),
(20, '2019_06_23_130843_create_article_mouvement_table', 0),
(21, '2019_06_23_130843_create_article_mouvement_article_mouvement_table', 0),
(22, '2019_06_23_130843_create_article_mouvement_caracteristique_table', 0),
(23, '2019_06_23_130843_create_article_mouvement_documentfile_table', 0),
(24, '2019_06_23_130843_create_article_mouvement_frais_table', 0),
(25, '2019_06_23_130843_create_article_mouvement_frais_documentfile_table', 0),
(26, '2019_06_23_130843_create_article_mouvement_mouvement_ligne_table', 0),
(27, '2019_06_23_130843_create_article_mouvement_mouvement_ligne_reservation_table', 0),
(28, '2019_06_23_130843_create_article_mouvement_operation_type_table', 0),
(29, '2019_06_23_130843_create_article_mouvement_packaging_table', 0),
(30, '2019_06_23_130843_create_article_mouvement_rangement_table', 0),
(31, '2019_06_23_130843_create_article_mouvement_type_frais_table', 0),
(32, '2019_06_23_130843_create_article_production_project_table', 0),
(33, '2019_06_23_130843_create_article_production_task_table', 0),
(34, '2019_06_23_130843_create_article_taxe_table', 0),
(35, '2019_06_23_130843_create_article_tmp_table', 0),
(36, '2019_06_23_130843_create_article_tmp1_table', 0),
(37, '2019_06_23_130843_create_article_unite_table', 0),
(38, '2019_06_23_130843_create_article_unite2_table', 0),
(39, '2019_06_23_130843_create_assurance_document_table', 0),
(40, '2019_06_23_130843_create_authorization_tag_table', 0),
(41, '2019_06_23_130843_create_authorization_tag_ressource_table', 0),
(42, '2019_06_23_130843_create_authorization_tag_user_table', 0),
(43, '2019_06_23_130843_create_autorite_table', 0),
(44, '2019_06_23_130843_create_carburant_bon_table', 0),
(45, '2019_06_23_130843_create_comptable_compte_table', 0),
(46, '2019_06_23_130843_create_comptable_journal_table', 0),
(47, '2019_06_23_130843_create_comptable_plan_table', 0),
(48, '2019_06_23_130843_create_compte_module_table', 0),
(49, '2019_06_23_130843_create_comptes_table', 0),
(50, '2019_06_23_130843_create_contact_table', 0),
(51, '2019_06_23_130843_create_contact_attribute_table', 0),
(52, '2019_06_23_130843_create_contact_attribute_value_table', 0),
(53, '2019_06_23_130843_create_contact_bank_info_table', 0),
(54, '2019_06_23_130843_create_contact_can_use_table', 0),
(55, '2019_06_23_130843_create_contact_can_use_limitedday_table', 0),
(56, '2019_06_23_130843_create_contact_certificate_table', 0),
(57, '2019_06_23_130843_create_contact_certificate_type_table', 0),
(58, '2019_06_23_130843_create_contact_civilite_table', 0),
(59, '2019_06_23_130843_create_contact_contact_fonction_table', 0),
(60, '2019_06_23_130843_create_contact_contact_parametre_table', 0),
(61, '2019_06_23_130843_create_contact_contact_type_table', 0),
(62, '2019_06_23_130843_create_contact_departement_table', 0),
(63, '2019_06_23_130843_create_contact_documentfile_table', 0),
(64, '2019_06_23_130843_create_contact_fonction_table', 0),
(65, '2019_06_23_130843_create_contact_genre_table', 0),
(66, '2019_06_23_130843_create_contact_group_table', 0),
(67, '2019_06_23_130843_create_contact_groupe_vendeur_table', 0),
(68, '2019_06_23_130843_create_contact_groupe_vendeur_article_table', 0),
(69, '2019_06_23_130843_create_contact_groupe_vendeur_famille_article_table', 0),
(70, '2019_06_23_130843_create_contact_info_table', 0),
(71, '2019_06_23_130843_create_contact_info_type_table', 0),
(72, '2019_06_23_130843_create_contact_infraction_table', 0),
(73, '2019_06_23_130843_create_contact_infraction_type_table', 0),
(74, '2019_06_23_130843_create_contact_label_table', 0),
(75, '2019_06_23_130843_create_contact_label_list_table', 0),
(76, '2019_06_23_130843_create_contact_label_value_table', 0),
(77, '2019_06_23_130843_create_contact_parametre_table', 0),
(78, '2019_06_23_130843_create_contact_planning_table', 0),
(79, '2019_06_23_130843_create_contact_planning_status_table', 0),
(80, '2019_06_23_130843_create_contact_reclamation_table', 0),
(81, '2019_06_23_130843_create_contact_reclamation_mouvement_table', 0),
(82, '2019_06_23_130843_create_contact_reunion_invitation_table', 0),
(83, '2019_06_23_130843_create_contact_reunion_invitation_contact_table', 0),
(84, '2019_06_23_130843_create_contact_reunion_salle_table', 0),
(85, '2019_06_23_130843_create_contact_stats_table', 0),
(86, '2019_06_23_130843_create_contact_type_table', 0),
(87, '2019_06_23_130843_create_contact_vendeur_table', 0),
(88, '2019_06_23_130843_create_contact_vendeur_objectif_table', 0),
(89, '2019_06_23_130843_create_contrat_achat_table', 0),
(90, '2019_06_23_130843_create_contrat_achat_echeancier_table', 0),
(91, '2019_06_23_130843_create_contrat_achat_ressource_table', 0),
(92, '2019_06_23_130843_create_contrat_modele_table', 0),
(93, '2019_06_23_130843_create_contrat_module_table', 0),
(94, '2019_06_23_130843_create_contrat_status_table', 0),
(95, '2019_06_23_130843_create_contrat_type_table', 0),
(96, '2019_06_23_130843_create_contrat_vehicule_table', 0),
(97, '2019_06_23_130843_create_contrats_table', 0),
(98, '2019_06_23_130843_create_dashboard_table', 0),
(99, '2019_06_23_130843_create_dashlet_details_table', 0),
(100, '2019_06_23_130843_create_depot_table', 0),
(101, '2019_06_23_130843_create_depot_article_can_table', 0),
(102, '2019_06_23_130843_create_depot_article_famille_can_table', 0),
(103, '2019_06_23_130843_create_depot_article_optimal_table', 0),
(104, '2019_06_23_130843_create_depot_type_table', 0),
(105, '2019_06_23_130843_create_depot_vendeur_table', 0),
(106, '2019_06_23_130843_create_disconnection_sever_table', 0),
(107, '2019_06_23_130843_create_disconnection_sever_listner_table', 0),
(108, '2019_06_23_130843_create_disconnection_vehicule_table', 0),
(109, '2019_06_23_130843_create_document_file_table', 0),
(110, '2019_06_23_130843_create_document_file_type_table', 0),
(111, '2019_06_23_130843_create_document_type_table', 0),
(112, '2019_06_23_130843_create_domaine_activity_table', 0),
(113, '2019_06_23_130843_create_domaine_activity_attribute_table', 0),
(114, '2019_06_23_130843_create_domaine_activity_attribute_value_table', 0),
(115, '2019_06_23_130843_create_domaine_activity_contact_table', 0),
(116, '2019_06_23_130843_create_domaine_activity_point_table', 0),
(117, '2019_06_23_130843_create_driver_table', 0),
(118, '2019_06_23_130843_create_driver_group_table', 0),
(119, '2019_06_23_130843_create_driver_planning_table', 0),
(120, '2019_06_23_130843_create_driver_planning_status_table', 0),
(121, '2019_06_23_130843_create_driver_vehicule_table', 0),
(122, '2019_06_23_130843_create_evaluation_type_table', 0),
(123, '2019_06_23_130843_create_evaluation_valeur_table', 0),
(124, '2019_06_23_130843_create_fidelite_carte_table', 0),
(125, '2019_06_23_130843_create_fidelite_carte_client_table', 0),
(126, '2019_06_23_130843_create_fidelite_carte_type_table', 0),
(127, '2019_06_23_130843_create_finance_cheque_table', 0),
(128, '2019_06_23_130843_create_finance_compte_table', 0),
(129, '2019_06_23_130843_create_finance_compte_alerte_table', 0),
(130, '2019_06_23_130843_create_finance_compte_alerte_operation_table', 0),
(131, '2019_06_23_130843_create_finance_compte_etablissement_table', 0),
(132, '2019_06_23_130843_create_finance_compte_etablissement_agence_table', 0),
(133, '2019_06_23_130843_create_finance_compte_monnaie_piece_table', 0),
(134, '2019_06_23_130843_create_finance_compte_operation_table', 0),
(135, '2019_06_23_130843_create_finance_compte_operation_type_table', 0),
(136, '2019_06_23_130843_create_finance_compte_operation_type_detail_table', 0),
(137, '2019_06_23_130843_create_finance_compte_type_table', 0),
(138, '2019_06_23_130843_create_finance_mode_paiement_table', 0),
(139, '2019_06_23_130843_create_finance_monnaie_table', 0),
(140, '2019_06_23_130843_create_finance_monnaie_piece_table', 0),
(141, '2019_06_23_130843_create_finance_ordre_paiement_table', 0),
(142, '2019_06_23_130843_create_finance_ordre_paiement_remarque_table', 0),
(143, '2019_06_23_130843_create_finance_paiement_delai_table', 0),
(144, '2019_06_23_130843_create_finance_paiement_rappel_table', 0),
(145, '2019_06_23_130843_create_finance_versement_table', 0),
(146, '2019_06_23_130843_create_finance_versement_monnaie_piece_table', 0),
(147, '2019_06_23_130843_create_finance_versement_notification_table', 0),
(148, '2019_06_23_130843_create_frigo_type_table', 0),
(149, '2019_06_23_130843_create_frigo_type_value_table', 0),
(150, '2019_06_23_130843_create_garantie_table', 0),
(151, '2019_06_23_130843_create_garantie_attribute_table', 0),
(152, '2019_06_23_130843_create_garantie_attribute_value_table', 0),
(153, '2019_06_23_130843_create_geo_alarm_table', 0),
(154, '2019_06_23_130843_create_geo_alarm_template_table', 0),
(155, '2019_06_23_130843_create_geo_alarm_type_table', 0),
(156, '2019_06_23_130843_create_geo_alert_table', 0),
(157, '2019_06_23_130843_create_geo_command_to_tracker_table', 0),
(158, '2019_06_23_130843_create_geo_fueltank_type_table', 0),
(159, '2019_06_23_130843_create_geo_fueltank_type_value_table', 0),
(160, '2019_06_23_130843_create_geo_geocode_table', 0),
(161, '2019_06_23_130843_create_geo_geofence_table', 0),
(162, '2019_06_23_130843_create_geo_geofence_point_table', 0),
(163, '2019_06_23_130843_create_geo_geofence_tracker_table', 0),
(164, '2019_06_23_130843_create_geo_map_icons_table', 0),
(165, '2019_06_23_130843_create_geo_mobile_sim_tracker_table', 0),
(166, '2019_06_23_130843_create_geo_obd_parametre_table', 0),
(167, '2019_06_23_130843_create_geo_parametrage_alerte_table', 0),
(168, '2019_06_23_130843_create_geo_report_daily_table', 0),
(169, '2019_06_23_130843_create_geo_report_parking_table', 0),
(170, '2019_06_23_130843_create_geo_report_wastage_table', 0),
(171, '2019_06_23_130843_create_geo_trace_table', 0),
(172, '2019_06_23_130843_create_geo_tracker_table', 0),
(173, '2019_06_23_130843_create_geo_tracker_connection_status_table', 0),
(174, '2019_06_23_130843_create_geo_tracker_disconnection_action_table', 0),
(175, '2019_06_23_130843_create_geo_tracker_foctionnement_detail_table', 0),
(176, '2019_06_23_130843_create_geo_tracker_install_table', 0),
(177, '2019_06_23_130843_create_geo_tracker_model_table', 0),
(178, '2019_06_23_130843_create_geo_tracker_stock_table', 0),
(179, '2019_06_23_130843_create_geo_tracker_uninstall_reason_table', 0),
(180, '2019_06_23_130843_create_geo_trip_table', 0),
(181, '2019_06_23_130843_create_geo_vehicule_autorization_use_table', 0),
(182, '2019_06_23_130843_create_geo_vehicule_obd_type_table', 0),
(183, '2019_06_23_130843_create_geo_vehicule_type_obd_parametre_table', 0),
(184, '2019_06_23_130843_create_groupe_notion_authorization_table', 0),
(185, '2019_06_23_130843_create_groupe_user_table', 0),
(186, '2019_06_23_130843_create_groupe_user_annuaire_table', 0),
(187, '2019_06_23_130843_create_groupe_user_article_famille_table', 0),
(188, '2019_06_23_130843_create_groupe_user_module_table', 0),
(189, '2019_06_23_130843_create_immobilier_usage_type_table', 0),
(190, '2019_06_23_130843_create_infraction_table', 0),
(191, '2019_06_23_130843_create_infraction_documentfile_table', 0),
(192, '2019_06_23_130843_create_infraction_ressource_table', 0),
(193, '2019_06_23_130843_create_infraction_sanction_type_table', 0),
(194, '2019_06_23_130843_create_infraction_temoins_table', 0),
(195, '2019_06_23_130843_create_infraction_type_table', 0),
(196, '2019_06_23_130843_create_intervention_server_table', 0),
(197, '2019_06_23_130843_create_intervention_server_type_table', 0),
(198, '2019_06_23_130843_create_intervention_vehicule_table', 0),
(199, '2019_06_23_130843_create_intervention_vehicule_type_table', 0),
(200, '2019_06_23_130843_create_lang_table', 0),
(201, '2019_06_23_130843_create_lang_text_table', 0),
(202, '2019_06_23_130843_create_lieu_table', 0),
(203, '2019_06_23_130843_create_lieu_access_table', 0),
(204, '2019_06_23_130843_create_lieu_access_accompagnement_table', 0),
(205, '2019_06_23_130843_create_lieu_contact_departement_table', 0),
(206, '2019_06_23_130843_create_lieu_type_table', 0),
(207, '2019_06_23_130843_create_localisation_commune_table', 0),
(208, '2019_06_23_130843_create_localisation_point_table', 0),
(209, '2019_06_23_130843_create_localisation_point_type_table', 0),
(210, '2019_06_23_130843_create_localisation_wilaya_table', 0),
(211, '2019_06_23_130843_create_logistique_help_table', 0),
(212, '2019_06_23_130843_create_message_table', 0),
(213, '2019_06_23_130843_create_mission_table', 0),
(214, '2019_06_23_130843_create_mission_day_of_month_table', 0),
(215, '2019_06_23_130843_create_mission_day_of_week_table', 0),
(216, '2019_06_23_130843_create_mission_document_table', 0),
(217, '2019_06_23_130843_create_mission_entreprise_table', 0),
(218, '2019_06_23_130843_create_mission_entreprise_beneficiaire_table', 0),
(219, '2019_06_23_130843_create_mission_eval_table', 0),
(220, '2019_06_23_130843_create_mission_eval_critere_type_table', 0),
(221, '2019_06_23_130843_create_mission_missionnaire_table', 0),
(222, '2019_06_23_130843_create_mission_missionnaire_motif_table', 0),
(223, '2019_06_23_130843_create_mission_params_missionnaire_list_table', 0),
(224, '2019_06_23_130843_create_mission_params_point_depart_table', 0),
(225, '2019_06_23_130843_create_mission_params_vehicule_list_table', 0),
(226, '2019_06_23_130843_create_mission_planning_table', 0),
(227, '2019_06_23_130843_create_mission_planning_missionnaire_table', 0),
(228, '2019_06_23_130843_create_mission_planning_missionnaire_motif_table', 0),
(229, '2019_06_23_130843_create_mission_planning_periodicite_table', 0),
(230, '2019_06_23_130843_create_mission_planning_value_table', 0),
(231, '2019_06_23_130843_create_mission_poids_table', 0),
(232, '2019_06_23_130843_create_mission_point_table', 0),
(233, '2019_06_23_130843_create_mission_ressource_table', 0),
(234, '2019_06_23_130843_create_mission_role_table', 0),
(235, '2019_06_23_130843_create_mission_status_table', 0),
(236, '2019_06_23_130843_create_mission_transporteur_table', 0),
(237, '2019_06_23_130843_create_mission_type_cargo_table', 0),
(238, '2019_06_23_130843_create_mission_zone_table', 0),
(239, '2019_06_23_130843_create_mission_zone_params_table', 0),
(240, '2019_06_23_130843_create_mission_zone_params_missionnaire_table', 0),
(241, '2019_06_23_130843_create_mission_zone_type_table', 0),
(242, '2019_06_23_130843_create_misson_zone_params_carburant_table', 0),
(243, '2019_06_23_130843_create_misson_zone_point_table', 0),
(244, '2019_06_23_130843_create_modele_decharge_ressource_table', 0),
(245, '2019_06_23_130843_create_modele_operation_type_table', 0),
(246, '2019_06_23_130843_create_module_table', 0),
(247, '2019_06_23_130843_create_mouvement_table', 0),
(248, '2019_06_23_130843_create_mouvement_ligne_table', 0),
(249, '2019_06_23_130843_create_mouvement_ligne_mouvement_ligne_table', 0),
(250, '2019_06_23_130843_create_mouvement_ligne_tmp_table', 0),
(251, '2019_06_23_130843_create_mouvement_ligne_tmp2_table', 0),
(252, '2019_06_23_130843_create_mouvement_ligne_tmp3_table', 0),
(253, '2019_06_23_130843_create_mouvement_ligne_tmp4_table', 0),
(254, '2019_06_23_130843_create_mouvement_ligne_tmp4_old_table', 0),
(255, '2019_06_23_130843_create_mouvement_ligne_tmp5_table', 0),
(256, '2019_06_23_130843_create_mouvement_ligne_tmp6_table', 0),
(257, '2019_06_23_130843_create_mouvement_ligne_tmp_carburant_table', 0),
(258, '2019_06_23_130843_create_mouvement_ligne_tmp_vehicule_table', 0),
(259, '2019_06_23_130843_create_mouvement_modele_document_table', 0),
(260, '2019_06_23_130843_create_mouvement_mouvement_table', 0),
(261, '2019_06_23_130843_create_mouvement_mouvement_taxe_table', 0),
(262, '2019_06_23_130843_create_mouvement_note_table', 0),
(263, '2019_06_23_130843_create_mouvement_notification_programme_table', 0),
(264, '2019_06_23_130843_create_mouvement_offre_contact_fournisseur_table', 0),
(265, '2019_06_23_130843_create_mouvement_offre_contact_fournisseur_rappel_table', 0),
(266, '2019_06_23_130843_create_mouvement_offre_type_table', 0),
(267, '2019_06_23_130843_create_mouvement_operation_type_table', 0),
(268, '2019_06_23_130843_create_mouvement_operationlog_table', 0),
(269, '2019_06_23_130843_create_mouvement_operationlog_type_table', 0),
(270, '2019_06_23_130843_create_mouvement_parametre_table', 0),
(271, '2019_06_23_130843_create_mouvement_params_contact_table', 0),
(272, '2019_06_23_130843_create_mouvement_status_table', 0),
(273, '2019_06_23_130843_create_mouvement_tmp_table', 0),
(274, '2019_06_23_130843_create_mouvement_type_table', 0),
(275, '2019_06_23_130843_create_mouvement_type_contact_table', 0),
(276, '2019_06_23_130843_create_mouvement_type_groupe_table', 0),
(277, '2019_06_23_130843_create_mouvement_vente_operation_type_table', 0),
(278, '2019_06_23_130843_create_notions_table', 0),
(279, '2019_06_23_130843_create_objectif_table', 0),
(280, '2019_06_23_130843_create_objectif_fonction_authorization_table', 0),
(281, '2019_06_23_130843_create_objectif_report_mailing_table', 0),
(282, '2019_06_23_130843_create_objectif_type_table', 0),
(283, '2019_06_23_130843_create_operation_cout_table', 0),
(284, '2019_06_23_130843_create_operation_cout_type_table', 0),
(285, '2019_06_23_130843_create_package_type_table', 0),
(286, '2019_06_23_130843_create_parc_alert_table', 0),
(287, '2019_06_23_130843_create_parc_anomalie_frais_table', 0),
(288, '2019_06_23_130843_create_parc_anomalie_operation_table', 0),
(289, '2019_06_23_130843_create_parc_anomalie_type_table', 0),
(290, '2019_06_23_130843_create_parc_assurance_table', 0),
(291, '2019_06_23_130843_create_parc_assurance_contrat_table', 0),
(292, '2019_06_23_130843_create_parc_assurance_detail_table', 0),
(293, '2019_06_23_130843_create_parc_assurance_garantie_type_table', 0),
(294, '2019_06_23_130843_create_parc_assurance_sinistre_degat_table', 0),
(295, '2019_06_23_130843_create_parc_assurance_sinistre_degat_type_table', 0),
(296, '2019_06_23_130843_create_parc_assurance_sinistre_modele_table', 0),
(297, '2019_06_23_130843_create_parc_assurance_sinistre_versement_table', 0),
(298, '2019_06_23_130843_create_parc_assurance_vehicule_modele_table', 0),
(299, '2019_06_23_130843_create_parc_constat_table', 0),
(300, '2019_06_23_130843_create_parc_constat_element_table', 0),
(301, '2019_06_23_130843_create_parc_constat_element_modele_table', 0),
(302, '2019_06_23_130843_create_parc_constat_modele_table', 0),
(303, '2019_06_23_130843_create_parc_constat_value_table', 0),
(304, '2019_06_23_130843_create_parc_operation_table', 0),
(305, '2019_06_23_130843_create_parc_operation_action_table', 0),
(306, '2019_06_23_130843_create_parc_operation_action_excute_table', 0),
(307, '2019_06_23_130843_create_parc_operation_article_type_table', 0),
(308, '2019_06_23_130843_create_parc_operation_article_used_table', 0),
(309, '2019_06_23_130843_create_parc_operation_controle_attribute_table', 0),
(310, '2019_06_23_130843_create_parc_operation_controle_attribute_groupe_table', 0),
(311, '2019_06_23_130843_create_parc_operation_controle_attribute_value_table', 0),
(312, '2019_06_23_130843_create_parc_operation_document_table', 0),
(313, '2019_06_23_130843_create_parc_operation_dtc_code_table', 0),
(314, '2019_06_23_130843_create_parc_operation_mouvement_table', 0),
(315, '2019_06_23_130843_create_parc_operation_note_table', 0),
(316, '2019_06_23_130843_create_parc_operation_scan_dtc_code_table', 0),
(317, '2019_06_23_130843_create_parc_operation_status_table', 0),
(318, '2019_06_23_130843_create_parc_operation_type_table', 0),
(319, '2019_06_23_130843_create_parc_ressource_operation_required_table', 0),
(320, '2019_06_23_130843_create_parc_ressource_operation_required_modele_table', 0),
(321, '2019_06_23_130843_create_parc_sinistre_table', 0),
(322, '2019_06_23_130843_create_parc_sinistre_assurance_declaration_attribut_table', 0),
(323, '2019_06_23_130843_create_parc_sinistre_declaration_table', 0),
(324, '2019_06_23_130843_create_parc_sinistre_documentfile_table', 0),
(325, '2019_06_23_130843_create_parc_sinistre_personne_concernees_situation_table', 0),
(326, '2019_06_23_130843_create_parc_sinistre_personnes_concernees_table', 0),
(327, '2019_06_23_130843_create_parc_sinistre_vehicule_adversaire_table', 0),
(328, '2019_06_23_130843_create_parc_station_carburant_table', 0),
(329, '2019_06_23_130843_create_pays_table', 0),
(330, '2019_06_23_130843_create_polygone_table', 0),
(331, '2019_06_23_130843_create_project_table', 0),
(332, '2019_06_23_130843_create_project_task_table', 0),
(333, '2019_06_23_130843_create_project_task_contact_table', 0),
(334, '2019_06_23_130843_create_project_task_document_table', 0),
(335, '2019_06_23_130843_create_project_task_mouvement_table', 0),
(336, '2019_06_23_130843_create_project_task_production_article_table', 0),
(337, '2019_06_23_130843_create_project_task_ressource_table', 0),
(338, '2019_06_23_130843_create_project_task_task_table', 0),
(339, '2019_06_23_130843_create_project_type_table', 0),
(340, '2019_06_23_130843_create_protocol_table', 0),
(341, '2019_06_23_130843_create_rapport_module_table', 0),
(342, '2019_06_23_130843_create_remplissage_bon_table', 0),
(343, '2019_06_23_130843_create_report_table', 0),
(344, '2019_06_23_130843_create_report_generated_sent_table', 0),
(345, '2019_06_23_130843_create_report_to_generate_table', 0),
(346, '2019_06_23_130843_create_report_to_generate_schedule_table', 0),
(347, '2019_06_23_130843_create_ressource_table', 0),
(348, '2019_06_23_130843_create_ressource_affectation_table', 0),
(349, '2019_06_23_130843_create_ressource_caracteristique_table', 0),
(350, '2019_06_23_130843_create_ressource_caracteristique_type_table', 0),
(351, '2019_06_23_130843_create_ressource_desig_table', 0),
(352, '2019_06_23_130843_create_ressource_documentfile_table', 0),
(353, '2019_06_23_130843_create_ressource_marque_table', 0),
(354, '2019_06_23_130843_create_ressource_media_documentfile_table', 0),
(355, '2019_06_23_130843_create_ressource_modele_table', 0),
(356, '2019_06_23_130843_create_ressource_modele_documentfile_table', 0),
(357, '2019_06_23_130843_create_ressource_mouvement_table', 0),
(358, '2019_06_23_130843_create_ressource_planning_table', 0),
(359, '2019_06_23_130843_create_ressource_planning_status_table', 0),
(360, '2019_06_23_130843_create_ressource_planning_type_table', 0),
(361, '2019_06_23_130843_create_ressource_ressource_attached_table', 0),
(362, '2019_06_23_130843_create_ressource_ressource_equipement_table', 0),
(363, '2019_06_23_130843_create_ressource_ressource_status_table', 0),
(364, '2019_06_23_130843_create_ressource_ressource_tag_table', 0),
(365, '2019_06_23_130843_create_ressource_ressource_usage_table', 0),
(366, '2019_06_23_130843_create_ressource_status_table', 0),
(367, '2019_06_23_130843_create_ressource_tag_table', 0),
(368, '2019_06_23_130843_create_ressource_tag_groupe_user_table', 0),
(369, '2019_06_23_130843_create_ressource_type_table', 0),
(370, '2019_06_23_130843_create_ressource_usage_service_type_table', 0),
(371, '2019_06_23_130843_create_ressource_usage_type_table', 0),
(372, '2019_06_23_130843_create_result_req_table', 0),
(373, '2019_06_23_130843_create_security_mouvement_table', 0),
(374, '2019_06_23_130843_create_security_mouvement_agent_table', 0),
(375, '2019_06_23_130843_create_server_table', 0),
(376, '2019_06_23_130843_create_server_listner_table', 0),
(377, '2019_06_23_130843_create_share_table', 0),
(378, '2019_06_23_130843_create_share_localisation_table', 0),
(379, '2019_06_23_130843_create_sim_table', 0),
(380, '2019_06_23_130843_create_sim_compte_table', 0),
(381, '2019_06_23_130843_create_sim_config_table', 0),
(382, '2019_06_23_130843_create_sim_contrat_table', 0),
(383, '2019_06_23_130843_create_sim_etat_table', 0),
(384, '2019_06_23_130843_create_sim_offers_table', 0),
(385, '2019_06_23_130843_create_sim_operateur_table', 0),
(386, '2019_06_23_130843_create_societe_secteur_activite_table', 0),
(387, '2019_06_23_130843_create_subscription_table', 0),
(388, '2019_06_23_130843_create_subscription_module_table', 0),
(389, '2019_06_23_130843_create_subscription_service_table', 0),
(390, '2019_06_23_130843_create_subscription_service_contact_table', 0),
(391, '2019_06_23_130843_create_subscription_service_module_table', 0),
(392, '2019_06_23_130843_create_subscription_service_monthly_table', 0),
(393, '2019_06_23_130843_create_subscription_service_vehicule_table', 0),
(394, '2019_06_23_130843_create_taxe_table', 0),
(395, '2019_06_23_130843_create_taxe_tva_status_table', 0),
(396, '2019_06_23_130843_create_tmp_doc_table', 0),
(397, '2019_06_23_130843_create_tmp_query_table', 0),
(398, '2019_06_23_130843_create_type_societe_table', 0),
(399, '2019_06_23_130843_create_user_table', 0),
(400, '2019_06_23_130843_create_user_authorisation_notion_value_table', 0),
(401, '2019_06_23_130843_create_user_authorization_notion_table', 0),
(402, '2019_06_23_130843_create_user_authorization_objectif_type_table', 0),
(403, '2019_06_23_130843_create_user_depot_table', 0),
(404, '2019_06_23_130843_create_user_droit_notion_table', 0),
(405, '2019_06_23_130843_create_user_droit_notion_type_table', 0),
(406, '2019_06_23_130843_create_user_module_table', 0),
(407, '2019_06_23_130843_create_user_operation_log_table', 0),
(408, '2019_06_23_130843_create_user_rapport_table', 0),
(409, '2019_06_23_130843_create_user_ressource_table', 0),
(410, '2019_06_23_130843_create_vehicule_table', 0),
(411, '2019_06_23_130843_create_vehicule_carburant_prix_table', 0),
(412, '2019_06_23_130843_create_vehicule_carburant_type_table', 0),
(413, '2019_06_23_130843_create_vehicule_classe_table', 0),
(414, '2019_06_23_130843_create_vehicule_compteur_km_table', 0),
(415, '2019_06_23_130843_create_vehicule_gpl_type_table', 0),
(416, '2019_06_23_130843_create_vehicule_remplissage_carburant_table', 0),
(417, '2019_06_23_130843_create_vehicule_remplissage_carburant_type_table', 0),
(418, '2019_06_23_130843_create_vehicule_type_table', 0),
(419, '2019_06_23_130843_create_vehicule_usage_type_table', 0),
(423, '2019_06_24_190408_create_users_table', 1),
(424, '2019_07_01_100323_create_user_devices_table', 2),
(425, '2019_07_01_101316_create_user_invitations_table', 3),
(428, '2019_07_14_085821_create_inscriptions_table', 4),
(431, '2023_06_07_000001_create_pulse_tables', 5),
(451, '2024_01_30_154330_groupe_user', 6),
(461, '2024_02_27_092356_pannes_procedure', 7),
(471, '2024_03_03_115152_mission', 7),
(481, '2024_03_07_081551_parc_operation', 8),
(491, '2024_05_23_141451_type_maintance', 9),
(501, '2024_06_03_143614_add_ressource_plannig_status', 10),
(511, '2024_08_12_104659_controlle', 10),
(521, '2024_08_12_104901_controlle_value', 10),
(531, '2024_08_12_110642_controlle_possible_values', 10),
(541, '2024_08_12_111236_controlle_groups', 10),
(551, '2024_10_02_142807_add_updated_at', 11),
(561, '2024_10_03_080537_contact_default_active', 12),
(571, '2024_10_03_080602_article_famille_default_active', 12),
(581, '2024_10_03_082126_article_famille_default_active', 12),
(601, '2024_10_28_133831_add_permission_groupe_user', 13);

-- --------------------------------------------------------

--
-- Structure de la table `mission`
--

CREATE TABLE `mission` (
  `mission_id` bigint(20) NOT NULL,
  `entreprise_id` bigint(20) DEFAULT NULL,
  `transporter_id` bigint(20) DEFAULT NULL,
  `date_depart` date DEFAULT NULL,
  `date_arrivee` date DEFAULT NULL,
  `heure_depart` time DEFAULT NULL,
  `heure_arrivee` time DEFAULT NULL,
  `vehicle_id` bigint(20) DEFAULT NULL,
  `driver_id` bigint(20) DEFAULT NULL,
  `km_start` double DEFAULT NULL,
  `km_end` double DEFAULT NULL,
  `resume_total_km` int(11) DEFAULT NULL,
  `prevision_date_depart` date DEFAULT NULL,
  `prevision_date_arrivee` date DEFAULT NULL,
  `prevision_heure_depart` time DEFAULT NULL,
  `prevision_heure_arrivee` time DEFAULT NULL,
  `prevision_nombre_bon_carburant` int(11) DEFAULT NULL,
  `status` int(11) NOT NULL DEFAULT '1',
  `date_arrivee_destination` date DEFAULT NULL,
  `is_accomplished` int(11) DEFAULT NULL,
  `mission_note` text,
  `frais_mission` float DEFAULT NULL,
  `created_by` bigint(20) DEFAULT NULL,
  `created_date` datetime DEFAULT NULL,
  `bon_type_id` bigint(20) DEFAULT NULL,
  `ods_num` bigint(20) DEFAULT NULL,
  `ods_year` year(4) DEFAULT NULL,
  `current` bit(1) DEFAULT NULL,
  `first_destination` bigint(20) DEFAULT NULL,
  `next_ods` bigint(20) DEFAULT NULL,
  `total_remplissage_carburant` int(11) DEFAULT NULL,
  `total_consommation_montant` int(11) DEFAULT NULL,
  `m_montant_ht` float DEFAULT NULL,
  `montant_credits` float DEFAULT NULL,
  `montant_encaissements` float DEFAULT NULL,
  `montant_ventes` float DEFAULT NULL,
  `montant_commandes` float DEFAULT NULL,
  `montant_recouvrement` double DEFAULT NULL,
  `montant_ecart` double DEFAULT NULL,
  `montant_declare` double NOT NULL,
  `validation_caissier` tinyint(1) NOT NULL DEFAULT '0',
  `validation_magasinier` tinyint(1) NOT NULL DEFAULT '0',
  `client_invoice_num` int(11) DEFAULT NULL,
  `client_invoice_year` year(4) DEFAULT NULL,
  `client_bl_num` int(11) DEFAULT NULL,
  `client_bl_year` year(4) DEFAULT NULL,
  `client_bon_chargement_num` int(11) DEFAULT NULL,
  `client_bon_chargement_year` year(4) DEFAULT NULL,
  `transporter_invoice_num` int(11) DEFAULT NULL,
  `transporter_invoice_year` year(4) DEFAULT NULL,
  `transporter_bl_num` int(11) DEFAULT NULL,
  `transporter_bl_year` year(4) DEFAULT NULL,
  `df_client_invoice_num` int(11) DEFAULT NULL,
  `df_client_invoice_year` year(4) DEFAULT NULL,
  `df_client_bl_num` int(11) DEFAULT NULL,
  `df_client_bl_year` year(4) DEFAULT NULL,
  `df_transporter_invoice_num` int(11) DEFAULT NULL,
  `df_transporter_invoice_year` year(4) DEFAULT NULL,
  `df_transporter_bl_num` int(11) DEFAULT NULL,
  `df_transporter_bl_year` year(4) DEFAULT NULL,
  `notifications_driver` int(11) DEFAULT NULL,
  `notifications_client` int(11) DEFAULT NULL,
  `notifications_points` int(11) DEFAULT NULL,
  `nb_caisses` int(11) DEFAULT NULL,
  `nb_cartons` int(11) DEFAULT NULL,
  `nb_fardeaux` int(11) DEFAULT NULL,
  `nb_palettes` int(11) DEFAULT NULL,
  `point_depot_chargement` bigint(20) DEFAULT NULL,
  `quai_chargement` bigint(20) DEFAULT NULL,
  `vehicle_type` int(11) DEFAULT NULL,
  `mission_type` int(11) DEFAULT NULL,
  `is_affected` int(11) DEFAULT NULL,
  `numero_affectation` bigint(20) DEFAULT NULL,
  `annee_affectation` year(4) DEFAULT NULL,
  `is_charged` int(11) DEFAULT NULL,
  `date_chargement` datetime DEFAULT NULL,
  `visa_logistique` int(11) DEFAULT NULL,
  `visa_transporteur` int(11) DEFAULT NULL,
  `visa_client` int(11) DEFAULT NULL,
  `mission_role_id` bigint(20) DEFAULT NULL,
  `mission_route_id` bigint(20) DEFAULT NULL,
  `entreprise_beneficiaire_id` bigint(20) DEFAULT NULL,
  `is_multiple_beneficiaire` tinyint(1) DEFAULT NULL,
  `sync_data` tinyint(4) DEFAULT NULL,
  `sync_id` tinyint(4) DEFAULT NULL,
  `validation_caissier_id` bigint(20) DEFAULT NULL,
  `validation_magasinier_id` bigint(20) DEFAULT NULL,
  `is_treated` tinyint(2) DEFAULT NULL,
  `distination` varchar(250) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

--
-- Déclencheurs `mission`
--
DELIMITER $$
CREATE TRIGGER `trigger_insert_mission_ods` BEFORE INSERT ON `mission` FOR EACH ROW SET new.`ods_num`=
  if((SELECT  MAX(`ods_num`)  
   from `mission` where  entreprise_id=new.entreprise_id and ods_year=YEAR(CURRENT_DATE()) ) is null, 1 ,
  (SELECT  MAX(`ods_num`)+1  from `mission` where  entreprise_id=new.entreprise_id and ods_year=YEAR(CURRENT_DATE())
  )), new.`ods_year`=YEAR(CURRENT_DATE())
$$
DELIMITER ;

-- --------------------------------------------------------

--
-- Structure de la table `mission2`
--

CREATE TABLE `mission2` (
  `mission_id` bigint(20) NOT NULL,
  `entreprise_id` bigint(20) DEFAULT NULL,
  `transporter_id` bigint(20) DEFAULT NULL,
  `date_depart` date DEFAULT NULL,
  `date_arrivee` date DEFAULT NULL,
  `heure_depart` time DEFAULT NULL,
  `heure_arrivee` time DEFAULT NULL,
  `vehicle_id` bigint(20) DEFAULT NULL,
  `driver_id` bigint(20) DEFAULT NULL,
  `km_start` double DEFAULT NULL,
  `km_end` double DEFAULT NULL,
  `resume_total_km` int(11) DEFAULT NULL,
  `prevision_date_depart` date DEFAULT NULL,
  `prevision_date_arrivee` date DEFAULT NULL,
  `prevision_heure_depart` time DEFAULT NULL,
  `prevision_heure_arrivee` time DEFAULT NULL,
  `prevision_nombre_bon_carburant` int(11) DEFAULT NULL,
  `status` int(11) NOT NULL DEFAULT '1',
  `date_arrivee_destination` date DEFAULT NULL,
  `is_accomplished` int(11) DEFAULT NULL,
  `mission_note` text,
  `frais_mission` float DEFAULT NULL,
  `created_by` bigint(20) DEFAULT NULL,
  `created_date` datetime DEFAULT NULL,
  `bon_type_id` bigint(20) DEFAULT NULL,
  `ods_num` bigint(20) DEFAULT NULL,
  `ods_year` year(4) DEFAULT NULL,
  `current` bit(1) DEFAULT NULL,
  `first_destination` bigint(20) DEFAULT NULL,
  `next_ods` bigint(20) DEFAULT NULL,
  `total_remplissage_carburant` int(11) DEFAULT NULL,
  `total_consommation_montant` int(11) DEFAULT NULL,
  `m_montant_ht` float DEFAULT NULL,
  `montant_credits` float DEFAULT NULL,
  `montant_encaissements` float DEFAULT NULL,
  `montant_ventes` float DEFAULT NULL,
  `montant_commandes` float DEFAULT NULL,
  `montant_recouvrement` double DEFAULT NULL,
  `montant_ecart` double DEFAULT NULL,
  `montant_declare` double NOT NULL,
  `validation_caissier` tinyint(1) NOT NULL DEFAULT '0',
  `validation_magasinier` tinyint(1) NOT NULL DEFAULT '0',
  `client_invoice_num` int(11) DEFAULT NULL,
  `client_invoice_year` year(4) DEFAULT NULL,
  `client_bl_num` int(11) DEFAULT NULL,
  `client_bl_year` year(4) DEFAULT NULL,
  `client_bon_chargement_num` int(11) DEFAULT NULL,
  `client_bon_chargement_year` year(4) DEFAULT NULL,
  `transporter_invoice_num` int(11) DEFAULT NULL,
  `transporter_invoice_year` year(4) DEFAULT NULL,
  `transporter_bl_num` int(11) DEFAULT NULL,
  `transporter_bl_year` year(4) DEFAULT NULL,
  `df_client_invoice_num` int(11) DEFAULT NULL,
  `df_client_invoice_year` year(4) DEFAULT NULL,
  `df_client_bl_num` int(11) DEFAULT NULL,
  `df_client_bl_year` year(4) DEFAULT NULL,
  `df_transporter_invoice_num` int(11) DEFAULT NULL,
  `df_transporter_invoice_year` year(4) DEFAULT NULL,
  `df_transporter_bl_num` int(11) DEFAULT NULL,
  `df_transporter_bl_year` year(4) DEFAULT NULL,
  `notifications_driver` int(11) DEFAULT NULL,
  `notifications_client` int(11) DEFAULT NULL,
  `notifications_points` int(11) DEFAULT NULL,
  `nb_caisses` int(11) DEFAULT NULL,
  `nb_cartons` int(11) DEFAULT NULL,
  `nb_fardeaux` int(11) DEFAULT NULL,
  `nb_palettes` int(11) DEFAULT NULL,
  `point_depot_chargement` bigint(20) DEFAULT NULL,
  `quai_chargement` bigint(20) DEFAULT NULL,
  `vehicle_type` int(11) DEFAULT NULL,
  `mission_type` int(11) DEFAULT NULL,
  `is_affected` int(11) DEFAULT NULL,
  `numero_affectation` bigint(20) DEFAULT NULL,
  `annee_affectation` year(4) DEFAULT NULL,
  `is_charged` int(11) DEFAULT NULL,
  `date_chargement` datetime DEFAULT NULL,
  `visa_logistique` int(11) DEFAULT NULL,
  `visa_transporteur` int(11) DEFAULT NULL,
  `visa_client` int(11) DEFAULT NULL,
  `mission_role_id` bigint(20) DEFAULT NULL,
  `mission_route_id` bigint(20) DEFAULT NULL,
  `entreprise_beneficiaire_id` bigint(20) DEFAULT NULL,
  `is_multiple_beneficiaire` tinyint(1) DEFAULT NULL,
  `sync_data` tinyint(4) DEFAULT NULL,
  `sync_id` tinyint(4) DEFAULT NULL,
  `validation_caissier_id` bigint(20) DEFAULT NULL,
  `validation_magasinier_id` bigint(20) DEFAULT NULL,
  `is_treated` tinyint(2) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

-- --------------------------------------------------------

--
-- Structure de la table `mission_07`
--

CREATE TABLE `mission_07` (
  `mission_id` bigint(20) NOT NULL,
  `entreprise_id` bigint(20) DEFAULT NULL,
  `transporter_id` bigint(20) DEFAULT NULL,
  `date_depart` date DEFAULT NULL,
  `date_arrivee` date DEFAULT NULL,
  `heure_depart` time DEFAULT NULL,
  `heure_arrivee` time DEFAULT NULL,
  `vehicle_id` bigint(20) DEFAULT NULL,
  `driver_id` bigint(20) DEFAULT NULL,
  `km_start` double DEFAULT NULL,
  `km_end` double DEFAULT NULL,
  `resume_total_km` int(11) DEFAULT NULL,
  `prevision_date_depart` date DEFAULT NULL,
  `prevision_date_arrivee` date DEFAULT NULL,
  `prevision_heure_depart` time DEFAULT NULL,
  `prevision_heure_arrivee` time DEFAULT NULL,
  `prevision_nombre_bon_carburant` int(11) DEFAULT NULL,
  `status` int(11) DEFAULT NULL,
  `date_arrivee_destination` date DEFAULT NULL,
  `is_accomplished` int(11) DEFAULT NULL,
  `mission_note` text,
  `frais_mission` float DEFAULT NULL,
  `created_by` bigint(20) DEFAULT NULL,
  `created_date` datetime DEFAULT NULL,
  `bon_type_id` bigint(20) DEFAULT NULL,
  `ods_num` bigint(20) DEFAULT NULL,
  `ods_year` year(4) DEFAULT NULL,
  `current` bit(1) DEFAULT NULL,
  `first_destination` bigint(20) DEFAULT NULL,
  `next_ods` bigint(20) DEFAULT NULL,
  `total_remplissage_carburant` int(11) DEFAULT NULL,
  `total_consommation_montant` int(11) DEFAULT NULL,
  `m_montant_ht` float DEFAULT NULL,
  `montant_credits` float DEFAULT NULL,
  `montant_encaissements` float DEFAULT NULL,
  `montant_ventes` float DEFAULT NULL,
  `montant_commandes` float DEFAULT NULL,
  `client_invoice_num` int(11) DEFAULT NULL,
  `client_invoice_year` year(4) DEFAULT NULL,
  `client_bl_num` int(11) DEFAULT NULL,
  `client_bl_year` year(4) DEFAULT NULL,
  `client_bon_chargement_num` int(11) DEFAULT NULL,
  `client_bon_chargement_year` year(4) DEFAULT NULL,
  `transporter_invoice_num` int(11) DEFAULT NULL,
  `transporter_invoice_year` year(4) DEFAULT NULL,
  `transporter_bl_num` int(11) DEFAULT NULL,
  `transporter_bl_year` year(4) DEFAULT NULL,
  `df_client_invoice_num` int(11) DEFAULT NULL,
  `df_client_invoice_year` year(4) DEFAULT NULL,
  `df_client_bl_num` int(11) DEFAULT NULL,
  `df_client_bl_year` year(4) DEFAULT NULL,
  `df_transporter_invoice_num` int(11) DEFAULT NULL,
  `df_transporter_invoice_year` year(4) DEFAULT NULL,
  `df_transporter_bl_num` int(11) DEFAULT NULL,
  `df_transporter_bl_year` year(4) DEFAULT NULL,
  `notifications_driver` int(11) DEFAULT NULL,
  `notifications_client` int(11) DEFAULT NULL,
  `notifications_points` int(11) DEFAULT NULL,
  `nb_caisses` int(11) DEFAULT NULL,
  `nb_cartons` int(11) DEFAULT NULL,
  `nb_fardeaux` int(11) DEFAULT NULL,
  `nb_palettes` int(11) DEFAULT NULL,
  `point_depot_chargement` bigint(20) DEFAULT NULL,
  `quai_chargement` bigint(20) DEFAULT NULL,
  `vehicle_type` int(11) DEFAULT NULL,
  `mission_type` int(11) DEFAULT NULL,
  `is_affected` int(11) DEFAULT NULL,
  `numero_affectation` bigint(20) DEFAULT NULL,
  `annee_affectation` year(4) DEFAULT NULL,
  `is_charged` int(11) DEFAULT NULL,
  `date_chargement` datetime DEFAULT NULL,
  `visa_logistique` int(11) DEFAULT NULL,
  `visa_transporteur` int(11) DEFAULT NULL,
  `visa_client` int(11) DEFAULT NULL,
  `mission_role_id` bigint(20) DEFAULT NULL,
  `mission_route_id` bigint(20) DEFAULT NULL,
  `entreprise_beneficiaire_id` bigint(20) DEFAULT NULL,
  `is_multiple_beneficiaire` tinyint(1) DEFAULT NULL,
  `sync_data` tinyint(4) DEFAULT NULL,
  `sync_id` tinyint(4) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

-- --------------------------------------------------------

--
-- Structure de la table `mission_16_1`
--

CREATE TABLE `mission_16_1` (
  `mission_id` bigint(20) NOT NULL,
  `entreprise_id` bigint(20) DEFAULT NULL,
  `transporter_id` bigint(20) DEFAULT NULL,
  `date_depart` date DEFAULT NULL,
  `date_arrivee` date DEFAULT NULL,
  `heure_depart` time DEFAULT NULL,
  `heure_arrivee` time DEFAULT NULL,
  `vehicle_id` bigint(20) DEFAULT NULL,
  `driver_id` bigint(20) DEFAULT NULL,
  `km_start` double DEFAULT NULL,
  `km_end` double DEFAULT NULL,
  `resume_total_km` int(11) DEFAULT NULL,
  `prevision_date_depart` date DEFAULT NULL,
  `prevision_date_arrivee` date DEFAULT NULL,
  `prevision_heure_depart` time DEFAULT NULL,
  `prevision_heure_arrivee` time DEFAULT NULL,
  `prevision_nombre_bon_carburant` int(11) DEFAULT NULL,
  `status` int(11) NOT NULL DEFAULT '1',
  `date_arrivee_destination` date DEFAULT NULL,
  `is_accomplished` int(11) DEFAULT NULL,
  `mission_note` text,
  `frais_mission` float DEFAULT NULL,
  `created_by` bigint(20) DEFAULT NULL,
  `created_date` datetime DEFAULT NULL,
  `bon_type_id` bigint(20) DEFAULT NULL,
  `ods_num` bigint(20) DEFAULT NULL,
  `ods_year` year(4) DEFAULT NULL,
  `current` bit(1) DEFAULT NULL,
  `first_destination` bigint(20) DEFAULT NULL,
  `next_ods` bigint(20) DEFAULT NULL,
  `total_remplissage_carburant` int(11) DEFAULT NULL,
  `total_consommation_montant` int(11) DEFAULT NULL,
  `m_montant_ht` float DEFAULT NULL,
  `montant_credits` float DEFAULT NULL,
  `montant_encaissements` float DEFAULT NULL,
  `montant_ventes` float DEFAULT NULL,
  `montant_commandes` float DEFAULT NULL,
  `montant_recouvrement` double DEFAULT NULL,
  `montant_ecart` double DEFAULT NULL,
  `montant_declare` double NOT NULL,
  `validation_caissier` tinyint(1) NOT NULL DEFAULT '0',
  `validation_magasinier` tinyint(1) NOT NULL DEFAULT '0',
  `client_invoice_num` int(11) DEFAULT NULL,
  `client_invoice_year` year(4) DEFAULT NULL,
  `client_bl_num` int(11) DEFAULT NULL,
  `client_bl_year` year(4) DEFAULT NULL,
  `client_bon_chargement_num` int(11) DEFAULT NULL,
  `client_bon_chargement_year` year(4) DEFAULT NULL,
  `transporter_invoice_num` int(11) DEFAULT NULL,
  `transporter_invoice_year` year(4) DEFAULT NULL,
  `transporter_bl_num` int(11) DEFAULT NULL,
  `transporter_bl_year` year(4) DEFAULT NULL,
  `df_client_invoice_num` int(11) DEFAULT NULL,
  `df_client_invoice_year` year(4) DEFAULT NULL,
  `df_client_bl_num` int(11) DEFAULT NULL,
  `df_client_bl_year` year(4) DEFAULT NULL,
  `df_transporter_invoice_num` int(11) DEFAULT NULL,
  `df_transporter_invoice_year` year(4) DEFAULT NULL,
  `df_transporter_bl_num` int(11) DEFAULT NULL,
  `df_transporter_bl_year` year(4) DEFAULT NULL,
  `notifications_driver` int(11) DEFAULT NULL,
  `notifications_client` int(11) DEFAULT NULL,
  `notifications_points` int(11) DEFAULT NULL,
  `nb_caisses` int(11) DEFAULT NULL,
  `nb_cartons` int(11) DEFAULT NULL,
  `nb_fardeaux` int(11) DEFAULT NULL,
  `nb_palettes` int(11) DEFAULT NULL,
  `point_depot_chargement` bigint(20) DEFAULT NULL,
  `quai_chargement` bigint(20) DEFAULT NULL,
  `vehicle_type` int(11) DEFAULT NULL,
  `mission_type` int(11) DEFAULT NULL,
  `is_affected` int(11) DEFAULT NULL,
  `numero_affectation` bigint(20) DEFAULT NULL,
  `annee_affectation` year(4) DEFAULT NULL,
  `is_charged` int(11) DEFAULT NULL,
  `date_chargement` datetime DEFAULT NULL,
  `visa_logistique` int(11) DEFAULT NULL,
  `visa_transporteur` int(11) DEFAULT NULL,
  `visa_client` int(11) DEFAULT NULL,
  `mission_role_id` bigint(20) DEFAULT NULL,
  `mission_route_id` bigint(20) DEFAULT NULL,
  `entreprise_beneficiaire_id` bigint(20) DEFAULT NULL,
  `is_multiple_beneficiaire` tinyint(1) DEFAULT NULL,
  `sync_data` tinyint(4) DEFAULT NULL,
  `sync_id` tinyint(4) DEFAULT NULL,
  `validation_caissier_id` bigint(20) DEFAULT NULL,
  `validation_magasinier_id` bigint(20) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

-- --------------------------------------------------------

--
-- Structure de la table `mission_day_of_month`
--

CREATE TABLE `mission_day_of_month` (
  `mission_day_of_month_day` tinyint(4) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

-- --------------------------------------------------------

--
-- Structure de la table `mission_day_of_week`
--

CREATE TABLE `mission_day_of_week` (
  `mission_day_of_week_day` tinyint(4) NOT NULL,
  `day_designation` varchar(20) COLLATE utf8_unicode_ci DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Déchargement des données de la table `mission_day_of_week`
--

INSERT INTO `mission_day_of_week` (`mission_day_of_week_day`, `day_designation`) VALUES
(1, 'Dimanche'),
(2, 'Lundi'),
(3, 'Mardi'),
(4, 'Mercredi'),
(5, 'Jeudi'),
(6, 'Vendredi'),
(7, 'Samedi');

-- --------------------------------------------------------

--
-- Structure de la table `mission_declaration_recette`
--

CREATE TABLE `mission_declaration_recette` (
  `mission_id` bigint(20) NOT NULL DEFAULT '0',
  `finance_monnaie_piece_id` bigint(20) NOT NULL DEFAULT '0',
  `nombre_livreur` bigint(20) DEFAULT NULL,
  `montant_livreur` bigint(20) DEFAULT NULL,
  `nombre_caissier` bigint(20) DEFAULT NULL,
  `montant_caissier` bigint(20) DEFAULT NULL,
  `caisse_id` int(10) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin;

--
-- Déclencheurs `mission_declaration_recette`
--
DELIMITER $$
CREATE TRIGGER `etat_caisse` AFTER INSERT ON `mission_declaration_recette` FOR EACH ROW BEGIN
update finance_compte_monnaie_piece fcmp set fcmp.nombre=fcmp.nombre+new.nombre_caissier where fcmp.compte_id=new.caisse_id and fcmp.finance_monnaie_piece=new.finance_monnaie_piece_id;
end
$$
DELIMITER ;
DELIMITER $$
CREATE TRIGGER `etat_caisse_delete` AFTER DELETE ON `mission_declaration_recette` FOR EACH ROW BEGIN
update finance_compte_monnaie_piece fcmp set fcmp.nombre=fcmp.nombre-old.nombre_caissier where fcmp.compte_id=old.caisse_id and fcmp.finance_monnaie_piece=old.finance_monnaie_piece_id;

end
$$
DELIMITER ;
DELIMITER $$
CREATE TRIGGER `etat_caisse_update` AFTER UPDATE ON `mission_declaration_recette` FOR EACH ROW BEGIN
if(EXISTS(select * from finance_compte_monnaie_piece fcmp  where fcmp.compte_id=new.caisse_id and fcmp.finance_monnaie_piece=new.finance_monnaie_piece_id)) then
update finance_compte_monnaie_piece fcmp set fcmp.nombre=fcmp.nombre+(new.nombre_caissier-old.nombre_caissier ) where fcmp.compte_id=new.caisse_id and fcmp.finance_monnaie_piece=new.finance_monnaie_piece_id;
else 
insert into finance_compte_monnaie_piece values(new.caisse_id,new.finance_monnaie_piece_id,(new.nombre_caissier-old.nombre_caissier ));
end if ; 
end
$$
DELIMITER ;

-- --------------------------------------------------------

--
-- Structure de la table `mission_document`
--

CREATE TABLE `mission_document` (
  `mission_id` bigint(20) NOT NULL,
  `document_file_id` bigint(20) NOT NULL,
  `mission_document_designation` varchar(100) COLLATE utf8_unicode_ci NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

-- --------------------------------------------------------

--
-- Structure de la table `mission_entreprise`
--

CREATE TABLE `mission_entreprise` (
  `entreprise_id` bigint(20) NOT NULL,
  `entreprise_beneficiaire_id` bigint(20) NOT NULL,
  `entreprise_beneficiaire_priorite` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

-- --------------------------------------------------------

--
-- Structure de la table `mission_entreprise_beneficiaire`
--

CREATE TABLE `mission_entreprise_beneficiaire` (
  `mission_id` bigint(20) NOT NULL,
  `entreprise_beneficiaire_id` bigint(20) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

-- --------------------------------------------------------

--
-- Structure de la table `mission_eval`
--

CREATE TABLE `mission_eval` (
  `mission_id` bigint(20) NOT NULL,
  `eval_critere_type_id` bigint(20) NOT NULL,
  `mission_critere_evaluation` double DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Déchargement des données de la table `mission_eval`
--

INSERT INTO `mission_eval` (`mission_id`, `eval_critere_type_id`, `mission_critere_evaluation`) VALUES
(21, 1, 3.5),
(21, 2, 4.5);

-- --------------------------------------------------------

--
-- Structure de la table `mission_eval_critere_type`
--

CREATE TABLE `mission_eval_critere_type` (
  `eval_critere_type_id` bigint(20) NOT NULL,
  `eval_critere_type_designation` varchar(100) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

-- --------------------------------------------------------

--
-- Structure de la table `mission_mission`
--

CREATE TABLE `mission_mission` (
  `mission_id1` bigint(20) NOT NULL,
  `mission_id2` bigint(20) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

-- --------------------------------------------------------

--
-- Structure de la table `mission_missionnaire`
--

CREATE TABLE `mission_missionnaire` (
  `mission_id` bigint(20) NOT NULL DEFAULT '0',
  `missionnaire_id` bigint(20) NOT NULL DEFAULT '0',
  `mission_missionnaire_date_debut` datetime DEFAULT NULL,
  `mission_missionnaire_date_debut_day` date DEFAULT NULL,
  `mission_missionnaire_date_fin` datetime DEFAULT NULL,
  `mission_missionnaire_date_fin_day` date DEFAULT NULL,
  `mission_missionnaire_responsable` bigint(20) DEFAULT NULL,
  `mission_missionnaire_motif_id` bigint(20) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

-- --------------------------------------------------------

--
-- Structure de la table `mission_missionnaire_motif`
--

CREATE TABLE `mission_missionnaire_motif` (
  `mission_missionnaire_motif_id` bigint(20) NOT NULL,
  `entreprise_id` bigint(20) DEFAULT NULL,
  `mission_role_designation` varchar(256) COLLATE utf8_unicode_ci DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Déchargement des données de la table `mission_missionnaire_motif`
--

INSERT INTO `mission_missionnaire_motif` (`mission_missionnaire_motif_id`, `entreprise_id`, `mission_role_designation`) VALUES
(1, 305, 'Prevente'),
(2, 305, 'Vente');

-- --------------------------------------------------------

--
-- Structure de la table `mission_params_missionnaire_list`
--

CREATE TABLE `mission_params_missionnaire_list` (
  `entreprise_id` bigint(20) NOT NULL,
  `transporteur_id` bigint(20) NOT NULL,
  `missionnaire_id` bigint(20) NOT NULL,
  `missionnaire_role` bigint(20) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Déchargement des données de la table `mission_params_missionnaire_list`
--

INSERT INTO `mission_params_missionnaire_list` (`entreprise_id`, `transporteur_id`, `missionnaire_id`, `missionnaire_role`) VALUES
(305, 933, 1046, 1),
(305, 121, 2630, 350),
(305, 305, 2845, 351),
(305, 2678, 2770, 357);

-- --------------------------------------------------------

--
-- Structure de la table `mission_params_point_depart`
--

CREATE TABLE `mission_params_point_depart` (
  `entreprise_id` bigint(20) NOT NULL,
  `entreprise_beneficiaire_id` bigint(20) NOT NULL,
  `point_chargement_id` bigint(20) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

-- --------------------------------------------------------

--
-- Structure de la table `mission_params_vehicule_list`
--

CREATE TABLE `mission_params_vehicule_list` (
  `entreprise_id` bigint(20) NOT NULL,
  `transporteur_id` bigint(20) NOT NULL,
  `vehicule_id` bigint(20) NOT NULL,
  `mission_role_id` bigint(20) NOT NULL,
  `vehicule_cargo_type_id` bigint(20) NOT NULL,
  `vehicule_cargo_poids_max` bigint(20) NOT NULL,
  `vehicule_max_distance_route` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Déchargement des données de la table `mission_params_vehicule_list`
--

INSERT INTO `mission_params_vehicule_list` (`entreprise_id`, `transporteur_id`, `vehicule_id`, `mission_role_id`, `vehicule_cargo_type_id`, `vehicule_cargo_poids_max`, `vehicule_max_distance_route`) VALUES
(305, 2, 920, 1, 4, 18, 45000),
(305, 117, 3, 350, 3, 1, 25),
(305, 933, 2, 350, 4, 5, 5),
(305, 1001, 5, 1, 2, 1, 150),
(305, 2537, 5, 351, 4, 4, 2000),
(305, 2827, 5, 357, 4, 1, 60);

-- --------------------------------------------------------

--
-- Structure de la table `mission_planning`
--

CREATE TABLE `mission_planning` (
  `mission_planning_id` bigint(20) NOT NULL,
  `entreprise_id` bigint(20) DEFAULT NULL,
  `mission_planning_designation` varchar(256) COLLATE utf8_unicode_ci DEFAULT NULL,
  `mission_planning_created_by` bigint(20) DEFAULT NULL,
  `mission_planning_created_date` datetime DEFAULT NULL,
  `mission_planning_zone_id` bigint(20) DEFAULT NULL,
  `mission_planning_vahicle_id` bigint(20) DEFAULT NULL,
  `mission_planning_driver_id` bigint(20) DEFAULT NULL,
  `mission_planning_vendeur_id` bigint(20) DEFAULT NULL,
  `mission_planning_periodicite_id` bigint(20) DEFAULT NULL,
  `mission_role_id` bigint(20) DEFAULT NULL,
  `entreprise_beneficiaire_id` bigint(20) DEFAULT NULL,
  `is_multiple_beneficiaire` tinyint(1) DEFAULT NULL,
  `route_type_id` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

-- --------------------------------------------------------

--
-- Structure de la table `mission_planning_missionnaire`
--

CREATE TABLE `mission_planning_missionnaire` (
  `mission_planning_id` bigint(20) NOT NULL DEFAULT '0',
  `contact_id` bigint(20) NOT NULL DEFAULT '0',
  `mission_planning_missionnaire_date_debut` datetime DEFAULT NULL,
  `mission_planning_missionnaire_date_debut_day` date DEFAULT NULL,
  `mission_planning_missionnaire_date_fin` datetime DEFAULT NULL,
  `mission_planning_missionnaire_date_fin_day` date DEFAULT NULL,
  `mission_planning_missionnaire_responsable` tinyint(1) DEFAULT NULL,
  `mission_planning_missionnaire_motif_id` bigint(20) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

-- --------------------------------------------------------

--
-- Structure de la table `mission_planning_missionnaire_motif`
--

CREATE TABLE `mission_planning_missionnaire_motif` (
  `mission_planning_missionnaire_motif_id` bigint(20) NOT NULL,
  `entreprise_id` bigint(20) DEFAULT NULL,
  `mission_planning_role_designation` varchar(256) COLLATE utf8_unicode_ci DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Déchargement des données de la table `mission_planning_missionnaire_motif`
--

INSERT INTO `mission_planning_missionnaire_motif` (`mission_planning_missionnaire_motif_id`, `entreprise_id`, `mission_planning_role_designation`) VALUES
(1, 305, 'Prevent'),
(2, 305, 'Vente');

-- --------------------------------------------------------

--
-- Structure de la table `mission_planning_periodicite`
--

CREATE TABLE `mission_planning_periodicite` (
  `mission_planning_periodicite_id` bigint(20) NOT NULL,
  `mission_planning_periodicite_designation` varchar(256) COLLATE utf8_unicode_ci DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Déchargement des données de la table `mission_planning_periodicite`
--

INSERT INTO `mission_planning_periodicite` (`mission_planning_periodicite_id`, `mission_planning_periodicite_designation`) VALUES
(1, 'Hebdomadaire'),
(2, 'Mensuelle');

-- --------------------------------------------------------

--
-- Structure de la table `mission_planning_value`
--

CREATE TABLE `mission_planning_value` (
  `mission_planning_id` bigint(20) NOT NULL DEFAULT '0',
  `mission_day_of_month_day` tinyint(4) NOT NULL DEFAULT '0',
  `mission_day_of_week_day` tinyint(4) NOT NULL DEFAULT '0'
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

-- --------------------------------------------------------

--
-- Structure de la table `mission_planning_value_client`
--

CREATE TABLE `mission_planning_value_client` (
  `mission_planning_id` bigint(20) NOT NULL,
  `mission_day_of_month_day` tinyint(4) NOT NULL,
  `mission_day_of_week_day` tinyint(4) NOT NULL,
  `client_id` bigint(20) NOT NULL,
  `is_active` tinyint(4) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

-- --------------------------------------------------------

--
-- Structure de la table `mission_poids`
--

CREATE TABLE `mission_poids` (
  `mission_poids_id` bigint(20) NOT NULL,
  `mission_poids_value` double NOT NULL,
  `mission_poids_unite` varchar(10) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

-- --------------------------------------------------------

--
-- Structure de la table `mission_point`
--

CREATE TABLE `mission_point` (
  `m_mission_point_id` bigint(20) NOT NULL,
  `entreprise_id` bigint(20) DEFAULT NULL,
  `customer_id` bigint(20) DEFAULT NULL,
  `missionnaire_responsable_id` bigint(20) DEFAULT NULL,
  `point_id_depart` bigint(20) DEFAULT NULL,
  `point_id_arrivee` bigint(20) DEFAULT NULL,
  `motif_id` bigint(100) DEFAULT NULL,
  `mission_id` bigint(20) DEFAULT NULL,
  `mp_depense_mission` float DEFAULT NULL,
  `mp_date_depart` date DEFAULT NULL,
  `mp_date_arrivee` date DEFAULT NULL,
  `mp_heure_depart` time DEFAULT NULL,
  `mp_heure_arrivee` time DEFAULT NULL,
  `ordre` bigint(20) DEFAULT NULL,
  `mp_durree` bigint(20) DEFAULT NULL,
  `rentabiliser` tinyint(1) DEFAULT NULL,
  `mp_montant_ht` float DEFAULT NULL,
  `mp_total_km` bigint(20) DEFAULT NULL,
  `mp_total_time` bigint(20) DEFAULT NULL,
  `mp_remaining_time` bigint(20) DEFAULT NULL,
  `mp_remaining_distance` bigint(20) DEFAULT NULL,
  `mp_nb_bon_carburant` int(11) DEFAULT NULL,
  `mp_nbr_jours` smallint(6) DEFAULT NULL,
  `mp_nbr_heures` smallint(6) DEFAULT NULL,
  `temps_passe_client` time DEFAULT NULL,
  `status` smallint(6) DEFAULT NULL,
  `status_percent` int(11) DEFAULT NULL,
  `remplissage_carburant` float DEFAULT NULL,
  `position_date` datetime DEFAULT NULL,
  `position_longitude` varchar(25) DEFAULT NULL,
  `position_latitude` varchar(25) DEFAULT NULL,
  `parking_status` int(11) DEFAULT NULL,
  `parking_date` datetime DEFAULT NULL,
  `parking_limit_time` int(11) DEFAULT NULL,
  `parking_limit_distance` int(11) DEFAULT NULL,
  `parking_alerted` int(11) DEFAULT NULL,
  `parking_alert_date` datetime DEFAULT NULL,
  `parking_alert_email` varchar(255) DEFAULT NULL,
  `recouvrement` double DEFAULT NULL,
  `paiement` double DEFAULT NULL,
  `remarque` varchar(256) DEFAULT NULL,
  `existe_photos` tinyint(1) NOT NULL,
  `sync_data` tinyint(4) DEFAULT NULL,
  `sync_id` tinyint(4) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

-- --------------------------------------------------------

--
-- Structure de la table `mission_point_07`
--

CREATE TABLE `mission_point_07` (
  `m_mission_point_id` bigint(20) NOT NULL,
  `entreprise_id` bigint(20) DEFAULT NULL,
  `customer_id` bigint(20) DEFAULT NULL,
  `missionnaire_responsable_id` bigint(20) DEFAULT NULL,
  `point_id_depart` bigint(20) DEFAULT NULL,
  `point_id_arrivee` bigint(20) DEFAULT NULL,
  `motif_id` bigint(100) DEFAULT NULL,
  `mission_id` bigint(20) DEFAULT NULL,
  `mp_depense_mission` float DEFAULT NULL,
  `mp_date_depart` date DEFAULT NULL,
  `mp_date_arrivee` date DEFAULT NULL,
  `mp_heure_depart` time DEFAULT NULL,
  `mp_heure_arrivee` time DEFAULT NULL,
  `ordre` bigint(20) DEFAULT NULL,
  `mp_durree` bigint(20) DEFAULT NULL,
  `rentabiliser` tinyint(1) DEFAULT NULL,
  `mp_montant_ht` float DEFAULT NULL,
  `mp_total_km` bigint(20) DEFAULT NULL,
  `mp_total_time` bigint(20) DEFAULT NULL,
  `mp_remaining_time` bigint(20) DEFAULT NULL,
  `mp_remaining_distance` bigint(20) DEFAULT NULL,
  `mp_nb_bon_carburant` int(11) DEFAULT NULL,
  `mp_nbr_jours` smallint(6) DEFAULT NULL,
  `mp_nbr_heures` smallint(6) DEFAULT NULL,
  `temps_passe_client` time DEFAULT NULL,
  `status` smallint(6) DEFAULT NULL,
  `status_percent` int(11) DEFAULT NULL,
  `remplissage_carburant` float DEFAULT NULL,
  `position_date` datetime DEFAULT NULL,
  `position_longitude` varchar(25) DEFAULT NULL,
  `position_latitude` varchar(25) DEFAULT NULL,
  `parking_status` int(11) DEFAULT NULL,
  `parking_date` datetime DEFAULT NULL,
  `parking_limit_time` int(11) DEFAULT NULL,
  `parking_limit_distance` int(11) DEFAULT NULL,
  `parking_alerted` int(11) DEFAULT NULL,
  `parking_alert_date` datetime DEFAULT NULL,
  `parking_alert_email` varchar(255) DEFAULT NULL,
  `recouvrement` double DEFAULT NULL,
  `paiement` double DEFAULT NULL,
  `remarque` varchar(256) DEFAULT NULL,
  `existe_photos` tinyint(1) NOT NULL,
  `sync_data` tinyint(4) DEFAULT NULL,
  `sync_id` tinyint(4) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

-- --------------------------------------------------------

--
-- Structure de la table `mission_point_16_01`
--

CREATE TABLE `mission_point_16_01` (
  `m_mission_point_id` bigint(20) NOT NULL,
  `entreprise_id` bigint(20) DEFAULT NULL,
  `customer_id` bigint(20) DEFAULT NULL,
  `missionnaire_responsable_id` bigint(20) DEFAULT NULL,
  `point_id_depart` bigint(20) DEFAULT NULL,
  `point_id_arrivee` bigint(20) DEFAULT NULL,
  `motif_id` bigint(100) DEFAULT NULL,
  `mission_id` bigint(20) DEFAULT NULL,
  `mp_depense_mission` float DEFAULT NULL,
  `mp_date_depart` date DEFAULT NULL,
  `mp_date_arrivee` date DEFAULT NULL,
  `mp_heure_depart` time DEFAULT NULL,
  `mp_heure_arrivee` time DEFAULT NULL,
  `ordre` bigint(20) DEFAULT NULL,
  `mp_durree` bigint(20) DEFAULT NULL,
  `rentabiliser` tinyint(1) DEFAULT NULL,
  `mp_montant_ht` float DEFAULT NULL,
  `mp_total_km` bigint(20) DEFAULT NULL,
  `mp_total_time` bigint(20) DEFAULT NULL,
  `mp_remaining_time` bigint(20) DEFAULT NULL,
  `mp_remaining_distance` bigint(20) DEFAULT NULL,
  `mp_nb_bon_carburant` int(11) DEFAULT NULL,
  `mp_nbr_jours` smallint(6) DEFAULT NULL,
  `mp_nbr_heures` smallint(6) DEFAULT NULL,
  `temps_passe_client` time DEFAULT NULL,
  `status` smallint(6) DEFAULT NULL,
  `status_percent` int(11) DEFAULT NULL,
  `remplissage_carburant` float DEFAULT NULL,
  `position_date` datetime DEFAULT NULL,
  `position_longitude` varchar(25) DEFAULT NULL,
  `position_latitude` varchar(25) DEFAULT NULL,
  `parking_status` int(11) DEFAULT NULL,
  `parking_date` datetime DEFAULT NULL,
  `parking_limit_time` int(11) DEFAULT NULL,
  `parking_limit_distance` int(11) DEFAULT NULL,
  `parking_alerted` int(11) DEFAULT NULL,
  `parking_alert_date` datetime DEFAULT NULL,
  `parking_alert_email` varchar(255) DEFAULT NULL,
  `recouvrement` double DEFAULT NULL,
  `paiement` double DEFAULT NULL,
  `remarque` varchar(256) DEFAULT NULL,
  `existe_photos` tinyint(1) NOT NULL,
  `sync_data` tinyint(4) DEFAULT NULL,
  `sync_id` tinyint(4) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

-- --------------------------------------------------------

--
-- Structure de la table `mission_point_annulation_raison`
--

CREATE TABLE `mission_point_annulation_raison` (
  `raison_id` tinyint(4) NOT NULL,
  `raison_designation` varchar(256) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

-- --------------------------------------------------------

--
-- Structure de la table `mission_point_media_documentfile`
--

CREATE TABLE `mission_point_media_documentfile` (
  `mission_point_media_documentfile_id` bigint(20) NOT NULL,
  `mission_id` bigint(20) NOT NULL,
  `entreprise_id` bigint(20) NOT NULL,
  `point_id` bigint(20) NOT NULL,
  `document_path` varchar(256) DEFAULT NULL,
  `document_name` varchar(56) DEFAULT NULL,
  `upload_date` date DEFAULT NULL,
  `upload_date_time` datetime DEFAULT NULL,
  `upload_by` bigint(20) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Déclencheurs `mission_point_media_documentfile`
--
DELIMITER $$
CREATE TRIGGER `update_exist_photo` BEFORE INSERT ON `mission_point_media_documentfile` FOR EACH ROW BEGIN update mission_point mp set mp.existe_photos=1 where mp.m_mission_point_id=new.point_id;
 end
$$
DELIMITER ;

-- --------------------------------------------------------

--
-- Structure de la table `mission_point_status`
--

CREATE TABLE `mission_point_status` (
  `mission_point_status_id` int(11) NOT NULL,
  `mission_point_status_designation` varchar(50) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Déchargement des données de la table `mission_point_status`
--

INSERT INTO `mission_point_status` (`mission_point_status_id`, `mission_point_status_designation`) VALUES
(1, 'préparé '),
(3, 'Reste à visiter (En cours)'),
(4, 'Visite avec succès'),
(5, 'Visite sans commande'),
(6, 'Non visité ');

-- --------------------------------------------------------

--
-- Structure de la table `mission_ressource`
--

CREATE TABLE `mission_ressource` (
  `mission_id` bigint(20) NOT NULL DEFAULT '0',
  `ressource_id` bigint(20) NOT NULL DEFAULT '0',
  `date_debut` datetime DEFAULT NULL,
  `date_fin` datetime DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

-- --------------------------------------------------------

--
-- Structure de la table `mission_role`
--

CREATE TABLE `mission_role` (
  `mission_role_id` bigint(20) NOT NULL,
  `entreprise_id` bigint(20) DEFAULT NULL,
  `mission_role_designation` varchar(256) COLLATE utf8_unicode_ci DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Déchargement des données de la table `mission_role`
--

INSERT INTO `mission_role` (`mission_role_id`, `entreprise_id`, `mission_role_designation`) VALUES
(1, 122, 'Livraison'),
(2, 122, 'Collecte'),
(3, 122, 'Transport malade'),
(4, 122, 'Transport personnel'),
(5, 122, 'Transport dépannage'),
(6, 122, 'Administration'),
(7, 305, 'Livraison'),
(8, 305, 'Collecte'),
(9, 305, 'Transport malade'),
(10, 305, 'Transport personnel'),
(11, 305, 'Transport dépannage'),
(12, 305, 'Administration'),
(13, 548, 'Livraison'),
(14, 548, 'Collecte'),
(15, 548, 'Transport malade'),
(16, 548, 'Transport personnel'),
(17, 548, 'Transport dépannage'),
(18, 548, 'Administration'),
(19, 549, 'Livraison'),
(20, 549, 'Collecte'),
(21, 549, 'Transport malade'),
(22, 549, 'Transport personnel'),
(23, 549, 'Transport dépannage'),
(24, 549, 'Administration'),
(25, 550, 'Livraison'),
(26, 550, 'Collecte'),
(27, 550, 'Transport malade'),
(28, 550, 'Transport personnel'),
(29, 550, 'Transport dépannage'),
(30, 550, 'Administration'),
(31, 551, 'Livraison'),
(32, 551, 'Collecte'),
(33, 551, 'Transport malade'),
(34, 551, 'Transport personnel'),
(35, 551, 'Transport dépannage'),
(36, 551, 'Administration'),
(37, 552, 'Livraison'),
(38, 552, 'Collecte'),
(39, 552, 'Transport malade'),
(40, 552, 'Transport personnel'),
(41, 552, 'Transport dépannage'),
(42, 552, 'Administration'),
(43, 553, 'Livraison'),
(44, 553, 'Collecte'),
(45, 553, 'Transport malade'),
(46, 553, 'Transport personnel'),
(47, 553, 'Transport dépannage'),
(48, 553, 'Administration'),
(49, 554, 'Livraison'),
(50, 554, 'Collecte'),
(51, 554, 'Transport malade'),
(52, 554, 'Transport personnel'),
(53, 554, 'Transport dépannage'),
(54, 554, 'Administration'),
(55, 555, 'Livraison'),
(56, 555, 'Collecte'),
(57, 555, 'Transport malade'),
(58, 555, 'Transport personnel'),
(59, 555, 'Transport dépannage'),
(60, 555, 'Administration'),
(61, 556, 'Livraison'),
(62, 556, 'Collecte'),
(63, 556, 'Transport malade'),
(64, 556, 'Transport personnel'),
(65, 556, 'Transport dépannage'),
(66, 556, 'Administration'),
(67, 562, 'Livraison'),
(68, 562, 'Collecte'),
(69, 562, 'Transport malade'),
(70, 562, 'Transport personnel'),
(71, 562, 'Transport dépannage'),
(72, 562, 'Administration'),
(73, 563, 'Livraison'),
(74, 563, 'Collecte'),
(75, 563, 'Transport malade'),
(76, 563, 'Transport personnel'),
(77, 563, 'Transport dépannage'),
(78, 563, 'Administration'),
(79, 564, 'Livraison'),
(80, 564, 'Collecte'),
(81, 564, 'Transport malade'),
(82, 564, 'Transport personnel'),
(83, 564, 'Transport dépannage'),
(84, 564, 'Administration'),
(85, 565, 'Livraison'),
(86, 565, 'Collecte'),
(87, 565, 'Transport malade'),
(88, 565, 'Transport personnel'),
(89, 565, 'Transport dépannage'),
(90, 565, 'Administration'),
(91, 566, 'Livraison'),
(92, 566, 'Collecte'),
(93, 566, 'Transport malade'),
(94, 566, 'Transport personnel'),
(95, 566, 'Transport dépannage'),
(96, 566, 'Administration'),
(97, 567, 'Livraison'),
(98, 567, 'Collecte'),
(99, 567, 'Transport malade'),
(100, 567, 'Transport personnel'),
(101, 567, 'Transport dépannage'),
(102, 567, 'Administration'),
(103, 568, 'Livraison'),
(104, 568, 'Collecte'),
(105, 568, 'Transport malade'),
(106, 568, 'Transport personnel'),
(107, 568, 'Transport dépannage'),
(108, 568, 'Administration'),
(109, 569, 'Livraison'),
(110, 569, 'Collecte'),
(111, 569, 'Transport malade'),
(112, 569, 'Transport personnel'),
(113, 569, 'Transport dépannage'),
(114, 569, 'Administration'),
(115, 570, 'Livraison'),
(116, 570, 'Collecte'),
(117, 570, 'Transport malade'),
(118, 570, 'Transport personnel'),
(119, 570, 'Transport dépannage'),
(120, 570, 'Administration'),
(121, 571, 'Livraison'),
(122, 571, 'Collecte'),
(123, 571, 'Transport malade'),
(124, 571, 'Transport personnel'),
(125, 571, 'Transport dépannage'),
(126, 571, 'Administration'),
(127, 584, 'Livraison'),
(128, 584, 'Collecte'),
(129, 584, 'Transport malade'),
(130, 584, 'Transport personnel'),
(131, 584, 'Transport dépannage'),
(132, 584, 'Administration'),
(133, 585, 'Livraison'),
(134, 585, 'Collecte'),
(135, 585, 'Transport malade'),
(136, 585, 'Transport personnel'),
(137, 585, 'Transport dépannage'),
(138, 585, 'Administration'),
(139, 586, 'Livraison'),
(140, 586, 'Collecte'),
(141, 586, 'Transport malade'),
(142, 586, 'Transport personnel'),
(143, 586, 'Transport dépannage'),
(144, 586, 'Administration'),
(145, 587, 'Livraison'),
(146, 587, 'Collecte'),
(147, 587, 'Transport malade'),
(148, 587, 'Transport personnel'),
(149, 587, 'Transport dépannage'),
(150, 587, 'Administration'),
(151, 588, 'Livraison'),
(152, 588, 'Collecte'),
(153, 588, 'Transport malade'),
(154, 588, 'Transport personnel'),
(155, 588, 'Transport dépannage'),
(156, 588, 'Administration'),
(157, 589, 'Livraison'),
(158, 589, 'Collecte'),
(159, 589, 'Transport malade'),
(160, 589, 'Transport personnel'),
(161, 589, 'Transport dépannage'),
(162, 589, 'Administration'),
(163, 590, 'Livraison'),
(164, 590, 'Collecte'),
(165, 590, 'Transport malade'),
(166, 590, 'Transport personnel'),
(167, 590, 'Transport dépannage'),
(168, 590, 'Administration'),
(169, 591, 'Livraison'),
(170, 591, 'Collecte'),
(171, 591, 'Transport malade'),
(172, 591, 'Transport personnel'),
(173, 591, 'Transport dépannage'),
(174, 591, 'Administration'),
(175, 592, 'Livraison'),
(176, 592, 'Collecte'),
(177, 592, 'Transport malade'),
(178, 592, 'Transport personnel'),
(179, 592, 'Transport dépannage'),
(180, 592, 'Administration'),
(181, 593, 'Livraison'),
(182, 593, 'Collecte'),
(183, 593, 'Transport malade'),
(184, 593, 'Transport personnel'),
(185, 593, 'Transport dépannage'),
(186, 593, 'Administration'),
(187, 594, 'Livraison'),
(188, 594, 'Collecte'),
(189, 594, 'Transport malade'),
(190, 594, 'Transport personnel'),
(191, 594, 'Transport dépannage'),
(192, 594, 'Administration'),
(193, 595, 'Livraison'),
(194, 595, 'Collecte'),
(195, 595, 'Transport malade'),
(196, 595, 'Transport personnel'),
(197, 595, 'Transport dépannage'),
(198, 595, 'Administration'),
(199, 596, 'Livraison'),
(200, 596, 'Collecte'),
(201, 596, 'Transport malade'),
(202, 596, 'Transport personnel'),
(203, 596, 'Transport dépannage'),
(204, 596, 'Administration'),
(205, 597, 'Livraison'),
(206, 597, 'Collecte'),
(207, 597, 'Transport malade'),
(208, 597, 'Transport personnel'),
(209, 597, 'Transport dépannage'),
(210, 597, 'Administration'),
(211, 598, 'Livraison'),
(212, 598, 'Collecte'),
(213, 598, 'Transport malade'),
(214, 598, 'Transport personnel'),
(215, 598, 'Transport dépannage'),
(216, 598, 'Administration'),
(217, 599, 'Livraison'),
(218, 599, 'Collecte'),
(219, 599, 'Transport malade'),
(220, 599, 'Transport personnel'),
(221, 599, 'Transport dépannage'),
(222, 599, 'Administration'),
(223, 600, 'Livraison'),
(224, 600, 'Collecte'),
(225, 600, 'Transport malade'),
(226, 600, 'Transport personnel'),
(227, 600, 'Transport dépannage'),
(228, 600, 'Administration'),
(229, 601, 'Livraison'),
(230, 601, 'Collecte'),
(231, 601, 'Transport malade'),
(232, 601, 'Transport personnel'),
(233, 601, 'Transport dépannage'),
(234, 601, 'Administration'),
(235, 602, 'Livraison'),
(236, 602, 'Collecte'),
(237, 602, 'Transport malade'),
(238, 602, 'Transport personnel'),
(239, 602, 'Transport dépannage'),
(240, 602, 'Administration'),
(241, 603, 'Livraison'),
(242, 603, 'Collecte'),
(243, 603, 'Transport malade'),
(244, 603, 'Transport personnel'),
(245, 603, 'Transport dépannage'),
(246, 603, 'Administration'),
(247, 604, 'Livraison'),
(248, 604, 'Collecte'),
(249, 604, 'Transport malade'),
(250, 604, 'Transport personnel'),
(251, 604, 'Transport dépannage'),
(252, 604, 'Administration'),
(253, 605, 'Livraison'),
(254, 605, 'Collecte'),
(255, 605, 'Transport malade'),
(256, 605, 'Transport personnel'),
(257, 605, 'Transport dépannage'),
(258, 605, 'Administration'),
(259, 606, 'Livraison'),
(260, 606, 'Collecte'),
(261, 606, 'Transport malade'),
(262, 606, 'Transport personnel'),
(263, 606, 'Transport dépannage'),
(264, 606, 'Administration'),
(265, 607, 'Livraison'),
(266, 607, 'Collecte'),
(267, 607, 'Transport malade'),
(268, 607, 'Transport personnel'),
(269, 607, 'Transport dépannage'),
(270, 607, 'Administration'),
(271, 608, 'Livraison'),
(272, 608, 'Collecte'),
(273, 608, 'Transport malade'),
(274, 608, 'Transport personnel'),
(275, 608, 'Transport dépannage'),
(276, 608, 'Administration'),
(277, 609, 'Livraison'),
(278, 609, 'Collecte'),
(279, 609, 'Transport malade'),
(280, 609, 'Transport personnel'),
(281, 609, 'Transport dépannage'),
(282, 609, 'Administration'),
(283, 610, 'Livraison'),
(284, 610, 'Collecte'),
(285, 610, 'Transport malade'),
(286, 610, 'Transport personnel'),
(287, 610, 'Transport dépannage'),
(288, 610, 'Administration'),
(289, 611, 'Livraison'),
(290, 611, 'Collecte'),
(291, 611, 'Transport malade'),
(292, 611, 'Transport personnel'),
(293, 611, 'Transport dépannage'),
(294, 611, 'Administration'),
(295, 612, 'Livraison'),
(296, 612, 'Collecte'),
(297, 612, 'Transport malade'),
(298, 612, 'Transport personnel'),
(299, 612, 'Transport dépannage'),
(300, 612, 'Administration'),
(301, 613, 'Livraison'),
(302, 613, 'Collecte'),
(303, 613, 'Transport malade'),
(304, 613, 'Transport personnel'),
(305, 613, 'Transport dépannage'),
(306, 613, 'Administration'),
(307, 614, 'Livraison'),
(308, 614, 'Collecte'),
(309, 614, 'Transport malade'),
(310, 614, 'Transport personnel'),
(311, 614, 'Transport dépannage'),
(312, 614, 'Administration'),
(313, 615, 'Livraison'),
(314, 615, 'Collecte'),
(315, 615, 'Transport malade'),
(316, 615, 'Transport personnel'),
(317, 615, 'Transport dépannage'),
(318, 615, 'Administration'),
(319, 616, 'Livraison'),
(320, 616, 'Collecte'),
(321, 616, 'Transport malade'),
(322, 616, 'Transport personnel'),
(323, 616, 'Transport dépannage'),
(324, 616, 'Administration'),
(325, 617, 'Livraison'),
(326, 617, 'Collecte'),
(327, 617, 'Transport malade'),
(328, 617, 'Transport personnel'),
(329, 617, 'Transport dépannage'),
(330, 617, 'Administration'),
(331, 618, 'Livraison'),
(332, 618, 'Collecte'),
(333, 618, 'Transport malade'),
(334, 618, 'Transport personnel'),
(335, 618, 'Transport dépannage'),
(336, 618, 'Administration'),
(337, 619, 'Livraison'),
(338, 619, 'Collecte'),
(339, 619, 'Transport malade'),
(340, 619, 'Transport personnel'),
(341, 619, 'Transport dépannage'),
(342, 619, 'Administration'),
(343, 620, 'Livraison'),
(344, 620, 'Collecte'),
(345, 620, 'Transport malade'),
(346, 620, 'Transport personnel'),
(347, 620, 'Transport dépannage'),
(348, 620, 'Administration'),
(349, 621, 'Livraison'),
(350, 621, 'Collecte'),
(351, 621, 'Transport malade'),
(352, 621, 'Transport personnel'),
(353, 621, 'Transport dépannage'),
(354, 621, 'Administration'),
(355, 622, 'Livraison'),
(356, 622, 'Collecte'),
(357, 622, 'Transport malade'),
(358, 622, 'Transport personnel'),
(359, 622, 'Transport dépannage'),
(360, 622, 'Administration'),
(361, 623, 'Livraison'),
(362, 623, 'Collecte'),
(363, 623, 'Transport malade'),
(364, 623, 'Transport personnel'),
(365, 623, 'Transport dépannage'),
(366, 623, 'Administration'),
(367, 624, 'Livraison'),
(368, 624, 'Collecte'),
(369, 624, 'Transport malade'),
(370, 624, 'Transport personnel'),
(371, 624, 'Transport dépannage'),
(372, 624, 'Administration'),
(373, 634, 'Livraison'),
(374, 634, 'Collecte'),
(375, 634, 'Transport malade'),
(376, 634, 'Transport personnel'),
(377, 634, 'Transport dépannage'),
(378, 634, 'Administration'),
(379, 649, 'Livraison'),
(380, 649, 'Collecte'),
(381, 649, 'Transport malade'),
(382, 649, 'Transport personnel'),
(383, 649, 'Transport dépannage'),
(384, 649, 'Administration'),
(385, 650, 'Livraison'),
(386, 650, 'Collecte'),
(387, 650, 'Transport malade'),
(388, 650, 'Transport personnel'),
(389, 650, 'Transport dépannage'),
(390, 650, 'Administration'),
(391, 651, 'Livraison'),
(392, 651, 'Collecte'),
(393, 651, 'Transport malade'),
(394, 651, 'Transport personnel'),
(395, 651, 'Transport dépannage'),
(396, 651, 'Administration'),
(397, 652, 'Livraison'),
(398, 652, 'Collecte'),
(399, 652, 'Transport malade'),
(400, 652, 'Transport personnel'),
(401, 652, 'Transport dépannage'),
(402, 652, 'Administration'),
(403, 654, 'Livraison'),
(404, 654, 'Collecte'),
(405, 654, 'Transport malade'),
(406, 654, 'Transport personnel'),
(407, 654, 'Transport dépannage'),
(408, 654, 'Administration'),
(409, 655, 'Livraison'),
(410, 655, 'Collecte'),
(411, 655, 'Transport malade'),
(412, 655, 'Transport personnel'),
(413, 655, 'Transport dépannage'),
(414, 655, 'Administration'),
(415, 2957, 'Livraison'),
(416, 2957, 'Collecte'),
(417, 2957, 'Transport malade'),
(418, 2957, 'Transport personnel'),
(419, 2957, 'Transport dépannage'),
(420, 2957, 'Administration');

-- --------------------------------------------------------

--
-- Structure de la table `mission_sortie`
--

CREATE TABLE `mission_sortie` (
  `mission_sortie_id` bigint(20) NOT NULL,
  `mission_sortie_date` datetime DEFAULT NULL,
  `mission_sortie_date_debut` datetime DEFAULT NULL,
  `mission_sortie_date_fin` datetime DEFAULT NULL,
  `mission_id` bigint(20) DEFAULT NULL,
  `mission_sortie_designation` varchar(56) DEFAULT NULL,
  `wilaya_id` int(11) DEFAULT NULL,
  `chef_zone_id` bigint(20) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

-- --------------------------------------------------------

--
-- Structure de la table `mission_sortie_ligne`
--

CREATE TABLE `mission_sortie_ligne` (
  `mission_sortie_ligne_id` bigint(20) NOT NULL,
  `mission_sortie_id` bigint(20) DEFAULT NULL,
  `article_id` bigint(20) DEFAULT NULL,
  `detail` double DEFAULT NULL,
  `compte` double DEFAULT NULL,
  `gros` double DEFAULT NULL,
  `fardeaux` double DEFAULT NULL,
  `palettes` double DEFAULT NULL,
  `total_palettes` double DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

-- --------------------------------------------------------

--
-- Structure de la table `mission_status`
--

CREATE TABLE `mission_status` (
  `mission_status_id` int(11) NOT NULL,
  `mission_status_designation` varchar(256) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Déchargement des données de la table `mission_status`
--

INSERT INTO `mission_status` (`mission_status_id`, `mission_status_designation`) VALUES
(1, 'Préparée'),
(3, 'En cours'),
(4, 'Terminée'),
(5, 'Annulée');

-- --------------------------------------------------------

--
-- Structure de la table `mission_transporteur`
--

CREATE TABLE `mission_transporteur` (
  `entreprise_id` bigint(20) NOT NULL,
  `transporteur_id` bigint(20) NOT NULL,
  `transporteur_priorite` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Déchargement des données de la table `mission_transporteur`
--

INSERT INTO `mission_transporteur` (`entreprise_id`, `transporteur_id`, `transporteur_priorite`) VALUES
(305, 122, 1),
(305, 710, 2),
(305, 1000, 1),
(305, 1002, 2),
(305, 2063, 4),
(305, 2694, 2),
(305, 2695, 10);

-- --------------------------------------------------------

--
-- Structure de la table `mission_type_cargo`
--

CREATE TABLE `mission_type_cargo` (
  `mission_type_cargo_id` bigint(20) NOT NULL,
  `mission_type_cargo_designation` varchar(100) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Déchargement des données de la table `mission_type_cargo`
--

INSERT INTO `mission_type_cargo` (`mission_type_cargo_id`, `mission_type_cargo_designation`) VALUES
(1, 'Frigo'),
(2, 'Benne'),
(3, 'Bus'),
(4, 'Véhicule'),
(5, 'Conteneur');

-- --------------------------------------------------------

--
-- Structure de la table `mission_zone`
--

CREATE TABLE `mission_zone` (
  `zone_id` bigint(20) NOT NULL,
  `entreprise_id` bigint(20) DEFAULT NULL,
  `zone_contact_id` bigint(20) DEFAULT NULL,
  `parent_zone_id` bigint(20) DEFAULT NULL,
  `zone_type_id` int(11) DEFAULT NULL,
  `zone_point_id` bigint(100) DEFAULT NULL,
  `zone_designation` varchar(100) COLLATE utf8_unicode_ci DEFAULT NULL,
  `total_time` varchar(100) COLLATE utf8_unicode_ci DEFAULT NULL,
  `total_kilometrage` float DEFAULT NULL,
  `depot_id` bigint(20) DEFAULT NULL,
  `zone_responsable_id` bigint(20) DEFAULT NULL,
  `entreprise_beneficiaire_id` bigint(20) DEFAULT NULL,
  `next_client_code` int(20) NOT NULL DEFAULT '0',
  `zone_designation_new_code` varchar(256) COLLATE utf8_unicode_ci DEFAULT NULL,
  `next_client_code_updated_at` datetime NOT NULL ON UPDATE CURRENT_TIMESTAMP
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Déchargement des données de la table `mission_zone`
--

INSERT INTO `mission_zone` (`zone_id`, `entreprise_id`, `zone_contact_id`, `parent_zone_id`, `zone_type_id`, `zone_point_id`, `zone_designation`, `total_time`, `total_kilometrage`, `depot_id`, `zone_responsable_id`, `entreprise_beneficiaire_id`, `next_client_code`, `zone_designation_new_code`, `next_client_code_updated_at`) VALUES
(1, 305, NULL, NULL, 0, NULL, 'Blida', NULL, NULL, NULL, NULL, NULL, 0, NULL, '2024-09-30 12:34:28'),
(11, 305, NULL, NULL, 0, NULL, 'Alger', NULL, NULL, NULL, NULL, NULL, 0, NULL, '2024-09-30 12:34:30'),
(21, 305, NULL, NULL, 0, NULL, 'Bouira', NULL, NULL, NULL, NULL, NULL, 0, NULL, '2024-09-30 12:34:33');

-- --------------------------------------------------------

--
-- Structure de la table `mission_zone_06122020`
--

CREATE TABLE `mission_zone_06122020` (
  `zone_id` bigint(20) NOT NULL,
  `entreprise_id` bigint(20) DEFAULT NULL,
  `zone_contact_id` bigint(20) DEFAULT NULL,
  `parent_zone_id` bigint(20) DEFAULT NULL,
  `zone_type_id` int(11) DEFAULT NULL,
  `zone_point_id` bigint(100) DEFAULT NULL,
  `zone_designation` varchar(100) COLLATE utf8_unicode_ci DEFAULT NULL,
  `total_time` varchar(100) COLLATE utf8_unicode_ci DEFAULT NULL,
  `total_kilometrage` float DEFAULT NULL,
  `depot_id` bigint(20) DEFAULT NULL,
  `zone_responsable_id` bigint(20) DEFAULT NULL,
  `entreprise_beneficiaire_id` bigint(20) DEFAULT NULL,
  `next_client_code` int(20) NOT NULL DEFAULT '0'
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

-- --------------------------------------------------------

--
-- Structure de la table `mission_zone_20230802`
--

CREATE TABLE `mission_zone_20230802` (
  `zone_id` bigint(20) NOT NULL,
  `entreprise_id` bigint(20) DEFAULT NULL,
  `zone_contact_id` bigint(20) DEFAULT NULL,
  `parent_zone_id` bigint(20) DEFAULT NULL,
  `zone_type_id` int(11) DEFAULT NULL,
  `zone_point_id` bigint(100) DEFAULT NULL,
  `zone_designation` varchar(100) COLLATE utf8_unicode_ci DEFAULT NULL,
  `total_time` varchar(100) COLLATE utf8_unicode_ci DEFAULT NULL,
  `total_kilometrage` float DEFAULT NULL,
  `depot_id` bigint(20) DEFAULT NULL,
  `zone_responsable_id` bigint(20) DEFAULT NULL,
  `entreprise_beneficiaire_id` bigint(20) DEFAULT NULL,
  `next_client_code` int(20) NOT NULL DEFAULT '0',
  `zone_designation_new_code` varchar(256) COLLATE utf8_unicode_ci DEFAULT NULL,
  `next_client_code_updated_at` datetime NOT NULL ON UPDATE CURRENT_TIMESTAMP
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Déchargement des données de la table `mission_zone_20230802`
--

INSERT INTO `mission_zone_20230802` (`zone_id`, `entreprise_id`, `zone_contact_id`, `parent_zone_id`, `zone_type_id`, `zone_point_id`, `zone_designation`, `total_time`, `total_kilometrage`, `depot_id`, `zone_responsable_id`, `entreprise_beneficiaire_id`, `next_client_code`, `zone_designation_new_code`, `next_client_code_updated_at`) VALUES
(1001, 305, NULL, 0, 0, NULL, 'Parc A', NULL, NULL, NULL, NULL, NULL, 0, NULL, '2023-07-18 13:37:30'),
(1011, 305, NULL, 0, 0, NULL, 'Parc B', NULL, NULL, NULL, NULL, NULL, 0, NULL, '2023-07-18 13:37:30');

-- --------------------------------------------------------

--
-- Structure de la table `mission_zone_old`
--

CREATE TABLE `mission_zone_old` (
  `zone_id` bigint(20) NOT NULL,
  `entreprise_id` bigint(20) DEFAULT NULL,
  `zone_contact_id` bigint(20) DEFAULT NULL,
  `parent_zone_id` bigint(20) DEFAULT NULL,
  `zone_type_id` int(11) DEFAULT NULL,
  `zone_point_id` bigint(100) DEFAULT NULL,
  `zone_designation` varchar(100) COLLATE utf8_unicode_ci DEFAULT NULL,
  `total_time` varchar(100) COLLATE utf8_unicode_ci DEFAULT NULL,
  `total_kilometrage` float DEFAULT NULL,
  `depot_id` bigint(20) DEFAULT NULL,
  `zone_responsable_id` bigint(20) DEFAULT NULL,
  `entreprise_beneficiaire_id` bigint(20) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

-- --------------------------------------------------------

--
-- Structure de la table `mission_zone_params`
--

CREATE TABLE `mission_zone_params` (
  `zone_id` bigint(20) NOT NULL,
  `transporter_id` bigint(20) NOT NULL,
  `vehicle_type_id` int(11) NOT NULL,
  `total_km` int(11) NOT NULL,
  `prix_ht` float DEFAULT NULL,
  `nb_bons` int(11) DEFAULT NULL,
  `frais` float DEFAULT NULL,
  `frais_km` float DEFAULT NULL,
  `delai` int(11) DEFAULT NULL,
  `accept_client` tinyint(1) DEFAULT NULL,
  `accept_transporter` tinyint(1) DEFAULT NULL,
  `mission_role_id` bigint(20) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

-- --------------------------------------------------------

--
-- Structure de la table `mission_zone_params_missionnaire`
--

CREATE TABLE `mission_zone_params_missionnaire` (
  `zone_id` bigint(20) NOT NULL,
  `transporteur_id` bigint(20) NOT NULL,
  `vehicle_type_id` int(11) NOT NULL,
  `missionnaire_id` bigint(20) NOT NULL,
  `vehicule_id` bigint(20) NOT NULL,
  `missionnaire_motif_id` bigint(20) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

-- --------------------------------------------------------

--
-- Structure de la table `mission_zone_parcours`
--

CREATE TABLE `mission_zone_parcours` (
  `zone_id` bigint(20) NOT NULL,
  `vehicule_id` bigint(20) NOT NULL,
  `livreur_id` bigint(20) DEFAULT NULL,
  `designation` varchar(50) NOT NULL,
  `route_type_id` int(11) NOT NULL,
  `prevendeur_id` bigint(20) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

-- --------------------------------------------------------

--
-- Structure de la table `mission_zone_type`
--

CREATE TABLE `mission_zone_type` (
  `zone_type_id` int(11) NOT NULL,
  `zone_type_designation` varchar(256) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Déchargement des données de la table `mission_zone_type`
--

INSERT INTO `mission_zone_type` (`zone_type_id`, `zone_type_designation`) VALUES
(1, 'Zone'),
(2, 'Secteur'),
(3, 'Route');

-- --------------------------------------------------------

--
-- Structure de la table `misson_zone_params_carburant`
--

CREATE TABLE `misson_zone_params_carburant` (
  `zone_id` bigint(20) NOT NULL,
  `transporter_id` bigint(20) NOT NULL,
  `vehicle_type_id` int(11) NOT NULL,
  `capacite_reservoir` int(11) NOT NULL,
  `nb_bon_carburant` bigint(20) DEFAULT NULL,
  `max_carburant` float DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Déchargement des données de la table `misson_zone_params_carburant`
--

INSERT INTO `misson_zone_params_carburant` (`zone_id`, `transporter_id`, `vehicle_type_id`, `capacite_reservoir`, `nb_bon_carburant`, `max_carburant`) VALUES
(3, 199, 3, 632, 9562, 95652),
(3, 315, 2, 70, 70, 700),
(5, 121, 4, 65, 425, 600),
(5, 933, 1, 78, 60, 25);

-- --------------------------------------------------------

--
-- Structure de la table `misson_zone_point`
--

CREATE TABLE `misson_zone_point` (
  `zone_id` bigint(20) NOT NULL,
  `point_id` bigint(20) NOT NULL,
  `point_ordre` int(11) DEFAULT NULL,
  `alert_point` tinyint(1) NOT NULL,
  `alert_driver` tinyint(1) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

-- --------------------------------------------------------

--
-- Structure de la table `modele_decharge_ressource`
--

CREATE TABLE `modele_decharge_ressource` (
  `article_famille_id` bigint(20) NOT NULL,
  `contact_id` bigint(20) NOT NULL,
  `url_modele_decharge` text
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Déchargement des données de la table `modele_decharge_ressource`
--

INSERT INTO `modele_decharge_ressource` (`article_famille_id`, `contact_id`, `url_modele_decharge`) VALUES
(-16, 122, '/ressources/ClientsDoc/Ramy/Decharges/Batterie.doc'),
(-14, 122, '/ressources/ClientsDoc/Ramy/Decharges/puceTelephonique.doc'),
(-8, 122, '/ressources/ClientsDoc/Ramy/Decharges/materiel.doc'),
(-7, 122, '/ressources/ClientsDoc/Ramy/Decharges/outillage.doc'),
(-6, 122, '/ressources/ClientsDoc/Ramy/Decharges/materiel.doc'),
(-5, 122, '/ressources/ClientsDoc/Ramy/Decharges/materiel.doc'),
(-2, 122, '/ressources/ClientsDoc/Ramy/Decharges/materiel.doc');

-- --------------------------------------------------------

--
-- Structure de la table `modele_operation_type`
--

CREATE TABLE `modele_operation_type` (
  `ressource_modele_id` bigint(20) NOT NULL,
  `operation_type_id` bigint(20) NOT NULL,
  `date_periode` tinyint(1) DEFAULT NULL,
  `distance` double DEFAULT NULL,
  `next_date` date DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Déchargement des données de la table `modele_operation_type`
--

INSERT INTO `modele_operation_type` (`ressource_modele_id`, `operation_type_id`, `date_periode`, `distance`, `next_date`) VALUES
(1, 1, 1, 0, NULL),
(1, 2, 1, 0, NULL),
(1, 3, 1, 0, NULL),
(1, 4, 1, 0, NULL),
(1, 5, 0, 10000, NULL),
(1, 6, 0, 10000, NULL),
(1, 7, 0, 10000, NULL),
(1, 8, 0, 10000, NULL),
(1, 9, 0, 10000, NULL),
(1, 10, 0, 10000, NULL),
(1, 11, 0, 10000, NULL),
(1, 12, 0, 10000, NULL),
(1, 13, 1, 0, NULL),
(2, 1, 1, 0, NULL),
(2, 2, 1, 0, NULL),
(2, 3, 1, 0, NULL),
(2, 4, 1, 0, NULL),
(2, 5, 0, 10000, NULL),
(2, 6, 0, 10000, NULL),
(2, 7, 0, 10000, NULL),
(2, 8, 0, 10000, NULL),
(2, 9, 0, 10000, NULL),
(2, 10, 0, 10000, NULL),
(2, 11, 0, 10000, NULL),
(2, 12, 0, 10000, NULL),
(2, 13, 1, 0, NULL),
(3, 1, 1, 0, NULL),
(3, 2, 1, 0, NULL),
(3, 3, 1, 0, NULL),
(3, 4, 1, 0, NULL),
(3, 5, 0, 10000, NULL),
(3, 6, 0, 10000, NULL),
(3, 7, 0, 10000, NULL),
(3, 8, 0, 10000, NULL),
(3, 9, 0, 10000, NULL),
(3, 10, 0, 10000, NULL),
(3, 11, 0, 10000, NULL),
(3, 12, 0, 10000, NULL),
(3, 13, 1, 0, NULL),
(4, 1, 1, 0, NULL),
(4, 2, 1, 0, NULL),
(4, 3, 1, 0, NULL),
(4, 4, 1, 0, NULL),
(4, 5, 0, 10000, NULL),
(4, 6, 0, 10000, NULL),
(4, 7, 0, 10000, NULL),
(4, 8, 0, 10000, NULL),
(4, 9, 0, 10000, NULL),
(4, 10, 0, 10000, NULL),
(4, 11, 0, 10000, NULL),
(4, 12, 0, 10000, NULL),
(4, 13, 1, 0, NULL),
(5, 1, 1, 0, NULL),
(5, 2, 1, 0, NULL),
(5, 3, 1, 0, NULL),
(5, 4, 1, 0, NULL),
(5, 5, 0, 10000, NULL),
(5, 6, 0, 10000, NULL),
(5, 7, 0, 10000, NULL),
(5, 8, 0, 10000, NULL),
(5, 9, 0, 10000, NULL),
(5, 10, 0, 10000, NULL),
(5, 11, 0, 10000, NULL),
(5, 12, 0, 10000, NULL),
(5, 13, 1, 0, NULL),
(6, 1, 1, 0, NULL),
(6, 2, 1, 0, NULL),
(6, 3, 1, 0, NULL),
(6, 4, 1, 0, NULL),
(6, 5, 0, 10000, NULL),
(6, 6, 0, 10000, NULL),
(6, 7, 0, 10000, NULL),
(6, 8, 0, 10000, NULL),
(6, 9, 0, 10000, NULL),
(6, 10, 0, 10000, NULL),
(6, 11, 0, 10000, NULL),
(6, 12, 0, 10000, NULL),
(6, 13, 1, 0, NULL),
(31, 1, 1, 0, NULL),
(31, 2, 1, 0, NULL),
(31, 3, 1, 0, NULL),
(31, 4, 1, 0, NULL),
(31, 5, 0, 10000, NULL),
(31, 6, 0, 10000, NULL),
(31, 7, 0, 10000, NULL),
(31, 8, 0, 10000, NULL),
(31, 9, 0, 10000, NULL),
(31, 10, 0, 10000, NULL),
(31, 11, 0, 10000, NULL),
(31, 12, 0, 10000, NULL),
(31, 13, 1, 0, NULL),
(32, 1, 1, 0, NULL),
(32, 2, 1, 0, NULL),
(32, 3, 1, 0, NULL),
(32, 4, 1, 0, NULL),
(32, 5, 0, 10000, NULL),
(32, 6, 0, 10000, NULL),
(32, 7, 0, 10000, NULL),
(32, 8, 0, 10000, NULL),
(32, 9, 0, 10000, NULL),
(32, 10, 0, 10000, NULL),
(32, 11, 0, 10000, NULL),
(32, 12, 0, 10000, NULL),
(32, 13, 1, 0, NULL),
(33, 1, 1, 0, NULL),
(33, 2, 1, 0, NULL),
(33, 3, 1, 0, NULL),
(33, 4, 1, 0, NULL),
(33, 5, 0, 10000, NULL),
(33, 6, 0, 10000, NULL),
(33, 7, 0, 10000, NULL),
(33, 8, 0, 10000, NULL),
(33, 9, 0, 10000, NULL),
(33, 10, 0, 10000, NULL),
(33, 11, 0, 10000, NULL),
(33, 12, 0, 10000, NULL),
(33, 13, 1, 0, NULL),
(34, 1, 1, 0, NULL),
(34, 2, 1, 0, NULL),
(34, 3, 1, 0, NULL),
(34, 4, 1, 0, NULL),
(34, 5, 0, 10000, NULL),
(34, 6, 0, 10000, NULL),
(34, 7, 0, 10000, NULL),
(34, 8, 0, 10000, NULL),
(34, 9, 0, 10000, NULL),
(34, 10, 0, 10000, NULL),
(34, 11, 0, 10000, NULL),
(34, 12, 0, 10000, NULL),
(34, 13, 1, 0, NULL),
(35, 1, 1, 0, NULL),
(35, 2, 1, 0, NULL),
(35, 3, 1, 0, NULL),
(35, 4, 1, 0, NULL),
(35, 5, 0, 10000, NULL),
(35, 6, 0, 10000, NULL),
(35, 7, 0, 10000, NULL),
(35, 8, 0, 10000, NULL),
(35, 9, 0, 10000, NULL),
(35, 10, 0, 10000, NULL),
(35, 11, 0, 10000, NULL),
(35, 12, 0, 10000, NULL),
(35, 13, 1, 0, NULL),
(36, 1, 1, 0, NULL),
(36, 2, 1, 0, NULL),
(36, 3, 1, 0, NULL),
(36, 4, 1, 0, NULL),
(36, 5, 0, 10000, NULL),
(36, 6, 0, 10000, NULL),
(36, 7, 0, 10000, NULL),
(36, 8, 0, 10000, NULL),
(36, 9, 0, 10000, NULL),
(36, 10, 0, 10000, NULL),
(36, 11, 0, 10000, NULL),
(36, 12, 0, 10000, NULL),
(36, 13, 1, 0, NULL),
(37, 1, 1, 0, NULL),
(37, 2, 1, 0, NULL),
(37, 3, 1, 0, NULL),
(37, 4, 1, 0, NULL),
(37, 5, 0, 10000, NULL),
(37, 6, 0, 10000, NULL),
(37, 7, 0, 10000, NULL),
(37, 8, 0, 10000, NULL),
(37, 9, 0, 10000, NULL),
(37, 10, 0, 10000, NULL),
(37, 11, 0, 10000, NULL),
(37, 12, 0, 10000, NULL),
(37, 13, 1, 0, NULL),
(38, 1, 1, 0, NULL),
(38, 2, 1, 0, NULL),
(38, 3, 1, 0, NULL),
(38, 4, 1, 0, NULL),
(38, 5, 0, 10000, NULL),
(38, 6, 0, 10000, NULL),
(38, 7, 0, 10000, NULL),
(38, 8, 0, 10000, NULL),
(38, 9, 0, 10000, NULL),
(38, 10, 0, 10000, NULL),
(38, 11, 0, 10000, NULL),
(38, 12, 0, 10000, NULL),
(38, 13, 1, 0, NULL),
(39, 1, 1, 0, NULL),
(39, 2, 1, 0, NULL),
(39, 3, 1, 0, NULL),
(39, 4, 1, 0, NULL),
(39, 5, 0, 10000, NULL),
(39, 6, 0, 10000, NULL),
(39, 7, 0, 10000, NULL),
(39, 8, 0, 10000, NULL),
(39, 9, 0, 10000, NULL),
(39, 10, 0, 10000, NULL),
(39, 11, 0, 10000, NULL),
(39, 12, 0, 10000, NULL),
(39, 13, 1, 0, NULL),
(40, 1, 1, 0, NULL),
(40, 2, 1, 0, NULL),
(40, 3, 1, 0, NULL),
(40, 4, 1, 0, NULL),
(40, 5, 0, 10000, NULL),
(40, 6, 0, 10000, NULL),
(40, 7, 0, 10000, NULL),
(40, 8, 0, 10000, NULL),
(40, 9, 0, 10000, NULL),
(40, 10, 0, 10000, NULL),
(40, 11, 0, 10000, NULL),
(40, 12, 0, 10000, NULL),
(40, 13, 1, 0, NULL),
(41, 1, 1, 0, NULL),
(41, 2, 1, 0, NULL),
(41, 3, 1, 0, NULL),
(41, 4, 1, 0, NULL),
(41, 5, 0, 10000, NULL),
(41, 6, 0, 10000, NULL),
(41, 7, 0, 10000, NULL),
(41, 8, 0, 10000, NULL),
(41, 9, 0, 10000, NULL),
(41, 10, 0, 10000, NULL),
(41, 11, 0, 10000, NULL),
(41, 12, 0, 10000, NULL),
(41, 13, 1, 0, NULL),
(42, 1, 1, 0, NULL),
(42, 2, 1, 0, NULL),
(42, 3, 1, 0, NULL),
(42, 4, 1, 0, NULL),
(42, 5, 0, 10000, NULL),
(42, 6, 0, 10000, NULL),
(42, 7, 0, 10000, NULL),
(42, 8, 0, 10000, NULL),
(42, 9, 0, 10000, NULL),
(42, 10, 0, 10000, NULL),
(42, 11, 0, 10000, NULL),
(42, 12, 0, 10000, NULL),
(42, 13, 1, 0, NULL),
(43, 1, 1, 0, NULL),
(43, 2, 1, 0, NULL),
(43, 3, 1, 0, NULL),
(43, 4, 1, 0, NULL),
(43, 5, 0, 10000, NULL),
(43, 6, 0, 10000, NULL),
(43, 7, 0, 10000, NULL),
(43, 8, 0, 10000, NULL),
(43, 9, 0, 10000, NULL),
(43, 10, 0, 10000, NULL),
(43, 11, 0, 10000, NULL),
(43, 12, 0, 10000, NULL),
(43, 13, 1, 0, NULL),
(44, 1, 1, 0, NULL),
(44, 2, 1, 0, NULL),
(44, 3, 1, 0, NULL),
(44, 4, 1, 0, NULL),
(44, 5, 0, 10000, NULL),
(44, 6, 0, 10000, NULL),
(44, 7, 0, 10000, NULL),
(44, 8, 0, 10000, NULL),
(44, 9, 0, 10000, NULL),
(44, 10, 0, 10000, NULL),
(44, 11, 0, 10000, NULL),
(44, 12, 0, 10000, NULL),
(44, 13, 1, 0, NULL),
(45, 1, 1, 0, NULL),
(45, 2, 1, 0, NULL),
(45, 3, 1, 0, NULL),
(45, 4, 1, 0, NULL),
(45, 5, 0, 10000, NULL),
(45, 6, 0, 10000, NULL),
(45, 7, 0, 10000, NULL),
(45, 8, 0, 10000, NULL),
(45, 9, 0, 10000, NULL),
(45, 10, 0, 10000, NULL),
(45, 11, 0, 10000, NULL),
(45, 12, 0, 10000, NULL),
(45, 13, 1, 0, NULL),
(46, 1, 1, 0, NULL),
(46, 2, 1, 0, NULL),
(46, 3, 1, 0, NULL),
(46, 4, 1, 0, NULL),
(46, 5, 0, 10000, NULL),
(46, 6, 0, 10000, NULL),
(46, 7, 0, 10000, NULL),
(46, 8, 0, 10000, NULL),
(46, 9, 0, 10000, NULL),
(46, 10, 0, 10000, NULL),
(46, 11, 0, 10000, NULL),
(46, 12, 0, 10000, NULL),
(46, 13, 1, 0, NULL),
(47, 1, 1, 0, NULL),
(47, 2, 1, 0, NULL),
(47, 3, 1, 0, NULL),
(47, 4, 1, 0, NULL),
(47, 5, 0, 10000, NULL),
(47, 6, 0, 10000, NULL),
(47, 7, 0, 10000, NULL),
(47, 8, 0, 10000, NULL),
(47, 9, 0, 10000, NULL),
(47, 10, 0, 10000, NULL),
(47, 11, 0, 10000, NULL),
(47, 12, 0, 10000, NULL),
(47, 13, 1, 0, NULL),
(48, 1, 1, 0, NULL),
(48, 2, 1, 0, NULL),
(48, 3, 1, 0, NULL),
(48, 4, 1, 0, NULL),
(48, 5, 0, 10000, NULL),
(48, 6, 0, 10000, NULL),
(48, 7, 0, 10000, NULL),
(48, 8, 0, 10000, NULL),
(48, 9, 0, 10000, NULL),
(48, 10, 0, 10000, NULL),
(48, 11, 0, 10000, NULL),
(48, 12, 0, 10000, NULL),
(48, 13, 1, 0, NULL);

-- --------------------------------------------------------

--
-- Structure de la table `module`
--

CREATE TABLE `module` (
  `module_id` bigint(20) NOT NULL,
  `module_name` varchar(100) DEFAULT NULL,
  `module_sysname` varchar(56) DEFAULT NULL,
  `active` tinyint(1) DEFAULT NULL,
  `parent_id` bigint(20) DEFAULT NULL,
  `icone` varchar(100) DEFAULT NULL,
  `ordre` int(11) DEFAULT NULL,
  `root` tinyint(1) DEFAULT NULL,
  `window` tinyint(1) DEFAULT NULL,
  `admin` tinyint(1) DEFAULT NULL,
  `article_id` bigint(20) DEFAULT NULL,
  `article_unite_id` int(11) DEFAULT NULL,
  `montant_jour` double DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Déchargement des données de la table `module`
--

INSERT INTO `module` (`module_id`, `module_name`, `module_sysname`, `active`, `parent_id`, `icone`, `ordre`, `root`, `window`, `admin`, `article_id`, `article_unite_id`, `montant_jour`) VALUES
(9, 'Admin', 'admin', 1, NULL, 'flaticon2-user-1 ', 2, 1, 0, 1, NULL, NULL, NULL),
(10, 'Déconnexion', 'logout', 1, NULL, 'flaticon-logout', 12, 1, 1, NULL, NULL, NULL, NULL),
(12, 'Annuaire', 'employes', 1, 68, 'flaticon-users-1', 3, 1, 1, 1, NULL, NULL, NULL),
(14, 'Gestion des utilisateurs', 'users', 1, 9, '', 8, 0, 1, 1, NULL, NULL, NULL),
(66, 'Stock Inventaire MG', 'stock-mg-inventaire', 0, 122, '', 5, 0, 1, 0, NULL, NULL, NULL),
(68, 'Parc automobile', 'flotte_automobile', 1, NULL, 'flaticon2-delivery-truck', 8, 1, 0, 0, NULL, NULL, NULL),
(70, 'Véhicules', 'parc/automobile', 1, 68, 'flaticon2-delivery-truck', 1, 0, 1, 1, NULL, NULL, NULL),
(72, 'Constatations', 'constat', 0, 121, '', 0, 0, 1, 0, NULL, NULL, NULL),
(73, 'Prélèvement Kms', 'prelevementKm', 0, 121, '', 0, 0, 1, 0, NULL, NULL, NULL),
(76, 'Consomation carburant', 'consommation-carburant', 1, 68, '', 7, 0, 1, 0, NULL, NULL, NULL),
(77, 'Assurance', 'assurance', 1, 68, '', 2, 0, 1, 0, NULL, NULL, NULL),
(79, 'Stock', 'stock', 1, NULL, 'flaticon2-delivery-package', 4, 1, 1, 0, NULL, NULL, NULL),
(82, 'Messagerie et communication', 'messagerie', 0, 9, '', 25, 1, 1, NULL, NULL, NULL, NULL),
(83, 'Comptes', 'comptes', 0, 99, '', 0, 0, 1, 1, NULL, NULL, NULL),
(84, 'Abonnement', 'abonnement', 0, 99, '', 0, 0, 1, NULL, NULL, NULL, NULL),
(85, 'Paramètres des autorisations', 'paramAuto', 0, 100, '', 0, 0, 1, 0, NULL, NULL, NULL),
(86, 'Contrats', 'contrats', 0, 99, '', 0, 0, 1, 0, NULL, NULL, NULL),
(87, 'Etat stock MG', 'mg-etats-stock', 0, 122, '', 0, 0, 1, NULL, NULL, NULL, 200),
(88, 'Interventions', 'intervention', 0, 99, '', 0, 0, 1, NULL, NULL, NULL, NULL),
(89, 'Puces', 'sim', 0, 99, '', 0, 0, 1, NULL, NULL, NULL, 200),
(90, 'Maintenances corrective et curative\'', 'maintenance', 1, 68, '', 4, 1, 0, 0, NULL, NULL, NULL),
(91, 'Missions', 'missions', 0, NULL, 'flaticon2-start-up', 3, 1, 0, NULL, NULL, NULL, NULL),
(92, 'Missions', 'missions', 0, 91, '', 4, 0, 1, NULL, NULL, NULL, NULL),
(93, 'Planifications des missions', 'planification-missions', 0, 91, '', 5, 0, 1, NULL, NULL, NULL, NULL),
(94, 'Paramétrage des zones et routes', 'parametres-missions/route-settings', 0, 9, '', 3, 0, 1, NULL, NULL, NULL, NULL),
(95, 'Paramétrage des tournées', 'parametres-missions/regular-mission-settings', 0, 9, '', 2, 1, 1, NULL, NULL, NULL, NULL),
(96, 'Sinistres et accidents', 'scinistres', 1, 68, '', 5, 0, 1, 0, NULL, NULL, NULL),
(97, 'Avoir fournisseurs', 'gestion-achats/facture-avoir-frns', 0, 127, '', 8, 1, 0, NULL, NULL, NULL, NULL),
(98, 'Infractions', 'infractions', 1, 68, '', 6, 0, 1, NULL, NULL, NULL, NULL),
(99, 'Administration', 'administration', 0, NULL, '\r\nflaticon2-settings', 0, 1, 0, NULL, NULL, NULL, NULL),
(100, 'DATAFIRST', 'datafirst', 0, NULL, '', 0, 1, 0, 1, NULL, NULL, NULL),
(101, 'Produits', 'stock-gestion', 1, 9, '', 0, 0, 1, 0, NULL, NULL, NULL),
(102, 'Bons de transferts', 'documents-bl/bons-transfert', 0, 79, '', 2, 0, 1, 0, NULL, NULL, NULL),
(103, 'Mouvements de stock', 'mouvement-stock', 0, 79, '', 9, 0, 1, 0, NULL, NULL, NULL),
(104, 'Bon de chargement', 'gestion-achats/bons-chargement', 0, 79, '', 11, 0, 1, 0, NULL, NULL, NULL),
(105, 'Inventaires', 'stock-inventaire-mg', 1, 79, '', 12, 0, 1, 0, NULL, NULL, NULL),
(106, 'Analyse des achats', 'gestion-achats/analyse-achats', 0, 127, NULL, 12, NULL, NULL, NULL, NULL, NULL, NULL),
(107, 'Planning', 'planning', 1, 68, '', 8, 0, 1, NULL, NULL, NULL, NULL),
(108, 'Planning employés', 'planning/planningEmployes', 1, 68, '', 8, 0, 1, 0, NULL, NULL, NULL),
(109, 'Planning véhicules', 'planning/planningVehicules', 1, 68, '', 9, 0, 1, 0, NULL, NULL, NULL),
(110, 'Géolocalisation', 'geolocalisation', 0, NULL, 'flaticon2-map', 11, 1, 0, 0, NULL, NULL, NULL),
(111, 'Activités quotidiennes', 'activites_vehicules', 0, 110, '', 1, 0, 1, NULL, NULL, NULL, NULL),
(112, 'Tournées et stationnement', 'tournees_stationnement', 0, 110, '', 2, 0, 1, NULL, NULL, NULL, NULL),
(113, 'Positions', 'position/position', 0, 110, '', 3, 0, 1, NULL, NULL, NULL, NULL),
(114, 'Zones et points ', 'points_interets/list', 0, 110, '', 4, 0, 1, NULL, NULL, NULL, NULL),
(115, 'Suivi des documents', 'suivi-administratif', 1, 68, '', 11, 0, 1, NULL, NULL, NULL, NULL),
(118, 'Paramètres fonctionnels', 'functional-parameters', 1, 9, '', 1, 0, 1, NULL, NULL, NULL, NULL),
(119, 'Mouvement stock MG', 'mouvement-stock-mg', 1, 79, '', 4, 0, 1, NULL, NULL, NULL, NULL),
(120, 'Factures fournisseurs', 'gestion-achats/facture-frns', 0, 127, '', 7, 0, 1, NULL, NULL, NULL, NULL),
(121, 'Suivi', 'suivi', 0, NULL, 'flaticon-statistics', 0, 1, 0, NULL, NULL, NULL, NULL),
(122, 'Moyens généraux', 'parametrage', 0, NULL, 'flaticon2-settings', 10, 1, 0, NULL, NULL, NULL, NULL),
(123, 'Suivi des documents', 'suivi-administratif', 1, 68, ' ', 10, 0, 1, NULL, NULL, NULL, NULL),
(124, 'Gaspillage carburant', 'gaspillage_carburant', 0, 110, ' ', 5, 0, 1, NULL, NULL, NULL, NULL),
(125, 'Importation données', 'importData', 0, 68, '\"\"', 0, 0, 1, NULL, NULL, NULL, NULL),
(126, 'Accueil', 'home', 1, NULL, 'flaticon-home-2', 0, 1, 1, NULL, NULL, NULL, NULL),
(127, 'Achats', 'uc-fournisseurs-app', 1, NULL, 'flaticon2-shopping-cart-1', 6, NULL, 0, NULL, NULL, NULL, NULL),
(128, 'Ventes', 'uc-clients', 0, NULL, 'flaticon-shopping-basket', 5, NULL, 0, NULL, NULL, NULL, NULL),
(129, 'Demandes de prix', 'gestion-achats/demandes-prix', 0, 127, NULL, 2, NULL, 0, NULL, NULL, NULL, NULL),
(130, 'RH', 'uc-employes', 0, NULL, 'flaticon-users-1', NULL, NULL, 0, NULL, NULL, NULL, NULL),
(131, 'Fournisseurs', 'fournisseurs/fournisseurs', 1, 127, NULL, 1, NULL, 0, NULL, NULL, NULL, NULL),
(132, 'Bons d\'entrée (BL fournisseur)', 'gestion-achats-mg/bls-fournisseurs', 1, 79, NULL, 1, NULL, 1, NULL, NULL, NULL, NULL),
(133, 'Bons de retour fournisseurs', 'gestion-achats-mg/bons-retour-fournisseur', 1, 79, NULL, 7, NULL, 1, NULL, NULL, NULL, NULL),
(134, 'Règlements fournisseurs', 'gestion-achats/reglement-fournisseur', 0, 127, NULL, 11, NULL, 1, NULL, NULL, NULL, NULL),
(135, 'Clients', 'clients', 0, 9, NULL, 4, NULL, NULL, NULL, NULL, NULL, NULL),
(136, 'Vendeurs / Prévendeurs', 'commercial', 0, 9, NULL, 6, NULL, NULL, NULL, NULL, NULL, NULL),
(137, 'Bon de sortie Dons', 'documents-bl/bons-sortie-don', 0, 79, NULL, 8, NULL, NULL, NULL, NULL, NULL, NULL),
(138, 'Bons de consommation', 'gestion-consommation-mg/bons-consommation', 1, 79, NULL, 4, NULL, NULL, NULL, NULL, NULL, NULL),
(139, 'Factures', 'gestion-ventes/facture-vente', 0, 128, NULL, 5, NULL, NULL, NULL, NULL, NULL, NULL),
(140, 'Bons de retour consommation', 'gestion-consommation-mg/bons-retour-consommation', 1, 79, NULL, 6, NULL, 1, NULL, NULL, NULL, NULL),
(141, 'Avoirs', 'gestion-ventes/facture-avoir', 0, 128, NULL, 7, NULL, NULL, NULL, NULL, NULL, NULL),
(142, 'Règlements clients', 'gestion-ventes/reglement-client', 0, 128, NULL, 8, NULL, NULL, NULL, NULL, NULL, NULL),
(143, 'Packs et promotions', 'packs-promotions', 0, 128, NULL, 9, NULL, NULL, NULL, NULL, NULL, NULL),
(144, 'Analyses des ventes', 'gestion-achats/analyse-ventes', 0, 128, NULL, 10, NULL, NULL, NULL, NULL, NULL, NULL),
(145, 'Statistiques', 'Statistiques', 0, NULL, 'flaticon2-chart', 7, NULL, NULL, NULL, NULL, NULL, NULL),
(146, 'Devis fournisseurs', 'gestion-achats/devis-fournisseurs', 0, 127, NULL, 3, NULL, NULL, NULL, NULL, NULL, NULL),
(147, 'Commandes d’achat', 'gestion-achats-mg/bons-cmd-achat-mg', 1, 79, NULL, 5, NULL, NULL, NULL, NULL, NULL, NULL),
(148, 'Statistiques des commandes', 'statistiques/commandes', 0, 128, NULL, 20, NULL, NULL, NULL, NULL, NULL, NULL),
(149, 'Ventes et réalisations', 'rapport-commercial', 0, 145, NULL, 4, NULL, NULL, NULL, NULL, NULL, NULL),
(150, 'Paramétrage Objectifs', 'paramsKpi', 0, 9, NULL, 21, NULL, NULL, NULL, NULL, NULL, NULL),
(151, 'Finances', 'Finances', 1, NULL, 'flaticon-price-tag', 9, NULL, 0, NULL, NULL, NULL, NULL),
(152, 'Mouvement des livreurs', 'sessions-caisse', 0, 151, NULL, 1, NULL, NULL, NULL, NULL, NULL, NULL),
(153, 'Marchés et Soumissions', 'gestion-achats/comparatif-offres', 0, 127, NULL, 4, NULL, NULL, NULL, NULL, NULL, NULL),
(154, 'Employés', 'employes', 0, 9, NULL, 5, NULL, NULL, NULL, NULL, NULL, NULL),
(155, 'Etats du stock', 'etats-stock', 1, 79, NULL, 0, 0, 1, NULL, NULL, NULL, NULL),
(156, 'Créances', 'gestion-ventes/creance', 0, 128, NULL, 10, NULL, NULL, NULL, NULL, NULL, NULL),
(157, 'Produits MG', 'produits-mg', 0, 9, NULL, 9, NULL, NULL, NULL, NULL, NULL, NULL),
(158, 'Objectifs des ventes', 'objectifs-vente', 0, 9, NULL, 7, NULL, NULL, NULL, NULL, NULL, NULL),
(159, 'Demande de consommation MG', 'demandes_bl', 0, 122, NULL, 2, NULL, NULL, NULL, NULL, NULL, NULL),
(160, 'Mouvement des caisses', 'mouvement-caisse/list', 1, 151, NULL, 3, NULL, NULL, NULL, NULL, NULL, NULL),
(161, 'Comptes et caisses', 'states', 0, 151, NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL),
(162, 'Bons de commandes', 'gestion-ventes/bons-cmd-vente', 0, 128, NULL, 4, NULL, NULL, NULL, NULL, NULL, NULL),
(163, 'Bons de consommations MG', 'gestion-achats/bons-consomm', 0, 122, NULL, 3, NULL, NULL, NULL, NULL, NULL, NULL),
(164, 'Historique du système', 'historique-systeme', 0, 9, '', 16, NULL, NULL, NULL, NULL, NULL, NULL),
(165, 'Affectation des quotas', 'documents-bl/quotas', 0, 79, NULL, 13, NULL, NULL, NULL, NULL, NULL, NULL),
(166, 'Paramétrage des clients', 'parametres-missions/regular-mission-clients', 0, 9, NULL, 3, NULL, NULL, NULL, NULL, NULL, NULL),
(167, 'Paramétrage des quotas', 'parametrage-quotas', 0, 9, NULL, 4, NULL, NULL, NULL, NULL, NULL, NULL),
(168, ' Bons de sortie retour', 'documents-bl/bons-sortie-retour', 0, 79, NULL, 7, NULL, NULL, NULL, NULL, NULL, NULL),
(169, 'Statistiques', 'statistiques', 0, 9, NULL, 17, NULL, NULL, NULL, NULL, NULL, NULL),
(170, 'Bons d\'avaries', 'documents-bl/bons-avaries', 0, 79, NULL, 10, NULL, NULL, NULL, NULL, NULL, NULL),
(171, 'Objectifs', 'objectifs', 0, 180, NULL, 1, NULL, NULL, NULL, NULL, NULL, NULL),
(180, 'Objectifs', 'objectifs', 0, NULL, 'flaticon-list-3', 8, NULL, NULL, NULL, NULL, NULL, NULL),
(181, 'Statistiques des objectifs', 'statistiques/objectifs', 0, 180, NULL, 2, NULL, NULL, NULL, NULL, NULL, NULL),
(182, 'Statistiques', 'statistiques/stock', 0, 79, NULL, 20, NULL, NULL, NULL, NULL, NULL, NULL),
(183, 'État des fournisseurs', 'etat-fournisseurs', 0, 151, NULL, 4, NULL, NULL, NULL, NULL, NULL, NULL),
(184, 'Remise des chèques', 'remise-cheques', 0, 151, NULL, 5, NULL, NULL, NULL, NULL, NULL, NULL),
(185, 'Suivi des chèques', 'suivi-cheques', 0, 151, NULL, 5, NULL, NULL, NULL, NULL, NULL, NULL),
(300, 'Équipements', 'equipements/list', 1, NULL, 'flaticon-technology', 9, 1, 0, 0, NULL, NULL, NULL),
(301, 'Machines et Équipements', 'equipements/list', 1, 300, '', 0, 0, 1, 0, NULL, NULL, NULL),
(311, 'Historique des signalements', 'historique-signalement/liste', 1, 68, NULL, 4, NULL, NULL, NULL, NULL, NULL, NULL),
(321, 'Gamme opératoire', 'gamme-operatoire', 1, 68, NULL, 7, NULL, NULL, NULL, NULL, NULL, NULL),
(331, 'Bons d\'avaries', 'documents-bl/bons-avaries', 1, 79, NULL, 9, NULL, NULL, NULL, NULL, NULL, NULL),
(341, 'Missions', 'missions', 1, 68, NULL, 6, NULL, NULL, NULL, NULL, NULL, NULL),
(351, 'Bons besoins magasin', 'gestion-achats-mg/bons-besoins-magasin', 1, 79, NULL, 3, NULL, NULL, NULL, NULL, NULL, NULL),
(361, 'Controlleurs', 'parametrage', 1, 68, 'flaticon-technology', 4, NULL, NULL, NULL, NULL, NULL, NULL);

-- --------------------------------------------------------

--
-- Structure de la table `module_07`
--

CREATE TABLE `module_07` (
  `module_id` bigint(20) NOT NULL,
  `module_name` varchar(100) DEFAULT NULL,
  `module_sysname` varchar(56) DEFAULT NULL,
  `active` tinyint(1) DEFAULT NULL,
  `parent_id` bigint(20) DEFAULT NULL,
  `icone` varchar(100) DEFAULT NULL,
  `ordre` int(11) DEFAULT NULL,
  `root` tinyint(1) DEFAULT NULL,
  `window` tinyint(1) DEFAULT NULL,
  `admin` tinyint(1) DEFAULT NULL,
  `article_id` bigint(20) DEFAULT NULL,
  `article_unite_id` int(11) DEFAULT NULL,
  `montant_jour` double DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

-- --------------------------------------------------------

--
-- Structure de la table `module_11062020`
--

CREATE TABLE `module_11062020` (
  `module_id` bigint(20) NOT NULL,
  `module_name` varchar(100) DEFAULT NULL,
  `module_sysname` varchar(15) DEFAULT NULL,
  `active` tinyint(1) DEFAULT NULL,
  `parent_id` bigint(20) DEFAULT NULL,
  `icone` varchar(100) DEFAULT NULL,
  `ordre` int(11) DEFAULT NULL,
  `root` tinyint(1) DEFAULT NULL,
  `window` tinyint(1) DEFAULT NULL,
  `admin` tinyint(1) DEFAULT NULL,
  `article_id` bigint(20) DEFAULT NULL,
  `article_unite_id` int(11) DEFAULT NULL,
  `montant_jour` double DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

-- --------------------------------------------------------

--
-- Structure de la table `module_action`
--

CREATE TABLE `module_action` (
  `action_id` int(11) NOT NULL,
  `module_id` int(11) DEFAULT NULL,
  `action_designation` varchar(200) DEFAULT NULL,
  `url` varchar(200) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

-- --------------------------------------------------------

--
-- Structure de la table `module_mobile`
--

CREATE TABLE `module_mobile` (
  `module_id` bigint(20) NOT NULL,
  `module_name` varchar(255) DEFAULT NULL,
  `module_sysname` varchar(255) DEFAULT NULL,
  `active` tinyint(4) DEFAULT NULL,
  `download_link` varchar(255) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Déchargement des données de la table `module_mobile`
--

INSERT INTO `module_mobile` (`module_id`, `module_name`, `module_sysname`, `active`, `download_link`) VALUES
(1, 'application 1 ', 'app1', 1, NULL),
(2, 'application 2', 'app2', 1, NULL),
(3, 'application 3', 'app3', 1, 'download.com');

-- --------------------------------------------------------

--
-- Structure de la table `module_mobile_group_user`
--

CREATE TABLE `module_mobile_group_user` (
  `module_id` bigint(20) NOT NULL,
  `group_user_id` bigint(20) NOT NULL,
  `is_authorized` tinyint(4) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Déchargement des données de la table `module_mobile_group_user`
--

INSERT INTO `module_mobile_group_user` (`module_id`, `group_user_id`, `is_authorized`) VALUES
(1, 34, 0),
(1, 36, 1),
(2, 36, 1),
(3, 36, 1),
(3, 1, 0),
(1, 37, 0);

-- --------------------------------------------------------

--
-- Structure de la table `motif_conge`
--

CREATE TABLE `motif_conge` (
  `motif_conge_id` int(11) NOT NULL,
  `motif_conge_dsignation` varchar(256) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

-- --------------------------------------------------------

--
-- Structure de la table `mouvement`
--

CREATE TABLE `mouvement` (
  `mouvement_id` bigint(20) NOT NULL,
  `entreprise_id` bigint(20) DEFAULT NULL,
  `concern_contact_id` bigint(20) DEFAULT NULL,
  `mouvement_type_id` bigint(20) DEFAULT NULL,
  `mouvement_response_to_mouvement_id` bigint(20) DEFAULT NULL,
  `mouvement_status_id` bigint(20) DEFAULT NULL,
  `mission_id` bigint(20) DEFAULT NULL,
  `mouvement_status_from_date` datetime DEFAULT NULL,
  `mouvement_is_canceled` tinyint(1) DEFAULT NULL,
  `mouvement_cancel_dale` datetime DEFAULT NULL,
  `mouvement_created_by` bigint(20) DEFAULT NULL,
  `mouvement_created_date` datetime DEFAULT NULL,
  `mouvement_created_date_day` date DEFAULT NULL,
  `mouvement_date` datetime DEFAULT NULL,
  `mouvement_date_day` date DEFAULT NULL,
  `mouvement_date_echeance` datetime DEFAULT NULL,
  `mouvement_date_echeance_day` date DEFAULT NULL,
  `mouvement_numero_prefixe` varchar(256) COLLATE utf8_unicode_ci DEFAULT NULL,
  `mouvement_numero_sequentiel` bigint(20) DEFAULT NULL,
  `mouvement_numero_complet` varchar(256) COLLATE utf8_unicode_ci DEFAULT NULL,
  `mouvement_annee_exercice` int(11) DEFAULT NULL,
  `mouvement_commentaire` text COLLATE utf8_unicode_ci,
  `mouvement_footer_text` text COLLATE utf8_unicode_ci,
  `livraison_date_souhaite` datetime DEFAULT NULL,
  `livraison_date_souhaite_day` date DEFAULT NULL,
  `livraison_livreur_souhaite` bigint(20) DEFAULT NULL,
  `livraison_is_delivered` tinyint(1) DEFAULT NULL,
  `livraison_deliver_date` datetime DEFAULT NULL,
  `livraison_deliver_date_day` date DEFAULT NULL,
  `livraison_livreur_id` bigint(20) DEFAULT NULL,
  `is_validated` tinyint(1) DEFAULT NULL,
  `validator_user_id` bigint(20) DEFAULT NULL,
  `project_id` bigint(20) DEFAULT NULL,
  `montant_total_fidelite` double DEFAULT NULL,
  `comptable_compte_id` bigint(20) DEFAULT NULL,
  `mouvement_monnaie_id` bigint(20) DEFAULT NULL,
  `montant_remise` double DEFAULT NULL,
  `taux_remise` double DEFAULT NULL,
  `montant_total_ht_apres_remise` double DEFAULT NULL,
  `montant_total_ht` double DEFAULT NULL,
  `tva_status` tinyint(1) DEFAULT NULL,
  `mouvement_add_tva` tinyint(1) DEFAULT NULL,
  `mouvement_hide_tva` tinyint(1) DEFAULT NULL,
  `montant_total_tva` double NOT NULL DEFAULT '0',
  `montant_total_autres_taxes` double DEFAULT NULL,
  `montant_total_ttc` double DEFAULT NULL,
  `montant_lettre` text COLLATE utf8_unicode_ci,
  `is_espece` tinyint(1) DEFAULT NULL,
  `is_timbre` tinyint(1) DEFAULT NULL,
  `taux_timbre` double DEFAULT NULL,
  `montant_timbre` double DEFAULT NULL,
  `montant_total` double DEFAULT NULL,
  `montant_regle` double DEFAULT '0',
  `is_paid` tinyint(1) DEFAULT NULL,
  `mouvement_update_lock_status` tinyint(1) DEFAULT NULL,
  `mouvement_update_lock_date` datetime DEFAULT NULL,
  `mouvement_paiement_delai_id` bigint(20) DEFAULT NULL,
  `is_offre_to_us` tinyint(1) DEFAULT NULL,
  `is_offre_request` tinyint(1) DEFAULT NULL,
  `offre_type_id` bigint(20) DEFAULT NULL,
  `offre_date_debut` datetime DEFAULT NULL,
  `offre_date_fin` datetime DEFAULT NULL,
  `offre_is_expired` tinyint(1) DEFAULT NULL,
  `offre_send_response` tinyint(1) DEFAULT NULL,
  `offre_send_response_date` datetime DEFAULT NULL,
  `offre_is_cancel` tinyint(1) DEFAULT NULL,
  `urgence` tinyint(1) DEFAULT NULL,
  `comptabilite_type_id` bigint(20) DEFAULT NULL,
  `is_printed` tinyint(1) DEFAULT NULL,
  `structure` bigint(20) DEFAULT NULL,
  `ressource_id` bigint(20) DEFAULT NULL,
  `demande_activated` tinyint(1) DEFAULT NULL,
  `demande_activated_date` datetime DEFAULT NULL,
  `validation_livraison_demandeur` tinyint(1) DEFAULT NULL,
  `validation_livraison_magasinier` tinyint(1) DEFAULT NULL,
  `commentaire_magasinier` varchar(256) COLLATE utf8_unicode_ci DEFAULT NULL,
  `damande_validated_date` datetime DEFAULT NULL,
  `temps_traitement_demande` bigint(20) DEFAULT NULL,
  `entrepot_source` bigint(20) DEFAULT NULL,
  `entrepot_destination` bigint(20) DEFAULT NULL,
  `is_stocked` tinyint(1) DEFAULT NULL,
  `stockage_date` date DEFAULT NULL,
  `carburant` tinyint(1) DEFAULT NULL,
  `invoiced` tinyint(2) DEFAULT NULL,
  `charche` tinyint(2) DEFAULT NULL,
  `is_package` tinyint(2) DEFAULT NULL,
  `Livraison_dediee` tinyint(4) DEFAULT NULL,
  `finance_mode_paiement_id` bigint(20) DEFAULT NULL,
  `is_validated_source` tinyint(1) DEFAULT NULL,
  `validator_source_user_id` bigint(20) DEFAULT NULL,
  `is_validated_destination` tinyint(1) DEFAULT NULL,
  `validator_destination_user_id` bigint(20) DEFAULT NULL,
  `validated_source_date` date DEFAULT NULL,
  `validated_destination_date` date DEFAULT NULL,
  `recived_by_id` bigint(20) DEFAULT NULL,
  `recived_date` datetime DEFAULT NULL,
  `sync_data` tinyint(1) DEFAULT NULL,
  `sync_id` tinyint(1) DEFAULT NULL,
  `latitude_decimal` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
  `longitude_decimal` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
  `contact_inventaire_id1` bigint(20) DEFAULT NULL,
  `contact_inventaire_id2` bigint(20) DEFAULT NULL,
  `contact_inventaire_id3` bigint(20) DEFAULT NULL,
  `num_bl_fournisseur` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
  `sync_mode` tinyint(4) NOT NULL DEFAULT '0',
  `validation_credit` tinyint(2) DEFAULT NULL,
  `credit_validated_by` varchar(100) COLLATE utf8_unicode_ci DEFAULT NULL,
  `date_validation_credit` date DEFAULT NULL,
  `package_cost` double DEFAULT '0',
  `is_promo` int(4) NOT NULL DEFAULT '0',
  `updated_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci COMMENT='voir la relation projet_id';

--
-- Déchargement des données de la table `mouvement`
--

INSERT INTO `mouvement` (`mouvement_id`, `entreprise_id`, `concern_contact_id`, `mouvement_type_id`, `mouvement_response_to_mouvement_id`, `mouvement_status_id`, `mission_id`, `mouvement_status_from_date`, `mouvement_is_canceled`, `mouvement_cancel_dale`, `mouvement_created_by`, `mouvement_created_date`, `mouvement_created_date_day`, `mouvement_date`, `mouvement_date_day`, `mouvement_date_echeance`, `mouvement_date_echeance_day`, `mouvement_numero_prefixe`, `mouvement_numero_sequentiel`, `mouvement_numero_complet`, `mouvement_annee_exercice`, `mouvement_commentaire`, `mouvement_footer_text`, `livraison_date_souhaite`, `livraison_date_souhaite_day`, `livraison_livreur_souhaite`, `livraison_is_delivered`, `livraison_deliver_date`, `livraison_deliver_date_day`, `livraison_livreur_id`, `is_validated`, `validator_user_id`, `project_id`, `montant_total_fidelite`, `comptable_compte_id`, `mouvement_monnaie_id`, `montant_remise`, `taux_remise`, `montant_total_ht_apres_remise`, `montant_total_ht`, `tva_status`, `mouvement_add_tva`, `mouvement_hide_tva`, `montant_total_tva`, `montant_total_autres_taxes`, `montant_total_ttc`, `montant_lettre`, `is_espece`, `is_timbre`, `taux_timbre`, `montant_timbre`, `montant_total`, `montant_regle`, `is_paid`, `mouvement_update_lock_status`, `mouvement_update_lock_date`, `mouvement_paiement_delai_id`, `is_offre_to_us`, `is_offre_request`, `offre_type_id`, `offre_date_debut`, `offre_date_fin`, `offre_is_expired`, `offre_send_response`, `offre_send_response_date`, `offre_is_cancel`, `urgence`, `comptabilite_type_id`, `is_printed`, `structure`, `ressource_id`, `demande_activated`, `demande_activated_date`, `validation_livraison_demandeur`, `validation_livraison_magasinier`, `commentaire_magasinier`, `damande_validated_date`, `temps_traitement_demande`, `entrepot_source`, `entrepot_destination`, `is_stocked`, `stockage_date`, `carburant`, `invoiced`, `charche`, `is_package`, `Livraison_dediee`, `finance_mode_paiement_id`, `is_validated_source`, `validator_source_user_id`, `is_validated_destination`, `validator_destination_user_id`, `validated_source_date`, `validated_destination_date`, `recived_by_id`, `recived_date`, `sync_data`, `sync_id`, `latitude_decimal`, `longitude_decimal`, `contact_inventaire_id1`, `contact_inventaire_id2`, `contact_inventaire_id3`, `num_bl_fournisseur`, `sync_mode`, `validation_credit`, `credit_validated_by`, `date_validation_credit`, `package_cost`, `is_promo`, `updated_at`) VALUES
(1, 305, 1, 10, NULL, 1, NULL, NULL, NULL, NULL, 305, '2024-09-30 14:10:25', '2024-09-30', '2024-09-30 14:10:25', '2024-09-30', NULL, NULL, NULL, 1, '1/2024', NULL, NULL, NULL, NULL, NULL, NULL, 0, NULL, NULL, NULL, 1, NULL, NULL, NULL, NULL, NULL, 2000, NULL, 0, 2000, NULL, NULL, NULL, 0, 0, 0, NULL, NULL, NULL, NULL, NULL, 0, 0, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 8, NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, 1, NULL, NULL, NULL, NULL, NULL, NULL, 0, NULL, NULL, NULL, 0, 0, '2024-09-30 13:10:25'),
(11, 305, 1, 10, NULL, 1, NULL, NULL, NULL, NULL, 305, '2024-09-30 14:10:25', '2024-09-30', '2024-09-30 14:10:25', '2024-09-30', NULL, NULL, NULL, 2, '2/2024', NULL, NULL, NULL, NULL, NULL, NULL, 0, NULL, NULL, NULL, 1, NULL, NULL, NULL, NULL, NULL, 2000, NULL, 0, 2000, NULL, NULL, NULL, 0, 0, 0, NULL, NULL, NULL, NULL, NULL, 0, 0, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 8, NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, 1, NULL, NULL, NULL, NULL, NULL, NULL, 0, NULL, NULL, NULL, 0, 0, '2024-09-30 13:10:25'),
(21, 305, 1, 10, NULL, 1, NULL, NULL, NULL, NULL, 305, '2024-09-30 14:10:25', '2024-09-30', '2024-09-30 14:10:25', '2024-09-30', NULL, NULL, NULL, 3, '3/2024', NULL, NULL, NULL, NULL, NULL, NULL, 0, NULL, NULL, NULL, 1, NULL, NULL, NULL, NULL, NULL, 2000, NULL, 0, 2000, NULL, NULL, NULL, 0, 0, 0, NULL, NULL, NULL, NULL, NULL, 0, 0, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 8, NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, 1, NULL, NULL, NULL, NULL, NULL, NULL, 0, NULL, NULL, NULL, 0, 0, '2024-09-30 13:10:25'),
(31, 305, 1, 10, NULL, 1, NULL, NULL, NULL, NULL, 305, '2024-09-30 14:10:25', '2024-09-30', '2024-09-30 14:10:25', '2024-09-30', NULL, NULL, NULL, 4, '4/2024', NULL, NULL, NULL, NULL, NULL, NULL, 0, NULL, NULL, NULL, 1, NULL, NULL, NULL, NULL, NULL, 2000, NULL, 0, 2000, NULL, NULL, NULL, 0, 0, 0, NULL, NULL, NULL, NULL, NULL, 0, 0, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 8, NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, 1, NULL, NULL, NULL, NULL, NULL, NULL, 0, NULL, NULL, NULL, 0, 0, '2024-09-30 13:10:25'),
(41, 305, 1, 10, NULL, 1, NULL, NULL, NULL, NULL, 305, '2024-09-30 14:13:11', '2024-09-30', '2024-09-30 14:13:11', '2024-09-30', NULL, NULL, NULL, 5, '5/2024', NULL, NULL, NULL, NULL, NULL, NULL, 0, NULL, NULL, NULL, 1, NULL, NULL, NULL, NULL, NULL, 8000, NULL, 0, 8000, NULL, NULL, NULL, 0, 0, 0, NULL, NULL, NULL, NULL, NULL, 0, 0, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 8, NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, 1, NULL, NULL, NULL, NULL, NULL, NULL, 0, NULL, NULL, NULL, 0, 0, '2024-09-30 13:13:11'),
(51, 305, 1, 10, NULL, 1, NULL, NULL, NULL, NULL, 305, '2024-09-30 14:14:02', '2024-09-30', '2024-09-30 14:14:02', '2024-09-30', NULL, NULL, NULL, 6, '6/2024', NULL, NULL, NULL, NULL, NULL, NULL, 0, NULL, NULL, NULL, 1, NULL, NULL, NULL, NULL, NULL, 60000, NULL, 0, 60000, NULL, NULL, NULL, 0, 0, 0, NULL, NULL, NULL, NULL, NULL, 0, 0, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 8, NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, 1, NULL, NULL, NULL, NULL, NULL, NULL, 0, NULL, NULL, NULL, 0, 0, '2024-09-30 13:14:02'),
(61, 305, 11, 61, NULL, 1, NULL, NULL, NULL, NULL, 305, '2024-10-07 14:23:05', '2024-10-07', '2024-10-07 14:23:05', '2024-10-07', NULL, NULL, NULL, 1, '1/2024', NULL, NULL, NULL, NULL, NULL, NULL, 0, NULL, NULL, NULL, 1, NULL, NULL, NULL, NULL, NULL, 0, NULL, 450, 450, NULL, NULL, NULL, 0, 0, 450, NULL, NULL, NULL, NULL, NULL, 450, 0, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, 1, NULL, NULL, NULL, NULL, NULL, NULL, 0, NULL, NULL, NULL, 0, 0, '2024-10-07 13:23:05'),
(71, 305, 11, 61, NULL, 1, NULL, NULL, NULL, NULL, 11, '2024-10-08 14:43:40', '2024-10-08', '2024-10-08 14:43:40', '2024-10-08', NULL, NULL, NULL, 2, '2/2024', NULL, NULL, NULL, NULL, NULL, NULL, 0, NULL, NULL, NULL, 1, NULL, NULL, NULL, NULL, NULL, 0, NULL, 333, 333, NULL, NULL, NULL, 0, 0, 333, NULL, NULL, NULL, NULL, NULL, 333, 0, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, 1, NULL, NULL, NULL, NULL, NULL, NULL, 0, NULL, NULL, NULL, 0, 0, '2024-10-08 13:43:40'),
(81, 305, 0, 10, NULL, 1, NULL, NULL, NULL, NULL, 11, '2024-10-08 14:44:54', '2024-10-08', '2024-10-08 14:44:54', '2024-10-08', NULL, NULL, NULL, 7, '7/2024', NULL, NULL, NULL, NULL, NULL, NULL, 0, NULL, NULL, NULL, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0, NULL, NULL, NULL, NULL, 0, 0, 0, NULL, NULL, NULL, NULL, NULL, 0, 0, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 8, NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, 1, NULL, NULL, NULL, NULL, NULL, NULL, 0, NULL, NULL, NULL, 0, 0, '2024-10-08 13:44:54'),
(91, 305, 11, 61, NULL, 1, NULL, NULL, NULL, NULL, 11, '2024-10-10 12:17:18', '2024-10-10', '2024-10-10 12:17:18', '2024-10-10', NULL, NULL, NULL, 3, '3/2024', NULL, NULL, NULL, NULL, NULL, NULL, 0, NULL, NULL, NULL, 1, NULL, NULL, NULL, NULL, NULL, 0, NULL, 222, 222, NULL, NULL, NULL, 0, 0, 222, NULL, NULL, NULL, NULL, NULL, 222, 0, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, 1, NULL, NULL, NULL, NULL, NULL, NULL, 0, NULL, NULL, NULL, 0, 0, '2024-10-10 11:17:18'),
(101, 305, 11, 61, NULL, 1, NULL, NULL, NULL, NULL, 11, '2024-10-10 12:17:28', '2024-10-10', '2024-10-10 12:17:28', '2024-10-10', NULL, NULL, NULL, 4, '4/2024', NULL, NULL, NULL, NULL, NULL, NULL, 0, NULL, NULL, NULL, 1, NULL, NULL, NULL, NULL, NULL, 0, NULL, 33, 33, NULL, NULL, NULL, 0, 0, 33, NULL, NULL, NULL, NULL, NULL, 33, 0, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, 1, NULL, NULL, NULL, NULL, NULL, NULL, 0, NULL, NULL, NULL, 0, 0, '2024-10-10 11:17:28'),
(111, 305, 1, 61, NULL, 1, NULL, NULL, NULL, NULL, 11, '2024-10-10 12:17:36', '2024-10-10', '2024-10-10 12:17:36', '2024-10-10', NULL, NULL, NULL, 5, '5/2024', NULL, NULL, NULL, NULL, NULL, NULL, 0, NULL, NULL, NULL, 1, NULL, NULL, NULL, NULL, NULL, 0, NULL, 2222, 2222, NULL, NULL, NULL, 0, 0, 2222, NULL, NULL, NULL, NULL, NULL, 2222, 0, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, 1, NULL, NULL, NULL, NULL, NULL, NULL, 0, NULL, NULL, NULL, 0, 0, '2024-10-10 11:17:36'),
(121, 305, 11, 61, NULL, 1, NULL, NULL, NULL, NULL, 11, '2024-10-10 12:17:49', '2024-10-10', '2024-10-10 12:17:49', '2024-10-10', NULL, NULL, NULL, 6, '6/2024', NULL, NULL, NULL, NULL, NULL, NULL, 0, NULL, NULL, NULL, 1, NULL, NULL, NULL, NULL, NULL, 0, NULL, 222, 222, NULL, NULL, NULL, 0, 0, 222, NULL, NULL, NULL, NULL, NULL, 222, 0, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, 1, NULL, NULL, NULL, NULL, NULL, NULL, 0, NULL, NULL, NULL, 0, 0, '2024-10-10 11:17:49'),
(131, 305, 11, 61, NULL, 1, NULL, NULL, NULL, NULL, 11, '2024-10-10 12:18:03', '2024-10-10', '2024-10-10 12:18:03', '2024-10-10', NULL, NULL, NULL, 7, '7/2024', NULL, NULL, NULL, NULL, NULL, NULL, 0, NULL, NULL, NULL, 1, NULL, NULL, NULL, NULL, NULL, 0, NULL, 666, 666, NULL, NULL, NULL, 0, 0, 666, NULL, NULL, NULL, NULL, NULL, 666, 0, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, 1, NULL, NULL, NULL, NULL, NULL, NULL, 0, NULL, NULL, NULL, 0, 0, '2024-10-10 11:18:03'),
(141, 305, 11, 61, NULL, 1, NULL, NULL, NULL, NULL, 11, '2024-10-10 12:18:11', '2024-10-10', '2024-10-10 12:18:11', '2024-10-10', NULL, NULL, NULL, 8, '8/2024', NULL, NULL, NULL, NULL, NULL, NULL, 0, NULL, NULL, NULL, 1, NULL, NULL, NULL, NULL, NULL, 0, NULL, 667, 667, NULL, NULL, NULL, 0, 0, 667, NULL, NULL, NULL, NULL, NULL, 667, 0, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, 1, NULL, NULL, NULL, NULL, NULL, NULL, 0, NULL, NULL, NULL, 0, 0, '2024-10-10 11:18:11'),
(151, 305, NULL, 61, NULL, 1, NULL, NULL, NULL, NULL, 11, '2024-10-10 12:18:21', '2024-10-10', '2024-10-10 12:18:21', '2024-10-10', NULL, NULL, NULL, 9, '9/2024', NULL, NULL, NULL, NULL, NULL, NULL, 0, NULL, NULL, NULL, 1, NULL, NULL, NULL, NULL, NULL, 0, NULL, 378, 378, NULL, NULL, NULL, 0, 0, 378, NULL, NULL, NULL, NULL, NULL, 378, 0, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, 1, NULL, NULL, NULL, NULL, NULL, NULL, 0, NULL, NULL, NULL, 0, 0, '2024-10-10 11:18:21'),
(161, 305, 11, 61, NULL, 1, NULL, NULL, NULL, NULL, 11, '2024-10-28 12:33:46', '2024-10-28', '2024-10-28 12:33:46', '2024-10-28', NULL, NULL, NULL, 10, '10/2024', NULL, NULL, NULL, NULL, NULL, NULL, 0, NULL, NULL, NULL, 1, NULL, NULL, NULL, NULL, NULL, 0, NULL, 323, 323, NULL, NULL, NULL, 0, 0, 323, NULL, NULL, NULL, NULL, NULL, 323, 0, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, 1, NULL, NULL, NULL, NULL, NULL, NULL, 0, NULL, NULL, NULL, 0, 0, '2024-10-28 11:33:46'),
(171, 305, 11, 61, NULL, 1, NULL, NULL, NULL, NULL, 11, '2024-10-30 13:08:49', '2024-10-30', '2024-10-30 13:08:49', '2024-10-30', NULL, NULL, NULL, 11, '11/2024', NULL, NULL, NULL, NULL, NULL, NULL, 0, NULL, NULL, NULL, 1, NULL, NULL, NULL, NULL, NULL, 0, NULL, 33, 33, NULL, NULL, NULL, 0, 0, 33, NULL, NULL, NULL, NULL, NULL, 33, 0, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, 1, NULL, NULL, NULL, NULL, NULL, NULL, 0, NULL, NULL, NULL, 0, 0, '2024-10-30 12:08:49'),
(181, 305, 0, 10, NULL, 1, NULL, NULL, NULL, NULL, 11, '2024-11-04 09:31:53', '2024-11-04', '2024-11-04 09:31:53', '2024-11-04', NULL, NULL, NULL, 8, '8/2024', NULL, NULL, NULL, NULL, NULL, NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0, NULL, NULL, NULL, 0, 0, 0, NULL, NULL, NULL, NULL, NULL, 0, 0, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 8, NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, 1, NULL, NULL, NULL, NULL, NULL, NULL, 0, NULL, NULL, NULL, 0, 0, '2024-11-04 08:31:53');

--
-- Déclencheurs `mouvement`
--
DELIMITER $$
CREATE TRIGGER `Balance_fournisseur_update` AFTER UPDATE ON `mouvement` FOR EACH ROW BEGIN
DECLARE mt double;

select total_dettes into mt from balance_fournisseur where fournisseur_id=new.concern_contact_id order by id desc limit 1;

if(new.is_stocked=1 and old.mouvement_type_id=45) THEN

		insert into balance_fournisseur 		  		
        values(null,new.concern_contact_id,2,
        new.montant_total,(mt-new.montant_total),new.mouvement_date_day) ;
END IF;

if(new.is_stocked=1 and old.mouvement_type_id=55) THEN
  
		insert into balance_fournisseur 		  		
        values(null,new.concern_contact_id,3,
        new.montant_total,(mt+new.montant_total),new.mouvement_date_day) ;
        
		
        
        
END IF;

END
$$
DELIMITER ;
DELIMITER $$
CREATE TRIGGER `deleted_id_mobile` AFTER DELETE ON `mouvement` FOR EACH ROW BEGIN
if(old.mission_id is not null)THEN
insert into mobile_deleted_data values(null,'mouvement',old.mouvement_id,0,old.mission_id);
end if ;
end
$$
DELIMITER ;
DELIMITER $$
CREATE TRIGGER `trigger_generation_numComplet` BEFORE INSERT ON `mouvement` FOR EACH ROW begin
 Declare  ref_num int;
 if(new.mouvement_type_id is not null)then
	SELECT m.mouvement_numero_sequentiel+1 into ref_num FROM mouvement m where m.mouvement_numero_sequentiel is not null and m.mouvement_type_id=new.mouvement_type_id
ORDER by m.mouvement_id desc limit 1 ; 
if(ref_num is null )then
set ref_num=1;
end if;
	  
	 SET new.mouvement_numero_complet=CONCAT(ref_num,"/",YEAR(CURRENT_DATE()));
	 SET new.mouvement_numero_sequentiel=ref_num;
 end if ;
 
end
$$
DELIMITER ;
DELIMITER $$
CREATE TRIGGER `trigger_generation_numComplet_onUpdate` BEFORE UPDATE ON `mouvement` FOR EACH ROW begin
 Declare  ref_num int;
 if(new.mouvement_type_id is not null
    and new.mouvement_numero_complet is null 
    and old.mouvement_numero_complet is null)then
	 
SELECT m.mouvement_numero_sequentiel+1 into ref_num FROM mouvement m where m.mouvement_numero_sequentiel is not null and m.mouvement_type_id=new.mouvement_type_id
ORDER by m.mouvement_id desc limit 1;
if(ref_num is null )then
   set ref_num=1;
end if;	
SET new.mouvement_numero_complet=CONCAT(ref_num,"/",YEAR(CURRENT_DATE()));
	 SET new.mouvement_numero_sequentiel=ref_num;
 end if ;
 
end
$$
DELIMITER ;

-- --------------------------------------------------------

--
-- Structure de la table `mouvement_07`
--

CREATE TABLE `mouvement_07` (
  `mouvement_id` bigint(20) NOT NULL,
  `entreprise_id` bigint(20) DEFAULT NULL,
  `concern_contact_id` bigint(20) DEFAULT NULL,
  `mouvement_type_id` bigint(20) DEFAULT NULL,
  `mouvement_response_to_mouvement_id` bigint(20) DEFAULT NULL,
  `mouvement_status_id` bigint(20) DEFAULT NULL,
  `mission_id` bigint(20) DEFAULT NULL,
  `mouvement_status_from_date` datetime DEFAULT NULL,
  `mouvement_is_canceled` tinyint(1) DEFAULT NULL,
  `mouvement_cancel_dale` datetime DEFAULT NULL,
  `mouvement_created_by` bigint(20) DEFAULT NULL,
  `mouvement_created_date` datetime DEFAULT NULL,
  `mouvement_created_date_day` date DEFAULT NULL,
  `mouvement_date` datetime DEFAULT NULL,
  `mouvement_date_day` date DEFAULT NULL,
  `mouvement_date_echeance` datetime DEFAULT NULL,
  `mouvement_date_echeance_day` date DEFAULT NULL,
  `mouvement_numero_prefixe` varchar(256) COLLATE utf8_unicode_ci DEFAULT NULL,
  `mouvement_numero_sequentiel` bigint(20) DEFAULT NULL,
  `mouvement_numero_complet` varchar(256) COLLATE utf8_unicode_ci DEFAULT NULL,
  `mouvement_annee_exercice` int(11) DEFAULT NULL,
  `mouvement_commentaire` text COLLATE utf8_unicode_ci,
  `mouvement_footer_text` text COLLATE utf8_unicode_ci,
  `livraison_date_souhaite` datetime DEFAULT NULL,
  `livraison_date_souhaite_day` date DEFAULT NULL,
  `livraison_livreur_souhaite` bigint(20) DEFAULT NULL,
  `livraison_is_delivered` tinyint(1) DEFAULT NULL,
  `livraison_deliver_date` datetime DEFAULT NULL,
  `livraison_deliver_date_day` date DEFAULT NULL,
  `livraison_livreur_id` bigint(20) DEFAULT NULL,
  `is_validated` tinyint(1) DEFAULT NULL,
  `validator_user_id` bigint(20) DEFAULT NULL,
  `project_id` bigint(20) DEFAULT NULL,
  `montant_total_fidelite` double DEFAULT NULL,
  `comptable_compte_id` bigint(20) DEFAULT NULL,
  `mouvement_monnaie_id` bigint(20) DEFAULT NULL,
  `montant_remise` double DEFAULT NULL,
  `taux_remise` double DEFAULT NULL,
  `montant_total_ht_avant_remise` double DEFAULT NULL,
  `montant_total_ht` double DEFAULT NULL,
  `tva_status` tinyint(1) DEFAULT NULL,
  `mouvement_add_tva` tinyint(1) DEFAULT NULL,
  `mouvement_hide_tva` tinyint(1) DEFAULT NULL,
  `montant_total_tva` double DEFAULT NULL,
  `montant_total_autres_taxes` double DEFAULT NULL,
  `montant_total_ttc` double DEFAULT NULL,
  `montant_lettre` text COLLATE utf8_unicode_ci,
  `is_espece` tinyint(1) DEFAULT NULL,
  `is_timbre` tinyint(1) DEFAULT NULL,
  `taux_timbre` double DEFAULT NULL,
  `montant_timbre` double DEFAULT NULL,
  `montant_total` double DEFAULT NULL,
  `montant_regle` double DEFAULT NULL,
  `is_paid` tinyint(1) DEFAULT NULL,
  `mouvement_update_lock_status` tinyint(1) DEFAULT NULL,
  `mouvement_update_lock_date` datetime DEFAULT NULL,
  `mouvement_paiement_delai_id` bigint(20) DEFAULT NULL,
  `is_offre_to_us` tinyint(1) DEFAULT NULL,
  `is_offre_request` tinyint(1) DEFAULT NULL,
  `offre_type_id` bigint(20) DEFAULT NULL,
  `offre_date_debut` datetime DEFAULT NULL,
  `offre_date_fin` datetime DEFAULT NULL,
  `offre_is_expired` tinyint(1) DEFAULT NULL,
  `offre_send_response` tinyint(1) DEFAULT NULL,
  `offre_send_response_date` datetime DEFAULT NULL,
  `offre_is_cancel` tinyint(1) DEFAULT NULL,
  `urgence` tinyint(1) DEFAULT NULL,
  `comptabilite_type_id` bigint(20) DEFAULT NULL,
  `is_printed` tinyint(1) DEFAULT NULL,
  `structure` bigint(20) DEFAULT NULL,
  `ressource_id` bigint(20) DEFAULT NULL,
  `demande_activated` tinyint(1) DEFAULT NULL,
  `demande_activated_date` datetime DEFAULT NULL,
  `validation_livraison_demandeur` tinyint(1) DEFAULT NULL,
  `validation_livraison_magasinier` tinyint(1) DEFAULT NULL,
  `commentaire_magasinier` varchar(256) COLLATE utf8_unicode_ci DEFAULT NULL,
  `damande_validated_date` datetime DEFAULT NULL,
  `temps_traitement_demande` bigint(20) DEFAULT NULL,
  `entrepot_source` bigint(20) DEFAULT NULL,
  `entrepot_destination` bigint(20) DEFAULT NULL,
  `is_stocked` tinyint(1) DEFAULT NULL,
  `stockage_date` date DEFAULT NULL,
  `carburant` tinyint(1) DEFAULT NULL,
  `invoiced` tinyint(2) DEFAULT NULL,
  `charche` tinyint(2) DEFAULT NULL,
  `packed` tinyint(2) DEFAULT NULL,
  `Livraison_dediee` tinyint(4) DEFAULT NULL,
  `finance_mode_paiement_id` bigint(20) DEFAULT NULL,
  `is_validated_source` tinyint(1) DEFAULT NULL,
  `validator_source_user_id` bigint(20) DEFAULT NULL,
  `is_validated_destination` tinyint(1) DEFAULT NULL,
  `validator_destination_user_id` bigint(20) DEFAULT NULL,
  `validated_source_date` date DEFAULT NULL,
  `validated_destination_date` date DEFAULT NULL,
  `recived_by_id` bigint(20) DEFAULT NULL,
  `recived_date` date DEFAULT NULL,
  `sync_data` tinyint(1) DEFAULT NULL,
  `sync_id` tinyint(1) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci COMMENT='voir la relation projet_id';

-- --------------------------------------------------------

--
-- Structure de la table `mouvement_07_01`
--

