CREATE TABLE `consudevolucions` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `consumible_id` bigint(20) UNSIGNED NOT NULL,
  `trabajador_id` bigint(20) UNSIGNED NOT NULL,
  `cantidad` bigint(20) NOT NULL,
  `recibido_por` bigint(20) UNSIGNED NOT NULL,
  `folio` bigint(20) UNSIGNED NOT NULL,
  `fecha` date NOT NULL,
  `condicion` varchar(120) NOT NULL,
  `baja_por` varchar(60) DEFAULT NULL,
  `fecha_baja` date DEFAULT NULL,
  `estado` int(11) NOT NULL DEFAULT 1,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_spanish2_ci;

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

--
-- Estructura de tabla para la tabla `consuentregas`
--

CREATE TABLE `consuentregas` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `empresa_id` bigint(20) UNSIGNED NOT NULL,
  `trabajador_id` bigint(20) UNSIGNED NOT NULL,
  `proyecto_id` bigint(20) UNSIGNED NOT NULL,
  `costo_total` bigint(20) NOT NULL,
  `autorizado_por` varchar(60) DEFAULT NULL,
  `ingresado_por` bigint(20) UNSIGNED NOT NULL,
  `folio` bigint(20) UNSIGNED NOT NULL,
  `fecha_baja` date DEFAULT NULL,
  `baja_por` varchar(60) DEFAULT NULL,
  `estado` int(11) NOT NULL DEFAULT 1,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_spanish2_ci;

--
-- Volcado de datos para la tabla `consuentregas`
--

INSERT INTO `consuentregas` (`id`, `empresa_id`, `trabajador_id`, `proyecto_id`, `costo_total`, `autorizado_por`, `ingresado_por`, `folio`, `fecha_baja`, `baja_por`, `estado`, `created_at`, `updated_at`) VALUES
(1, 1, 49, 1, 14217, 'Álvaro Laureano', 1, 469, NULL, NULL, 1, '2025-08-06 20:41:08', '2025-08-06 20:41:08'),
(2, 1, 7, 1, 32312, 'Juana Carbajal', 1, 339, NULL, NULL, 1, '2025-08-06 20:41:08', '2025-08-06 20:41:08'),
(3, 1, 28, 2, 19833, 'Inmaculada Tórrez', 1, 11, NULL, NULL, 1, '2025-08-06 20:41:08', '2025-08-06 20:41:08'),
(4, 1, 52, 2, 21150, 'Jon Esquibel', 1, 422, NULL, NULL, 1, '2025-08-06 20:41:08', '2025-08-06 20:41:08'),
(5, 1, 41, 3, 37046, 'Mateo Puig', 1, 452, NULL, NULL, 1, '2025-08-06 20:41:08', '2025-08-06 20:41:08'),
(6, 1, 40, 3, 24439, 'Víctor Tamez', 1, 206, NULL, NULL, 1, '2025-08-06 20:41:08', '2025-08-06 20:41:08'),
(7, 1, 28, 2, 15572, 'Mario Montes', 1, 153, NULL, NULL, 1, '2025-08-06 20:41:08', '2025-08-06 20:41:08'),
(8, 1, 19, 3, 15684, 'Jon Mateo', 1, 108, NULL, NULL, 1, '2025-08-06 20:41:08', '2025-08-06 20:41:08'),
(9, 1, 41, 2, 46359, 'Jan Batista', 1, 247, NULL, NULL, 1, '2025-08-06 20:41:08', '2025-08-06 20:41:08'),
(10, 1, 24, 3, 28020, 'Noa Galán', 1, 300, NULL, NULL, 1, '2025-08-06 20:41:08', '2025-08-06 20:41:08'),
(11, 1, 44, 2, 26964, 'Óscar Maldonado', 1, 235, NULL, NULL, 1, '2025-08-06 20:41:08', '2025-08-06 20:41:08'),
(12, 1, 21, 1, 19601, 'Rafael Rueda', 1, 267, NULL, NULL, 1, '2025-08-06 20:41:08', '2025-08-06 20:41:08'),
(13, 1, 23, 2, 35112, 'Aitana Saavedra', 1, 175, NULL, NULL, 1, '2025-08-06 20:41:08', '2025-08-06 20:41:08'),
(14, 1, 43, 3, 44667, 'Alejandra Baca', 1, 491, NULL, NULL, 1, '2025-08-06 20:41:08', '2025-08-06 20:41:08'),
(15, 1, 6, 3, 19869, 'Biel Nava', 1, 477, NULL, NULL, 1, '2025-08-06 20:41:08', '2025-08-06 20:41:08'),
(16, 1, 13, 3, 33652, 'Ona Ceja', 1, 130, NULL, NULL, 1, '2025-08-06 20:41:08', '2025-08-06 20:41:08'),
(17, 1, 3, 2, 20391, 'Juana Castellanos', 1, 322, NULL, NULL, 1, '2025-08-06 20:41:08', '2025-08-06 20:41:08'),
(18, 1, 14, 2, 19953, 'Manuel Loya', 1, 357, NULL, NULL, 1, '2025-08-06 20:41:08', '2025-08-06 20:41:08'),
(19, 1, 33, 2, 47011, 'Daniela Alcántar', 1, 351, NULL, NULL, 1, '2025-08-06 20:41:08', '2025-08-06 20:41:08'),
(20, 1, 53, 1, 23445, 'Miguel González', 1, 2, NULL, NULL, 1, '2025-08-06 20:41:08', '2025-08-06 20:41:08'),
(21, 1, 55, 1, 47244, 'Fernando Herrera', 1, 35, NULL, NULL, 1, '2025-08-06 20:41:08', '2025-08-06 20:41:08'),
(22, 1, 29, 2, 20761, 'Cristian Valadez', 1, 362, NULL, NULL, 1, '2025-08-06 20:41:08', '2025-08-06 20:41:08'),
(23, 1, 14, 3, 41864, 'Francisca Trujillo', 1, 120, NULL, NULL, 1, '2025-08-06 20:41:08', '2025-08-06 20:41:08'),
(24, 1, 6, 3, 16999, 'Asier Vaca', 1, 73, NULL, NULL, 1, '2025-08-06 20:41:08', '2025-08-06 20:41:08'),
(25, 1, 20, 1, 23161, 'Ismael Garay', 1, 193, NULL, NULL, 1, '2025-08-06 20:41:08', '2025-08-06 20:41:08'),
(26, 1, 2, 2, 48731, 'África Vidal', 1, 123, NULL, NULL, 1, '2025-08-06 20:41:08', '2025-08-06 20:41:08'),
(27, 1, 59, 2, 39708, 'Encarnación Hernándes', 1, 223, NULL, NULL, 1, '2025-08-06 20:41:08', '2025-08-06 20:41:08'),
(28, 1, 11, 1, 15562, 'Sara Valle', 1, 467, NULL, NULL, 1, '2025-08-06 20:41:08', '2025-08-06 20:41:08'),
(29, 1, 50, 3, 33641, 'Isabel Valenzuela', 1, 18, NULL, NULL, 1, '2025-08-06 20:41:08', '2025-08-06 20:41:08'),
(30, 1, 11, 2, 31510, 'Aleix Barreto', 1, 105, NULL, NULL, 1, '2025-08-06 20:41:08', '2025-08-06 20:41:08'),
(31, 1, 58, 3, 27935, 'Yago Alfonso', 1, 65, NULL, NULL, 1, '2025-08-06 20:41:08', '2025-08-06 20:41:08'),
(32, 1, 18, 1, 19562, 'Nora Montemayor', 1, 178, NULL, NULL, 1, '2025-08-06 20:41:08', '2025-08-06 20:41:08'),
(33, 1, 44, 2, 30310, 'Javier Bustamante', 1, 32, NULL, NULL, 1, '2025-08-06 20:41:08', '2025-08-06 20:41:08'),
(34, 1, 2, 3, 18613, 'Alexandra Trejo', 1, 450, NULL, NULL, 1, '2025-08-06 20:41:08', '2025-08-06 20:41:08'),
(35, 1, 27, 3, 10954, 'Nayara Jiménez', 1, 352, NULL, NULL, 1, '2025-08-06 20:41:08', '2025-08-06 20:41:08'),
(36, 1, 26, 3, 48903, 'Carla Aguayo', 1, 50, NULL, NULL, 1, '2025-08-06 20:41:08', '2025-08-06 20:41:08'),
(37, 1, 18, 3, 25385, 'Inés Puente', 1, 243, NULL, NULL, 1, '2025-08-06 20:41:08', '2025-08-06 20:41:08'),
(38, 1, 20, 1, 41771, 'Marc Carmona', 1, 298, NULL, NULL, 1, '2025-08-06 20:41:08', '2025-08-06 20:41:08'),
(39, 1, 59, 1, 14970, 'Rosa María Enríquez', 1, 459, NULL, NULL, 1, '2025-08-06 20:41:08', '2025-08-06 20:41:08'),
(40, 1, 5, 2, 20613, 'Víctor Bermejo', 1, 20, NULL, NULL, 1, '2025-08-06 20:41:08', '2025-08-06 20:41:08'),
(41, 1, 43, 2, 39705, 'Francisco Roca', 1, 405, NULL, NULL, 1, '2025-08-06 20:41:08', '2025-08-06 20:41:08'),
(42, 1, 22, 2, 43778, 'Alejandra Orta', 1, 439, NULL, NULL, 1, '2025-08-06 20:41:08', '2025-08-06 20:41:08'),
(43, 1, 31, 3, 31502, 'Diana Peña', 1, 360, NULL, NULL, 1, '2025-08-06 20:41:08', '2025-08-06 20:41:08'),
(44, 1, 50, 3, 36177, 'Natalia Araña', 1, 461, NULL, NULL, 1, '2025-08-06 20:41:08', '2025-08-06 20:41:08'),
(45, 1, 60, 3, 26687, 'Ana Macías', 1, 71, NULL, NULL, 1, '2025-08-06 20:41:08', '2025-08-06 20:41:08'),
(46, 1, 55, 2, 10346, 'Miriam Madera', 1, 342, NULL, NULL, 1, '2025-08-06 20:41:08', '2025-08-06 20:41:08'),
(47, 1, 9, 3, 24761, 'Óscar Holguín', 1, 258, NULL, NULL, 1, '2025-08-06 20:41:08', '2025-08-06 20:41:08'),
(48, 1, 16, 3, 35135, 'Marina Ozuna', 1, 320, NULL, NULL, 1, '2025-08-06 20:41:08', '2025-08-06 20:41:08'),
(49, 1, 46, 2, 23105, 'Juan Roque', 1, 86, NULL, NULL, 1, '2025-08-06 20:41:08', '2025-08-06 20:41:08'),
(50, 1, 46, 1, 34316, 'Antonia Mayorga', 1, 328, NULL, NULL, 1, '2025-08-06 20:41:08', '2025-08-06 20:41:08');

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

--
-- Estructura de tabla para la tabla `consuentregasitems`
--

CREATE TABLE `consuentregasitems` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `consuentrega_id` bigint(20) UNSIGNED NOT NULL,
  `consumible_id` bigint(20) UNSIGNED NOT NULL,
  `cantidad` bigint(20) NOT NULL,
  `costo_unitario` bigint(20) NOT NULL,
  `fecha_final` date DEFAULT NULL,
  `condicion` varchar(120) DEFAULT NULL,
  `devuelto` int(11) NOT NULL DEFAULT 0,
  `fecha_baja` date DEFAULT NULL,
  `baja_por` varchar(60) DEFAULT NULL,
  `estado` int(11) NOT NULL DEFAULT 1,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_spanish2_ci;

--
-- Volcado de datos para la tabla `consuentregasitems`
--

INSERT INTO `consuentregasitems` (`id`, `consuentrega_id`, `consumible_id`, `cantidad`, `costo_unitario`, `fecha_final`, `condicion`, `devuelto`, `fecha_baja`, `baja_por`, `estado`, `created_at`, `updated_at`) VALUES
(1, 19, 23, 4, 32789, '2025-08-30', 'usado con fallas', 3, NULL, NULL, 1, '2025-08-07 15:18:05', '2025-08-07 15:18:05'),
(2, 49, 64, 7, 9901, '2025-09-04', 'usado sin detalles', 5, NULL, NULL, 1, '2025-08-07 15:18:05', '2025-08-07 15:18:05'),
(3, 31, 34, 4, 22601, '2025-08-31', 'usado con fallas', 2, NULL, NULL, 1, '2025-08-07 15:18:05', '2025-08-07 15:18:05'),
(4, 6, 4, 9, 42846, '2025-08-11', 'usado con fallas', 0, NULL, NULL, 1, '2025-08-07 15:18:05', '2025-08-07 15:18:05'),
(5, 15, 74, 8, 32240, '2025-08-19', 'usado con fallas', 6, NULL, NULL, 1, '2025-08-07 15:18:05', '2025-08-07 15:18:05'),
(6, 11, 17, 7, 30640, '2025-07-24', 'usado con detalles', 2, NULL, NULL, 1, '2025-08-07 15:18:05', '2025-08-07 15:18:05'),
(7, 44, 85, 9, 7177, '2025-08-19', 'usado sin detalles', 1, NULL, NULL, 1, '2025-08-07 15:18:05', '2025-08-07 15:18:05'),
(8, 8, 12, 5, 34657, '2025-07-26', 'usado sin detalles', 6, NULL, NULL, 1, '2025-08-07 15:18:05', '2025-08-07 15:18:05'),
(9, 3, 57, 6, 20881, '2025-07-31', 'nuevo', 2, NULL, NULL, 1, '2025-08-07 15:18:05', '2025-08-07 15:18:05'),
(10, 6, 63, 7, 46674, '2025-10-02', 'usado con detalles', 0, NULL, NULL, 1, '2025-08-07 15:18:05', '2025-08-07 15:18:05'),
(11, 32, 2, 10, 38815, '2025-08-14', 'usado con detalles', 1, NULL, NULL, 1, '2025-08-07 15:18:05', '2025-08-07 15:18:05'),
(12, 30, 91, 4, 36265, '2025-08-15', 'usado con fallas', 5, NULL, NULL, 1, '2025-08-07 15:18:05', '2025-08-07 15:18:05'),
(13, 28, 58, 8, 10216, '2025-08-27', 'nuevo', 6, NULL, NULL, 1, '2025-08-07 15:18:05', '2025-08-07 15:18:05'),
(14, 44, 30, 6, 34426, '2025-08-02', 'usado con fallas', 6, NULL, NULL, 1, '2025-08-07 15:18:05', '2025-08-07 15:18:05'),
(15, 14, 58, 7, 33656, '2025-10-05', 'nuevo', 6, NULL, NULL, 1, '2025-08-07 15:18:05', '2025-08-07 15:18:05'),
(16, 34, 24, 4, 32880, '2025-09-27', 'usado con detalles', 2, NULL, NULL, 1, '2025-08-07 15:18:05', '2025-08-07 15:18:05'),
(17, 21, 100, 10, 32517, '2025-09-18', 'usado sin detalles', 6, NULL, NULL, 1, '2025-08-07 15:18:05', '2025-08-07 15:18:05'),
(18, 28, 43, 11, 27467, '2025-08-20', 'usado sin detalles', 4, NULL, NULL, 1, '2025-08-07 15:18:05', '2025-08-07 15:18:05'),
(19, 43, 38, 8, 45275, '2025-09-20', 'usado con fallas', 4, NULL, NULL, 1, '2025-08-07 15:18:05', '2025-08-07 15:18:05'),
(20, 47, 49, 4, 27258, '2025-08-21', 'usado sin detalles', 4, NULL, NULL, 1, '2025-08-07 15:18:05', '2025-08-07 15:18:05'),
(21, 43, 62, 11, 29524, '2025-08-12', 'usado con detalles', 3, NULL, NULL, 1, '2025-08-07 15:18:05', '2025-08-07 15:18:05'),
(22, 13, 31, 4, 25335, '2025-09-14', 'usado con detalles', 2, NULL, NULL, 1, '2025-08-07 15:18:05', '2025-08-07 15:18:05'),
(23, 38, 33, 9, 21340, '2025-09-02', 'usado sin detalles', 3, NULL, NULL, 1, '2025-08-07 15:18:05', '2025-08-07 15:18:05'),
(24, 4, 87, 6, 30248, '2025-08-08', 'usado con fallas', 2, NULL, NULL, 1, '2025-08-07 15:18:05', '2025-08-07 15:18:05'),
(25, 28, 45, 8, 17028, '2025-08-01', 'usado con fallas', 6, NULL, NULL, 1, '2025-08-07 15:18:05', '2025-08-07 15:18:05'),
(26, 41, 96, 5, 38182, '2025-09-15', 'nuevo', 6, NULL, NULL, 1, '2025-08-07 15:18:05', '2025-08-07 15:18:05'),
(27, 39, 49, 9, 44901, '2025-07-27', 'nuevo', 1, NULL, NULL, 1, '2025-08-07 15:18:05', '2025-08-07 15:18:05'),
(28, 11, 87, 8, 14217, '2025-09-21', 'usado con detalles', 4, NULL, NULL, 1, '2025-08-07 15:18:05', '2025-08-07 15:18:05'),
(29, 30, 59, 9, 41483, '2025-09-11', 'usado sin detalles', 6, NULL, NULL, 1, '2025-08-07 15:18:05', '2025-08-07 15:18:05'),
(30, 34, 76, 6, 18263, '2025-09-04', 'nuevo', 4, NULL, NULL, 1, '2025-08-07 15:18:05', '2025-08-07 15:18:05'),
(31, 47, 100, 10, 35694, '2025-09-01', 'usado sin detalles', 6, NULL, NULL, 1, '2025-08-07 15:18:05', '2025-08-07 15:18:05'),
(32, 14, 15, 5, 7658, '2025-09-08', 'usado con detalles', 2, NULL, NULL, 1, '2025-08-07 15:18:05', '2025-08-07 15:18:05'),
(33, 49, 61, 6, 13031, '2025-08-05', 'usado con fallas', 5, NULL, NULL, 1, '2025-08-07 15:18:05', '2025-08-07 15:18:05'),
(34, 18, 73, 11, 19207, '2025-08-24', 'usado sin detalles', 1, NULL, NULL, 1, '2025-08-07 15:18:05', '2025-08-07 15:18:05'),
(35, 48, 40, 5, 44782, '2025-08-10', 'usado con fallas', 1, NULL, NULL, 1, '2025-08-07 15:18:05', '2025-08-07 15:18:05'),
(36, 14, 63, 8, 9459, '2025-08-12', 'usado con detalles', 1, NULL, NULL, 1, '2025-08-07 15:18:05', '2025-08-07 15:18:05'),
(37, 50, 57, 6, 22534, '2025-09-21', 'usado sin detalles', 4, NULL, NULL, 1, '2025-08-07 15:18:05', '2025-08-07 15:18:05'),
(38, 31, 82, 8, 6801, '2025-09-05', 'nuevo', 6, NULL, NULL, 1, '2025-08-07 15:18:05', '2025-08-07 15:18:05'),
(39, 21, 33, 6, 36888, '2025-07-29', 'nuevo', 6, NULL, NULL, 1, '2025-08-07 15:18:05', '2025-08-07 15:18:05'),
(40, 3, 83, 11, 49275, '2025-09-25', 'usado sin detalles', 6, NULL, NULL, 1, '2025-08-07 15:18:05', '2025-08-07 15:18:05'),
(41, 25, 100, 5, 46780, '2025-08-20', 'usado sin detalles', 1, NULL, NULL, 1, '2025-08-07 15:18:05', '2025-08-07 15:18:05'),
(42, 4, 25, 11, 13168, '2025-09-06', 'usado con detalles', 1, NULL, NULL, 1, '2025-08-07 15:18:05', '2025-08-07 15:18:05'),
(43, 47, 16, 11, 39592, '2025-09-03', 'usado sin detalles', 4, NULL, NULL, 1, '2025-08-07 15:18:05', '2025-08-07 15:18:05'),
(44, 11, 15, 8, 29810, '2025-09-23', 'nuevo', 1, NULL, NULL, 1, '2025-08-07 15:18:05', '2025-08-07 15:18:05'),
(45, 26, 93, 11, 12996, '2025-08-28', 'usado con fallas', 4, NULL, NULL, 1, '2025-08-07 15:18:05', '2025-08-07 15:18:05'),
(46, 41, 11, 7, 24292, '2025-08-06', 'usado sin detalles', 4, NULL, NULL, 1, '2025-08-07 15:18:05', '2025-08-07 15:18:05'),
(47, 48, 73, 11, 11980, '2025-08-04', 'nuevo', 4, NULL, NULL, 1, '2025-08-07 15:18:05', '2025-08-07 15:18:05'),
(48, 36, 76, 10, 6719, '2025-09-28', 'usado con detalles', 1, NULL, NULL, 1, '2025-08-07 15:18:05', '2025-08-07 15:18:05'),
(49, 11, 52, 10, 10395, '2025-08-26', 'usado sin detalles', 0, NULL, NULL, 1, '2025-08-07 15:18:05', '2025-08-07 15:18:05'),
(50, 15, 42, 6, 34728, '2025-08-03', 'nuevo', 5, NULL, NULL, 1, '2025-08-07 15:18:05', '2025-08-07 15:18:05'),
(51, 19, 80, 9, 37396, '2025-08-29', 'usado sin detalles', 0, NULL, NULL, 1, '2025-08-07 15:18:05', '2025-08-07 15:18:05'),
(52, 5, 26, 4, 45581, '2025-09-12', 'nuevo', 3, NULL, NULL, 1, '2025-08-07 15:18:05', '2025-08-07 15:18:05'),
(53, 46, 70, 4, 22445, '2025-09-19', 'nuevo', 1, NULL, NULL, 1, '2025-08-07 15:18:05', '2025-08-07 15:18:05'),
(54, 27, 48, 7, 12193, '2025-09-01', 'usado sin detalles', 4, NULL, NULL, 1, '2025-08-07 15:18:05', '2025-08-07 15:18:05'),
(55, 48, 24, 5, 23716, '2025-08-17', 'usado con fallas', 0, NULL, NULL, 1, '2025-08-07 15:18:05', '2025-08-07 15:18:05'),
(56, 24, 49, 4, 17094, '2025-08-31', 'nuevo', 5, NULL, NULL, 1, '2025-08-07 15:18:05', '2025-08-07 15:18:05'),
(57, 3, 36, 7, 15371, '2025-07-25', 'nuevo', 2, NULL, NULL, 1, '2025-08-07 15:18:05', '2025-08-07 15:18:05'),
(58, 32, 79, 7, 21128, '2025-09-09', 'nuevo', 1, NULL, NULL, 1, '2025-08-07 15:18:05', '2025-08-07 15:18:05'),
(59, 34, 54, 6, 47102, '2025-10-05', 'usado con fallas', 3, NULL, NULL, 1, '2025-08-07 15:18:05', '2025-08-07 15:18:05'),
(60, 23, 76, 6, 35108, '2025-08-14', 'usado con detalles', 3, NULL, NULL, 1, '2025-08-07 15:18:05', '2025-08-07 15:18:05'),
(61, 15, 100, 8, 20632, '2025-08-08', 'nuevo', 2, NULL, NULL, 1, '2025-08-07 15:18:05', '2025-08-07 15:18:05'),
(62, 37, 21, 10, 12146, '2025-09-14', 'usado con fallas', 2, NULL, NULL, 1, '2025-08-07 15:18:05', '2025-08-07 15:18:05'),
(63, 20, 61, 7, 8117, '2025-09-02', 'usado con fallas', 1, NULL, NULL, 1, '2025-08-07 15:18:05', '2025-08-07 15:18:05'),
(64, 35, 57, 4, 41490, '2025-09-22', 'nuevo', 2, NULL, NULL, 1, '2025-08-07 15:18:05', '2025-08-07 15:18:05'),
(65, 44, 47, 9, 49411, '2025-10-03', 'usado con detalles', 6, NULL, NULL, 1, '2025-08-07 15:18:05', '2025-08-07 15:18:05'),
(66, 21, 93, 11, 34297, '2025-08-11', 'usado con fallas', 3, NULL, NULL, 1, '2025-08-07 15:18:05', '2025-08-07 15:18:05'),
(67, 27, 11, 10, 43768, '2025-08-30', 'usado sin detalles', 2, NULL, NULL, 1, '2025-08-07 15:18:05', '2025-08-07 15:18:05'),
(68, 48, 49, 7, 31592, '2025-09-12', 'usado con detalles', 6, NULL, NULL, 1, '2025-08-07 15:18:05', '2025-08-07 15:18:05'),
(69, 45, 59, 11, 13882, '2025-08-19', 'nuevo', 0, NULL, NULL, 1, '2025-08-07 15:18:05', '2025-08-07 15:18:05'),
(70, 12, 13, 5, 33061, '2025-08-03', 'usado sin detalles', 0, NULL, NULL, 1, '2025-08-07 15:18:05', '2025-08-07 15:18:05'),
(71, 11, 36, 7, 23957, '2025-10-04', 'usado con detalles', 6, NULL, NULL, 1, '2025-08-07 15:18:05', '2025-08-07 15:18:05'),
(72, 22, 80, 10, 8170, '2025-09-13', 'usado con fallas', 3, NULL, NULL, 1, '2025-08-07 15:18:05', '2025-08-07 15:18:05'),
(73, 2, 81, 6, 40252, '2025-08-05', 'nuevo', 6, NULL, NULL, 1, '2025-08-07 15:18:05', '2025-08-07 15:18:05'),
(74, 6, 79, 11, 9384, '2025-10-02', 'usado con fallas', 4, NULL, NULL, 1, '2025-08-07 15:18:05', '2025-08-07 15:18:05'),
(75, 31, 97, 9, 18549, '2025-09-13', 'usado con fallas', 3, NULL, NULL, 1, '2025-08-07 15:18:05', '2025-08-07 15:18:05'),
(76, 6, 70, 9, 31708, '2025-09-07', 'nuevo', 4, NULL, NULL, 1, '2025-08-07 15:18:05', '2025-08-07 15:18:05'),
(77, 15, 92, 10, 17138, '2025-08-25', 'usado con detalles', 2, NULL, NULL, 1, '2025-08-07 15:18:05', '2025-08-07 15:18:05'),
(78, 48, 68, 7, 46828, '2025-09-12', 'usado con detalles', 5, NULL, NULL, 1, '2025-08-07 15:18:05', '2025-08-07 15:18:05'),
(79, 7, 74, 5, 6881, '2025-09-03', 'usado con fallas', 3, NULL, NULL, 1, '2025-08-07 15:18:05', '2025-08-07 15:18:05'),
(80, 31, 30, 8, 27916, '2025-09-26', 'usado con detalles', 1, NULL, NULL, 1, '2025-08-07 15:18:05', '2025-08-07 15:18:05'),
(81, 49, 6, 9, 24592, '2025-08-25', 'usado con detalles', 3, NULL, NULL, 1, '2025-08-07 15:18:05', '2025-08-07 15:18:05'),
(82, 22, 90, 10, 20431, '2025-09-10', 'nuevo', 0, NULL, NULL, 1, '2025-08-07 15:18:05', '2025-08-07 15:18:05'),
(83, 42, 26, 8, 44477, '2025-09-01', 'usado con detalles', 0, NULL, NULL, 1, '2025-08-07 15:18:06', '2025-08-07 15:18:06'),
(84, 17, 30, 11, 46557, '2025-09-23', 'usado con fallas', 4, NULL, NULL, 1, '2025-08-07 15:18:06', '2025-08-07 15:18:06'),
(85, 27, 14, 9, 41544, '2025-08-11', 'usado con fallas', 1, NULL, NULL, 1, '2025-08-07 15:18:06', '2025-08-07 15:18:06'),
(86, 36, 71, 4, 43508, '2025-08-07', 'nuevo', 1, NULL, NULL, 1, '2025-08-07 15:18:06', '2025-08-07 15:18:06'),
(87, 9, 49, 9, 47457, '2025-08-10', 'nuevo', 2, NULL, NULL, 1, '2025-08-07 15:18:06', '2025-08-07 15:18:06'),
(88, 24, 15, 10, 10427, '2025-10-04', 'usado sin detalles', 1, NULL, NULL, 1, '2025-08-07 15:18:06', '2025-08-07 15:18:06'),
(89, 43, 24, 6, 25004, '2025-10-05', 'nuevo', 1, NULL, NULL, 1, '2025-08-07 15:18:06', '2025-08-07 15:18:06'),
(90, 19, 22, 7, 27286, '2025-09-18', 'usado sin detalles', 4, NULL, NULL, 1, '2025-08-07 15:18:06', '2025-08-07 15:18:06'),
(91, 35, 54, 4, 36020, '2025-08-21', 'usado sin detalles', 2, NULL, NULL, 1, '2025-08-07 15:18:06', '2025-08-07 15:18:06'),
(92, 27, 57, 9, 13242, '2025-08-24', 'usado con fallas', 6, NULL, NULL, 1, '2025-08-07 15:18:06', '2025-08-07 15:18:06'),
(93, 42, 4, 6, 38717, '2025-09-09', 'usado con detalles', 1, NULL, NULL, 1, '2025-08-07 15:18:06', '2025-08-07 15:18:06'),
(94, 4, 51, 8, 25890, '2025-09-26', 'usado con detalles', 6, NULL, NULL, 1, '2025-08-07 15:18:06', '2025-08-07 15:18:06'),
(95, 3, 14, 11, 32624, '2025-09-20', 'usado con fallas', 1, NULL, NULL, 1, '2025-08-07 15:18:06', '2025-08-07 15:18:06'),
(96, 50, 24, 4, 14708, '2025-09-11', 'nuevo', 4, NULL, NULL, 1, '2025-08-07 15:18:06', '2025-08-07 15:18:06'),
(97, 15, 63, 6, 25117, '2025-08-17', 'usado con fallas', 6, NULL, NULL, 1, '2025-08-07 15:18:06', '2025-08-07 15:18:06'),
(98, 31, 50, 11, 44184, '2025-08-07', 'usado con detalles', 1, NULL, NULL, 1, '2025-08-07 15:18:06', '2025-08-07 15:18:06'),
(99, 43, 23, 9, 36551, '2025-09-14', 'usado sin detalles', 6, NULL, NULL, 1, '2025-08-07 15:18:06', '2025-08-07 15:18:06'),
(100, 19, 79, 6, 10838, '2025-08-12', 'usado con fallas', 2, NULL, NULL, 1, '2025-08-07 15:18:06', '2025-08-07 15:18:06'),
(101, 34, 20, 4, 16667, '2025-08-08', 'nuevo', 3, NULL, NULL, 1, '2025-08-07 15:18:06', '2025-08-07 15:18:06'),
(102, 10, 10, 11, 13208, '2025-08-26', 'nuevo', 5, NULL, NULL, 1, '2025-08-07 15:18:06', '2025-08-07 15:18:06'),
(103, 37, 19, 5, 35014, '2025-08-21', 'usado con detalles', 5, NULL, NULL, 1, '2025-08-07 15:18:06', '2025-08-07 15:18:06'),
(104, 25, 28, 5, 16595, '2025-09-15', 'usado con fallas', 6, NULL, NULL, 1, '2025-08-07 15:18:06', '2025-08-07 15:18:06'),
(105, 12, 45, 4, 14697, '2025-10-01', 'usado sin detalles', 0, NULL, NULL, 1, '2025-08-07 15:18:06', '2025-08-07 15:18:06'),
(106, 31, 22, 6, 10379, '2025-08-13', 'usado con detalles', 5, NULL, NULL, 1, '2025-08-07 15:18:06', '2025-08-07 15:18:06'),
(107, 33, 15, 7, 41173, '2025-09-01', 'usado sin detalles', 4, NULL, NULL, 1, '2025-08-07 15:18:06', '2025-08-07 15:18:06'),
(108, 19, 69, 11, 10511, '2025-09-03', 'usado con fallas', 4, NULL, NULL, 1, '2025-08-07 15:18:06', '2025-08-07 15:18:06'),
(109, 38, 2, 11, 10550, '2025-09-29', 'usado con fallas', 1, NULL, NULL, 1, '2025-08-07 15:18:06', '2025-08-07 15:18:06'),
(110, 47, 23, 10, 17418, '2025-08-21', 'nuevo', 0, NULL, NULL, 1, '2025-08-07 15:18:06', '2025-08-07 15:18:06'),
(111, 14, 53, 6, 11497, '2025-08-30', 'nuevo', 1, NULL, NULL, 1, '2025-08-07 15:18:06', '2025-08-07 15:18:06'),
(112, 40, 42, 7, 26744, '2025-09-25', 'nuevo', 4, NULL, NULL, 1, '2025-08-07 15:18:06', '2025-08-07 15:18:06'),
(113, 15, 39, 5, 9452, '2025-07-25', 'usado sin detalles', 3, NULL, NULL, 1, '2025-08-07 15:18:06', '2025-08-07 15:18:06'),
(114, 48, 10, 5, 29696, '2025-09-12', 'usado con detalles', 4, NULL, NULL, 1, '2025-08-07 15:18:06', '2025-08-07 15:18:06'),
(115, 16, 38, 9, 45800, '2025-08-23', 'nuevo', 0, NULL, NULL, 1, '2025-08-07 15:18:06', '2025-08-07 15:18:06'),
(116, 46, 94, 10, 48201, '2025-08-16', 'usado con fallas', 6, NULL, NULL, 1, '2025-08-07 15:18:06', '2025-08-07 15:18:06'),
(117, 21, 23, 11, 14095, '2025-08-01', 'usado con fallas', 0, NULL, NULL, 1, '2025-08-07 15:18:06', '2025-08-07 15:18:06'),
(118, 6, 54, 10, 11797, '2025-10-05', 'usado sin detalles', 4, NULL, NULL, 1, '2025-08-07 15:18:06', '2025-08-07 15:18:06'),
(119, 34, 85, 5, 27118, '2025-07-24', 'nuevo', 5, NULL, NULL, 1, '2025-08-07 15:18:06', '2025-08-07 15:18:06'),
(120, 24, 13, 9, 45498, '2025-09-26', 'nuevo', 2, NULL, NULL, 1, '2025-08-07 15:18:06', '2025-08-07 15:18:06'),
(121, 28, 41, 11, 37358, '2025-09-17', 'usado con fallas', 1, NULL, NULL, 1, '2025-08-07 15:18:06', '2025-08-07 15:18:06'),
(122, 11, 71, 4, 18951, '2025-09-29', 'usado sin detalles', 6, NULL, NULL, 1, '2025-08-07 15:18:06', '2025-08-07 15:18:06'),
(123, 21, 75, 8, 15663, '2025-10-05', 'nuevo', 5, NULL, NULL, 1, '2025-08-07 15:18:06', '2025-08-07 15:18:06'),
(124, 17, 65, 11, 15130, '2025-09-17', 'usado con fallas', 3, NULL, NULL, 1, '2025-08-07 15:18:06', '2025-08-07 15:18:06'),
(125, 7, 17, 11, 10058, '2025-08-27', 'usado con fallas', 1, NULL, NULL, 1, '2025-08-07 15:18:06', '2025-08-07 15:18:06'),
(126, 4, 24, 9, 7797, '2025-08-20', 'usado con detalles', 0, NULL, NULL, 1, '2025-08-07 15:18:06', '2025-08-07 15:18:06'),
(127, 39, 98, 5, 21515, '2025-07-29', 'usado con fallas', 6, NULL, NULL, 1, '2025-08-07 15:18:06', '2025-08-07 15:18:06'),
(128, 16, 38, 4, 48198, '2025-08-11', 'usado con detalles', 6, NULL, NULL, 1, '2025-08-07 15:18:06', '2025-08-07 15:18:06'),
(129, 26, 89, 8, 18288, '2025-08-08', 'usado sin detalles', 5, NULL, NULL, 1, '2025-08-07 15:18:06', '2025-08-07 15:18:06'),
(130, 3, 44, 7, 40484, '2025-07-25', 'usado con fallas', 1, NULL, NULL, 1, '2025-08-07 15:18:06', '2025-08-07 15:18:06'),
(131, 13, 5, 5, 46249, '2025-10-02', 'nuevo', 1, NULL, NULL, 1, '2025-08-07 15:18:06', '2025-08-07 15:18:06'),
(132, 11, 67, 4, 16187, '2025-08-05', 'usado sin detalles', 1, NULL, NULL, 1, '2025-08-07 15:18:06', '2025-08-07 15:18:06'),
(133, 39, 3, 7, 31636, '2025-08-25', 'nuevo', 4, NULL, NULL, 1, '2025-08-07 15:18:06', '2025-08-07 15:18:06'),
(134, 34, 41, 9, 38067, '2025-09-07', 'nuevo', 5, NULL, NULL, 1, '2025-08-07 15:18:06', '2025-08-07 15:18:06'),
(135, 43, 25, 6, 25981, '2025-09-15', 'usado sin detalles', 0, NULL, NULL, 1, '2025-08-07 15:18:06', '2025-08-07 15:18:06'),
(136, 31, 45, 11, 36348, '2025-09-07', 'usado con detalles', 4, NULL, NULL, 1, '2025-08-07 15:18:06', '2025-08-07 15:18:06'),
(137, 48, 25, 6, 6933, '2025-08-13', 'usado sin detalles', 1, NULL, NULL, 1, '2025-08-07 15:18:06', '2025-08-07 15:18:06'),
(138, 22, 50, 9, 28622, '2025-08-05', 'usado con detalles', 3, NULL, NULL, 1, '2025-08-07 15:18:06', '2025-08-07 15:18:06'),
(139, 13, 1, 11, 31567, '2025-09-13', 'usado sin detalles', 6, NULL, NULL, 1, '2025-08-07 15:18:06', '2025-08-07 15:18:06'),
(140, 42, 88, 5, 6874, '2025-09-24', 'usado con detalles', 0, NULL, NULL, 1, '2025-08-07 15:18:06', '2025-08-07 15:18:06'),
(141, 34, 44, 7, 6554, '2025-08-01', 'usado con fallas', 3, NULL, NULL, 1, '2025-08-07 15:18:06', '2025-08-07 15:18:06'),
(142, 15, 85, 7, 10044, '2025-08-03', 'usado con detalles', 4, NULL, NULL, 1, '2025-08-07 15:18:06', '2025-08-07 15:18:06'),
(143, 17, 87, 8, 36401, '2025-09-18', 'usado con detalles', 1, NULL, NULL, 1, '2025-08-07 15:18:06', '2025-08-07 15:18:06'),
(144, 34, 60, 10, 38221, '2025-09-09', 'nuevo', 6, NULL, NULL, 1, '2025-08-07 15:18:06', '2025-08-07 15:18:06'),
(145, 38, 59, 11, 12861, '2025-09-18', 'usado sin detalles', 0, NULL, NULL, 1, '2025-08-07 15:18:06', '2025-08-07 15:18:06'),
(146, 25, 48, 6, 11116, '2025-08-03', 'usado con detalles', 6, NULL, NULL, 1, '2025-08-07 15:18:06', '2025-08-07 15:18:06'),
(147, 46, 40, 8, 22186, '2025-08-08', 'usado con fallas', 1, NULL, NULL, 1, '2025-08-07 15:18:06', '2025-08-07 15:18:06'),
(148, 49, 47, 4, 8799, '2025-07-29', 'usado sin detalles', 1, NULL, NULL, 1, '2025-08-07 15:18:06', '2025-08-07 15:18:06'),
(149, 12, 21, 4, 20281, '2025-09-14', 'usado sin detalles', 1, NULL, NULL, 1, '2025-08-07 15:18:06', '2025-08-07 15:18:06'),
(150, 9, 92, 11, 30428, '2025-07-28', 'usado con fallas', 5, NULL, NULL, 1, '2025-08-07 15:18:06', '2025-08-07 15:18:06');

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

--
-- Estructura de tabla para la tabla `consumibles`
--

CREATE TABLE `consumibles` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `nombre` varchar(80) NOT NULL,
  `catconsumible_id` bigint(20) UNSIGNED NOT NULL,
  `codigo` varchar(12) NOT NULL,
  `barcode` varchar(20) DEFAULT NULL,
  `unidad` varchar(30) NOT NULL,
  `stock_actual` int(11) NOT NULL,
  `stock_inicial` int(11) NOT NULL,
  `stock_critico` int(11) NOT NULL,
  `ultimo_costo` bigint(20) NOT NULL,
  `nuevas` int(11) NOT NULL DEFAULT 0,
  `usadas` int(11) NOT NULL DEFAULT 0,
  `disponible` int(11) NOT NULL DEFAULT 0,
  `prestada` int(11) NOT NULL DEFAULT 0,
  `dañada` int(11) NOT NULL DEFAULT 0,
  `en_reparacion` int(11) NOT NULL DEFAULT 0,
  `de_baja` int(11) NOT NULL DEFAULT 0,
  `vendida` int(11) NOT NULL DEFAULT 0,
  `ultimo_ingreso` date NOT NULL,
  `ingresado_por` bigint(20) UNSIGNED NOT NULL,
  `baja_por` varchar(60) DEFAULT NULL,
  `condicion` varchar(20) DEFAULT NULL,
  `estado` int(11) NOT NULL DEFAULT 1,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_spanish2_ci;

--
-- Volcado de datos para la tabla `consumibles`
--

INSERT INTO `consumibles` (`id`, `nombre`, `catconsumible_id`, `codigo`, `barcode`, `unidad`, `stock_actual`, `stock_inicial`, `stock_critico`, `ultimo_costo`, `nuevas`, `usadas`, `disponible`, `prestada`, `dañada`, `en_reparacion`, `de_baja`, `vendida`, `ultimo_ingreso`, `ingresado_por`, `baja_por`, `condicion`, `estado`, `created_at`, `updated_at`) VALUES
(1, 'et', 6, '020-090-1626', '6771077623235', 'tiras', 27, 8, 16, 1053, 6, 8, 1, 3, 3, 3, 1, 5, '2025-04-29', 1, NULL, 'usado con fallas', 1, '2025-04-30 21:02:21', '2025-04-30 21:02:21'),
(2, 'dolores', 10, '020-060-1122', '8678202104998', 'gr', 39, 11, 20, 5288, 8, 3, 4, 5, 5, 5, 3, 6, '2025-04-27', 1, NULL, 'nuevo', 1, '2025-04-30 21:02:21', '2025-04-30 21:02:21'),
(3, 'nam', 4, '020-110-2343', '2588896089159', 'tarros', 33, 5, 17, 6244, 3, 7, 5, 5, 2, 2, 6, 4, '2025-04-28', 1, NULL, 'usado sin detalles', 1, '2025-04-30 21:02:21', '2025-04-30 21:02:21'),
(4, 'odio', 14, '020-130-1953', '3222001109453', 'cajas', 44, 7, 17, 6200, 5, 6, 6, 6, 3, 3, 6, 4, '2025-04-30', 1, NULL, 'usado con fallas', 1, '2025-04-30 21:02:21', '2025-04-30 21:02:21'),
(5, 'quia', 9, '020-130-614', '7760032525393', 'pares', 30, 21, 16, 1519, 2, 3, 4, 1, 2, 5, 6, 6, '2025-04-26', 1, NULL, 'usado sin detalles', 1, '2025-04-30 21:02:21', '2025-04-30 21:02:21'),
(6, 'dolorum', 10, '020-150-2386', '9451297546534', 'mm', 22, 12, 19, 4910, 4, 4, 3, 2, 2, 1, 6, 3, '2025-04-25', 1, NULL, 'usado con detalles', 1, '2025-04-30 21:02:21', '2025-04-30 21:02:21'),
(7, 'eveniet', 6, '020-040-235', '8175947459814', 'Lt', 50, 23, 13, 7957, 4, 2, 4, 6, 4, 5, 2, 6, '2025-04-25', 1, NULL, 'usado con detalles', 1, '2025-04-30 21:02:21', '2025-04-30 21:02:21'),
(8, 'nesciunt', 12, '020-150-2019', '2741857191067', 'cm', 31, 28, 15, 9954, 4, 2, 2, 5, 2, 2, 2, 4, '2025-04-27', 1, NULL, 'usado sin detalles', 1, '2025-04-30 21:02:21', '2025-04-30 21:02:21'),
(9, 'ea', 7, '020-030-335', '4071008623023', 'sacos', 48, 8, 20, 2748, 5, 2, 1, 2, 5, 4, 5, 2, '2025-04-27', 1, NULL, 'usado con fallas', 1, '2025-04-30 21:02:21', '2025-04-30 21:02:21'),
(10, 'inventore', 14, '020-150-2475', '9460291871627', 'dispensadores', 47, 12, 20, 9100, 2, 7, 2, 4, 4, 5, 2, 5, '2025-04-25', 1, NULL, 'usado con detalles', 1, '2025-04-30 21:02:21', '2025-04-30 21:02:21'),
(11, 'rerum', 15, '020-150-1856', '4153946062093', 'tiras', 22, 21, 14, 7367, 4, 3, 6, 5, 5, 6, 2, 5, '2025-04-25', 1, NULL, 'nuevo', 1, '2025-04-30 21:02:21', '2025-04-30 21:02:21'),
(12, 'sapiente', 6, '020-140-1348', '9188317942860', 'M3', 37, 15, 13, 4138, 2, 5, 1, 3, 2, 1, 1, 4, '2025-04-29', 1, NULL, 'usado con fallas', 1, '2025-04-30 21:02:22', '2025-04-30 21:02:22'),
(13, 'est', 15, '020-020-1744', '8393760954006', 'M', 41, 6, 16, 8317, 5, 8, 4, 1, 4, 4, 3, 1, '2025-04-25', 1, NULL, 'usado con detalles', 1, '2025-04-30 21:02:22', '2025-04-30 21:02:22'),
(14, 'quos', 7, '020-150-1690', '7567264515549', 'cajas', 32, 29, 17, 7301, 8, 8, 3, 5, 2, 5, 2, 1, '2025-04-24', 1, NULL, 'nuevo', 1, '2025-04-30 21:02:22', '2025-04-30 21:02:22'),
(15, 'accusantium', 9, '020-100-1577', '9229647561076', 'Lt', 23, 18, 17, 8183, 4, 8, 2, 1, 4, 2, 6, 2, '2025-04-26', 1, NULL, 'nuevo', 1, '2025-04-30 21:02:22', '2025-04-30 21:02:22'),
(16, 'deserunt', 8, '020-060-1012', '1074943811596', 'Kg', 25, 14, 20, 4311, 5, 4, 1, 4, 2, 2, 2, 3, '2025-04-28', 1, NULL, 'nuevo', 1, '2025-04-30 21:02:22', '2025-04-30 21:02:22'),
(17, 'nihil', 2, '020-150-874', '2108325769645', 'Kg', 24, 16, 17, 5370, 5, 7, 5, 2, 1, 1, 1, 4, '2025-04-27', 1, NULL, 'nuevo', 1, '2025-04-30 21:02:22', '2025-04-30 21:02:22'),
(18, 'qui', 14, '020-040-336', '4875953307416', 'tiras', 36, 14, 11, 9046, 2, 3, 4, 5, 3, 4, 1, 1, '2025-04-29', 1, NULL, 'usado con detalles', 1, '2025-04-30 21:02:22', '2025-04-30 21:02:22'),
(19, 'minus', 14, '020-090-1289', '3965620671450', 'tarros', 43, 24, 12, 6627, 7, 7, 3, 6, 6, 4, 2, 6, '2025-04-25', 1, NULL, 'usado con detalles', 1, '2025-04-30 21:02:22', '2025-04-30 21:02:22'),
(20, 'quasi', 10, '020-100-340', '6841508070515', 'rollos', 15, 30, 14, 6768, 5, 2, 4, 4, 3, 5, 4, 2, '2025-04-28', 1, NULL, 'usado sin detalles', 1, '2025-04-30 21:02:22', '2025-04-30 21:02:22'),
(21, 'illo', 3, '020-120-1505', '9983586956569', 'sacos', 24, 25, 15, 1934, 5, 2, 5, 1, 6, 2, 3, 1, '2025-04-29', 1, NULL, 'usado sin detalles', 1, '2025-04-30 21:02:22', '2025-04-30 21:02:22'),
(22, 'assumenda', 14, '020-060-386', '4417675134187', 'M2', 18, 6, 13, 7666, 8, 6, 1, 2, 4, 4, 2, 1, '2025-04-26', 1, NULL, 'usado sin detalles', 1, '2025-04-30 21:02:22', '2025-04-30 21:02:22'),
(23, 'nisi', 7, '020-100-105', '6514891113533', 'bolsas', 36, 5, 19, 4385, 7, 3, 1, 5, 2, 2, 5, 6, '2025-04-26', 1, NULL, 'usado sin detalles', 1, '2025-04-30 21:02:22', '2025-04-30 21:02:22'),
(24, 'et', 14, '020-120-2262', '8398649388385', 'bolsas', 18, 21, 14, 7755, 4, 8, 5, 3, 5, 4, 6, 2, '2025-04-24', 1, NULL, 'nuevo', 1, '2025-04-30 21:02:22', '2025-04-30 21:02:22'),
(25, 'autem', 5, '020-110-928', '7498456933493', 'bolsas', 17, 10, 10, 8691, 5, 3, 3, 4, 4, 4, 1, 1, '2025-04-25', 1, NULL, 'usado con fallas', 1, '2025-04-30 21:02:22', '2025-04-30 21:02:22'),
(26, 'ut', 6, '020-010-261', '6454741059980', 'galones', 15, 18, 11, 4284, 7, 3, 3, 6, 2, 6, 5, 1, '2025-04-26', 1, NULL, 'nuevo', 1, '2025-04-30 21:02:22', '2025-04-30 21:02:22'),
(27, 'nemo', 4, '020-140-364', '6686323102344', 'unidades', 16, 19, 12, 7851, 8, 6, 5, 2, 4, 4, 3, 6, '2025-04-25', 1, NULL, 'usado sin detalles', 1, '2025-04-30 21:02:22', '2025-04-30 21:02:22'),
(28, 'rerum', 9, '020-010-166', '1430188445925', 'galones', 41, 8, 17, 9574, 7, 5, 5, 5, 1, 1, 2, 6, '2025-04-27', 1, NULL, 'nuevo', 1, '2025-04-30 21:02:22', '2025-04-30 21:02:22'),
(29, 'perferendis', 4, '020-090-523', '3327429797050', 'mm', 42, 21, 12, 1318, 8, 6, 2, 6, 6, 3, 4, 6, '2025-04-28', 1, NULL, 'usado con fallas', 1, '2025-04-30 21:02:22', '2025-04-30 21:02:22'),
(30, 'qui', 3, '020-030-829', '4893206187899', 'Lt', 45, 28, 19, 5571, 7, 8, 3, 4, 1, 1, 6, 1, '2025-04-25', 1, NULL, 'usado con fallas', 1, '2025-04-30 21:02:22', '2025-04-30 21:02:22'),
(31, 'corrupti', 3, '020-050-1306', '0882163277433', 'tiras', 22, 18, 20, 3777, 8, 8, 1, 4, 2, 1, 3, 1, '2025-04-29', 1, NULL, 'usado sin detalles', 1, '2025-04-30 21:02:22', '2025-04-30 21:02:22'),
(32, 'dolorem', 4, '020-070-2114', '0937634809221', 'sacos', 40, 27, 20, 2302, 3, 2, 3, 1, 1, 4, 4, 1, '2025-04-25', 1, NULL, 'nuevo', 1, '2025-04-30 21:02:22', '2025-04-30 21:02:22'),
(33, 'porro', 1, '020-090-1592', '7000044012642', 'mm', 18, 10, 19, 4497, 8, 8, 6, 5, 3, 2, 6, 2, '2025-04-29', 1, NULL, 'usado con fallas', 1, '2025-04-30 21:02:22', '2025-04-30 21:02:22'),
(34, 'ratione', 15, '020-020-696', '3508853670892', 'sacos', 48, 14, 13, 3943, 4, 2, 1, 3, 1, 3, 5, 6, '2025-04-24', 1, NULL, 'usado con detalles', 1, '2025-04-30 21:02:22', '2025-04-30 21:02:22'),
(35, 'dicta', 12, '020-110-1310', '9599197995394', 'Lt', 47, 7, 14, 7921, 5, 3, 5, 6, 6, 2, 1, 1, '2025-04-26', 1, NULL, 'usado sin detalles', 1, '2025-04-30 21:02:22', '2025-04-30 21:02:22'),
(36, 'excepturi', 7, '020-080-1082', '6970738624028', 'cm', 39, 15, 14, 1485, 3, 5, 5, 5, 4, 2, 1, 3, '2025-04-23', 1, NULL, 'usado con detalles', 1, '2025-04-30 21:02:22', '2025-04-30 21:02:22'),
(37, 'esse', 3, '020-040-1519', '2078082922136', 'galones', 32, 11, 12, 7838, 3, 2, 6, 5, 1, 4, 5, 4, '2025-04-28', 1, NULL, 'usado con fallas', 1, '2025-04-30 21:02:22', '2025-04-30 21:02:22'),
(38, 'laboriosam', 10, '020-060-1825', '9770422142206', 'media tinetas', 49, 16, 13, 3546, 8, 6, 5, 5, 1, 3, 1, 2, '2025-04-28', 1, NULL, 'usado sin detalles', 1, '2025-04-30 21:02:22', '2025-04-30 21:02:22'),
(39, 'aliquid', 4, '020-110-415', '1184940485314', 'bolsas', 21, 14, 15, 1215, 5, 6, 6, 6, 4, 2, 6, 5, '2025-04-24', 1, NULL, 'usado sin detalles', 1, '2025-04-30 21:02:22', '2025-04-30 21:02:22'),
(40, 'similique', 1, '020-110-430', '5239596086159', 'cuarto de galones', 30, 29, 14, 6771, 8, 7, 5, 3, 3, 6, 5, 3, '2025-04-25', 1, NULL, 'nuevo', 1, '2025-04-30 21:02:22', '2025-04-30 21:02:22'),
(41, 'perferendis', 2, '020-100-1006', '5133842679259', 'unidades', 42, 17, 18, 7611, 2, 7, 6, 3, 4, 4, 4, 5, '2025-04-28', 1, NULL, 'nuevo', 1, '2025-04-30 21:02:22', '2025-04-30 21:02:22'),
(42, 'fugiat', 8, '020-040-2164', '0109069187674', 'rollos', 39, 22, 12, 6553, 2, 7, 4, 5, 2, 3, 1, 3, '2025-04-25', 1, NULL, 'usado sin detalles', 1, '2025-04-30 21:02:22', '2025-04-30 21:02:22'),
(43, 'voluptatibus', 14, '020-080-1467', '1708124885013', 'tarros', 46, 30, 13, 9319, 6, 7, 6, 4, 4, 2, 6, 3, '2025-04-28', 1, NULL, 'usado con fallas', 1, '2025-04-30 21:02:22', '2025-04-30 21:02:22'),
(44, 'et', 6, '020-070-362', '0328002356209', 'sacos', 47, 14, 16, 6999, 4, 8, 4, 3, 3, 4, 3, 2, '2025-04-24', 1, NULL, 'usado con fallas', 1, '2025-04-30 21:02:22', '2025-04-30 21:02:22'),
(45, 'sint', 6, '020-090-1628', '6842125639666', 'tarros', 21, 13, 20, 3352, 4, 3, 2, 4, 4, 6, 6, 5, '2025-04-27', 1, NULL, 'usado sin detalles', 1, '2025-04-30 21:02:22', '2025-04-30 21:02:22'),
(46, 'eos', 3, '020-060-83', '8690265008006', 'Kg', 40, 26, 19, 4940, 3, 3, 3, 2, 4, 1, 5, 1, '2025-04-29', 1, NULL, 'usado con fallas', 1, '2025-04-30 21:02:22', '2025-04-30 21:02:22'),
(47, 'eveniet', 10, '020-100-397', '6855866458298', 'tinetas', 24, 17, 18, 1811, 2, 7, 4, 4, 2, 4, 3, 5, '2025-04-30', 1, NULL, 'usado con fallas', 1, '2025-04-30 21:02:23', '2025-04-30 21:02:23'),
(48, 'quod', 10, '020-140-843', '1033852303288', 'M', 30, 23, 11, 6989, 7, 7, 1, 5, 4, 3, 3, 3, '2025-04-24', 1, NULL, 'usado con fallas', 1, '2025-04-30 21:02:23', '2025-04-30 21:02:23'),
(49, 'velit', 5, '020-020-1646', '8236025347413', 'mm', 43, 26, 14, 2157, 6, 8, 1, 1, 5, 6, 3, 6, '2025-04-23', 1, NULL, 'nuevo', 1, '2025-04-30 21:02:23', '2025-04-30 21:02:23'),
(50, 'quaerat', 12, '020-080-1616', '6424107812771', 'cajas', 16, 17, 14, 4395, 2, 4, 6, 4, 1, 2, 5, 4, '2025-04-26', 1, NULL, 'usado con fallas', 1, '2025-04-30 21:02:23', '2025-04-30 21:02:23'),
(51, 'porro', 3, '020-050-155', '6102061879695', 'unidades', 29, 28, 13, 8059, 7, 7, 4, 3, 3, 5, 3, 2, '2025-04-25', 1, NULL, 'usado sin detalles', 1, '2025-04-30 21:02:23', '2025-04-30 21:02:23'),
(52, 'eaque', 8, '020-040-103', '3135452561070', 'M', 44, 27, 19, 7146, 6, 8, 2, 4, 1, 2, 2, 3, '2025-04-29', 1, NULL, 'nuevo', 1, '2025-04-30 21:02:23', '2025-04-30 21:02:23'),
(53, 'corporis', 14, '020-010-357', '7155113704369', 'unidades', 27, 11, 16, 7776, 5, 5, 5, 1, 5, 1, 2, 3, '2025-04-25', 1, NULL, 'usado sin detalles', 1, '2025-04-30 21:02:23', '2025-04-30 21:02:23'),
(54, 'possimus', 14, '020-120-1204', '5976542380229', 'M', 36, 25, 10, 1064, 7, 3, 1, 2, 4, 6, 2, 1, '2025-04-26', 1, NULL, 'usado sin detalles', 1, '2025-04-30 21:02:23', '2025-04-30 21:02:23'),
(55, 'id', 9, '020-040-1668', '1170143507915', 'mm', 49, 15, 18, 2154, 5, 5, 3, 4, 2, 3, 6, 1, '2025-04-28', 1, NULL, 'usado con detalles', 1, '2025-04-30 21:02:23', '2025-04-30 21:02:23'),
(56, 'doloremque', 9, '020-080-703', '5731666774480', 'rollos', 33, 23, 19, 7260, 7, 7, 6, 5, 1, 3, 4, 4, '2025-04-24', 1, NULL, 'usado con detalles', 1, '2025-04-30 21:02:23', '2025-04-30 21:02:23'),
(57, 'qui', 3, '020-140-644', '9056472842755', 'sacos', 50, 30, 14, 1356, 8, 8, 6, 6, 5, 6, 5, 3, '2025-04-24', 1, NULL, 'usado con fallas', 1, '2025-04-30 21:02:23', '2025-04-30 21:02:23'),
(58, 'consequatur', 8, '020-060-1091', '2018724642633', 'M2', 26, 10, 15, 3952, 6, 8, 4, 3, 6, 4, 3, 5, '2025-04-23', 1, NULL, 'usado sin detalles', 1, '2025-04-30 21:02:23', '2025-04-30 21:02:23'),
(59, 'rerum', 8, '020-100-1125', '3069019636737', 'sacos', 15, 28, 15, 2796, 6, 8, 4, 1, 2, 1, 2, 4, '2025-04-27', 1, NULL, 'usado con fallas', 1, '2025-04-30 21:02:23', '2025-04-30 21:02:23'),
(60, 'odio', 4, '020-050-1432', '8959540678922', 'Kg', 36, 28, 12, 1721, 2, 7, 2, 6, 5, 6, 4, 3, '2025-04-25', 1, NULL, 'usado con fallas', 1, '2025-04-30 21:02:23', '2025-04-30 21:02:23'),
(61, 'qui', 11, '020-130-1208', '2248674341694', 'dispensadores', 46, 10, 14, 1270, 4, 3, 3, 5, 2, 2, 2, 5, '2025-04-24', 1, NULL, 'nuevo', 1, '2025-04-30 21:02:23', '2025-04-30 21:02:23'),
(62, 'ut', 12, '020-010-2231', '5607479731432', 'cajas', 50, 13, 17, 3627, 6, 4, 1, 4, 3, 3, 4, 1, '2025-04-26', 1, NULL, 'usado con fallas', 1, '2025-04-30 21:02:23', '2025-04-30 21:02:23'),
(63, 'atque', 7, '020-090-1366', '8297468195542', 'cuarto de galones', 26, 22, 20, 7373, 3, 3, 3, 6, 2, 3, 5, 6, '2025-04-24', 1, NULL, 'usado sin detalles', 1, '2025-04-30 21:02:23', '2025-04-30 21:02:23'),
(64, 'voluptas', 14, '020-050-2459', '5753401656677', 'dispensadores', 44, 22, 13, 7722, 7, 4, 5, 2, 1, 2, 3, 6, '2025-04-29', 1, NULL, 'usado sin detalles', 1, '2025-04-30 21:02:23', '2025-04-30 21:02:23'),
(65, 'commodi', 10, '020-130-1481', '4456413329768', 'unidades', 45, 7, 12, 7391, 2, 5, 3, 6, 1, 4, 1, 6, '2025-04-29', 1, NULL, 'usado con fallas', 1, '2025-04-30 21:02:23', '2025-04-30 21:02:23'),
(66, 'optio', 12, '020-100-953', '1925797077365', 'paquetes', 29, 11, 13, 2504, 8, 4, 5, 4, 2, 5, 1, 5, '2025-04-23', 1, NULL, 'usado con fallas', 1, '2025-04-30 21:02:23', '2025-04-30 21:02:23'),
(67, 'itaque', 3, '020-110-687', '2122792091993', 'M3', 17, 20, 18, 4475, 5, 6, 2, 3, 6, 1, 1, 5, '2025-04-25', 1, NULL, 'nuevo', 1, '2025-04-30 21:02:23', '2025-04-30 21:02:23'),
(68, 'qui', 10, '020-010-515', '3834095255796', 'bolsas', 21, 16, 18, 2635, 7, 4, 4, 6, 3, 6, 2, 1, '2025-04-28', 1, NULL, 'usado sin detalles', 1, '2025-04-30 21:02:23', '2025-04-30 21:02:23'),
(69, 'aut', 15, '020-040-1193', '9381963551008', 'tinetas', 32, 22, 16, 2781, 6, 8, 4, 6, 1, 1, 5, 4, '2025-04-24', 1, NULL, 'usado con fallas', 1, '2025-04-30 21:02:23', '2025-04-30 21:02:23'),
(70, 'accusamus', 10, '020-010-1960', '4041096368236', 'bolsas', 22, 17, 15, 9416, 3, 6, 6, 5, 5, 4, 5, 6, '2025-04-26', 1, NULL, 'usado con detalles', 1, '2025-04-30 21:02:23', '2025-04-30 21:02:23'),
(71, 'non', 7, '020-130-917', '4683881540207', 'cm', 33, 25, 13, 7866, 5, 7, 5, 5, 5, 5, 2, 1, '2025-04-28', 1, NULL, 'usado con fallas', 1, '2025-04-30 21:02:23', '2025-04-30 21:02:23'),
(72, 'recusandae', 7, '020-150-944', '7356682459548', 'Kg', 31, 19, 15, 2116, 3, 8, 4, 2, 1, 1, 6, 5, '2025-04-27', 1, NULL, 'nuevo', 1, '2025-04-30 21:02:23', '2025-04-30 21:02:23'),
(73, 'voluptas', 10, '020-020-2463', '4862959073223', 'M2', 29, 7, 15, 3840, 3, 8, 1, 6, 4, 3, 5, 6, '2025-04-26', 1, NULL, 'usado sin detalles', 1, '2025-04-30 21:02:23', '2025-04-30 21:02:23'),
(74, 'autem', 12, '020-130-138', '5800275226045', 'sacos', 50, 22, 20, 3734, 6, 7, 2, 4, 1, 3, 2, 6, '2025-04-27', 1, NULL, 'usado con detalles', 1, '2025-04-30 21:02:23', '2025-04-30 21:02:23'),
(75, 'eos', 13, '020-100-2171', '9476038732557', 'gr', 39, 17, 17, 2603, 5, 3, 4, 2, 2, 6, 2, 5, '2025-04-28', 1, NULL, 'usado con detalles', 1, '2025-04-30 21:02:23', '2025-04-30 21:02:23'),
(76, 'impedit', 14, '020-030-179', '1808735571524', 'cm', 31, 7, 16, 7815, 6, 5, 6, 5, 3, 6, 1, 4, '2025-04-26', 1, NULL, 'usado con fallas', 1, '2025-04-30 21:02:23', '2025-04-30 21:02:23'),
(77, 'ex', 5, '020-050-428', '1423162043842', 'rollos', 36, 8, 18, 2848, 7, 2, 1, 3, 2, 4, 4, 3, '2025-04-29', 1, NULL, 'usado sin detalles', 1, '2025-04-30 21:02:23', '2025-04-30 21:02:23'),
(78, 'autem', 10, '020-030-2065', '1940385952824', 'mm', 38, 5, 18, 9873, 7, 5, 1, 4, 3, 3, 1, 1, '2025-04-26', 1, NULL, 'usado con fallas', 1, '2025-04-30 21:02:23', '2025-04-30 21:02:23'),
(79, 'dolores', 13, '020-050-101', '3996198810897', 'media tinetas', 50, 27, 15, 5554, 5, 7, 5, 3, 4, 1, 1, 6, '2025-04-27', 1, NULL, 'usado sin detalles', 1, '2025-04-30 21:02:23', '2025-04-30 21:02:23'),
(80, 'explicabo', 15, '020-020-292', '2659482865737', 'tarros', 46, 11, 16, 5651, 6, 7, 5, 1, 5, 6, 2, 3, '2025-04-29', 1, NULL, 'usado con detalles', 1, '2025-04-30 21:02:23', '2025-04-30 21:02:23'),
(81, 'quidem', 13, '020-040-1531', '3754454588238', 'pares', 24, 18, 16, 6250, 3, 5, 2, 1, 3, 2, 5, 6, '2025-04-23', 1, NULL, 'nuevo', 1, '2025-04-30 21:02:23', '2025-04-30 21:02:23'),
(82, 'dolorem', 7, '020-100-885', '3927450178196', 'M2', 43, 5, 14, 7457, 8, 8, 5, 3, 4, 6, 1, 2, '2025-04-28', 1, NULL, 'usado sin detalles', 1, '2025-04-30 21:02:23', '2025-04-30 21:02:23'),
(83, 'a', 3, '020-120-753', '5600617041363', 'tinetas', 37, 20, 15, 3878, 8, 5, 4, 4, 5, 3, 1, 3, '2025-04-23', 1, NULL, 'usado con fallas', 1, '2025-04-30 21:02:23', '2025-04-30 21:02:23'),
(84, 'aperiam', 12, '020-070-1706', '1204234630364', 'cuarto de galones', 26, 13, 16, 4436, 4, 2, 5, 3, 3, 2, 3, 5, '2025-04-29', 1, NULL, 'usado con detalles', 1, '2025-04-30 21:02:23', '2025-04-30 21:02:23'),
(85, 'veritatis', 4, '020-150-1157', '8625328603805', 'tinetas', 16, 6, 14, 7403, 3, 3, 3, 6, 5, 3, 5, 6, '2025-04-27', 1, NULL, 'nuevo', 1, '2025-04-30 21:02:23', '2025-04-30 21:02:23'),
(86, 'voluptates', 8, '020-140-283', '4214208236253', 'media tinetas', 26, 8, 14, 3411, 6, 8, 1, 5, 3, 1, 5, 4, '2025-04-26', 1, NULL, 'usado con detalles', 1, '2025-04-30 21:02:24', '2025-04-30 21:02:24'),
(87, 'quos', 11, '020-110-373', '0906715045759', 'unidades', 33, 29, 12, 7599, 6, 5, 1, 6, 2, 5, 5, 4, '2025-04-26', 1, NULL, 'usado con fallas', 1, '2025-04-30 21:02:24', '2025-04-30 21:02:24'),
(88, 'ipsam', 7, '020-100-1897', '1613180056393', 'rollos', 22, 18, 14, 2809, 8, 8, 5, 1, 2, 4, 5, 4, '2025-04-29', 1, NULL, 'usado sin detalles', 1, '2025-04-30 21:02:24', '2025-04-30 21:02:24'),
(89, 'delectus', 1, '020-140-1399', '4865944777779', 'cm', 47, 5, 18, 1311, 7, 2, 6, 4, 1, 1, 2, 6, '2025-04-27', 1, NULL, 'nuevo', 1, '2025-04-30 21:02:24', '2025-04-30 21:02:24'),
(90, 'sapiente', 12, '020-070-2371', '4578425388714', 'tinetas', 32, 22, 10, 6783, 8, 6, 4, 3, 2, 3, 4, 4, '2025-04-29', 1, NULL, 'nuevo', 1, '2025-04-30 21:02:24', '2025-04-30 21:02:24'),
(91, 'omnis', 12, '020-150-2424', '8878656702287', 'M3', 31, 5, 11, 3867, 4, 6, 2, 4, 4, 2, 5, 3, '2025-04-26', 1, NULL, 'usado con fallas', 1, '2025-04-30 21:02:24', '2025-04-30 21:02:24'),
(92, 'quisquam', 3, '020-050-1143', '3248971206541', 'tiras', 50, 11, 13, 9841, 3, 6, 5, 3, 3, 4, 5, 4, '2025-04-30', 1, NULL, 'nuevo', 1, '2025-04-30 21:02:24', '2025-04-30 21:02:24'),
(93, 'nihil', 8, '020-080-314', '4579323208593', 'paquetes', 48, 25, 14, 5970, 7, 5, 2, 5, 3, 1, 2, 4, '2025-04-28', 1, NULL, 'nuevo', 1, '2025-04-30 21:02:24', '2025-04-30 21:02:24'),
(94, 'hic', 13, '020-110-1026', '4090234345905', 'sacos', 26, 13, 15, 6612, 5, 8, 6, 2, 3, 5, 6, 2, '2025-04-27', 1, NULL, 'nuevo', 1, '2025-04-30 21:02:24', '2025-04-30 21:02:24'),
(95, 'ea', 9, '020-150-2216', '1965191564375', 'media tinetas', 25, 28, 14, 2585, 4, 8, 6, 2, 1, 3, 6, 6, '2025-04-26', 1, NULL, 'usado sin detalles', 1, '2025-04-30 21:02:24', '2025-04-30 21:02:24'),
(96, 'qui', 8, '020-140-167', '0659524931170', 'cuarto de galones', 22, 26, 19, 7770, 4, 4, 3, 3, 3, 6, 4, 1, '2025-04-27', 1, NULL, 'usado con fallas', 1, '2025-04-30 21:02:24', '2025-04-30 21:02:24'),
(97, 'cum', 9, '020-080-2214', '3381672408743', 'cm', 24, 9, 15, 8582, 5, 8, 5, 6, 2, 5, 6, 5, '2025-04-25', 1, NULL, 'nuevo', 1, '2025-04-30 21:02:24', '2025-04-30 21:02:24'),
(98, 'distinctio', 14, '020-080-618', '3966033755454', 'sacos', 41, 20, 11, 9509, 3, 4, 1, 3, 3, 1, 3, 3, '2025-04-24', 1, NULL, 'nuevo', 1, '2025-04-30 21:02:24', '2025-04-30 21:02:24'),
(99, 'ipsam', 9, '020-070-1741', '9798627558738', 'dispensadores', 37, 19, 14, 9049, 6, 8, 4, 6, 3, 6, 1, 3, '2025-04-24', 1, NULL, 'usado con fallas', 1, '2025-04-30 21:02:24', '2025-04-30 21:02:24'),
(100, 'necessitatibus', 7, '020-110-2069', '1523169177905', 'cajas', 31, 14, 16, 3058, 3, 2, 1, 3, 6, 4, 4, 1, '2025-04-27', 1, NULL, 'usado sin detalles', 1, '2025-04-30 21:02:24', '2025-04-30 21:02:24');

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

--
-- Estructura de tabla para la tabla `countries`
--

CREATE TABLE `countries` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `iso2` varchar(2) NOT NULL,
  `name` varchar(255) NOT NULL,
  `status` tinyint(4) NOT NULL DEFAULT 1,
  `phone_code` varchar(5) NOT NULL,
  `iso3` varchar(3) NOT NULL,
  `region` varchar(255) NOT NULL,
  `subregion` varchar(255) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_spanish2_ci;

--
-- Volcado de datos para la tabla `countries`
--

INSERT INTO `countries` (`id`, `iso2`, `name`, `status`, `phone_code`, `iso3`, `region`, `subregion`) VALUES
(1, 'AF', 'Afghanistan', 1, '93', 'AFG', 'Asia', 'Southern Asia'),
(2, 'AX', 'Aland Islands', 1, '358', 'ALA', 'Europe', 'Northern Europe'),
(3, 'AL', 'Albania', 1, '355', 'ALB', 'Europe', 'Southern Europe'),
(4, 'DZ', 'Algeria', 1, '213', 'DZA', 'Africa', 'Northern Africa'),
(5, 'AS', 'American Samoa', 1, '1', 'ASM', 'Oceania', 'Polynesia'),
(6, 'AD', 'Andorra', 1, '376', 'AND', 'Europe', 'Southern Europe'),
(7, 'AO', 'Angola', 1, '244', 'AGO', 'Africa', 'Middle Africa'),
(8, 'AI', 'Anguilla', 1, '1', 'AIA', 'Americas', 'Caribbean'),
(9, 'AQ', 'Antarctica', 1, '672', 'ATA', 'Polar', ''),
(10, 'AG', 'Antigua And Barbuda', 1, '1', 'ATG', 'Americas', 'Caribbean'),
(11, 'AR', 'Argentina', 1, '54', 'ARG', 'Americas', 'South America'),
(12, 'AM', 'Armenia', 1, '374', 'ARM', 'Asia', 'Western Asia'),
(13, 'AW', 'Aruba', 1, '297', 'ABW', 'Americas', 'Caribbean'),
(14, 'AU', 'Australia', 1, '61', 'AUS', 'Oceania', 'Australia and New Zealand'),
(15, 'AT', 'Austria', 1, '43', 'AUT', 'Europe', 'Western Europe'),
(16, 'AZ', 'Azerbaijan', 1, '994', 'AZE', 'Asia', 'Western Asia'),
(17, 'BH', 'Bahrain', 1, '973', 'BHR', 'Asia', 'Western Asia'),
(18, 'BD', 'Bangladesh', 1, '880', 'BGD', 'Asia', 'Southern Asia'),
(19, 'BB', 'Barbados', 1, '1', 'BRB', 'Americas', 'Caribbean'),
(20, 'BY', 'Belarus', 1, '375', 'BLR', 'Europe', 'Eastern Europe'),
(21, 'BE', 'Belgium', 1, '32', 'BEL', 'Europe', 'Western Europe'),
(22, 'BZ', 'Belize', 1, '501', 'BLZ', 'Americas', 'Central America'),
(23, 'BJ', 'Benin', 1, '229', 'BEN', 'Africa', 'Western Africa'),
(24, 'BM', 'Bermuda', 1, '1', 'BMU', 'Americas', 'Northern America'),
(25, 'BT', 'Bhutan', 1, '975', 'BTN', 'Asia', 'Southern Asia'),
(26, 'BO', 'Bolivia', 1, '591', 'BOL', 'Americas', 'South America'),
(27, 'BQ', 'Bonaire, Sint Eustatius and Saba', 1, '599', 'BES', 'Americas', 'Caribbean'),
(28, 'BA', 'Bosnia and Herzegovina', 1, '387', 'BIH', 'Europe', 'Southern Europe'),
(29, 'BW', 'Botswana', 1, '267', 'BWA', 'Africa', 'Southern Africa'),
(30, 'BV', 'Bouvet Island', 1, '0055', 'BVT', '', ''),
(31, 'BR', 'Brazil', 1, '55', 'BRA', 'Americas', 'South America'),
(32, 'IO', 'British Indian Ocean Territory', 1, '246', 'IOT', 'Africa', 'Eastern Africa'),
(33, 'BN', 'Brunei', 1, '673', 'BRN', 'Asia', 'South-Eastern Asia'),
(34, 'BG', 'Bulgaria', 1, '359', 'BGR', 'Europe', 'Eastern Europe'),
(35, 'BF', 'Burkina Faso', 1, '226', 'BFA', 'Africa', 'Western Africa'),
(36, 'BI', 'Burundi', 1, '257', 'BDI', 'Africa', 'Eastern Africa'),
(37, 'KH', 'Cambodia', 1, '855', 'KHM', 'Asia', 'South-Eastern Asia'),
(38, 'CM', 'Cameroon', 1, '237', 'CMR', 'Africa', 'Middle Africa'),
(39, 'CA', 'Canada', 1, '1', 'CAN', 'Americas', 'Northern America'),
(40, 'CV', 'Cape Verde', 1, '238', 'CPV', 'Africa', 'Western Africa'),
(41, 'KY', 'Cayman Islands', 1, '1', 'CYM', 'Americas', 'Caribbean'),
(42, 'CF', 'Central African Republic', 1, '236', 'CAF', 'Africa', 'Middle Africa'),
(43, 'TD', 'Chad', 1, '235', 'TCD', 'Africa', 'Middle Africa'),
(44, 'CL', 'Chile', 1, '56', 'CHL', 'Americas', 'South America'),
(45, 'CN', 'China', 1, '86', 'CHN', 'Asia', 'Eastern Asia'),
(46, 'CX', 'Christmas Island', 1, '61', 'CXR', 'Oceania', 'Australia and New Zealand'),
(47, 'CC', 'Cocos (Keeling) Islands', 1, '61', 'CCK', 'Oceania', 'Australia and New Zealand'),
(48, 'CO', 'Colombia', 1, '57', 'COL', 'Americas', 'South America'),
(49, 'KM', 'Comoros', 1, '269', 'COM', 'Africa', 'Eastern Africa'),
(50, 'CG', 'Congo', 1, '242', 'COG', 'Africa', 'Middle Africa'),
(51, 'CK', 'Cook Islands', 1, '682', 'COK', 'Oceania', 'Polynesia'),
(52, 'CR', 'Costa Rica', 1, '506', 'CRI', 'Americas', 'Central America'),
(53, 'CI', 'Cote D\'Ivoire (Ivory Coast)', 1, '225', 'CIV', 'Africa', 'Western Africa'),
(54, 'HR', 'Croatia', 1, '385', 'HRV', 'Europe', 'Southern Europe'),
(55, 'CU', 'Cuba', 1, '53', 'CUB', 'Americas', 'Caribbean'),
(56, 'CW', 'Curaçao', 1, '599', 'CUW', 'Americas', 'Caribbean'),
(57, 'CY', 'Cyprus', 1, '357', 'CYP', 'Europe', 'Southern Europe'),
(58, 'CZ', 'Czech Republic', 1, '420', 'CZE', 'Europe', 'Eastern Europe'),
(59, 'CD', 'Democratic Republic of the Congo', 1, '243', 'COD', 'Africa', 'Middle Africa'),
(60, 'DK', 'Denmark', 1, '45', 'DNK', 'Europe', 'Northern Europe'),
(61, 'DJ', 'Djibouti', 1, '253', 'DJI', 'Africa', 'Eastern Africa'),
(62, 'DM', 'Dominica', 1, '1', 'DMA', 'Americas', 'Caribbean'),
(63, 'DO', 'Dominican Republic', 1, '1', 'DOM', 'Americas', 'Caribbean'),
(64, 'TL', 'East Timor', 1, '670', 'TLS', 'Asia', 'South-Eastern Asia'),
(65, 'EC', 'Ecuador', 1, '593', 'ECU', 'Americas', 'South America'),
(66, 'EG', 'Egypt', 1, '20', 'EGY', 'Africa', 'Northern Africa'),
(67, 'SV', 'El Salvador', 1, '503', 'SLV', 'Americas', 'Central America'),
(68, 'GQ', 'Equatorial Guinea', 1, '240', 'GNQ', 'Africa', 'Middle Africa'),
(69, 'ER', 'Eritrea', 1, '291', 'ERI', 'Africa', 'Eastern Africa'),
(70, 'EE', 'Estonia', 1, '372', 'EST', 'Europe', 'Northern Europe'),
(71, 'ET', 'Ethiopia', 1, '251', 'ETH', 'Africa', 'Eastern Africa'),
(72, 'FK', 'Falkland Islands', 1, '500', 'FLK', 'Americas', 'South America'),
(73, 'FO', 'Faroe Islands', 1, '298', 'FRO', 'Europe', 'Northern Europe'),
(74, 'FJ', 'Fiji Islands', 1, '679', 'FJI', 'Oceania', 'Melanesia'),
(75, 'FI', 'Finland', 1, '358', 'FIN', 'Europe', 'Northern Europe'),
(76, 'FR', 'France', 1, '33', 'FRA', 'Europe', 'Western Europe'),
(77, 'GF', 'French Guiana', 1, '594', 'GUF', 'Americas', 'South America'),
(78, 'PF', 'French Polynesia', 1, '689', 'PYF', 'Oceania', 'Polynesia'),
(79, 'TF', 'French Southern Territories', 1, '262', 'ATF', 'Africa', 'Southern Africa'),
(80, 'GA', 'Gabon', 1, '241', 'GAB', 'Africa', 'Middle Africa'),
(81, 'GM', 'Gambia The', 1, '220', 'GMB', 'Africa', 'Western Africa'),
(82, 'GE', 'Georgia', 1, '995', 'GEO', 'Asia', 'Western Asia'),
(83, 'DE', 'Germany', 1, '49', 'DEU', 'Europe', 'Western Europe'),
(84, 'GH', 'Ghana', 1, '233', 'GHA', 'Africa', 'Western Africa'),
(85, 'GI', 'Gibraltar', 1, '350', 'GIB', 'Europe', 'Southern Europe'),
(86, 'GR', 'Greece', 1, '30', 'GRC', 'Europe', 'Southern Europe'),
(87, 'GL', 'Greenland', 1, '299', 'GRL', 'Americas', 'Northern America'),
(88, 'GD', 'Grenada', 1, '1', 'GRD', 'Americas', 'Caribbean'),
(89, 'GP', 'Guadeloupe', 1, '590', 'GLP', 'Americas', 'Caribbean'),
(90, 'GU', 'Guam', 1, '1', 'GUM', 'Oceania', 'Micronesia'),
(91, 'GT', 'Guatemala', 1, '502', 'GTM', 'Americas', 'Central America'),
(92, 'GG', 'Guernsey and Alderney', 1, '44', 'GGY', 'Europe', 'Northern Europe'),
(93, 'GN', 'Guinea', 1, '224', 'GIN', 'Africa', 'Western Africa'),
(94, 'GW', 'Guinea-Bissau', 1, '245', 'GNB', 'Africa', 'Western Africa'),
(95, 'GY', 'Guyana', 1, '592', 'GUY', 'Americas', 'South America'),
(96, 'HT', 'Haiti', 1, '509', 'HTI', 'Americas', 'Caribbean'),
(97, 'HM', 'Heard Island and McDonald Islands', 1, '672', 'HMD', '', ''),
(98, 'HN', 'Honduras', 1, '504', 'HND', 'Americas', 'Central America'),
(99, 'HK', 'Hong Kong S.A.R.', 1, '852', 'HKG', 'Asia', 'Eastern Asia'),
(100, 'HU', 'Hungary', 1, '36', 'HUN', 'Europe', 'Eastern Europe'),
(101, 'IS', 'Iceland', 1, '354', 'ISL', 'Europe', 'Northern Europe'),
(102, 'IN', 'India', 1, '91', 'IND', 'Asia', 'Southern Asia'),
(103, 'ID', 'Indonesia', 1, '62', 'IDN', 'Asia', 'South-Eastern Asia'),
(104, 'IR', 'Iran', 1, '98', 'IRN', 'Asia', 'Southern Asia'),
(105, 'IQ', 'Iraq', 1, '964', 'IRQ', 'Asia', 'Western Asia'),
(106, 'IE', 'Ireland', 1, '353', 'IRL', 'Europe', 'Northern Europe'),
(107, 'IL', 'Israel', 1, '972', 'ISR', 'Asia', 'Western Asia'),
(108, 'IT', 'Italy', 1, '39', 'ITA', 'Europe', 'Southern Europe'),
(109, 'JM', 'Jamaica', 1, '1', 'JAM', 'Americas', 'Caribbean'),
(110, 'JP', 'Japan', 1, '81', 'JPN', 'Asia', 'Eastern Asia'),
(111, 'JE', 'Jersey', 1, '44', 'JEY', 'Europe', 'Northern Europe'),
(112, 'JO', 'Jordan', 1, '962', 'JOR', 'Asia', 'Western Asia'),
(113, 'KZ', 'Kazakhstan', 1, '7', 'KAZ', 'Asia', 'Central Asia'),
(114, 'KE', 'Kenya', 1, '254', 'KEN', 'Africa', 'Eastern Africa'),
(115, 'KI', 'Kiribati', 1, '686', 'KIR', 'Oceania', 'Micronesia'),
(116, 'XK', 'Kosovo', 1, '383', 'XKX', 'Europe', 'Eastern Europe'),
(117, 'KW', 'Kuwait', 1, '965', 'KWT', 'Asia', 'Western Asia'),
(118, 'KG', 'Kyrgyzstan', 1, '996', 'KGZ', 'Asia', 'Central Asia'),
(119, 'LA', 'Laos', 1, '856', 'LAO', 'Asia', 'South-Eastern Asia'),
(120, 'LV', 'Latvia', 1, '371', 'LVA', 'Europe', 'Northern Europe'),
(121, 'LB', 'Lebanon', 1, '961', 'LBN', 'Asia', 'Western Asia'),
(122, 'LS', 'Lesotho', 1, '266', 'LSO', 'Africa', 'Southern Africa'),
(123, 'LR', 'Liberia', 1, '231', 'LBR', 'Africa', 'Western Africa'),
(124, 'LY', 'Libya', 1, '218', 'LBY', 'Africa', 'Northern Africa'),
(125, 'LI', 'Liechtenstein', 1, '423', 'LIE', 'Europe', 'Western Europe'),
(126, 'LT', 'Lithuania', 1, '370', 'LTU', 'Europe', 'Northern Europe'),
(127, 'LU', 'Luxembourg', 1, '352', 'LUX', 'Europe', 'Western Europe'),
(128, 'MO', 'Macau S.A.R.', 1, '853', 'MAC', 'Asia', 'Eastern Asia'),
(129, 'MK', 'Macedonia', 1, '389', 'MKD', 'Europe', 'Southern Europe'),
(130, 'MG', 'Madagascar', 1, '261', 'MDG', 'Africa', 'Eastern Africa'),
(131, 'MW', 'Malawi', 1, '265', 'MWI', 'Africa', 'Eastern Africa'),
(132, 'MY', 'Malaysia', 1, '60', 'MYS', 'Asia', 'South-Eastern Asia'),
(133, 'MV', 'Maldives', 1, '960', 'MDV', 'Asia', 'Southern Asia'),
(134, 'ML', 'Mali', 1, '223', 'MLI', 'Africa', 'Western Africa'),
(135, 'MT', 'Malta', 1, '356', 'MLT', 'Europe', 'Southern Europe'),
(136, 'IM', 'Man (Isle of)', 1, '44', 'IMN', 'Europe', 'Northern Europe'),
(137, 'MH', 'Marshall Islands', 1, '692', 'MHL', 'Oceania', 'Micronesia'),
(138, 'MQ', 'Martinique', 1, '596', 'MTQ', 'Americas', 'Caribbean'),
(139, 'MR', 'Mauritania', 1, '222', 'MRT', 'Africa', 'Western Africa'),
(140, 'MU', 'Mauritius', 1, '230', 'MUS', 'Africa', 'Eastern Africa'),
(141, 'YT', 'Mayotte', 1, '262', 'MYT', 'Africa', 'Eastern Africa'),
(142, 'MX', 'Mexico', 1, '52', 'MEX', 'Americas', 'Central America'),
(143, 'FM', 'Micronesia', 1, '691', 'FSM', 'Oceania', 'Micronesia'),
(144, 'MD', 'Moldova', 1, '373', 'MDA', 'Europe', 'Eastern Europe'),
(145, 'MC', 'Monaco', 1, '377', 'MCO', 'Europe', 'Western Europe'),
(146, 'MN', 'Mongolia', 1, '976', 'MNG', 'Asia', 'Eastern Asia'),
(147, 'ME', 'Montenegro', 1, '382', 'MNE', 'Europe', 'Southern Europe'),
(148, 'MS', 'Montserrat', 1, '1', 'MSR', 'Americas', 'Caribbean'),
(149, 'MA', 'Morocco', 1, '212', 'MAR', 'Africa', 'Northern Africa'),
(150, 'MZ', 'Mozambique', 1, '258', 'MOZ', 'Africa', 'Eastern Africa'),
(151, 'MM', 'Myanmar', 1, '95', 'MMR', 'Asia', 'South-Eastern Asia'),
(152, 'NA', 'Namibia', 1, '264', 'NAM', 'Africa', 'Southern Africa'),
(153, 'NR', 'Nauru', 1, '674', 'NRU', 'Oceania', 'Micronesia'),
(154, 'NP', 'Nepal', 1, '977', 'NPL', 'Asia', 'Southern Asia'),
(155, 'NL', 'Netherlands', 1, '31', 'NLD', 'Europe', 'Western Europe'),
(156, 'NC', 'New Caledonia', 1, '687', 'NCL', 'Oceania', 'Melanesia'),
(157, 'NZ', 'New Zealand', 1, '64', 'NZL', 'Oceania', 'Australia and New Zealand'),
(158, 'NI', 'Nicaragua', 1, '505', 'NIC', 'Americas', 'Central America'),
(159, 'NE', 'Niger', 1, '227', 'NER', 'Africa', 'Western Africa'),
(160, 'NG', 'Nigeria', 1, '234', 'NGA', 'Africa', 'Western Africa'),
(161, 'NU', 'Niue', 1, '683', 'NIU', 'Oceania', 'Polynesia'),
(162, 'NF', 'Norfolk Island', 1, '672', 'NFK', 'Oceania', 'Australia and New Zealand'),
(163, 'KP', 'North Korea', 1, '850', 'PRK', 'Asia', 'Eastern Asia'),
(164, 'MP', 'Northern Mariana Islands', 1, '1', 'MNP', 'Oceania', 'Micronesia'),
(165, 'NO', 'Norway', 1, '47', 'NOR', 'Europe', 'Northern Europe'),
(166, 'OM', 'Oman', 1, '968', 'OMN', 'Asia', 'Western Asia'),
(167, 'PK', 'Pakistan', 1, '92', 'PAK', 'Asia', 'Southern Asia'),
(168, 'PW', 'Palau', 1, '680', 'PLW', 'Oceania', 'Micronesia'),
(169, 'PS', 'Palestinian Territory Occupied', 1, '970', 'PSE', 'Asia', 'Western Asia'),
(170, 'PA', 'Panama', 1, '507', 'PAN', 'Americas', 'Central America'),
(171, 'PG', 'Papua new Guinea', 1, '675', 'PNG', 'Oceania', 'Melanesia'),
(172, 'PY', 'Paraguay', 1, '595', 'PRY', 'Americas', 'South America'),
(173, 'PE', 'Peru', 1, '51', 'PER', 'Americas', 'South America'),
(174, 'PH', 'Philippines', 1, '63', 'PHL', 'Asia', 'South-Eastern Asia'),
(175, 'PN', 'Pitcairn Island', 1, '870', 'PCN', 'Oceania', 'Polynesia'),
(176, 'PL', 'Poland', 1, '48', 'POL', 'Europe', 'Eastern Europe'),
(177, 'PT', 'Portugal', 1, '351', 'PRT', 'Europe', 'Southern Europe'),
(178, 'PR', 'Puerto Rico', 1, '1', 'PRI', 'Americas', 'Caribbean'),
(179, 'QA', 'Qatar', 1, '974', 'QAT', 'Asia', 'Western Asia'),
(180, 'RE', 'Reunion', 1, '262', 'REU', 'Africa', 'Eastern Africa'),
(181, 'RO', 'Romania', 1, '40', 'ROU', 'Europe', 'Eastern Europe'),
(182, 'RU', 'Russia', 1, '7', 'RUS', 'Europe', 'Eastern Europe'),
(183, 'RW', 'Rwanda', 1, '250', 'RWA', 'Africa', 'Eastern Africa'),
(184, 'SH', 'Saint Helena', 1, '290', 'SHN', 'Africa', 'Western Africa'),
(185, 'KN', 'Saint Kitts And Nevis', 1, '1', 'KNA', 'Americas', 'Caribbean'),
(186, 'LC', 'Saint Lucia', 1, '1', 'LCA', 'Americas', 'Caribbean'),
(187, 'PM', 'Saint Pierre and Miquelon', 1, '508', 'SPM', 'Americas', 'Northern America'),
(188, 'VC', 'Saint Vincent And The Grenadines', 1, '1', 'VCT', 'Americas', 'Caribbean'),
(189, 'BL', 'Saint-Barthelemy', 1, '590', 'BLM', 'Americas', 'Caribbean'),
(190, 'MF', 'Saint-Martin (French part)', 1, '590', 'MAF', 'Americas', 'Caribbean'),
(191, 'WS', 'Samoa', 1, '685', 'WSM', 'Oceania', 'Polynesia'),
(192, 'SM', 'San Marino', 1, '378', 'SMR', 'Europe', 'Southern Europe'),
(193, 'ST', 'Sao Tome and Principe', 1, '239', 'STP', 'Africa', 'Middle Africa'),
(194, 'SA', 'Saudi Arabia', 1, '966', 'SAU', 'Asia', 'Western Asia'),
(195, 'SN', 'Senegal', 1, '221', 'SEN', 'Africa', 'Western Africa'),
(196, 'RS', 'Serbia', 1, '381', 'SRB', 'Europe', 'Southern Europe'),
(197, 'SC', 'Seychelles', 1, '248', 'SYC', 'Africa', 'Eastern Africa'),
(198, 'SL', 'Sierra Leone', 1, '232', 'SLE', 'Africa', 'Western Africa'),
(199, 'SG', 'Singapore', 1, '65', 'SGP', 'Asia', 'South-Eastern Asia'),
(200, 'SX', 'Sint Maarten (Dutch part)', 1, '1721', 'SXM', 'Americas', 'Caribbean'),
(201, 'SK', 'Slovakia', 1, '421', 'SVK', 'Europe', 'Eastern Europe'),
(202, 'SI', 'Slovenia', 1, '386', 'SVN', 'Europe', 'Southern Europe'),
(203, 'SB', 'Solomon Islands', 1, '677', 'SLB', 'Oceania', 'Melanesia'),
(204, 'SO', 'Somalia', 1, '252', 'SOM', 'Africa', 'Eastern Africa'),
(205, 'ZA', 'South Africa', 1, '27', 'ZAF', 'Africa', 'Southern Africa'),
(206, 'GS', 'South Georgia', 1, '500', 'SGS', 'Americas', 'South America'),
(207, 'KR', 'South Korea', 1, '82', 'KOR', 'Asia', 'Eastern Asia'),
(208, 'SS', 'South Sudan', 1, '211', 'SSD', 'Africa', 'Middle Africa'),
(209, 'ES', 'Spain', 1, '34', 'ESP', 'Europe', 'Southern Europe'),
(210, 'LK', 'Sri Lanka', 1, '94', 'LKA', 'Asia', 'Southern Asia'),
(211, 'SD', 'Sudan', 1, '249', 'SDN', 'Africa', 'Northern Africa'),
(212, 'SR', 'Suriname', 1, '597', 'SUR', 'Americas', 'South America'),
(213, 'SJ', 'Svalbard And Jan Mayen Islands', 1, '47', 'SJM', 'Europe', 'Northern Europe'),
(214, 'SZ', 'Swaziland', 1, '268', 'SWZ', 'Africa', 'Southern Africa'),
(215, 'SE', 'Sweden', 1, '46', 'SWE', 'Europe', 'Northern Europe'),
(216, 'CH', 'Switzerland', 1, '41', 'CHE', 'Europe', 'Western Europe'),
(217, 'SY', 'Syria', 1, '963', 'SYR', 'Asia', 'Western Asia'),
(218, 'TW', 'Taiwan', 1, '886', 'TWN', 'Asia', 'Eastern Asia'),
(219, 'TJ', 'Tajikistan', 1, '992', 'TJK', 'Asia', 'Central Asia'),
(220, 'TZ', 'Tanzania', 1, '255', 'TZA', 'Africa', 'Eastern Africa'),
(221, 'TH', 'Thailand', 1, '66', 'THA', 'Asia', 'South-Eastern Asia'),
(222, 'BS', 'The Bahamas', 1, '1', 'BHS', 'Americas', 'Caribbean'),
(223, 'TG', 'Togo', 1, '228', 'TGO', 'Africa', 'Western Africa'),
(224, 'TK', 'Tokelau', 1, '690', 'TKL', 'Oceania', 'Polynesia'),
(225, 'TO', 'Tonga', 1, '676', 'TON', 'Oceania', 'Polynesia'),
(226, 'TT', 'Trinidad And Tobago', 1, '1', 'TTO', 'Americas', 'Caribbean'),
(227, 'TN', 'Tunisia', 1, '216', 'TUN', 'Africa', 'Northern Africa'),
(228, 'TR', 'Turkey', 1, '90', 'TUR', 'Asia', 'Western Asia'),
(229, 'TM', 'Turkmenistan', 1, '993', 'TKM', 'Asia', 'Central Asia'),
(230, 'TC', 'Turks And Caicos Islands', 1, '1', 'TCA', 'Americas', 'Caribbean'),
(231, 'TV', 'Tuvalu', 1, '688', 'TUV', 'Oceania', 'Polynesia'),
(232, 'UG', 'Uganda', 1, '256', 'UGA', 'Africa', 'Eastern Africa'),
(233, 'UA', 'Ukraine', 1, '380', 'UKR', 'Europe', 'Eastern Europe'),
(234, 'AE', 'United Arab Emirates', 1, '971', 'ARE', 'Asia', 'Western Asia'),
(235, 'GB', 'United Kingdom', 1, '44', 'GBR', 'Europe', 'Northern Europe'),
(236, 'US', 'United States', 1, '1', 'USA', 'Americas', 'Northern America'),
(237, 'UM', 'United States Minor Outlying Islands', 1, '1', 'UMI', 'Americas', 'Northern America'),
(238, 'UY', 'Uruguay', 1, '598', 'URY', 'Americas', 'South America'),
(239, 'UZ', 'Uzbekistan', 1, '998', 'UZB', 'Asia', 'Central Asia'),
(240, 'VU', 'Vanuatu', 1, '678', 'VUT', 'Oceania', 'Melanesia'),
(241, 'VA', 'Vatican City State (Holy See)', 1, '379', 'VAT', 'Europe', 'Southern Europe'),
(242, 'VE', 'Venezuela', 1, '58', 'VEN', 'Americas', 'South America'),
(243, 'VN', 'Vietnam', 1, '84', 'VNM', 'Asia', 'South-Eastern Asia'),
(244, 'VG', 'Virgin Islands (British)', 1, '1', 'VGB', 'Americas', 'Caribbean'),
(245, 'VI', 'Virgin Islands (US)', 1, '1', 'VIR', 'Americas', 'Caribbean'),
(246, 'WF', 'Wallis And Futuna Islands', 1, '681', 'WLF', 'Oceania', 'Polynesia'),
(247, 'EH', 'Western Sahara', 1, '212', 'ESH', 'Africa', 'Northern Africa'),
(248, 'YE', 'Yemen', 1, '967', 'YEM', 'Asia', 'Western Asia'),
(249, 'ZM', 'Zambia', 1, '260', 'ZMB', 'Africa', 'Eastern Africa'),
(250, 'ZW', 'Zimbabwe', 1, '263', 'ZWE', 'Africa', 'Eastern Africa');

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

--
-- Estructura de tabla para la tabla `currencies`
--

CREATE TABLE `currencies` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `country_id` bigint(20) UNSIGNED NOT NULL,
  `name` varchar(255) NOT NULL,
  `code` varchar(255) NOT NULL,
  `precision` tinyint(4) NOT NULL DEFAULT 2,
  `symbol` varchar(255) NOT NULL,
  `symbol_native` varchar(255) NOT NULL,
  `symbol_first` tinyint(4) NOT NULL DEFAULT 1,
  `decimal_mark` varchar(1) NOT NULL DEFAULT '.',
  `thousands_separator` varchar(1) NOT NULL DEFAULT ','
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_spanish2_ci;

--
-- Volcado de datos para la tabla `currencies`
--

INSERT INTO `currencies` (`id`, `country_id`, `name`, `code`, `precision`, `symbol`, `symbol_native`, `symbol_first`, `decimal_mark`, `thousands_separator`) VALUES
(1, 1, 'Afghan Afghani', 'AFN', 0, 'Af', '؋', 1, '.', ','),
(2, 2, 'Euro', 'EUR', 2, '€', '€', 1, '.', ','),
(3, 3, 'Albanian Lek', 'ALL', 0, 'ALL', 'Lek', 1, '.', ','),
(4, 4, 'Algerian Dinar', 'DZD', 2, 'DA', 'د.ج.', 1, '.', ','),
(5, 5, 'US Dollar', 'USD', 2, '$', '$', 1, '.', ','),
(6, 6, 'Euro', 'EUR', 2, '€', '€', 1, '.', ','),
(7, 7, 'AOA', 'AOA', 2, 'Kz', 'Kz', 1, '.', ','),
(8, 8, 'XCD', 'XCD', 2, '$', '$', 1, '.', ','),
(9, 9, 'AAD', 'AAD', 2, '$', '$', 1, '.', ','),
(10, 10, 'XCD', 'XCD', 2, '$', '$', 1, '.', ','),
(11, 11, 'Argentine Peso', 'ARS', 2, 'AR$', '$', 1, '.', ','),
(12, 12, 'Armenian Dram', 'AMD', 0, 'AMD', 'դր.', 1, '.', ','),
(13, 13, 'AWG', 'AWG', 2, 'ƒ', 'ƒ', 1, '.', ','),
(14, 14, 'Australian Dollar', 'AUD', 2, 'AU$', '$', 1, '.', ','),
(15, 15, 'Euro', 'EUR', 2, '€', '€', 1, '.', ','),
(16, 16, 'Azerbaijani Manat', 'AZN', 2, 'man.', 'ман.', 1, '.', ','),
(17, 17, 'Bahraini Dinar', 'BHD', 3, 'BD', 'د.ب.', 1, '.', ','),
(18, 18, 'Bangladeshi Taka', 'BDT', 2, 'Tk', '৳', 1, '.', ','),
(19, 19, 'BBD', 'BBD', 2, 'Bds$', 'Bds$', 1, '.', ','),
(20, 20, 'Belarusian Ruble', 'BYN', 2, 'Br', 'руб.', 1, '.', ','),
(21, 21, 'Euro', 'EUR', 2, '€', '€', 1, '.', ','),
(22, 22, 'Belize Dollar', 'BZD', 2, 'BZ$', '$', 1, '.', ','),
(23, 23, 'CFA Franc BCEAO', 'XOF', 0, 'CFA', 'CFA', 1, '.', ','),
(24, 24, 'BMD', 'BMD', 2, '$', '$', 1, '.', ','),
(25, 25, 'BTN', 'BTN', 2, 'Nu.', 'Nu.', 1, '.', ','),
(26, 26, 'Bolivian Boliviano', 'BOB', 2, 'Bs', 'Bs', 1, '.', ','),
(27, 27, 'US Dollar', 'USD', 2, '$', '$', 1, '.', ','),
(28, 28, 'Bosnia-Herzegovina Convertible Mark', 'BAM', 2, 'KM', 'KM', 1, '.', ','),
(29, 29, 'Botswanan Pula', 'BWP', 2, 'BWP', 'P', 1, '.', ','),
(30, 30, 'Norwegian Krone', 'NOK', 2, 'Nkr', 'kr', 1, '.', ','),
(31, 31, 'Brazilian Real', 'BRL', 2, 'R$', 'R$', 1, '.', ','),
(32, 32, 'US Dollar', 'USD', 2, '$', '$', 1, '.', ','),
(33, 33, 'Brunei Dollar', 'BND', 2, 'BN$', '$', 1, '.', ','),
(34, 34, 'Bulgarian Lev', 'BGN', 2, 'BGN', 'лв.', 1, '.', ','),
(35, 35, 'CFA Franc BCEAO', 'XOF', 0, 'CFA', 'CFA', 1, '.', ','),
(36, 36, 'Burundian Franc', 'BIF', 0, 'FBu', 'FBu', 1, '.', ','),
(37, 37, 'Cambodian Riel', 'KHR', 2, 'KHR', '៛', 1, '.', ','),
(38, 38, 'CFA Franc BEAC', 'XAF', 0, 'FCFA', 'FCFA', 1, '.', ','),
(39, 39, 'Canadian Dollar', 'CAD', 2, 'CA$', '$', 1, '.', ','),
(40, 40, 'Cape Verdean Escudo', 'CVE', 2, 'CV$', 'CV$', 1, '.', ','),
(41, 41, 'KYD', 'KYD', 2, '$', '$', 1, '.', ','),
(42, 42, 'CFA Franc BEAC', 'XAF', 0, 'FCFA', 'FCFA', 1, '.', ','),
(43, 43, 'CFA Franc BEAC', 'XAF', 0, 'FCFA', 'FCFA', 1, '.', ','),
(44, 44, 'Chilean Peso', 'CLP', 0, 'CL$', '$', 1, '.', ','),
(45, 45, 'Chinese Yuan', 'CNY', 2, 'CN¥', 'CN¥', 1, '.', ','),
(46, 46, 'Australian Dollar', 'AUD', 2, 'AU$', '$', 1, '.', ','),
(47, 47, 'Australian Dollar', 'AUD', 2, 'AU$', '$', 1, '.', ','),
(48, 48, 'Colombian Peso', 'COP', 0, 'CO$', '$', 1, '.', ','),
(49, 49, 'Comorian Franc', 'KMF', 0, 'CF', 'FC', 1, '.', ','),
(50, 50, 'CFA Franc BEAC', 'XAF', 0, 'FCFA', 'FCFA', 1, '.', ','),
(51, 51, 'New Zealand Dollar', 'NZD', 2, 'NZ$', '$', 1, '.', ','),
(52, 52, 'Costa Rican Colón', 'CRC', 0, '₡', '₡', 1, '.', ','),
(53, 53, 'CFA Franc BCEAO', 'XOF', 0, 'CFA', 'CFA', 1, '.', ','),
(54, 54, 'Euro', 'EUR', 2, '€', '€', 1, '.', ','),
(55, 55, 'CUP', 'CUP', 2, '$', '$', 1, '.', ','),
(56, 56, 'ANG', 'ANG', 2, 'ƒ', 'ƒ', 1, '.', ','),
(57, 57, 'Euro', 'EUR', 2, '€', '€', 1, '.', ','),
(58, 58, 'Czech Republic Koruna', 'CZK', 2, 'Kč', 'Kč', 1, '.', ','),
(59, 59, 'Congolese Franc', 'CDF', 2, 'CDF', 'FrCD', 1, '.', ','),
(60, 60, 'Danish Krone', 'DKK', 2, 'Dkr', 'kr', 1, '.', ','),
(61, 61, 'Djiboutian Franc', 'DJF', 0, 'Fdj', 'Fdj', 1, '.', ','),
(62, 62, 'XCD', 'XCD', 2, '$', '$', 1, '.', ','),
(63, 63, 'Dominican Peso', 'DOP', 2, 'RD$', 'RD$', 1, '.', ','),
(64, 64, 'US Dollar', 'USD', 2, '$', '$', 1, '.', ','),
(65, 65, 'US Dollar', 'USD', 2, '$', '$', 1, '.', ','),
(66, 66, 'Egyptian Pound', 'EGP', 2, 'EGP', 'ج.م.', 1, '.', ','),
(67, 67, 'US Dollar', 'USD', 2, '$', '$', 1, '.', ','),
(68, 68, 'CFA Franc BEAC', 'XAF', 0, 'FCFA', 'FCFA', 1, '.', ','),
(69, 69, 'Eritrean Nakfa', 'ERN', 2, 'Nfk', 'Nfk', 1, '.', ','),
(70, 70, 'Euro', 'EUR', 2, '€', '€', 1, '.', ','),
(71, 71, 'Ethiopian Birr', 'ETB', 2, 'Br', 'Br', 1, '.', ','),
(72, 72, 'FKP', 'FKP', 2, '£', '£', 1, '.', ','),
(73, 73, 'Danish Krone', 'DKK', 2, 'Dkr', 'kr', 1, '.', ','),
(74, 74, 'FJD', 'FJD', 2, 'FJ$', 'FJ$', 1, '.', ','),
(75, 75, 'Euro', 'EUR', 2, '€', '€', 1, '.', ','),
(76, 76, 'Euro', 'EUR', 2, '€', '€', 1, '.', ','),
(77, 77, 'Euro', 'EUR', 2, '€', '€', 1, '.', ','),
(78, 78, 'XPF', 'XPF', 2, '₣', '₣', 1, '.', ','),
(79, 79, 'Euro', 'EUR', 2, '€', '€', 1, '.', ','),
(80, 80, 'CFA Franc BEAC', 'XAF', 0, 'FCFA', 'FCFA', 1, '.', ','),
(81, 81, 'GMD', 'GMD', 2, 'D', 'D', 1, '.', ','),
(82, 82, 'Georgian Lari', 'GEL', 2, 'GEL', 'GEL', 1, '.', ','),
(83, 83, 'Euro', 'EUR', 2, '€', '€', 1, '.', ','),
(84, 84, 'Ghanaian Cedi', 'GHS', 2, 'GH₵', 'GH₵', 1, '.', ','),
(85, 85, 'GIP', 'GIP', 2, '£', '£', 1, '.', ','),
(86, 86, 'Euro', 'EUR', 2, '€', '€', 1, '.', ','),
(87, 87, 'Danish Krone', 'DKK', 2, 'Dkr', 'kr', 1, '.', ','),
(88, 88, 'XCD', 'XCD', 2, '$', '$', 1, '.', ','),
(89, 89, 'Euro', 'EUR', 2, '€', '€', 1, '.', ','),
(90, 90, 'US Dollar', 'USD', 2, '$', '$', 1, '.', ','),
(91, 91, 'Guatemalan Quetzal', 'GTQ', 2, 'GTQ', 'Q', 1, '.', ','),
(92, 92, 'British Pound Sterling', 'GBP', 2, '£', '£', 1, '.', ','),
(93, 93, 'Guinean Franc', 'GNF', 0, 'FG', 'FG', 1, '.', ','),
(94, 94, 'CFA Franc BCEAO', 'XOF', 0, 'CFA', 'CFA', 1, '.', ','),
(95, 95, 'GYD', 'GYD', 2, '$', '$', 1, '.', ','),
(96, 96, 'HTG', 'HTG', 2, 'G', 'G', 1, '.', ','),
(97, 97, 'Australian Dollar', 'AUD', 2, 'AU$', '$', 1, '.', ','),
(98, 98, 'Honduran Lempira', 'HNL', 2, 'HNL', 'L', 1, '.', ','),
(99, 99, 'Hong Kong Dollar', 'HKD', 2, 'HK$', '$', 1, '.', ','),
(100, 100, 'Hungarian Forint', 'HUF', 0, 'Ft', 'Ft', 1, '.', ','),
(101, 101, 'Icelandic Króna', 'ISK', 0, 'Ikr', 'kr', 1, '.', ','),
(102, 102, 'Indian Rupee', 'INR', 2, 'Rs', 'টকা', 1, '.', ','),
(103, 103, 'Indonesian Rupiah', 'IDR', 0, 'Rp', 'Rp', 1, '.', ','),
(104, 104, 'Iranian Rial', 'IRR', 0, 'IRR', '﷼', 1, '.', ','),
(105, 105, 'Iraqi Dinar', 'IQD', 0, 'IQD', 'د.ع.', 1, '.', ','),
(106, 106, 'Euro', 'EUR', 2, '€', '€', 1, '.', ','),
(107, 107, 'Israeli New Sheqel', 'ILS', 2, '₪', '₪', 1, '.', ','),
(108, 108, 'Euro', 'EUR', 2, '€', '€', 1, '.', ','),
(109, 109, 'Jamaican Dollar', 'JMD', 2, 'J$', '$', 1, '.', ','),
(110, 110, 'Japanese Yen', 'JPY', 0, '¥', '￥', 1, '.', ','),
(111, 111, 'British Pound Sterling', 'GBP', 2, '£', '£', 1, '.', ','),
(112, 112, 'Jordanian Dinar', 'JOD', 3, 'JD', 'د.أ.', 1, '.', ','),
(113, 113, 'Kazakhstani Tenge', 'KZT', 2, 'KZT', 'тңг.', 1, '.', ','),
(114, 114, 'Kenyan Shilling', 'KES', 2, 'Ksh', 'Ksh', 1, '.', ','),
(115, 115, 'Australian Dollar', 'AUD', 2, 'AU$', '$', 1, '.', ','),
(116, 116, 'Euro', 'EUR', 2, '€', '€', 1, '.', ','),
(117, 117, 'Kuwaiti Dinar', 'KWD', 3, 'KD', 'د.ك.', 1, '.', ','),
(118, 118, 'KGS', 'KGS', 2, 'лв', 'лв', 1, '.', ','),
(119, 119, 'LAK', 'LAK', 2, '₭', '₭', 1, '.', ','),
(120, 120, 'Euro', 'EUR', 2, '€', '€', 1, '.', ','),
(121, 121, 'Lebanese Pound', 'LBP', 0, 'L.L.', 'ل.ل.', 1, '.', ','),
(122, 122, 'LSL', 'LSL', 2, 'L', 'L', 1, '.', ','),
(123, 123, 'LRD', 'LRD', 2, '$', '$', 1, '.', ','),
(124, 124, 'Libyan Dinar', 'LYD', 3, 'LD', 'د.ل.', 1, '.', ','),
(125, 125, 'Swiss Franc', 'CHF', 2, 'CHF', 'CHF', 1, '.', ','),
(126, 126, 'Euro', 'EUR', 2, '€', '€', 1, '.', ','),
(127, 127, 'Euro', 'EUR', 2, '€', '€', 1, '.', ','),
(128, 128, 'Macanese Pataca', 'MOP', 2, 'MOP$', 'MOP$', 1, '.', ','),
(129, 129, 'Macedonian Denar', 'MKD', 2, 'MKD', 'MKD', 1, '.', ','),
(130, 130, 'Malagasy Ariary', 'MGA', 0, 'MGA', 'MGA', 1, '.', ','),
(131, 131, 'MWK', 'MWK', 2, 'MK', 'MK', 1, '.', ','),
(132, 132, 'Malaysian Ringgit', 'MYR', 2, 'RM', 'RM', 1, '.', ','),
(133, 133, 'MVR', 'MVR', 2, 'Rf', 'Rf', 1, '.', ','),
(134, 134, 'CFA Franc BCEAO', 'XOF', 0, 'CFA', 'CFA', 1, '.', ','),
(135, 135, 'Euro', 'EUR', 2, '€', '€', 1, '.', ','),
(136, 136, 'British Pound Sterling', 'GBP', 2, '£', '£', 1, '.', ','),
(137, 137, 'US Dollar', 'USD', 2, '$', '$', 1, '.', ','),
(138, 138, 'Euro', 'EUR', 2, '€', '€', 1, '.', ','),
(139, 139, 'MRO', 'MRO', 2, 'MRU', 'MRU', 1, '.', ','),
(140, 140, 'Mauritian Rupee', 'MUR', 0, 'MURs', 'MURs', 1, '.', ','),
(141, 141, 'Euro', 'EUR', 2, '€', '€', 1, '.', ','),
(142, 142, 'Mexican Peso', 'MXN', 2, 'MX$', '$', 1, '.', ','),
(143, 143, 'US Dollar', 'USD', 2, '$', '$', 1, '.', ','),
(144, 144, 'Moldovan Leu', 'MDL', 2, 'MDL', 'MDL', 1, '.', ','),
(145, 145, 'Euro', 'EUR', 2, '€', '€', 1, '.', ','),
(146, 146, 'MNT', 'MNT', 2, '₮', '₮', 1, '.', ','),
(147, 147, 'Euro', 'EUR', 2, '€', '€', 1, '.', ','),
(148, 148, 'XCD', 'XCD', 2, '$', '$', 1, '.', ','),
(149, 149, 'Moroccan Dirham', 'MAD', 2, 'MAD', 'د.م.', 1, '.', ','),
(150, 150, 'Mozambican Metical', 'MZN', 2, 'MTn', 'MTn', 1, '.', ','),
(151, 151, 'Myanma Kyat', 'MMK', 0, 'MMK', 'K', 1, '.', ','),
(152, 152, 'Namibian Dollar', 'NAD', 2, 'N$', 'N$', 1, '.', ','),
(153, 153, 'Australian Dollar', 'AUD', 2, 'AU$', '$', 1, '.', ','),
(154, 154, 'Nepalese Rupee', 'NPR', 2, 'NPRs', 'नेरू', 1, '.', ','),
(155, 155, 'Euro', 'EUR', 2, '€', '€', 1, '.', ','),
(156, 156, 'XPF', 'XPF', 2, '₣', '₣', 1, '.', ','),
(157, 157, 'New Zealand Dollar', 'NZD', 2, 'NZ$', '$', 1, '.', ','),
(158, 158, 'Nicaraguan Córdoba', 'NIO', 2, 'C$', 'C$', 1, '.', ','),
(159, 159, 'CFA Franc BCEAO', 'XOF', 0, 'CFA', 'CFA', 1, '.', ','),
(160, 160, 'Nigerian Naira', 'NGN', 2, '₦', '₦', 1, '.', ','),
(161, 161, 'New Zealand Dollar', 'NZD', 2, 'NZ$', '$', 1, '.', ','),
(162, 162, 'Australian Dollar', 'AUD', 2, 'AU$', '$', 1, '.', ','),
(163, 163, 'KPW', 'KPW', 2, '₩', '₩', 1, '.', ','),
(164, 164, 'US Dollar', 'USD', 2, '$', '$', 1, '.', ','),
(165, 165, 'Norwegian Krone', 'NOK', 2, 'Nkr', 'kr', 1, '.', ','),
(166, 166, 'Omani Rial', 'OMR', 3, 'OMR', 'ر.ع.', 1, '.', ','),
(167, 167, 'Pakistani Rupee', 'PKR', 0, 'PKRs', '₨', 1, '.', ','),
(168, 168, 'US Dollar', 'USD', 2, '$', '$', 1, '.', ','),
(169, 169, 'Israeli New Sheqel', 'ILS', 2, '₪', '₪', 1, '.', ','),
(170, 170, 'Panamanian Balboa', 'PAB', 2, 'B/.', 'B/.', 1, '.', ','),
(171, 171, 'PGK', 'PGK', 2, 'K', 'K', 1, '.', ','),
(172, 172, 'Paraguayan Guarani', 'PYG', 0, '₲', '₲', 1, '.', ','),
(173, 173, 'Peruvian Nuevo Sol', 'PEN', 2, 'S/.', 'S/.', 1, '.', ','),
(174, 174, 'Philippine Peso', 'PHP', 2, '₱', '₱', 1, '.', ','),
(175, 175, 'New Zealand Dollar', 'NZD', 2, 'NZ$', '$', 1, '.', ','),
(176, 176, 'Polish Zloty', 'PLN', 2, 'zł', 'zł', 1, '.', ','),
(177, 177, 'Euro', 'EUR', 2, '€', '€', 1, '.', ','),
(178, 178, 'US Dollar', 'USD', 2, '$', '$', 1, '.', ','),
(179, 179, 'Qatari Rial', 'QAR', 2, 'QR', 'ر.ق.', 1, '.', ','),
(180, 180, 'Euro', 'EUR', 2, '€', '€', 1, '.', ','),
(181, 181, 'Romanian Leu', 'RON', 2, 'RON', 'RON', 1, '.', ','),
(182, 182, 'Russian Ruble', 'RUB', 2, 'RUB', '₽.', 1, '.', ','),
(183, 183, 'Rwandan Franc', 'RWF', 0, 'RWF', 'FR', 1, '.', ','),
(184, 184, 'SHP', 'SHP', 2, '£', '£', 1, '.', ','),
(185, 185, 'XCD', 'XCD', 2, '$', '$', 1, '.', ','),
(186, 186, 'XCD', 'XCD', 2, '$', '$', 1, '.', ','),
(187, 187, 'Euro', 'EUR', 2, '€', '€', 1, '.', ','),
(188, 188, 'XCD', 'XCD', 2, '$', '$', 1, '.', ','),
(189, 189, 'Euro', 'EUR', 2, '€', '€', 1, '.', ','),
(190, 190, 'Euro', 'EUR', 2, '€', '€', 1, '.', ','),
(191, 191, 'WST', 'WST', 2, 'SAT', 'SAT', 1, '.', ','),
(192, 192, 'Euro', 'EUR', 2, '€', '€', 1, '.', ','),
(193, 193, 'STD', 'STD', 2, 'Db', 'Db', 1, '.', ','),
(194, 194, 'Saudi Riyal', 'SAR', 2, 'SR', 'ر.س.', 1, '.', ','),
(195, 195, 'CFA Franc BCEAO', 'XOF', 0, 'CFA', 'CFA', 1, '.', ','),
(196, 196, 'Serbian Dinar', 'RSD', 0, 'din.', 'дин.', 1, '.', ','),
(197, 197, 'SCR', 'SCR', 2, 'SRe', 'SRe', 1, '.', ','),
(198, 198, 'SLL', 'SLL', 2, 'Le', 'Le', 1, '.', ','),
(199, 199, 'Singapore Dollar', 'SGD', 2, 'S$', '$', 1, '.', ','),
(200, 200, 'ANG', 'ANG', 2, 'ƒ', 'ƒ', 1, '.', ','),
(201, 201, 'Euro', 'EUR', 2, '€', '€', 1, '.', ','),
(202, 202, 'Euro', 'EUR', 2, '€', '€', 1, '.', ','),
(203, 203, 'SBD', 'SBD', 2, 'Si$', 'Si$', 1, '.', ','),
(204, 204, 'Somali Shilling', 'SOS', 0, 'Ssh', 'Ssh', 1, '.', ','),
(205, 205, 'South African Rand', 'ZAR', 2, 'R', 'R', 1, '.', ','),
(206, 206, 'British Pound Sterling', 'GBP', 2, '£', '£', 1, '.', ','),
(207, 207, 'South Korean Won', 'KRW', 0, '₩', '₩', 1, '.', ','),
(208, 208, 'SSP', 'SSP', 2, '£', '£', 1, '.', ','),
(209, 209, 'Euro', 'EUR', 2, '€', '€', 1, '.', ','),
(210, 210, 'Sri Lankan Rupee', 'LKR', 2, 'SLRs', 'SL Re', 1, '.', ','),
(211, 211, 'Sudanese Pound', 'SDG', 2, 'SDG', 'SDG', 1, '.', ','),
(212, 212, 'SRD', 'SRD', 2, '$', '$', 1, '.', ','),
(213, 213, 'Norwegian Krone', 'NOK', 2, 'Nkr', 'kr', 1, '.', ','),
(214, 214, 'SZL', 'SZL', 2, 'E', 'E', 1, '.', ','),
(215, 215, 'Swedish Krona', 'SEK', 2, 'Skr', 'kr', 1, '.', ','),
(216, 216, 'Swiss Franc', 'CHF', 2, 'CHF', 'CHF', 1, '.', ','),
(217, 217, 'Syrian Pound', 'SYP', 0, 'SY£', 'ل.س.', 1, '.', ','),
(218, 218, 'New Taiwan Dollar', 'TWD', 2, 'NT$', 'NT$', 1, '.', ','),
(219, 219, 'TJS', 'TJS', 2, 'SM', 'SM', 1, '.', ','),
(220, 220, 'Tanzanian Shilling', 'TZS', 0, 'TSh', 'TSh', 1, '.', ','),
(221, 221, 'Thai Baht', 'THB', 2, '฿', '฿', 1, '.', ','),
(222, 222, 'BSD', 'BSD', 2, 'B$', 'B$', 1, '.', ','),
(223, 223, 'CFA Franc BCEAO', 'XOF', 0, 'CFA', 'CFA', 1, '.', ','),
(224, 224, 'New Zealand Dollar', 'NZD', 2, 'NZ$', '$', 1, '.', ','),
(225, 225, 'Tongan Paʻanga', 'TOP', 2, 'T$', 'T$', 1, '.', ','),
(226, 226, 'Trinidad and Tobago Dollar', 'TTD', 2, 'TT$', '$', 1, '.', ','),
(227, 227, 'Tunisian Dinar', 'TND', 3, 'DT', 'د.ت.', 1, '.', ','),
(228, 228, 'Turkish Lira', 'TRY', 2, 'TL', '₺', 1, '.', ','),
(229, 229, 'TMT', 'TMT', 2, 'T', 'T', 1, '.', ','),
(230, 230, 'US Dollar', 'USD', 2, '$', '$', 1, '.', ','),
(231, 231, 'Australian Dollar', 'AUD', 2, 'AU$', '$', 1, '.', ','),
(232, 232, 'Ugandan Shilling', 'UGX', 0, 'USh', 'USh', 1, '.', ','),
(233, 233, 'Ukrainian Hryvnia', 'UAH', 2, '₴', '₴', 1, '.', ','),
(234, 234, 'United Arab Emirates Dirham', 'AED', 2, 'AED', 'د.إ.', 1, '.', ','),
(235, 235, 'British Pound Sterling', 'GBP', 2, '£', '£', 1, '.', ','),
(236, 236, 'US Dollar', 'USD', 2, '$', '$', 1, '.', ','),
(237, 237, 'US Dollar', 'USD', 2, '$', '$', 1, '.', ','),
(238, 238, 'Uruguayan Peso', 'UYU', 2, '$U', '$', 1, '.', ','),
(239, 239, 'Uzbekistan Som', 'UZS', 0, 'UZS', 'UZS', 1, '.', ','),
(240, 240, 'VUV', 'VUV', 2, 'VT', 'VT', 1, '.', ','),
(241, 241, 'Euro', 'EUR', 2, '€', '€', 1, '.', ','),
(242, 242, 'Venezuelan Bolívar', 'VEF', 2, 'Bs.F.', 'Bs.F.', 1, '.', ','),
(243, 243, 'Vietnamese Dong', 'VND', 0, '₫', '₫', 1, '.', ','),
(244, 244, 'US Dollar', 'USD', 2, '$', '$', 1, '.', ','),
(245, 245, 'US Dollar', 'USD', 2, '$', '$', 1, '.', ','),
(246, 246, 'XPF', 'XPF', 2, '₣', '₣', 1, '.', ','),
(247, 247, 'Moroccan Dirham', 'MAD', 2, 'MAD', 'د.م.', 1, '.', ','),
(248, 248, 'Yemeni Rial', 'YER', 0, 'YR', 'ر.ي.', 1, '.', ','),
(249, 249, 'ZMW', 'ZMW', 2, 'ZK', 'ZK', 1, '.', ','),
(250, 250, 'Zimbabwean Dollar', 'ZWL', 0, 'ZWL$', 'ZWL$', 1, '.', ',');

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

--
-- Estructura de tabla para la tabla `elemendevolucions`
--

CREATE TABLE `elemendevolucions` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `elemento_id` bigint(20) UNSIGNED NOT NULL,
  `trabajador_id` bigint(20) UNSIGNED NOT NULL,
  `cantidad` bigint(20) NOT NULL,
  `recibido_por` bigint(20) UNSIGNED NOT NULL,
  `folio` bigint(20) UNSIGNED NOT NULL,
  `fecha` date NOT NULL,
  `condicion` varchar(120) NOT NULL,
  `baja_por` varchar(60) DEFAULT NULL,
  `fecha_baja` date DEFAULT NULL,
  `estado` int(11) NOT NULL DEFAULT 1,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_spanish2_ci;

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

--
-- Estructura de tabla para la tabla `elementos`
--

CREATE TABLE `elementos` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `nombre` varchar(80) NOT NULL,
  `catelemento_id` bigint(20) UNSIGNED NOT NULL,
  `codigo` varchar(12) NOT NULL,
  `barcode` varchar(20) DEFAULT NULL,
  `unidad` varchar(30) NOT NULL,
  `stock_inicial` int(11) NOT NULL,
  `stock_actual` int(11) NOT NULL,
  `stock_critico` int(11) NOT NULL,
  `ultimo_costo` bigint(20) NOT NULL,
  `ultimo_ingreso` date NOT NULL,
  `nuevas` int(11) NOT NULL DEFAULT 0,
  `usadas` int(11) NOT NULL DEFAULT 0,
  `disponible` int(11) NOT NULL DEFAULT 0,
  `prestada` int(11) NOT NULL DEFAULT 0,
  `dañada` int(11) NOT NULL DEFAULT 0,
  `en_reparacion` int(11) NOT NULL DEFAULT 0,
  `de_baja` int(11) NOT NULL DEFAULT 0,
  `vendida` int(11) NOT NULL DEFAULT 0,
  `ingresado_por` bigint(20) UNSIGNED NOT NULL,
  `baja_por` varchar(60) DEFAULT NULL,
  `condicion` varchar(20) DEFAULT NULL,
  `estado` int(11) NOT NULL DEFAULT 1,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_spanish2_ci;

--
-- Volcado de datos para la tabla `elementos`
--

INSERT INTO `elementos` (`id`, `nombre`, `catelemento_id`, `codigo`, `barcode`, `unidad`, `stock_inicial`, `stock_actual`, `stock_critico`, `ultimo_costo`, `ultimo_ingreso`, `nuevas`, `usadas`, `disponible`, `prestada`, `dañada`, `en_reparacion`, `de_baja`, `vendida`, `ingresado_por`, `baja_por`, `condicion`, `estado`, `created_at`, `updated_at`) VALUES
(1, 'explicabo', 1, '040-080-712', '6151607103886', 'pares', 13, 19, 15, 2289, '2025-04-27', 3, 3, 6, 5, 6, 4, 2, 3, 1, NULL, 'nuevo', 1, '2025-04-30 21:02:28', '2025-04-30 21:02:28'),
(2, 'veniam', 5, '040-070-1052', '2526446716599', 'tinetas', 19, 19, 15, 8820, '2025-04-25', 5, 5, 2, 5, 3, 3, 5, 6, 1, NULL, 'usado con fallas', 1, '2025-04-30 21:02:28', '2025-04-30 21:02:28'),
(3, 'ipsum', 8, '040-040-144', '4619446685649', 'M2', 24, 22, 12, 6209, '2025-04-25', 3, 4, 1, 3, 3, 6, 1, 1, 1, NULL, 'usado sin detalles', 1, '2025-04-30 21:02:28', '2025-04-30 21:02:28'),
(4, 'necessitatibus', 3, '040-030-326', '0848766876039', 'cajas', 24, 47, 15, 5963, '2025-04-27', 4, 3, 6, 5, 5, 6, 4, 6, 1, NULL, 'usado con detalles', 1, '2025-04-30 21:02:28', '2025-04-30 21:02:28'),
(5, 'aut', 6, '040-020-1349', '0145597862997', 'mm', 18, 40, 18, 2056, '2025-04-25', 6, 8, 4, 2, 6, 2, 6, 3, 1, NULL, 'usado sin detalles', 1, '2025-04-30 21:02:28', '2025-04-30 21:02:28'),
(6, 'ratione', 5, '040-040-2133', '9688502497552', 'rollos', 11, 24, 18, 6904, '2025-04-29', 4, 2, 2, 4, 5, 5, 2, 6, 1, NULL, 'usado con detalles', 1, '2025-04-30 21:02:28', '2025-04-30 21:02:28'),
(7, 'aliquam', 5, '040-010-2228', '4356181716329', 'tarros', 28, 35, 11, 9988, '2025-04-28', 7, 4, 4, 2, 5, 3, 1, 3, 1, NULL, 'nuevo', 1, '2025-04-30 21:02:28', '2025-04-30 21:02:28'),
(8, 'saepe', 5, '040-080-1723', '6597171048992', 'dispensadores', 21, 20, 16, 9139, '2025-04-25', 6, 4, 5, 3, 6, 5, 5, 1, 1, NULL, 'usado con fallas', 1, '2025-04-30 21:02:28', '2025-04-30 21:02:28'),
(9, 'perferendis', 3, '040-020-218', '6628205431760', 'Kg', 5, 33, 15, 4714, '2025-04-25', 3, 4, 3, 2, 6, 4, 3, 5, 1, NULL, 'nuevo', 1, '2025-04-30 21:02:28', '2025-04-30 21:02:28'),
(10, 'repudiandae', 1, '040-030-1837', '4782346097420', 'cajas', 24, 31, 20, 6490, '2025-04-29', 2, 7, 4, 1, 3, 2, 5, 6, 1, NULL, 'usado con fallas', 1, '2025-04-30 21:02:28', '2025-04-30 21:02:28'),
(11, 'molestiae', 4, '040-010-2052', '9384394436524', 'tiras', 28, 42, 12, 3961, '2025-04-24', 3, 3, 4, 6, 3, 5, 5, 6, 1, NULL, 'usado sin detalles', 1, '2025-04-30 21:02:28', '2025-04-30 21:02:28'),
(12, 'veniam', 4, '040-020-1894', '3819949241026', 'cuarto de galones', 22, 37, 16, 9634, '2025-04-25', 3, 6, 4, 3, 5, 3, 2, 5, 1, NULL, 'usado con fallas', 1, '2025-04-30 21:02:28', '2025-04-30 21:02:28'),
(13, 'delectus', 8, '040-070-2415', '9188702390795', 'cajas', 22, 32, 15, 3245, '2025-04-27', 3, 7, 2, 5, 4, 6, 2, 2, 1, NULL, 'usado con fallas', 1, '2025-04-30 21:02:28', '2025-04-30 21:02:28'),
(14, 'doloremque', 7, '040-030-1471', '9268091635391', 'bolsas', 24, 48, 11, 9617, '2025-04-29', 4, 7, 6, 5, 2, 2, 4, 3, 1, NULL, 'usado con detalles', 1, '2025-04-30 21:02:29', '2025-04-30 21:02:29'),
(15, 'quod', 1, '040-050-852', '4242479117650', 'Lt', 11, 44, 20, 3466, '2025-04-29', 7, 3, 5, 4, 6, 3, 1, 4, 1, NULL, 'usado sin detalles', 1, '2025-04-30 21:02:29', '2025-04-30 21:02:29'),
(16, 'quo', 6, '040-050-113', '4159388046622', 'rollos', 16, 44, 13, 7261, '2025-04-30', 3, 8, 6, 3, 5, 4, 5, 2, 1, NULL, 'nuevo', 1, '2025-04-30 21:02:29', '2025-04-30 21:02:29'),
(17, 'temporibus', 1, '040-090-371', '9798368729534', 'paquetes', 30, 33, 17, 7037, '2025-04-25', 2, 4, 6, 1, 4, 4, 1, 1, 1, NULL, 'usado con detalles', 1, '2025-04-30 21:02:29', '2025-04-30 21:02:29'),
(18, 'sed', 10, '040-030-1983', '3857603929316', 'pares', 15, 24, 20, 2325, '2025-04-28', 6, 8, 4, 1, 4, 4, 6, 2, 1, NULL, 'usado con fallas', 1, '2025-04-30 21:02:29', '2025-04-30 21:02:29'),
(19, 'cum', 10, '040-070-1788', '4663724455011', 'mm', 22, 38, 11, 7558, '2025-04-30', 7, 3, 4, 2, 4, 2, 1, 2, 1, NULL, 'usado con fallas', 1, '2025-04-30 21:02:29', '2025-04-30 21:02:29'),
(20, 'et', 6, '040-030-2237', '0480028106753', 'rollos', 17, 48, 12, 3779, '2025-04-25', 7, 3, 5, 5, 4, 3, 1, 1, 1, NULL, 'usado con detalles', 1, '2025-04-30 21:02:29', '2025-04-30 21:02:29'),
(21, 'accusamus', 1, '040-030-1175', '2540102660064', 'Lt', 29, 17, 11, 8483, '2025-04-29', 5, 7, 5, 2, 5, 5, 3, 4, 1, NULL, 'usado sin detalles', 1, '2025-04-30 21:02:29', '2025-04-30 21:02:29'),
(22, 'et', 8, '040-020-116', '0319441654841', 'M3', 20, 38, 18, 7560, '2025-04-27', 4, 4, 5, 5, 6, 2, 2, 5, 1, NULL, 'usado con fallas', 1, '2025-04-30 21:02:29', '2025-04-30 21:02:29'),
(23, 'veniam', 7, '040-030-2488', '8931524719494', 'M', 24, 41, 19, 8158, '2025-04-26', 6, 8, 6, 1, 4, 4, 3, 6, 1, NULL, 'usado sin detalles', 1, '2025-04-30 21:02:29', '2025-04-30 21:02:29'),
(24, 'et', 1, '040-010-2309', '6494589995705', 'gr', 8, 38, 20, 4051, '2025-04-26', 6, 4, 2, 6, 1, 4, 3, 6, 1, NULL, 'usado con fallas', 1, '2025-04-30 21:02:29', '2025-04-30 21:02:29'),
(25, 'at', 7, '040-040-1491', '1775255121785', 'galones', 23, 24, 13, 5958, '2025-04-27', 3, 3, 3, 4, 5, 6, 6, 3, 1, NULL, 'nuevo', 1, '2025-04-30 21:02:29', '2025-04-30 21:02:29'),
(26, 'molestiae', 8, '040-090-761', '2197025546007', 'galones', 25, 24, 18, 6014, '2025-04-25', 6, 3, 3, 1, 1, 3, 2, 1, 1, NULL, 'nuevo', 1, '2025-04-30 21:02:29', '2025-04-30 21:02:29'),
(27, 'magni', 3, '040-020-1294', '8348457533880', 'Lt', 30, 16, 16, 7760, '2025-04-24', 5, 6, 1, 3, 4, 3, 1, 3, 1, NULL, 'usado sin detalles', 1, '2025-04-30 21:02:29', '2025-04-30 21:02:29'),
(28, 'sed', 8, '040-080-2407', '2056786721897', 'sacos', 17, 48, 13, 5643, '2025-04-29', 5, 3, 5, 2, 4, 3, 5, 1, 1, NULL, 'usado con fallas', 1, '2025-04-30 21:02:29', '2025-04-30 21:02:29'),
(29, 'est', 2, '040-080-433', '8200454140174', 'sacos', 16, 43, 19, 1864, '2025-04-30', 6, 2, 2, 2, 5, 3, 5, 6, 1, NULL, 'nuevo', 1, '2025-04-30 21:02:29', '2025-04-30 21:02:29'),
(30, 'aut', 8, '040-080-2404', '4146115089427', 'sacos', 19, 40, 16, 8660, '2025-04-26', 2, 6, 1, 3, 3, 5, 4, 5, 1, NULL, 'usado con detalles', 1, '2025-04-30 21:02:29', '2025-04-30 21:02:29'),
(31, 'reprehenderit', 9, '040-100-939', '7089281668591', 'M2', 9, 44, 16, 4026, '2025-04-27', 3, 3, 1, 3, 1, 4, 2, 3, 1, NULL, 'usado con fallas', 1, '2025-04-30 21:02:29', '2025-04-30 21:02:29'),
(32, 'labore', 4, '040-080-1542', '7949918437313', 'tarros', 12, 31, 15, 4815, '2025-04-25', 5, 8, 3, 5, 2, 1, 6, 6, 1, NULL, 'usado sin detalles', 1, '2025-04-30 21:02:29', '2025-04-30 21:02:29'),
(33, 'voluptatibus', 9, '040-040-420', '4093007225305', 'cuarto de galones', 16, 45, 12, 6273, '2025-04-25', 6, 4, 1, 5, 5, 2, 5, 4, 1, NULL, 'usado sin detalles', 1, '2025-04-30 21:02:29', '2025-04-30 21:02:29'),
(34, 'odit', 8, '040-020-1490', '4611708293647', 'cajas', 25, 41, 11, 1656, '2025-04-29', 5, 5, 3, 3, 2, 5, 3, 4, 1, NULL, 'usado con detalles', 1, '2025-04-30 21:02:29', '2025-04-30 21:02:29'),
(35, 'molestiae', 7, '040-030-1549', '5193596214007', 'tinetas', 5, 33, 16, 6961, '2025-04-27', 8, 4, 3, 6, 1, 2, 6, 6, 1, NULL, 'usado con detalles', 1, '2025-04-30 21:02:29', '2025-04-30 21:02:29'),
(36, 'autem', 10, '040-040-1384', '4434620867792', 'cuarto de galones', 9, 27, 18, 9645, '2025-04-29', 4, 5, 3, 6, 1, 5, 4, 5, 1, NULL, 'nuevo', 1, '2025-04-30 21:02:29', '2025-04-30 21:02:29'),
(37, 'quibusdam', 6, '040-050-905', '3570046537367', 'tiras', 8, 17, 20, 1147, '2025-04-25', 6, 3, 3, 4, 5, 6, 1, 4, 1, NULL, 'usado sin detalles', 1, '2025-04-30 21:02:29', '2025-04-30 21:02:29'),
(38, 'ut', 6, '040-090-316', '0211158358893', 'tiras', 15, 29, 16, 5885, '2025-04-25', 7, 3, 5, 2, 4, 4, 1, 6, 1, NULL, 'usado sin detalles', 1, '2025-04-30 21:02:29', '2025-04-30 21:02:29'),
(39, 'eum', 7, '040-070-2492', '3272072449569', 'gr', 22, 15, 15, 2685, '2025-04-28', 7, 3, 5, 1, 2, 2, 2, 1, 1, NULL, 'nuevo', 1, '2025-04-30 21:02:29', '2025-04-30 21:02:29'),
(40, 'qui', 1, '040-090-1545', '3307331335892', 'paquetes', 24, 41, 20, 9815, '2025-04-23', 6, 8, 6, 2, 3, 6, 4, 6, 1, NULL, 'usado sin detalles', 1, '2025-04-30 21:02:29', '2025-04-30 21:02:29'),
(41, 'animi', 2, '040-010-77', '0173167011483', 'sacos', 12, 26, 18, 4976, '2025-04-29', 8, 2, 4, 3, 4, 2, 3, 5, 1, NULL, 'usado con detalles', 1, '2025-04-30 21:02:29', '2025-04-30 21:02:29'),
(42, 'facere', 6, '040-050-1077', '3024367182916', 'paquetes', 16, 24, 17, 4652, '2025-04-24', 3, 5, 4, 3, 4, 6, 3, 3, 1, NULL, 'usado con fallas', 1, '2025-04-30 21:02:29', '2025-04-30 21:02:29'),
(43, 'aut', 7, '040-020-1262', '3675224555017', 'gr', 5, 44, 13, 9891, '2025-04-28', 5, 6, 1, 1, 3, 5, 5, 4, 1, NULL, 'usado sin detalles', 1, '2025-04-30 21:02:29', '2025-04-30 21:02:29'),
(44, 'cumque', 8, '040-030-1657', '0015074812831', 'rollos', 15, 41, 19, 2988, '2025-04-27', 4, 5, 1, 2, 6, 4, 2, 5, 1, NULL, 'usado con detalles', 1, '2025-04-30 21:02:29', '2025-04-30 21:02:29'),
(45, 'hic', 4, '040-080-1969', '9244752427178', 'cuarto de galones', 21, 28, 18, 9778, '2025-04-29', 7, 6, 2, 4, 5, 1, 2, 6, 1, NULL, 'usado sin detalles', 1, '2025-04-30 21:02:29', '2025-04-30 21:02:29'),
(46, 'voluptatem', 4, '040-030-2333', '6609934112816', 'pares', 24, 40, 18, 5949, '2025-04-29', 3, 8, 5, 6, 4, 5, 2, 1, 1, NULL, 'usado con fallas', 1, '2025-04-30 21:02:29', '2025-04-30 21:02:29'),
(47, 'earum', 3, '040-060-666', '4571567448537', 'dispensadores', 23, 27, 14, 2209, '2025-04-25', 2, 8, 6, 1, 3, 5, 5, 4, 1, NULL, 'nuevo', 1, '2025-04-30 21:02:30', '2025-04-30 21:02:30'),
(48, 'optio', 8, '040-100-900', '3507651708639', 'cm', 30, 29, 10, 2799, '2025-04-27', 2, 4, 3, 1, 2, 5, 1, 3, 1, NULL, 'usado con detalles', 1, '2025-04-30 21:02:30', '2025-04-30 21:02:30'),
(49, 'ad', 8, '040-030-833', '9255321322015', 'tinetas', 18, 34, 13, 4604, '2025-04-25', 3, 7, 6, 6, 2, 3, 2, 1, 1, NULL, 'usado con detalles', 1, '2025-04-30 21:02:30', '2025-04-30 21:02:30'),
(50, 'sed', 5, '040-070-2055', '5012689828849', 'cuarto de galones', 15, 28, 19, 5462, '2025-04-29', 4, 2, 3, 3, 1, 3, 4, 6, 1, NULL, 'usado sin detalles', 1, '2025-04-30 21:02:30', '2025-04-30 21:02:30'),
(51, 'dicta', 8, '040-100-93', '0059830970540', 'mm', 22, 32, 15, 1737, '2025-04-25', 8, 8, 4, 4, 3, 1, 5, 6, 1, NULL, 'usado con detalles', 1, '2025-04-30 21:02:30', '2025-04-30 21:02:30'),
(52, 'et', 2, '040-100-2294', '0912425898578', 'pares', 27, 41, 16, 9207, '2025-04-28', 8, 6, 3, 6, 6, 5, 3, 1, 1, NULL, 'nuevo', 1, '2025-04-30 21:02:30', '2025-04-30 21:02:30'),
(53, 'deserunt', 10, '040-060-975', '8175473195897', 'cajas', 18, 32, 10, 7257, '2025-04-23', 7, 6, 4, 1, 4, 1, 4, 4, 1, NULL, 'usado con fallas', 1, '2025-04-30 21:02:30', '2025-04-30 21:02:30'),
(54, 'dolor', 8, '040-080-1637', '4998396731355', 'dispensadores', 17, 38, 20, 2381, '2025-04-28', 6, 2, 4, 4, 5, 4, 5, 3, 1, NULL, 'nuevo', 1, '2025-04-30 21:02:30', '2025-04-30 21:02:30'),
(55, 'a', 10, '040-040-1641', '2214325710713', 'media tinetas', 6, 42, 20, 7316, '2025-04-25', 3, 6, 3, 2, 2, 5, 4, 1, 1, NULL, 'usado sin detalles', 1, '2025-04-30 21:02:30', '2025-04-30 21:02:30'),
(56, 'exercitationem', 5, '040-030-2460', '2281694015862', 'mm', 10, 37, 15, 6989, '2025-04-27', 4, 2, 4, 4, 4, 4, 1, 3, 1, NULL, 'usado con fallas', 1, '2025-04-30 21:02:30', '2025-04-30 21:02:30'),
(57, 'deleniti', 1, '040-020-655', '9925283939308', 'tiras', 28, 38, 19, 1188, '2025-04-28', 7, 7, 4, 6, 2, 5, 2, 1, 1, NULL, 'usado sin detalles', 1, '2025-04-30 21:02:30', '2025-04-30 21:02:30'),
(58, 'asperiores', 10, '040-080-745', '5192368420394', 'tiras', 29, 36, 10, 9765, '2025-04-27', 8, 4, 1, 4, 1, 4, 5, 4, 1, NULL, 'nuevo', 1, '2025-04-30 21:02:30', '2025-04-30 21:02:30'),
(59, 'adipisci', 9, '040-010-1526', '9824946424239', 'cajas', 26, 19, 10, 4840, '2025-04-25', 2, 8, 2, 6, 5, 3, 2, 3, 1, NULL, 'usado con fallas', 1, '2025-04-30 21:02:30', '2025-04-30 21:02:30'),
(60, 'quisquam', 10, '040-020-2449', '3651389909926', 'paquetes', 10, 21, 11, 3572, '2025-04-27', 5, 8, 6, 4, 3, 4, 6, 2, 1, NULL, 'usado con detalles', 1, '2025-04-30 21:02:30', '2025-04-30 21:02:30'),
(61, 'voluptatem', 1, '040-010-2426', '2627130744758', 'gr', 16, 34, 13, 5096, '2025-04-27', 2, 2, 3, 6, 3, 4, 3, 4, 1, NULL, 'usado sin detalles', 1, '2025-04-30 21:02:30', '2025-04-30 21:02:30'),
(62, 'reprehenderit', 2, '040-090-1899', '1678310962593', 'rollos', 9, 50, 13, 8476, '2025-04-25', 4, 3, 5, 3, 4, 6, 3, 3, 1, NULL, 'usado con detalles', 1, '2025-04-30 21:02:30', '2025-04-30 21:02:30'),
(63, 'nostrum', 6, '040-090-1600', '7307566491550', 'unidades', 21, 48, 18, 9350, '2025-04-29', 2, 5, 1, 1, 4, 3, 4, 4, 1, NULL, 'usado sin detalles', 1, '2025-04-30 21:02:30', '2025-04-30 21:02:30'),
(64, 'ullam', 4, '040-100-1359', '4695511098866', 'M', 18, 50, 11, 9322, '2025-04-29', 7, 6, 6, 1, 6, 3, 4, 4, 1, NULL, 'usado con detalles', 1, '2025-04-30 21:02:30', '2025-04-30 21:02:30'),
(65, 'porro', 10, '040-090-1520', '9791866877387', 'cm', 28, 22, 16, 8030, '2025-04-24', 5, 8, 4, 3, 3, 1, 1, 6, 1, NULL, 'usado con fallas', 1, '2025-04-30 21:02:30', '2025-04-30 21:02:30'),
(66, 'sunt', 4, '040-070-1756', '5304823863114', 'M3', 18, 38, 14, 9694, '2025-04-23', 5, 2, 4, 6, 5, 4, 5, 2, 1, NULL, 'nuevo', 1, '2025-04-30 21:02:30', '2025-04-30 21:02:30'),
(67, 'blanditiis', 6, '040-080-1425', '2191159369709', 'M', 24, 26, 10, 5977, '2025-04-26', 6, 5, 3, 5, 3, 3, 5, 1, 1, NULL, 'nuevo', 1, '2025-04-30 21:02:30', '2025-04-30 21:02:30'),
(68, 'qui', 5, '040-020-2041', '0005133040053', 'rollos', 18, 41, 20, 1765, '2025-04-28', 8, 3, 6, 5, 3, 2, 3, 1, 1, NULL, 'nuevo', 1, '2025-04-30 21:02:30', '2025-04-30 21:02:30'),
(69, 'vero', 5, '040-100-680', '4913443316927', 'rollos', 7, 31, 20, 4968, '2025-04-24', 8, 7, 2, 4, 3, 2, 3, 5, 1, NULL, 'nuevo', 1, '2025-04-30 21:02:30', '2025-04-30 21:02:30'),
(70, 'omnis', 3, '040-060-1049', '3811480845381', 'tiras', 6, 34, 16, 7282, '2025-04-25', 6, 7, 4, 6, 4, 2, 1, 2, 1, NULL, 'usado sin detalles', 1, '2025-04-30 21:02:30', '2025-04-30 21:02:30'),
(71, 'ut', 9, '040-060-2311', '1596608160264', 'M3', 13, 18, 13, 8065, '2025-04-25', 2, 8, 2, 1, 1, 2, 5, 4, 1, NULL, 'usado con detalles', 1, '2025-04-30 21:02:30', '2025-04-30 21:02:30'),
(72, 'nihil', 5, '040-010-993', '7422846278161', 'cuarto de galones', 13, 29, 18, 3300, '2025-04-24', 4, 5, 2, 1, 5, 1, 2, 3, 1, NULL, 'usado sin detalles', 1, '2025-04-30 21:02:30', '2025-04-30 21:02:30'),
(73, 'quidem', 7, '040-010-1841', '9829182295865', 'unidades', 27, 34, 10, 3641, '2025-04-28', 3, 3, 5, 4, 2, 3, 2, 1, 1, NULL, 'nuevo', 1, '2025-04-30 21:02:30', '2025-04-30 21:02:30'),
(74, 'dolorem', 9, '040-070-2200', '1379680217107', 'galones', 16, 27, 16, 7096, '2025-04-27', 4, 7, 4, 6, 5, 2, 2, 5, 1, NULL, 'usado sin detalles', 1, '2025-04-30 21:02:30', '2025-04-30 21:02:30'),
(75, 'aut', 1, '040-020-771', '9374579828893', 'tarros', 14, 26, 14, 4826, '2025-04-29', 7, 5, 6, 6, 3, 1, 1, 2, 1, NULL, 'usado con fallas', 1, '2025-04-30 21:02:30', '2025-04-30 21:02:30'),
(76, 'error', 5, '040-100-2400', '3461777768680', 'gr', 25, 16, 13, 7615, '2025-04-27', 8, 7, 3, 5, 6, 3, 5, 4, 1, NULL, 'usado sin detalles', 1, '2025-04-30 21:02:30', '2025-04-30 21:02:30'),
(77, 'sit', 5, '040-040-1750', '1508535719415', 'bolsas', 24, 19, 10, 4126, '2025-04-27', 5, 6, 6, 1, 1, 2, 6, 1, 1, NULL, 'usado con detalles', 1, '2025-04-30 21:02:30', '2025-04-30 21:02:30'),
(78, 'itaque', 3, '040-080-1679', '4474751421166', 'gr', 21, 45, 14, 6472, '2025-04-29', 8, 5, 1, 3, 4, 5, 1, 5, 1, NULL, 'usado con detalles', 1, '2025-04-30 21:02:30', '2025-04-30 21:02:30'),
(79, 'sit', 3, '040-040-842', '7449857235211', 'M2', 17, 45, 12, 2617, '2025-04-29', 3, 4, 6, 6, 5, 4, 4, 1, 1, NULL, 'nuevo', 1, '2025-04-30 21:02:30', '2025-04-30 21:02:30'),
(80, 'quaerat', 2, '040-080-2245', '7857296242804', 'galones', 5, 15, 11, 7712, '2025-04-27', 7, 8, 6, 5, 2, 3, 1, 1, 1, NULL, 'usado sin detalles', 1, '2025-04-30 21:02:30', '2025-04-30 21:02:30'),
(81, 'quia', 9, '040-030-707', '6695613512503', 'bolsas', 9, 35, 19, 1492, '2025-04-27', 8, 4, 5, 5, 1, 6, 2, 2, 1, NULL, 'usado con fallas', 1, '2025-04-30 21:02:30', '2025-04-30 21:02:30'),
(82, 'molestiae', 9, '040-100-759', '1740063015069', 'mm', 12, 50, 17, 2419, '2025-04-27', 5, 7, 3, 6, 6, 2, 2, 6, 1, NULL, 'nuevo', 1, '2025-04-30 21:02:30', '2025-04-30 21:02:30'),
(83, 'mollitia', 6, '040-090-1792', '8594752187987', 'media tinetas', 14, 19, 19, 9172, '2025-04-24', 3, 8, 6, 4, 1, 1, 5, 2, 1, NULL, 'usado con detalles', 1, '2025-04-30 21:02:30', '2025-04-30 21:02:30'),
(84, 'ut', 8, '040-040-643', '1099899838152', 'cuarto de galones', 17, 16, 10, 3952, '2025-04-24', 3, 2, 3, 4, 1, 3, 4, 5, 1, NULL, 'usado con fallas', 1, '2025-04-30 21:02:30', '2025-04-30 21:02:30'),
(85, 'quaerat', 1, '040-100-1578', '5057749247741', 'M2', 19, 28, 12, 6948, '2025-04-29', 6, 5, 1, 6, 3, 1, 5, 6, 1, NULL, 'usado sin detalles', 1, '2025-04-30 21:02:30', '2025-04-30 21:02:30'),
(86, 'quia', 8, '040-050-1165', '2600324426296', 'tarros', 14, 38, 10, 7520, '2025-04-23', 6, 7, 3, 3, 4, 5, 5, 2, 1, NULL, 'usado sin detalles', 1, '2025-04-30 21:02:30', '2025-04-30 21:02:30'),
(87, 'labore', 5, '040-030-2499', '1757592509273', 'cajas', 6, 46, 20, 3640, '2025-04-30', 5, 2, 4, 5, 4, 1, 5, 5, 1, NULL, 'usado sin detalles', 1, '2025-04-30 21:02:31', '2025-04-30 21:02:31'),
(88, 'magni', 9, '040-080-924', '6304989567856', 'mm', 11, 22, 18, 1119, '2025-04-26', 7, 5, 3, 4, 4, 5, 3, 5, 1, NULL, 'usado sin detalles', 1, '2025-04-30 21:02:31', '2025-04-30 21:02:31'),
(89, 'voluptate', 8, '040-060-933', '8665560728096', 'dispensadores', 13, 25, 19, 3840, '2025-04-29', 4, 2, 6, 5, 2, 2, 4, 5, 1, NULL, 'usado con detalles', 1, '2025-04-30 21:02:31', '2025-04-30 21:02:31'),
(90, 'qui', 1, '040-010-1367', '5336188510952', 'unidades', 25, 42, 15, 3549, '2025-04-27', 6, 4, 5, 1, 4, 3, 6, 2, 1, NULL, 'usado con detalles', 1, '2025-04-30 21:02:31', '2025-04-30 21:02:31'),
(91, 'beatae', 3, '040-080-1494', '9762527076265', 'rollos', 20, 25, 18, 8969, '2025-04-23', 6, 8, 3, 5, 5, 3, 1, 3, 1, NULL, 'usado sin detalles', 1, '2025-04-30 21:02:31', '2025-04-30 21:02:31'),
(92, 'veritatis', 7, '040-040-825', '0352883720767', 'sacos', 17, 36, 13, 3103, '2025-04-27', 6, 3, 4, 5, 1, 4, 2, 3, 1, NULL, 'usado con detalles', 1, '2025-04-30 21:02:31', '2025-04-30 21:02:31'),
(93, 'amet', 10, '040-070-1942', '6174653870014', 'paquetes', 6, 18, 17, 8167, '2025-04-23', 3, 3, 2, 2, 5, 2, 4, 2, 1, NULL, 'nuevo', 1, '2025-04-30 21:02:31', '2025-04-30 21:02:31'),
(94, 'voluptas', 8, '040-100-1194', '4435834473229', 'galones', 15, 35, 13, 6860, '2025-04-30', 5, 6, 5, 2, 6, 2, 4, 3, 1, NULL, 'usado con detalles', 1, '2025-04-30 21:02:31', '2025-04-30 21:02:31'),
(95, 'repudiandae', 9, '040-010-1516', '1108123796288', 'sacos', 25, 41, 19, 8428, '2025-04-28', 3, 2, 3, 4, 5, 1, 6, 4, 1, NULL, 'nuevo', 1, '2025-04-30 21:02:31', '2025-04-30 21:02:31'),
(96, 'ut', 1, '040-080-1209', '4408848249029', 'galones', 25, 35, 20, 2936, '2025-04-25', 5, 5, 4, 6, 1, 1, 3, 2, 1, NULL, 'usado con detalles', 1, '2025-04-30 21:02:31', '2025-04-30 21:02:31'),
(97, 'molestias', 9, '040-010-619', '6096911070076', 'cajas', 24, 34, 12, 1129, '2025-04-30', 7, 5, 5, 4, 2, 6, 4, 5, 1, NULL, 'usado con fallas', 1, '2025-04-30 21:02:31', '2025-04-30 21:02:31'),
(98, 'tempore', 7, '040-090-1772', '3496589373425', 'galones', 11, 36, 19, 1039, '2025-04-23', 4, 4, 2, 5, 2, 6, 5, 1, 1, NULL, 'nuevo', 1, '2025-04-30 21:02:31', '2025-04-30 21:02:31'),
(99, 'non', 10, '040-090-1621', '8787998154084', 'cajas', 17, 17, 19, 5450, '2025-04-27', 8, 5, 5, 4, 4, 4, 4, 5, 1, NULL, 'usado con detalles', 1, '2025-04-30 21:02:31', '2025-04-30 21:02:31'),
(100, 'voluptas', 8, '040-080-959', '3223669377390', 'galones', 29, 19, 18, 3157, '2025-04-27', 5, 5, 1, 3, 1, 5, 4, 5, 1, NULL, 'usado con detalles', 1, '2025-04-30 21:02:31', '2025-04-30 21:02:31');

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

--
-- Estructura de tabla para la tabla `elementregas`
--

CREATE TABLE `elementregas` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `empresa_id` bigint(20) UNSIGNED NOT NULL,
  `trabajador_id` bigint(20) UNSIGNED NOT NULL,
  `proyecto_id` bigint(20) UNSIGNED NOT NULL,
  `costo_total` bigint(20) NOT NULL,
  `autorizado_por` varchar(60) DEFAULT NULL,
  `ingresado_por` bigint(20) UNSIGNED NOT NULL,
  `folio` bigint(20) UNSIGNED NOT NULL,
  `fecha_baja` date DEFAULT NULL,
  `baja_por` varchar(60) DEFAULT NULL,
  `estado` int(11) NOT NULL DEFAULT 1,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_spanish2_ci;

--
-- Volcado de datos para la tabla `elementregas`
--

INSERT INTO `elementregas` (`id`, `empresa_id`, `trabajador_id`, `proyecto_id`, `costo_total`, `autorizado_por`, `ingresado_por`, `folio`, `fecha_baja`, `baja_por`, `estado`, `created_at`, `updated_at`) VALUES
(1, 1, 27, 2, 43522, 'Arnau Cazares', 1, 17, NULL, NULL, 1, '2025-08-06 20:41:08', '2025-08-06 20:41:08'),
(2, 1, 59, 2, 25746, 'Isaac Partida', 1, 121, NULL, NULL, 1, '2025-08-06 20:41:08', '2025-08-06 20:41:08'),
(3, 1, 22, 3, 38299, 'Valeria Saavedra', 1, 58, NULL, NULL, 1, '2025-08-06 20:41:08', '2025-08-06 20:41:08'),
(4, 1, 60, 3, 30883, 'Elena Jaime', 1, 418, NULL, NULL, 1, '2025-08-06 20:41:08', '2025-08-06 20:41:08'),
(5, 1, 47, 3, 12412, 'Jesús Macias', 1, 266, NULL, NULL, 1, '2025-08-06 20:41:08', '2025-08-06 20:41:08'),
(6, 1, 59, 3, 49823, 'Marina Verduzco', 1, 132, NULL, NULL, 1, '2025-08-06 20:41:08', '2025-08-06 20:41:08'),
(7, 1, 34, 3, 37428, 'Adrián Sandoval', 1, 101, NULL, NULL, 1, '2025-08-06 20:41:08', '2025-08-06 20:41:08'),
(8, 1, 31, 3, 46005, 'Antonio Valdez', 1, 204, NULL, NULL, 1, '2025-08-06 20:41:08', '2025-08-06 20:41:08'),
(9, 1, 9, 3, 12587, 'José Antonio Feliciano', 1, 476, NULL, NULL, 1, '2025-08-06 20:41:08', '2025-08-06 20:41:08'),
(10, 1, 16, 1, 32665, 'Arnau Delgado', 1, 96, NULL, NULL, 1, '2025-08-06 20:41:08', '2025-08-06 20:41:08'),
(11, 1, 26, 2, 28503, 'Rayan Bañuelos', 1, 335, NULL, NULL, 1, '2025-08-06 20:41:08', '2025-08-06 20:41:08'),
(12, 1, 60, 2, 38391, 'Naia Lomeli', 1, 54, NULL, NULL, 1, '2025-08-06 20:41:08', '2025-08-06 20:41:08'),
(13, 1, 8, 3, 10004, 'Erik Páez', 1, 382, NULL, NULL, 1, '2025-08-06 20:41:08', '2025-08-06 20:41:08'),
(14, 1, 2, 1, 31834, 'Joel Bustamante', 1, 125, NULL, NULL, 1, '2025-08-06 20:41:08', '2025-08-06 20:41:08'),
(15, 1, 26, 3, 45275, 'Lara Flores', 1, 160, NULL, NULL, 1, '2025-08-06 20:41:08', '2025-08-06 20:41:08'),
(16, 1, 44, 3, 48999, 'Emilia Pulido', 1, 286, NULL, NULL, 1, '2025-08-06 20:41:08', '2025-08-06 20:41:08'),
(17, 1, 37, 1, 35851, 'Víctor Lira', 1, 5, NULL, NULL, 1, '2025-08-06 20:41:08', '2025-08-06 20:41:08'),
(18, 1, 51, 2, 45846, 'Ona Sedillo', 1, 431, NULL, NULL, 1, '2025-08-06 20:41:08', '2025-08-06 20:41:08'),
(19, 1, 55, 1, 35625, 'Adriana Oliver', 1, 62, NULL, NULL, 1, '2025-08-06 20:41:08', '2025-08-06 20:41:08'),
(20, 1, 3, 2, 44059, 'Antonia Martín', 1, 379, NULL, NULL, 1, '2025-08-06 20:41:08', '2025-08-06 20:41:08'),
(21, 1, 7, 3, 33089, 'María Palacios', 1, 68, NULL, NULL, 1, '2025-08-06 20:41:08', '2025-08-06 20:41:08'),
(22, 1, 45, 2, 45460, 'Adrián Ocampo', 1, 472, NULL, NULL, 1, '2025-08-06 20:41:08', '2025-08-06 20:41:08'),
(23, 1, 29, 1, 35387, 'Francisco Manzanares', 1, 361, NULL, NULL, 1, '2025-08-06 20:41:08', '2025-08-06 20:41:08'),
(24, 1, 30, 2, 46540, 'Eva Santillán', 1, 287, NULL, NULL, 1, '2025-08-06 20:41:08', '2025-08-06 20:41:08'),
(25, 1, 33, 1, 45085, 'Alonso Velázquez', 1, 159, NULL, NULL, 1, '2025-08-06 20:41:08', '2025-08-06 20:41:08'),
(26, 1, 46, 1, 29785, 'Nadia Delatorre', 1, 94, NULL, NULL, 1, '2025-08-06 20:41:08', '2025-08-06 20:41:08'),
(27, 1, 20, 3, 29355, 'Raquel Rosa', 1, 150, NULL, NULL, 1, '2025-08-06 20:41:08', '2025-08-06 20:41:08'),
(28, 1, 45, 3, 25933, 'Amparo Rueda', 1, 211, NULL, NULL, 1, '2025-08-06 20:41:08', '2025-08-06 20:41:08'),
(29, 1, 17, 3, 47207, 'Guillem Briseño', 1, 355, NULL, NULL, 1, '2025-08-06 20:41:08', '2025-08-06 20:41:08'),
(30, 1, 42, 3, 36482, 'Rosa Montaño', 1, 259, NULL, NULL, 1, '2025-08-06 20:41:08', '2025-08-06 20:41:08'),
(31, 1, 10, 3, 15887, 'Sonia Lozada', 1, 201, NULL, NULL, 1, '2025-08-06 20:41:08', '2025-08-06 20:41:08'),
(32, 1, 9, 1, 37002, 'Pol Escribano', 1, 36, NULL, NULL, 1, '2025-08-06 20:41:08', '2025-08-06 20:41:08'),
(33, 1, 43, 1, 35357, 'Clara Ávila', 1, 350, NULL, NULL, 1, '2025-08-06 20:41:08', '2025-08-06 20:41:08'),
(34, 1, 33, 2, 10283, 'Claudia Hurtado', 1, 308, NULL, NULL, 1, '2025-08-06 20:41:08', '2025-08-06 20:41:08'),
(35, 1, 2, 1, 14589, 'Beatriz Orozco', 1, 187, NULL, NULL, 1, '2025-08-06 20:41:08', '2025-08-06 20:41:08'),
(36, 1, 3, 3, 46868, 'Martín Báez', 1, 316, NULL, NULL, 1, '2025-08-06 20:41:08', '2025-08-06 20:41:08'),
(37, 1, 13, 3, 34413, 'Carla Roybal', 1, 307, NULL, NULL, 1, '2025-08-06 20:41:08', '2025-08-06 20:41:08'),
(38, 1, 42, 1, 11093, 'Lucas Malave', 1, 478, NULL, NULL, 1, '2025-08-06 20:41:08', '2025-08-06 20:41:08'),
(39, 1, 8, 2, 23134, 'Noelia Garica', 1, 124, NULL, NULL, 1, '2025-08-06 20:41:08', '2025-08-06 20:41:08'),
(40, 1, 45, 2, 24031, 'Diego Cobo', 1, 190, NULL, NULL, 1, '2025-08-06 20:41:08', '2025-08-06 20:41:08'),
(41, 1, 26, 3, 22938, 'Ana Mena', 1, 295, NULL, NULL, 1, '2025-08-06 20:41:08', '2025-08-06 20:41:08'),
(42, 1, 16, 2, 29955, 'Víctor Pedraza', 1, 171, NULL, NULL, 1, '2025-08-06 20:41:08', '2025-08-06 20:41:08'),
(43, 1, 57, 1, 40682, 'Lola Rentería', 1, 114, NULL, NULL, 1, '2025-08-06 20:41:08', '2025-08-06 20:41:08'),
(44, 1, 42, 1, 39687, 'Ona Baca', 1, 285, NULL, NULL, 1, '2025-08-06 20:41:08', '2025-08-06 20:41:08'),
(45, 1, 4, 1, 10641, 'Lorena Arias', 1, 89, NULL, NULL, 1, '2025-08-06 20:41:08', '2025-08-06 20:41:08'),
(46, 1, 52, 2, 30320, 'Sandra Costa', 1, 444, NULL, NULL, 1, '2025-08-06 20:41:08', '2025-08-06 20:41:08'),
(47, 1, 27, 2, 44666, 'Erik Feliciano', 1, 240, NULL, NULL, 1, '2025-08-06 20:41:08', '2025-08-06 20:41:08'),
(48, 1, 46, 3, 27482, 'Marco Robles', 1, 136, NULL, NULL, 1, '2025-08-06 20:41:08', '2025-08-06 20:41:08'),
(49, 1, 58, 2, 19670, 'Joel Peña', 1, 85, NULL, NULL, 1, '2025-08-06 20:41:08', '2025-08-06 20:41:08'),
(50, 1, 19, 2, 14259, 'Aaron Uribe', 1, 453, NULL, NULL, 1, '2025-08-06 20:41:08', '2025-08-06 20:41:08');

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

--
-- Estructura de tabla para la tabla `elementregasitems`
--

CREATE TABLE `elementregasitems` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `elementrega_id` bigint(20) UNSIGNED NOT NULL,
  `elemento_id` bigint(20) UNSIGNED NOT NULL,
  `cantidad` bigint(20) NOT NULL,
  `costo_unitario` bigint(20) NOT NULL,
  `fecha_final` date DEFAULT NULL,
  `condicion` varchar(120) DEFAULT NULL,
  `devuelto` int(11) NOT NULL DEFAULT 0,
  `fecha_baja` date DEFAULT NULL,
  `baja_por` varchar(60) DEFAULT NULL,
  `estado` int(11) NOT NULL DEFAULT 1,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_spanish2_ci;

--
-- Volcado de datos para la tabla `elementregasitems`
--

INSERT INTO `elementregasitems` (`id`, `elementrega_id`, `elemento_id`, `cantidad`, `costo_unitario`, `fecha_final`, `condicion`, `devuelto`, `fecha_baja`, `baja_por`, `estado`, `created_at`, `updated_at`) VALUES
(1, 12, 28, 10, 26462, '2025-08-20', 'usado sin detalles', 0, NULL, NULL, 1, '2025-08-07 15:26:12', '2025-08-07 15:26:12'),
(2, 50, 18, 11, 11925, '2025-09-25', 'usado con detalles', 5, NULL, NULL, 1, '2025-08-07 15:26:12', '2025-08-07 15:26:12'),
(3, 46, 21, 10, 27112, '2025-08-09', 'usado con detalles', 5, NULL, NULL, 1, '2025-08-07 15:26:12', '2025-08-07 15:26:12'),
(4, 24, 61, 6, 46483, '2025-08-31', 'usado con fallas', 1, NULL, NULL, 1, '2025-08-07 15:26:12', '2025-08-07 15:26:12'),
(5, 8, 68, 8, 16323, '2025-09-29', 'nuevo', 0, NULL, NULL, 1, '2025-08-07 15:26:12', '2025-08-07 15:26:12'),
(6, 9, 92, 11, 9010, '2025-09-20', 'usado sin detalles', 6, NULL, NULL, 1, '2025-08-07 15:26:12', '2025-08-07 15:26:12'),
(7, 50, 27, 4, 34633, '2025-09-24', 'usado sin detalles', 5, NULL, NULL, 1, '2025-08-07 15:26:12', '2025-08-07 15:26:12'),
(8, 41, 45, 5, 34992, '2025-08-01', 'usado sin detalles', 0, NULL, NULL, 1, '2025-08-07 15:26:12', '2025-08-07 15:26:12'),
(9, 48, 85, 4, 46809, '2025-08-01', 'nuevo', 3, NULL, NULL, 1, '2025-08-07 15:26:12', '2025-08-07 15:26:12'),
(10, 44, 35, 10, 19711, '2025-10-06', 'nuevo', 1, NULL, NULL, 1, '2025-08-07 15:26:12', '2025-08-07 15:26:12'),
(11, 41, 98, 9, 18009, '2025-10-01', 'usado sin detalles', 1, NULL, NULL, 1, '2025-08-07 15:26:12', '2025-08-07 15:26:12'),
(12, 37, 74, 5, 45681, '2025-08-23', 'usado con detalles', 6, NULL, NULL, 1, '2025-08-07 15:26:12', '2025-08-07 15:26:12'),
(13, 43, 82, 10, 13533, '2025-09-20', 'usado sin detalles', 4, NULL, NULL, 1, '2025-08-07 15:26:12', '2025-08-07 15:26:12'),
(14, 22, 50, 10, 44408, '2025-09-06', 'nuevo', 4, NULL, NULL, 1, '2025-08-07 15:26:12', '2025-08-07 15:26:12'),
(15, 45, 82, 9, 43864, '2025-09-08', 'usado con fallas', 0, NULL, NULL, 1, '2025-08-07 15:26:12', '2025-08-07 15:26:12'),
(16, 29, 15, 11, 47974, '2025-09-18', 'usado sin detalles', 3, NULL, NULL, 1, '2025-08-07 15:26:12', '2025-08-07 15:26:12'),
(17, 3, 64, 7, 36176, '2025-07-29', 'usado con detalles', 6, NULL, NULL, 1, '2025-08-07 15:26:12', '2025-08-07 15:26:12'),
(18, 39, 25, 4, 35044, '2025-09-30', 'usado con detalles', 0, NULL, NULL, 1, '2025-08-07 15:26:12', '2025-08-07 15:26:12'),
(19, 9, 31, 6, 46250, '2025-09-10', 'usado sin detalles', 5, NULL, NULL, 1, '2025-08-07 15:26:12', '2025-08-07 15:26:12'),
(20, 49, 18, 5, 21187, '2025-08-20', 'nuevo', 2, NULL, NULL, 1, '2025-08-07 15:26:12', '2025-08-07 15:26:12'),
(21, 1, 63, 10, 49226, '2025-07-25', 'usado con fallas', 5, NULL, NULL, 1, '2025-08-07 15:26:12', '2025-08-07 15:26:12'),
(22, 8, 67, 8, 47589, '2025-10-03', 'usado sin detalles', 2, NULL, NULL, 1, '2025-08-07 15:26:12', '2025-08-07 15:26:12'),
(23, 27, 16, 4, 17327, '2025-09-19', 'usado con detalles', 3, NULL, NULL, 1, '2025-08-07 15:26:12', '2025-08-07 15:26:12'),
(24, 4, 4, 7, 26828, '2025-08-13', 'usado sin detalles', 6, NULL, NULL, 1, '2025-08-07 15:26:12', '2025-08-07 15:26:12'),
(25, 37, 82, 4, 34069, '2025-10-07', 'usado sin detalles', 5, NULL, NULL, 1, '2025-08-07 15:26:12', '2025-08-07 15:26:12'),
(26, 5, 58, 9, 20695, '2025-08-24', 'nuevo', 2, NULL, NULL, 1, '2025-08-07 15:26:12', '2025-08-07 15:26:12'),
(27, 12, 9, 5, 41357, '2025-08-23', 'usado con fallas', 3, NULL, NULL, 1, '2025-08-07 15:26:12', '2025-08-07 15:26:12'),
(28, 21, 27, 9, 36286, '2025-09-11', 'usado sin detalles', 4, NULL, NULL, 1, '2025-08-07 15:26:12', '2025-08-07 15:26:12'),
(29, 18, 62, 7, 48208, '2025-09-09', 'nuevo', 3, NULL, NULL, 1, '2025-08-07 15:26:12', '2025-08-07 15:26:12'),
(30, 7, 27, 5, 28095, '2025-09-26', 'usado sin detalles', 3, NULL, NULL, 1, '2025-08-07 15:26:12', '2025-08-07 15:26:12'),
(31, 45, 3, 4, 14078, '2025-09-06', 'usado sin detalles', 4, NULL, NULL, 1, '2025-08-07 15:26:12', '2025-08-07 15:26:12'),
(32, 23, 42, 4, 30480, '2025-09-06', 'usado sin detalles', 1, NULL, NULL, 1, '2025-08-07 15:26:12', '2025-08-07 15:26:12'),
(33, 31, 71, 6, 49068, '2025-08-03', 'usado sin detalles', 1, NULL, NULL, 1, '2025-08-07 15:26:12', '2025-08-07 15:26:12'),
(34, 6, 63, 10, 32868, '2025-08-11', 'usado con detalles', 2, NULL, NULL, 1, '2025-08-07 15:26:12', '2025-08-07 15:26:12'),
(35, 49, 34, 10, 35590, '2025-09-12', 'usado con detalles', 3, NULL, NULL, 1, '2025-08-07 15:26:12', '2025-08-07 15:26:12'),
(36, 19, 42, 10, 18519, '2025-08-20', 'usado con detalles', 4, NULL, NULL, 1, '2025-08-07 15:26:12', '2025-08-07 15:26:12'),
(37, 42, 90, 5, 9033, '2025-09-11', 'nuevo', 1, NULL, NULL, 1, '2025-08-07 15:26:12', '2025-08-07 15:26:12'),
(38, 8, 57, 9, 35341, '2025-08-31', 'usado sin detalles', 6, NULL, NULL, 1, '2025-08-07 15:26:12', '2025-08-07 15:26:12'),
(39, 44, 83, 8, 24903, '2025-09-25', 'nuevo', 4, NULL, NULL, 1, '2025-08-07 15:26:12', '2025-08-07 15:26:12'),
(40, 35, 67, 5, 33659, '2025-08-31', 'usado sin detalles', 4, NULL, NULL, 1, '2025-08-07 15:26:12', '2025-08-07 15:26:12'),
(41, 32, 81, 4, 23361, '2025-08-15', 'nuevo', 4, NULL, NULL, 1, '2025-08-07 15:26:12', '2025-08-07 15:26:12'),
(42, 3, 86, 10, 30806, '2025-09-03', 'usado sin detalles', 6, NULL, NULL, 1, '2025-08-07 15:26:12', '2025-08-07 15:26:12'),
(43, 24, 77, 11, 26047, '2025-10-06', 'nuevo', 1, NULL, NULL, 1, '2025-08-07 15:26:12', '2025-08-07 15:26:12'),
(44, 37, 26, 5, 41356, '2025-09-11', 'nuevo', 5, NULL, NULL, 1, '2025-08-07 15:26:12', '2025-08-07 15:26:12'),
(45, 14, 59, 8, 7474, '2025-08-04', 'nuevo', 5, NULL, NULL, 1, '2025-08-07 15:26:12', '2025-08-07 15:26:12'),
(46, 29, 67, 11, 34328, '2025-08-20', 'usado sin detalles', 4, NULL, NULL, 1, '2025-08-07 15:26:12', '2025-08-07 15:26:12'),
(47, 47, 31, 4, 23167, '2025-09-05', 'usado sin detalles', 0, NULL, NULL, 1, '2025-08-07 15:26:12', '2025-08-07 15:26:12'),
(48, 8, 23, 9, 36857, '2025-10-02', 'usado con detalles', 0, NULL, NULL, 1, '2025-08-07 15:26:12', '2025-08-07 15:26:12'),
(49, 50, 72, 4, 11585, '2025-09-09', 'usado con detalles', 5, NULL, NULL, 1, '2025-08-07 15:26:12', '2025-08-07 15:26:12'),
(50, 34, 38, 4, 24258, '2025-08-13', 'usado con fallas', 4, NULL, NULL, 1, '2025-08-07 15:26:12', '2025-08-07 15:26:12'),
(51, 41, 78, 9, 40029, '2025-08-06', 'usado sin detalles', 0, NULL, NULL, 1, '2025-08-07 15:26:12', '2025-08-07 15:26:12'),
(52, 13, 16, 10, 13388, '2025-09-06', 'usado sin detalles', 2, NULL, NULL, 1, '2025-08-07 15:26:12', '2025-08-07 15:26:12'),
(53, 11, 32, 10, 10342, '2025-08-23', 'usado sin detalles', 4, NULL, NULL, 1, '2025-08-07 15:26:12', '2025-08-07 15:26:12'),
(54, 16, 40, 9, 30970, '2025-09-06', 'usado con detalles', 1, NULL, NULL, 1, '2025-08-07 15:26:12', '2025-08-07 15:26:12'),
(55, 49, 68, 7, 31405, '2025-09-09', 'usado con fallas', 6, NULL, NULL, 1, '2025-08-07 15:26:12', '2025-08-07 15:26:12'),
(56, 2, 24, 4, 7159, '2025-08-04', 'usado con fallas', 5, NULL, NULL, 1, '2025-08-07 15:26:12', '2025-08-07 15:26:12'),
(57, 14, 5, 8, 42724, '2025-09-10', 'usado con fallas', 6, NULL, NULL, 1, '2025-08-07 15:26:12', '2025-08-07 15:26:12'),
(58, 47, 90, 10, 44966, '2025-09-30', 'usado con detalles', 0, NULL, NULL, 1, '2025-08-07 15:26:12', '2025-08-07 15:26:12'),
(59, 24, 43, 7, 39511, '2025-08-29', 'nuevo', 4, NULL, NULL, 1, '2025-08-07 15:26:12', '2025-08-07 15:26:12'),
(60, 37, 10, 8, 37998, '2025-09-30', 'usado con detalles', 0, NULL, NULL, 1, '2025-08-07 15:26:12', '2025-08-07 15:26:12'),
(61, 24, 40, 4, 13823, '2025-09-17', 'usado con detalles', 0, NULL, NULL, 1, '2025-08-07 15:26:12', '2025-08-07 15:26:12'),
(62, 22, 75, 9, 19215, '2025-08-21', 'usado con fallas', 3, NULL, NULL, 1, '2025-08-07 15:26:12', '2025-08-07 15:26:12'),
(63, 19, 85, 9, 39857, '2025-09-24', 'nuevo', 1, NULL, NULL, 1, '2025-08-07 15:26:12', '2025-08-07 15:26:12'),
(64, 49, 87, 8, 9160, '2025-08-29', 'usado con fallas', 0, NULL, NULL, 1, '2025-08-07 15:26:12', '2025-08-07 15:26:12'),
(65, 22, 24, 5, 31303, '2025-10-06', 'usado con fallas', 0, NULL, NULL, 1, '2025-08-07 15:26:12', '2025-08-07 15:26:12'),
(66, 22, 85, 11, 34930, '2025-08-22', 'usado con fallas', 6, NULL, NULL, 1, '2025-08-07 15:26:12', '2025-08-07 15:26:12'),
(67, 41, 19, 9, 46218, '2025-10-06', 'nuevo', 3, NULL, NULL, 1, '2025-08-07 15:26:12', '2025-08-07 15:26:12'),
(68, 22, 59, 11, 24396, '2025-07-29', 'usado con detalles', 0, NULL, NULL, 1, '2025-08-07 15:26:12', '2025-08-07 15:26:12'),
(69, 25, 99, 6, 45085, '2025-08-14', 'usado con fallas', 6, NULL, NULL, 1, '2025-08-07 15:26:12', '2025-08-07 15:26:12'),
(70, 42, 21, 11, 48184, '2025-10-05', 'nuevo', 5, NULL, NULL, 1, '2025-08-07 15:26:12', '2025-08-07 15:26:12'),
(71, 14, 64, 6, 47711, '2025-08-27', 'usado con fallas', 3, NULL, NULL, 1, '2025-08-07 15:26:12', '2025-08-07 15:26:12'),
(72, 39, 1, 5, 30267, '2025-09-15', 'nuevo', 2, NULL, NULL, 1, '2025-08-07 15:26:12', '2025-08-07 15:26:12'),
(73, 45, 1, 6, 45423, '2025-08-03', 'usado sin detalles', 0, NULL, NULL, 1, '2025-08-07 15:26:12', '2025-08-07 15:26:12'),
(74, 47, 65, 5, 23764, '2025-08-15', 'usado sin detalles', 5, NULL, NULL, 1, '2025-08-07 15:26:12', '2025-08-07 15:26:12'),
(75, 50, 46, 5, 48734, '2025-09-09', 'nuevo', 5, NULL, NULL, 1, '2025-08-07 15:26:12', '2025-08-07 15:26:12'),
(76, 17, 65, 11, 29151, '2025-08-20', 'nuevo', 3, NULL, NULL, 1, '2025-08-07 15:26:12', '2025-08-07 15:26:12'),
(77, 11, 85, 9, 20365, '2025-09-30', 'usado con fallas', 6, NULL, NULL, 1, '2025-08-07 15:26:12', '2025-08-07 15:26:12'),
(78, 20, 24, 7, 20725, '2025-08-21', 'nuevo', 0, NULL, NULL, 1, '2025-08-07 15:26:12', '2025-08-07 15:26:12'),
(79, 44, 7, 4, 48800, '2025-09-30', 'usado con detalles', 1, NULL, NULL, 1, '2025-08-07 15:26:12', '2025-08-07 15:26:12'),
(80, 37, 38, 7, 9416, '2025-09-03', 'usado sin detalles', 2, NULL, NULL, 1, '2025-08-07 15:26:12', '2025-08-07 15:26:12'),
(81, 9, 76, 6, 30973, '2025-09-15', 'nuevo', 5, NULL, NULL, 1, '2025-08-07 15:26:12', '2025-08-07 15:26:12'),
(82, 37, 5, 11, 36075, '2025-08-09', 'usado con detalles', 5, NULL, NULL, 1, '2025-08-07 15:26:12', '2025-08-07 15:26:12'),
(83, 42, 18, 7, 24971, '2025-08-12', 'nuevo', 5, NULL, NULL, 1, '2025-08-07 15:26:12', '2025-08-07 15:26:12'),
(84, 22, 63, 4, 33633, '2025-09-13', 'nuevo', 0, NULL, NULL, 1, '2025-08-07 15:26:12', '2025-08-07 15:26:12'),
(85, 48, 99, 9, 28712, '2025-08-19', 'usado sin detalles', 5, NULL, NULL, 1, '2025-08-07 15:26:12', '2025-08-07 15:26:12'),
(86, 25, 7, 4, 8529, '2025-09-27', 'usado con detalles', 3, NULL, NULL, 1, '2025-08-07 15:26:12', '2025-08-07 15:26:12'),
(87, 50, 87, 6, 28350, '2025-07-24', 'usado con detalles', 6, NULL, NULL, 1, '2025-08-07 15:26:12', '2025-08-07 15:26:12'),
(88, 37, 68, 5, 6454, '2025-09-07', 'usado sin detalles', 1, NULL, NULL, 1, '2025-08-07 15:26:12', '2025-08-07 15:26:12'),
(89, 50, 7, 10, 48602, '2025-09-02', 'usado sin detalles', 5, NULL, NULL, 1, '2025-08-07 15:26:12', '2025-08-07 15:26:12'),
(90, 34, 59, 6, 15354, '2025-10-04', 'nuevo', 1, NULL, NULL, 1, '2025-08-07 15:26:12', '2025-08-07 15:26:12'),
(91, 14, 63, 11, 20012, '2025-08-19', 'nuevo', 2, NULL, NULL, 1, '2025-08-07 15:26:12', '2025-08-07 15:26:12'),
(92, 43, 97, 11, 25868, '2025-07-29', 'nuevo', 2, NULL, NULL, 1, '2025-08-07 15:26:12', '2025-08-07 15:26:12'),
(93, 10, 16, 6, 39610, '2025-09-30', 'usado con detalles', 2, NULL, NULL, 1, '2025-08-07 15:26:12', '2025-08-07 15:26:12'),
(94, 15, 41, 7, 33038, '2025-08-23', 'usado con fallas', 5, NULL, NULL, 1, '2025-08-07 15:26:12', '2025-08-07 15:26:12'),
(95, 42, 78, 11, 47304, '2025-08-07', 'usado con detalles', 1, NULL, NULL, 1, '2025-08-07 15:26:12', '2025-08-07 15:26:12'),
(96, 40, 38, 11, 18511, '2025-09-03', 'usado sin detalles', 0, NULL, NULL, 1, '2025-08-07 15:26:12', '2025-08-07 15:26:12'),
(97, 38, 12, 10, 29391, '2025-09-09', 'usado con detalles', 6, NULL, NULL, 1, '2025-08-07 15:26:12', '2025-08-07 15:26:12'),
(98, 18, 21, 4, 12882, '2025-09-15', 'usado sin detalles', 4, NULL, NULL, 1, '2025-08-07 15:26:12', '2025-08-07 15:26:12'),
(99, 46, 49, 9, 41739, '2025-08-28', 'usado con detalles', 2, NULL, NULL, 1, '2025-08-07 15:26:12', '2025-08-07 15:26:12'),
(100, 33, 18, 6, 36790, '2025-08-15', 'usado con fallas', 4, NULL, NULL, 1, '2025-08-07 15:26:12', '2025-08-07 15:26:12'),
(101, 29, 87, 7, 17464, '2025-08-19', 'usado con detalles', 4, NULL, NULL, 1, '2025-08-07 15:26:12', '2025-08-07 15:26:12'),
(102, 25, 25, 7, 33234, '2025-10-04', 'usado sin detalles', 6, NULL, NULL, 1, '2025-08-07 15:26:12', '2025-08-07 15:26:12'),
(103, 43, 59, 6, 22817, '2025-09-17', 'usado con fallas', 2, NULL, NULL, 1, '2025-08-07 15:26:12', '2025-08-07 15:26:12'),
(104, 18, 56, 11, 39649, '2025-09-06', 'nuevo', 1, NULL, NULL, 1, '2025-08-07 15:26:12', '2025-08-07 15:26:12'),
(105, 18, 98, 5, 33186, '2025-07-31', 'usado con fallas', 3, NULL, NULL, 1, '2025-08-07 15:26:12', '2025-08-07 15:26:12'),
(106, 34, 56, 10, 35831, '2025-08-15', 'usado sin detalles', 1, NULL, NULL, 1, '2025-08-07 15:26:12', '2025-08-07 15:26:12'),
(107, 9, 44, 9, 15544, '2025-08-11', 'usado sin detalles', 5, NULL, NULL, 1, '2025-08-07 15:26:12', '2025-08-07 15:26:12'),
(108, 16, 60, 7, 29975, '2025-10-01', 'usado sin detalles', 0, NULL, NULL, 1, '2025-08-07 15:26:12', '2025-08-07 15:26:12'),
(109, 43, 96, 11, 16943, '2025-10-01', 'usado con detalles', 1, NULL, NULL, 1, '2025-08-07 15:26:12', '2025-08-07 15:26:12'),
(110, 25, 72, 11, 20678, '2025-10-03', 'usado con fallas', 6, NULL, NULL, 1, '2025-08-07 15:26:12', '2025-08-07 15:26:12'),
(111, 4, 31, 6, 14117, '2025-10-06', 'nuevo', 1, NULL, NULL, 1, '2025-08-07 15:26:12', '2025-08-07 15:26:12'),
(112, 15, 55, 10, 22979, '2025-08-26', 'usado sin detalles', 6, NULL, NULL, 1, '2025-08-07 15:26:12', '2025-08-07 15:26:12'),
(113, 26, 35, 7, 11751, '2025-09-17', 'nuevo', 2, NULL, NULL, 1, '2025-08-07 15:26:12', '2025-08-07 15:26:12'),
(114, 17, 50, 4, 27859, '2025-09-27', 'usado sin detalles', 3, NULL, NULL, 1, '2025-08-07 15:26:12', '2025-08-07 15:26:12'),
(115, 5, 83, 7, 23548, '2025-10-06', 'usado con fallas', 3, NULL, NULL, 1, '2025-08-07 15:26:12', '2025-08-07 15:26:12'),
(116, 27, 22, 5, 29711, '2025-09-21', 'usado sin detalles', 0, NULL, NULL, 1, '2025-08-07 15:26:12', '2025-08-07 15:26:12'),
(117, 1, 84, 4, 33151, '2025-08-18', 'nuevo', 3, NULL, NULL, 1, '2025-08-07 15:26:12', '2025-08-07 15:26:12'),
(118, 21, 51, 11, 37338, '2025-08-03', 'nuevo', 3, NULL, NULL, 1, '2025-08-07 15:26:12', '2025-08-07 15:26:12'),
(119, 49, 81, 11, 32714, '2025-10-03', 'usado con fallas', 3, NULL, NULL, 1, '2025-08-07 15:26:12', '2025-08-07 15:26:12'),
(120, 12, 2, 9, 22575, '2025-08-13', 'usado con detalles', 4, NULL, NULL, 1, '2025-08-07 15:26:12', '2025-08-07 15:26:12'),
(121, 49, 32, 11, 46606, '2025-08-15', 'usado sin detalles', 5, NULL, NULL, 1, '2025-08-07 15:26:12', '2025-08-07 15:26:12'),
(122, 17, 46, 8, 19876, '2025-10-04', 'usado con detalles', 6, NULL, NULL, 1, '2025-08-07 15:26:12', '2025-08-07 15:26:12'),
(123, 32, 33, 6, 37398, '2025-08-07', 'usado con fallas', 1, NULL, NULL, 1, '2025-08-07 15:26:12', '2025-08-07 15:26:12'),
(124, 24, 51, 9, 36043, '2025-08-16', 'usado con fallas', 1, NULL, NULL, 1, '2025-08-07 15:26:12', '2025-08-07 15:26:12'),
(125, 18, 48, 10, 38499, '2025-09-23', 'usado sin detalles', 4, NULL, NULL, 1, '2025-08-07 15:26:12', '2025-08-07 15:26:12'),
(126, 20, 69, 6, 17866, '2025-08-15', 'usado sin detalles', 5, NULL, NULL, 1, '2025-08-07 15:26:12', '2025-08-07 15:26:12'),
(127, 20, 91, 6, 45085, '2025-09-29', 'usado con fallas', 2, NULL, NULL, 1, '2025-08-07 15:26:12', '2025-08-07 15:26:12'),
(128, 46, 70, 6, 10550, '2025-08-26', 'usado sin detalles', 1, NULL, NULL, 1, '2025-08-07 15:26:12', '2025-08-07 15:26:12'),
(129, 41, 14, 5, 20842, '2025-09-24', 'usado con detalles', 2, NULL, NULL, 1, '2025-08-07 15:26:12', '2025-08-07 15:26:12'),
(130, 16, 32, 9, 45930, '2025-08-05', 'usado con detalles', 4, NULL, NULL, 1, '2025-08-07 15:26:12', '2025-08-07 15:26:12'),
(131, 11, 100, 9, 26717, '2025-08-03', 'usado con fallas', 6, NULL, NULL, 1, '2025-08-07 15:26:12', '2025-08-07 15:26:12'),
(132, 21, 87, 5, 45464, '2025-09-23', 'usado con fallas', 3, NULL, NULL, 1, '2025-08-07 15:26:12', '2025-08-07 15:26:12'),
(133, 50, 69, 6, 45343, '2025-07-31', 'usado sin detalles', 4, NULL, NULL, 1, '2025-08-07 15:26:12', '2025-08-07 15:26:12'),
(134, 11, 9, 11, 47044, '2025-09-18', 'usado con fallas', 1, NULL, NULL, 1, '2025-08-07 15:26:12', '2025-08-07 15:26:12'),
(135, 50, 96, 7, 12429, '2025-09-04', 'usado con detalles', 0, NULL, NULL, 1, '2025-08-07 15:26:12', '2025-08-07 15:26:12'),
(136, 37, 50, 11, 44188, '2025-08-25', 'usado sin detalles', 1, NULL, NULL, 1, '2025-08-07 15:26:12', '2025-08-07 15:26:12'),
(137, 30, 87, 4, 25667, '2025-09-24', 'usado con detalles', 4, NULL, NULL, 1, '2025-08-07 15:26:12', '2025-08-07 15:26:12'),
(138, 30, 30, 4, 13631, '2025-08-17', 'usado con detalles', 0, NULL, NULL, 1, '2025-08-07 15:26:12', '2025-08-07 15:26:12'),
(139, 37, 6, 5, 17963, '2025-07-30', 'usado sin detalles', 5, NULL, NULL, 1, '2025-08-07 15:26:12', '2025-08-07 15:26:12'),
(140, 17, 72, 5, 31963, '2025-08-14', 'usado sin detalles', 0, NULL, NULL, 1, '2025-08-07 15:26:12', '2025-08-07 15:26:12'),
(141, 18, 60, 11, 27973, '2025-10-07', 'usado con detalles', 3, NULL, NULL, 1, '2025-08-07 15:26:12', '2025-08-07 15:26:12'),
(142, 20, 3, 10, 24491, '2025-09-17', 'usado con fallas', 0, NULL, NULL, 1, '2025-08-07 15:26:12', '2025-08-07 15:26:12'),
(143, 24, 34, 6, 10926, '2025-08-19', 'usado con detalles', 2, NULL, NULL, 1, '2025-08-07 15:26:12', '2025-08-07 15:26:12'),
(144, 13, 65, 10, 21085, '2025-09-14', 'usado con detalles', 3, NULL, NULL, 1, '2025-08-07 15:26:12', '2025-08-07 15:26:12'),
(145, 9, 2, 7, 32426, '2025-09-20', 'nuevo', 6, NULL, NULL, 1, '2025-08-07 15:26:12', '2025-08-07 15:26:12'),
(146, 32, 68, 8, 48494, '2025-09-18', 'usado sin detalles', 6, NULL, NULL, 1, '2025-08-07 15:26:12', '2025-08-07 15:26:12'),
(147, 19, 96, 8, 6933, '2025-08-23', 'nuevo', 3, NULL, NULL, 1, '2025-08-07 15:26:12', '2025-08-07 15:26:12'),
(148, 1, 35, 6, 9724, '2025-08-18', 'nuevo', 2, NULL, NULL, 1, '2025-08-07 15:26:12', '2025-08-07 15:26:12'),
(149, 37, 69, 5, 32388, '2025-08-14', 'usado con fallas', 4, NULL, NULL, 1, '2025-08-07 15:26:12', '2025-08-07 15:26:12'),
(150, 49, 76, 4, 24023, '2025-10-05', 'usado sin detalles', 0, NULL, NULL, 1, '2025-08-07 15:26:12', '2025-08-07 15:26:12');

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

--
-- Estructura de tabla para la tabla `empresas`
--

CREATE TABLE `empresas` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `nombre` varchar(60) NOT NULL,
  `razon_social` varchar(100) NOT NULL,
  `rut` varchar(15) NOT NULL,
  `direccion` varchar(100) NOT NULL,
  `region` int(11) NOT NULL DEFAULT 733,
  `ciudad` varchar(40) NOT NULL,
  `cod_postal` varchar(15) DEFAULT NULL,
  `telefono` varchar(30) NOT NULL,
  `email` varchar(40) NOT NULL,
  `logo` varchar(150) DEFAULT ' ',
  `sucursal` varchar(30) NOT NULL,
  `nombre_contacto` varchar(40) NOT NULL,
  `estado` int(11) NOT NULL DEFAULT 1,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_spanish2_ci;

--
-- Volcado de datos para la tabla `empresas`
--

INSERT INTO `empresas` (`id`, `nombre`, `razon_social`, `rut`, `direccion`, `region`, `ciudad`, `cod_postal`, `telefono`, `email`, `logo`, `sucursal`, `nombre_contacto`, `estado`, `created_at`, `updated_at`) VALUES
(1, 'Maestranza SATEC', 'Satec SPA', '71.235.568-8', 'Ongolmo 1997', 733, 'Concepción', '410000', '412224087 - 412224038', 'contacto@satec.cl', 'logos/rP2IpK7MLxCGKZ1XpO7jq4Z1owqdaKSn3BY3OnVH.png', 'Concepcion', 'Victor Molina R.', 1, '2025-04-30 20:08:58', '2025-05-07 19:54:43');

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

--
-- Estructura de tabla para la tabla `failed_jobs`
--

CREATE TABLE `failed_jobs` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `uuid` varchar(255) NOT NULL,
  `connection` text NOT NULL,
  `queue` text NOT NULL,
  `payload` longtext NOT NULL,
  `exception` longtext NOT NULL,
  `failed_at` timestamp NOT NULL DEFAULT current_timestamp()
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_spanish2_ci;

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

--
-- Estructura de tabla para la tabla `herramientas`
--

CREATE TABLE `herramientas` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `nombre` varchar(80) NOT NULL,
  `catherramienta_id` bigint(20) UNSIGNED NOT NULL,
  `codigo` varchar(12) NOT NULL,
  `barcode` varchar(20) DEFAULT NULL,
  `numserie` varchar(30) DEFAULT NULL,
  `condicion` varchar(120) DEFAULT NULL,
  `unidad` varchar(30) NOT NULL,
  `stock_actual` int(11) NOT NULL,
  `stock_inicial` int(11) NOT NULL,
  `stock_critico` int(11) NOT NULL,
  `nuevas` int(11) NOT NULL DEFAULT 0,
  `usadas` int(11) NOT NULL DEFAULT 0,
  `disponible` int(11) NOT NULL DEFAULT 0,
  `prestada` int(11) NOT NULL DEFAULT 0,
  `danada` int(11) NOT NULL DEFAULT 0,
  `en_reparacion` int(11) NOT NULL DEFAULT 0,
  `de_baja` int(11) NOT NULL DEFAULT 0,
  `vendida` int(11) NOT NULL DEFAULT 0,
  `ultimo_ingreso` date NOT NULL,
  `ultimo_costo` bigint(20) NOT NULL,
  `ingresado_por` bigint(20) UNSIGNED NOT NULL,
  `baja_por` varchar(60) DEFAULT NULL,
  `estado` int(11) NOT NULL DEFAULT 1,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_spanish2_ci;

--
-- Volcado de datos para la tabla `herramientas`
--

INSERT INTO `herramientas` (`id`, `nombre`, `catherramienta_id`, `codigo`, `barcode`, `numserie`, `condicion`, `unidad`, `stock_actual`, `stock_inicial`, `stock_critico`, `nuevas`, `usadas`, `disponible`, `prestada`, `danada`, `en_reparacion`, `de_baja`, `vendida`, `ultimo_ingreso`, `ultimo_costo`, `ingresado_por`, `baja_por`, `estado`, `created_at`, `updated_at`) VALUES
(1, 'autem', 14, '010-180-2077', '6174778852520', NULL, 'usado con detalles', 'M3', 15, 38, 13, 1, 1, 8, 1, 4, 1, 0, 1, '2025-08-09', 5944, 1, NULL, 1, '2025-08-13 14:46:18', '2025-08-13 14:46:18'),
(2, 'perspiciatis', 22, '010-050-333', '5920641755495', NULL, 'usado con fallas', 'M', 10, 28, 9, 5, 4, 14, 1, 4, 3, 3, 0, '2025-08-10', 4009, 1, NULL, 1, '2025-08-13 14:46:18', '2025-08-13 14:46:18'),
(3, 'aut', 6, '010-120-2108', '4911600066685', NULL, 'usado sin detalles', 'unidades', 16, 37, 9, 5, 5, 13, 4, 1, 3, 2, 0, '2025-08-12', 5477, 1, NULL, 1, '2025-08-13 14:46:18', '2025-08-13 14:46:18'),
(4, 'occaecati', 12, '010-130-2232', '7880973383033', NULL, 'usado con fallas', 'M', 19, 26, 7, 5, 1, 16, 5, 4, 2, 1, 3, '2025-08-08', 5773, 1, NULL, 1, '2025-08-13 14:46:18', '2025-08-13 14:46:18'),
(5, 'impedit', 7, '010-210-1273', '0395156074105', NULL, 'nuevo', 'gr', 11, 36, 9, 5, 3, 12, 1, 3, 1, 2, 1, '2025-08-12', 3530, 1, NULL, 1, '2025-08-13 14:46:18', '2025-08-13 14:46:18'),
(6, 'quia', 16, '010-220-546', '3891662346080', NULL, 'usado con detalles', 'galones', 18, 39, 9, 3, 4, 9, 3, 1, 1, 0, 2, '2025-08-06', 4038, 1, NULL, 1, '2025-08-13 14:46:18', '2025-08-13 14:46:18'),
(7, 'consequatur', 9, '010-010-876', '7510108506418', NULL, 'usado con fallas', 'dispensadores', 13, 30, 11, 3, 3, 2, 6, 0, 0, 6, 1, '2025-08-08', 5002, 1, NULL, 1, '2025-08-13 14:46:18', '2025-08-21 01:13:40'),
(8, 'asperiores', 3, '010-170-1722', '2979654642240', NULL, 'usado con fallas', 'sacos', 17, 21, 9, 2, 4, 12, 3, 5, 0, 3, 3, '2025-08-08', 9452, 1, NULL, 1, '2025-08-13 14:46:18', '2025-08-13 14:46:18'),
(9, 'nesciunt', 4, '010-200-1033', '9080794872183', NULL, 'usado con fallas', 'M3', 14, 21, 11, 3, 4, 8, 2, 2, 0, 1, 2, '2025-08-12', 4431, 1, NULL, 1, '2025-08-13 14:46:18', '2025-08-13 14:46:18'),
(10, 'beatae', 20, '010-040-421', '0538915093867', NULL, 'usado con fallas', 'M3', 14, 29, 7, 2, 3, 14, 1, 1, 3, 3, 0, '2025-08-12', 8208, 1, NULL, 1, '2025-08-13 14:46:18', '2025-08-20 03:29:10'),
(11, 'libero', 20, '010-100-392', '2937061129778', NULL, 'nuevo', 'paquetes', 20, 33, 15, 5, 1, 14, 0, 3, 1, 2, 2, '2025-08-13', 6371, 1, NULL, 1, '2025-08-13 14:46:18', '2025-08-13 14:46:18'),
(12, 'non', 24, '010-090-1693', '6229063038186', NULL, 'usado con detalles', 'paquetes', 14, 21, 10, 3, 4, 12, 0, 0, 0, 2, 3, '2025-08-13', 1596, 1, NULL, 1, '2025-08-13 14:46:18', '2025-08-13 14:46:18'),
(13, 'minus', 21, '010-040-2222', '0654255607400', NULL, 'nuevo', 'cuarto de galones', 11, 33, 14, 2, 4, 9, 4, 5, 1, 1, 2, '2025-08-11', 8753, 1, NULL, 1, '2025-08-13 14:46:18', '2025-08-13 14:46:18'),
(14, 'facere', 2, '010-120-1389', '4660147321671', NULL, 'usado con fallas', 'tarros', 17, 27, 9, 2, 1, 16, 5, 3, 3, 2, 1, '2025-08-09', 7562, 1, NULL, 1, '2025-08-13 14:46:18', '2025-08-13 14:46:18'),
(15, 'similique', 6, '010-190-627', '3548777796292', NULL, 'nuevo', 'cajas', 18, 30, 6, 2, 1, 15, 2, 5, 0, 0, 0, '2025-08-12', 9403, 1, NULL, 1, '2025-08-13 14:46:18', '2025-08-13 14:46:18'),
(16, 'sunt', 8, '010-200-1677', '8117053769777', NULL, 'usado sin detalles', 'Kg', 20, 23, 11, 4, 3, 13, 5, 4, 2, 0, 1, '2025-08-07', 9515, 1, NULL, 1, '2025-08-13 14:46:18', '2025-08-13 14:46:18'),
(17, 'facilis', 19, '010-080-1663', '4543668545552', NULL, 'usado con fallas', 'media tinetas', 15, 23, 12, 1, 5, 9, 5, 4, 0, 3, 1, '2025-08-06', 8988, 1, NULL, 1, '2025-08-13 14:46:18', '2025-08-13 14:46:18'),
(18, 'vero', 5, '010-220-762', '1881879381785', NULL, 'usado sin detalles', 'cm', 13, 32, 7, 3, 3, 14, 2, 4, 0, 2, 0, '2025-08-12', 7666, 1, NULL, 1, '2025-08-13 14:46:18', '2025-08-13 14:46:18'),
(19, 'non', 17, '010-070-2397', '2906611376153', NULL, 'nuevo', 'cm', 12, 27, 15, 1, 5, 9, 1, 1, 3, 2, 3, '2025-08-07', 8971, 1, NULL, 1, '2025-08-13 14:46:18', '2025-08-13 14:46:18'),
(20, 'aliquid', 12, '010-200-1976', '0050466710937', NULL, 'usado con detalles', 'paquetes', 16, 39, 11, 2, 4, 15, 5, 5, 0, 1, 0, '2025-08-12', 5198, 1, NULL, 1, '2025-08-13 14:46:18', '2025-08-13 14:46:18'),
(21, 'omnis', 6, '010-090-1955', '7736684198360', NULL, 'usado con detalles', 'dispensadores', 19, 36, 11, 2, 1, 8, 5, 0, 1, 3, 2, '2025-08-09', 3017, 1, NULL, 1, '2025-08-13 14:46:18', '2025-08-13 14:46:18'),
(22, 'magnam', 6, '010-050-1508', '9573612218992', NULL, 'usado con fallas', 'M2', 16, 26, 15, 2, 3, 8, 3, 5, 0, 3, 3, '2025-08-11', 4328, 1, NULL, 1, '2025-08-13 14:46:18', '2025-08-13 14:46:18'),
(23, 'vel', 19, '010-240-656', '8493415888721', NULL, 'usado con detalles', 'Kg', 14, 36, 8, 5, 4, 16, 0, 4, 0, 3, 2, '2025-08-09', 3035, 1, NULL, 1, '2025-08-13 14:46:18', '2025-08-13 14:46:18'),
(24, 'saepe', 13, '010-130-829', '1404222556328', NULL, 'nuevo', 'cajas', 17, 34, 12, 2, 1, 10, 5, 2, 3, 2, 0, '2025-08-06', 3038, 1, NULL, 1, '2025-08-13 14:46:18', '2025-08-13 14:46:18'),
(25, 'omnis', 24, '010-120-146', '7835906951339', NULL, 'usado con fallas', 'unidades', 15, 22, 9, 5, 2, 9, 1, 3, 3, 3, 0, '2025-08-07', 8216, 1, NULL, 1, '2025-08-13 14:46:18', '2025-08-13 14:46:18'),
(26, 'commodi', 17, '010-110-1130', '8088844902409', NULL, 'nuevo', 'tinetas', 11, 31, 10, 4, 3, 9, 3, 2, 0, 3, 0, '2025-08-11', 5342, 1, NULL, 1, '2025-08-13 14:46:18', '2025-08-13 14:46:18'),
(27, 'sunt', 1, '010-060-2164', '1187955503424', NULL, 'nuevo', 'paquetes', 15, 32, 9, 1, 2, 15, 5, 2, 2, 3, 0, '2025-08-12', 8910, 1, NULL, 1, '2025-08-13 14:46:18', '2025-08-13 14:46:18'),
(28, 'quidem', 5, '010-200-873', '8153000868957', NULL, 'usado con fallas', 'dispensadores', 12, 31, 5, 5, 4, 16, 0, 5, 0, 1, 2, '2025-08-07', 4539, 1, NULL, 1, '2025-08-13 14:46:18', '2025-08-13 14:46:18'),
(29, 'molestiae', 6, '010-220-1939', '6583767526371', NULL, 'usado con fallas', 'tarros', 19, 38, 11, 4, 4, 10, 5, 2, 2, 2, 1, '2025-08-08', 1343, 1, NULL, 1, '2025-08-13 14:46:18', '2025-08-13 14:46:18'),
(30, 'asperiores', 15, '010-070-1113', '5619163685792', NULL, 'usado con fallas', 'cuarto de galones', 11, 23, 12, 1, 4, 8, 1, 3, 1, 3, 2, '2025-08-13', 1761, 1, NULL, 1, '2025-08-13 14:46:18', '2025-08-13 14:46:18'),
(31, 'fugit', 6, '010-040-214', '6794485663471', NULL, 'nuevo', 'unidades', 18, 30, 5, 5, 4, 14, 3, 3, 2, 2, 0, '2025-08-07', 5471, 1, NULL, 1, '2025-08-13 14:46:18', '2025-08-19 04:26:37'),
(32, 'numquam', 19, '010-180-1838', '8708344714400', NULL, 'usado con detalles', 'galones', 16, 21, 12, 4, 5, 10, 0, 5, 3, 0, 1, '2025-08-12', 7844, 1, NULL, 1, '2025-08-13 14:46:18', '2025-08-13 14:46:18'),
(33, 'eaque', 5, '010-140-1964', '2275153901735', NULL, 'usado con fallas', 'M3', 11, 38, 15, 2, 4, 14, 3, 5, 3, 2, 1, '2025-08-13', 9475, 1, NULL, 1, '2025-08-13 14:46:18', '2025-08-13 14:46:18'),
(34, 'doloremque', 20, '010-220-2352', '0911800035737', NULL, 'nuevo', 'cm', 20, 25, 7, 1, 5, 8, 5, 5, 3, 0, 0, '2025-08-08', 8817, 1, NULL, 1, '2025-08-13 14:46:18', '2025-08-13 14:46:18'),
(35, 'et', 22, '010-170-1085', '6252967318535', NULL, 'nuevo', 'tiras', 16, 39, 6, 1, 1, 12, 1, 5, 1, 2, 0, '2025-08-09', 7568, 1, NULL, 1, '2025-08-13 14:46:18', '2025-08-13 14:46:18'),
(36, 'quia', 13, '010-140-1584', '6696980738930', NULL, 'usado con detalles', 'cajas', 13, 39, 5, 3, 3, 9, 3, 0, 3, 0, 0, '2025-08-09', 1143, 1, NULL, 1, '2025-08-13 14:46:18', '2025-08-13 14:46:18'),
(37, 'repellendus', 24, '010-240-1664', '9482601836690', NULL, 'usado sin detalles', 'Kg', 11, 27, 5, 1, 4, 8, 4, 4, 0, 3, 1, '2025-08-08', 3105, 1, NULL, 1, '2025-08-13 14:46:18', '2025-08-13 14:46:18'),
(38, 'repudiandae', 13, '010-030-2247', '1735837550136', NULL, 'usado con detalles', 'M2', 14, 36, 5, 1, 2, 15, 0, 0, 3, 0, 2, '2025-08-12', 7975, 1, NULL, 1, '2025-08-13 14:46:18', '2025-08-13 14:46:18'),
(39, 'eos', 7, '010-100-2120', '0945475988470', NULL, 'usado sin detalles', 'M2', 13, 28, 5, 5, 2, 11, 4, 1, 1, 0, 1, '2025-08-09', 4807, 1, NULL, 1, '2025-08-13 14:46:18', '2025-08-13 14:46:18'),
(40, 'molestias', 19, '010-120-1896', '6156377658635', NULL, 'usado con detalles', 'mm', 18, 39, 14, 2, 2, 11, 4, 1, 2, 2, 0, '2025-08-07', 1080, 1, NULL, 1, '2025-08-13 14:46:18', '2025-08-13 14:46:18'),
(41, 'soluta', 1, '010-160-2309', '2025156284447', NULL, 'nuevo', 'pares', 17, 39, 10, 5, 1, 12, 2, 1, 0, 3, 0, '2025-08-08', 6244, 1, NULL, 1, '2025-08-13 14:46:18', '2025-08-13 14:46:18'),
(42, 'vel', 8, '010-140-744', '7153797687213', NULL, 'usado sin detalles', 'paquetes', 13, 31, 5, 3, 1, 15, 2, 2, 0, 0, 2, '2025-08-09', 6309, 1, NULL, 1, '2025-08-13 14:46:18', '2025-08-13 14:46:18'),
(43, 'amet', 19, '010-080-1397', '9336064431070', NULL, 'usado sin detalles', 'cm', 16, 27, 6, 2, 2, 13, 1, 0, 3, 1, 3, '2025-08-11', 3259, 1, NULL, 1, '2025-08-13 14:46:18', '2025-08-20 02:38:40'),
(44, 'reprehenderit', 19, '010-090-323', '1876180928750', NULL, 'usado sin detalles', 'media tinetas', 19, 25, 12, 3, 2, 14, 2, 0, 0, 2, 3, '2025-08-08', 2368, 1, NULL, 1, '2025-08-13 14:46:18', '2025-08-13 14:46:18'),
(45, 'perspiciatis', 10, '010-160-2242', '2383776172934', NULL, 'nuevo', 'M', 20, 28, 7, 4, 2, 15, 4, 5, 3, 1, 2, '2025-08-10', 5183, 1, NULL, 1, '2025-08-13 14:46:18', '2025-08-13 14:46:18'),
(46, 'voluptatem', 20, '010-130-476', '1611108355832', NULL, 'nuevo', 'mm', 13, 40, 14, 2, 5, 14, 0, 2, 0, 1, 1, '2025-08-10', 8015, 1, NULL, 1, '2025-08-13 14:46:18', '2025-08-13 14:46:18'),
(47, 'aut', 6, '010-020-568', '7907870475934', NULL, 'nuevo', 'bolsas', 17, 30, 13, 2, 5, 12, 5, 2, 3, 5, 1, '2025-08-07', 8382, 1, 'admin', 1, '2025-08-13 14:46:18', '2025-08-21 01:47:20'),
(48, 'molestiae', 19, '010-090-1458', '5671726997322', NULL, 'usado sin detalles', 'tiras', 17, 35, 10, 5, 5, 10, 3, 5, 2, 3, 1, '2025-08-07', 5629, 1, NULL, 1, '2025-08-13 14:46:18', '2025-08-13 14:46:18'),
(49, 'veniam', 16, '010-020-1609', '3078881744037', NULL, 'usado con fallas', 'tinetas', 11, 38, 6, 5, 5, 10, 1, 2, 0, 4, 2, '2025-08-09', 1970, 1, 'admin', 1, '2025-08-13 14:46:18', '2025-08-21 02:07:45'),
(50, 'omnis', 19, '010-130-1668', '5558263738017', NULL, 'usado con fallas', 'cm', 19, 21, 10, 3, 3, 12, 4, 2, 1, 3, 1, '2025-08-12', 1202, 1, NULL, 1, '2025-08-13 14:46:18', '2025-08-13 14:46:18'),
(51, 'saepe', 11, '010-190-1345', '6135989473706', NULL, 'nuevo', 'M', 17, 35, 12, 1, 5, 12, 5, 3, 3, 1, 2, '2025-08-09', 1584, 1, NULL, 1, '2025-08-13 14:46:18', '2025-08-13 14:46:18'),
(52, 'enim', 9, '010-220-703', '3248952343906', NULL, 'usado con detalles', 'paquetes', 15, 35, 10, 3, 3, 8, 1, 5, 1, 0, 1, '2025-08-12', 2374, 1, NULL, 1, '2025-08-13 14:46:18', '2025-08-13 14:46:18'),
(53, 'velit', 7, '010-050-402', '7097839171981', NULL, 'usado con fallas', 'tiras', 12, 21, 13, 1, 3, 14, 1, 5, 2, 3, 0, '2025-08-09', 6306, 1, NULL, 1, '2025-08-13 14:46:18', '2025-08-13 14:46:18'),
(54, 'quis', 21, '010-160-1591', '4053291816665', NULL, 'usado sin detalles', 'Kg', 17, 38, 5, 1, 2, 16, 5, 4, 1, 3, 0, '2025-08-11', 9511, 1, NULL, 1, '2025-08-13 14:46:18', '2025-08-13 14:46:18'),
(55, 'ea', 5, '010-110-687', '2493364285127', NULL, 'usado sin detalles', 'media tinetas', 20, 29, 12, 5, 5, 15, 4, 0, 2, 2, 3, '2025-08-08', 1435, 1, NULL, 1, '2025-08-13 14:46:18', '2025-08-13 14:46:18'),
(56, 'unde', 8, '010-020-1454', '6615664189899', NULL, 'nuevo', 'tinetas', 19, 22, 10, 1, 2, 16, 2, 3, 2, 3, 0, '2025-08-09', 7705, 1, NULL, 1, '2025-08-13 14:46:18', '2025-08-13 14:46:18'),
(57, 'neque', 6, '010-090-604', '7071088573802', NULL, 'usado sin detalles', 'cajas', 14, 21, 13, 3, 4, 8, 2, 1, 1, 1, 2, '2025-08-09', 2633, 1, NULL, 1, '2025-08-13 14:46:18', '2025-08-13 14:46:18'),
(58, 'et', 11, '010-180-2284', '2653809815573', NULL, 'usado con detalles', 'tarros', 10, 21, 5, 5, 2, 11, 5, 4, 0, 2, 0, '2025-08-11', 9370, 1, NULL, 1, '2025-08-13 14:46:18', '2025-08-13 14:46:18'),
(59, 'nobis', 5, '010-100-431', '9112861413040', NULL, 'usado con fallas', 'paquetes', 17, 33, 9, 5, 1, 9, 4, 0, 2, 2, 3, '2025-08-10', 3205, 1, NULL, 1, '2025-08-13 14:46:18', '2025-08-13 14:46:18'),
(60, 'aliquam', 7, '010-200-2148', '4973461361064', NULL, 'nuevo', 'pares', 18, 28, 11, 5, 5, 21, -10, 4, 3, 3, 1, '2025-08-12', 1851, 1, NULL, 1, '2025-08-13 14:46:18', '2025-08-20 03:34:45'),
(61, 'neque', 23, '010-090-215', '3301339065157', NULL, 'usado sin detalles', 'dispensadores', 11, 30, 8, 1, 5, 16, 1, 4, 1, 2, 1, '2025-08-09', 4745, 1, NULL, 1, '2025-08-13 14:46:18', '2025-08-13 14:46:18'),
(62, 'ratione', 7, '010-140-2134', '1887819070832', NULL, 'usado sin detalles', 'mm', 17, 32, 6, 2, 3, 16, 2, 0, 3, 1, 3, '2025-08-08', 8252, 1, NULL, 1, '2025-08-13 14:46:18', '2025-08-13 14:46:18'),
(63, 'illum', 8, '010-210-2132', '3803285961656', NULL, 'usado con fallas', 'Lt', 11, 34, 5, 3, 2, 14, 2, 5, 0, 0, 1, '2025-08-08', 4882, 1, NULL, 1, '2025-08-13 14:46:18', '2025-08-13 14:46:18'),
(64, 'atque', 1, '010-210-1155', '8092822173637', NULL, 'usado sin detalles', 'bolsas', 20, 32, 5, 2, 4, 10, 1, 3, 1, 1, 3, '2025-08-09', 1146, 1, NULL, 1, '2025-08-13 14:46:18', '2025-08-13 14:46:18'),
(65, 'sed', 16, '010-050-486', '0092419344417', NULL, 'usado con fallas', 'gr', 20, 38, 7, 4, 2, 16, 2, 4, 2, 0, 1, '2025-08-12', 8847, 1, NULL, 1, '2025-08-13 14:46:18', '2025-08-13 14:46:18'),
(66, 'dolores', 12, '010-240-987', '5504384189290', NULL, 'usado con fallas', 'cajas', 19, 37, 5, 3, 5, 14, 3, 1, 2, 0, 3, '2025-08-10', 3509, 1, NULL, 1, '2025-08-13 14:46:18', '2025-08-13 14:46:18'),
(67, 'architecto', 24, '010-200-571', '1982148568071', NULL, 'usado sin detalles', 'M3', 10, 26, 12, 5, 5, 14, 2, 5, 2, 2, 1, '2025-08-11', 4650, 1, NULL, 1, '2025-08-13 14:46:18', '2025-08-13 14:46:18'),
(68, 'molestias', 13, '010-210-624', '6168733419606', NULL, 'nuevo', 'dispensadores', 18, 36, 10, 1, 3, 14, 1, 0, 2, 1, 1, '2025-08-09', 5986, 1, NULL, 1, '2025-08-13 14:46:18', '2025-08-13 14:46:18'),
(69, 'ut', 13, '010-240-1271', '9808519481263', NULL, 'usado con fallas', 'tiras', 17, 39, 10, 1, 4, 14, 1, 1, 2, 3, 2, '2025-08-08', 9411, 1, NULL, 1, '2025-08-13 14:46:18', '2025-08-13 14:46:18'),
(70, 'a', 4, '010-180-2094', '1681486407645', NULL, 'usado con detalles', 'M', 20, 23, 15, 4, 1, 13, 1, 1, 1, 0, 1, '2025-08-11', 4065, 1, NULL, 1, '2025-08-13 14:46:18', '2025-08-13 14:46:18'),
(71, 'repellendus', 24, '010-110-1281', '2833706784817', NULL, 'nuevo', 'tarros', 17, 27, 7, 3, 3, 8, 0, 2, 3, 1, 2, '2025-08-12', 9034, 1, NULL, 1, '2025-08-13 14:46:18', '2025-08-13 14:46:18'),
(72, 'distinctio', 8, '010-020-2399', '9229730535168', NULL, 'usado sin detalles', 'tarros', 19, 29, 13, 5, 3, 7, 10, 2, 2, 1, 3, '2025-08-08', 9618, 1, NULL, 1, '2025-08-13 14:46:18', '2025-08-20 00:32:31'),
(73, 'tenetur', 3, '010-200-1402', '8829669322900', NULL, 'usado con detalles', 'tinetas', 18, 33, 14, 1, 2, 8, 1, 1, 1, 2, 3, '2025-08-10', 5686, 1, NULL, 1, '2025-08-13 14:46:18', '2025-08-13 14:46:18'),
(74, 'dolores', 10, '010-200-601', '5646253341443', NULL, 'usado con fallas', 'Kg', 16, 29, 15, 4, 5, 18, 0, 0, 1, 1, 1, '2025-08-08', 4498, 1, NULL, 1, '2025-08-13 14:46:18', '2025-08-20 03:34:09'),
(75, 'sed', 8, '010-090-2139', '9967149780969', NULL, 'nuevo', 'unidades', 19, 22, 7, 5, 4, 12, 2, 0, 2, 2, 1, '2025-08-06', 4649, 1, NULL, 1, '2025-08-13 14:46:18', '2025-08-13 14:46:18'),
(76, 'impedit', 18, '010-030-1162', '8215670239533', NULL, 'usado sin detalles', 'tinetas', 10, 32, 14, 5, 1, 14, 4, 1, 1, 1, 2, '2025-08-12', 3278, 1, NULL, 1, '2025-08-13 14:46:18', '2025-08-19 02:58:42'),
(77, 'recusandae', 17, '010-180-2099', '9906913463974', NULL, 'usado sin detalles', 'tiras', 20, 21, 11, 2, 4, 12, 3, 1, 2, 3, 3, '2025-08-09', 9079, 1, NULL, 1, '2025-08-13 14:46:18', '2025-08-13 14:46:18'),
(78, 'vero', 21, '010-160-575', '6885489369831', NULL, 'usado con detalles', 'gr', 11, 24, 8, 2, 3, 11, 0, 1, 2, 3, 1, '2025-08-07', 4323, 1, NULL, 1, '2025-08-13 14:46:18', '2025-08-13 14:46:18'),
(79, 'quis', 12, '010-090-230', '7912744310518', NULL, 'usado con detalles', 'paquetes', 12, 34, 7, 5, 3, 16, 3, 3, 3, 3, 0, '2025-08-09', 8492, 1, NULL, 1, '2025-08-13 14:46:18', '2025-08-13 14:46:18'),
(80, 'voluptas', 14, '010-190-775', '9083776606721', NULL, 'nuevo', 'tinetas', 13, 26, 5, 4, 2, 12, 0, 0, 3, 2, 2, '2025-08-10', 8084, 1, NULL, 1, '2025-08-13 14:46:18', '2025-08-13 14:46:18'),
(81, 'similique', 15, '010-140-1188', '8938143366221', NULL, 'usado con detalles', 'unidades', 16, 23, 8, 3, 1, 11, 5, 0, 3, 1, 2, '2025-08-08', 3129, 1, NULL, 1, '2025-08-13 14:46:18', '2025-08-13 14:46:18'),
(82, 'sint', 16, '010-030-2484', '3976142772235', NULL, 'nuevo', 'Lt', 17, 31, 8, 5, 3, 15, 1, 4, 1, 3, 2, '2025-08-09', 3233, 1, NULL, 1, '2025-08-13 14:46:18', '2025-08-13 14:46:18'),
(83, 'voluptas', 21, '010-190-277', '9764824947965', NULL, 'nuevo', 'M', 20, 30, 15, 4, 2, 15, 3, 1, 0, 3, 3, '2025-08-10', 5342, 1, NULL, 1, '2025-08-13 14:46:18', '2025-08-13 14:46:18'),
(84, 'sit', 1, '010-200-174', '8105241949148', NULL, 'nuevo', 'gr', 13, 38, 5, 4, 5, 9, 1, 2, 0, 0, 3, '2025-08-08', 2925, 1, NULL, 1, '2025-08-13 14:46:18', '2025-08-13 14:46:18'),
(85, 'itaque', 24, '010-060-57', '4416799000538', NULL, 'nuevo', 'dispensadores', 16, 33, 13, 3, 3, 11, 1, 0, 0, 2, 0, '2025-08-07', 5948, 1, NULL, 1, '2025-08-13 14:46:18', '2025-08-13 14:46:18'),
(86, 'sint', 10, '010-230-2009', '9075298325297', NULL, 'usado con detalles', 'mm', 19, 40, 9, 4, 5, 10, 1, 5, 0, 0, 3, '2025-08-12', 6610, 1, NULL, 1, '2025-08-13 14:46:18', '2025-08-13 14:46:18'),
(87, 'quae', 6, '010-140-116', '6992543780263', NULL, 'nuevo', 'media tinetas', 18, 35, 11, 4, 3, 8, 1, 5, 1, 1, 0, '2025-08-11', 7668, 1, NULL, 1, '2025-08-13 14:46:18', '2025-08-13 14:46:18'),
(88, 'eos', 3, '010-130-895', '0530097539652', NULL, 'usado con detalles', 'cuarto de galones', 12, 31, 6, 5, 5, 16, 1, 1, 0, 3, 0, '2025-08-07', 9998, 1, NULL, 1, '2025-08-13 14:46:18', '2025-08-13 14:46:18'),
(89, 'ab', 19, '010-110-381', '9523121773765', NULL, 'usado sin detalles', 'Lt', 20, 31, 10, 4, 2, 10, 4, 3, 2, 3, 0, '2025-08-10', 8660, 1, NULL, 1, '2025-08-13 14:46:18', '2025-08-13 14:46:18'),
(90, 'qui', 10, '010-060-806', '6487636449702', NULL, 'usado con detalles', 'M', 17, 28, 7, 4, 5, 18, -2, 5, 2, 2, 2, '2025-08-11', 9606, 1, NULL, 1, '2025-08-13 14:46:18', '2025-08-20 02:39:45'),
(91, 'dolores', 13, '010-170-2079', '7036052830008', NULL, 'nuevo', 'mm', 17, 27, 11, 2, 3, 12, 0, 1, 1, 2, 3, '2025-08-06', 6266, 1, NULL, 1, '2025-08-13 14:46:18', '2025-08-13 14:46:18'),
(92, 'alias', 1, '010-200-812', '2238171666864', NULL, 'usado con detalles', 'cajas', 17, 36, 9, 2, 1, 16, 0, 2, 3, 1, 0, '2025-08-11', 7573, 1, NULL, 1, '2025-08-13 14:46:18', '2025-08-13 14:46:18'),
(93, 'nisi', 20, '010-160-1564', '8882876977608', NULL, 'usado sin detalles', 'M', 12, 36, 11, 4, 3, 11, 5, 2, 3, 3, 3, '2025-08-07', 5370, 1, NULL, 1, '2025-08-13 14:46:18', '2025-08-13 14:46:18'),
(94, 'quia', 2, '010-150-2166', '4324245180621', NULL, 'usado con detalles', 'gr', 18, 34, 14, 5, 1, 10, 4, 1, 2, 2, 0, '2025-08-08', 8191, 1, NULL, 1, '2025-08-13 14:46:18', '2025-08-13 14:46:18'),
(95, 'aliquid', 15, '010-030-1391', '1262487806851', NULL, 'nuevo', 'media tinetas', 14, 32, 10, 5, 2, 14, 3, 3, 2, 3, 0, '2025-08-10', 3618, 1, 'admin', 1, '2025-08-13 14:46:18', '2025-08-21 02:29:08'),
(96, 'molestiae', 4, '010-190-1258', '5136504073181', NULL, 'usado con detalles', 'M2', 13, 25, 13, 4, 2, 12, 4, 2, 3, 1, 0, '2025-08-06', 2060, 1, NULL, 1, '2025-08-13 14:46:18', '2025-08-13 14:46:18'),
(97, 'distinctio', 17, '010-240-1842', '2397559985482', NULL, 'nuevo', 'rollos', 12, 34, 9, 2, 3, 15, 1, 5, 1, 1, 2, '2025-08-09', 9159, 1, NULL, 1, '2025-08-13 14:46:18', '2025-08-13 14:46:18'),
(98, 'rem', 18, '010-040-810', '0174241046896', NULL, 'usado con fallas', 'M3', 17, 25, 10, 2, 3, 16, 3, 2, 0, 0, 0, '2025-08-10', 9108, 1, NULL, 1, '2025-08-13 14:46:18', '2025-08-13 14:46:18'),
(99, 'magnam', 16, '010-210-1889', '2239118738200', NULL, 'nuevo', 'Kg', 20, 27, 13, 2, 1, 9, 3, 3, 0, 3, 2, '2025-08-08', 7615, 1, NULL, 1, '2025-08-13 14:46:18', '2025-08-13 14:46:18'),
(100, 'voluptas', 17, '010-170-2051', '3632697933735', NULL, 'nuevo', 'unidades', 16, 26, 12, 1, 2, 12, 4, 3, 0, 1, 0, '2025-08-08', 1637, 1, NULL, 1, '2025-08-13 14:46:18', '2025-08-13 14:46:18');

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

--
-- Estructura de tabla para la tabla `htadevolucionitems`
--

CREATE TABLE `htadevolucionitems` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `htadevolucion_id` bigint(20) UNSIGNED NOT NULL,
  `herramienta_id` bigint(20) UNSIGNED NOT NULL,
  `htaentregasitem_id` bigint(20) UNSIGNED NOT NULL,
  `cantidad` bigint(20) NOT NULL,
  `condicion` varchar(120) DEFAULT NULL,
  `fecha_baja` date DEFAULT NULL,
  `baja_por` varchar(60) DEFAULT NULL,
  `estado` int(11) NOT NULL DEFAULT 1,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_spanish2_ci;

--
-- Volcado de datos para la tabla `htadevolucionitems`
--

INSERT INTO `htadevolucionitems` (`id`, `htadevolucion_id`, `herramienta_id`, `htaentregasitem_id`, `cantidad`, `condicion`, `fecha_baja`, `baja_por`, `estado`, `created_at`, `updated_at`) VALUES
(1, 21, 98, 135, 2, 'usado con detalles', NULL, NULL, 1, '2025-08-13 14:47:01', '2025-08-13 14:47:02'),
(2, 45, 96, 128, 3, 'usado sin detalles', NULL, NULL, 1, '2025-08-13 14:47:01', '2025-08-13 14:47:02'),
(3, 28, 75, 91, 2, 'nuevo', NULL, NULL, 1, '2025-08-13 14:47:01', '2025-08-13 14:47:02'),
(4, 4, 79, 56, 4, 'usado con detalles', NULL, NULL, 1, '2025-08-13 14:47:01', '2025-08-13 14:47:02'),
(5, 4, 1, 6, 2, 'usado con fallas', NULL, NULL, 1, '2025-08-13 14:47:01', '2025-08-13 14:47:02'),
(6, 24, 48, 73, 3, 'usado con fallas', NULL, NULL, 1, '2025-08-13 14:47:01', '2025-08-13 14:47:02'),
(7, 32, 56, 137, 3, 'usado con detalles', NULL, NULL, 1, '2025-08-13 14:47:01', '2025-08-13 14:47:02'),
(8, 26, 95, 3, 1, 'usado sin detalles', NULL, NULL, 1, '2025-08-13 14:47:01', '2025-08-13 14:47:02'),
(9, 46, 90, 26, 4, 'usado con detalles', NULL, NULL, 1, '2025-08-13 14:47:01', '2025-08-13 14:47:02'),
(10, 21, 70, 48, 3, 'usado sin detalles', NULL, NULL, 1, '2025-08-13 14:47:01', '2025-08-13 14:47:02'),
(11, 10, 16, 102, 2, 'usado con detalles', NULL, NULL, 1, '2025-08-13 14:47:01', '2025-08-13 14:47:02'),
(12, 2, 90, 47, 2, 'usado sin detalles', NULL, NULL, 1, '2025-08-13 14:47:01', '2025-08-13 14:47:02'),
(13, 1, 2, 13, 2, 'nuevo', NULL, NULL, 1, '2025-08-13 14:47:01', '2025-08-13 14:47:02'),
(14, 36, 56, 145, 1, 'usado con fallas', NULL, NULL, 1, '2025-08-13 14:47:01', '2025-08-13 14:47:02'),
(15, 14, 88, 3, 1, 'nuevo', NULL, NULL, 1, '2025-08-13 14:47:01', '2025-08-13 14:47:02'),
(16, 45, 53, 42, 2, 'usado con fallas', NULL, NULL, 1, '2025-08-13 14:47:01', '2025-08-13 14:47:02'),
(17, 18, 98, 150, 4, 'nuevo', NULL, NULL, 1, '2025-08-13 14:47:01', '2025-08-13 14:47:02'),
(18, 11, 30, 93, 1, 'usado sin detalles', NULL, NULL, 1, '2025-08-13 14:47:01', '2025-08-13 14:47:02'),
(19, 18, 70, 122, 3, 'usado sin detalles', NULL, NULL, 1, '2025-08-13 14:47:01', '2025-08-13 14:47:02'),
(20, 36, 58, 45, 1, 'nuevo', NULL, NULL, 1, '2025-08-13 14:47:01', '2025-08-13 14:47:02'),
(21, 41, 21, 141, 4, 'usado con fallas', NULL, NULL, 1, '2025-08-13 14:47:01', '2025-08-13 14:47:02'),
(22, 42, 82, 104, 2, 'usado con detalles', NULL, NULL, 1, '2025-08-13 14:47:01', '2025-08-13 14:47:02'),
(23, 14, 89, 127, 3, 'usado con detalles', NULL, NULL, 1, '2025-08-13 14:47:01', '2025-08-13 14:47:02'),
(24, 14, 8, 19, 4, 'nuevo', NULL, NULL, 1, '2025-08-13 14:47:01', '2025-08-13 14:47:02'),
(25, 22, 77, 111, 3, 'usado con fallas', NULL, NULL, 1, '2025-08-13 14:47:01', '2025-08-13 14:47:02'),
(26, 25, 94, 28, 1, 'nuevo', NULL, NULL, 1, '2025-08-13 14:47:01', '2025-08-13 14:47:02'),
(27, 38, 9, 98, 2, 'usado con fallas', NULL, NULL, 1, '2025-08-13 14:47:01', '2025-08-13 14:47:02'),
(28, 40, 99, 47, 2, 'usado sin detalles', NULL, NULL, 1, '2025-08-13 14:47:01', '2025-08-13 14:47:02'),
(29, 42, 3, 73, 3, 'usado con detalles', NULL, NULL, 1, '2025-08-13 14:47:01', '2025-08-13 14:47:02'),
(30, 22, 42, 57, 4, 'usado con fallas', NULL, NULL, 1, '2025-08-13 14:47:01', '2025-08-13 14:47:02'),
(31, 24, 59, 35, 2, 'nuevo', NULL, NULL, 1, '2025-08-13 14:47:01', '2025-08-13 14:47:02'),
(32, 2, 57, 135, 3, 'usado sin detalles', NULL, NULL, 1, '2025-08-13 14:47:01', '2025-08-13 14:47:02'),
(33, 28, 12, 100, 2, 'nuevo', NULL, NULL, 1, '2025-08-13 14:47:01', '2025-08-13 14:47:02'),
(34, 1, 12, 65, 2, 'nuevo', NULL, NULL, 1, '2025-08-13 14:47:01', '2025-08-13 14:47:02'),
(35, 49, 98, 26, 1, 'usado con fallas', NULL, NULL, 1, '2025-08-13 14:47:01', '2025-08-13 14:47:02'),
(36, 14, 81, 24, 4, 'usado sin detalles', NULL, NULL, 1, '2025-08-13 14:47:01', '2025-08-13 14:47:02'),
(37, 21, 42, 10, 2, 'nuevo', NULL, NULL, 1, '2025-08-13 14:47:01', '2025-08-13 14:47:02'),
(38, 23, 49, 64, 4, 'nuevo', NULL, NULL, 1, '2025-08-13 14:47:01', '2025-08-13 14:47:02'),
(39, 39, 47, 32, 1, 'usado con detalles', NULL, NULL, 1, '2025-08-13 14:47:01', '2025-08-13 14:47:02'),
(40, 46, 11, 21, 2, 'usado sin detalles', NULL, NULL, 1, '2025-08-13 14:47:01', '2025-08-13 14:47:02'),
(41, 15, 89, 56, 4, 'nuevo', NULL, NULL, 1, '2025-08-13 14:47:01', '2025-08-13 14:47:02'),
(42, 11, 75, 85, 2, 'nuevo', NULL, NULL, 1, '2025-08-13 14:47:01', '2025-08-13 14:47:02'),
(43, 46, 3, 111, 4, 'usado con fallas', NULL, NULL, 1, '2025-08-13 14:47:01', '2025-08-13 14:47:02'),
(44, 46, 72, 86, 3, 'usado sin detalles', NULL, NULL, 1, '2025-08-13 14:47:01', '2025-08-13 14:47:02'),
(45, 12, 70, 96, 3, 'nuevo', NULL, NULL, 1, '2025-08-13 14:47:01', '2025-08-13 14:47:02'),
(46, 4, 74, 31, 4, 'usado con fallas', NULL, NULL, 1, '2025-08-13 14:47:01', '2025-08-13 14:47:02'),
(47, 11, 80, 63, 4, 'usado con fallas', NULL, NULL, 1, '2025-08-13 14:47:01', '2025-08-13 14:47:02'),
(48, 21, 99, 110, 1, 'nuevo', NULL, NULL, 1, '2025-08-13 14:47:01', '2025-08-13 14:47:02'),
(49, 20, 54, 85, 4, 'usado sin detalles', NULL, NULL, 1, '2025-08-13 14:47:01', '2025-08-13 14:47:02'),
(50, 32, 47, 4, 4, 'usado con fallas', NULL, NULL, 1, '2025-08-13 14:47:01', '2025-08-13 14:47:02'),
(51, 14, 78, 41, 3, 'nuevo', NULL, NULL, 1, '2025-08-13 14:47:01', '2025-08-13 14:47:02'),
(52, 11, 68, 94, 2, 'usado sin detalles', NULL, NULL, 1, '2025-08-13 14:47:01', '2025-08-13 14:47:02'),
(53, 11, 92, 115, 2, 'usado con fallas', NULL, NULL, 1, '2025-08-13 14:47:01', '2025-08-13 14:47:02'),
(54, 50, 87, 127, 1, 'nuevo', NULL, NULL, 1, '2025-08-13 14:47:01', '2025-08-13 14:47:02'),
(55, 29, 56, 120, 4, 'usado con detalles', NULL, NULL, 1, '2025-08-13 14:47:01', '2025-08-13 14:47:02'),
(56, 39, 32, 135, 3, 'usado con detalles', NULL, NULL, 1, '2025-08-13 14:47:01', '2025-08-13 14:47:02'),
(57, 15, 12, 81, 2, 'usado sin detalles', NULL, NULL, 1, '2025-08-13 14:47:01', '2025-08-13 14:47:02'),
(58, 3, 93, 129, 2, 'usado con fallas', NULL, NULL, 1, '2025-08-13 14:47:01', '2025-08-13 14:47:02'),
(59, 46, 54, 9, 4, 'usado con fallas', NULL, NULL, 1, '2025-08-13 14:47:01', '2025-08-13 14:47:02'),
(60, 30, 87, 122, 2, 'usado sin detalles', NULL, NULL, 1, '2025-08-13 14:47:01', '2025-08-13 14:47:02'),
(61, 32, 59, 42, 4, 'nuevo', NULL, NULL, 1, '2025-08-13 14:47:01', '2025-08-13 14:47:02'),
(62, 36, 38, 82, 2, 'usado con detalles', NULL, NULL, 1, '2025-08-13 14:47:01', '2025-08-13 14:47:02'),
(63, 28, 43, 99, 2, 'usado sin detalles', NULL, NULL, 1, '2025-08-13 14:47:01', '2025-08-13 14:47:02'),
(64, 45, 46, 114, 1, 'usado con detalles', NULL, NULL, 1, '2025-08-13 14:47:01', '2025-08-13 14:47:02'),
(65, 39, 70, 82, 4, 'usado sin detalles', NULL, NULL, 1, '2025-08-13 14:47:01', '2025-08-13 14:47:02'),
(66, 32, 29, 119, 2, 'usado con fallas', NULL, NULL, 1, '2025-08-13 14:47:01', '2025-08-13 14:47:02'),
(67, 27, 36, 97, 3, 'usado con fallas', NULL, NULL, 1, '2025-08-13 14:47:01', '2025-08-13 14:47:02'),
(68, 12, 87, 37, 1, 'usado con detalles', NULL, NULL, 1, '2025-08-13 14:47:01', '2025-08-13 14:47:02'),
(69, 4, 100, 7, 2, 'usado con fallas', NULL, NULL, 1, '2025-08-13 14:47:01', '2025-08-13 14:47:02'),
(70, 31, 39, 18, 2, 'nuevo', NULL, NULL, 1, '2025-08-13 14:47:01', '2025-08-13 14:47:02'),
(71, 46, 42, 140, 3, 'usado con fallas', NULL, NULL, 1, '2025-08-13 14:47:01', '2025-08-13 14:47:02'),
(72, 36, 42, 105, 4, 'usado con detalles', NULL, NULL, 1, '2025-08-13 14:47:01', '2025-08-13 14:47:02'),
(73, 1, 40, 33, 1, 'nuevo', NULL, NULL, 1, '2025-08-13 14:47:01', '2025-08-13 14:47:02'),
(74, 19, 24, 123, 4, 'usado con fallas', NULL, NULL, 1, '2025-08-13 14:47:01', '2025-08-13 14:47:02'),
(75, 26, 76, 102, 2, 'usado sin detalles', NULL, NULL, 1, '2025-08-13 14:47:01', '2025-08-13 14:47:02'),
(76, 43, 73, 53, 3, 'usado sin detalles', NULL, NULL, 1, '2025-08-13 14:47:01', '2025-08-13 14:47:02'),
(77, 18, 19, 14, 2, 'usado sin detalles', NULL, NULL, 1, '2025-08-13 14:47:01', '2025-08-13 14:47:02'),
(78, 25, 11, 54, 1, 'usado sin detalles', NULL, NULL, 1, '2025-08-13 14:47:01', '2025-08-13 14:47:02'),
(79, 31, 9, 88, 4, 'nuevo', NULL, NULL, 1, '2025-08-13 14:47:01', '2025-08-13 14:47:02'),
(80, 1, 100, 87, 1, 'usado con fallas', NULL, NULL, 1, '2025-08-13 14:47:01', '2025-08-13 14:47:02'),
(81, 2, 84, 105, 4, 'usado con fallas', NULL, NULL, 1, '2025-08-13 14:47:01', '2025-08-13 14:47:02'),
(82, 1, 70, 81, 2, 'usado sin detalles', NULL, NULL, 1, '2025-08-13 14:47:01', '2025-08-13 14:47:02'),
(83, 49, 93, 12, 1, 'usado con detalles', NULL, NULL, 1, '2025-08-13 14:47:01', '2025-08-13 14:47:02'),
(84, 24, 88, 61, 1, 'usado con detalles', NULL, NULL, 1, '2025-08-13 14:47:01', '2025-08-13 14:47:02'),
(85, 13, 22, 27, 2, 'usado con fallas', NULL, NULL, 1, '2025-08-13 14:47:01', '2025-08-13 14:47:02'),
(86, 1, 94, 135, 3, 'usado con fallas', NULL, NULL, 1, '2025-08-13 14:47:01', '2025-08-13 14:47:02'),
(87, 16, 87, 142, 4, 'usado con detalles', NULL, NULL, 1, '2025-08-13 14:47:01', '2025-08-13 14:47:02'),
(88, 4, 82, 19, 1, 'usado con detalles', NULL, NULL, 1, '2025-08-13 14:47:01', '2025-08-13 14:47:02'),
(89, 34, 52, 45, 2, 'usado con detalles', NULL, NULL, 1, '2025-08-13 14:47:01', '2025-08-13 14:47:02'),
(90, 13, 4, 19, 1, 'usado sin detalles', NULL, NULL, 1, '2025-08-13 14:47:01', '2025-08-13 14:47:02'),
(91, 44, 6, 94, 3, 'usado con detalles', NULL, NULL, 1, '2025-08-13 14:47:01', '2025-08-13 14:47:02'),
(92, 28, 36, 38, 2, 'nuevo', NULL, NULL, 1, '2025-08-13 14:47:01', '2025-08-13 14:47:02'),
(93, 10, 33, 5, 3, 'usado sin detalles', NULL, NULL, 1, '2025-08-13 14:47:01', '2025-08-13 14:47:02'),
(94, 24, 50, 143, 4, 'usado sin detalles', NULL, NULL, 1, '2025-08-13 14:47:01', '2025-08-13 14:47:02'),
(95, 46, 74, 18, 2, 'usado con detalles', NULL, NULL, 1, '2025-08-13 14:47:01', '2025-08-13 14:47:02'),
(96, 23, 81, 63, 2, 'usado con fallas', NULL, NULL, 1, '2025-08-13 14:47:01', '2025-08-13 14:47:02'),
(97, 37, 37, 43, 2, 'nuevo', NULL, NULL, 1, '2025-08-13 14:47:01', '2025-08-13 14:47:02'),
(98, 8, 67, 31, 3, 'usado sin detalles', NULL, NULL, 1, '2025-08-13 14:47:01', '2025-08-13 14:47:02'),
(99, 2, 63, 74, 4, 'usado sin detalles', NULL, NULL, 1, '2025-08-13 14:47:01', '2025-08-13 14:47:02'),
(100, 44, 86, 53, 1, 'usado con fallas', NULL, NULL, 1, '2025-08-13 14:47:01', '2025-08-13 14:47:02'),
(101, 50, 83, 18, 4, 'usado con detalles', NULL, NULL, 1, '2025-08-13 14:47:01', '2025-08-13 14:47:02'),
(102, 23, 49, 135, 3, 'usado sin detalles', NULL, NULL, 1, '2025-08-13 14:47:01', '2025-08-13 14:47:02'),
(103, 17, 66, 27, 3, 'usado con detalles', NULL, NULL, 1, '2025-08-13 14:47:01', '2025-08-13 14:47:02'),
(104, 23, 6, 122, 1, 'nuevo', NULL, NULL, 1, '2025-08-13 14:47:01', '2025-08-13 14:47:02'),
(105, 30, 1, 27, 4, 'usado sin detalles', NULL, NULL, 1, '2025-08-13 14:47:01', '2025-08-13 14:47:02'),
(106, 28, 91, 66, 3, 'usado con detalles', NULL, NULL, 1, '2025-08-13 14:47:01', '2025-08-13 14:47:02'),
(107, 45, 71, 31, 4, 'usado con fallas', NULL, NULL, 1, '2025-08-13 14:47:01', '2025-08-13 14:47:02'),
(108, 27, 97, 52, 3, 'usado con detalles', NULL, NULL, 1, '2025-08-13 14:47:01', '2025-08-13 14:47:02'),
(109, 22, 28, 55, 1, 'usado con detalles', NULL, NULL, 1, '2025-08-13 14:47:01', '2025-08-13 14:47:02'),
(110, 15, 77, 34, 3, 'nuevo', NULL, NULL, 1, '2025-08-13 14:47:01', '2025-08-13 14:47:02'),
(111, 17, 69, 100, 3, 'nuevo', NULL, NULL, 1, '2025-08-13 14:47:01', '2025-08-13 14:47:02'),
(112, 34, 7, 59, 1, 'usado con detalles', NULL, NULL, 1, '2025-08-13 14:47:01', '2025-08-13 14:47:02'),
(113, 32, 43, 11, 1, 'nuevo', NULL, NULL, 1, '2025-08-13 14:47:01', '2025-08-13 14:47:02'),
(114, 10, 36, 121, 3, 'usado con detalles', NULL, NULL, 1, '2025-08-13 14:47:01', '2025-08-13 14:47:02'),
(115, 4, 62, 88, 4, 'nuevo', NULL, NULL, 1, '2025-08-13 14:47:01', '2025-08-13 14:47:02'),
(116, 45, 38, 31, 2, 'usado con fallas', NULL, NULL, 1, '2025-08-13 14:47:01', '2025-08-13 14:47:02'),
(117, 48, 57, 99, 1, 'nuevo', NULL, NULL, 1, '2025-08-13 14:47:01', '2025-08-13 14:47:02'),
(118, 37, 15, 23, 4, 'usado sin detalles', NULL, NULL, 1, '2025-08-13 14:47:01', '2025-08-13 14:47:02'),
(119, 1, 91, 10, 2, 'nuevo', NULL, NULL, 1, '2025-08-13 14:47:01', '2025-08-13 14:47:02'),
(120, 29, 67, 87, 3, 'nuevo', NULL, NULL, 1, '2025-08-13 14:47:01', '2025-08-13 14:47:02'),
(121, 29, 53, 120, 1, 'usado sin detalles', NULL, NULL, 1, '2025-08-13 14:47:01', '2025-08-13 14:47:02'),
(122, 50, 86, 66, 3, 'nuevo', NULL, NULL, 1, '2025-08-13 14:47:01', '2025-08-13 14:47:02'),
(123, 20, 5, 8, 4, 'usado con detalles', NULL, NULL, 1, '2025-08-13 14:47:01', '2025-08-13 14:47:02'),
(124, 32, 76, 108, 2, 'usado con detalles', NULL, NULL, 1, '2025-08-13 14:47:01', '2025-08-13 14:47:02'),
(125, 41, 56, 17, 1, 'usado con fallas', NULL, NULL, 1, '2025-08-13 14:47:01', '2025-08-13 14:47:02'),
(126, 32, 78, 76, 2, 'usado sin detalles', NULL, NULL, 1, '2025-08-13 14:47:01', '2025-08-13 14:47:02'),
(127, 14, 86, 66, 3, 'nuevo', NULL, NULL, 1, '2025-08-13 14:47:01', '2025-08-13 14:47:02'),
(128, 33, 61, 123, 1, 'usado con detalles', NULL, NULL, 1, '2025-08-13 14:47:01', '2025-08-13 14:47:02'),
(129, 11, 66, 59, 2, 'usado con detalles', NULL, NULL, 1, '2025-08-13 14:47:01', '2025-08-13 14:47:02'),
(130, 22, 46, 59, 2, 'usado con detalles', NULL, NULL, 1, '2025-08-13 14:47:01', '2025-08-13 14:47:02'),
(131, 32, 28, 148, 3, 'usado con fallas', NULL, NULL, 1, '2025-08-13 14:47:01', '2025-08-13 14:47:02'),
(132, 7, 30, 51, 1, 'usado con fallas', NULL, NULL, 1, '2025-08-13 14:47:01', '2025-08-13 14:47:02'),
(133, 45, 57, 127, 1, 'usado con detalles', NULL, NULL, 1, '2025-08-13 14:47:01', '2025-08-13 14:47:02'),
(134, 38, 6, 136, 2, 'usado con detalles', NULL, NULL, 1, '2025-08-13 14:47:01', '2025-08-13 14:47:02'),
(135, 10, 36, 80, 1, 'usado con fallas', NULL, NULL, 1, '2025-08-13 14:47:01', '2025-08-13 14:47:02'),
(136, 4, 98, 42, 1, 'nuevo', NULL, NULL, 1, '2025-08-13 14:47:01', '2025-08-13 14:47:02'),
(137, 14, 1, 50, 2, 'usado con detalles', NULL, NULL, 1, '2025-08-13 14:47:01', '2025-08-13 14:47:02'),
(138, 11, 80, 5, 3, 'usado sin detalles', NULL, NULL, 1, '2025-08-13 14:47:01', '2025-08-13 14:47:02'),
(139, 45, 14, 63, 1, 'usado sin detalles', NULL, NULL, 1, '2025-08-13 14:47:02', '2025-08-13 14:47:02'),
(140, 39, 45, 70, 3, 'usado sin detalles', NULL, NULL, 1, '2025-08-13 14:47:02', '2025-08-13 14:47:02'),
(141, 7, 46, 126, 4, 'usado con fallas', NULL, NULL, 1, '2025-08-13 14:47:02', '2025-08-13 14:47:02'),
(142, 26, 34, 31, 1, 'usado con detalles', NULL, NULL, 1, '2025-08-13 14:47:02', '2025-08-13 14:47:02'),
(143, 32, 1, 11, 3, 'nuevo', NULL, NULL, 1, '2025-08-13 14:47:02', '2025-08-13 14:47:02'),
(144, 1, 51, 27, 3, 'usado con fallas', NULL, NULL, 1, '2025-08-13 14:47:02', '2025-08-13 14:47:02'),
(145, 2, 37, 27, 3, 'usado con fallas', NULL, NULL, 1, '2025-08-13 14:47:02', '2025-08-13 14:47:02'),
(146, 27, 24, 144, 4, 'nuevo', NULL, NULL, 1, '2025-08-13 14:47:02', '2025-08-13 14:47:02'),
(147, 22, 67, 49, 1, 'nuevo', NULL, NULL, 1, '2025-08-13 14:47:02', '2025-08-13 14:47:02'),
(148, 19, 16, 94, 1, 'usado sin detalles', NULL, NULL, 1, '2025-08-13 14:47:02', '2025-08-13 14:47:02'),
(149, 48, 85, 34, 3, 'usado con detalles', NULL, NULL, 1, '2025-08-13 14:47:02', '2025-08-13 14:47:02'),
(150, 17, 26, 75, 2, 'nuevo', NULL, NULL, 1, '2025-08-13 14:47:02', '2025-08-13 14:47:02'),
(151, 51, 43, 16, 1, ' ', NULL, NULL, 1, '2025-08-20 02:38:40', '2025-08-20 02:38:40'),
(152, 52, 90, 11, 4, ' ', NULL, NULL, 1, '2025-08-20 02:39:45', '2025-08-20 02:39:45'),
(153, 53, 10, 133, 1, ' ', NULL, NULL, 1, '2025-08-20 03:29:10', '2025-08-20 03:29:10'),
(154, 54, 74, 118, 1, ' ', NULL, NULL, 1, '2025-08-20 03:33:33', '2025-08-20 03:33:33'),
(155, 55, 74, 118, 2, ' ', NULL, NULL, 1, '2025-08-20 03:34:09', '2025-08-20 03:34:09'),
(156, 56, 60, 6, 12, ' ', NULL, NULL, 1, '2025-08-20 03:34:45', '2025-08-20 03:34:45');

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

--
-- Estructura de tabla para la tabla `htadevolucions`
--

CREATE TABLE `htadevolucions` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `folio` bigint(20) UNSIGNED NOT NULL,
  `htaentrega_id` bigint(20) UNSIGNED NOT NULL,
  `trabajador_id` bigint(20) UNSIGNED NOT NULL,
  `proyecto_id` bigint(20) UNSIGNED NOT NULL,
  `ingresado_por` bigint(20) UNSIGNED NOT NULL,
  `fecha_baja` date DEFAULT NULL,
  `baja_por` varchar(60) DEFAULT NULL,
  `estado` int(11) NOT NULL DEFAULT 1,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_spanish2_ci;

--
-- Volcado de datos para la tabla `htadevolucions`
--

INSERT INTO `htadevolucions` (`id`, `folio`, `htaentrega_id`, `trabajador_id`, `proyecto_id`, `ingresado_por`, `fecha_baja`, `baja_por`, `estado`, `created_at`, `updated_at`) VALUES
(1, 189, 1, 12, 3, 1, NULL, NULL, 1, '2025-08-13 14:47:01', '2025-08-13 14:47:01'),
(2, 159, 13, 45, 3, 1, NULL, NULL, 1, '2025-08-13 14:47:01', '2025-08-13 14:47:01'),
(3, 82, 1, 19, 1, 1, NULL, NULL, 1, '2025-08-13 14:47:01', '2025-08-13 14:47:01'),
(4, 195, 13, 36, 1, 12, '2025-08-20', 'admin', 0, '2025-08-13 14:47:01', '2025-08-21 02:50:14'),
(5, 78, 18, 35, 3, 1, NULL, NULL, 1, '2025-08-13 14:47:01', '2025-08-13 14:47:01'),
(6, 188, 19, 25, 2, 1, NULL, NULL, 1, '2025-08-13 14:47:01', '2025-08-13 14:47:01'),
(7, 149, 14, 41, 2, 1, NULL, NULL, 1, '2025-08-13 14:47:01', '2025-08-13 14:47:01'),
(8, 87, 4, 50, 2, 1, NULL, NULL, 1, '2025-08-13 14:47:01', '2025-08-13 14:47:01'),
(9, 66, 11, 47, 3, 1, NULL, NULL, 1, '2025-08-13 14:47:01', '2025-08-13 14:47:01'),
(10, 129, 14, 19, 3, 1, NULL, NULL, 1, '2025-08-13 14:47:01', '2025-08-13 14:47:01'),
(11, 12, 5, 54, 2, 1, NULL, NULL, 1, '2025-08-13 14:47:01', '2025-08-13 14:47:01'),
(12, 69, 5, 43, 2, 1, NULL, NULL, 1, '2025-08-13 14:47:01', '2025-08-13 14:47:01'),
(13, 11, 10, 29, 1, 1, NULL, NULL, 1, '2025-08-13 14:47:01', '2025-08-13 14:47:01'),
(14, 137, 12, 37, 2, 1, NULL, NULL, 1, '2025-08-13 14:47:01', '2025-08-13 14:47:01'),
(15, 145, 8, 37, 1, 1, NULL, NULL, 1, '2025-08-13 14:47:01', '2025-08-13 14:47:01'),
(16, 100, 3, 10, 2, 1, NULL, NULL, 1, '2025-08-13 14:47:01', '2025-08-13 14:47:01'),
(17, 119, 18, 38, 1, 1, NULL, NULL, 1, '2025-08-13 14:47:01', '2025-08-13 14:47:01'),
(18, 163, 6, 10, 1, 1, NULL, NULL, 1, '2025-08-13 14:47:01', '2025-08-13 14:47:01'),
(19, 95, 6, 2, 1, 1, NULL, NULL, 1, '2025-08-13 14:47:01', '2025-08-13 14:47:01'),
(20, 158, 7, 26, 3, 1, NULL, NULL, 1, '2025-08-13 14:47:01', '2025-08-13 14:47:01'),
(21, 186, 1, 49, 2, 1, NULL, NULL, 1, '2025-08-13 14:47:01', '2025-08-13 14:47:01'),
(22, 17, 4, 18, 1, 1, NULL, NULL, 1, '2025-08-13 14:47:01', '2025-08-13 14:47:01'),
(23, 107, 17, 3, 1, 1, NULL, NULL, 1, '2025-08-13 14:47:01', '2025-08-13 14:47:01'),
(24, 41, 9, 38, 1, 1, NULL, NULL, 1, '2025-08-13 14:47:01', '2025-08-13 14:47:01'),
(25, 180, 16, 43, 3, 1, NULL, NULL, 1, '2025-08-13 14:47:01', '2025-08-13 14:47:01'),
(26, 8, 17, 24, 2, 1, NULL, NULL, 1, '2025-08-13 14:47:01', '2025-08-13 14:47:01'),
(27, 90, 8, 58, 2, 1, NULL, NULL, 1, '2025-08-13 14:47:01', '2025-08-13 14:47:01'),
(28, 105, 5, 57, 2, 1, NULL, NULL, 1, '2025-08-13 14:47:01', '2025-08-13 14:47:01'),
(29, 152, 7, 8, 3, 1, NULL, NULL, 1, '2025-08-13 14:47:01', '2025-08-13 14:47:01'),
(30, 51, 10, 47, 1, 1, NULL, NULL, 1, '2025-08-13 14:47:01', '2025-08-13 14:47:01'),
(31, 165, 17, 58, 1, 1, NULL, NULL, 1, '2025-08-13 14:47:01', '2025-08-13 14:47:01'),
(32, 98, 20, 39, 1, 1, NULL, NULL, 1, '2025-08-13 14:47:01', '2025-08-13 14:47:01'),
(33, 15, 13, 15, 2, 1, NULL, NULL, 1, '2025-08-13 14:47:01', '2025-08-13 14:47:01'),
(34, 120, 10, 9, 3, 1, NULL, NULL, 1, '2025-08-13 14:47:01', '2025-08-13 14:47:01'),
(35, 168, 7, 38, 3, 1, NULL, NULL, 1, '2025-08-13 14:47:01', '2025-08-13 14:47:01'),
(36, 93, 11, 56, 3, 1, NULL, NULL, 1, '2025-08-13 14:47:01', '2025-08-13 14:47:01'),
(37, 138, 10, 37, 2, 1, NULL, NULL, 1, '2025-08-13 14:47:01', '2025-08-13 14:47:01'),
(38, 112, 5, 22, 1, 1, NULL, NULL, 1, '2025-08-13 14:47:01', '2025-08-13 14:47:01'),
(39, 4, 19, 35, 3, 1, NULL, NULL, 1, '2025-08-13 14:47:01', '2025-08-13 14:47:01'),
(40, 47, 5, 33, 2, 1, NULL, NULL, 1, '2025-08-13 14:47:01', '2025-08-13 14:47:01'),
(41, 182, 20, 3, 2, 1, NULL, NULL, 1, '2025-08-13 14:47:01', '2025-08-13 14:47:01'),
(42, 19, 7, 26, 2, 1, NULL, NULL, 1, '2025-08-13 14:47:01', '2025-08-13 14:47:01'),
(43, 144, 6, 20, 1, 1, NULL, NULL, 1, '2025-08-13 14:47:01', '2025-08-13 14:47:01'),
(44, 22, 12, 33, 2, 1, NULL, NULL, 1, '2025-08-13 14:47:01', '2025-08-13 14:47:01'),
(45, 135, 11, 10, 3, 1, NULL, NULL, 1, '2025-08-13 14:47:01', '2025-08-13 14:47:01'),
(46, 111, 19, 27, 3, 1, NULL, NULL, 1, '2025-08-13 14:47:01', '2025-08-13 14:47:01'),
(47, 198, 6, 31, 1, 1, NULL, NULL, 1, '2025-08-13 14:47:01', '2025-08-13 14:47:01'),
(48, 109, 12, 47, 1, 1, NULL, NULL, 1, '2025-08-13 14:47:01', '2025-08-13 14:47:01'),
(49, 74, 16, 5, 2, 1, NULL, NULL, 1, '2025-08-13 14:47:01', '2025-08-13 14:47:01'),
(50, 174, 2, 36, 3, 1, NULL, NULL, 1, '2025-08-13 14:47:01', '2025-08-13 14:47:01'),
(51, 51, 16, 14, 1, 1, NULL, NULL, 1, '2025-08-20 02:38:40', '2025-08-20 02:38:40'),
(52, 52, 18, 20, 2, 1, NULL, NULL, 1, '2025-08-20 02:39:45', '2025-08-20 02:39:45'),
(53, 53, 7, 12, 2, 1, NULL, NULL, 1, '2025-08-20 03:29:10', '2025-08-20 03:29:10'),
(54, 54, 2, 34, 2, 1, NULL, NULL, 1, '2025-08-20 03:33:33', '2025-08-20 03:33:33'),
(55, 55, 2, 34, 2, 1, NULL, NULL, 1, '2025-08-20 03:34:09', '2025-08-20 03:34:09'),
(56, 56, 2, 34, 2, 1, NULL, NULL, 1, '2025-08-20 03:34:45', '2025-08-20 03:34:45');

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

--
-- Estructura de tabla para la tabla `htaentregas`
--

CREATE TABLE `htaentregas` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `trabajador_id` bigint(20) UNSIGNED NOT NULL,
  `empresa_id` bigint(20) UNSIGNED NOT NULL,
  `proyecto_id` bigint(20) UNSIGNED DEFAULT NULL,
  `costo_total` bigint(20) DEFAULT NULL,
  `autorizado_por` varchar(60) DEFAULT NULL,
  `ingresado_por` bigint(20) UNSIGNED NOT NULL,
  `folio` bigint(20) UNSIGNED NOT NULL,
  `fecha_baja` date DEFAULT NULL,
  `baja_por` varchar(60) DEFAULT NULL,
  `estado` int(11) NOT NULL DEFAULT 1,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_spanish2_ci;

--
-- Volcado de datos para la tabla `htaentregas`
--

INSERT INTO `htaentregas` (`id`, `trabajador_id`, `empresa_id`, `proyecto_id`, `costo_total`, `autorizado_por`, `ingresado_por`, `folio`, `fecha_baja`, `baja_por`, `estado`, `created_at`, `updated_at`) VALUES
(1, 18, 1, 2, 12984, 'Josefa Tovar', 1, 136, NULL, NULL, 1, '2025-08-13 14:46:18', '2025-08-13 14:46:18'),
(2, 34, 1, 2, 49926, 'Mireia Quesada', 1, 34, NULL, NULL, 1, '2025-08-13 14:46:18', '2025-08-13 14:46:18'),
(3, 15, 1, 3, 46671, 'Lidia Guardado', 1, 157, NULL, NULL, 1, '2025-08-13 14:46:18', '2025-08-13 14:46:18'),
(4, 2, 1, 3, 45601, 'Alex Zaragoza', 1, 96, NULL, NULL, 1, '2025-08-13 14:46:18', '2025-08-13 14:46:18'),
(5, 10, 1, 3, 48261, 'César Galindo', 1, 137, NULL, NULL, 1, '2025-08-13 14:46:18', '2025-08-13 14:46:18'),
(6, 3, 1, 2, 29259, 'Iván Macias', 1, 27, NULL, NULL, 1, '2025-08-13 14:46:18', '2025-08-13 14:46:18'),
(7, 12, 1, 2, 32582, 'Arnau Archuleta', 1, 39, NULL, NULL, 1, '2025-08-13 14:46:18', '2025-08-13 14:46:18'),
(8, 7, 1, 3, 24709, 'Mar Escalante', 1, 142, NULL, NULL, 1, '2025-08-13 14:46:18', '2025-08-13 14:46:18'),
(9, 21, 1, 2, 30771, 'Clara Cuevas', 1, 84, NULL, NULL, 1, '2025-08-13 14:46:18', '2025-08-13 14:46:18'),
(10, 39, 1, 3, 44472, 'Francisca Cárdenas', 1, 141, NULL, NULL, 1, '2025-08-13 14:46:18', '2025-08-13 14:46:18'),
(11, 17, 1, 3, 15870, 'Ainara Martos', 1, 30, NULL, NULL, 1, '2025-08-13 14:46:18', '2025-08-13 14:46:18'),
(12, 57, 1, 3, 38461, 'Diego Valles', 1, 143, NULL, NULL, 1, '2025-08-13 14:46:18', '2025-08-13 14:46:18'),
(13, 16, 1, 3, 18484, 'Ángel Marcos', 1, 161, NULL, NULL, 1, '2025-08-13 14:46:18', '2025-08-13 14:46:18'),
(14, 51, 1, 2, 10335, 'Iván Lozada', 1, 158, NULL, NULL, 1, '2025-08-13 14:46:18', '2025-08-13 14:46:18'),
(15, 42, 1, 3, 22660, 'María Pilar Moreno', 1, 192, NULL, NULL, 1, '2025-08-13 14:46:18', '2025-08-13 14:46:18'),
(16, 14, 1, 1, 44989, 'Margarita Juárez', 1, 58, NULL, NULL, 1, '2025-08-13 14:46:18', '2025-08-13 14:46:18'),
(17, 1, 1, 1, 26514, 'Aitor Guerra', 1, 117, NULL, NULL, 1, '2025-08-13 14:46:18', '2025-08-13 14:46:18'),
(18, 20, 1, 2, 34357, 'Eric Pelayo', 1, 61, NULL, NULL, 1, '2025-08-13 14:46:18', '2025-08-13 14:46:18'),
(19, 20, 1, 2, 44621, 'Ana María Mares', 1, 168, NULL, NULL, 1, '2025-08-13 14:46:18', '2025-08-13 14:46:18'),
(20, 58, 1, 1, 26306, 'Jan Andreu', 1, 196, NULL, NULL, 1, '2025-08-13 14:46:18', '2025-08-13 14:46:18'),
(21, 34, 1, 3, 10004, NULL, 1, 197, NULL, NULL, 1, '2025-08-19 02:50:18', '2025-08-19 02:50:18'),
(22, 34, 1, 3, 3278, NULL, 1, 198, NULL, NULL, 1, '2025-08-19 02:58:42', '2025-08-19 02:58:42'),
(23, 34, 1, 3, 19236, NULL, 1, 199, '2025-08-20', 'admin', 0, '2025-08-20 00:32:31', '2025-08-21 02:49:52');

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

--
-- Estructura de tabla para la tabla `htaentregasitems`
--

CREATE TABLE `htaentregasitems` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `htaentrega_id` bigint(20) UNSIGNED NOT NULL,
  `herramienta_id` bigint(20) UNSIGNED NOT NULL,
  `cantidad` bigint(20) NOT NULL,
  `costo_unitario` bigint(20) NOT NULL,
  `fecha_final` date DEFAULT NULL,
  `condicion` varchar(120) DEFAULT NULL,
  `devuelto` int(11) NOT NULL DEFAULT 0,
  `fecha_baja` date DEFAULT NULL,
  `baja_por` varchar(60) DEFAULT NULL,
  `estado` int(11) NOT NULL DEFAULT 1,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_spanish2_ci;

--
-- Volcado de datos para la tabla `htaentregasitems`
--

INSERT INTO `htaentregasitems` (`id`, `htaentrega_id`, `herramienta_id`, `cantidad`, `costo_unitario`, `fecha_final`, `condicion`, `devuelto`, `fecha_baja`, `baja_por`, `estado`, `created_at`, `updated_at`) VALUES
(1, 20, 85, 6, 29801, '2025-10-01', 'usado con detalles', 0, NULL, NULL, 1, '2025-08-13 14:46:19', '2025-08-13 14:46:19'),
(2, 2, 81, 3, 39901, '2025-09-01', 'nuevo', 1, NULL, NULL, 1, '2025-08-13 14:46:19', '2025-08-13 14:46:19'),
(3, 16, 20, 3, 8192, '2025-08-06', 'usado sin detalles', 0, NULL, NULL, 1, '2025-08-13 14:46:19', '2025-08-13 14:46:19'),
(4, 3, 22, 5, 7155, '2025-08-27', 'usado sin detalles', 1, NULL, NULL, 1, '2025-08-13 14:46:19', '2025-08-13 14:46:19'),
(5, 13, 62, 4, 25481, '2025-09-03', 'nuevo', 2, NULL, NULL, 1, '2025-08-13 14:46:19', '2025-08-13 14:46:19'),
(6, 2, 60, 3, 9552, '2025-09-04', 'usado con fallas', 1, NULL, NULL, 1, '2025-08-13 14:46:19', '2025-08-20 03:34:45'),
(7, 13, 56, 4, 48957, '2025-09-21', 'usado con fallas', 2, NULL, NULL, 1, '2025-08-13 14:46:19', '2025-08-13 14:46:19'),
(8, 14, 69, 4, 21637, '2025-08-01', 'usado sin detalles', 2, NULL, NULL, 1, '2025-08-13 14:46:19', '2025-08-13 14:46:19'),
(9, 11, 69, 4, 19717, '2025-08-27', 'usado sin detalles', 0, NULL, NULL, 1, '2025-08-13 14:46:19', '2025-08-13 14:46:19'),
(10, 6, 24, 5, 15173, '2025-09-10', 'usado sin detalles', 1, NULL, NULL, 1, '2025-08-13 14:46:19', '2025-08-13 14:46:19'),
(11, 18, 90, 3, 35270, '2025-08-18', 'usado sin detalles', 5, NULL, NULL, 1, '2025-08-13 14:46:19', '2025-08-20 02:39:45'),
(12, 18, 87, 3, 27624, '2025-09-11', 'usado sin detalles', 2, NULL, NULL, 1, '2025-08-13 14:46:19', '2025-08-13 14:46:19'),
(13, 8, 21, 3, 48315, '2025-08-31', 'nuevo', 2, NULL, NULL, 1, '2025-08-13 14:46:19', '2025-08-13 14:46:19'),
(14, 12, 36, 4, 24529, '2025-08-22', 'nuevo', 2, NULL, NULL, 1, '2025-08-13 14:46:19', '2025-08-13 14:46:19'),
(15, 7, 72, 6, 31639, '2025-08-05', 'usado con fallas', 2, NULL, NULL, 1, '2025-08-13 14:46:19', '2025-08-13 14:46:19'),
(16, 16, 43, 6, 28881, '2025-07-31', 'usado con fallas', 2, NULL, NULL, 1, '2025-08-13 14:46:19', '2025-08-20 02:38:40'),
(17, 5, 4, 4, 48722, '2025-09-20', 'usado con fallas', 0, NULL, NULL, 1, '2025-08-13 14:46:19', '2025-08-13 14:46:19'),
(18, 14, 15, 5, 36953, '2025-09-19', 'usado sin detalles', 1, NULL, NULL, 1, '2025-08-13 14:46:19', '2025-08-13 14:46:19'),
(19, 2, 30, 4, 8744, '2025-08-17', 'nuevo', 1, NULL, NULL, 1, '2025-08-13 14:46:19', '2025-08-13 14:46:19'),
(20, 9, 6, 6, 6104, '2025-10-02', 'usado con fallas', 2, NULL, NULL, 1, '2025-08-13 14:46:19', '2025-08-13 14:46:19'),
(21, 18, 1, 6, 19702, '2025-08-17', 'nuevo', 1, NULL, NULL, 1, '2025-08-13 14:46:19', '2025-08-13 14:46:19'),
(22, 16, 12, 3, 23124, '2025-09-14', 'nuevo', 1, NULL, NULL, 1, '2025-08-13 14:46:19', '2025-08-13 14:46:19'),
(23, 8, 29, 3, 45609, '2025-09-28', 'usado sin detalles', 1, NULL, NULL, 1, '2025-08-13 14:46:19', '2025-08-13 14:46:19'),
(24, 14, 80, 4, 27713, '2025-08-28', 'nuevo', 2, NULL, NULL, 1, '2025-08-13 14:46:19', '2025-08-13 14:46:19'),
(25, 14, 20, 4, 13795, '2025-10-09', 'usado sin detalles', 1, NULL, NULL, 1, '2025-08-13 14:46:19', '2025-08-13 14:46:19'),
(26, 8, 4, 3, 35170, '2025-08-08', 'nuevo', 0, NULL, NULL, 1, '2025-08-13 14:46:19', '2025-08-13 14:46:19'),
(27, 20, 78, 6, 38940, '2025-10-11', 'usado sin detalles', 0, NULL, NULL, 1, '2025-08-13 14:46:19', '2025-08-13 14:46:19'),
(28, 13, 68, 6, 9962, '2025-08-20', 'usado sin detalles', 1, NULL, NULL, 1, '2025-08-13 14:46:19', '2025-08-13 14:46:19'),
(29, 5, 12, 5, 3399, '2025-09-23', 'usado con detalles', 2, NULL, NULL, 1, '2025-08-13 14:46:19', '2025-08-13 14:46:19'),
(30, 2, 30, 4, 45020, '2025-08-31', 'usado sin detalles', 2, NULL, NULL, 1, '2025-08-13 14:46:19', '2025-08-13 14:46:19'),
(31, 8, 25, 5, 18199, '2025-09-24', 'usado con detalles', 1, NULL, NULL, 1, '2025-08-13 14:46:19', '2025-08-13 14:46:19'),
(32, 16, 41, 3, 28810, '2025-08-29', 'nuevo', 1, NULL, NULL, 1, '2025-08-13 14:46:19', '2025-08-13 14:46:19'),
(33, 9, 2, 4, 36245, '2025-08-31', 'usado con detalles', 1, NULL, NULL, 1, '2025-08-13 14:46:19', '2025-08-13 14:46:19'),
(34, 18, 8, 6, 16377, '2025-08-07', 'nuevo', 2, NULL, NULL, 1, '2025-08-13 14:46:19', '2025-08-13 14:46:19'),
(35, 10, 36, 6, 26242, '2025-09-28', 'usado sin detalles', 0, NULL, NULL, 1, '2025-08-13 14:46:19', '2025-08-13 14:46:19'),
(36, 2, 42, 5, 35331, '2025-09-30', 'usado con fallas', 2, NULL, NULL, 1, '2025-08-13 14:46:19', '2025-08-13 14:46:19'),
(37, 1, 32, 4, 3798, '2025-09-08', 'nuevo', 1, NULL, NULL, 1, '2025-08-13 14:46:19', '2025-08-13 14:46:19'),
(38, 5, 37, 5, 4093, '2025-08-05', 'nuevo', 0, NULL, NULL, 1, '2025-08-13 14:46:19', '2025-08-13 14:46:19'),
(39, 17, 42, 3, 10731, '2025-09-16', 'usado con detalles', 1, NULL, NULL, 1, '2025-08-13 14:46:19', '2025-08-13 14:46:19'),
(40, 15, 99, 5, 18837, '2025-10-06', 'usado sin detalles', 2, NULL, NULL, 1, '2025-08-13 14:46:19', '2025-08-13 14:46:19'),
(41, 19, 78, 5, 48063, '2025-08-12', 'usado sin detalles', 2, NULL, NULL, 1, '2025-08-13 14:46:19', '2025-08-13 14:46:19'),
(42, 16, 66, 5, 31038, '2025-09-21', 'usado sin detalles', 1, NULL, NULL, 1, '2025-08-13 14:46:19', '2025-08-13 14:46:19'),
(43, 13, 69, 3, 18513, '2025-09-13', 'usado con fallas', 2, NULL, NULL, 1, '2025-08-13 14:46:19', '2025-08-13 14:46:19'),
(44, 12, 72, 6, 3730, '2025-09-11', 'nuevo', 2, NULL, NULL, 1, '2025-08-13 14:46:19', '2025-08-13 14:46:19'),
(45, 9, 80, 4, 26917, '2025-09-17', 'nuevo', 1, NULL, NULL, 1, '2025-08-13 14:46:19', '2025-08-13 14:46:19'),
(46, 1, 18, 3, 40776, '2025-08-18', 'usado con detalles', 1, NULL, NULL, 1, '2025-08-13 14:46:19', '2025-08-13 14:46:19'),
(47, 4, 14, 6, 5835, '2025-09-29', 'nuevo', 2, NULL, NULL, 1, '2025-08-13 14:46:19', '2025-08-13 14:46:19'),
(48, 3, 81, 5, 17629, '2025-10-08', 'usado con detalles', 0, NULL, NULL, 1, '2025-08-13 14:46:19', '2025-08-13 14:46:19'),
(49, 5, 46, 5, 8412, '2025-08-02', 'usado con detalles', 0, NULL, NULL, 1, '2025-08-13 14:46:19', '2025-08-13 14:46:19'),
(50, 6, 50, 6, 49200, '2025-08-28', 'nuevo', 0, NULL, NULL, 1, '2025-08-13 14:46:19', '2025-08-13 14:46:19'),
(51, 7, 6, 5, 33891, '2025-10-02', 'usado sin detalles', 0, NULL, NULL, 1, '2025-08-13 14:46:19', '2025-08-13 14:46:19'),
(52, 15, 44, 4, 6561, '2025-10-08', 'usado con fallas', 0, NULL, NULL, 1, '2025-08-13 14:46:19', '2025-08-13 14:46:19'),
(53, 19, 11, 5, 3025, '2025-09-04', 'usado con detalles', 2, NULL, NULL, 1, '2025-08-13 14:46:19', '2025-08-13 14:46:19'),
(54, 7, 59, 3, 30995, '2025-07-31', 'usado sin detalles', 2, NULL, NULL, 1, '2025-08-13 14:46:19', '2025-08-13 14:46:19'),
(55, 14, 83, 5, 43459, '2025-10-08', 'usado con detalles', 1, NULL, NULL, 1, '2025-08-13 14:46:19', '2025-08-13 14:46:19'),
(56, 9, 19, 6, 22839, '2025-09-11', 'usado con fallas', 1, NULL, NULL, 1, '2025-08-13 14:46:19', '2025-08-13 14:46:19'),
(57, 8, 79, 3, 12053, '2025-10-02', 'usado sin detalles', 2, NULL, NULL, 1, '2025-08-13 14:46:19', '2025-08-13 14:46:19'),
(58, 2, 68, 3, 28061, '2025-07-31', 'usado con fallas', 0, NULL, NULL, 1, '2025-08-13 14:46:19', '2025-08-13 14:46:19'),
(59, 7, 60, 6, 32277, '2025-09-01', 'nuevo', 2, NULL, NULL, 1, '2025-08-13 14:46:19', '2025-08-13 14:46:19'),
(60, 5, 15, 4, 40045, '2025-09-04', 'nuevo', 0, NULL, NULL, 1, '2025-08-13 14:46:19', '2025-08-13 14:46:19'),
(61, 5, 15, 6, 13937, '2025-09-30', 'usado con detalles', 0, NULL, NULL, 1, '2025-08-13 14:46:19', '2025-08-13 14:46:19'),
(62, 7, 51, 5, 22304, '2025-09-12', 'usado con fallas', 2, NULL, NULL, 1, '2025-08-13 14:46:19', '2025-08-13 14:46:19'),
(63, 12, 46, 3, 45242, '2025-09-16', 'nuevo', 0, NULL, NULL, 1, '2025-08-13 14:46:19', '2025-08-13 14:46:19'),
(64, 6, 100, 4, 24550, '2025-08-03', 'usado con detalles', 1, NULL, NULL, 1, '2025-08-13 14:46:19', '2025-08-13 14:46:19'),
(65, 14, 79, 4, 27707, '2025-09-13', 'usado con fallas', 2, NULL, NULL, 1, '2025-08-13 14:46:19', '2025-08-13 14:46:19'),
(66, 13, 38, 5, 3563, '2025-09-02', 'usado sin detalles', 1, NULL, NULL, 1, '2025-08-13 14:46:19', '2025-08-13 14:46:19'),
(67, 2, 97, 6, 11072, '2025-09-28', 'usado sin detalles', 0, NULL, NULL, 1, '2025-08-13 14:46:19', '2025-08-13 14:46:19'),
(68, 13, 10, 6, 6857, '2025-10-06', 'nuevo', 2, NULL, NULL, 1, '2025-08-13 14:46:19', '2025-08-13 14:46:19'),
(69, 12, 9, 3, 10762, '2025-08-01', 'usado con fallas', 0, NULL, NULL, 1, '2025-08-13 14:46:19', '2025-08-13 14:46:19'),
(70, 17, 89, 4, 39102, '2025-09-30', 'usado con detalles', 2, NULL, NULL, 1, '2025-08-13 14:46:19', '2025-08-13 14:46:19'),
(71, 5, 36, 4, 21551, '2025-08-01', 'nuevo', 2, NULL, NULL, 1, '2025-08-13 14:46:19', '2025-08-13 14:46:19'),
(72, 17, 81, 4, 13146, '2025-10-11', 'usado con detalles', 0, NULL, NULL, 1, '2025-08-13 14:46:19', '2025-08-13 14:46:19'),
(73, 8, 72, 3, 17370, '2025-10-03', 'usado con detalles', 2, NULL, NULL, 1, '2025-08-13 14:46:19', '2025-08-13 14:46:19'),
(74, 14, 63, 6, 47842, '2025-09-11', 'usado con fallas', 0, NULL, NULL, 1, '2025-08-13 14:46:19', '2025-08-13 14:46:19'),
(75, 18, 45, 3, 44701, '2025-09-18', 'nuevo', 0, NULL, NULL, 1, '2025-08-13 14:46:19', '2025-08-13 14:46:19'),
(76, 4, 94, 6, 8178, '2025-09-06', 'usado con detalles', 1, NULL, NULL, 1, '2025-08-13 14:46:19', '2025-08-13 14:46:19'),
(77, 13, 95, 5, 22754, '2025-08-23', 'nuevo', 1, NULL, NULL, 1, '2025-08-13 14:46:19', '2025-08-13 14:46:19'),
(78, 10, 94, 4, 49848, '2025-09-01', 'usado con fallas', 2, NULL, NULL, 1, '2025-08-13 14:46:19', '2025-08-13 14:46:19'),
(79, 9, 96, 5, 30404, '2025-10-07', 'usado con fallas', 1, NULL, NULL, 1, '2025-08-13 14:46:19', '2025-08-13 14:46:19'),
(80, 16, 9, 4, 49184, '2025-09-21', 'usado sin detalles', 1, NULL, NULL, 1, '2025-08-13 14:46:19', '2025-08-13 14:46:19'),
(81, 4, 26, 4, 34152, '2025-08-13', 'usado sin detalles', 2, NULL, NULL, 1, '2025-08-13 14:46:19', '2025-08-13 14:46:19'),
(82, 3, 90, 6, 5795, '2025-08-10', 'usado con detalles', 1, NULL, NULL, 1, '2025-08-13 14:46:19', '2025-08-13 14:46:19'),
(83, 5, 90, 5, 27033, '2025-09-03', 'usado con fallas', 1, NULL, NULL, 1, '2025-08-13 14:46:19', '2025-08-13 14:46:19'),
(84, 2, 53, 4, 46530, '2025-08-14', 'usado con detalles', 1, NULL, NULL, 1, '2025-08-13 14:46:19', '2025-08-13 14:46:19'),
(85, 11, 29, 4, 19378, '2025-09-07', 'usado con detalles', 2, NULL, NULL, 1, '2025-08-13 14:46:19', '2025-08-13 14:46:19'),
(86, 1, 94, 3, 47970, '2025-08-27', 'usado con fallas', 1, NULL, NULL, 1, '2025-08-13 14:46:19', '2025-08-13 14:46:19'),
(87, 1, 85, 4, 6627, '2025-09-14', 'usado sin detalles', 2, NULL, NULL, 1, '2025-08-13 14:46:19', '2025-08-13 14:46:19'),
(88, 9, 41, 6, 20799, '2025-10-08', 'usado sin detalles', 1, NULL, NULL, 1, '2025-08-13 14:46:19', '2025-08-13 14:46:19'),
(89, 14, 36, 4, 27519, '2025-08-12', 'nuevo', 0, NULL, NULL, 1, '2025-08-13 14:46:19', '2025-08-13 14:46:19'),
(90, 8, 55, 4, 7949, '2025-09-16', 'usado sin detalles', 1, NULL, NULL, 1, '2025-08-13 14:46:19', '2025-08-13 14:46:19'),
(91, 12, 13, 6, 10545, '2025-10-02', 'usado con detalles', 1, NULL, NULL, 1, '2025-08-13 14:46:19', '2025-08-13 14:46:19'),
(92, 15, 85, 3, 4559, '2025-09-10', 'usado sin detalles', 1, NULL, NULL, 1, '2025-08-13 14:46:19', '2025-08-13 14:46:19'),
(93, 1, 4, 4, 3360, '2025-09-05', 'usado con detalles', 1, NULL, NULL, 1, '2025-08-13 14:46:19', '2025-08-13 14:46:19'),
(94, 12, 63, 6, 27713, '2025-10-12', 'nuevo', 2, NULL, NULL, 1, '2025-08-13 14:46:19', '2025-08-13 14:46:19'),
(95, 7, 96, 3, 27232, '2025-09-21', 'usado con fallas', 0, NULL, NULL, 1, '2025-08-13 14:46:19', '2025-08-13 14:46:19'),
(96, 8, 60, 6, 41919, '2025-09-15', 'usado con fallas', 1, NULL, NULL, 1, '2025-08-13 14:46:19', '2025-08-13 14:46:19'),
(97, 1, 35, 5, 49649, '2025-09-29', 'nuevo', 2, NULL, NULL, 1, '2025-08-13 14:46:19', '2025-08-13 14:46:19'),
(98, 13, 83, 6, 17041, '2025-08-03', 'usado con detalles', 1, NULL, NULL, 1, '2025-08-13 14:46:19', '2025-08-13 14:46:19'),
(99, 1, 2, 3, 43953, '2025-10-09', 'usado con fallas', 2, NULL, NULL, 1, '2025-08-13 14:46:19', '2025-08-13 14:46:19'),
(100, 18, 82, 5, 31841, '2025-09-23', 'usado con fallas', 2, NULL, NULL, 1, '2025-08-13 14:46:19', '2025-08-13 14:46:19'),
(101, 13, 1, 6, 14295, '2025-10-10', 'nuevo', 0, NULL, NULL, 1, '2025-08-13 14:46:19', '2025-08-13 14:46:19'),
(102, 15, 9, 6, 13335, '2025-10-01', 'usado con detalles', 0, NULL, NULL, 1, '2025-08-13 14:46:19', '2025-08-13 14:46:19'),
(103, 2, 64, 3, 19385, '2025-08-01', 'nuevo', 2, NULL, NULL, 1, '2025-08-13 14:46:19', '2025-08-13 14:46:19'),
(104, 4, 17, 6, 15418, '2025-08-27', 'usado con detalles', 0, NULL, NULL, 1, '2025-08-13 14:46:19', '2025-08-13 14:46:19'),
(105, 19, 48, 4, 16103, '2025-08-09', 'usado con fallas', 1, NULL, NULL, 1, '2025-08-13 14:46:19', '2025-08-13 14:46:19'),
(106, 19, 61, 4, 20141, '2025-09-14', 'nuevo', 2, NULL, NULL, 1, '2025-08-13 14:46:19', '2025-08-13 14:46:19'),
(107, 16, 19, 5, 15402, '2025-09-03', 'nuevo', 1, NULL, NULL, 1, '2025-08-13 14:46:19', '2025-08-13 14:46:19'),
(108, 5, 58, 3, 5960, '2025-10-06', 'usado sin detalles', 0, NULL, NULL, 1, '2025-08-13 14:46:19', '2025-08-13 14:46:19'),
(109, 16, 33, 6, 12698, '2025-09-18', 'usado con detalles', 2, NULL, NULL, 1, '2025-08-13 14:46:19', '2025-08-13 14:46:19'),
(110, 12, 45, 6, 37046, '2025-08-30', 'usado con fallas', 0, NULL, NULL, 1, '2025-08-13 14:46:19', '2025-08-13 14:46:19'),
(111, 15, 66, 3, 43090, '2025-08-10', 'usado con detalles', 0, NULL, NULL, 1, '2025-08-13 14:46:19', '2025-08-13 14:46:19'),
(112, 10, 66, 6, 29518, '2025-08-14', 'usado sin detalles', 1, NULL, NULL, 1, '2025-08-13 14:46:19', '2025-08-13 14:46:19'),
(113, 14, 83, 5, 48888, '2025-08-09', 'usado con fallas', 1, NULL, NULL, 1, '2025-08-13 14:46:19', '2025-08-13 14:46:19'),
(114, 8, 54, 3, 17570, '2025-09-18', 'usado con detalles', 1, NULL, NULL, 1, '2025-08-13 14:46:19', '2025-08-13 14:46:19'),
(115, 13, 64, 6, 49978, '2025-08-18', 'nuevo', 0, NULL, NULL, 1, '2025-08-13 14:46:19', '2025-08-13 14:46:19'),
(116, 19, 54, 6, 20460, '2025-09-20', 'usado con detalles', 0, NULL, NULL, 1, '2025-08-13 14:46:19', '2025-08-13 14:46:19'),
(117, 12, 94, 6, 5346, '2025-08-10', 'usado con detalles', 2, NULL, NULL, 1, '2025-08-13 14:46:19', '2025-08-13 14:46:19'),
(118, 2, 74, 3, 47978, '2025-08-01', 'usado sin detalles', 3, NULL, NULL, 1, '2025-08-13 14:46:19', '2025-08-20 03:34:09'),
(119, 9, 26, 4, 6196, '2025-08-31', 'usado con detalles', 2, NULL, NULL, 1, '2025-08-13 14:46:19', '2025-08-13 14:46:19'),
(120, 3, 12, 4, 6849, '2025-07-31', 'usado con detalles', 1, NULL, NULL, 1, '2025-08-13 14:46:19', '2025-08-13 14:46:19'),
(121, 18, 86, 5, 39883, '2025-09-16', 'nuevo', 1, NULL, NULL, 1, '2025-08-13 14:46:19', '2025-08-13 14:46:19'),
(122, 10, 52, 4, 23964, '2025-10-08', 'nuevo', 2, NULL, NULL, 1, '2025-08-13 14:46:19', '2025-08-13 14:46:19'),
(123, 11, 17, 5, 44226, '2025-09-24', 'nuevo', 1, NULL, NULL, 1, '2025-08-13 14:46:19', '2025-08-13 14:46:19'),
(124, 17, 92, 6, 19639, '2025-10-05', 'usado con detalles', 1, NULL, NULL, 1, '2025-08-13 14:46:19', '2025-08-13 14:46:19'),
(125, 3, 14, 4, 47198, '2025-09-09', 'nuevo', 2, NULL, NULL, 1, '2025-08-13 14:46:19', '2025-08-13 14:46:19'),
(126, 4, 74, 6, 5794, '2025-09-07', 'nuevo', 1, NULL, NULL, 1, '2025-08-13 14:46:19', '2025-08-13 14:46:19'),
(127, 14, 62, 5, 13398, '2025-08-30', 'usado con fallas', 1, NULL, NULL, 1, '2025-08-13 14:46:19', '2025-08-13 14:46:19'),
(128, 7, 29, 6, 17872, '2025-09-02', 'nuevo', 1, NULL, NULL, 1, '2025-08-13 14:46:19', '2025-08-13 14:46:19'),
(129, 18, 62, 6, 15099, '2025-08-01', 'nuevo', 2, NULL, NULL, 1, '2025-08-13 14:46:19', '2025-08-13 14:46:19'),
(130, 1, 32, 6, 5163, '2025-08-09', 'nuevo', 2, NULL, NULL, 1, '2025-08-13 14:46:19', '2025-08-13 14:46:19'),
(131, 20, 96, 5, 23987, '2025-09-11', 'nuevo', 0, NULL, NULL, 1, '2025-08-13 14:46:19', '2025-08-13 14:46:19'),
(132, 19, 85, 5, 14922, '2025-08-21', 'nuevo', 0, NULL, NULL, 1, '2025-08-13 14:46:19', '2025-08-13 14:46:19'),
(133, 7, 10, 6, 13826, '2025-08-15', 'usado sin detalles', 1, NULL, NULL, 1, '2025-08-13 14:46:19', '2025-08-20 03:29:10'),
(134, 9, 91, 6, 13000, '2025-08-08', 'usado con detalles', 0, NULL, NULL, 1, '2025-08-13 14:46:19', '2025-08-13 14:46:19'),
(135, 4, 96, 5, 30591, '2025-09-12', 'nuevo', 0, NULL, NULL, 1, '2025-08-13 14:46:19', '2025-08-13 14:46:19'),
(136, 17, 27, 3, 30232, '2025-10-01', 'usado con detalles', 0, NULL, NULL, 1, '2025-08-13 14:46:19', '2025-08-13 14:46:19'),
(137, 19, 51, 4, 4697, '2025-08-08', 'usado con fallas', 2, NULL, NULL, 1, '2025-08-13 14:46:19', '2025-08-13 14:46:19'),
(138, 2, 82, 3, 16541, '2025-08-01', 'usado sin detalles', 2, NULL, NULL, 1, '2025-08-13 14:46:19', '2025-08-13 14:46:19'),
(139, 7, 82, 3, 18656, '2025-09-06', 'usado sin detalles', 2, NULL, NULL, 1, '2025-08-13 14:46:19', '2025-08-13 14:46:19'),
(140, 2, 3, 4, 39918, '2025-09-07', 'usado con detalles', 2, NULL, NULL, 1, '2025-08-13 14:46:19', '2025-08-13 14:46:19'),
(141, 19, 73, 5, 42268, '2025-09-04', 'usado sin detalles', 2, NULL, NULL, 1, '2025-08-13 14:46:19', '2025-08-13 14:46:19'),
(142, 1, 97, 6, 7508, '2025-09-16', 'usado con detalles', 0, NULL, NULL, 1, '2025-08-13 14:46:19', '2025-08-13 14:46:19'),
(143, 18, 3, 4, 44184, '2025-09-03', 'usado con detalles', 1, NULL, NULL, 1, '2025-08-13 14:46:19', '2025-08-13 14:46:19'),
(144, 19, 58, 5, 37243, '2025-08-01', 'nuevo', 2, NULL, NULL, 1, '2025-08-13 14:46:19', '2025-08-13 14:46:19'),
(145, 19, 66, 5, 21655, '2025-08-14', 'usado con detalles', 2, NULL, NULL, 1, '2025-08-13 14:46:19', '2025-08-13 14:46:19'),
(146, 4, 71, 5, 10258, '2025-09-09', 'nuevo', 2, NULL, NULL, 1, '2025-08-13 14:46:19', '2025-08-13 14:46:19'),
(147, 14, 85, 6, 25786, '2025-09-02', 'usado con fallas', 2, NULL, NULL, 1, '2025-08-13 14:46:19', '2025-08-13 14:46:19'),
(148, 17, 68, 3, 6365, '2025-08-28', 'usado con fallas', 0, NULL, NULL, 1, '2025-08-13 14:46:19', '2025-08-13 14:46:19'),
(149, 18, 53, 5, 34610, '2025-10-09', 'usado sin detalles', 2, NULL, NULL, 1, '2025-08-13 14:46:19', '2025-08-13 14:46:19'),
(150, 10, 96, 5, 6269, '2025-09-24', 'usado con detalles', 2, NULL, NULL, 1, '2025-08-13 14:46:19', '2025-08-13 14:46:19'),
(151, 21, 7, 2, 5002, '2025-08-27', 'Usado', 0, NULL, NULL, 1, '2025-08-19 02:50:18', '2025-08-19 02:50:18'),
(152, 22, 76, 1, 3278, NULL, 'Usado', 0, NULL, NULL, 1, '2025-08-19 02:58:42', '2025-08-19 02:58:42'),
(153, 23, 72, 2, 9618, NULL, 'Usado', 0, NULL, NULL, 1, '2025-08-20 00:32:31', '2025-08-20 00:32:31');

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

--
-- Estructura de tabla para la tabla `jobs`
--

CREATE TABLE `jobs` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `queue` varchar(255) NOT NULL,
  `payload` longtext NOT NULL,
  `attempts` tinyint(3) UNSIGNED NOT NULL,
  `reserved_at` int(10) UNSIGNED DEFAULT NULL,
  `available_at` int(10) UNSIGNED NOT NULL,
  `created_at` int(10) UNSIGNED NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_spanish2_ci;

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

--
-- Estructura de tabla para la tabla `job_batches`
--

CREATE TABLE `job_batches` (
  `id` varchar(255) NOT NULL,
  `name` varchar(255) NOT NULL,
  `total_jobs` int(11) NOT NULL,
  `pending_jobs` int(11) NOT NULL,
  `failed_jobs` int(11) NOT NULL,
  `failed_job_ids` longtext NOT NULL,
  `options` mediumtext DEFAULT NULL,
  `cancelled_at` int(11) DEFAULT NULL,
  `created_at` int(11) NOT NULL,
  `finished_at` int(11) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_spanish2_ci;

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

--
-- Estructura de tabla para la tabla `languages`
--

CREATE TABLE `languages` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `code` char(2) NOT NULL,
  `name` varchar(255) NOT NULL,
  `name_native` varchar(255) NOT NULL,
  `dir` char(3) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_spanish2_ci;

--
-- Volcado de datos para la tabla `languages`
--

INSERT INTO `languages` (`id`, `code`, `name`, `name_native`, `dir`) VALUES
(1, 'ab', 'Abkhazian', 'аҧсуа', 'ltr'),
(2, 'aa', 'Afar', 'Afaraf', 'ltr'),
(3, 'af', 'Afrikaans', 'Afrikaans', 'ltr'),
(4, 'ak', 'Akan', 'Akan', 'ltr'),
(5, 'sq', 'Albanian', 'Shqip', 'ltr'),
(6, 'am', 'Amharic', 'አማርኛ', 'ltr'),
(7, 'ar', 'Arabic', 'العربية', 'rtl'),
(8, 'an', 'Aragonese', 'Aragonés', 'ltr'),
(9, 'hy', 'Armenian', 'Հայերեն', 'ltr'),
(10, 'as', 'Assamese', 'অসমীয়া', 'ltr'),
(11, 'av', 'Avaric', 'авар мацӀ, магӀарул мацӀ', 'ltr'),
(12, 'ae', 'Avestan', 'avesta', 'ltr'),
(13, 'ay', 'Aymara', 'aymar aru', 'ltr'),
(14, 'az', 'Azerbaijani', 'azərbaycan dili', 'ltr'),
(15, 'bm', 'Bambara', 'bamanankan', 'ltr'),
(16, 'ba', 'Bashkir', 'башҡорт теле', 'ltr'),
(17, 'eu', 'Basque', 'euskara, euskera', 'ltr'),
(18, 'be', 'Belarusian', 'Беларуская', 'ltr'),
(19, 'bn', 'Bengali', 'বাংলা', 'ltr'),
(20, 'bh', 'Bihari', 'भोजपुरी', 'ltr'),
(21, 'bi', 'Bislama', 'Bislama', 'ltr'),
(22, 'bs', 'Bosnian', 'bosanski jezik', 'ltr'),
(23, 'br', 'Breton', 'brezhoneg', 'ltr'),
(24, 'bg', 'Bulgarian', 'български език', 'ltr'),
(25, 'my', 'Burmese', 'ဗမာစာ', 'ltr'),
(26, 'ca', 'Catalan; Valencian', 'Català', 'ltr'),
(27, 'ch', 'Chamorro', 'Chamoru', 'ltr'),
(28, 'ce', 'Chechen', 'нохчийн мотт', 'ltr'),
(29, 'ny', 'Chichewa; Chewa; Nyanja', 'chiCheŵa, chinyanja', 'ltr'),
(30, 'zh', 'Chinese', '中文 (Zhōngwén), 汉语, 漢語', 'ltr'),
(31, 'cv', 'Chuvash', 'чӑваш чӗлхи', 'ltr'),
(32, 'kw', 'Cornish', 'Kernewek', 'ltr'),
(33, 'co', 'Corsican', 'corsu, lingua corsa', 'ltr'),
(34, 'cr', 'Cree', 'ᓀᐦᐃᔭᐍᐏᐣ', 'ltr'),
(35, 'hr', 'Croatian', 'hrvatski', 'ltr'),
(36, 'cs', 'Czech', 'česky, čeština', 'ltr'),
(37, 'da', 'Danish', 'dansk', 'ltr'),
(38, 'dv', 'Divehi; Dhivehi; Maldivian;', 'ދިވެހި', 'rtl'),
(39, 'nl', 'Dutch', 'Nederlands, Vlaams', 'ltr'),
(40, 'en', 'English', 'English', 'ltr'),
(41, 'eo', 'Esperanto', 'Esperanto', 'ltr'),
(42, 'et', 'Estonian', 'eesti, eesti keel', 'ltr'),
(43, 'ee', 'Ewe', 'Eʋegbe', 'ltr'),
(44, 'fo', 'Faroese', 'føroyskt', 'ltr'),
(45, 'fj', 'Fijian', 'vosa Vakaviti', 'ltr'),
(46, 'fi', 'Finnish', 'suomi, suomen kieli', 'ltr'),
(47, 'fr', 'French', 'français', 'ltr'),
(48, 'ff', 'Fula; Fulah; Pulaar; Pular', 'Fulfulde, Pulaar, Pular', 'ltr'),
(49, 'gl', 'Galician', 'Galego', 'ltr'),
(50, 'ka', 'Georgian', 'ქართული', 'ltr'),
(51, 'de', 'German', 'Deutsch', 'ltr'),
(52, 'el', 'Greek, Modern', 'Ελληνικά', 'ltr'),
(53, 'gn', 'Guaraní', 'Avañeẽ', 'ltr'),
(54, 'gu', 'Gujarati', 'ગુજરાતી', 'ltr'),
(55, 'ht', 'Haitian; Haitian Creole', 'Kreyòl ayisyen', 'ltr'),
(56, 'ha', 'Hausa', 'Hausa, هَوُسَ', 'ltr'),
(57, 'he', 'Hebrew', 'עברית', 'rtl'),
(58, 'iw', 'Hebrew', 'עברית', 'rtl'),
(59, 'hz', 'Herero', 'Otjiherero', 'ltr'),
(60, 'hi', 'Hindi', 'हिन्दी, हिंदी', 'ltr'),
(61, 'ho', 'Hiri Motu', 'Hiri Motu', 'ltr'),
(62, 'hu', 'Hungarian', 'Magyar', 'ltr'),
(63, 'ia', 'Interlingua', 'Interlingua', 'ltr'),
(64, 'id', 'Indonesian', 'Bahasa Indonesia', 'ltr'),
(65, 'ie', 'Interlingue', 'Originally called Occidental; then Interlingue after WWII', 'ltr'),
(66, 'ga', 'Irish', 'Gaeilge', 'ltr'),
(67, 'ig', 'Igbo', 'Asụsụ Igbo', 'ltr'),
(68, 'ik', 'Inupiaq', 'Iñupiaq, Iñupiatun', 'ltr'),
(69, 'io', 'Ido', 'Ido', 'ltr'),
(70, 'is', 'Icelandic', 'Íslenska', 'ltr'),
(71, 'it', 'Italian', 'Italiano', 'ltr'),
(72, 'iu', 'Inuktitut', 'ᐃᓄᒃᑎᑐᑦ', 'ltr'),
(73, 'ja', 'Japanese', '日本語 (にほんご／にっぽんご)', 'ltr'),
(74, 'jv', 'Javanese', 'basa Jawa', 'ltr'),
(75, 'kl', 'Kalaallisut, Greenlandic', 'kalaallisut, kalaallit oqaasii', 'ltr'),
(76, 'kn', 'Kannada', 'ಕನ್ನಡ', 'ltr'),
(77, 'kr', 'Kanuri', 'Kanuri', 'ltr'),
(78, 'ks', 'Kashmiri', 'कश्मीरी, كشميري‎', 'ltr'),
(79, 'kk', 'Kazakh', 'Қазақ тілі', 'ltr'),
(80, 'km', 'Khmer', 'ភាសាខ្មែរ', 'ltr'),
(81, 'ki', 'Kikuyu, Gikuyu', 'Gĩkũyũ', 'ltr'),
(82, 'rw', 'Kinyarwanda', 'Ikinyarwanda', 'ltr'),
(83, 'ky', 'Kirghiz, Kyrgyz', 'кыргыз тили', 'ltr'),
(84, 'kv', 'Komi', 'коми кыв', 'ltr'),
(85, 'kg', 'Kongo', 'KiKongo', 'ltr'),
(86, 'ko', 'Korean', '한국어 (韓國語), 조선말 (朝鮮語)', 'ltr'),
(87, 'ku', 'Kurdish', 'Kurdî, كوردی‎', 'rtl'),
(88, 'kj', 'Kwanyama, Kuanyama', 'Kuanyama', 'ltr'),
(89, 'la', 'Latin', 'latine, lingua latina', 'ltr'),
(90, 'lb', 'Luxembourgish, Letzeburgesch', 'Lëtzebuergesch', 'ltr'),
(91, 'lg', 'Luganda', 'Luganda', 'ltr'),
(92, 'li', 'Limburgish, Limburgan, Limburger', 'Limburgs', 'ltr'),
(93, 'ln', 'Lingala', 'Lingála', 'ltr'),
(94, 'lo', 'Lao', 'ພາສາລາວ', 'ltr'),
(95, 'lt', 'Lithuanian', 'lietuvių kalba', 'ltr'),
(96, 'lu', 'Luba-Katanga', 'Kiluba', 'ltr'),
(97, 'lv', 'Latvian', 'latviešu valoda', 'ltr'),
(98, 'gv', 'Manx', 'Gaelg, Gailck', 'ltr'),
(99, 'mk', 'Macedonian', 'македонски јазик', 'ltr'),
(100, 'mg', 'Malagasy', 'Malagasy fiteny', 'ltr'),
(101, 'ms', 'Malay', 'bahasa Melayu, بهاس ملايو‎', 'ltr'),
(102, 'ml', 'Malayalam', 'മലയാളം', 'ltr'),
(103, 'mt', 'Maltese', 'Malti', 'ltr'),
(104, 'mi', 'Māori', 'te reo Māori', 'ltr'),
(105, 'mr', 'Marathi (Marāṭhī)', 'मराठी', 'ltr'),
(106, 'mh', 'Marshallese', 'Kajin M̧ajeļ', 'ltr'),
(107, 'mn', 'Mongolian', 'монгол', 'ltr'),
(108, 'na', 'Nauru', 'Ekakairũ Naoero', 'ltr'),
(109, 'nv', 'Navajo, Navaho', 'Diné bizaad, Dinékʼehǰí', 'ltr'),
(110, 'nb', 'Norwegian Bokmål', 'Norsk bokmål', 'ltr'),
(111, 'nd', 'North Ndebele', 'isiNdebele', 'ltr'),
(112, 'ne', 'Nepali', 'नेपाली', 'ltr'),
(113, 'ng', 'Ndonga', 'Owambo', 'ltr'),
(114, 'nn', 'Norwegian Nynorsk', 'Norsk nynorsk', 'ltr'),
(115, 'no', 'Norwegian', 'Norsk', 'ltr'),
(116, 'ii', 'Nuosu', 'ꆈꌠ꒿ Nuosuhxop', 'ltr'),
(117, 'nr', 'South Ndebele', 'isiNdebele', 'ltr'),
(118, 'oc', 'Occitan', 'Occitan', 'ltr'),
(119, 'oj', 'Ojibwe, Ojibwa', 'ᐊᓂᔑᓈᐯᒧᐎᓐ', 'ltr'),
(120, 'cu', 'Old Church Slavonic, Church Slavic, Church Slavonic, Old Bulgarian, Old Slavonic', 'ѩзыкъ словѣньскъ', 'ltr'),
(121, 'om', 'Oromo', 'Afaan Oromoo', 'ltr'),
(122, 'or', 'Oriya', 'ଓଡ଼ିଆ', 'ltr'),
(123, 'os', 'Ossetian, Ossetic', 'ирон æвзаг', 'ltr'),
(124, 'pa', 'Panjabi, Punjabi', 'ਪੰਜਾਬੀ, پنجابی‎', 'ltr'),
(125, 'pi', 'Pāli', 'पाऴि', 'ltr'),
(126, 'fa', 'Persian', 'فارسی', 'rtl'),
(127, 'pl', 'Polish', 'polski', 'ltr'),
(128, 'ps', 'Pashto, Pushto', 'پښتو', 'ltr'),
(129, 'pt', 'Portuguese', 'Português', 'ltr'),
(130, 'qu', 'Quechua', 'Runa Simi, Kichwa', 'ltr'),
(131, 'rm', 'Romansh', 'rumantsch grischun', 'ltr'),
(132, 'rn', 'Kirundi', 'kiRundi', 'ltr'),
(133, 'ro', 'Romanian', 'română', 'ltr'),
(134, 'ru', 'Russian', 'русский язык', 'ltr'),
(135, 'sa', 'Sanskrit (Saṁskṛta)', 'संस्कृतम्', 'ltr'),
(136, 'sc', 'Sardinian', 'sardu', 'ltr'),
(137, 'sd', 'Sindhi', 'सिन्धी, سنڌي، سندھی‎', 'ltr'),
(138, 'se', 'Northern Sami', 'Davvisámegiella', 'ltr'),
(139, 'sm', 'Samoan', 'gagana faa Samoa', 'ltr'),
(140, 'sg', 'Sango', 'yângâ tî sängö', 'ltr'),
(141, 'sr', 'Serbian', 'српски језик', 'ltr'),
(142, 'gd', 'Scottish Gaelic; Gaelic', 'Gàidhlig', 'ltr'),
(143, 'sn', 'Shona', 'chiShona', 'ltr'),
(144, 'si', 'Sinhala, Sinhalese', 'සිංහල', 'ltr'),
(145, 'sk', 'Slovak', 'slovenčina', 'ltr'),
(146, 'sl', 'Slovene', 'slovenščina', 'ltr'),
(147, 'so', 'Somali', 'Soomaaliga, af Soomaali', 'ltr'),
(148, 'st', 'Southern Sotho', 'Sesotho', 'ltr'),
(149, 'es', 'Spanish; Castilian', 'español, castellano', 'ltr'),
(150, 'su', 'Sundanese', 'Basa Sunda', 'ltr'),
(151, 'sw', 'Swahili', 'Kiswahili', 'ltr'),
(152, 'ss', 'Swati', 'SiSwati', 'ltr'),
(153, 'sv', 'Swedish', 'svenska', 'ltr'),
(154, 'ta', 'Tamil', 'தமிழ்', 'ltr'),
(155, 'te', 'Telugu', 'తెలుగు', 'ltr'),
(156, 'tg', 'Tajik', 'тоҷикӣ, toğikī, تاجیکی‎', 'ltr'),
(157, 'th', 'Thai', 'ไทย', 'ltr'),
(158, 'ti', 'Tigrinya', 'ትግርኛ', 'ltr'),
(159, 'bo', 'Tibetan Standard, Tibetan, Central', 'བོད་ཡིག', 'ltr'),
(160, 'tk', 'Turkmen', 'Türkmen, Түркмен', 'ltr'),
(161, 'tl', 'Tagalog', 'Wikang Tagalog, ᜏᜒᜃᜅ᜔ ᜆᜄᜎᜓᜄ᜔', 'ltr'),
(162, 'tn', 'Tswana', 'Setswana', 'ltr'),
(163, 'to', 'Tonga (Tonga Islands)', 'faka Tonga', 'ltr'),
(164, 'tr', 'Turkish', 'Türkçe', 'ltr'),
(165, 'ts', 'Tsonga', 'Xitsonga', 'ltr'),
(166, 'tt', 'Tatar', 'татарча, tatarça, تاتارچا‎', 'ltr'),
(167, 'tw', 'Twi', 'Twi', 'ltr'),
(168, 'ty', 'Tahitian', 'Reo Tahiti', 'ltr'),
(169, 'ug', 'Uighur, Uyghur', 'Uyƣurqə, ئۇيغۇرچە‎', 'ltr'),
(170, 'uk', 'Ukrainian', 'українська', 'ltr'),
(171, 'ur', 'Urdu', 'اردو', 'rtl'),
(172, 'uz', 'Uzbek', 'zbek, Ўзбек, أۇزبېك‎', 'ltr'),
(173, 've', 'Venda', 'Tshivenḓa', 'ltr'),
(174, 'vi', 'Vietnamese', 'Tiếng Việt', 'ltr'),
(175, 'vo', 'Volapük', 'Volapük', 'ltr'),
(176, 'wa', 'Walloon', 'Walon', 'ltr'),
(177, 'cy', 'Welsh', 'Cymraeg', 'ltr'),
(178, 'wo', 'Wolof', 'Wollof', 'ltr'),
(179, 'fy', 'Western Frisian', 'Frysk', 'ltr'),
(180, 'xh', 'Xhosa', 'isiXhosa', 'ltr'),
(181, 'yi', 'Yiddish', 'ייִדיש', 'ltr'),
(182, 'yo', 'Yoruba', 'Yorùbá', 'ltr'),
(183, 'za', 'Zhuang, Chuang', 'Saɯ cueŋƅ, Saw cuengh', 'ltr');

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

--
-- Estructura de tabla para la tabla `matdevolucions`
--

CREATE TABLE `matdevolucions` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `material_id` bigint(20) UNSIGNED NOT NULL,
  `trabajador_id` bigint(20) UNSIGNED NOT NULL,
  `cantidad` bigint(20) NOT NULL,
  `recibido_por` bigint(20) UNSIGNED NOT NULL,
  `folio` bigint(20) UNSIGNED NOT NULL,
  `fecha` date NOT NULL,
  `condicion` varchar(120) NOT NULL,
  `baja_por` varchar(60) DEFAULT NULL,
  `fecha_baja` date DEFAULT NULL,
  `estado` int(11) NOT NULL DEFAULT 1,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_spanish2_ci;

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

--
-- Estructura de tabla para la tabla `matentregas`
--

CREATE TABLE `matentregas` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `empresa_id` bigint(20) UNSIGNED NOT NULL,
  `trabajador_id` bigint(20) UNSIGNED NOT NULL,
  `proyecto_id` bigint(20) UNSIGNED NOT NULL,
  `costo_total` bigint(20) NOT NULL,
  `autorizado_por` varchar(60) DEFAULT NULL,
  `ingresado_por` bigint(20) UNSIGNED NOT NULL,
  `folio` bigint(20) UNSIGNED NOT NULL,
  `fecha_baja` date DEFAULT NULL,
  `baja_por` varchar(60) DEFAULT NULL,
  `estado` int(11) NOT NULL DEFAULT 1,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_spanish2_ci;

--
-- Volcado de datos para la tabla `matentregas`
--

INSERT INTO `matentregas` (`id`, `empresa_id`, `trabajador_id`, `proyecto_id`, `costo_total`, `autorizado_por`, `ingresado_por`, `folio`, `fecha_baja`, `baja_por`, `estado`, `created_at`, `updated_at`) VALUES
(1, 1, 19, 1, 41676, 'Alex Preciado', 1, 323, NULL, NULL, 1, '2025-08-06 20:41:08', '2025-08-06 20:41:08'),
(2, 1, 5, 1, 13264, 'Álvaro Zavala', 1, 151, NULL, NULL, 1, '2025-08-06 20:41:08', '2025-08-06 20:41:08'),
(3, 1, 5, 2, 43704, 'Nil Ybarra', 1, 473, NULL, NULL, 1, '2025-08-06 20:41:08', '2025-08-06 20:41:08'),
(4, 1, 15, 1, 18596, 'Paula Baeza', 1, 84, NULL, NULL, 1, '2025-08-06 20:41:08', '2025-08-06 20:41:08'),
(5, 1, 57, 2, 30101, 'Ana Isabel Escobedo', 1, 156, NULL, NULL, 1, '2025-08-06 20:41:08', '2025-08-06 20:41:08'),
(6, 1, 45, 2, 34055, 'Jesús Alarcón', 1, 268, NULL, NULL, 1, '2025-08-06 20:41:08', '2025-08-06 20:41:08'),
(7, 1, 11, 3, 21274, 'Rafael De Anda', 1, 197, NULL, NULL, 1, '2025-08-06 20:41:08', '2025-08-06 20:41:08'),
(8, 1, 3, 1, 42559, 'Naia Cintrón', 1, 16, NULL, NULL, 1, '2025-08-06 20:41:08', '2025-08-06 20:41:08'),
(9, 1, 48, 1, 42913, 'Inés Tafoya', 1, 291, NULL, NULL, 1, '2025-08-06 20:41:08', '2025-08-06 20:41:08'),
(10, 1, 8, 3, 13304, 'Ángel Oquendo', 1, 69, NULL, NULL, 1, '2025-08-06 20:41:08', '2025-08-06 20:41:08'),
(11, 1, 20, 2, 10056, 'Adam Valero', 1, 466, NULL, NULL, 1, '2025-08-06 20:41:08', '2025-08-06 20:41:08'),
(12, 1, 7, 2, 41066, 'Ismael Véliz', 1, 424, NULL, NULL, 1, '2025-08-06 20:41:08', '2025-08-06 20:41:08'),
(13, 1, 15, 1, 11662, 'Inés Lebrón', 1, 294, NULL, NULL, 1, '2025-08-06 20:41:08', '2025-08-06 20:41:08'),
(14, 1, 46, 2, 42691, 'Eduardo Luis', 1, 242, NULL, NULL, 1, '2025-08-06 20:41:08', '2025-08-06 20:41:08'),
(15, 1, 41, 1, 35708, 'Alexandra Vásquez', 1, 306, NULL, NULL, 1, '2025-08-06 20:41:08', '2025-08-06 20:41:08'),
(16, 1, 6, 3, 36980, 'Alberto Dávila', 1, 115, NULL, NULL, 1, '2025-08-06 20:41:08', '2025-08-06 20:41:08'),
(17, 1, 40, 2, 12619, 'Pol Dueñas', 1, 341, NULL, NULL, 1, '2025-08-06 20:41:08', '2025-08-06 20:41:08'),
(18, 1, 31, 2, 13046, 'Gerard Gracia', 1, 436, NULL, NULL, 1, '2025-08-06 20:41:08', '2025-08-06 20:41:08'),
(19, 1, 55, 2, 37865, 'Inmaculada Madrigal', 1, 485, NULL, NULL, 1, '2025-08-06 20:41:08', '2025-08-06 20:41:08'),
(20, 1, 60, 1, 22031, 'Úrsula Sedillo', 1, 27, NULL, NULL, 1, '2025-08-06 20:41:08', '2025-08-06 20:41:08'),
(21, 1, 60, 1, 20662, 'Carla Segovia', 1, 216, NULL, NULL, 1, '2025-08-06 20:41:08', '2025-08-06 20:41:08'),
(22, 1, 29, 3, 14734, 'Raúl Toro', 1, 236, NULL, NULL, 1, '2025-08-06 20:41:08', '2025-08-06 20:41:08'),
(23, 1, 7, 2, 38456, 'José Cárdenas', 1, 464, NULL, NULL, 1, '2025-08-06 20:41:08', '2025-08-06 20:41:08'),
(24, 1, 15, 2, 44755, 'Ángel Adorno', 1, 167, NULL, NULL, 1, '2025-08-06 20:41:08', '2025-08-06 20:41:08'),
(25, 1, 58, 2, 29322, 'Rafael Arguello', 1, 196, NULL, NULL, 1, '2025-08-06 20:41:08', '2025-08-06 20:41:08'),
(26, 1, 40, 3, 47938, 'Mireia Delao', 1, 377, NULL, NULL, 1, '2025-08-06 20:41:08', '2025-08-06 20:41:08'),
(27, 1, 33, 1, 46672, 'Pedro Izquierdo', 1, 490, NULL, NULL, 1, '2025-08-06 20:41:08', '2025-08-06 20:41:08'),
(28, 1, 23, 1, 33601, 'Daniela Esparza', 1, 246, NULL, NULL, 1, '2025-08-06 20:41:08', '2025-08-06 20:41:08'),
(29, 1, 60, 2, 10800, 'Andrea Velázquez', 1, 312, NULL, NULL, 1, '2025-08-06 20:41:08', '2025-08-06 20:41:08'),
(30, 1, 37, 2, 16460, 'Martina Gutiérrez', 1, 180, NULL, NULL, 1, '2025-08-06 20:41:08', '2025-08-06 20:41:08'),
(31, 1, 42, 1, 25598, 'Ariadna Delapaz', 1, 278, NULL, NULL, 1, '2025-08-06 20:41:08', '2025-08-06 20:41:08'),
(32, 1, 17, 2, 23178, 'Alma Guevara', 1, 463, NULL, NULL, 1, '2025-08-06 20:41:08', '2025-08-06 20:41:08'),
(33, 1, 41, 2, 24089, 'Lorena Montez', 1, 203, NULL, NULL, 1, '2025-08-06 20:41:08', '2025-08-06 20:41:08'),
(34, 1, 41, 3, 13446, 'Natalia Lorente', 1, 413, NULL, NULL, 1, '2025-08-06 20:41:08', '2025-08-06 20:41:08'),
(35, 1, 8, 3, 29408, 'Andrea Chávez', 1, 274, NULL, NULL, 1, '2025-08-06 20:41:08', '2025-08-06 20:41:08'),
(36, 1, 32, 2, 18963, 'Alexandra Hernando', 1, 404, NULL, NULL, 1, '2025-08-06 20:41:08', '2025-08-06 20:41:08'),
(37, 1, 17, 3, 27193, 'Lidia Lozano', 1, 172, NULL, NULL, 1, '2025-08-06 20:41:08', '2025-08-06 20:41:08'),
(38, 1, 38, 3, 32335, 'Claudia Román', 1, 425, NULL, NULL, 1, '2025-08-06 20:41:08', '2025-08-06 20:41:08'),
(39, 1, 51, 1, 42587, 'Jesús Mojica', 1, 140, NULL, NULL, 1, '2025-08-06 20:41:08', '2025-08-06 20:41:08'),
(40, 1, 8, 2, 16330, 'Gerard Cortez', 1, 165, NULL, NULL, 1, '2025-08-06 20:41:08', '2025-08-06 20:41:08'),
(41, 1, 1, 2, 17477, 'Cristian Fuentes', 1, 200, NULL, NULL, 1, '2025-08-06 20:41:08', '2025-08-06 20:41:08'),
(42, 1, 1, 1, 44794, 'Berta Pereira', 1, 366, NULL, NULL, 1, '2025-08-06 20:41:08', '2025-08-06 20:41:08'),
(43, 1, 49, 2, 13298, 'María Ángeles Acevedo', 1, 98, NULL, NULL, 1, '2025-08-06 20:41:08', '2025-08-06 20:41:08'),
(44, 1, 45, 3, 42385, 'Nayara Esteban', 1, 56, NULL, NULL, 1, '2025-08-06 20:41:08', '2025-08-06 20:41:08'),
(45, 1, 59, 1, 20040, 'Nayara Martínez', 1, 185, NULL, NULL, 1, '2025-08-06 20:41:08', '2025-08-06 20:41:08'),
(46, 1, 42, 2, 13410, 'Alejandra Esquibel', 1, 289, NULL, NULL, 1, '2025-08-06 20:41:08', '2025-08-06 20:41:08'),
(47, 1, 32, 1, 47091, 'Ángela Ramón', 1, 128, NULL, NULL, 1, '2025-08-06 20:41:08', '2025-08-06 20:41:08'),
(48, 1, 33, 2, 49211, 'Candela Niño', 1, 220, NULL, NULL, 1, '2025-08-06 20:41:08', '2025-08-06 20:41:08'),
(49, 1, 30, 3, 13553, 'Erik Vázquez', 1, 420, NULL, NULL, 1, '2025-08-06 20:41:08', '2025-08-06 20:41:08'),
(50, 1, 28, 2, 32989, 'Luisa Orosco', 1, 109, NULL, NULL, 1, '2025-08-06 20:41:08', '2025-08-06 20:41:08');

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

--
-- Estructura de tabla para la tabla `matentregasitems`
--

CREATE TABLE `matentregasitems` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `matentrega_id` bigint(20) UNSIGNED NOT NULL,
  `material_id` bigint(20) UNSIGNED NOT NULL,
  `cantidad` bigint(20) NOT NULL,
  `costo_unitario` bigint(20) NOT NULL,
  `fecha_final` date DEFAULT NULL,
  `condicion` varchar(120) DEFAULT NULL,
  `devuelto` int(11) NOT NULL DEFAULT 0,
  `fecha_baja` date DEFAULT NULL,
  `baja_por` varchar(60) DEFAULT NULL,
  `estado` int(11) NOT NULL DEFAULT 1,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_spanish2_ci;

--
-- Volcado de datos para la tabla `matentregasitems`
--

INSERT INTO `matentregasitems` (`id`, `matentrega_id`, `material_id`, `cantidad`, `costo_unitario`, `fecha_final`, `condicion`, `devuelto`, `fecha_baja`, `baja_por`, `estado`, `created_at`, `updated_at`) VALUES
(1, 4, 57, 7, 29940, '2025-10-06', 'usado con fallas', 0, NULL, NULL, 1, '2025-08-13 14:42:57', '2025-08-13 14:42:57'),
(2, 26, 75, 5, 23189, '2025-09-14', 'usado con detalles', 1, NULL, NULL, 1, '2025-08-13 14:42:57', '2025-08-13 14:42:57'),
(3, 25, 54, 8, 6714, '2025-10-06', 'usado con detalles', 6, NULL, NULL, 1, '2025-08-13 14:42:57', '2025-08-13 14:42:57'),
(4, 26, 13, 10, 26162, '2025-09-06', 'nuevo', 6, NULL, NULL, 1, '2025-08-13 14:42:57', '2025-08-13 14:42:57'),
(5, 11, 97, 9, 44380, '2025-09-26', 'nuevo', 3, NULL, NULL, 1, '2025-08-13 14:42:57', '2025-08-13 14:42:57'),
(6, 17, 71, 6, 9097, '2025-08-24', 'nuevo', 0, NULL, NULL, 1, '2025-08-13 14:42:57', '2025-08-13 14:42:57'),
(7, 34, 97, 8, 8275, '2025-09-25', 'usado sin detalles', 4, NULL, NULL, 1, '2025-08-13 14:42:57', '2025-08-13 14:42:57'),
(8, 35, 15, 11, 46116, '2025-09-08', 'usado con detalles', 3, NULL, NULL, 1, '2025-08-13 14:42:57', '2025-08-13 14:42:57'),
(9, 35, 10, 10, 20859, '2025-08-18', 'nuevo', 4, NULL, NULL, 1, '2025-08-13 14:42:57', '2025-08-13 14:42:57'),
(10, 22, 20, 9, 21202, '2025-08-16', 'nuevo', 3, NULL, NULL, 1, '2025-08-13 14:42:57', '2025-08-13 14:42:57'),
(11, 1, 33, 8, 7305, '2025-08-21', 'usado con fallas', 6, NULL, NULL, 1, '2025-08-13 14:42:57', '2025-08-13 14:42:57'),
(12, 29, 84, 10, 9294, '2025-09-15', 'usado sin detalles', 4, NULL, NULL, 1, '2025-08-13 14:42:57', '2025-08-13 14:42:57'),
(13, 5, 51, 8, 37636, '2025-09-21', 'usado con detalles', 4, NULL, NULL, 1, '2025-08-13 14:42:57', '2025-08-13 14:42:57'),
(14, 6, 38, 9, 10402, '2025-08-26', 'usado sin detalles', 2, NULL, NULL, 1, '2025-08-13 14:42:57', '2025-08-13 14:42:57'),
(15, 10, 57, 6, 15480, '2025-09-29', 'usado con detalles', 5, NULL, NULL, 1, '2025-08-13 14:42:57', '2025-08-13 14:42:57'),
(16, 14, 52, 6, 32066, '2025-09-24', 'usado sin detalles', 2, NULL, NULL, 1, '2025-08-13 14:42:57', '2025-08-13 14:42:57'),
(17, 23, 25, 8, 37505, '2025-09-14', 'usado sin detalles', 4, NULL, NULL, 1, '2025-08-13 14:42:57', '2025-08-13 14:42:57'),
(18, 39, 72, 11, 25137, '2025-09-24', 'usado con detalles', 4, NULL, NULL, 1, '2025-08-13 14:42:57', '2025-08-13 14:42:57'),
(19, 23, 89, 7, 45447, '2025-09-18', 'usado sin detalles', 2, NULL, NULL, 1, '2025-08-13 14:42:57', '2025-08-13 14:42:57'),
(20, 20, 67, 8, 37903, '2025-09-27', 'nuevo', 2, NULL, NULL, 1, '2025-08-13 14:42:57', '2025-08-13 14:42:57'),
(21, 43, 6, 8, 14523, '2025-10-03', 'usado sin detalles', 2, NULL, NULL, 1, '2025-08-13 14:42:57', '2025-08-13 14:42:57'),
(22, 26, 59, 8, 38580, '2025-09-21', 'usado sin detalles', 2, NULL, NULL, 1, '2025-08-13 14:42:57', '2025-08-13 14:42:57'),
(23, 48, 86, 7, 44777, '2025-09-19', 'usado con fallas', 4, NULL, NULL, 1, '2025-08-13 14:42:57', '2025-08-13 14:42:57'),
(24, 38, 52, 11, 46013, '2025-09-20', 'usado con detalles', 6, NULL, NULL, 1, '2025-08-13 14:42:57', '2025-08-13 14:42:57'),
(25, 8, 13, 7, 21757, '2025-09-17', 'nuevo', 6, NULL, NULL, 1, '2025-08-13 14:42:57', '2025-08-13 14:42:57'),
(26, 22, 80, 4, 17417, '2025-08-11', 'usado con fallas', 1, NULL, NULL, 1, '2025-08-13 14:42:57', '2025-08-13 14:42:57'),
(27, 12, 37, 10, 43637, '2025-09-20', 'usado sin detalles', 3, NULL, NULL, 1, '2025-08-13 14:42:57', '2025-08-13 14:42:57'),
(28, 6, 5, 5, 23104, '2025-09-04', 'usado sin detalles', 2, NULL, NULL, 1, '2025-08-13 14:42:57', '2025-08-13 14:42:57'),
(29, 39, 65, 6, 13620, '2025-08-05', 'usado con detalles', 3, NULL, NULL, 1, '2025-08-13 14:42:57', '2025-08-13 14:42:57'),
(30, 32, 39, 4, 37004, '2025-09-21', 'usado con fallas', 1, NULL, NULL, 1, '2025-08-13 14:42:57', '2025-08-13 14:42:57'),
(31, 4, 49, 4, 45524, '2025-09-06', 'usado con detalles', 2, NULL, NULL, 1, '2025-08-13 14:42:57', '2025-08-13 14:42:57'),
(32, 16, 30, 11, 26373, '2025-08-29', 'nuevo', 4, NULL, NULL, 1, '2025-08-13 14:42:57', '2025-08-13 14:42:57'),
(33, 9, 19, 5, 47734, '2025-08-09', 'usado con fallas', 5, NULL, NULL, 1, '2025-08-13 14:42:57', '2025-08-13 14:42:57'),
(34, 1, 81, 7, 24148, '2025-08-12', 'nuevo', 2, NULL, NULL, 1, '2025-08-13 14:42:57', '2025-08-13 14:42:57'),
(35, 48, 90, 10, 24357, '2025-09-06', 'usado sin detalles', 1, NULL, NULL, 1, '2025-08-13 14:42:57', '2025-08-13 14:42:57'),
(36, 15, 51, 9, 10219, '2025-08-29', 'usado con detalles', 0, NULL, NULL, 1, '2025-08-13 14:42:57', '2025-08-13 14:42:57'),
(37, 4, 45, 5, 21437, '2025-08-18', 'nuevo', 1, NULL, NULL, 1, '2025-08-13 14:42:57', '2025-08-13 14:42:57'),
(38, 21, 57, 10, 27508, '2025-08-03', 'usado sin detalles', 2, NULL, NULL, 1, '2025-08-13 14:42:57', '2025-08-13 14:42:57'),
(39, 27, 2, 7, 24525, '2025-08-04', 'usado con detalles', 5, NULL, NULL, 1, '2025-08-13 14:42:57', '2025-08-13 14:42:57'),
(40, 15, 25, 7, 29873, '2025-08-05', 'nuevo', 2, NULL, NULL, 1, '2025-08-13 14:42:57', '2025-08-13 14:42:57'),
(41, 1, 70, 5, 19992, '2025-10-11', 'usado sin detalles', 3, NULL, NULL, 1, '2025-08-13 14:42:57', '2025-08-13 14:42:57'),
(42, 45, 87, 10, 33856, '2025-08-31', 'nuevo', 6, NULL, NULL, 1, '2025-08-13 14:42:57', '2025-08-13 14:42:57'),
(43, 3, 52, 7, 31598, '2025-09-25', 'usado con detalles', 3, NULL, NULL, 1, '2025-08-13 14:42:57', '2025-08-13 14:42:57'),
(44, 47, 5, 8, 35513, '2025-09-16', 'usado con detalles', 3, NULL, NULL, 1, '2025-08-13 14:42:57', '2025-08-13 14:42:57'),
(45, 22, 41, 6, 38763, '2025-10-03', 'nuevo', 2, NULL, NULL, 1, '2025-08-13 14:42:57', '2025-08-13 14:42:57'),
(46, 44, 1, 11, 22684, '2025-09-18', 'nuevo', 5, NULL, NULL, 1, '2025-08-13 14:42:57', '2025-08-13 14:42:57'),
(47, 50, 71, 8, 41870, '2025-09-23', 'usado sin detalles', 0, NULL, NULL, 1, '2025-08-13 14:42:57', '2025-08-13 14:42:57'),
(48, 40, 15, 9, 30542, '2025-08-17', 'nuevo', 5, NULL, NULL, 1, '2025-08-13 14:42:57', '2025-08-13 14:42:57'),
(49, 24, 12, 5, 19704, '2025-08-24', 'usado con detalles', 5, NULL, NULL, 1, '2025-08-13 14:42:57', '2025-08-13 14:42:57'),
(50, 8, 65, 7, 45161, '2025-08-18', 'nuevo', 4, NULL, NULL, 1, '2025-08-13 14:42:57', '2025-08-13 14:42:57'),
(51, 32, 22, 8, 36737, '2025-08-14', 'usado con detalles', 1, NULL, NULL, 1, '2025-08-13 14:42:57', '2025-08-13 14:42:57'),
(52, 10, 66, 8, 38206, '2025-08-19', 'usado con detalles', 4, NULL, NULL, 1, '2025-08-13 14:42:57', '2025-08-13 14:42:57'),
(53, 48, 51, 10, 36435, '2025-09-26', 'usado sin detalles', 2, NULL, NULL, 1, '2025-08-13 14:42:57', '2025-08-13 14:42:57'),
(54, 27, 98, 11, 14776, '2025-08-15', 'usado con fallas', 1, NULL, NULL, 1, '2025-08-13 14:42:57', '2025-08-13 14:42:57'),
(55, 6, 48, 8, 26111, '2025-08-10', 'usado con fallas', 5, NULL, NULL, 1, '2025-08-13 14:42:57', '2025-08-13 14:42:57'),
(56, 49, 69, 7, 14920, '2025-09-30', 'usado sin detalles', 3, NULL, NULL, 1, '2025-08-13 14:42:57', '2025-08-13 14:42:57'),
(57, 33, 54, 6, 29279, '2025-09-10', 'usado sin detalles', 3, NULL, NULL, 1, '2025-08-13 14:42:57', '2025-08-13 14:42:57'),
(58, 48, 59, 9, 27531, '2025-09-30', 'usado sin detalles', 4, NULL, NULL, 1, '2025-08-13 14:42:57', '2025-08-13 14:42:57'),
(59, 47, 76, 11, 10012, '2025-09-23', 'usado sin detalles', 3, NULL, NULL, 1, '2025-08-13 14:42:57', '2025-08-13 14:42:57'),
(60, 5, 12, 11, 45085, '2025-09-25', 'usado sin detalles', 0, NULL, NULL, 1, '2025-08-13 14:42:57', '2025-08-13 14:42:57'),
(61, 50, 82, 5, 11108, '2025-08-08', 'usado sin detalles', 5, NULL, NULL, 1, '2025-08-13 14:42:57', '2025-08-13 14:42:57'),
(62, 23, 6, 10, 18401, '2025-08-27', 'nuevo', 0, NULL, NULL, 1, '2025-08-13 14:42:57', '2025-08-13 14:42:57'),
(63, 49, 57, 4, 20631, '2025-09-28', 'usado sin detalles', 6, NULL, NULL, 1, '2025-08-13 14:42:57', '2025-08-13 14:42:57'),
(64, 39, 93, 10, 15654, '2025-08-21', 'usado con fallas', 5, NULL, NULL, 1, '2025-08-13 14:42:57', '2025-08-13 14:42:57'),
(65, 30, 55, 5, 22573, '2025-09-27', 'usado sin detalles', 0, NULL, NULL, 1, '2025-08-13 14:42:57', '2025-08-13 14:42:57'),
(66, 1, 39, 7, 40173, '2025-08-03', 'usado sin detalles', 1, NULL, NULL, 1, '2025-08-13 14:42:57', '2025-08-13 14:42:57'),
(67, 5, 74, 10, 43433, '2025-09-24', 'usado con fallas', 0, NULL, NULL, 1, '2025-08-13 14:42:57', '2025-08-13 14:42:57'),
(68, 2, 39, 5, 39986, '2025-08-14', 'usado con fallas', 4, NULL, NULL, 1, '2025-08-13 14:42:57', '2025-08-13 14:42:57'),
(69, 36, 32, 7, 45389, '2025-08-18', 'usado con fallas', 2, NULL, NULL, 1, '2025-08-13 14:42:57', '2025-08-13 14:42:57'),
(70, 3, 43, 5, 34803, '2025-09-19', 'usado sin detalles', 2, NULL, NULL, 1, '2025-08-13 14:42:57', '2025-08-13 14:42:57'),
(71, 43, 17, 6, 43123, '2025-08-07', 'usado sin detalles', 2, NULL, NULL, 1, '2025-08-13 14:42:57', '2025-08-13 14:42:57'),
(72, 29, 61, 4, 30541, '2025-09-14', 'usado con fallas', 3, NULL, NULL, 1, '2025-08-13 14:42:57', '2025-08-13 14:42:57'),
(73, 31, 30, 8, 43081, '2025-09-23', 'usado con fallas', 5, NULL, NULL, 1, '2025-08-13 14:42:57', '2025-08-13 14:42:57'),
(74, 41, 88, 10, 11586, '2025-08-11', 'nuevo', 6, NULL, NULL, 1, '2025-08-13 14:42:57', '2025-08-13 14:42:57'),
(75, 42, 15, 5, 23426, '2025-08-21', 'usado con fallas', 4, NULL, NULL, 1, '2025-08-13 14:42:57', '2025-08-13 14:42:57'),
(76, 38, 31, 6, 40727, '2025-08-24', 'usado sin detalles', 5, NULL, NULL, 1, '2025-08-13 14:42:57', '2025-08-13 14:42:57'),
(77, 25, 14, 9, 30731, '2025-09-18', 'usado con fallas', 6, NULL, NULL, 1, '2025-08-13 14:42:57', '2025-08-13 14:42:57'),
(78, 29, 36, 4, 25607, '2025-08-19', 'usado con fallas', 5, NULL, NULL, 1, '2025-08-13 14:42:57', '2025-08-13 14:42:57'),
(79, 12, 87, 6, 43831, '2025-09-03', 'usado sin detalles', 3, NULL, NULL, 1, '2025-08-13 14:42:57', '2025-08-13 14:42:57'),
(80, 37, 26, 10, 12173, '2025-09-14', 'usado con detalles', 2, NULL, NULL, 1, '2025-08-13 14:42:57', '2025-08-13 14:42:57'),
(81, 4, 50, 5, 24830, '2025-08-18', 'usado con fallas', 3, NULL, NULL, 1, '2025-08-13 14:42:57', '2025-08-13 14:42:57'),
(82, 47, 70, 4, 35345, '2025-08-31', 'usado con detalles', 2, NULL, NULL, 1, '2025-08-13 14:42:57', '2025-08-13 14:42:57'),
(83, 47, 95, 9, 24912, '2025-10-08', 'nuevo', 4, NULL, NULL, 1, '2025-08-13 14:42:57', '2025-08-13 14:42:57'),
(84, 11, 58, 6, 49621, '2025-08-19', 'usado con detalles', 0, NULL, NULL, 1, '2025-08-13 14:42:57', '2025-08-13 14:42:57'),
(85, 32, 32, 8, 39621, '2025-09-08', 'usado sin detalles', 1, NULL, NULL, 1, '2025-08-13 14:42:57', '2025-08-13 14:42:57'),
(86, 50, 26, 5, 19867, '2025-08-31', 'usado con detalles', 3, NULL, NULL, 1, '2025-08-13 14:42:57', '2025-08-13 14:42:57'),
(87, 36, 69, 11, 43601, '2025-08-22', 'usado con detalles', 5, NULL, NULL, 1, '2025-08-13 14:42:57', '2025-08-13 14:42:57'),
(88, 47, 31, 8, 25942, '2025-08-31', 'nuevo', 4, NULL, NULL, 1, '2025-08-13 14:42:57', '2025-08-13 14:42:57'),
(89, 32, 36, 5, 41740, '2025-10-04', 'usado con detalles', 4, NULL, NULL, 1, '2025-08-13 14:42:57', '2025-08-13 14:42:57'),
(90, 3, 92, 6, 44943, '2025-09-03', 'usado sin detalles', 4, NULL, NULL, 1, '2025-08-13 14:42:57', '2025-08-13 14:42:57'),
(91, 15, 26, 8, 38351, '2025-08-08', 'usado con fallas', 3, NULL, NULL, 1, '2025-08-13 14:42:57', '2025-08-13 14:42:57'),
(92, 6, 32, 6, 11203, '2025-09-27', 'nuevo', 1, NULL, NULL, 1, '2025-08-13 14:42:57', '2025-08-13 14:42:57'),
(93, 9, 14, 8, 14600, '2025-10-09', 'usado sin detalles', 4, NULL, NULL, 1, '2025-08-13 14:42:57', '2025-08-13 14:42:57'),
(94, 48, 51, 9, 15212, '2025-08-17', 'usado con fallas', 5, NULL, NULL, 1, '2025-08-13 14:42:57', '2025-08-13 14:42:57'),
(95, 39, 39, 10, 34091, '2025-09-05', 'nuevo', 3, NULL, NULL, 1, '2025-08-13 14:42:57', '2025-08-13 14:42:57'),
(96, 43, 86, 4, 8881, '2025-10-04', 'usado con fallas', 5, NULL, NULL, 1, '2025-08-13 14:42:57', '2025-08-13 14:42:57'),
(97, 31, 48, 11, 29504, '2025-10-11', 'usado con detalles', 1, NULL, NULL, 1, '2025-08-13 14:42:57', '2025-08-13 14:42:57'),
(98, 35, 83, 4, 34438, '2025-08-28', 'usado sin detalles', 6, NULL, NULL, 1, '2025-08-13 14:42:57', '2025-08-13 14:42:57'),
(99, 22, 45, 10, 16587, '2025-08-12', 'usado con detalles', 0, NULL, NULL, 1, '2025-08-13 14:42:57', '2025-08-13 14:42:57'),
(100, 24, 27, 8, 47675, '2025-09-15', 'usado sin detalles', 6, NULL, NULL, 1, '2025-08-13 14:42:57', '2025-08-13 14:42:57'),
(101, 25, 3, 6, 32534, '2025-09-27', 'usado con detalles', 2, NULL, NULL, 1, '2025-08-13 14:42:57', '2025-08-13 14:42:57'),
(102, 8, 57, 6, 38305, '2025-08-25', 'usado con detalles', 2, NULL, NULL, 1, '2025-08-13 14:42:57', '2025-08-13 14:42:57'),
(103, 46, 84, 7, 22116, '2025-08-28', 'nuevo', 2, NULL, NULL, 1, '2025-08-13 14:42:57', '2025-08-13 14:42:57'),
(104, 12, 60, 4, 17637, '2025-09-09', 'usado con fallas', 1, NULL, NULL, 1, '2025-08-13 14:42:57', '2025-08-13 14:42:57'),
(105, 35, 25, 5, 8851, '2025-09-07', 'usado con detalles', 5, NULL, NULL, 1, '2025-08-13 14:42:57', '2025-08-13 14:42:57'),
(106, 42, 61, 5, 18032, '2025-10-05', 'nuevo', 5, NULL, NULL, 1, '2025-08-13 14:42:57', '2025-08-13 14:42:57'),
(107, 41, 62, 10, 14932, '2025-09-09', 'usado con fallas', 3, NULL, NULL, 1, '2025-08-13 14:42:57', '2025-08-13 14:42:57'),
(108, 40, 86, 11, 41252, '2025-08-27', 'nuevo', 3, NULL, NULL, 1, '2025-08-13 14:42:57', '2025-08-13 14:42:57'),
(109, 39, 74, 7, 17250, '2025-09-15', 'nuevo', 5, NULL, NULL, 1, '2025-08-13 14:42:57', '2025-08-13 14:42:57'),
(110, 15, 14, 5, 26571, '2025-08-30', 'usado con fallas', 0, NULL, NULL, 1, '2025-08-13 14:42:57', '2025-08-13 14:42:57'),
(111, 19, 79, 4, 8868, '2025-10-06', 'nuevo', 3, NULL, NULL, 1, '2025-08-13 14:42:57', '2025-08-13 14:42:57'),
(112, 9, 54, 11, 7971, '2025-08-18', 'usado con detalles', 6, NULL, NULL, 1, '2025-08-13 14:42:57', '2025-08-13 14:42:57'),
(113, 44, 18, 8, 17873, '2025-08-11', 'usado con detalles', 5, NULL, NULL, 1, '2025-08-13 14:42:57', '2025-08-13 14:42:57'),
(114, 28, 8, 5, 44443, '2025-08-01', 'usado con fallas', 2, NULL, NULL, 1, '2025-08-13 14:42:57', '2025-08-13 14:42:57'),
(115, 2, 98, 6, 13096, '2025-09-17', 'nuevo', 0, NULL, NULL, 1, '2025-08-13 14:42:57', '2025-08-13 14:42:57'),
(116, 30, 25, 6, 28669, '2025-08-25', 'usado con fallas', 0, NULL, NULL, 1, '2025-08-13 14:42:57', '2025-08-13 14:42:57'),
(117, 39, 19, 7, 29865, '2025-08-15', 'nuevo', 1, NULL, NULL, 1, '2025-08-13 14:42:57', '2025-08-13 14:42:57'),
(118, 22, 22, 10, 35693, '2025-09-06', 'usado sin detalles', 5, NULL, NULL, 1, '2025-08-13 14:42:57', '2025-08-13 14:42:57'),
(119, 8, 87, 8, 19775, '2025-09-06', 'usado sin detalles', 6, NULL, NULL, 1, '2025-08-13 14:42:57', '2025-08-13 14:42:57'),
(120, 39, 6, 9, 49117, '2025-08-05', 'usado con detalles', 0, NULL, NULL, 1, '2025-08-13 14:42:57', '2025-08-13 14:42:57'),
(121, 25, 79, 4, 30037, '2025-09-04', 'usado con detalles', 3, NULL, NULL, 1, '2025-08-13 14:42:57', '2025-08-13 14:42:57'),
(122, 6, 55, 4, 14085, '2025-10-02', 'usado sin detalles', 4, NULL, NULL, 1, '2025-08-13 14:42:57', '2025-08-13 14:42:57'),
(123, 39, 33, 7, 46341, '2025-09-22', 'usado con detalles', 0, NULL, NULL, 1, '2025-08-13 14:42:57', '2025-08-13 14:42:57'),
(124, 20, 69, 9, 9091, '2025-09-19', 'usado con fallas', 4, NULL, NULL, 1, '2025-08-13 14:42:57', '2025-08-13 14:42:57'),
(125, 5, 72, 4, 9881, '2025-09-15', 'nuevo', 2, NULL, NULL, 1, '2025-08-13 14:42:57', '2025-08-13 14:42:57'),
(126, 14, 20, 11, 23893, '2025-10-05', 'usado con fallas', 1, NULL, NULL, 1, '2025-08-13 14:42:57', '2025-08-13 14:42:57'),
(127, 8, 29, 4, 6007, '2025-09-14', 'usado con detalles', 3, NULL, NULL, 1, '2025-08-13 14:42:57', '2025-08-13 14:42:57'),
(128, 32, 80, 7, 16179, '2025-10-06', 'usado con detalles', 0, NULL, NULL, 1, '2025-08-13 14:42:57', '2025-08-13 14:42:57'),
(129, 33, 41, 10, 11399, '2025-08-27', 'nuevo', 6, NULL, NULL, 1, '2025-08-13 14:42:57', '2025-08-13 14:42:57'),
(130, 3, 56, 4, 45973, '2025-09-25', 'usado con fallas', 4, NULL, NULL, 1, '2025-08-13 14:42:57', '2025-08-13 14:42:57'),
(131, 6, 53, 10, 42653, '2025-08-12', 'usado con detalles', 2, NULL, NULL, 1, '2025-08-13 14:42:57', '2025-08-13 14:42:57'),
(132, 34, 77, 4, 32912, '2025-09-09', 'nuevo', 2, NULL, NULL, 1, '2025-08-13 14:42:57', '2025-08-13 14:42:57'),
(133, 21, 23, 8, 46374, '2025-09-28', 'usado sin detalles', 3, NULL, NULL, 1, '2025-08-13 14:42:57', '2025-08-13 14:42:57'),
(134, 5, 56, 7, 49888, '2025-09-02', 'usado con fallas', 4, NULL, NULL, 1, '2025-08-13 14:42:57', '2025-08-13 14:42:57'),
(135, 28, 22, 9, 44782, '2025-10-08', 'usado con detalles', 4, NULL, NULL, 1, '2025-08-13 14:42:57', '2025-08-13 14:42:57'),
(136, 4, 17, 7, 11709, '2025-08-28', 'usado sin detalles', 3, NULL, NULL, 1, '2025-08-13 14:42:57', '2025-08-13 14:42:57'),
(137, 19, 40, 7, 16677, '2025-08-10', 'usado con detalles', 0, NULL, NULL, 1, '2025-08-13 14:42:57', '2025-08-13 14:42:57'),
(138, 14, 85, 7, 31432, '2025-09-01', 'nuevo', 5, NULL, NULL, 1, '2025-08-13 14:42:57', '2025-08-13 14:42:57'),
(139, 3, 10, 7, 13139, '2025-10-12', 'nuevo', 0, NULL, NULL, 1, '2025-08-13 14:42:57', '2025-08-13 14:42:57'),
(140, 49, 48, 6, 47883, '2025-08-03', 'usado sin detalles', 3, NULL, NULL, 1, '2025-08-13 14:42:57', '2025-08-13 14:42:57'),
(141, 24, 90, 8, 26588, '2025-09-26', 'nuevo', 2, NULL, NULL, 1, '2025-08-13 14:42:57', '2025-08-13 14:42:57'),
(142, 41, 30, 10, 28637, '2025-08-26', 'usado sin detalles', 0, NULL, NULL, 1, '2025-08-13 14:42:57', '2025-08-13 14:42:57'),
(143, 34, 30, 8, 48237, '2025-08-09', 'nuevo', 1, NULL, NULL, 1, '2025-08-13 14:42:57', '2025-08-13 14:42:57'),
(144, 23, 13, 4, 33003, '2025-08-28', 'usado con fallas', 5, NULL, NULL, 1, '2025-08-13 14:42:57', '2025-08-13 14:42:57'),
(145, 18, 73, 9, 7178, '2025-09-27', 'usado con fallas', 1, NULL, NULL, 1, '2025-08-13 14:42:57', '2025-08-13 14:42:57'),
(146, 4, 11, 5, 25161, '2025-08-22', 'usado con fallas', 0, NULL, NULL, 1, '2025-08-13 14:42:57', '2025-08-13 14:42:57'),
(147, 5, 37, 6, 18345, '2025-08-09', 'usado con fallas', 2, NULL, NULL, 1, '2025-08-13 14:42:57', '2025-08-13 14:42:57'),
(148, 49, 68, 8, 49212, '2025-08-07', 'usado sin detalles', 0, NULL, NULL, 1, '2025-08-13 14:42:57', '2025-08-13 14:42:57'),
(149, 36, 94, 6, 30635, '2025-08-12', 'usado con fallas', 5, NULL, NULL, 1, '2025-08-13 14:42:57', '2025-08-13 14:42:57'),
(150, 2, 44, 5, 34012, '2025-08-26', 'nuevo', 1, NULL, NULL, 1, '2025-08-13 14:42:57', '2025-08-13 14:42:57');

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

--
-- Estructura de tabla para la tabla `materials`
--

CREATE TABLE `materials` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `nombre` varchar(80) NOT NULL,
  `catmaterial_id` bigint(20) UNSIGNED NOT NULL,
  `codigo` varchar(12) NOT NULL,
  `barcode` varchar(20) DEFAULT NULL,
  `unidad` varchar(30) NOT NULL,
  `stock_actual` int(11) NOT NULL,
  `stock_inicial` int(11) NOT NULL,
  `stock_critico` int(11) NOT NULL,
  `ultimo_costo` bigint(20) NOT NULL,
  `ultimo_ingreso` date NOT NULL,
  `nuevas` int(11) NOT NULL DEFAULT 0,
  `usadas` int(11) NOT NULL DEFAULT 0,
  `disponible` int(11) NOT NULL DEFAULT 0,
  `prestada` int(11) NOT NULL DEFAULT 0,
  `dañada` int(11) NOT NULL DEFAULT 0,
  `en_reparacion` int(11) NOT NULL DEFAULT 0,
  `de_baja` int(11) NOT NULL DEFAULT 0,
  `vendida` int(11) NOT NULL DEFAULT 0,
  `ingresado_por` bigint(20) UNSIGNED NOT NULL,
  `baja_por` varchar(60) DEFAULT NULL,
  `condicion` varchar(20) DEFAULT NULL,
  `estado` int(11) NOT NULL DEFAULT 1,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_spanish2_ci;

--
-- Volcado de datos para la tabla `materials`
--

INSERT INTO `materials` (`id`, `nombre`, `catmaterial_id`, `codigo`, `barcode`, `unidad`, `stock_actual`, `stock_inicial`, `stock_critico`, `ultimo_costo`, `ultimo_ingreso`, `nuevas`, `usadas`, `disponible`, `prestada`, `dañada`, `en_reparacion`, `de_baja`, `vendida`, `ingresado_por`, `baja_por`, `condicion`, `estado`, `created_at`, `updated_at`) VALUES
(1, 'iusto', 1, '030-020-1798', '0084367591357', 'unidades', 28, 25, 20, 5736, '2025-04-25', 6, 5, 5, 5, 1, 1, 1, 6, 1, NULL, 'nuevo', 1, '2025-04-30 21:02:24', '2025-04-30 21:02:24'),
(2, 'ut', 3, '030-020-407', '0628336915555', 'dispensadores', 36, 28, 12, 9806, '2025-04-27', 5, 8, 5, 1, 3, 1, 4, 2, 1, NULL, 'usado con fallas', 1, '2025-04-30 21:02:24', '2025-04-30 21:02:24'),
(3, 'qui', 2, '030-030-224', '0278312427871', 'dispensadores', 19, 21, 18, 8552, '2025-04-24', 3, 8, 1, 2, 3, 6, 1, 2, 1, NULL, 'usado con detalles', 1, '2025-04-30 21:02:24', '2025-04-30 21:02:24'),
(4, 'eveniet', 1, '030-020-305', '5427940324600', 'Lt', 30, 7, 17, 8520, '2025-04-25', 3, 8, 5, 4, 1, 2, 5, 5, 1, NULL, 'nuevo', 1, '2025-04-30 21:02:24', '2025-04-30 21:02:24'),
(5, 'fugit', 4, '030-010-2358', '2376939815663', 'pares', 39, 23, 16, 9214, '2025-04-23', 3, 8, 5, 3, 2, 6, 6, 5, 1, NULL, 'usado con fallas', 1, '2025-04-30 21:02:24', '2025-04-30 21:02:24'),
(6, 'nostrum', 1, '030-020-2063', '3478571982037', 'tinetas', 36, 21, 20, 9239, '2025-04-26', 6, 4, 2, 1, 1, 1, 4, 1, 1, NULL, 'usado sin detalles', 1, '2025-04-30 21:02:25', '2025-04-30 21:02:25'),
(7, 'eaque', 2, '030-010-2251', '3623341280718', 'paquetes', 21, 13, 18, 3205, '2025-04-27', 3, 7, 2, 1, 4, 5, 2, 6, 1, NULL, 'usado con detalles', 1, '2025-04-30 21:02:25', '2025-04-30 21:02:25'),
(8, 'facere', 4, '030-020-406', '7968774473143', 'M3', 15, 6, 12, 7605, '2025-04-30', 3, 4, 6, 5, 4, 5, 6, 3, 1, NULL, 'usado con fallas', 1, '2025-04-30 21:02:25', '2025-04-30 21:02:25'),
(9, 'eum', 2, '030-020-2398', '4620226456564', 'mm', 46, 22, 20, 5763, '2025-04-29', 6, 6, 2, 6, 2, 6, 6, 3, 1, NULL, 'usado con detalles', 1, '2025-04-30 21:02:25', '2025-04-30 21:02:25'),
(10, 'qui', 4, '030-020-956', '9028826336852', 'tiras', 36, 17, 20, 5295, '2025-04-24', 5, 3, 3, 2, 1, 4, 5, 2, 1, NULL, 'nuevo', 1, '2025-04-30 21:02:25', '2025-04-30 21:02:25'),
(11, 'laborum', 1, '030-020-951', '3176199603814', 'media tinetas', 42, 17, 20, 5002, '2025-04-27', 6, 2, 2, 2, 1, 4, 2, 3, 1, NULL, 'usado con detalles', 1, '2025-04-30 21:02:25', '2025-04-30 21:02:25'),
(12, 'voluptates', 2, '030-010-23', '7916908199339', 'sacos', 43, 30, 17, 7518, '2025-04-27', 5, 7, 5, 1, 4, 1, 3, 6, 1, NULL, 'usado con fallas', 1, '2025-04-30 21:02:25', '2025-04-30 21:02:25'),
(13, 'cupiditate', 1, '030-030-400', '6868017641487', 'rollos', 42, 12, 13, 1061, '2025-04-29', 2, 4, 6, 3, 3, 5, 3, 5, 1, NULL, 'nuevo', 1, '2025-04-30 21:02:25', '2025-04-30 21:02:25'),
(14, 'odio', 2, '030-030-2497', '2224006046598', 'bolsas', 16, 13, 18, 5542, '2025-04-25', 7, 4, 2, 1, 5, 1, 4, 1, 1, NULL, 'usado con fallas', 1, '2025-04-30 21:02:25', '2025-04-30 21:02:25'),
(15, 'repellat', 2, '030-010-368', '7185646606830', 'Lt', 36, 9, 15, 3891, '2025-04-25', 3, 7, 4, 4, 6, 4, 5, 6, 1, NULL, 'usado con fallas', 1, '2025-04-30 21:02:25', '2025-04-30 21:02:25'),
(16, 'est', 1, '030-030-1946', '6193193694485', 'M3', 37, 11, 12, 5388, '2025-04-26', 7, 5, 1, 6, 2, 4, 3, 2, 1, NULL, 'usado con detalles', 1, '2025-04-30 21:02:25', '2025-04-30 21:02:25'),
(17, 'accusamus', 1, '030-010-2132', '6213937948794', 'tinetas', 38, 10, 15, 8482, '2025-04-24', 8, 3, 3, 6, 3, 5, 4, 1, 1, NULL, 'nuevo', 1, '2025-04-30 21:02:25', '2025-04-30 21:02:25'),
(18, 'deleniti', 1, '030-010-2002', '0264827043422', 'M2', 23, 18, 15, 9928, '2025-04-25', 3, 3, 6, 6, 5, 2, 3, 5, 1, NULL, 'usado con detalles', 1, '2025-04-30 21:02:25', '2025-04-30 21:02:25'),
(19, 'nesciunt', 3, '030-030-2170', '8913696339687', 'tarros', 24, 15, 19, 4607, '2025-04-29', 7, 5, 3, 6, 4, 6, 4, 2, 1, NULL, 'usado sin detalles', 1, '2025-04-30 21:02:25', '2025-04-30 21:02:25'),
(20, 'sapiente', 2, '030-010-1700', '6428196270276', 'cm', 50, 9, 15, 6906, '2025-04-27', 6, 7, 3, 5, 6, 3, 4, 2, 1, NULL, 'usado con detalles', 1, '2025-04-30 21:02:25', '2025-04-30 21:02:25'),
(21, 'omnis', 4, '030-040-1980', '0285025353359', 'cm', 50, 22, 19, 6908, '2025-04-28', 4, 7, 1, 5, 6, 5, 1, 1, 1, NULL, 'usado con detalles', 1, '2025-04-30 21:02:25', '2025-04-30 21:02:25'),
(22, 'eum', 3, '030-020-1653', '6827805785741', 'Lt', 27, 14, 13, 9351, '2025-04-27', 3, 3, 4, 6, 2, 6, 3, 4, 1, NULL, 'nuevo', 1, '2025-04-30 21:02:25', '2025-04-30 21:02:25'),
(23, 'velit', 3, '030-020-2403', '9540274038381', 'Lt', 27, 5, 10, 6446, '2025-04-29', 2, 4, 1, 4, 4, 1, 6, 3, 1, NULL, 'nuevo', 1, '2025-04-30 21:02:25', '2025-04-30 21:02:25'),
(24, 'ratione', 4, '030-010-940', '4002185105194', 'paquetes', 36, 20, 15, 8732, '2025-04-29', 8, 5, 6, 6, 6, 2, 3, 3, 1, NULL, 'usado sin detalles', 1, '2025-04-30 21:02:25', '2025-04-30 21:02:25'),
(25, 'accusamus', 4, '030-010-1449', '5018216690552', 'tiras', 28, 29, 10, 2515, '2025-04-24', 2, 3, 4, 6, 4, 6, 6, 5, 1, NULL, 'usado sin detalles', 1, '2025-04-30 21:02:26', '2025-04-30 21:02:26'),
(26, 'blanditiis', 2, '030-010-1606', '2029562822347', 'bolsas', 36, 15, 10, 2175, '2025-04-28', 4, 5, 2, 5, 4, 2, 6, 2, 1, NULL, 'usado con fallas', 1, '2025-04-30 21:02:26', '2025-04-30 21:02:26'),
(27, 'odit', 2, '030-030-2135', '0807068070675', 'paquetes', 28, 10, 16, 2047, '2025-04-26', 2, 7, 4, 4, 2, 6, 5, 1, 1, NULL, 'usado con fallas', 1, '2025-04-30 21:02:26', '2025-04-30 21:02:26'),
(28, 'dolorum', 2, '030-040-850', '6969427436387', 'tiras', 24, 5, 17, 7912, '2025-04-29', 7, 7, 6, 5, 3, 6, 2, 5, 1, NULL, 'usado con fallas', 1, '2025-04-30 21:02:26', '2025-04-30 21:02:26'),
(29, 'et', 1, '030-030-1097', '6101935102006', 'media tinetas', 27, 14, 12, 7274, '2025-04-30', 2, 6, 4, 1, 3, 3, 1, 4, 1, NULL, 'usado con detalles', 1, '2025-04-30 21:02:26', '2025-04-30 21:02:26'),
(30, 'vitae', 4, '030-010-757', '5168857039934', 'mm', 37, 29, 14, 6302, '2025-04-25', 3, 7, 2, 1, 2, 1, 5, 2, 1, NULL, 'usado con fallas', 1, '2025-04-30 21:02:26', '2025-04-30 21:02:26'),
(31, 'non', 4, '030-020-1801', '3211863743509', 'bolsas', 20, 11, 10, 6924, '2025-04-30', 4, 6, 2, 3, 3, 5, 5, 5, 1, NULL, 'usado sin detalles', 1, '2025-04-30 21:02:26', '2025-04-30 21:02:26'),
(32, 'enim', 1, '030-040-550', '8431104615081', 'mm', 40, 20, 11, 3747, '2025-04-28', 2, 8, 4, 1, 4, 5, 2, 2, 1, NULL, 'usado con detalles', 1, '2025-04-30 21:02:26', '2025-04-30 21:02:26'),
(33, 'libero', 4, '030-040-682', '6135947139460', 'sacos', 43, 25, 10, 2478, '2025-04-27', 3, 7, 3, 2, 5, 3, 4, 4, 1, NULL, 'nuevo', 1, '2025-04-30 21:02:26', '2025-04-30 21:02:26'),
(34, 'est', 2, '030-010-853', '8334214704006', 'tinetas', 18, 28, 19, 3113, '2025-04-25', 2, 3, 6, 6, 6, 4, 3, 4, 1, NULL, 'usado con detalles', 1, '2025-04-30 21:02:26', '2025-04-30 21:02:26'),
(35, 'labore', 4, '030-020-1908', '2450039828263', 'cuarto de galones', 30, 19, 14, 7209, '2025-04-27', 4, 5, 4, 6, 4, 3, 2, 4, 1, NULL, 'usado con fallas', 1, '2025-04-30 21:02:26', '2025-04-30 21:02:26'),
(36, 'at', 2, '030-030-607', '0758650456615', 'cuarto de galones', 45, 7, 18, 9077, '2025-04-29', 7, 4, 1, 3, 6, 6, 1, 3, 1, NULL, 'usado con fallas', 1, '2025-04-30 21:02:26', '2025-04-30 21:02:26'),
(37, 'reiciendis', 3, '030-030-135', '2632849601766', 'M2', 17, 22, 10, 9691, '2025-04-23', 6, 8, 5, 6, 1, 4, 3, 4, 1, NULL, 'usado con fallas', 1, '2025-04-30 21:02:26', '2025-04-30 21:02:26'),
(38, 'praesentium', 3, '030-020-2339', '0758542503380', 'M', 32, 13, 17, 4240, '2025-04-25', 8, 2, 6, 3, 6, 5, 4, 6, 1, NULL, 'usado con fallas', 1, '2025-04-30 21:02:26', '2025-04-30 21:02:26'),
(39, 'vero', 3, '030-030-1936', '9327047322645', 'tarros', 44, 13, 17, 3559, '2025-04-29', 4, 8, 1, 2, 5, 3, 1, 4, 1, NULL, 'nuevo', 1, '2025-04-30 21:02:26', '2025-04-30 21:02:26'),
(40, 'modi', 1, '030-010-977', '5041467082456', 'M', 28, 16, 18, 4310, '2025-04-26', 7, 5, 5, 6, 2, 3, 6, 1, 1, NULL, 'nuevo', 1, '2025-04-30 21:02:26', '2025-04-30 21:02:26'),
(41, 'enim', 1, '030-040-402', '6744041666521', 'rollos', 29, 17, 18, 5701, '2025-04-27', 2, 8, 1, 6, 1, 6, 3, 6, 1, NULL, 'usado sin detalles', 1, '2025-04-30 21:02:26', '2025-04-30 21:02:26'),
(42, 'voluptatem', 2, '030-030-275', '5480084582107', 'gr', 27, 9, 13, 4236, '2025-04-28', 4, 6, 4, 4, 3, 4, 6, 2, 1, NULL, 'usado con fallas', 1, '2025-04-30 21:02:26', '2025-04-30 21:02:26'),
(43, 'ut', 1, '030-040-824', '7507936682759', 'media tinetas', 33, 6, 10, 8931, '2025-04-29', 8, 6, 2, 3, 4, 5, 2, 5, 1, NULL, 'usado con detalles', 1, '2025-04-30 21:02:26', '2025-04-30 21:02:26'),
(44, 'qui', 2, '030-040-237', '9852220831633', 'cajas', 46, 7, 15, 7523, '2025-04-28', 2, 2, 3, 1, 5, 3, 3, 2, 1, NULL, 'nuevo', 1, '2025-04-30 21:02:26', '2025-04-30 21:02:26'),
(45, 'velit', 1, '030-030-1224', '0758937282487', 'tiras', 19, 18, 19, 3213, '2025-04-27', 7, 8, 1, 5, 2, 2, 1, 6, 1, NULL, 'nuevo', 1, '2025-04-30 21:02:26', '2025-04-30 21:02:26'),
(46, 'et', 3, '030-040-2276', '5950012553016', 'tinetas', 50, 10, 19, 3534, '2025-04-27', 3, 3, 3, 3, 5, 6, 6, 4, 1, NULL, 'usado sin detalles', 1, '2025-04-30 21:02:26', '2025-04-30 21:02:26'),
(47, 'ullam', 4, '030-030-911', '3825035553706', 'tarros', 40, 5, 11, 6849, '2025-04-28', 2, 3, 1, 2, 4, 2, 5, 2, 1, NULL, 'usado sin detalles', 1, '2025-04-30 21:02:26', '2025-04-30 21:02:26'),
(48, 'tempora', 3, '030-030-2295', '0074062634688', 'mm', 28, 28, 13, 3993, '2025-04-27', 7, 3, 1, 6, 6, 1, 3, 1, 1, NULL, 'nuevo', 1, '2025-04-30 21:02:26', '2025-04-30 21:02:26'),
(49, 'laudantium', 1, '030-040-1085', '5240768887634', 'tinetas', 34, 26, 18, 1830, '2025-04-30', 4, 7, 5, 5, 4, 6, 2, 5, 1, NULL, 'usado con detalles', 1, '2025-04-30 21:02:26', '2025-04-30 21:02:26'),
(50, 'quaerat', 3, '030-020-494', '8330154768627', 'media tinetas', 25, 24, 19, 9720, '2025-04-25', 4, 2, 1, 4, 2, 5, 1, 4, 1, NULL, 'usado con detalles', 1, '2025-04-30 21:02:26', '2025-04-30 21:02:26'),
(51, 'aasdas', 2, '030-030-879', '7450784155947', 'pares', 39, 19, 18, 7891, '2025-04-24', 6, 5, 4, 2, 3, 5, 5, 3, 1, NULL, 'usado con detalles', 1, '2025-04-30 21:02:27', '2025-04-30 21:02:27'),
(52, 'sunt', 3, '030-010-1065', '9914428952685', 'M', 38, 7, 17, 3277, '2025-04-30', 3, 8, 5, 5, 2, 1, 4, 3, 1, NULL, 'usado con fallas', 1, '2025-04-30 21:02:27', '2025-04-30 21:02:27'),
(53, 'enim', 4, '030-010-513', '3047994302045', 'cuarto de galones', 36, 11, 10, 5756, '2025-04-26', 3, 8, 3, 3, 6, 4, 4, 1, 1, NULL, 'usado con fallas', 1, '2025-04-30 21:02:27', '2025-04-30 21:02:27'),
(54, 'hic', 1, '030-020-963', '4010168357294', 'cajas', 44, 30, 16, 5084, '2025-04-29', 8, 8, 3, 2, 5, 5, 5, 6, 1, NULL, 'nuevo', 1, '2025-04-30 21:02:27', '2025-04-30 21:02:27'),
(55, 'nihil', 1, '030-020-1965', '9576654710301', 'mm', 41, 5, 16, 2030, '2025-04-28', 2, 7, 3, 1, 1, 3, 5, 4, 1, NULL, 'usado con fallas', 1, '2025-04-30 21:02:27', '2025-04-30 21:02:27'),
(56, 'rerum', 2, '030-020-2160', '6585524854703', 'tinetas', 29, 17, 16, 8991, '2025-04-25', 4, 7, 3, 6, 2, 5, 5, 3, 1, NULL, 'usado con fallas', 1, '2025-04-30 21:02:27', '2025-04-30 21:02:27'),
(57, 'hic', 3, '030-030-1045', '3381729106011', 'cajas', 20, 23, 11, 6819, '2025-04-28', 5, 5, 2, 2, 3, 4, 4, 1, 1, NULL, 'usado con detalles', 1, '2025-04-30 21:02:27', '2025-04-30 21:02:27'),
(58, 'sit', 3, '030-020-1659', '5745466263709', 'M2', 41, 17, 11, 1456, '2025-04-26', 7, 8, 3, 2, 2, 2, 3, 2, 1, NULL, 'usado sin detalles', 1, '2025-04-30 21:02:27', '2025-04-30 21:02:27'),
(59, 'at', 1, '030-040-1649', '6038869860101', 'pares', 33, 29, 13, 3144, '2025-04-25', 7, 8, 4, 5, 6, 2, 3, 4, 1, NULL, 'usado con fallas', 1, '2025-04-30 21:02:27', '2025-04-30 21:02:27'),
(60, 'debitis', 2, '030-020-1323', '1715612119369', 'mm', 26, 24, 17, 1861, '2025-04-25', 3, 8, 2, 4, 5, 1, 5, 1, 1, NULL, 'nuevo', 1, '2025-04-30 21:02:27', '2025-04-30 21:02:27'),
(61, 'dolor', 1, '030-030-1227', '9381785131877', 'gr', 45, 8, 17, 9891, '2025-04-29', 4, 5, 4, 4, 4, 6, 2, 6, 1, NULL, 'nuevo', 1, '2025-04-30 21:02:27', '2025-04-30 21:02:27'),
(62, 'a sdasd', 4, '030-040-387', '0117696453789', 'tinetas', 48, 25, 13, 3831, '2025-04-25', 3, 8, 6, 5, 6, 5, 1, 6, 1, NULL, 'usado sin detalles', 1, '2025-04-30 21:02:27', '2025-04-30 21:02:27'),
(63, 'numquam', 4, '030-040-2094', '1844942478072', 'unidades', 20, 21, 18, 9888, '2025-04-30', 4, 5, 3, 6, 6, 5, 5, 2, 1, NULL, 'usado con detalles', 1, '2025-04-30 21:02:27', '2025-04-30 21:02:27'),
(64, 'veniam', 2, '030-040-215', '0239413045555', 'bolsas', 24, 6, 14, 9901, '2025-04-24', 2, 4, 5, 5, 3, 5, 4, 3, 1, NULL, 'usado con fallas', 1, '2025-04-30 21:02:27', '2025-04-30 21:02:27'),
(65, 'reiciendis', 4, '030-030-383', '6323605863226', 'cm', 45, 27, 16, 2401, '2025-04-25', 5, 4, 3, 3, 2, 4, 2, 6, 1, NULL, 'usado con fallas', 1, '2025-04-30 21:02:27', '2025-04-30 21:02:27'),
(66, 'minus', 4, '030-030-409', '1245725054115', 'sacos', 20, 17, 17, 8908, '2025-04-27', 7, 7, 3, 3, 1, 6, 3, 4, 1, NULL, 'usado con fallas', 1, '2025-04-30 21:02:27', '2025-04-30 21:02:27'),
(67, 'commodi', 1, '030-020-367', '5616769042271', 'dispensadores', 33, 5, 16, 5842, '2025-04-28', 4, 3, 1, 1, 2, 6, 1, 4, 1, NULL, 'usado con detalles', 1, '2025-04-30 21:02:27', '2025-04-30 21:02:27'),
(68, 'soluta', 2, '030-010-1503', '9380501138053', 'cajas', 24, 9, 18, 9460, '2025-04-25', 7, 4, 6, 2, 3, 3, 4, 1, 1, NULL, 'nuevo', 1, '2025-04-30 21:02:27', '2025-04-30 21:02:27'),
(69, 'corrupti', 4, '030-040-1095', '2380613410945', 'Kg', 44, 21, 15, 3460, '2025-04-29', 2, 5, 1, 2, 5, 5, 5, 5, 1, NULL, 'usado con fallas', 1, '2025-04-30 21:02:27', '2025-04-30 21:02:27'),
(70, 'laudantium', 3, '030-010-2023', '4045481820095', 'unidades', 50, 14, 17, 5849, '2025-04-30', 2, 4, 4, 6, 3, 6, 4, 6, 1, NULL, 'usado sin detalles', 1, '2025-04-30 21:02:27', '2025-04-30 21:02:27'),
(71, 'autem', 3, '030-020-418', '6741741471424', 'M2', 28, 8, 13, 4786, '2025-04-29', 5, 8, 6, 6, 1, 4, 4, 3, 1, NULL, 'nuevo', 1, '2025-04-30 21:02:27', '2025-04-30 21:02:27'),
(72, 'ipsum', 3, '030-030-2098', '1175359537039', 'tinetas', 19, 17, 14, 2575, '2025-04-26', 5, 2, 3, 4, 3, 3, 1, 6, 1, NULL, 'usado con fallas', 1, '2025-04-30 21:02:27', '2025-04-30 21:02:27'),
(73, 'nesciunt', 4, '030-030-126', '3203203820506', 'dispensadores', 17, 13, 12, 2953, '2025-04-26', 3, 8, 2, 3, 1, 1, 1, 6, 1, NULL, 'nuevo', 1, '2025-04-30 21:02:27', '2025-04-30 21:02:27'),
(74, 'quasi', 2, '030-030-130', '4642515504534', 'tinetas', 21, 12, 17, 2707, '2025-04-24', 4, 7, 1, 4, 1, 6, 1, 3, 1, NULL, 'usado con detalles', 1, '2025-04-30 21:02:27', '2025-04-30 21:02:27'),
(75, 'nostrum', 4, '030-030-69', '0827125380547', 'M3', 34, 26, 19, 6796, '2025-04-25', 7, 5, 4, 3, 2, 4, 4, 1, 1, NULL, 'usado sin detalles', 1, '2025-04-30 21:02:27', '2025-04-30 21:02:27'),
(76, 'sed', 3, '030-030-1321', '9126182899124', 'pares', 18, 9, 19, 4811, '2025-04-28', 5, 5, 2, 1, 2, 2, 1, 6, 1, NULL, 'usado con fallas', 1, '2025-04-30 21:02:27', '2025-04-30 21:02:27'),
(77, 'recusandae', 3, '030-030-1544', '2403463925237', 'tiras', 21, 23, 13, 2633, '2025-04-24', 7, 8, 6, 5, 4, 4, 3, 5, 1, NULL, 'usado con fallas', 1, '2025-04-30 21:02:27', '2025-04-30 21:02:27'),
(78, 'voluptas', 4, '030-010-983', '6377411515954', 'cuarto de galones', 27, 14, 13, 2967, '2025-04-27', 5, 2, 6, 5, 5, 4, 1, 1, 1, NULL, 'nuevo', 1, '2025-04-30 21:02:27', '2025-04-30 21:02:27'),
(79, 'qui', 3, '030-020-1815', '2423840297825', 'M3', 20, 11, 14, 2253, '2025-04-25', 4, 3, 5, 1, 1, 6, 3, 1, 1, NULL, 'nuevo', 1, '2025-04-30 21:02:27', '2025-04-30 21:02:27'),
(80, 'velit', 3, '030-010-1571', '3869155286144', 'cajas', 47, 13, 19, 3612, '2025-04-26', 5, 8, 2, 6, 5, 4, 1, 3, 1, NULL, 'usado con fallas', 1, '2025-04-30 21:02:27', '2025-04-30 21:02:27'),
(81, 'qui', 1, '030-030-1135', '1164974153250', 'cm', 27, 6, 16, 7580, '2025-04-25', 3, 7, 2, 4, 3, 3, 2, 3, 1, NULL, 'usado sin detalles', 1, '2025-04-30 21:02:27', '2025-04-30 21:02:27'),
(82, 'maiores', 2, '030-020-2437', '7583338563896', 'Kg', 20, 17, 12, 4040, '2025-04-29', 4, 7, 3, 2, 1, 3, 2, 3, 1, NULL, 'usado sin detalles', 1, '2025-04-30 21:02:27', '2025-04-30 21:02:27'),
(83, 'sit', 1, '030-030-2432', '0011099263634', 'media tinetas', 17, 28, 14, 3608, '2025-04-30', 4, 8, 1, 4, 2, 5, 5, 6, 1, NULL, 'usado con detalles', 1, '2025-04-30 21:02:27', '2025-04-30 21:02:27'),
(84, 'sed', 1, '030-010-695', '3823142568163', 'cm', 16, 24, 10, 9703, '2025-04-30', 8, 8, 5, 5, 2, 2, 3, 2, 1, NULL, 'usado sin detalles', 1, '2025-04-30 21:02:27', '2025-04-30 21:02:27'),
(85, 'hic', 2, '030-040-1557', '8453573340363', 'tarros', 40, 21, 15, 9877, '2025-04-24', 7, 3, 6, 3, 2, 4, 2, 6, 1, NULL, 'nuevo', 1, '2025-04-30 21:02:27', '2025-04-30 21:02:27'),
(86, 'aut', 1, '030-020-3', '2337162878993', 'cuarto de galones', 19, 17, 15, 9873, '2025-04-26', 7, 7, 6, 5, 2, 3, 1, 1, 1, NULL, 'nuevo', 1, '2025-04-30 21:02:27', '2025-04-30 21:02:27'),
(87, 'sunt', 3, '030-020-2162', '8410317990796', 'bolsas', 15, 30, 10, 5298, '2025-04-29', 5, 2, 1, 3, 1, 3, 6, 4, 1, NULL, 'usado con fallas', 1, '2025-04-30 21:02:27', '2025-04-30 21:02:27'),
(88, 'itaque', 1, '030-040-630', '4403598980390', 'bolsas', 39, 25, 20, 6689, '2025-04-26', 7, 5, 4, 5, 3, 1, 3, 6, 1, NULL, 'usado sin detalles', 1, '2025-04-30 21:02:27', '2025-04-30 21:02:27'),
(89, 'maiores', 4, '030-010-124', '9333133993774', 'mm', 37, 17, 18, 1840, '2025-04-24', 8, 8, 4, 1, 2, 2, 5, 5, 1, NULL, 'usado con fallas', 1, '2025-04-30 21:02:27', '2025-04-30 21:02:27'),
(90, 'excepturi', 3, '030-010-537', '2832435851074', 'cm', 43, 22, 20, 2940, '2025-04-24', 2, 3, 1, 3, 5, 2, 6, 2, 1, NULL, 'usado sin detalles', 1, '2025-04-30 21:02:27', '2025-04-30 21:02:27'),
(91, 'in', 1, '030-010-2073', '7342597119806', 'unidades', 48, 28, 15, 1863, '2025-04-26', 2, 5, 1, 2, 3, 1, 4, 4, 1, NULL, 'nuevo', 1, '2025-04-30 21:02:27', '2025-04-30 21:02:27'),
(92, 'et', 4, '030-010-2082', '2620603189452', 'sacos', 46, 21, 18, 4318, '2025-04-24', 3, 5, 6, 1, 4, 1, 4, 4, 1, NULL, 'usado con fallas', 1, '2025-04-30 21:02:27', '2025-04-30 21:02:27'),
(93, 'repellendus', 2, '030-040-521', '3225685903508', 'tarros', 22, 7, 17, 6420, '2025-04-26', 6, 8, 2, 2, 4, 6, 6, 5, 1, NULL, 'usado con fallas', 1, '2025-04-30 21:02:28', '2025-04-30 21:02:28'),
(94, 'aspernatur', 3, '030-030-531', '6563489493892', 'pares', 36, 27, 11, 4650, '2025-04-27', 2, 2, 3, 3, 1, 6, 3, 3, 1, NULL, 'usado con detalles', 1, '2025-04-30 21:02:28', '2025-04-30 21:02:28'),
(95, 'ad', 2, '030-020-30', '1406435069282', 'pares', 43, 20, 17, 1019, '2025-04-24', 7, 6, 1, 1, 4, 5, 5, 3, 1, NULL, 'usado con fallas', 1, '2025-04-30 21:02:28', '2025-04-30 21:02:28'),
(96, 'aut', 4, '030-030-1911', '4156897521626', 'Kg', 44, 27, 20, 3415, '2025-04-30', 4, 2, 6, 4, 4, 5, 4, 6, 1, NULL, 'usado con detalles', 1, '2025-04-30 21:02:28', '2025-04-30 21:02:28'),
(97, 'consequatur', 1, '030-030-689', '2876837480302', 'pares', 27, 22, 15, 4204, '2025-04-28', 7, 5, 1, 4, 2, 3, 6, 6, 1, NULL, 'nuevo', 1, '2025-04-30 21:02:28', '2025-04-30 21:02:28'),
(98, 'dolorem', 1, '030-040-590', '1752101696079', 'pares', 43, 6, 16, 5890, '2025-04-29', 5, 4, 1, 6, 2, 6, 3, 4, 1, NULL, 'usado sin detalles', 1, '2025-04-30 21:02:28', '2025-04-30 21:02:28'),
(99, 'qui', 2, '030-010-628', '9876758331014', 'M2', 26, 27, 18, 9166, '2025-04-27', 4, 4, 5, 4, 3, 2, 3, 1, 1, NULL, 'usado con detalles', 1, '2025-04-30 21:02:28', '2025-04-30 21:02:28'),
(100, 'minima', 1, '030-010-174', '3057700915735', 'rollos', 35, 23, 11, 4121, '2025-04-29', 8, 5, 3, 2, 4, 1, 3, 6, 1, NULL, 'nuevo', 1, '2025-04-30 21:02:28', '2025-04-30 21:02:28');

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

--
-- Estructura de tabla para la tabla `migrations`
--

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

--
-- Volcado de datos para la tabla `migrations`
--

INSERT INTO `migrations` (`id`, `migration`, `batch`) VALUES
(1, '0000_03_20_015455_create_empresas_table', 1),
(2, '0001_01_01_000000_create_users_table', 1),
(3, '0001_01_01_000001_create_cache_table', 1),
(4, '0001_01_01_000002_create_jobs_table', 1),
(6, '2020_07_07_055656_create_countries_table', 1),
(7, '2020_07_07_055725_create_cities_table', 1),
(8, '2020_07_07_055746_create_timezones_table', 1),
(9, '2021_10_19_071730_create_states_table', 1),
(10, '2021_10_23_082414_create_currencies_table', 1),
(11, '2022_01_22_034939_create_languages_table', 1),
(12, '2025_03_20_021546_create_permission_tables', 1),
(13, '2025_03_28_121132_create_cat_materials_table', 1),
(14, '2025_03_28_121202_create_cat_herramientas_table', 1),
(15, '2025_03_29_133452_create_cat_consumibles_table', 1),
(16, '2025_03_29_161613_create_cat_elementos_table', 1),
(17, '2025_03_29_234324_create_consumibles_table', 1),
(18, '2025_03_29_234337_create_elementos_table', 1),
(19, '2025_03_29_234337_create_unidades_table - copia', 1),
(21, '2025_03_29_234406_create_materials_table', 1),
(22, '2025_03_30_230552_create_trabajadors_table', 1),
(28, '2025_04_24_015608_create_consudevolucions_table', 1),
(29, '2025_04_24_015718_create_elemendevolucions_table', 1),
(30, '2025_04_24_015839_create_matdevolucions_table', 1),
(31, '2025_04_26_225946_create_tmphtaentregas_table', 1),
(33, '2025_04_30_110338_create_proyectos_table', 1),
(49, '2025_05_30_094858_create_proveedors_table', 6),
(63, '2025_04_22_010027_create_consuentregas_table', 8),
(64, '2025_04_22_010052_create_elementregas_table', 8),
(65, '2025_04_22_010105_create_matentregas_table', 8),
(67, '2025_08_05_101457_create_elementregasitems_table', 10),
(68, '2025_08_05_101521_create_consuentregasitems_table', 10),
(69, '2025_08_05_102531_create_tmpmatentregas_table', 11),
(70, '2025_08_05_102543_create_tmpelementregas_table', 11),
(71, '2025_08_05_102553_create_tmpconsuentregas_table', 11),
(72, '2025_03_29_234351_create_herramientas_table', 12),
(73, '2025_04_22_005941_create_htaentregas_table', 12),
(74, '2025_04_24_015313_create_htadevolucions_table', 12),
(75, '2025_04_22_005951_create_htaentregasitems_table', 13),
(76, '2025_04_25_233930_create_htadevolucionitems_table', 14),
(77, '2025_08_05_101431_create_matentregasitems_table', 15),
(78, '2025_08_20_225729_create_vehiculos_table', 16);

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

--
-- Estructura de tabla para la tabla `model_has_permissions`
--

CREATE TABLE `model_has_permissions` (
  `permission_id` bigint(20) UNSIGNED NOT NULL,
  `model_type` varchar(255) NOT NULL,
  `model_id` bigint(20) UNSIGNED NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_spanish2_ci;

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

--
-- Estructura de tabla para la tabla `model_has_roles`
--

CREATE TABLE `model_has_roles` (
  `role_id` bigint(20) UNSIGNED NOT NULL,
  `model_type` varchar(255) NOT NULL,
  `model_id` bigint(20) UNSIGNED NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_spanish2_ci;

--
-- Volcado de datos para la tabla `model_has_roles`
--

INSERT INTO `model_has_roles` (`role_id`, `model_type`, `model_id`) VALUES
(1, 'App\\Models\\User', 1),
(1, 'App\\Models\\User', 12),
(2, 'App\\Models\\User', 8),
(2, 'App\\Models\\User', 11),
(2, 'App\\Models\\User', 13),
(3, 'App\\Models\\User', 4),
(3, 'App\\Models\\User', 10),
(3, 'App\\Models\\User', 14),
(4, 'App\\Models\\User', 3),
(4, 'App\\Models\\User', 5),
(4, 'App\\Models\\User', 7),
(4, 'App\\Models\\User', 15),
(5, 'App\\Models\\User', 2),
(5, 'App\\Models\\User', 9),
(5, 'App\\Models\\User', 16),
(6, 'App\\Models\\User', 6),
(6, 'App\\Models\\User', 17);

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

--
-- Estructura de tabla para la tabla `password_reset_tokens`
--

CREATE TABLE `password_reset_tokens` (
  `email` varchar(255) NOT NULL,
  `token` varchar(255) NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_spanish2_ci;

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

--
-- Estructura de tabla para la tabla `permissions`
--

CREATE TABLE `permissions` (
  `id` bigint(20) UNSIGNED NOT NULL,
  `name` varchar(255) NOT NULL,
  `guard_name` varchar(255) NOT NULL,
  `ingresado_por` int(11) NOT NULL DEFAULT 1,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `estado` int(11) NOT NULL DEFAULT 1
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_spanish2_ci;

--
-- Volcado de datos para la tabla `permissions`
--

INSERT INTO `permissions` (`id`, `name`, `guard_name`, `ingresado_por`, `created_at`, `updated_at`, `estado`) VALUES
(2, 'admin-index', 'web', 1, '2025-09-26 13:54:08', '2025-09-26 13:54:19', 1),
(3, 'admin-empresa-edit', 'web', 1, '2025-09-26 14:47:12', '2025-09-26 14:47:12', 1),
(4, 'admin-roles-index', 'web', 1, '2025-09-26 14:48:56', '2025-09-26 14:48:56', 1),
(5, 'admin-roles-mostrar', 'web', 1, '2025-09-26 14:49:10', '2025-09-26 14:49:10', 1),
(6, 'admin-roles-editar', 'web', 1, '2025-09-26 14:49:22', '2025-09-26 14:49:22', 1),
(7, 'admin-roles-asignar', 'web', 1, '2025-09-26 14:51:20', '2025-09-26 14:51:20', 1),
(8, 'admin-roles-borrar', 'web', 1, '2025-09-26 14:51:33', '2025-09-26 14:51:33', 1),
(9, 'admin-roles-crear', 'web', 1, '2025-09-26 14:51:46', '2025-09-26 14:51:46', 1),
(10, 'admin-roles-eliminados', 'web', 1, '2025-09-26 14:51:59', '2025-09-26 14:51:59', 1),
(11, 'admin-roles-activar', 'web', 1, '2025-09-26 14:52:12', '2025-09-26 14:52:12', 1),
(12, 'admin-roles-imprimir', 'web', 1, '2025-09-26 14:52:25', '2025-09-26 14:52:25', 1),
(13, 'admin-usuarios-index', 'web', 1, '2025-09-26 14:53:26', '2025-09-26 14:53:26', 1),
(14, 'admin-usuarios-mostrar', 'web', 1, '2025-09-26 14:53:38', '2025-09-26 14:53:38', 1),
(15, 'admin-usuarios-editar', 'web', 1, '2025-09-26 14:53:48', '2025-09-26 14:53:48', 1),
(16, 'admin-usuarios-asignar', 'web', 1, '2025-09-26 14:53:59', '2025-09-29 01:21:06', 0),
(17, 'admin-usuarios-borrar', 'web', 1, '2025-09-26 14:54:11', '2025-09-26 14:54:11', 1),
(18, 'admin-usuarios-crear', 'web', 1, '2025-09-26 14:54:23', '2025-09-26 14:54:23', 1),
(19, 'admin-usuarios-eliminados', 'web', 1, '2025-09-26 14:54:35', '2025-09-26 14:54:35', 1),
(20, 'admin-usuarios-activar', 'web', 1, '2025-09-26 14:54:45', '2025-09-26 14:54:45', 1),
(21, 'admin-usuarios-imprimir', 'web', 1, '2025-09-26 14:54:56', '2025-09-26 14:54:56', 1),
(22, 'admin-trabajadores-index', 'web', 1, '2025-09-26 14:55:28', '2025-09-26 14:55:28', 1),
(23, 'admin-trabajadores-mostrar', 'web', 1, '2025-09-26 14:55:41', '2025-09-26 14:55:41', 1),
(24, 'admin-trabajadores-editar', 'web', 1, '2025-09-26 14:55:53', '2025-09-26 14:55:53', 1),
(25, 'admin-trabajadores-asignar', 'web', 1, '2025-09-26 14:56:06', '2025-09-29 01:20:54', 0),
(26, 'admin-trabajadores-borrar', 'web', 1, '2025-09-26 14:56:16', '2025-09-26 14:56:16', 1),
(27, 'admin-trabajadores-crear', 'web', 1, '2025-09-26 14:56:26', '2025-09-26 14:56:26', 1),
(28, 'admin-trabajadores-eliminados', 'web', 1, '2025-09-26 14:56:37', '2025-09-26 14:56:37', 1),
(29, 'admin-trabajadores-activar', 'web', 1, '2025-09-26 14:56:52', '2025-09-26 14:56:52', 1),
(30, 'admin-trabajadores-imprimir', 'web', 1, '2025-09-26 14:57:03', '2025-09-26 14:57:03', 1),
(31, 'admin-proyectos-index', 'web', 1, '2025-09-26 14:57:40', '2025-09-26 14:57:40', 1),
(32, 'admin-proyectos-mostrar', 'web', 1, '2025-09-26 14:57:54', '2025-09-26 14:57:54', 1),
(33, 'admin-proyectos-editar', 'web', 1, '2025-09-26 14:58:06', '2025-09-26 14:58:06', 1),
(34, 'admin-proyectos-asignar', 'web', 1, '2025-09-26 14:58:16', '2025-09-29 01:22:25', 0),
(35, 'admin-proyectos-borrar', 'web', 1, '2025-09-26 14:58:27', '2025-09-26 14:58:27', 1),
(36, 'admin-proyectos-crear', 'web', 1, '2025-09-26 14:59:20', '2025-09-26 14:59:20', 1),
(37, 'admin-proyectos-eliminados', 'web', 1, '2025-09-26 14:59:33', '2025-09-26 14:59:33', 1),
(38, 'admin-proyectos-activar', 'web', 1, '2025-09-26 14:59:44', '2025-09-26 14:59:44', 1),
(39, 'admin-proyectos-imprimir', 'web', 1, '2025-09-26 14:59:55', '2025-09-26 14:59:55', 1),
(40, 'admin-proveedores-index', 'web', 1, '2025-09-26 15:01:36', '2025-09-26 15:01:36', 1),
(41, 'admin-proveedores-mostrar', 'web', 1, '2025-09-26 15:01:49', '2025-09-26 15:01:49', 1),
(42, 'admin-proveedores-editar', 'web', 1, '2025-09-26 15:01:58', '2025-09-26 15:01:58', 1),
(43, 'admin-proveedores-asignar', 'web', 1, '2025-09-26 15:02:09', '2025-09-29 01:20:25', 0),
(44, 'admin-proveedores-borrar', 'web', 1, '2025-09-26 15:02:21', '2025-09-26 15:02:21', 1),
(45, 'admin-proveedores-crear', 'web', 1, '2025-09-26 15:02:34', '2025-09-26 15:02:34', 1),
(46, 'admin-proveedores-eliminados', 'web', 1, '2025-09-26 15:02:44', '2025-09-26 15:02:44', 1),
(47, 'admin-proveedores-activar', 'web', 1, '2025-09-26 15:02:57', '2025-09-26 15:02:57', 1),
(48, 'admin-proveedores-imprimir', 'web', 1, '2025-09-26 15:03:08', '2025-09-26 15:03:08', 1),
(49, 'htas-categorias-index', 'web', 1, '2025-09-26 15:16:41', '2025-09-26 15:16:41', 1),
(50, 'htas-categorias-mostrar', 'web', 1, '2025-09-26 15:16:55', '2025-09-26 15:16:55', 1),
(51, 'htas-categorias-editar', 'web', 1, '2025-09-26 15:17:07', '2025-09-26 15:17:07', 1),
(52, 'htas-categorias-borrar', 'web', 1, '2025-09-26 15:17:19', '2025-09-26 15:17:19', 1),
(53, 'htas-categorias-crear', 'web', 1, '2025-09-26 15:17:29', '2025-09-26 15:17:29', 1),
(54, 'htas-categorias-imprimir', 'web', 1, '2025-09-26 15:18:10', '2025-09-26 15:18:10', 1),
(55, 'htas-categorias-eliminados', 'web', 1, '2025-09-26 15:22:09', '2025-09-26 15:22:09', 1),
(56, 'htas-categorias-activar', 'web', 1, '2025-09-26 15:22:21', '2025-09-26 15:22:21', 1),
(57, 'mat-categorias-index', 'web', 1, '2025-09-26 15:22:47', '2025-09-26 15:22:47', 1),
(58, 'mat-categorias-mostrar', 'web', 1, '2025-09-26 15:23:00', '2025-09-26 15:23:00', 1),
(59, 'mat-categorias-editar', 'web', 1, '2025-09-26 15:23:12', '2025-09-26 15:23:12', 1),
(60, 'mat-categorias-borrar', 'web', 1, '2025-09-26 15:23:24', '2025-09-26 15:23:24', 1),
(61, 'mat-categorias-crear', 'web', 1, '2025-09-26 15:24:02', '2025-09-26 15:24:02', 1),
(62, 'mat-categorias-imprimir', 'web', 1, '2025-09-26 15:24:13', '2025-09-26 15:24:13', 1),
(63, 'mat-categorias-eliminados', 'web', 1, '2025-09-26 15:24:24', '2025-09-26 15:24:24', 1),
(64, 'mat-categorias-activar', 'web', 1, '2025-09-26 15:24:34', '2025-09-26 15:24:34', 1),
(65, 'consu-categorias-index', 'web', 1, '2025-09-26 15:24:52', '2025-09-26 15:24:52', 1),
(66, 'consu-categorias-mostrar', 'web', 1, '2025-09-26 15:25:04', '2025-09-26 15:25:04', 1),
(67, 'consu-categorias-editar', 'web', 1, '2025-09-26 15:25:15', '2025-09-26 15:25:15', 1),
(68, 'consu-categorias-borrar', 'web', 1, '2025-09-26 15:25:44', '2025-09-26 15:25:44', 1),
(69, 'consu-categorias-crear', 'web', 1, '2025-09-26 15:25:55', '2025-09-26 15:25:55', 1),
(70, 'consu-categorias-imprimir', 'web', 1, '2025-09-26 15:26:05', '2025-09-26 15:26:05', 1),
(71, 'consu-categorias-eliminados', 'web', 1, '2025-09-26 15:26:16', '2025-09-26 15:26:16', 1),
(72, 'consu-categorias-activar', 'web', 1, '2025-09-26 15:26:26', '2025-09-26 15:26:26', 1),
(73, 'elem-categorias-index', 'web', 1, '2025-09-26 15:27:16', '2025-09-26 15:27:16', 1),
(74, 'elem-categorias-mostrar', 'web', 1, '2025-09-26 15:27:34', '2025-09-26 15:27:34', 1),
(75, 'elem-categorias-editar', 'web', 1, '2025-09-26 15:27:45', '2025-09-26 15:27:45', 1),
(76, 'elem-categorias-borrar', 'web', 1, '2025-09-26 15:27:55', '2025-09-26 15:27:55', 1),
(77, 'elem-categorias-crear', 'web', 1, '2025-09-26 15:28:06', '2025-09-26 15:28:06', 1),
(78, 'elem-categorias-imprimir', 'web', 1, '2025-09-26 15:28:17', '2025-09-26 15:28:17', 1),
(79, 'elem-categorias-eliminados', 'web', 1, '2025-09-26 15:28:27', '2025-09-26 15:28:27', 1),
(80, 'elem-categorias-activar', 'web', 1, '2025-09-26 15:28:37', '2025-09-26 15:28:37', 1),
(81, 'htas-index', 'web', 1, '2025-09-26 18:35:48', '2025-09-26 18:35:48', 1),
(82, 'htas-crear', 'web', 1, '2025-09-26 18:35:59', '2025-09-26 18:35:59', 1),
(83, 'htas-imprimir', 'web', 1, '2025-09-26 18:36:09', '2025-09-26 18:36:09', 1),
(84, 'htas-mostrar', 'web', 1, '2025-09-26 18:36:21', '2025-09-26 18:36:21', 1),
(85, 'htas-editar', 'web', 1, '2025-09-26 18:36:31', '2025-09-26 18:36:31', 1),
(86, 'htas-borrar', 'web', 1, '2025-09-26 18:36:42', '2025-09-26 18:36:42', 1),
(87, 'htas-eliminados', 'web', 1, '2025-09-26 18:37:33', '2025-09-26 18:37:33', 1),
(88, 'htas-eliminados-imprimir', 'web', 1, '2025-09-26 18:37:57', '2025-09-26 18:37:57', 1),
(89, 'htas-activar', 'web', 1, '2025-09-26 18:38:07', '2025-09-26 18:38:07', 1),
(90, 'htas-prestar-index', 'web', 1, '2025-09-26 18:38:23', '2025-09-26 18:38:23', 1),
(91, 'htas-prestadas-index', 'web', 1, '2025-09-27 19:57:02', '2025-09-27 19:57:02', 1),
(92, 'htas-prestadas-crear', 'web', 1, '2025-09-27 19:57:14', '2025-09-27 19:57:14', 1),
(93, 'htas-prestadas-mostrar', 'web', 1, '2025-09-27 19:57:26', '2025-09-27 19:57:26', 1),
(94, 'htas-prestadas-imprimir', 'web', 1, '2025-09-27 19:57:37', '2025-09-27 19:57:37', 1),
(95, 'htas-prestadas-editar', 'web', 1, '2025-09-27 19:57:49', '2025-09-27 19:57:49', 1),
(96, 'htas-prestadas-borrar', 'web', 1, '2025-09-27 19:58:02', '2025-09-27 19:58:02', 1),
(97, 'htas-enuso-index', 'web', 1, '2025-09-27 19:58:50', '2025-09-27 19:58:50', 1),
(98, 'htas-enuso-imprimir', 'web', 1, '2025-09-27 19:59:03', '2025-09-27 19:59:03', 1),
(99, 'htas-atrasadas-index', 'web', 1, '2025-09-27 19:59:24', '2025-09-27 19:59:24', 1),
(100, 'htas-atrasadas-imprimir', 'web', 1, '2025-09-27 19:59:35', '2025-09-27 19:59:35', 1),
(101, 'htas-devoluciones-index', 'web', 1, '2025-09-27 20:00:04', '2025-09-27 20:00:04', 1),
(102, 'htas-devoluciones-crear', 'web', 1, '2025-09-27 20:00:44', '2025-09-27 20:00:44', 1),
(103, 'htas-devoluciones-mostrar', 'web', 1, '2025-09-27 20:00:56', '2025-09-27 20:00:56', 1),
(104, 'htas-devoluciones-imprimir', 'web', 1, '2025-09-27 20:01:07', '2025-09-27 20:01:07', 1),
(105, 'htas-devoluciones-editar', 'web', 1, '2025-09-27 20:01:17', '2025-09-27 20:01:17', 1),
(106, 'htas-devoluciones-borrar', 'web', 1, '2025-09-27 20:01:47', '2025-09-27 20:01:47', 1),
(107, 'htas-devoluciones-eliminados', 'web', 1, '2025-09-27 20:02:04', '2025-09-27 20:02:04', 1),
(108, 'htas-devoluciones-eliminados-activar', 'web', 1, '2025-09-27 20:02:19', '2025-09-27 20:02:19', 1),
(109, 'htas-devoluciones-eliminados-imprimir', 'web', 1, '2025-09-27 20:03:11', '2025-09-27 20:03:11', 1),
(110, 'htas-prestadas-eliminados', 'web', 1, '2025-09-27 20:07:32', '2025-09-27 20:07:32', 1),
(111, 'htas-prestadas-eliminados-activar', 'web', 1, '2025-09-27 20:08:20', '2025-09-27 20:08:20', 1),
(112, 'permisos-index', 'web', 1, '2025-09-27 20:36:14', '2025-09-27 20:36:14', 1),
(113, 'permisos-crear', 'web', 1, '2025-09-27 20:36:25', '2025-09-27 20:36:25', 1),
(114, 'permisos-imprimir', 'web', 1, '2025-09-27 20:36:35', '2025-09-27 20:36:35', 1),
(115, 'permisos-mostrar', 'web', 1, '2025-09-27 20:36:45', '2025-09-27 20:48:56', 1),
(116, 'permisos-editar', 'web', 1, '2025-09-27 20:36:56', '2025-09-27 20:36:56', 1),
(117, 'permisos-borrar', 'web', 1, '2025-09-27 20:37:08', '2025-09-27 20:37:08', 1),
(118, 'permisos-eliminados', 'web', 1, '2025-09-27 20:37:19', '2025-09-27 20:37:19', 1),
(119, 'permisos-eliminados-imprimir', 'web', 1, '2025-09-27 20:37:35', '2025-09-27 20:37:35', 1),
(120, 'admin-roles-imprimirpermisos', 'web', 1, '2025-09-28 22:37:34', '2025-09-28 22:37:34', 1),
(121, 'permisos-activar', 'web', 1, '2025-09-29 02:21:19', '2025-09-29 02:21:19', 1);

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

--
-- Estructura de tabla para la tabla `proveedors`
--

