CREATE TABLE `glpi_plugin_glpiinventory_ipranges` (
  `id` int(10) UNSIGNED NOT NULL,
  `name` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `entities_id` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `ip_start` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `ip_end` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC;

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

--
-- Estrutura para tabela `glpi_plugin_glpiinventory_ipranges_snmpcredentials`
--

CREATE TABLE `glpi_plugin_glpiinventory_ipranges_snmpcredentials` (
  `id` int(10) UNSIGNED NOT NULL,
  `plugin_glpiinventory_ipranges_id` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `snmpcredentials_id` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `rank` int(11) NOT NULL DEFAULT '1'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC;

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

--
-- Estrutura para tabela `glpi_plugin_glpiinventory_statediscoveries`
--

CREATE TABLE `glpi_plugin_glpiinventory_statediscoveries` (
  `id` int(10) UNSIGNED NOT NULL,
  `plugin_glpiinventory_taskjob_id` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `agents_id` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `start_time` timestamp NULL DEFAULT NULL,
  `end_time` timestamp NULL DEFAULT NULL,
  `date_mod` timestamp NULL DEFAULT NULL,
  `threads` int(11) NOT NULL DEFAULT '0',
  `nb_ip` int(11) NOT NULL DEFAULT '0',
  `nb_found` int(11) NOT NULL DEFAULT '0',
  `nb_error` int(11) NOT NULL DEFAULT '0',
  `nb_exists` int(11) NOT NULL DEFAULT '0',
  `nb_import` int(11) NOT NULL DEFAULT '0'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC;

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

--
-- Estrutura para tabela `glpi_plugin_glpiinventory_taskjoblogs`
--

CREATE TABLE `glpi_plugin_glpiinventory_taskjoblogs` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `plugin_glpiinventory_taskjobstates_id` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `date` timestamp NULL DEFAULT NULL,
  `items_id` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `itemtype` varchar(100) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `state` int(11) NOT NULL DEFAULT '0',
  `comment` text COLLATE utf8mb4_unicode_ci
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC;

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

--
-- Estrutura para tabela `glpi_plugin_glpiinventory_taskjobs`
--

CREATE TABLE `glpi_plugin_glpiinventory_taskjobs` (
  `id` int(10) UNSIGNED NOT NULL,
  `plugin_glpiinventory_tasks_id` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `entities_id` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `name` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `date_creation` timestamp NULL DEFAULT NULL,
  `method` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `targets` text COLLATE utf8mb4_unicode_ci,
  `actors` text COLLATE utf8mb4_unicode_ci,
  `comment` text COLLATE utf8mb4_unicode_ci,
  `rescheduled_taskjob_id` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `statuscomments` text COLLATE utf8mb4_unicode_ci,
  `enduser` text COLLATE utf8mb4_unicode_ci,
  `restrict_to_task_entity` tinyint(4) NOT NULL DEFAULT '1'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC;

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

--
-- Estrutura para tabela `glpi_plugin_glpiinventory_taskjobstates`
--

CREATE TABLE `glpi_plugin_glpiinventory_taskjobstates` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `plugin_glpiinventory_taskjobs_id` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `items_id` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `itemtype` varchar(100) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `state` int(11) NOT NULL DEFAULT '0',
  `agents_id` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `specificity` text COLLATE utf8mb4_unicode_ci,
  `uniqid` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `date_start` timestamp NULL DEFAULT NULL,
  `nb_retry` int(11) NOT NULL DEFAULT '0',
  `max_retry` int(11) NOT NULL DEFAULT '1'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC;

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

--
-- Estrutura para tabela `glpi_plugin_glpiinventory_tasks`
--

CREATE TABLE `glpi_plugin_glpiinventory_tasks` (
  `id` int(10) UNSIGNED NOT NULL,
  `entities_id` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `name` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `date_creation` timestamp NULL DEFAULT NULL,
  `comment` text COLLATE utf8mb4_unicode_ci,
  `is_active` tinyint(4) NOT NULL DEFAULT '0',
  `datetime_start` timestamp NULL DEFAULT NULL,
  `datetime_end` timestamp NULL DEFAULT NULL,
  `plugin_glpiinventory_timeslots_prep_id` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `plugin_glpiinventory_timeslots_exec_id` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `last_agent_wakeup` timestamp NULL DEFAULT NULL,
  `wakeup_agent_counter` int(11) NOT NULL DEFAULT '0',
  `wakeup_agent_time` int(11) NOT NULL DEFAULT '0',
  `reprepare_if_successful` tinyint(4) NOT NULL DEFAULT '1',
  `is_deploy_on_demand` tinyint(4) NOT NULL DEFAULT '0'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC;

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

--
-- Estrutura para tabela `glpi_plugin_glpiinventory_timeslotentries`
--

CREATE TABLE `glpi_plugin_glpiinventory_timeslotentries` (
  `id` int(10) UNSIGNED NOT NULL,
  `plugin_glpiinventory_timeslots_id` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `entities_id` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `is_recursive` tinyint(4) NOT NULL DEFAULT '0',
  `day` tinyint(4) NOT NULL DEFAULT '1',
  `begin` int(11) DEFAULT NULL,
  `end` int(11) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC;

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

--
-- Estrutura para tabela `glpi_plugin_glpiinventory_timeslots`
--

CREATE TABLE `glpi_plugin_glpiinventory_timeslots` (
  `id` int(10) UNSIGNED NOT NULL,
  `entities_id` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `is_recursive` tinyint(4) NOT NULL DEFAULT '0',
  `name` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `comment` text COLLATE utf8mb4_unicode_ci,
  `date_mod` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC;

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

--
-- Estrutura para tabela `glpi_plugin_itilcategorygroups_categories`
--

CREATE TABLE `glpi_plugin_itilcategorygroups_categories` (
  `id` int(10) UNSIGNED NOT NULL,
  `is_active` tinyint(4) NOT NULL DEFAULT '0',
  `name` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT '',
  `comment` text COLLATE utf8mb4_unicode_ci,
  `date_mod` date DEFAULT NULL,
  `itilcategories_id` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `view_all_lvl1` tinyint(4) NOT NULL DEFAULT '0',
  `view_all_lvl2` tinyint(4) NOT NULL DEFAULT '0',
  `view_all_lvl3` tinyint(4) NOT NULL DEFAULT '0',
  `view_all_lvl4` tinyint(4) NOT NULL DEFAULT '0',
  `entities_id` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `is_recursive` tinyint(4) NOT NULL DEFAULT '1',
  `is_incident` tinyint(4) NOT NULL DEFAULT '1',
  `is_request` tinyint(4) NOT NULL DEFAULT '1',
  `is_groups_restriction` tinyint(4) NOT NULL DEFAULT '0'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC;

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

--
-- Estrutura para tabela `glpi_plugin_itilcategorygroups_categories_groups`
--

CREATE TABLE `glpi_plugin_itilcategorygroups_categories_groups` (
  `id` int(10) UNSIGNED NOT NULL,
  `plugin_itilcategorygroups_categories_id` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `level` tinyint(4) NOT NULL DEFAULT '0',
  `itilcategories_id` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `groups_id` int(10) UNSIGNED NOT NULL DEFAULT '0'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC;

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

--
-- Estrutura para tabela `glpi_plugin_itilcategorygroups_groups_levels`
--

CREATE TABLE `glpi_plugin_itilcategorygroups_groups_levels` (
  `id` int(10) UNSIGNED NOT NULL,
  `groups_id` int(10) UNSIGNED NOT NULL,
  `lvl` int(11) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC;

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

--
-- Estrutura para tabela `glpi_plugin_jamf_computers`
--

CREATE TABLE `glpi_plugin_jamf_computers` (
  `id` int(11) NOT NULL,
  `glpi_plugin_jamf_devices_id` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

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

--
-- Estrutura para tabela `glpi_plugin_jamf_computersoftwares`
--

CREATE TABLE `glpi_plugin_jamf_computersoftwares` (
  `id` int(11) NOT NULL,
  `softwares_id` int(11) NOT NULL,
  `bundle_id` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  `itunes_store_url` varchar(255) COLLATE utf8_unicode_ci NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

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

--
-- Estrutura para tabela `glpi_plugin_jamf_devices`
--

CREATE TABLE `glpi_plugin_jamf_devices` (
  `id` int(11) NOT NULL,
  `jamf_type` varchar(100) COLLATE utf8_unicode_ci DEFAULT 'MobileDevice',
  `jamf_items_id` int(11) NOT NULL DEFAULT '-1',
  `items_id` int(11) NOT NULL,
  `itemtype` varchar(100) COLLATE utf8_unicode_ci NOT NULL,
  `udid` varchar(100) COLLATE utf8_unicode_ci NOT NULL,
  `last_inventory` datetime DEFAULT NULL,
  `entry_date` datetime DEFAULT NULL,
  `enroll_date` datetime DEFAULT NULL,
  `import_date` datetime DEFAULT NULL,
  `sync_date` datetime DEFAULT NULL,
  `managed` tinyint(1) NOT NULL DEFAULT '0',
  `supervised` tinyint(1) NOT NULL DEFAULT '0',
  `activation_lock_enabled` tinyint(1) DEFAULT '0',
  `model_identifier` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

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

--
-- Estrutura para tabela `glpi_plugin_jamf_extensionattributes`
--

CREATE TABLE `glpi_plugin_jamf_extensionattributes` (
  `id` int(11) NOT NULL,
  `jamf_type` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'MobileDevice',
  `jamf_id` int(11) NOT NULL,
  `name` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  `description` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  `data_type` varchar(255) COLLATE utf8_unicode_ci NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

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

--
-- Estrutura para tabela `glpi_plugin_jamf_extfields`
--

CREATE TABLE `glpi_plugin_jamf_extfields` (
  `id` int(11) NOT NULL,
  `itemtype` varchar(100) COLLATE utf8_unicode_ci NOT NULL,
  `items_id` int(11) NOT NULL,
  `name` varchar(100) COLLATE utf8_unicode_ci NOT NULL,
  `value` varchar(255) COLLATE utf8_unicode_ci DEFAULT ''
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

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

--
-- Estrutura para tabela `glpi_plugin_jamf_imports`
--

CREATE TABLE `glpi_plugin_jamf_imports` (
  `id` int(11) NOT NULL,
  `jamf_type` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'MobileDevice',
  `jamf_items_id` int(11) NOT NULL,
  `name` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  `type` varchar(100) COLLATE utf8_unicode_ci NOT NULL,
  `udid` varchar(100) COLLATE utf8_unicode_ci DEFAULT NULL,
  `date_discover` datetime NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

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

--
-- Estrutura para tabela `glpi_plugin_jamf_items_extensionattributes`
--

CREATE TABLE `glpi_plugin_jamf_items_extensionattributes` (
  `id` int(11) NOT NULL,
  `itemtype` varchar(100) COLLATE utf8_unicode_ci NOT NULL,
  `items_id` int(11) NOT NULL,
  `glpi_plugin_jamf_extensionattributes_id` int(11) NOT NULL,
  `value` varchar(255) COLLATE utf8_unicode_ci NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

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

--
-- Estrutura para tabela `glpi_plugin_jamf_mobiledevices`
--

CREATE TABLE `glpi_plugin_jamf_mobiledevices` (
  `id` int(11) NOT NULL,
  `shared` varchar(100) COLLATE utf8_unicode_ci NOT NULL DEFAULT '',
  `cloud_backup_enabled` tinyint(1) DEFAULT '0',
  `lost_mode_enabled` varchar(255) COLLATE utf8_unicode_ci DEFAULT 'Unknown',
  `lost_mode_enforced` tinyint(1) DEFAULT '0',
  `lost_mode_enable_date` datetime DEFAULT NULL,
  `lost_mode_message` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
  `lost_mode_phone` varchar(100) COLLATE utf8_unicode_ci DEFAULT NULL,
  `lost_location_latitude` varchar(100) COLLATE utf8_unicode_ci DEFAULT '',
  `lost_location_longitude` varchar(100) COLLATE utf8_unicode_ci DEFAULT '',
  `lost_location_altitude` varchar(100) COLLATE utf8_unicode_ci DEFAULT '',
  `lost_location_speed` varchar(100) COLLATE utf8_unicode_ci DEFAULT '',
  `lost_location_date` datetime DEFAULT NULL,
  `glpi_plugin_jamf_devices_id` int(11) NOT NULL DEFAULT '0'
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

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

--
-- Estrutura para tabela `glpi_plugin_jamf_mobiledevicesoftwares`
--

CREATE TABLE `glpi_plugin_jamf_mobiledevicesoftwares` (
  `id` int(11) NOT NULL,
  `softwares_id` int(11) NOT NULL,
  `bundle_id` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  `itunes_store_url` varchar(255) COLLATE utf8_unicode_ci NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

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

--
-- Estrutura para tabela `glpi_plugin_jamf_users_jssaccounts`
--

CREATE TABLE `glpi_plugin_jamf_users_jssaccounts` (
  `id` int(11) NOT NULL,
  `users_id` int(11) NOT NULL,
  `jssaccounts_id` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

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

--
-- Estrutura para tabela `glpi_plugin_manageentities_businesscontacts`
--

CREATE TABLE `glpi_plugin_manageentities_businesscontacts` (
  `id` int(10) UNSIGNED NOT NULL,
  `users_id` int(10) UNSIGNED NOT NULL DEFAULT '0' COMMENT 'RELATION to glpi_users (id)',
  `entities_id` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `is_default` tinyint(4) NOT NULL DEFAULT '0'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC;

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

--
-- Estrutura para tabela `glpi_plugin_manageentities_companies`
--

CREATE TABLE `glpi_plugin_manageentities_companies` (
  `id` int(10) UNSIGNED NOT NULL,
  `name` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `address` text COLLATE utf8mb4_unicode_ci COMMENT 'address of the company shown on CRI',
  `entity_id` text COLLATE utf8mb4_unicode_ci,
  `recursive` int(10) UNSIGNED DEFAULT '0',
  `logo_id` int(10) UNSIGNED DEFAULT '0' COMMENT 'RELATION to glpi_documents',
  `comment` text COLLATE utf8mb4_unicode_ci
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC;

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

--
-- Estrutura para tabela `glpi_plugin_manageentities_configs`
--

CREATE TABLE `glpi_plugin_manageentities_configs` (
  `id` int(10) UNSIGNED NOT NULL,
  `backup` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `documentcategories_id` int(10) UNSIGNED NOT NULL DEFAULT '0' COMMENT 'RELATION to glpi_documentcategories (id)',
  `useprice` tinyint(4) NOT NULL DEFAULT '1' COMMENT 'default for yes',
  `hourorday` tinyint(4) NOT NULL DEFAULT '0' COMMENT 'default for day',
  `hourbyday` int(10) UNSIGNED NOT NULL DEFAULT '0' COMMENT 'if hourorday == 0 then must be different of 0',
  `needvalidationforcri` tinyint(4) NOT NULL DEFAULT '0' COMMENT 'only CRI with validated ticket are taking into account for consumption calculation',
  `use_publictask` tinyint(4) NOT NULL DEFAULT '0' COMMENT 'default for no',
  `allow_same_periods` tinyint(4) NOT NULL DEFAULT '0' COMMENT 'allow interventions on the same interval of dates',
  `contract_states` text COLLATE utf8mb4_unicode_ci,
  `business_id` text COLLATE utf8mb4_unicode_ci,
  `choice_intervention` int(10) UNSIGNED DEFAULT NULL,
  `comment` tinyint(4) NOT NULL DEFAULT '1' COMMENT 'display comments in the CRI',
  `non_accomplished_tasks` tinyint(4) NOT NULL DEFAULT '0',
  `get_pdf_cri` tinyint(4) NOT NULL DEFAULT '0',
  `ticket_state` int(10) UNSIGNED NOT NULL DEFAULT '3',
  `default_duration` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `default_time_am` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `default_time_pm` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `disable_date_header` tinyint(4) NOT NULL DEFAULT '0',
  `company_address` text COLLATE utf8mb4_unicode_ci
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC;

--
-- Despejando dados para a tabela `glpi_plugin_manageentities_configs`
--

INSERT INTO `glpi_plugin_manageentities_configs` (`id`, `backup`, `documentcategories_id`, `useprice`, `hourorday`, `hourbyday`, `needvalidationforcri`, `use_publictask`, `allow_same_periods`, `contract_states`, `business_id`, `choice_intervention`, `comment`, `non_accomplished_tasks`, `get_pdf_cri`, `ticket_state`, `default_duration`, `default_time_am`, `default_time_pm`, `disable_date_header`, `company_address`) VALUES
(1, 0, 0, 1, 0, 8, 0, 0, 0, NULL, NULL, NULL, 1, 0, 0, 3, NULL, NULL, NULL, 0, NULL);

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

--
-- Estrutura para tabela `glpi_plugin_manageentities_contacts`
--

CREATE TABLE `glpi_plugin_manageentities_contacts` (
  `id` int(10) UNSIGNED NOT NULL,
  `contacts_id` int(10) UNSIGNED NOT NULL DEFAULT '0' COMMENT 'RELATION to glpi_contacts (id)',
  `entities_id` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `is_default` tinyint(4) NOT NULL DEFAULT '0'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC;

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

--
-- Estrutura para tabela `glpi_plugin_manageentities_contractdays`
--

CREATE TABLE `glpi_plugin_manageentities_contractdays` (
  `id` int(10) UNSIGNED NOT NULL,
  `entities_id` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `name` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `plugin_manageentities_critypes_id` int(10) UNSIGNED NOT NULL DEFAULT '0' COMMENT 'RELATION to glpi_plugin_manageentities_critypes (id)',
  `contracts_id` int(10) UNSIGNED NOT NULL DEFAULT '0' COMMENT 'RELATION to glpi_contracts (id)',
  `plugin_manageentities_contractstates_id` int(10) UNSIGNED NOT NULL DEFAULT '0' COMMENT 'RELATION to glpi_plugin_manageentities_contractstates (id)',
  `contract_type` tinyint(4) NOT NULL DEFAULT '0' COMMENT 'for the contract type (hour, intervention, unlimited or not)',
  `begin_date` timestamp NULL DEFAULT NULL,
  `end_date` timestamp NULL DEFAULT NULL,
  `nbday` decimal(20,2) DEFAULT '0.00',
  `report` decimal(20,2) DEFAULT '0.00',
  `charged` tinyint(4) NOT NULL DEFAULT '0',
  `comment` text COLLATE utf8mb4_unicode_ci
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC;

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

--
-- Estrutura para tabela `glpi_plugin_manageentities_contracts`
--

CREATE TABLE `glpi_plugin_manageentities_contracts` (
  `id` int(10) UNSIGNED NOT NULL,
  `contracts_id` int(10) UNSIGNED NOT NULL DEFAULT '0' COMMENT 'RELATION to glpi_contracts (id)',
  `entities_id` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `is_default` tinyint(4) NOT NULL DEFAULT '0',
  `management` tinyint(4) NOT NULL DEFAULT '0' COMMENT 'for the management mode (quarterly or annual or not)',
  `contract_type` tinyint(4) NOT NULL DEFAULT '0' COMMENT 'for the contract type (hour, intervention, unlimited or not)',
  `date_signature` timestamp NULL DEFAULT NULL,
  `date_renewal` timestamp NULL DEFAULT NULL,
  `contract_added` tinyint(4) NOT NULL DEFAULT '0',
  `show_on_global_gantt` tinyint(4) NOT NULL DEFAULT '0',
  `refacturable_costs` tinyint(4) NOT NULL DEFAULT '0',
  `moving_management` tinyint(4) NOT NULL DEFAULT '0',
  `duration_moving` decimal(20,2) NOT NULL DEFAULT '0.00' COMMENT 'Duration of moving'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC;

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

--
-- Estrutura para tabela `glpi_plugin_manageentities_contractstates`
--

CREATE TABLE `glpi_plugin_manageentities_contractstates` (
  `id` int(10) UNSIGNED NOT NULL,
  `name` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `is_active` tinyint(4) NOT NULL DEFAULT '0',
  `is_closed` tinyint(4) NOT NULL DEFAULT '0',
  `color` varchar(7) COLLATE utf8mb4_unicode_ci DEFAULT '#F2F2F2',
  `comment` text COLLATE utf8mb4_unicode_ci
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC;

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

--
-- Estrutura para tabela `glpi_plugin_manageentities_cridetails`
--

CREATE TABLE `glpi_plugin_manageentities_cridetails` (
  `id` int(10) UNSIGNED NOT NULL,
  `entities_id` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `date` timestamp NULL DEFAULT NULL,
  `documents_id` int(10) UNSIGNED NOT NULL DEFAULT '0' COMMENT 'RELATION to glpi_documents (id)',
  `plugin_manageentities_contractdays_id` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `plugin_manageentities_critypes_id` int(10) UNSIGNED NOT NULL DEFAULT '0' COMMENT 'RELATION to glpi_plugin_manageentities_critypes (id)',
  `withcontract` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `contracts_id` int(10) UNSIGNED NOT NULL DEFAULT '0' COMMENT 'RELATION to glpi_contracts (id)',
  `realtime` decimal(20,2) DEFAULT '0.00',
  `technicians` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `tickets_id` int(10) UNSIGNED NOT NULL DEFAULT '0' COMMENT 'RELATION to glpi_tickets (id)',
  `number_moving` int(10) UNSIGNED NOT NULL DEFAULT '0' COMMENT 'Number of movements'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC;

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

--
-- Estrutura para tabela `glpi_plugin_manageentities_criprices`
--

CREATE TABLE `glpi_plugin_manageentities_criprices` (
  `id` int(10) UNSIGNED NOT NULL,
  `entities_id` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `plugin_manageentities_critypes_id` int(10) UNSIGNED NOT NULL DEFAULT '0' COMMENT 'RELATION to glpi_plugin_manageentities_critypes (id)',
  `plugin_manageentities_contractdays_id` int(10) UNSIGNED NOT NULL DEFAULT '0' COMMENT 'RELATION to glpi_plugin_manageentities_contractdays (id)',
  `price` decimal(20,4) NOT NULL DEFAULT '0.0000',
  `is_default` tinyint(4) NOT NULL DEFAULT '0'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC;

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

--
-- Estrutura para tabela `glpi_plugin_manageentities_critechnicians`
--

CREATE TABLE `glpi_plugin_manageentities_critechnicians` (
  `id` int(10) UNSIGNED NOT NULL,
  `tickets_id` int(10) UNSIGNED NOT NULL DEFAULT '0' COMMENT 'RELATION to glpi_tickets (id)',
  `users_id` int(10) UNSIGNED NOT NULL DEFAULT '0' COMMENT 'RELATION to glpi_users (id)'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC;

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

--
-- Estrutura para tabela `glpi_plugin_manageentities_critypes`
--

CREATE TABLE `glpi_plugin_manageentities_critypes` (
  `id` int(10) UNSIGNED NOT NULL,
  `name` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `comment` text COLLATE utf8mb4_unicode_ci
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC;

--
-- Despejando dados para a tabela `glpi_plugin_manageentities_critypes`
--

INSERT INTO `glpi_plugin_manageentities_critypes` (`id`, `name`, `comment`) VALUES
(1, 'Intervenção urgente', NULL),
(2, 'Intervenção programada', NULL),
(3, 'Estudar e informar', NULL);

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

--
-- Estrutura para tabela `glpi_plugin_manageentities_entitylogos`
--

CREATE TABLE `glpi_plugin_manageentities_entitylogos` (
  `id` int(10) UNSIGNED NOT NULL,
  `entities_id` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `logos_id` int(10) UNSIGNED DEFAULT '0' COMMENT 'RELATION to glpi_documents'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC;

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

--
-- Estrutura para tabela `glpi_plugin_manageentities_interventionskateholders`
--

CREATE TABLE `glpi_plugin_manageentities_interventionskateholders` (
  `id` int(10) UNSIGNED NOT NULL,
  `users_id` int(10) UNSIGNED NOT NULL DEFAULT '0' COMMENT 'RELATION to glpi_users (id)',
  `number_affected_days` double NOT NULL DEFAULT '0' COMMENT 'Number of days affected to the user to an intervention',
  `plugin_manageentities_contractdays_id` int(10) UNSIGNED NOT NULL DEFAULT '0' COMMENT 'RELATION to glpi_plugin_manageentities_contractdays (id)'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC;

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

--
-- Estrutura para tabela `glpi_plugin_manageentities_preferences`
--

CREATE TABLE `glpi_plugin_manageentities_preferences` (
  `id` int(10) UNSIGNED NOT NULL,
  `users_id` int(10) UNSIGNED NOT NULL DEFAULT '0' COMMENT 'RELATION to glpi_users (id)',
  `show_on_load` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `contract_states` text COLLATE utf8mb4_unicode_ci,
  `business_id` text COLLATE utf8mb4_unicode_ci,
  `companies_id` text COLLATE utf8mb4_unicode_ci
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC;

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

--
-- Estrutura para tabela `glpi_plugin_manageentities_taskcategories`
--

CREATE TABLE `glpi_plugin_manageentities_taskcategories` (
  `id` int(10) UNSIGNED NOT NULL,
  `taskcategories_id` int(10) UNSIGNED NOT NULL DEFAULT '0' COMMENT 'RELATION to  glpi_taskcategories (id)',
  `is_usedforcount` tinyint(4) NOT NULL DEFAULT '0'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC;

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

--
-- Estrutura para tabela `glpi_plugin_metabase_profilerights`
--

CREATE TABLE `glpi_plugin_metabase_profilerights` (
  `id` int(10) UNSIGNED NOT NULL,
  `profiles_id` int(10) UNSIGNED NOT NULL,
  `dashboard_uuid` int(11) NOT NULL,
  `rights` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC;

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

--
-- Estrutura para tabela `glpi_plugin_moreticket_closetickets`
--

CREATE TABLE `glpi_plugin_moreticket_closetickets` (
  `id` int(10) UNSIGNED NOT NULL,
  `tickets_id` int(10) UNSIGNED NOT NULL,
  `date` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `comment` text COLLATE utf8mb4_unicode_ci,
  `requesters_id` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `documents_id` int(10) UNSIGNED NOT NULL DEFAULT '0'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC;

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

--
-- Estrutura para tabela `glpi_plugin_moreticket_configs`
--

CREATE TABLE `glpi_plugin_moreticket_configs` (
  `id` int(10) UNSIGNED NOT NULL,
  `use_waiting` tinyint(4) NOT NULL DEFAULT '0',
  `use_solution` tinyint(4) NOT NULL DEFAULT '0',
  `close_informations` tinyint(4) NOT NULL DEFAULT '0',
  `solution_status` text COLLATE utf8mb4_unicode_ci,
  `waitingtype_mandatory` tinyint(4) NOT NULL DEFAULT '0',
  `date_report_mandatory` tinyint(4) NOT NULL DEFAULT '0',
  `solutiontype_mandatory` tinyint(4) NOT NULL DEFAULT '0',
  `close_followup` tinyint(4) NOT NULL DEFAULT '0',
  `waitingreason_mandatory` tinyint(4) NOT NULL DEFAULT '0',
  `urgency_justification` tinyint(4) NOT NULL DEFAULT '0',
  `urgency_ids` text COLLATE utf8mb4_unicode_ci,
  `use_duration_solution` tinyint(4) NOT NULL DEFAULT '0',
  `is_mandatory_solution` tinyint(4) NOT NULL DEFAULT '0',
  `use_question` tinyint(4) NOT NULL DEFAULT '0',
  `add_save_button` tinyint(4) NOT NULL DEFAULT '0',
  `day_sending` int(1) NOT NULL DEFAULT '0',
  `day_closing` int(1) NOT NULL DEFAULT '0',
  `update_after_document` tinyint(4) NOT NULL DEFAULT '0',
  `update_after_approval` tinyint(4) NOT NULL DEFAULT '0',
  `followup_text` text COLLATE utf8mb4_unicode_ci,
  `closing_with_problem` int(1) NOT NULL DEFAULT '1',
  `add_followup_stop_waiting` int(1) NOT NULL DEFAULT '0',
  `update_after_tech_add_task` tinyint(4) NOT NULL DEFAULT '0',
  `update_after_tech_add_followup` tinyint(4) NOT NULL DEFAULT '0',
  `waiting_by_default_task` tinyint(4) NOT NULL DEFAULT '0',
  `waiting_by_default_followup` tinyint(4) NOT NULL DEFAULT '0'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC;

--
-- Despejando dados para a tabela `glpi_plugin_moreticket_configs`
--

INSERT INTO `glpi_plugin_moreticket_configs` (`id`, `use_waiting`, `use_solution`, `close_informations`, `solution_status`, `waitingtype_mandatory`, `date_report_mandatory`, `solutiontype_mandatory`, `close_followup`, `waitingreason_mandatory`, `urgency_justification`, `urgency_ids`, `use_duration_solution`, `is_mandatory_solution`, `use_question`, `add_save_button`, `day_sending`, `day_closing`, `update_after_document`, `update_after_approval`, `followup_text`, `closing_with_problem`, `add_followup_stop_waiting`, `update_after_tech_add_task`, `update_after_tech_add_followup`, `waiting_by_default_task`, `waiting_by_default_followup`) VALUES
(1, 1, 1, 1, '{&quot;5&quot;:1}', 1, 1, 1, 0, 1, 0, NULL, 0, 0, 0, 0, 0, 0, 0, 0, NULL, 1, 0, 0, 0, 0, 0);

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

--
-- Estrutura para tabela `glpi_plugin_moreticket_notificationtickets`
--

CREATE TABLE `glpi_plugin_moreticket_notificationtickets` (
  `id` int(10) UNSIGNED NOT NULL,
  `tickets_id` int(10) UNSIGNED NOT NULL,
  `users_id_lastupdater` int(10) UNSIGNED NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC;

--
-- Despejando dados para a tabela `glpi_plugin_moreticket_notificationtickets`
--

INSERT INTO `glpi_plugin_moreticket_notificationtickets` (`id`, `tickets_id`, `users_id_lastupdater`) VALUES
(1, 2024001343, 87),
(2, 2024001348, 7),
(3, 2024001318, 7),
(4, 2024001320, 7),
(5, 2024001321, 7),
(6, 2024001322, 7),
(7, 2024001323, 7),
(8, 2024001324, 8),
(9, 2024001325, 8),
(10, 2024001326, 8),
(11, 2024001328, 7),
(12, 2024001329, 8),
(13, 2024001330, 8),
(14, 2024001331, 7),
(15, 2024001332, 7),
(16, 2024001334, 7),
(17, 2024001336, 8),
(18, 2024001337, 8),
(19, 2024001338, 7),
(20, 2024001339, 8),
(21, 2024001341, 7),
(22, 2024001313, 8),
(23, 2024001352, 7),
(24, 2024001353, 7),
(25, 2024001354, 7),
(26, 2024001355, 7),
(27, 2024001356, 7),
(28, 2024001357, 7),
(29, 2024001351, 7),
(30, 2024001358, 8),
(31, 2024001359, 8),
(32, 2024001363, 7),
(33, 2024001365, 7),
(34, 2024001345, 7),
(35, 2024001230, 37),
(36, 2024001319, 226),
(37, 2024001174, 37),
(38, 2024001178, 37),
(39, 2024001179, 37),
(40, 2024001184, 37),
(41, 2024001187, 37),
(42, 2024001189, 37),
(43, 2024001195, 37),
(44, 2024001196, 37),
(45, 2024001362, 7),
(46, 2024001360, 87),
(47, 2024001361, 87),
(48, 2024001364, 87),
(49, 2024001366, 7),
(50, 2024001376, 8),
(51, 2024001377, 7),
(52, 2024001367, 7),
(53, 2024001369, 7),
(54, 2024001370, 7),
(55, 2024001368, 7),
(56, 2024001378, 7),
(57, 2024001375, 8),
(58, 2024001374, 7),
(59, 2024001373, 7),
(60, 2024001372, 7),
(61, 2024001371, 7),
(62, 2024001193, 7),
(63, 2024001194, 7),
(64, 2024001381, 8),
(65, 2024001191, 8),
(66, 2024001383, 8),
(67, 2024001382, 8),
(68, 2024001385, 8),
(69, 2024001380, 8),
(70, 2024001386, 7),
(71, 2024001388, 7),
(72, 2024001384, 37),
(73, 2024001387, 37),
(74, 2024001389, 37),
(75, 2024001393, 7),
(76, 2024001392, 7),
(77, 2024001394, 7),
(78, 2024001397, 7),
(79, 2024001379, 8),
(80, 2024001398, 7),
(81, 2024001396, 7),
(82, 2024001395, 8),
(83, 2024001390, 7),
(84, 2024001391, 7),
(85, 2024001406, 7),
(86, 2024001404, 37),
(87, 2024001407, 226),
(88, 2024001408, 7),
(89, 2024001402, 87),
(90, 2024001409, 7),
(91, 2024001401, 87),
(92, 2024001400, 87),
(93, 2024001399, 7),
(94, 2024001411, 8),
(95, 2024001410, 7),
(96, 2024001403, 37),
(97, 2024001423, 7),
(98, 2024001412, 87),
(99, 2024001414, 7),
(100, 2024001417, 8),
(101, 2024001418, 7),
(102, 2024001421, 37),
(103, 2024001415, 37),
(104, 2024001425, 7),
(105, 2024001428, 7),
(106, 2024001427, 7),
(107, 2024001416, 7),
(108, 2024001405, 226),
(109, 2024001306, 37),
(110, 2024001436, 7),
(111, 2024001228, 37),
(112, 2024001186, 37),
(113, 2024001433, 7),
(114, 2024001439, 8),
(115, 2024001438, 8),
(116, 2024001437, 87),
(117, 2024001442, 8),
(118, 2024001441, 7),
(119, 2024001444, 7),
(120, 2024001443, 155),
(121, 2024001440, 7),
(122, 2024001445, 7),
(123, 2024001420, 8),
(124, 2024001419, 7),
(125, 2024001435, 7),
(126, 2024001434, 7),
(127, 2024001424, 7),
(128, 2024001432, 7),
(129, 2024001413, 7),
(130, 2024001426, 7),
(131, 2024001422, 7),
(132, 2024001447, 7),
(133, 2024001446, 7),
(134, 2024001295, 7),
(135, 2024001279, 7),
(136, 2024001449, 37),
(137, 2024001453, 7),
(138, 2024001451, 7),
(139, 2024001448, 8),
(140, 2024001452, 7),
(141, 2024001456, 7),
(142, 2024001457, 7),
(143, 2024001455, 7),
(144, 2024001450, 155),
(145, 2024001461, 8),
(146, 2024001460, 8),
(147, 2024001458, 8),
(148, 2024001464, 7),
(149, 2024001463, 155),
(150, 2024001465, 7),
(151, 2024001462, 7),
(152, 2024001471, 7),
(153, 2024001470, 7),
(154, 2024001469, 8),
(155, 2024001468, 7),
(156, 2024001459, 7),
(157, 2024001472, 8),
(158, 2024001467, 7),
(159, 2024001429, 37),
(160, 2024001430, 37),
(161, 2024001466, 7),
(162, 2024001475, 7),
(163, 2024001474, 7),
(164, 2024001132, 37),
(165, 2024000915, 7),
(166, 2024000919, 7),
(167, 2024001477, 7),
(168, 2024001478, 7),
(169, 2024001481, 97),
(170, 2024001476, 7),
(171, 2024001479, 7),
(172, 2024001480, 7),
(173, 2024001473, 7),
(174, 2024001454, 7),
(175, 2024001482, 8),
(176, 2024001485, 8),
(177, 2024001486, 8),
(178, 2024001487, 7),
(179, 2024001489, 7),
(180, 2024001488, 7),
(181, 2024001490, 7),
(182, 2024001498, 37),
(183, 2024001492, 7),
(184, 2024001491, 7),
(185, 2024001484, 7),
(186, 2024001483, 7),
(187, 2024001493, 7),
(188, 2024001502, 8),
(189, 2024001500, 7),
(190, 2024001501, 8),
(191, 2024001499, 8),
(192, 2024001505, 7),
(193, 2024001504, 7),
(194, 2024001497, 7),
(195, 2024001290, 7),
(196, 2024001273, 7),
(197, 2024001275, 7),
(198, 2024001506, 37),
(199, 2024001503, 8),
(200, 2024001496, 37),
(201, 2024001494, 37),
(202, 2024001495, 37),
(203, 2024001507, 7),
(204, 2024001508, 7),
(205, 2024001509, 7),
(206, 2024001510, 37),
(207, 2024001511, 7),
(208, 2024001515, 8),
(209, 2024001517, 8),
(210, 2024001516, 8),
(211, 2024001512, 8),
(212, 2024001518, 8),
(213, 2024001519, 7),
(214, 2024001520, 7),
(215, 2024001276, 7),
(216, 2024001521, 7),
(217, 2024001513, 8),
(218, 2024001522, 7),
(219, 2024001524, 7),
(220, 2024001523, 7),
(221, 2024001525, 7),
(222, 2024001514, 7),
(223, 2024001527, 8),
(224, 2024001531, 8),
(225, 2024001530, 8),
(226, 2024001526, 8),
(227, 2024001533, 8),
(228, 2024001541, 8),
(229, 2024001542, 8),
(230, 2024001540, 8),
(231, 2024001539, 8),
(232, 2024001529, 37),
(233, 2024001538, 8),
(234, 2025012006, 8),
(235, 2025012005, 8),
(236, 2025012004, 8),
(237, 2025012002, 8),
(238, 2024001534, 8),
(239, 2025012012, 8),
(240, 2025012011, 8),
(241, 2025012010, 8),
(242, 2025012009, 8),
(243, 2024001537, 8),
(244, 2025012007, 8),
(245, 2025012105, 8),
(246, 2025012104, 8),
(247, 2025012101, 8),
(248, 2025012106, 8),
(249, 2025012008, 8),
(250, 2025012112, 8),
(251, 2025012111, 8),
(252, 2025012108, 8),
(253, 2025012107, 8),
(254, 2024001536, 8),
(255, 2025012109, 37),
(256, 2025012001, 37),
(257, 2025012206, 8),
(258, 2025012205, 226),
(259, 2025012203, 226),
(260, 2025012202, 8),
(261, 2025012201, 8),
(262, 2025012013, 8),
(263, 2025012209, 8),
(264, 2025012308, 8),
(265, 2025012309, 8),
(266, 2025012307, 8),
(267, 2025012306, 8),
(268, 2025012305, 8),
(269, 2025012302, 8),
(270, 2025012303, 8),
(271, 2025012313, 8),
(272, 2025012314, 8),
(273, 2025012311, 8),
(274, 2025012310, 7),
(275, 2025012207, 8),
(276, 2025012102, 8),
(277, 2024001532, 8),
(278, 2025012014, 155),
(279, 2025012315, 8),
(280, 2025012103, 8),
(281, 2025012110, 8),
(282, 2024001535, 8),
(283, 2025012210, 8),
(284, 2025012401, 8),
(285, 2025012406, 8),
(286, 2025012501, 7),
(287, 2025012706, 37),
(288, 2025012703, 8),
(289, 2025012702, 8),
(290, 2025012807, 7),
(291, 2025012810, 7),
(292, 2025012808, 8),
(293, 2025012709, 7),
(294, 2025012708, 7),
(295, 2025012707, 7),
(296, 2024001528, 37),
(297, 2025012805, 155),
(298, 2025012803, 8),
(299, 2025012804, 8),
(300, 2025012407, 8),
(301, 2025012403, 8),
(302, 2025012806, 37),
(303, 2025012812, 8),
(304, 2025012901, 8),
(305, 2025012811, 8),
(306, 2025012809, 8),
(307, 2025012802, 8),
(308, 2025012905, 8),
(309, 2025012903, 8),
(310, 2025012907, 8),
(311, 2025012906, 8),
(312, 2025012701, 8),
(313, 2025012301, 8),
(314, 2025012003, 8),
(315, 2025012909, 7),
(316, 2025012904, 7),
(317, 2025012908, 8),
(318, 2025012911, 8),
(319, 2025012902, 8),
(320, 2025012705, 8),
(321, 2025013005, 7),
(322, 2025013004, 7),
(323, 2025013003, 7),
(324, 2025013006, 8),
(325, 2025013010, 8),
(326, 2025013001, 8),
(327, 2025013101, 8),
(328, 2025013107, 7),
(329, 2025013011, 7),
(330, 2025013009, 7),
(331, 2025013008, 7),
(332, 2025013002, 7),
(333, 2024001431, 37),
(334, 2025012211, 37),
(335, 2025012312, 37),
(336, 2025012316, 37),
(337, 2025012317, 37),
(338, 2025012801, 37),
(339, 2025020103, 7),
(340, 2025020102, 7),
(341, 2025020101, 7),
(342, 2025013104, 7),
(343, 2025012304, 7),
(344, 2025013103, 7),
(345, 2025013007, 7),
(346, 2025012910, 37),
(347, 2025020301, 37),
(348, 2025013106, 7),
(349, 2025020303, 7),
(350, 2025013105, 7),
(351, 2025020302, 8),
(352, 2025012704, 7),
(353, 2025020304, 7),
(354, 2025012212, 7),
(355, 2025013102, 7),
(356, 2025012405, 7),
(357, 2025020307, 37),
(358, 2025020306, 7),
(359, 2025012204, 7),
(360, 2025020311, 7),
(361, 2025020310, 7),
(362, 2025020309, 87),
(363, 2025020308, 7),
(364, 2025012402, 7),
(365, 2025020305, 7),
(366, 2025012404, 7),
(367, 2025020401, 7),
(368, 2025020402, 37),
(369, 2025020405, 7),
(370, 2025020403, 7),
(371, 2025020408, 7),
(372, 2025020409, 8),
(373, 2025020410, 7),
(374, 2025020412, 7),
(375, 2025020413, 7),
(376, 2025020414, 7),
(377, 2025020411, 7),
(378, 2025020406, 7),
(379, 2025020404, 7),
(380, 2025020415, 7),
(381, 2025020417, 7),
(382, 2025020407, 7),
(383, 2025020416, 7),
(384, 2025020503, 7),
(385, 2025020501, 7),
(386, 2025020502, 7),
(387, 2025020504, 7),
(388, 2025020505, 8),
(389, 2025020506, 7),
(390, 2025020507, 7),
(391, 2025020508, 8),
(392, 2025020601, 7),
(393, 2025020602, 7),
(394, 2025020607, 7),
(395, 2025020606, 7),
(396, 2025020612, 7),
(397, 2025020610, 7),
(398, 2025020613, 7),
(399, 2025020614, 7),
(400, 2025020605, 7),
(401, 2025020603, 7),
(402, 2025020609, 7),
(403, 2025020604, 7),
(404, 2025020611, 7),
(405, 2025020615, 7),
(406, 2025020702, 7),
(407, 2025020701, 87),
(408, 2025020703, 7),
(409, 2025020704, 7),
(410, 2025020705, 7),
(411, 2025020706, 7),
(412, 2025020708, 7),
(413, 2025020707, 7),
(414, 2025020709, 7),
(415, 2025020608, 7),
(416, 2025021001, 7),
(417, 2025021002, 8),
(418, 2025021003, 8),
(419, 2025021005, 7),
(420, 2025021007, 7),
(421, 2025021008, 7),
(422, 2025021004, 8),
(423, 2025021006, 8),
(424, 2025021009, 7),
(425, 2025021102, 7),
(426, 2025021103, 7),
(427, 2025021101, 7),
(428, 2025021104, 7),
(429, 2025021105, 7),
(430, 2025021106, 8),
(431, 2025021201, 7),
(432, 2025021205, 7),
(433, 2025021204, 7),
(434, 2025021206, 7),
(435, 2025021203, 7),
(436, 2025021207, 7),
(437, 2025021208, 7),
(438, 2025021202, 7),
(439, 2025021305, 7),
(440, 2025021301, 7),
(441, 2025021304, 8),
(442, 2025021307, 7),
(443, 2025021306, 7),
(444, 2025021315, 7),
(445, 2025021313, 7),
(446, 2025021312, 7),
(447, 2025021311, 7),
(448, 2025021310, 7),
(449, 2025021303, 7),
(450, 2025021308, 7),
(451, 2025021302, 7),
(452, 2025021319, 7),
(453, 2025021314, 7),
(454, 2025021318, 7),
(455, 2025021317, 7),
(456, 2025021316, 87),
(457, 2025021309, 8),
(458, 2025021401, 7),
(459, 2025021402, 7),
(460, 2025021403, 7),
(461, 2025021404, 7),
(462, 2025021320, 7),
(463, 2025021502, 7),
(464, 2025021501, 7),
(465, 2025021718, 37),
(466, 2025021701, 7),
(467, 2025021702, 7),
(468, 2025021703, 7),
(469, 2025021711, 7),
(470, 2025021720, 37),
(471, 2025021704, 7),
(472, 2025021719, 7),
(473, 2025021722, 7),
(474, 2025021724, 7),
(475, 2025021723, 37),
(476, 2025021725, 37),
(477, 2025021726, 7),
(478, 2025021714, 37),
(479, 2025021705, 37),
(480, 2025021804, 7),
(481, 2025021806, 7),
(482, 2025021805, 7),
(483, 2025021807, 7),
(484, 2025021808, 7),
(485, 2025021712, 37),
(486, 2025021716, 37),
(487, 2025012208, 37),
(488, 2025021802, 37),
(489, 2025021809, 7),
(490, 2025021810, 7),
(491, 2025021811, 7),
(492, 2025021901, 7),
(493, 2025021721, 7),
(494, 2025021903, 7),
(495, 2025021904, 37),
(496, 2025021902, 7),
(497, 2025021906, 7),
(498, 2025021905, 7),
(499, 2025021907, 7),
(500, 2025021908, 7),
(501, 2025021909, 7),
(502, 2025022001, 7),
(503, 2025022004, 7),
(504, 2025022007, 7),
(505, 2025022006, 7),
(506, 2025022005, 7),
(507, 2025022009, 7),
(508, 2025022003, 7),
(509, 2025022010, 37),
(510, 2025022008, 7),
(511, 2025022002, 7),
(512, 2025022101, 7),
(513, 2025022104, 7),
(514, 2025022103, 7),
(515, 2025022105, 7),
(516, 2025022106, 7),
(517, 2025022108, 7),
(518, 2025022102, 7),
(519, 2025022107, 7),
(520, 2025022109, 7),
(521, 2025022111, 7),
(522, 2025022110, 7),
(523, 2025022112, 7),
(524, 2025022114, 7),
(525, 2025022113, 7),
(526, 2025022201, 7),
(527, 2025021706, 37),
(528, 2025022403, 7),
(529, 2025022406, 7),
(530, 2025022402, 7),
(531, 2025021710, 37),
(532, 2025022408, 7),
(533, 2025022405, 7),
(534, 2025022407, 7),
(535, 2025022401, 7),
(536, 2025022410, 7),
(537, 2025022411, 7),
(538, 2025022413, 7),
(539, 2025022412, 7),
(540, 2025022415, 7),
(541, 2025022409, 7),
(542, 2025022414, 7),
(543, 2025022418, 7),
(544, 2025022417, 7),
(545, 2025022416, 7),
(546, 2025022501, 7),
(547, 2025022504, 7),
(548, 2025022506, 8),
(549, 2025022509, 8),
(550, 2025022510, 8),
(551, 2025022508, 7),
(552, 2025022507, 7),
(553, 2025022505, 7),
(554, 2025022513, 7),
(555, 2025022511, 7),
(556, 2025022514, 37),
(557, 2025022512, 7),
(558, 2025022515, 7),
(559, 2025021803, 37),
(560, 2025022516, 7),
(561, 2025022518, 7),
(562, 2025022517, 7),
(563, 2025022604, 7),
(564, 2025022601, 7),
(565, 2025022605, 7),
(566, 2025022606, 7),
(567, 2025022608, 8),
(568, 2025022702, 7),
(569, 2025022609, 7),
(570, 2025022701, 7),
(571, 2025022704, 7),
(572, 2025022610, 7),
(573, 2025022602, 7),
(574, 2025022705, 8),
(575, 2025022709, 87),
(576, 2025022708, 87),
(577, 2025022706, 7),
(578, 2025022603, 7),
(579, 2025022803, 7),
(580, 2025022801, 7),
(581, 2025022802, 8),
(582, 2025022804, 7),
(583, 2025022703, 7),
(584, 2025022707, 7),
(585, 2025022805, 7),
(586, 2025030101, 7),
(587, 2025022607, 37),
(588, 2025030301, 7),
(589, 2025030302, 7),
(590, 2025030303, 7),
(591, 2025030304, 7),
(592, 2025030503, 7),
(593, 2025030504, 7),
(594, 2025030502, 7),
(595, 2025030501, 7),
(596, 2025030507, 7),
(597, 2025030508, 7),
(598, 2025030506, 7),
(599, 2025030505, 7),
(600, 2025030509, 7);

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

--
-- Estrutura para tabela `glpi_plugin_moreticket_urgencytickets`
--

CREATE TABLE `glpi_plugin_moreticket_urgencytickets` (
  `id` int(10) UNSIGNED NOT NULL,
  `tickets_id` int(10) UNSIGNED NOT NULL,
  `justification` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC;

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

--
-- Estrutura para tabela `glpi_plugin_moreticket_waitingtickets`
--

CREATE TABLE `glpi_plugin_moreticket_waitingtickets` (
  `id` int(10) UNSIGNED NOT NULL,
  `tickets_id` int(10) UNSIGNED NOT NULL,
  `reason` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `date_suspension` timestamp NULL DEFAULT NULL,
  `date_report` timestamp NULL DEFAULT NULL,
  `date_end_suspension` timestamp NULL DEFAULT NULL,
  `plugin_moreticket_waitingtypes_id` int(10) UNSIGNED DEFAULT NULL,
  `status` int(10) UNSIGNED NOT NULL DEFAULT '2'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC;

--
-- Despejando dados para a tabela `glpi_plugin_moreticket_waitingtickets`
--

INSERT INTO `glpi_plugin_moreticket_waitingtickets` (`id`, `tickets_id`, `reason`, `date_suspension`, `date_report`, `date_end_suspension`, `plugin_moreticket_waitingtypes_id`, `status`) VALUES
(1, 2024001295, 'chamado externo ND Engenharia', '2025-01-07 18:18:10', '2025-01-14 15:00:00', '2025-02-10 15:13:22', 0, 2),
(2, 2025020704, 'análise aprofundada', '2025-02-07 20:09:24', '2025-02-14 15:00:00', NULL, 0, 2),
(3, 2025021314, 'análise aprofundada', '2025-02-13 19:31:20', '2025-02-28 19:06:44', '2025-03-03 15:26:55', 0, 1),
(4, 2025021501, 'análise aprofundada', '2025-02-15 13:53:11', '2025-02-21 15:00:00', '2025-03-03 15:25:41', 0, 1);

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

--
-- Estrutura para tabela `glpi_plugin_moreticket_waitingtypes`
--

CREATE TABLE `glpi_plugin_moreticket_waitingtypes` (
  `id` int(10) UNSIGNED NOT NULL,
  `name` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `comment` text COLLATE utf8mb4_unicode_ci,
  `plugin_moreticket_waitingtypes_id` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `completename` text COLLATE utf8mb4_unicode_ci,
  `level` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `ancestors_cache` longtext COLLATE utf8mb4_unicode_ci,
  `sons_cache` longtext COLLATE utf8mb4_unicode_ci
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC;

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

--
-- Estrutura para tabela `glpi_plugin_mreporting_configs`
--

CREATE TABLE `glpi_plugin_mreporting_configs` (
  `id` int(10) UNSIGNED NOT NULL,
  `name` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `classname` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `is_active` tinyint(4) NOT NULL DEFAULT '0',
  `is_notified` tinyint(4) NOT NULL DEFAULT '1',
  `show_graph` tinyint(4) NOT NULL DEFAULT '0',
  `show_area` tinyint(4) NOT NULL DEFAULT '0',
  `spline` tinyint(4) NOT NULL DEFAULT '0',
  `show_label` varchar(10) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `flip_data` tinyint(4) NOT NULL DEFAULT '0',
  `unit` varchar(10) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `default_delay` varchar(10) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `condition` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `graphtype` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT 'SVG'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC;

--
-- Despejando dados para a tabela `glpi_plugin_mreporting_configs`
--

INSERT INTO `glpi_plugin_mreporting_configs` (`id`, `name`, `classname`, `is_active`, `is_notified`, `show_graph`, `show_area`, `spline`, `show_label`, `flip_data`, `unit`, `default_delay`, `condition`, `graphtype`) VALUES
(1, 'reportPieTag', 'PluginMreportingTag', 1, 1, 1, 0, 0, 'hover', 0, NULL, '30', NULL, 'SVG'),
(2, 'reportPieTagOnTicket', 'PluginMreportingTag', 1, 1, 1, 0, 0, 'hover', 0, NULL, '30', NULL, 'SVG'),
(3, 'reportPieComputersByFabricant', 'PluginMreportingInventory', 1, 1, 1, 0, 0, 'hover', 0, NULL, '30', NULL, 'SVG'),
(4, 'reportHbarComputersByFabricant', 'PluginMreportingInventory', 1, 1, 1, 0, 0, 'hover', 0, NULL, '30', NULL, 'SVG'),
(5, 'reportPieComputersByType', 'PluginMreportingInventory', 1, 1, 1, 0, 0, 'hover', 0, NULL, '30', NULL, 'SVG'),
(6, 'reportHbarComputersByType', 'PluginMreportingInventory', 1, 1, 1, 0, 0, 'hover', 0, NULL, '30', NULL, 'SVG'),
(7, 'reportPieComputersByAge', 'PluginMreportingInventory', 1, 1, 1, 0, 0, 'hover', 0, NULL, '30', NULL, 'SVG'),
(8, 'reportHbarComputersByAge', 'PluginMreportingInventory', 1, 1, 1, 0, 0, 'hover', 0, NULL, '30', NULL, 'SVG'),
(9, 'reportPieComputersByOS', 'PluginMreportingInventory', 1, 1, 1, 0, 0, 'hover', 0, NULL, '30', NULL, 'SVG'),
(10, 'reportHbarComputersByOS', 'PluginMreportingInventory', 1, 1, 1, 0, 0, 'hover', 0, NULL, '30', NULL, 'SVG'),
(11, 'reportHbarWindows', 'PluginMreportingInventory', 1, 1, 1, 0, 0, 'hover', 0, NULL, '30', NULL, 'SVG'),
(12, 'reportHbarLinux', 'PluginMreportingInventory', 1, 1, 1, 0, 0, 'hover', 0, NULL, '30', NULL, 'SVG'),
(13, 'reportHbarLinuxDistro', 'PluginMreportingInventory', 1, 1, 1, 0, 0, 'hover', 0, NULL, '30', NULL, 'SVG'),
(14, 'reportHbarMac', 'PluginMreportingInventory', 1, 1, 1, 0, 0, 'hover', 0, NULL, '30', NULL, 'SVG'),
(15, 'reportHbarMacFamily', 'PluginMreportingInventory', 1, 1, 1, 0, 0, 'hover', 0, NULL, '30', NULL, 'SVG'),
(16, 'reportPieFusionInventory', 'PluginMreportingInventory', 1, 1, 1, 0, 0, 'hover', 0, NULL, '30', NULL, 'SVG'),
(17, 'reportHbarFusionInventory', 'PluginMreportingInventory', 1, 1, 1, 0, 0, 'hover', 0, NULL, '30', NULL, 'SVG'),
(18, 'reportHbarMonitors', 'PluginMreportingInventory', 1, 1, 1, 0, 0, 'hover', 0, NULL, '30', NULL, 'SVG'),
(19, 'reportHbarComputersByStatus', 'PluginMreportingInventory', 1, 1, 1, 0, 0, 'hover', 0, NULL, '30', NULL, 'SVG'),
(20, 'reportHbarPrintersByStatus', 'PluginMreportingInventory', 1, 1, 1, 0, 0, 'hover', 0, NULL, '30', NULL, 'SVG'),
(21, 'reportHbarComputersByEntity', 'PluginMreportingInventory', 1, 1, 1, 0, 0, 'hover', 0, NULL, '30', NULL, 'SVG'),
(22, 'reportGlineBacklogs', 'PluginMreportingHelpdeskplus', 1, 1, 1, 0, 1, 'hover', 0, NULL, '365', NULL, 'SVG'),
(23, 'reportVstackbarLifetime', 'PluginMreportingHelpdeskplus', 1, 1, 1, 0, 1, 'hover', 0, NULL, '365', NULL, 'SVG'),
(24, 'reportVstackbarTicketsgroups', 'PluginMreportingHelpdeskplus', 1, 1, 1, 0, 1, 'hover', 0, NULL, '365', NULL, 'SVG'),
(25, 'reportVstackbarTicketstech', 'PluginMreportingHelpdeskplus', 1, 1, 1, 0, 1, 'hover', 0, NULL, '365', NULL, 'SVG'),
(26, 'reportHbarTopcategory', 'PluginMreportingHelpdeskplus', 1, 1, 1, 0, 0, 'hover', 0, NULL, '30', NULL, 'SVG'),
(27, 'reportHbarTopapplicant', 'PluginMreportingHelpdeskplus', 1, 1, 1, 0, 0, 'hover', 0, NULL, '30', NULL, 'SVG'),
(28, 'reportVstackbarGroupChange', 'PluginMreportingHelpdeskplus', 1, 1, 1, 0, 0, 'hover', 0, NULL, '365', NULL, 'SVG'),
(29, 'reportLineActiontimeVsSolvedelay', 'PluginMreportingHelpdeskplus', 1, 1, 1, 0, 1, 'hover', 0, NULL, '365', NULL, 'SVG'),
(30, 'reportGlineNbTicketBySla', 'PluginMreportingHelpdeskplus', 1, 1, 1, 0, 1, 'hover', 0, NULL, '365', NULL, 'SVG'),
(31, 'reportHgbarRespectedSlasByTopCategory', 'PluginMreportingHelpdeskplus', 1, 1, 1, 0, 0, 'hover', 0, NULL, '365', NULL, 'SVG'),
(32, 'reportHgbarRespectedSlasByTechnician', 'PluginMreportingHelpdeskplus', 1, 1, 1, 0, 0, 'hover', 0, NULL, '365', NULL, 'SVG'),
(33, 'reportVstackbarRespectedSlasByGroup', 'PluginMreportingHelpdeskplus', 1, 1, 1, 0, 0, 'hover', 0, NULL, '365', NULL, 'SVG'),
(34, 'reportVstackbarNbTicketBySla', 'PluginMreportingHelpdeskplus', 1, 1, 1, 0, 0, 'hover', 0, NULL, '365', NULL, 'SVG'),
(35, 'reportHbarLogs', 'PluginMreportingOther', 1, 1, 1, 0, 0, 'hover', 0, NULL, '30', NULL, 'SVG'),
(36, 'reportPieTicketNumberByEntity', 'PluginMreportingHelpdesk', 1, 1, 1, 0, 0, 'hover', 0, NULL, '30', NULL, 'SVG'),
(37, 'reportHbarTicketNumberByEntity', 'PluginMreportingHelpdesk', 1, 1, 1, 0, 0, 'hover', 0, NULL, '30', NULL, 'SVG'),
(38, 'reportHgbarTicketNumberByCatAndEntity', 'PluginMreportingHelpdesk', 1, 1, 1, 0, 0, 'hover', 0, NULL, '365', NULL, 'SVG'),
(39, 'reportPieTicketOpenedAndClosed', 'PluginMreportingHelpdesk', 1, 1, 1, 0, 0, 'hover', 0, NULL, '30', NULL, 'SVG'),
(40, 'reportPieTicketOpenedbyStatus', 'PluginMreportingHelpdesk', 1, 1, 1, 0, 0, 'hover', 0, NULL, '30', NULL, 'SVG'),
(41, 'reportPieTopTenAuthor', 'PluginMreportingHelpdesk', 1, 1, 1, 0, 0, 'hover', 0, NULL, '30', NULL, 'SVG'),
(42, 'reportHgbarOpenTicketNumberByCategoryAndByType', 'PluginMreportingHelpdesk', 1, 1, 1, 0, 0, 'hover', 0, NULL, '365', NULL, 'SVG'),
(43, 'reportHgbarCloseTicketNumberByCategoryAndByType', 'PluginMreportingHelpdesk', 1, 1, 1, 0, 0, 'hover', 0, NULL, '365', NULL, 'SVG'),
(44, 'reportHgbarTicketNumberByService', 'PluginMreportingHelpdesk', 1, 1, 1, 0, 0, 'hover', 0, NULL, '365', NULL, 'SVG'),
(45, 'reportHgbarOpenedTicketNumberByCategory', 'PluginMreportingHelpdesk', 1, 1, 1, 0, 0, 'hover', 0, NULL, '365', NULL, 'SVG'),
(46, 'reportLineNbTicket', 'PluginMreportingHelpdesk', 1, 1, 1, 0, 1, 'hover', 0, NULL, '365', NULL, 'SVG'),
(47, 'reportAreaNbTicket', 'PluginMreportingHelpdesk', 1, 1, 1, 1, 1, 'hover', 0, NULL, '365', NULL, 'SVG'),
(48, 'reportVstackbarNbTicket', 'PluginMreportingHelpdesk', 1, 1, 1, 1, 1, 'hover', 0, NULL, '365', NULL, 'SVG'),
(49, 'reportGareaNbTicket', 'PluginMreportingHelpdesk', 1, 1, 1, 1, 1, 'hover', 0, NULL, '365', NULL, 'SVG'),
(50, 'reportGlineNbTicket', 'PluginMreportingHelpdesk', 1, 1, 1, 0, 1, 'hover', 0, NULL, '365', NULL, 'SVG'),
(51, 'reportSunburstTicketByCategories', 'PluginMreportingHelpdesk', 1, 1, 1, 0, 0, 'hover', 0, NULL, '30', NULL, 'SVG'),
(52, 'reportVstackbarTicketStatusByTechnician', 'PluginMreportingHelpdesk', 1, 1, 1, 0, 0, 'hover', 0, NULL, '365', NULL, 'SVG'),
(53, 'reportHbarTicketNumberByLocation', 'PluginMreportingHelpdesk', 1, 1, 1, 0, 0, 'hover', 0, NULL, '30', NULL, 'SVG');

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

--
-- Estrutura para tabela `glpi_plugin_mreporting_dashboards`
--

CREATE TABLE `glpi_plugin_mreporting_dashboards` (
  `id` int(10) UNSIGNED NOT NULL,
  `users_id` int(10) UNSIGNED NOT NULL,
  `reports_id` int(10) UNSIGNED NOT NULL,
  `configuration` varchar(500) COLLATE utf8mb4_unicode_ci DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC;

--
-- Despejando dados para a tabela `glpi_plugin_mreporting_dashboards`
--

INSERT INTO `glpi_plugin_mreporting_dashboards` (`id`, `users_id`, `reports_id`, `configuration`) VALUES
(1, 7, 40, NULL),
(3, 8, 42, NULL),
(4, 7, 28, NULL),
(5, 8, 40, NULL),
(6, 8, 53, NULL),
(7, 8, 23, NULL);

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

--
-- Estrutura para tabela `glpi_plugin_mreporting_notifications`
--

CREATE TABLE `glpi_plugin_mreporting_notifications` (
  `id` int(10) UNSIGNED NOT NULL,
  `entities_id` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `is_recursive` tinyint(4) NOT NULL DEFAULT '0',
  `name` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `notepad` longtext COLLATE utf8mb4_unicode_ci,
  `date_envoie` date DEFAULT NULL,
  `notice` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `alert` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `comment` text COLLATE utf8mb4_unicode_ci,
  `date_mod` timestamp NULL DEFAULT NULL,
  `is_deleted` tinyint(4) NOT NULL DEFAULT '0'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC;

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

--
-- Estrutura para tabela `glpi_plugin_mreporting_preferences`
--

CREATE TABLE `glpi_plugin_mreporting_preferences` (
  `id` int(10) UNSIGNED NOT NULL,
  `users_id` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `template` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `selectors` text COLLATE utf8mb4_unicode_ci
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC;

--
-- Despejando dados para a tabela `glpi_plugin_mreporting_preferences`
--

INSERT INTO `glpi_plugin_mreporting_preferences` (`id`, `users_id`, `template`, `selectors`) VALUES
(1, 10, '', NULL),
(2, 97, '', NULL),
(3, 7, '', '{\"date1PluginMreportingHelpdeskplusreportVstackbarTicketstech\":\"2023-01-01\",\"date2PluginMreportingHelpdeskplusreportVstackbarTicketstech\":\"2024-01-17\",\"status_1\":\"1\",\"status_2\":\"1\",\"status_3\":\"1\",\"status_4\":\"1\",\"status_5\":\"0\",\"status_6\":\"0\",\"type\":\"1\",\"itilcategories_id\":\"0\",\"reportVstackbarTicketstech\":{\"date1PluginMreportingHelpdeskplusreportVstackbarTicketstech\":\"2023-01-01\",\"date2PluginMreportingHelpdeskplusreportVstackbarTicketstech\":\"2024-01-17\",\"status_1\":\"1\",\"status_2\":\"1\",\"status_3\":\"1\",\"status_4\":\"1\",\"status_5\":\"1\",\"status_6\":\"1\",\"type\":\"1\",\"itilcategories_id\":\"0\"},\"reportPieTicketOpenedbyStatus\":{\"date1PluginMreportingHelpdeskreportPieTicketOpenedbyStatus\":\"2024-07-01\",\"date2PluginMreportingHelpdeskreportPieTicketOpenedbyStatus\":\"2024-11-29\",\"status_1\":\"1\",\"status_2\":\"1\",\"status_3\":\"1\",\"status_4\":\"1\",\"status_5\":\"1\",\"status_6\":\"1\",\"saveConfig\":\"Enviar\"},\"reportHgbarTicketNumberByCatAndEntity\":{\"date1PluginMreportingHelpdeskreportHgbarTicketNumberByCatAndEntity\":\"2024-01-01\",\"date2PluginMreportingHelpdeskreportHgbarTicketNumberByCatAndEntity\":\"2024-01-31\"},\"reportHbarTicketNumberByLocation\":{\"date1PluginMreportingHelpdeskreportHbarTicketNumberByLocation\":\"2024-01-01\",\"date2PluginMreportingHelpdeskreportHbarTicketNumberByLocation\":\"2024-01-31\",\"glpilist_limit\":\"3000\"},\"reportPieTopTenAuthor\":{\"date1PluginMreportingHelpdeskreportPieTopTenAuthor\":\"2024-01-01\",\"date2PluginMreportingHelpdeskreportPieTopTenAuthor\":\"2024-01-31\"},\"reportVstackbarTicketsgroups\":{\"date1PluginMreportingHelpdeskplusreportVstackbarTicketsgroups\":\"2023-12-17\",\"date2PluginMreportingHelpdeskplusreportVstackbarTicketsgroups\":\"2024-12-16\",\"status_1\":\"1\",\"status_2\":\"1\",\"status_3\":\"1\",\"status_4\":\"1\",\"status_5\":\"1\",\"status_6\":\"1\",\"groups_assign_id\":[\"12\",\"13\",\"1\"],\"type\":\"1\",\"itilcategories_id\":\"0\"},\"reportVstackbarLifetime\":{\"date1PluginMreportingHelpdeskplusreportVstackbarLifetime\":\"2024-01-01\",\"date2PluginMreportingHelpdeskplusreportVstackbarLifetime\":\"2024-12-31\",\"period\":\"month\",\"status_1\":\"1\",\"status_2\":\"1\",\"status_3\":\"1\",\"status_4\":\"1\",\"status_5\":\"1\",\"status_6\":\"1\",\"users_assign_id\":\"0\",\"type\":\"1\",\"itilcategories_id\":\"0\"},\"reportPieTicketNumberByEntity\":{\"date1PluginMreportingHelpdeskreportPieTicketNumberByEntity\":\"2024-01-01\",\"date2PluginMreportingHelpdeskreportPieTicketNumberByEntity\":\"2024-12-31\"}}'),
(4, 37, '', '{\"date1PluginMreportingHelpdeskplusreportVstackbarTicketstech\":\"2023-01-26\",\"date2PluginMreportingHelpdeskplusreportVstackbarTicketstech\":\"2024-01-26\",\"status_1\":\"1\",\"status_2\":\"1\",\"status_3\":\"1\",\"status_4\":\"1\",\"status_5\":\"1\",\"status_6\":\"1\",\"type\":\"-1\",\"itilcategories_id\":\"0\",\"reportVstackbarTicketstech\":{\"date1PluginMreportingHelpdeskplusreportVstackbarTicketstech\":\"2024-01-01\",\"date2PluginMreportingHelpdeskplusreportVstackbarTicketstech\":\"2025-02-16\",\"status_1\":\"0\",\"status_2\":\"0\",\"status_3\":\"0\",\"status_4\":\"0\",\"status_5\":\"1\",\"status_6\":\"1\",\"type\":\"2\",\"itilcategories_id\":\"8\"},\"reportVstackbarRespectedSlasByGroup\":{\"date1PluginMreportingHelpdeskplusreportVstackbarRespectedSlasByGroup\":\"2024-02-18\",\"date2PluginMreportingHelpdeskplusreportVstackbarRespectedSlasByGroup\":\"2025-02-17\"}}'),
(5, 106, '', NULL),
(6, 183, '', NULL),
(7, 38, 'template.odt', NULL),
(8, 157, '', NULL),
(9, 17, '', NULL),
(10, 24, '', '{\"date1PluginMreportingHelpdeskplusreportVstackbarTicketstech\":\"2024-01-01\",\"date2PluginMreportingHelpdeskplusreportVstackbarTicketstech\":\"2024-12-31\",\"status_1\":\"1\",\"status_2\":\"1\",\"status_3\":\"1\",\"status_4\":\"1\",\"status_5\":\"0\",\"status_6\":\"0\",\"type\":\"1\",\"itilcategories_id\":\"0\",\"reportVstackbarTicketstech\":{\"date1PluginMreportingHelpdeskplusreportVstackbarTicketstech\":\"2024-01-01\",\"date2PluginMreportingHelpdeskplusreportVstackbarTicketstech\":\"2024-12-31\",\"status_1\":\"1\",\"status_2\":\"1\",\"status_3\":\"1\",\"status_4\":\"1\",\"status_5\":\"0\",\"status_6\":\"0\",\"type\":\"1\",\"itilcategories_id\":\"8\"}}'),
(11, 198, '', NULL);

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

--
-- Estrutura para tabela `glpi_plugin_mreporting_profiles`
--

CREATE TABLE `glpi_plugin_mreporting_profiles` (
  `id` int(10) UNSIGNED NOT NULL,
  `profiles_id` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `reports` int(11) NOT NULL DEFAULT '0',
  `right` char(1) COLLATE utf8_unicode_ci DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Despejando dados para a tabela `glpi_plugin_mreporting_profiles`
--

INSERT INTO `glpi_plugin_mreporting_profiles` (`id`, `profiles_id`, `reports`, `right`) VALUES
(1, 2, 1, NULL),
(2, 2, 2, NULL),
(3, 2, 3, NULL),
(4, 2, 4, NULL),
(5, 2, 5, NULL),
(6, 2, 6, NULL),
(7, 2, 7, NULL),
(8, 2, 8, NULL),
(9, 2, 9, NULL),
(10, 2, 10, NULL),
(11, 2, 11, NULL),
(12, 2, 12, NULL),
(13, 2, 13, NULL),
(14, 2, 14, NULL),
(15, 2, 15, NULL),
(16, 2, 16, NULL),
(17, 2, 17, NULL),
(18, 2, 18, NULL),
(19, 2, 19, NULL),
(20, 2, 20, NULL),
(21, 2, 21, NULL),
(22, 2, 22, NULL),
(23, 2, 23, NULL),
(24, 2, 24, NULL),
(25, 2, 25, NULL),
(26, 2, 26, NULL),
(27, 2, 27, NULL),
(28, 2, 28, NULL),
(29, 2, 29, NULL),
(30, 2, 30, NULL),
(31, 2, 31, NULL),
(32, 2, 32, NULL),
(33, 2, 33, NULL),
(34, 2, 34, NULL),
(35, 2, 35, NULL),
(36, 2, 36, NULL),
(37, 2, 37, NULL),
(38, 2, 38, NULL),
(39, 2, 39, NULL),
(40, 2, 40, NULL),
(41, 2, 41, NULL),
(42, 2, 42, NULL),
(43, 2, 43, NULL),
(44, 2, 44, NULL),
(45, 2, 45, NULL),
(46, 2, 46, NULL),
(47, 2, 47, NULL),
(48, 2, 48, NULL),
(49, 2, 49, NULL),
(50, 2, 50, NULL),
(51, 2, 51, NULL),
(52, 2, 52, NULL),
(53, 2, 53, NULL),
(54, 3, 1, NULL),
(55, 3, 2, NULL),
(56, 3, 3, NULL),
(57, 3, 4, NULL),
(58, 3, 5, NULL),
(59, 3, 6, NULL),
(60, 3, 7, NULL),
(61, 3, 8, NULL),
(62, 3, 9, NULL),
(63, 3, 10, NULL),
(64, 3, 11, NULL),
(65, 3, 12, NULL),
(66, 3, 13, NULL),
(67, 3, 14, NULL),
(68, 3, 15, NULL),
(69, 3, 16, NULL),
(70, 3, 17, NULL),
(71, 3, 18, NULL),
(72, 3, 19, NULL),
(73, 3, 20, NULL),
(74, 3, 21, NULL),
(75, 3, 22, NULL),
(76, 3, 23, NULL),
(77, 3, 24, NULL),
(78, 3, 25, NULL),
(79, 3, 26, NULL),
(80, 3, 27, NULL),
(81, 3, 28, NULL),
(82, 3, 29, NULL),
(83, 3, 30, NULL),
(84, 3, 31, NULL),
(85, 3, 32, NULL),
(86, 3, 33, NULL),
(87, 3, 34, NULL),
(88, 3, 35, NULL),
(89, 3, 36, NULL),
(90, 3, 37, NULL),
(91, 3, 38, NULL),
(92, 3, 39, NULL),
(93, 3, 40, NULL),
(94, 3, 41, NULL),
(95, 3, 42, NULL),
(96, 3, 43, NULL),
(97, 3, 44, NULL),
(98, 3, 45, NULL),
(99, 3, 46, NULL),
(100, 3, 47, NULL),
(101, 3, 48, NULL),
(102, 3, 49, NULL),
(103, 3, 50, NULL),
(104, 3, 51, NULL),
(105, 3, 52, NULL),
(106, 3, 53, NULL),
(160, 5, 1, NULL),
(161, 5, 2, NULL),
(162, 5, 3, NULL),
(163, 5, 4, NULL),
(164, 5, 5, NULL),
(165, 5, 6, NULL),
(166, 5, 7, NULL),
(167, 5, 8, NULL),
(168, 5, 9, NULL),
(169, 5, 10, NULL),
(170, 5, 11, NULL),
(171, 5, 12, NULL),
(172, 5, 13, NULL),
(173, 5, 14, NULL),
(174, 5, 15, NULL),
(175, 5, 16, NULL),
(176, 5, 17, NULL),
(177, 5, 18, NULL),
(178, 5, 19, NULL),
(179, 5, 20, NULL),
(180, 5, 21, NULL),
(181, 5, 22, NULL),
(182, 5, 23, NULL),
(183, 5, 24, NULL),
(184, 5, 25, NULL),
(185, 5, 26, NULL),
(186, 5, 27, NULL),
(187, 5, 28, NULL),
(188, 5, 29, NULL),
(189, 5, 30, NULL),
(190, 5, 31, NULL),
(191, 5, 32, NULL),
(192, 5, 33, NULL),
(193, 5, 34, NULL),
(194, 5, 35, NULL),
(195, 5, 36, NULL),
(196, 5, 37, NULL),
(197, 5, 38, NULL),
(198, 5, 39, NULL),
(199, 5, 40, NULL),
(200, 5, 41, NULL),
(201, 5, 42, NULL),
(202, 5, 43, NULL),
(203, 5, 44, NULL),
(204, 5, 45, NULL),
(205, 5, 46, NULL),
(206, 5, 47, NULL),
(207, 5, 48, NULL),
(208, 5, 49, NULL),
(209, 5, 50, NULL),
(210, 5, 51, NULL),
(211, 5, 52, NULL),
(212, 5, 53, NULL),
(213, 6, 1, NULL),
(214, 6, 2, NULL),
(215, 6, 3, NULL),
(216, 6, 4, NULL),
(217, 6, 5, NULL),
(218, 6, 6, NULL),
(219, 6, 7, NULL),
(220, 6, 8, NULL),
(221, 6, 9, NULL),
(222, 6, 10, NULL),
(223, 6, 11, NULL),
(224, 6, 12, NULL),
(225, 6, 13, NULL),
(226, 6, 14, NULL),
(227, 6, 15, NULL),
(228, 6, 16, NULL),
(229, 6, 17, NULL),
(230, 6, 18, NULL),
(231, 6, 19, NULL),
(232, 6, 20, NULL),
(233, 6, 21, NULL),
(234, 6, 22, NULL),
(235, 6, 23, NULL),
(236, 6, 24, NULL),
(237, 6, 25, NULL),
(238, 6, 26, NULL),
(239, 6, 27, NULL),
(240, 6, 28, NULL),
(241, 6, 29, NULL),
(242, 6, 30, NULL),
(243, 6, 31, NULL),
(244, 6, 32, NULL),
(245, 6, 33, NULL),
(246, 6, 34, NULL),
(247, 6, 35, NULL),
(248, 6, 36, NULL),
(249, 6, 37, NULL),
(250, 6, 38, NULL),
(251, 6, 39, NULL),
(252, 6, 40, NULL),
(253, 6, 41, NULL),
(254, 6, 42, NULL),
(255, 6, 43, NULL),
(256, 6, 44, NULL),
(257, 6, 45, NULL),
(258, 6, 46, NULL),
(259, 6, 47, NULL),
(260, 6, 48, NULL),
(261, 6, 49, NULL),
(262, 6, 50, NULL),
(263, 6, 51, NULL),
(264, 6, 52, NULL),
(265, 6, 53, NULL),
(266, 7, 1, NULL),
(267, 7, 2, NULL),
(268, 7, 3, NULL),
(269, 7, 4, NULL),
(270, 7, 5, NULL),
(271, 7, 6, NULL),
(272, 7, 7, NULL),
(273, 7, 8, NULL),
(274, 7, 9, NULL),
(275, 7, 10, NULL),
(276, 7, 11, NULL),
(277, 7, 12, NULL),
(278, 7, 13, NULL),
(279, 7, 14, NULL),
(280, 7, 15, NULL),
(281, 7, 16, NULL),
(282, 7, 17, NULL),
(283, 7, 18, NULL),
(284, 7, 19, NULL),
(285, 7, 20, NULL),
(286, 7, 21, NULL),
(287, 7, 22, NULL),
(288, 7, 23, NULL),
(289, 7, 24, NULL),
(290, 7, 25, NULL),
(291, 7, 26, NULL),
(292, 7, 27, NULL),
(293, 7, 28, NULL),
(294, 7, 29, NULL),
(295, 7, 30, NULL),
(296, 7, 31, NULL),
(297, 7, 32, NULL),
(298, 7, 33, NULL),
(299, 7, 34, NULL),
(300, 7, 35, NULL),
(301, 7, 36, NULL),
(302, 7, 37, NULL),
(303, 7, 38, NULL),
(304, 7, 39, NULL),
(305, 7, 40, NULL),
(306, 7, 41, NULL),
(307, 7, 42, NULL),
(308, 7, 43, NULL),
(309, 7, 44, NULL),
(310, 7, 45, NULL),
(311, 7, 46, NULL),
(312, 7, 47, NULL),
(313, 7, 48, NULL),
(314, 7, 49, NULL),
(315, 7, 50, NULL),
(316, 7, 51, NULL),
(317, 7, 52, NULL),
(318, 7, 53, NULL),
(319, 8, 1, NULL),
(320, 8, 2, NULL),
(321, 8, 3, NULL),
(322, 8, 4, NULL),
(323, 8, 5, NULL),
(324, 8, 6, NULL),
(325, 8, 7, NULL),
(326, 8, 8, NULL),
(327, 8, 9, NULL),
(328, 8, 10, NULL),
(329, 8, 11, NULL),
(330, 8, 12, NULL),
(331, 8, 13, NULL),
(332, 8, 14, NULL),
(333, 8, 15, NULL),
(334, 8, 16, NULL),
(335, 8, 17, NULL),
(336, 8, 18, NULL),
(337, 8, 19, NULL),
(338, 8, 20, NULL),
(339, 8, 21, NULL),
(340, 8, 22, NULL),
(341, 8, 23, NULL),
(342, 8, 24, NULL),
(343, 8, 25, NULL),
(344, 8, 26, NULL),
(345, 8, 27, NULL),
(346, 8, 28, NULL),
(347, 8, 29, NULL),
(348, 8, 30, NULL),
(349, 8, 31, NULL),
(350, 8, 32, NULL),
(351, 8, 33, NULL),
(352, 8, 34, NULL),
(353, 8, 35, NULL),
(354, 8, 36, NULL),
(355, 8, 37, NULL),
(356, 8, 38, NULL),
(357, 8, 39, NULL),
(358, 8, 40, NULL),
(359, 8, 41, NULL),
(360, 8, 42, NULL),
(361, 8, 43, NULL),
(362, 8, 44, NULL),
(363, 8, 45, NULL),
(364, 8, 46, NULL),
(365, 8, 47, NULL),
(366, 8, 48, NULL),
(367, 8, 49, NULL),
(368, 8, 50, NULL),
(369, 8, 51, NULL),
(370, 8, 52, NULL),
(371, 8, 53, NULL),
(372, 1, 1, NULL),
(373, 1, 2, NULL),
(374, 1, 3, NULL),
(375, 1, 4, NULL),
(376, 1, 5, NULL),
(377, 1, 6, NULL),
(378, 1, 7, NULL),
(379, 1, 8, NULL),
(380, 1, 9, NULL),
(381, 1, 10, NULL),
(382, 1, 11, NULL),
(383, 1, 12, NULL),
(384, 1, 13, NULL),
(385, 1, 14, NULL),
(386, 1, 15, NULL),
(387, 1, 16, NULL),
(388, 1, 17, NULL),
(389, 1, 18, NULL),
(390, 1, 19, NULL),
(391, 1, 20, NULL),
(392, 1, 21, NULL),
(393, 1, 22, NULL),
(394, 1, 23, NULL),
(395, 1, 24, NULL),
(396, 1, 25, NULL),
(397, 1, 26, NULL),
(398, 1, 27, NULL),
(399, 1, 28, NULL),
(400, 1, 29, NULL),
(401, 1, 30, NULL),
(402, 1, 31, NULL),
(403, 1, 32, NULL),
(404, 1, 33, NULL),
(405, 1, 34, NULL),
(406, 1, 35, NULL),
(407, 1, 36, NULL),
(408, 1, 37, NULL),
(409, 1, 38, NULL),
(410, 1, 39, NULL),
(411, 1, 40, NULL),
(412, 1, 41, NULL),
(413, 1, 42, NULL),
(414, 1, 43, NULL),
(415, 1, 44, NULL),
(416, 1, 45, NULL),
(417, 1, 46, NULL),
(418, 1, 47, NULL),
(419, 1, 48, NULL),
(420, 1, 49, NULL),
(421, 1, 50, NULL),
(422, 1, 51, NULL),
(423, 1, 52, NULL),
(424, 1, 53, NULL),
(425, 4, 1, '1'),
(426, 4, 2, '1'),
(427, 4, 3, '1'),
(428, 4, 4, '1'),
(429, 4, 5, '1'),
(430, 4, 6, '1'),
(431, 4, 7, '1'),
(432, 4, 8, '1'),
(433, 4, 9, '1'),
(434, 4, 10, '1'),
(435, 4, 11, '1'),
(436, 4, 12, '1'),
(437, 4, 13, '1'),
(438, 4, 14, '1'),
(439, 4, 15, '1'),
(440, 4, 16, '1'),
(441, 4, 17, '1'),
(442, 4, 18, '1'),
(443, 4, 19, '1'),
(444, 4, 20, '1'),
(445, 4, 21, '1'),
(446, 4, 22, '1'),
(447, 4, 23, '1'),
(448, 4, 24, '1'),
(449, 4, 25, '1'),
(450, 4, 26, '1'),
(451, 4, 27, '1'),
(452, 4, 28, '1'),
(453, 4, 29, '1'),
(454, 4, 30, '1'),
(455, 4, 31, '1'),
(456, 4, 32, '1'),
(457, 4, 33, '1'),
(458, 4, 34, '1'),
(459, 4, 35, '1'),
(460, 4, 36, '1'),
(461, 4, 37, '1'),
(462, 4, 38, '1'),
(463, 4, 39, '1'),
(464, 4, 40, '1'),
(465, 4, 41, '1'),
(466, 4, 42, '1'),
(467, 4, 43, '1'),
(468, 4, 44, '1'),
(469, 4, 45, '1'),
(470, 4, 46, '1'),
(471, 4, 47, '1'),
(472, 4, 48, '1'),
(473, 4, 49, '1'),
(474, 4, 50, '1'),
(475, 4, 51, '1'),
(476, 4, 52, '1'),
(477, 4, 53, '1'),
(478, 6, 0, NULL),
(479, 1, 0, NULL),
(484, 4, 0, NULL);

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

--
-- Estrutura para tabela `glpi_plugin_mydashboard_alerts`
--

CREATE TABLE `glpi_plugin_mydashboard_alerts` (
  `id` int(10) UNSIGNED NOT NULL,
  `reminders_id` int(10) UNSIGNED NOT NULL,
  `impact` tinyint(4) NOT NULL,
  `type` tinyint(4) NOT NULL,
  `is_public` tinyint(4) NOT NULL,
  `itilcategories_id` int(10) UNSIGNED NOT NULL DEFAULT '0'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC;

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

--
-- Estrutura para tabela `glpi_plugin_mydashboard_configtranslations`
--

CREATE TABLE `glpi_plugin_mydashboard_configtranslations` (
  `id` int(10) UNSIGNED NOT NULL,
  `items_id` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `itemtype` varchar(100) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `language` varchar(5) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `field` varchar(100) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `value` text COLLATE utf8mb4_unicode_ci
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC;

--
-- Despejando dados para a tabela `glpi_plugin_mydashboard_configtranslations`
--

INSERT INTO `glpi_plugin_mydashboard_configtranslations` (`id`, `items_id`, `itemtype`, `language`, `field`, `value`) VALUES
(1, 1, 'PluginMydashboardConfig', 'pt_BR', 'title_alerts_widget', '');

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

--
-- Estrutura para tabela `glpi_plugin_mydashboard_customswidgets`
--

CREATE TABLE `glpi_plugin_mydashboard_customswidgets` (
  `id` int(10) UNSIGNED NOT NULL,
  `name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `comment` text COLLATE utf8mb4_unicode_ci,
  `content` text COLLATE utf8mb4_unicode_ci NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC;

--
-- Despejando dados para a tabela `glpi_plugin_mydashboard_customswidgets`
--

INSERT INTO `glpi_plugin_mydashboard_customswidgets` (`id`, `name`, `comment`, `content`) VALUES
(1, 'Incidentes', '', '<p style=\"background-color: lightgrey; padding: 5px; font-weight: bold; border: solid 1px black;\">Incidentes </p>'),
(2, 'Requisição', '', '<p style=\"background-color: lightgrey; padding: 5px; font-weight: bold; border: solid 1px black;\">Requisição </p>'),
(3, 'Problemas', '', '<p style=\"background-color: lightgrey; padding: 5px; font-weight: bold; border: solid 1px black;\">Problemas </p>');

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

--
-- Estrutura para tabela `glpi_plugin_mydashboard_dashboards`
--

CREATE TABLE `glpi_plugin_mydashboard_dashboards` (
  `id` int(10) UNSIGNED NOT NULL,
  `users_id` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `grid` longtext COLLATE utf8mb4_unicode_ci,
  `profiles_id` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `grid_statesave` longtext COLLATE utf8mb4_unicode_ci
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC;

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

--
-- Estrutura para tabela `glpi_plugin_mydashboard_groupprofiles`
--

CREATE TABLE `glpi_plugin_mydashboard_groupprofiles` (
  `id` int(10) UNSIGNED NOT NULL,
  `groups_id` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '[]',
  `profiles_id` int(10) UNSIGNED NOT NULL DEFAULT '0'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC;

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

--
-- Estrutura para tabela `glpi_plugin_mydashboard_itilalerts`
--

CREATE TABLE `glpi_plugin_mydashboard_itilalerts` (
  `id` int(10) UNSIGNED NOT NULL,
  `reminders_id` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `items_id` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `itemtype` varchar(100) COLLATE utf8mb4_unicode_ci NOT NULL COMMENT 'see .class.php file'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC;

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

--
-- Estrutura para tabela `glpi_plugin_mydashboard_preferences`
--

CREATE TABLE `glpi_plugin_mydashboard_preferences` (
  `id` int(10) UNSIGNED NOT NULL COMMENT 'RELATION to glpi_users(id)',
  `automatic_refresh` tinyint(4) NOT NULL DEFAULT '0',
  `automatic_refresh_delay` int(10) UNSIGNED NOT NULL DEFAULT '10',
  `nb_widgets_width` int(10) UNSIGNED NOT NULL DEFAULT '3',
  `replace_central` tinyint(4) NOT NULL DEFAULT '0',
  `prefered_group` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '[]',
  `prefered_entity` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `edit_mode` tinyint(4) NOT NULL DEFAULT '0',
  `drag_mode` tinyint(4) NOT NULL DEFAULT '0',
  `requester_prefered_group` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '[]',
  `color_palette` varchar(50) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '',
  `prefered_type` int(10) UNSIGNED NOT NULL DEFAULT '0'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC;

--
-- Despejando dados para a tabela `glpi_plugin_mydashboard_preferences`
--

INSERT INTO `glpi_plugin_mydashboard_preferences` (`id`, `automatic_refresh`, `automatic_refresh_delay`, `nb_widgets_width`, `replace_central`, `prefered_group`, `prefered_entity`, `edit_mode`, `drag_mode`, `requester_prefered_group`, `color_palette`, `prefered_type`) VALUES
(7, 0, 10, 3, 0, '[]', 0, 0, 0, '[]', '', 0);

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

--
-- Estrutura para tabela `glpi_plugin_mydashboard_preferenceuserblacklists`
--

CREATE TABLE `glpi_plugin_mydashboard_preferenceuserblacklists` (
  `id` int(10) UNSIGNED NOT NULL,
  `users_id` int(10) UNSIGNED NOT NULL COMMENT 'RELATION to glpi_users(id)',
  `plugin_name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC;

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

--
-- Estrutura para tabela `glpi_plugin_mydashboard_profileauthorizedwidgets`
--

CREATE TABLE `glpi_plugin_mydashboard_profileauthorizedwidgets` (
  `id` int(10) UNSIGNED NOT NULL,
  `profiles_id` int(10) UNSIGNED NOT NULL DEFAULT '0' COMMENT 'RELATION to glpi_profiles (id)',
  `widgets_id` int(10) UNSIGNED NOT NULL DEFAULT '0' COMMENT 'RELATION to glpi_mydashboard_widgets (id)'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC;

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

--
-- Estrutura para tabela `glpi_plugin_mydashboard_stockticketindicators`
--

CREATE TABLE `glpi_plugin_mydashboard_stockticketindicators` (
  `id` int(10) UNSIGNED NOT NULL,
  `year` int(10) UNSIGNED NOT NULL,
  `week` int(10) UNSIGNED NOT NULL,
  `nbTickets` int(10) UNSIGNED NOT NULL,
  `indicator_id` int(10) UNSIGNED NOT NULL,
  `groups_id` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `entities_id` int(10) UNSIGNED NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC;

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

--
-- Estrutura para tabela `glpi_plugin_mydashboard_stocktickets`
--

CREATE TABLE `glpi_plugin_mydashboard_stocktickets` (
  `id` int(10) UNSIGNED NOT NULL,
  `date` date NOT NULL,
  `nbstocktickets` int(10) UNSIGNED NOT NULL,
  `entities_id` int(10) UNSIGNED NOT NULL,
  `groups_id` int(10) UNSIGNED NOT NULL DEFAULT '0'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC;

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

--
-- Estrutura para tabela `glpi_plugin_mydashboard_stockwidgets`
--

CREATE TABLE `glpi_plugin_mydashboard_stockwidgets` (
  `id` int(10) UNSIGNED NOT NULL,
  `entities_id` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `is_recursive` tinyint(4) NOT NULL DEFAULT '0',
  `name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `states` longtext COLLATE utf8mb4_unicode_ci,
  `itemtype` varchar(100) COLLATE utf8mb4_unicode_ci NOT NULL COMMENT 'see .class.php file',
  `icon` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `types` longtext COLLATE utf8mb4_unicode_ci,
  `alarm_threshold` int(10) UNSIGNED NOT NULL DEFAULT '5'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC;

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

--
-- Estrutura para tabela `glpi_plugin_mydashboard_userwidgets`
--

CREATE TABLE `glpi_plugin_mydashboard_userwidgets` (
  `id` int(10) UNSIGNED NOT NULL,
  `users_id` int(10) UNSIGNED NOT NULL COMMENT 'RELATION to glpi_users(id)',
  `profiles_id` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `widgets_id` int(10) UNSIGNED NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC;

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

--
-- Estrutura para tabela `glpi_plugin_mydashboard_widgets`
--

CREATE TABLE `glpi_plugin_mydashboard_widgets` (
  `id` int(10) UNSIGNED NOT NULL,
  `name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC;

--
-- Despejando dados para a tabela `glpi_plugin_mydashboard_widgets`
--

INSERT INTO `glpi_plugin_mydashboard_widgets` (`id`, `name`) VALUES
(74, 'changecountwidget'),
(75, 'changeprocesswidgetgroup'),
(76, 'changewaitingwidgetgroup'),
(98, 'contractwidget'),
(70, 'eventwidgetglobal'),
(101, 'knowbaseitemlastupdate'),
(99, 'knowbaseitempopular'),
(100, 'knowbaseitemrecent'),
(69, 'planningwidget'),
(1, 'PluginActivityDashboard1'),
(2, 'PluginActivityDashboard3'),
(3, 'PluginActivityDashboard4'),
(4, 'PluginMydashboardAlert1'),
(10, 'PluginMydashboardAlert10'),
(11, 'PluginMydashboardAlert11'),
(15, 'PluginMydashboardAlert12'),
(16, 'PluginMydashboardAlert13'),
(5, 'PluginMydashboardAlert2'),
(6, 'PluginMydashboardAlert3'),
(17, 'PluginMydashboardAlert33'),
(12, 'PluginMydashboardAlert4'),
(13, 'PluginMydashboardAlert5'),
(7, 'PluginMydashboardAlert6'),
(14, 'PluginMydashboardAlert7'),
(8, 'PluginMydashboardAlert8'),
(9, 'PluginMydashboardAlert9'),
(18, 'PluginMydashboardAlertSC32'),
(19, 'PluginMydashboardAlertSC33'),
(20, 'PluginMydashboardReports_Bar1'),
(22, 'PluginMydashboardReports_Bar15'),
(23, 'PluginMydashboardReports_Bar21'),
(24, 'PluginMydashboardReports_Bar23'),
(25, 'PluginMydashboardReports_Bar24'),
(26, 'PluginMydashboardReports_Bar35'),
(27, 'PluginMydashboardReports_Bar36'),
(28, 'PluginMydashboardReports_Bar37'),
(29, 'PluginMydashboardReports_Bar38'),
(30, 'PluginMydashboardReports_Bar39'),
(31, 'PluginMydashboardReports_Bar40'),
(32, 'PluginMydashboardReports_Bar41'),
(33, 'PluginMydashboardReports_Bar42'),
(34, 'PluginMydashboardReports_Bar43'),
(35, 'PluginMydashboardReports_Bar44'),
(21, 'PluginMydashboardReports_Bar8'),
(36, 'PluginMydashboardReports_Funnel1'),
(38, 'PluginMydashboardReports_Line22'),
(39, 'PluginMydashboardReports_Line34'),
(40, 'PluginMydashboardReports_Line35'),
(41, 'PluginMydashboardReports_Line43'),
(42, 'PluginMydashboardReports_Line44'),
(43, 'PluginMydashboardReports_Line45'),
(44, 'PluginMydashboardReports_Line46'),
(45, 'PluginMydashboardReports_Line47'),
(46, 'PluginMydashboardReports_Line48'),
(37, 'PluginMydashboardReports_Line6'),
(47, 'PluginMydashboardReports_Map29'),
(50, 'PluginMydashboardReports_Pie12'),
(51, 'PluginMydashboardReports_Pie13'),
(52, 'PluginMydashboardReports_Pie16'),
(53, 'PluginMydashboardReports_Pie17'),
(54, 'PluginMydashboardReports_Pie18'),
(48, 'PluginMydashboardReports_Pie2'),
(55, 'PluginMydashboardReports_Pie20'),
(56, 'PluginMydashboardReports_Pie25'),
(57, 'PluginMydashboardReports_Pie26'),
(58, 'PluginMydashboardReports_Pie27'),
(59, 'PluginMydashboardReports_Pie30'),
(60, 'PluginMydashboardReports_Pie31'),
(61, 'PluginMydashboardReports_Pie32'),
(49, 'PluginMydashboardReports_Pie7'),
(65, 'PluginMydashboardReports_Table14'),
(66, 'PluginMydashboardReports_Table3'),
(62, 'PluginMydashboardReports_Table32'),
(63, 'PluginMydashboardReports_Table33'),
(64, 'PluginMydashboardReports_Table5'),
(71, 'problemcountwidget'),
(72, 'problemprocesswidgetgroup'),
(73, 'problemwaitingwidgetgroup'),
(95, 'projectprocesswidget'),
(96, 'projectprocesswidgetgroup'),
(97, 'projecttaskprocesswidget'),
(67, 'reminderpersonalwidget'),
(68, 'reminderpublicwidget'),
(93, 'rssfeedpersonalwidget'),
(94, 'rssfeedpublicwidget'),
(92, 'ticketcountwidget'),
(83, 'ticketcountwidget2'),
(78, 'ticketlistobservedwidget'),
(89, 'ticketlistobservedwidgetgroup'),
(84, 'ticketlistprocesswidget'),
(90, 'ticketlistprocesswidgetgroup'),
(79, 'ticketlistrejectedwidget'),
(77, 'ticketlistrequestbyselfwidget'),
(88, 'ticketlistrequestbyselfwidgetgroup'),
(81, 'ticketlistsurveywidget'),
(80, 'ticketlisttoapprovewidget'),
(82, 'ticketlisttovalidatewidget'),
(85, 'ticketlistwaitingwidget'),
(87, 'ticketlistwaitingwidgetgroup'),
(86, 'tickettaskstodowidget'),
(91, 'tickettaskstodowidgetgroup');

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

--
-- Estrutura para tabela `glpi_plugin_news_alerts`
--

CREATE TABLE `glpi_plugin_news_alerts` (
  `id` int(10) UNSIGNED NOT NULL,
  `date_mod` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  `name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `message` text COLLATE utf8mb4_unicode_ci NOT NULL,
  `date_start` timestamp NULL DEFAULT NULL,
  `date_end` timestamp NULL DEFAULT NULL,
  `type` int(11) NOT NULL,
  `is_deleted` tinyint(4) NOT NULL DEFAULT '0',
  `is_displayed_onlogin` tinyint(4) NOT NULL,
  `is_displayed_oncentral` tinyint(4) NOT NULL,
  `display_dates` tinyint(4) NOT NULL DEFAULT '1',
  `background_color` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'white',
  `text_color` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'dark',
  `emphasis_color` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'dark',
  `size` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'medium',
  `icon` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `entities_id` int(10) UNSIGNED NOT NULL,
  `is_recursive` tinyint(4) NOT NULL DEFAULT '1',
  `is_displayed_onhelpdesk` tinyint(4) NOT NULL DEFAULT '0',
  `date_creation` date DEFAULT NULL,
  `is_close_allowed` tinyint(4) NOT NULL DEFAULT '0',
  `is_active` tinyint(4) NOT NULL DEFAULT '0'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC;

--
-- Despejando dados para a tabela `glpi_plugin_news_alerts`
--

INSERT INTO `glpi_plugin_news_alerts` (`id`, `date_mod`, `name`, `message`, `date_start`, `date_end`, `type`, `is_deleted`, `is_displayed_onlogin`, `is_displayed_oncentral`, `display_dates`, `background_color`, `text_color`, `emphasis_color`, `size`, `icon`, `entities_id`, `is_recursive`, `is_displayed_onhelpdesk`, `date_creation`, `is_close_allowed`, `is_active`) VALUES
(1, '2024-06-25 16:55:54', 'Pesquisas de Satisfação', '&#60;p&#62;Chegou a Pesquisa de Satisfação dos atendimentos referente aos seus chamados.&#60;br&#62;Não deixe de avaliar o atendimento do técnico.&#60;br&#62;&#60;br&#62;Após Chamado \"Solucionado\" clique em \"Satisfação\" e atribua a nota ao técnico.&#60;/p&#62;\r\n&#60;p&#62; &#60;/p&#62;', '2024-06-25 15:00:00', '2024-06-30 15:00:00', 0, 0, 1, 1, 0, 'orange', 'white', 'orange', 'medium', 'alert-triangle', 0, 1, 1, '2024-06-25', 1, 1);

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

--
-- Estrutura para tabela `glpi_plugin_news_alerts_targets`
--

CREATE TABLE `glpi_plugin_news_alerts_targets` (
  `id` int(10) UNSIGNED NOT NULL,
  `plugin_news_alerts_id` int(10) UNSIGNED NOT NULL,
  `itemtype` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `items_id` int(10) UNSIGNED NOT NULL,
  `all_items` tinyint(4) NOT NULL DEFAULT '0'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC;

--
-- Despejando dados para a tabela `glpi_plugin_news_alerts_targets`
--

INSERT INTO `glpi_plugin_news_alerts_targets` (`id`, `plugin_news_alerts_id`, `itemtype`, `items_id`, `all_items`) VALUES
(1, 1, 'Profile', 0, 1);

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

--
-- Estrutura para tabela `glpi_plugin_news_alerts_users`
--

CREATE TABLE `glpi_plugin_news_alerts_users` (
  `id` int(10) UNSIGNED NOT NULL,
  `plugin_news_alerts_id` int(10) UNSIGNED NOT NULL,
  `users_id` int(10) UNSIGNED NOT NULL,
  `state` tinyint(4) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC;

--
-- Despejando dados para a tabela `glpi_plugin_news_alerts_users`
--

INSERT INTO `glpi_plugin_news_alerts_users` (`id`, `plugin_news_alerts_id`, `users_id`, `state`) VALUES
(2, 1, 2, 1),
(1, 1, 7, 1),
(8, 1, 8, 1),
(16, 1, 11, 1),
(3, 1, 22, 1),
(10, 1, 24, 1),
(6, 1, 37, 1),
(11, 1, 38, 1),
(14, 1, 69, 1),
(9, 1, 87, 1),
(7, 1, 155, 1),
(5, 1, 159, 1),
(4, 1, 164, 1),
(15, 1, 172, 1),
(13, 1, 183, 1),
(12, 1, 190, 1);

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

--
-- Estrutura para tabela `glpi_plugin_ocsinventoryng_bitlockerstatuses`
--

CREATE TABLE `glpi_plugin_ocsinventoryng_bitlockerstatuses` (
  `id` int(10) UNSIGNED NOT NULL,
  `computers_id` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `item_disks_id` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `volume_type` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `protection_status` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `init_project` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC;

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

--
-- Estrutura para tabela `glpi_plugin_ocsinventoryng_configs`
--

CREATE TABLE `glpi_plugin_ocsinventoryng_configs` (
  `id` int(10) UNSIGNED NOT NULL,
  `thread_log_frequency` int(10) UNSIGNED NOT NULL DEFAULT '10',
  `is_displayempty` int(10) UNSIGNED NOT NULL DEFAULT '1',
  `import_limit` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `delay_refresh` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `allow_ocs_update` tinyint(4) NOT NULL DEFAULT '0',
  `log_imported_computers` tinyint(4) NOT NULL DEFAULT '0',
  `comment` text COLLATE utf8mb4_unicode_ci,
  `delay_ocs` int(11) NOT NULL DEFAULT '-1',
  `use_newocs_alert` int(11) NOT NULL DEFAULT '-1'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC;

--
-- Despejando dados para a tabela `glpi_plugin_ocsinventoryng_configs`
--

INSERT INTO `glpi_plugin_ocsinventoryng_configs` (`id`, `thread_log_frequency`, `is_displayempty`, `import_limit`, `delay_refresh`, `allow_ocs_update`, `log_imported_computers`, `comment`, `delay_ocs`, `use_newocs_alert`) VALUES
(1, 2, 1, 0, 5, 1, 0, NULL, 1, 1);

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

--
-- Estrutura para tabela `glpi_plugin_ocsinventoryng_customapps`
--

CREATE TABLE `glpi_plugin_ocsinventoryng_customapps` (
  `id` int(10) UNSIGNED NOT NULL,
  `computers_id` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `path` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `text` text COLLATE utf8mb4_unicode_ci
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC;

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

--
-- Estrutura para tabela `glpi_plugin_ocsinventoryng_details`
--

CREATE TABLE `glpi_plugin_ocsinventoryng_details` (
  `id` int(10) UNSIGNED NOT NULL,
  `entities_id` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `plugin_ocsinventoryng_threads_id` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `rules_id` text COLLATE utf8mb4_unicode_ci,
  `threadid` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `ocsid` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `computers_id` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `action` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `process_time` timestamp NULL DEFAULT NULL,
  `plugin_ocsinventoryng_ocsservers_id` int(10) UNSIGNED NOT NULL DEFAULT '1'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC;

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

--
-- Estrutura para tabela `glpi_plugin_ocsinventoryng_ipdiscoverocslinks`
--

CREATE TABLE `glpi_plugin_ocsinventoryng_ipdiscoverocslinks` (
  `id` int(10) UNSIGNED NOT NULL,
  `items_id` int(10) UNSIGNED NOT NULL,
  `itemtype` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `macaddress` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `last_update` timestamp NULL DEFAULT NULL,
  `subnet` varchar(40) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `plugin_ocsinventoryng_ocsservers_id` int(10) UNSIGNED NOT NULL DEFAULT '0'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC;

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

--
-- Estrutura para tabela `glpi_plugin_ocsinventoryng_networkports`
--

CREATE TABLE `glpi_plugin_ocsinventoryng_networkports` (
  `id` int(10) UNSIGNED NOT NULL,
  `networkports_id` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `TYPE` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `TYPEMIB` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `items_devicenetworkcards_id` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `speed` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT '10mb/s',
  `comment` text COLLATE utf8mb4_unicode_ci
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC;

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

--
-- Estrutura para tabela `glpi_plugin_ocsinventoryng_networkporttypes`
--

CREATE TABLE `glpi_plugin_ocsinventoryng_networkporttypes` (
  `id` int(10) UNSIGNED NOT NULL,
  `name` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `OCS_TYPE` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '',
  `OCS_TYPEMIB` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '',
  `instantiation_type` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `type` varchar(10) COLLATE utf8mb4_unicode_ci DEFAULT '' COMMENT 'T, LX, SX',
  `speed` int(10) UNSIGNED DEFAULT '10' COMMENT 'Mbit/s: 10, 100, 1000, 10000',
  `version` varchar(20) COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT 'a, a/b, a/b/g, a/b/g/n, a/b/g/n/y',
  `comment` text COLLATE utf8mb4_unicode_ci
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC;

--
-- Despejando dados para a tabela `glpi_plugin_ocsinventoryng_networkporttypes`
--

INSERT INTO `glpi_plugin_ocsinventoryng_networkporttypes` (`id`, `name`, `OCS_TYPE`, `OCS_TYPEMIB`, `instantiation_type`, `type`, `speed`, `version`, `comment`) VALUES
(1, 'Unkown port', '*', '*', 'PluginOcsinventoryngNetworkPort', NULL, NULL, NULL, NULL),
(2, 'Ethernet port', 'Ethernet', '*', 'NetworkPortEthernet', 'T', 10, NULL, NULL),
(3, 'Wifi port', 'Wifi', '*', 'NetworkPortWifi', NULL, NULL, 'a', NULL),
(4, 'Loopback port', 'Local', '*', 'NetworkPortLocal', NULL, NULL, NULL, NULL);

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

--
-- Estrutura para tabela `glpi_plugin_ocsinventoryng_networkshares`
--

CREATE TABLE `glpi_plugin_ocsinventoryng_networkshares` (
  `id` int(10) UNSIGNED NOT NULL,
  `computers_id` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `drive` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `path` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `size` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `freespace` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `quota` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC;

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

--
-- Estrutura para tabela `glpi_plugin_ocsinventoryng_notificationstates`
--

CREATE TABLE `glpi_plugin_ocsinventoryng_notificationstates` (
  `id` int(10) UNSIGNED NOT NULL,
  `states_id` int(10) UNSIGNED NOT NULL DEFAULT '0' COMMENT 'RELATION to glpi_states (id)'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC;

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

--
-- Estrutura para tabela `glpi_plugin_ocsinventoryng_notimportedcomputers`
--

CREATE TABLE `glpi_plugin_ocsinventoryng_notimportedcomputers` (
  `id` int(10) UNSIGNED NOT NULL,
  `entities_id` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `rules_id` text COLLATE utf8mb4_unicode_ci,
  `comment` text COLLATE utf8mb4_unicode_ci,
  `ocsid` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `plugin_ocsinventoryng_ocsservers_id` int(10) UNSIGNED NOT NULL,
  `ocs_deviceid` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `useragent` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `tag` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `serial` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `ipaddr` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `domain` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `last_inventory` timestamp NULL DEFAULT NULL,
  `reason` int(10) UNSIGNED NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC;

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

--
-- Estrutura para tabela `glpi_plugin_ocsinventoryng_ocsadmininfoslinks`
--

CREATE TABLE `glpi_plugin_ocsinventoryng_ocsadmininfoslinks` (
  `id` int(10) UNSIGNED NOT NULL,
  `glpi_column` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `ocs_column` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `plugin_ocsinventoryng_ocsservers_id` int(10) UNSIGNED NOT NULL DEFAULT '0'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC;

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

--
-- Estrutura para tabela `glpi_plugin_ocsinventoryng_ocsalerts`
--

CREATE TABLE `glpi_plugin_ocsinventoryng_ocsalerts` (
  `id` int(10) UNSIGNED NOT NULL,
  `entities_id` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `delay_ocs` int(11) NOT NULL DEFAULT '-1',
  `use_newocs_alert` int(11) NOT NULL DEFAULT '-1'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC;

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

--
-- Estrutura para tabela `glpi_plugin_ocsinventoryng_ocslinks`
--

CREATE TABLE `glpi_plugin_ocsinventoryng_ocslinks` (
  `id` int(10) UNSIGNED NOT NULL,
  `computers_id` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `ocsid` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `ocs_deviceid` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `use_auto_update` tinyint(4) NOT NULL DEFAULT '1',
  `last_update` timestamp NULL DEFAULT NULL,
  `last_ocs_update` timestamp NULL DEFAULT NULL,
  `last_ocs_conn` timestamp NULL DEFAULT NULL,
  `ip_src` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `computer_update` longtext COLLATE utf8mb4_unicode_ci,
  `plugin_ocsinventoryng_ocsservers_id` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `ocs_agent_version` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `entities_id` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `tag` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `uptime` varchar(64) COLLATE utf8mb4_unicode_ci DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC;

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

--
-- Estrutura para tabela `glpi_plugin_ocsinventoryng_ocsservers_profiles`
--

CREATE TABLE `glpi_plugin_ocsinventoryng_ocsservers_profiles` (
  `id` int(10) UNSIGNED NOT NULL,
  `plugin_ocsinventoryng_ocsservers_id` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `profiles_id` int(10) UNSIGNED NOT NULL DEFAULT '0'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC;

--
-- Despejando dados para a tabela `glpi_plugin_ocsinventoryng_ocsservers_profiles`
--

INSERT INTO `glpi_plugin_ocsinventoryng_ocsservers_profiles` (`id`, `plugin_ocsinventoryng_ocsservers_id`, `profiles_id`) VALUES
(2, 2, 4);

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

--
-- Estrutura para tabela `glpi_plugin_ocsinventoryng_osinstalls`
--

CREATE TABLE `glpi_plugin_ocsinventoryng_osinstalls` (
  `id` int(10) UNSIGNED NOT NULL,
  `computers_id` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `build_version` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `install_date` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `codeset` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `countrycode` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `oslanguage` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `curtimezone` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `locale` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC;

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

--
-- Estrutura para tabela `glpi_plugin_ocsinventoryng_proxysettings`
--

CREATE TABLE `glpi_plugin_ocsinventoryng_proxysettings` (
  `id` int(10) UNSIGNED NOT NULL,
  `computers_id` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `user` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `enabled` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `autoconfigurl` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `address` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `override` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC;

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

--
-- Estrutura para tabela `glpi_plugin_ocsinventoryng_registrykeys`
--

CREATE TABLE `glpi_plugin_ocsinventoryng_registrykeys` (
  `id` int(10) UNSIGNED NOT NULL,
  `computers_id` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `hive` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `path` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `value` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `ocs_name` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC;

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

--
-- Estrutura para tabela `glpi_plugin_ocsinventoryng_ruleimportentities`
--

CREATE TABLE `glpi_plugin_ocsinventoryng_ruleimportentities` (
  `id` int(10) UNSIGNED NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC;

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

--
-- Estrutura para tabela `glpi_plugin_ocsinventoryng_runningprocesses`
--

CREATE TABLE `glpi_plugin_ocsinventoryng_runningprocesses` (
  `id` int(10) UNSIGNED NOT NULL,
  `computers_id` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `cpuusage` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `tty` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `started` varchar(15) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `virtualmemory` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `processname` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `processid` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `username` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `processmemory` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `commandline` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `description` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `company` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC;

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

--
-- Estrutura para tabela `glpi_plugin_ocsinventoryng_servers`
--

CREATE TABLE `glpi_plugin_ocsinventoryng_servers` (
  `id` int(10) UNSIGNED NOT NULL,
  `plugin_ocsinventoryng_ocsservers_id` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `max_ocsid` int(10) UNSIGNED DEFAULT NULL,
  `max_glpidate` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC;

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

--
-- Estrutura para tabela `glpi_plugin_ocsinventoryng_services`
--

CREATE TABLE `glpi_plugin_ocsinventoryng_services` (
  `id` int(10) UNSIGNED NOT NULL,
  `computers_id` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `svcname` varchar(128) COLLATE utf8mb4_unicode_ci NOT NULL,
  `svcdn` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `svcstate` varchar(32) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `svcdesc` varchar(1536) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `svcstartmode` varchar(32) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `svcpath` varchar(512) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `svcstartname` varchar(128) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `svcexitcode` int(11) DEFAULT NULL,
  `svcspecexitcode` int(11) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC;

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

--
-- Estrutura para tabela `glpi_plugin_ocsinventoryng_snmpocslinks`
--

CREATE TABLE `glpi_plugin_ocsinventoryng_snmpocslinks` (
  `id` int(10) UNSIGNED NOT NULL,
  `items_id` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `ocs_id` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `itemtype` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `last_update` timestamp NULL DEFAULT NULL,
  `plugin_ocsinventoryng_ocsservers_id` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `linked` tinyint(4) NOT NULL DEFAULT '0'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC;

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

--
-- Estrutura para tabela `glpi_plugin_ocsinventoryng_teamviewers`
--

CREATE TABLE `glpi_plugin_ocsinventoryng_teamviewers` (
  `id` int(10) UNSIGNED NOT NULL,
  `computers_id` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `twid` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `version` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC;

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

--
-- Estrutura para tabela `glpi_plugin_ocsinventoryng_threads`
--

CREATE TABLE `glpi_plugin_ocsinventoryng_threads` (
  `id` int(10) UNSIGNED NOT NULL,
  `threadid` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `start_time` timestamp NULL DEFAULT NULL,
  `end_time` timestamp NULL DEFAULT NULL,
  `status` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `error_msg` text COLLATE utf8mb4_unicode_ci NOT NULL,
  `imported_machines_number` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `synchronized_machines_number` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `failed_rules_machines_number` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `linked_machines_number` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `notupdated_machines_number` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `not_unique_machines_number` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `link_refused_machines_number` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `total_number_machines` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `plugin_ocsinventoryng_ocsservers_id` int(10) UNSIGNED NOT NULL DEFAULT '1',
  `processid` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `entities_id` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `rules_id` int(10) UNSIGNED NOT NULL DEFAULT '0'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC;

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

--
-- Estrutura para tabela `glpi_plugin_ocsinventoryng_winupdates`
--

CREATE TABLE `glpi_plugin_ocsinventoryng_winupdates` (
  `id` int(10) UNSIGNED NOT NULL,
  `computers_id` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `auoptions` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `scheduleinstalldate` timestamp NULL DEFAULT NULL,
  `lastsuccesstime` timestamp NULL DEFAULT NULL,
  `detectsuccesstime` timestamp NULL DEFAULT NULL,
  `downloadsuccesstime` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC;

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

--
-- Estrutura para tabela `glpi_plugin_ocsinventoryng_winusers`
--

CREATE TABLE `glpi_plugin_ocsinventoryng_winusers` (
  `id` int(10) UNSIGNED NOT NULL,
  `computers_id` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `name` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `type` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `description` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `disabled` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `sid` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC;

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

--
-- Estrutura para tabela `glpi_plugin_order_accountsections`
--

CREATE TABLE `glpi_plugin_order_accountsections` (
  `id` int(10) UNSIGNED NOT NULL,
  `name` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `comment` text COLLATE utf8mb4_unicode_ci
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC;

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

--
-- Estrutura para tabela `glpi_plugin_order_analyticnatures`
--

CREATE TABLE `glpi_plugin_order_analyticnatures` (
  `id` int(10) UNSIGNED NOT NULL,
  `name` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `comment` text COLLATE utf8mb4_unicode_ci
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC;

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

--
-- Estrutura para tabela `glpi_plugin_order_bills`
--

CREATE TABLE `glpi_plugin_order_bills` (
  `id` int(10) UNSIGNED NOT NULL,
  `name` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT '',
  `number` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT '',
  `billdate` timestamp NULL DEFAULT NULL,
  `validationdate` timestamp NULL DEFAULT NULL,
  `comment` text COLLATE utf8mb4_unicode_ci,
  `plugin_order_billstates_id` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `value` decimal(20,6) NOT NULL DEFAULT '0.000000',
  `plugin_order_billtypes_id` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `suppliers_id` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `plugin_order_orders_id` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `users_id_validation` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `entities_id` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `is_recursive` int(11) NOT NULL DEFAULT '0',
  `notepad` text COLLATE utf8mb4_unicode_ci
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC;

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

--
-- Estrutura para tabela `glpi_plugin_order_billstates`
--

CREATE TABLE `glpi_plugin_order_billstates` (
  `id` int(10) UNSIGNED NOT NULL,
  `name` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `comment` text COLLATE utf8mb4_unicode_ci
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC;

--
-- Despejando dados para a tabela `glpi_plugin_order_billstates`
--

INSERT INTO `glpi_plugin_order_billstates` (`id`, `name`, `comment`) VALUES
(1, 'Pago', NULL),
(2, 'Não pago', NULL);

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

--
-- Estrutura para tabela `glpi_plugin_order_billtypes`
--

CREATE TABLE `glpi_plugin_order_billtypes` (
  `id` int(10) UNSIGNED NOT NULL,
  `name` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `comment` text COLLATE utf8mb4_unicode_ci
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC;

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

--
-- Estrutura para tabela `glpi_plugin_order_configs`
--

CREATE TABLE `glpi_plugin_order_configs` (
  `id` int(10) UNSIGNED NOT NULL,
  `use_validation` tinyint(4) NOT NULL DEFAULT '0',
  `use_supplier_satisfaction` tinyint(4) NOT NULL DEFAULT '0',
  `use_supplier_informations` tinyint(4) NOT NULL DEFAULT '0',
  `use_supplier_infos` tinyint(4) NOT NULL DEFAULT '1',
  `generate_order_pdf` tinyint(4) NOT NULL DEFAULT '0',
  `copy_documents` tinyint(4) NOT NULL DEFAULT '0',
  `default_taxes` int(11) NOT NULL DEFAULT '0',
  `generate_assets` int(11) NOT NULL DEFAULT '0',
  `generated_name` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `generated_serial` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `generated_otherserial` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `default_asset_states_id` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `tickettemplates_id_delivery` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `order_status_draft` int(11) NOT NULL DEFAULT '1',
  `order_status_waiting_approval` int(11) NOT NULL DEFAULT '2',
  `order_status_approved` int(11) NOT NULL DEFAULT '3',
  `order_status_partially_delivred` int(11) NOT NULL DEFAULT '4',
  `order_status_completly_delivered` int(11) NOT NULL DEFAULT '5',
  `order_status_canceled` int(11) NOT NULL DEFAULT '6',
  `order_status_paid` int(11) NOT NULL DEFAULT '7',
  `order_analyticnature_display` int(11) NOT NULL DEFAULT '0',
  `order_analyticnature_mandatory` int(11) NOT NULL DEFAULT '0',
  `order_accountsection_display` int(11) NOT NULL DEFAULT '0',
  `order_accountsection_mandatory` int(11) NOT NULL DEFAULT '0',
  `shoudbedelivered_color` char(20) COLLATE utf8mb4_unicode_ci DEFAULT '#ff5555',
  `documentcategories_id` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `groups_id_author` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `groups_id_recipient` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `users_id_recipient` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `add_location` tinyint(4) NOT NULL DEFAULT '0',
  `add_bill_details` tinyint(4) NOT NULL DEFAULT '0',
  `add_immobilization_number` tinyint(4) NOT NULL DEFAULT '0',
  `hide_inactive_budgets` tinyint(4) NOT NULL DEFAULT '0',
  `rename_documents` tinyint(4) NOT NULL DEFAULT '0',
  `transmit_budget_change` tinyint(4) NOT NULL DEFAULT '0',
  `use_free_reference` tinyint(4) NOT NULL DEFAULT '0'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC;

--
-- Despejando dados para a tabela `glpi_plugin_order_configs`
--

INSERT INTO `glpi_plugin_order_configs` (`id`, `use_validation`, `use_supplier_satisfaction`, `use_supplier_informations`, `use_supplier_infos`, `generate_order_pdf`, `copy_documents`, `default_taxes`, `generate_assets`, `generated_name`, `generated_serial`, `generated_otherserial`, `default_asset_states_id`, `tickettemplates_id_delivery`, `order_status_draft`, `order_status_waiting_approval`, `order_status_approved`, `order_status_partially_delivred`, `order_status_completly_delivered`, `order_status_canceled`, `order_status_paid`, `order_analyticnature_display`, `order_analyticnature_mandatory`, `order_accountsection_display`, `order_accountsection_mandatory`, `shoudbedelivered_color`, `documentcategories_id`, `groups_id_author`, `groups_id_recipient`, `users_id_recipient`, `add_location`, `add_bill_details`, `add_immobilization_number`, `hide_inactive_budgets`, `rename_documents`, `transmit_budget_change`, `use_free_reference`) VALUES
(1, 0, 0, 0, 1, 0, 0, 0, 0, 'TOBEFILLED', 'TOBEFILLED', 'TOBEFILLED', 0, 0, 1, 2, 3, 4, 5, 6, 7, 0, 0, 0, 0, '#ff5555', 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);

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

--
-- Estrutura para tabela `glpi_plugin_order_deliverystates`
--

CREATE TABLE `glpi_plugin_order_deliverystates` (
  `id` int(10) UNSIGNED NOT NULL,
  `name` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `comment` text COLLATE utf8mb4_unicode_ci
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC;

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

--
-- Estrutura para tabela `glpi_plugin_order_documentcategories`
--

CREATE TABLE `glpi_plugin_order_documentcategories` (
  `id` int(10) UNSIGNED NOT NULL,
  `documentcategories_id` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `documentcategories_prefix` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC;

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

--
-- Estrutura para tabela `glpi_plugin_order_orderpayments`
--

CREATE TABLE `glpi_plugin_order_orderpayments` (
  `id` int(10) UNSIGNED NOT NULL,
  `name` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `comment` text COLLATE utf8mb4_unicode_ci
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC;

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

--
-- Estrutura para tabela `glpi_plugin_order_orders`
--

CREATE TABLE `glpi_plugin_order_orders` (
  `id` int(10) UNSIGNED NOT NULL,
  `entities_id` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `is_template` tinyint(4) NOT NULL DEFAULT '0',
  `template_name` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `is_recursive` tinyint(4) NOT NULL DEFAULT '0',
  `name` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `num_order` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `budgets_id` int(10) UNSIGNED NOT NULL DEFAULT '0' COMMENT 'RELATION to glpi_budgets (id)',
  `plugin_order_ordertaxes_id` int(10) UNSIGNED NOT NULL DEFAULT '0' COMMENT 'RELATION to glpi_plugin_order_ordertaxes (id)',
  `plugin_order_orderpayments_id` int(10) UNSIGNED NOT NULL DEFAULT '0' COMMENT 'RELATION to glpi_plugin_order_orderpayments (id)',
  `order_date` date DEFAULT NULL,
  `duedate` date DEFAULT NULL,
  `deliverydate` date DEFAULT NULL,
  `is_late` tinyint(4) NOT NULL DEFAULT '0',
  `suppliers_id` int(10) UNSIGNED NOT NULL DEFAULT '0' COMMENT 'RELATION to glpi_suppliers (id)',
  `contacts_id` int(10) UNSIGNED NOT NULL DEFAULT '0' COMMENT 'RELATION to glpi_contacts (id)',
  `plugin_order_accountsections_id` int(10) UNSIGNED NOT NULL DEFAULT '0' COMMENT 'RELATION to plugin_order_accountsections (id)',
  `locations_id` int(10) UNSIGNED NOT NULL DEFAULT '0' COMMENT 'RELATION to glpi_locations (id)',
  `plugin_order_orderstates_id` int(10) UNSIGNED NOT NULL DEFAULT '1',
  `plugin_order_billstates_id` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `port_price` float NOT NULL DEFAULT '0',
  `global_discount` float NOT NULL DEFAULT '0',
  `comment` text COLLATE utf8mb4_unicode_ci,
  `notepad` longtext COLLATE utf8mb4_unicode_ci,
  `is_deleted` tinyint(4) NOT NULL DEFAULT '0',
  `users_id` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `groups_id` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `users_id_delivery` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `groups_id_delivery` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `plugin_order_ordertypes_id` int(10) UNSIGNED NOT NULL DEFAULT '0' COMMENT 'RELATION to glpi_plugin_order_ordertypes (id)',
  `date_mod` timestamp NULL DEFAULT NULL,
  `is_helpdesk_visible` tinyint(4) NOT NULL DEFAULT '1'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC;

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

--
-- Estrutura para tabela `glpi_plugin_order_orderstates`
--

CREATE TABLE `glpi_plugin_order_orderstates` (
  `id` int(10) UNSIGNED NOT NULL,
  `name` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `comment` text COLLATE utf8mb4_unicode_ci
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC;

--
-- Despejando dados para a tabela `glpi_plugin_order_orderstates`
--

INSERT INTO `glpi_plugin_order_orderstates` (`id`, `name`, `comment`) VALUES
(1, 'Rascunho', NULL),
(2, 'Esperando aprovação', NULL),
(3, 'Validado', NULL),
(4, 'Sendo entregue', NULL),
(5, 'Entregue', NULL),
(6, 'Cancelado', NULL),
(7, 'Pago', NULL);

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

--
-- Estrutura para tabela `glpi_plugin_order_orders_items`
--

CREATE TABLE `glpi_plugin_order_orders_items` (
  `id` int(10) UNSIGNED NOT NULL,
  `entities_id` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `is_recursive` tinyint(4) NOT NULL DEFAULT '0',
  `plugin_order_orders_id` int(10) UNSIGNED NOT NULL DEFAULT '0' COMMENT 'RELATION to glpi_plugin_order_orders (id)',
  `itemtype` varchar(100) COLLATE utf8mb4_unicode_ci NOT NULL COMMENT 'see .class.php file',
  `items_id` int(10) UNSIGNED NOT NULL DEFAULT '0' COMMENT 'RELATION to various tables, according to itemtype (id)',
  `plugin_order_references_id` int(10) UNSIGNED NOT NULL DEFAULT '0' COMMENT 'RELATION to glpi_plugin_order_references (id)',
  `plugin_order_deliverystates_id` int(10) UNSIGNED NOT NULL DEFAULT '0' COMMENT 'RELATION to glpi_plugin_order_deliverystates (id)',
  `plugin_order_ordertaxes_id` int(10) UNSIGNED NOT NULL DEFAULT '0' COMMENT 'RELATION to glpi_plugin_order_ordertaxes (id)',
  `plugin_order_analyticnatures_id` int(10) UNSIGNED NOT NULL DEFAULT '0' COMMENT 'RELATION to plugin_order_analyticnatures (id)',
  `delivery_number` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `delivery_comment` text COLLATE utf8mb4_unicode_ci,
  `price_taxfree` decimal(20,6) NOT NULL DEFAULT '0.000000',
  `price_discounted` decimal(20,6) NOT NULL DEFAULT '0.000000',
  `discount` decimal(20,6) NOT NULL DEFAULT '0.000000',
  `price_ati` decimal(20,6) NOT NULL DEFAULT '0.000000',
  `states_id` int(10) UNSIGNED NOT NULL DEFAULT '1',
  `delivery_date` date DEFAULT NULL,
  `plugin_order_bills_id` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `plugin_order_billstates_id` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `comment` text COLLATE utf8mb4_unicode_ci
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC;

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

--
-- Estrutura para tabela `glpi_plugin_order_orders_suppliers`
--

CREATE TABLE `glpi_plugin_order_orders_suppliers` (
  `id` int(10) UNSIGNED NOT NULL,
  `entities_id` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `is_recursive` tinyint(4) NOT NULL DEFAULT '0',
  `plugin_order_orders_id` int(10) UNSIGNED NOT NULL DEFAULT '0' COMMENT 'RELATION to glpi_plugin_order_orders (id)',
  `suppliers_id` int(10) UNSIGNED NOT NULL DEFAULT '0' COMMENT 'RELATION to glpi_suppliers (id)',
  `num_quote` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `num_order` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC;

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

--
-- Estrutura para tabela `glpi_plugin_order_ordertaxes`
--

CREATE TABLE `glpi_plugin_order_ordertaxes` (
  `id` int(10) UNSIGNED NOT NULL,
  `name` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `comment` text COLLATE utf8mb4_unicode_ci
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC;

--
-- Despejando dados para a tabela `glpi_plugin_order_ordertaxes`
--

INSERT INTO `glpi_plugin_order_ordertaxes` (`id`, `name`, `comment`) VALUES
(1, '20', NULL),
(2, '5.5', NULL),
(3, '19.6', NULL);

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

--
-- Estrutura para tabela `glpi_plugin_order_ordertypes`
--

CREATE TABLE `glpi_plugin_order_ordertypes` (
  `id` int(10) UNSIGNED NOT NULL,
  `name` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `comment` text COLLATE utf8mb4_unicode_ci
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC;

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

--
-- Estrutura para tabela `glpi_plugin_order_others`
--

CREATE TABLE `glpi_plugin_order_others` (
  `id` int(10) UNSIGNED NOT NULL,
  `entities_id` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `name` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `plugin_order_othertypes_id` int(10) UNSIGNED NOT NULL DEFAULT '0'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC;

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

--
-- Estrutura para tabela `glpi_plugin_order_othertypes`
--

CREATE TABLE `glpi_plugin_order_othertypes` (
  `id` int(10) UNSIGNED NOT NULL,
  `name` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `comment` text COLLATE utf8mb4_unicode_ci
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC;

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

--
-- Estrutura para tabela `glpi_plugin_order_preferences`
--

CREATE TABLE `glpi_plugin_order_preferences` (
  `id` int(10) UNSIGNED NOT NULL,
  `users_id` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `template` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `sign` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC;

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

--
-- Estrutura para tabela `glpi_plugin_order_referencefrees`
--

CREATE TABLE `glpi_plugin_order_referencefrees` (
  `id` int(10) UNSIGNED NOT NULL,
  `entities_id` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `is_recursive` tinyint(4) NOT NULL DEFAULT '0',
  `plugin_order_orders_id` int(10) UNSIGNED NOT NULL DEFAULT '0' COMMENT 'RELATION to glpi_plugin_order_orders (id)',
  `name` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `manufacturers_id` int(10) UNSIGNED NOT NULL DEFAULT '0' COMMENT 'RELATION to glpi_manufacturers (id)',
  `manufacturers_reference` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '',
  `itemtype` varchar(100) COLLATE utf8mb4_unicode_ci NOT NULL COMMENT 'see .class.php file',
  `templates_id` int(10) UNSIGNED NOT NULL DEFAULT '0' COMMENT 'RELATION to various tables, according to itemtype (id)',
  `comment` text COLLATE utf8mb4_unicode_ci,
  `price_taxfree` decimal(20,6) NOT NULL DEFAULT '0.000000',
  `price_discounted` decimal(20,6) NOT NULL DEFAULT '0.000000',
  `discount` decimal(20,6) NOT NULL DEFAULT '0.000000',
  `price_ati` decimal(20,6) NOT NULL DEFAULT '0.000000',
  `states_id` int(10) UNSIGNED NOT NULL DEFAULT '1',
  `delivery_date` date DEFAULT NULL,
  `plugin_order_ordertaxes_id` int(10) UNSIGNED NOT NULL DEFAULT '0' COMMENT 'RELATION to glpi_plugin_order_ordertaxes (id)',
  `is_deleted` tinyint(4) NOT NULL DEFAULT '0',
  `is_active` tinyint(4) NOT NULL DEFAULT '1',
  `notepad` longtext COLLATE utf8mb4_unicode_ci,
  `date_mod` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC;

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

--
-- Estrutura para tabela `glpi_plugin_order_references`
--

CREATE TABLE `glpi_plugin_order_references` (
  `id` int(10) UNSIGNED NOT NULL,
  `entities_id` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `is_recursive` tinyint(4) NOT NULL DEFAULT '0',
  `name` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `manufacturers_id` int(10) UNSIGNED NOT NULL DEFAULT '0' COMMENT 'RELATION to glpi_manufacturers (id)',
  `manufacturers_reference` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '',
  `types_id` int(10) UNSIGNED NOT NULL DEFAULT '0' COMMENT 'RELATION to various tables, according to itemtypes tables (id)',
  `models_id` int(10) UNSIGNED NOT NULL DEFAULT '0' COMMENT 'RELATION to various tables, according to itemmodels tables (id)',
  `itemtype` varchar(100) COLLATE utf8mb4_unicode_ci NOT NULL COMMENT 'see .class.php file',
  `templates_id` int(10) UNSIGNED NOT NULL DEFAULT '0' COMMENT 'RELATION to various tables, according to itemtype (id)',
  `comment` text COLLATE utf8mb4_unicode_ci,
  `is_deleted` tinyint(4) NOT NULL DEFAULT '0',
  `is_active` tinyint(4) NOT NULL DEFAULT '1',
  `notepad` longtext COLLATE utf8mb4_unicode_ci,
  `date_mod` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC;

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

--
-- Estrutura para tabela `glpi_plugin_order_references_suppliers`
--

CREATE TABLE `glpi_plugin_order_references_suppliers` (
  `id` int(10) UNSIGNED NOT NULL,
  `entities_id` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `is_recursive` tinyint(4) NOT NULL DEFAULT '0',
  `plugin_order_references_id` int(10) UNSIGNED NOT NULL DEFAULT '0' COMMENT 'RELATION to glpi_plugin_order_references (id)',
  `suppliers_id` int(10) UNSIGNED NOT NULL DEFAULT '0' COMMENT 'RELATION to glpi_suppliers (id)',
  `price_taxfree` decimal(20,6) NOT NULL DEFAULT '0.000000',
  `reference_code` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC;

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

--
-- Estrutura para tabela `glpi_plugin_order_surveysuppliers`
--

CREATE TABLE `glpi_plugin_order_surveysuppliers` (
  `id` int(10) UNSIGNED NOT NULL,
  `entities_id` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `is_recursive` tinyint(4) NOT NULL DEFAULT '0',
  `plugin_order_orders_id` int(10) UNSIGNED NOT NULL DEFAULT '0' COMMENT 'RELATION to glpi_plugin_order_orders (id)',
  `suppliers_id` int(10) UNSIGNED NOT NULL DEFAULT '0' COMMENT 'RELATION to glpi_suppliers (id)',
  `answer1` int(11) NOT NULL DEFAULT '0',
  `answer2` int(11) NOT NULL DEFAULT '0',
  `answer3` int(11) NOT NULL DEFAULT '0',
  `answer4` int(11) NOT NULL DEFAULT '0',
  `answer5` int(11) NOT NULL DEFAULT '0',
  `comment` text COLLATE utf8mb4_unicode_ci
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC;

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

--
-- Estrutura para tabela `glpi_plugin_pdf_configs`
--

CREATE TABLE `glpi_plugin_pdf_configs` (
  `id` int(10) UNSIGNED NOT NULL,
  `currency` varchar(15) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `add_text` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `date_mod` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC;

--
-- Despejando dados para a tabela `glpi_plugin_pdf_configs`
--

INSERT INTO `glpi_plugin_pdf_configs` (`id`, `currency`, `add_text`, `date_mod`) VALUES
(1, 'BRL', NULL, '2023-08-25 16:12:37');

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

--
-- Estrutura para tabela `glpi_plugin_pdf_preferences`
--

CREATE TABLE `glpi_plugin_pdf_preferences` (
  `id` int(10) UNSIGNED NOT NULL,
  `users_id` int(10) UNSIGNED NOT NULL COMMENT 'RELATION to glpi_users (id)',
  `itemtype` varchar(100) COLLATE utf8mb4_unicode_ci NOT NULL COMMENT 'see define.php *_TYPE constant',
  `tabref` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL COMMENT 'ref of tab to display, or plugname_#, or option name'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC;

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

--
-- Estrutura para tabela `glpi_plugin_printercounters_additionals_datas`
--

CREATE TABLE `glpi_plugin_printercounters_additionals_datas` (
  `id` int(10) UNSIGNED NOT NULL,
  `name` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `type` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `sub_type` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `value` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `plugin_printercounters_items_recordmodels_id` int(10) UNSIGNED NOT NULL DEFAULT '0'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC;

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

--
-- Estrutura para tabela `glpi_plugin_printercounters_billingmodels`
--

CREATE TABLE `glpi_plugin_printercounters_billingmodels` (
  `id` int(10) UNSIGNED NOT NULL,
  `name` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `entities_id` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `is_recursive` tinyint(4) NOT NULL DEFAULT '0',
  `application_date` timestamp NULL DEFAULT NULL,
  `plugin_printercounters_recordmodels_id` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `contracts_id` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `budgets_id` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `suppliers_id` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `comment` text COLLATE utf8mb4_unicode_ci
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC;

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

--
-- Estrutura para tabela `glpi_plugin_printercounters_budgets`
--

CREATE TABLE `glpi_plugin_printercounters_budgets` (
  `id` int(10) UNSIGNED NOT NULL,
  `name` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `entities_id` int(10) UNSIGNED DEFAULT NULL,
  `is_recursive` tinyint(4) NOT NULL DEFAULT '0',
  `amount` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `begin_date` timestamp NULL DEFAULT NULL,
  `end_date` timestamp NULL DEFAULT NULL,
  `comment` text COLLATE utf8mb4_unicode_ci
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC;

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

--
-- Estrutura para tabela `glpi_plugin_printercounters_configs`
--

CREATE TABLE `glpi_plugin_printercounters_configs` (
  `id` int(10) UNSIGNED NOT NULL,
  `nb_errors_ticket` int(10) UNSIGNED NOT NULL DEFAULT '10',
  `nb_errors_delay_ticket` int(10) UNSIGNED NOT NULL DEFAULT '864000',
  `no_record_delay_ticket` int(10) UNSIGNED NOT NULL DEFAULT '864000',
  `items_status` longtext COLLATE utf8mb4_unicode_ci,
  `tickets_category` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `tickets_content` text COLLATE utf8mb4_unicode_ci,
  `add_item_group` char(1) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `add_item_user` char(1) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `disable_autosearch` tinyint(4) NOT NULL DEFAULT '0',
  `set_first_record` tinyint(4) NOT NULL DEFAULT '0',
  `enable_toner_alert` tinyint(4) NOT NULL DEFAULT '0',
  `toner_alert_repeat` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `toner_treshold` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `max_error_counter` int(10) UNSIGNED NOT NULL DEFAULT '3',
  `enable_error_handler` int(10) UNSIGNED NOT NULL DEFAULT '0'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC;

--
-- Despejando dados para a tabela `glpi_plugin_printercounters_configs`
--

INSERT INTO `glpi_plugin_printercounters_configs` (`id`, `nb_errors_ticket`, `nb_errors_delay_ticket`, `no_record_delay_ticket`, `items_status`, `tickets_category`, `tickets_content`, `add_item_group`, `add_item_user`, `disable_autosearch`, `set_first_record`, `enable_toner_alert`, `toner_alert_repeat`, `toner_treshold`, `max_error_counter`, `enable_error_handler`) VALUES
(1, 10, 864000, 864000, '', 0, '', '0', '0', 0, 0, 0, 0, 0, 3, 0);

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

--
-- Estrutura para tabela `glpi_plugin_printercounters_counters`
--

CREATE TABLE `glpi_plugin_printercounters_counters` (
  `id` int(10) UNSIGNED NOT NULL,
  `value` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `plugin_printercounters_countertypes_recordmodels_id` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `plugin_printercounters_records_id` int(10) UNSIGNED NOT NULL DEFAULT '0'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC;

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

--
-- Estrutura para tabela `glpi_plugin_printercounters_countertypes`
--

CREATE TABLE `glpi_plugin_printercounters_countertypes` (
  `id` int(10) UNSIGNED NOT NULL,
  `name` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `entities_id` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `is_recursive` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `comment` text COLLATE utf8mb4_unicode_ci
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC;

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

--
-- Estrutura para tabela `glpi_plugin_printercounters_countertypes_recordmodels`
--

CREATE TABLE `glpi_plugin_printercounters_countertypes_recordmodels` (
  `id` int(10) UNSIGNED NOT NULL,
  `oid` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `oid_type` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `plugin_printercounters_recordmodels_id` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `plugin_printercounters_countertypes_id` int(10) UNSIGNED NOT NULL DEFAULT '0'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC;

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

--
-- Estrutura para tabela `glpi_plugin_printercounters_items_billingmodels`
--

CREATE TABLE `glpi_plugin_printercounters_items_billingmodels` (
  `id` int(10) UNSIGNED NOT NULL,
  `itemtype` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `items_id` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `plugin_printercounters_billingmodels_id` int(10) UNSIGNED NOT NULL DEFAULT '0'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC;

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

--
-- Estrutura para tabela `glpi_plugin_printercounters_items_recordmodels`
--

CREATE TABLE `glpi_plugin_printercounters_items_recordmodels` (
  `id` int(10) UNSIGNED NOT NULL,
  `nb_retries` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `max_timeout` int(10) UNSIGNED NOT NULL DEFAULT '5',
  `enable_automatic_record` tinyint(4) NOT NULL DEFAULT '0',
  `periodicity` int(10) UNSIGNED NOT NULL DEFAULT '86400',
  `items_id` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `itemtype` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `active_mutex` timestamp NULL DEFAULT NULL,
  `process_id` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `global_tco` decimal(20,4) DEFAULT '0.0000',
  `plugin_printercounters_recordmodels_id` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `plugin_printercounters_snmpauthentications_id` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `status` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `error_counter` int(10) UNSIGNED NOT NULL DEFAULT '0'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC;

--
-- Despejando dados para a tabela `glpi_plugin_printercounters_items_recordmodels`
--

INSERT INTO `glpi_plugin_printercounters_items_recordmodels` (`id`, `nb_retries`, `max_timeout`, `enable_automatic_record`, `periodicity`, `items_id`, `itemtype`, `active_mutex`, `process_id`, `global_tco`, `plugin_printercounters_recordmodels_id`, `plugin_printercounters_snmpauthentications_id`, `status`, `error_counter`) VALUES
(1, 0, 5, 0, 86400, 7, 'Printer', NULL, 0, 0.0000, 1, 0, 0, 0);

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

--
-- Estrutura para tabela `glpi_plugin_printercounters_items_tickets`
--

CREATE TABLE `glpi_plugin_printercounters_items_tickets` (
  `id` int(10) UNSIGNED NOT NULL,
  `itemtype` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `items_id` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `events_type` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `date_mod` timestamp NULL DEFAULT NULL,
  `tickets_id` int(10) UNSIGNED NOT NULL DEFAULT '0'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC;

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

--
-- Estrutura para tabela `glpi_plugin_printercounters_pagecosts`
--

CREATE TABLE `glpi_plugin_printercounters_pagecosts` (
  `id` int(10) UNSIGNED NOT NULL,
  `cost` decimal(6,5) NOT NULL DEFAULT '0.00000',
  `plugin_printercounters_billingmodels_id` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `plugin_printercounters_countertypes_id` int(10) UNSIGNED NOT NULL DEFAULT '0'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC;

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

--
-- Estrutura para tabela `glpi_plugin_printercounters_recordmodels`
--

CREATE TABLE `glpi_plugin_printercounters_recordmodels` (
  `id` int(10) UNSIGNED NOT NULL,
  `name` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `entities_id` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `is_recursive` tinyint(4) NOT NULL DEFAULT '0',
  `mac_address_conformity` tinyint(4) NOT NULL DEFAULT '0',
  `sysdescr_conformity` tinyint(4) NOT NULL DEFAULT '0',
  `serial_conformity` tinyint(4) NOT NULL DEFAULT '0',
  `enable_toner_level` tinyint(4) NOT NULL DEFAULT '0',
  `enable_printer_info` tinyint(4) NOT NULL DEFAULT '0',
  `is_template` tinyint(4) NOT NULL DEFAULT '0',
  `template_name` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `comment` text COLLATE utf8mb4_unicode_ci
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC;

--
-- Despejando dados para a tabela `glpi_plugin_printercounters_recordmodels`
--

INSERT INTO `glpi_plugin_printercounters_recordmodels` (`id`, `name`, `entities_id`, `is_recursive`, `mac_address_conformity`, `sysdescr_conformity`, `serial_conformity`, `enable_toner_level`, `enable_printer_info`, `is_template`, `template_name`, `comment`) VALUES
(1, 'testeRegistro', 0, 0, 0, 0, 1, 0, 1, 0, NULL, '');

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

--
-- Estrutura para tabela `glpi_plugin_printercounters_records`
--

CREATE TABLE `glpi_plugin_printercounters_records` (
  `id` int(10) UNSIGNED NOT NULL,
  `date` timestamp NULL DEFAULT NULL,
  `entities_id` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `result` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `state` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `record_type` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `locations_id` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `last_recordmodels_id` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `plugin_printercounters_items_recordmodels_id` int(10) UNSIGNED NOT NULL DEFAULT '0'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC;

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

--
-- Estrutura para tabela `glpi_plugin_printercounters_snmpauthentications`
--

CREATE TABLE `glpi_plugin_printercounters_snmpauthentications` (
  `id` int(10) UNSIGNED NOT NULL,
  `name` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `entities_id` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `is_recursive` tinyint(4) NOT NULL DEFAULT '0',
  `is_default` tinyint(4) NOT NULL DEFAULT '0',
  `version` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `community` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT 'public',
  `community_write` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT 'private',
  `authentication_encrypt` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `data_encrypt` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `user` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `authentication_password` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `data_password` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `comment` text COLLATE utf8mb4_unicode_ci
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC;

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

--
-- Estrutura para tabela `glpi_plugin_printercounters_snmpsets`
--

CREATE TABLE `glpi_plugin_printercounters_snmpsets` (
  `id` int(10) UNSIGNED NOT NULL,
  `entities_id` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `is_recursive` tinyint(4) NOT NULL DEFAULT '0',
  `set_location` tinyint(4) NOT NULL DEFAULT '1',
  `set_contact` tinyint(4) NOT NULL DEFAULT '1',
  `set_name` tinyint(4) NOT NULL DEFAULT '1',
  `contact` text COLLATE utf8mb4_unicode_ci
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC;

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

--
-- Estrutura para tabela `glpi_plugin_printercounters_sysdescrs`
--

CREATE TABLE `glpi_plugin_printercounters_sysdescrs` (
  `id` int(10) UNSIGNED NOT NULL,
  `sysdescr` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `plugin_printercounters_recordmodels_id` int(10) UNSIGNED NOT NULL DEFAULT '0'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC;

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

--
-- Estrutura para tabela `glpi_plugin_purchaserequest_configs`
--

CREATE TABLE `glpi_plugin_purchaserequest_configs` (
  `id` int(10) UNSIGNED NOT NULL,
  `id_general_service_manager` int(10) UNSIGNED NOT NULL DEFAULT '0'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC;

--
-- Despejando dados para a tabela `glpi_plugin_purchaserequest_configs`
--

INSERT INTO `glpi_plugin_purchaserequest_configs` (`id`, `id_general_service_manager`) VALUES
(1, 0);

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

--
-- Estrutura para tabela `glpi_plugin_purchaserequest_purchaserequests`
--

CREATE TABLE `glpi_plugin_purchaserequest_purchaserequests` (
  `id` int(10) UNSIGNED NOT NULL,
  `entities_id` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `is_recursive` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `name` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `users_id` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `groups_id` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `comment` text COLLATE utf8mb4_unicode_ci,
  `itemtype` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `types_id` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `due_date` timestamp NULL DEFAULT NULL,
  `users_id_validate` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `users_id_creator` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `status` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `comment_validation` text COLLATE utf8mb4_unicode_ci,
  `tickets_id` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `plugin_order_orders_id` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `date_mod` timestamp NULL DEFAULT NULL,
  `date_creation` timestamp NULL DEFAULT NULL,
  `is_deleted` tinyint(4) NOT NULL DEFAULT '0',
  `locations_id` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `plugin_purchaserequest_purchaserequeststates_id` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `processing_date` timestamp NULL DEFAULT NULL,
  `invoice_customer` tinyint(4) NOT NULL DEFAULT '0',
  `amount` int(10) UNSIGNED NOT NULL DEFAULT '0'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC;

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

--
-- Estrutura para tabela `glpi_plugin_purchaserequest_purchaserequeststates`
--

CREATE TABLE `glpi_plugin_purchaserequest_purchaserequeststates` (
  `id` int(10) UNSIGNED NOT NULL,
  `name` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `comment` text COLLATE utf8mb4_unicode_ci
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC;

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

--
-- Estrutura para tabela `glpi_plugin_purchaserequest_thresholds`
--

CREATE TABLE `glpi_plugin_purchaserequest_thresholds` (
  `id` int(10) UNSIGNED NOT NULL,
  `itemtype` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `items_id` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `thresholds` int(10) UNSIGNED NOT NULL DEFAULT '0'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC;

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

--
-- Estrutura para tabela `glpi_plugin_purchaserequest_validations`
--

CREATE TABLE `glpi_plugin_purchaserequest_validations` (
  `id` int(10) UNSIGNED NOT NULL,
  `entities_id` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `users_id` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `plugin_purchaserequest_purchaserequests_id` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `users_id_validate` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `status` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `comment_validation` text COLLATE utf8mb4_unicode_ci,
  `submission_date` timestamp NULL DEFAULT NULL,
  `validation_date` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC;

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

--
-- Estrutura para tabela `glpi_plugin_releases_changes_releases`
--

CREATE TABLE `glpi_plugin_releases_changes_releases` (
  `id` int(10) UNSIGNED NOT NULL,
  `plugin_releases_releases_id` int(10) UNSIGNED NOT NULL,
  `changes_id` int(10) UNSIGNED NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC;

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

--
-- Estrutura para tabela `glpi_plugin_releases_deploytasks`
--

CREATE TABLE `glpi_plugin_releases_deploytasks` (
  `id` int(10) UNSIGNED NOT NULL,
  `entities_id` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `name` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `plugin_releases_releases_id` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `plugin_releases_typedeploytasks_id` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `plugin_releases_risks_id` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `state` int(10) UNSIGNED NOT NULL DEFAULT '1',
  `date` timestamp NULL DEFAULT NULL,
  `begin` timestamp NULL DEFAULT NULL,
  `end` timestamp NULL DEFAULT NULL,
  `users_id` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `users_id_editor` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `users_id_tech` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `groups_id_tech` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `content` longtext COLLATE utf8mb4_unicode_ci,
  `actiontime` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `date_mod` timestamp NULL DEFAULT NULL,
  `date_creation` timestamp NULL DEFAULT NULL,
  `plugin_releases_deploytasktemplates_id` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `timeline_position` tinyint(4) NOT NULL DEFAULT '0',
  `plugin_releases_deploytasks_id` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `level` int(10) UNSIGNED NOT NULL DEFAULT '0'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC;

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

--
-- Estrutura para tabela `glpi_plugin_releases_deploytasktemplates`
--

CREATE TABLE `glpi_plugin_releases_deploytasktemplates` (
  `id` int(10) UNSIGNED NOT NULL,
  `entities_id` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `name` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `plugin_releases_releasetemplates_id` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `plugin_releases_typedeploytasks_id` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `plugin_releases_risks_id` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `state` int(10) UNSIGNED NOT NULL DEFAULT '1',
  `date` timestamp NULL DEFAULT NULL,
  `begin` timestamp NULL DEFAULT NULL,
  `end` timestamp NULL DEFAULT NULL,
  `users_id` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `users_id_editor` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `users_id_tech` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `groups_id_tech` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `content` longtext COLLATE utf8mb4_unicode_ci,
  `actiontime` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `date_mod` timestamp NULL DEFAULT NULL,
  `date_creation` timestamp NULL DEFAULT NULL,
  `plugin_releases_deploytasktemplates_id` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `timeline_position` tinyint(4) NOT NULL DEFAULT '0',
  `level` int(10) UNSIGNED NOT NULL DEFAULT '0'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC;

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

--
-- Estrutura para tabela `glpi_plugin_releases_groups_releases`
--

CREATE TABLE `glpi_plugin_releases_groups_releases` (
  `id` int(10) UNSIGNED NOT NULL,
  `plugin_releases_releases_id` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `groups_id` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `type` int(10) UNSIGNED NOT NULL DEFAULT '1'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC;

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

--
-- Estrutura para tabela `glpi_plugin_releases_groups_releasetemplates`
--

CREATE TABLE `glpi_plugin_releases_groups_releasetemplates` (
  `id` int(10) UNSIGNED NOT NULL,
  `plugin_releases_releasetemplates_id` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `groups_id` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `type` int(10) UNSIGNED NOT NULL DEFAULT '1'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC;

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

--
-- Estrutura para tabela `glpi_plugin_releases_releases`
--

CREATE TABLE `glpi_plugin_releases_releases` (
  `id` int(10) UNSIGNED NOT NULL,
  `entities_id` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `is_recursive` tinyint(4) NOT NULL DEFAULT '0',
  `name` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `content` longtext COLLATE utf8mb4_unicode_ci,
  `date` timestamp NULL DEFAULT NULL,
  `users_id_recipient` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `users_id_lastupdater` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `date_preproduction` timestamp NULL DEFAULT NULL,
  `date_production` timestamp NULL DEFAULT NULL,
  `begin_waiting_date` timestamp NULL DEFAULT NULL,
  `service_shutdown` tinyint(4) NOT NULL DEFAULT '0',
  `service_shutdown_details` longtext COLLATE utf8mb4_unicode_ci,
  `hour_type` tinyint(4) NOT NULL DEFAULT '0',
  `communication` tinyint(4) NOT NULL DEFAULT '0',
  `communication_type` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'ALL',
  `target` longtext COLLATE utf8mb4_unicode_ci,
  `status` int(10) UNSIGNED NOT NULL DEFAULT '7',
  `locations_id` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `date_mod` timestamp NULL DEFAULT NULL,
  `date_creation` timestamp NULL DEFAULT NULL,
  `date_end` timestamp NULL DEFAULT NULL,
  `is_deleted` tinyint(4) NOT NULL DEFAULT '0'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC;

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

--
-- Estrutura para tabela `glpi_plugin_releases_releases_items`
--

CREATE TABLE `glpi_plugin_releases_releases_items` (
  `id` int(10) UNSIGNED NOT NULL,
  `plugin_releases_releases_id` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `itemtype` varchar(100) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `items_id` int(10) UNSIGNED NOT NULL DEFAULT '0'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC;

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

--
-- Estrutura para tabela `glpi_plugin_releases_releases_suppliers`
--

CREATE TABLE `glpi_plugin_releases_releases_suppliers` (
  `id` int(10) UNSIGNED NOT NULL,
  `plugin_releases_releases_id` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `suppliers_id` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `type` int(10) UNSIGNED NOT NULL DEFAULT '1',
  `use_notification` tinyint(4) NOT NULL DEFAULT '1',
  `alternative_email` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC;

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

--
-- Estrutura para tabela `glpi_plugin_releases_releases_users`
--

CREATE TABLE `glpi_plugin_releases_releases_users` (
  `id` int(10) UNSIGNED NOT NULL,
  `plugin_releases_releases_id` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `users_id` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `type` int(10) UNSIGNED NOT NULL DEFAULT '1',
  `use_notification` tinyint(4) NOT NULL DEFAULT '0',
  `alternative_email` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC;

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

--
-- Estrutura para tabela `glpi_plugin_releases_releasetemplates`
--

CREATE TABLE `glpi_plugin_releases_releasetemplates` (
  `id` int(10) UNSIGNED NOT NULL,
  `entities_id` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `is_recursive` tinyint(4) NOT NULL DEFAULT '0',
  `name` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `content` longtext COLLATE utf8mb4_unicode_ci,
  `date_preproduction` timestamp NULL DEFAULT NULL,
  `date_production` timestamp NULL DEFAULT NULL,
  `service_shutdown` tinyint(4) NOT NULL DEFAULT '0',
  `service_shutdown_details` longtext COLLATE utf8mb4_unicode_ci,
  `locations_id` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `hour_type` tinyint(4) NOT NULL DEFAULT '0',
  `communication` tinyint(4) NOT NULL DEFAULT '0',
  `communication_type` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'ALL',
  `target` longtext COLLATE utf8mb4_unicode_ci,
  `status` int(10) UNSIGNED NOT NULL DEFAULT '7',
  `date_mod` timestamp NULL DEFAULT NULL,
  `date_creation` timestamp NULL DEFAULT NULL,
  `plugin_releases_releasetemplates_id` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `is_deleted` tinyint(4) NOT NULL DEFAULT '0'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC;

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

--
-- Estrutura para tabela `glpi_plugin_releases_releasetemplates_items`
--

CREATE TABLE `glpi_plugin_releases_releasetemplates_items` (
  `id` int(10) UNSIGNED NOT NULL,
  `plugin_releases_releasetemplates_id` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `itemtype` varchar(100) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `items_id` int(10) UNSIGNED NOT NULL DEFAULT '0'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC;

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

--
-- Estrutura para tabela `glpi_plugin_releases_releasetemplates_suppliers`
--

CREATE TABLE `glpi_plugin_releases_releasetemplates_suppliers` (
  `id` int(10) UNSIGNED NOT NULL,
  `plugin_releases_releasetemplates_id` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `suppliers_id` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `type` int(10) UNSIGNED NOT NULL DEFAULT '1',
  `use_notification` tinyint(4) NOT NULL DEFAULT '1',
  `alternative_email` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC;

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

--
-- Estrutura para tabela `glpi_plugin_releases_releasetemplates_users`
--

CREATE TABLE `glpi_plugin_releases_releasetemplates_users` (
  `id` int(10) UNSIGNED NOT NULL,
  `plugin_releases_releasetemplates_id` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `users_id` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `type` int(10) UNSIGNED NOT NULL DEFAULT '1',
  `use_notification` tinyint(4) NOT NULL DEFAULT '0',
  `alternative_email` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC;

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

--
-- Estrutura para tabela `glpi_plugin_releases_reviews`
--

CREATE TABLE `glpi_plugin_releases_reviews` (
  `id` int(10) UNSIGNED NOT NULL,
  `entities_id` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `name` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `plugin_releases_releases_id` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `real_date_release` timestamp NULL DEFAULT NULL,
  `conforming_realization` tinyint(4) NOT NULL DEFAULT '0',
  `incident` tinyint(4) NOT NULL DEFAULT '0',
  `incident_description` longtext COLLATE utf8mb4_unicode_ci,
  `date_lock` tinyint(4) NOT NULL DEFAULT '0'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC;

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

--
-- Estrutura para tabela `glpi_plugin_releases_risks`
--

CREATE TABLE `glpi_plugin_releases_risks` (
  `id` int(10) UNSIGNED NOT NULL,
  `entities_id` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `plugin_releases_releases_id` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `plugin_releases_typerisks_id` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `state` int(10) UNSIGNED NOT NULL DEFAULT '1',
  `name` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `users_id` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `users_id_editor` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `content` text COLLATE utf8mb4_unicode_ci,
  `date_mod` timestamp NULL DEFAULT NULL,
  `date_creation` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC;

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

--
-- Estrutura para tabela `glpi_plugin_releases_risktemplates`
--

CREATE TABLE `glpi_plugin_releases_risktemplates` (
  `id` int(10) UNSIGNED NOT NULL,
  `entities_id` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `plugin_releases_releasetemplates_id` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `plugin_releases_typerisks_id` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `state` int(10) UNSIGNED NOT NULL DEFAULT '1',
  `name` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `users_id` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `users_id_editor` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `content` text COLLATE utf8mb4_unicode_ci,
  `date_mod` timestamp NULL DEFAULT NULL,
  `date_creation` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC;

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

--
-- Estrutura para tabela `glpi_plugin_releases_rollbacks`
--

CREATE TABLE `glpi_plugin_releases_rollbacks` (
  `id` int(10) UNSIGNED NOT NULL,
  `entities_id` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `plugin_releases_releases_id` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `name` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `state` int(10) UNSIGNED NOT NULL DEFAULT '1',
  `users_id` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `users_id_editor` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `content` longtext COLLATE utf8mb4_unicode_ci,
  `plugin_releases_rollbacktemplates_id` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `date_mod` timestamp NULL DEFAULT NULL,
  `date_creation` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC;

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

--
-- Estrutura para tabela `glpi_plugin_releases_rollbacktemplates`
--

CREATE TABLE `glpi_plugin_releases_rollbacktemplates` (
  `id` int(10) UNSIGNED NOT NULL,
  `entities_id` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `plugin_releases_releasetemplates_id` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `name` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `state` int(10) UNSIGNED NOT NULL DEFAULT '1',
  `users_id` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `users_id_editor` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `content` longtext COLLATE utf8mb4_unicode_ci,
  `plugin_releases_rollbacktemplates_id` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `date_mod` timestamp NULL DEFAULT NULL,
  `date_creation` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC;

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

--
-- Estrutura para tabela `glpi_plugin_releases_tests`
--

CREATE TABLE `glpi_plugin_releases_tests` (
  `id` int(10) UNSIGNED NOT NULL,
  `entities_id` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `plugin_releases_releases_id` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `plugin_releases_typetests_id` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `plugin_releases_risks_id` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `state` int(10) UNSIGNED NOT NULL DEFAULT '1',
  `name` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `users_id` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `users_id_editor` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `content` longtext COLLATE utf8mb4_unicode_ci,
  `date_mod` timestamp NULL DEFAULT NULL,
  `date_creation` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC;

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

--
-- Estrutura para tabela `glpi_plugin_releases_testtemplates`
--

CREATE TABLE `glpi_plugin_releases_testtemplates` (
  `id` int(10) UNSIGNED NOT NULL,
  `entities_id` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `plugin_releases_releasetemplates_id` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `plugin_releases_typetests_id` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `plugin_releases_risks_id` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `state` int(10) UNSIGNED NOT NULL DEFAULT '1',
  `name` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `users_id` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `users_id_editor` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `content` longtext COLLATE utf8mb4_unicode_ci,
  `date_mod` timestamp NULL DEFAULT NULL,
  `date_creation` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC;

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

--
-- Estrutura para tabela `glpi_plugin_releases_typedeploytasks`
--

CREATE TABLE `glpi_plugin_releases_typedeploytasks` (
  `id` int(10) UNSIGNED NOT NULL,
  `entities_id` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `name` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `comment` text COLLATE utf8mb4_unicode_ci,
  `plugin_releases_typedeploytasks_id` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `completename` text COLLATE utf8mb4_unicode_ci,
  `level` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `ancestors_cache` longtext COLLATE utf8mb4_unicode_ci,
  `sons_cache` longtext COLLATE utf8mb4_unicode_ci
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC;

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

--
-- Estrutura para tabela `glpi_plugin_releases_typerisks`
--

CREATE TABLE `glpi_plugin_releases_typerisks` (
  `id` int(10) UNSIGNED NOT NULL,
  `entities_id` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `name` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `comment` text COLLATE utf8mb4_unicode_ci,
  `plugin_releases_typerisks_id` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `completename` text COLLATE utf8mb4_unicode_ci,
  `level` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `ancestors_cache` longtext COLLATE utf8mb4_unicode_ci,
  `sons_cache` longtext COLLATE utf8mb4_unicode_ci
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC;

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

--
-- Estrutura para tabela `glpi_plugin_releases_typetests`
--

CREATE TABLE `glpi_plugin_releases_typetests` (
  `id` int(10) UNSIGNED NOT NULL,
  `entities_id` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `name` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `comment` text COLLATE utf8mb4_unicode_ci,
  `plugin_releases_typetests_id` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `completename` text COLLATE utf8mb4_unicode_ci,
  `level` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `ancestors_cache` longtext COLLATE utf8mb4_unicode_ci,
  `sons_cache` longtext COLLATE utf8mb4_unicode_ci
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC;

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

--
-- Estrutura para tabela `glpi_plugin_resources_actionprofiles`
--

CREATE TABLE `glpi_plugin_resources_actionprofiles` (
  `id` int(10) UNSIGNED NOT NULL,
  `actions_id` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '0',
  `profiles_id` int(10) UNSIGNED NOT NULL DEFAULT '0'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC;

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

--
-- Estrutura para tabela `glpi_plugin_resources_budgets`
--

CREATE TABLE `glpi_plugin_resources_budgets` (
  `id` int(10) UNSIGNED NOT NULL,
  `entities_id` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `is_recursive` tinyint(4) NOT NULL DEFAULT '0',
  `name` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `plugin_resources_professions_id` int(10) UNSIGNED NOT NULL DEFAULT '0' COMMENT 'RELATION to glpi_plugin_resources_professions (id)',
  `plugin_resources_ranks_id` int(10) UNSIGNED NOT NULL DEFAULT '0' COMMENT 'RELATION to glpi_plugin_resources_ranks (id)',
  `plugin_resources_budgettypes_id` int(10) UNSIGNED NOT NULL DEFAULT '0' COMMENT 'RELATION to glpi_plugin_resources_budgettypes (id)',
  `plugin_resources_budgetvolumes_id` int(10) UNSIGNED NOT NULL DEFAULT '0' COMMENT 'RELATION to glpi_plugin_resources_budgetvolumes (id)',
  `begin_date` timestamp NULL DEFAULT NULL,
  `end_date` timestamp NULL DEFAULT NULL,
  `volume` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `date_mod` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC;

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

--
-- Estrutura para tabela `glpi_plugin_resources_budgettypes`
--

CREATE TABLE `glpi_plugin_resources_budgettypes` (
  `id` int(10) UNSIGNED NOT NULL,
  `entities_id` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `is_recursive` tinyint(4) NOT NULL DEFAULT '0',
  `name` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `code` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `comment` text COLLATE utf8mb4_unicode_ci
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC;

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

--
-- Estrutura para tabela `glpi_plugin_resources_budgetvolumes`
--

CREATE TABLE `glpi_plugin_resources_budgetvolumes` (
  `id` int(10) UNSIGNED NOT NULL,
  `entities_id` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `is_recursive` tinyint(4) NOT NULL DEFAULT '0',
  `name` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `code` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `comment` text COLLATE utf8mb4_unicode_ci
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC;

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

--
-- Estrutura para tabela `glpi_plugin_resources_checklistconfigs`
--

CREATE TABLE `glpi_plugin_resources_checklistconfigs` (
  `id` int(10) UNSIGNED NOT NULL,
  `name` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `entities_id` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `tag` tinyint(4) NOT NULL DEFAULT '0',
  `address` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `comment` text COLLATE utf8mb4_unicode_ci,
  `itemtype` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT '',
  `items` int(10) UNSIGNED NOT NULL DEFAULT '0'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC;

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

--
-- Estrutura para tabela `glpi_plugin_resources_checklists`
--

CREATE TABLE `glpi_plugin_resources_checklists` (
  `id` int(10) UNSIGNED NOT NULL,
  `name` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `entities_id` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `plugin_resources_resources_id` int(10) UNSIGNED NOT NULL DEFAULT '0' COMMENT 'RELATION to glpi_plugin_resources_resources (id)',
  `plugin_resources_tasks_id` int(10) UNSIGNED NOT NULL DEFAULT '0' COMMENT 'RELATION to glpi_plugin_resources_tasks (id)',
  `plugin_resources_contracttypes_id` int(10) UNSIGNED NOT NULL DEFAULT '0' COMMENT 'RELATION to glpi_plugin_resources_contracttypes (id)',
  `checklist_type` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `tag` tinyint(4) NOT NULL DEFAULT '0',
  `is_checked` tinyint(4) NOT NULL DEFAULT '0',
  `address` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `rank` smallint(6) NOT NULL DEFAULT '0',
  `comment` text COLLATE utf8mb4_unicode_ci
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC;

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

--
-- Estrutura para tabela `glpi_plugin_resources_choiceitems`
--

CREATE TABLE `glpi_plugin_resources_choiceitems` (
  `id` int(10) UNSIGNED NOT NULL,
  `entities_id` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `is_recursive` tinyint(4) NOT NULL DEFAULT '0',
  `plugin_resources_choiceitems_id` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `completename` text COLLATE utf8mb4_unicode_ci,
  `level` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `ancestors_cache` longtext COLLATE utf8mb4_unicode_ci,
  `sons_cache` longtext COLLATE utf8mb4_unicode_ci,
  `is_helpdesk_visible` int(10) UNSIGNED NOT NULL DEFAULT '1',
  `name` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `comment` text COLLATE utf8mb4_unicode_ci
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC;

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

--
-- Estrutura para tabela `glpi_plugin_resources_choices`
--

CREATE TABLE `glpi_plugin_resources_choices` (
  `id` int(10) UNSIGNED NOT NULL,
  `plugin_resources_resources_id` int(10) UNSIGNED NOT NULL DEFAULT '0' COMMENT 'RELATION to glpi_plugin_resources_resources (id)',
  `plugin_resources_choiceitems_id` int(10) UNSIGNED NOT NULL DEFAULT '0' COMMENT 'RELATION to glpi_plugin_resources_choiceitems (id)',
  `comment` text COLLATE utf8mb4_unicode_ci
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC;

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

--
-- Estrutura para tabela `glpi_plugin_resources_clients`
--

CREATE TABLE `glpi_plugin_resources_clients` (
  `id` int(10) UNSIGNED NOT NULL,
  `entities_id` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `is_recursive` tinyint(4) NOT NULL DEFAULT '0',
  `name` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `security_compliance` tinyint(4) NOT NULL DEFAULT '0',
  `comment` text COLLATE utf8mb4_unicode_ci,
  `security_and` tinyint(4) NOT NULL DEFAULT '0',
  `security_fifour` tinyint(4) NOT NULL DEFAULT '0',
  `security_gisf` tinyint(4) NOT NULL DEFAULT '0',
  `security_cfi` tinyint(4) NOT NULL DEFAULT '0'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC;

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

--
-- Estrutura para tabela `glpi_plugin_resources_confighabilitations`
--

CREATE TABLE `glpi_plugin_resources_confighabilitations` (
  `id` int(10) UNSIGNED NOT NULL,
  `entities_id` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `action` tinyint(4) NOT NULL DEFAULT '0',
  `plugin_metademands_metademands_id` int(10) UNSIGNED NOT NULL DEFAULT '0'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC;

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

--
-- Estrutura para tabela `glpi_plugin_resources_configs`
--

CREATE TABLE `glpi_plugin_resources_configs` (
  `id` int(10) UNSIGNED NOT NULL,
  `security_display` tinyint(4) NOT NULL DEFAULT '0',
  `security_compliance` tinyint(4) NOT NULL DEFAULT '0',
  `import_external_datas` tinyint(4) NOT NULL DEFAULT '0',
  `resource_manager` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '',
  `sales_manager` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '',
  `create_ticket_departure` tinyint(4) NOT NULL DEFAULT '0',
  `categories_id` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `mandatory_checklist` tinyint(4) NOT NULL DEFAULT '0',
  `mandatory_adcreation` tinyint(4) NOT NULL DEFAULT '0',
  `plugin_resources_resourcetemplates_id` int(10) UNSIGNED DEFAULT '0',
  `plugin_resources_resourcestates_id_arrival` int(10) UNSIGNED DEFAULT '0',
  `plugin_resources_resourcestates_id_departure` int(10) UNSIGNED DEFAULT '0',
  `reaffect_checklist_change` tinyint(4) NOT NULL DEFAULT '1',
  `allow_without_contract` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `use_service_department_ad` tinyint(4) NOT NULL DEFAULT '0',
  `use_secondary_service` tinyint(4) NOT NULL DEFAULT '0',
  `use_meta_for_changes` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `use_meta_for_leave` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `remove_habilitation_on_update` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `display_habilitations_txt` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `hide_view_commercial_resource` tinyint(4) NOT NULL DEFAULT '0'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC;

--
-- Despejando dados para a tabela `glpi_plugin_resources_configs`
--

INSERT INTO `glpi_plugin_resources_configs` (`id`, `security_display`, `security_compliance`, `import_external_datas`, `resource_manager`, `sales_manager`, `create_ticket_departure`, `categories_id`, `mandatory_checklist`, `mandatory_adcreation`, `plugin_resources_resourcetemplates_id`, `plugin_resources_resourcestates_id_arrival`, `plugin_resources_resourcestates_id_departure`, `reaffect_checklist_change`, `allow_without_contract`, `use_service_department_ad`, `use_secondary_service`, `use_meta_for_changes`, `use_meta_for_leave`, `remove_habilitation_on_update`, `display_habilitations_txt`, `hide_view_commercial_resource`) VALUES
(1, 0, 0, 0, '', '', 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0);

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

--
-- Estrutura para tabela `glpi_plugin_resources_contractnatures`
--

CREATE TABLE `glpi_plugin_resources_contractnatures` (
  `id` int(10) UNSIGNED NOT NULL,
  `entities_id` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `is_recursive` tinyint(4) NOT NULL DEFAULT '0',
  `name` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `code` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `comment` text COLLATE utf8mb4_unicode_ci
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC;

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

--
-- Estrutura para tabela `glpi_plugin_resources_contracttypeprofiles`
--

CREATE TABLE `glpi_plugin_resources_contracttypeprofiles` (
  `id` int(10) UNSIGNED NOT NULL,
  `plugin_resources_contracttypes_id` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '0',
  `profiles_id` int(10) UNSIGNED NOT NULL DEFAULT '0'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC;

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

--
-- Estrutura para tabela `glpi_plugin_resources_contracttypes`
--

CREATE TABLE `glpi_plugin_resources_contracttypes` (
  `id` int(10) UNSIGNED NOT NULL,
  `entities_id` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `is_recursive` tinyint(4) NOT NULL DEFAULT '0',
  `name` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `code` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `use_employee_wizard` tinyint(4) NOT NULL DEFAULT '1',
  `use_need_wizard` tinyint(4) NOT NULL DEFAULT '1',
  `use_picture_wizard` tinyint(4) NOT NULL DEFAULT '1',
  `use_habilitation_wizard` tinyint(4) NOT NULL DEFAULT '0',
  `comment` text COLLATE utf8mb4_unicode_ci,
  `use_second_matricule` tinyint(4) NOT NULL DEFAULT '0',
  `use_second_list_employer` tinyint(4) NOT NULL DEFAULT '0'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC;

--
-- Despejando dados para a tabela `glpi_plugin_resources_contracttypes`
--

INSERT INTO `glpi_plugin_resources_contracttypes` (`id`, `entities_id`, `is_recursive`, `name`, `code`, `use_employee_wizard`, `use_need_wizard`, `use_picture_wizard`, `use_habilitation_wizard`, `comment`, `use_second_matricule`, `use_second_list_employer`) VALUES
(1, 0, 1, 'Contrato a longo prazo', NULL, 1, 1, 1, 0, NULL, 0, 0),
(2, 0, 1, 'Contrato por prazo determinado', NULL, 1, 1, 1, 0, NULL, 0, 0),
(3, 0, 1, 'Em treinamento', NULL, 1, 1, 1, 0, NULL, 0, 0);

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

--
-- Estrutura para tabela `glpi_plugin_resources_costs`
--

CREATE TABLE `glpi_plugin_resources_costs` (
  `id` int(10) UNSIGNED NOT NULL,
  `entities_id` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `is_recursive` tinyint(4) NOT NULL DEFAULT '0',
  `name` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `plugin_resources_professions_id` int(10) UNSIGNED NOT NULL DEFAULT '0' COMMENT 'RELATION to glpi_plugin_resources_professions (id)',
  `plugin_resources_ranks_id` int(10) UNSIGNED NOT NULL DEFAULT '0' COMMENT 'RELATION to glpi_plugin_resources_ranks (id)',
  `begin_date` timestamp NULL DEFAULT NULL,
  `end_date` timestamp NULL DEFAULT NULL,
  `cost` decimal(10,2) NOT NULL DEFAULT '0.00',
  `comment` text COLLATE utf8mb4_unicode_ci
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC;

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

--
-- Estrutura para tabela `glpi_plugin_resources_departments`
--

CREATE TABLE `glpi_plugin_resources_departments` (
  `id` int(10) UNSIGNED NOT NULL,
  `entities_id` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `plugin_resources_employers_id` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `is_recursive` tinyint(4) NOT NULL DEFAULT '0',
  `name` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `comment` text COLLATE utf8mb4_unicode_ci
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC;

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

--
-- Estrutura para tabela `glpi_plugin_resources_departments_services`
--

CREATE TABLE `glpi_plugin_resources_departments_services` (
  `id` int(10) UNSIGNED NOT NULL,
  `plugin_resources_departments_id` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `plugin_resources_services_id` int(10) UNSIGNED NOT NULL DEFAULT '0'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC;

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

--
-- Estrutura para tabela `glpi_plugin_resources_employees`
--

CREATE TABLE `glpi_plugin_resources_employees` (
  `id` int(10) UNSIGNED NOT NULL,
  `plugin_resources_resources_id` int(10) UNSIGNED NOT NULL DEFAULT '0' COMMENT 'RELATION to glpi_plugin_resources_resources (id)',
  `plugin_resources_employers_id` int(10) UNSIGNED NOT NULL DEFAULT '0' COMMENT 'RELATION to glpi_plugin_resources_employers (id)',
  `plugin_resources_clients_id` int(10) UNSIGNED NOT NULL DEFAULT '0' COMMENT 'RELATION to glpi_plugin_resources_clients (id)'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC;

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

--
-- Estrutura para tabela `glpi_plugin_resources_employers`
--

CREATE TABLE `glpi_plugin_resources_employers` (
  `id` int(10) UNSIGNED NOT NULL,
  `entities_id` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `is_recursive` tinyint(4) NOT NULL DEFAULT '0',
  `name` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `short_name` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `locations_id` int(10) UNSIGNED NOT NULL DEFAULT '0' COMMENT 'RELATION to glpi_locations (id)',
  `plugin_resources_employers_id` int(10) UNSIGNED NOT NULL DEFAULT '0' COMMENT 'RELATION to glpi_plugin_resources_employers (id)',
  `code` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `comment` text COLLATE utf8mb4_unicode_ci,
  `completename` text COLLATE utf8mb4_unicode_ci,
  `level` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `ancestors_cache` longtext COLLATE utf8mb4_unicode_ci,
  `sons_cache` longtext COLLATE utf8mb4_unicode_ci,
  `second_list` tinyint(4) NOT NULL DEFAULT '0'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC;

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

--
-- Estrutura para tabela `glpi_plugin_resources_employments`
--

CREATE TABLE `glpi_plugin_resources_employments` (
  `id` int(10) UNSIGNED NOT NULL,
  `name` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `entities_id` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `is_recursive` tinyint(4) NOT NULL DEFAULT '0',
  `plugin_resources_resources_id` int(10) UNSIGNED NOT NULL DEFAULT '0' COMMENT 'RELATION to glpi_plugin_resources_resources (id)',
  `plugin_resources_professions_id` int(10) UNSIGNED NOT NULL DEFAULT '0' COMMENT 'RELATION to glpi_plugin_resources_professions (id)',
  `plugin_resources_ranks_id` int(10) UNSIGNED NOT NULL DEFAULT '0' COMMENT 'RELATION to glpi_plugin_resources_resources_ranks (id)',
  `plugin_resources_employmentstates_id` int(10) UNSIGNED NOT NULL DEFAULT '0' COMMENT 'RELATION to glpi_plugin_resources_employmentstates (id)',
  `plugin_resources_employers_id` int(10) UNSIGNED NOT NULL DEFAULT '0' COMMENT 'RELATION to glpi_plugin_resources_employers (id)',
  `ratio_employment_budget` decimal(10,2) NOT NULL DEFAULT '0.00',
  `begin_date` timestamp NULL DEFAULT NULL,
  `end_date` timestamp NULL DEFAULT NULL,
  `date_mod` timestamp NULL DEFAULT NULL,
  `comment` text COLLATE utf8mb4_unicode_ci
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC;

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

--
-- Estrutura para tabela `glpi_plugin_resources_employmentstates`
--

CREATE TABLE `glpi_plugin_resources_employmentstates` (
  `id` int(10) UNSIGNED NOT NULL,
  `entities_id` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `is_recursive` tinyint(4) NOT NULL DEFAULT '0',
  `name` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `short_name` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `is_active` tinyint(4) NOT NULL DEFAULT '0',
  `is_leaving_state` tinyint(4) NOT NULL DEFAULT '0',
  `comment` text COLLATE utf8mb4_unicode_ci
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC;

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

--
-- Estrutura para tabela `glpi_plugin_resources_functions`
--

CREATE TABLE `glpi_plugin_resources_functions` (
  `id` int(10) UNSIGNED NOT NULL,
  `entities_id` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `is_recursive` tinyint(4) NOT NULL DEFAULT '0',
  `name` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `comment` text COLLATE utf8mb4_unicode_ci
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC;

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

--
-- Estrutura para tabela `glpi_plugin_resources_habilitationlevels`
--

CREATE TABLE `glpi_plugin_resources_habilitationlevels` (
  `id` int(10) UNSIGNED NOT NULL,
  `entities_id` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `is_recursive` tinyint(4) NOT NULL DEFAULT '0',
  `name` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `comment` text COLLATE utf8mb4_unicode_ci,
  `number` tinyint(4) NOT NULL DEFAULT '0',
  `is_mandatory_creating_resource` tinyint(4) NOT NULL DEFAULT '0'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC;

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

--
-- Estrutura para tabela `glpi_plugin_resources_habilitations`
--

CREATE TABLE `glpi_plugin_resources_habilitations` (
  `id` int(10) UNSIGNED NOT NULL,
  `entities_id` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `is_recursive` tinyint(4) NOT NULL DEFAULT '0',
  `name` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `plugin_resources_habilitations_id` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `plugin_resources_habilitationlevels_id` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `completename` text COLLATE utf8mb4_unicode_ci,
  `comment` text COLLATE utf8mb4_unicode_ci,
  `level` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `ancestors_cache` longtext COLLATE utf8mb4_unicode_ci,
  `sons_cache` longtext COLLATE utf8mb4_unicode_ci
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC;

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

--
-- Estrutura para tabela `glpi_plugin_resources_importcolumns`
--

CREATE TABLE `glpi_plugin_resources_importcolumns` (
  `id` int(10) UNSIGNED NOT NULL,
  `name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `type` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `resource_column` int(10) UNSIGNED NOT NULL,
  `is_identifier` tinyint(4) NOT NULL DEFAULT '0',
  `plugin_resources_imports_id` int(10) UNSIGNED NOT NULL DEFAULT '0'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC;

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

--
-- Estrutura para tabela `glpi_plugin_resources_importresourcedatas`
--

CREATE TABLE `glpi_plugin_resources_importresourcedatas` (
  `id` int(10) UNSIGNED NOT NULL,
  `name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `value` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `plugin_resources_importresources_id` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `plugin_resources_importcolumns_id` int(10) UNSIGNED NOT NULL DEFAULT '0'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC;

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

--
-- Estrutura para tabela `glpi_plugin_resources_importresources`
--

CREATE TABLE `glpi_plugin_resources_importresources` (
  `id` int(10) UNSIGNED NOT NULL,
  `date_creation` timestamp NULL DEFAULT NULL,
  `plugin_resources_imports_id` int(10) UNSIGNED NOT NULL DEFAULT '0'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC;

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

--
-- Estrutura para tabela `glpi_plugin_resources_imports`
--

CREATE TABLE `glpi_plugin_resources_imports` (
  `id` int(10) UNSIGNED NOT NULL,
  `name` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `comment` text COLLATE utf8mb4_unicode_ci,
  `is_active` tinyint(4) NOT NULL DEFAULT '0',
  `is_deleted` tinyint(4) NOT NULL DEFAULT '0',
  `date_creation` timestamp NULL DEFAULT NULL,
  `date_mod` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC;

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

--
-- Estrutura para tabela `glpi_plugin_resources_leavingreasons`
--

CREATE TABLE `glpi_plugin_resources_leavingreasons` (
  `id` int(10) UNSIGNED NOT NULL,
  `entities_id` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `is_recursive` tinyint(4) NOT NULL DEFAULT '0',
  `name` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `comment` text COLLATE utf8mb4_unicode_ci
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC;

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

--
-- Estrutura para tabela `glpi_plugin_resources_linkads`
--

CREATE TABLE `glpi_plugin_resources_linkads` (
  `id` int(10) UNSIGNED NOT NULL,
  `plugin_resources_resources_id` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `auth_id` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `login` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `mail` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `phone` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `role` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `service` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `location` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `cellphone` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `action_done` tinyint(4) NOT NULL DEFAULT '0'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC;

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

--
-- Estrutura para tabela `glpi_plugin_resources_linkmetademands`
--

CREATE TABLE `glpi_plugin_resources_linkmetademands` (
  `id` int(10) UNSIGNED NOT NULL,
  `plugin_metademands_fields_id` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `plugin_metademands_metademands_id` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `check_value` text COLLATE utf8mb4_unicode_ci,
  `checklist_in` text COLLATE utf8mb4_unicode_ci,
  `checklist_out` text COLLATE utf8mb4_unicode_ci,
  `habilitation` text COLLATE utf8mb4_unicode_ci,
  `is_leaving_resource` tinyint(4) NOT NULL DEFAULT '0'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC;

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

--
-- Estrutura para tabela `glpi_plugin_resources_notifications`
--

CREATE TABLE `glpi_plugin_resources_notifications` (
  `id` int(10) UNSIGNED NOT NULL,
  `plugin_resources_resources_id` int(10) UNSIGNED NOT NULL DEFAULT '0' COMMENT 'RELATION to glpi_plugin_resources_resources (id)',
  `date_mod` timestamp NULL DEFAULT NULL,
  `users_id` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `type` varchar(50) COLLATE utf8mb4_unicode_ci DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC;

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

--
-- Estrutura para tabela `glpi_plugin_resources_professioncategories`
--

CREATE TABLE `glpi_plugin_resources_professioncategories` (
  `id` int(10) UNSIGNED NOT NULL,
  `entities_id` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `is_recursive` tinyint(4) NOT NULL DEFAULT '0',
  `name` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `code` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `comment` text COLLATE utf8mb4_unicode_ci
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC;

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

--
-- Estrutura para tabela `glpi_plugin_resources_professionlines`
--

CREATE TABLE `glpi_plugin_resources_professionlines` (
  `id` int(10) UNSIGNED NOT NULL,
  `entities_id` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `is_recursive` tinyint(4) NOT NULL DEFAULT '0',
  `name` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `code` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `comment` text COLLATE utf8mb4_unicode_ci
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC;

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

--
-- Estrutura para tabela `glpi_plugin_resources_professions`
--

CREATE TABLE `glpi_plugin_resources_professions` (
  `id` int(10) UNSIGNED NOT NULL,
  `entities_id` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `is_recursive` tinyint(4) NOT NULL DEFAULT '0',
  `name` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `code` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `short_name` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `plugin_resources_professionlines_id` int(10) UNSIGNED NOT NULL DEFAULT '0' COMMENT 'RELATION to glpi_plugin_resources_professionlines (id)',
  `plugin_resources_professioncategories_id` int(10) UNSIGNED NOT NULL DEFAULT '0' COMMENT 'RELATION to glpi_plugin_resources_professioncategories (id)',
  `is_active` tinyint(4) NOT NULL DEFAULT '0',
  `comment` text COLLATE utf8mb4_unicode_ci,
  `begin_date` timestamp NULL DEFAULT NULL,
  `end_date` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC;

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

--
-- Estrutura para tabela `glpi_plugin_resources_ranks`
--

CREATE TABLE `glpi_plugin_resources_ranks` (
  `id` int(10) UNSIGNED NOT NULL,
  `entities_id` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `is_recursive` tinyint(4) NOT NULL DEFAULT '0',
  `name` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `code` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `short_name` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `plugin_resources_professions_id` int(10) UNSIGNED NOT NULL DEFAULT '0' COMMENT 'RELATION to glpi_plugin_resources_professions (id)',
  `is_active` tinyint(4) NOT NULL DEFAULT '0',
  `comment` text COLLATE utf8mb4_unicode_ci,
  `begin_date` timestamp NULL DEFAULT NULL,
  `end_date` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC;

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

--
-- Estrutura para tabela `glpi_plugin_resources_reportconfigs`
--

CREATE TABLE `glpi_plugin_resources_reportconfigs` (
  `id` int(10) UNSIGNED NOT NULL,
  `plugin_resources_resources_id` int(10) UNSIGNED NOT NULL DEFAULT '0' COMMENT 'RELATION to glpi_plugin_resources_resources (id)',
  `send_report_notif` tinyint(4) NOT NULL DEFAULT '1',
  `send_other_notif` tinyint(4) NOT NULL DEFAULT '0',
  `send_transfer_notif` tinyint(4) NOT NULL DEFAULT '0',
  `comment` text COLLATE utf8mb4_unicode_ci,
  `information` text COLLATE utf8mb4_unicode_ci
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC;

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

--
-- Estrutura para tabela `glpi_plugin_resources_resourcebadges`
--

CREATE TABLE `glpi_plugin_resources_resourcebadges` (
  `id` int(10) UNSIGNED NOT NULL,
  `entities_id` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `plugin_metademands_metademands_id` int(10) UNSIGNED NOT NULL DEFAULT '0'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC;

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

--
-- Estrutura para tabela `glpi_plugin_resources_resourcehabilitations`
--

CREATE TABLE `glpi_plugin_resources_resourcehabilitations` (
  `id` int(10) UNSIGNED NOT NULL,
  `plugin_resources_resources_id` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `plugin_resources_habilitations_id` int(10) UNSIGNED NOT NULL DEFAULT '0'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC;

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

--
-- Estrutura para tabela `glpi_plugin_resources_resourceholidays`
--

CREATE TABLE `glpi_plugin_resources_resourceholidays` (
  `id` int(10) UNSIGNED NOT NULL,
  `plugin_resources_resources_id` int(10) UNSIGNED NOT NULL DEFAULT '0' COMMENT 'RELATION to glpi_plugin_resources_resources (id)',
  `date_begin` timestamp NULL DEFAULT NULL,
  `date_end` timestamp NULL DEFAULT NULL,
  `comment` text COLLATE utf8mb4_unicode_ci
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC;

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

--
-- Estrutura para tabela `glpi_plugin_resources_resourceimports`
--

CREATE TABLE `glpi_plugin_resources_resourceimports` (
  `id` int(10) UNSIGNED NOT NULL,
  `name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `value` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `plugin_resources_resources_id` int(10) UNSIGNED NOT NULL DEFAULT '0'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC;

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

--
-- Estrutura para tabela `glpi_plugin_resources_resourcerestings`
--

CREATE TABLE `glpi_plugin_resources_resourcerestings` (
  `id` int(10) UNSIGNED NOT NULL,
  `plugin_resources_resources_id` int(10) UNSIGNED NOT NULL DEFAULT '0' COMMENT 'RELATION to glpi_plugin_resources_resources (id)',
  `date_begin` timestamp NULL DEFAULT NULL,
  `date_end` timestamp NULL DEFAULT NULL,
  `locations_id` int(10) UNSIGNED NOT NULL DEFAULT '0' COMMENT 'RELATION to glpi_locations (id)',
  `at_home` tinyint(4) NOT NULL DEFAULT '0',
  `comment` text COLLATE utf8mb4_unicode_ci
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC;

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

--
-- Estrutura para tabela `glpi_plugin_resources_resources`
--

CREATE TABLE `glpi_plugin_resources_resources` (
  `id` int(10) UNSIGNED NOT NULL,
  `entities_id` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `is_recursive` tinyint(4) NOT NULL DEFAULT '0',
  `name` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `firstname` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `plugin_resources_contracttypes_id` int(10) UNSIGNED NOT NULL DEFAULT '0' COMMENT 'RELATION to glpi_plugin_resources_contracttypes (id)',
  `users_id` int(10) UNSIGNED NOT NULL DEFAULT '0' COMMENT 'RELATION to glpi_users (id)',
  `users_id_sales` int(10) UNSIGNED NOT NULL DEFAULT '0' COMMENT 'RELATION to glpi_users (id)',
  `users_id_recipient` int(10) UNSIGNED NOT NULL DEFAULT '0' COMMENT 'RELATION to glpi_users (id)',
  `date_declaration` timestamp NULL DEFAULT NULL,
  `date_begin` timestamp NULL DEFAULT NULL,
  `date_end` timestamp NULL DEFAULT NULL,
  `quota` decimal(10,4) NOT NULL DEFAULT '1.0000',
  `plugin_resources_departments_id` int(10) UNSIGNED NOT NULL DEFAULT '0' COMMENT 'RELATION to glpi_plugin_resources_departments (id)',
  `plugin_resources_resourcestates_id` int(10) UNSIGNED NOT NULL DEFAULT '0' COMMENT 'RELATION to glpi_plugin_resources_resourcestates (id)',
  `plugin_resources_resourcesituations_id` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `plugin_resources_contractnatures_id` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `plugin_resources_ranks_id` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `plugin_resources_resourcespecialities_id` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `locations_id` int(10) UNSIGNED NOT NULL DEFAULT '0' COMMENT 'RELATION to glpi_locations (id)',
  `is_leaving` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `plugin_resources_leavingreasons_id` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `date_declaration_leaving` timestamp NULL DEFAULT NULL,
  `users_id_recipient_leaving` int(10) UNSIGNED NOT NULL DEFAULT '0' COMMENT 'RELATION to glpi_users (id)',
  `picture` varchar(100) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `is_helpdesk_visible` int(10) UNSIGNED NOT NULL DEFAULT '1',
  `date_mod` timestamp NULL DEFAULT NULL,
  `comment` text COLLATE utf8mb4_unicode_ci,
  `is_template` tinyint(4) NOT NULL DEFAULT '0',
  `template_name` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `is_deleted` tinyint(4) NOT NULL DEFAULT '0',
  `sensitize_security` tinyint(4) NOT NULL DEFAULT '0',
  `read_chart` tinyint(4) NOT NULL DEFAULT '0',
  `plugin_resources_roles_id` int(10) UNSIGNED NOT NULL DEFAULT '0' COMMENT 'RELATION to glpi_plugin_resources_roles (id)',
  `matricule` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '',
  `plugin_resources_functions_id` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `plugin_resources_teams_id` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `plugin_resources_services_id` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `matricule_second` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `secondary_services` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `gender` varchar(3) COLLATE utf8mb4_unicode_ci DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC;

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

--
-- Estrutura para tabela `glpi_plugin_resources_resourcesituations`
--

CREATE TABLE `glpi_plugin_resources_resourcesituations` (
  `id` int(10) UNSIGNED NOT NULL,
  `entities_id` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `is_recursive` tinyint(4) NOT NULL DEFAULT '0',
  `name` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `code` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `short_name` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `is_contract_linked` tinyint(4) NOT NULL DEFAULT '0',
  `comment` text COLLATE utf8mb4_unicode_ci
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC;

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

--
-- Estrutura para tabela `glpi_plugin_resources_resourcespecialities`
--

CREATE TABLE `glpi_plugin_resources_resourcespecialities` (
  `id` int(10) UNSIGNED NOT NULL,
  `entities_id` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `is_recursive` tinyint(4) NOT NULL DEFAULT '0',
  `name` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `plugin_resources_ranks_id` int(10) UNSIGNED NOT NULL DEFAULT '0' COMMENT 'RELATION to glpi_plugin_resources_ranks (id)',
  `comment` text COLLATE utf8mb4_unicode_ci
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC;

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

--
-- Estrutura para tabela `glpi_plugin_resources_resourcestates`
--

CREATE TABLE `glpi_plugin_resources_resourcestates` (
  `id` int(10) UNSIGNED NOT NULL,
  `entities_id` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `is_recursive` tinyint(4) NOT NULL DEFAULT '0',
  `name` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `comment` text COLLATE utf8mb4_unicode_ci
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC;

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

--
-- Estrutura para tabela `glpi_plugin_resources_resources_changes`
--

CREATE TABLE `glpi_plugin_resources_resources_changes` (
  `id` int(10) UNSIGNED NOT NULL,
  `entities_id` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `actions_id` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `itilcategories_id` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `comment` text COLLATE utf8mb4_unicode_ci
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC;

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

--
-- Estrutura para tabela `glpi_plugin_resources_resources_items`
--

CREATE TABLE `glpi_plugin_resources_resources_items` (
  `id` int(10) UNSIGNED NOT NULL,
  `plugin_resources_resources_id` int(10) UNSIGNED NOT NULL DEFAULT '0' COMMENT 'RELATION to glpi_plugin_resources_resources (id)',
  `items_id` int(10) UNSIGNED NOT NULL DEFAULT '0' COMMENT 'RELATION to various table, according to itemtype (id)',
  `itemtype` varchar(100) COLLATE utf8mb4_unicode_ci NOT NULL COMMENT 'see .class.php file',
  `comment` text COLLATE utf8mb4_unicode_ci
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC;

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

--
-- Estrutura para tabela `glpi_plugin_resources_roles`
--

CREATE TABLE `glpi_plugin_resources_roles` (
  `id` int(10) UNSIGNED NOT NULL,
  `entities_id` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `is_recursive` tinyint(4) NOT NULL DEFAULT '0',
  `name` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `comment` text COLLATE utf8mb4_unicode_ci
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC;

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

--
-- Estrutura para tabela `glpi_plugin_resources_roles_services`
--

CREATE TABLE `glpi_plugin_resources_roles_services` (
  `id` int(10) UNSIGNED NOT NULL,
  `plugin_resources_roles_id` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `plugin_resources_services_id` int(10) UNSIGNED NOT NULL DEFAULT '0'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC;

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

--
-- Estrutura para tabela `glpi_plugin_resources_services`
--

CREATE TABLE `glpi_plugin_resources_services` (
  `id` int(10) UNSIGNED NOT NULL,
  `entities_id` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `is_recursive` tinyint(4) NOT NULL DEFAULT '0',
  `name` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `comment` text COLLATE utf8mb4_unicode_ci
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC;

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

--
-- Estrutura para tabela `glpi_plugin_resources_taskplannings`
--

CREATE TABLE `glpi_plugin_resources_taskplannings` (
  `id` int(10) UNSIGNED NOT NULL,
  `plugin_resources_tasks_id` int(10) UNSIGNED NOT NULL DEFAULT '0' COMMENT 'RELATION to glpi_plugin_resources_tasks (id)',
  `begin` timestamp NULL DEFAULT NULL,
  `end` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC;

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

--
-- Estrutura para tabela `glpi_plugin_resources_tasks`
--

CREATE TABLE `glpi_plugin_resources_tasks` (
  `id` int(10) UNSIGNED NOT NULL,
  `name` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `entities_id` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `is_recursive` tinyint(4) NOT NULL DEFAULT '0',
  `plugin_resources_resources_id` int(10) UNSIGNED NOT NULL DEFAULT '0' COMMENT 'RELATION to glpi_plugin_resources_resources (id)',
  `plugin_resources_tasktypes_id` int(10) UNSIGNED NOT NULL DEFAULT '0' COMMENT 'RELATION to glpi_plugin_resources_tasktypes (id)',
  `users_id` int(10) UNSIGNED NOT NULL DEFAULT '0' COMMENT 'RELATION to glpi_users (id)',
  `groups_id` int(10) UNSIGNED NOT NULL DEFAULT '0' COMMENT 'RELATION to glpi_groups (id)',
  `actiontime` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `is_finished` tinyint(4) NOT NULL DEFAULT '0',
  `comment` text COLLATE utf8mb4_unicode_ci,
  `is_deleted` tinyint(4) NOT NULL DEFAULT '0'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC;

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

--
-- Estrutura para tabela `glpi_plugin_resources_tasks_items`
--

CREATE TABLE `glpi_plugin_resources_tasks_items` (
  `id` int(10) UNSIGNED NOT NULL,
  `plugin_resources_tasks_id` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `items_id` int(10) UNSIGNED NOT NULL DEFAULT '0' COMMENT 'RELATION to various table, according to itemtype (id)',
  `itemtype` varchar(100) COLLATE utf8mb4_unicode_ci NOT NULL COMMENT 'see .class.php file'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC;

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

--
-- Estrutura para tabela `glpi_plugin_resources_tasktypes`
--

CREATE TABLE `glpi_plugin_resources_tasktypes` (
  `id` int(10) UNSIGNED NOT NULL,
  `entities_id` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `is_recursive` tinyint(4) NOT NULL DEFAULT '0',
  `name` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `comment` text COLLATE utf8mb4_unicode_ci
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC;

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

--
-- Estrutura para tabela `glpi_plugin_resources_teams`
--

CREATE TABLE `glpi_plugin_resources_teams` (
  `id` int(10) UNSIGNED NOT NULL,
  `entities_id` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `is_recursive` tinyint(4) NOT NULL DEFAULT '0',
  `name` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `code` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `users_id` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `users_id_substitute` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `comment` text COLLATE utf8mb4_unicode_ci
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC;

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

--
-- Estrutura para tabela `glpi_plugin_resources_ticketcategories`
--

CREATE TABLE `glpi_plugin_resources_ticketcategories` (
  `id` int(10) UNSIGNED NOT NULL,
  `ticketcategories_id` int(10) UNSIGNED NOT NULL DEFAULT '0' COMMENT 'RELATION to glpi_ticketcategories (id)'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC;

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

--
-- Estrutura para tabela `glpi_plugin_resources_transferentities`
--

CREATE TABLE `glpi_plugin_resources_transferentities` (
  `id` int(10) UNSIGNED NOT NULL,
  `entities_id` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `groups_id` int(10) UNSIGNED NOT NULL DEFAULT '0'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC;

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

--
-- Estrutura para tabela `glpi_plugin_satisfaction_reminders`
--

CREATE TABLE `glpi_plugin_satisfaction_reminders` (
  `id` int(10) UNSIGNED NOT NULL,
  `type` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `tickets_id` int(10) UNSIGNED NOT NULL,
  `date` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC;

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

--
-- Estrutura para tabela `glpi_plugin_satisfaction_surveyanswers`
--

CREATE TABLE `glpi_plugin_satisfaction_surveyanswers` (
  `id` int(10) UNSIGNED NOT NULL,
  `answer` text COLLATE utf8mb4_unicode_ci,
  `comment` text COLLATE utf8mb4_unicode_ci,
  `plugin_satisfaction_surveys_id` int(10) UNSIGNED NOT NULL,
  `ticketsatisfactions_id` int(10) UNSIGNED NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC;

--
-- Despejando dados para a tabela `glpi_plugin_satisfaction_surveyanswers`
--

INSERT INTO `glpi_plugin_satisfaction_surveyanswers` (`id`, `answer`, `comment`, `plugin_satisfaction_surveys_id`, `ticketsatisfactions_id`) VALUES
(1, '{\"1\":\"5\"}', NULL, 1, 1),
(2, '{\"1\":\"5\"}', NULL, 1, 2),
(3, '{\"1\":\"5\"}', NULL, 1, 3),
(4, '{\"1\":\"5\"}', NULL, 1, 17),
(5, '{\"1\":\"5\"}', NULL, 1, 14),
(6, '{\"1\":\"5\"}', NULL, 1, 26),
(7, '{\"1\":\"5\"}', NULL, 1, 44),
(8, '{\"1\":\"5\"}', NULL, 1, 52),
(9, '{\"1\":\"5\"}', NULL, 1, 98),
(10, '{\"1\":\"5\"}', NULL, 1, 86),
(11, '{\"1\":\"5\"}', NULL, 1, 194),
(12, '{\"1\":\"5\"}', NULL, 1, 248),
(13, '{\"1\":\"5\"}', NULL, 1, 260),
(14, '{\"1\":\"5\"}', NULL, 1, 244),
(15, '{\"1\":\"5\"}', NULL, 1, 276),
(16, '{\"1\":\"5\"}', NULL, 1, 263),
(17, '{\"1\":\"5\"}', NULL, 1, 284),
(18, '{\"1\":\"5\"}', NULL, 1, 356),
(19, '{\"1\":\"5\"}', NULL, 1, 357),
(20, '{\"1\":\"5\"}', NULL, 1, 358),
(21, '{\"1\":\"5\"}', NULL, 1, 378),
(22, '{\"1\":\"5\"}', NULL, 1, 379),
(23, '{\"1\":\"5\"}', NULL, 1, 388),
(24, '{\"1\":\"5\"}', NULL, 1, 416),
(25, '{\"1\":\"5\"}', NULL, 1, 428),
(26, '{\"1\":\"5\"}', NULL, 1, 432),
(27, '{\"1\":\"5\"}', NULL, 1, 777),
(28, '{\"1\":\"5\"}', NULL, 1, 778),
(29, '{\"1\":\"5\"}', NULL, 1, 779),
(30, '{\"1\":\"5\"}', NULL, 1, 780),
(31, '{\"1\":\"5\"}', NULL, 1, 781),
(32, '{\"1\":\"5\"}', NULL, 1, 782),
(33, '{\"1\":\"5\"}', NULL, 1, 783),
(34, '{\"1\":\"5\"}', NULL, 1, 901),
(35, '{\"1\":\"5\"}', NULL, 1, 910),
(36, '{\"1\":\"5\"}', NULL, 1, 950),
(37, '{\"1\":\"5\"}', NULL, 1, 949),
(38, '{\"1\":\"5\"}', NULL, 1, 948),
(39, '{\"1\":\"5\"}', NULL, 1, 947),
(40, '{\"1\":\"5\"}', NULL, 1, 946),
(41, '{\"1\":\"5\"}', NULL, 1, 945),
(42, '{\"1\":\"5\"}', NULL, 1, 944),
(43, '{\"1\":\"5\"}', NULL, 1, 943),
(44, '{\"1\":\"5\"}', NULL, 1, 942),
(45, '{\"1\":\"5\"}', NULL, 1, 1000),
(46, '{\"1\":\"5\"}', NULL, 1, 1001),
(47, '{\"1\":\"5\"}', NULL, 1, 978),
(48, '{\"1\":\"5\"}', NULL, 1, 985),
(49, '{\"1\":\"5\"}', NULL, 1, 987),
(50, '{\"1\":\"5\"}', NULL, 1, 1033),
(51, '{\"1\":\"5\"}', NULL, 1, 1034),
(52, '{\"1\":\"5\"}', NULL, 1, 1015),
(53, '{\"1\":\"5\"}', NULL, 1, 1178),
(54, '{\"1\":\"5\"}', NULL, 1, 1157),
(55, '{\"1\":\"5\"}', NULL, 1, 1184),
(56, '{\"1\":\"5\"}', NULL, 1, 1368);

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

--
-- Estrutura para tabela `glpi_plugin_satisfaction_surveyquestions`
--

CREATE TABLE `glpi_plugin_satisfaction_surveyquestions` (
  `id` int(10) UNSIGNED NOT NULL,
  `plugin_satisfaction_surveys_id` int(10) UNSIGNED NOT NULL,
  `name` text COLLATE utf8mb4_unicode_ci,
  `type` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `comment` text COLLATE utf8mb4_unicode_ci,
  `number` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `default_value` int(10) UNSIGNED NOT NULL DEFAULT '1'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC;

--
-- Despejando dados para a tabela `glpi_plugin_satisfaction_surveyquestions`
--

INSERT INTO `glpi_plugin_satisfaction_surveyquestions` (`id`, `plugin_satisfaction_surveys_id`, `name`, `type`, `comment`, `number`, `default_value`) VALUES
(1, 1, 'Como você avalia o meu atendimento ?', 'note', '', 5, 5);

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

--
-- Estrutura para tabela `glpi_plugin_satisfaction_surveyreminders`
--

CREATE TABLE `glpi_plugin_satisfaction_surveyreminders` (
  `id` int(10) UNSIGNED NOT NULL,
  `plugin_satisfaction_surveys_id` int(10) UNSIGNED NOT NULL,
  `name` text COLLATE utf8mb4_unicode_ci,
  `duration_type` int(10) UNSIGNED NOT NULL,
  `duration` int(10) UNSIGNED NOT NULL,
  `is_active` tinyint(4) NOT NULL DEFAULT '0',
  `comment` text COLLATE utf8mb4_unicode_ci
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC;

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

--
-- Estrutura para tabela `glpi_plugin_satisfaction_surveys`
--

CREATE TABLE `glpi_plugin_satisfaction_surveys` (
  `id` int(10) UNSIGNED NOT NULL,
  `entities_id` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `is_recursive` tinyint(4) NOT NULL DEFAULT '0',
  `is_active` tinyint(4) NOT NULL DEFAULT '0',
  `name` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `comment` text COLLATE utf8mb4_unicode_ci,
  `date_creation` timestamp NULL DEFAULT NULL,
  `date_mod` timestamp NULL DEFAULT NULL,
  `reminders_days` int(10) UNSIGNED NOT NULL DEFAULT '30'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC;

--
-- Despejando dados para a tabela `glpi_plugin_satisfaction_surveys`
--

INSERT INTO `glpi_plugin_satisfaction_surveys` (`id`, `entities_id`, `is_recursive`, `is_active`, `name`, `comment`, `date_creation`, `date_mod`, `reminders_days`) VALUES
(1, 0, 0, 1, 'Pesquisas de Satisfação', '', '2023-12-27 14:15:14', '2024-03-09 12:45:59', 30);

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

--
-- Estrutura para tabela `glpi_plugin_satisfaction_surveytranslations`
--

CREATE TABLE `glpi_plugin_satisfaction_surveytranslations` (
  `id` int(10) UNSIGNED NOT NULL,
  `plugin_satisfaction_surveys_id` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `glpi_plugin_satisfaction_surveyquestions_id` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `language` varchar(5) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `value` text COLLATE utf8mb4_unicode_ci
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC;

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

--
-- Estrutura para tabela `glpi_plugin_shellcommands_commandgroups`
--

CREATE TABLE `glpi_plugin_shellcommands_commandgroups` (
  `id` int(10) UNSIGNED NOT NULL,
  `name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `check_commands_id` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `entities_id` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `is_recursive` tinyint(4) NOT NULL DEFAULT '0'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC;

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

--
-- Estrutura para tabela `glpi_plugin_shellcommands_commandgroups_items`
--

CREATE TABLE `glpi_plugin_shellcommands_commandgroups_items` (
  `id` int(10) UNSIGNED NOT NULL,
  `plugin_shellcommands_shellcommands_id` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `plugin_shellcommands_commandgroups_id` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `rank` int(10) UNSIGNED NOT NULL DEFAULT '0'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC;

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

--
-- Estrutura para tabela `glpi_plugin_shellcommands_shellcommandpaths`
--

CREATE TABLE `glpi_plugin_shellcommands_shellcommandpaths` (
  `id` int(10) UNSIGNED NOT NULL,
  `name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `comment` text COLLATE utf8mb4_unicode_ci
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC;

--
-- Despejando dados para a tabela `glpi_plugin_shellcommands_shellcommandpaths`
--

INSERT INTO `glpi_plugin_shellcommands_shellcommandpaths` (`id`, `name`, `comment`) VALUES
(1, '/bin/ping', NULL),
(2, '/usr/bin/traceroute', NULL),
(3, '/usr/bin/nslookup', NULL),
(4, 'c:\\windows\\system32\\ping.exe', NULL),
(5, 'c:\\windows\\system32\\tracert.exe', NULL),
(6, 'c:\\windows\\system32\\nslookup.exe', NULL);

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

--
-- Estrutura para tabela `glpi_plugin_shellcommands_shellcommands`
--

CREATE TABLE `glpi_plugin_shellcommands_shellcommands` (
  `id` int(10) UNSIGNED NOT NULL,
  `entities_id` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `is_recursive` tinyint(4) NOT NULL DEFAULT '0',
  `name` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `link` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `plugin_shellcommands_shellcommandpaths_id` int(10) UNSIGNED NOT NULL DEFAULT '0' COMMENT 'RELATION to glpi_plugin_shellcommands_shellcommandpaths (id)',
  `parameters` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `is_deleted` tinyint(4) NOT NULL DEFAULT '0',
  `tag_position` tinyint(4) NOT NULL DEFAULT '1'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC;

--
-- Despejando dados para a tabela `glpi_plugin_shellcommands_shellcommands`
--

INSERT INTO `glpi_plugin_shellcommands_shellcommands` (`id`, `entities_id`, `is_recursive`, `name`, `link`, `plugin_shellcommands_shellcommandpaths_id`, `parameters`, `is_deleted`, `tag_position`) VALUES
(1, 0, 1, 'Ping', '[IP]', 1, '-c 2', 0, 1),
(2, 0, 1, 'Tracert', '[NAME]', 2, '', 0, 1),
(3, 0, 1, 'Wake on Lan', '[MAC]', 0, '', 0, 1),
(4, 0, 1, 'Nslookup', '[DOMAIN]', 3, '', 0, 1);

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

--
-- Estrutura para tabela `glpi_plugin_shellcommands_shellcommands_items`
--

CREATE TABLE `glpi_plugin_shellcommands_shellcommands_items` (
  `id` int(10) UNSIGNED NOT NULL,
  `plugin_shellcommands_shellcommands_id` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `itemtype` varchar(100) COLLATE utf8mb4_unicode_ci NOT NULL COMMENT 'see .class.php file'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC;

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

--
-- Estrutura para tabela `glpi_plugin_statecheck_ruleactions`
--

CREATE TABLE `glpi_plugin_statecheck_ruleactions` (
  `id` int(11) NOT NULL,
  `plugin_statecheck_rules_id` int(11) NOT NULL DEFAULT '0',
  `action_type` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT 'VALUE IN (assign, regex_result, append_regex_result, affectbyip, affectbyfqdn, affectbymac)',
  `field` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `value` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Despejando dados para a tabela `glpi_plugin_statecheck_ruleactions`
--

INSERT INTO `glpi_plugin_statecheck_ruleactions` (`id`, `plugin_statecheck_rules_id`, `action_type`, `field`, `value`) VALUES
(21, 5, 'regex_check', 'name', '/^PluginArchisw[a-zA-Z0-9]+$/'),
(22, 6, 'isnotempty', 'name', NULL),
(23, 6, 'regex_check', 'name', '/^[a-zA-Z][a-zA-Z0-9_]*$/'),
(24, 6, 'isnotempty', 'comment', NULL),
(25, 6, 'isnotempty', 'sortorder', NULL),
(46, 11, 'regex_check', 'name', '/^PluginArchibp[a-zA-Z0-9]+$/'),
(47, 12, 'isnotempty', 'name', NULL),
(48, 12, 'regex_check', 'name', '/^[a-zA-Z][a-zA-Z0-9_]*$/'),
(49, 12, 'isnotempty', 'comment', NULL),
(50, 12, 'isnotempty', 'sortorder', NULL);

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

--
-- Estrutura para tabela `glpi_plugin_statecheck_rulecriterias`
--

CREATE TABLE `glpi_plugin_statecheck_rulecriterias` (
  `id` int(11) NOT NULL,
  `plugin_statecheck_rules_id` int(11) NOT NULL DEFAULT '0',
  `criteria` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `condition` int(11) NOT NULL DEFAULT '0' COMMENT 'see define.php PATTERN_* and REGEX_* constant',
  `pattern` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

--
-- Estrutura para tabela `glpi_plugin_statecheck_rules`
--

CREATE TABLE `glpi_plugin_statecheck_rules` (
  `id` int(11) NOT NULL COMMENT 'Internal ID',
  `entities_id` int(11) NOT NULL DEFAULT '0',
  `name` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `plugin_statecheck_tables_id` int(11) NOT NULL DEFAULT '0',
  `plugin_statecheck_targetstates_id` int(11) NOT NULL DEFAULT '0',
  `ranking` int(11) NOT NULL DEFAULT '0',
  `match` char(10) COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT 'see define.php *_MATCHING constant',
  `is_active` tinyint(1) NOT NULL DEFAULT '1',
  `comment` text COLLATE utf8mb4_unicode_ci,
  `successnotifications_id` int(11) NOT NULL DEFAULT '0' COMMENT 'notification in case of success',
  `failurenotifications_id` int(11) NOT NULL DEFAULT '0' COMMENT 'notification in case of failure',
  `date_mod` datetime DEFAULT NULL,
  `is_recursive` tinyint(1) NOT NULL DEFAULT '0'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Despejando dados para a tabela `glpi_plugin_statecheck_rules`
--

INSERT INTO `glpi_plugin_statecheck_rules` (`id`, `entities_id`, `name`, `plugin_statecheck_tables_id`, `plugin_statecheck_targetstates_id`, `ranking`, `match`, `is_active`, `comment`, `successnotifications_id`, `failurenotifications_id`, `date_mod`, `is_recursive`) VALUES
(5, 0, 'Apps structure configuration links for dropdown', 2, 0, 1, 'AND', 1, 'Do not delete : set temporarily inactive, if needed', 0, 0, '2023-12-27 10:51:33', 1),
(6, 0, 'Apps structure Field Groups - mandatory fields', 3, 0, 1, 'AND', 1, 'Do not delete', 0, 0, '2023-12-27 10:51:33', 1),
(11, 0, 'Business Process configuration links for dropdown', 5, 0, 1, 'AND', 1, 'Do not delete : set temporarily inactive, if needed', 0, 0, '2024-12-21 10:36:31', 1),
(12, 0, 'Business Process Field Groups - mandatory fields', 6, 0, 1, 'AND', 1, 'Do not delete', 0, 0, '2024-12-21 10:36:31', 1);

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

--
-- Estrutura para tabela `glpi_plugin_statecheck_tables`
--

CREATE TABLE `glpi_plugin_statecheck_tables` (
  `id` int(11) NOT NULL,
  `name` varchar(45) COLLATE utf8mb4_unicode_ci NOT NULL,
  `comment` varchar(45) COLLATE utf8mb4_unicode_ci NOT NULL,
  `statetable` varchar(45) COLLATE utf8mb4_unicode_ci NOT NULL,
  `stateclass` varchar(45) COLLATE utf8mb4_unicode_ci NOT NULL,
  `class` varchar(45) COLLATE utf8mb4_unicode_ci NOT NULL,
  `frontname` varchar(45) COLLATE utf8mb4_unicode_ci NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

--
-- Estrutura para tabela `glpi_plugin_tag_tagitems`
--

CREATE TABLE `glpi_plugin_tag_tagitems` (
  `id` int(10) UNSIGNED NOT NULL,
  `plugin_tag_tags_id` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `items_id` int(10) UNSIGNED NOT NULL DEFAULT '1',
  `itemtype` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT ''
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC;

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

--
-- Estrutura para tabela `glpi_plugin_tag_tags`
--

CREATE TABLE `glpi_plugin_tag_tags` (
  `id` int(10) UNSIGNED NOT NULL,
  `entities_id` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `is_recursive` tinyint(4) NOT NULL DEFAULT '1',
  `is_active` tinyint(4) NOT NULL DEFAULT '1',
  `name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '',
  `comment` text COLLATE utf8mb4_unicode_ci,
  `color` varchar(50) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '',
  `type_menu` text COLLATE utf8mb4_unicode_ci
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC;

--
-- Despejando dados para a tabela `glpi_plugin_tag_tags`
--

INSERT INTO `glpi_plugin_tag_tags` (`id`, `entities_id`, `is_recursive`, `is_active`, `name`, `comment`, `color`, `type_menu`) VALUES
(1, 0, 1, 1, 'c', 'Exames', '#ce7e00', NULL);

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

--
-- Estrutura para tabela `glpi_plugin_tasklists_items_kanbans`
--

CREATE TABLE `glpi_plugin_tasklists_items_kanbans` (
  `id` int(10) UNSIGNED NOT NULL,
  `itemtype` varchar(100) COLLATE utf8mb4_unicode_ci NOT NULL,
  `items_id` int(10) UNSIGNED DEFAULT NULL,
  `users_id` int(10) UNSIGNED NOT NULL,
  `plugin_tasklists_taskstates_id` int(10) UNSIGNED NOT NULL,
  `state` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `date_mod` timestamp NULL DEFAULT NULL,
  `date_creation` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC;

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

--
-- Estrutura para tabela `glpi_plugin_tasklists_preferences`
--

CREATE TABLE `glpi_plugin_tasklists_preferences` (
  `id` int(10) UNSIGNED NOT NULL COMMENT 'RELATION to glpi_users(id)',
  `default_type` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `automatic_refresh` tinyint(4) NOT NULL DEFAULT '0',
  `automatic_refresh_delay` int(10) UNSIGNED NOT NULL DEFAULT '10'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC;

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

--
-- Estrutura para tabela `glpi_plugin_tasklists_stateorders`
--

CREATE TABLE `glpi_plugin_tasklists_stateorders` (
  `id` int(10) UNSIGNED NOT NULL,
  `plugin_tasklists_taskstates_id` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `plugin_tasklists_tasktypes_id` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `ranking` int(10) UNSIGNED DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC;

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

--
-- Estrutura para tabela `glpi_plugin_tasklists_tasks`
--

CREATE TABLE `glpi_plugin_tasklists_tasks` (
  `id` int(10) UNSIGNED NOT NULL,
  `entities_id` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `is_recursive` tinyint(4) NOT NULL DEFAULT '0',
  `name` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `plugin_tasklists_tasktypes_id` int(10) UNSIGNED NOT NULL DEFAULT '0' COMMENT 'RELATION to glpi_plugin_tasklists_tasktypes (id)',
  `plugin_tasklists_taskstates_id` int(10) UNSIGNED NOT NULL DEFAULT '0' COMMENT 'RELATION to glpi_plugin_tasklists_taskstates (id)',
  `priority` int(10) UNSIGNED NOT NULL DEFAULT '1',
  `visibility` int(10) UNSIGNED NOT NULL DEFAULT '1',
  `actiontime` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `percent_done` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `state` int(10) UNSIGNED NOT NULL DEFAULT '1',
  `due_date` timestamp NULL DEFAULT NULL,
  `users_id` int(10) UNSIGNED NOT NULL DEFAULT '0' COMMENT 'RELATION to glpi_users (id)',
  `groups_id` int(10) UNSIGNED NOT NULL DEFAULT '0' COMMENT 'RELATION to glpi_groups (id)',
  `client` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `content` text COLLATE utf8mb4_unicode_ci,
  `notepad` longtext COLLATE utf8mb4_unicode_ci,
  `date_mod` timestamp NULL DEFAULT NULL,
  `date_creation` timestamp NULL DEFAULT NULL,
  `is_template` smallint(6) NOT NULL DEFAULT '0',
  `template_name` varchar(200) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '',
  `is_deleted` tinyint(4) NOT NULL DEFAULT '0',
  `is_archived` tinyint(4) NOT NULL DEFAULT '0',
  `users_id_requester` int(10) UNSIGNED NOT NULL DEFAULT '0' COMMENT 'RELATION to glpi_users (id)'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC;

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

--
-- Estrutura para tabela `glpi_plugin_tasklists_taskstates`
--

CREATE TABLE `glpi_plugin_tasklists_taskstates` (
  `id` int(10) UNSIGNED NOT NULL,
  `name` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `entities_id` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `is_recursive` tinyint(4) NOT NULL DEFAULT '0',
  `is_finished` tinyint(4) NOT NULL DEFAULT '0',
  `tasktypes` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `color` varchar(200) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '#CCC',
  `comment` text COLLATE utf8mb4_unicode_ci
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC;

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

--
-- Estrutura para tabela `glpi_plugin_tasklists_tasks_comments`
--

CREATE TABLE `glpi_plugin_tasklists_tasks_comments` (
  `id` int(10) UNSIGNED NOT NULL,
  `plugin_tasklists_tasks_id` int(10) UNSIGNED NOT NULL,
  `users_id` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `language` varchar(5) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `comment` text COLLATE utf8mb4_unicode_ci NOT NULL,
  `parent_comment_id` int(10) UNSIGNED DEFAULT NULL,
  `date_creation` timestamp NULL DEFAULT NULL,
  `date_mod` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC;

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

--
-- Estrutura para tabela `glpi_plugin_tasklists_tasktypes`
--

CREATE TABLE `glpi_plugin_tasklists_tasktypes` (
  `id` int(10) UNSIGNED NOT NULL,
  `name` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `entities_id` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `is_recursive` tinyint(4) NOT NULL DEFAULT '0',
  `comment` text COLLATE utf8mb4_unicode_ci,
  `plugin_tasklists_tasktypes_id` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `completename` text COLLATE utf8mb4_unicode_ci,
  `level` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `ancestors_cache` longtext COLLATE utf8mb4_unicode_ci,
  `sons_cache` longtext COLLATE utf8mb4_unicode_ci
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC;

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

--
-- Estrutura para tabela `glpi_plugin_tasklists_tickets`
--

CREATE TABLE `glpi_plugin_tasklists_tickets` (
  `id` int(10) UNSIGNED NOT NULL,
  `tickets_id` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `plugin_tasklists_tasks_id` int(10) UNSIGNED NOT NULL DEFAULT '0'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC;

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

--
-- Estrutura para tabela `glpi_plugin_tasklists_typevisibilities`
--

CREATE TABLE `glpi_plugin_tasklists_typevisibilities` (
  `id` int(10) UNSIGNED NOT NULL,
  `groups_id` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `plugin_tasklists_tasktypes_id` int(10) UNSIGNED NOT NULL DEFAULT '0'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC;

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

--
-- Estrutura para tabela `glpi_plugin_ticketfilter_filterpatterns`
--

CREATE TABLE `glpi_plugin_ticketfilter_filterpatterns` (
  `id` int(10) UNSIGNED NOT NULL,
  `name` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `comment` text COLLATE utf8mb4_unicode_ci,
  `is_active` tinyint(4) NOT NULL DEFAULT '0',
  `date_creation` timestamp NULL DEFAULT NULL,
  `date_mod` timestamp NULL DEFAULT NULL,
  `TicketMatchString` text COLLATE utf8mb4_unicode_ci NOT NULL,
  `TicketMatchStringLength` int(11) NOT NULL DEFAULT '11',
  `AssetMatchString` text COLLATE utf8mb4_unicode_ci,
  `AssetMatchStringLength` int(11) NOT NULL DEFAULT '10',
  `SolvedMatchString` text COLLATE utf8mb4_unicode_ci,
  `SolvedMatchStringLength` int(11) NOT NULL DEFAULT '10',
  `AutomaticallyMerge` tinyint(4) NOT NULL DEFAULT '0',
  `ReopenClosedTickets` tinyint(4) NOT NULL DEFAULT '0',
  `SearchTicketBody` tinyint(4) NOT NULL DEFAULT '0',
  `MatchSpecificSource` text COLLATE utf8mb4_unicode_ci,
  `SuppressNotification` tinyint(4) NOT NULL DEFAULT '1'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC;

--
-- Despejando dados para a tabela `glpi_plugin_ticketfilter_filterpatterns`
--

INSERT INTO `glpi_plugin_ticketfilter_filterpatterns` (`id`, `name`, `comment`, `is_active`, `date_creation`, `date_mod`, `TicketMatchString`, `TicketMatchStringLength`, `AssetMatchString`, `AssetMatchStringLength`, `SolvedMatchString`, `SolvedMatchStringLength`, `AutomaticallyMerge`, `ReopenClosedTickets`, `SearchTicketBody`, `MatchSpecificSource`, `SuppressNotification`) VALUES
(1, 'example', 'this is an example expression', 1, NULL, NULL, '/.*?(?<match>(JIRA-[0-9]{1,4})).*/', 11, NULL, 10, '/.*?(?<solved>Closed).*/', 6, 0, 0, 0, NULL, 1);

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

--
-- Estrutura para tabela `glpi_plugin_typology_typologies`
--

CREATE TABLE `glpi_plugin_typology_typologies` (
  `id` int(10) UNSIGNED NOT NULL,
  `entities_id` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `is_recursive` tinyint(4) NOT NULL DEFAULT '0',
  `name` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `comment` text COLLATE utf8mb4_unicode_ci,
  `is_deleted` tinyint(4) NOT NULL DEFAULT '0',
  `date_mod` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC;

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

--
-- Estrutura para tabela `glpi_plugin_typology_typologies_items`
--

CREATE TABLE `glpi_plugin_typology_typologies_items` (
  `id` int(10) UNSIGNED NOT NULL,
  `plugin_typology_typologies_id` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `items_id` int(10) UNSIGNED NOT NULL DEFAULT '0' COMMENT 'RELATION to various tables, according to itemtype (id)',
  `itemtype` varchar(100) COLLATE utf8mb4_unicode_ci NOT NULL COMMENT 'see .class.php file',
  `is_validated` tinyint(4) DEFAULT NULL,
  `error` longtext COLLATE utf8mb4_unicode_ci
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC;

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

--
-- Estrutura para tabela `glpi_plugin_typology_typologycriteriadefinitions`
--

CREATE TABLE `glpi_plugin_typology_typologycriteriadefinitions` (
  `id` int(10) UNSIGNED NOT NULL,
  `plugin_typology_typologycriterias_id` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `field` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `action_type` varchar(100) COLLATE utf8mb4_unicode_ci NOT NULL,
  `value` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `entities_id` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `is_recursive` tinyint(4) NOT NULL DEFAULT '0'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC;

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

--
-- Estrutura para tabela `glpi_plugin_typology_typologycriterias`
--

CREATE TABLE `glpi_plugin_typology_typologycriterias` (
  `id` int(10) UNSIGNED NOT NULL,
  `name` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `plugin_typology_typologies_id` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `itemtype` varchar(100) COLLATE utf8mb4_unicode_ci NOT NULL COMMENT 'see .class.php file',
  `link` tinyint(4) NOT NULL DEFAULT '0',
  `entities_id` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `is_recursive` tinyint(4) NOT NULL DEFAULT '0',
  `date_mod` timestamp NULL DEFAULT NULL,
  `is_active` tinyint(4) NOT NULL DEFAULT '0'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC;

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

--
-- Estrutura para tabela `glpi_plugin_webhook_configs`
--

CREATE TABLE `glpi_plugin_webhook_configs` (
  `id` int(11) UNSIGNED NOT NULL,
  `name` varchar(45) COLLATE utf8mb4_unicode_ci NOT NULL,
  `plugin_webhook_operationtypes_id` int(11) NOT NULL DEFAULT '0' COMMENT 'operation type : POST, PUT, ...',
  `address` text COLLATE utf8mb4_unicode_ci,
  `plugin_webhook_secrettypes_id` int(11) NOT NULL DEFAULT '0' COMMENT 'secret type : Basic Authentication, Personal Access Token, OAuth, ...',
  `secret` text COLLATE utf8mb4_unicode_ci,
  `user` text COLLATE utf8mb4_unicode_ci,
  `language` varchar(10) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `debug` tinyint(4) NOT NULL DEFAULT '0'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

--
-- Estrutura para tabela `glpi_plugin_webhook_operationtypes`
--

CREATE TABLE `glpi_plugin_webhook_operationtypes` (
  `id` int(11) UNSIGNED NOT NULL,
  `name` varchar(45) COLLATE utf8mb4_unicode_ci NOT NULL,
  `comment` varchar(45) COLLATE utf8mb4_unicode_ci DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Despejando dados para a tabela `glpi_plugin_webhook_operationtypes`
--

INSERT INTO `glpi_plugin_webhook_operationtypes` (`id`, `name`, `comment`) VALUES
(1, 'POST', 'Create new item'),
(2, 'PUT', 'Update existing item');

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

--
-- Estrutura para tabela `glpi_plugin_webhook_secrettypes`
--

CREATE TABLE `glpi_plugin_webhook_secrettypes` (
  `id` int(11) UNSIGNED NOT NULL,
  `name` varchar(45) COLLATE utf8mb4_unicode_ci NOT NULL,
  `comment` varchar(45) COLLATE utf8mb4_unicode_ci DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;



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

--
-- Estrutura para tabela `glpi_plugin_webresources_autoicons`
--

CREATE TABLE `glpi_plugin_webresources_autoicons` (
  `itemtype` varchar(100) COLLATE utf8_unicode_ci NOT NULL,
  `items_id` int(11) NOT NULL,
  `icon` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
  `color` varchar(16) COLLATE utf8_unicode_ci NOT NULL DEFAULT '#000000'
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Despejando dados para a tabela `glpi_plugin_webresources_autoicons`
--

INSERT INTO `glpi_plugin_webresources_autoicons` (`itemtype`, `items_id`, `icon`, `color`) VALUES
('Entity', 0, '', '#808080'),
('Supplier', 1, '', '#808080');

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

--
-- Estrutura para tabela `glpi_plugin_webresources_categories`
--

CREATE TABLE `glpi_plugin_webresources_categories` (
  `id` int(11) NOT NULL,
  `name` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  `comment` text COLLATE utf8_unicode_ci
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Despejando dados para a tabela `glpi_plugin_webresources_categories`
--

INSERT INTO `glpi_plugin_webresources_categories` (`id`, `name`, `comment`) VALUES
(1, 'Fornecedores', '');

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

--
-- Estrutura para tabela `glpi_plugin_webresources_resources`
--

CREATE TABLE `glpi_plugin_webresources_resources` (
  `id` int(11) NOT NULL,
  `users_id` int(11) NOT NULL,
  `name` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  `link` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
  `icon` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
  `color` varchar(16) COLLATE utf8_unicode_ci NOT NULL DEFAULT '#000000',
  `plugin_webresources_categories_id` int(11) DEFAULT '0'
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Despejando dados para a tabela `glpi_plugin_webresources_resources`
--

INSERT INTO `glpi_plugin_webresources_resources` (`id`, `users_id`, `name`, `link`, `icon`, `color`, `plugin_webresources_categories_id`) VALUES
(1, 7, 'Shift', 'https://capc.shiftcloud.com.br/main/app', '', '#3025d0', 0),
(2, 7, 'Digital World', 'https://digitalworld.inf.br/', 'https://digitalworld.inf.br/wp-content/uploads/2018/08/cropped-favicon-digital-world-1-192x192.png', '#000000', 1);

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

--
-- Estrutura para tabela `glpi_plugin_webresources_resources_entities`
--

CREATE TABLE `glpi_plugin_webresources_resources_entities` (
  `id` int(11) NOT NULL,
  `plugin_webresources_resources_id` int(11) NOT NULL,
  `entities_id` int(11) NOT NULL,
  `is_recursive` tinyint(1) DEFAULT '0'
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

--
-- Despejando dados para a tabela `glpi_plugin_webresources_resources_entities`
--

INSERT INTO `glpi_plugin_webresources_resources_entities` (`id`, `plugin_webresources_resources_id`, `entities_id`, `is_recursive`) VALUES
(1, 2, 0, 1);

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

--
-- Estrutura para tabela `glpi_plugin_webresources_resources_groups`
--

CREATE TABLE `glpi_plugin_webresources_resources_groups` (
  `id` int(11) NOT NULL,
  `plugin_webresources_resources_id` int(11) NOT NULL,
  `groups_id` int(11) NOT NULL,
  `entities_id` int(11) NOT NULL,
  `is_recursive` tinyint(1) DEFAULT '0'
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

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

--
-- Estrutura para tabela `glpi_plugin_webresources_resources_profiles`
--

CREATE TABLE `glpi_plugin_webresources_resources_profiles` (
  `id` int(11) NOT NULL,
  `plugin_webresources_resources_id` int(11) NOT NULL,
  `profiles_id` int(11) NOT NULL,
  `entities_id` int(11) NOT NULL,
  `is_recursive` tinyint(1) DEFAULT '0'
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

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

--
-- Estrutura para tabela `glpi_plugin_webresources_resources_users`
--

CREATE TABLE `glpi_plugin_webresources_resources_users` (
  `id` int(11) NOT NULL,
  `plugin_webresources_resources_id` int(11) NOT NULL,
  `users_id` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

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

--
-- Estrutura para tabela `glpi_plugin_yagp_configs`
--

CREATE TABLE `glpi_plugin_yagp_configs` (
  `id` int(10) UNSIGNED NOT NULL,
  `ticketsolveddate` tinyint(1) NOT NULL DEFAULT '0',
  `gototicket` tinyint(1) NOT NULL DEFAULT '0',
  `blockdate` tinyint(1) NOT NULL DEFAULT '0',
  `findrequest` tinyint(1) NOT NULL DEFAULT '0',
  `allow_anonymous_requester` tinyint(1) NOT NULL DEFAULT '0',
  `requestlabel` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `change_df_min_val` tinyint(1) NOT NULL DEFAULT '0',
  `df_min_validation` int(11) NOT NULL DEFAULT '0',
  `recategorization` tinyint(1) NOT NULL DEFAULT '0',
  `hide_historical` tinyint(1) NOT NULL DEFAULT '0',
  `private_view` tinyint(1) NOT NULL DEFAULT '0',
  `quick_transfer` tinyint(1) NOT NULL DEFAULT '0',
  `autotransfer` tinyint(1) NOT NULL DEFAULT '0',
  `transfer_entity` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `autoclose_rejected_tickets` tinyint(1) NOT NULL DEFAULT '0',
  `solutiontypes` text COLLATE utf8mb4_unicode_ci,
  `solutiontypes_id_rejected` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `requesttypes_id_reopen` int(10) UNSIGNED NOT NULL DEFAULT '0'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC;

--
-- Despejando dados para a tabela `glpi_plugin_yagp_configs`
--

INSERT INTO `glpi_plugin_yagp_configs` (`id`, `ticketsolveddate`, `gototicket`, `blockdate`, `findrequest`, `allow_anonymous_requester`, `requestlabel`, `change_df_min_val`, `df_min_validation`, `recategorization`, `hide_historical`, `private_view`, `quick_transfer`, `autotransfer`, `transfer_entity`, `autoclose_rejected_tickets`, `solutiontypes`, `solutiontypes_id_rejected`, `requesttypes_id_reopen`) VALUES
(1, 0, 0, 0, 0, 0, NULL, 0, 0, 0, 0, 0, 0, 0, 0, 0, '[]', 2, 8);

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

--
-- Estrutura para tabela `glpi_plugin_yagp_tickets`
--

CREATE TABLE `glpi_plugin_yagp_tickets` (
  `id` int(10) UNSIGNED NOT NULL,
  `tickets_id` int(10) UNSIGNED NOT NULL,
  `plugin_yagp_itilcategories_id` int(10) UNSIGNED NOT NULL,
  `is_recategorized` tinyint(4) NOT NULL DEFAULT '1'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC;

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

--
-- Estrutura para tabela `glpi_plugs`
--

CREATE TABLE `glpi_plugs` (
  `id` int(10) UNSIGNED NOT NULL,
  `name` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `comment` text COLLATE utf8mb4_unicode_ci,
  `date_mod` timestamp NULL DEFAULT NULL,
  `date_creation` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC;

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

--
-- Estrutura para tabela `glpi_printerlogs`
--

CREATE TABLE `glpi_printerlogs` (
  `id` int(10) UNSIGNED NOT NULL,
  `printers_id` int(10) UNSIGNED NOT NULL,
  `total_pages` int(11) NOT NULL DEFAULT '0',
  `bw_pages` int(11) NOT NULL DEFAULT '0',
  `color_pages` int(11) NOT NULL DEFAULT '0',
  `rv_pages` int(11) NOT NULL DEFAULT '0',
  `prints` int(11) NOT NULL DEFAULT '0',
  `bw_prints` int(11) NOT NULL DEFAULT '0',
  `color_prints` int(11) NOT NULL DEFAULT '0',
  `copies` int(11) NOT NULL DEFAULT '0',
  `bw_copies` int(11) NOT NULL DEFAULT '0',
  `color_copies` int(11) NOT NULL DEFAULT '0',
  `scanned` int(11) NOT NULL DEFAULT '0',
  `date` date DEFAULT NULL,
  `date_creation` timestamp NULL DEFAULT NULL,
  `date_mod` timestamp NULL DEFAULT NULL,
  `faxed` int(11) NOT NULL DEFAULT '0'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC;

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

--
-- Estrutura para tabela `glpi_printermodels`
--

CREATE TABLE `glpi_printermodels` (
  `id` int(10) UNSIGNED NOT NULL,
  `name` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `comment` text COLLATE utf8mb4_unicode_ci,
  `product_number` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `date_mod` timestamp NULL DEFAULT NULL,
  `date_creation` timestamp NULL DEFAULT NULL,
  `picture_front` text COLLATE utf8mb4_unicode_ci,
  `picture_rear` text COLLATE utf8mb4_unicode_ci,
  `pictures` text COLLATE utf8mb4_unicode_ci
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC;

--
-- Despejando dados para a tabela `glpi_printermodels`
--

INSERT INTO `glpi_printermodels` (`id`, `name`, `comment`, `product_number`, `date_mod`, `date_creation`, `picture_front`, `picture_rear`, `pictures`) VALUES
(1, 'MFC 7460', '', '', '2023-08-23 19:45:32', '2023-08-23 19:45:32', '29/6039c5a6a8fa90.2965975864e661dc37729.JPG', NULL, NULL),
(2, 'DCP-L5652DN', '', '', '2023-08-29 20:50:46', '2023-08-29 20:50:46', '12/60415f6f40d6d8.0412395764ee5a26bb012.png', NULL, NULL),
(3, 'DCP-8157DN', '', '', '2023-08-29 21:00:42', '2023-08-29 21:00:42', '5e/604161a619f00c.7362559664ee5c7a51b5e.jpg', NULL, NULL),
(4, 'MFC-8912DW', '', '', '2023-10-11 11:50:34', '2023-10-11 11:50:34', '5b/6076f6df4284f0.1264578865268c0a91f5b.jpg', NULL, NULL),
(5, 'HL-6182DW', '', '', '2023-10-11 13:36:58', '2023-10-11 13:36:58', '36/60770ea81b92c0.269430956526a4fa18536.jpg', NULL, NULL),
(6, 'ADS2800W', '', '', '2023-10-11 13:40:20', '2023-10-11 13:40:20', 'ca/60770f68c622a4.389928196526a5c44a4ca.jpg', NULL, NULL),
(7, 'HL-5452DN', '', '', '2023-10-11 13:53:29', '2023-10-11 13:53:29', 'ce/6077125b274f20.356789116526a8d9e63ce.jpg', NULL, NULL),
(8, 'HL-6202DW', '', '', '2023-10-11 16:37:31', '2023-10-11 16:37:31', 'e6/6077370281b938.031367106526cf4bb89e6.png', NULL, NULL),
(9, 'MP 501', '', '', '2023-10-11 17:25:28', '2023-10-11 17:25:28', '7d/607741bc0b43cc.306654666526da889f57d.jpg', NULL, NULL),
(10, 'MFC-7440N', '', '', '2023-10-11 18:53:27', '2023-10-11 18:53:27', '77/60775566acfefc.426267226526ef278c477.jpg', NULL, NULL),
(11, 'MFC-8952DW', '', '', '2023-10-11 19:02:13', '2023-10-11 19:02:13', 'a3/60775757a3e158.667355256526f135687a3.jpg', NULL, NULL),
(12, 'HL-5440DN', '', '', '2023-10-11 19:31:35', '2023-10-11 19:31:35', 'b5/60775de9571b50.100330606526f81711cb5.png', NULL, NULL),
(13, 'C3300i', '', '', '2023-10-11 19:47:56', '2023-10-11 19:47:56', NULL, NULL, NULL),
(14, 'ZD220', '', '', '2024-01-30 21:19:14', '2024-01-30 21:19:14', 'f2/61030502e357e0.1594624165b967d24c5f2.JPG', NULL, NULL),
(15, 'TLP2844', '', '', '2024-07-02 16:52:26', '2024-07-02 16:52:26', '20/61c46880d58fac.025973016684304a82e20.jpeg', '53/61c468845010ac.045915886684304a83553.png', NULL);

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

--
-- Estrutura para tabela `glpi_printers`
--

CREATE TABLE `glpi_printers` (
  `id` int(10) UNSIGNED NOT NULL,
  `entities_id` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `is_recursive` tinyint(4) NOT NULL DEFAULT '0',
  `name` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `date_mod` timestamp NULL DEFAULT NULL,
  `contact` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `contact_num` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `users_id_tech` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `groups_id_tech` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `serial` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `otherserial` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `have_serial` tinyint(4) NOT NULL DEFAULT '0',
  `have_parallel` tinyint(4) NOT NULL DEFAULT '0',
  `have_usb` tinyint(4) NOT NULL DEFAULT '0',
  `have_wifi` tinyint(4) NOT NULL DEFAULT '0',
  `have_ethernet` tinyint(4) NOT NULL DEFAULT '0',
  `comment` text COLLATE utf8mb4_unicode_ci,
  `memory_size` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `locations_id` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `networks_id` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `printertypes_id` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `printermodels_id` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `manufacturers_id` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `is_global` tinyint(4) NOT NULL DEFAULT '0',
  `is_deleted` tinyint(4) NOT NULL DEFAULT '0',
  `is_template` tinyint(4) NOT NULL DEFAULT '0',
  `template_name` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `init_pages_counter` int(11) NOT NULL DEFAULT '0',
  `last_pages_counter` int(11) NOT NULL DEFAULT '0',
  `users_id` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `groups_id` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `states_id` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `ticket_tco` decimal(20,4) DEFAULT '0.0000',
  `is_dynamic` tinyint(4) NOT NULL DEFAULT '0',
  `uuid` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `date_creation` timestamp NULL DEFAULT NULL,
  `sysdescr` text COLLATE utf8mb4_unicode_ci,
  `last_inventory_update` timestamp NULL DEFAULT NULL,
  `snmpcredentials_id` int(10) UNSIGNED NOT NULL DEFAULT '0',
  `autoupdatesystems_id` int(10) UNSIGNED NOT NULL DEFAULT '0'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC;

--
-- Despejando dados para a tabela `glpi_printers`
--

INSERT INTO `glpi_printers` (`id`, `entities_id`, `is_recursive`, `name`, `date_mod`, `contact`, `contact_num`, `users_id_tech`, `groups_id_tech`, `serial`, `otherserial`, `have_serial`, `have_parallel`, `have_usb`, `have_wifi`, `have_ethernet`, `comment`, `memory_size`, `locations_id`, `networks_id`, `printertypes_id`, `printermodels_id`, `manufacturers_id`, `is_global`, `is_deleted`, `is_template`, `template_name`, `init_pages_counter`, `last_pages_counter`, `users_id`, `groups_id`, `states_id`, `ticket_tco`, `is_dynamic`, `uuid`, `date_creation`, `sysdescr`, `last_inventory_update`, `snmpcredentials_id`, `autoupdatesystems_id`) VALUES
(1, 0, 0, 'Diretoria', '2023-08-23 19:58:22', '', 'Julieta', 7, 32, 'U62701J1N911290', 'IMP_000001', 0, 0, 1, 0, 1, '', '0', 1, 1, 1, 1, 2, 0, 0, 0, NULL, 0, 25690, 0, 21, 1, 0.0000, 0, '', '2023-08-23 19:50:58', '', NULL, 0, 0),
(2, 0, 0, 'Financeiro', '2023-10-11 10:07:22', '', '', 0, 32, 'U64198G6N255604', '', 0, 0, 1, 0, 1, '', '0', 1, 1, 1, 2, 2, 0, 0, 0, NULL, 0, 0, 0, 17, 1, 0.0000, 0, '', '2023-08-29 20:52:13', '', NULL, 0, 0),
(3, 0, 0, 'Crédito', '2023-10-11 11:51:00', '', '', 0, 32, 'U63267A3N342587', '', 0, 0, 1, 0, 1, '', '0', 1, 1, 1, 2, 2, 0, 0, 0, NULL, 0, 0, 0, 20, 1, 0.0000, 0, '', '2023-08-29 20:54:11', '', NULL, 0, 0),
(4, 0, 0, 'Faturamento1', '2023-10-11 10:49:21', '', '', 0, 32, 'U64198M8N965084', '', 0, 0, 1, 0, 1, '', '0', 1, 1, 1, 2, 2, 0, 0, 0, NULL, 0, 0, 0, 22, 1, 0.0000, 0, '', '2023-08-29 21:01:19', '', NULL, 0, 0),
(5, 0, 0, 'Faturamento 2', '2023-08-29 21:02:43', '', '', 0, 32, 'U64198G6N251567', '', 0, 0, 1, 0, 1, '', '0', 1, 0, 1, 2, 2, 0, 0, 0, NULL, 0, 0, 0, 22, 1, 0.0000, 0, '', '2023-08-29 21:02:43', '', NULL, 0, 0),
(6, 0, 0, 'Recursos Humanos', '2023-10-11 13:06:38', '', '', 0, 32, 'U63264G4N805039', '', 0, 0, 1, 1, 1, '', '0', 1, 1, 1, 3, 2, 0, 0, 0, NULL, 0, 0, 0, 31, 1, 0.0000, 0, '', '2023-10-11 13:06:38', '', NULL, 0, 0),
(7, 0, 0, 'Almoxarifado', '2023-10-11 13:10:05', '', '', 0, 32, 'U62701B3N198320', '', 0, 0, 1, 0, 1, '', '0', 1, 1, 1, 1, 2, 0, 0, 0, NULL, 0, 0, 67, 12, 1, 0.0000, 0, '', '2023-10-11 13:10:05', '', NULL, 0, 0),
(8, 0, 0, 'Hematologia', '2023-10-11 13:26:01', '', '', 0, 32, 'U63257F5N166836', '', 0, 0, 1, 0, 1, '', '0', 1, 1, 1, 2, 2, 0, 0, 0, NULL, 0, 0, 0, 26, 1, 0.0000, 0, '', '2023-10-11 13:11:25', '', NULL, 0, 0),
(9, 0, 0, 'CPD – Processamento de Dados', '2023-10-11 13:14:35', '', '', 0, 32, 'U63264A5N965394', '', 0, 0, 1, 0, 1, '', '0', 1, 1, 1, 3, 2, 0, 0, 0, NULL, 0, 0, 0, 19, 1, 0.0000, 0, '', '2023-10-11 13:14:35', '', NULL, 0, 0),
(10, 0, 0, 'Controle de Qualidade', '2023-10-11 13:39:41', 'Lindalva', '', 0, 32, 'U63260D3N342993', '', 0, 0, 1, 0, 1, '', '0', 1, 0, 3, 5, 2, 0, 0, 0, NULL, 0, 0, 24, 18, 1, 0.0000, 0, '', '2023-10-11 13:39:41', '', NULL, 0, 0),
(11, 0, 0, 'Glosas', '2023-10-11 13:46:26', '', '', 0, 32, 'U64278H1G453020', '', 0, 0, 1, 0, 1, '', '0', 1, 1, 3, 6, 2, 0, 0, 0, NULL, 0, 0, 0, 25, 1, 0.0000, 0, '', '2023-10-11 13:46:26', '', NULL, 0, 0),
(12, 0, 0, 'Informações / Telefonia', '2023-10-11 13:48:16', 'Jully / Kelly', '3', 0, 0, 'U63267M2N327570', '', 0, 0, 1, 0, 1, '', '0', 1, 1, 1, 4, 2, 0, 0, 0, NULL, 0, 0, 14, 28, 1, 0.0000, 0, '', '2023-10-11 13:48:16', '', NULL, 0, 0),
(13, 0, 0, 'Imuno Hormônio', '2023-10-11 13:54:27', '', '', 0, 32, 'U63257F5N166824', '', 0, 0, 1, 0, 1, '', '0', 1, 1, 1, 7, 2, 0, 0, 0, NULL, 0, 0, 25, 27, 1, 0.0000, 0, '', '2023-10-11 13:54:27', '', NULL, 0, 0),
(14, 0, 0, 'Bioquímica', '2023-10-11 13:58:53', '', '', 0, 32, 'U63257L4N861143', '', 0, 0, 1, 0, 1, '', '0', 1, 1, 3, 7, 2, 0, 0, 0, NULL, 0, 0, 22, 15, 1, 0.0000, 0, '', '2023-10-11 13:58:53', '', NULL, 0, 0),
(15, 0, 0, 'Gestão Qualidade', '2023-10-11 16:06:26', '', '', 0, 32, 'U63267L3N594055', '', 0, 0, 1, 0, 1, '', '0', 1, 1, 1, 3, 2, 0, 0, 0, NULL, 0, 0, 0, 24, 1, 0.0000, 0, '', '2023-10-11 16:05:49', '', NULL, 0, 0),
(16, 0, 0, 'Gestão Patologia Clínica', '2023-10-11 16:14:22', '', '', 0, 32, 'U63257F5N166819', '', 0, 0, 1, 0, 1, '', '0', 1, 0, 3, 7, 2, 0, 0, 0, NULL, 0, 0, 0, 23, 1, 0.0000, 0, '', '2023-10-11 16:14:22', '', NULL, 0, 0),
(17, 0, 0, 'Triagem M', '2023-10-11 16:38:19', '', '', 0, 32, 'L8N331901', '', 0, 0, 1, 0, 1, '', '0', 1, 0, 3, 8, 2, 0, 0, 0, NULL, 0, 0, 0, 33, 1, 0.0000, 0, '', '2023-10-11 16:38:19', '', NULL, 0, 0),
(18, 0, 0, 'Recepção Matriz ( Ficha )', '2023-10-11 16:50:00', '', '', 0, 32, 'U64198B8N678064', '', 0, 0, 1, 0, 1, '', '0', 1, 1, 1, 2, 2, 0, 0, 0, NULL, 0, 0, 0, 30, 1, 0.0000, 0, '', '2023-10-11 16:50:00', '', NULL, 0, 0),
(19, 0, 0, 'Recepção Matriz ( Laudo )', '2023-10-11 16:50:58', '', '', 0, 32, 'U64182C8N951172', '', 0, 0, 1, 0, 1, '', '0', 1, 0, 3, 8, 2, 0, 0, 0, NULL, 0, 0, 0, 30, 1, 0.0000, 0, '', '2023-10-11 16:50:58', '', NULL, 0, 0),
(20, 0, 0, 'Recepção Matriz ( Autorização )', '2023-10-11 16:54:19', '', '', 0, 0, 'U64198E9N190044', '', 0, 0, 1, 0, 1, '', '0', 1, 1, 1, 2, 2, 0, 0, 0, NULL, 0, 0, 0, 30, 1, 0.0000, 0, '', '2023-10-11 16:54:19', '', NULL, 0, 0),
(21, 0, 0, 'TI - Tecnologia da Informação', '2023-12-14 20:11:03', '', '', 0, 32, 'BRN001BA9F444D6', '', 0, 0, 1, 0, 1, '', '0', 1, 1, 1, 5, 2, 0, 0, 0, NULL, 0, 0, 0, 32, 1, 0.0000, 0, '', '2023-10-11 17:22:19', '', NULL, 0, 0),
(22, 0, 0, 'Triagem A 1', '2023-10-11 17:23:44', '', '', 0, 32, 'U64198B0N381585', '', 0, 0, 1, 0, 1, '', '0', 2, 1, 1, 2, 2, 0, 0, 0, NULL, 0, 0, 0, 11, 1, 0.0000, 0, '', '2023-10-11 17:23:44', '', NULL, 0, 0),
(23, 0, 0, 'Triagem A 2', '2023-10-11 17:26:18', '', '', 0, 32, 'G987X641787', '', 0, 0, 1, 1, 1, '', '0', 2, 1, 1, 9, 30, 0, 0, 0, NULL, 0, 0, 0, 11, 1, 0.0000, 0, '', '2023-10-11 17:26:18', '', NULL, 0, 0),
(24, 0, 0, 'Digitação', '2023-10-11 17:28:26', '', '', 0, 32, 'U64198H7N529814', '', 0, 0, 1, 0, 1, '', '0', 2, 1, 1, 2, 2, 0, 0, 0, NULL, 0, 0, 0, 6, 1, 0.0000, 0, '', '2023-10-11 17:28:26', '', NULL, 0, 0),
(25, 0, 0, 'Médicos', '2023-10-11 17:29:21', '', '', 0, 32, 'U64198H8N839694', '', 0, 0, 1, 0, 1, '', '0', 2, 1, 1, 2, 2, 0, 0, 0, NULL, 0, 0, 0, 9, 1, 0.0000, 0, '', '2023-10-11 17:29:21', '', NULL, 0, 0),
(26, 0, 0, 'Arquivos Lâminas', '2023-10-11 17:38:31', '', '', 0, 32, 'U63257F5N166820', '', 0, 0, 1, 0, 1, '', '0', 2, 0, 3, 7, 2, 0, 0, 0, NULL, 0, 0, 0, 3, 1, 0.0000, 0, '', '2023-10-11 17:31:35', '', NULL, 0, 0),
(27, 0, 0, 'Imuno Histoquímica', '2024-02-19 14:03:31', 'Karla / Gustavo', '2', 0, 32, 'U63257F5N166821', '', 0, 0, 1, 0, 1, '', '0', 2, 1, 3, 7, 2, 0, 0, 0, NULL, 0, 0, 99, 7, 1, 0.0000, 0, '', '2023-10-11 17:35:44', '', NULL, 0, 0),
(28, 0, 0, 'Controle de Qualidade', '2023-10-11 17:36:48', '', '', 0, 32, 'U62701E3N519365', '', 0, 0, 1, 0, 1, '', '0', 2, 1, 1, 1, 2, 0, 0, 0, NULL, 0, 0, 106, 4, 1, 0.0000, 0, '', '2023-10-11 17:36:48', '', NULL, 0, 0),
(29, 0, 0, 'Recepção Bueno ( Ficha )', '2023-10-11 18:46:57', '', '', 0, 32, 'U64198L9N326509', '', 0, 0, 1, 0, 1, '', '0', 5, 1, 1, 2, 2, 0, 0, 0, NULL, 0, 0, 0, 37, 1, 0.0000, 0, '', '2023-10-11 18:46:57', '', NULL, 0, 0),
(30, 0, 0, 'Recepção Bueno ( Autorização )', '2023-10-11 18:47:50', '', '', 0, 32, 'U64198L9N326707', '', 0, 0, 1, 0, 1, '', '0', 5, 1, 1, 2, 2, 0, 0, 0, NULL, 0, 0, 0, 37, 1, 0.0000, 0, '', '2023-10-11 18:47:50', '', NULL, 0, 0),
(31, 0, 0, 'Recepção Bueno ( Laudo )', '2023-10-11 18:49:11', '', '', 0, 28, 'U64182L2N912565', '', 0, 0, 1, 0, 1, '', '0', 5, 1, 3, 8, 2, 0, 0, 0, NULL, 0, 0, 0, 37, 1, 0.0000, 0, '', '2023-10-11 18:49:11', '', NULL, 0, 0),
(32, 0, 0, 'Consultório Bueno', '2023-10-11 19:51:25', '', '', 0, 32, 'A1N930474', '', 0, 0, 1, 0, 1, '', '0', 5, 1, 1, 10, 2, 0, 0, 0, NULL, 0, 0, 0, 37, 1, 0.0000, 0, '', '2023-10-11 18:53:57', '', NULL, 0, 0),
(33, 0, 0, 'Cebrom ( Ficha )', '2024-03-21 17:35:19', '', '', 0, 32, 'U63267A3N342570', '', 0, 0, 1, 0, 1, '', '0', 9, 1, 1, 4, 2, 0, 0, 0, NULL, 0, 0, 0, 41, 1, 0.0000, 0, '', '2023-10-11 18:58:21', '', NULL, 0, 0),
(34, 0, 0, 'Cebrom ( Laudo )', '2023-10-11 18:59:32', '', '', 0, 32, 'U63257D3N342469', '', 0, 0, 1, 0, 1, '', '0', 9, 1, 3, 7, 2, 0, 0, 0, NULL, 0, 0, 0, 41, 1, 0.0000, 0, '', '2023-10-11 18:59:32', '', NULL, 0, 0),
(35, 0, 0, 'Celina Park', '2023-10-11 19:00:40', '', '', 0, 32, 'U63264F5N196552', '', 0, 0, 1, 0, 1, '', '0', 10, 1, 1, 3, 2, 0, 0, 0, NULL, 0, 0, 0, 42, 1, 0.0000, 0, '', '2023-10-11 19:00:40', '', NULL, 0, 0),
(36, 0, 0, 'Centro Gastro', '2023-10-11 19:02:51', '', '', 0, 32, 'U63268A3N359274', '', 0, 0, 1, 0, 1, '', '0', 13, 1, 1, 11, 2, 0, 0, 0, NULL, 0, 0, 167, 45, 1, 0.0000, 0, '', '2023-10-11 19:02:51', '', NULL, 0, 0),
(37, 0, 0, 'Clínica da Imagem', '2023-10-11 19:03:41', '', '', 0, 28, 'U63264F5N196497', '', 0, 0, 1, 0, 1, '', '0', 12, 1, 1, 3, 2, 0, 0, 0, NULL, 0, 0, 0, 44, 1, 0.0000, 0, '', '2023-10-11 19:03:41', '', NULL, 0, 0),
(38, 0, 0, 'ELA { Centro Médico } ( Ficha )', '2023-10-11 19:09:48', '', '', 0, 32, 'U64198K9N282749', '', 0, 0, 1, 0, 1, '', '0', 3, 1, 1, 2, 2, 0, 0, 0, NULL, 0, 0, 0, 50, 1, 0.0000, 0, '', '2023-10-11 19:09:48', '', NULL, 0, 0),
(39, 0, 0, 'ELA { Centro Médico } ( Laudo )', '2023-10-11 19:10:35', '', '', 0, 32, 'U63257F5N166835', '', 0, 0, 1, 0, 1, '', '0', 3, 1, 3, 7, 2, 0, 0, 0, NULL, 0, 0, 0, 35, 1, 0.0000, 0, '', '2023-10-11 19:10:35', '', NULL, 0, 0),
(40, 0, 0, 'Gastro Clinica IGM', '2023-10-11 19:21:41', '', '', 0, 32, 'U63264F5N196507', '', 0, 0, 1, 0, 1, '', '0', 14, 1, 1, 3, 2, 0, 0, 0, NULL, 0, 0, 0, 54, 1, 0.0000, 0, '', '2023-10-11 19:21:41', '', NULL, 0, 0),
(41, 0, 0, 'Gastro ELA', '2023-10-11 19:23:46', '', '', 0, 28, 'U63264F5N196530', '', 0, 0, 1, 0, 1, '', '0', 18, 1, 1, 2, 2, 0, 0, 0, NULL, 0, 0, 0, 50, 1, 0.0000, 0, '', '2023-10-11 19:23:46', '', NULL, 0, 0),
(42, 0, 0, 'Recepção IAD ( Ficha )', '2023-10-11 19:26:39', '', '', 0, 32, 'U64198A3N268454', '', 0, 0, 1, 0, 1, '', '0', 8, 1, 1, 2, 2, 0, 0, 0, NULL, 0, 0, 0, 40, 1, 0.0000, 0, '', '2023-10-11 19:26:39', '', NULL, 0, 0),
(43, 0, 0, 'Recepção IAD ( Autorização )', '2023-10-11 19:27:30', '', '', 0, 32, 'U64198A3N268462', '', 0, 0, 1, 0, 1, '', '0', 8, 1, 1, 2, 2, 0, 0, 0, NULL, 0, 0, 0, 40, 1, 0.0000, 0, '', '2023-10-11 19:27:30', '', NULL, 0, 0),
(44, 0, 0, 'Recepção IAD ( Laudo )', '2023-10-11 19:28:16', '', '', 0, 32, '', '', 0, 0, 1, 0, 1, '', '0', 8, 1, 3, 8, 2, 0, 0, 0, NULL, 0, 0, 0, 40, 1, 0.0000, 0, '', '2023-10-11 19:28:16', '', NULL, 0, 0),
(45, 0, 0, 'Recepção IAD ( 3° Andar )', '2023-10-11 19:32:51', '', '', 0, 32, 'U63257A4N617488', '', 0, 0, 1, 0, 1, 'Pertence ao Laboratório CAPC', '0', 8, 1, 3, 12, 2, 0, 0, 0, NULL, 0, 0, 0, 40, 1, 0.0000, 0, '', '2023-10-11 19:32:51', '', NULL, 0, 0),
(46, 0, 0, 'Honcord', '2023-10-11 19:37:00', '', '', 0, 32, 'U63264F5N196468', '', 0, 0, 1, 0, 1, '', '0', 19, 1, 1, 3, 2, 0, 0, 0, NULL, 0, 0, 0, 56, 1, 0.0000, 0, '', '2023-10-11 19:37:00', '', NULL, 0, 0),
(47, 0, 0, 'IMO', '2023-10-11 19:37:59', '', '', 0, 32, 'U63264F5N196767', '', 0, 0, 1, 0, 1, '', '0', 15, 1, 1, 3, 2, 0, 0, 0, NULL, 0, 0, 0, 47, 1, 0.0000, 0, '', '2023-10-11 19:37:59', '', NULL, 0, 0),
(48, 0, 0, 'Itumbiara', '2023-10-11 19:40:52', '', '', 0, 32, 'U63264A5N965447', '', 0, 0, 1, 0, 1, '', '0', 11, 1, 1, 3, 2, 0, 0, 0, NULL, 0, 0, 0, 43, 1, 0.0000, 0, '', '2023-10-11 19:40:52', '', NULL, 0, 0),
(49, 0, 0, 'La Femme', '2023-10-11 19:41:44', '', '', 0, 32, 'U63264F5N196513', '', 0, 0, 1, 0, 1, '', '0', 7, 1, 1, 3, 2, 0, 0, 0, NULL, 0, 0, 0, 39, 1, 0.0000, 0, '', '2023-10-11 19:41:44', '', NULL, 0, 0),
(50, 0, 0, 'Liver', '2023-10-11 19:42:24', '', '', 0, 32, 'U63268E4N745938', '', 0, 0, 1, 0, 1, '', '0', 16, 1, 1, 11, 2, 0, 0, 0, NULL, 0, 0, 0, 48, 1, 0.0000, 0, '', '2023-10-11 19:42:24', '', NULL, 0, 0),
(51, 0, 0, 'Multimagem', '2023-10-11 19:44:00', '', '', 0, 32, 'U63264D4N713947', '', 0, 0, 1, 0, 1, '', '0', 6, 1, 1, 3, 2, 0, 0, 0, NULL, 0, 0, 0, 38, 1, 0.0000, 0, '', '2023-10-11 19:44:00', '', NULL, 0, 0),
(52, 0, 0, 'Sírio Libanês', '2023-10-11 19:44:44', '', '', 0, 32, 'U63264F5N196499', '', 0, 0, 1, 0, 1, '', '0', 4, 1, 1, 3, 2, 0, 0, 0, NULL, 0, 0, 0, 36, 1, 0.0000, 0, '', '2023-10-11 19:44:44', '', NULL, 0, 0),
(53, 0, 0, 'Ultrassom', '2023-10-11 19:49:28', '', '', 0, 32, 'AAJT011203095', '', 0, 0, 1, 0, 1, '', '0', 5, 1, 1, 13, 31, 0, 0, 0, NULL, 0, 0, 15, 37, 1, 0.0000, 0, '', '2023-10-11 19:49:28', '', NULL, 0, 0),
(54, 0, 0, 'Etiqueta II', '2024-01-30 21:19:36', '', '', 0, 32, '', '', 1, 0, 1, 0, 0, '', '0', 8, 0, 6, 14, 33, 0, 0, 0, NULL, 0, 0, 0, 0, 1, 0.0000, 0, '', '2024-01-30 21:19:36', '', NULL, 0, 0),
(55, 0, 0, 'Etiqueta Recepção', '2024-07-04 11:42:58', '', '5', 0, 32, '41J092801006', '000163', 1, 0, 1, 0, 0, '', '0', 1, 0, 5, 15, 24, 0, 0, 0, NULL, 0, 0, 0, 30, 2, 0.0000, 0, '', '2024-07-02 16:53:22', '', NULL, 0, 0);

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

--
-- Estrutura para tabela `glpi_printers_cartridgeinfos`
--

