-- Brike Housing Data Export
-- Agency: Test Agency (ID: 1)
-- Export Date: 2026-06-17 16:22:55

-- Table: agencies --
INSERT INTO `agencies` (`id`, `email`, `password`, `agency_name`, `phone`) VALUES ('1', 'admin@test.com', '$2y$10$hndVnaDzCLim049wl32tkeGrhLXyobeMKzYcCkSpbA5gyc19MYaS6', 'Test Agency', '0700000000');

-- Table: buildings --
INSERT INTO `buildings` (`id`, `agency_id`, `name`, `location`, `size_desc`, `rules`, `regulations`, `caretaker_name`, `caretaker_phone`, `monthly_due_day`, `default_late_fine`) VALUES ('6', '1', 'sunset', 'westy', 'Standard', NULL, NULL, NULL, NULL, '5', '500.00');
INSERT INTO `buildings` (`id`, `agency_id`, `name`, `location`, `size_desc`, `rules`, `regulations`, `caretaker_name`, `caretaker_phone`, `monthly_due_day`, `default_late_fine`) VALUES ('7', '1', 'Serenity ', 'Muthatari Embu', 'Standard', NULL, NULL, NULL, NULL, '10', '1000.00');
INSERT INTO `buildings` (`id`, `agency_id`, `name`, `location`, `size_desc`, `rules`, `regulations`, `caretaker_name`, `caretaker_phone`, `monthly_due_day`, `default_late_fine`) VALUES ('8', '1', 'Empire', 'Kasarani', 'Standard', NULL, NULL, NULL, NULL, '5', '500.00');

-- Table: rooms --
INSERT INTO `rooms` (`id`, `building_id`, `label`, `size_description`, `monthly_rent`, `is_occupied`) VALUES ('1', '6', 'a1', 'one-bedroom', '12000.00', '1');
INSERT INTO `rooms` (`id`, `building_id`, `label`, `size_description`, `monthly_rent`, `is_occupied`) VALUES ('2', '7', 'A1', 'Main House', '10000.00', '0');
INSERT INTO `rooms` (`id`, `building_id`, `label`, `size_description`, `monthly_rent`, `is_occupied`) VALUES ('3', '7', 'B1', 'Two-Bed room', '20000.00', '0');
INSERT INTO `rooms` (`id`, `building_id`, `label`, `size_description`, `monthly_rent`, `is_occupied`) VALUES ('4', '7', 'B2', 'One Bedroom', '15000.00', '0');
INSERT INTO `rooms` (`id`, `building_id`, `label`, `size_description`, `monthly_rent`, `is_occupied`) VALUES ('5', '7', 'B3', 'One Bedroom', '15000.00', '0');
INSERT INTO `rooms` (`id`, `building_id`, `label`, `size_description`, `monthly_rent`, `is_occupied`) VALUES ('6', '7', 'B3', 'One Bedroom', '15000.00', '1');
INSERT INTO `rooms` (`id`, `building_id`, `label`, `size_description`, `monthly_rent`, `is_occupied`) VALUES ('7', '7', 'B4', '1 Bedroom', '15000.00', '0');

-- Table: tenants --
INSERT INTO `tenants` (`id`, `tenant_number`, `first_name`, `last_name`, `gender`, `phone`, `email`, `id_number`, `occupation`, `emergency_contact_name`, `emergency_contact_phone`, `password`, `must_change_pw`, `room_id`, `num_occupants`, `move_in_date`, `is_active`, `credit_balance`, `fcm_token`) VALUES ('1', 'TNT0001', 'brike', 'mace', 'Male', '254716586942', '', '12345678', 'self employes', 'jane', '25412345678', '$2y$10$38DRsXVQXrJHuJyGpSy41OEtxYakJRdpYPpi09vAg.hDNun8ARoWe', '1', '1', '1', '2026-06-18', '1', '0.00', NULL);
INSERT INTO `tenants` (`id`, `tenant_number`, `first_name`, `last_name`, `gender`, `phone`, `email`, `id_number`, `occupation`, `emergency_contact_name`, `emergency_contact_phone`, `password`, `must_change_pw`, `room_id`, `num_occupants`, `move_in_date`, `is_active`, `credit_balance`, `fcm_token`) VALUES ('5', 'TNT0002', 'Jane ', 'Waither', 'Female', '254111923317', NULL, '12345634', 'Self employed', 'Brian', '254716586942', '$2y$10$jpl9SR.VxCe.XrIJQXGDtudrfFuWCiV4Fk0FendVzVcDnzvRE3sWe', '1', '6', '2', '2026-06-17', '1', '0.00', '');

-- Table: payments --

-- Table: utilities --
INSERT INTO `utilities` (`id`, `tenant_id`, `utility_type`, `amount`, `billing_date`, `due_date`, `paid`, `payment_id`) VALUES ('1', '1', 'TRASH', '150.00', '2026-07-10', '2026-07-10', '0', NULL);

-- Table: fines --

-- Table: move_out_requests --
INSERT INTO `move_out_requests` (`id`, `tenant_id`, `requested_date`, `reason`, `status`, `admin_note`, `created_at`) VALUES ('1', '1', '2026-07-17', 'Moving to different city', 'REJECTED', '', '2026-06-17 07:20:06');

-- Skipped table `maintenance_requests`: Does not exist in current schema --

