-- https://www.phpmyadmin.net/
--
-- Servidor: 127.0.0.1
-- Tiempo de generación: 18-05-2021 a las 14:49:19
-- Versión del servidor: 10.4.14-MariaDB
-- Versión de PHP: 7.2.34

START TRANSACTION;



--
-- Base de datos: `authwe`
--

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

--
-- Estructura de tabla para la tabla `app`
--

CREATE TABLE `app` (
  `idApp` int(11) NOT NULL,
  `sName` varchar(45) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

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

INSERT INTO `app` (`idApp`, `sName`) VALUES
(2, 'Check'),
(4, 'Entry'),
(3, 'Health'),
(1, 'Plan');

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

--
-- Estructura de tabla para la tabla `device`
--

CREATE TABLE `device` (
  `idDevice` int(11) NOT NULL,
  `idUser` int(11) NOT NULL,
  `sImei` varchar(255) DEFAULT NULL,
  `sDeviceId` varchar(255) DEFAULT NULL,
  `sBrand` varchar(45) DEFAULT NULL,
  `sModel` varchar(45) DEFAULT NULL,
  `sOsVersion` varchar(45) DEFAULT NULL,
  `updated_at` datetime DEFAULT NULL,
  `created_at` datetime DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

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

INSERT INTO `device` (`idDevice`, `idUser`, `sImei`, `sDeviceId`, `sBrand`, `sModel`, `sOsVersion`, `updated_at`, `created_at`) VALUES
(115, 300, NULL, 'cacf27d859ea72c3', 'samsung', 'SM-A510M', '24', '2020-04-22 17:48:54', '2020-04-22 17:48:54'),
(120, 249, '111222333', 'asad4r43ff4', 'asamsungsd', 'S-SFSFS', '28', '2020-04-23 14:53:51', '2020-04-23 14:53:51'),
(150, 296, '357458090164053', '52f0624af2762a9b', 'samsung', 'SM-G570M', '26', '2020-06-03 14:24:26', '2020-06-03 14:24:26'),
(156, 324, 'b7456e7815f5bf04', 'b7456e7815f5bf04', 'samsung', 'SM-A705MN', '29', '2020-06-10 17:45:51', '2020-06-10 17:45:51'),
(162, 326, '353108087560516', 'ead4e0cba996aa9b', 'samsung', 'SM-G532M', '23', '2020-07-21 14:01:48', '2020-07-21 14:01:48'),
(208, 128, '353108080587045', '97adc2f87cf98762', 'samsung', 'SM-G532M', '23', '2020-08-07 12:31:06', '2020-08-07 12:31:06'),
(218, 327, 'bd3f809f67bafe63', 'bd3f809f67bafe63', 'samsung', 'SM-J600G', '29', '2020-08-17 23:28:54', '2020-08-17 23:28:54'),
(223, 329, '352940097534292', 'e321dac7eaa53722', 'samsung', 'SM-G532M', '23', '2020-08-18 17:01:40', '2020-08-18 17:01:40'),
(235, 331, '352822102684843', '37806d44ccd864b7', 'samsung', 'SM-J415G', '28', '2020-08-24 12:27:37', '2020-08-24 12:27:37'),
(240, 316, '359830062710600', '9f213ba9acd8f7a5', 'samsung', 'SM-A300M', '21', '2020-09-01 19:28:52', '2020-09-01 19:28:52'),
(244, 258, '356193101033648', 'd6eaaf76c64d45cb', 'samsung', 'SM-J260M', '27', '2020-09-29 12:31:33', '2020-09-29 12:31:33'),
(245, 338, '359592078712232', 'cc06fb057e7daebc', 'samsung', 'SM-J710MN', '24', '2020-09-30 16:46:05', '2020-09-30 16:46:05'),
(253, 339, '354651082587686', '66671f8b6d1dfd21', 'lge', 'LG-X240', '23', '2020-10-13 19:37:53', '2020-10-13 19:37:53'),
(266, 344, '355526092098065', '96258a67ea63de64', 'motorola', 'moto g(6) plus', '28', '2020-11-10 19:16:51', '2020-11-10 19:16:51'),
(267, 345, NULL, '5fb4964042f2b6f4', 'motorola', 'moto g(8) plus', '29', '2020-12-08 02:42:13', '2020-12-08 02:42:13'),
(268, 346, '354651083292401', '7076a06a7dd55cc0', 'lge', 'LG-X240', '23', '2020-12-10 14:08:53', '2020-12-10 14:08:53'),
(269, 347, '8197530ab6c5330a', '8197530ab6c5330a', 'Redmi', 'Redmi Note 9 Pro', '29', '2020-12-10 21:59:22', '2020-12-10 21:59:22'),
(271, 303, '1bfaf774c35660f1', '1bfaf774c35660f1', 'samsung', 'SM-A505G', '29', '2020-12-29 12:21:22', '2020-12-29 12:21:22'),
(272, 328, '354621086662231', 'c44b81310f23910f', 'samsung', 'SM-G570M', '26', '2021-01-04 23:14:46', '2021-01-04 23:14:46'),
(273, 354, '9c3d024520d5afbf', '9c3d024520d5afbf', 'samsung', 'SM-A105M', '29', '2021-01-13 23:11:03', '2021-01-13 23:11:03'),
(274, 355, NULL, '85668f9a17087acb', 'TCL', '5101A', '28', '2021-01-14 18:47:13', '2021-01-14 18:47:13'),
(275, 356, NULL, '7db6cae75261f9e4', 'samsung', 'SM-T825', '26', '2021-01-26 02:59:33', '2021-01-26 02:59:33'),
(276, 357, '357713083297249', '0ac9bd65545ef7e5', 'samsung', 'SM-G610M', '27', '2021-01-26 23:59:29', '2021-01-26 23:59:29'),
(277, 352, '359567081231610', 'dc125bcd2ff728ec', 'motorola', 'Moto G (5S) Plus', '27', '2021-01-31 22:36:46', '2021-01-31 22:36:46');

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

--
-- Estructura de tabla para la tabla `domain`
--

CREATE TABLE `domain` (
  `idDomain` int(11) NOT NULL,
  `sDescription` varchar(100) NOT NULL,
  `idTeam` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

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

INSERT INTO `domain` (`idDomain`, `sDescription`, `idTeam`) VALUES
(1, 'ciar.com.ar', 1),
(2, 'alitaware.com', 1);

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

--
-- Estructura de tabla para la tabla `isclient`
--

CREATE TABLE `isclient` (
  `idTeam` int(11) NOT NULL,
  `idTeamClient` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

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

INSERT INTO `isclient` (`idTeam`, `idTeamClient`) VALUES
(1, 6),
(1, 42),
(1, 55),
(1, 56),
(1, 58),
(6, 20),
(6, 23),
(23, 1),
(23, 20),
(23, 23);

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

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

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

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

INSERT INTO `migrations` (`id`, `migration`, `batch`) VALUES
(1, '2019_09_26_124138_create_users_table', 1);

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

--
-- Estructura de tabla para la tabla `person`
--

CREATE TABLE `person` (
  `idPerson` int(11) NOT NULL,
  `dBirthdate` date DEFAULT NULL,
  `sDni` int(11) DEFAULT NULL,
  `sAddress` varchar(100) DEFAULT NULL,
  `nMaritialStatus` enum('Soltero','Casado','Divorciado','Viudo') DEFAULT NULL,
  `sUrlPhoto` varchar(1000) DEFAULT NULL,
  `nGender` enum('Femenino','Masculino','ND') DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

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

--
-- Estructura de tabla para la tabla `role`
--

CREATE TABLE `role` (
  `idRole` int(11) NOT NULL,
  `sDescription` varchar(45) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

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

INSERT INTO `role` (`idRole`, `sDescription`) VALUES
(1, 'Admin'),
(2, 'Editor'),
(3, 'Viewer');

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

--
-- Estructura de tabla para la tabla `team`
--

CREATE TABLE `team` (
  `idTeam` int(11) NOT NULL,
  `sName` varchar(45) NOT NULL,
  `bActive` tinyint(4) DEFAULT 1,
  `sLogo` varchar(150) NOT NULL DEFAULT 'logo.png'
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

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

INSERT INTO `team` (`idTeam`, `sName`, `bActive`, `sLogo`) VALUES
(1, 'TeamUNO', 1, ''),
(2, 'DOS', 0, '1783686_14653.png'),
(6, 'Ciar', 0, ''),
(11, 'TeamTest2', 0, ''),
(16, 'Oldelval', 1, 'logo.png'),
(20, 'Camuzzi', 1, ''),
(23, 'Vientos', 1, ''),
(42, 'Cliente', 1, 'We - Propuestas-014167.jpg'),
(44, 'Microsoft', 0, 'logo.png'),
(45, 'Google', 1, 'logo.png'),
(47, 'test auth', 0, '1783686_14075.png'),
(55, 'Test', 1, '1783686_12694.png'),
(56, 'IBM', 1, 'nginx8087.png'),
(58, 'Apache', 1, 'apache5012.png'),
(59, 'Prueba', 1, 'logo.png'),
(62, 'AWS', 1, '1AWS.png');

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

--
-- Estructura de tabla para la tabla `teamconfiguration`
--

CREATE TABLE `teamconfiguration` (
  `idTeamConfiguration` int(11) NOT NULL,
  `idTeam` int(11) NOT NULL,
  `bValidaAlarma` tinyint(4) NOT NULL DEFAULT 0 COMMENT 'Corresponde a entry',
  `bValidaZona` tinyint(4) NOT NULL DEFAULT 0 COMMENT 'Corresponde a entry',
  `bValidaSalida` tinyint(4) NOT NULL COMMENT 'Corresponde a entry',
  `sHoraEntrada` time NOT NULL DEFAULT '00:00:00' COMMENT 'Corresponde a entry',
  `sHoraSalida` time NOT NULL DEFAULT '00:00:00' COMMENT 'Corresponde a entry',
  `nIntervalo` int(10) NOT NULL DEFAULT 0 COMMENT 'Corresponde a entry'
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

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

INSERT INTO `teamconfiguration` (`idTeamConfiguration`, `idTeam`, `bValidaAlarma`, `bValidaZona`, `bValidaSalida`, `sHoraEntrada`, `sHoraSalida`, `nIntervalo`) VALUES
(1, 11, 1, 0, 0, '00:00:00', '00:00:00', 0),
(3, 20, 1, 0, 0, '00:00:00', '00:00:00', 0),
(6, 1, 1, 1, 0, '08:00:00', '20:00:00', 1),
(7, 6, 1, 1, 0, '08:00:00', '20:00:00', 2);

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

--
-- Estructura de tabla para la tabla `teamlimiteusuarios`
--

CREATE TABLE `teamlimiteusuarios` (
  `idTeamLimiteUsuarios` int(11) NOT NULL,
  `idTeam` int(11) NOT NULL,
  `nLimite` int(11) NOT NULL,
  `dFecha` date NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

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

INSERT INTO `teamlimiteusuarios` (`idTeamLimiteUsuarios`, `idTeam`, `nLimite`, `dFecha`) VALUES
(1, 20, 50, '2020-05-08'),
(2, 20, 15, '2020-05-08'),
(3, 20, 50, '2020-05-08');

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

--
-- Estructura de tabla para la tabla `user`
--

CREATE TABLE `user` (
  `idUser` int(11) NOT NULL,
  `sUsername` varchar(255) NOT NULL,
  `sPassword` varchar(255) NOT NULL,
  `sFirstname` varchar(255) DEFAULT NULL,
  `sLastname` varchar(255) DEFAULT NULL,
  `sEmail` varchar(255) DEFAULT NULL,
  `bActive` tinyint(4) DEFAULT 1,
  `bMobile` tinyint(4) DEFAULT 0,
  `bVerifica` tinyint(4) DEFAULT 0,
  `bSuperadmin` tinyint(4) DEFAULT 0,
  `idTeamClient` int(11) DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `idPerson` int(11) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

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

INSERT INTO `user` (`idUser`, `sUsername`, `sPassword`, `sFirstname`, `sLastname`, `sEmail`, `bActive`, `bMobile`, `bVerifica`, `bSuperadmin`, `idTeamClient`, `created_at`, `updated_at`, `idPerson`) VALUES
(1, 'sfigallo', '$2y$10$VwKF09pFaNKPZCy/d.AfOuw8zNU9Cawp/DDLQk8M.lHJqtcCO/DgO', 'Sofía', 'Figallo', 'sofia.figallo@ciar.com.ar', 1, 0, 0, 1, NULL, '2019-09-26 13:05:46', '2020-04-15 19:29:45', NULL),
(2, 'test', '$2y$10$XurUhEnvjnrluENI1K24w.LfUpMOUUu8BQWzDwSzGK.4ZuU3JJagC', 'Testabc', 'Borja', 'test@test.com', 1, 0, 0, 1, NULL, NULL, '2019-10-04 13:12:42', NULL),
(6, 'mari', '$2y$10$FkwiJBZdldy4fC/v9wd56egYjxvK9GgX3Ps9b6FS6aMlsg2PukuVO', 'mari', 'tra', 'mari2@test.com', 0, 0, 0, 0, NULL, '2019-10-02 16:21:14', '2019-10-03 19:05:42', NULL),
(7, 'pgalletta', '$2y$10$EhkOzFR/Q6WSJftm5I7sFO70IBrpJlt/p.qcCfGmFnvFJ3QflJZj6', 'pablo', 'galletta', 'pablo@g.com.ar', 0, 1, 0, 0, NULL, '2019-10-03 18:59:36', '2020-02-10 17:47:33', NULL),
(9, 'csaggina', '$2y$10$u7YIndsTy.57FG9vdSW9Luykin4grzQagPfIP19Xwed5Rrq3AHrg2', 'Carina', 'Saggina', 'csaggina@test.com', 1, 0, 1, 0, NULL, '2019-10-04 14:32:55', '2019-10-04 14:32:55', NULL),
(10, 'pepe', '$2y$10$t0l1nix/ToIj6I3M1W4.5.WP9voBtJD5ePlR07/vAIYIF5rPnhDBS', 'Juan', 'Borja', 'juan.borja@alitaware.com', 1, 1, 0, 0, NULL, '2019-10-02 16:20:11', '2020-02-10 17:44:21', NULL),
(58, 'jperez', '$2y$10$ogTMALUQjgiMwqEYfAnV8.3wK7bd3gXO2HuMRcTwWR6V/4ndqYq7C', 'juan2', 'perez', 'juanperez@test.com.ar', 1, 1, 1, 0, NULL, '2019-10-08 18:55:14', '2019-10-08 18:57:51', NULL),
(59, 'jborja', '$2y$10$.8Z7vLPW0AxfX8u/pPrP7uf.ZipSj5W/.kXXFSBI6k1oM2f0nxYTe', 'Juan', 'Borja', 'juan.borja45@ciar.com.ar', 1, 0, 0, 1, NULL, '2019-10-17 14:02:17', '2019-10-17 14:02:17', NULL),
(61, 'admin', '$2y$10$VZCyigLjqLZH9Opo4CSc7OOgnpc7ZonchsmRVUd562Xj2DxwuiGWu', 'Admin', 'Pruebas', 'admin@test.com', 1, 0, 0, 1, NULL, '2019-10-17 14:19:46', '2019-10-17 14:19:46', NULL),
(62, 'user', '$2y$10$6uILaQjJ2gN1FPJb5oGzcOL8L17GZu1MBMKuWWO2.k1peOECWRu2S', 'Usuario', 'Test', 'test@ciar.com.ar', 1, 0, 0, 1, NULL, '2019-10-17 14:22:45', '2019-10-17 14:22:45', NULL),
(64, 'user2', '$2y$10$QOzddbVFNGVbuSbWfNOTZORKfF3CFMN0.6o82Jda2TlydiD5k4dEO', 'Usuario', 'Test', 'test2@ciar.com.ar', 1, 0, 0, 1, NULL, '2019-10-17 14:37:41', '2019-10-17 14:37:41', NULL),
(71, 'Carlos', '$2y$10$cox4vMVjq53lFfkiCwZCC.XlJ4ZQ5dQ9YZOevgHuOYbofDXG5oDWu', 'Carlos', 'Appp', 'mail@carlos.com', 1, 1, 0, 1, NULL, '2019-10-17 16:03:54', '2019-10-17 16:03:54', NULL),
(76, 'swerwerf', '$2y$10$l3ebYNX32H9Rp7TYYHh5MOE4JCvKRW4jPt8Jbh7730lLU/II9LsOS', 'Carlos', 'Appp', 'maierl@carlos.com', 1, 1, 0, 1, NULL, '2019-10-17 16:06:49', '2019-10-17 16:06:49', NULL),
(81, 'egfer', '$2y$10$V7nTKRTChbYQ12BFY8Hb3OOYeIdQyp06K32.YoEOnGtJGhDFY7o7e', '2345', '2345', '2345', 1, 1, 1, 1, NULL, '2019-11-01 20:02:56', '2019-11-01 20:02:56', NULL),
(96, 'mauro', '$2y$10$.oV0cbirWTOqZIWApskizuSoqZTwbIekgOfQHin9OVU9EjkasLK3O', 'maurito', 'miciulloo', 'mauro.miciullo@ciar.com.ar', 0, 0, 0, 1, NULL, '2019-11-07 17:03:48', '2020-02-10 18:28:10', NULL),
(101, 'tst', '$2y$10$mwjgk43DdCsH6wjfzWoqcOT2Lba7edpkCP6m0mE1/UJuWsYHTFeYO', 'tst', 'tst', 'tst@t.com', 0, 0, 0, 0, NULL, '2019-11-14 18:23:33', '2020-02-10 18:27:03', NULL),
(128, 'icamuzzi', '$2y$10$Sx076RMvx.djMdweE9Wtdem359k//ANEPF406SH1lF9JRT9AANmpO', 'Inspector', 'Camuzzi', 'ito@siii.com', 1, 1, 0, 0, NULL, '2019-11-14 18:23:33', '2020-08-05 14:56:45', NULL),
(130, 'john', '$2y$10$J4Eb/2xlPplXuP392q81rOqFsq.jz3iYG0f54VFbDJiNNQDOeuooy', 'John', 'Astete', 'john.astete@ciar.com.ar', 1, 0, 1, 0, NULL, '2019-11-22 14:40:40', '2019-11-22 14:56:09', NULL),
(131, 'nfernandez', '$2y$10$SjE.guzNyLBxI8Om1Z8CZe/nLGrZ6PNKNRTBrtXWlqdM6cq3hwvmm', 'Nahuel', 'Fernandez', 'nfernandezq@algunmail.com', 1, 1, 1, 1, NULL, '2019-11-22 20:34:56', '2019-11-22 20:34:56', NULL),
(133, 'ArmandoEstebanQuito', '$2y$10$krUqD4W6RXLJ81AMzvddReihLI0iNI0oa9x648Hpp6Sa/m9bArSQC', 'Armando Esteban', 'Quito', 'artq@ieu.com', 0, 0, 1, 0, NULL, '2019-11-25 13:16:11', '2020-04-24 11:36:08', NULL),
(135, '          ArmandoEstebanQuito', '$2y$10$WF2gRFFMOvn6LSwuNJ2mlew9f63q27ZzWQMGv8pj5iHzAvZV1R.42', 'Armando', 'EstebanQuito', 't@t.com', 0, 0, 1, 0, NULL, '2019-11-25 13:35:07', '2020-04-24 11:36:21', NULL),
(140, 'juan.borja', '$2y$10$fXBANjRea4ggmws5Be2ZjOI5USWMH8yPE4qMqINXPPb4dX00M7ztG', NULL, NULL, 'juan.borja89@ciar.com.ar', 1, 1, 0, 0, NULL, '2019-11-25 14:32:31', '2019-11-25 14:32:31', NULL),
(141, 'andrea.rojas', '$2y$10$4l8YyG/4kQGp2uap6a2lH.nqWyD7QD1QWbH/b6Umzp9f6HzJnjrFu', NULL, NULL, 'andrea.rojas@ciar.com.ar', 1, 1, 0, 0, NULL, '2019-11-25 16:01:16', '2019-11-25 16:01:16', NULL),
(154, 'sofiaViewer', '$2y$10$Sx076RMvx.djMdweE9Wtdem359k//ANEPF406SH1lF9JRT9AANmpO', 'Sofía', 'Viewer', 'viewerh@gmail.com', 1, 0, 1, 0, NULL, '2019-11-26 12:56:40', '2019-11-26 12:56:40', NULL),
(156, 'sofiaAdmin', '$2y$10$Sx076RMvx.djMdweE9Wtdem359k//ANEPF406SH1lF9JRT9AANmpO', 'Sofía', 'Admin', 'sofia.figallo@q.com', 1, 0, 1, 0, NULL, '2019-11-26 19:20:05', '2019-11-26 19:20:05', NULL),
(166, 'sofiaEditor', '$2y$10$Sx076RMvx.djMdweE9Wtdem359k//ANEPF406SH1lF9JRT9AANmpO', 'Sofía', 'Editor', 'test2@test.com', 1, 0, 0, 0, 6, '2019-11-27 13:40:18', '2019-11-27 14:37:38', NULL),
(172, 'johnestebanastete', '$2y$10$6J0gPcRUVjL6M2ohQUkBXOjJ23f9h64CxVR/vh5SIXRqkBQXq6yp2', 'asdasdhvjkbh', 'ljknlnblj', 'dasodnqwo@gmail.com', 0, 0, 0, 0, 2, '2019-11-27 19:19:08', '2020-04-24 11:35:56', NULL),
(223, 'j11223', '$2y$10$eUzjsdh/dQGe4ePKQUkcZO6R1RvPSwLenRm92WvoWLkSXRA3qAB7u', 'mari', 'mari', 'j11223@test.com', 1, 0, 0, 0, 6, '2019-11-29 16:34:31', '2019-11-29 16:34:31', NULL),
(227, 'viewer1', '$2y$10$Wb0OKnHGxAQMVA1sFyHSnu3W87S30I40FEVX.UemdxlSkKcLsbv5m', 'f', 'klfs', 'fsdskfkl@gmail.com', 0, 0, 0, 0, 6, '2019-11-29 16:43:57', '2020-04-24 11:41:14', NULL),
(228, 'test22', '$2y$10$f3/62X7VbjlNEY51NyUgS.nXUe.q0xVT1nGlCiFXBmdlAXjstdsJO', 'TEst', 'Test', 'Test22@gmail.com', 1, 0, 0, 0, 2, '2019-11-29 16:45:36', '2019-11-29 16:45:36', NULL),
(229, 'noview', '$2y$10$8tohdSHe0qhuwUZCDrUfiePycUxvgDCcB3493vZUJvkPSzEn3iMXW', 'no', 'view', 'noiew@gmail.com', 0, 0, 0, 0, NULL, '2019-11-29 16:45:53', '2020-04-24 11:41:52', NULL),
(231, 'superadmin', '$2y$10$Sx076RMvx.djMdweE9Wtdem359k//ANEPF406SH1lF9JRT9AANmpO', 'Super', 'Admin', 'juan.borjholhia@ciar.com.ar', 1, 0, 0, 1, NULL, NULL, '2020-02-10 17:55:16', NULL),
(232, 'qweasdzxc', '$2y$10$QXZ4x/MxH0oLJ5Tnm0PdBOYUPWy9s0PUTh3SFwD1GRr0b0e/XOtaq', 'aaaaaaaaaaaaaaaaa', 'aaaaaaaaaaaaaaaa', 'qweasdzxc@gmail.com', 0, 0, 0, 0, NULL, '2019-12-06 13:17:46', '2020-04-06 12:13:19', NULL),
(233, 'andrea', '$2y$10$HVNQrYuKhPpZ5F/kZ.DhrePABu0O9JyC2H4ik6HBMQRxcl3AI3BvC', 'Andrea', 'Rojas', 'andrea.rojas@alitaware.com', 1, 1, 0, 0, NULL, '2019-12-10 12:23:55', '2019-12-10 12:23:55', NULL),
(234, 'asdasdad', '$2y$10$ibV8y/ltsUuxgP1JINUOQuJyRy98NtHyd5Z6oos/9ogotVfl5wZsG', 'asdasd', 'asdasd', 'aasdasdasda@hotmail.com', 0, 0, 0, 0, NULL, '2019-12-10 20:28:10', '2020-04-24 11:42:25', NULL),
(235, 'leonardo.ferreyra', '$2y$10$3lXFFQ3En/2a8g/of12pHOW2FBVfFsVuf.62F3zmh1kCldKP.cW/u', NULL, NULL, 'leonardo.ferreyra@alitaware.com', 1, 1, 0, 0, NULL, '2019-12-11 19:43:14', '2019-12-11 19:43:14', NULL),
(236, 'bgates', '$2y$10$RJj3ZHS4tsnFWUGxkupv0Oz4uXK.bhO51UeLzuWjK5p/vhcNr/GWa', 'Bill', 'Gates', 'bill@microsoft.com', 1, 0, 0, 0, NULL, '2019-12-12 20:04:19', '2019-12-12 20:04:19', NULL),
(237, 'madmin', '$2y$10$IDF4iGXz7LLN7WDGC8SLX.KG469mdUeNyEwy4qHFHbOxEvdynXhVO', 'Admin', 'Microsoft', 'm@admin.com', 1, 0, 0, 0, NULL, '2019-12-12 20:05:12', '2019-12-12 20:05:12', NULL),
(238, 'viewer', '$2y$10$bXTqVlE8OFsTIeIOVI6dKOwqGt6ufj9qLvrkBqJJjyGw47q45lAGu', 'Casimiro Tiburcio', 'O_O', 'te@st.com', 1, 0, 0, 0, NULL, '2019-12-13 12:09:10', '2019-12-16 13:30:45', NULL),
(239, 'Editor', '$2y$10$K0Jqz4cXAvltKX8xRUfwJulSbdyP9XyGu2VsC.A3Op0lg0vOqDjNW', 'Ise', 'Lacreyo', 'te@s.t', 1, 0, 0, 0, NULL, '2019-12-13 12:12:24', '2019-12-13 12:12:24', NULL),
(245, 'santi', '$2y$10$mEfN0kW55SkV8k9Ez1ldHuMxtmBb9uDGMsB41kLhHEZ2VstLkR/aS', '', '', 'santi@pollolin.com', 1, 0, 0, 0, NULL, '2019-12-13 18:05:56', '2019-12-13 18:08:41', NULL),
(246, 'santi2', '$2y$10$XK72uLMaS94wm6MC7kYibOTrY/Dei3rkGmdhR3Z7UVq2o83cEuoo6', NULL, NULL, 'santi2@pollolin.com', 0, 0, 0, 0, NULL, '2019-12-13 18:11:21', '2020-04-24 11:41:01', NULL),
(247, 'san', '$2y$10$Fy1qWLrupbdKH/mtt54Dz.xwoH8jbiebQ3Z2POkckgeVh.RDEzDhq', 'san', 'ti', 'san@ti.com', 0, 0, 0, 0, NULL, '2019-12-17 14:27:33', '2020-04-24 11:39:51', NULL),
(249, 'acamuzzi', '$2y$10$zZSK8dCXQl8L0kQjLYdGMeSqEF6ryEOOX5YPpDWtZUWF74XFh.6GG', 'Visualizador', 'Camuzzi', 'acamuzzi@camuzzi.com.ar', 1, 0, 0, 0, NULL, '2020-01-09 20:53:54', '2020-07-29 16:05:55', NULL),
(250, 'richard', '$2y$10$a4IdqE6TiscAN.1xa4sg0.8mxWIghIPuSCVF3DW0HLeJ25dlb3z0S', 'Ricardo', 'Arjona', 'richard@arjona.com', 0, 0, 0, 0, NULL, '2020-02-10 15:39:11', '2020-04-15 19:43:00', NULL),
(251, 'fdh', '$2y$10$8kLQ7..ZqaPUKli2s3uXJehNfiRAk3bSgDQue0gUHZOJU/TZJ7rxa', 'fgh', 'fgh', 'fgh@fjfn.com', 0, 0, 0, 0, NULL, '2020-02-10 18:05:18', '2020-04-06 12:13:45', NULL),
(258, 'msosa', '$2y$10$zZSK8dCXQl8L0kQjLYdGMeSqEF6ryEOOX5YPpDWtZUWF74XFh.6GG', 'Maximiliano', 'Sosa', 'maximiliano.sosa@camuzzigas.com.ar', 1, 1, 0, 0, NULL, '2020-02-18 13:00:00', '2020-02-18 13:00:00', NULL),
(279, 'tcamuzzi10', '$2y$10$Zu.S6NSmHnl9JZ59rwuAsOlZ8hZ5q31F5klP2x/2YoTidw0YOg6F2', 'tet', 'atet', 'qw@qaw.com', 0, 1, 0, 0, NULL, '2020-03-11 18:17:32', '2020-04-15 19:40:26', NULL),
(280, 'isantiago', '$2y$10$dHtN27a0yjtj3sQ3hNXH4edx9p6O.zC97n9IbNYkUdGYWyDs3MIlW', 'InspSantiago', 'Vallazza', 'santia.g.o.vallazza@alitaware.com', 0, 1, 0, 0, NULL, '2020-03-12 12:12:26', '2020-03-25 19:56:36', NULL),
(284, 'inspectorsant', '$2y$10$UZpBKd8Nx.lyDZaer1A/XOlCyW3rH0ZjX70w9.ZJ2BLT2kGQhvYuK', 'InspSantiago', 'Vallazza', 'sant.i.a.g.o.vallazza@alitaware.com', 0, 1, 0, 0, NULL, '2020-03-12 19:32:26', '2020-04-15 19:39:38', NULL),
(287, 'test2503', '$2y$10$5rq3vLCGa4nzeFKFRXj4necgBM5BiwgPFAVCM4.5bJarj.08iiaPW', 'Test', '25Marzo', 'test2503@test.com', 0, 0, 0, 0, NULL, '2020-03-25 19:13:19', '2020-03-25 19:14:01', NULL),
(289, 'isantiago25', '$2y$10$/ACSm5T4HvUzSMSa3AzDkO0SfJrTOkjApnk8pqoJHPhEhawsc7r4G', 'InspSantiago', 'Vallazza', 'sant.i.a.g.o.vallazza+25del3@alitaware.com', 0, 1, 0, 0, NULL, '2020-03-25 19:55:45', '2020-03-25 19:56:29', NULL),
(292, 'isantiago2503', '$2y$10$zfKqaB2lnTcjtOwZjZwt6./vu63WZ./c5c2Q0Dg53Cf173gw2XRmW', 'InspSantiago', 'Vallazza', 'santiago.vallazza+25031658@alitaware.com', 0, 1, 0, 0, NULL, '2020-03-25 19:58:35', '2020-03-25 19:58:45', NULL),
(294, 'isantiago25031701', '$2y$10$xy42R56S2AA8TwS/vVckWuH5OtNFtiWbNVhwjXykzWzBlpROOIvru', 'Santiag', 'Vallazza', 'santiago.vallazza+25031701@alitaware.com', 0, 1, 0, 0, NULL, '2020-03-25 20:01:48', '2020-03-27 12:43:23', NULL),
(296, 'mibañez', '$2y$10$9xT1xDzEuBMzrWX/vynmDO22XihPHVent/hIFJrYvKOL6n2gUMzN2', 'Matias', 'Ibañez', 'Matias.Ibanez@camuzzigas.com.ar', 1, 1, 0, 0, NULL, '2020-03-26 15:34:00', '2020-04-03 15:13:55', NULL),
(298, 'icamuzzidemo', '$2y$10$xS7AH1CW/OPP/EFig2CGlu8xHCvVW0kBHHrk0V8fwLJjcreMTwVHm', 'Inspector', 'Demo', 'idemo@alitaware.com', 1, 1, 0, 0, NULL, '2020-04-03 13:45:52', '2020-04-15 19:22:16', NULL),
(299, 'fpaterno', '$2y$10$vBSae5qbG3SWR86StZYCfeJ0crqqmBcZhfwRXacrL9cYp4J2jGbfS', 'Franco', 'Paterno', 'Franco.Paterno@camuzzigas.com.ar', 1, 1, 0, 0, NULL, '2020-04-06 13:37:37', '2020-04-06 13:37:37', NULL),
(300, 'ssagula', '$2y$10$JmLsPnCtHFSzDfWLYNKKOe6GJ0cc0Jp2t0nAzT0S9Vwz689SCSKMm', 'Sergio', 'Sagula', 'sergio.sagula@camuzzigas.com.ar', 1, 1, 0, 0, NULL, '2020-04-07 17:44:29', '2020-05-15 12:29:06', NULL),
(301, 'isanprueba', '$2y$10$d1441.JpzDsy8FNjPJ5GnOsJpGGmqerff0Teaty5txC8GwjLqB5Ie', 'isan', 'prueba', 'sasasasasa@gmail.com', 0, 1, 0, 0, NULL, '2020-04-14 14:55:01', '2020-04-14 19:48:22', NULL),
(302, 'isanti1504', '$2y$10$jH8JM/a./mRkI9knhEenLOVhds3WC4xdBcMjllcgHH0XvGwEKOkAO', 'isanti', 'test', 'sant.i.a.g.o.v.allazza@alitaware.com', 0, 1, 0, 0, NULL, '2020-04-15 19:25:36', '2020-04-15 19:37:33', NULL),
(303, 'iAlitaware', '$2y$10$Q96GLKbbt8SvRVV7XD8aMeGO6J5yxUjLHqsYt1A/CIlKmESYobOsS', 'Inspector Test', 'Alitaware.', 'inspector@test.com', 1, 1, 0, 0, NULL, '2020-04-16 14:36:53', '2020-05-05 18:59:24', NULL),
(304, 'Alitaware', '$2y$10$Zn6mHs24vk7RmYy6sCO0n.uNpdu2NhCukrM8JquXeu0rH5kYacdwG', 'alitaware', '', 'prueba@alitaware.com', 1, 1, 0, 0, NULL, '2020-04-17 12:29:07', '2020-04-17 12:29:29', NULL),
(306, 'asistenteoldelval', '$2y$10$Q96GLKbbt8SvRVV7XD8aMeGO6J5yxUjLHqsYt1A/CIlKmESYobOsS', 'oldelval', 'Alitaaware', 'prueba2@alitaware.com', 1, 0, 0, 0, NULL, '2020-04-17 12:29:07', '2020-04-17 12:29:29', NULL),
(307, 'calzuguren', '$2y$10$oEdHJ26yHH/aMqorkO1Ve.fP//ZJ70p.b06BNkSvawz1Mk7ScwQ0W', 'Claudio', 'Alzuguren', 'claudio.alzuguren@oldelval.com', 1, 0, 0, 0, NULL, '2020-04-17 12:29:07', '2020-04-20 15:41:53', NULL),
(308, 'ccamuzzi', '$2y$10$a2pdZOQPimBFbx0qprtSFePWLI0ah5O6y/VXfoX9ePSZdd0rBRjim', 'Cliente', 'Camuzzi', 'ccamuzzi@test.com', 1, 0, 0, 0, NULL, '2020-04-24 11:32:41', '2020-04-24 11:41:29', NULL),
(315, 'srivero', '$2y$10$.0lx7L8FcBGgZtj8JOJYDeIQv0vQkaPzkJ55j3vFWcW.Xyjj.gxY2', 'Sebastian', 'Rivero', 'sebastian.rivero@camuzzigas.com.ar', 1, 1, 0, 0, NULL, '2020-05-06 12:28:36', '2020-08-18 12:45:48', NULL),
(316, 'hcayssials', '$2y$10$FAmD39RX3h6pHhz1eibKh.bPpz7X1JslWx1Db/A3M20QYygq.w8jy', 'Hugo', 'Cayssials', 'Hugo.Cayssials@camuzzigas.com.ar', 1, 1, 0, 0, NULL, '2020-05-06 12:29:35', '2020-05-06 12:29:35', NULL),
(317, 'oldito0605', '$2y$10$ONpDUlFsFfaKYLeeTa6eLe9NPzyc.ycA4HlNKfwvq/pbz8MfTvPOa', 'oldito', '0605', 'oldito@o6.com', 1, 1, 0, 0, NULL, '2020-05-06 18:08:04', '2020-05-06 18:08:04', NULL),
(318, 'amarzullo', '$2y$10$dwwWNN88WiImxedpqjYcmu8I7F.yp8r/Hwlp4tuwWh23GQx1VTUcu', 'Adrian', 'Marzullo', 'Adrian.Marzullo@camuzzigas.com.ar', 1, 1, 0, 0, NULL, '2020-05-07 12:07:46', '2020-05-07 12:07:46', NULL),
(319, 'emilano', '$2y$10$VG/dpmuKXc7F3iluxnrsi.zrZxmWFEmav6Ckyo9xKyXvjjZOnWHFC', 'Eduardo', 'Milano', 'eduardo.milano@camuzzigas.com.ar', 1, 1, 0, 0, NULL, '2020-05-07 12:08:39', '2020-05-07 12:08:39', NULL),
(320, 'jdainotto', '$2y$10$FxptglHEXe9JEZudpAC0ue7APIRie2XN7ApfDH1P3kzfTHmCGKq4u', 'Julian', 'Dainotto', 'julian.dainotto@camuzzigas.com.ar', 1, 1, 0, 0, NULL, '2020-05-07 12:17:33', '2020-11-19 13:20:59', NULL),
(321, 'alorenzo', '$2y$10$0m0J3N9TokxWEmrnuEft1.VURW7Vk5ijbaWgn9bj.cgxDre7OV1e.', 'Alejandro', 'Lorenzo', 'alejandro.lorenzo@camauzzigas.com.ar', 1, 1, 0, 0, NULL, '2020-05-07 18:06:01', '2020-05-07 18:06:01', NULL),
(322, 'visOldelval', '$2y$10$8HZK0iEslUV/BTb0LLVZ4ODgCtACFs7vXZhXjHHkkkJnCytft/Ena', 'Visualizador', 'Oldelval', 'voldelval@test.com', 1, 0, 0, 0, NULL, '2020-05-19 12:21:33', '2020-05-19 12:21:33', NULL),
(323, 'coordOlvelval', '$2y$10$F.QaBZADNGbNaGa5x/lDYu9MnVjKlHheFwPf/DcFle8FEDnH56hbq', 'coordina', 'Old', 'coo@coo.com', 1, 0, 0, 0, NULL, '2020-05-22 15:09:03', '2020-05-22 15:09:03', NULL),
(324, 'Inspectortrace1', '$2y$10$J.eWWwhQxH3UngkIQf.60eGCQq5hgxfp4.oAS0iQWdhBjyWfsRFoa', 'Inspector', 'Trace', 'inspectorcamuzzi1@tracegroup.com.ar', 1, 1, 0, 0, NULL, '2020-06-05 18:26:15', '2020-06-05 18:27:25', NULL),
(325, 'mtrai', '$2y$10$rE4MArVUa2fUlmQ7/mqq0Ojv.3cw6Dx3squpSHlebBNd2LJ7MYj9m', 'Claudia Mariela', 'TRAIMALLANCA', 'mariela.traimallanca@alitaware.com', 1, 0, 0, 0, NULL, '2020-07-01 16:45:51', '2020-07-01 16:45:51', NULL),
(326, 'inspectorbureau', '$2y$10$QG/PUDhmZd.KhgItjcIj2uDtVgOzKAp2hAXB4J10WJaj8.j5DqULm', 'Inspector', 'Bureau', 'partescamuzzi@bureauveritas.com', 1, 1, 0, 0, NULL, '2020-07-21 13:37:42', '2021-02-01 11:45:47', NULL),
(327, 'InspectorTUV', '$2y$10$FBZm4IHl5bB7mSy0D4ZHvu/CWmSSg9sZOgc/XYVXXJBm8Xhc05Y0q', 'Inspector', 'TUV', 'CGP@ar.tuv.com', 1, 1, 0, 0, NULL, '2020-07-23 17:33:30', '2020-08-03 14:30:09', NULL),
(328, 'Immoura', '$2y$10$aIIF0YkA5PQ7aL48AXczwe/p/Dc7st.SsH2lQeLrhEzY0wj2ycmDm', 'Maximiliano', 'Moura', 'maximiliano.moura@ar.tuv.net', 1, 1, 0, 0, NULL, '2020-07-31 16:35:15', '2020-09-15 18:17:51', NULL),
(329, 'cbarroso', '$2y$10$k6wEwNCKDARZbphoNc6YxehQqTei21J2UUhPEnToD75G2sApgr.Ua', 'Cristian', 'Barroso', 'Cristian.Barroso@ar.tuv.com', 1, 1, 0, 0, NULL, '2020-08-14 13:01:15', '2020-08-14 13:01:15', NULL),
(330, 'AdmAlitaware', '$2y$10$XurUhEnvjnrluENI1K24w.LfUpMOUUu8BQWzDwSzGK.4ZuU3JJagC', 'adm', 'Alitaware', 'adm@test.com', 1, 0, 0, 0, NULL, '2020-08-21 13:40:01', '2020-08-21 13:40:01', NULL),
(331, 'rmontoro', '$2y$10$z6jJ/1tNLzYP2o6PVTT9eO31Xo.KjwNzTD2RO6olg6D6CWtt9ZAh2', 'Romina', 'Montoro', 'romina.montoro@tracegroup.com.ar', 1, 1, 0, 0, NULL, '2020-08-21 22:13:26', '2020-08-21 22:13:26', NULL),
(332, 'UNLaPLata', '$2y$10$SNV9E.TftMnPrNeut3tnqOvdZqmSzSe8eHgK6z29dz4J1facXLRf2', 'Unidad de Negocios', 'La Plata', 'ernesto.iafolla@camuzzigas.com.ar', 1, 0, 0, 0, NULL, '2020-08-27 11:52:19', '2020-08-27 11:52:19', NULL),
(333, 'UNComahue', '$2y$10$mq0U80FNJ1oNlUx7HL4bp.T5OYuQ8t6ogoVAwhl3xnfy318tBzhfW', 'Unidad de Negocios', 'Comahue', 'Luis.Arratia@camuzzigas.com.ar', 1, 0, 0, 0, NULL, '2020-08-27 11:58:26', '2020-08-27 11:58:26', NULL),
(334, 'UNBACentro', '$2y$10$HyYhLMudePE7gqKeMWWBbOuHCNoxlQ0SUqFgn0sX7Izpe.i2NO8vy', 'Unidad de Negocios', 'Buenos Aires Centro', 'walter.casanovas@camuzzigas.com.ar', 1, 0, 0, 0, NULL, '2020-08-27 12:01:43', '2020-08-27 12:01:43', NULL),
(335, 'UNComodoro', '$2y$10$C6zIQ8ozHBiaKYkap9dFkOyZSLAQltS2KOOa4wrlvTDrg86OOWKxC', 'Unidad de Negocios', 'Comodoro', 'Pablo.Esponda@camuzzigas.com.ar', 1, 0, 0, 0, NULL, '2020-08-27 13:41:26', '2020-08-27 13:41:26', NULL),
(336, 'UNBAhiaBlanca', '$2y$10$e4bxYdc0oy3JF00gpefO3.VC1KBvo7QApAlBONkEoeqb8f9Wtua1a', 'Unidad de Negocios', 'Bahia Blanca', 'nelson.garay@camuzzigas.com.ar', 1, 0, 0, 0, NULL, '2020-08-27 18:41:18', '2020-08-27 18:41:18', NULL),
(337, 'mvertua', '$2y$10$g4TeyYVc.26M.PW.vwGPaeePSY5fpAZJF6ueLVzGg0Zd7RjgglQs6', 'Martin', 'Vertua', 'martin.vertua@tracegroup.com.ar', 1, 1, 0, 0, NULL, '2020-09-01 19:01:05', '2020-09-01 19:01:05', NULL),
(338, 'rlandoni', '$2y$10$HPeBb0TVqXXa1Ycd66gUzOdN.20XrBhXNtGEBRTd7pW4w8W4MMRHi', 'Ruben', 'Landoni', 'Ruben.Landoni@ar.tuv.com', 1, 1, 0, 0, NULL, '2020-09-22 15:12:22', '2020-09-22 15:12:22', NULL),
(339, 'dfulgenci', '$2y$10$0.Lmtn/ctSa9EYRhkvoFUe4qyrKfGIsfoIKH6j3Lnpx.0NNLQv05S', 'Diego', 'Fulgenci', 'diego.fulgenci@ar.tuv.com', 1, 1, 0, 0, NULL, '2020-09-24 19:18:37', '2020-09-24 19:18:37', NULL),
(340, 'UNPeninsula', '$2y$10$gdloTi7GJ3Q51OC3FrgeEe5CBPDlNGaj6ZaiRRBJVla0DoeBMGtKa', 'Unidad de Negocios', 'Peninsula', 'Leonel.Aguilar@camuzzigas.com.ar', 1, 0, 0, 0, NULL, '2020-09-28 12:05:20', '2020-09-28 12:05:20', NULL),
(341, 'jcruz', '$2y$10$wD0LtMJqZer4aiFfHNfIR.jwgOYvEyKCZfVoa/6cTVh38e6E/mVbO', 'Juan', 'Cruz', 'Juan.Cruz@bureauveritas.com', 1, 1, 0, 0, NULL, '2020-09-30 11:28:38', '2020-09-30 11:28:38', NULL),
(342, 'UNAndina', '$2y$10$ztPsSeGR0absWZRRhcFId.dARgzq.TMApY1/djPWn9hb7UZlPDN4i', 'Unidad de Negocios', 'Andina', 'Emilio.Narvay@camuzzigas.com.ar', 1, 0, 0, 0, NULL, '2020-10-01 13:09:52', '2021-01-20 18:58:09', NULL),
(343, 'UNLaPampa', '$2y$10$DCuorDoEGmu5rVOuDSJzuuq58AnGQKdkJgASwpCPx9F4ozmwECKjm', 'Unidad de Negocios', 'La Pampa', 'marcos.juan@camuzzigas.com.ar', 1, 0, 0, 0, NULL, '2020-10-30 11:59:54', '2020-10-30 11:59:54', NULL),
(344, 'emarin', '$2y$10$v7N5AV0WX5HOdWo6Ma8j6u8GWycSngzPNaK5rEFH7KDgSIlgYIfr.', 'Ennio', 'Marin', 'ennio.marin@tracegroup.com.ar', 1, 1, 0, 0, NULL, '2020-11-09 15:37:50', '2020-11-09 15:37:50', NULL),
(345, 'Tharitchet', '$2y$10$laDhtG21eapMwg6uZISAr.Xh776tdDe1XQCtp2i9Dj7JEHgvBd/Wu', 'Tomas', 'Haritchet', 'tomas.haritchet@ar.tuv.com', 1, 1, 0, 0, NULL, '2020-11-16 12:32:10', '2020-11-16 12:32:10', NULL),
(346, 'lbelmar', '$2y$10$rnQMfMdIoXAkbGMp7EKtLeK8ylAzb.hxUepARnuN.uQyd9./3.4b.', 'Luciano', 'Belmar', 'Luciano.Belmar@ar.tuv.com', 1, 1, 0, 0, NULL, '2020-12-09 14:18:30', '2020-12-09 14:18:30', NULL),
(347, 'ppotes', '$2y$10$Rd/W6Dos1AKzEk4QqXgbeOUl4v/Pjoq2Tg.7RfbSiRbuq0uOgp8la', 'Ponciano', 'Potes', 'Ponciano.Potes@ar.tuv.net', 1, 1, 0, 0, NULL, '2020-12-10 14:54:00', '2020-12-10 14:54:00', NULL),
(348, 'UNBASur', '$2y$10$SpNiGvIkS8zrvyCaaR.G7etsy8vwGE/w6ZznTdtIZAn4cG8p8HerW', 'Unidad de Negocios', 'Buenos Aires Sur', 'marcelo.torres@camuzzigas.com.ar', 1, 0, 0, 0, NULL, '2020-12-13 22:58:27', '2020-12-13 22:58:27', NULL),
(349, 'esanchez', '$2y$10$ud1A14qGgq/TS//CXQLsO.9CXmyyCkUwNnc60xy9H.1/6L2iGBIoK', 'Esteban', 'Sanchez', 'Esteban.Sanchez@ar.tuv.com', 1, 1, 0, 0, NULL, '2020-12-14 16:33:37', '2020-12-14 16:55:21', NULL),
(350, 'esanchez1', '$2y$10$qxwSLSGOP/r2pdAyF0WsbeCiNlfeem3G/JOKNQygUA28SPZ5tHh42', 'Esteban', 'Sanchez', 'Esteban.Sanches@ar.tuv.com', 1, 1, 0, 0, NULL, '2020-12-14 17:36:39', '2020-12-14 17:36:39', NULL),
(351, 'UNTierradelFuego', '$2y$10$Fy.e3lHoW3dJR9L8txsbZuYuQ6uv1iL.QL6Rm.5YRtctzu5vmKdq.', 'Unidad de Negocios', 'Tierra del Fuego', 'Hector.Pfund@camuzzigas.com.ar', 1, 0, 0, 0, NULL, '2020-12-15 15:03:32', '2020-12-15 15:03:32', NULL),
(352, 'cfernandez', '$2y$10$EmN25/dNIDo2Wz9Ljx9v4ezsANu5XfcZ/UWDQvTrjH7XMlWzRLY8e', 'Celestino', 'Fernandez', 'celestino.fernandez@bureauveritas.com', 1, 1, 0, 0, NULL, '2021-01-05 18:59:03', '2021-01-05 18:59:03', NULL),
(353, 'InspeccionUNTDF', '$2y$10$vv4DhQer3F2cYj2qu4K8s.2qybVDwXvjh6vla5D7EG19gUQApOeiC', 'InspeccionUNTDF', 'TDF', 'Rafael.Murino@camuzzigas.com.ar', 1, 1, 0, 0, NULL, '2021-01-12 13:29:58', '2021-01-12 13:29:58', NULL),
(354, 'srosas', '$2y$10$sBkJp1i8cu9I4A9/etDRVuwU0zIapMNatDgjCMTdqbiiijqssh4ti', 'Sebastian', 'Rosas', 'sebastian.rosas@ar.tuv.com', 1, 1, 0, 0, NULL, '2021-01-13 20:17:41', '2021-01-13 20:17:41', NULL),
(355, 'psaltopaz', '$2y$10$3oHQz/5xVBfHCJtcwP6QAug19s2tbHEMmhnZNUtRw3vba.s9DjRW2', 'Pablo', 'Saltopaz', 'pablo.saltopaz@bureauveritas.com', 1, 1, 0, 0, NULL, '2021-01-14 18:12:19', '2021-01-14 18:12:19', NULL),
(356, 'rrodriguez', '$2y$10$hAe0iIC/AU2TccJ/FHbtxOP1caiyaZNY1FxXjr.YpIpXM5Wz6EEuO', 'Ruben', 'rodriguez', 'rodriguezruben524@yahoo.com', 1, 1, 0, 0, NULL, '2021-01-19 20:03:16', '2021-01-19 20:03:16', NULL),
(357, 'bjara', '$2y$10$70V5v5lQqY4wYJo01481veSExzEJYTQlDRS4fZQibxkKe6ubXRJ.i', 'Bruno', 'Jara', 'jarabrunobahia@hotmail.com', 1, 1, 0, 0, NULL, '2021-01-19 20:07:19', '2021-01-19 20:07:19', NULL),
(358, 'UNLagos', '$2y$10$rZZyQ/rLxyIrV4AShcPrJeLAik.W8EpQ3dHI57uppX3TEVuuMxQLK', 'Unidad de Negocios', 'De Los Lagos', 'sergio.berreaute@camuzzigas.com.ar', 1, 0, 0, 0, NULL, '2021-01-28 03:21:42', '2021-01-28 03:28:10', NULL),
(359, 'jarpa', '$2y$10$5.tca.rorng1mb0/qmMbFOFZlfaROgUv/RCCtzdA0Po.kgPIFh4jS', 'lucas', 'jarpa', 'pruebadepruebas@gmail.com', 1, 0, 0, 0, NULL, '2021-02-09 13:45:18', '2021-02-09 13:45:18', NULL);

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

--
-- Estructura de tabla para la tabla `userteam`
--

CREATE TABLE `userteam` (
  `idUserTeam` int(11) NOT NULL,
  `idUser` int(11) NOT NULL,
  `idTeam` int(11) NOT NULL,
  `sJob` varchar(45) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

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

INSERT INTO `userteam` (`idUserTeam`, `idUser`, `idTeam`, `sJob`) VALUES
(1, 1, 1, NULL),
(2, 2, 1, NULL),
(7, 1, 6, NULL),
(9, 2, 2, NULL),
(15, 7, 1, NULL),
(16, 10, 1, NULL),
(18, 58, 2, NULL),
(19, 10, 2, NULL),
(20, 7, 2, NULL),
(21, 61, 6, NULL),
(22, 10, 6, NULL),
(24, 64, 2, NULL),
(25, 64, 6, NULL),
(35, 10, 23, NULL),
(37, 101, 1, NULL),
(38, 101, 2, NULL),
(39, 96, 6, NULL),
(41, 96, 1, NULL),
(42, 128, 20, NULL),
(43, 130, 6, NULL),
(44, 131, 6, NULL),
(45, 131, 1, NULL),
(48, 154, 1, NULL),
(50, 156, 1, NULL),
(86, 223, 1, NULL),
(88, 228, 1, NULL),
(90, 232, 1, NULL),
(91, 223, 6, NULL),
(92, 223, 6, NULL),
(93, 233, 1, NULL),
(95, 166, 1, NULL),
(96, 236, 44, NULL),
(97, 237, 44, NULL),
(98, 238, 1, NULL),
(99, 239, 1, NULL),
(101, 245, 44, NULL),
(103, 156, 2, NULL),
(104, 156, 6, NULL),
(105, 238, 6, NULL),
(106, 249, 20, NULL),
(107, 7, 20, NULL),
(108, 9, 11, NULL),
(111, 251, 47, NULL),
(112, 1, 20, NULL),
(113, 258, 20, NULL),
(114, 280, 20, NULL),
(115, 287, 20, NULL),
(116, 289, 20, NULL),
(117, 292, 20, NULL),
(118, 294, 20, NULL),
(119, 296, 20, NULL),
(121, 299, 20, NULL),
(122, 300, 20, NULL),
(123, 301, 20, NULL),
(125, 303, 20, NULL),
(127, 306, 16, NULL),
(129, 307, 16, NULL),
(131, 308, 20, NULL),
(134, 315, 20, NULL),
(135, 316, 20, NULL),
(136, 317, 16, NULL),
(137, 318, 20, NULL),
(138, 319, 20, NULL),
(139, 320, 20, NULL),
(140, 321, 20, NULL),
(141, 322, 16, NULL),
(142, 323, 16, NULL),
(143, 324, 20, NULL),
(144, 326, 20, NULL),
(146, 328, 20, NULL),
(147, 327, 20, NULL),
(148, 329, 20, NULL),
(149, 330, 20, NULL),
(150, 331, 20, NULL),
(151, 332, 20, NULL),
(152, 333, 20, NULL),
(153, 334, 20, NULL),
(154, 335, 20, NULL),
(155, 336, 20, NULL),
(156, 337, 20, NULL),
(157, 338, 20, NULL),
(158, 339, 20, NULL),
(159, 340, 20, NULL),
(160, 341, 20, NULL),
(161, 342, 20, NULL),
(162, 343, 20, NULL),
(163, 344, 20, NULL),
(164, 345, 20, NULL),
(165, 346, 20, NULL),
(166, 347, 20, NULL),
(167, 348, 20, NULL),
(169, 350, 20, NULL),
(170, 351, 20, NULL),
(171, 352, 20, NULL),
(172, 353, 20, NULL),
(173, 354, 20, NULL),
(174, 355, 20, NULL),
(175, 356, 20, NULL),
(176, 357, 20, NULL),
(177, 358, 20, NULL);

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

--
-- Estructura de tabla para la tabla `userteamapprole`
--

CREATE TABLE `userteamapprole` (
  `idUserTeamAppRole` int(11) NOT NULL,
  `idUserTeam` int(11) NOT NULL,
  `idApp` int(11) NOT NULL,
  `idRole` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

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

INSERT INTO `userteamapprole` (`idUserTeamAppRole`, `idUserTeam`, `idApp`, `idRole`) VALUES
(1, 1, 1, 1),
(2, 2, 1, 1),
(7, 7, 1, 2),
(13, 1, 1, 2),
(16, 16, 2, 3),
(19, 16, 1, 2),
(20, 18, 2, 3),
(22, 20, 2, 2),
(23, 16, 3, 1),
(24, 22, 4, 2),
(27, 19, 2, 2),
(28, 16, 4, 1),
(29, 35, 2, 1),
(32, 37, 4, 1),
(33, 22, 2, 1),
(34, 42, 1, 1),
(35, 48, 3, 3),
(37, 50, 3, 1),
(39, 86, 4, 3),
(41, 88, 4, 3),
(42, 90, 4, 3),
(43, 91, 4, 2),
(44, 93, 4, 2),
(46, 95, 3, 2),
(47, 96, 4, 2),
(48, 97, 4, 1),
(49, 98, 4, 3),
(50, 99, 4, 2),
(53, 103, 3, 2),
(54, 104, 3, 3),
(55, 103, 2, 1),
(56, 104, 2, 2),
(57, 50, 4, 1),
(58, 95, 4, 2),
(59, 95, 2, 2),
(60, 48, 2, 3),
(61, 48, 4, 3),
(62, 106, 1, 1),
(64, 113, 1, 2),
(65, 115, 1, 1),
(66, 116, 1, 2),
(67, 117, 1, 2),
(68, 118, 1, 2),
(69, 119, 1, 2),
(71, 121, 1, 2),
(72, 122, 1, 1),
(73, 123, 1, 2),
(76, 95, 1, 1),
(78, 125, 1, 2),
(80, 127, 1, 1),
(81, 129, 1, 2),
(82, 131, 1, 3),
(84, 134, 1, 1),
(85, 135, 1, 1),
(86, 136, 1, 2),
(87, 137, 1, 1),
(88, 138, 1, 1),
(89, 139, 1, 1),
(90, 140, 1, 3),
(91, 141, 1, 3),
(92, 142, 1, 3),
(93, 143, 1, 2),
(94, 144, 1, 2),
(96, 146, 1, 2),
(97, 147, 1, 2),
(98, 148, 1, 2),
(99, 149, 1, 1),
(100, 150, 1, 2),
(101, 151, 1, 3),
(102, 152, 1, 3),
(103, 153, 1, 3),
(104, 154, 1, 3),
(105, 155, 1, 3),
(106, 156, 1, 2),
(107, 157, 1, 2),
(108, 158, 1, 2),
(109, 159, 1, 3),
(110, 160, 1, 2),
(111, 161, 1, 3),
(112, 162, 1, 3),
(113, 163, 1, 2),
(114, 164, 1, 2),
(115, 165, 1, 2),
(116, 166, 1, 2),
(117, 167, 1, 3),
(119, 169, 1, 2),
(120, 170, 1, 3),
(121, 171, 1, 2),
(122, 172, 1, 2),
(123, 173, 1, 2),
(124, 174, 1, 2),
(125, 175, 1, 2),
(126, 176, 1, 2),
(127, 177, 1, 3);

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

--
-- Estructura Stand-in para la vista `viewuserapproleteam`
-- (Véase abajo para la vista actual)
--
CREATE TABLE `viewuserapproleteam` (
`idUser` int(11)
,`sUsername` varchar(255)
,`sFirstname` varchar(255)
,`sLastname` varchar(255)
,`sEmail` varchar(255)
,`teamName` varchar(45)
,`teamId` int(11)
,`appName` varchar(45)
,`appId` int(11)
,`roleName` varchar(45)
,`roleId` int(11)
);

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

--
-- Estructura para la vista `viewuserapproleteam`
--

CREATE ALGORITHM=UNDEFINED DEFINER=`admin`@`%` SQL SECURITY DEFINER VIEW `viewuserapproleteam`  AS SELECT `user`.`idUser` AS `idUser`, `user`.`sUsername` AS `sUsername`, `user`.`sFirstname` AS `sFirstname`, `user`.`sLastname` AS `sLastname`, `user`.`sEmail` AS `sEmail`, `team`.`sName` AS `teamName`, `team`.`idTeam` AS `teamId`, `app`.`sName` AS `appName`, `app`.`idApp` AS `appId`, `role`.`sDescription` AS `roleName`, `role`.`idRole` AS `roleId` FROM (((((`user` join `userteam` on(`userteam`.`idUser` = `user`.`idUser`)) join `team` on(`team`.`idTeam` = `userteam`.`idTeam`)) join `userteamapprole` on(`userteamapprole`.`idUserTeam` = `userteam`.`idUserTeam`)) join `app` on(`userteamapprole`.`idApp` = `app`.`idApp`)) join `role` on(`userteamapprole`.`idRole` = `role`.`idRole`)) WHERE `team`.`bActive` = 1 ORDER BY `user`.`idUser` ASC, `team`.`idTeam` ASC, `app`.`idApp` ASC ;

--
-- Índices para tablas volcadas
--

--
-- Indices de la tabla `app`
--
ALTER TABLE `app`
  ADD PRIMARY KEY (`idApp`),
  ADD UNIQUE KEY `idApp_UNIQUE` (`idApp`),
  ADD UNIQUE KEY `sName_UNIQUE` (`sName`);

--
-- Indices de la tabla `device`
--
ALTER TABLE `device`
  ADD PRIMARY KEY (`idDevice`),
  ADD UNIQUE KEY `idUser_UNIQUE` (`idUser`),
  ADD UNIQUE KEY `sDeviceId_UNIQUE` (`sDeviceId`),
  ADD KEY `idUser_idx` (`idUser`);

--
-- Indices de la tabla `domain`
--
ALTER TABLE `domain`
  ADD PRIMARY KEY (`idDomain`),
  ADD KEY `fk_team_idx` (`idTeam`);

--
-- Indices de la tabla `isclient`
--
ALTER TABLE `isclient`
  ADD PRIMARY KEY (`idTeam`,`idTeamClient`),
  ADD UNIQUE KEY `teams_unique` (`idTeam`,`idTeamClient`),
  ADD KEY `idTeam_idx` (`idTeam`),
  ADD KEY `idTeamClient_idx` (`idTeamClient`);

--
-- Indices de la tabla `migrations`
--
ALTER TABLE `migrations`
  ADD PRIMARY KEY (`id`);

--
-- Indices de la tabla `person`
--
ALTER TABLE `person`
  ADD PRIMARY KEY (`idPerson`),
  ADD UNIQUE KEY `idPerson_UNIQUE` (`idPerson`);

--
-- Indices de la tabla `role`
--
ALTER TABLE `role`
  ADD PRIMARY KEY (`idRole`),
  ADD UNIQUE KEY `idRole_UNIQUE` (`idRole`);

--
-- Indices de la tabla `team`
--
ALTER TABLE `team`
  ADD PRIMARY KEY (`idTeam`),
  ADD UNIQUE KEY `idTeam_UNIQUE` (`idTeam`),
  ADD UNIQUE KEY `sName_UNIQUE` (`sName`);

--
-- Indices de la tabla `teamconfiguration`
--
ALTER TABLE `teamconfiguration`
  ADD PRIMARY KEY (`idTeamConfiguration`),
  ADD UNIQUE KEY `idTeam_UNIQUE` (`idTeam`),
  ADD KEY `fk_team_config_idx` (`idTeam`);

--
-- Indices de la tabla `teamlimiteusuarios`
--
ALTER TABLE `teamlimiteusuarios`
  ADD PRIMARY KEY (`idTeamLimiteUsuarios`),
  ADD UNIQUE KEY `idTeamLimiteUsuarios_UNIQUE` (`idTeamLimiteUsuarios`),
  ADD KEY `idTeam_FK2_idx` (`idTeam`);

--
-- Indices de la tabla `user`
--
ALTER TABLE `user`
  ADD PRIMARY KEY (`idUser`),
  ADD UNIQUE KEY `idUser_UNIQUE` (`idUser`),
  ADD UNIQUE KEY `sUsername_UNIQUE` (`sUsername`),
  ADD UNIQUE KEY `sEmail_UNIQUE` (`sEmail`),
  ADD KEY `idTeamClient_idx1` (`idTeamClient`),
  ADD KEY `idPerson_idx2` (`idPerson`);

--
-- Indices de la tabla `userteam`
--
ALTER TABLE `userteam`
  ADD PRIMARY KEY (`idUserTeam`),
  ADD UNIQUE KEY `idUserTeam_UNIQUE` (`idUserTeam`),
  ADD KEY `user_idx` (`idUser`),
  ADD KEY `team_idx` (`idTeam`);

--
-- Indices de la tabla `userteamapprole`
--
ALTER TABLE `userteamapprole`
  ADD PRIMARY KEY (`idUserTeamAppRole`),
  ADD UNIQUE KEY `idUserTeamAppRole_UNIQUE` (`idUserTeamAppRole`),
  ADD KEY `userTeamUTAP_idx` (`idUserTeam`),
  ADD KEY `appUTAP_idx` (`idApp`),
  ADD KEY `roleUTAP_idx` (`idRole`);

--
-- AUTO_INCREMENT de las tablas volcadas
--

--
-- AUTO_INCREMENT de la tabla `app`
--
ALTER TABLE `app`
  MODIFY `idApp` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=5;

--
-- AUTO_INCREMENT de la tabla `device`
--
ALTER TABLE `device`
  MODIFY `idDevice` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=278;

--
-- AUTO_INCREMENT de la tabla `domain`
--
ALTER TABLE `domain`
  MODIFY `idDomain` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3;

--
-- AUTO_INCREMENT de la tabla `migrations`
--
ALTER TABLE `migrations`
  MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2;

--
-- AUTO_INCREMENT de la tabla `role`
--
ALTER TABLE `role`
  MODIFY `idRole` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=4;

--
-- AUTO_INCREMENT de la tabla `team`
--
ALTER TABLE `team`
  MODIFY `idTeam` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=63;

--
-- AUTO_INCREMENT de la tabla `teamconfiguration`
--
ALTER TABLE `teamconfiguration`
  MODIFY `idTeamConfiguration` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=8;

--
-- AUTO_INCREMENT de la tabla `teamlimiteusuarios`
--
ALTER TABLE `teamlimiteusuarios`
  MODIFY `idTeamLimiteUsuarios` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=4;

--
-- AUTO_INCREMENT de la tabla `user`
--
ALTER TABLE `user`
  MODIFY `idUser` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=360;

--
-- AUTO_INCREMENT de la tabla `userteam`
--
ALTER TABLE `userteam`
  MODIFY `idUserTeam` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=178;

--
-- AUTO_INCREMENT de la tabla `userteamapprole`
--
ALTER TABLE `userteamapprole`
  MODIFY `idUserTeamAppRole` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=128;

--
-- Restricciones para tablas volcadas
--

--
-- Filtros para la tabla `device`
--
ALTER TABLE `device`
  ADD CONSTRAINT `idUser_fk` FOREIGN KEY (`idUser`) REFERENCES `user` (`idUser`) ON DELETE NO ACTION ON UPDATE NO ACTION;

--
-- Filtros para la tabla `domain`
--
ALTER TABLE `domain`
  ADD CONSTRAINT `fk_team` FOREIGN KEY (`idTeam`) REFERENCES `team` (`idTeam`) ON DELETE NO ACTION ON UPDATE NO ACTION;

--
-- Filtros para la tabla `isclient`
--
ALTER TABLE `isclient`
  ADD CONSTRAINT `idTeamClient_fk` FOREIGN KEY (`idTeamClient`) REFERENCES `team` (`idTeam`) ON DELETE NO ACTION ON UPDATE NO ACTION,
  ADD CONSTRAINT `idTeam_fk` FOREIGN KEY (`idTeam`) REFERENCES `team` (`idTeam`) ON DELETE NO ACTION ON UPDATE NO ACTION;

--
-- Filtros para la tabla `teamconfiguration`
--
ALTER TABLE `teamconfiguration`
  ADD CONSTRAINT `fk_team_config` FOREIGN KEY (`idTeam`) REFERENCES `team` (`idTeam`) ON DELETE NO ACTION ON UPDATE NO ACTION;

--
-- Filtros para la tabla `teamlimiteusuarios`
--
ALTER TABLE `teamlimiteusuarios`
  ADD CONSTRAINT `idTeam_FK2` FOREIGN KEY (`idTeam`) REFERENCES `team` (`idTeam`) ON DELETE NO ACTION ON UPDATE NO ACTION;

--
-- Filtros para la tabla `user`
--
ALTER TABLE `user`
  ADD CONSTRAINT `idPerson_FK` FOREIGN KEY (`idPerson`) REFERENCES `person` (`idPerson`) ON DELETE NO ACTION ON UPDATE NO ACTION,
  ADD CONSTRAINT `idTeam_fk1` FOREIGN KEY (`idTeamClient`) REFERENCES `team` (`idTeam`) ON DELETE NO ACTION ON UPDATE NO ACTION,
  ADD CONSTRAINT `idTeam_fk12` FOREIGN KEY (`idTeamClient`) REFERENCES `team` (`idTeam`) ON DELETE NO ACTION ON UPDATE NO ACTION;

--
-- Filtros para la tabla `userteam`
--
ALTER TABLE `userteam`
  ADD CONSTRAINT `teamUT` FOREIGN KEY (`idTeam`) REFERENCES `team` (`idTeam`) ON DELETE NO ACTION ON UPDATE NO ACTION,
  ADD CONSTRAINT `userUT` FOREIGN KEY (`idUser`) REFERENCES `user` (`idUser`) ON DELETE NO ACTION ON UPDATE NO ACTION;

--
-- Filtros para la tabla `userteamapprole`
--
ALTER TABLE `userteamapprole`
  ADD CONSTRAINT `appUTAP` FOREIGN KEY (`idApp`) REFERENCES `app` (`idApp`) ON DELETE NO ACTION ON UPDATE NO ACTION,
  ADD CONSTRAINT `roleUTAP` FOREIGN KEY (`idRole`) REFERENCES `role` (`idRole`) ON DELETE NO ACTION ON UPDATE NO ACTION,
  ADD CONSTRAINT `userTeamUTAP` FOREIGN KEY (`idUserTeam`) REFERENCES `userteam` (`idUserTeam`) ON DELETE NO ACTION ON UPDATE NO ACTION;
COMMIT;

