-- https://www.phpmyadmin.net/
--

START TRANSACTION;



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

--
-- Table structure for table `agendamentos`
--

CREATE TABLE `agendamentos` (
  `id` int(11) NOT NULL,
  `cliente_id` int(11) NOT NULL,
  `barbeiro_id` int(11) DEFAULT NULL,
  `servico_id` int(11) NOT NULL,
  `data` date NOT NULL,
  `horario` time NOT NULL,
  `status` enum('pendente','confirmado','concluido','cancelado','não compareceu') DEFAULT 'pendente',
  `confirmacao_enviada` tinyint(1) DEFAULT 0,
  `lembrete_enviado` tinyint(1) NOT NULL DEFAULT 0,
  `observacoes` text DEFAULT NULL,
  `grupo_recorrente_id` varchar(100) DEFAULT NULL,
  `criado_em` timestamp NOT NULL DEFAULT current_timestamp()
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

--
-- Dumping data for table `agendamentos`
--

INSERT INTO `agendamentos` (`id`, `cliente_id`, `barbeiro_id`, `servico_id`, `data`, `horario`, `status`, `confirmacao_enviada`, `lembrete_enviado`, `observacoes`, `grupo_recorrente_id`, `criado_em`) VALUES
(5, 3, 1, 1, '2025-07-31', '16:00:00', 'concluido', 0, 1, NULL, NULL, '2025-07-31 18:24:15'),
(6, 4, 1, 1, '2025-07-31', '16:30:00', 'concluido', 0, 1, NULL, NULL, '2025-07-31 18:46:16'),
(7, 5, 1, 1, '2025-08-01', '15:00:00', 'concluido', 0, 1, NULL, 'rec_688bbbf0ecc79', '2025-07-31 18:54:40'),
(8, 5, 1, 1, '2025-08-08', '15:00:00', 'pendente', 0, 0, NULL, 'rec_688bbbf0ecc79', '2025-07-31 18:54:40'),
(9, 5, 1, 1, '2025-08-15', '15:00:00', 'pendente', 0, 0, NULL, 'rec_688bbbf0ecc79', '2025-07-31 18:54:40'),
(10, 5, 1, 1, '2025-08-22', '15:00:00', 'pendente', 0, 0, NULL, 'rec_688bbbf0ecc79', '2025-07-31 18:54:40'),
(11, 5, 1, 1, '2025-08-29', '15:00:00', 'pendente', 0, 0, NULL, 'rec_688bbbf0ecc79', '2025-07-31 18:54:40'),
(12, 5, 1, 1, '2025-09-05', '15:00:00', 'pendente', 0, 0, NULL, 'rec_688bbbf0ecc79', '2025-07-31 18:54:41'),
(13, 5, 1, 1, '2025-09-12', '15:00:00', 'pendente', 0, 0, NULL, 'rec_688bbbf0ecc79', '2025-07-31 18:54:41'),
(14, 5, 1, 1, '2025-09-19', '15:00:00', 'pendente', 0, 0, NULL, 'rec_688bbbf0ecc79', '2025-07-31 18:54:41'),
(15, 5, 1, 1, '2025-09-26', '15:00:00', 'pendente', 0, 0, NULL, 'rec_688bbbf0ecc79', '2025-07-31 18:54:41'),
(16, 5, 1, 1, '2025-10-03', '15:00:00', 'pendente', 0, 0, NULL, 'rec_688bbbf0ecc79', '2025-07-31 18:54:41'),
(17, 5, 1, 1, '2025-10-10', '15:00:00', 'pendente', 0, 0, NULL, 'rec_688bbbf0ecc79', '2025-07-31 18:54:41'),
(18, 5, 1, 1, '2025-10-17', '15:00:00', 'pendente', 0, 0, NULL, 'rec_688bbbf0ecc79', '2025-07-31 18:54:41'),
(19, 5, 1, 1, '2025-10-24', '15:00:00', 'pendente', 0, 0, NULL, 'rec_688bbbf0ecc79', '2025-07-31 18:54:41'),
(20, 5, 1, 1, '2025-10-31', '15:00:00', 'pendente', 0, 0, NULL, 'rec_688bbbf0ecc79', '2025-07-31 18:54:41'),
(21, 5, 1, 1, '2025-11-07', '15:00:00', 'pendente', 0, 0, NULL, 'rec_688bbbf0ecc79', '2025-07-31 18:54:41'),
(22, 5, 1, 1, '2025-11-14', '15:00:00', 'pendente', 0, 0, NULL, 'rec_688bbbf0ecc79', '2025-07-31 18:54:41'),
(23, 5, 1, 1, '2025-11-21', '15:00:00', 'pendente', 0, 0, NULL, 'rec_688bbbf0ecc79', '2025-07-31 18:54:41'),
(24, 5, 1, 1, '2025-11-28', '15:00:00', 'pendente', 0, 0, NULL, 'rec_688bbbf0ecc79', '2025-07-31 18:54:41'),
(25, 5, 1, 1, '2025-12-05', '15:00:00', 'pendente', 0, 0, NULL, 'rec_688bbbf0ecc79', '2025-07-31 18:54:41'),
(26, 5, 1, 1, '2025-12-12', '15:00:00', 'pendente', 0, 0, NULL, 'rec_688bbbf0ecc79', '2025-07-31 18:54:41'),
(27, 5, 1, 1, '2025-12-19', '15:00:00', 'pendente', 0, 0, NULL, 'rec_688bbbf0ecc79', '2025-07-31 18:54:41'),
(28, 5, 1, 1, '2025-12-26', '15:00:00', 'pendente', 0, 0, NULL, 'rec_688bbbf0ecc79', '2025-07-31 18:54:41'),
(29, 5, 1, 1, '2026-01-02', '15:00:00', 'pendente', 0, 0, NULL, 'rec_688bbbf0ecc79', '2025-07-31 18:54:41'),
(30, 5, 1, 1, '2026-01-09', '15:00:00', 'pendente', 0, 0, NULL, 'rec_688bbbf0ecc79', '2025-07-31 18:54:41'),
(31, 5, 1, 1, '2026-01-16', '15:00:00', 'pendente', 0, 0, NULL, 'rec_688bbbf0ecc79', '2025-07-31 18:54:41'),
(32, 5, 1, 1, '2026-01-23', '15:00:00', 'pendente', 0, 0, NULL, 'rec_688bbbf0ecc79', '2025-07-31 18:54:41'),
(33, 5, 1, 1, '2026-01-30', '15:00:00', 'pendente', 0, 0, NULL, 'rec_688bbbf0ecc79', '2025-07-31 18:54:41'),
(34, 5, 1, 1, '2026-02-06', '15:00:00', 'pendente', 0, 0, NULL, 'rec_688bbbf0ecc79', '2025-07-31 18:54:41'),
(35, 5, 1, 1, '2026-02-13', '15:00:00', 'pendente', 0, 0, NULL, 'rec_688bbbf0ecc79', '2025-07-31 18:54:41'),
(36, 5, 1, 1, '2026-02-20', '15:00:00', 'pendente', 0, 0, NULL, 'rec_688bbbf0ecc79', '2025-07-31 18:54:41'),
(37, 6, 1, 1, '2025-08-01', '09:00:00', 'concluido', 0, 1, NULL, NULL, '2025-08-01 01:06:23'),
(38, 7, 1, 1, '2025-08-02', '11:00:00', 'concluido', 0, 1, NULL, NULL, '2025-08-01 01:11:32'),
(39, 2, 1, 1, '2025-08-05', '16:00:00', 'concluido', 1, 1, NULL, NULL, '2025-08-04 01:08:27'),
(40, 8, 1, 1, '2025-08-08', '10:30:00', 'cancelado', 1, 0, NULL, NULL, '2025-08-05 12:32:05'),
(41, 8, 1, 1, '2025-08-08', '11:00:00', 'pendente', 1, 0, NULL, NULL, '2025-08-05 12:51:09'),
(42, 10, 1, 1, '2025-08-06', '11:30:00', 'cancelado', 1, 0, NULL, NULL, '2025-08-05 16:33:58'),
(43, 11, 1, 1, '2025-08-08', '18:30:00', 'pendente', 0, 0, NULL, 'rec_6892395a29dbe', '2025-08-05 17:03:22'),
(44, 11, 1, 1, '2025-08-15', '18:30:00', 'pendente', 0, 0, NULL, 'rec_6892395a29dbe', '2025-08-05 17:03:22'),
(45, 11, 1, 1, '2025-08-22', '18:30:00', 'pendente', 0, 0, NULL, 'rec_6892395a29dbe', '2025-08-05 17:03:22'),
(46, 11, 1, 1, '2025-08-29', '18:30:00', 'pendente', 0, 0, NULL, 'rec_6892395a29dbe', '2025-08-05 17:03:22'),
(47, 11, 1, 1, '2025-09-05', '18:30:00', 'pendente', 0, 0, NULL, 'rec_6892395a29dbe', '2025-08-05 17:03:22'),
(48, 11, 1, 1, '2025-09-12', '18:30:00', 'pendente', 0, 0, NULL, 'rec_6892395a29dbe', '2025-08-05 17:03:22'),
(49, 11, 1, 1, '2025-09-19', '18:30:00', 'pendente', 0, 0, NULL, 'rec_6892395a29dbe', '2025-08-05 17:03:22'),
(50, 11, 1, 1, '2025-09-26', '18:30:00', 'pendente', 0, 0, NULL, 'rec_6892395a29dbe', '2025-08-05 17:03:22'),
(51, 11, 1, 1, '2025-10-03', '18:30:00', 'pendente', 0, 0, NULL, 'rec_6892395a29dbe', '2025-08-05 17:03:22'),
(52, 11, 1, 1, '2025-10-10', '18:30:00', 'pendente', 0, 0, NULL, 'rec_6892395a29dbe', '2025-08-05 17:03:22'),
(53, 11, 1, 1, '2025-10-17', '18:30:00', 'pendente', 0, 0, NULL, 'rec_6892395a29dbe', '2025-08-05 17:03:22'),
(54, 11, 1, 1, '2025-10-24', '18:30:00', 'pendente', 0, 0, NULL, 'rec_6892395a29dbe', '2025-08-05 17:03:22'),
(55, 11, 1, 1, '2025-10-31', '18:30:00', 'pendente', 0, 0, NULL, 'rec_6892395a29dbe', '2025-08-05 17:03:22'),
(56, 11, 1, 1, '2025-11-07', '18:30:00', 'pendente', 0, 0, NULL, 'rec_6892395a29dbe', '2025-08-05 17:03:22'),
(57, 11, 1, 1, '2025-11-14', '18:30:00', 'pendente', 0, 0, NULL, 'rec_6892395a29dbe', '2025-08-05 17:03:22'),
(58, 11, 1, 1, '2025-11-21', '18:30:00', 'pendente', 0, 0, NULL, 'rec_6892395a29dbe', '2025-08-05 17:03:22'),
(59, 11, 1, 1, '2025-11-28', '18:30:00', 'pendente', 0, 0, NULL, 'rec_6892395a29dbe', '2025-08-05 17:03:22'),
(60, 11, 1, 1, '2025-12-05', '18:30:00', 'pendente', 0, 0, NULL, 'rec_6892395a29dbe', '2025-08-05 17:03:22'),
(61, 11, 1, 1, '2025-12-12', '18:30:00', 'pendente', 0, 0, NULL, 'rec_6892395a29dbe', '2025-08-05 17:03:22'),
(62, 11, 1, 1, '2025-12-19', '18:30:00', 'pendente', 0, 0, NULL, 'rec_6892395a29dbe', '2025-08-05 17:03:22'),
(63, 11, 1, 1, '2025-12-26', '18:30:00', 'pendente', 0, 0, NULL, 'rec_6892395a29dbe', '2025-08-05 17:03:22'),
(64, 11, 1, 1, '2026-01-02', '18:30:00', 'pendente', 0, 0, NULL, 'rec_6892395a29dbe', '2025-08-05 17:03:22'),
(65, 11, 1, 1, '2026-01-09', '18:30:00', 'pendente', 0, 0, NULL, 'rec_6892395a29dbe', '2025-08-05 17:03:22'),
(66, 11, 1, 1, '2026-01-16', '18:30:00', 'pendente', 0, 0, NULL, 'rec_6892395a29dbe', '2025-08-05 17:03:22'),
(67, 11, 1, 1, '2026-01-23', '18:30:00', 'pendente', 0, 0, NULL, 'rec_6892395a29dbe', '2025-08-05 17:03:22'),
(68, 11, 1, 1, '2026-01-30', '18:30:00', 'pendente', 0, 0, NULL, 'rec_6892395a29dbe', '2025-08-05 17:03:22'),
(69, 11, 1, 1, '2026-02-06', '18:30:00', 'pendente', 0, 0, NULL, 'rec_6892395a29dbe', '2025-08-05 17:03:22'),
(70, 11, 1, 1, '2026-02-13', '18:30:00', 'pendente', 0, 0, NULL, 'rec_6892395a29dbe', '2025-08-05 17:03:22'),
(71, 11, 1, 1, '2026-02-20', '18:30:00', 'pendente', 0, 0, NULL, 'rec_6892395a29dbe', '2025-08-05 17:03:22'),
(72, 11, 1, 1, '2026-02-27', '18:30:00', 'pendente', 0, 0, NULL, 'rec_6892395a29dbe', '2025-08-05 17:03:22'),
(73, 2, 1, 1, '2025-08-05', '15:00:00', 'cancelado', 1, 0, NULL, NULL, '2025-08-05 17:53:51'),
(74, 12, 1, 1, '2025-08-08', '18:00:00', 'pendente', 0, 0, NULL, 'rec_68924650ad308', '2025-08-05 17:58:40'),
(75, 12, 1, 1, '2025-08-15', '18:00:00', 'pendente', 0, 0, NULL, 'rec_68924650ad308', '2025-08-05 17:58:40'),
(76, 12, 1, 1, '2025-08-22', '18:00:00', 'pendente', 0, 0, NULL, 'rec_68924650ad308', '2025-08-05 17:58:40'),
(77, 12, 1, 1, '2025-08-29', '18:00:00', 'pendente', 0, 0, NULL, 'rec_68924650ad308', '2025-08-05 17:58:40'),
(78, 12, 1, 1, '2025-09-05', '18:00:00', 'pendente', 0, 0, NULL, 'rec_68924650ad308', '2025-08-05 17:58:40'),
(79, 12, 1, 1, '2025-09-12', '18:00:00', 'pendente', 0, 0, NULL, 'rec_68924650ad308', '2025-08-05 17:58:40'),
(80, 12, 1, 1, '2025-09-19', '18:00:00', 'pendente', 0, 0, NULL, 'rec_68924650ad308', '2025-08-05 17:58:40'),
(81, 12, 1, 1, '2025-09-26', '18:00:00', 'pendente', 0, 0, NULL, 'rec_68924650ad308', '2025-08-05 17:58:40'),
(82, 12, 1, 1, '2025-10-03', '18:00:00', 'pendente', 0, 0, NULL, 'rec_68924650ad308', '2025-08-05 17:58:40'),
(83, 12, 1, 1, '2025-10-10', '18:00:00', 'pendente', 0, 0, NULL, 'rec_68924650ad308', '2025-08-05 17:58:40'),
(84, 12, 1, 1, '2025-10-17', '18:00:00', 'pendente', 0, 0, NULL, 'rec_68924650ad308', '2025-08-05 17:58:40'),
(85, 12, 1, 1, '2025-10-24', '18:00:00', 'pendente', 0, 0, NULL, 'rec_68924650ad308', '2025-08-05 17:58:40'),
(86, 12, 1, 1, '2025-10-31', '18:00:00', 'pendente', 0, 0, NULL, 'rec_68924650ad308', '2025-08-05 17:58:40'),
(87, 12, 1, 1, '2025-11-07', '18:00:00', 'pendente', 0, 0, NULL, 'rec_68924650ad308', '2025-08-05 17:58:40'),
(88, 12, 1, 1, '2025-11-14', '18:00:00', 'pendente', 0, 0, NULL, 'rec_68924650ad308', '2025-08-05 17:58:40'),
(89, 12, 1, 1, '2025-11-21', '18:00:00', 'pendente', 0, 0, NULL, 'rec_68924650ad308', '2025-08-05 17:58:40'),
(90, 12, 1, 1, '2025-11-28', '18:00:00', 'pendente', 0, 0, NULL, 'rec_68924650ad308', '2025-08-05 17:58:40'),
(91, 12, 1, 1, '2025-12-05', '18:00:00', 'pendente', 0, 0, NULL, 'rec_68924650ad308', '2025-08-05 17:58:40'),
(92, 12, 1, 1, '2025-12-12', '18:00:00', 'pendente', 0, 0, NULL, 'rec_68924650ad308', '2025-08-05 17:58:40'),
(93, 12, 1, 1, '2025-12-19', '18:00:00', 'pendente', 0, 0, NULL, 'rec_68924650ad308', '2025-08-05 17:58:40'),
(94, 12, 1, 1, '2025-12-26', '18:00:00', 'pendente', 0, 0, NULL, 'rec_68924650ad308', '2025-08-05 17:58:40'),
(95, 12, 1, 1, '2026-01-02', '18:00:00', 'pendente', 0, 0, NULL, 'rec_68924650ad308', '2025-08-05 17:58:40'),
(96, 12, 1, 1, '2026-01-09', '18:00:00', 'pendente', 0, 0, NULL, 'rec_68924650ad308', '2025-08-05 17:58:40'),
(97, 12, 1, 1, '2026-01-16', '18:00:00', 'pendente', 0, 0, NULL, 'rec_68924650ad308', '2025-08-05 17:58:40'),
(98, 12, 1, 1, '2026-01-23', '18:00:00', 'pendente', 0, 0, NULL, 'rec_68924650ad308', '2025-08-05 17:58:40'),
(99, 12, 1, 1, '2026-01-30', '18:00:00', 'pendente', 0, 0, NULL, 'rec_68924650ad308', '2025-08-05 17:58:40'),
(100, 12, 1, 1, '2026-02-06', '18:00:00', 'pendente', 0, 0, NULL, 'rec_68924650ad308', '2025-08-05 17:58:40'),
(101, 12, 1, 1, '2026-02-13', '18:00:00', 'pendente', 0, 0, NULL, 'rec_68924650ad308', '2025-08-05 17:58:40'),
(102, 12, 1, 1, '2026-02-20', '18:00:00', 'pendente', 0, 0, NULL, 'rec_68924650ad308', '2025-08-05 17:58:40'),
(103, 12, 1, 1, '2026-02-27', '18:00:00', 'pendente', 0, 0, NULL, 'rec_68924650ad308', '2025-08-05 17:58:40'),
(104, 14, 1, 1, '2025-08-08', '19:00:00', 'cancelado', 0, 0, NULL, 'rec_6892486b4ea51', '2025-08-05 18:07:39'),
(105, 14, 1, 1, '2025-08-15', '19:00:00', 'cancelado', 0, 0, NULL, 'rec_6892486b4ea51', '2025-08-05 18:07:39'),
(106, 14, 1, 1, '2025-08-22', '19:00:00', 'cancelado', 0, 0, NULL, 'rec_6892486b4ea51', '2025-08-05 18:07:39'),
(107, 14, 1, 1, '2025-08-29', '19:00:00', 'cancelado', 0, 0, NULL, 'rec_6892486b4ea51', '2025-08-05 18:07:39'),
(108, 14, 1, 1, '2025-09-05', '19:00:00', 'cancelado', 0, 0, NULL, 'rec_6892486b4ea51', '2025-08-05 18:07:39'),
(109, 14, 1, 1, '2025-09-12', '19:00:00', 'cancelado', 0, 0, NULL, 'rec_6892486b4ea51', '2025-08-05 18:07:39'),
(110, 14, 1, 1, '2025-09-19', '19:00:00', 'cancelado', 0, 0, NULL, 'rec_6892486b4ea51', '2025-08-05 18:07:39'),
(111, 14, 1, 1, '2025-09-26', '19:00:00', 'cancelado', 0, 0, NULL, 'rec_6892486b4ea51', '2025-08-05 18:07:39'),
(112, 14, 1, 1, '2025-10-03', '19:00:00', 'cancelado', 0, 0, NULL, 'rec_6892486b4ea51', '2025-08-05 18:07:39'),
(113, 14, 1, 1, '2025-10-10', '19:00:00', 'cancelado', 0, 0, NULL, 'rec_6892486b4ea51', '2025-08-05 18:07:39'),
(114, 14, 1, 1, '2025-10-17', '19:00:00', 'cancelado', 0, 0, NULL, 'rec_6892486b4ea51', '2025-08-05 18:07:39'),
(115, 14, 1, 1, '2025-10-24', '19:00:00', 'cancelado', 0, 0, NULL, 'rec_6892486b4ea51', '2025-08-05 18:07:39'),
(116, 14, 1, 1, '2025-10-31', '19:00:00', 'cancelado', 0, 0, NULL, 'rec_6892486b4ea51', '2025-08-05 18:07:39'),
(117, 14, 1, 1, '2025-11-07', '19:00:00', 'cancelado', 0, 0, NULL, 'rec_6892486b4ea51', '2025-08-05 18:07:39'),
(118, 14, 1, 1, '2025-11-14', '19:00:00', 'cancelado', 0, 0, NULL, 'rec_6892486b4ea51', '2025-08-05 18:07:39'),
(119, 14, 1, 1, '2025-11-21', '19:00:00', 'cancelado', 0, 0, NULL, 'rec_6892486b4ea51', '2025-08-05 18:07:39'),
(120, 14, 1, 1, '2025-11-28', '19:00:00', 'cancelado', 0, 0, NULL, 'rec_6892486b4ea51', '2025-08-05 18:07:39'),
(121, 14, 1, 1, '2025-12-05', '19:00:00', 'cancelado', 0, 0, NULL, 'rec_6892486b4ea51', '2025-08-05 18:07:39'),
(122, 14, 1, 1, '2025-12-12', '19:00:00', 'cancelado', 0, 0, NULL, 'rec_6892486b4ea51', '2025-08-05 18:07:39'),
(123, 14, 1, 1, '2025-12-19', '19:00:00', 'cancelado', 0, 0, NULL, 'rec_6892486b4ea51', '2025-08-05 18:07:39'),
(124, 14, 1, 1, '2025-12-26', '19:00:00', 'cancelado', 0, 0, NULL, 'rec_6892486b4ea51', '2025-08-05 18:07:39'),
(125, 14, 1, 1, '2026-01-02', '19:00:00', 'cancelado', 0, 0, NULL, 'rec_6892486b4ea51', '2025-08-05 18:07:39'),
(126, 14, 1, 1, '2026-01-09', '19:00:00', 'cancelado', 0, 0, NULL, 'rec_6892486b4ea51', '2025-08-05 18:07:39'),
(127, 14, 1, 1, '2026-01-16', '19:00:00', 'cancelado', 0, 0, NULL, 'rec_6892486b4ea51', '2025-08-05 18:07:39'),
(128, 14, 1, 1, '2026-01-23', '19:00:00', 'cancelado', 0, 0, NULL, 'rec_6892486b4ea51', '2025-08-05 18:07:39'),
(129, 14, 1, 1, '2026-01-30', '19:00:00', 'cancelado', 0, 0, NULL, 'rec_6892486b4ea51', '2025-08-05 18:07:39'),
(130, 14, 1, 1, '2026-02-06', '19:00:00', 'cancelado', 0, 0, NULL, 'rec_6892486b4ea51', '2025-08-05 18:07:39'),
(131, 14, 1, 1, '2026-02-13', '19:00:00', 'cancelado', 0, 0, NULL, 'rec_6892486b4ea51', '2025-08-05 18:07:39'),
(132, 14, 1, 1, '2026-02-20', '19:00:00', 'cancelado', 0, 0, NULL, 'rec_6892486b4ea51', '2025-08-05 18:07:39'),
(133, 14, 1, 1, '2026-02-27', '19:00:00', 'cancelado', 0, 0, NULL, 'rec_6892486b4ea51', '2025-08-05 18:07:39'),
(134, 13, 1, 1, '2025-08-08', '19:30:00', 'pendente', 0, 0, NULL, 'rec_689248d964a5b', '2025-08-05 18:09:29'),
(135, 13, 1, 1, '2025-08-15', '19:30:00', 'pendente', 0, 0, NULL, 'rec_689248d964a5b', '2025-08-05 18:09:29'),
(136, 13, 1, 1, '2025-08-22', '19:30:00', 'pendente', 0, 0, NULL, 'rec_689248d964a5b', '2025-08-05 18:09:29'),
(137, 13, 1, 1, '2025-08-29', '19:30:00', 'pendente', 0, 0, NULL, 'rec_689248d964a5b', '2025-08-05 18:09:29'),
(138, 13, 1, 1, '2025-09-05', '19:30:00', 'pendente', 0, 0, NULL, 'rec_689248d964a5b', '2025-08-05 18:09:29'),
(139, 13, 1, 1, '2025-09-12', '19:30:00', 'pendente', 0, 0, NULL, 'rec_689248d964a5b', '2025-08-05 18:09:29'),
(140, 13, 1, 1, '2025-09-19', '19:30:00', 'pendente', 0, 0, NULL, 'rec_689248d964a5b', '2025-08-05 18:09:29'),
(141, 13, 1, 1, '2025-09-26', '19:30:00', 'pendente', 0, 0, NULL, 'rec_689248d964a5b', '2025-08-05 18:09:29'),
(142, 13, 1, 1, '2025-10-03', '19:30:00', 'pendente', 0, 0, NULL, 'rec_689248d964a5b', '2025-08-05 18:09:29'),
(143, 13, 1, 1, '2025-10-10', '19:30:00', 'pendente', 0, 0, NULL, 'rec_689248d964a5b', '2025-08-05 18:09:29'),
(144, 13, 1, 1, '2025-10-17', '19:30:00', 'pendente', 0, 0, NULL, 'rec_689248d964a5b', '2025-08-05 18:09:29'),
(145, 13, 1, 1, '2025-10-24', '19:30:00', 'pendente', 0, 0, NULL, 'rec_689248d964a5b', '2025-08-05 18:09:29'),
(146, 13, 1, 1, '2025-10-31', '19:30:00', 'pendente', 0, 0, NULL, 'rec_689248d964a5b', '2025-08-05 18:09:29'),
(147, 13, 1, 1, '2025-11-07', '19:30:00', 'pendente', 0, 0, NULL, 'rec_689248d964a5b', '2025-08-05 18:09:29'),
(148, 13, 1, 1, '2025-11-14', '19:30:00', 'pendente', 0, 0, NULL, 'rec_689248d964a5b', '2025-08-05 18:09:29'),
(149, 13, 1, 1, '2025-11-21', '19:30:00', 'pendente', 0, 0, NULL, 'rec_689248d964a5b', '2025-08-05 18:09:29'),
(150, 13, 1, 1, '2025-11-28', '19:30:00', 'pendente', 0, 0, NULL, 'rec_689248d964a5b', '2025-08-05 18:09:29'),
(151, 13, 1, 1, '2025-12-05', '19:30:00', 'pendente', 0, 0, NULL, 'rec_689248d964a5b', '2025-08-05 18:09:29'),
(152, 13, 1, 1, '2025-12-12', '19:30:00', 'pendente', 0, 0, NULL, 'rec_689248d964a5b', '2025-08-05 18:09:29'),
(153, 13, 1, 1, '2025-12-19', '19:30:00', 'pendente', 0, 0, NULL, 'rec_689248d964a5b', '2025-08-05 18:09:29'),
(154, 13, 1, 1, '2025-12-26', '19:30:00', 'pendente', 0, 0, NULL, 'rec_689248d964a5b', '2025-08-05 18:09:29'),
(155, 13, 1, 1, '2026-01-02', '19:30:00', 'pendente', 0, 0, NULL, 'rec_689248d964a5b', '2025-08-05 18:09:29'),
(156, 13, 1, 1, '2026-01-09', '19:30:00', 'pendente', 0, 0, NULL, 'rec_689248d964a5b', '2025-08-05 18:09:29'),
(157, 13, 1, 1, '2026-01-16', '19:30:00', 'pendente', 0, 0, NULL, 'rec_689248d964a5b', '2025-08-05 18:09:29'),
(158, 13, 1, 1, '2026-01-23', '19:30:00', 'pendente', 0, 0, NULL, 'rec_689248d964a5b', '2025-08-05 18:09:29'),
(159, 13, 1, 1, '2026-01-30', '19:30:00', 'pendente', 0, 0, NULL, 'rec_689248d964a5b', '2025-08-05 18:09:29'),
(160, 13, 1, 1, '2026-02-06', '19:30:00', 'pendente', 0, 0, NULL, 'rec_689248d964a5b', '2025-08-05 18:09:29'),
(161, 13, 1, 1, '2026-02-13', '19:30:00', 'pendente', 0, 0, NULL, 'rec_689248d964a5b', '2025-08-05 18:09:29'),
(162, 13, 1, 1, '2026-02-20', '19:30:00', 'pendente', 0, 0, NULL, 'rec_689248d964a5b', '2025-08-05 18:09:29'),
(163, 13, 1, 1, '2026-02-27', '19:30:00', 'pendente', 0, 0, NULL, 'rec_689248d964a5b', '2025-08-05 18:09:29'),
(164, 15, 1, 1, '2025-08-08', '19:00:00', 'pendente', 0, 0, NULL, 'rec_68924a4a03952', '2025-08-05 18:15:38'),
(165, 15, 1, 1, '2025-08-15', '19:00:00', 'pendente', 0, 0, NULL, 'rec_68924a4a03952', '2025-08-05 18:15:38'),
(166, 15, 1, 1, '2025-08-22', '19:00:00', 'pendente', 0, 0, NULL, 'rec_68924a4a03952', '2025-08-05 18:15:38'),
(167, 15, 1, 1, '2025-08-29', '19:00:00', 'pendente', 0, 0, NULL, 'rec_68924a4a03952', '2025-08-05 18:15:38'),
(168, 15, 1, 1, '2025-09-05', '19:00:00', 'pendente', 0, 0, NULL, 'rec_68924a4a03952', '2025-08-05 18:15:38'),
(169, 15, 1, 1, '2025-09-12', '19:00:00', 'pendente', 0, 0, NULL, 'rec_68924a4a03952', '2025-08-05 18:15:38'),
(170, 15, 1, 1, '2025-09-19', '19:00:00', 'pendente', 0, 0, NULL, 'rec_68924a4a03952', '2025-08-05 18:15:38'),
(171, 15, 1, 1, '2025-09-26', '19:00:00', 'pendente', 0, 0, NULL, 'rec_68924a4a03952', '2025-08-05 18:15:38'),
(172, 15, 1, 1, '2025-10-03', '19:00:00', 'pendente', 0, 0, NULL, 'rec_68924a4a03952', '2025-08-05 18:15:38'),
(173, 15, 1, 1, '2025-10-10', '19:00:00', 'pendente', 0, 0, NULL, 'rec_68924a4a03952', '2025-08-05 18:15:38'),
(174, 15, 1, 1, '2025-10-17', '19:00:00', 'pendente', 0, 0, NULL, 'rec_68924a4a03952', '2025-08-05 18:15:38'),
(175, 15, 1, 1, '2025-10-24', '19:00:00', 'pendente', 0, 0, NULL, 'rec_68924a4a03952', '2025-08-05 18:15:38'),
(176, 15, 1, 1, '2025-10-31', '19:00:00', 'pendente', 0, 0, NULL, 'rec_68924a4a03952', '2025-08-05 18:15:38'),
(177, 15, 1, 1, '2025-11-07', '19:00:00', 'pendente', 0, 0, NULL, 'rec_68924a4a03952', '2025-08-05 18:15:38'),
(178, 15, 1, 1, '2025-11-14', '19:00:00', 'pendente', 0, 0, NULL, 'rec_68924a4a03952', '2025-08-05 18:15:38'),
(179, 15, 1, 1, '2025-11-21', '19:00:00', 'pendente', 0, 0, NULL, 'rec_68924a4a03952', '2025-08-05 18:15:38'),
(180, 15, 1, 1, '2025-11-28', '19:00:00', 'pendente', 0, 0, NULL, 'rec_68924a4a03952', '2025-08-05 18:15:38'),
(181, 15, 1, 1, '2025-12-05', '19:00:00', 'pendente', 0, 0, NULL, 'rec_68924a4a03952', '2025-08-05 18:15:38'),
(182, 15, 1, 1, '2025-12-12', '19:00:00', 'pendente', 0, 0, NULL, 'rec_68924a4a03952', '2025-08-05 18:15:38'),
(183, 15, 1, 1, '2025-12-19', '19:00:00', 'pendente', 0, 0, NULL, 'rec_68924a4a03952', '2025-08-05 18:15:38'),
(184, 15, 1, 1, '2025-12-26', '19:00:00', 'pendente', 0, 0, NULL, 'rec_68924a4a03952', '2025-08-05 18:15:38'),
(185, 15, 1, 1, '2026-01-02', '19:00:00', 'pendente', 0, 0, NULL, 'rec_68924a4a03952', '2025-08-05 18:15:38'),
(186, 15, 1, 1, '2026-01-09', '19:00:00', 'pendente', 0, 0, NULL, 'rec_68924a4a03952', '2025-08-05 18:15:38'),
(187, 15, 1, 1, '2026-01-16', '19:00:00', 'pendente', 0, 0, NULL, 'rec_68924a4a03952', '2025-08-05 18:15:38'),
(188, 15, 1, 1, '2026-01-23', '19:00:00', 'pendente', 0, 0, NULL, 'rec_68924a4a03952', '2025-08-05 18:15:38'),
(189, 15, 1, 1, '2026-01-30', '19:00:00', 'pendente', 0, 0, NULL, 'rec_68924a4a03952', '2025-08-05 18:15:38'),
(190, 15, 1, 1, '2026-02-06', '19:00:00', 'pendente', 0, 0, NULL, 'rec_68924a4a03952', '2025-08-05 18:15:38'),
(191, 15, 1, 1, '2026-02-13', '19:00:00', 'pendente', 0, 0, NULL, 'rec_68924a4a03952', '2025-08-05 18:15:38'),
(192, 15, 1, 1, '2026-02-20', '19:00:00', 'pendente', 0, 0, NULL, 'rec_68924a4a03952', '2025-08-05 18:15:38'),
(193, 15, 1, 1, '2026-02-27', '19:00:00', 'pendente', 0, 0, NULL, 'rec_68924a4a03952', '2025-08-05 18:15:38'),
(194, 14, 1, 1, '2025-08-08', '17:30:00', 'pendente', 0, 0, NULL, 'rec_68924a8a85434', '2025-08-05 18:16:42'),
(195, 14, 1, 1, '2025-08-15', '17:30:00', 'pendente', 0, 0, NULL, 'rec_68924a8a85434', '2025-08-05 18:16:42'),
(196, 14, 1, 1, '2025-08-22', '17:30:00', 'pendente', 0, 0, NULL, 'rec_68924a8a85434', '2025-08-05 18:16:42'),
(197, 14, 1, 1, '2025-08-29', '17:30:00', 'pendente', 0, 0, NULL, 'rec_68924a8a85434', '2025-08-05 18:16:42'),
(198, 14, 1, 1, '2025-09-05', '17:30:00', 'pendente', 0, 0, NULL, 'rec_68924a8a85434', '2025-08-05 18:16:42'),
(199, 14, 1, 1, '2025-09-12', '17:30:00', 'pendente', 0, 0, NULL, 'rec_68924a8a85434', '2025-08-05 18:16:42'),
(200, 14, 1, 1, '2025-09-19', '17:30:00', 'pendente', 0, 0, NULL, 'rec_68924a8a85434', '2025-08-05 18:16:42'),
(201, 14, 1, 1, '2025-09-26', '17:30:00', 'pendente', 0, 0, NULL, 'rec_68924a8a85434', '2025-08-05 18:16:42'),
(202, 14, 1, 1, '2025-10-03', '17:30:00', 'pendente', 0, 0, NULL, 'rec_68924a8a85434', '2025-08-05 18:16:42'),
(203, 14, 1, 1, '2025-10-10', '17:30:00', 'pendente', 0, 0, NULL, 'rec_68924a8a85434', '2025-08-05 18:16:42'),
(204, 14, 1, 1, '2025-10-17', '17:30:00', 'pendente', 0, 0, NULL, 'rec_68924a8a85434', '2025-08-05 18:16:42'),
(205, 14, 1, 1, '2025-10-24', '17:30:00', 'pendente', 0, 0, NULL, 'rec_68924a8a85434', '2025-08-05 18:16:42'),
(206, 14, 1, 1, '2025-10-31', '17:30:00', 'pendente', 0, 0, NULL, 'rec_68924a8a85434', '2025-08-05 18:16:42'),
(207, 14, 1, 1, '2025-11-07', '17:30:00', 'pendente', 0, 0, NULL, 'rec_68924a8a85434', '2025-08-05 18:16:42'),
(208, 14, 1, 1, '2025-11-14', '17:30:00', 'pendente', 0, 0, NULL, 'rec_68924a8a85434', '2025-08-05 18:16:42'),
(209, 14, 1, 1, '2025-11-21', '17:30:00', 'pendente', 0, 0, NULL, 'rec_68924a8a85434', '2025-08-05 18:16:42'),
(210, 14, 1, 1, '2025-11-28', '17:30:00', 'pendente', 0, 0, NULL, 'rec_68924a8a85434', '2025-08-05 18:16:42'),
(211, 14, 1, 1, '2025-12-05', '17:30:00', 'pendente', 0, 0, NULL, 'rec_68924a8a85434', '2025-08-05 18:16:42'),
(212, 14, 1, 1, '2025-12-12', '17:30:00', 'pendente', 0, 0, NULL, 'rec_68924a8a85434', '2025-08-05 18:16:42'),
(213, 14, 1, 1, '2025-12-19', '17:30:00', 'pendente', 0, 0, NULL, 'rec_68924a8a85434', '2025-08-05 18:16:42'),
(214, 14, 1, 1, '2025-12-26', '17:30:00', 'pendente', 0, 0, NULL, 'rec_68924a8a85434', '2025-08-05 18:16:42'),
(215, 14, 1, 1, '2026-01-02', '17:30:00', 'pendente', 0, 0, NULL, 'rec_68924a8a85434', '2025-08-05 18:16:42'),
(216, 14, 1, 1, '2026-01-09', '17:30:00', 'pendente', 0, 0, NULL, 'rec_68924a8a85434', '2025-08-05 18:16:42'),
(217, 14, 1, 1, '2026-01-16', '17:30:00', 'pendente', 0, 0, NULL, 'rec_68924a8a85434', '2025-08-05 18:16:42'),
(218, 14, 1, 1, '2026-01-23', '17:30:00', 'pendente', 0, 0, NULL, 'rec_68924a8a85434', '2025-08-05 18:16:42'),
(219, 14, 1, 1, '2026-01-30', '17:30:00', 'pendente', 0, 0, NULL, 'rec_68924a8a85434', '2025-08-05 18:16:42'),
(220, 14, 1, 1, '2026-02-06', '17:30:00', 'pendente', 0, 0, NULL, 'rec_68924a8a85434', '2025-08-05 18:16:42'),
(221, 14, 1, 1, '2026-02-13', '17:30:00', 'pendente', 0, 0, NULL, 'rec_68924a8a85434', '2025-08-05 18:16:42'),
(222, 14, 1, 1, '2026-02-20', '17:30:00', 'pendente', 0, 0, NULL, 'rec_68924a8a85434', '2025-08-05 18:16:42'),
(223, 14, 1, 1, '2026-02-27', '17:30:00', 'pendente', 0, 0, NULL, 'rec_68924a8a85434', '2025-08-05 18:16:42'),
(224, 16, 1, 1, '2025-08-08', '14:30:00', 'pendente', 0, 0, NULL, 'rec_68924af9889eb', '2025-08-05 18:18:33'),
(225, 16, 1, 1, '2025-08-15', '14:30:00', 'pendente', 0, 0, NULL, 'rec_68924af9889eb', '2025-08-05 18:18:33'),
(226, 16, 1, 1, '2025-08-22', '14:30:00', 'pendente', 0, 0, NULL, 'rec_68924af9889eb', '2025-08-05 18:18:33'),
(227, 16, 1, 1, '2025-08-29', '14:30:00', 'pendente', 0, 0, NULL, 'rec_68924af9889eb', '2025-08-05 18:18:33'),
(228, 16, 1, 1, '2025-09-05', '14:30:00', 'pendente', 0, 0, NULL, 'rec_68924af9889eb', '2025-08-05 18:18:33'),
(229, 16, 1, 1, '2025-09-12', '14:30:00', 'pendente', 0, 0, NULL, 'rec_68924af9889eb', '2025-08-05 18:18:33'),
(230, 16, 1, 1, '2025-09-19', '14:30:00', 'pendente', 0, 0, NULL, 'rec_68924af9889eb', '2025-08-05 18:18:33'),
(231, 16, 1, 1, '2025-09-26', '14:30:00', 'pendente', 0, 0, NULL, 'rec_68924af9889eb', '2025-08-05 18:18:33'),
(232, 16, 1, 1, '2025-10-03', '14:30:00', 'pendente', 0, 0, NULL, 'rec_68924af9889eb', '2025-08-05 18:18:33'),
(233, 16, 1, 1, '2025-10-10', '14:30:00', 'pendente', 0, 0, NULL, 'rec_68924af9889eb', '2025-08-05 18:18:33'),
(234, 16, 1, 1, '2025-10-17', '14:30:00', 'pendente', 0, 0, NULL, 'rec_68924af9889eb', '2025-08-05 18:18:33'),
(235, 16, 1, 1, '2025-10-24', '14:30:00', 'pendente', 0, 0, NULL, 'rec_68924af9889eb', '2025-08-05 18:18:33'),
(236, 16, 1, 1, '2025-10-31', '14:30:00', 'pendente', 0, 0, NULL, 'rec_68924af9889eb', '2025-08-05 18:18:33'),
(237, 16, 1, 1, '2025-11-07', '14:30:00', 'pendente', 0, 0, NULL, 'rec_68924af9889eb', '2025-08-05 18:18:33'),
(238, 16, 1, 1, '2025-11-14', '14:30:00', 'pendente', 0, 0, NULL, 'rec_68924af9889eb', '2025-08-05 18:18:33'),
(239, 16, 1, 1, '2025-11-21', '14:30:00', 'pendente', 0, 0, NULL, 'rec_68924af9889eb', '2025-08-05 18:18:33'),
(240, 16, 1, 1, '2025-11-28', '14:30:00', 'pendente', 0, 0, NULL, 'rec_68924af9889eb', '2025-08-05 18:18:33'),
(241, 16, 1, 1, '2025-12-05', '14:30:00', 'pendente', 0, 0, NULL, 'rec_68924af9889eb', '2025-08-05 18:18:33'),
(242, 16, 1, 1, '2025-12-12', '14:30:00', 'pendente', 0, 0, NULL, 'rec_68924af9889eb', '2025-08-05 18:18:33'),
(243, 16, 1, 1, '2025-12-19', '14:30:00', 'pendente', 0, 0, NULL, 'rec_68924af9889eb', '2025-08-05 18:18:33'),
(244, 16, 1, 1, '2025-12-26', '14:30:00', 'pendente', 0, 0, NULL, 'rec_68924af9889eb', '2025-08-05 18:18:33'),
(245, 16, 1, 1, '2026-01-02', '14:30:00', 'pendente', 0, 0, NULL, 'rec_68924af9889eb', '2025-08-05 18:18:33'),
(246, 16, 1, 1, '2026-01-09', '14:30:00', 'pendente', 0, 0, NULL, 'rec_68924af9889eb', '2025-08-05 18:18:33'),
(247, 16, 1, 1, '2026-01-16', '14:30:00', 'pendente', 0, 0, NULL, 'rec_68924af9889eb', '2025-08-05 18:18:33'),
(248, 16, 1, 1, '2026-01-23', '14:30:00', 'pendente', 0, 0, NULL, 'rec_68924af9889eb', '2025-08-05 18:18:33'),
(249, 16, 1, 1, '2026-01-30', '14:30:00', 'pendente', 0, 0, NULL, 'rec_68924af9889eb', '2025-08-05 18:18:33'),
(250, 16, 1, 1, '2026-02-06', '14:30:00', 'pendente', 0, 0, NULL, 'rec_68924af9889eb', '2025-08-05 18:18:33'),
(251, 16, 1, 1, '2026-02-13', '14:30:00', 'pendente', 0, 0, NULL, 'rec_68924af9889eb', '2025-08-05 18:18:33'),
(252, 16, 1, 1, '2026-02-20', '14:30:00', 'pendente', 0, 0, NULL, 'rec_68924af9889eb', '2025-08-05 18:18:33'),
(253, 16, 1, 1, '2026-02-27', '14:30:00', 'pendente', 0, 0, NULL, 'rec_68924af9889eb', '2025-08-05 18:18:33'),
(254, 17, 1, 1, '2025-08-08', '13:30:00', 'pendente', 0, 0, NULL, 'rec_68924b81e0ccc', '2025-08-05 18:20:49'),
(255, 17, 1, 1, '2025-08-15', '13:30:00', 'pendente', 0, 0, NULL, 'rec_68924b81e0ccc', '2025-08-05 18:20:49'),
(256, 17, 1, 1, '2025-08-22', '13:30:00', 'pendente', 0, 0, NULL, 'rec_68924b81e0ccc', '2025-08-05 18:20:49'),
(257, 17, 1, 1, '2025-08-29', '13:30:00', 'pendente', 0, 0, NULL, 'rec_68924b81e0ccc', '2025-08-05 18:20:49'),
(258, 17, 1, 1, '2025-09-05', '13:30:00', 'pendente', 0, 0, NULL, 'rec_68924b81e0ccc', '2025-08-05 18:20:49'),
(259, 17, 1, 1, '2025-09-12', '13:30:00', 'pendente', 0, 0, NULL, 'rec_68924b81e0ccc', '2025-08-05 18:20:49'),
(260, 17, 1, 1, '2025-09-19', '13:30:00', 'pendente', 0, 0, NULL, 'rec_68924b81e0ccc', '2025-08-05 18:20:49'),
(261, 17, 1, 1, '2025-09-26', '13:30:00', 'pendente', 0, 0, NULL, 'rec_68924b81e0ccc', '2025-08-05 18:20:49'),
(262, 17, 1, 1, '2025-10-03', '13:30:00', 'pendente', 0, 0, NULL, 'rec_68924b81e0ccc', '2025-08-05 18:20:49'),
(263, 17, 1, 1, '2025-10-10', '13:30:00', 'pendente', 0, 0, NULL, 'rec_68924b81e0ccc', '2025-08-05 18:20:49'),
(264, 17, 1, 1, '2025-10-17', '13:30:00', 'pendente', 0, 0, NULL, 'rec_68924b81e0ccc', '2025-08-05 18:20:49'),
(265, 17, 1, 1, '2025-10-24', '13:30:00', 'pendente', 0, 0, NULL, 'rec_68924b81e0ccc', '2025-08-05 18:20:49'),
(266, 17, 1, 1, '2025-10-31', '13:30:00', 'pendente', 0, 0, NULL, 'rec_68924b81e0ccc', '2025-08-05 18:20:49'),
(267, 17, 1, 1, '2025-11-07', '13:30:00', 'pendente', 0, 0, NULL, 'rec_68924b81e0ccc', '2025-08-05 18:20:49'),
(268, 17, 1, 1, '2025-11-14', '13:30:00', 'pendente', 0, 0, NULL, 'rec_68924b81e0ccc', '2025-08-05 18:20:49'),
(269, 17, 1, 1, '2025-11-21', '13:30:00', 'pendente', 0, 0, NULL, 'rec_68924b81e0ccc', '2025-08-05 18:20:49'),
(270, 17, 1, 1, '2025-11-28', '13:30:00', 'pendente', 0, 0, NULL, 'rec_68924b81e0ccc', '2025-08-05 18:20:49'),
(271, 17, 1, 1, '2025-12-05', '13:30:00', 'pendente', 0, 0, NULL, 'rec_68924b81e0ccc', '2025-08-05 18:20:50'),
(272, 17, 1, 1, '2025-12-12', '13:30:00', 'pendente', 0, 0, NULL, 'rec_68924b81e0ccc', '2025-08-05 18:20:50'),
(273, 17, 1, 1, '2025-12-19', '13:30:00', 'pendente', 0, 0, NULL, 'rec_68924b81e0ccc', '2025-08-05 18:20:50'),
(274, 17, 1, 1, '2025-12-26', '13:30:00', 'pendente', 0, 0, NULL, 'rec_68924b81e0ccc', '2025-08-05 18:20:50'),
(275, 17, 1, 1, '2026-01-02', '13:30:00', 'pendente', 0, 0, NULL, 'rec_68924b81e0ccc', '2025-08-05 18:20:50'),
(276, 17, 1, 1, '2026-01-09', '13:30:00', 'pendente', 0, 0, NULL, 'rec_68924b81e0ccc', '2025-08-05 18:20:50'),
(277, 17, 1, 1, '2026-01-16', '13:30:00', 'pendente', 0, 0, NULL, 'rec_68924b81e0ccc', '2025-08-05 18:20:50'),
(278, 17, 1, 1, '2026-01-23', '13:30:00', 'pendente', 0, 0, NULL, 'rec_68924b81e0ccc', '2025-08-05 18:20:50'),
(279, 17, 1, 1, '2026-01-30', '13:30:00', 'pendente', 0, 0, NULL, 'rec_68924b81e0ccc', '2025-08-05 18:20:50'),
(280, 17, 1, 1, '2026-02-06', '13:30:00', 'pendente', 0, 0, NULL, 'rec_68924b81e0ccc', '2025-08-05 18:20:50'),
(281, 17, 1, 1, '2026-02-13', '13:30:00', 'pendente', 0, 0, NULL, 'rec_68924b81e0ccc', '2025-08-05 18:20:50'),
(282, 17, 1, 1, '2026-02-20', '13:30:00', 'pendente', 0, 0, NULL, 'rec_68924b81e0ccc', '2025-08-05 18:20:50'),
(283, 17, 1, 1, '2026-02-27', '13:30:00', 'pendente', 0, 0, NULL, 'rec_68924b81e0ccc', '2025-08-05 18:20:50'),
(284, 18, 1, 1, '2025-08-09', '10:30:00', 'pendente', 0, 0, NULL, NULL, '2025-08-05 18:22:21'),
(285, 20, 1, 1, '2025-08-07', '18:30:00', 'cancelado', 0, 0, NULL, 'rec_68924cb279b7b', '2025-08-05 18:25:54'),
(286, 20, 1, 1, '2025-08-14', '18:30:00', 'cancelado', 0, 0, NULL, 'rec_68924cb279b7b', '2025-08-05 18:25:54'),
(287, 20, 1, 1, '2025-08-21', '18:30:00', 'cancelado', 0, 0, NULL, 'rec_68924cb279b7b', '2025-08-05 18:25:54'),
(288, 20, 1, 1, '2025-08-28', '18:30:00', 'cancelado', 0, 0, NULL, 'rec_68924cb279b7b', '2025-08-05 18:25:54'),
(289, 20, 1, 1, '2025-09-04', '18:30:00', 'cancelado', 0, 0, NULL, 'rec_68924cb279b7b', '2025-08-05 18:25:54'),
(290, 20, 1, 1, '2025-09-11', '18:30:00', 'cancelado', 0, 0, NULL, 'rec_68924cb279b7b', '2025-08-05 18:25:54'),
(291, 20, 1, 1, '2025-09-18', '18:30:00', 'cancelado', 0, 0, NULL, 'rec_68924cb279b7b', '2025-08-05 18:25:54'),
(292, 20, 1, 1, '2025-09-25', '18:30:00', 'cancelado', 0, 0, NULL, 'rec_68924cb279b7b', '2025-08-05 18:25:54'),
(293, 20, 1, 1, '2025-10-02', '18:30:00', 'cancelado', 0, 0, NULL, 'rec_68924cb279b7b', '2025-08-05 18:25:54'),
(294, 20, 1, 1, '2025-10-09', '18:30:00', 'cancelado', 0, 0, NULL, 'rec_68924cb279b7b', '2025-08-05 18:25:54'),
(295, 20, 1, 1, '2025-10-16', '18:30:00', 'cancelado', 0, 0, NULL, 'rec_68924cb279b7b', '2025-08-05 18:25:54'),
(296, 20, 1, 1, '2025-10-23', '18:30:00', 'cancelado', 0, 0, NULL, 'rec_68924cb279b7b', '2025-08-05 18:25:54'),
(297, 20, 1, 1, '2025-10-30', '18:30:00', 'cancelado', 0, 0, NULL, 'rec_68924cb279b7b', '2025-08-05 18:25:54'),
(298, 20, 1, 1, '2025-11-06', '18:30:00', 'cancelado', 0, 0, NULL, 'rec_68924cb279b7b', '2025-08-05 18:25:54'),
(299, 20, 1, 1, '2025-11-13', '18:30:00', 'cancelado', 0, 0, NULL, 'rec_68924cb279b7b', '2025-08-05 18:25:54'),
(300, 20, 1, 1, '2025-11-20', '18:30:00', 'cancelado', 0, 0, NULL, 'rec_68924cb279b7b', '2025-08-05 18:25:54'),
(301, 20, 1, 1, '2025-11-27', '18:30:00', 'cancelado', 0, 0, NULL, 'rec_68924cb279b7b', '2025-08-05 18:25:54'),
(302, 20, 1, 1, '2025-12-04', '18:30:00', 'cancelado', 0, 0, NULL, 'rec_68924cb279b7b', '2025-08-05 18:25:54'),
(303, 20, 1, 1, '2025-12-11', '18:30:00', 'cancelado', 0, 0, NULL, 'rec_68924cb279b7b', '2025-08-05 18:25:54'),
(304, 20, 1, 1, '2025-12-18', '18:30:00', 'cancelado', 0, 0, NULL, 'rec_68924cb279b7b', '2025-08-05 18:25:54'),
(305, 20, 1, 1, '2025-12-25', '18:30:00', 'cancelado', 0, 0, NULL, 'rec_68924cb279b7b', '2025-08-05 18:25:54'),
(306, 20, 1, 1, '2026-01-01', '18:30:00', 'cancelado', 0, 0, NULL, 'rec_68924cb279b7b', '2025-08-05 18:25:54'),
(307, 20, 1, 1, '2026-01-08', '18:30:00', 'cancelado', 0, 0, NULL, 'rec_68924cb279b7b', '2025-08-05 18:25:54'),
(308, 20, 1, 1, '2026-01-15', '18:30:00', 'cancelado', 0, 0, NULL, 'rec_68924cb279b7b', '2025-08-05 18:25:54'),
(309, 20, 1, 1, '2026-01-22', '18:30:00', 'cancelado', 0, 0, NULL, 'rec_68924cb279b7b', '2025-08-05 18:25:54'),
(310, 20, 1, 1, '2026-01-29', '18:30:00', 'cancelado', 0, 0, NULL, 'rec_68924cb279b7b', '2025-08-05 18:25:54'),
(311, 20, 1, 1, '2026-02-05', '18:30:00', 'cancelado', 0, 0, NULL, 'rec_68924cb279b7b', '2025-08-05 18:25:54'),
(312, 20, 1, 1, '2026-02-12', '18:30:00', 'cancelado', 0, 0, NULL, 'rec_68924cb279b7b', '2025-08-05 18:25:54'),
(313, 20, 1, 1, '2026-02-19', '18:30:00', 'cancelado', 0, 0, NULL, 'rec_68924cb279b7b', '2025-08-05 18:25:54'),
(314, 20, 1, 1, '2026-02-26', '18:30:00', 'cancelado', 0, 0, NULL, 'rec_68924cb279b7b', '2025-08-05 18:25:54'),
(315, 21, 1, 1, '2025-08-05', '17:00:00', 'concluido', 0, 1, NULL, NULL, '2025-08-05 18:28:54'),
(316, 22, 1, 1, '2025-08-07', '14:00:00', 'pendente', 0, 1, NULL, NULL, '2025-08-05 18:31:39'),
(317, 23, 1, 1, '2025-08-06', '09:30:00', 'concluido', 0, 1, NULL, NULL, '2025-08-05 18:34:41'),
(318, 10, 1, 1, '2025-08-06', '19:00:00', 'concluido', 1, 1, NULL, NULL, '2025-08-05 18:34:59'),
(319, 9, 1, 2, '2025-08-08', '20:00:00', 'cancelado', 0, 0, NULL, NULL, '2025-08-05 18:56:43'),
(320, 25, 1, 1, '2025-08-09', '15:00:00', 'pendente', 0, 0, NULL, 'rec_68925f2b06cea', '2025-08-05 19:44:43'),
(321, 25, 1, 1, '2025-08-16', '15:00:00', 'pendente', 0, 0, NULL, 'rec_68925f2b06cea', '2025-08-05 19:44:43'),
(322, 25, 1, 1, '2025-08-23', '15:00:00', 'pendente', 0, 0, NULL, 'rec_68925f2b06cea', '2025-08-05 19:44:43'),
(323, 25, 1, 1, '2025-08-30', '15:00:00', 'pendente', 0, 0, NULL, 'rec_68925f2b06cea', '2025-08-05 19:44:43'),
(324, 25, 1, 1, '2025-09-06', '15:00:00', 'pendente', 0, 0, NULL, 'rec_68925f2b06cea', '2025-08-05 19:44:43'),
(325, 25, 1, 1, '2025-09-13', '15:00:00', 'pendente', 0, 0, NULL, 'rec_68925f2b06cea', '2025-08-05 19:44:43'),
(326, 25, 1, 1, '2025-09-20', '15:00:00', 'pendente', 0, 0, NULL, 'rec_68925f2b06cea', '2025-08-05 19:44:43'),
(327, 25, 1, 1, '2025-09-27', '15:00:00', 'pendente', 0, 0, NULL, 'rec_68925f2b06cea', '2025-08-05 19:44:43'),
(328, 25, 1, 1, '2025-10-04', '15:00:00', 'pendente', 0, 0, NULL, 'rec_68925f2b06cea', '2025-08-05 19:44:43'),
(329, 25, 1, 1, '2025-10-11', '15:00:00', 'pendente', 0, 0, NULL, 'rec_68925f2b06cea', '2025-08-05 19:44:43'),
(330, 25, 1, 1, '2025-10-18', '15:00:00', 'pendente', 0, 0, NULL, 'rec_68925f2b06cea', '2025-08-05 19:44:43'),
(331, 25, 1, 1, '2025-10-25', '15:00:00', 'pendente', 0, 0, NULL, 'rec_68925f2b06cea', '2025-08-05 19:44:43'),
(332, 25, 1, 1, '2025-11-01', '15:00:00', 'pendente', 0, 0, NULL, 'rec_68925f2b06cea', '2025-08-05 19:44:43'),
(333, 25, 1, 1, '2025-11-08', '15:00:00', 'pendente', 0, 0, NULL, 'rec_68925f2b06cea', '2025-08-05 19:44:43'),
(334, 25, 1, 1, '2025-11-15', '15:00:00', 'pendente', 0, 0, NULL, 'rec_68925f2b06cea', '2025-08-05 19:44:43'),
(335, 25, 1, 1, '2025-11-22', '15:00:00', 'pendente', 0, 0, NULL, 'rec_68925f2b06cea', '2025-08-05 19:44:43'),
(336, 25, 1, 1, '2025-11-29', '15:00:00', 'pendente', 0, 0, NULL, 'rec_68925f2b06cea', '2025-08-05 19:44:43'),
(337, 25, 1, 1, '2025-12-06', '15:00:00', 'pendente', 0, 0, NULL, 'rec_68925f2b06cea', '2025-08-05 19:44:43'),
(338, 25, 1, 1, '2025-12-13', '15:00:00', 'pendente', 0, 0, NULL, 'rec_68925f2b06cea', '2025-08-05 19:44:43'),
(339, 25, 1, 1, '2025-12-20', '15:00:00', 'pendente', 0, 0, NULL, 'rec_68925f2b06cea', '2025-08-05 19:44:43'),
(340, 25, 1, 1, '2025-12-27', '15:00:00', 'pendente', 0, 0, NULL, 'rec_68925f2b06cea', '2025-08-05 19:44:43'),
(341, 25, 1, 1, '2026-01-03', '15:00:00', 'pendente', 0, 0, NULL, 'rec_68925f2b06cea', '2025-08-05 19:44:43'),
(342, 25, 1, 1, '2026-01-10', '15:00:00', 'pendente', 0, 0, NULL, 'rec_68925f2b06cea', '2025-08-05 19:44:43'),
(343, 25, 1, 1, '2026-01-17', '15:00:00', 'pendente', 0, 0, NULL, 'rec_68925f2b06cea', '2025-08-05 19:44:43'),
(344, 25, 1, 1, '2026-01-24', '15:00:00', 'pendente', 0, 0, NULL, 'rec_68925f2b06cea', '2025-08-05 19:44:43'),
(345, 25, 1, 1, '2026-01-31', '15:00:00', 'pendente', 0, 0, NULL, 'rec_68925f2b06cea', '2025-08-05 19:44:43'),
(346, 25, 1, 1, '2026-02-07', '15:00:00', 'pendente', 0, 0, NULL, 'rec_68925f2b06cea', '2025-08-05 19:44:43'),
(347, 25, 1, 1, '2026-02-14', '15:00:00', 'pendente', 0, 0, NULL, 'rec_68925f2b06cea', '2025-08-05 19:44:43'),
(348, 25, 1, 1, '2026-02-21', '15:00:00', 'pendente', 0, 0, NULL, 'rec_68925f2b06cea', '2025-08-05 19:44:43'),
(349, 25, 1, 1, '2026-02-28', '15:00:00', 'pendente', 0, 0, NULL, 'rec_68925f2b06cea', '2025-08-05 19:44:43'),
(350, 26, 1, 1, '2025-08-08', '16:00:00', 'pendente', 1, 0, NULL, NULL, '2025-08-05 22:22:56'),
(351, 20, 1, 1, '2025-08-09', '11:00:00', 'pendente', 0, 0, NULL, NULL, '2025-08-05 23:08:05'),
(352, 27, 1, 2, '2025-08-07', '17:00:00', 'pendente', 0, 0, NULL, NULL, '2025-08-05 23:11:21'),
(353, 28, 1, 1, '2025-08-09', '13:30:00', 'pendente', 0, 0, NULL, NULL, '2025-08-05 23:17:09'),
(354, 28, 1, 1, '2025-08-09', '14:00:00', 'pendente', 0, 0, NULL, NULL, '2025-08-05 23:18:00'),
(355, 29, 1, 1, '2025-08-08', '17:00:00', 'pendente', 0, 0, NULL, 'rec_689291d905336', '2025-08-05 23:20:57'),
(356, 29, 1, 1, '2025-08-15', '17:00:00', 'pendente', 0, 0, NULL, 'rec_689291d905336', '2025-08-05 23:20:57'),
(357, 29, 1, 1, '2025-08-22', '17:00:00', 'pendente', 0, 0, NULL, 'rec_689291d905336', '2025-08-05 23:20:57'),
(358, 29, 1, 1, '2025-08-29', '17:00:00', 'pendente', 0, 0, NULL, 'rec_689291d905336', '2025-08-05 23:20:57'),
(359, 29, 1, 1, '2025-09-05', '17:00:00', 'pendente', 0, 0, NULL, 'rec_689291d905336', '2025-08-05 23:20:57'),
(360, 29, 1, 1, '2025-09-12', '17:00:00', 'pendente', 0, 0, NULL, 'rec_689291d905336', '2025-08-05 23:20:57'),
(361, 29, 1, 1, '2025-09-19', '17:00:00', 'pendente', 0, 0, NULL, 'rec_689291d905336', '2025-08-05 23:20:57'),
(362, 29, 1, 1, '2025-09-26', '17:00:00', 'pendente', 0, 0, NULL, 'rec_689291d905336', '2025-08-05 23:20:57'),
(363, 29, 1, 1, '2025-10-03', '17:00:00', 'pendente', 0, 0, NULL, 'rec_689291d905336', '2025-08-05 23:20:57'),
(364, 29, 1, 1, '2025-10-10', '17:00:00', 'pendente', 0, 0, NULL, 'rec_689291d905336', '2025-08-05 23:20:57'),
(365, 29, 1, 1, '2025-10-17', '17:00:00', 'pendente', 0, 0, NULL, 'rec_689291d905336', '2025-08-05 23:20:57'),
(366, 29, 1, 1, '2025-10-24', '17:00:00', 'pendente', 0, 0, NULL, 'rec_689291d905336', '2025-08-05 23:20:57'),
(367, 29, 1, 1, '2025-10-31', '17:00:00', 'pendente', 0, 0, NULL, 'rec_689291d905336', '2025-08-05 23:20:57'),
(368, 29, 1, 1, '2025-11-07', '17:00:00', 'pendente', 0, 0, NULL, 'rec_689291d905336', '2025-08-05 23:20:57'),
(369, 29, 1, 1, '2025-11-14', '17:00:00', 'pendente', 0, 0, NULL, 'rec_689291d905336', '2025-08-05 23:20:57'),
(370, 29, 1, 1, '2025-11-21', '17:00:00', 'pendente', 0, 0, NULL, 'rec_689291d905336', '2025-08-05 23:20:57'),
(371, 29, 1, 1, '2025-11-28', '17:00:00', 'pendente', 0, 0, NULL, 'rec_689291d905336', '2025-08-05 23:20:57'),
(372, 29, 1, 1, '2025-12-05', '17:00:00', 'pendente', 0, 0, NULL, 'rec_689291d905336', '2025-08-05 23:20:57'),
(373, 29, 1, 1, '2025-12-12', '17:00:00', 'pendente', 0, 0, NULL, 'rec_689291d905336', '2025-08-05 23:20:57'),
(374, 29, 1, 1, '2025-12-19', '17:00:00', 'pendente', 0, 0, NULL, 'rec_689291d905336', '2025-08-05 23:20:57'),
(375, 29, 1, 1, '2025-12-26', '17:00:00', 'pendente', 0, 0, NULL, 'rec_689291d905336', '2025-08-05 23:20:57'),
(376, 29, 1, 1, '2026-01-02', '17:00:00', 'pendente', 0, 0, NULL, 'rec_689291d905336', '2025-08-05 23:20:57'),
(377, 29, 1, 1, '2026-01-09', '17:00:00', 'pendente', 0, 0, NULL, 'rec_689291d905336', '2025-08-05 23:20:57'),
(378, 29, 1, 1, '2026-01-16', '17:00:00', 'pendente', 0, 0, NULL, 'rec_689291d905336', '2025-08-05 23:20:57'),
(379, 29, 1, 1, '2026-01-23', '17:00:00', 'pendente', 0, 0, NULL, 'rec_689291d905336', '2025-08-05 23:20:57'),
(380, 29, 1, 1, '2026-01-30', '17:00:00', 'pendente', 0, 0, NULL, 'rec_689291d905336', '2025-08-05 23:20:57'),
(381, 29, 1, 1, '2026-02-06', '17:00:00', 'pendente', 0, 0, NULL, 'rec_689291d905336', '2025-08-05 23:20:57'),
(382, 29, 1, 1, '2026-02-13', '17:00:00', 'pendente', 0, 0, NULL, 'rec_689291d905336', '2025-08-05 23:20:57'),
(383, 29, 1, 1, '2026-02-20', '17:00:00', 'pendente', 0, 0, NULL, 'rec_689291d905336', '2025-08-05 23:20:57'),
(384, 29, 1, 1, '2026-02-27', '17:00:00', 'pendente', 0, 0, NULL, 'rec_689291d905336', '2025-08-05 23:20:57'),
(385, 30, 1, 1, '2025-08-06', '17:30:00', 'concluido', 0, 1, NULL, NULL, '2025-08-05 23:23:05'),
(386, 31, 1, 1, '2025-08-09', '15:30:00', 'pendente', 1, 0, NULL, NULL, '2025-08-06 03:36:12'),
(387, 32, 1, 2, '2025-08-07', '11:00:00', 'cancelado', 0, 0, NULL, 'rec_689331cb4ce00', '2025-08-06 10:43:23'),
(388, 32, 1, 2, '2025-08-14', '11:00:00', 'pendente', 0, 0, NULL, 'rec_689331cb4ce00', '2025-08-06 10:43:23'),
(389, 32, 1, 2, '2025-08-21', '11:00:00', 'pendente', 0, 0, NULL, 'rec_689331cb4ce00', '2025-08-06 10:43:23'),
(390, 32, 1, 2, '2025-08-28', '11:00:00', 'pendente', 0, 0, NULL, 'rec_689331cb4ce00', '2025-08-06 10:43:23'),
(391, 32, 1, 2, '2025-09-04', '11:00:00', 'pendente', 0, 0, NULL, 'rec_689331cb4ce00', '2025-08-06 10:43:23'),
(392, 32, 1, 2, '2025-09-11', '11:00:00', 'pendente', 0, 0, NULL, 'rec_689331cb4ce00', '2025-08-06 10:43:23'),
(393, 32, 1, 2, '2025-09-18', '11:00:00', 'pendente', 0, 0, NULL, 'rec_689331cb4ce00', '2025-08-06 10:43:23'),
(394, 32, 1, 2, '2025-09-25', '11:00:00', 'pendente', 0, 0, NULL, 'rec_689331cb4ce00', '2025-08-06 10:43:23'),
(395, 32, 1, 2, '2025-10-02', '11:00:00', 'pendente', 0, 0, NULL, 'rec_689331cb4ce00', '2025-08-06 10:43:23'),
(396, 32, 1, 2, '2025-10-09', '11:00:00', 'pendente', 0, 0, NULL, 'rec_689331cb4ce00', '2025-08-06 10:43:23'),
(397, 32, 1, 2, '2025-10-16', '11:00:00', 'pendente', 0, 0, NULL, 'rec_689331cb4ce00', '2025-08-06 10:43:23'),
(398, 32, 1, 2, '2025-10-23', '11:00:00', 'pendente', 0, 0, NULL, 'rec_689331cb4ce00', '2025-08-06 10:43:23'),
(399, 32, 1, 2, '2025-10-30', '11:00:00', 'pendente', 0, 0, NULL, 'rec_689331cb4ce00', '2025-08-06 10:43:23'),
(400, 32, 1, 2, '2025-11-06', '11:00:00', 'pendente', 0, 0, NULL, 'rec_689331cb4ce00', '2025-08-06 10:43:23'),
(401, 32, 1, 2, '2025-11-13', '11:00:00', 'pendente', 0, 0, NULL, 'rec_689331cb4ce00', '2025-08-06 10:43:23'),
(402, 32, 1, 2, '2025-11-20', '11:00:00', 'pendente', 0, 0, NULL, 'rec_689331cb4ce00', '2025-08-06 10:43:23'),
(403, 32, 1, 2, '2025-11-27', '11:00:00', 'pendente', 0, 0, NULL, 'rec_689331cb4ce00', '2025-08-06 10:43:23'),
(404, 32, 1, 2, '2025-12-04', '11:00:00', 'pendente', 0, 0, NULL, 'rec_689331cb4ce00', '2025-08-06 10:43:23'),
(405, 32, 1, 2, '2025-12-11', '11:00:00', 'pendente', 0, 0, NULL, 'rec_689331cb4ce00', '2025-08-06 10:43:23'),
(406, 32, 1, 2, '2025-12-18', '11:00:00', 'pendente', 0, 0, NULL, 'rec_689331cb4ce00', '2025-08-06 10:43:23'),
(407, 32, 1, 2, '2025-12-25', '11:00:00', 'pendente', 0, 0, NULL, 'rec_689331cb4ce00', '2025-08-06 10:43:23'),
(408, 32, 1, 2, '2026-01-01', '11:00:00', 'pendente', 0, 0, NULL, 'rec_689331cb4ce00', '2025-08-06 10:43:23'),
(409, 32, 1, 2, '2026-01-08', '11:00:00', 'pendente', 0, 0, NULL, 'rec_689331cb4ce00', '2025-08-06 10:43:23'),
(410, 32, 1, 2, '2026-01-15', '11:00:00', 'pendente', 0, 0, NULL, 'rec_689331cb4ce00', '2025-08-06 10:43:23'),
(411, 32, 1, 2, '2026-01-22', '11:00:00', 'pendente', 0, 0, NULL, 'rec_689331cb4ce00', '2025-08-06 10:43:23'),
(412, 32, 1, 2, '2026-01-29', '11:00:00', 'pendente', 0, 0, NULL, 'rec_689331cb4ce00', '2025-08-06 10:43:23'),
(413, 32, 1, 2, '2026-02-05', '11:00:00', 'pendente', 0, 0, NULL, 'rec_689331cb4ce00', '2025-08-06 10:43:23'),
(414, 32, 1, 2, '2026-02-12', '11:00:00', 'pendente', 0, 0, NULL, 'rec_689331cb4ce00', '2025-08-06 10:43:23'),
(415, 32, 1, 2, '2026-02-19', '11:00:00', 'pendente', 0, 0, NULL, 'rec_689331cb4ce00', '2025-08-06 10:43:23'),
(416, 32, 1, 2, '2026-02-26', '11:00:00', 'pendente', 0, 0, NULL, 'rec_689331cb4ce00', '2025-08-06 10:43:23'),
(417, 34, 1, 1, '2025-08-07', '16:30:00', 'pendente', 0, 0, NULL, NULL, '2025-08-06 11:59:36'),
(418, 39, 1, 1, '2025-08-08', '11:30:00', 'pendente', 1, 0, NULL, NULL, '2025-08-06 14:54:22'),
(419, 40, 1, 1, '2025-08-07', '18:30:00', 'cancelado', 1, 0, NULL, NULL, '2025-08-06 15:28:06'),
(420, 40, 1, 1, '2025-08-07', '18:50:00', 'cancelado', 1, 0, NULL, NULL, '2025-08-06 15:29:33'),
(421, 41, 1, 1, '2025-08-09', '14:30:00', 'pendente', 1, 0, NULL, NULL, '2025-08-06 17:04:49'),
(422, 2, 1, 1, '2025-08-08', '09:00:00', 'cancelado', 1, 0, NULL, NULL, '2025-08-06 19:12:47'),
(423, 43, 1, 1, '2025-08-07', '15:30:00', 'pendente', 0, 0, NULL, NULL, '2025-08-06 21:16:31'),
(424, 43, 1, 1, '2025-08-07', '16:00:00', 'pendente', 0, 0, NULL, NULL, '2025-08-06 21:18:38'),
(425, 44, 1, 1, '2025-08-09', '11:30:00', 'cancelado', 0, 0, NULL, NULL, '2025-08-06 21:23:10'),
(426, 45, 1, 1, '2025-08-09', '09:30:00', 'pendente', 0, 0, NULL, NULL, '2025-08-06 21:25:13'),
(427, 46, 1, 1, '2025-08-09', '16:00:00', 'pendente', 0, 0, NULL, NULL, '2025-08-06 21:27:36'),
(428, 42, 1, 1, '2025-08-08', '16:30:00', 'pendente', 1, 0, NULL, NULL, '2025-08-06 21:30:41'),
(429, 47, 1, 1, '2025-08-07', '09:30:00', 'concluido', 0, 1, NULL, NULL, '2025-08-06 21:54:43'),
(430, 37, 1, 1, '2025-08-07', '10:00:00', 'concluido', 0, 1, NULL, NULL, '2025-08-06 21:55:55'),
(431, 48, 1, 1, '2025-08-07', '10:30:00', 'concluido', 0, 1, NULL, NULL, '2025-08-06 21:57:33'),
(432, 49, 1, 1, '2025-08-09', '16:30:00', 'pendente', 0, 0, NULL, NULL, '2025-08-06 22:00:23'),
(433, 49, 1, 1, '2025-08-09', '17:00:00', 'pendente', 0, 0, NULL, NULL, '2025-08-06 22:00:50'),
(434, 35, 1, 1, '2025-08-09', '13:00:00', 'pendente', 0, 0, NULL, 'rec_6893d0ad427dc', '2025-08-06 22:01:17'),
(435, 35, 1, 1, '2025-08-16', '13:00:00', 'pendente', 0, 0, NULL, 'rec_6893d0ad427dc', '2025-08-06 22:01:17'),
(436, 35, 1, 1, '2025-08-23', '13:00:00', 'pendente', 0, 0, NULL, 'rec_6893d0ad427dc', '2025-08-06 22:01:17'),
(437, 35, 1, 1, '2025-08-30', '13:00:00', 'pendente', 0, 0, NULL, 'rec_6893d0ad427dc', '2025-08-06 22:01:17'),
(438, 35, 1, 1, '2025-09-06', '13:00:00', 'pendente', 0, 0, NULL, 'rec_6893d0ad427dc', '2025-08-06 22:01:17'),
(439, 35, 1, 1, '2025-09-13', '13:00:00', 'pendente', 0, 0, NULL, 'rec_6893d0ad427dc', '2025-08-06 22:01:17'),
(440, 35, 1, 1, '2025-09-20', '13:00:00', 'pendente', 0, 0, NULL, 'rec_6893d0ad427dc', '2025-08-06 22:01:17'),
(441, 35, 1, 1, '2025-09-27', '13:00:00', 'pendente', 0, 0, NULL, 'rec_6893d0ad427dc', '2025-08-06 22:01:17'),
(442, 35, 1, 1, '2025-10-04', '13:00:00', 'pendente', 0, 0, NULL, 'rec_6893d0ad427dc', '2025-08-06 22:01:17'),
(443, 35, 1, 1, '2025-10-11', '13:00:00', 'pendente', 0, 0, NULL, 'rec_6893d0ad427dc', '2025-08-06 22:01:17'),
(444, 35, 1, 1, '2025-10-18', '13:00:00', 'pendente', 0, 0, NULL, 'rec_6893d0ad427dc', '2025-08-06 22:01:17'),
(445, 35, 1, 1, '2025-10-25', '13:00:00', 'pendente', 0, 0, NULL, 'rec_6893d0ad427dc', '2025-08-06 22:01:17'),
(446, 35, 1, 1, '2025-11-01', '13:00:00', 'pendente', 0, 0, NULL, 'rec_6893d0ad427dc', '2025-08-06 22:01:17'),
(447, 35, 1, 1, '2025-11-08', '13:00:00', 'pendente', 0, 0, NULL, 'rec_6893d0ad427dc', '2025-08-06 22:01:17'),
(448, 35, 1, 1, '2025-11-15', '13:00:00', 'pendente', 0, 0, NULL, 'rec_6893d0ad427dc', '2025-08-06 22:01:17'),
(449, 35, 1, 1, '2025-11-22', '13:00:00', 'pendente', 0, 0, NULL, 'rec_6893d0ad427dc', '2025-08-06 22:01:17'),
(450, 35, 1, 1, '2025-11-29', '13:00:00', 'pendente', 0, 0, NULL, 'rec_6893d0ad427dc', '2025-08-06 22:01:17'),
(451, 35, 1, 1, '2025-12-06', '13:00:00', 'pendente', 0, 0, NULL, 'rec_6893d0ad427dc', '2025-08-06 22:01:17'),
(452, 35, 1, 1, '2025-12-13', '13:00:00', 'pendente', 0, 0, NULL, 'rec_6893d0ad427dc', '2025-08-06 22:01:17'),
(453, 35, 1, 1, '2025-12-20', '13:00:00', 'pendente', 0, 0, NULL, 'rec_6893d0ad427dc', '2025-08-06 22:01:17'),
(454, 35, 1, 1, '2025-12-27', '13:00:00', 'pendente', 0, 0, NULL, 'rec_6893d0ad427dc', '2025-08-06 22:01:17'),
(455, 35, 1, 1, '2026-01-03', '13:00:00', 'pendente', 0, 0, NULL, 'rec_6893d0ad427dc', '2025-08-06 22:01:17'),
(456, 35, 1, 1, '2026-01-10', '13:00:00', 'pendente', 0, 0, NULL, 'rec_6893d0ad427dc', '2025-08-06 22:01:17'),
(457, 35, 1, 1, '2026-01-17', '13:00:00', 'pendente', 0, 0, NULL, 'rec_6893d0ad427dc', '2025-08-06 22:01:17'),
(458, 35, 1, 1, '2026-01-24', '13:00:00', 'pendente', 0, 0, NULL, 'rec_6893d0ad427dc', '2025-08-06 22:01:17'),
(459, 35, 1, 1, '2026-01-31', '13:00:00', 'pendente', 0, 0, NULL, 'rec_6893d0ad427dc', '2025-08-06 22:01:17'),
(460, 35, 1, 1, '2026-02-07', '13:00:00', 'pendente', 0, 0, NULL, 'rec_6893d0ad427dc', '2025-08-06 22:01:17'),
(461, 35, 1, 1, '2026-02-14', '13:00:00', 'pendente', 0, 0, NULL, 'rec_6893d0ad427dc', '2025-08-06 22:01:17'),
(462, 35, 1, 1, '2026-02-21', '13:00:00', 'pendente', 0, 0, NULL, 'rec_6893d0ad427dc', '2025-08-06 22:01:17'),
(463, 35, 1, 1, '2026-02-28', '13:00:00', 'pendente', 0, 0, NULL, 'rec_6893d0ad427dc', '2025-08-06 22:01:17'),
(464, 50, 1, 1, '2025-08-08', '10:00:00', 'pendente', 0, 0, NULL, NULL, '2025-08-06 22:04:54'),
(465, 51, 1, 1, '2025-08-08', '09:30:00', 'pendente', 0, 0, NULL, NULL, '2025-08-06 22:06:16'),
(466, 24, 1, 2, '2025-08-08', '10:30:00', 'pendente', 0, 0, NULL, 'rec_6893d1fcbf1b0', '2025-08-06 22:06:52');
INSERT INTO `agendamentos` (`id`, `cliente_id`, `barbeiro_id`, `servico_id`, `data`, `horario`, `status`, `confirmacao_enviada`, `lembrete_enviado`, `observacoes`, `grupo_recorrente_id`, `criado_em`) VALUES
(467, 24, 1, 2, '2025-08-15', '10:30:00', 'pendente', 0, 0, NULL, 'rec_6893d1fcbf1b0', '2025-08-06 22:06:52'),
(468, 24, 1, 2, '2025-08-22', '10:30:00', 'pendente', 0, 0, NULL, 'rec_6893d1fcbf1b0', '2025-08-06 22:06:52'),
(469, 24, 1, 2, '2025-08-29', '10:30:00', 'pendente', 0, 0, NULL, 'rec_6893d1fcbf1b0', '2025-08-06 22:06:52'),
(470, 24, 1, 2, '2025-09-05', '10:30:00', 'pendente', 0, 0, NULL, 'rec_6893d1fcbf1b0', '2025-08-06 22:06:52'),
(471, 24, 1, 2, '2025-09-12', '10:30:00', 'pendente', 0, 0, NULL, 'rec_6893d1fcbf1b0', '2025-08-06 22:06:52'),
(472, 24, 1, 2, '2025-09-19', '10:30:00', 'pendente', 0, 0, NULL, 'rec_6893d1fcbf1b0', '2025-08-06 22:06:52'),
(473, 24, 1, 2, '2025-09-26', '10:30:00', 'pendente', 0, 0, NULL, 'rec_6893d1fcbf1b0', '2025-08-06 22:06:52'),
(474, 24, 1, 2, '2025-10-03', '10:30:00', 'pendente', 0, 0, NULL, 'rec_6893d1fcbf1b0', '2025-08-06 22:06:52'),
(475, 24, 1, 2, '2025-10-10', '10:30:00', 'pendente', 0, 0, NULL, 'rec_6893d1fcbf1b0', '2025-08-06 22:06:52'),
(476, 24, 1, 2, '2025-10-17', '10:30:00', 'pendente', 0, 0, NULL, 'rec_6893d1fcbf1b0', '2025-08-06 22:06:52'),
(477, 24, 1, 2, '2025-10-24', '10:30:00', 'pendente', 0, 0, NULL, 'rec_6893d1fcbf1b0', '2025-08-06 22:06:52'),
(478, 24, 1, 2, '2025-10-31', '10:30:00', 'pendente', 0, 0, NULL, 'rec_6893d1fcbf1b0', '2025-08-06 22:06:52'),
(479, 24, 1, 2, '2025-11-07', '10:30:00', 'pendente', 0, 0, NULL, 'rec_6893d1fcbf1b0', '2025-08-06 22:06:52'),
(480, 24, 1, 2, '2025-11-14', '10:30:00', 'pendente', 0, 0, NULL, 'rec_6893d1fcbf1b0', '2025-08-06 22:06:52'),
(481, 24, 1, 2, '2025-11-21', '10:30:00', 'pendente', 0, 0, NULL, 'rec_6893d1fcbf1b0', '2025-08-06 22:06:52'),
(482, 24, 1, 2, '2025-11-28', '10:30:00', 'pendente', 0, 0, NULL, 'rec_6893d1fcbf1b0', '2025-08-06 22:06:52'),
(483, 24, 1, 2, '2025-12-05', '10:30:00', 'pendente', 0, 0, NULL, 'rec_6893d1fcbf1b0', '2025-08-06 22:06:52'),
(484, 24, 1, 2, '2025-12-12', '10:30:00', 'pendente', 0, 0, NULL, 'rec_6893d1fcbf1b0', '2025-08-06 22:06:52'),
(485, 24, 1, 2, '2025-12-19', '10:30:00', 'pendente', 0, 0, NULL, 'rec_6893d1fcbf1b0', '2025-08-06 22:06:52'),
(486, 24, 1, 2, '2025-12-26', '10:30:00', 'pendente', 0, 0, NULL, 'rec_6893d1fcbf1b0', '2025-08-06 22:06:52'),
(487, 24, 1, 2, '2026-01-02', '10:30:00', 'pendente', 0, 0, NULL, 'rec_6893d1fcbf1b0', '2025-08-06 22:06:52'),
(488, 24, 1, 2, '2026-01-09', '10:30:00', 'pendente', 0, 0, NULL, 'rec_6893d1fcbf1b0', '2025-08-06 22:06:52'),
(489, 24, 1, 2, '2026-01-16', '10:30:00', 'pendente', 0, 0, NULL, 'rec_6893d1fcbf1b0', '2025-08-06 22:06:52'),
(490, 24, 1, 2, '2026-01-23', '10:30:00', 'pendente', 0, 0, NULL, 'rec_6893d1fcbf1b0', '2025-08-06 22:06:52'),
(491, 24, 1, 2, '2026-01-30', '10:30:00', 'pendente', 0, 0, NULL, 'rec_6893d1fcbf1b0', '2025-08-06 22:06:52'),
(492, 24, 1, 2, '2026-02-06', '10:30:00', 'pendente', 0, 0, NULL, 'rec_6893d1fcbf1b0', '2025-08-06 22:06:52'),
(493, 24, 1, 2, '2026-02-13', '10:30:00', 'pendente', 0, 0, NULL, 'rec_6893d1fcbf1b0', '2025-08-06 22:06:52'),
(494, 24, 1, 2, '2026-02-20', '10:30:00', 'pendente', 0, 0, NULL, 'rec_6893d1fcbf1b0', '2025-08-06 22:06:52'),
(495, 24, 1, 2, '2026-02-27', '10:30:00', 'pendente', 0, 0, NULL, 'rec_6893d1fcbf1b0', '2025-08-06 22:06:52'),
(496, 52, 1, 1, '2025-08-09', '18:00:00', 'cancelado', 0, 0, NULL, NULL, '2025-08-06 22:08:34'),
(497, 52, 1, 1, '2025-08-09', '18:00:00', 'pendente', 0, 0, NULL, 'rec_6893d2941c99c', '2025-08-06 22:09:24'),
(498, 52, 1, 1, '2025-08-16', '18:00:00', 'pendente', 0, 0, NULL, 'rec_6893d2941c99c', '2025-08-06 22:09:24'),
(499, 52, 1, 1, '2025-08-23', '18:00:00', 'pendente', 0, 0, NULL, 'rec_6893d2941c99c', '2025-08-06 22:09:24'),
(500, 52, 1, 1, '2025-08-30', '18:00:00', 'pendente', 0, 0, NULL, 'rec_6893d2941c99c', '2025-08-06 22:09:24'),
(501, 52, 1, 1, '2025-09-06', '18:00:00', 'pendente', 0, 0, NULL, 'rec_6893d2941c99c', '2025-08-06 22:09:24'),
(502, 52, 1, 1, '2025-09-13', '18:00:00', 'pendente', 0, 0, NULL, 'rec_6893d2941c99c', '2025-08-06 22:09:24'),
(503, 52, 1, 1, '2025-09-20', '18:00:00', 'pendente', 0, 0, NULL, 'rec_6893d2941c99c', '2025-08-06 22:09:24'),
(504, 52, 1, 1, '2025-09-27', '18:00:00', 'pendente', 0, 0, NULL, 'rec_6893d2941c99c', '2025-08-06 22:09:24'),
(505, 52, 1, 1, '2025-10-04', '18:00:00', 'pendente', 0, 0, NULL, 'rec_6893d2941c99c', '2025-08-06 22:09:24'),
(506, 52, 1, 1, '2025-10-11', '18:00:00', 'pendente', 0, 0, NULL, 'rec_6893d2941c99c', '2025-08-06 22:09:24'),
(507, 52, 1, 1, '2025-10-18', '18:00:00', 'pendente', 0, 0, NULL, 'rec_6893d2941c99c', '2025-08-06 22:09:24'),
(508, 52, 1, 1, '2025-10-25', '18:00:00', 'pendente', 0, 0, NULL, 'rec_6893d2941c99c', '2025-08-06 22:09:24'),
(509, 52, 1, 1, '2025-11-01', '18:00:00', 'pendente', 0, 0, NULL, 'rec_6893d2941c99c', '2025-08-06 22:09:24'),
(510, 52, 1, 1, '2025-11-08', '18:00:00', 'pendente', 0, 0, NULL, 'rec_6893d2941c99c', '2025-08-06 22:09:24'),
(511, 52, 1, 1, '2025-11-15', '18:00:00', 'pendente', 0, 0, NULL, 'rec_6893d2941c99c', '2025-08-06 22:09:24'),
(512, 52, 1, 1, '2025-11-22', '18:00:00', 'pendente', 0, 0, NULL, 'rec_6893d2941c99c', '2025-08-06 22:09:24'),
(513, 52, 1, 1, '2025-11-29', '18:00:00', 'pendente', 0, 0, NULL, 'rec_6893d2941c99c', '2025-08-06 22:09:24'),
(514, 52, 1, 1, '2025-12-06', '18:00:00', 'pendente', 0, 0, NULL, 'rec_6893d2941c99c', '2025-08-06 22:09:24'),
(515, 52, 1, 1, '2025-12-13', '18:00:00', 'pendente', 0, 0, NULL, 'rec_6893d2941c99c', '2025-08-06 22:09:24'),
(516, 52, 1, 1, '2025-12-20', '18:00:00', 'pendente', 0, 0, NULL, 'rec_6893d2941c99c', '2025-08-06 22:09:24'),
(517, 52, 1, 1, '2025-12-27', '18:00:00', 'pendente', 0, 0, NULL, 'rec_6893d2941c99c', '2025-08-06 22:09:24'),
(518, 52, 1, 1, '2026-01-03', '18:00:00', 'pendente', 0, 0, NULL, 'rec_6893d2941c99c', '2025-08-06 22:09:24'),
(519, 52, 1, 1, '2026-01-10', '18:00:00', 'pendente', 0, 0, NULL, 'rec_6893d2941c99c', '2025-08-06 22:09:24'),
(520, 52, 1, 1, '2026-01-17', '18:00:00', 'pendente', 0, 0, NULL, 'rec_6893d2941c99c', '2025-08-06 22:09:24'),
(521, 52, 1, 1, '2026-01-24', '18:00:00', 'pendente', 0, 0, NULL, 'rec_6893d2941c99c', '2025-08-06 22:09:24'),
(522, 52, 1, 1, '2026-01-31', '18:00:00', 'pendente', 0, 0, NULL, 'rec_6893d2941c99c', '2025-08-06 22:09:24'),
(523, 52, 1, 1, '2026-02-07', '18:00:00', 'pendente', 0, 0, NULL, 'rec_6893d2941c99c', '2025-08-06 22:09:24'),
(524, 52, 1, 1, '2026-02-14', '18:00:00', 'pendente', 0, 0, NULL, 'rec_6893d2941c99c', '2025-08-06 22:09:24'),
(525, 52, 1, 1, '2026-02-21', '18:00:00', 'pendente', 0, 0, NULL, 'rec_6893d2941c99c', '2025-08-06 22:09:24'),
(526, 52, 1, 1, '2026-02-28', '18:00:00', 'pendente', 0, 0, NULL, 'rec_6893d2941c99c', '2025-08-06 22:09:24'),
(527, 40, 1, 1, '2025-08-07', '18:30:00', 'pendente', 0, 0, NULL, NULL, '2025-08-06 22:12:26'),
(528, 40, 1, 1, '2025-08-07', '19:00:00', 'pendente', 0, 0, NULL, NULL, '2025-08-06 22:13:00'),
(529, 38, 1, 1, '2025-08-07', '19:30:00', 'pendente', 0, 0, NULL, NULL, '2025-08-06 22:13:48'),
(530, 53, 1, 1, '2025-08-07', '14:30:00', 'pendente', 0, 1, NULL, NULL, '2025-08-06 22:20:38'),
(531, 54, 1, 1, '2025-08-09', '10:00:00', 'pendente', 1, 0, NULL, NULL, '2025-08-06 22:42:58'),
(532, 37, 1, 1, '2025-08-09', '17:30:00', 'cancelado', 0, 0, NULL, NULL, '2025-08-06 23:45:32'),
(533, 2, 1, 3, '2025-08-07', '09:00:00', 'cancelado', 1, 0, NULL, NULL, '2025-08-07 02:40:39'),
(534, 2, 1, 1, '2025-08-08', '09:00:00', 'cancelado', 1, 0, NULL, NULL, '2025-08-07 02:42:16'),
(535, 55, 1, 1, '2025-08-07', '13:00:00', 'concluido', 1, 1, NULL, NULL, '2025-08-07 11:40:51'),
(536, 9, 1, 1, '2025-08-09', '17:30:00', 'pendente', 0, 0, NULL, NULL, '2025-08-07 12:48:03'),
(537, 57, 1, 1, '2025-08-08', '20:00:00', 'pendente', 0, 0, NULL, NULL, '2025-08-07 12:50:08'),
(538, 58, 1, 1, '2025-08-07', '17:30:00', 'pendente', 0, 0, NULL, NULL, '2025-08-07 12:51:52'),
(539, 32, 1, 1, '2025-08-07', '11:30:00', 'concluido', 0, 1, NULL, NULL, '2025-08-07 12:54:12'),
(540, 59, 1, 1, '2025-08-07', '15:00:00', 'pendente', 0, 0, NULL, NULL, '2025-08-07 13:04:10'),
(541, 60, 1, 1, '2025-08-07', '11:00:00', 'concluido', 0, 1, NULL, NULL, '2025-08-07 13:24:37'),
(542, 61, 1, 1, '2025-08-07', '13:30:00', 'concluido', 0, 1, NULL, NULL, '2025-08-07 13:28:28'),
(543, 62, 1, 1, '2025-08-07', '18:00:00', 'pendente', 0, 0, NULL, NULL, '2025-08-07 13:31:47'),
(544, 63, 1, 2, '2025-08-08', '14:00:00', 'pendente', 0, 0, NULL, NULL, '2025-08-07 13:33:46'),
(545, 4, 1, 2, '2025-08-08', '09:00:00', 'pendente', 0, 0, NULL, NULL, '2025-08-07 14:35:55');

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

--
-- Table structure for table `barbeiros`
--

CREATE TABLE `barbeiros` (
  `id` int(11) NOT NULL,
  `nome` varchar(100) NOT NULL,
  `status` enum('ativo','inativo') DEFAULT 'ativo',
  `criado_em` timestamp NOT NULL DEFAULT current_timestamp()
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

--
-- Dumping data for table `barbeiros`
--

INSERT INTO `barbeiros` (`id`, `nome`, `status`, `criado_em`) VALUES
(1, 'Weliton', 'ativo', '2025-07-31 16:26:08');

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

--
-- Table structure for table `configuracoes_loja`
--

CREATE TABLE `configuracoes_loja` (
  `id` int(11) NOT NULL,
  `nome_barbearia` varchar(150) NOT NULL DEFAULT 'Barbearia Weliton Amorim',
  `logo` varchar(255) DEFAULT NULL,
  `hora_abertura` time NOT NULL DEFAULT '09:00:00',
  `hora_fechamento` time NOT NULL DEFAULT '19:00:00',
  `intervalo_entre_cortes` int(11) NOT NULL DEFAULT 10,
  `intervalo_almoco_inicio` time DEFAULT NULL,
  `intervalo_almoco_fim` time DEFAULT NULL,
  `dias_funcionamento` varchar(20) NOT NULL DEFAULT '1,1,1,1,1,0,0',
  `mensagem_confirmacao` text DEFAULT NULL,
  `criado_em` timestamp NOT NULL DEFAULT current_timestamp(),
  `atualizado_em` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
  `horarios_por_dia` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`horarios_por_dia`))
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

--
-- Dumping data for table `configuracoes_loja`
--

INSERT INTO `configuracoes_loja` (`id`, `nome_barbearia`, `logo`, `hora_abertura`, `hora_fechamento`, `intervalo_entre_cortes`, `intervalo_almoco_inicio`, `intervalo_almoco_fim`, `dias_funcionamento`, `mensagem_confirmacao`, `criado_em`, `atualizado_em`, `horarios_por_dia`) VALUES
(1, 'Barbearia Weliton Amorim', 'img/1754422699_1000086768.jpg', '09:00:00', '20:30:00', 10, '12:00:00', '13:00:00', '0,0,0,0,0,0,0', NULL, '2025-07-31 16:26:35', '2025-08-06 12:04:42', '[{\"ativo\":false,\"inicio\":null,\"fim\":null},{\"ativo\":false,\"inicio\":null,\"fim\":null},{\"ativo\":true,\"inicio\":\"09:00\",\"fim\":\"20:30\"},{\"ativo\":true,\"inicio\":\"09:00\",\"fim\":\"20:00\"},{\"ativo\":true,\"inicio\":\"09:00\",\"fim\":\"20:00\"},{\"ativo\":true,\"inicio\":\"09:00\",\"fim\":\"20:30\"},{\"ativo\":true,\"inicio\":\"08:00\",\"fim\":\"18:30\"}]');

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

--
-- Table structure for table `financeiro`
--

CREATE TABLE `financeiro` (
  `id` int(11) NOT NULL,
  `tipo` enum('entrada','saida') NOT NULL,
  `descricao` varchar(255) NOT NULL,
  `valor` decimal(10,2) NOT NULL CHECK (`valor` >= 0),
  `referencia_agendamento` int(11) DEFAULT NULL,
  `data_movimentacao` date NOT NULL,
  `criado_em` timestamp NOT NULL DEFAULT current_timestamp()
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

--
-- Dumping data for table `financeiro`
--

INSERT INTO `financeiro` (`id`, `tipo`, `descricao`, `valor`, `referencia_agendamento`, `data_movimentacao`, `criado_em`) VALUES
(1, 'entrada', 'Serviço concluído (Agendamento #2)', 35.00, NULL, '2025-07-31', '2025-07-31 16:33:00'),
(2, 'entrada', 'Serviço concluído (Agendamento #4)', 35.00, NULL, '2025-07-31', '2025-07-31 17:03:00'),
(3, 'entrada', 'Serviço concluído (Agendamento #5)', 35.00, 5, '2025-07-31', '2025-07-31 19:02:59'),
(4, 'entrada', 'Serviço concluído (Agendamento #6)', 35.00, 6, '2025-07-31', '2025-07-31 19:32:59'),
(5, 'saida', 'sangria', 140.00, NULL, '2025-07-31', '2025-08-01 01:15:09'),
(6, 'entrada', 'Serviço concluído (Agendamento #37)', 35.00, 37, '2025-08-01', '2025-08-01 12:02:59'),
(7, 'entrada', 'Serviço concluído (Agendamento #7)', 35.00, 7, '2025-08-01', '2025-08-01 18:03:00'),
(8, 'entrada', 'Serviço concluído (Agendamento #38)', 35.00, 38, '2025-08-02', '2025-08-02 14:03:00'),
(9, 'entrada', 'Serviço concluído (Agendamento #39)', 35.00, 39, '2025-08-05', '2025-08-05 19:02:59'),
(10, 'entrada', 'Serviço concluído (Agendamento #315)', 35.00, 315, '2025-08-05', '2025-08-05 20:02:59'),
(11, 'saida', 'Saque', 245.00, NULL, '2025-08-05', '2025-08-05 23:03:05'),
(12, 'entrada', 'Serviço concluído (Agendamento #317)', 35.00, 317, '2025-08-06', '2025-08-06 12:32:59'),
(13, 'entrada', 'Serviço concluído (Agendamento #385)', 35.00, 385, '2025-08-06', '2025-08-06 20:32:59'),
(14, 'entrada', 'Serviço concluído (Agendamento #318)', 35.00, 318, '2025-08-06', '2025-08-06 22:02:59'),
(15, 'entrada', 'Serviço concluído (Agendamento #429)', 35.00, 429, '2025-08-07', '2025-08-07 12:32:59'),
(16, 'entrada', 'Serviço concluído (Agendamento #430)', 35.00, 430, '2025-08-07', '2025-08-07 13:02:59'),
(17, 'entrada', 'Serviço concluído (Agendamento #431)', 35.00, 431, '2025-08-07', '2025-08-07 13:33:00'),
(18, 'entrada', 'Serviço concluído (Agendamento #541)', 35.00, 541, '2025-08-07', '2025-08-07 14:02:59'),
(19, 'entrada', 'Serviço concluído (Agendamento #539)', 35.00, 539, '2025-08-07', '2025-08-07 14:32:59'),
(20, 'entrada', 'Serviço concluído (Agendamento #535)', 35.00, 535, '2025-08-07', '2025-08-07 16:02:59'),
(21, 'entrada', 'Serviço concluído (Agendamento #542)', 35.00, 542, '2025-08-07', '2025-08-07 16:33:06');

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

--
-- Table structure for table `servicos`
--

CREATE TABLE `servicos` (
  `id` int(11) NOT NULL,
  `nome` varchar(100) NOT NULL,
  `descricao` text DEFAULT NULL,
  `preco` decimal(10,2) NOT NULL CHECK (`preco` >= 0),
  `duracao_minutos` int(11) NOT NULL CHECK (`duracao_minutos` > 0),
  `tipo_preco` enum('fixo','apartir') NOT NULL DEFAULT 'fixo',
  `criado_em` timestamp NOT NULL DEFAULT current_timestamp()
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

--
-- Dumping data for table `servicos`
--

INSERT INTO `servicos` (`id`, `nome`, `descricao`, `preco`, `duracao_minutos`, `tipo_preco`, `criado_em`) VALUES
(1, 'Corte', 'Cortes simples', 35.00, 20, 'fixo', '2025-07-31 16:27:19'),
(2, 'Cabelo e barba', '', 60.00, 20, 'fixo', '2025-08-05 18:47:43'),
(3, 'Luzes', '', 40.00, 10, 'apartir', '2025-08-05 18:48:26'),
(4, 'Pigmentação', 'Cabelo', 20.00, 10, 'apartir', '2025-08-05 18:49:26');

--
-- Indexes for table `agendamentos`
--
ALTER TABLE `agendamentos`
  ADD PRIMARY KEY (`id`),
  ADD KEY `cliente_id` (`cliente_id`),
  ADD KEY `servico_id` (`servico_id`),
  ADD KEY `idx_agendamento` (`barbeiro_id`,`data`,`horario`);

--
-- Indexes for table `barbeiros`
--
ALTER TABLE `barbeiros`
  ADD PRIMARY KEY (`id`);

--
-- Indexes for table `configuracoes_loja`
--
ALTER TABLE `configuracoes_loja`
  ADD PRIMARY KEY (`id`);

--
-- Indexes for table `financeiro`
--
ALTER TABLE `financeiro`
  ADD PRIMARY KEY (`id`),
  ADD KEY `fk_agendamento` (`referencia_agendamento`);

--
-- Indexes for table `servicos`
--
ALTER TABLE `servicos`
  ADD PRIMARY KEY (`id`);

--
-- AUTO_INCREMENT for table `agendamentos`
--
ALTER TABLE `agendamentos`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=546;

--
-- AUTO_INCREMENT for table `barbeiros`
--
ALTER TABLE `barbeiros`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2;

--
-- AUTO_INCREMENT for table `configuracoes_loja`
--
ALTER TABLE `configuracoes_loja`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2;

--
-- AUTO_INCREMENT for table `financeiro`
--
ALTER TABLE `financeiro`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=22;

--
-- AUTO_INCREMENT for table `servicos`
--
ALTER TABLE `servicos`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=5;

--
-- Constraints for dumped tables
--

--
-- Constraints for table `agendamentos`
--
ALTER TABLE `agendamentos`
  ADD CONSTRAINT `agendamentos_ibfk_1` FOREIGN KEY (`cliente_id`) REFERENCES `clientes` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `agendamentos_ibfk_2` FOREIGN KEY (`barbeiro_id`) REFERENCES `barbeiros` (`id`) ON DELETE SET NULL,
  ADD CONSTRAINT `agendamentos_ibfk_3` FOREIGN KEY (`servico_id`) REFERENCES `servicos` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `financeiro`
--
ALTER TABLE `financeiro`
  ADD CONSTRAINT `fk_agendamento` FOREIGN KEY (`referencia_agendamento`) REFERENCES `agendamentos` (`id`) ON DELETE SET NULL;
COMMIT;

