Software: Apache. PHP/8.1.30 uname -a: Linux server1.tuhinhossain.com 5.15.0-151-generic #161-Ubuntu SMP Tue Jul 22 14:25:40 UTC uid=1002(picotech) gid=1003(picotech) groups=1003(picotech),0(root) Safe-mode: OFF (not secure) /home/picotech/.pm2/logs/ drwxr-xr-x |
Viewing file: Select action/file-type: Executing (default): SELECT 1+1 AS result Database connection established successfully. Database synchronized successfully. Executing (default): SELECT `id`, `name`, `email`, `password`, `role`, `permissions`, `department`, `phone`, `avatar`, `is_active`, `last_login`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `User` AS `User` WHERE `User`.`email` = 'admin@apartment.com'; Server running on port 3001 Environment: development API available at: http://localhost:3001/api Executing (default): SELECT 1+1 AS result Database connection established successfully. Database synchronized successfully. Executing (default): SELECT `id`, `name`, `email`, `password`, `role`, `permissions`, `department`, `phone`, `avatar`, `is_active`, `last_login`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `User` AS `User` WHERE `User`.`email` = 'admin@apartment.com'; Server running on port 3001 Environment: development API available at: http://localhost:3001/api /home/picotech/domains/rentals.picotech.app/public_html/dist/index.html Executing (default): SELECT 1+1 AS result Database connection established successfully. Executing (default): SELECT TABLE_NAME FROM INFORMATION_SCHEMA.TABLES WHERE TABLE_TYPE = 'BASE TABLE' AND TABLE_NAME = 'User' AND TABLE_SCHEMA = 'rentals' Executing (default): CREATE TABLE IF NOT EXISTS `User` (`id` CHAR(36) BINARY , `name` VARCHAR(255) NOT NULL, `email` VARCHAR(255) NOT NULL UNIQUE, `password` VARCHAR(255) NOT NULL, `role` ENUM('admin', 'manager', 'staff') DEFAULT 'staff', `permissions` JSON, `department` VARCHAR(255), `phone` VARCHAR(255), `avatar` VARCHAR(255), `is_active` TINYINT(1) DEFAULT true, `last_login` DATETIME, `created_at` DATETIME NOT NULL, `updated_at` DATETIME NOT NULL, PRIMARY KEY (`id`)) ENGINE=InnoDB; Executing (default): SHOW INDEX FROM `User` Executing (default): SELECT TABLE_NAME FROM INFORMATION_SCHEMA.TABLES WHERE TABLE_TYPE = 'BASE TABLE' AND TABLE_NAME = 'Building' AND TABLE_SCHEMA = 'rentals' Executing (default): CREATE TABLE IF NOT EXISTS `Building` (`id` CHAR(36) BINARY , `name` VARCHAR(255) NOT NULL, `address` TEXT NOT NULL, `floors` INTEGER NOT NULL, `total_rooms` INTEGER NOT NULL, `total_beds` INTEGER NOT NULL, `parking_spaces` INTEGER DEFAULT 0, `occupied_beds` INTEGER DEFAULT 0, `manager` VARCHAR(255), `amenities` JSON, `monthly_revenue` DECIMAL(10,2) DEFAULT 0, `building_type` ENUM('residential', 'commercial', 'mixed') DEFAULT 'residential', `year_built` INTEGER, `total_area` DECIMAL(10,2), `elevators` INTEGER DEFAULT 0, `security_features` JSON, `contact_person` VARCHAR(255), `contact_phone` VARCHAR(255), `created_at` DATETIME NOT NULL, `updated_at` DATETIME NOT NULL, PRIMARY KEY (`id`)) ENGINE=InnoDB; Executing (default): SHOW INDEX FROM `Building` Executing (default): SELECT TABLE_NAME FROM INFORMATION_SCHEMA.TABLES WHERE TABLE_TYPE = 'BASE TABLE' AND TABLE_NAME = 'Floor' AND TABLE_SCHEMA = 'rentals' Executing (default): CREATE TABLE IF NOT EXISTS `Floor` (`id` CHAR(36) BINARY , `building_id` CHAR(36) BINARY NOT NULL, `floor_number` INTEGER NOT NULL, `total_rooms` INTEGER NOT NULL, `occupied_rooms` INTEGER DEFAULT 0, `floor_type` ENUM('residential', 'commercial', 'parking', 'common') DEFAULT 'residential', `amenities` JSON, `maintenance_status` ENUM('good', 'needs_attention', 'under_maintenance') DEFAULT 'good', `last_inspection` DATETIME, `notes` TEXT, `created_at` DATETIME NOT NULL, `updated_at` DATETIME NOT NULL, PRIMARY KEY (`id`), FOREIGN KEY (`building_id`) REFERENCES `Building` (`id`) ON DELETE CASCADE ON UPDATE CASCADE) ENGINE=InnoDB; Executing (default): SHOW INDEX FROM `Floor` Executing (default): SELECT TABLE_NAME FROM INFORMATION_SCHEMA.TABLES WHERE TABLE_TYPE = 'BASE TABLE' AND TABLE_NAME = 'Room' AND TABLE_SCHEMA = 'rentals' Executing (default): CREATE TABLE IF NOT EXISTS `Room` (`id` CHAR(36) BINARY , `building_id` CHAR(36) BINARY NOT NULL, `floor_id` CHAR(36) BINARY NOT NULL, `room_number` VARCHAR(255) NOT NULL, `total_beds` INTEGER NOT NULL, `occupied_beds` INTEGER DEFAULT 0, `rent_per_bed` DECIMAL(10,2) NOT NULL, `facilities` JSON, `room_type` ENUM('single', 'shared', 'family', 'studio') DEFAULT 'shared', `area` DECIMAL(8,2), `has_balcony` TINYINT(1) DEFAULT false, `has_attached_bathroom` TINYINT(1) DEFAULT false, `furnishing_status` ENUM('furnished', 'semi_furnished', 'unfurnished') DEFAULT 'furnished', `condition` ENUM('excellent', 'good', 'fair', 'needs_repair') DEFAULT 'good', `last_cleaned` DATETIME, `security_deposit` DECIMAL(10,2) DEFAULT 0, `available_from` DATETIME, `created_at` DATETIME NOT NULL, `updated_at` DATETIME NOT NULL, PRIMARY KEY (`id`), FOREIGN KEY (`building_id`) REFERENCES `Building` (`id`) ON DELETE NO ACTION ON UPDATE CASCADE, FOREIGN KEY (`floor_id`) REFERENCES `Floor` (`id`) ON DELETE CASCADE ON UPDATE CASCADE) ENGINE=InnoDB; Executing (default): SHOW INDEX FROM `Room` Executing (default): SELECT TABLE_NAME FROM INFORMATION_SCHEMA.TABLES WHERE TABLE_TYPE = 'BASE TABLE' AND TABLE_NAME = 'Bed' AND TABLE_SCHEMA = 'rentals' Executing (default): CREATE TABLE IF NOT EXISTS `Bed` (`id` CHAR(36) BINARY , `building_id` CHAR(36) BINARY NOT NULL, `floor_id` CHAR(36) BINARY NOT NULL, `room_id` CHAR(36) BINARY NOT NULL, `bed_number` VARCHAR(255) NOT NULL, `is_occupied` TINYINT(1) DEFAULT false, `monthly_rent` DECIMAL(10,2) NOT NULL, `status` ENUM('available', 'occupied', 'maintenance', 'reserved') DEFAULT 'available', `bed_type` ENUM('single', 'double', 'bunk') DEFAULT 'single', `last_cleaned` DATETIME, `notes` TEXT, `reserved_until` DATETIME, `maintenance_scheduled` DATETIME, `created_at` DATETIME NOT NULL, `updated_at` DATETIME NOT NULL, PRIMARY KEY (`id`), FOREIGN KEY (`building_id`) REFERENCES `Building` (`id`) ON DELETE NO ACTION ON UPDATE CASCADE, FOREIGN KEY (`floor_id`) REFERENCES `Floor` (`id`) ON DELETE NO ACTION ON UPDATE CASCADE, FOREIGN KEY (`room_id`) REFERENCES `Room` (`id`) ON DELETE CASCADE ON UPDATE CASCADE) ENGINE=InnoDB; Executing (default): SHOW INDEX FROM `Bed` Executing (default): SELECT TABLE_NAME FROM INFORMATION_SCHEMA.TABLES WHERE TABLE_TYPE = 'BASE TABLE' AND TABLE_NAME = 'Renter' AND TABLE_SCHEMA = 'rentals' Executing (default): CREATE TABLE IF NOT EXISTS `Renter` (`id` CHAR(36) BINARY , `name` VARCHAR(255) NOT NULL, `email` VARCHAR(255) NOT NULL, `phone` VARCHAR(255) NOT NULL, `alternate_phone` VARCHAR(255), `nid` VARCHAR(255) NOT NULL UNIQUE, `building_id` CHAR(36) BINARY NOT NULL, `floor_id` CHAR(36) BINARY NOT NULL, `room_id` CHAR(36) BINARY NOT NULL, `bed_id` CHAR(36) BINARY NOT NULL, `rent_amount` DECIMAL(10,2) NOT NULL, `security_deposit` DECIMAL(10,2) NOT NULL, `check_in_date` DATETIME NOT NULL, `check_out_date` DATETIME, `lease_start_date` DATETIME NOT NULL, `lease_end_date` DATETIME NOT NULL, `status` ENUM('active', 'inactive', 'notice_period', 'blacklisted') DEFAULT 'active', `emergency_contact` VARCHAR(255) NOT NULL, `emergency_relation` VARCHAR(255) NOT NULL, `profile_photo` VARCHAR(255), `occupation` VARCHAR(255), `company` VARCHAR(255), `monthly_income` DECIMAL(10,2), `previous_address` TEXT, `references` TEXT, `notice_period` INTEGER DEFAULT 30, `preferences` JSON, `payment_history` JSON, `created_at` DATETIME NOT NULL, `updated_at` DATETIME NOT NULL, PRIMARY KEY (`id`), FOREIGN KEY (`building_id`) REFERENCES `Building` (`id`) ON DELETE NO ACTION ON UPDATE CASCADE, FOREIGN KEY (`floor_id`) REFERENCES `Floor` (`id`) ON DELETE NO ACTION ON UPDATE CASCADE, FOREIGN KEY (`room_id`) REFERENCES `Room` (`id`) ON DELETE NO ACTION ON UPDATE CASCADE, FOREIGN KEY (`bed_id`) REFERENCES `Bed` (`id`) ON DELETE CASCADE ON UPDATE CASCADE) ENGINE=InnoDB; Executing (default): SHOW INDEX FROM `Renter` Executing (default): SELECT TABLE_NAME FROM INFORMATION_SCHEMA.TABLES WHERE TABLE_TYPE = 'BASE TABLE' AND TABLE_NAME = 'RenterDocument' AND TABLE_SCHEMA = 'rentals' Executing (default): CREATE TABLE IF NOT EXISTS `RenterDocument` (`id` CHAR(36) BINARY , `renter_id` CHAR(36) BINARY NOT NULL, `type` ENUM('nid', 'passport', 'contract', 'photo', 'income_proof', 'reference', 'other') NOT NULL, `file_name` VARCHAR(255) NOT NULL, `file_url` VARCHAR(255) NOT NULL, `file_size` INTEGER, `mime_type` VARCHAR(255), `description` TEXT, `created_at` DATETIME NOT NULL, `updated_at` DATETIME NOT NULL, PRIMARY KEY (`id`), FOREIGN KEY (`renter_id`) REFERENCES `Renter` (`id`) ON DELETE CASCADE ON UPDATE CASCADE) ENGINE=InnoDB; Executing (default): SHOW INDEX FROM `RenterDocument` Executing (default): SELECT TABLE_NAME FROM INFORMATION_SCHEMA.TABLES WHERE TABLE_TYPE = 'BASE TABLE' AND TABLE_NAME = 'RentPayment' AND TABLE_SCHEMA = 'rentals' Executing (default): CREATE TABLE IF NOT EXISTS `RentPayment` (`id` CHAR(36) BINARY , `renter_id` CHAR(36) BINARY NOT NULL, `amount` DECIMAL(10,2) NOT NULL, `due_date` DATETIME NOT NULL, `paid_date` VARCHAR(255), `status` ENUM('paid', 'pending', 'overdue', 'partial') DEFAULT 'pending', `month` VARCHAR(255) NOT NULL, `year` INTEGER NOT NULL, `payment_method` VARCHAR(255), `transaction_id` VARCHAR(255), `late_fee` DECIMAL(10,2) DEFAULT 0, `discount` DECIMAL(10,2) DEFAULT 0, `notes` TEXT, `receipt_number` VARCHAR(255), `collected_by` VARCHAR(255), `renter_name` VARCHAR(255), `room_number` VARCHAR(255), `created_at` DATETIME NOT NULL, `updated_at` DATETIME NOT NULL, PRIMARY KEY (`id`), FOREIGN KEY (`renter_id`) REFERENCES `Renter` (`id`) ON DELETE CASCADE ON UPDATE CASCADE) ENGINE=InnoDB; Executing (default): SHOW INDEX FROM `RentPayment` Executing (default): SELECT TABLE_NAME FROM INFORMATION_SCHEMA.TABLES WHERE TABLE_TYPE = 'BASE TABLE' AND TABLE_NAME = 'Maintenance' AND TABLE_SCHEMA = 'rentals' Executing (default): CREATE TABLE IF NOT EXISTS `Maintenance` (`id` CHAR(36) BINARY , `building_id` CHAR(36) BINARY NOT NULL, `floor_id` CHAR(36) BINARY, `room_id` CHAR(36) BINARY, `bed_id` CHAR(36) BINARY, `type` ENUM('cleaning', 'repair', 'inspection', 'upgrade', 'pest_control', 'painting') NOT NULL, `category` ENUM('electrical', 'plumbing', 'hvac', 'structural', 'general', 'security') DEFAULT 'general', `description` TEXT NOT NULL, `priority` ENUM('low', 'medium', 'high', 'urgent') DEFAULT 'medium', `status` ENUM('pending', 'in_progress', 'completed', 'cancelled', 'on_hold') DEFAULT 'pending', `assigned_to` VARCHAR(255), `cost` DECIMAL(10,2), `estimated_cost` DECIMAL(10,2), `scheduled_date` VARCHAR(255) NOT NULL, `completed_date` VARCHAR(255), `notes` TEXT, `images` JSON, `warranty` VARCHAR(255), `next_maintenance_date` DATETIME, `created_at` DATETIME NOT NULL, `updated_at` DATETIME NOT NULL, PRIMARY KEY (`id`), FOREIGN KEY (`building_id`) REFERENCES `Building` (`id`) ON DELETE CASCADE ON UPDATE CASCADE, FOREIGN KEY (`floor_id`) REFERENCES `Floor` (`id`) ON DELETE SET NULL ON UPDATE CASCADE, FOREIGN KEY (`room_id`) REFERENCES `Room` (`id`) ON DELETE SET NULL ON UPDATE CASCADE, FOREIGN KEY (`bed_id`) REFERENCES `Bed` (`id`)) ENGINE=InnoDB; Executing (default): SHOW INDEX FROM `Maintenance` Executing (default): SELECT TABLE_NAME FROM INFORMATION_SCHEMA.TABLES WHERE TABLE_TYPE = 'BASE TABLE' AND TABLE_NAME = 'Expense' AND TABLE_SCHEMA = 'rentals' Executing (default): CREATE TABLE IF NOT EXISTS `Expense` (`id` CHAR(36) BINARY , `building_id` CHAR(36) BINARY, `floor_id` CHAR(36) BINARY, `category` ENUM('maintenance', 'utilities', 'staff', 'supplies', 'insurance', 'taxes', 'marketing', 'other') NOT NULL, `subcategory` VARCHAR(255), `description` TEXT NOT NULL, `amount` DECIMAL(10,2) NOT NULL, `date` DATETIME NOT NULL, `vendor` VARCHAR(255), `receipt` VARCHAR(255), `approved_by` VARCHAR(255), `payment_method` VARCHAR(255), `is_recurring` TINYINT(1) DEFAULT false, `recurring_frequency` ENUM('monthly', 'quarterly', 'yearly'), `budget_category` VARCHAR(255), `created_at` DATETIME NOT NULL, `updated_at` DATETIME NOT NULL, PRIMARY KEY (`id`), FOREIGN KEY (`building_id`) REFERENCES `Building` (`id`) ON DELETE SET NULL ON UPDATE CASCADE, FOREIGN KEY (`floor_id`) REFERENCES `Floor` (`id`)) ENGINE=InnoDB; Executing (default): SHOW INDEX FROM `Expense` Executing (default): SELECT TABLE_NAME FROM INFORMATION_SCHEMA.TABLES WHERE TABLE_TYPE = 'BASE TABLE' AND TABLE_NAME = 'Notice' AND TABLE_SCHEMA = 'rentals' Executing (default): CREATE TABLE IF NOT EXISTS `Notice` (`id` CHAR(36) BINARY , `title` VARCHAR(255) NOT NULL, `content` TEXT NOT NULL, `type` ENUM('general', 'maintenance', 'payment', 'emergency', 'event') DEFAULT 'general', `priority` ENUM('low', 'medium', 'high') DEFAULT 'medium', `target_audience` ENUM('all', 'renters', 'staff', 'specific') DEFAULT 'all', `target_ids` JSON, `building_id` CHAR(36) BINARY, `floor_id` CHAR(36) BINARY, `created_by` VARCHAR(255) NOT NULL, `expiry_date` DATETIME, `is_active` TINYINT(1) DEFAULT true, `read_by` JSON, `created_at` DATETIME NOT NULL, `updated_at` DATETIME NOT NULL, PRIMARY KEY (`id`), FOREIGN KEY (`building_id`) REFERENCES `Building` (`id`) ON DELETE SET NULL ON UPDATE CASCADE, FOREIGN KEY (`floor_id`) REFERENCES `Floor` (`id`) ON DELETE SET NULL ON UPDATE CASCADE) ENGINE=InnoDB; Executing (default): SHOW INDEX FROM `Notice` Executing (default): SELECT TABLE_NAME FROM INFORMATION_SCHEMA.TABLES WHERE TABLE_TYPE = 'BASE TABLE' AND TABLE_NAME = 'Visitor' AND TABLE_SCHEMA = 'rentals' Executing (default): CREATE TABLE IF NOT EXISTS `Visitor` (`id` CHAR(36) BINARY , `visitor_name` VARCHAR(255) NOT NULL, `visitor_phone` VARCHAR(255) NOT NULL, `visiting_renter_id` CHAR(36) BINARY NOT NULL, `check_in_time` DATETIME NOT NULL, `check_out_time` DATETIME, `purpose` VARCHAR(255) NOT NULL, `approved_by` VARCHAR(255) NOT NULL, `id_verified` TINYINT(1) DEFAULT false, `vehicle_number` VARCHAR(255), `notes` TEXT, `visiting_renter_name` VARCHAR(255) NOT NULL, `created_at` DATETIME NOT NULL, `updated_at` DATETIME NOT NULL, PRIMARY KEY (`id`), FOREIGN KEY (`visiting_renter_id`) REFERENCES `Renter` (`id`) ON DELETE CASCADE ON UPDATE CASCADE) ENGINE=InnoDB; Executing (default): SHOW INDEX FROM `Visitor` Executing (default): SELECT TABLE_NAME FROM INFORMATION_SCHEMA.TABLES WHERE TABLE_TYPE = 'BASE TABLE' AND TABLE_NAME = 'Settings' AND TABLE_SCHEMA = 'rentals' Executing (default): CREATE TABLE IF NOT EXISTS `Settings` (`id` CHAR(36) BINARY , `name` VARCHAR(255) NOT NULL UNIQUE, `value` TEXT, `created_at` DATETIME NOT NULL, `updated_at` DATETIME NOT NULL, PRIMARY KEY (`id`)) ENGINE=InnoDB; Executing (default): SHOW INDEX FROM `Settings` Database synchronized successfully. Executing (default): SELECT `id`, `name`, `email`, `password`, `role`, `permissions`, `department`, `phone`, `avatar`, `is_active`, `last_login`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `User` AS `User` WHERE `User`.`email` = 'admin@apartment.com'; Executing (default): INSERT INTO `User` (`id`,`name`,`email`,`password`,`role`,`permissions`,`department`,`phone`,`is_active`,`created_at`,`updated_at`) VALUES (?,?,?,?,?,?,?,?,?,?,?); Default admin user created successfully Login credentials: admin@apartment.com / admin123 Server running on port 3001 Environment: development API available at: http://localhost:3001/api /home/picotech/domains/rentals.picotech.app/public_html/dist/index.html Executing (default): SELECT 1+1 AS result Database connection established successfully. Executing (default): SELECT TABLE_NAME FROM INFORMATION_SCHEMA.TABLES WHERE TABLE_TYPE = 'BASE TABLE' AND TABLE_NAME = 'User' AND TABLE_SCHEMA = 'rentals' Executing (default): SHOW FULL COLUMNS FROM `User`; Executing (default): SELECT CONSTRAINT_NAME as constraint_name,CONSTRAINT_NAME as constraintName,CONSTRAINT_SCHEMA as constraintSchema,CONSTRAINT_SCHEMA as constraintCatalog,TABLE_NAME as tableName,TABLE_SCHEMA as tableSchema,TABLE_SCHEMA as tableCatalog,COLUMN_NAME as columnName,REFERENCED_TABLE_SCHEMA as referencedTableSchema,REFERENCED_TABLE_SCHEMA as referencedTableCatalog,REFERENCED_TABLE_NAME as referencedTableName,REFERENCED_COLUMN_NAME as referencedColumnName FROM INFORMATION_SCHEMA.KEY_COLUMN_USAGE where TABLE_NAME = 'User' AND CONSTRAINT_NAME!='PRIMARY' AND CONSTRAINT_SCHEMA='rentals' AND REFERENCED_TABLE_NAME IS NOT NULL; Executing (default): ALTER TABLE `User` CHANGE `name` `name` VARCHAR(255) NOT NULL; Executing (default): ALTER TABLE `User` CHANGE `email` `email` VARCHAR(255) NOT NULL UNIQUE; Executing (default): ALTER TABLE `User` CHANGE `password` `password` VARCHAR(255) NOT NULL; Executing (default): ALTER TABLE `User` CHANGE `role` `role` ENUM('admin', 'manager', 'staff') DEFAULT 'staff'; Executing (default): ALTER TABLE `User` CHANGE `permissions` `permissions` JSON; Executing (default): ALTER TABLE `User` CHANGE `department` `department` VARCHAR(255); Executing (default): ALTER TABLE `User` CHANGE `phone` `phone` VARCHAR(255); Executing (default): ALTER TABLE `User` CHANGE `avatar` `avatar` VARCHAR(255); Executing (default): ALTER TABLE `User` CHANGE `is_active` `is_active` TINYINT(1) DEFAULT true; Executing (default): ALTER TABLE `User` CHANGE `last_login` `last_login` DATETIME; Executing (default): ALTER TABLE `User` CHANGE `created_at` `created_at` DATETIME NOT NULL; Executing (default): ALTER TABLE `User` CHANGE `updated_at` `updated_at` DATETIME NOT NULL; Executing (default): SHOW INDEX FROM `User` Executing (default): SELECT TABLE_NAME FROM INFORMATION_SCHEMA.TABLES WHERE TABLE_TYPE = 'BASE TABLE' AND TABLE_NAME = 'Building' AND TABLE_SCHEMA = 'rentals' Executing (default): SHOW FULL COLUMNS FROM `Building`; Executing (default): SELECT CONSTRAINT_NAME as constraint_name,CONSTRAINT_NAME as constraintName,CONSTRAINT_SCHEMA as constraintSchema,CONSTRAINT_SCHEMA as constraintCatalog,TABLE_NAME as tableName,TABLE_SCHEMA as tableSchema,TABLE_SCHEMA as tableCatalog,COLUMN_NAME as columnName,REFERENCED_TABLE_SCHEMA as referencedTableSchema,REFERENCED_TABLE_SCHEMA as referencedTableCatalog,REFERENCED_TABLE_NAME as referencedTableName,REFERENCED_COLUMN_NAME as referencedColumnName FROM INFORMATION_SCHEMA.KEY_COLUMN_USAGE where TABLE_NAME = 'Building' AND CONSTRAINT_NAME!='PRIMARY' AND CONSTRAINT_SCHEMA='rentals' AND REFERENCED_TABLE_NAME IS NOT NULL; Executing (default): ALTER TABLE `Building` CHANGE `name` `name` VARCHAR(255) NOT NULL; Executing (default): ALTER TABLE `Building` CHANGE `address` `address` TEXT NOT NULL; Executing (default): ALTER TABLE `Building` CHANGE `floors` `floors` INTEGER NOT NULL; Executing (default): ALTER TABLE `Building` CHANGE `total_rooms` `total_rooms` INTEGER NOT NULL; Executing (default): ALTER TABLE `Building` CHANGE `total_beds` `total_beds` INTEGER NOT NULL; Executing (default): ALTER TABLE `Building` CHANGE `parking_spaces` `parking_spaces` INTEGER DEFAULT 0; Executing (default): ALTER TABLE `Building` CHANGE `occupied_beds` `occupied_beds` INTEGER DEFAULT 0; Executing (default): ALTER TABLE `Building` CHANGE `manager` `manager` VARCHAR(255); Executing (default): ALTER TABLE `Building` CHANGE `amenities` `amenities` JSON; Executing (default): ALTER TABLE `Building` CHANGE `monthly_revenue` `monthly_revenue` DECIMAL(10,2) DEFAULT 0; Executing (default): ALTER TABLE `Building` CHANGE `building_type` `building_type` ENUM('residential', 'commercial', 'mixed') DEFAULT 'residential'; Executing (default): ALTER TABLE `Building` CHANGE `year_built` `year_built` INTEGER; Executing (default): ALTER TABLE `Building` CHANGE `total_area` `total_area` DECIMAL(10,2); Executing (default): ALTER TABLE `Building` CHANGE `elevators` `elevators` INTEGER DEFAULT 0; Executing (default): ALTER TABLE `Building` CHANGE `security_features` `security_features` JSON; Executing (default): ALTER TABLE `Building` CHANGE `contact_person` `contact_person` VARCHAR(255); Executing (default): ALTER TABLE `Building` CHANGE `contact_phone` `contact_phone` VARCHAR(255); Executing (default): ALTER TABLE `Building` CHANGE `created_at` `created_at` DATETIME NOT NULL; Executing (default): ALTER TABLE `Building` CHANGE `updated_at` `updated_at` DATETIME NOT NULL; Executing (default): SHOW INDEX FROM `Building` Executing (default): SELECT TABLE_NAME FROM INFORMATION_SCHEMA.TABLES WHERE TABLE_TYPE = 'BASE TABLE' AND TABLE_NAME = 'Floor' AND TABLE_SCHEMA = 'rentals' Executing (default): SHOW FULL COLUMNS FROM `Floor`; Executing (default): SELECT CONSTRAINT_NAME as constraint_name,CONSTRAINT_NAME as constraintName,CONSTRAINT_SCHEMA as constraintSchema,CONSTRAINT_SCHEMA as constraintCatalog,TABLE_NAME as tableName,TABLE_SCHEMA as tableSchema,TABLE_SCHEMA as tableCatalog,COLUMN_NAME as columnName,REFERENCED_TABLE_SCHEMA as referencedTableSchema,REFERENCED_TABLE_SCHEMA as referencedTableCatalog,REFERENCED_TABLE_NAME as referencedTableName,REFERENCED_COLUMN_NAME as referencedColumnName FROM INFORMATION_SCHEMA.KEY_COLUMN_USAGE where TABLE_NAME = 'Floor' AND CONSTRAINT_NAME!='PRIMARY' AND CONSTRAINT_SCHEMA='rentals' AND REFERENCED_TABLE_NAME IS NOT NULL; Executing (default): SELECT CONSTRAINT_CATALOG AS constraintCatalog, CONSTRAINT_NAME AS constraintName, CONSTRAINT_SCHEMA AS constraintSchema, CONSTRAINT_TYPE AS constraintType, TABLE_NAME AS tableName, TABLE_SCHEMA AS tableSchema from INFORMATION_SCHEMA.TABLE_CONSTRAINTS WHERE table_name='Floor' AND constraint_name = 'Floor_ibfk_1' AND TABLE_SCHEMA = 'rentals'; Executing (default): ALTER TABLE `Floor` DROP FOREIGN KEY `Floor_ibfk_1`; Executing (default): ALTER TABLE `Floor` ADD FOREIGN KEY (`building_id`) REFERENCES `Building` (`id`) ON DELETE CASCADE ON UPDATE CASCADE; Executing (default): ALTER TABLE `Floor` CHANGE `floor_number` `floor_number` INTEGER NOT NULL; Executing (default): ALTER TABLE `Floor` CHANGE `total_rooms` `total_rooms` INTEGER NOT NULL; Executing (default): ALTER TABLE `Floor` CHANGE `occupied_rooms` `occupied_rooms` INTEGER DEFAULT 0; Executing (default): ALTER TABLE `Floor` CHANGE `floor_type` `floor_type` ENUM('residential', 'commercial', 'parking', 'common') DEFAULT 'residential'; Executing (default): ALTER TABLE `Floor` CHANGE `amenities` `amenities` JSON; Executing (default): ALTER TABLE `Floor` CHANGE `maintenance_status` `maintenance_status` ENUM('good', 'needs_attention', 'under_maintenance') DEFAULT 'good'; Executing (default): ALTER TABLE `Floor` CHANGE `last_inspection` `last_inspection` DATETIME; Executing (default): ALTER TABLE `Floor` CHANGE `notes` `notes` TEXT; Executing (default): ALTER TABLE `Floor` CHANGE `created_at` `created_at` DATETIME NOT NULL; Executing (default): ALTER TABLE `Floor` CHANGE `updated_at` `updated_at` DATETIME NOT NULL; Executing (default): SHOW INDEX FROM `Floor` Executing (default): SELECT TABLE_NAME FROM INFORMATION_SCHEMA.TABLES WHERE TABLE_TYPE = 'BASE TABLE' AND TABLE_NAME = 'Room' AND TABLE_SCHEMA = 'rentals' Executing (default): SHOW FULL COLUMNS FROM `Room`; Executing (default): SELECT CONSTRAINT_NAME as constraint_name,CONSTRAINT_NAME as constraintName,CONSTRAINT_SCHEMA as constraintSchema,CONSTRAINT_SCHEMA as constraintCatalog,TABLE_NAME as tableName,TABLE_SCHEMA as tableSchema,TABLE_SCHEMA as tableCatalog,COLUMN_NAME as columnName,REFERENCED_TABLE_SCHEMA as referencedTableSchema,REFERENCED_TABLE_SCHEMA as referencedTableCatalog,REFERENCED_TABLE_NAME as referencedTableName,REFERENCED_COLUMN_NAME as referencedColumnName FROM INFORMATION_SCHEMA.KEY_COLUMN_USAGE where TABLE_NAME = 'Room' AND CONSTRAINT_NAME!='PRIMARY' AND CONSTRAINT_SCHEMA='rentals' AND REFERENCED_TABLE_NAME IS NOT NULL; Executing (default): SELECT CONSTRAINT_CATALOG AS constraintCatalog, CONSTRAINT_NAME AS constraintName, CONSTRAINT_SCHEMA AS constraintSchema, CONSTRAINT_TYPE AS constraintType, TABLE_NAME AS tableName, TABLE_SCHEMA AS tableSchema from INFORMATION_SCHEMA.TABLE_CONSTRAINTS WHERE table_name='Room' AND constraint_name = 'Room_ibfk_1' AND TABLE_SCHEMA = 'rentals'; Executing (default): ALTER TABLE `Room` DROP FOREIGN KEY `Room_ibfk_1`; Executing (default): ALTER TABLE `Room` ADD FOREIGN KEY (`building_id`) REFERENCES `Building` (`id`) ON DELETE NO ACTION ON UPDATE CASCADE; Executing (default): SELECT CONSTRAINT_CATALOG AS constraintCatalog, CONSTRAINT_NAME AS constraintName, CONSTRAINT_SCHEMA AS constraintSchema, CONSTRAINT_TYPE AS constraintType, TABLE_NAME AS tableName, TABLE_SCHEMA AS tableSchema from INFORMATION_SCHEMA.TABLE_CONSTRAINTS WHERE table_name='Room' AND constraint_name = 'Room_ibfk_2' AND TABLE_SCHEMA = 'rentals'; Executing (default): ALTER TABLE `Room` DROP FOREIGN KEY `Room_ibfk_2`; Executing (default): ALTER TABLE `Room` ADD FOREIGN KEY (`floor_id`) REFERENCES `Floor` (`id`) ON DELETE CASCADE ON UPDATE CASCADE; Executing (default): ALTER TABLE `Room` CHANGE `room_number` `room_number` VARCHAR(255) NOT NULL; Executing (default): ALTER TABLE `Room` CHANGE `total_beds` `total_beds` INTEGER NOT NULL; Executing (default): ALTER TABLE `Room` CHANGE `occupied_beds` `occupied_beds` INTEGER DEFAULT 0; Executing (default): ALTER TABLE `Room` CHANGE `rent_per_bed` `rent_per_bed` DECIMAL(10,2) NOT NULL; Executing (default): ALTER TABLE `Room` CHANGE `facilities` `facilities` JSON; Executing (default): ALTER TABLE `Room` CHANGE `room_type` `room_type` ENUM('single', 'shared', 'family', 'studio') DEFAULT 'shared'; Executing (default): ALTER TABLE `Room` CHANGE `area` `area` DECIMAL(8,2); Executing (default): ALTER TABLE `Room` CHANGE `has_balcony` `has_balcony` TINYINT(1) DEFAULT false; Executing (default): ALTER TABLE `Room` CHANGE `has_attached_bathroom` `has_attached_bathroom` TINYINT(1) DEFAULT false; Executing (default): ALTER TABLE `Room` CHANGE `furnishing_status` `furnishing_status` ENUM('furnished', 'semi_furnished', 'unfurnished') DEFAULT 'furnished'; Executing (default): ALTER TABLE `Room` CHANGE `condition` `condition` ENUM('excellent', 'good', 'fair', 'needs_repair') DEFAULT 'good'; Executing (default): ALTER TABLE `Room` CHANGE `last_cleaned` `last_cleaned` DATETIME; Executing (default): ALTER TABLE `Room` CHANGE `security_deposit` `security_deposit` DECIMAL(10,2) DEFAULT 0; Executing (default): ALTER TABLE `Room` CHANGE `available_from` `available_from` DATETIME; Executing (default): ALTER TABLE `Room` CHANGE `created_at` `created_at` DATETIME NOT NULL; Executing (default): ALTER TABLE `Room` CHANGE `updated_at` `updated_at` DATETIME NOT NULL; Executing (default): SHOW INDEX FROM `Room` Executing (default): SELECT TABLE_NAME FROM INFORMATION_SCHEMA.TABLES WHERE TABLE_TYPE = 'BASE TABLE' AND TABLE_NAME = 'Bed' AND TABLE_SCHEMA = 'rentals' Executing (default): SHOW FULL COLUMNS FROM `Bed`; Executing (default): SELECT CONSTRAINT_NAME as constraint_name,CONSTRAINT_NAME as constraintName,CONSTRAINT_SCHEMA as constraintSchema,CONSTRAINT_SCHEMA as constraintCatalog,TABLE_NAME as tableName,TABLE_SCHEMA as tableSchema,TABLE_SCHEMA as tableCatalog,COLUMN_NAME as columnName,REFERENCED_TABLE_SCHEMA as referencedTableSchema,REFERENCED_TABLE_SCHEMA as referencedTableCatalog,REFERENCED_TABLE_NAME as referencedTableName,REFERENCED_COLUMN_NAME as referencedColumnName FROM INFORMATION_SCHEMA.KEY_COLUMN_USAGE where TABLE_NAME = 'Bed' AND CONSTRAINT_NAME!='PRIMARY' AND CONSTRAINT_SCHEMA='rentals' AND REFERENCED_TABLE_NAME IS NOT NULL; Executing (default): SELECT CONSTRAINT_CATALOG AS constraintCatalog, CONSTRAINT_NAME AS constraintName, CONSTRAINT_SCHEMA AS constraintSchema, CONSTRAINT_TYPE AS constraintType, TABLE_NAME AS tableName, TABLE_SCHEMA AS tableSchema from INFORMATION_SCHEMA.TABLE_CONSTRAINTS WHERE table_name='Bed' AND constraint_name = 'Bed_ibfk_1' AND TABLE_SCHEMA = 'rentals'; Executing (default): ALTER TABLE `Bed` DROP FOREIGN KEY `Bed_ibfk_1`; Executing (default): ALTER TABLE `Bed` ADD FOREIGN KEY (`building_id`) REFERENCES `Building` (`id`) ON DELETE NO ACTION ON UPDATE CASCADE; Executing (default): SELECT CONSTRAINT_CATALOG AS constraintCatalog, CONSTRAINT_NAME AS constraintName, CONSTRAINT_SCHEMA AS constraintSchema, CONSTRAINT_TYPE AS constraintType, TABLE_NAME AS tableName, TABLE_SCHEMA AS tableSchema from INFORMATION_SCHEMA.TABLE_CONSTRAINTS WHERE table_name='Bed' AND constraint_name = 'Bed_ibfk_2' AND TABLE_SCHEMA = 'rentals'; Executing (default): ALTER TABLE `Bed` DROP FOREIGN KEY `Bed_ibfk_2`; Executing (default): ALTER TABLE `Bed` ADD FOREIGN KEY (`floor_id`) REFERENCES `Floor` (`id`) ON DELETE NO ACTION ON UPDATE CASCADE; Executing (default): SELECT CONSTRAINT_CATALOG AS constraintCatalog, CONSTRAINT_NAME AS constraintName, CONSTRAINT_SCHEMA AS constraintSchema, CONSTRAINT_TYPE AS constraintType, TABLE_NAME AS tableName, TABLE_SCHEMA AS tableSchema from INFORMATION_SCHEMA.TABLE_CONSTRAINTS WHERE table_name='Bed' AND constraint_name = 'Bed_ibfk_3' AND TABLE_SCHEMA = 'rentals'; Executing (default): ALTER TABLE `Bed` DROP FOREIGN KEY `Bed_ibfk_3`; Executing (default): ALTER TABLE `Bed` ADD FOREIGN KEY (`room_id`) REFERENCES `Room` (`id`) ON DELETE CASCADE ON UPDATE CASCADE; Executing (default): ALTER TABLE `Bed` CHANGE `bed_number` `bed_number` VARCHAR(255) NOT NULL; Executing (default): ALTER TABLE `Bed` CHANGE `is_occupied` `is_occupied` TINYINT(1) DEFAULT false; Executing (default): ALTER TABLE `Bed` CHANGE `monthly_rent` `monthly_rent` DECIMAL(10,2) NOT NULL; Executing (default): ALTER TABLE `Bed` CHANGE `status` `status` ENUM('available', 'occupied', 'maintenance', 'reserved') DEFAULT 'available'; Executing (default): ALTER TABLE `Bed` CHANGE `bed_type` `bed_type` ENUM('single', 'double', 'bunk') DEFAULT 'single'; Executing (default): ALTER TABLE `Bed` CHANGE `last_cleaned` `last_cleaned` DATETIME; Executing (default): ALTER TABLE `Bed` CHANGE `notes` `notes` TEXT; Executing (default): ALTER TABLE `Bed` CHANGE `reserved_until` `reserved_until` DATETIME; Executing (default): ALTER TABLE `Bed` CHANGE `maintenance_scheduled` `maintenance_scheduled` DATETIME; Executing (default): ALTER TABLE `Bed` CHANGE `created_at` `created_at` DATETIME NOT NULL; Executing (default): ALTER TABLE `Bed` CHANGE `updated_at` `updated_at` DATETIME NOT NULL; Executing (default): SHOW INDEX FROM `Bed` Executing (default): SELECT TABLE_NAME FROM INFORMATION_SCHEMA.TABLES WHERE TABLE_TYPE = 'BASE TABLE' AND TABLE_NAME = 'Renter' AND TABLE_SCHEMA = 'rentals' Executing (default): SHOW FULL COLUMNS FROM `Renter`; Executing (default): SELECT CONSTRAINT_NAME as constraint_name,CONSTRAINT_NAME as constraintName,CONSTRAINT_SCHEMA as constraintSchema,CONSTRAINT_SCHEMA as constraintCatalog,TABLE_NAME as tableName,TABLE_SCHEMA as tableSchema,TABLE_SCHEMA as tableCatalog,COLUMN_NAME as columnName,REFERENCED_TABLE_SCHEMA as referencedTableSchema,REFERENCED_TABLE_SCHEMA as referencedTableCatalog,REFERENCED_TABLE_NAME as referencedTableName,REFERENCED_COLUMN_NAME as referencedColumnName FROM INFORMATION_SCHEMA.KEY_COLUMN_USAGE where TABLE_NAME = 'Renter' AND CONSTRAINT_NAME!='PRIMARY' AND CONSTRAINT_SCHEMA='rentals' AND REFERENCED_TABLE_NAME IS NOT NULL; Executing (default): ALTER TABLE `Renter` CHANGE `name` `name` VARCHAR(255) NOT NULL; Executing (default): ALTER TABLE `Renter` CHANGE `email` `email` VARCHAR(255) NOT NULL; Executing (default): ALTER TABLE `Renter` CHANGE `phone` `phone` VARCHAR(255) NOT NULL; Executing (default): ALTER TABLE `Renter` CHANGE `alternate_phone` `alternate_phone` VARCHAR(255); Executing (default): ALTER TABLE `Renter` CHANGE `nid` `nid` VARCHAR(255) NOT NULL UNIQUE; Executing (default): SELECT CONSTRAINT_CATALOG AS constraintCatalog, CONSTRAINT_NAME AS constraintName, CONSTRAINT_SCHEMA AS constraintSchema, CONSTRAINT_TYPE AS constraintType, TABLE_NAME AS tableName, TABLE_SCHEMA AS tableSchema from INFORMATION_SCHEMA.TABLE_CONSTRAINTS WHERE table_name='Renter' AND constraint_name = 'Renter_ibfk_1' AND TABLE_SCHEMA = 'rentals'; Executing (default): ALTER TABLE `Renter` DROP FOREIGN KEY `Renter_ibfk_1`; Executing (default): ALTER TABLE `Renter` ADD FOREIGN KEY (`building_id`) REFERENCES `Building` (`id`) ON DELETE NO ACTION ON UPDATE CASCADE; Executing (default): SELECT CONSTRAINT_CATALOG AS constraintCatalog, CONSTRAINT_NAME AS constraintName, CONSTRAINT_SCHEMA AS constraintSchema, CONSTRAINT_TYPE AS constraintType, TABLE_NAME AS tableName, TABLE_SCHEMA AS tableSchema from INFORMATION_SCHEMA.TABLE_CONSTRAINTS WHERE table_name='Renter' AND constraint_name = 'Renter_ibfk_2' AND TABLE_SCHEMA = 'rentals'; Executing (default): ALTER TABLE `Renter` DROP FOREIGN KEY `Renter_ibfk_2`; Executing (default): ALTER TABLE `Renter` ADD FOREIGN KEY (`floor_id`) REFERENCES `Floor` (`id`) ON DELETE NO ACTION ON UPDATE CASCADE; Executing (default): SELECT CONSTRAINT_CATALOG AS constraintCatalog, CONSTRAINT_NAME AS constraintName, CONSTRAINT_SCHEMA AS constraintSchema, CONSTRAINT_TYPE AS constraintType, TABLE_NAME AS tableName, TABLE_SCHEMA AS tableSchema from INFORMATION_SCHEMA.TABLE_CONSTRAINTS WHERE table_name='Renter' AND constraint_name = 'Renter_ibfk_3' AND TABLE_SCHEMA = 'rentals'; Executing (default): ALTER TABLE `Renter` DROP FOREIGN KEY `Renter_ibfk_3`; Executing (default): ALTER TABLE `Renter` ADD FOREIGN KEY (`room_id`) REFERENCES `Room` (`id`) ON DELETE NO ACTION ON UPDATE CASCADE; Executing (default): SELECT CONSTRAINT_CATALOG AS constraintCatalog, CONSTRAINT_NAME AS constraintName, CONSTRAINT_SCHEMA AS constraintSchema, CONSTRAINT_TYPE AS constraintType, TABLE_NAME AS tableName, TABLE_SCHEMA AS tableSchema from INFORMATION_SCHEMA.TABLE_CONSTRAINTS WHERE table_name='Renter' AND constraint_name = 'Renter_ibfk_4' AND TABLE_SCHEMA = 'rentals'; Executing (default): ALTER TABLE `Renter` DROP FOREIGN KEY `Renter_ibfk_4`; Executing (default): ALTER TABLE `Renter` ADD FOREIGN KEY (`bed_id`) REFERENCES `Bed` (`id`) ON DELETE CASCADE ON UPDATE CASCADE; Executing (default): ALTER TABLE `Renter` CHANGE `rent_amount` `rent_amount` DECIMAL(10,2) NOT NULL; Executing (default): ALTER TABLE `Renter` CHANGE `security_deposit` `security_deposit` DECIMAL(10,2) NOT NULL; Executing (default): ALTER TABLE `Renter` CHANGE `check_in_date` `check_in_date` DATETIME NOT NULL; Executing (default): ALTER TABLE `Renter` CHANGE `check_out_date` `check_out_date` DATETIME; Executing (default): ALTER TABLE `Renter` CHANGE `lease_start_date` `lease_start_date` DATETIME NOT NULL; Executing (default): ALTER TABLE `Renter` CHANGE `lease_end_date` `lease_end_date` DATETIME NOT NULL; Executing (default): ALTER TABLE `Renter` CHANGE `status` `status` ENUM('active', 'inactive', 'notice_period', 'blacklisted') DEFAULT 'active'; Executing (default): ALTER TABLE `Renter` CHANGE `emergency_contact` `emergency_contact` VARCHAR(255) NOT NULL; Executing (default): ALTER TABLE `Renter` CHANGE `emergency_relation` `emergency_relation` VARCHAR(255) NOT NULL; Executing (default): ALTER TABLE `Renter` CHANGE `profile_photo` `profile_photo` VARCHAR(255); Executing (default): ALTER TABLE `Renter` CHANGE `occupation` `occupation` VARCHAR(255); Executing (default): ALTER TABLE `Renter` CHANGE `company` `company` VARCHAR(255); Executing (default): ALTER TABLE `Renter` CHANGE `monthly_income` `monthly_income` DECIMAL(10,2); Executing (default): ALTER TABLE `Renter` CHANGE `previous_address` `previous_address` TEXT; Executing (default): ALTER TABLE `Renter` CHANGE `references` `references` TEXT; Executing (default): ALTER TABLE `Renter` CHANGE `notice_period` `notice_period` INTEGER DEFAULT 30; Executing (default): ALTER TABLE `Renter` CHANGE `preferences` `preferences` JSON; Executing (default): ALTER TABLE `Renter` CHANGE `payment_history` `payment_history` JSON; Executing (default): ALTER TABLE `Renter` CHANGE `created_at` `created_at` DATETIME NOT NULL; Executing (default): ALTER TABLE `Renter` CHANGE `updated_at` `updated_at` DATETIME NOT NULL; Executing (default): SHOW INDEX FROM `Renter` Executing (default): SELECT TABLE_NAME FROM INFORMATION_SCHEMA.TABLES WHERE TABLE_TYPE = 'BASE TABLE' AND TABLE_NAME = 'RenterDocument' AND TABLE_SCHEMA = 'rentals' Executing (default): SHOW FULL COLUMNS FROM `RenterDocument`; Executing (default): SELECT CONSTRAINT_NAME as constraint_name,CONSTRAINT_NAME as constraintName,CONSTRAINT_SCHEMA as constraintSchema,CONSTRAINT_SCHEMA as constraintCatalog,TABLE_NAME as tableName,TABLE_SCHEMA as tableSchema,TABLE_SCHEMA as tableCatalog,COLUMN_NAME as columnName,REFERENCED_TABLE_SCHEMA as referencedTableSchema,REFERENCED_TABLE_SCHEMA as referencedTableCatalog,REFERENCED_TABLE_NAME as referencedTableName,REFERENCED_COLUMN_NAME as referencedColumnName FROM INFORMATION_SCHEMA.KEY_COLUMN_USAGE where TABLE_NAME = 'RenterDocument' AND CONSTRAINT_NAME!='PRIMARY' AND CONSTRAINT_SCHEMA='rentals' AND REFERENCED_TABLE_NAME IS NOT NULL; Executing (default): SELECT CONSTRAINT_CATALOG AS constraintCatalog, CONSTRAINT_NAME AS constraintName, CONSTRAINT_SCHEMA AS constraintSchema, CONSTRAINT_TYPE AS constraintType, TABLE_NAME AS tableName, TABLE_SCHEMA AS tableSchema from INFORMATION_SCHEMA.TABLE_CONSTRAINTS WHERE table_name='RenterDocument' AND constraint_name = 'RenterDocument_ibfk_1' AND TABLE_SCHEMA = 'rentals'; Executing (default): ALTER TABLE `RenterDocument` DROP FOREIGN KEY `RenterDocument_ibfk_1`; Executing (default): ALTER TABLE `RenterDocument` ADD FOREIGN KEY (`renter_id`) REFERENCES `Renter` (`id`) ON DELETE CASCADE ON UPDATE CASCADE; Executing (default): ALTER TABLE `RenterDocument` CHANGE `type` `type` ENUM('nid', 'passport', 'contract', 'photo', 'income_proof', 'reference', 'other') NOT NULL; Executing (default): ALTER TABLE `RenterDocument` CHANGE `file_name` `file_name` VARCHAR(255) NOT NULL; Executing (default): ALTER TABLE `RenterDocument` CHANGE `file_url` `file_url` VARCHAR(255) NOT NULL; Executing (default): ALTER TABLE `RenterDocument` CHANGE `file_size` `file_size` INTEGER; Executing (default): ALTER TABLE `RenterDocument` CHANGE `mime_type` `mime_type` VARCHAR(255); Executing (default): ALTER TABLE `RenterDocument` CHANGE `description` `description` TEXT; Executing (default): ALTER TABLE `RenterDocument` CHANGE `created_at` `created_at` DATETIME NOT NULL; Executing (default): ALTER TABLE `RenterDocument` CHANGE `updated_at` `updated_at` DATETIME NOT NULL; Executing (default): SHOW INDEX FROM `RenterDocument` Executing (default): SELECT TABLE_NAME FROM INFORMATION_SCHEMA.TABLES WHERE TABLE_TYPE = 'BASE TABLE' AND TABLE_NAME = 'RentPayment' AND TABLE_SCHEMA = 'rentals' Executing (default): SHOW FULL COLUMNS FROM `RentPayment`; Executing (default): SELECT CONSTRAINT_NAME as constraint_name,CONSTRAINT_NAME as constraintName,CONSTRAINT_SCHEMA as constraintSchema,CONSTRAINT_SCHEMA as constraintCatalog,TABLE_NAME as tableName,TABLE_SCHEMA as tableSchema,TABLE_SCHEMA as tableCatalog,COLUMN_NAME as columnName,REFERENCED_TABLE_SCHEMA as referencedTableSchema,REFERENCED_TABLE_SCHEMA as referencedTableCatalog,REFERENCED_TABLE_NAME as referencedTableName,REFERENCED_COLUMN_NAME as referencedColumnName FROM INFORMATION_SCHEMA.KEY_COLUMN_USAGE where TABLE_NAME = 'RentPayment' AND CONSTRAINT_NAME!='PRIMARY' AND CONSTRAINT_SCHEMA='rentals' AND REFERENCED_TABLE_NAME IS NOT NULL; Executing (default): SELECT CONSTRAINT_CATALOG AS constraintCatalog, CONSTRAINT_NAME AS constraintName, CONSTRAINT_SCHEMA AS constraintSchema, CONSTRAINT_TYPE AS constraintType, TABLE_NAME AS tableName, TABLE_SCHEMA AS tableSchema from INFORMATION_SCHEMA.TABLE_CONSTRAINTS WHERE table_name='RentPayment' AND constraint_name = 'RentPayment_ibfk_1' AND TABLE_SCHEMA = 'rentals'; Executing (default): ALTER TABLE `RentPayment` DROP FOREIGN KEY `RentPayment_ibfk_1`; Executing (default): ALTER TABLE `RentPayment` ADD FOREIGN KEY (`renter_id`) REFERENCES `Renter` (`id`) ON DELETE CASCADE ON UPDATE CASCADE; Executing (default): ALTER TABLE `RentPayment` CHANGE `amount` `amount` DECIMAL(10,2) NOT NULL; Executing (default): ALTER TABLE `RentPayment` CHANGE `due_date` `due_date` DATETIME NOT NULL; Executing (default): ALTER TABLE `RentPayment` CHANGE `paid_date` `paid_date` VARCHAR(255); Executing (default): ALTER TABLE `RentPayment` CHANGE `status` `status` ENUM('paid', 'pending', 'overdue', 'partial') DEFAULT 'pending'; Executing (default): ALTER TABLE `RentPayment` CHANGE `month` `month` VARCHAR(255) NOT NULL; Executing (default): ALTER TABLE `RentPayment` CHANGE `year` `year` INTEGER NOT NULL; Executing (default): ALTER TABLE `RentPayment` CHANGE `payment_method` `payment_method` VARCHAR(255); Executing (default): ALTER TABLE `RentPayment` CHANGE `transaction_id` `transaction_id` VARCHAR(255); Executing (default): ALTER TABLE `RentPayment` CHANGE `late_fee` `late_fee` DECIMAL(10,2) DEFAULT 0; Executing (default): ALTER TABLE `RentPayment` CHANGE `discount` `discount` DECIMAL(10,2) DEFAULT 0; Executing (default): ALTER TABLE `RentPayment` CHANGE `notes` `notes` TEXT; Executing (default): ALTER TABLE `RentPayment` CHANGE `receipt_number` `receipt_number` VARCHAR(255); Executing (default): ALTER TABLE `RentPayment` CHANGE `collected_by` `collected_by` VARCHAR(255); Executing (default): ALTER TABLE `RentPayment` CHANGE `renter_name` `renter_name` VARCHAR(255); Executing (default): ALTER TABLE `RentPayment` CHANGE `room_number` `room_number` VARCHAR(255); Executing (default): ALTER TABLE `RentPayment` CHANGE `created_at` `created_at` DATETIME NOT NULL; Executing (default): ALTER TABLE `RentPayment` CHANGE `updated_at` `updated_at` DATETIME NOT NULL; Executing (default): SHOW INDEX FROM `RentPayment` Executing (default): SELECT TABLE_NAME FROM INFORMATION_SCHEMA.TABLES WHERE TABLE_TYPE = 'BASE TABLE' AND TABLE_NAME = 'Maintenance' AND TABLE_SCHEMA = 'rentals' Executing (default): SHOW FULL COLUMNS FROM `Maintenance`; Executing (default): SELECT CONSTRAINT_NAME as constraint_name,CONSTRAINT_NAME as constraintName,CONSTRAINT_SCHEMA as constraintSchema,CONSTRAINT_SCHEMA as constraintCatalog,TABLE_NAME as tableName,TABLE_SCHEMA as tableSchema,TABLE_SCHEMA as tableCatalog,COLUMN_NAME as columnName,REFERENCED_TABLE_SCHEMA as referencedTableSchema,REFERENCED_TABLE_SCHEMA as referencedTableCatalog,REFERENCED_TABLE_NAME as referencedTableName,REFERENCED_COLUMN_NAME as referencedColumnName FROM INFORMATION_SCHEMA.KEY_COLUMN_USAGE where TABLE_NAME = 'Maintenance' AND CONSTRAINT_NAME!='PRIMARY' AND CONSTRAINT_SCHEMA='rentals' AND REFERENCED_TABLE_NAME IS NOT NULL; Executing (default): SELECT CONSTRAINT_CATALOG AS constraintCatalog, CONSTRAINT_NAME AS constraintName, CONSTRAINT_SCHEMA AS constraintSchema, CONSTRAINT_TYPE AS constraintType, TABLE_NAME AS tableName, TABLE_SCHEMA AS tableSchema from INFORMATION_SCHEMA.TABLE_CONSTRAINTS WHERE table_name='Maintenance' AND constraint_name = 'Maintenance_ibfk_1' AND TABLE_SCHEMA = 'rentals'; Executing (default): ALTER TABLE `Maintenance` DROP FOREIGN KEY `Maintenance_ibfk_1`; Executing (default): ALTER TABLE `Maintenance` ADD FOREIGN KEY (`building_id`) REFERENCES `Building` (`id`) ON DELETE CASCADE ON UPDATE CASCADE; Executing (default): SELECT CONSTRAINT_CATALOG AS constraintCatalog, CONSTRAINT_NAME AS constraintName, CONSTRAINT_SCHEMA AS constraintSchema, CONSTRAINT_TYPE AS constraintType, TABLE_NAME AS tableName, TABLE_SCHEMA AS tableSchema from INFORMATION_SCHEMA.TABLE_CONSTRAINTS WHERE table_name='Maintenance' AND constraint_name = 'Maintenance_ibfk_2' AND TABLE_SCHEMA = 'rentals'; Executing (default): ALTER TABLE `Maintenance` DROP FOREIGN KEY `Maintenance_ibfk_2`; Executing (default): ALTER TABLE `Maintenance` ADD FOREIGN KEY (`floor_id`) REFERENCES `Floor` (`id`) ON DELETE SET NULL ON UPDATE CASCADE; Executing (default): SELECT CONSTRAINT_CATALOG AS constraintCatalog, CONSTRAINT_NAME AS constraintName, CONSTRAINT_SCHEMA AS constraintSchema, CONSTRAINT_TYPE AS constraintType, TABLE_NAME AS tableName, TABLE_SCHEMA AS tableSchema from INFORMATION_SCHEMA.TABLE_CONSTRAINTS WHERE table_name='Maintenance' AND constraint_name = 'Maintenance_ibfk_3' AND TABLE_SCHEMA = 'rentals'; Executing (default): ALTER TABLE `Maintenance` DROP FOREIGN KEY `Maintenance_ibfk_3`; Executing (default): ALTER TABLE `Maintenance` ADD FOREIGN KEY (`room_id`) REFERENCES `Room` (`id`) ON DELETE SET NULL ON UPDATE CASCADE; Executing (default): SELECT CONSTRAINT_CATALOG AS constraintCatalog, CONSTRAINT_NAME AS constraintName, CONSTRAINT_SCHEMA AS constraintSchema, CONSTRAINT_TYPE AS constraintType, TABLE_NAME AS tableName, TABLE_SCHEMA AS tableSchema from INFORMATION_SCHEMA.TABLE_CONSTRAINTS WHERE table_name='Maintenance' AND constraint_name = 'Maintenance_ibfk_4' AND TABLE_SCHEMA = 'rentals'; Executing (default): ALTER TABLE `Maintenance` DROP FOREIGN KEY `Maintenance_ibfk_4`; Executing (default): ALTER TABLE `Maintenance` ADD FOREIGN KEY (`bed_id`) REFERENCES `Bed` (`id`); Executing (default): ALTER TABLE `Maintenance` CHANGE `type` `type` ENUM('cleaning', 'repair', 'inspection', 'upgrade', 'pest_control', 'painting') NOT NULL; Executing (default): ALTER TABLE `Maintenance` CHANGE `category` `category` ENUM('electrical', 'plumbing', 'hvac', 'structural', 'general', 'security') DEFAULT 'general'; Executing (default): ALTER TABLE `Maintenance` CHANGE `description` `description` TEXT NOT NULL; Executing (default): ALTER TABLE `Maintenance` CHANGE `priority` `priority` ENUM('low', 'medium', 'high', 'urgent') DEFAULT 'medium'; Executing (default): ALTER TABLE `Maintenance` CHANGE `status` `status` ENUM('pending', 'in_progress', 'completed', 'cancelled', 'on_hold') DEFAULT 'pending'; Executing (default): ALTER TABLE `Maintenance` CHANGE `assigned_to` `assigned_to` VARCHAR(255); Executing (default): ALTER TABLE `Maintenance` CHANGE `cost` `cost` DECIMAL(10,2); Executing (default): ALTER TABLE `Maintenance` CHANGE `estimated_cost` `estimated_cost` DECIMAL(10,2); Executing (default): ALTER TABLE `Maintenance` CHANGE `scheduled_date` `scheduled_date` VARCHAR(255) NOT NULL; Executing (default): ALTER TABLE `Maintenance` CHANGE `completed_date` `completed_date` VARCHAR(255); Executing (default): ALTER TABLE `Maintenance` CHANGE `notes` `notes` TEXT; Executing (default): ALTER TABLE `Maintenance` CHANGE `images` `images` JSON; Executing (default): ALTER TABLE `Maintenance` CHANGE `warranty` `warranty` VARCHAR(255); Executing (default): ALTER TABLE `Maintenance` CHANGE `next_maintenance_date` `next_maintenance_date` DATETIME; Executing (default): ALTER TABLE `Maintenance` CHANGE `created_at` `created_at` DATETIME NOT NULL; Executing (default): ALTER TABLE `Maintenance` CHANGE `updated_at` `updated_at` DATETIME NOT NULL; Executing (default): SHOW INDEX FROM `Maintenance` Executing (default): SELECT TABLE_NAME FROM INFORMATION_SCHEMA.TABLES WHERE TABLE_TYPE = 'BASE TABLE' AND TABLE_NAME = 'Expense' AND TABLE_SCHEMA = 'rentals' Executing (default): SHOW FULL COLUMNS FROM `Expense`; Executing (default): SELECT CONSTRAINT_NAME as constraint_name,CONSTRAINT_NAME as constraintName,CONSTRAINT_SCHEMA as constraintSchema,CONSTRAINT_SCHEMA as constraintCatalog,TABLE_NAME as tableName,TABLE_SCHEMA as tableSchema,TABLE_SCHEMA as tableCatalog,COLUMN_NAME as columnName,REFERENCED_TABLE_SCHEMA as referencedTableSchema,REFERENCED_TABLE_SCHEMA as referencedTableCatalog,REFERENCED_TABLE_NAME as referencedTableName,REFERENCED_COLUMN_NAME as referencedColumnName FROM INFORMATION_SCHEMA.KEY_COLUMN_USAGE where TABLE_NAME = 'Expense' AND CONSTRAINT_NAME!='PRIMARY' AND CONSTRAINT_SCHEMA='rentals' AND REFERENCED_TABLE_NAME IS NOT NULL; Executing (default): SELECT CONSTRAINT_CATALOG AS constraintCatalog, CONSTRAINT_NAME AS constraintName, CONSTRAINT_SCHEMA AS constraintSchema, CONSTRAINT_TYPE AS constraintType, TABLE_NAME AS tableName, TABLE_SCHEMA AS tableSchema from INFORMATION_SCHEMA.TABLE_CONSTRAINTS WHERE table_name='Expense' AND constraint_name = 'Expense_ibfk_1' AND TABLE_SCHEMA = 'rentals'; Executing (default): ALTER TABLE `Expense` DROP FOREIGN KEY `Expense_ibfk_1`; Executing (default): ALTER TABLE `Expense` ADD FOREIGN KEY (`building_id`) REFERENCES `Building` (`id`) ON DELETE SET NULL ON UPDATE CASCADE; Executing (default): SELECT CONSTRAINT_CATALOG AS constraintCatalog, CONSTRAINT_NAME AS constraintName, CONSTRAINT_SCHEMA AS constraintSchema, CONSTRAINT_TYPE AS constraintType, TABLE_NAME AS tableName, TABLE_SCHEMA AS tableSchema from INFORMATION_SCHEMA.TABLE_CONSTRAINTS WHERE table_name='Expense' AND constraint_name = 'Expense_ibfk_2' AND TABLE_SCHEMA = 'rentals'; Executing (default): ALTER TABLE `Expense` DROP FOREIGN KEY `Expense_ibfk_2`; Executing (default): ALTER TABLE `Expense` ADD FOREIGN KEY (`floor_id`) REFERENCES `Floor` (`id`); Executing (default): ALTER TABLE `Expense` CHANGE `category` `category` ENUM('maintenance', 'utilities', 'staff', 'supplies', 'insurance', 'taxes', 'marketing', 'other') NOT NULL; Executing (default): ALTER TABLE `Expense` CHANGE `subcategory` `subcategory` VARCHAR(255); Executing (default): ALTER TABLE `Expense` CHANGE `description` `description` TEXT NOT NULL; Executing (default): ALTER TABLE `Expense` CHANGE `amount` `amount` DECIMAL(10,2) NOT NULL; Executing (default): ALTER TABLE `Expense` CHANGE `date` `date` DATETIME NOT NULL; Executing (default): ALTER TABLE `Expense` CHANGE `vendor` `vendor` VARCHAR(255); Executing (default): ALTER TABLE `Expense` CHANGE `receipt` `receipt` VARCHAR(255); Executing (default): ALTER TABLE `Expense` CHANGE `approved_by` `approved_by` VARCHAR(255); Executing (default): ALTER TABLE `Expense` CHANGE `payment_method` `payment_method` VARCHAR(255); Executing (default): ALTER TABLE `Expense` CHANGE `is_recurring` `is_recurring` TINYINT(1) DEFAULT false; Executing (default): ALTER TABLE `Expense` CHANGE `recurring_frequency` `recurring_frequency` ENUM('monthly', 'quarterly', 'yearly'); Executing (default): ALTER TABLE `Expense` CHANGE `budget_category` `budget_category` VARCHAR(255); Executing (default): ALTER TABLE `Expense` CHANGE `created_at` `created_at` DATETIME NOT NULL; Executing (default): ALTER TABLE `Expense` CHANGE `updated_at` `updated_at` DATETIME NOT NULL; Executing (default): SHOW INDEX FROM `Expense` Executing (default): SELECT TABLE_NAME FROM INFORMATION_SCHEMA.TABLES WHERE TABLE_TYPE = 'BASE TABLE' AND TABLE_NAME = 'Notice' AND TABLE_SCHEMA = 'rentals' Executing (default): SHOW FULL COLUMNS FROM `Notice`; Executing (default): SELECT CONSTRAINT_NAME as constraint_name,CONSTRAINT_NAME as constraintName,CONSTRAINT_SCHEMA as constraintSchema,CONSTRAINT_SCHEMA as constraintCatalog,TABLE_NAME as tableName,TABLE_SCHEMA as tableSchema,TABLE_SCHEMA as tableCatalog,COLUMN_NAME as columnName,REFERENCED_TABLE_SCHEMA as referencedTableSchema,REFERENCED_TABLE_SCHEMA as referencedTableCatalog,REFERENCED_TABLE_NAME as referencedTableName,REFERENCED_COLUMN_NAME as referencedColumnName FROM INFORMATION_SCHEMA.KEY_COLUMN_USAGE where TABLE_NAME = 'Notice' AND CONSTRAINT_NAME!='PRIMARY' AND CONSTRAINT_SCHEMA='rentals' AND REFERENCED_TABLE_NAME IS NOT NULL; Executing (default): ALTER TABLE `Notice` CHANGE `title` `title` VARCHAR(255) NOT NULL; Executing (default): ALTER TABLE `Notice` CHANGE `content` `content` TEXT NOT NULL; Executing (default): ALTER TABLE `Notice` CHANGE `type` `type` ENUM('general', 'maintenance', 'payment', 'emergency', 'event') DEFAULT 'general'; Executing (default): ALTER TABLE `Notice` CHANGE `priority` `priority` ENUM('low', 'medium', 'high') DEFAULT 'medium'; Executing (default): ALTER TABLE `Notice` CHANGE `target_audience` `target_audience` ENUM('all', 'renters', 'staff', 'specific') DEFAULT 'all'; Executing (default): ALTER TABLE `Notice` CHANGE `target_ids` `target_ids` JSON; Executing (default): SELECT CONSTRAINT_CATALOG AS constraintCatalog, CONSTRAINT_NAME AS constraintName, CONSTRAINT_SCHEMA AS constraintSchema, CONSTRAINT_TYPE AS constraintType, TABLE_NAME AS tableName, TABLE_SCHEMA AS tableSchema from INFORMATION_SCHEMA.TABLE_CONSTRAINTS WHERE table_name='Notice' AND constraint_name = 'Notice_ibfk_1' AND TABLE_SCHEMA = 'rentals'; Executing (default): ALTER TABLE `Notice` DROP FOREIGN KEY `Notice_ibfk_1`; Executing (default): ALTER TABLE `Notice` ADD FOREIGN KEY (`building_id`) REFERENCES `Building` (`id`) ON DELETE SET NULL ON UPDATE CASCADE; Executing (default): SELECT CONSTRAINT_CATALOG AS constraintCatalog, CONSTRAINT_NAME AS constraintName, CONSTRAINT_SCHEMA AS constraintSchema, CONSTRAINT_TYPE AS constraintType, TABLE_NAME AS tableName, TABLE_SCHEMA AS tableSchema from INFORMATION_SCHEMA.TABLE_CONSTRAINTS WHERE table_name='Notice' AND constraint_name = 'Notice_ibfk_2' AND TABLE_SCHEMA = 'rentals'; Executing (default): ALTER TABLE `Notice` DROP FOREIGN KEY `Notice_ibfk_2`; Executing (default): ALTER TABLE `Notice` ADD FOREIGN KEY (`floor_id`) REFERENCES `Floor` (`id`) ON DELETE SET NULL ON UPDATE CASCADE; Executing (default): ALTER TABLE `Notice` CHANGE `created_by` `created_by` VARCHAR(255) NOT NULL; Executing (default): ALTER TABLE `Notice` CHANGE `expiry_date` `expiry_date` DATETIME; Executing (default): ALTER TABLE `Notice` CHANGE `is_active` `is_active` TINYINT(1) DEFAULT true; Executing (default): ALTER TABLE `Notice` CHANGE `read_by` `read_by` JSON; Executing (default): ALTER TABLE `Notice` CHANGE `created_at` `created_at` DATETIME NOT NULL; Executing (default): ALTER TABLE `Notice` CHANGE `updated_at` `updated_at` DATETIME NOT NULL; Executing (default): SHOW INDEX FROM `Notice` Executing (default): SELECT TABLE_NAME FROM INFORMATION_SCHEMA.TABLES WHERE TABLE_TYPE = 'BASE TABLE' AND TABLE_NAME = 'Visitor' AND TABLE_SCHEMA = 'rentals' Executing (default): SHOW FULL COLUMNS FROM `Visitor`; Executing (default): SELECT CONSTRAINT_NAME as constraint_name,CONSTRAINT_NAME as constraintName,CONSTRAINT_SCHEMA as constraintSchema,CONSTRAINT_SCHEMA as constraintCatalog,TABLE_NAME as tableName,TABLE_SCHEMA as tableSchema,TABLE_SCHEMA as tableCatalog,COLUMN_NAME as columnName,REFERENCED_TABLE_SCHEMA as referencedTableSchema,REFERENCED_TABLE_SCHEMA as referencedTableCatalog,REFERENCED_TABLE_NAME as referencedTableName,REFERENCED_COLUMN_NAME as referencedColumnName FROM INFORMATION_SCHEMA.KEY_COLUMN_USAGE where TABLE_NAME = 'Visitor' AND CONSTRAINT_NAME!='PRIMARY' AND CONSTRAINT_SCHEMA='rentals' AND REFERENCED_TABLE_NAME IS NOT NULL; Executing (default): ALTER TABLE `Visitor` CHANGE `visitor_name` `visitor_name` VARCHAR(255) NOT NULL; Executing (default): ALTER TABLE `Visitor` CHANGE `visitor_phone` `visitor_phone` VARCHAR(255) NOT NULL; Executing (default): SELECT CONSTRAINT_CATALOG AS constraintCatalog, CONSTRAINT_NAME AS constraintName, CONSTRAINT_SCHEMA AS constraintSchema, CONSTRAINT_TYPE AS constraintType, TABLE_NAME AS tableName, TABLE_SCHEMA AS tableSchema from INFORMATION_SCHEMA.TABLE_CONSTRAINTS WHERE table_name='Visitor' AND constraint_name = 'Visitor_ibfk_1' AND TABLE_SCHEMA = 'rentals'; Executing (default): ALTER TABLE `Visitor` DROP FOREIGN KEY `Visitor_ibfk_1`; Executing (default): ALTER TABLE `Visitor` ADD FOREIGN KEY (`visiting_renter_id`) REFERENCES `Renter` (`id`) ON DELETE CASCADE ON UPDATE CASCADE; Executing (default): ALTER TABLE `Visitor` CHANGE `check_in_time` `check_in_time` DATETIME NOT NULL; Executing (default): ALTER TABLE `Visitor` CHANGE `check_out_time` `check_out_time` DATETIME; Executing (default): ALTER TABLE `Visitor` CHANGE `purpose` `purpose` VARCHAR(255) NOT NULL; Executing (default): ALTER TABLE `Visitor` CHANGE `approved_by` `approved_by` VARCHAR(255) NOT NULL; Executing (default): ALTER TABLE `Visitor` CHANGE `id_verified` `id_verified` TINYINT(1) DEFAULT false; Executing (default): ALTER TABLE `Visitor` CHANGE `vehicle_number` `vehicle_number` VARCHAR(255); Executing (default): ALTER TABLE `Visitor` CHANGE `notes` `notes` TEXT; Executing (default): ALTER TABLE `Visitor` CHANGE `visiting_renter_name` `visiting_renter_name` VARCHAR(255) NOT NULL; Executing (default): ALTER TABLE `Visitor` CHANGE `created_at` `created_at` DATETIME NOT NULL; Executing (default): ALTER TABLE `Visitor` CHANGE `updated_at` `updated_at` DATETIME NOT NULL; Executing (default): SHOW INDEX FROM `Visitor` Executing (default): SELECT TABLE_NAME FROM INFORMATION_SCHEMA.TABLES WHERE TABLE_TYPE = 'BASE TABLE' AND TABLE_NAME = 'Settings' AND TABLE_SCHEMA = 'rentals' Executing (default): SHOW FULL COLUMNS FROM `Settings`; Executing (default): SELECT CONSTRAINT_NAME as constraint_name,CONSTRAINT_NAME as constraintName,CONSTRAINT_SCHEMA as constraintSchema,CONSTRAINT_SCHEMA as constraintCatalog,TABLE_NAME as tableName,TABLE_SCHEMA as tableSchema,TABLE_SCHEMA as tableCatalog,COLUMN_NAME as columnName,REFERENCED_TABLE_SCHEMA as referencedTableSchema,REFERENCED_TABLE_SCHEMA as referencedTableCatalog,REFERENCED_TABLE_NAME as referencedTableName,REFERENCED_COLUMN_NAME as referencedColumnName FROM INFORMATION_SCHEMA.KEY_COLUMN_USAGE where TABLE_NAME = 'Settings' AND CONSTRAINT_NAME!='PRIMARY' AND CONSTRAINT_SCHEMA='rentals' AND REFERENCED_TABLE_NAME IS NOT NULL; Executing (default): ALTER TABLE `Settings` CHANGE `name` `name` VARCHAR(255) NOT NULL UNIQUE; Executing (default): ALTER TABLE `Settings` CHANGE `value` `value` TEXT; Executing (default): ALTER TABLE `Settings` CHANGE `created_at` `created_at` DATETIME NOT NULL; Executing (default): ALTER TABLE `Settings` CHANGE `updated_at` `updated_at` DATETIME NOT NULL; Executing (default): SHOW INDEX FROM `Settings` Database synchronized successfully. Executing (default): SELECT `id`, `name`, `email`, `password`, `role`, `permissions`, `department`, `phone`, `avatar`, `is_active`, `last_login`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `User` AS `User` WHERE `User`.`email` = 'admin@apartment.com'; Admin user already exists Login credentials: admin@apartment.com / admin123 Server running on port 3001 Environment: development API available at: http://localhost:3001/api Executing (default): SELECT `Renter`.`id`, `Renter`.`name`, `Renter`.`email`, `Renter`.`phone`, `Renter`.`alternate_phone`, `Renter`.`nid`, `Renter`.`building_id`, `Renter`.`floor_id`, `Renter`.`room_id`, `Renter`.`bed_id`, `Renter`.`rent_amount`, `Renter`.`security_deposit`, `Renter`.`check_in_date`, `Renter`.`check_out_date`, `Renter`.`lease_start_date`, `Renter`.`lease_end_date`, `Renter`.`status`, `Renter`.`emergency_contact`, `Renter`.`emergency_relation`, `Renter`.`profile_photo`, `Renter`.`occupation`, `Renter`.`company`, `Renter`.`monthly_income`, `Renter`.`previous_address`, `Renter`.`references`, `Renter`.`notice_period`, `Renter`.`preferences`, `Renter`.`payment_history`, `Renter`.`created_at` AS `createdAt`, `Renter`.`updated_at` AS `updatedAt`, `room`.`id` AS `room.id`, `room`.`building_id` AS `room.building_id`, `room`.`floor_id` AS `room.floor_id`, `room`.`room_number` AS `room.room_number`, `room`.`total_beds` AS `room.total_beds`, `room`.`occupied_beds` AS `room.occupied_beds`, `room`.`rent_per_bed` AS `room.rent_per_bed`, `room`.`facilities` AS `room.facilities`, `room`.`room_type` AS `room.room_type`, `room`.`area` AS `room.area`, `room`.`has_balcony` AS `room.has_balcony`, `room`.`has_attached_bathroom` AS `room.has_attached_bathroom`, `room`.`furnishing_status` AS `room.furnishing_status`, `room`.`condition` AS `room.condition`, `room`.`last_cleaned` AS `room.last_cleaned`, `room`.`security_deposit` AS `room.security_deposit`, `room`.`available_from` AS `room.available_from`, `room`.`created_at` AS `room.createdAt`, `room`.`updated_at` AS `room.updatedAt`, `documents`.`id` AS `documents.id`, `documents`.`renter_id` AS `documents.renter_id`, `documents`.`type` AS `documents.type`, `documents`.`file_name` AS `documents.file_name`, `documents`.`file_url` AS `documents.file_url`, `documents`.`file_size` AS `documents.file_size`, `documents`.`mime_type` AS `documents.mime_type`, `documents`.`description` AS `documents.description`, `documents`.`created_at` AS `documents.createdAt`, `documents`.`updated_at` AS `documents.updatedAt` FROM `Renter` AS `Renter` LEFT OUTER JOIN `Room` AS `room` ON `Renter`.`room_id` = `room`.`id` LEFT OUTER JOIN `RenterDocument` AS `documents` ON `Renter`.`id` = `documents`.`renter_id`; Executing (default): SELECT `id`, `visitor_name`, `visitor_phone`, `visiting_renter_id`, `check_in_time`, `check_out_time`, `purpose`, `approved_by`, `id_verified`, `vehicle_number`, `notes`, `visiting_renter_name`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `Visitor` AS `Visitor`; Executing (default): SELECT `id`, `title`, `content`, `type`, `priority`, `target_audience`, `target_ids`, `building_id`, `floor_id`, `created_by`, `expiry_date`, `is_active`, `read_by`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `Notice` AS `Notice`; Executing (default): SELECT `id`, `name`, `value`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `Settings` AS `Settings`; Executing (default): SELECT `id`, `visitor_name`, `visitor_phone`, `visiting_renter_id`, `check_in_time`, `check_out_time`, `purpose`, `approved_by`, `id_verified`, `vehicle_number`, `notes`, `visiting_renter_name`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `Visitor` AS `Visitor`; Executing (default): SELECT `Renter`.`id`, `Renter`.`name`, `Renter`.`email`, `Renter`.`phone`, `Renter`.`alternate_phone`, `Renter`.`nid`, `Renter`.`building_id`, `Renter`.`floor_id`, `Renter`.`room_id`, `Renter`.`bed_id`, `Renter`.`rent_amount`, `Renter`.`security_deposit`, `Renter`.`check_in_date`, `Renter`.`check_out_date`, `Renter`.`lease_start_date`, `Renter`.`lease_end_date`, `Renter`.`status`, `Renter`.`emergency_contact`, `Renter`.`emergency_relation`, `Renter`.`profile_photo`, `Renter`.`occupation`, `Renter`.`company`, `Renter`.`monthly_income`, `Renter`.`previous_address`, `Renter`.`references`, `Renter`.`notice_period`, `Renter`.`preferences`, `Renter`.`payment_history`, `Renter`.`created_at` AS `createdAt`, `Renter`.`updated_at` AS `updatedAt`, `room`.`id` AS `room.id`, `room`.`building_id` AS `room.building_id`, `room`.`floor_id` AS `room.floor_id`, `room`.`room_number` AS `room.room_number`, `room`.`total_beds` AS `room.total_beds`, `room`.`occupied_beds` AS `room.occupied_beds`, `room`.`rent_per_bed` AS `room.rent_per_bed`, `room`.`facilities` AS `room.facilities`, `room`.`room_type` AS `room.room_type`, `room`.`area` AS `room.area`, `room`.`has_balcony` AS `room.has_balcony`, `room`.`has_attached_bathroom` AS `room.has_attached_bathroom`, `room`.`furnishing_status` AS `room.furnishing_status`, `room`.`condition` AS `room.condition`, `room`.`last_cleaned` AS `room.last_cleaned`, `room`.`security_deposit` AS `room.security_deposit`, `room`.`available_from` AS `room.available_from`, `room`.`created_at` AS `room.createdAt`, `room`.`updated_at` AS `room.updatedAt`, `documents`.`id` AS `documents.id`, `documents`.`renter_id` AS `documents.renter_id`, `documents`.`type` AS `documents.type`, `documents`.`file_name` AS `documents.file_name`, `documents`.`file_url` AS `documents.file_url`, `documents`.`file_size` AS `documents.file_size`, `documents`.`mime_type` AS `documents.mime_type`, `documents`.`description` AS `documents.description`, `documents`.`created_at` AS `documents.createdAt`, `documents`.`updated_at` AS `documents.updatedAt` FROM `Renter` AS `Renter` LEFT OUTER JOIN `Room` AS `room` ON `Renter`.`room_id` = `room`.`id` LEFT OUTER JOIN `RenterDocument` AS `documents` ON `Renter`.`id` = `documents`.`renter_id`; Executing (default): SELECT `id`, `title`, `content`, `type`, `priority`, `target_audience`, `target_ids`, `building_id`, `floor_id`, `created_by`, `expiry_date`, `is_active`, `read_by`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `Notice` AS `Notice`; Executing (default): SELECT `id`, `name`, `value`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `Settings` AS `Settings`; Executing (default): SELECT `id`, `name`, `email`, `password`, `role`, `permissions`, `department`, `phone`, `avatar`, `is_active`, `last_login`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `User` AS `User` WHERE `User`.`email` = 'admin@example.com' AND `User`.`is_active` = true; Executing (default): SELECT `id`, `name`, `email`, `password`, `role`, `permissions`, `department`, `phone`, `avatar`, `is_active`, `last_login`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `User` AS `User` WHERE `User`.`email` = 'admin@demo.com' AND `User`.`is_active` = true; Executing (default): SELECT `id`, `name`, `email`, `password`, `role`, `permissions`, `department`, `phone`, `avatar`, `is_active`, `last_login`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `User` AS `User` WHERE `User`.`email` = 'admin@example.com' AND `User`.`is_active` = true; Executing (default): SELECT `id`, `name`, `email`, `password`, `role`, `permissions`, `department`, `phone`, `avatar`, `is_active`, `last_login`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `User` AS `User` WHERE `User`.`email` = 'admin@apartment.com' AND `User`.`is_active` = true; Executing (default): SELECT `id`, `title`, `content`, `type`, `priority`, `target_audience`, `target_ids`, `building_id`, `floor_id`, `created_by`, `expiry_date`, `is_active`, `read_by`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `Notice` AS `Notice`; Executing (default): SELECT `id`, `visitor_name`, `visitor_phone`, `visiting_renter_id`, `check_in_time`, `check_out_time`, `purpose`, `approved_by`, `id_verified`, `vehicle_number`, `notes`, `visiting_renter_name`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `Visitor` AS `Visitor`; Executing (default): SELECT `Renter`.`id`, `Renter`.`name`, `Renter`.`email`, `Renter`.`phone`, `Renter`.`alternate_phone`, `Renter`.`nid`, `Renter`.`building_id`, `Renter`.`floor_id`, `Renter`.`room_id`, `Renter`.`bed_id`, `Renter`.`rent_amount`, `Renter`.`security_deposit`, `Renter`.`check_in_date`, `Renter`.`check_out_date`, `Renter`.`lease_start_date`, `Renter`.`lease_end_date`, `Renter`.`status`, `Renter`.`emergency_contact`, `Renter`.`emergency_relation`, `Renter`.`profile_photo`, `Renter`.`occupation`, `Renter`.`company`, `Renter`.`monthly_income`, `Renter`.`previous_address`, `Renter`.`references`, `Renter`.`notice_period`, `Renter`.`preferences`, `Renter`.`payment_history`, `Renter`.`created_at` AS `createdAt`, `Renter`.`updated_at` AS `updatedAt`, `room`.`id` AS `room.id`, `room`.`building_id` AS `room.building_id`, `room`.`floor_id` AS `room.floor_id`, `room`.`room_number` AS `room.room_number`, `room`.`total_beds` AS `room.total_beds`, `room`.`occupied_beds` AS `room.occupied_beds`, `room`.`rent_per_bed` AS `room.rent_per_bed`, `room`.`facilities` AS `room.facilities`, `room`.`room_type` AS `room.room_type`, `room`.`area` AS `room.area`, `room`.`has_balcony` AS `room.has_balcony`, `room`.`has_attached_bathroom` AS `room.has_attached_bathroom`, `room`.`furnishing_status` AS `room.furnishing_status`, `room`.`condition` AS `room.condition`, `room`.`last_cleaned` AS `room.last_cleaned`, `room`.`security_deposit` AS `room.security_deposit`, `room`.`available_from` AS `room.available_from`, `room`.`created_at` AS `room.createdAt`, `room`.`updated_at` AS `room.updatedAt`, `documents`.`id` AS `documents.id`, `documents`.`renter_id` AS `documents.renter_id`, `documents`.`type` AS `documents.type`, `documents`.`file_name` AS `documents.file_name`, `documents`.`file_url` AS `documents.file_url`, `documents`.`file_size` AS `documents.file_size`, `documents`.`mime_type` AS `documents.mime_type`, `documents`.`description` AS `documents.description`, `documents`.`created_at` AS `documents.createdAt`, `documents`.`updated_at` AS `documents.updatedAt` FROM `Renter` AS `Renter` LEFT OUTER JOIN `Room` AS `room` ON `Renter`.`room_id` = `room`.`id` LEFT OUTER JOIN `RenterDocument` AS `documents` ON `Renter`.`id` = `documents`.`renter_id`; Executing (default): SELECT `id`, `name`, `value`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `Settings` AS `Settings`; Executing (default): SELECT `Renter`.`id`, `Renter`.`name`, `Renter`.`email`, `Renter`.`phone`, `Renter`.`alternate_phone`, `Renter`.`nid`, `Renter`.`building_id`, `Renter`.`floor_id`, `Renter`.`room_id`, `Renter`.`bed_id`, `Renter`.`rent_amount`, `Renter`.`security_deposit`, `Renter`.`check_in_date`, `Renter`.`check_out_date`, `Renter`.`lease_start_date`, `Renter`.`lease_end_date`, `Renter`.`status`, `Renter`.`emergency_contact`, `Renter`.`emergency_relation`, `Renter`.`profile_photo`, `Renter`.`occupation`, `Renter`.`company`, `Renter`.`monthly_income`, `Renter`.`previous_address`, `Renter`.`references`, `Renter`.`notice_period`, `Renter`.`preferences`, `Renter`.`payment_history`, `Renter`.`created_at` AS `createdAt`, `Renter`.`updated_at` AS `updatedAt`, `room`.`id` AS `room.id`, `room`.`building_id` AS `room.building_id`, `room`.`floor_id` AS `room.floor_id`, `room`.`room_number` AS `room.room_number`, `room`.`total_beds` AS `room.total_beds`, `room`.`occupied_beds` AS `room.occupied_beds`, `room`.`rent_per_bed` AS `room.rent_per_bed`, `room`.`facilities` AS `room.facilities`, `room`.`room_type` AS `room.room_type`, `room`.`area` AS `room.area`, `room`.`has_balcony` AS `room.has_balcony`, `room`.`has_attached_bathroom` AS `room.has_attached_bathroom`, `room`.`furnishing_status` AS `room.furnishing_status`, `room`.`condition` AS `room.condition`, `room`.`last_cleaned` AS `room.last_cleaned`, `room`.`security_deposit` AS `room.security_deposit`, `room`.`available_from` AS `room.available_from`, `room`.`created_at` AS `room.createdAt`, `room`.`updated_at` AS `room.updatedAt`, `documents`.`id` AS `documents.id`, `documents`.`renter_id` AS `documents.renter_id`, `documents`.`type` AS `documents.type`, `documents`.`file_name` AS `documents.file_name`, `documents`.`file_url` AS `documents.file_url`, `documents`.`file_size` AS `documents.file_size`, `documents`.`mime_type` AS `documents.mime_type`, `documents`.`description` AS `documents.description`, `documents`.`created_at` AS `documents.createdAt`, `documents`.`updated_at` AS `documents.updatedAt` FROM `Renter` AS `Renter` LEFT OUTER JOIN `Room` AS `room` ON `Renter`.`room_id` = `room`.`id` LEFT OUTER JOIN `RenterDocument` AS `documents` ON `Renter`.`id` = `documents`.`renter_id`; Executing (default): SELECT `id`, `name`, `value`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `Settings` AS `Settings`; Executing (default): SELECT `id`, `visitor_name`, `visitor_phone`, `visiting_renter_id`, `check_in_time`, `check_out_time`, `purpose`, `approved_by`, `id_verified`, `vehicle_number`, `notes`, `visiting_renter_name`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `Visitor` AS `Visitor`; Executing (default): SELECT `id`, `title`, `content`, `type`, `priority`, `target_audience`, `target_ids`, `building_id`, `floor_id`, `created_by`, `expiry_date`, `is_active`, `read_by`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `Notice` AS `Notice`; Executing (default): SELECT `id`, `name`, `email`, `password`, `role`, `permissions`, `department`, `phone`, `avatar`, `is_active`, `last_login`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `User` AS `User` WHERE `User`.`email` = 'admin@demo.com' AND `User`.`is_active` = true; Executing (default): UPDATE `User` SET `last_login`=?,`updated_at`=? WHERE `id` = ? Executing (default): SELECT `id`, `name`, `email`, `password`, `role`, `permissions`, `department`, `phone`, `avatar`, `is_active`, `last_login`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `User` AS `User` WHERE `User`.`id` = '8cc00eb8-378e-4f89-8141-f87aa35fd51d'; Executing (default): SELECT `id`, `name`, `email`, `password`, `role`, `permissions`, `department`, `phone`, `avatar`, `is_active`, `last_login`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `User` AS `User` WHERE `User`.`id` = '8cc00eb8-378e-4f89-8141-f87aa35fd51d'; Executing (default): SELECT `id`, `name`, `email`, `password`, `role`, `permissions`, `department`, `phone`, `avatar`, `is_active`, `last_login`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `User` AS `User` WHERE `User`.`id` = '8cc00eb8-378e-4f89-8141-f87aa35fd51d'; Executing (default): SELECT `Building`.`id`, `Building`.`name`, `Building`.`address`, `Building`.`floors`, `Building`.`total_rooms`, `Building`.`total_beds`, `Building`.`parking_spaces`, `Building`.`occupied_beds`, `Building`.`manager`, `Building`.`amenities`, `Building`.`monthly_revenue`, `Building`.`building_type`, `Building`.`year_built`, `Building`.`total_area`, `Building`.`elevators`, `Building`.`security_features`, `Building`.`contact_person`, `Building`.`contact_phone`, `Building`.`created_at` AS `createdAt`, `Building`.`updated_at` AS `updatedAt`, `buildingFloors`.`id` AS `buildingFloors.id`, `buildingFloors`.`building_id` AS `buildingFloors.building_id`, `buildingFloors`.`floor_number` AS `buildingFloors.floor_number`, `buildingFloors`.`total_rooms` AS `buildingFloors.total_rooms`, `buildingFloors`.`occupied_rooms` AS `buildingFloors.occupied_rooms`, `buildingFloors`.`floor_type` AS `buildingFloors.floor_type`, `buildingFloors`.`amenities` AS `buildingFloors.amenities`, `buildingFloors`.`maintenance_status` AS `buildingFloors.maintenance_status`, `buildingFloors`.`last_inspection` AS `buildingFloors.last_inspection`, `buildingFloors`.`notes` AS `buildingFloors.notes`, `buildingFloors`.`created_at` AS `buildingFloors.createdAt`, `buildingFloors`.`updated_at` AS `buildingFloors.updatedAt`, `buildingFloors->rooms`.`id` AS `buildingFloors.rooms.id`, `buildingFloors->rooms`.`building_id` AS `buildingFloors.rooms.building_id`, `buildingFloors->rooms`.`floor_id` AS `buildingFloors.rooms.floor_id`, `buildingFloors->rooms`.`room_number` AS `buildingFloors.rooms.room_number`, `buildingFloors->rooms`.`total_beds` AS `buildingFloors.rooms.total_beds`, `buildingFloors->rooms`.`occupied_beds` AS `buildingFloors.rooms.occupied_beds`, `buildingFloors->rooms`.`rent_per_bed` AS `buildingFloors.rooms.rent_per_bed`, `buildingFloors->rooms`.`facilities` AS `buildingFloors.rooms.facilities`, `buildingFloors->rooms`.`room_type` AS `buildingFloors.rooms.room_type`, `buildingFloors->rooms`.`area` AS `buildingFloors.rooms.area`, `buildingFloors->rooms`.`has_balcony` AS `buildingFloors.rooms.has_balcony`, `buildingFloors->rooms`.`has_attached_bathroom` AS `buildingFloors.rooms.has_attached_bathroom`, `buildingFloors->rooms`.`furnishing_status` AS `buildingFloors.rooms.furnishing_status`, `buildingFloors->rooms`.`condition` AS `buildingFloors.rooms.condition`, `buildingFloors->rooms`.`last_cleaned` AS `buildingFloors.rooms.last_cleaned`, `buildingFloors->rooms`.`security_deposit` AS `buildingFloors.rooms.security_deposit`, `buildingFloors->rooms`.`available_from` AS `buildingFloors.rooms.available_from`, `buildingFloors->rooms`.`created_at` AS `buildingFloors.rooms.createdAt`, `buildingFloors->rooms`.`updated_at` AS `buildingFloors.rooms.updatedAt`, `buildingFloors->rooms->beds`.`id` AS `buildingFloors.rooms.beds.id`, `buildingFloors->rooms->beds`.`building_id` AS `buildingFloors.rooms.beds.building_id`, `buildingFloors->rooms->beds`.`floor_id` AS `buildingFloors.rooms.beds.floor_id`, `buildingFloors->rooms->beds`.`room_id` AS `buildingFloors.rooms.beds.room_id`, `buildingFloors->rooms->beds`.`bed_number` AS `buildingFloors.rooms.beds.bed_number`, `buildingFloors->rooms->beds`.`is_occupied` AS `buildingFloors.rooms.beds.is_occupied`, `buildingFloors->rooms->beds`.`monthly_rent` AS `buildingFloors.rooms.beds.monthly_rent`, `buildingFloors->rooms->beds`.`status` AS `buildingFloors.rooms.beds.status`, `buildingFloors->rooms->beds`.`bed_type` AS `buildingFloors.rooms.beds.bed_type`, `buildingFloors->rooms->beds`.`last_cleaned` AS `buildingFloors.rooms.beds.last_cleaned`, `buildingFloors->rooms->beds`.`notes` AS `buildingFloors.rooms.beds.notes`, `buildingFloors->rooms->beds`.`reserved_until` AS `buildingFloors.rooms.beds.reserved_until`, `buildingFloors->rooms->beds`.`maintenance_scheduled` AS `buildingFloors.rooms.beds.maintenance_scheduled`, `buildingFloors->rooms->beds`.`created_at` AS `buildingFloors.rooms.beds.createdAt`, `buildingFloors->rooms->beds`.`updated_at` AS `buildingFloors.rooms.beds.updatedAt`, `buildingFloors->rooms->beds->renter`.`id` AS `buildingFloors.rooms.beds.renter.id`, `buildingFloors->rooms->beds->renter`.`name` AS `buildingFloors.rooms.beds.renter.name`, `buildingFloors->rooms->beds->renter`.`email` AS `buildingFloors.rooms.beds.renter.email`, `buildingFloors->rooms->beds->renter`.`phone` AS `buildingFloors.rooms.beds.renter.phone`, `buildingFloors->rooms->beds->renter`.`alternate_phone` AS `buildingFloors.rooms.beds.renter.alternate_phone`, `buildingFloors->rooms->beds->renter`.`nid` AS `buildingFloors.rooms.beds.renter.nid`, `buildingFloors->rooms->beds->renter`.`building_id` AS `buildingFloors.rooms.beds.renter.building_id`, `buildingFloors->rooms->beds->renter`.`floor_id` AS `buildingFloors.rooms.beds.renter.floor_id`, `buildingFloors->rooms->beds->renter`.`room_id` AS `buildingFloors.rooms.beds.renter.room_id`, `buildingFloors->rooms->beds->renter`.`bed_id` AS `buildingFloors.rooms.beds.renter.bed_id`, `buildingFloors->rooms->beds->renter`.`rent_amount` AS `buildingFloors.rooms.beds.renter.rent_amount`, `buildingFloors->rooms->beds->renter`.`security_deposit` AS `buildingFloors.rooms.beds.renter.security_deposit`, `buildingFloors->rooms->beds->renter`.`check_in_date` AS `buildingFloors.rooms.beds.renter.check_in_date`, `buildingFloors->rooms->beds->renter`.`check_out_date` AS `buildingFloors.rooms.beds.renter.check_out_date`, `buildingFloors->rooms->beds->renter`.`lease_start_date` AS `buildingFloors.rooms.beds.renter.lease_start_date`, `buildingFloors->rooms->beds->renter`.`lease_end_date` AS `buildingFloors.rooms.beds.renter.lease_end_date`, `buildingFloors->rooms->beds->renter`.`status` AS `buildingFloors.rooms.beds.renter.status`, `buildingFloors->rooms->beds->renter`.`emergency_contact` AS `buildingFloors.rooms.beds.renter.emergency_contact`, `buildingFloors->rooms->beds->renter`.`emergency_relation` AS `buildingFloors.rooms.beds.renter.emergency_relation`, `buildingFloors->rooms->beds->renter`.`profile_photo` AS `buildingFloors.rooms.beds.renter.profile_photo`, `buildingFloors->rooms->beds->renter`.`occupation` AS `buildingFloors.rooms.beds.renter.occupation`, `buildingFloors->rooms->beds->renter`.`company` AS `buildingFloors.rooms.beds.renter.company`, `buildingFloors->rooms->beds->renter`.`monthly_income` AS `buildingFloors.rooms.beds.renter.monthly_income`, `buildingFloors->rooms->beds->renter`.`previous_address` AS `buildingFloors.rooms.beds.renter.previous_address`, `buildingFloors->rooms->beds->renter`.`references` AS `buildingFloors.rooms.beds.renter.references`, `buildingFloors->rooms->beds->renter`.`notice_period` AS `buildingFloors.rooms.beds.renter.notice_period`, `buildingFloors->rooms->beds->renter`.`preferences` AS `buildingFloors.rooms.beds.renter.preferences`, `buildingFloors->rooms->beds->renter`.`payment_history` AS `buildingFloors.rooms.beds.renter.payment_history`, `buildingFloors->rooms->beds->renter`.`created_at` AS `buildingFloors.rooms.beds.renter.createdAt`, `buildingFloors->rooms->beds->renter`.`updated_at` AS `buildingFloors.rooms.beds.renter.updatedAt` FROM `Building` AS `Building` LEFT OUTER JOIN `Floor` AS `buildingFloors` ON `Building`.`id` = `buildingFloors`.`building_id` LEFT OUTER JOIN `Room` AS `buildingFloors->rooms` ON `buildingFloors`.`id` = `buildingFloors->rooms`.`floor_id` LEFT OUTER JOIN `Bed` AS `buildingFloors->rooms->beds` ON `buildingFloors->rooms`.`id` = `buildingFloors->rooms->beds`.`room_id` LEFT OUTER JOIN `Renter` AS `buildingFloors->rooms->beds->renter` ON `buildingFloors->rooms->beds`.`id` = `buildingFloors->rooms->beds->renter`.`bed_id` ORDER BY `createdAt` DESC; Executing (default): SELECT `Floor`.`id`, `Floor`.`building_id`, `Floor`.`floor_number`, `Floor`.`total_rooms`, `Floor`.`occupied_rooms`, `Floor`.`floor_type`, `Floor`.`amenities`, `Floor`.`maintenance_status`, `Floor`.`last_inspection`, `Floor`.`notes`, `Floor`.`created_at` AS `createdAt`, `Floor`.`updated_at` AS `updatedAt`, `rooms`.`id` AS `rooms.id`, `rooms`.`building_id` AS `rooms.building_id`, `rooms`.`floor_id` AS `rooms.floor_id`, `rooms`.`room_number` AS `rooms.room_number`, `rooms`.`total_beds` AS `rooms.total_beds`, `rooms`.`occupied_beds` AS `rooms.occupied_beds`, `rooms`.`rent_per_bed` AS `rooms.rent_per_bed`, `rooms`.`facilities` AS `rooms.facilities`, `rooms`.`room_type` AS `rooms.room_type`, `rooms`.`area` AS `rooms.area`, `rooms`.`has_balcony` AS `rooms.has_balcony`, `rooms`.`has_attached_bathroom` AS `rooms.has_attached_bathroom`, `rooms`.`furnishing_status` AS `rooms.furnishing_status`, `rooms`.`condition` AS `rooms.condition`, `rooms`.`last_cleaned` AS `rooms.last_cleaned`, `rooms`.`security_deposit` AS `rooms.security_deposit`, `rooms`.`available_from` AS `rooms.available_from`, `rooms`.`created_at` AS `rooms.createdAt`, `rooms`.`updated_at` AS `rooms.updatedAt`, `rooms->beds`.`id` AS `rooms.beds.id`, `rooms->beds`.`building_id` AS `rooms.beds.building_id`, `rooms->beds`.`floor_id` AS `rooms.beds.floor_id`, `rooms->beds`.`room_id` AS `rooms.beds.room_id`, `rooms->beds`.`bed_number` AS `rooms.beds.bed_number`, `rooms->beds`.`is_occupied` AS `rooms.beds.is_occupied`, `rooms->beds`.`monthly_rent` AS `rooms.beds.monthly_rent`, `rooms->beds`.`status` AS `rooms.beds.status`, `rooms->beds`.`bed_type` AS `rooms.beds.bed_type`, `rooms->beds`.`last_cleaned` AS `rooms.beds.last_cleaned`, `rooms->beds`.`notes` AS `rooms.beds.notes`, `rooms->beds`.`reserved_until` AS `rooms.beds.reserved_until`, `rooms->beds`.`maintenance_scheduled` AS `rooms.beds.maintenance_scheduled`, `rooms->beds`.`created_at` AS `rooms.beds.createdAt`, `rooms->beds`.`updated_at` AS `rooms.beds.updatedAt`, `rooms->beds->renter`.`id` AS `rooms.beds.renter.id`, `rooms->beds->renter`.`name` AS `rooms.beds.renter.name`, `rooms->beds->renter`.`email` AS `rooms.beds.renter.email`, `rooms->beds->renter`.`phone` AS `rooms.beds.renter.phone`, `rooms->beds->renter`.`alternate_phone` AS `rooms.beds.renter.alternate_phone`, `rooms->beds->renter`.`nid` AS `rooms.beds.renter.nid`, `rooms->beds->renter`.`building_id` AS `rooms.beds.renter.building_id`, `rooms->beds->renter`.`floor_id` AS `rooms.beds.renter.floor_id`, `rooms->beds->renter`.`room_id` AS `rooms.beds.renter.room_id`, `rooms->beds->renter`.`bed_id` AS `rooms.beds.renter.bed_id`, `rooms->beds->renter`.`rent_amount` AS `rooms.beds.renter.rent_amount`, `rooms->beds->renter`.`security_deposit` AS `rooms.beds.renter.security_deposit`, `rooms->beds->renter`.`check_in_date` AS `rooms.beds.renter.check_in_date`, `rooms->beds->renter`.`check_out_date` AS `rooms.beds.renter.check_out_date`, `rooms->beds->renter`.`lease_start_date` AS `rooms.beds.renter.lease_start_date`, `rooms->beds->renter`.`lease_end_date` AS `rooms.beds.renter.lease_end_date`, `rooms->beds->renter`.`status` AS `rooms.beds.renter.status`, `rooms->beds->renter`.`emergency_contact` AS `rooms.beds.renter.emergency_contact`, `rooms->beds->renter`.`emergency_relation` AS `rooms.beds.renter.emergency_relation`, `rooms->beds->renter`.`profile_photo` AS `rooms.beds.renter.profile_photo`, `rooms->beds->renter`.`occupation` AS `rooms.beds.renter.occupation`, `rooms->beds->renter`.`company` AS `rooms.beds.renter.company`, `rooms->beds->renter`.`monthly_income` AS `rooms.beds.renter.monthly_income`, `rooms->beds->renter`.`previous_address` AS `rooms.beds.renter.previous_address`, `rooms->beds->renter`.`references` AS `rooms.beds.renter.references`, `rooms->beds->renter`.`notice_period` AS `rooms.beds.renter.notice_period`, `rooms->beds->renter`.`preferences` AS `rooms.beds.renter.preferences`, `rooms->beds->renter`.`payment_history` AS `rooms.beds.renter.payment_history`, `rooms->beds->renter`.`created_at` AS `rooms.beds.renter.createdAt`, `rooms->beds->renter`.`updated_at` AS `rooms.beds.renter.updatedAt` FROM `Floor` AS `Floor` LEFT OUTER JOIN `Room` AS `rooms` ON `Floor`.`id` = `rooms`.`floor_id` LEFT OUTER JOIN `Bed` AS `rooms->beds` ON `rooms`.`id` = `rooms->beds`.`room_id` LEFT OUTER JOIN `Renter` AS `rooms->beds->renter` ON `rooms->beds`.`id` = `rooms->beds->renter`.`bed_id`; Executing (default): SELECT `Room`.`id`, `Room`.`building_id`, `Room`.`floor_id`, `Room`.`room_number`, `Room`.`total_beds`, `Room`.`occupied_beds`, `Room`.`rent_per_bed`, `Room`.`facilities`, `Room`.`room_type`, `Room`.`area`, `Room`.`has_balcony`, `Room`.`has_attached_bathroom`, `Room`.`furnishing_status`, `Room`.`condition`, `Room`.`last_cleaned`, `Room`.`security_deposit`, `Room`.`available_from`, `Room`.`created_at` AS `createdAt`, `Room`.`updated_at` AS `updatedAt`, `building`.`id` AS `building.id`, `building`.`name` AS `building.name`, `building`.`address` AS `building.address`, `building`.`floors` AS `building.floors`, `building`.`total_rooms` AS `building.total_rooms`, `building`.`total_beds` AS `building.total_beds`, `building`.`parking_spaces` AS `building.parking_spaces`, `building`.`occupied_beds` AS `building.occupied_beds`, `building`.`manager` AS `building.manager`, `building`.`amenities` AS `building.amenities`, `building`.`monthly_revenue` AS `building.monthly_revenue`, `building`.`building_type` AS `building.building_type`, `building`.`year_built` AS `building.year_built`, `building`.`total_area` AS `building.total_area`, `building`.`elevators` AS `building.elevators`, `building`.`security_features` AS `building.security_features`, `building`.`contact_person` AS `building.contact_person`, `building`.`contact_phone` AS `building.contact_phone`, `building`.`created_at` AS `building.createdAt`, `building`.`updated_at` AS `building.updatedAt`, `floor`.`id` AS `floor.id`, `floor`.`building_id` AS `floor.building_id`, `floor`.`floor_number` AS `floor.floor_number`, `floor`.`total_rooms` AS `floor.total_rooms`, `floor`.`occupied_rooms` AS `floor.occupied_rooms`, `floor`.`floor_type` AS `floor.floor_type`, `floor`.`amenities` AS `floor.amenities`, `floor`.`maintenance_status` AS `floor.maintenance_status`, `floor`.`last_inspection` AS `floor.last_inspection`, `floor`.`notes` AS `floor.notes`, `floor`.`created_at` AS `floor.createdAt`, `floor`.`updated_at` AS `floor.updatedAt`, `beds`.`id` AS `beds.id`, `beds`.`building_id` AS `beds.building_id`, `beds`.`floor_id` AS `beds.floor_id`, `beds`.`room_id` AS `beds.room_id`, `beds`.`bed_number` AS `beds.bed_number`, `beds`.`is_occupied` AS `beds.is_occupied`, `beds`.`monthly_rent` AS `beds.monthly_rent`, `beds`.`status` AS `beds.status`, `beds`.`bed_type` AS `beds.bed_type`, `beds`.`last_cleaned` AS `beds.last_cleaned`, `beds`.`notes` AS `beds.notes`, `beds`.`reserved_until` AS `beds.reserved_until`, `beds`.`maintenance_scheduled` AS `beds.maintenance_scheduled`, `beds`.`created_at` AS `beds.createdAt`, `beds`.`updated_at` AS `beds.updatedAt`, `beds->renter`.`id` AS `beds.renter.id`, `beds->renter`.`name` AS `beds.renter.name`, `beds->renter`.`email` AS `beds.renter.email`, `beds->renter`.`phone` AS `beds.renter.phone`, `beds->renter`.`alternate_phone` AS `beds.renter.alternate_phone`, `beds->renter`.`nid` AS `beds.renter.nid`, `beds->renter`.`building_id` AS `beds.renter.building_id`, `beds->renter`.`floor_id` AS `beds.renter.floor_id`, `beds->renter`.`room_id` AS `beds.renter.room_id`, `beds->renter`.`bed_id` AS `beds.renter.bed_id`, `beds->renter`.`rent_amount` AS `beds.renter.rent_amount`, `beds->renter`.`security_deposit` AS `beds.renter.security_deposit`, `beds->renter`.`check_in_date` AS `beds.renter.check_in_date`, `beds->renter`.`check_out_date` AS `beds.renter.check_out_date`, `beds->renter`.`lease_start_date` AS `beds.renter.lease_start_date`, `beds->renter`.`lease_end_date` AS `beds.renter.lease_end_date`, `beds->renter`.`status` AS `beds.renter.status`, `beds->renter`.`emergency_contact` AS `beds.renter.emergency_contact`, `beds->renter`.`emergency_relation` AS `beds.renter.emergency_relation`, `beds->renter`.`profile_photo` AS `beds.renter.profile_photo`, `beds->renter`.`occupation` AS `beds.renter.occupation`, `beds->renter`.`company` AS `beds.renter.company`, `beds->renter`.`monthly_income` AS `beds.renter.monthly_income`, `beds->renter`.`previous_address` AS `beds.renter.previous_address`, `beds->renter`.`references` AS `beds.renter.references`, `beds->renter`.`notice_period` AS `beds.renter.notice_period`, `beds->renter`.`preferences` AS `beds.renter.preferences`, `beds->renter`.`payment_history` AS `beds.renter.payment_history`, `beds->renter`.`created_at` AS `beds.renter.createdAt`, `beds->renter`.`updated_at` AS `beds.renter.updatedAt` FROM `Room` AS `Room` LEFT OUTER JOIN `Building` AS `building` ON `Room`.`building_id` = `building`.`id` LEFT OUTER JOIN `Floor` AS `floor` ON `Room`.`floor_id` = `floor`.`id` LEFT OUTER JOIN `Bed` AS `beds` ON `Room`.`id` = `beds`.`room_id` LEFT OUTER JOIN `Renter` AS `beds->renter` ON `beds`.`id` = `beds->renter`.`bed_id`; Executing (default): SELECT `id`, `name`, `email`, `password`, `role`, `permissions`, `department`, `phone`, `avatar`, `is_active`, `last_login`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `User` AS `User` WHERE `User`.`id` = '8cc00eb8-378e-4f89-8141-f87aa35fd51d'; Executing (default): SELECT `id`, `name`, `email`, `password`, `role`, `permissions`, `department`, `phone`, `avatar`, `is_active`, `last_login`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `User` AS `User` WHERE `User`.`id` = '8cc00eb8-378e-4f89-8141-f87aa35fd51d'; Executing (default): SELECT `id`, `name`, `email`, `role`, `permissions`, `department`, `phone`, `avatar`, `is_active`, `last_login`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `User` AS `User` WHERE `User`.`id` = '8cc00eb8-378e-4f89-8141-f87aa35fd51d'; Executing (default): SELECT `id`, `building_id`, `floor_id`, `category`, `subcategory`, `description`, `amount`, `date`, `vendor`, `receipt`, `approved_by`, `payment_method`, `is_recurring`, `recurring_frequency`, `budget_category`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `Expense` AS `Expense`; Executing (default): SELECT `Renter`.`id`, `Renter`.`name`, `Renter`.`email`, `Renter`.`phone`, `Renter`.`alternate_phone`, `Renter`.`nid`, `Renter`.`building_id`, `Renter`.`floor_id`, `Renter`.`room_id`, `Renter`.`bed_id`, `Renter`.`rent_amount`, `Renter`.`security_deposit`, `Renter`.`check_in_date`, `Renter`.`check_out_date`, `Renter`.`lease_start_date`, `Renter`.`lease_end_date`, `Renter`.`status`, `Renter`.`emergency_contact`, `Renter`.`emergency_relation`, `Renter`.`profile_photo`, `Renter`.`occupation`, `Renter`.`company`, `Renter`.`monthly_income`, `Renter`.`previous_address`, `Renter`.`references`, `Renter`.`notice_period`, `Renter`.`preferences`, `Renter`.`payment_history`, `Renter`.`created_at` AS `createdAt`, `Renter`.`updated_at` AS `updatedAt`, `room`.`id` AS `room.id`, `room`.`building_id` AS `room.building_id`, `room`.`floor_id` AS `room.floor_id`, `room`.`room_number` AS `room.room_number`, `room`.`total_beds` AS `room.total_beds`, `room`.`occupied_beds` AS `room.occupied_beds`, `room`.`rent_per_bed` AS `room.rent_per_bed`, `room`.`facilities` AS `room.facilities`, `room`.`room_type` AS `room.room_type`, `room`.`area` AS `room.area`, `room`.`has_balcony` AS `room.has_balcony`, `room`.`has_attached_bathroom` AS `room.has_attached_bathroom`, `room`.`furnishing_status` AS `room.furnishing_status`, `room`.`condition` AS `room.condition`, `room`.`last_cleaned` AS `room.last_cleaned`, `room`.`security_deposit` AS `room.security_deposit`, `room`.`available_from` AS `room.available_from`, `room`.`created_at` AS `room.createdAt`, `room`.`updated_at` AS `room.updatedAt`, `documents`.`id` AS `documents.id`, `documents`.`renter_id` AS `documents.renter_id`, `documents`.`type` AS `documents.type`, `documents`.`file_name` AS `documents.file_name`, `documents`.`file_url` AS `documents.file_url`, `documents`.`file_size` AS `documents.file_size`, `documents`.`mime_type` AS `documents.mime_type`, `documents`.`description` AS `documents.description`, `documents`.`created_at` AS `documents.createdAt`, `documents`.`updated_at` AS `documents.updatedAt` FROM `Renter` AS `Renter` LEFT OUTER JOIN `Room` AS `room` ON `Renter`.`room_id` = `room`.`id` LEFT OUTER JOIN `RenterDocument` AS `documents` ON `Renter`.`id` = `documents`.`renter_id`; Executing (default): SELECT `id`, `name`, `email`, `password`, `role`, `permissions`, `department`, `phone`, `avatar`, `is_active`, `last_login`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `User` AS `User` WHERE `User`.`id` = '8cc00eb8-378e-4f89-8141-f87aa35fd51d'; Executing (default): SELECT `id`, `name`, `email`, `password`, `role`, `permissions`, `department`, `phone`, `avatar`, `is_active`, `last_login`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `User` AS `User` WHERE `User`.`id` = '8cc00eb8-378e-4f89-8141-f87aa35fd51d'; Executing (default): SELECT `id`, `name`, `email`, `password`, `role`, `permissions`, `department`, `phone`, `avatar`, `is_active`, `last_login`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `User` AS `User` WHERE `User`.`id` = '8cc00eb8-378e-4f89-8141-f87aa35fd51d'; Executing (default): SELECT `id`, `building_id`, `floor_id`, `room_id`, `bed_id`, `type`, `category`, `description`, `priority`, `status`, `assigned_to`, `cost`, `estimated_cost`, `scheduled_date`, `completed_date`, `notes`, `images`, `warranty`, `next_maintenance_date`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `Maintenance` AS `Maintenance`; Executing (default): SELECT `Bed`.`id`, `Bed`.`building_id`, `Bed`.`floor_id`, `Bed`.`room_id`, `Bed`.`bed_number`, `Bed`.`is_occupied`, `Bed`.`monthly_rent`, `Bed`.`status`, `Bed`.`bed_type`, `Bed`.`last_cleaned`, `Bed`.`notes`, `Bed`.`reserved_until`, `Bed`.`maintenance_scheduled`, `Bed`.`created_at` AS `createdAt`, `Bed`.`updated_at` AS `updatedAt`, `renter`.`id` AS `renter.id`, `renter`.`name` AS `renter.name`, `renter`.`email` AS `renter.email`, `renter`.`phone` AS `renter.phone`, `renter`.`alternate_phone` AS `renter.alternate_phone`, `renter`.`nid` AS `renter.nid`, `renter`.`building_id` AS `renter.building_id`, `renter`.`floor_id` AS `renter.floor_id`, `renter`.`room_id` AS `renter.room_id`, `renter`.`bed_id` AS `renter.bed_id`, `renter`.`rent_amount` AS `renter.rent_amount`, `renter`.`security_deposit` AS `renter.security_deposit`, `renter`.`check_in_date` AS `renter.check_in_date`, `renter`.`check_out_date` AS `renter.check_out_date`, `renter`.`lease_start_date` AS `renter.lease_start_date`, `renter`.`lease_end_date` AS `renter.lease_end_date`, `renter`.`status` AS `renter.status`, `renter`.`emergency_contact` AS `renter.emergency_contact`, `renter`.`emergency_relation` AS `renter.emergency_relation`, `renter`.`profile_photo` AS `renter.profile_photo`, `renter`.`occupation` AS `renter.occupation`, `renter`.`company` AS `renter.company`, `renter`.`monthly_income` AS `renter.monthly_income`, `renter`.`previous_address` AS `renter.previous_address`, `renter`.`references` AS `renter.references`, `renter`.`notice_period` AS `renter.notice_period`, `renter`.`preferences` AS `renter.preferences`, `renter`.`payment_history` AS `renter.payment_history`, `renter`.`created_at` AS `renter.createdAt`, `renter`.`updated_at` AS `renter.updatedAt`, `room`.`id` AS `room.id`, `room`.`building_id` AS `room.building_id`, `room`.`floor_id` AS `room.floor_id`, `room`.`room_number` AS `room.room_number`, `room`.`total_beds` AS `room.total_beds`, `room`.`occupied_beds` AS `room.occupied_beds`, `room`.`rent_per_bed` AS `room.rent_per_bed`, `room`.`facilities` AS `room.facilities`, `room`.`room_type` AS `room.room_type`, `room`.`area` AS `room.area`, `room`.`has_balcony` AS `room.has_balcony`, `room`.`has_attached_bathroom` AS `room.has_attached_bathroom`, `room`.`furnishing_status` AS `room.furnishing_status`, `room`.`condition` AS `room.condition`, `room`.`last_cleaned` AS `room.last_cleaned`, `room`.`security_deposit` AS `room.security_deposit`, `room`.`available_from` AS `room.available_from`, `room`.`created_at` AS `room.createdAt`, `room`.`updated_at` AS `room.updatedAt`, `room->floor`.`id` AS `room.floor.id`, `room->floor`.`building_id` AS `room.floor.building_id`, `room->floor`.`floor_number` AS `room.floor.floor_number`, `room->floor`.`total_rooms` AS `room.floor.total_rooms`, `room->floor`.`occupied_rooms` AS `room.floor.occupied_rooms`, `room->floor`.`floor_type` AS `room.floor.floor_type`, `room->floor`.`amenities` AS `room.floor.amenities`, `room->floor`.`maintenance_status` AS `room.floor.maintenance_status`, `room->floor`.`last_inspection` AS `room.floor.last_inspection`, `room->floor`.`notes` AS `room.floor.notes`, `room->floor`.`created_at` AS `room.floor.createdAt`, `room->floor`.`updated_at` AS `room.floor.updatedAt`, `room->floor->building`.`id` AS `room.floor.building.id`, `room->floor->building`.`name` AS `room.floor.building.name`, `room->floor->building`.`address` AS `room.floor.building.address`, `room->floor->building`.`floors` AS `room.floor.building.floors`, `room->floor->building`.`total_rooms` AS `room.floor.building.total_rooms`, `room->floor->building`.`total_beds` AS `room.floor.building.total_beds`, `room->floor->building`.`parking_spaces` AS `room.floor.building.parking_spaces`, `room->floor->building`.`occupied_beds` AS `room.floor.building.occupied_beds`, `room->floor->building`.`manager` AS `room.floor.building.manager`, `room->floor->building`.`amenities` AS `room.floor.building.amenities`, `room->floor->building`.`monthly_revenue` AS `room.floor.building.monthly_revenue`, `room->floor->building`.`building_type` AS `room.floor.building.building_type`, `room->floor->building`.`year_built` AS `room.floor.building.year_built`, `room->floor->building`.`total_area` AS `room.floor.building.total_area`, `room->floor->building`.`elevators` AS `room.floor.building.elevators`, `room->floor->building`.`security_features` AS `room.floor.building.security_features`, `room->floor->building`.`contact_person` AS `room.floor.building.contact_person`, `room->floor->building`.`contact_phone` AS `room.floor.building.contact_phone`, `room->floor->building`.`created_at` AS `room.floor.building.createdAt`, `room->floor->building`.`updated_at` AS `room.floor.building.updatedAt` FROM `Bed` AS `Bed` LEFT OUTER JOIN `Renter` AS `renter` ON `Bed`.`id` = `renter`.`bed_id` LEFT OUTER JOIN `Room` AS `room` ON `Bed`.`room_id` = `room`.`id` LEFT OUTER JOIN `Floor` AS `room->floor` ON `room`.`floor_id` = `room->floor`.`id` LEFT OUTER JOIN `Building` AS `room->floor->building` ON `room->floor`.`building_id` = `room->floor->building`.`id`; Executing (default): SELECT `id`, `renter_id`, `amount`, `due_date`, `paid_date`, `status`, `month`, `year`, `payment_method`, `transaction_id`, `late_fee`, `discount`, `notes`, `receipt_number`, `collected_by`, `renter_name` AS `renterName`, `room_number`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `RentPayment` AS `RentPayment`; Executing (default): SELECT `id`, `name`, `email`, `password`, `role`, `permissions`, `department`, `phone`, `avatar`, `is_active`, `last_login`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `User` AS `User` WHERE `User`.`id` = '8cc00eb8-378e-4f89-8141-f87aa35fd51d'; Executing (default): SELECT `id`, `name`, `email`, `password`, `role`, `permissions`, `department`, `phone`, `avatar`, `is_active`, `last_login`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `User` AS `User` WHERE `User`.`id` = '8cc00eb8-378e-4f89-8141-f87aa35fd51d'; Executing (default): SELECT `id`, `name`, `value`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `Settings` AS `Settings`; Executing (default): SELECT `id`, `visitor_name`, `visitor_phone`, `visiting_renter_id`, `check_in_time`, `check_out_time`, `purpose`, `approved_by`, `id_verified`, `vehicle_number`, `notes`, `visiting_renter_name`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `Visitor` AS `Visitor`; Executing (default): SELECT `id`, `title`, `content`, `type`, `priority`, `target_audience`, `target_ids`, `building_id`, `floor_id`, `created_by`, `expiry_date`, `is_active`, `read_by`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `Notice` AS `Notice`; Executing (default): SELECT `Floor`.`id`, `Floor`.`building_id`, `Floor`.`floor_number`, `Floor`.`total_rooms`, `Floor`.`occupied_rooms`, `Floor`.`floor_type`, `Floor`.`amenities`, `Floor`.`maintenance_status`, `Floor`.`last_inspection`, `Floor`.`notes`, `Floor`.`created_at` AS `createdAt`, `Floor`.`updated_at` AS `updatedAt`, `rooms`.`id` AS `rooms.id`, `rooms`.`building_id` AS `rooms.building_id`, `rooms`.`floor_id` AS `rooms.floor_id`, `rooms`.`room_number` AS `rooms.room_number`, `rooms`.`total_beds` AS `rooms.total_beds`, `rooms`.`occupied_beds` AS `rooms.occupied_beds`, `rooms`.`rent_per_bed` AS `rooms.rent_per_bed`, `rooms`.`facilities` AS `rooms.facilities`, `rooms`.`room_type` AS `rooms.room_type`, `rooms`.`area` AS `rooms.area`, `rooms`.`has_balcony` AS `rooms.has_balcony`, `rooms`.`has_attached_bathroom` AS `rooms.has_attached_bathroom`, `rooms`.`furnishing_status` AS `rooms.furnishing_status`, `rooms`.`condition` AS `rooms.condition`, `rooms`.`last_cleaned` AS `rooms.last_cleaned`, `rooms`.`security_deposit` AS `rooms.security_deposit`, `rooms`.`available_from` AS `rooms.available_from`, `rooms`.`created_at` AS `rooms.createdAt`, `rooms`.`updated_at` AS `rooms.updatedAt`, `rooms->beds`.`id` AS `rooms.beds.id`, `rooms->beds`.`building_id` AS `rooms.beds.building_id`, `rooms->beds`.`floor_id` AS `rooms.beds.floor_id`, `rooms->beds`.`room_id` AS `rooms.beds.room_id`, `rooms->beds`.`bed_number` AS `rooms.beds.bed_number`, `rooms->beds`.`is_occupied` AS `rooms.beds.is_occupied`, `rooms->beds`.`monthly_rent` AS `rooms.beds.monthly_rent`, `rooms->beds`.`status` AS `rooms.beds.status`, `rooms->beds`.`bed_type` AS `rooms.beds.bed_type`, `rooms->beds`.`last_cleaned` AS `rooms.beds.last_cleaned`, `rooms->beds`.`notes` AS `rooms.beds.notes`, `rooms->beds`.`reserved_until` AS `rooms.beds.reserved_until`, `rooms->beds`.`maintenance_scheduled` AS `rooms.beds.maintenance_scheduled`, `rooms->beds`.`created_at` AS `rooms.beds.createdAt`, `rooms->beds`.`updated_at` AS `rooms.beds.updatedAt`, `rooms->beds->renter`.`id` AS `rooms.beds.renter.id`, `rooms->beds->renter`.`name` AS `rooms.beds.renter.name`, `rooms->beds->renter`.`email` AS `rooms.beds.renter.email`, `rooms->beds->renter`.`phone` AS `rooms.beds.renter.phone`, `rooms->beds->renter`.`alternate_phone` AS `rooms.beds.renter.alternate_phone`, `rooms->beds->renter`.`nid` AS `rooms.beds.renter.nid`, `rooms->beds->renter`.`building_id` AS `rooms.beds.renter.building_id`, `rooms->beds->renter`.`floor_id` AS `rooms.beds.renter.floor_id`, `rooms->beds->renter`.`room_id` AS `rooms.beds.renter.room_id`, `rooms->beds->renter`.`bed_id` AS `rooms.beds.renter.bed_id`, `rooms->beds->renter`.`rent_amount` AS `rooms.beds.renter.rent_amount`, `rooms->beds->renter`.`security_deposit` AS `rooms.beds.renter.security_deposit`, `rooms->beds->renter`.`check_in_date` AS `rooms.beds.renter.check_in_date`, `rooms->beds->renter`.`check_out_date` AS `rooms.beds.renter.check_out_date`, `rooms->beds->renter`.`lease_start_date` AS `rooms.beds.renter.lease_start_date`, `rooms->beds->renter`.`lease_end_date` AS `rooms.beds.renter.lease_end_date`, `rooms->beds->renter`.`status` AS `rooms.beds.renter.status`, `rooms->beds->renter`.`emergency_contact` AS `rooms.beds.renter.emergency_contact`, `rooms->beds->renter`.`emergency_relation` AS `rooms.beds.renter.emergency_relation`, `rooms->beds->renter`.`profile_photo` AS `rooms.beds.renter.profile_photo`, `rooms->beds->renter`.`occupation` AS `rooms.beds.renter.occupation`, `rooms->beds->renter`.`company` AS `rooms.beds.renter.company`, `rooms->beds->renter`.`monthly_income` AS `rooms.beds.renter.monthly_income`, `rooms->beds->renter`.`previous_address` AS `rooms.beds.renter.previous_address`, `rooms->beds->renter`.`references` AS `rooms.beds.renter.references`, `rooms->beds->renter`.`notice_period` AS `rooms.beds.renter.notice_period`, `rooms->beds->renter`.`preferences` AS `rooms.beds.renter.preferences`, `rooms->beds->renter`.`payment_history` AS `rooms.beds.renter.payment_history`, `rooms->beds->renter`.`created_at` AS `rooms.beds.renter.createdAt`, `rooms->beds->renter`.`updated_at` AS `rooms.beds.renter.updatedAt` FROM `Floor` AS `Floor` LEFT OUTER JOIN `Room` AS `rooms` ON `Floor`.`id` = `rooms`.`floor_id` LEFT OUTER JOIN `Bed` AS `rooms->beds` ON `rooms`.`id` = `rooms->beds`.`room_id` LEFT OUTER JOIN `Renter` AS `rooms->beds->renter` ON `rooms->beds`.`id` = `rooms->beds->renter`.`bed_id`; Executing (default): SELECT `id`, `name`, `email`, `password`, `role`, `permissions`, `department`, `phone`, `avatar`, `is_active`, `last_login`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `User` AS `User` WHERE `User`.`id` = '8cc00eb8-378e-4f89-8141-f87aa35fd51d'; Executing (default): SELECT `Building`.`id`, `Building`.`name`, `Building`.`address`, `Building`.`floors`, `Building`.`total_rooms`, `Building`.`total_beds`, `Building`.`parking_spaces`, `Building`.`occupied_beds`, `Building`.`manager`, `Building`.`amenities`, `Building`.`monthly_revenue`, `Building`.`building_type`, `Building`.`year_built`, `Building`.`total_area`, `Building`.`elevators`, `Building`.`security_features`, `Building`.`contact_person`, `Building`.`contact_phone`, `Building`.`created_at` AS `createdAt`, `Building`.`updated_at` AS `updatedAt`, `buildingFloors`.`id` AS `buildingFloors.id`, `buildingFloors`.`building_id` AS `buildingFloors.building_id`, `buildingFloors`.`floor_number` AS `buildingFloors.floor_number`, `buildingFloors`.`total_rooms` AS `buildingFloors.total_rooms`, `buildingFloors`.`occupied_rooms` AS `buildingFloors.occupied_rooms`, `buildingFloors`.`floor_type` AS `buildingFloors.floor_type`, `buildingFloors`.`amenities` AS `buildingFloors.amenities`, `buildingFloors`.`maintenance_status` AS `buildingFloors.maintenance_status`, `buildingFloors`.`last_inspection` AS `buildingFloors.last_inspection`, `buildingFloors`.`notes` AS `buildingFloors.notes`, `buildingFloors`.`created_at` AS `buildingFloors.createdAt`, `buildingFloors`.`updated_at` AS `buildingFloors.updatedAt`, `buildingFloors->rooms`.`id` AS `buildingFloors.rooms.id`, `buildingFloors->rooms`.`building_id` AS `buildingFloors.rooms.building_id`, `buildingFloors->rooms`.`floor_id` AS `buildingFloors.rooms.floor_id`, `buildingFloors->rooms`.`room_number` AS `buildingFloors.rooms.room_number`, `buildingFloors->rooms`.`total_beds` AS `buildingFloors.rooms.total_beds`, `buildingFloors->rooms`.`occupied_beds` AS `buildingFloors.rooms.occupied_beds`, `buildingFloors->rooms`.`rent_per_bed` AS `buildingFloors.rooms.rent_per_bed`, `buildingFloors->rooms`.`facilities` AS `buildingFloors.rooms.facilities`, `buildingFloors->rooms`.`room_type` AS `buildingFloors.rooms.room_type`, `buildingFloors->rooms`.`area` AS `buildingFloors.rooms.area`, `buildingFloors->rooms`.`has_balcony` AS `buildingFloors.rooms.has_balcony`, `buildingFloors->rooms`.`has_attached_bathroom` AS `buildingFloors.rooms.has_attached_bathroom`, `buildingFloors->rooms`.`furnishing_status` AS `buildingFloors.rooms.furnishing_status`, `buildingFloors->rooms`.`condition` AS `buildingFloors.rooms.condition`, `buildingFloors->rooms`.`last_cleaned` AS `buildingFloors.rooms.last_cleaned`, `buildingFloors->rooms`.`security_deposit` AS `buildingFloors.rooms.security_deposit`, `buildingFloors->rooms`.`available_from` AS `buildingFloors.rooms.available_from`, `buildingFloors->rooms`.`created_at` AS `buildingFloors.rooms.createdAt`, `buildingFloors->rooms`.`updated_at` AS `buildingFloors.rooms.updatedAt`, `buildingFloors->rooms->beds`.`id` AS `buildingFloors.rooms.beds.id`, `buildingFloors->rooms->beds`.`building_id` AS `buildingFloors.rooms.beds.building_id`, `buildingFloors->rooms->beds`.`floor_id` AS `buildingFloors.rooms.beds.floor_id`, `buildingFloors->rooms->beds`.`room_id` AS `buildingFloors.rooms.beds.room_id`, `buildingFloors->rooms->beds`.`bed_number` AS `buildingFloors.rooms.beds.bed_number`, `buildingFloors->rooms->beds`.`is_occupied` AS `buildingFloors.rooms.beds.is_occupied`, `buildingFloors->rooms->beds`.`monthly_rent` AS `buildingFloors.rooms.beds.monthly_rent`, `buildingFloors->rooms->beds`.`status` AS `buildingFloors.rooms.beds.status`, `buildingFloors->rooms->beds`.`bed_type` AS `buildingFloors.rooms.beds.bed_type`, `buildingFloors->rooms->beds`.`last_cleaned` AS `buildingFloors.rooms.beds.last_cleaned`, `buildingFloors->rooms->beds`.`notes` AS `buildingFloors.rooms.beds.notes`, `buildingFloors->rooms->beds`.`reserved_until` AS `buildingFloors.rooms.beds.reserved_until`, `buildingFloors->rooms->beds`.`maintenance_scheduled` AS `buildingFloors.rooms.beds.maintenance_scheduled`, `buildingFloors->rooms->beds`.`created_at` AS `buildingFloors.rooms.beds.createdAt`, `buildingFloors->rooms->beds`.`updated_at` AS `buildingFloors.rooms.beds.updatedAt`, `buildingFloors->rooms->beds->renter`.`id` AS `buildingFloors.rooms.beds.renter.id`, `buildingFloors->rooms->beds->renter`.`name` AS `buildingFloors.rooms.beds.renter.name`, `buildingFloors->rooms->beds->renter`.`email` AS `buildingFloors.rooms.beds.renter.email`, `buildingFloors->rooms->beds->renter`.`phone` AS `buildingFloors.rooms.beds.renter.phone`, `buildingFloors->rooms->beds->renter`.`alternate_phone` AS `buildingFloors.rooms.beds.renter.alternate_phone`, `buildingFloors->rooms->beds->renter`.`nid` AS `buildingFloors.rooms.beds.renter.nid`, `buildingFloors->rooms->beds->renter`.`building_id` AS `buildingFloors.rooms.beds.renter.building_id`, `buildingFloors->rooms->beds->renter`.`floor_id` AS `buildingFloors.rooms.beds.renter.floor_id`, `buildingFloors->rooms->beds->renter`.`room_id` AS `buildingFloors.rooms.beds.renter.room_id`, `buildingFloors->rooms->beds->renter`.`bed_id` AS `buildingFloors.rooms.beds.renter.bed_id`, `buildingFloors->rooms->beds->renter`.`rent_amount` AS `buildingFloors.rooms.beds.renter.rent_amount`, `buildingFloors->rooms->beds->renter`.`security_deposit` AS `buildingFloors.rooms.beds.renter.security_deposit`, `buildingFloors->rooms->beds->renter`.`check_in_date` AS `buildingFloors.rooms.beds.renter.check_in_date`, `buildingFloors->rooms->beds->renter`.`check_out_date` AS `buildingFloors.rooms.beds.renter.check_out_date`, `buildingFloors->rooms->beds->renter`.`lease_start_date` AS `buildingFloors.rooms.beds.renter.lease_start_date`, `buildingFloors->rooms->beds->renter`.`lease_end_date` AS `buildingFloors.rooms.beds.renter.lease_end_date`, `buildingFloors->rooms->beds->renter`.`status` AS `buildingFloors.rooms.beds.renter.status`, `buildingFloors->rooms->beds->renter`.`emergency_contact` AS `buildingFloors.rooms.beds.renter.emergency_contact`, `buildingFloors->rooms->beds->renter`.`emergency_relation` AS `buildingFloors.rooms.beds.renter.emergency_relation`, `buildingFloors->rooms->beds->renter`.`profile_photo` AS `buildingFloors.rooms.beds.renter.profile_photo`, `buildingFloors->rooms->beds->renter`.`occupation` AS `buildingFloors.rooms.beds.renter.occupation`, `buildingFloors->rooms->beds->renter`.`company` AS `buildingFloors.rooms.beds.renter.company`, `buildingFloors->rooms->beds->renter`.`monthly_income` AS `buildingFloors.rooms.beds.renter.monthly_income`, `buildingFloors->rooms->beds->renter`.`previous_address` AS `buildingFloors.rooms.beds.renter.previous_address`, `buildingFloors->rooms->beds->renter`.`references` AS `buildingFloors.rooms.beds.renter.references`, `buildingFloors->rooms->beds->renter`.`notice_period` AS `buildingFloors.rooms.beds.renter.notice_period`, `buildingFloors->rooms->beds->renter`.`preferences` AS `buildingFloors.rooms.beds.renter.preferences`, `buildingFloors->rooms->beds->renter`.`payment_history` AS `buildingFloors.rooms.beds.renter.payment_history`, `buildingFloors->rooms->beds->renter`.`created_at` AS `buildingFloors.rooms.beds.renter.createdAt`, `buildingFloors->rooms->beds->renter`.`updated_at` AS `buildingFloors.rooms.beds.renter.updatedAt` FROM `Building` AS `Building` LEFT OUTER JOIN `Floor` AS `buildingFloors` ON `Building`.`id` = `buildingFloors`.`building_id` LEFT OUTER JOIN `Room` AS `buildingFloors->rooms` ON `buildingFloors`.`id` = `buildingFloors->rooms`.`floor_id` LEFT OUTER JOIN `Bed` AS `buildingFloors->rooms->beds` ON `buildingFloors->rooms`.`id` = `buildingFloors->rooms->beds`.`room_id` LEFT OUTER JOIN `Renter` AS `buildingFloors->rooms->beds->renter` ON `buildingFloors->rooms->beds`.`id` = `buildingFloors->rooms->beds->renter`.`bed_id` ORDER BY `createdAt` DESC; Executing (default): SELECT `Room`.`id`, `Room`.`building_id`, `Room`.`floor_id`, `Room`.`room_number`, `Room`.`total_beds`, `Room`.`occupied_beds`, `Room`.`rent_per_bed`, `Room`.`facilities`, `Room`.`room_type`, `Room`.`area`, `Room`.`has_balcony`, `Room`.`has_attached_bathroom`, `Room`.`furnishing_status`, `Room`.`condition`, `Room`.`last_cleaned`, `Room`.`security_deposit`, `Room`.`available_from`, `Room`.`created_at` AS `createdAt`, `Room`.`updated_at` AS `updatedAt`, `building`.`id` AS `building.id`, `building`.`name` AS `building.name`, `building`.`address` AS `building.address`, `building`.`floors` AS `building.floors`, `building`.`total_rooms` AS `building.total_rooms`, `building`.`total_beds` AS `building.total_beds`, `building`.`parking_spaces` AS `building.parking_spaces`, `building`.`occupied_beds` AS `building.occupied_beds`, `building`.`manager` AS `building.manager`, `building`.`amenities` AS `building.amenities`, `building`.`monthly_revenue` AS `building.monthly_revenue`, `building`.`building_type` AS `building.building_type`, `building`.`year_built` AS `building.year_built`, `building`.`total_area` AS `building.total_area`, `building`.`elevators` AS `building.elevators`, `building`.`security_features` AS `building.security_features`, `building`.`contact_person` AS `building.contact_person`, `building`.`contact_phone` AS `building.contact_phone`, `building`.`created_at` AS `building.createdAt`, `building`.`updated_at` AS `building.updatedAt`, `floor`.`id` AS `floor.id`, `floor`.`building_id` AS `floor.building_id`, `floor`.`floor_number` AS `floor.floor_number`, `floor`.`total_rooms` AS `floor.total_rooms`, `floor`.`occupied_rooms` AS `floor.occupied_rooms`, `floor`.`floor_type` AS `floor.floor_type`, `floor`.`amenities` AS `floor.amenities`, `floor`.`maintenance_status` AS `floor.maintenance_status`, `floor`.`last_inspection` AS `floor.last_inspection`, `floor`.`notes` AS `floor.notes`, `floor`.`created_at` AS `floor.createdAt`, `floor`.`updated_at` AS `floor.updatedAt`, `beds`.`id` AS `beds.id`, `beds`.`building_id` AS `beds.building_id`, `beds`.`floor_id` AS `beds.floor_id`, `beds`.`room_id` AS `beds.room_id`, `beds`.`bed_number` AS `beds.bed_number`, `beds`.`is_occupied` AS `beds.is_occupied`, `beds`.`monthly_rent` AS `beds.monthly_rent`, `beds`.`status` AS `beds.status`, `beds`.`bed_type` AS `beds.bed_type`, `beds`.`last_cleaned` AS `beds.last_cleaned`, `beds`.`notes` AS `beds.notes`, `beds`.`reserved_until` AS `beds.reserved_until`, `beds`.`maintenance_scheduled` AS `beds.maintenance_scheduled`, `beds`.`created_at` AS `beds.createdAt`, `beds`.`updated_at` AS `beds.updatedAt`, `beds->renter`.`id` AS `beds.renter.id`, `beds->renter`.`name` AS `beds.renter.name`, `beds->renter`.`email` AS `beds.renter.email`, `beds->renter`.`phone` AS `beds.renter.phone`, `beds->renter`.`alternate_phone` AS `beds.renter.alternate_phone`, `beds->renter`.`nid` AS `beds.renter.nid`, `beds->renter`.`building_id` AS `beds.renter.building_id`, `beds->renter`.`floor_id` AS `beds.renter.floor_id`, `beds->renter`.`room_id` AS `beds.renter.room_id`, `beds->renter`.`bed_id` AS `beds.renter.bed_id`, `beds->renter`.`rent_amount` AS `beds.renter.rent_amount`, `beds->renter`.`security_deposit` AS `beds.renter.security_deposit`, `beds->renter`.`check_in_date` AS `beds.renter.check_in_date`, `beds->renter`.`check_out_date` AS `beds.renter.check_out_date`, `beds->renter`.`lease_start_date` AS `beds.renter.lease_start_date`, `beds->renter`.`lease_end_date` AS `beds.renter.lease_end_date`, `beds->renter`.`status` AS `beds.renter.status`, `beds->renter`.`emergency_contact` AS `beds.renter.emergency_contact`, `beds->renter`.`emergency_relation` AS `beds.renter.emergency_relation`, `beds->renter`.`profile_photo` AS `beds.renter.profile_photo`, `beds->renter`.`occupation` AS `beds.renter.occupation`, `beds->renter`.`company` AS `beds.renter.company`, `beds->renter`.`monthly_income` AS `beds.renter.monthly_income`, `beds->renter`.`previous_address` AS `beds.renter.previous_address`, `beds->renter`.`references` AS `beds.renter.references`, `beds->renter`.`notice_period` AS `beds.renter.notice_period`, `beds->renter`.`preferences` AS `beds.renter.preferences`, `beds->renter`.`payment_history` AS `beds.renter.payment_history`, `beds->renter`.`created_at` AS `beds.renter.createdAt`, `beds->renter`.`updated_at` AS `beds.renter.updatedAt` FROM `Room` AS `Room` LEFT OUTER JOIN `Building` AS `building` ON `Room`.`building_id` = `building`.`id` LEFT OUTER JOIN `Floor` AS `floor` ON `Room`.`floor_id` = `floor`.`id` LEFT OUTER JOIN `Bed` AS `beds` ON `Room`.`id` = `beds`.`room_id` LEFT OUTER JOIN `Renter` AS `beds->renter` ON `beds`.`id` = `beds->renter`.`bed_id`; Executing (default): SELECT `Renter`.`id`, `Renter`.`name`, `Renter`.`email`, `Renter`.`phone`, `Renter`.`alternate_phone`, `Renter`.`nid`, `Renter`.`building_id`, `Renter`.`floor_id`, `Renter`.`room_id`, `Renter`.`bed_id`, `Renter`.`rent_amount`, `Renter`.`security_deposit`, `Renter`.`check_in_date`, `Renter`.`check_out_date`, `Renter`.`lease_start_date`, `Renter`.`lease_end_date`, `Renter`.`status`, `Renter`.`emergency_contact`, `Renter`.`emergency_relation`, `Renter`.`profile_photo`, `Renter`.`occupation`, `Renter`.`company`, `Renter`.`monthly_income`, `Renter`.`previous_address`, `Renter`.`references`, `Renter`.`notice_period`, `Renter`.`preferences`, `Renter`.`payment_history`, `Renter`.`created_at` AS `createdAt`, `Renter`.`updated_at` AS `updatedAt`, `room`.`id` AS `room.id`, `room`.`building_id` AS `room.building_id`, `room`.`floor_id` AS `room.floor_id`, `room`.`room_number` AS `room.room_number`, `room`.`total_beds` AS `room.total_beds`, `room`.`occupied_beds` AS `room.occupied_beds`, `room`.`rent_per_bed` AS `room.rent_per_bed`, `room`.`facilities` AS `room.facilities`, `room`.`room_type` AS `room.room_type`, `room`.`area` AS `room.area`, `room`.`has_balcony` AS `room.has_balcony`, `room`.`has_attached_bathroom` AS `room.has_attached_bathroom`, `room`.`furnishing_status` AS `room.furnishing_status`, `room`.`condition` AS `room.condition`, `room`.`last_cleaned` AS `room.last_cleaned`, `room`.`security_deposit` AS `room.security_deposit`, `room`.`available_from` AS `room.available_from`, `room`.`created_at` AS `room.createdAt`, `room`.`updated_at` AS `room.updatedAt`, `documents`.`id` AS `documents.id`, `documents`.`renter_id` AS `documents.renter_id`, `documents`.`type` AS `documents.type`, `documents`.`file_name` AS `documents.file_name`, `documents`.`file_url` AS `documents.file_url`, `documents`.`file_size` AS `documents.file_size`, `documents`.`mime_type` AS `documents.mime_type`, `documents`.`description` AS `documents.description`, `documents`.`created_at` AS `documents.createdAt`, `documents`.`updated_at` AS `documents.updatedAt` FROM `Renter` AS `Renter` LEFT OUTER JOIN `Room` AS `room` ON `Renter`.`room_id` = `room`.`id` LEFT OUTER JOIN `RenterDocument` AS `documents` ON `Renter`.`id` = `documents`.`renter_id`; Executing (default): SELECT `id`, `name`, `email`, `password`, `role`, `permissions`, `department`, `phone`, `avatar`, `is_active`, `last_login`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `User` AS `User` WHERE `User`.`id` = '8cc00eb8-378e-4f89-8141-f87aa35fd51d'; Executing (default): SELECT `id`, `name`, `email`, `password`, `role`, `permissions`, `department`, `phone`, `avatar`, `is_active`, `last_login`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `User` AS `User` WHERE `User`.`id` = '8cc00eb8-378e-4f89-8141-f87aa35fd51d'; Executing (default): SELECT `id`, `name`, `email`, `password`, `role`, `permissions`, `department`, `phone`, `avatar`, `is_active`, `last_login`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `User` AS `User` WHERE `User`.`id` = '8cc00eb8-378e-4f89-8141-f87aa35fd51d'; Executing (default): SELECT `id`, `building_id`, `floor_id`, `room_id`, `bed_id`, `type`, `category`, `description`, `priority`, `status`, `assigned_to`, `cost`, `estimated_cost`, `scheduled_date`, `completed_date`, `notes`, `images`, `warranty`, `next_maintenance_date`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `Maintenance` AS `Maintenance`; Executing (default): SELECT `Bed`.`id`, `Bed`.`building_id`, `Bed`.`floor_id`, `Bed`.`room_id`, `Bed`.`bed_number`, `Bed`.`is_occupied`, `Bed`.`monthly_rent`, `Bed`.`status`, `Bed`.`bed_type`, `Bed`.`last_cleaned`, `Bed`.`notes`, `Bed`.`reserved_until`, `Bed`.`maintenance_scheduled`, `Bed`.`created_at` AS `createdAt`, `Bed`.`updated_at` AS `updatedAt`, `renter`.`id` AS `renter.id`, `renter`.`name` AS `renter.name`, `renter`.`email` AS `renter.email`, `renter`.`phone` AS `renter.phone`, `renter`.`alternate_phone` AS `renter.alternate_phone`, `renter`.`nid` AS `renter.nid`, `renter`.`building_id` AS `renter.building_id`, `renter`.`floor_id` AS `renter.floor_id`, `renter`.`room_id` AS `renter.room_id`, `renter`.`bed_id` AS `renter.bed_id`, `renter`.`rent_amount` AS `renter.rent_amount`, `renter`.`security_deposit` AS `renter.security_deposit`, `renter`.`check_in_date` AS `renter.check_in_date`, `renter`.`check_out_date` AS `renter.check_out_date`, `renter`.`lease_start_date` AS `renter.lease_start_date`, `renter`.`lease_end_date` AS `renter.lease_end_date`, `renter`.`status` AS `renter.status`, `renter`.`emergency_contact` AS `renter.emergency_contact`, `renter`.`emergency_relation` AS `renter.emergency_relation`, `renter`.`profile_photo` AS `renter.profile_photo`, `renter`.`occupation` AS `renter.occupation`, `renter`.`company` AS `renter.company`, `renter`.`monthly_income` AS `renter.monthly_income`, `renter`.`previous_address` AS `renter.previous_address`, `renter`.`references` AS `renter.references`, `renter`.`notice_period` AS `renter.notice_period`, `renter`.`preferences` AS `renter.preferences`, `renter`.`payment_history` AS `renter.payment_history`, `renter`.`created_at` AS `renter.createdAt`, `renter`.`updated_at` AS `renter.updatedAt`, `room`.`id` AS `room.id`, `room`.`building_id` AS `room.building_id`, `room`.`floor_id` AS `room.floor_id`, `room`.`room_number` AS `room.room_number`, `room`.`total_beds` AS `room.total_beds`, `room`.`occupied_beds` AS `room.occupied_beds`, `room`.`rent_per_bed` AS `room.rent_per_bed`, `room`.`facilities` AS `room.facilities`, `room`.`room_type` AS `room.room_type`, `room`.`area` AS `room.area`, `room`.`has_balcony` AS `room.has_balcony`, `room`.`has_attached_bathroom` AS `room.has_attached_bathroom`, `room`.`furnishing_status` AS `room.furnishing_status`, `room`.`condition` AS `room.condition`, `room`.`last_cleaned` AS `room.last_cleaned`, `room`.`security_deposit` AS `room.security_deposit`, `room`.`available_from` AS `room.available_from`, `room`.`created_at` AS `room.createdAt`, `room`.`updated_at` AS `room.updatedAt`, `room->floor`.`id` AS `room.floor.id`, `room->floor`.`building_id` AS `room.floor.building_id`, `room->floor`.`floor_number` AS `room.floor.floor_number`, `room->floor`.`total_rooms` AS `room.floor.total_rooms`, `room->floor`.`occupied_rooms` AS `room.floor.occupied_rooms`, `room->floor`.`floor_type` AS `room.floor.floor_type`, `room->floor`.`amenities` AS `room.floor.amenities`, `room->floor`.`maintenance_status` AS `room.floor.maintenance_status`, `room->floor`.`last_inspection` AS `room.floor.last_inspection`, `room->floor`.`notes` AS `room.floor.notes`, `room->floor`.`created_at` AS `room.floor.createdAt`, `room->floor`.`updated_at` AS `room.floor.updatedAt`, `room->floor->building`.`id` AS `room.floor.building.id`, `room->floor->building`.`name` AS `room.floor.building.name`, `room->floor->building`.`address` AS `room.floor.building.address`, `room->floor->building`.`floors` AS `room.floor.building.floors`, `room->floor->building`.`total_rooms` AS `room.floor.building.total_rooms`, `room->floor->building`.`total_beds` AS `room.floor.building.total_beds`, `room->floor->building`.`parking_spaces` AS `room.floor.building.parking_spaces`, `room->floor->building`.`occupied_beds` AS `room.floor.building.occupied_beds`, `room->floor->building`.`manager` AS `room.floor.building.manager`, `room->floor->building`.`amenities` AS `room.floor.building.amenities`, `room->floor->building`.`monthly_revenue` AS `room.floor.building.monthly_revenue`, `room->floor->building`.`building_type` AS `room.floor.building.building_type`, `room->floor->building`.`year_built` AS `room.floor.building.year_built`, `room->floor->building`.`total_area` AS `room.floor.building.total_area`, `room->floor->building`.`elevators` AS `room.floor.building.elevators`, `room->floor->building`.`security_features` AS `room.floor.building.security_features`, `room->floor->building`.`contact_person` AS `room.floor.building.contact_person`, `room->floor->building`.`contact_phone` AS `room.floor.building.contact_phone`, `room->floor->building`.`created_at` AS `room.floor.building.createdAt`, `room->floor->building`.`updated_at` AS `room.floor.building.updatedAt` FROM `Bed` AS `Bed` LEFT OUTER JOIN `Renter` AS `renter` ON `Bed`.`id` = `renter`.`bed_id` LEFT OUTER JOIN `Room` AS `room` ON `Bed`.`room_id` = `room`.`id` LEFT OUTER JOIN `Floor` AS `room->floor` ON `room`.`floor_id` = `room->floor`.`id` LEFT OUTER JOIN `Building` AS `room->floor->building` ON `room->floor`.`building_id` = `room->floor->building`.`id`; Executing (default): SELECT `id`, `name`, `email`, `password`, `role`, `permissions`, `department`, `phone`, `avatar`, `is_active`, `last_login`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `User` AS `User` WHERE `User`.`id` = '8cc00eb8-378e-4f89-8141-f87aa35fd51d'; Executing (default): SELECT `id`, `name`, `email`, `password`, `role`, `permissions`, `department`, `phone`, `avatar`, `is_active`, `last_login`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `User` AS `User` WHERE `User`.`id` = '8cc00eb8-378e-4f89-8141-f87aa35fd51d'; Executing (default): SELECT `id`, `building_id`, `floor_id`, `category`, `subcategory`, `description`, `amount`, `date`, `vendor`, `receipt`, `approved_by`, `payment_method`, `is_recurring`, `recurring_frequency`, `budget_category`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `Expense` AS `Expense`; Executing (default): SELECT `id`, `renter_id`, `amount`, `due_date`, `paid_date`, `status`, `month`, `year`, `payment_method`, `transaction_id`, `late_fee`, `discount`, `notes`, `receipt_number`, `collected_by`, `renter_name` AS `renterName`, `room_number`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `RentPayment` AS `RentPayment`; Executing (default): SELECT `id`, `name`, `email`, `role`, `permissions`, `department`, `phone`, `avatar`, `is_active`, `last_login`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `User` AS `User` WHERE `User`.`id` = '8cc00eb8-378e-4f89-8141-f87aa35fd51d'; Executing (default): SELECT `id`, `title`, `content`, `type`, `priority`, `target_audience`, `target_ids`, `building_id`, `floor_id`, `created_by`, `expiry_date`, `is_active`, `read_by`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `Notice` AS `Notice`; Executing (default): SELECT `id`, `visitor_name`, `visitor_phone`, `visiting_renter_id`, `check_in_time`, `check_out_time`, `purpose`, `approved_by`, `id_verified`, `vehicle_number`, `notes`, `visiting_renter_name`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `Visitor` AS `Visitor`; Executing (default): SELECT `id`, `name`, `value`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `Settings` AS `Settings`; Executing (default): SELECT `id`, `name`, `email`, `password`, `role`, `permissions`, `department`, `phone`, `avatar`, `is_active`, `last_login`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `User` AS `User` WHERE `User`.`id` = '8cc00eb8-378e-4f89-8141-f87aa35fd51d'; Executing (default): SELECT `id`, `name`, `email`, `password`, `role`, `permissions`, `department`, `phone`, `avatar`, `is_active`, `last_login`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `User` AS `User` WHERE `User`.`id` = '8cc00eb8-378e-4f89-8141-f87aa35fd51d'; Executing (default): SELECT `id`, `name`, `email`, `password`, `role`, `permissions`, `department`, `phone`, `avatar`, `is_active`, `last_login`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `User` AS `User` WHERE `User`.`id` = '8cc00eb8-378e-4f89-8141-f87aa35fd51d'; Executing (default): SELECT `Building`.`id`, `Building`.`name`, `Building`.`address`, `Building`.`floors`, `Building`.`total_rooms`, `Building`.`total_beds`, `Building`.`parking_spaces`, `Building`.`occupied_beds`, `Building`.`manager`, `Building`.`amenities`, `Building`.`monthly_revenue`, `Building`.`building_type`, `Building`.`year_built`, `Building`.`total_area`, `Building`.`elevators`, `Building`.`security_features`, `Building`.`contact_person`, `Building`.`contact_phone`, `Building`.`created_at` AS `createdAt`, `Building`.`updated_at` AS `updatedAt`, `buildingFloors`.`id` AS `buildingFloors.id`, `buildingFloors`.`building_id` AS `buildingFloors.building_id`, `buildingFloors`.`floor_number` AS `buildingFloors.floor_number`, `buildingFloors`.`total_rooms` AS `buildingFloors.total_rooms`, `buildingFloors`.`occupied_rooms` AS `buildingFloors.occupied_rooms`, `buildingFloors`.`floor_type` AS `buildingFloors.floor_type`, `buildingFloors`.`amenities` AS `buildingFloors.amenities`, `buildingFloors`.`maintenance_status` AS `buildingFloors.maintenance_status`, `buildingFloors`.`last_inspection` AS `buildingFloors.last_inspection`, `buildingFloors`.`notes` AS `buildingFloors.notes`, `buildingFloors`.`created_at` AS `buildingFloors.createdAt`, `buildingFloors`.`updated_at` AS `buildingFloors.updatedAt`, `buildingFloors->rooms`.`id` AS `buildingFloors.rooms.id`, `buildingFloors->rooms`.`building_id` AS `buildingFloors.rooms.building_id`, `buildingFloors->rooms`.`floor_id` AS `buildingFloors.rooms.floor_id`, `buildingFloors->rooms`.`room_number` AS `buildingFloors.rooms.room_number`, `buildingFloors->rooms`.`total_beds` AS `buildingFloors.rooms.total_beds`, `buildingFloors->rooms`.`occupied_beds` AS `buildingFloors.rooms.occupied_beds`, `buildingFloors->rooms`.`rent_per_bed` AS `buildingFloors.rooms.rent_per_bed`, `buildingFloors->rooms`.`facilities` AS `buildingFloors.rooms.facilities`, `buildingFloors->rooms`.`room_type` AS `buildingFloors.rooms.room_type`, `buildingFloors->rooms`.`area` AS `buildingFloors.rooms.area`, `buildingFloors->rooms`.`has_balcony` AS `buildingFloors.rooms.has_balcony`, `buildingFloors->rooms`.`has_attached_bathroom` AS `buildingFloors.rooms.has_attached_bathroom`, `buildingFloors->rooms`.`furnishing_status` AS `buildingFloors.rooms.furnishing_status`, `buildingFloors->rooms`.`condition` AS `buildingFloors.rooms.condition`, `buildingFloors->rooms`.`last_cleaned` AS `buildingFloors.rooms.last_cleaned`, `buildingFloors->rooms`.`security_deposit` AS `buildingFloors.rooms.security_deposit`, `buildingFloors->rooms`.`available_from` AS `buildingFloors.rooms.available_from`, `buildingFloors->rooms`.`created_at` AS `buildingFloors.rooms.createdAt`, `buildingFloors->rooms`.`updated_at` AS `buildingFloors.rooms.updatedAt`, `buildingFloors->rooms->beds`.`id` AS `buildingFloors.rooms.beds.id`, `buildingFloors->rooms->beds`.`building_id` AS `buildingFloors.rooms.beds.building_id`, `buildingFloors->rooms->beds`.`floor_id` AS `buildingFloors.rooms.beds.floor_id`, `buildingFloors->rooms->beds`.`room_id` AS `buildingFloors.rooms.beds.room_id`, `buildingFloors->rooms->beds`.`bed_number` AS `buildingFloors.rooms.beds.bed_number`, `buildingFloors->rooms->beds`.`is_occupied` AS `buildingFloors.rooms.beds.is_occupied`, `buildingFloors->rooms->beds`.`monthly_rent` AS `buildingFloors.rooms.beds.monthly_rent`, `buildingFloors->rooms->beds`.`status` AS `buildingFloors.rooms.beds.status`, `buildingFloors->rooms->beds`.`bed_type` AS `buildingFloors.rooms.beds.bed_type`, `buildingFloors->rooms->beds`.`last_cleaned` AS `buildingFloors.rooms.beds.last_cleaned`, `buildingFloors->rooms->beds`.`notes` AS `buildingFloors.rooms.beds.notes`, `buildingFloors->rooms->beds`.`reserved_until` AS `buildingFloors.rooms.beds.reserved_until`, `buildingFloors->rooms->beds`.`maintenance_scheduled` AS `buildingFloors.rooms.beds.maintenance_scheduled`, `buildingFloors->rooms->beds`.`created_at` AS `buildingFloors.rooms.beds.createdAt`, `buildingFloors->rooms->beds`.`updated_at` AS `buildingFloors.rooms.beds.updatedAt`, `buildingFloors->rooms->beds->renter`.`id` AS `buildingFloors.rooms.beds.renter.id`, `buildingFloors->rooms->beds->renter`.`name` AS `buildingFloors.rooms.beds.renter.name`, `buildingFloors->rooms->beds->renter`.`email` AS `buildingFloors.rooms.beds.renter.email`, `buildingFloors->rooms->beds->renter`.`phone` AS `buildingFloors.rooms.beds.renter.phone`, `buildingFloors->rooms->beds->renter`.`alternate_phone` AS `buildingFloors.rooms.beds.renter.alternate_phone`, `buildingFloors->rooms->beds->renter`.`nid` AS `buildingFloors.rooms.beds.renter.nid`, `buildingFloors->rooms->beds->renter`.`building_id` AS `buildingFloors.rooms.beds.renter.building_id`, `buildingFloors->rooms->beds->renter`.`floor_id` AS `buildingFloors.rooms.beds.renter.floor_id`, `buildingFloors->rooms->beds->renter`.`room_id` AS `buildingFloors.rooms.beds.renter.room_id`, `buildingFloors->rooms->beds->renter`.`bed_id` AS `buildingFloors.rooms.beds.renter.bed_id`, `buildingFloors->rooms->beds->renter`.`rent_amount` AS `buildingFloors.rooms.beds.renter.rent_amount`, `buildingFloors->rooms->beds->renter`.`security_deposit` AS `buildingFloors.rooms.beds.renter.security_deposit`, `buildingFloors->rooms->beds->renter`.`check_in_date` AS `buildingFloors.rooms.beds.renter.check_in_date`, `buildingFloors->rooms->beds->renter`.`check_out_date` AS `buildingFloors.rooms.beds.renter.check_out_date`, `buildingFloors->rooms->beds->renter`.`lease_start_date` AS `buildingFloors.rooms.beds.renter.lease_start_date`, `buildingFloors->rooms->beds->renter`.`lease_end_date` AS `buildingFloors.rooms.beds.renter.lease_end_date`, `buildingFloors->rooms->beds->renter`.`status` AS `buildingFloors.rooms.beds.renter.status`, `buildingFloors->rooms->beds->renter`.`emergency_contact` AS `buildingFloors.rooms.beds.renter.emergency_contact`, `buildingFloors->rooms->beds->renter`.`emergency_relation` AS `buildingFloors.rooms.beds.renter.emergency_relation`, `buildingFloors->rooms->beds->renter`.`profile_photo` AS `buildingFloors.rooms.beds.renter.profile_photo`, `buildingFloors->rooms->beds->renter`.`occupation` AS `buildingFloors.rooms.beds.renter.occupation`, `buildingFloors->rooms->beds->renter`.`company` AS `buildingFloors.rooms.beds.renter.company`, `buildingFloors->rooms->beds->renter`.`monthly_income` AS `buildingFloors.rooms.beds.renter.monthly_income`, `buildingFloors->rooms->beds->renter`.`previous_address` AS `buildingFloors.rooms.beds.renter.previous_address`, `buildingFloors->rooms->beds->renter`.`references` AS `buildingFloors.rooms.beds.renter.references`, `buildingFloors->rooms->beds->renter`.`notice_period` AS `buildingFloors.rooms.beds.renter.notice_period`, `buildingFloors->rooms->beds->renter`.`preferences` AS `buildingFloors.rooms.beds.renter.preferences`, `buildingFloors->rooms->beds->renter`.`payment_history` AS `buildingFloors.rooms.beds.renter.payment_history`, `buildingFloors->rooms->beds->renter`.`created_at` AS `buildingFloors.rooms.beds.renter.createdAt`, `buildingFloors->rooms->beds->renter`.`updated_at` AS `buildingFloors.rooms.beds.renter.updatedAt` FROM `Building` AS `Building` LEFT OUTER JOIN `Floor` AS `buildingFloors` ON `Building`.`id` = `buildingFloors`.`building_id` LEFT OUTER JOIN `Room` AS `buildingFloors->rooms` ON `buildingFloors`.`id` = `buildingFloors->rooms`.`floor_id` LEFT OUTER JOIN `Bed` AS `buildingFloors->rooms->beds` ON `buildingFloors->rooms`.`id` = `buildingFloors->rooms->beds`.`room_id` LEFT OUTER JOIN `Renter` AS `buildingFloors->rooms->beds->renter` ON `buildingFloors->rooms->beds`.`id` = `buildingFloors->rooms->beds->renter`.`bed_id` ORDER BY `createdAt` DESC; Executing (default): SELECT `Room`.`id`, `Room`.`building_id`, `Room`.`floor_id`, `Room`.`room_number`, `Room`.`total_beds`, `Room`.`occupied_beds`, `Room`.`rent_per_bed`, `Room`.`facilities`, `Room`.`room_type`, `Room`.`area`, `Room`.`has_balcony`, `Room`.`has_attached_bathroom`, `Room`.`furnishing_status`, `Room`.`condition`, `Room`.`last_cleaned`, `Room`.`security_deposit`, `Room`.`available_from`, `Room`.`created_at` AS `createdAt`, `Room`.`updated_at` AS `updatedAt`, `building`.`id` AS `building.id`, `building`.`name` AS `building.name`, `building`.`address` AS `building.address`, `building`.`floors` AS `building.floors`, `building`.`total_rooms` AS `building.total_rooms`, `building`.`total_beds` AS `building.total_beds`, `building`.`parking_spaces` AS `building.parking_spaces`, `building`.`occupied_beds` AS `building.occupied_beds`, `building`.`manager` AS `building.manager`, `building`.`amenities` AS `building.amenities`, `building`.`monthly_revenue` AS `building.monthly_revenue`, `building`.`building_type` AS `building.building_type`, `building`.`year_built` AS `building.year_built`, `building`.`total_area` AS `building.total_area`, `building`.`elevators` AS `building.elevators`, `building`.`security_features` AS `building.security_features`, `building`.`contact_person` AS `building.contact_person`, `building`.`contact_phone` AS `building.contact_phone`, `building`.`created_at` AS `building.createdAt`, `building`.`updated_at` AS `building.updatedAt`, `floor`.`id` AS `floor.id`, `floor`.`building_id` AS `floor.building_id`, `floor`.`floor_number` AS `floor.floor_number`, `floor`.`total_rooms` AS `floor.total_rooms`, `floor`.`occupied_rooms` AS `floor.occupied_rooms`, `floor`.`floor_type` AS `floor.floor_type`, `floor`.`amenities` AS `floor.amenities`, `floor`.`maintenance_status` AS `floor.maintenance_status`, `floor`.`last_inspection` AS `floor.last_inspection`, `floor`.`notes` AS `floor.notes`, `floor`.`created_at` AS `floor.createdAt`, `floor`.`updated_at` AS `floor.updatedAt`, `beds`.`id` AS `beds.id`, `beds`.`building_id` AS `beds.building_id`, `beds`.`floor_id` AS `beds.floor_id`, `beds`.`room_id` AS `beds.room_id`, `beds`.`bed_number` AS `beds.bed_number`, `beds`.`is_occupied` AS `beds.is_occupied`, `beds`.`monthly_rent` AS `beds.monthly_rent`, `beds`.`status` AS `beds.status`, `beds`.`bed_type` AS `beds.bed_type`, `beds`.`last_cleaned` AS `beds.last_cleaned`, `beds`.`notes` AS `beds.notes`, `beds`.`reserved_until` AS `beds.reserved_until`, `beds`.`maintenance_scheduled` AS `beds.maintenance_scheduled`, `beds`.`created_at` AS `beds.createdAt`, `beds`.`updated_at` AS `beds.updatedAt`, `beds->renter`.`id` AS `beds.renter.id`, `beds->renter`.`name` AS `beds.renter.name`, `beds->renter`.`email` AS `beds.renter.email`, `beds->renter`.`phone` AS `beds.renter.phone`, `beds->renter`.`alternate_phone` AS `beds.renter.alternate_phone`, `beds->renter`.`nid` AS `beds.renter.nid`, `beds->renter`.`building_id` AS `beds.renter.building_id`, `beds->renter`.`floor_id` AS `beds.renter.floor_id`, `beds->renter`.`room_id` AS `beds.renter.room_id`, `beds->renter`.`bed_id` AS `beds.renter.bed_id`, `beds->renter`.`rent_amount` AS `beds.renter.rent_amount`, `beds->renter`.`security_deposit` AS `beds.renter.security_deposit`, `beds->renter`.`check_in_date` AS `beds.renter.check_in_date`, `beds->renter`.`check_out_date` AS `beds.renter.check_out_date`, `beds->renter`.`lease_start_date` AS `beds.renter.lease_start_date`, `beds->renter`.`lease_end_date` AS `beds.renter.lease_end_date`, `beds->renter`.`status` AS `beds.renter.status`, `beds->renter`.`emergency_contact` AS `beds.renter.emergency_contact`, `beds->renter`.`emergency_relation` AS `beds.renter.emergency_relation`, `beds->renter`.`profile_photo` AS `beds.renter.profile_photo`, `beds->renter`.`occupation` AS `beds.renter.occupation`, `beds->renter`.`company` AS `beds.renter.company`, `beds->renter`.`monthly_income` AS `beds.renter.monthly_income`, `beds->renter`.`previous_address` AS `beds.renter.previous_address`, `beds->renter`.`references` AS `beds.renter.references`, `beds->renter`.`notice_period` AS `beds.renter.notice_period`, `beds->renter`.`preferences` AS `beds.renter.preferences`, `beds->renter`.`payment_history` AS `beds.renter.payment_history`, `beds->renter`.`created_at` AS `beds.renter.createdAt`, `beds->renter`.`updated_at` AS `beds.renter.updatedAt` FROM `Room` AS `Room` LEFT OUTER JOIN `Building` AS `building` ON `Room`.`building_id` = `building`.`id` LEFT OUTER JOIN `Floor` AS `floor` ON `Room`.`floor_id` = `floor`.`id` LEFT OUTER JOIN `Bed` AS `beds` ON `Room`.`id` = `beds`.`room_id` LEFT OUTER JOIN `Renter` AS `beds->renter` ON `beds`.`id` = `beds->renter`.`bed_id`; Executing (default): SELECT `Floor`.`id`, `Floor`.`building_id`, `Floor`.`floor_number`, `Floor`.`total_rooms`, `Floor`.`occupied_rooms`, `Floor`.`floor_type`, `Floor`.`amenities`, `Floor`.`maintenance_status`, `Floor`.`last_inspection`, `Floor`.`notes`, `Floor`.`created_at` AS `createdAt`, `Floor`.`updated_at` AS `updatedAt`, `rooms`.`id` AS `rooms.id`, `rooms`.`building_id` AS `rooms.building_id`, `rooms`.`floor_id` AS `rooms.floor_id`, `rooms`.`room_number` AS `rooms.room_number`, `rooms`.`total_beds` AS `rooms.total_beds`, `rooms`.`occupied_beds` AS `rooms.occupied_beds`, `rooms`.`rent_per_bed` AS `rooms.rent_per_bed`, `rooms`.`facilities` AS `rooms.facilities`, `rooms`.`room_type` AS `rooms.room_type`, `rooms`.`area` AS `rooms.area`, `rooms`.`has_balcony` AS `rooms.has_balcony`, `rooms`.`has_attached_bathroom` AS `rooms.has_attached_bathroom`, `rooms`.`furnishing_status` AS `rooms.furnishing_status`, `rooms`.`condition` AS `rooms.condition`, `rooms`.`last_cleaned` AS `rooms.last_cleaned`, `rooms`.`security_deposit` AS `rooms.security_deposit`, `rooms`.`available_from` AS `rooms.available_from`, `rooms`.`created_at` AS `rooms.createdAt`, `rooms`.`updated_at` AS `rooms.updatedAt`, `rooms->beds`.`id` AS `rooms.beds.id`, `rooms->beds`.`building_id` AS `rooms.beds.building_id`, `rooms->beds`.`floor_id` AS `rooms.beds.floor_id`, `rooms->beds`.`room_id` AS `rooms.beds.room_id`, `rooms->beds`.`bed_number` AS `rooms.beds.bed_number`, `rooms->beds`.`is_occupied` AS `rooms.beds.is_occupied`, `rooms->beds`.`monthly_rent` AS `rooms.beds.monthly_rent`, `rooms->beds`.`status` AS `rooms.beds.status`, `rooms->beds`.`bed_type` AS `rooms.beds.bed_type`, `rooms->beds`.`last_cleaned` AS `rooms.beds.last_cleaned`, `rooms->beds`.`notes` AS `rooms.beds.notes`, `rooms->beds`.`reserved_until` AS `rooms.beds.reserved_until`, `rooms->beds`.`maintenance_scheduled` AS `rooms.beds.maintenance_scheduled`, `rooms->beds`.`created_at` AS `rooms.beds.createdAt`, `rooms->beds`.`updated_at` AS `rooms.beds.updatedAt`, `rooms->beds->renter`.`id` AS `rooms.beds.renter.id`, `rooms->beds->renter`.`name` AS `rooms.beds.renter.name`, `rooms->beds->renter`.`email` AS `rooms.beds.renter.email`, `rooms->beds->renter`.`phone` AS `rooms.beds.renter.phone`, `rooms->beds->renter`.`alternate_phone` AS `rooms.beds.renter.alternate_phone`, `rooms->beds->renter`.`nid` AS `rooms.beds.renter.nid`, `rooms->beds->renter`.`building_id` AS `rooms.beds.renter.building_id`, `rooms->beds->renter`.`floor_id` AS `rooms.beds.renter.floor_id`, `rooms->beds->renter`.`room_id` AS `rooms.beds.renter.room_id`, `rooms->beds->renter`.`bed_id` AS `rooms.beds.renter.bed_id`, `rooms->beds->renter`.`rent_amount` AS `rooms.beds.renter.rent_amount`, `rooms->beds->renter`.`security_deposit` AS `rooms.beds.renter.security_deposit`, `rooms->beds->renter`.`check_in_date` AS `rooms.beds.renter.check_in_date`, `rooms->beds->renter`.`check_out_date` AS `rooms.beds.renter.check_out_date`, `rooms->beds->renter`.`lease_start_date` AS `rooms.beds.renter.lease_start_date`, `rooms->beds->renter`.`lease_end_date` AS `rooms.beds.renter.lease_end_date`, `rooms->beds->renter`.`status` AS `rooms.beds.renter.status`, `rooms->beds->renter`.`emergency_contact` AS `rooms.beds.renter.emergency_contact`, `rooms->beds->renter`.`emergency_relation` AS `rooms.beds.renter.emergency_relation`, `rooms->beds->renter`.`profile_photo` AS `rooms.beds.renter.profile_photo`, `rooms->beds->renter`.`occupation` AS `rooms.beds.renter.occupation`, `rooms->beds->renter`.`company` AS `rooms.beds.renter.company`, `rooms->beds->renter`.`monthly_income` AS `rooms.beds.renter.monthly_income`, `rooms->beds->renter`.`previous_address` AS `rooms.beds.renter.previous_address`, `rooms->beds->renter`.`references` AS `rooms.beds.renter.references`, `rooms->beds->renter`.`notice_period` AS `rooms.beds.renter.notice_period`, `rooms->beds->renter`.`preferences` AS `rooms.beds.renter.preferences`, `rooms->beds->renter`.`payment_history` AS `rooms.beds.renter.payment_history`, `rooms->beds->renter`.`created_at` AS `rooms.beds.renter.createdAt`, `rooms->beds->renter`.`updated_at` AS `rooms.beds.renter.updatedAt` FROM `Floor` AS `Floor` LEFT OUTER JOIN `Room` AS `rooms` ON `Floor`.`id` = `rooms`.`floor_id` LEFT OUTER JOIN `Bed` AS `rooms->beds` ON `rooms`.`id` = `rooms->beds`.`room_id` LEFT OUTER JOIN `Renter` AS `rooms->beds->renter` ON `rooms->beds`.`id` = `rooms->beds->renter`.`bed_id`; Executing (default): SELECT `id`, `name`, `email`, `password`, `role`, `permissions`, `department`, `phone`, `avatar`, `is_active`, `last_login`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `User` AS `User` WHERE `User`.`id` = '8cc00eb8-378e-4f89-8141-f87aa35fd51d'; Executing (default): SELECT `Renter`.`id`, `Renter`.`name`, `Renter`.`email`, `Renter`.`phone`, `Renter`.`alternate_phone`, `Renter`.`nid`, `Renter`.`building_id`, `Renter`.`floor_id`, `Renter`.`room_id`, `Renter`.`bed_id`, `Renter`.`rent_amount`, `Renter`.`security_deposit`, `Renter`.`check_in_date`, `Renter`.`check_out_date`, `Renter`.`lease_start_date`, `Renter`.`lease_end_date`, `Renter`.`status`, `Renter`.`emergency_contact`, `Renter`.`emergency_relation`, `Renter`.`profile_photo`, `Renter`.`occupation`, `Renter`.`company`, `Renter`.`monthly_income`, `Renter`.`previous_address`, `Renter`.`references`, `Renter`.`notice_period`, `Renter`.`preferences`, `Renter`.`payment_history`, `Renter`.`created_at` AS `createdAt`, `Renter`.`updated_at` AS `updatedAt`, `room`.`id` AS `room.id`, `room`.`building_id` AS `room.building_id`, `room`.`floor_id` AS `room.floor_id`, `room`.`room_number` AS `room.room_number`, `room`.`total_beds` AS `room.total_beds`, `room`.`occupied_beds` AS `room.occupied_beds`, `room`.`rent_per_bed` AS `room.rent_per_bed`, `room`.`facilities` AS `room.facilities`, `room`.`room_type` AS `room.room_type`, `room`.`area` AS `room.area`, `room`.`has_balcony` AS `room.has_balcony`, `room`.`has_attached_bathroom` AS `room.has_attached_bathroom`, `room`.`furnishing_status` AS `room.furnishing_status`, `room`.`condition` AS `room.condition`, `room`.`last_cleaned` AS `room.last_cleaned`, `room`.`security_deposit` AS `room.security_deposit`, `room`.`available_from` AS `room.available_from`, `room`.`created_at` AS `room.createdAt`, `room`.`updated_at` AS `room.updatedAt`, `documents`.`id` AS `documents.id`, `documents`.`renter_id` AS `documents.renter_id`, `documents`.`type` AS `documents.type`, `documents`.`file_name` AS `documents.file_name`, `documents`.`file_url` AS `documents.file_url`, `documents`.`file_size` AS `documents.file_size`, `documents`.`mime_type` AS `documents.mime_type`, `documents`.`description` AS `documents.description`, `documents`.`created_at` AS `documents.createdAt`, `documents`.`updated_at` AS `documents.updatedAt` FROM `Renter` AS `Renter` LEFT OUTER JOIN `Room` AS `room` ON `Renter`.`room_id` = `room`.`id` LEFT OUTER JOIN `RenterDocument` AS `documents` ON `Renter`.`id` = `documents`.`renter_id`; Executing (default): SELECT `Bed`.`id`, `Bed`.`building_id`, `Bed`.`floor_id`, `Bed`.`room_id`, `Bed`.`bed_number`, `Bed`.`is_occupied`, `Bed`.`monthly_rent`, `Bed`.`status`, `Bed`.`bed_type`, `Bed`.`last_cleaned`, `Bed`.`notes`, `Bed`.`reserved_until`, `Bed`.`maintenance_scheduled`, `Bed`.`created_at` AS `createdAt`, `Bed`.`updated_at` AS `updatedAt`, `renter`.`id` AS `renter.id`, `renter`.`name` AS `renter.name`, `renter`.`email` AS `renter.email`, `renter`.`phone` AS `renter.phone`, `renter`.`alternate_phone` AS `renter.alternate_phone`, `renter`.`nid` AS `renter.nid`, `renter`.`building_id` AS `renter.building_id`, `renter`.`floor_id` AS `renter.floor_id`, `renter`.`room_id` AS `renter.room_id`, `renter`.`bed_id` AS `renter.bed_id`, `renter`.`rent_amount` AS `renter.rent_amount`, `renter`.`security_deposit` AS `renter.security_deposit`, `renter`.`check_in_date` AS `renter.check_in_date`, `renter`.`check_out_date` AS `renter.check_out_date`, `renter`.`lease_start_date` AS `renter.lease_start_date`, `renter`.`lease_end_date` AS `renter.lease_end_date`, `renter`.`status` AS `renter.status`, `renter`.`emergency_contact` AS `renter.emergency_contact`, `renter`.`emergency_relation` AS `renter.emergency_relation`, `renter`.`profile_photo` AS `renter.profile_photo`, `renter`.`occupation` AS `renter.occupation`, `renter`.`company` AS `renter.company`, `renter`.`monthly_income` AS `renter.monthly_income`, `renter`.`previous_address` AS `renter.previous_address`, `renter`.`references` AS `renter.references`, `renter`.`notice_period` AS `renter.notice_period`, `renter`.`preferences` AS `renter.preferences`, `renter`.`payment_history` AS `renter.payment_history`, `renter`.`created_at` AS `renter.createdAt`, `renter`.`updated_at` AS `renter.updatedAt`, `room`.`id` AS `room.id`, `room`.`building_id` AS `room.building_id`, `room`.`floor_id` AS `room.floor_id`, `room`.`room_number` AS `room.room_number`, `room`.`total_beds` AS `room.total_beds`, `room`.`occupied_beds` AS `room.occupied_beds`, `room`.`rent_per_bed` AS `room.rent_per_bed`, `room`.`facilities` AS `room.facilities`, `room`.`room_type` AS `room.room_type`, `room`.`area` AS `room.area`, `room`.`has_balcony` AS `room.has_balcony`, `room`.`has_attached_bathroom` AS `room.has_attached_bathroom`, `room`.`furnishing_status` AS `room.furnishing_status`, `room`.`condition` AS `room.condition`, `room`.`last_cleaned` AS `room.last_cleaned`, `room`.`security_deposit` AS `room.security_deposit`, `room`.`available_from` AS `room.available_from`, `room`.`created_at` AS `room.createdAt`, `room`.`updated_at` AS `room.updatedAt`, `room->floor`.`id` AS `room.floor.id`, `room->floor`.`building_id` AS `room.floor.building_id`, `room->floor`.`floor_number` AS `room.floor.floor_number`, `room->floor`.`total_rooms` AS `room.floor.total_rooms`, `room->floor`.`occupied_rooms` AS `room.floor.occupied_rooms`, `room->floor`.`floor_type` AS `room.floor.floor_type`, `room->floor`.`amenities` AS `room.floor.amenities`, `room->floor`.`maintenance_status` AS `room.floor.maintenance_status`, `room->floor`.`last_inspection` AS `room.floor.last_inspection`, `room->floor`.`notes` AS `room.floor.notes`, `room->floor`.`created_at` AS `room.floor.createdAt`, `room->floor`.`updated_at` AS `room.floor.updatedAt`, `room->floor->building`.`id` AS `room.floor.building.id`, `room->floor->building`.`name` AS `room.floor.building.name`, `room->floor->building`.`address` AS `room.floor.building.address`, `room->floor->building`.`floors` AS `room.floor.building.floors`, `room->floor->building`.`total_rooms` AS `room.floor.building.total_rooms`, `room->floor->building`.`total_beds` AS `room.floor.building.total_beds`, `room->floor->building`.`parking_spaces` AS `room.floor.building.parking_spaces`, `room->floor->building`.`occupied_beds` AS `room.floor.building.occupied_beds`, `room->floor->building`.`manager` AS `room.floor.building.manager`, `room->floor->building`.`amenities` AS `room.floor.building.amenities`, `room->floor->building`.`monthly_revenue` AS `room.floor.building.monthly_revenue`, `room->floor->building`.`building_type` AS `room.floor.building.building_type`, `room->floor->building`.`year_built` AS `room.floor.building.year_built`, `room->floor->building`.`total_area` AS `room.floor.building.total_area`, `room->floor->building`.`elevators` AS `room.floor.building.elevators`, `room->floor->building`.`security_features` AS `room.floor.building.security_features`, `room->floor->building`.`contact_person` AS `room.floor.building.contact_person`, `room->floor->building`.`contact_phone` AS `room.floor.building.contact_phone`, `room->floor->building`.`created_at` AS `room.floor.building.createdAt`, `room->floor->building`.`updated_at` AS `room.floor.building.updatedAt` FROM `Bed` AS `Bed` LEFT OUTER JOIN `Renter` AS `renter` ON `Bed`.`id` = `renter`.`bed_id` LEFT OUTER JOIN `Room` AS `room` ON `Bed`.`room_id` = `room`.`id` LEFT OUTER JOIN `Floor` AS `room->floor` ON `room`.`floor_id` = `room->floor`.`id` LEFT OUTER JOIN `Building` AS `room->floor->building` ON `room->floor`.`building_id` = `room->floor->building`.`id`; Executing (default): SELECT `id`, `name`, `email`, `password`, `role`, `permissions`, `department`, `phone`, `avatar`, `is_active`, `last_login`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `User` AS `User` WHERE `User`.`id` = '8cc00eb8-378e-4f89-8141-f87aa35fd51d'; Executing (default): SELECT `id`, `renter_id`, `amount`, `due_date`, `paid_date`, `status`, `month`, `year`, `payment_method`, `transaction_id`, `late_fee`, `discount`, `notes`, `receipt_number`, `collected_by`, `renter_name` AS `renterName`, `room_number`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `RentPayment` AS `RentPayment`; Executing (default): SELECT `id`, `name`, `email`, `password`, `role`, `permissions`, `department`, `phone`, `avatar`, `is_active`, `last_login`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `User` AS `User` WHERE `User`.`id` = '8cc00eb8-378e-4f89-8141-f87aa35fd51d'; Executing (default): SELECT `id`, `building_id`, `floor_id`, `room_id`, `bed_id`, `type`, `category`, `description`, `priority`, `status`, `assigned_to`, `cost`, `estimated_cost`, `scheduled_date`, `completed_date`, `notes`, `images`, `warranty`, `next_maintenance_date`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `Maintenance` AS `Maintenance`; Executing (default): SELECT `id`, `name`, `email`, `password`, `role`, `permissions`, `department`, `phone`, `avatar`, `is_active`, `last_login`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `User` AS `User` WHERE `User`.`id` = '8cc00eb8-378e-4f89-8141-f87aa35fd51d'; Executing (default): SELECT `id`, `building_id`, `floor_id`, `category`, `subcategory`, `description`, `amount`, `date`, `vendor`, `receipt`, `approved_by`, `payment_method`, `is_recurring`, `recurring_frequency`, `budget_category`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `Expense` AS `Expense`; Executing (default): SELECT `id`, `title`, `content`, `type`, `priority`, `target_audience`, `target_ids`, `building_id`, `floor_id`, `created_by`, `expiry_date`, `is_active`, `read_by`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `Notice` AS `Notice`; Executing (default): SELECT `id`, `name`, `email`, `password`, `role`, `permissions`, `department`, `phone`, `avatar`, `is_active`, `last_login`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `User` AS `User` WHERE `User`.`id` = '8cc00eb8-378e-4f89-8141-f87aa35fd51d'; Executing (default): SELECT `id`, `visitor_name`, `visitor_phone`, `visiting_renter_id`, `check_in_time`, `check_out_time`, `purpose`, `approved_by`, `id_verified`, `vehicle_number`, `notes`, `visiting_renter_name`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `Visitor` AS `Visitor`; Executing (default): SELECT `Room`.`id`, `Room`.`building_id`, `Room`.`floor_id`, `Room`.`room_number`, `Room`.`total_beds`, `Room`.`occupied_beds`, `Room`.`rent_per_bed`, `Room`.`facilities`, `Room`.`room_type`, `Room`.`area`, `Room`.`has_balcony`, `Room`.`has_attached_bathroom`, `Room`.`furnishing_status`, `Room`.`condition`, `Room`.`last_cleaned`, `Room`.`security_deposit`, `Room`.`available_from`, `Room`.`created_at` AS `createdAt`, `Room`.`updated_at` AS `updatedAt`, `building`.`id` AS `building.id`, `building`.`name` AS `building.name`, `building`.`address` AS `building.address`, `building`.`floors` AS `building.floors`, `building`.`total_rooms` AS `building.total_rooms`, `building`.`total_beds` AS `building.total_beds`, `building`.`parking_spaces` AS `building.parking_spaces`, `building`.`occupied_beds` AS `building.occupied_beds`, `building`.`manager` AS `building.manager`, `building`.`amenities` AS `building.amenities`, `building`.`monthly_revenue` AS `building.monthly_revenue`, `building`.`building_type` AS `building.building_type`, `building`.`year_built` AS `building.year_built`, `building`.`total_area` AS `building.total_area`, `building`.`elevators` AS `building.elevators`, `building`.`security_features` AS `building.security_features`, `building`.`contact_person` AS `building.contact_person`, `building`.`contact_phone` AS `building.contact_phone`, `building`.`created_at` AS `building.createdAt`, `building`.`updated_at` AS `building.updatedAt`, `floor`.`id` AS `floor.id`, `floor`.`building_id` AS `floor.building_id`, `floor`.`floor_number` AS `floor.floor_number`, `floor`.`total_rooms` AS `floor.total_rooms`, `floor`.`occupied_rooms` AS `floor.occupied_rooms`, `floor`.`floor_type` AS `floor.floor_type`, `floor`.`amenities` AS `floor.amenities`, `floor`.`maintenance_status` AS `floor.maintenance_status`, `floor`.`last_inspection` AS `floor.last_inspection`, `floor`.`notes` AS `floor.notes`, `floor`.`created_at` AS `floor.createdAt`, `floor`.`updated_at` AS `floor.updatedAt`, `beds`.`id` AS `beds.id`, `beds`.`building_id` AS `beds.building_id`, `beds`.`floor_id` AS `beds.floor_id`, `beds`.`room_id` AS `beds.room_id`, `beds`.`bed_number` AS `beds.bed_number`, `beds`.`is_occupied` AS `beds.is_occupied`, `beds`.`monthly_rent` AS `beds.monthly_rent`, `beds`.`status` AS `beds.status`, `beds`.`bed_type` AS `beds.bed_type`, `beds`.`last_cleaned` AS `beds.last_cleaned`, `beds`.`notes` AS `beds.notes`, `beds`.`reserved_until` AS `beds.reserved_until`, `beds`.`maintenance_scheduled` AS `beds.maintenance_scheduled`, `beds`.`created_at` AS `beds.createdAt`, `beds`.`updated_at` AS `beds.updatedAt`, `beds->renter`.`id` AS `beds.renter.id`, `beds->renter`.`name` AS `beds.renter.name`, `beds->renter`.`email` AS `beds.renter.email`, `beds->renter`.`phone` AS `beds.renter.phone`, `beds->renter`.`alternate_phone` AS `beds.renter.alternate_phone`, `beds->renter`.`nid` AS `beds.renter.nid`, `beds->renter`.`building_id` AS `beds.renter.building_id`, `beds->renter`.`floor_id` AS `beds.renter.floor_id`, `beds->renter`.`room_id` AS `beds.renter.room_id`, `beds->renter`.`bed_id` AS `beds.renter.bed_id`, `beds->renter`.`rent_amount` AS `beds.renter.rent_amount`, `beds->renter`.`security_deposit` AS `beds.renter.security_deposit`, `beds->renter`.`check_in_date` AS `beds.renter.check_in_date`, `beds->renter`.`check_out_date` AS `beds.renter.check_out_date`, `beds->renter`.`lease_start_date` AS `beds.renter.lease_start_date`, `beds->renter`.`lease_end_date` AS `beds.renter.lease_end_date`, `beds->renter`.`status` AS `beds.renter.status`, `beds->renter`.`emergency_contact` AS `beds.renter.emergency_contact`, `beds->renter`.`emergency_relation` AS `beds.renter.emergency_relation`, `beds->renter`.`profile_photo` AS `beds.renter.profile_photo`, `beds->renter`.`occupation` AS `beds.renter.occupation`, `beds->renter`.`company` AS `beds.renter.company`, `beds->renter`.`monthly_income` AS `beds.renter.monthly_income`, `beds->renter`.`previous_address` AS `beds.renter.previous_address`, `beds->renter`.`references` AS `beds.renter.references`, `beds->renter`.`notice_period` AS `beds.renter.notice_period`, `beds->renter`.`preferences` AS `beds.renter.preferences`, `beds->renter`.`payment_history` AS `beds.renter.payment_history`, `beds->renter`.`created_at` AS `beds.renter.createdAt`, `beds->renter`.`updated_at` AS `beds.renter.updatedAt` FROM `Room` AS `Room` LEFT OUTER JOIN `Building` AS `building` ON `Room`.`building_id` = `building`.`id` LEFT OUTER JOIN `Floor` AS `floor` ON `Room`.`floor_id` = `floor`.`id` LEFT OUTER JOIN `Bed` AS `beds` ON `Room`.`id` = `beds`.`room_id` LEFT OUTER JOIN `Renter` AS `beds->renter` ON `beds`.`id` = `beds->renter`.`bed_id`; Executing (default): SELECT `id`, `name`, `email`, `password`, `role`, `permissions`, `department`, `phone`, `avatar`, `is_active`, `last_login`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `User` AS `User` WHERE `User`.`id` = '8cc00eb8-378e-4f89-8141-f87aa35fd51d'; Executing (default): SELECT `id`, `name`, `value`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `Settings` AS `Settings`; Executing (default): SELECT `id`, `name`, `email`, `password`, `role`, `permissions`, `department`, `phone`, `avatar`, `is_active`, `last_login`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `User` AS `User` WHERE `User`.`id` = '8cc00eb8-378e-4f89-8141-f87aa35fd51d'; Executing (default): SELECT `id`, `name`, `email`, `password`, `role`, `permissions`, `department`, `phone`, `avatar`, `is_active`, `last_login`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `User` AS `User` WHERE `User`.`id` = '8cc00eb8-378e-4f89-8141-f87aa35fd51d'; Executing (default): SELECT `id`, `name`, `email`, `role`, `permissions`, `department`, `phone`, `avatar`, `is_active`, `last_login`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `User` AS `User` WHERE `User`.`id` = '8cc00eb8-378e-4f89-8141-f87aa35fd51d'; Executing (default): SELECT `Floor`.`id`, `Floor`.`building_id`, `Floor`.`floor_number`, `Floor`.`total_rooms`, `Floor`.`occupied_rooms`, `Floor`.`floor_type`, `Floor`.`amenities`, `Floor`.`maintenance_status`, `Floor`.`last_inspection`, `Floor`.`notes`, `Floor`.`created_at` AS `createdAt`, `Floor`.`updated_at` AS `updatedAt`, `rooms`.`id` AS `rooms.id`, `rooms`.`building_id` AS `rooms.building_id`, `rooms`.`floor_id` AS `rooms.floor_id`, `rooms`.`room_number` AS `rooms.room_number`, `rooms`.`total_beds` AS `rooms.total_beds`, `rooms`.`occupied_beds` AS `rooms.occupied_beds`, `rooms`.`rent_per_bed` AS `rooms.rent_per_bed`, `rooms`.`facilities` AS `rooms.facilities`, `rooms`.`room_type` AS `rooms.room_type`, `rooms`.`area` AS `rooms.area`, `rooms`.`has_balcony` AS `rooms.has_balcony`, `rooms`.`has_attached_bathroom` AS `rooms.has_attached_bathroom`, `rooms`.`furnishing_status` AS `rooms.furnishing_status`, `rooms`.`condition` AS `rooms.condition`, `rooms`.`last_cleaned` AS `rooms.last_cleaned`, `rooms`.`security_deposit` AS `rooms.security_deposit`, `rooms`.`available_from` AS `rooms.available_from`, `rooms`.`created_at` AS `rooms.createdAt`, `rooms`.`updated_at` AS `rooms.updatedAt`, `rooms->beds`.`id` AS `rooms.beds.id`, `rooms->beds`.`building_id` AS `rooms.beds.building_id`, `rooms->beds`.`floor_id` AS `rooms.beds.floor_id`, `rooms->beds`.`room_id` AS `rooms.beds.room_id`, `rooms->beds`.`bed_number` AS `rooms.beds.bed_number`, `rooms->beds`.`is_occupied` AS `rooms.beds.is_occupied`, `rooms->beds`.`monthly_rent` AS `rooms.beds.monthly_rent`, `rooms->beds`.`status` AS `rooms.beds.status`, `rooms->beds`.`bed_type` AS `rooms.beds.bed_type`, `rooms->beds`.`last_cleaned` AS `rooms.beds.last_cleaned`, `rooms->beds`.`notes` AS `rooms.beds.notes`, `rooms->beds`.`reserved_until` AS `rooms.beds.reserved_until`, `rooms->beds`.`maintenance_scheduled` AS `rooms.beds.maintenance_scheduled`, `rooms->beds`.`created_at` AS `rooms.beds.createdAt`, `rooms->beds`.`updated_at` AS `rooms.beds.updatedAt`, `rooms->beds->renter`.`id` AS `rooms.beds.renter.id`, `rooms->beds->renter`.`name` AS `rooms.beds.renter.name`, `rooms->beds->renter`.`email` AS `rooms.beds.renter.email`, `rooms->beds->renter`.`phone` AS `rooms.beds.renter.phone`, `rooms->beds->renter`.`alternate_phone` AS `rooms.beds.renter.alternate_phone`, `rooms->beds->renter`.`nid` AS `rooms.beds.renter.nid`, `rooms->beds->renter`.`building_id` AS `rooms.beds.renter.building_id`, `rooms->beds->renter`.`floor_id` AS `rooms.beds.renter.floor_id`, `rooms->beds->renter`.`room_id` AS `rooms.beds.renter.room_id`, `rooms->beds->renter`.`bed_id` AS `rooms.beds.renter.bed_id`, `rooms->beds->renter`.`rent_amount` AS `rooms.beds.renter.rent_amount`, `rooms->beds->renter`.`security_deposit` AS `rooms.beds.renter.security_deposit`, `rooms->beds->renter`.`check_in_date` AS `rooms.beds.renter.check_in_date`, `rooms->beds->renter`.`check_out_date` AS `rooms.beds.renter.check_out_date`, `rooms->beds->renter`.`lease_start_date` AS `rooms.beds.renter.lease_start_date`, `rooms->beds->renter`.`lease_end_date` AS `rooms.beds.renter.lease_end_date`, `rooms->beds->renter`.`status` AS `rooms.beds.renter.status`, `rooms->beds->renter`.`emergency_contact` AS `rooms.beds.renter.emergency_contact`, `rooms->beds->renter`.`emergency_relation` AS `rooms.beds.renter.emergency_relation`, `rooms->beds->renter`.`profile_photo` AS `rooms.beds.renter.profile_photo`, `rooms->beds->renter`.`occupation` AS `rooms.beds.renter.occupation`, `rooms->beds->renter`.`company` AS `rooms.beds.renter.company`, `rooms->beds->renter`.`monthly_income` AS `rooms.beds.renter.monthly_income`, `rooms->beds->renter`.`previous_address` AS `rooms.beds.renter.previous_address`, `rooms->beds->renter`.`references` AS `rooms.beds.renter.references`, `rooms->beds->renter`.`notice_period` AS `rooms.beds.renter.notice_period`, `rooms->beds->renter`.`preferences` AS `rooms.beds.renter.preferences`, `rooms->beds->renter`.`payment_history` AS `rooms.beds.renter.payment_history`, `rooms->beds->renter`.`created_at` AS `rooms.beds.renter.createdAt`, `rooms->beds->renter`.`updated_at` AS `rooms.beds.renter.updatedAt` FROM `Floor` AS `Floor` LEFT OUTER JOIN `Room` AS `rooms` ON `Floor`.`id` = `rooms`.`floor_id` LEFT OUTER JOIN `Bed` AS `rooms->beds` ON `rooms`.`id` = `rooms->beds`.`room_id` LEFT OUTER JOIN `Renter` AS `rooms->beds->renter` ON `rooms->beds`.`id` = `rooms->beds->renter`.`bed_id`; Executing (default): SELECT `Building`.`id`, `Building`.`name`, `Building`.`address`, `Building`.`floors`, `Building`.`total_rooms`, `Building`.`total_beds`, `Building`.`parking_spaces`, `Building`.`occupied_beds`, `Building`.`manager`, `Building`.`amenities`, `Building`.`monthly_revenue`, `Building`.`building_type`, `Building`.`year_built`, `Building`.`total_area`, `Building`.`elevators`, `Building`.`security_features`, `Building`.`contact_person`, `Building`.`contact_phone`, `Building`.`created_at` AS `createdAt`, `Building`.`updated_at` AS `updatedAt`, `buildingFloors`.`id` AS `buildingFloors.id`, `buildingFloors`.`building_id` AS `buildingFloors.building_id`, `buildingFloors`.`floor_number` AS `buildingFloors.floor_number`, `buildingFloors`.`total_rooms` AS `buildingFloors.total_rooms`, `buildingFloors`.`occupied_rooms` AS `buildingFloors.occupied_rooms`, `buildingFloors`.`floor_type` AS `buildingFloors.floor_type`, `buildingFloors`.`amenities` AS `buildingFloors.amenities`, `buildingFloors`.`maintenance_status` AS `buildingFloors.maintenance_status`, `buildingFloors`.`last_inspection` AS `buildingFloors.last_inspection`, `buildingFloors`.`notes` AS `buildingFloors.notes`, `buildingFloors`.`created_at` AS `buildingFloors.createdAt`, `buildingFloors`.`updated_at` AS `buildingFloors.updatedAt`, `buildingFloors->rooms`.`id` AS `buildingFloors.rooms.id`, `buildingFloors->rooms`.`building_id` AS `buildingFloors.rooms.building_id`, `buildingFloors->rooms`.`floor_id` AS `buildingFloors.rooms.floor_id`, `buildingFloors->rooms`.`room_number` AS `buildingFloors.rooms.room_number`, `buildingFloors->rooms`.`total_beds` AS `buildingFloors.rooms.total_beds`, `buildingFloors->rooms`.`occupied_beds` AS `buildingFloors.rooms.occupied_beds`, `buildingFloors->rooms`.`rent_per_bed` AS `buildingFloors.rooms.rent_per_bed`, `buildingFloors->rooms`.`facilities` AS `buildingFloors.rooms.facilities`, `buildingFloors->rooms`.`room_type` AS `buildingFloors.rooms.room_type`, `buildingFloors->rooms`.`area` AS `buildingFloors.rooms.area`, `buildingFloors->rooms`.`has_balcony` AS `buildingFloors.rooms.has_balcony`, `buildingFloors->rooms`.`has_attached_bathroom` AS `buildingFloors.rooms.has_attached_bathroom`, `buildingFloors->rooms`.`furnishing_status` AS `buildingFloors.rooms.furnishing_status`, `buildingFloors->rooms`.`condition` AS `buildingFloors.rooms.condition`, `buildingFloors->rooms`.`last_cleaned` AS `buildingFloors.rooms.last_cleaned`, `buildingFloors->rooms`.`security_deposit` AS `buildingFloors.rooms.security_deposit`, `buildingFloors->rooms`.`available_from` AS `buildingFloors.rooms.available_from`, `buildingFloors->rooms`.`created_at` AS `buildingFloors.rooms.createdAt`, `buildingFloors->rooms`.`updated_at` AS `buildingFloors.rooms.updatedAt`, `buildingFloors->rooms->beds`.`id` AS `buildingFloors.rooms.beds.id`, `buildingFloors->rooms->beds`.`building_id` AS `buildingFloors.rooms.beds.building_id`, `buildingFloors->rooms->beds`.`floor_id` AS `buildingFloors.rooms.beds.floor_id`, `buildingFloors->rooms->beds`.`room_id` AS `buildingFloors.rooms.beds.room_id`, `buildingFloors->rooms->beds`.`bed_number` AS `buildingFloors.rooms.beds.bed_number`, `buildingFloors->rooms->beds`.`is_occupied` AS `buildingFloors.rooms.beds.is_occupied`, `buildingFloors->rooms->beds`.`monthly_rent` AS `buildingFloors.rooms.beds.monthly_rent`, `buildingFloors->rooms->beds`.`status` AS `buildingFloors.rooms.beds.status`, `buildingFloors->rooms->beds`.`bed_type` AS `buildingFloors.rooms.beds.bed_type`, `buildingFloors->rooms->beds`.`last_cleaned` AS `buildingFloors.rooms.beds.last_cleaned`, `buildingFloors->rooms->beds`.`notes` AS `buildingFloors.rooms.beds.notes`, `buildingFloors->rooms->beds`.`reserved_until` AS `buildingFloors.rooms.beds.reserved_until`, `buildingFloors->rooms->beds`.`maintenance_scheduled` AS `buildingFloors.rooms.beds.maintenance_scheduled`, `buildingFloors->rooms->beds`.`created_at` AS `buildingFloors.rooms.beds.createdAt`, `buildingFloors->rooms->beds`.`updated_at` AS `buildingFloors.rooms.beds.updatedAt`, `buildingFloors->rooms->beds->renter`.`id` AS `buildingFloors.rooms.beds.renter.id`, `buildingFloors->rooms->beds->renter`.`name` AS `buildingFloors.rooms.beds.renter.name`, `buildingFloors->rooms->beds->renter`.`email` AS `buildingFloors.rooms.beds.renter.email`, `buildingFloors->rooms->beds->renter`.`phone` AS `buildingFloors.rooms.beds.renter.phone`, `buildingFloors->rooms->beds->renter`.`alternate_phone` AS `buildingFloors.rooms.beds.renter.alternate_phone`, `buildingFloors->rooms->beds->renter`.`nid` AS `buildingFloors.rooms.beds.renter.nid`, `buildingFloors->rooms->beds->renter`.`building_id` AS `buildingFloors.rooms.beds.renter.building_id`, `buildingFloors->rooms->beds->renter`.`floor_id` AS `buildingFloors.rooms.beds.renter.floor_id`, `buildingFloors->rooms->beds->renter`.`room_id` AS `buildingFloors.rooms.beds.renter.room_id`, `buildingFloors->rooms->beds->renter`.`bed_id` AS `buildingFloors.rooms.beds.renter.bed_id`, `buildingFloors->rooms->beds->renter`.`rent_amount` AS `buildingFloors.rooms.beds.renter.rent_amount`, `buildingFloors->rooms->beds->renter`.`security_deposit` AS `buildingFloors.rooms.beds.renter.security_deposit`, `buildingFloors->rooms->beds->renter`.`check_in_date` AS `buildingFloors.rooms.beds.renter.check_in_date`, `buildingFloors->rooms->beds->renter`.`check_out_date` AS `buildingFloors.rooms.beds.renter.check_out_date`, `buildingFloors->rooms->beds->renter`.`lease_start_date` AS `buildingFloors.rooms.beds.renter.lease_start_date`, `buildingFloors->rooms->beds->renter`.`lease_end_date` AS `buildingFloors.rooms.beds.renter.lease_end_date`, `buildingFloors->rooms->beds->renter`.`status` AS `buildingFloors.rooms.beds.renter.status`, `buildingFloors->rooms->beds->renter`.`emergency_contact` AS `buildingFloors.rooms.beds.renter.emergency_contact`, `buildingFloors->rooms->beds->renter`.`emergency_relation` AS `buildingFloors.rooms.beds.renter.emergency_relation`, `buildingFloors->rooms->beds->renter`.`profile_photo` AS `buildingFloors.rooms.beds.renter.profile_photo`, `buildingFloors->rooms->beds->renter`.`occupation` AS `buildingFloors.rooms.beds.renter.occupation`, `buildingFloors->rooms->beds->renter`.`company` AS `buildingFloors.rooms.beds.renter.company`, `buildingFloors->rooms->beds->renter`.`monthly_income` AS `buildingFloors.rooms.beds.renter.monthly_income`, `buildingFloors->rooms->beds->renter`.`previous_address` AS `buildingFloors.rooms.beds.renter.previous_address`, `buildingFloors->rooms->beds->renter`.`references` AS `buildingFloors.rooms.beds.renter.references`, `buildingFloors->rooms->beds->renter`.`notice_period` AS `buildingFloors.rooms.beds.renter.notice_period`, `buildingFloors->rooms->beds->renter`.`preferences` AS `buildingFloors.rooms.beds.renter.preferences`, `buildingFloors->rooms->beds->renter`.`payment_history` AS `buildingFloors.rooms.beds.renter.payment_history`, `buildingFloors->rooms->beds->renter`.`created_at` AS `buildingFloors.rooms.beds.renter.createdAt`, `buildingFloors->rooms->beds->renter`.`updated_at` AS `buildingFloors.rooms.beds.renter.updatedAt` FROM `Building` AS `Building` LEFT OUTER JOIN `Floor` AS `buildingFloors` ON `Building`.`id` = `buildingFloors`.`building_id` LEFT OUTER JOIN `Room` AS `buildingFloors->rooms` ON `buildingFloors`.`id` = `buildingFloors->rooms`.`floor_id` LEFT OUTER JOIN `Bed` AS `buildingFloors->rooms->beds` ON `buildingFloors->rooms`.`id` = `buildingFloors->rooms->beds`.`room_id` LEFT OUTER JOIN `Renter` AS `buildingFloors->rooms->beds->renter` ON `buildingFloors->rooms->beds`.`id` = `buildingFloors->rooms->beds->renter`.`bed_id` ORDER BY `createdAt` DESC; Executing (default): SELECT `id`, `name`, `email`, `password`, `role`, `permissions`, `department`, `phone`, `avatar`, `is_active`, `last_login`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `User` AS `User` WHERE `User`.`id` = '8cc00eb8-378e-4f89-8141-f87aa35fd51d'; Executing (default): SELECT `Bed`.`id`, `Bed`.`building_id`, `Bed`.`floor_id`, `Bed`.`room_id`, `Bed`.`bed_number`, `Bed`.`is_occupied`, `Bed`.`monthly_rent`, `Bed`.`status`, `Bed`.`bed_type`, `Bed`.`last_cleaned`, `Bed`.`notes`, `Bed`.`reserved_until`, `Bed`.`maintenance_scheduled`, `Bed`.`created_at` AS `createdAt`, `Bed`.`updated_at` AS `updatedAt`, `renter`.`id` AS `renter.id`, `renter`.`name` AS `renter.name`, `renter`.`email` AS `renter.email`, `renter`.`phone` AS `renter.phone`, `renter`.`alternate_phone` AS `renter.alternate_phone`, `renter`.`nid` AS `renter.nid`, `renter`.`building_id` AS `renter.building_id`, `renter`.`floor_id` AS `renter.floor_id`, `renter`.`room_id` AS `renter.room_id`, `renter`.`bed_id` AS `renter.bed_id`, `renter`.`rent_amount` AS `renter.rent_amount`, `renter`.`security_deposit` AS `renter.security_deposit`, `renter`.`check_in_date` AS `renter.check_in_date`, `renter`.`check_out_date` AS `renter.check_out_date`, `renter`.`lease_start_date` AS `renter.lease_start_date`, `renter`.`lease_end_date` AS `renter.lease_end_date`, `renter`.`status` AS `renter.status`, `renter`.`emergency_contact` AS `renter.emergency_contact`, `renter`.`emergency_relation` AS `renter.emergency_relation`, `renter`.`profile_photo` AS `renter.profile_photo`, `renter`.`occupation` AS `renter.occupation`, `renter`.`company` AS `renter.company`, `renter`.`monthly_income` AS `renter.monthly_income`, `renter`.`previous_address` AS `renter.previous_address`, `renter`.`references` AS `renter.references`, `renter`.`notice_period` AS `renter.notice_period`, `renter`.`preferences` AS `renter.preferences`, `renter`.`payment_history` AS `renter.payment_history`, `renter`.`created_at` AS `renter.createdAt`, `renter`.`updated_at` AS `renter.updatedAt`, `room`.`id` AS `room.id`, `room`.`building_id` AS `room.building_id`, `room`.`floor_id` AS `room.floor_id`, `room`.`room_number` AS `room.room_number`, `room`.`total_beds` AS `room.total_beds`, `room`.`occupied_beds` AS `room.occupied_beds`, `room`.`rent_per_bed` AS `room.rent_per_bed`, `room`.`facilities` AS `room.facilities`, `room`.`room_type` AS `room.room_type`, `room`.`area` AS `room.area`, `room`.`has_balcony` AS `room.has_balcony`, `room`.`has_attached_bathroom` AS `room.has_attached_bathroom`, `room`.`furnishing_status` AS `room.furnishing_status`, `room`.`condition` AS `room.condition`, `room`.`last_cleaned` AS `room.last_cleaned`, `room`.`security_deposit` AS `room.security_deposit`, `room`.`available_from` AS `room.available_from`, `room`.`created_at` AS `room.createdAt`, `room`.`updated_at` AS `room.updatedAt`, `room->floor`.`id` AS `room.floor.id`, `room->floor`.`building_id` AS `room.floor.building_id`, `room->floor`.`floor_number` AS `room.floor.floor_number`, `room->floor`.`total_rooms` AS `room.floor.total_rooms`, `room->floor`.`occupied_rooms` AS `room.floor.occupied_rooms`, `room->floor`.`floor_type` AS `room.floor.floor_type`, `room->floor`.`amenities` AS `room.floor.amenities`, `room->floor`.`maintenance_status` AS `room.floor.maintenance_status`, `room->floor`.`last_inspection` AS `room.floor.last_inspection`, `room->floor`.`notes` AS `room.floor.notes`, `room->floor`.`created_at` AS `room.floor.createdAt`, `room->floor`.`updated_at` AS `room.floor.updatedAt`, `room->floor->building`.`id` AS `room.floor.building.id`, `room->floor->building`.`name` AS `room.floor.building.name`, `room->floor->building`.`address` AS `room.floor.building.address`, `room->floor->building`.`floors` AS `room.floor.building.floors`, `room->floor->building`.`total_rooms` AS `room.floor.building.total_rooms`, `room->floor->building`.`total_beds` AS `room.floor.building.total_beds`, `room->floor->building`.`parking_spaces` AS `room.floor.building.parking_spaces`, `room->floor->building`.`occupied_beds` AS `room.floor.building.occupied_beds`, `room->floor->building`.`manager` AS `room.floor.building.manager`, `room->floor->building`.`amenities` AS `room.floor.building.amenities`, `room->floor->building`.`monthly_revenue` AS `room.floor.building.monthly_revenue`, `room->floor->building`.`building_type` AS `room.floor.building.building_type`, `room->floor->building`.`year_built` AS `room.floor.building.year_built`, `room->floor->building`.`total_area` AS `room.floor.building.total_area`, `room->floor->building`.`elevators` AS `room.floor.building.elevators`, `room->floor->building`.`security_features` AS `room.floor.building.security_features`, `room->floor->building`.`contact_person` AS `room.floor.building.contact_person`, `room->floor->building`.`contact_phone` AS `room.floor.building.contact_phone`, `room->floor->building`.`created_at` AS `room.floor.building.createdAt`, `room->floor->building`.`updated_at` AS `room.floor.building.updatedAt` FROM `Bed` AS `Bed` LEFT OUTER JOIN `Renter` AS `renter` ON `Bed`.`id` = `renter`.`bed_id` LEFT OUTER JOIN `Room` AS `room` ON `Bed`.`room_id` = `room`.`id` LEFT OUTER JOIN `Floor` AS `room->floor` ON `room`.`floor_id` = `room->floor`.`id` LEFT OUTER JOIN `Building` AS `room->floor->building` ON `room->floor`.`building_id` = `room->floor->building`.`id`; Executing (default): SELECT `id`, `name`, `email`, `password`, `role`, `permissions`, `department`, `phone`, `avatar`, `is_active`, `last_login`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `User` AS `User` WHERE `User`.`id` = '8cc00eb8-378e-4f89-8141-f87aa35fd51d'; Executing (default): SELECT `id`, `name`, `email`, `password`, `role`, `permissions`, `department`, `phone`, `avatar`, `is_active`, `last_login`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `User` AS `User` WHERE `User`.`id` = '8cc00eb8-378e-4f89-8141-f87aa35fd51d'; Executing (default): SELECT `id`, `name`, `email`, `password`, `role`, `permissions`, `department`, `phone`, `avatar`, `is_active`, `last_login`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `User` AS `User` WHERE `User`.`id` = '8cc00eb8-378e-4f89-8141-f87aa35fd51d'; Executing (default): SELECT `Renter`.`id`, `Renter`.`name`, `Renter`.`email`, `Renter`.`phone`, `Renter`.`alternate_phone`, `Renter`.`nid`, `Renter`.`building_id`, `Renter`.`floor_id`, `Renter`.`room_id`, `Renter`.`bed_id`, `Renter`.`rent_amount`, `Renter`.`security_deposit`, `Renter`.`check_in_date`, `Renter`.`check_out_date`, `Renter`.`lease_start_date`, `Renter`.`lease_end_date`, `Renter`.`status`, `Renter`.`emergency_contact`, `Renter`.`emergency_relation`, `Renter`.`profile_photo`, `Renter`.`occupation`, `Renter`.`company`, `Renter`.`monthly_income`, `Renter`.`previous_address`, `Renter`.`references`, `Renter`.`notice_period`, `Renter`.`preferences`, `Renter`.`payment_history`, `Renter`.`created_at` AS `createdAt`, `Renter`.`updated_at` AS `updatedAt`, `room`.`id` AS `room.id`, `room`.`building_id` AS `room.building_id`, `room`.`floor_id` AS `room.floor_id`, `room`.`room_number` AS `room.room_number`, `room`.`total_beds` AS `room.total_beds`, `room`.`occupied_beds` AS `room.occupied_beds`, `room`.`rent_per_bed` AS `room.rent_per_bed`, `room`.`facilities` AS `room.facilities`, `room`.`room_type` AS `room.room_type`, `room`.`area` AS `room.area`, `room`.`has_balcony` AS `room.has_balcony`, `room`.`has_attached_bathroom` AS `room.has_attached_bathroom`, `room`.`furnishing_status` AS `room.furnishing_status`, `room`.`condition` AS `room.condition`, `room`.`last_cleaned` AS `room.last_cleaned`, `room`.`security_deposit` AS `room.security_deposit`, `room`.`available_from` AS `room.available_from`, `room`.`created_at` AS `room.createdAt`, `room`.`updated_at` AS `room.updatedAt`, `documents`.`id` AS `documents.id`, `documents`.`renter_id` AS `documents.renter_id`, `documents`.`type` AS `documents.type`, `documents`.`file_name` AS `documents.file_name`, `documents`.`file_url` AS `documents.file_url`, `documents`.`file_size` AS `documents.file_size`, `documents`.`mime_type` AS `documents.mime_type`, `documents`.`description` AS `documents.description`, `documents`.`created_at` AS `documents.createdAt`, `documents`.`updated_at` AS `documents.updatedAt` FROM `Renter` AS `Renter` LEFT OUTER JOIN `Room` AS `room` ON `Renter`.`room_id` = `room`.`id` LEFT OUTER JOIN `RenterDocument` AS `documents` ON `Renter`.`id` = `documents`.`renter_id`; Executing (default): SELECT `id`, `renter_id`, `amount`, `due_date`, `paid_date`, `status`, `month`, `year`, `payment_method`, `transaction_id`, `late_fee`, `discount`, `notes`, `receipt_number`, `collected_by`, `renter_name` AS `renterName`, `room_number`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `RentPayment` AS `RentPayment`; Executing (default): SELECT `id`, `building_id`, `floor_id`, `category`, `subcategory`, `description`, `amount`, `date`, `vendor`, `receipt`, `approved_by`, `payment_method`, `is_recurring`, `recurring_frequency`, `budget_category`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `Expense` AS `Expense`; Executing (default): SELECT `id`, `title`, `content`, `type`, `priority`, `target_audience`, `target_ids`, `building_id`, `floor_id`, `created_by`, `expiry_date`, `is_active`, `read_by`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `Notice` AS `Notice`; Executing (default): SELECT `id`, `building_id`, `floor_id`, `room_id`, `bed_id`, `type`, `category`, `description`, `priority`, `status`, `assigned_to`, `cost`, `estimated_cost`, `scheduled_date`, `completed_date`, `notes`, `images`, `warranty`, `next_maintenance_date`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `Maintenance` AS `Maintenance`; Executing (default): SELECT `id`, `visitor_name`, `visitor_phone`, `visiting_renter_id`, `check_in_time`, `check_out_time`, `purpose`, `approved_by`, `id_verified`, `vehicle_number`, `notes`, `visiting_renter_name`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `Visitor` AS `Visitor`; Executing (default): SELECT `id`, `name`, `value`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `Settings` AS `Settings`; Executing (default): SELECT `id`, `name`, `email`, `password`, `role`, `permissions`, `department`, `phone`, `avatar`, `is_active`, `last_login`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `User` AS `User` WHERE `User`.`id` = '8cc00eb8-378e-4f89-8141-f87aa35fd51d'; Executing (default): SELECT `id`, `name`, `email`, `role`, `permissions`, `department`, `phone`, `avatar`, `is_active`, `last_login`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `User` AS `User` WHERE `User`.`id` = '8cc00eb8-378e-4f89-8141-f87aa35fd51d'; Executing (default): SELECT `id`, `name`, `email`, `password`, `role`, `permissions`, `department`, `phone`, `avatar`, `is_active`, `last_login`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `User` AS `User` WHERE `User`.`email` = 'admin@demo.com' AND `User`.`is_active` = true; Executing (default): UPDATE `User` SET `last_login`=?,`updated_at`=? WHERE `id` = ? Executing (default): SELECT `id`, `name`, `email`, `password`, `role`, `permissions`, `department`, `phone`, `avatar`, `is_active`, `last_login`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `User` AS `User` WHERE `User`.`id` = '8cc00eb8-378e-4f89-8141-f87aa35fd51d'; Executing (default): SELECT `Building`.`id`, `Building`.`name`, `Building`.`address`, `Building`.`floors`, `Building`.`total_rooms`, `Building`.`total_beds`, `Building`.`parking_spaces`, `Building`.`occupied_beds`, `Building`.`manager`, `Building`.`amenities`, `Building`.`monthly_revenue`, `Building`.`building_type`, `Building`.`year_built`, `Building`.`total_area`, `Building`.`elevators`, `Building`.`security_features`, `Building`.`contact_person`, `Building`.`contact_phone`, `Building`.`created_at` AS `createdAt`, `Building`.`updated_at` AS `updatedAt`, `buildingFloors`.`id` AS `buildingFloors.id`, `buildingFloors`.`building_id` AS `buildingFloors.building_id`, `buildingFloors`.`floor_number` AS `buildingFloors.floor_number`, `buildingFloors`.`total_rooms` AS `buildingFloors.total_rooms`, `buildingFloors`.`occupied_rooms` AS `buildingFloors.occupied_rooms`, `buildingFloors`.`floor_type` AS `buildingFloors.floor_type`, `buildingFloors`.`amenities` AS `buildingFloors.amenities`, `buildingFloors`.`maintenance_status` AS `buildingFloors.maintenance_status`, `buildingFloors`.`last_inspection` AS `buildingFloors.last_inspection`, `buildingFloors`.`notes` AS `buildingFloors.notes`, `buildingFloors`.`created_at` AS `buildingFloors.createdAt`, `buildingFloors`.`updated_at` AS `buildingFloors.updatedAt`, `buildingFloors->rooms`.`id` AS `buildingFloors.rooms.id`, `buildingFloors->rooms`.`building_id` AS `buildingFloors.rooms.building_id`, `buildingFloors->rooms`.`floor_id` AS `buildingFloors.rooms.floor_id`, `buildingFloors->rooms`.`room_number` AS `buildingFloors.rooms.room_number`, `buildingFloors->rooms`.`total_beds` AS `buildingFloors.rooms.total_beds`, `buildingFloors->rooms`.`occupied_beds` AS `buildingFloors.rooms.occupied_beds`, `buildingFloors->rooms`.`rent_per_bed` AS `buildingFloors.rooms.rent_per_bed`, `buildingFloors->rooms`.`facilities` AS `buildingFloors.rooms.facilities`, `buildingFloors->rooms`.`room_type` AS `buildingFloors.rooms.room_type`, `buildingFloors->rooms`.`area` AS `buildingFloors.rooms.area`, `buildingFloors->rooms`.`has_balcony` AS `buildingFloors.rooms.has_balcony`, `buildingFloors->rooms`.`has_attached_bathroom` AS `buildingFloors.rooms.has_attached_bathroom`, `buildingFloors->rooms`.`furnishing_status` AS `buildingFloors.rooms.furnishing_status`, `buildingFloors->rooms`.`condition` AS `buildingFloors.rooms.condition`, `buildingFloors->rooms`.`last_cleaned` AS `buildingFloors.rooms.last_cleaned`, `buildingFloors->rooms`.`security_deposit` AS `buildingFloors.rooms.security_deposit`, `buildingFloors->rooms`.`available_from` AS `buildingFloors.rooms.available_from`, `buildingFloors->rooms`.`created_at` AS `buildingFloors.rooms.createdAt`, `buildingFloors->rooms`.`updated_at` AS `buildingFloors.rooms.updatedAt`, `buildingFloors->rooms->beds`.`id` AS `buildingFloors.rooms.beds.id`, `buildingFloors->rooms->beds`.`building_id` AS `buildingFloors.rooms.beds.building_id`, `buildingFloors->rooms->beds`.`floor_id` AS `buildingFloors.rooms.beds.floor_id`, `buildingFloors->rooms->beds`.`room_id` AS `buildingFloors.rooms.beds.room_id`, `buildingFloors->rooms->beds`.`bed_number` AS `buildingFloors.rooms.beds.bed_number`, `buildingFloors->rooms->beds`.`is_occupied` AS `buildingFloors.rooms.beds.is_occupied`, `buildingFloors->rooms->beds`.`monthly_rent` AS `buildingFloors.rooms.beds.monthly_rent`, `buildingFloors->rooms->beds`.`status` AS `buildingFloors.rooms.beds.status`, `buildingFloors->rooms->beds`.`bed_type` AS `buildingFloors.rooms.beds.bed_type`, `buildingFloors->rooms->beds`.`last_cleaned` AS `buildingFloors.rooms.beds.last_cleaned`, `buildingFloors->rooms->beds`.`notes` AS `buildingFloors.rooms.beds.notes`, `buildingFloors->rooms->beds`.`reserved_until` AS `buildingFloors.rooms.beds.reserved_until`, `buildingFloors->rooms->beds`.`maintenance_scheduled` AS `buildingFloors.rooms.beds.maintenance_scheduled`, `buildingFloors->rooms->beds`.`created_at` AS `buildingFloors.rooms.beds.createdAt`, `buildingFloors->rooms->beds`.`updated_at` AS `buildingFloors.rooms.beds.updatedAt`, `buildingFloors->rooms->beds->renter`.`id` AS `buildingFloors.rooms.beds.renter.id`, `buildingFloors->rooms->beds->renter`.`name` AS `buildingFloors.rooms.beds.renter.name`, `buildingFloors->rooms->beds->renter`.`email` AS `buildingFloors.rooms.beds.renter.email`, `buildingFloors->rooms->beds->renter`.`phone` AS `buildingFloors.rooms.beds.renter.phone`, `buildingFloors->rooms->beds->renter`.`alternate_phone` AS `buildingFloors.rooms.beds.renter.alternate_phone`, `buildingFloors->rooms->beds->renter`.`nid` AS `buildingFloors.rooms.beds.renter.nid`, `buildingFloors->rooms->beds->renter`.`building_id` AS `buildingFloors.rooms.beds.renter.building_id`, `buildingFloors->rooms->beds->renter`.`floor_id` AS `buildingFloors.rooms.beds.renter.floor_id`, `buildingFloors->rooms->beds->renter`.`room_id` AS `buildingFloors.rooms.beds.renter.room_id`, `buildingFloors->rooms->beds->renter`.`bed_id` AS `buildingFloors.rooms.beds.renter.bed_id`, `buildingFloors->rooms->beds->renter`.`rent_amount` AS `buildingFloors.rooms.beds.renter.rent_amount`, `buildingFloors->rooms->beds->renter`.`security_deposit` AS `buildingFloors.rooms.beds.renter.security_deposit`, `buildingFloors->rooms->beds->renter`.`check_in_date` AS `buildingFloors.rooms.beds.renter.check_in_date`, `buildingFloors->rooms->beds->renter`.`check_out_date` AS `buildingFloors.rooms.beds.renter.check_out_date`, `buildingFloors->rooms->beds->renter`.`lease_start_date` AS `buildingFloors.rooms.beds.renter.lease_start_date`, `buildingFloors->rooms->beds->renter`.`lease_end_date` AS `buildingFloors.rooms.beds.renter.lease_end_date`, `buildingFloors->rooms->beds->renter`.`status` AS `buildingFloors.rooms.beds.renter.status`, `buildingFloors->rooms->beds->renter`.`emergency_contact` AS `buildingFloors.rooms.beds.renter.emergency_contact`, `buildingFloors->rooms->beds->renter`.`emergency_relation` AS `buildingFloors.rooms.beds.renter.emergency_relation`, `buildingFloors->rooms->beds->renter`.`profile_photo` AS `buildingFloors.rooms.beds.renter.profile_photo`, `buildingFloors->rooms->beds->renter`.`occupation` AS `buildingFloors.rooms.beds.renter.occupation`, `buildingFloors->rooms->beds->renter`.`company` AS `buildingFloors.rooms.beds.renter.company`, `buildingFloors->rooms->beds->renter`.`monthly_income` AS `buildingFloors.rooms.beds.renter.monthly_income`, `buildingFloors->rooms->beds->renter`.`previous_address` AS `buildingFloors.rooms.beds.renter.previous_address`, `buildingFloors->rooms->beds->renter`.`references` AS `buildingFloors.rooms.beds.renter.references`, `buildingFloors->rooms->beds->renter`.`notice_period` AS `buildingFloors.rooms.beds.renter.notice_period`, `buildingFloors->rooms->beds->renter`.`preferences` AS `buildingFloors.rooms.beds.renter.preferences`, `buildingFloors->rooms->beds->renter`.`payment_history` AS `buildingFloors.rooms.beds.renter.payment_history`, `buildingFloors->rooms->beds->renter`.`created_at` AS `buildingFloors.rooms.beds.renter.createdAt`, `buildingFloors->rooms->beds->renter`.`updated_at` AS `buildingFloors.rooms.beds.renter.updatedAt` FROM `Building` AS `Building` LEFT OUTER JOIN `Floor` AS `buildingFloors` ON `Building`.`id` = `buildingFloors`.`building_id` LEFT OUTER JOIN `Room` AS `buildingFloors->rooms` ON `buildingFloors`.`id` = `buildingFloors->rooms`.`floor_id` LEFT OUTER JOIN `Bed` AS `buildingFloors->rooms->beds` ON `buildingFloors->rooms`.`id` = `buildingFloors->rooms->beds`.`room_id` LEFT OUTER JOIN `Renter` AS `buildingFloors->rooms->beds->renter` ON `buildingFloors->rooms->beds`.`id` = `buildingFloors->rooms->beds->renter`.`bed_id` ORDER BY `createdAt` DESC; Executing (default): SELECT `id`, `name`, `email`, `password`, `role`, `permissions`, `department`, `phone`, `avatar`, `is_active`, `last_login`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `User` AS `User` WHERE `User`.`id` = '8cc00eb8-378e-4f89-8141-f87aa35fd51d'; Executing (default): SELECT `Floor`.`id`, `Floor`.`building_id`, `Floor`.`floor_number`, `Floor`.`total_rooms`, `Floor`.`occupied_rooms`, `Floor`.`floor_type`, `Floor`.`amenities`, `Floor`.`maintenance_status`, `Floor`.`last_inspection`, `Floor`.`notes`, `Floor`.`created_at` AS `createdAt`, `Floor`.`updated_at` AS `updatedAt`, `rooms`.`id` AS `rooms.id`, `rooms`.`building_id` AS `rooms.building_id`, `rooms`.`floor_id` AS `rooms.floor_id`, `rooms`.`room_number` AS `rooms.room_number`, `rooms`.`total_beds` AS `rooms.total_beds`, `rooms`.`occupied_beds` AS `rooms.occupied_beds`, `rooms`.`rent_per_bed` AS `rooms.rent_per_bed`, `rooms`.`facilities` AS `rooms.facilities`, `rooms`.`room_type` AS `rooms.room_type`, `rooms`.`area` AS `rooms.area`, `rooms`.`has_balcony` AS `rooms.has_balcony`, `rooms`.`has_attached_bathroom` AS `rooms.has_attached_bathroom`, `rooms`.`furnishing_status` AS `rooms.furnishing_status`, `rooms`.`condition` AS `rooms.condition`, `rooms`.`last_cleaned` AS `rooms.last_cleaned`, `rooms`.`security_deposit` AS `rooms.security_deposit`, `rooms`.`available_from` AS `rooms.available_from`, `rooms`.`created_at` AS `rooms.createdAt`, `rooms`.`updated_at` AS `rooms.updatedAt`, `rooms->beds`.`id` AS `rooms.beds.id`, `rooms->beds`.`building_id` AS `rooms.beds.building_id`, `rooms->beds`.`floor_id` AS `rooms.beds.floor_id`, `rooms->beds`.`room_id` AS `rooms.beds.room_id`, `rooms->beds`.`bed_number` AS `rooms.beds.bed_number`, `rooms->beds`.`is_occupied` AS `rooms.beds.is_occupied`, `rooms->beds`.`monthly_rent` AS `rooms.beds.monthly_rent`, `rooms->beds`.`status` AS `rooms.beds.status`, `rooms->beds`.`bed_type` AS `rooms.beds.bed_type`, `rooms->beds`.`last_cleaned` AS `rooms.beds.last_cleaned`, `rooms->beds`.`notes` AS `rooms.beds.notes`, `rooms->beds`.`reserved_until` AS `rooms.beds.reserved_until`, `rooms->beds`.`maintenance_scheduled` AS `rooms.beds.maintenance_scheduled`, `rooms->beds`.`created_at` AS `rooms.beds.createdAt`, `rooms->beds`.`updated_at` AS `rooms.beds.updatedAt`, `rooms->beds->renter`.`id` AS `rooms.beds.renter.id`, `rooms->beds->renter`.`name` AS `rooms.beds.renter.name`, `rooms->beds->renter`.`email` AS `rooms.beds.renter.email`, `rooms->beds->renter`.`phone` AS `rooms.beds.renter.phone`, `rooms->beds->renter`.`alternate_phone` AS `rooms.beds.renter.alternate_phone`, `rooms->beds->renter`.`nid` AS `rooms.beds.renter.nid`, `rooms->beds->renter`.`building_id` AS `rooms.beds.renter.building_id`, `rooms->beds->renter`.`floor_id` AS `rooms.beds.renter.floor_id`, `rooms->beds->renter`.`room_id` AS `rooms.beds.renter.room_id`, `rooms->beds->renter`.`bed_id` AS `rooms.beds.renter.bed_id`, `rooms->beds->renter`.`rent_amount` AS `rooms.beds.renter.rent_amount`, `rooms->beds->renter`.`security_deposit` AS `rooms.beds.renter.security_deposit`, `rooms->beds->renter`.`check_in_date` AS `rooms.beds.renter.check_in_date`, `rooms->beds->renter`.`check_out_date` AS `rooms.beds.renter.check_out_date`, `rooms->beds->renter`.`lease_start_date` AS `rooms.beds.renter.lease_start_date`, `rooms->beds->renter`.`lease_end_date` AS `rooms.beds.renter.lease_end_date`, `rooms->beds->renter`.`status` AS `rooms.beds.renter.status`, `rooms->beds->renter`.`emergency_contact` AS `rooms.beds.renter.emergency_contact`, `rooms->beds->renter`.`emergency_relation` AS `rooms.beds.renter.emergency_relation`, `rooms->beds->renter`.`profile_photo` AS `rooms.beds.renter.profile_photo`, `rooms->beds->renter`.`occupation` AS `rooms.beds.renter.occupation`, `rooms->beds->renter`.`company` AS `rooms.beds.renter.company`, `rooms->beds->renter`.`monthly_income` AS `rooms.beds.renter.monthly_income`, `rooms->beds->renter`.`previous_address` AS `rooms.beds.renter.previous_address`, `rooms->beds->renter`.`references` AS `rooms.beds.renter.references`, `rooms->beds->renter`.`notice_period` AS `rooms.beds.renter.notice_period`, `rooms->beds->renter`.`preferences` AS `rooms.beds.renter.preferences`, `rooms->beds->renter`.`payment_history` AS `rooms.beds.renter.payment_history`, `rooms->beds->renter`.`created_at` AS `rooms.beds.renter.createdAt`, `rooms->beds->renter`.`updated_at` AS `rooms.beds.renter.updatedAt` FROM `Floor` AS `Floor` LEFT OUTER JOIN `Room` AS `rooms` ON `Floor`.`id` = `rooms`.`floor_id` LEFT OUTER JOIN `Bed` AS `rooms->beds` ON `rooms`.`id` = `rooms->beds`.`room_id` LEFT OUTER JOIN `Renter` AS `rooms->beds->renter` ON `rooms->beds`.`id` = `rooms->beds->renter`.`bed_id`; Executing (default): SELECT `id`, `name`, `email`, `password`, `role`, `permissions`, `department`, `phone`, `avatar`, `is_active`, `last_login`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `User` AS `User` WHERE `User`.`id` = '8cc00eb8-378e-4f89-8141-f87aa35fd51d'; Executing (default): SELECT `id`, `name`, `email`, `password`, `role`, `permissions`, `department`, `phone`, `avatar`, `is_active`, `last_login`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `User` AS `User` WHERE `User`.`id` = '8cc00eb8-378e-4f89-8141-f87aa35fd51d'; Executing (default): SELECT `Room`.`id`, `Room`.`building_id`, `Room`.`floor_id`, `Room`.`room_number`, `Room`.`total_beds`, `Room`.`occupied_beds`, `Room`.`rent_per_bed`, `Room`.`facilities`, `Room`.`room_type`, `Room`.`area`, `Room`.`has_balcony`, `Room`.`has_attached_bathroom`, `Room`.`furnishing_status`, `Room`.`condition`, `Room`.`last_cleaned`, `Room`.`security_deposit`, `Room`.`available_from`, `Room`.`created_at` AS `createdAt`, `Room`.`updated_at` AS `updatedAt`, `building`.`id` AS `building.id`, `building`.`name` AS `building.name`, `building`.`address` AS `building.address`, `building`.`floors` AS `building.floors`, `building`.`total_rooms` AS `building.total_rooms`, `building`.`total_beds` AS `building.total_beds`, `building`.`parking_spaces` AS `building.parking_spaces`, `building`.`occupied_beds` AS `building.occupied_beds`, `building`.`manager` AS `building.manager`, `building`.`amenities` AS `building.amenities`, `building`.`monthly_revenue` AS `building.monthly_revenue`, `building`.`building_type` AS `building.building_type`, `building`.`year_built` AS `building.year_built`, `building`.`total_area` AS `building.total_area`, `building`.`elevators` AS `building.elevators`, `building`.`security_features` AS `building.security_features`, `building`.`contact_person` AS `building.contact_person`, `building`.`contact_phone` AS `building.contact_phone`, `building`.`created_at` AS `building.createdAt`, `building`.`updated_at` AS `building.updatedAt`, `floor`.`id` AS `floor.id`, `floor`.`building_id` AS `floor.building_id`, `floor`.`floor_number` AS `floor.floor_number`, `floor`.`total_rooms` AS `floor.total_rooms`, `floor`.`occupied_rooms` AS `floor.occupied_rooms`, `floor`.`floor_type` AS `floor.floor_type`, `floor`.`amenities` AS `floor.amenities`, `floor`.`maintenance_status` AS `floor.maintenance_status`, `floor`.`last_inspection` AS `floor.last_inspection`, `floor`.`notes` AS `floor.notes`, `floor`.`created_at` AS `floor.createdAt`, `floor`.`updated_at` AS `floor.updatedAt`, `beds`.`id` AS `beds.id`, `beds`.`building_id` AS `beds.building_id`, `beds`.`floor_id` AS `beds.floor_id`, `beds`.`room_id` AS `beds.room_id`, `beds`.`bed_number` AS `beds.bed_number`, `beds`.`is_occupied` AS `beds.is_occupied`, `beds`.`monthly_rent` AS `beds.monthly_rent`, `beds`.`status` AS `beds.status`, `beds`.`bed_type` AS `beds.bed_type`, `beds`.`last_cleaned` AS `beds.last_cleaned`, `beds`.`notes` AS `beds.notes`, `beds`.`reserved_until` AS `beds.reserved_until`, `beds`.`maintenance_scheduled` AS `beds.maintenance_scheduled`, `beds`.`created_at` AS `beds.createdAt`, `beds`.`updated_at` AS `beds.updatedAt`, `beds->renter`.`id` AS `beds.renter.id`, `beds->renter`.`name` AS `beds.renter.name`, `beds->renter`.`email` AS `beds.renter.email`, `beds->renter`.`phone` AS `beds.renter.phone`, `beds->renter`.`alternate_phone` AS `beds.renter.alternate_phone`, `beds->renter`.`nid` AS `beds.renter.nid`, `beds->renter`.`building_id` AS `beds.renter.building_id`, `beds->renter`.`floor_id` AS `beds.renter.floor_id`, `beds->renter`.`room_id` AS `beds.renter.room_id`, `beds->renter`.`bed_id` AS `beds.renter.bed_id`, `beds->renter`.`rent_amount` AS `beds.renter.rent_amount`, `beds->renter`.`security_deposit` AS `beds.renter.security_deposit`, `beds->renter`.`check_in_date` AS `beds.renter.check_in_date`, `beds->renter`.`check_out_date` AS `beds.renter.check_out_date`, `beds->renter`.`lease_start_date` AS `beds.renter.lease_start_date`, `beds->renter`.`lease_end_date` AS `beds.renter.lease_end_date`, `beds->renter`.`status` AS `beds.renter.status`, `beds->renter`.`emergency_contact` AS `beds.renter.emergency_contact`, `beds->renter`.`emergency_relation` AS `beds.renter.emergency_relation`, `beds->renter`.`profile_photo` AS `beds.renter.profile_photo`, `beds->renter`.`occupation` AS `beds.renter.occupation`, `beds->renter`.`company` AS `beds.renter.company`, `beds->renter`.`monthly_income` AS `beds.renter.monthly_income`, `beds->renter`.`previous_address` AS `beds.renter.previous_address`, `beds->renter`.`references` AS `beds.renter.references`, `beds->renter`.`notice_period` AS `beds.renter.notice_period`, `beds->renter`.`preferences` AS `beds.renter.preferences`, `beds->renter`.`payment_history` AS `beds.renter.payment_history`, `beds->renter`.`created_at` AS `beds.renter.createdAt`, `beds->renter`.`updated_at` AS `beds.renter.updatedAt` FROM `Room` AS `Room` LEFT OUTER JOIN `Building` AS `building` ON `Room`.`building_id` = `building`.`id` LEFT OUTER JOIN `Floor` AS `floor` ON `Room`.`floor_id` = `floor`.`id` LEFT OUTER JOIN `Bed` AS `beds` ON `Room`.`id` = `beds`.`room_id` LEFT OUTER JOIN `Renter` AS `beds->renter` ON `beds`.`id` = `beds->renter`.`bed_id`; Executing (default): SELECT `Bed`.`id`, `Bed`.`building_id`, `Bed`.`floor_id`, `Bed`.`room_id`, `Bed`.`bed_number`, `Bed`.`is_occupied`, `Bed`.`monthly_rent`, `Bed`.`status`, `Bed`.`bed_type`, `Bed`.`last_cleaned`, `Bed`.`notes`, `Bed`.`reserved_until`, `Bed`.`maintenance_scheduled`, `Bed`.`created_at` AS `createdAt`, `Bed`.`updated_at` AS `updatedAt`, `renter`.`id` AS `renter.id`, `renter`.`name` AS `renter.name`, `renter`.`email` AS `renter.email`, `renter`.`phone` AS `renter.phone`, `renter`.`alternate_phone` AS `renter.alternate_phone`, `renter`.`nid` AS `renter.nid`, `renter`.`building_id` AS `renter.building_id`, `renter`.`floor_id` AS `renter.floor_id`, `renter`.`room_id` AS `renter.room_id`, `renter`.`bed_id` AS `renter.bed_id`, `renter`.`rent_amount` AS `renter.rent_amount`, `renter`.`security_deposit` AS `renter.security_deposit`, `renter`.`check_in_date` AS `renter.check_in_date`, `renter`.`check_out_date` AS `renter.check_out_date`, `renter`.`lease_start_date` AS `renter.lease_start_date`, `renter`.`lease_end_date` AS `renter.lease_end_date`, `renter`.`status` AS `renter.status`, `renter`.`emergency_contact` AS `renter.emergency_contact`, `renter`.`emergency_relation` AS `renter.emergency_relation`, `renter`.`profile_photo` AS `renter.profile_photo`, `renter`.`occupation` AS `renter.occupation`, `renter`.`company` AS `renter.company`, `renter`.`monthly_income` AS `renter.monthly_income`, `renter`.`previous_address` AS `renter.previous_address`, `renter`.`references` AS `renter.references`, `renter`.`notice_period` AS `renter.notice_period`, `renter`.`preferences` AS `renter.preferences`, `renter`.`payment_history` AS `renter.payment_history`, `renter`.`created_at` AS `renter.createdAt`, `renter`.`updated_at` AS `renter.updatedAt`, `room`.`id` AS `room.id`, `room`.`building_id` AS `room.building_id`, `room`.`floor_id` AS `room.floor_id`, `room`.`room_number` AS `room.room_number`, `room`.`total_beds` AS `room.total_beds`, `room`.`occupied_beds` AS `room.occupied_beds`, `room`.`rent_per_bed` AS `room.rent_per_bed`, `room`.`facilities` AS `room.facilities`, `room`.`room_type` AS `room.room_type`, `room`.`area` AS `room.area`, `room`.`has_balcony` AS `room.has_balcony`, `room`.`has_attached_bathroom` AS `room.has_attached_bathroom`, `room`.`furnishing_status` AS `room.furnishing_status`, `room`.`condition` AS `room.condition`, `room`.`last_cleaned` AS `room.last_cleaned`, `room`.`security_deposit` AS `room.security_deposit`, `room`.`available_from` AS `room.available_from`, `room`.`created_at` AS `room.createdAt`, `room`.`updated_at` AS `room.updatedAt`, `room->floor`.`id` AS `room.floor.id`, `room->floor`.`building_id` AS `room.floor.building_id`, `room->floor`.`floor_number` AS `room.floor.floor_number`, `room->floor`.`total_rooms` AS `room.floor.total_rooms`, `room->floor`.`occupied_rooms` AS `room.floor.occupied_rooms`, `room->floor`.`floor_type` AS `room.floor.floor_type`, `room->floor`.`amenities` AS `room.floor.amenities`, `room->floor`.`maintenance_status` AS `room.floor.maintenance_status`, `room->floor`.`last_inspection` AS `room.floor.last_inspection`, `room->floor`.`notes` AS `room.floor.notes`, `room->floor`.`created_at` AS `room.floor.createdAt`, `room->floor`.`updated_at` AS `room.floor.updatedAt`, `room->floor->building`.`id` AS `room.floor.building.id`, `room->floor->building`.`name` AS `room.floor.building.name`, `room->floor->building`.`address` AS `room.floor.building.address`, `room->floor->building`.`floors` AS `room.floor.building.floors`, `room->floor->building`.`total_rooms` AS `room.floor.building.total_rooms`, `room->floor->building`.`total_beds` AS `room.floor.building.total_beds`, `room->floor->building`.`parking_spaces` AS `room.floor.building.parking_spaces`, `room->floor->building`.`occupied_beds` AS `room.floor.building.occupied_beds`, `room->floor->building`.`manager` AS `room.floor.building.manager`, `room->floor->building`.`amenities` AS `room.floor.building.amenities`, `room->floor->building`.`monthly_revenue` AS `room.floor.building.monthly_revenue`, `room->floor->building`.`building_type` AS `room.floor.building.building_type`, `room->floor->building`.`year_built` AS `room.floor.building.year_built`, `room->floor->building`.`total_area` AS `room.floor.building.total_area`, `room->floor->building`.`elevators` AS `room.floor.building.elevators`, `room->floor->building`.`security_features` AS `room.floor.building.security_features`, `room->floor->building`.`contact_person` AS `room.floor.building.contact_person`, `room->floor->building`.`contact_phone` AS `room.floor.building.contact_phone`, `room->floor->building`.`created_at` AS `room.floor.building.createdAt`, `room->floor->building`.`updated_at` AS `room.floor.building.updatedAt` FROM `Bed` AS `Bed` LEFT OUTER JOIN `Renter` AS `renter` ON `Bed`.`id` = `renter`.`bed_id` LEFT OUTER JOIN `Room` AS `room` ON `Bed`.`room_id` = `room`.`id` LEFT OUTER JOIN `Floor` AS `room->floor` ON `room`.`floor_id` = `room->floor`.`id` LEFT OUTER JOIN `Building` AS `room->floor->building` ON `room->floor`.`building_id` = `room->floor->building`.`id`; Executing (default): SELECT `Renter`.`id`, `Renter`.`name`, `Renter`.`email`, `Renter`.`phone`, `Renter`.`alternate_phone`, `Renter`.`nid`, `Renter`.`building_id`, `Renter`.`floor_id`, `Renter`.`room_id`, `Renter`.`bed_id`, `Renter`.`rent_amount`, `Renter`.`security_deposit`, `Renter`.`check_in_date`, `Renter`.`check_out_date`, `Renter`.`lease_start_date`, `Renter`.`lease_end_date`, `Renter`.`status`, `Renter`.`emergency_contact`, `Renter`.`emergency_relation`, `Renter`.`profile_photo`, `Renter`.`occupation`, `Renter`.`company`, `Renter`.`monthly_income`, `Renter`.`previous_address`, `Renter`.`references`, `Renter`.`notice_period`, `Renter`.`preferences`, `Renter`.`payment_history`, `Renter`.`created_at` AS `createdAt`, `Renter`.`updated_at` AS `updatedAt`, `room`.`id` AS `room.id`, `room`.`building_id` AS `room.building_id`, `room`.`floor_id` AS `room.floor_id`, `room`.`room_number` AS `room.room_number`, `room`.`total_beds` AS `room.total_beds`, `room`.`occupied_beds` AS `room.occupied_beds`, `room`.`rent_per_bed` AS `room.rent_per_bed`, `room`.`facilities` AS `room.facilities`, `room`.`room_type` AS `room.room_type`, `room`.`area` AS `room.area`, `room`.`has_balcony` AS `room.has_balcony`, `room`.`has_attached_bathroom` AS `room.has_attached_bathroom`, `room`.`furnishing_status` AS `room.furnishing_status`, `room`.`condition` AS `room.condition`, `room`.`last_cleaned` AS `room.last_cleaned`, `room`.`security_deposit` AS `room.security_deposit`, `room`.`available_from` AS `room.available_from`, `room`.`created_at` AS `room.createdAt`, `room`.`updated_at` AS `room.updatedAt`, `documents`.`id` AS `documents.id`, `documents`.`renter_id` AS `documents.renter_id`, `documents`.`type` AS `documents.type`, `documents`.`file_name` AS `documents.file_name`, `documents`.`file_url` AS `documents.file_url`, `documents`.`file_size` AS `documents.file_size`, `documents`.`mime_type` AS `documents.mime_type`, `documents`.`description` AS `documents.description`, `documents`.`created_at` AS `documents.createdAt`, `documents`.`updated_at` AS `documents.updatedAt` FROM `Renter` AS `Renter` LEFT OUTER JOIN `Room` AS `room` ON `Renter`.`room_id` = `room`.`id` LEFT OUTER JOIN `RenterDocument` AS `documents` ON `Renter`.`id` = `documents`.`renter_id`; Executing (default): SELECT `id`, `name`, `email`, `password`, `role`, `permissions`, `department`, `phone`, `avatar`, `is_active`, `last_login`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `User` AS `User` WHERE `User`.`id` = '8cc00eb8-378e-4f89-8141-f87aa35fd51d'; Executing (default): SELECT `id`, `building_id`, `floor_id`, `room_id`, `bed_id`, `type`, `category`, `description`, `priority`, `status`, `assigned_to`, `cost`, `estimated_cost`, `scheduled_date`, `completed_date`, `notes`, `images`, `warranty`, `next_maintenance_date`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `Maintenance` AS `Maintenance`; Executing (default): SELECT `id`, `name`, `email`, `password`, `role`, `permissions`, `department`, `phone`, `avatar`, `is_active`, `last_login`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `User` AS `User` WHERE `User`.`id` = '8cc00eb8-378e-4f89-8141-f87aa35fd51d'; Executing (default): SELECT `id`, `name`, `email`, `password`, `role`, `permissions`, `department`, `phone`, `avatar`, `is_active`, `last_login`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `User` AS `User` WHERE `User`.`id` = '8cc00eb8-378e-4f89-8141-f87aa35fd51d'; Executing (default): SELECT `id`, `renter_id`, `amount`, `due_date`, `paid_date`, `status`, `month`, `year`, `payment_method`, `transaction_id`, `late_fee`, `discount`, `notes`, `receipt_number`, `collected_by`, `renter_name` AS `renterName`, `room_number`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `RentPayment` AS `RentPayment`; Executing (default): SELECT `id`, `building_id`, `floor_id`, `category`, `subcategory`, `description`, `amount`, `date`, `vendor`, `receipt`, `approved_by`, `payment_method`, `is_recurring`, `recurring_frequency`, `budget_category`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `Expense` AS `Expense`; Executing (default): SELECT `id`, `title`, `content`, `type`, `priority`, `target_audience`, `target_ids`, `building_id`, `floor_id`, `created_by`, `expiry_date`, `is_active`, `read_by`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `Notice` AS `Notice`; Executing (default): SELECT `id`, `visitor_name`, `visitor_phone`, `visiting_renter_id`, `check_in_time`, `check_out_time`, `purpose`, `approved_by`, `id_verified`, `vehicle_number`, `notes`, `visiting_renter_name`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `Visitor` AS `Visitor`; Executing (default): SELECT `id`, `name`, `value`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `Settings` AS `Settings`; Executing (default): SELECT `id`, `name`, `email`, `password`, `role`, `permissions`, `department`, `phone`, `avatar`, `is_active`, `last_login`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `User` AS `User` WHERE `User`.`id` = '8cc00eb8-378e-4f89-8141-f87aa35fd51d'; Executing (default): SELECT `id`, `name`, `email`, `role`, `permissions`, `department`, `phone`, `avatar`, `is_active`, `last_login`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `User` AS `User` WHERE `User`.`id` = '8cc00eb8-378e-4f89-8141-f87aa35fd51d'; Executing (default): SELECT `id`, `name`, `email`, `password`, `role`, `permissions`, `department`, `phone`, `avatar`, `is_active`, `last_login`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `User` AS `User` WHERE `User`.`id` = '8cc00eb8-378e-4f89-8141-f87aa35fd51d'; Executing (default): SELECT `id`, `name`, `email`, `password`, `role`, `permissions`, `department`, `phone`, `avatar`, `is_active`, `last_login`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `User` AS `User` WHERE `User`.`id` = '8cc00eb8-378e-4f89-8141-f87aa35fd51d'; Executing (default): SELECT `id`, `name`, `email`, `password`, `role`, `permissions`, `department`, `phone`, `avatar`, `is_active`, `last_login`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `User` AS `User` WHERE `User`.`id` = '8cc00eb8-378e-4f89-8141-f87aa35fd51d'; Executing (default): SELECT `id`, `name`, `email`, `password`, `role`, `permissions`, `department`, `phone`, `avatar`, `is_active`, `last_login`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `User` AS `User` WHERE `User`.`id` = '8cc00eb8-378e-4f89-8141-f87aa35fd51d'; Executing (default): SELECT `Room`.`id`, `Room`.`building_id`, `Room`.`floor_id`, `Room`.`room_number`, `Room`.`total_beds`, `Room`.`occupied_beds`, `Room`.`rent_per_bed`, `Room`.`facilities`, `Room`.`room_type`, `Room`.`area`, `Room`.`has_balcony`, `Room`.`has_attached_bathroom`, `Room`.`furnishing_status`, `Room`.`condition`, `Room`.`last_cleaned`, `Room`.`security_deposit`, `Room`.`available_from`, `Room`.`created_at` AS `createdAt`, `Room`.`updated_at` AS `updatedAt`, `building`.`id` AS `building.id`, `building`.`name` AS `building.name`, `building`.`address` AS `building.address`, `building`.`floors` AS `building.floors`, `building`.`total_rooms` AS `building.total_rooms`, `building`.`total_beds` AS `building.total_beds`, `building`.`parking_spaces` AS `building.parking_spaces`, `building`.`occupied_beds` AS `building.occupied_beds`, `building`.`manager` AS `building.manager`, `building`.`amenities` AS `building.amenities`, `building`.`monthly_revenue` AS `building.monthly_revenue`, `building`.`building_type` AS `building.building_type`, `building`.`year_built` AS `building.year_built`, `building`.`total_area` AS `building.total_area`, `building`.`elevators` AS `building.elevators`, `building`.`security_features` AS `building.security_features`, `building`.`contact_person` AS `building.contact_person`, `building`.`contact_phone` AS `building.contact_phone`, `building`.`created_at` AS `building.createdAt`, `building`.`updated_at` AS `building.updatedAt`, `floor`.`id` AS `floor.id`, `floor`.`building_id` AS `floor.building_id`, `floor`.`floor_number` AS `floor.floor_number`, `floor`.`total_rooms` AS `floor.total_rooms`, `floor`.`occupied_rooms` AS `floor.occupied_rooms`, `floor`.`floor_type` AS `floor.floor_type`, `floor`.`amenities` AS `floor.amenities`, `floor`.`maintenance_status` AS `floor.maintenance_status`, `floor`.`last_inspection` AS `floor.last_inspection`, `floor`.`notes` AS `floor.notes`, `floor`.`created_at` AS `floor.createdAt`, `floor`.`updated_at` AS `floor.updatedAt`, `beds`.`id` AS `beds.id`, `beds`.`building_id` AS `beds.building_id`, `beds`.`floor_id` AS `beds.floor_id`, `beds`.`room_id` AS `beds.room_id`, `beds`.`bed_number` AS `beds.bed_number`, `beds`.`is_occupied` AS `beds.is_occupied`, `beds`.`monthly_rent` AS `beds.monthly_rent`, `beds`.`status` AS `beds.status`, `beds`.`bed_type` AS `beds.bed_type`, `beds`.`last_cleaned` AS `beds.last_cleaned`, `beds`.`notes` AS `beds.notes`, `beds`.`reserved_until` AS `beds.reserved_until`, `beds`.`maintenance_scheduled` AS `beds.maintenance_scheduled`, `beds`.`created_at` AS `beds.createdAt`, `beds`.`updated_at` AS `beds.updatedAt`, `beds->renter`.`id` AS `beds.renter.id`, `beds->renter`.`name` AS `beds.renter.name`, `beds->renter`.`email` AS `beds.renter.email`, `beds->renter`.`phone` AS `beds.renter.phone`, `beds->renter`.`alternate_phone` AS `beds.renter.alternate_phone`, `beds->renter`.`nid` AS `beds.renter.nid`, `beds->renter`.`building_id` AS `beds.renter.building_id`, `beds->renter`.`floor_id` AS `beds.renter.floor_id`, `beds->renter`.`room_id` AS `beds.renter.room_id`, `beds->renter`.`bed_id` AS `beds.renter.bed_id`, `beds->renter`.`rent_amount` AS `beds.renter.rent_amount`, `beds->renter`.`security_deposit` AS `beds.renter.security_deposit`, `beds->renter`.`check_in_date` AS `beds.renter.check_in_date`, `beds->renter`.`check_out_date` AS `beds.renter.check_out_date`, `beds->renter`.`lease_start_date` AS `beds.renter.lease_start_date`, `beds->renter`.`lease_end_date` AS `beds.renter.lease_end_date`, `beds->renter`.`status` AS `beds.renter.status`, `beds->renter`.`emergency_contact` AS `beds.renter.emergency_contact`, `beds->renter`.`emergency_relation` AS `beds.renter.emergency_relation`, `beds->renter`.`profile_photo` AS `beds.renter.profile_photo`, `beds->renter`.`occupation` AS `beds.renter.occupation`, `beds->renter`.`company` AS `beds.renter.company`, `beds->renter`.`monthly_income` AS `beds.renter.monthly_income`, `beds->renter`.`previous_address` AS `beds.renter.previous_address`, `beds->renter`.`references` AS `beds.renter.references`, `beds->renter`.`notice_period` AS `beds.renter.notice_period`, `beds->renter`.`preferences` AS `beds.renter.preferences`, `beds->renter`.`payment_history` AS `beds.renter.payment_history`, `beds->renter`.`created_at` AS `beds.renter.createdAt`, `beds->renter`.`updated_at` AS `beds.renter.updatedAt` FROM `Room` AS `Room` LEFT OUTER JOIN `Building` AS `building` ON `Room`.`building_id` = `building`.`id` LEFT OUTER JOIN `Floor` AS `floor` ON `Room`.`floor_id` = `floor`.`id` LEFT OUTER JOIN `Bed` AS `beds` ON `Room`.`id` = `beds`.`room_id` LEFT OUTER JOIN `Renter` AS `beds->renter` ON `beds`.`id` = `beds->renter`.`bed_id`; Executing (default): SELECT `Bed`.`id`, `Bed`.`building_id`, `Bed`.`floor_id`, `Bed`.`room_id`, `Bed`.`bed_number`, `Bed`.`is_occupied`, `Bed`.`monthly_rent`, `Bed`.`status`, `Bed`.`bed_type`, `Bed`.`last_cleaned`, `Bed`.`notes`, `Bed`.`reserved_until`, `Bed`.`maintenance_scheduled`, `Bed`.`created_at` AS `createdAt`, `Bed`.`updated_at` AS `updatedAt`, `renter`.`id` AS `renter.id`, `renter`.`name` AS `renter.name`, `renter`.`email` AS `renter.email`, `renter`.`phone` AS `renter.phone`, `renter`.`alternate_phone` AS `renter.alternate_phone`, `renter`.`nid` AS `renter.nid`, `renter`.`building_id` AS `renter.building_id`, `renter`.`floor_id` AS `renter.floor_id`, `renter`.`room_id` AS `renter.room_id`, `renter`.`bed_id` AS `renter.bed_id`, `renter`.`rent_amount` AS `renter.rent_amount`, `renter`.`security_deposit` AS `renter.security_deposit`, `renter`.`check_in_date` AS `renter.check_in_date`, `renter`.`check_out_date` AS `renter.check_out_date`, `renter`.`lease_start_date` AS `renter.lease_start_date`, `renter`.`lease_end_date` AS `renter.lease_end_date`, `renter`.`status` AS `renter.status`, `renter`.`emergency_contact` AS `renter.emergency_contact`, `renter`.`emergency_relation` AS `renter.emergency_relation`, `renter`.`profile_photo` AS `renter.profile_photo`, `renter`.`occupation` AS `renter.occupation`, `renter`.`company` AS `renter.company`, `renter`.`monthly_income` AS `renter.monthly_income`, `renter`.`previous_address` AS `renter.previous_address`, `renter`.`references` AS `renter.references`, `renter`.`notice_period` AS `renter.notice_period`, `renter`.`preferences` AS `renter.preferences`, `renter`.`payment_history` AS `renter.payment_history`, `renter`.`created_at` AS `renter.createdAt`, `renter`.`updated_at` AS `renter.updatedAt`, `room`.`id` AS `room.id`, `room`.`building_id` AS `room.building_id`, `room`.`floor_id` AS `room.floor_id`, `room`.`room_number` AS `room.room_number`, `room`.`total_beds` AS `room.total_beds`, `room`.`occupied_beds` AS `room.occupied_beds`, `room`.`rent_per_bed` AS `room.rent_per_bed`, `room`.`facilities` AS `room.facilities`, `room`.`room_type` AS `room.room_type`, `room`.`area` AS `room.area`, `room`.`has_balcony` AS `room.has_balcony`, `room`.`has_attached_bathroom` AS `room.has_attached_bathroom`, `room`.`furnishing_status` AS `room.furnishing_status`, `room`.`condition` AS `room.condition`, `room`.`last_cleaned` AS `room.last_cleaned`, `room`.`security_deposit` AS `room.security_deposit`, `room`.`available_from` AS `room.available_from`, `room`.`created_at` AS `room.createdAt`, `room`.`updated_at` AS `room.updatedAt`, `room->floor`.`id` AS `room.floor.id`, `room->floor`.`building_id` AS `room.floor.building_id`, `room->floor`.`floor_number` AS `room.floor.floor_number`, `room->floor`.`total_rooms` AS `room.floor.total_rooms`, `room->floor`.`occupied_rooms` AS `room.floor.occupied_rooms`, `room->floor`.`floor_type` AS `room.floor.floor_type`, `room->floor`.`amenities` AS `room.floor.amenities`, `room->floor`.`maintenance_status` AS `room.floor.maintenance_status`, `room->floor`.`last_inspection` AS `room.floor.last_inspection`, `room->floor`.`notes` AS `room.floor.notes`, `room->floor`.`created_at` AS `room.floor.createdAt`, `room->floor`.`updated_at` AS `room.floor.updatedAt`, `room->floor->building`.`id` AS `room.floor.building.id`, `room->floor->building`.`name` AS `room.floor.building.name`, `room->floor->building`.`address` AS `room.floor.building.address`, `room->floor->building`.`floors` AS `room.floor.building.floors`, `room->floor->building`.`total_rooms` AS `room.floor.building.total_rooms`, `room->floor->building`.`total_beds` AS `room.floor.building.total_beds`, `room->floor->building`.`parking_spaces` AS `room.floor.building.parking_spaces`, `room->floor->building`.`occupied_beds` AS `room.floor.building.occupied_beds`, `room->floor->building`.`manager` AS `room.floor.building.manager`, `room->floor->building`.`amenities` AS `room.floor.building.amenities`, `room->floor->building`.`monthly_revenue` AS `room.floor.building.monthly_revenue`, `room->floor->building`.`building_type` AS `room.floor.building.building_type`, `room->floor->building`.`year_built` AS `room.floor.building.year_built`, `room->floor->building`.`total_area` AS `room.floor.building.total_area`, `room->floor->building`.`elevators` AS `room.floor.building.elevators`, `room->floor->building`.`security_features` AS `room.floor.building.security_features`, `room->floor->building`.`contact_person` AS `room.floor.building.contact_person`, `room->floor->building`.`contact_phone` AS `room.floor.building.contact_phone`, `room->floor->building`.`created_at` AS `room.floor.building.createdAt`, `room->floor->building`.`updated_at` AS `room.floor.building.updatedAt` FROM `Bed` AS `Bed` LEFT OUTER JOIN `Renter` AS `renter` ON `Bed`.`id` = `renter`.`bed_id` LEFT OUTER JOIN `Room` AS `room` ON `Bed`.`room_id` = `room`.`id` LEFT OUTER JOIN `Floor` AS `room->floor` ON `room`.`floor_id` = `room->floor`.`id` LEFT OUTER JOIN `Building` AS `room->floor->building` ON `room->floor`.`building_id` = `room->floor->building`.`id`; Executing (default): SELECT `Building`.`id`, `Building`.`name`, `Building`.`address`, `Building`.`floors`, `Building`.`total_rooms`, `Building`.`total_beds`, `Building`.`parking_spaces`, `Building`.`occupied_beds`, `Building`.`manager`, `Building`.`amenities`, `Building`.`monthly_revenue`, `Building`.`building_type`, `Building`.`year_built`, `Building`.`total_area`, `Building`.`elevators`, `Building`.`security_features`, `Building`.`contact_person`, `Building`.`contact_phone`, `Building`.`created_at` AS `createdAt`, `Building`.`updated_at` AS `updatedAt`, `buildingFloors`.`id` AS `buildingFloors.id`, `buildingFloors`.`building_id` AS `buildingFloors.building_id`, `buildingFloors`.`floor_number` AS `buildingFloors.floor_number`, `buildingFloors`.`total_rooms` AS `buildingFloors.total_rooms`, `buildingFloors`.`occupied_rooms` AS `buildingFloors.occupied_rooms`, `buildingFloors`.`floor_type` AS `buildingFloors.floor_type`, `buildingFloors`.`amenities` AS `buildingFloors.amenities`, `buildingFloors`.`maintenance_status` AS `buildingFloors.maintenance_status`, `buildingFloors`.`last_inspection` AS `buildingFloors.last_inspection`, `buildingFloors`.`notes` AS `buildingFloors.notes`, `buildingFloors`.`created_at` AS `buildingFloors.createdAt`, `buildingFloors`.`updated_at` AS `buildingFloors.updatedAt`, `buildingFloors->rooms`.`id` AS `buildingFloors.rooms.id`, `buildingFloors->rooms`.`building_id` AS `buildingFloors.rooms.building_id`, `buildingFloors->rooms`.`floor_id` AS `buildingFloors.rooms.floor_id`, `buildingFloors->rooms`.`room_number` AS `buildingFloors.rooms.room_number`, `buildingFloors->rooms`.`total_beds` AS `buildingFloors.rooms.total_beds`, `buildingFloors->rooms`.`occupied_beds` AS `buildingFloors.rooms.occupied_beds`, `buildingFloors->rooms`.`rent_per_bed` AS `buildingFloors.rooms.rent_per_bed`, `buildingFloors->rooms`.`facilities` AS `buildingFloors.rooms.facilities`, `buildingFloors->rooms`.`room_type` AS `buildingFloors.rooms.room_type`, `buildingFloors->rooms`.`area` AS `buildingFloors.rooms.area`, `buildingFloors->rooms`.`has_balcony` AS `buildingFloors.rooms.has_balcony`, `buildingFloors->rooms`.`has_attached_bathroom` AS `buildingFloors.rooms.has_attached_bathroom`, `buildingFloors->rooms`.`furnishing_status` AS `buildingFloors.rooms.furnishing_status`, `buildingFloors->rooms`.`condition` AS `buildingFloors.rooms.condition`, `buildingFloors->rooms`.`last_cleaned` AS `buildingFloors.rooms.last_cleaned`, `buildingFloors->rooms`.`security_deposit` AS `buildingFloors.rooms.security_deposit`, `buildingFloors->rooms`.`available_from` AS `buildingFloors.rooms.available_from`, `buildingFloors->rooms`.`created_at` AS `buildingFloors.rooms.createdAt`, `buildingFloors->rooms`.`updated_at` AS `buildingFloors.rooms.updatedAt`, `buildingFloors->rooms->beds`.`id` AS `buildingFloors.rooms.beds.id`, `buildingFloors->rooms->beds`.`building_id` AS `buildingFloors.rooms.beds.building_id`, `buildingFloors->rooms->beds`.`floor_id` AS `buildingFloors.rooms.beds.floor_id`, `buildingFloors->rooms->beds`.`room_id` AS `buildingFloors.rooms.beds.room_id`, `buildingFloors->rooms->beds`.`bed_number` AS `buildingFloors.rooms.beds.bed_number`, `buildingFloors->rooms->beds`.`is_occupied` AS `buildingFloors.rooms.beds.is_occupied`, `buildingFloors->rooms->beds`.`monthly_rent` AS `buildingFloors.rooms.beds.monthly_rent`, `buildingFloors->rooms->beds`.`status` AS `buildingFloors.rooms.beds.status`, `buildingFloors->rooms->beds`.`bed_type` AS `buildingFloors.rooms.beds.bed_type`, `buildingFloors->rooms->beds`.`last_cleaned` AS `buildingFloors.rooms.beds.last_cleaned`, `buildingFloors->rooms->beds`.`notes` AS `buildingFloors.rooms.beds.notes`, `buildingFloors->rooms->beds`.`reserved_until` AS `buildingFloors.rooms.beds.reserved_until`, `buildingFloors->rooms->beds`.`maintenance_scheduled` AS `buildingFloors.rooms.beds.maintenance_scheduled`, `buildingFloors->rooms->beds`.`created_at` AS `buildingFloors.rooms.beds.createdAt`, `buildingFloors->rooms->beds`.`updated_at` AS `buildingFloors.rooms.beds.updatedAt`, `buildingFloors->rooms->beds->renter`.`id` AS `buildingFloors.rooms.beds.renter.id`, `buildingFloors->rooms->beds->renter`.`name` AS `buildingFloors.rooms.beds.renter.name`, `buildingFloors->rooms->beds->renter`.`email` AS `buildingFloors.rooms.beds.renter.email`, `buildingFloors->rooms->beds->renter`.`phone` AS `buildingFloors.rooms.beds.renter.phone`, `buildingFloors->rooms->beds->renter`.`alternate_phone` AS `buildingFloors.rooms.beds.renter.alternate_phone`, `buildingFloors->rooms->beds->renter`.`nid` AS `buildingFloors.rooms.beds.renter.nid`, `buildingFloors->rooms->beds->renter`.`building_id` AS `buildingFloors.rooms.beds.renter.building_id`, `buildingFloors->rooms->beds->renter`.`floor_id` AS `buildingFloors.rooms.beds.renter.floor_id`, `buildingFloors->rooms->beds->renter`.`room_id` AS `buildingFloors.rooms.beds.renter.room_id`, `buildingFloors->rooms->beds->renter`.`bed_id` AS `buildingFloors.rooms.beds.renter.bed_id`, `buildingFloors->rooms->beds->renter`.`rent_amount` AS `buildingFloors.rooms.beds.renter.rent_amount`, `buildingFloors->rooms->beds->renter`.`security_deposit` AS `buildingFloors.rooms.beds.renter.security_deposit`, `buildingFloors->rooms->beds->renter`.`check_in_date` AS `buildingFloors.rooms.beds.renter.check_in_date`, `buildingFloors->rooms->beds->renter`.`check_out_date` AS `buildingFloors.rooms.beds.renter.check_out_date`, `buildingFloors->rooms->beds->renter`.`lease_start_date` AS `buildingFloors.rooms.beds.renter.lease_start_date`, `buildingFloors->rooms->beds->renter`.`lease_end_date` AS `buildingFloors.rooms.beds.renter.lease_end_date`, `buildingFloors->rooms->beds->renter`.`status` AS `buildingFloors.rooms.beds.renter.status`, `buildingFloors->rooms->beds->renter`.`emergency_contact` AS `buildingFloors.rooms.beds.renter.emergency_contact`, `buildingFloors->rooms->beds->renter`.`emergency_relation` AS `buildingFloors.rooms.beds.renter.emergency_relation`, `buildingFloors->rooms->beds->renter`.`profile_photo` AS `buildingFloors.rooms.beds.renter.profile_photo`, `buildingFloors->rooms->beds->renter`.`occupation` AS `buildingFloors.rooms.beds.renter.occupation`, `buildingFloors->rooms->beds->renter`.`company` AS `buildingFloors.rooms.beds.renter.company`, `buildingFloors->rooms->beds->renter`.`monthly_income` AS `buildingFloors.rooms.beds.renter.monthly_income`, `buildingFloors->rooms->beds->renter`.`previous_address` AS `buildingFloors.rooms.beds.renter.previous_address`, `buildingFloors->rooms->beds->renter`.`references` AS `buildingFloors.rooms.beds.renter.references`, `buildingFloors->rooms->beds->renter`.`notice_period` AS `buildingFloors.rooms.beds.renter.notice_period`, `buildingFloors->rooms->beds->renter`.`preferences` AS `buildingFloors.rooms.beds.renter.preferences`, `buildingFloors->rooms->beds->renter`.`payment_history` AS `buildingFloors.rooms.beds.renter.payment_history`, `buildingFloors->rooms->beds->renter`.`created_at` AS `buildingFloors.rooms.beds.renter.createdAt`, `buildingFloors->rooms->beds->renter`.`updated_at` AS `buildingFloors.rooms.beds.renter.updatedAt` FROM `Building` AS `Building` LEFT OUTER JOIN `Floor` AS `buildingFloors` ON `Building`.`id` = `buildingFloors`.`building_id` LEFT OUTER JOIN `Room` AS `buildingFloors->rooms` ON `buildingFloors`.`id` = `buildingFloors->rooms`.`floor_id` LEFT OUTER JOIN `Bed` AS `buildingFloors->rooms->beds` ON `buildingFloors->rooms`.`id` = `buildingFloors->rooms->beds`.`room_id` LEFT OUTER JOIN `Renter` AS `buildingFloors->rooms->beds->renter` ON `buildingFloors->rooms->beds`.`id` = `buildingFloors->rooms->beds->renter`.`bed_id` ORDER BY `createdAt` DESC; Executing (default): SELECT `Floor`.`id`, `Floor`.`building_id`, `Floor`.`floor_number`, `Floor`.`total_rooms`, `Floor`.`occupied_rooms`, `Floor`.`floor_type`, `Floor`.`amenities`, `Floor`.`maintenance_status`, `Floor`.`last_inspection`, `Floor`.`notes`, `Floor`.`created_at` AS `createdAt`, `Floor`.`updated_at` AS `updatedAt`, `rooms`.`id` AS `rooms.id`, `rooms`.`building_id` AS `rooms.building_id`, `rooms`.`floor_id` AS `rooms.floor_id`, `rooms`.`room_number` AS `rooms.room_number`, `rooms`.`total_beds` AS `rooms.total_beds`, `rooms`.`occupied_beds` AS `rooms.occupied_beds`, `rooms`.`rent_per_bed` AS `rooms.rent_per_bed`, `rooms`.`facilities` AS `rooms.facilities`, `rooms`.`room_type` AS `rooms.room_type`, `rooms`.`area` AS `rooms.area`, `rooms`.`has_balcony` AS `rooms.has_balcony`, `rooms`.`has_attached_bathroom` AS `rooms.has_attached_bathroom`, `rooms`.`furnishing_status` AS `rooms.furnishing_status`, `rooms`.`condition` AS `rooms.condition`, `rooms`.`last_cleaned` AS `rooms.last_cleaned`, `rooms`.`security_deposit` AS `rooms.security_deposit`, `rooms`.`available_from` AS `rooms.available_from`, `rooms`.`created_at` AS `rooms.createdAt`, `rooms`.`updated_at` AS `rooms.updatedAt`, `rooms->beds`.`id` AS `rooms.beds.id`, `rooms->beds`.`building_id` AS `rooms.beds.building_id`, `rooms->beds`.`floor_id` AS `rooms.beds.floor_id`, `rooms->beds`.`room_id` AS `rooms.beds.room_id`, `rooms->beds`.`bed_number` AS `rooms.beds.bed_number`, `rooms->beds`.`is_occupied` AS `rooms.beds.is_occupied`, `rooms->beds`.`monthly_rent` AS `rooms.beds.monthly_rent`, `rooms->beds`.`status` AS `rooms.beds.status`, `rooms->beds`.`bed_type` AS `rooms.beds.bed_type`, `rooms->beds`.`last_cleaned` AS `rooms.beds.last_cleaned`, `rooms->beds`.`notes` AS `rooms.beds.notes`, `rooms->beds`.`reserved_until` AS `rooms.beds.reserved_until`, `rooms->beds`.`maintenance_scheduled` AS `rooms.beds.maintenance_scheduled`, `rooms->beds`.`created_at` AS `rooms.beds.createdAt`, `rooms->beds`.`updated_at` AS `rooms.beds.updatedAt`, `rooms->beds->renter`.`id` AS `rooms.beds.renter.id`, `rooms->beds->renter`.`name` AS `rooms.beds.renter.name`, `rooms->beds->renter`.`email` AS `rooms.beds.renter.email`, `rooms->beds->renter`.`phone` AS `rooms.beds.renter.phone`, `rooms->beds->renter`.`alternate_phone` AS `rooms.beds.renter.alternate_phone`, `rooms->beds->renter`.`nid` AS `rooms.beds.renter.nid`, `rooms->beds->renter`.`building_id` AS `rooms.beds.renter.building_id`, `rooms->beds->renter`.`floor_id` AS `rooms.beds.renter.floor_id`, `rooms->beds->renter`.`room_id` AS `rooms.beds.renter.room_id`, `rooms->beds->renter`.`bed_id` AS `rooms.beds.renter.bed_id`, `rooms->beds->renter`.`rent_amount` AS `rooms.beds.renter.rent_amount`, `rooms->beds->renter`.`security_deposit` AS `rooms.beds.renter.security_deposit`, `rooms->beds->renter`.`check_in_date` AS `rooms.beds.renter.check_in_date`, `rooms->beds->renter`.`check_out_date` AS `rooms.beds.renter.check_out_date`, `rooms->beds->renter`.`lease_start_date` AS `rooms.beds.renter.lease_start_date`, `rooms->beds->renter`.`lease_end_date` AS `rooms.beds.renter.lease_end_date`, `rooms->beds->renter`.`status` AS `rooms.beds.renter.status`, `rooms->beds->renter`.`emergency_contact` AS `rooms.beds.renter.emergency_contact`, `rooms->beds->renter`.`emergency_relation` AS `rooms.beds.renter.emergency_relation`, `rooms->beds->renter`.`profile_photo` AS `rooms.beds.renter.profile_photo`, `rooms->beds->renter`.`occupation` AS `rooms.beds.renter.occupation`, `rooms->beds->renter`.`company` AS `rooms.beds.renter.company`, `rooms->beds->renter`.`monthly_income` AS `rooms.beds.renter.monthly_income`, `rooms->beds->renter`.`previous_address` AS `rooms.beds.renter.previous_address`, `rooms->beds->renter`.`references` AS `rooms.beds.renter.references`, `rooms->beds->renter`.`notice_period` AS `rooms.beds.renter.notice_period`, `rooms->beds->renter`.`preferences` AS `rooms.beds.renter.preferences`, `rooms->beds->renter`.`payment_history` AS `rooms.beds.renter.payment_history`, `rooms->beds->renter`.`created_at` AS `rooms.beds.renter.createdAt`, `rooms->beds->renter`.`updated_at` AS `rooms.beds.renter.updatedAt` FROM `Floor` AS `Floor` LEFT OUTER JOIN `Room` AS `rooms` ON `Floor`.`id` = `rooms`.`floor_id` LEFT OUTER JOIN `Bed` AS `rooms->beds` ON `rooms`.`id` = `rooms->beds`.`room_id` LEFT OUTER JOIN `Renter` AS `rooms->beds->renter` ON `rooms->beds`.`id` = `rooms->beds->renter`.`bed_id`; Executing (default): SELECT `Renter`.`id`, `Renter`.`name`, `Renter`.`email`, `Renter`.`phone`, `Renter`.`alternate_phone`, `Renter`.`nid`, `Renter`.`building_id`, `Renter`.`floor_id`, `Renter`.`room_id`, `Renter`.`bed_id`, `Renter`.`rent_amount`, `Renter`.`security_deposit`, `Renter`.`check_in_date`, `Renter`.`check_out_date`, `Renter`.`lease_start_date`, `Renter`.`lease_end_date`, `Renter`.`status`, `Renter`.`emergency_contact`, `Renter`.`emergency_relation`, `Renter`.`profile_photo`, `Renter`.`occupation`, `Renter`.`company`, `Renter`.`monthly_income`, `Renter`.`previous_address`, `Renter`.`references`, `Renter`.`notice_period`, `Renter`.`preferences`, `Renter`.`payment_history`, `Renter`.`created_at` AS `createdAt`, `Renter`.`updated_at` AS `updatedAt`, `room`.`id` AS `room.id`, `room`.`building_id` AS `room.building_id`, `room`.`floor_id` AS `room.floor_id`, `room`.`room_number` AS `room.room_number`, `room`.`total_beds` AS `room.total_beds`, `room`.`occupied_beds` AS `room.occupied_beds`, `room`.`rent_per_bed` AS `room.rent_per_bed`, `room`.`facilities` AS `room.facilities`, `room`.`room_type` AS `room.room_type`, `room`.`area` AS `room.area`, `room`.`has_balcony` AS `room.has_balcony`, `room`.`has_attached_bathroom` AS `room.has_attached_bathroom`, `room`.`furnishing_status` AS `room.furnishing_status`, `room`.`condition` AS `room.condition`, `room`.`last_cleaned` AS `room.last_cleaned`, `room`.`security_deposit` AS `room.security_deposit`, `room`.`available_from` AS `room.available_from`, `room`.`created_at` AS `room.createdAt`, `room`.`updated_at` AS `room.updatedAt`, `documents`.`id` AS `documents.id`, `documents`.`renter_id` AS `documents.renter_id`, `documents`.`type` AS `documents.type`, `documents`.`file_name` AS `documents.file_name`, `documents`.`file_url` AS `documents.file_url`, `documents`.`file_size` AS `documents.file_size`, `documents`.`mime_type` AS `documents.mime_type`, `documents`.`description` AS `documents.description`, `documents`.`created_at` AS `documents.createdAt`, `documents`.`updated_at` AS `documents.updatedAt` FROM `Renter` AS `Renter` LEFT OUTER JOIN `Room` AS `room` ON `Renter`.`room_id` = `room`.`id` LEFT OUTER JOIN `RenterDocument` AS `documents` ON `Renter`.`id` = `documents`.`renter_id`; Executing (default): SELECT `id`, `name`, `email`, `password`, `role`, `permissions`, `department`, `phone`, `avatar`, `is_active`, `last_login`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `User` AS `User` WHERE `User`.`id` = '8cc00eb8-378e-4f89-8141-f87aa35fd51d'; Executing (default): SELECT `id`, `building_id`, `floor_id`, `room_id`, `bed_id`, `type`, `category`, `description`, `priority`, `status`, `assigned_to`, `cost`, `estimated_cost`, `scheduled_date`, `completed_date`, `notes`, `images`, `warranty`, `next_maintenance_date`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `Maintenance` AS `Maintenance`; Executing (default): SELECT `id`, `visitor_name`, `visitor_phone`, `visiting_renter_id`, `check_in_time`, `check_out_time`, `purpose`, `approved_by`, `id_verified`, `vehicle_number`, `notes`, `visiting_renter_name`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `Visitor` AS `Visitor`; Executing (default): SELECT `id`, `name`, `email`, `password`, `role`, `permissions`, `department`, `phone`, `avatar`, `is_active`, `last_login`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `User` AS `User` WHERE `User`.`id` = '8cc00eb8-378e-4f89-8141-f87aa35fd51d'; Executing (default): SELECT `id`, `title`, `content`, `type`, `priority`, `target_audience`, `target_ids`, `building_id`, `floor_id`, `created_by`, `expiry_date`, `is_active`, `read_by`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `Notice` AS `Notice`; Executing (default): SELECT `id`, `name`, `email`, `password`, `role`, `permissions`, `department`, `phone`, `avatar`, `is_active`, `last_login`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `User` AS `User` WHERE `User`.`id` = '8cc00eb8-378e-4f89-8141-f87aa35fd51d'; Executing (default): SELECT `id`, `building_id`, `floor_id`, `category`, `subcategory`, `description`, `amount`, `date`, `vendor`, `receipt`, `approved_by`, `payment_method`, `is_recurring`, `recurring_frequency`, `budget_category`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `Expense` AS `Expense`; Executing (default): SELECT `id`, `renter_id`, `amount`, `due_date`, `paid_date`, `status`, `month`, `year`, `payment_method`, `transaction_id`, `late_fee`, `discount`, `notes`, `receipt_number`, `collected_by`, `renter_name` AS `renterName`, `room_number`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `RentPayment` AS `RentPayment`; Executing (default): SELECT `id`, `name`, `value`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `Settings` AS `Settings`; Executing (default): SELECT `id`, `name`, `email`, `password`, `role`, `permissions`, `department`, `phone`, `avatar`, `is_active`, `last_login`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `User` AS `User` WHERE `User`.`id` = '8cc00eb8-378e-4f89-8141-f87aa35fd51d'; Executing (default): SELECT `id`, `name`, `email`, `role`, `permissions`, `department`, `phone`, `avatar`, `is_active`, `last_login`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `User` AS `User` WHERE `User`.`id` = '8cc00eb8-378e-4f89-8141-f87aa35fd51d'; Executing (default): SELECT `id`, `name`, `email`, `password`, `role`, `permissions`, `department`, `phone`, `avatar`, `is_active`, `last_login`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `User` AS `User` WHERE `User`.`id` = '8cc00eb8-378e-4f89-8141-f87aa35fd51d'; Executing (default): SELECT `id`, `name`, `email`, `password`, `role`, `permissions`, `department`, `phone`, `avatar`, `is_active`, `last_login`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `User` AS `User` WHERE `User`.`id` = '8cc00eb8-378e-4f89-8141-f87aa35fd51d'; Executing (default): SELECT `id`, `name`, `email`, `password`, `role`, `permissions`, `department`, `phone`, `avatar`, `is_active`, `last_login`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `User` AS `User` WHERE `User`.`id` = '8cc00eb8-378e-4f89-8141-f87aa35fd51d'; Executing (default): SELECT `Building`.`id`, `Building`.`name`, `Building`.`address`, `Building`.`floors`, `Building`.`total_rooms`, `Building`.`total_beds`, `Building`.`parking_spaces`, `Building`.`occupied_beds`, `Building`.`manager`, `Building`.`amenities`, `Building`.`monthly_revenue`, `Building`.`building_type`, `Building`.`year_built`, `Building`.`total_area`, `Building`.`elevators`, `Building`.`security_features`, `Building`.`contact_person`, `Building`.`contact_phone`, `Building`.`created_at` AS `createdAt`, `Building`.`updated_at` AS `updatedAt`, `buildingFloors`.`id` AS `buildingFloors.id`, `buildingFloors`.`building_id` AS `buildingFloors.building_id`, `buildingFloors`.`floor_number` AS `buildingFloors.floor_number`, `buildingFloors`.`total_rooms` AS `buildingFloors.total_rooms`, `buildingFloors`.`occupied_rooms` AS `buildingFloors.occupied_rooms`, `buildingFloors`.`floor_type` AS `buildingFloors.floor_type`, `buildingFloors`.`amenities` AS `buildingFloors.amenities`, `buildingFloors`.`maintenance_status` AS `buildingFloors.maintenance_status`, `buildingFloors`.`last_inspection` AS `buildingFloors.last_inspection`, `buildingFloors`.`notes` AS `buildingFloors.notes`, `buildingFloors`.`created_at` AS `buildingFloors.createdAt`, `buildingFloors`.`updated_at` AS `buildingFloors.updatedAt`, `buildingFloors->rooms`.`id` AS `buildingFloors.rooms.id`, `buildingFloors->rooms`.`building_id` AS `buildingFloors.rooms.building_id`, `buildingFloors->rooms`.`floor_id` AS `buildingFloors.rooms.floor_id`, `buildingFloors->rooms`.`room_number` AS `buildingFloors.rooms.room_number`, `buildingFloors->rooms`.`total_beds` AS `buildingFloors.rooms.total_beds`, `buildingFloors->rooms`.`occupied_beds` AS `buildingFloors.rooms.occupied_beds`, `buildingFloors->rooms`.`rent_per_bed` AS `buildingFloors.rooms.rent_per_bed`, `buildingFloors->rooms`.`facilities` AS `buildingFloors.rooms.facilities`, `buildingFloors->rooms`.`room_type` AS `buildingFloors.rooms.room_type`, `buildingFloors->rooms`.`area` AS `buildingFloors.rooms.area`, `buildingFloors->rooms`.`has_balcony` AS `buildingFloors.rooms.has_balcony`, `buildingFloors->rooms`.`has_attached_bathroom` AS `buildingFloors.rooms.has_attached_bathroom`, `buildingFloors->rooms`.`furnishing_status` AS `buildingFloors.rooms.furnishing_status`, `buildingFloors->rooms`.`condition` AS `buildingFloors.rooms.condition`, `buildingFloors->rooms`.`last_cleaned` AS `buildingFloors.rooms.last_cleaned`, `buildingFloors->rooms`.`security_deposit` AS `buildingFloors.rooms.security_deposit`, `buildingFloors->rooms`.`available_from` AS `buildingFloors.rooms.available_from`, `buildingFloors->rooms`.`created_at` AS `buildingFloors.rooms.createdAt`, `buildingFloors->rooms`.`updated_at` AS `buildingFloors.rooms.updatedAt`, `buildingFloors->rooms->beds`.`id` AS `buildingFloors.rooms.beds.id`, `buildingFloors->rooms->beds`.`building_id` AS `buildingFloors.rooms.beds.building_id`, `buildingFloors->rooms->beds`.`floor_id` AS `buildingFloors.rooms.beds.floor_id`, `buildingFloors->rooms->beds`.`room_id` AS `buildingFloors.rooms.beds.room_id`, `buildingFloors->rooms->beds`.`bed_number` AS `buildingFloors.rooms.beds.bed_number`, `buildingFloors->rooms->beds`.`is_occupied` AS `buildingFloors.rooms.beds.is_occupied`, `buildingFloors->rooms->beds`.`monthly_rent` AS `buildingFloors.rooms.beds.monthly_rent`, `buildingFloors->rooms->beds`.`status` AS `buildingFloors.rooms.beds.status`, `buildingFloors->rooms->beds`.`bed_type` AS `buildingFloors.rooms.beds.bed_type`, `buildingFloors->rooms->beds`.`last_cleaned` AS `buildingFloors.rooms.beds.last_cleaned`, `buildingFloors->rooms->beds`.`notes` AS `buildingFloors.rooms.beds.notes`, `buildingFloors->rooms->beds`.`reserved_until` AS `buildingFloors.rooms.beds.reserved_until`, `buildingFloors->rooms->beds`.`maintenance_scheduled` AS `buildingFloors.rooms.beds.maintenance_scheduled`, `buildingFloors->rooms->beds`.`created_at` AS `buildingFloors.rooms.beds.createdAt`, `buildingFloors->rooms->beds`.`updated_at` AS `buildingFloors.rooms.beds.updatedAt`, `buildingFloors->rooms->beds->renter`.`id` AS `buildingFloors.rooms.beds.renter.id`, `buildingFloors->rooms->beds->renter`.`name` AS `buildingFloors.rooms.beds.renter.name`, `buildingFloors->rooms->beds->renter`.`email` AS `buildingFloors.rooms.beds.renter.email`, `buildingFloors->rooms->beds->renter`.`phone` AS `buildingFloors.rooms.beds.renter.phone`, `buildingFloors->rooms->beds->renter`.`alternate_phone` AS `buildingFloors.rooms.beds.renter.alternate_phone`, `buildingFloors->rooms->beds->renter`.`nid` AS `buildingFloors.rooms.beds.renter.nid`, `buildingFloors->rooms->beds->renter`.`building_id` AS `buildingFloors.rooms.beds.renter.building_id`, `buildingFloors->rooms->beds->renter`.`floor_id` AS `buildingFloors.rooms.beds.renter.floor_id`, `buildingFloors->rooms->beds->renter`.`room_id` AS `buildingFloors.rooms.beds.renter.room_id`, `buildingFloors->rooms->beds->renter`.`bed_id` AS `buildingFloors.rooms.beds.renter.bed_id`, `buildingFloors->rooms->beds->renter`.`rent_amount` AS `buildingFloors.rooms.beds.renter.rent_amount`, `buildingFloors->rooms->beds->renter`.`security_deposit` AS `buildingFloors.rooms.beds.renter.security_deposit`, `buildingFloors->rooms->beds->renter`.`check_in_date` AS `buildingFloors.rooms.beds.renter.check_in_date`, `buildingFloors->rooms->beds->renter`.`check_out_date` AS `buildingFloors.rooms.beds.renter.check_out_date`, `buildingFloors->rooms->beds->renter`.`lease_start_date` AS `buildingFloors.rooms.beds.renter.lease_start_date`, `buildingFloors->rooms->beds->renter`.`lease_end_date` AS `buildingFloors.rooms.beds.renter.lease_end_date`, `buildingFloors->rooms->beds->renter`.`status` AS `buildingFloors.rooms.beds.renter.status`, `buildingFloors->rooms->beds->renter`.`emergency_contact` AS `buildingFloors.rooms.beds.renter.emergency_contact`, `buildingFloors->rooms->beds->renter`.`emergency_relation` AS `buildingFloors.rooms.beds.renter.emergency_relation`, `buildingFloors->rooms->beds->renter`.`profile_photo` AS `buildingFloors.rooms.beds.renter.profile_photo`, `buildingFloors->rooms->beds->renter`.`occupation` AS `buildingFloors.rooms.beds.renter.occupation`, `buildingFloors->rooms->beds->renter`.`company` AS `buildingFloors.rooms.beds.renter.company`, `buildingFloors->rooms->beds->renter`.`monthly_income` AS `buildingFloors.rooms.beds.renter.monthly_income`, `buildingFloors->rooms->beds->renter`.`previous_address` AS `buildingFloors.rooms.beds.renter.previous_address`, `buildingFloors->rooms->beds->renter`.`references` AS `buildingFloors.rooms.beds.renter.references`, `buildingFloors->rooms->beds->renter`.`notice_period` AS `buildingFloors.rooms.beds.renter.notice_period`, `buildingFloors->rooms->beds->renter`.`preferences` AS `buildingFloors.rooms.beds.renter.preferences`, `buildingFloors->rooms->beds->renter`.`payment_history` AS `buildingFloors.rooms.beds.renter.payment_history`, `buildingFloors->rooms->beds->renter`.`created_at` AS `buildingFloors.rooms.beds.renter.createdAt`, `buildingFloors->rooms->beds->renter`.`updated_at` AS `buildingFloors.rooms.beds.renter.updatedAt` FROM `Building` AS `Building` LEFT OUTER JOIN `Floor` AS `buildingFloors` ON `Building`.`id` = `buildingFloors`.`building_id` LEFT OUTER JOIN `Room` AS `buildingFloors->rooms` ON `buildingFloors`.`id` = `buildingFloors->rooms`.`floor_id` LEFT OUTER JOIN `Bed` AS `buildingFloors->rooms->beds` ON `buildingFloors->rooms`.`id` = `buildingFloors->rooms->beds`.`room_id` LEFT OUTER JOIN `Renter` AS `buildingFloors->rooms->beds->renter` ON `buildingFloors->rooms->beds`.`id` = `buildingFloors->rooms->beds->renter`.`bed_id` ORDER BY `createdAt` DESC; Executing (default): SELECT `Floor`.`id`, `Floor`.`building_id`, `Floor`.`floor_number`, `Floor`.`total_rooms`, `Floor`.`occupied_rooms`, `Floor`.`floor_type`, `Floor`.`amenities`, `Floor`.`maintenance_status`, `Floor`.`last_inspection`, `Floor`.`notes`, `Floor`.`created_at` AS `createdAt`, `Floor`.`updated_at` AS `updatedAt`, `rooms`.`id` AS `rooms.id`, `rooms`.`building_id` AS `rooms.building_id`, `rooms`.`floor_id` AS `rooms.floor_id`, `rooms`.`room_number` AS `rooms.room_number`, `rooms`.`total_beds` AS `rooms.total_beds`, `rooms`.`occupied_beds` AS `rooms.occupied_beds`, `rooms`.`rent_per_bed` AS `rooms.rent_per_bed`, `rooms`.`facilities` AS `rooms.facilities`, `rooms`.`room_type` AS `rooms.room_type`, `rooms`.`area` AS `rooms.area`, `rooms`.`has_balcony` AS `rooms.has_balcony`, `rooms`.`has_attached_bathroom` AS `rooms.has_attached_bathroom`, `rooms`.`furnishing_status` AS `rooms.furnishing_status`, `rooms`.`condition` AS `rooms.condition`, `rooms`.`last_cleaned` AS `rooms.last_cleaned`, `rooms`.`security_deposit` AS `rooms.security_deposit`, `rooms`.`available_from` AS `rooms.available_from`, `rooms`.`created_at` AS `rooms.createdAt`, `rooms`.`updated_at` AS `rooms.updatedAt`, `rooms->beds`.`id` AS `rooms.beds.id`, `rooms->beds`.`building_id` AS `rooms.beds.building_id`, `rooms->beds`.`floor_id` AS `rooms.beds.floor_id`, `rooms->beds`.`room_id` AS `rooms.beds.room_id`, `rooms->beds`.`bed_number` AS `rooms.beds.bed_number`, `rooms->beds`.`is_occupied` AS `rooms.beds.is_occupied`, `rooms->beds`.`monthly_rent` AS `rooms.beds.monthly_rent`, `rooms->beds`.`status` AS `rooms.beds.status`, `rooms->beds`.`bed_type` AS `rooms.beds.bed_type`, `rooms->beds`.`last_cleaned` AS `rooms.beds.last_cleaned`, `rooms->beds`.`notes` AS `rooms.beds.notes`, `rooms->beds`.`reserved_until` AS `rooms.beds.reserved_until`, `rooms->beds`.`maintenance_scheduled` AS `rooms.beds.maintenance_scheduled`, `rooms->beds`.`created_at` AS `rooms.beds.createdAt`, `rooms->beds`.`updated_at` AS `rooms.beds.updatedAt`, `rooms->beds->renter`.`id` AS `rooms.beds.renter.id`, `rooms->beds->renter`.`name` AS `rooms.beds.renter.name`, `rooms->beds->renter`.`email` AS `rooms.beds.renter.email`, `rooms->beds->renter`.`phone` AS `rooms.beds.renter.phone`, `rooms->beds->renter`.`alternate_phone` AS `rooms.beds.renter.alternate_phone`, `rooms->beds->renter`.`nid` AS `rooms.beds.renter.nid`, `rooms->beds->renter`.`building_id` AS `rooms.beds.renter.building_id`, `rooms->beds->renter`.`floor_id` AS `rooms.beds.renter.floor_id`, `rooms->beds->renter`.`room_id` AS `rooms.beds.renter.room_id`, `rooms->beds->renter`.`bed_id` AS `rooms.beds.renter.bed_id`, `rooms->beds->renter`.`rent_amount` AS `rooms.beds.renter.rent_amount`, `rooms->beds->renter`.`security_deposit` AS `rooms.beds.renter.security_deposit`, `rooms->beds->renter`.`check_in_date` AS `rooms.beds.renter.check_in_date`, `rooms->beds->renter`.`check_out_date` AS `rooms.beds.renter.check_out_date`, `rooms->beds->renter`.`lease_start_date` AS `rooms.beds.renter.lease_start_date`, `rooms->beds->renter`.`lease_end_date` AS `rooms.beds.renter.lease_end_date`, `rooms->beds->renter`.`status` AS `rooms.beds.renter.status`, `rooms->beds->renter`.`emergency_contact` AS `rooms.beds.renter.emergency_contact`, `rooms->beds->renter`.`emergency_relation` AS `rooms.beds.renter.emergency_relation`, `rooms->beds->renter`.`profile_photo` AS `rooms.beds.renter.profile_photo`, `rooms->beds->renter`.`occupation` AS `rooms.beds.renter.occupation`, `rooms->beds->renter`.`company` AS `rooms.beds.renter.company`, `rooms->beds->renter`.`monthly_income` AS `rooms.beds.renter.monthly_income`, `rooms->beds->renter`.`previous_address` AS `rooms.beds.renter.previous_address`, `rooms->beds->renter`.`references` AS `rooms.beds.renter.references`, `rooms->beds->renter`.`notice_period` AS `rooms.beds.renter.notice_period`, `rooms->beds->renter`.`preferences` AS `rooms.beds.renter.preferences`, `rooms->beds->renter`.`payment_history` AS `rooms.beds.renter.payment_history`, `rooms->beds->renter`.`created_at` AS `rooms.beds.renter.createdAt`, `rooms->beds->renter`.`updated_at` AS `rooms.beds.renter.updatedAt` FROM `Floor` AS `Floor` LEFT OUTER JOIN `Room` AS `rooms` ON `Floor`.`id` = `rooms`.`floor_id` LEFT OUTER JOIN `Bed` AS `rooms->beds` ON `rooms`.`id` = `rooms->beds`.`room_id` LEFT OUTER JOIN `Renter` AS `rooms->beds->renter` ON `rooms->beds`.`id` = `rooms->beds->renter`.`bed_id`; Executing (default): SELECT `Room`.`id`, `Room`.`building_id`, `Room`.`floor_id`, `Room`.`room_number`, `Room`.`total_beds`, `Room`.`occupied_beds`, `Room`.`rent_per_bed`, `Room`.`facilities`, `Room`.`room_type`, `Room`.`area`, `Room`.`has_balcony`, `Room`.`has_attached_bathroom`, `Room`.`furnishing_status`, `Room`.`condition`, `Room`.`last_cleaned`, `Room`.`security_deposit`, `Room`.`available_from`, `Room`.`created_at` AS `createdAt`, `Room`.`updated_at` AS `updatedAt`, `building`.`id` AS `building.id`, `building`.`name` AS `building.name`, `building`.`address` AS `building.address`, `building`.`floors` AS `building.floors`, `building`.`total_rooms` AS `building.total_rooms`, `building`.`total_beds` AS `building.total_beds`, `building`.`parking_spaces` AS `building.parking_spaces`, `building`.`occupied_beds` AS `building.occupied_beds`, `building`.`manager` AS `building.manager`, `building`.`amenities` AS `building.amenities`, `building`.`monthly_revenue` AS `building.monthly_revenue`, `building`.`building_type` AS `building.building_type`, `building`.`year_built` AS `building.year_built`, `building`.`total_area` AS `building.total_area`, `building`.`elevators` AS `building.elevators`, `building`.`security_features` AS `building.security_features`, `building`.`contact_person` AS `building.contact_person`, `building`.`contact_phone` AS `building.contact_phone`, `building`.`created_at` AS `building.createdAt`, `building`.`updated_at` AS `building.updatedAt`, `floor`.`id` AS `floor.id`, `floor`.`building_id` AS `floor.building_id`, `floor`.`floor_number` AS `floor.floor_number`, `floor`.`total_rooms` AS `floor.total_rooms`, `floor`.`occupied_rooms` AS `floor.occupied_rooms`, `floor`.`floor_type` AS `floor.floor_type`, `floor`.`amenities` AS `floor.amenities`, `floor`.`maintenance_status` AS `floor.maintenance_status`, `floor`.`last_inspection` AS `floor.last_inspection`, `floor`.`notes` AS `floor.notes`, `floor`.`created_at` AS `floor.createdAt`, `floor`.`updated_at` AS `floor.updatedAt`, `beds`.`id` AS `beds.id`, `beds`.`building_id` AS `beds.building_id`, `beds`.`floor_id` AS `beds.floor_id`, `beds`.`room_id` AS `beds.room_id`, `beds`.`bed_number` AS `beds.bed_number`, `beds`.`is_occupied` AS `beds.is_occupied`, `beds`.`monthly_rent` AS `beds.monthly_rent`, `beds`.`status` AS `beds.status`, `beds`.`bed_type` AS `beds.bed_type`, `beds`.`last_cleaned` AS `beds.last_cleaned`, `beds`.`notes` AS `beds.notes`, `beds`.`reserved_until` AS `beds.reserved_until`, `beds`.`maintenance_scheduled` AS `beds.maintenance_scheduled`, `beds`.`created_at` AS `beds.createdAt`, `beds`.`updated_at` AS `beds.updatedAt`, `beds->renter`.`id` AS `beds.renter.id`, `beds->renter`.`name` AS `beds.renter.name`, `beds->renter`.`email` AS `beds.renter.email`, `beds->renter`.`phone` AS `beds.renter.phone`, `beds->renter`.`alternate_phone` AS `beds.renter.alternate_phone`, `beds->renter`.`nid` AS `beds.renter.nid`, `beds->renter`.`building_id` AS `beds.renter.building_id`, `beds->renter`.`floor_id` AS `beds.renter.floor_id`, `beds->renter`.`room_id` AS `beds.renter.room_id`, `beds->renter`.`bed_id` AS `beds.renter.bed_id`, `beds->renter`.`rent_amount` AS `beds.renter.rent_amount`, `beds->renter`.`security_deposit` AS `beds.renter.security_deposit`, `beds->renter`.`check_in_date` AS `beds.renter.check_in_date`, `beds->renter`.`check_out_date` AS `beds.renter.check_out_date`, `beds->renter`.`lease_start_date` AS `beds.renter.lease_start_date`, `beds->renter`.`lease_end_date` AS `beds.renter.lease_end_date`, `beds->renter`.`status` AS `beds.renter.status`, `beds->renter`.`emergency_contact` AS `beds.renter.emergency_contact`, `beds->renter`.`emergency_relation` AS `beds.renter.emergency_relation`, `beds->renter`.`profile_photo` AS `beds.renter.profile_photo`, `beds->renter`.`occupation` AS `beds.renter.occupation`, `beds->renter`.`company` AS `beds.renter.company`, `beds->renter`.`monthly_income` AS `beds.renter.monthly_income`, `beds->renter`.`previous_address` AS `beds.renter.previous_address`, `beds->renter`.`references` AS `beds.renter.references`, `beds->renter`.`notice_period` AS `beds.renter.notice_period`, `beds->renter`.`preferences` AS `beds.renter.preferences`, `beds->renter`.`payment_history` AS `beds.renter.payment_history`, `beds->renter`.`created_at` AS `beds.renter.createdAt`, `beds->renter`.`updated_at` AS `beds.renter.updatedAt` FROM `Room` AS `Room` LEFT OUTER JOIN `Building` AS `building` ON `Room`.`building_id` = `building`.`id` LEFT OUTER JOIN `Floor` AS `floor` ON `Room`.`floor_id` = `floor`.`id` LEFT OUTER JOIN `Bed` AS `beds` ON `Room`.`id` = `beds`.`room_id` LEFT OUTER JOIN `Renter` AS `beds->renter` ON `beds`.`id` = `beds->renter`.`bed_id`; Executing (default): SELECT `id`, `name`, `email`, `password`, `role`, `permissions`, `department`, `phone`, `avatar`, `is_active`, `last_login`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `User` AS `User` WHERE `User`.`id` = '8cc00eb8-378e-4f89-8141-f87aa35fd51d'; Executing (default): SELECT `Renter`.`id`, `Renter`.`name`, `Renter`.`email`, `Renter`.`phone`, `Renter`.`alternate_phone`, `Renter`.`nid`, `Renter`.`building_id`, `Renter`.`floor_id`, `Renter`.`room_id`, `Renter`.`bed_id`, `Renter`.`rent_amount`, `Renter`.`security_deposit`, `Renter`.`check_in_date`, `Renter`.`check_out_date`, `Renter`.`lease_start_date`, `Renter`.`lease_end_date`, `Renter`.`status`, `Renter`.`emergency_contact`, `Renter`.`emergency_relation`, `Renter`.`profile_photo`, `Renter`.`occupation`, `Renter`.`company`, `Renter`.`monthly_income`, `Renter`.`previous_address`, `Renter`.`references`, `Renter`.`notice_period`, `Renter`.`preferences`, `Renter`.`payment_history`, `Renter`.`created_at` AS `createdAt`, `Renter`.`updated_at` AS `updatedAt`, `room`.`id` AS `room.id`, `room`.`building_id` AS `room.building_id`, `room`.`floor_id` AS `room.floor_id`, `room`.`room_number` AS `room.room_number`, `room`.`total_beds` AS `room.total_beds`, `room`.`occupied_beds` AS `room.occupied_beds`, `room`.`rent_per_bed` AS `room.rent_per_bed`, `room`.`facilities` AS `room.facilities`, `room`.`room_type` AS `room.room_type`, `room`.`area` AS `room.area`, `room`.`has_balcony` AS `room.has_balcony`, `room`.`has_attached_bathroom` AS `room.has_attached_bathroom`, `room`.`furnishing_status` AS `room.furnishing_status`, `room`.`condition` AS `room.condition`, `room`.`last_cleaned` AS `room.last_cleaned`, `room`.`security_deposit` AS `room.security_deposit`, `room`.`available_from` AS `room.available_from`, `room`.`created_at` AS `room.createdAt`, `room`.`updated_at` AS `room.updatedAt`, `documents`.`id` AS `documents.id`, `documents`.`renter_id` AS `documents.renter_id`, `documents`.`type` AS `documents.type`, `documents`.`file_name` AS `documents.file_name`, `documents`.`file_url` AS `documents.file_url`, `documents`.`file_size` AS `documents.file_size`, `documents`.`mime_type` AS `documents.mime_type`, `documents`.`description` AS `documents.description`, `documents`.`created_at` AS `documents.createdAt`, `documents`.`updated_at` AS `documents.updatedAt` FROM `Renter` AS `Renter` LEFT OUTER JOIN `Room` AS `room` ON `Renter`.`room_id` = `room`.`id` LEFT OUTER JOIN `RenterDocument` AS `documents` ON `Renter`.`id` = `documents`.`renter_id`; Executing (default): SELECT `Bed`.`id`, `Bed`.`building_id`, `Bed`.`floor_id`, `Bed`.`room_id`, `Bed`.`bed_number`, `Bed`.`is_occupied`, `Bed`.`monthly_rent`, `Bed`.`status`, `Bed`.`bed_type`, `Bed`.`last_cleaned`, `Bed`.`notes`, `Bed`.`reserved_until`, `Bed`.`maintenance_scheduled`, `Bed`.`created_at` AS `createdAt`, `Bed`.`updated_at` AS `updatedAt`, `renter`.`id` AS `renter.id`, `renter`.`name` AS `renter.name`, `renter`.`email` AS `renter.email`, `renter`.`phone` AS `renter.phone`, `renter`.`alternate_phone` AS `renter.alternate_phone`, `renter`.`nid` AS `renter.nid`, `renter`.`building_id` AS `renter.building_id`, `renter`.`floor_id` AS `renter.floor_id`, `renter`.`room_id` AS `renter.room_id`, `renter`.`bed_id` AS `renter.bed_id`, `renter`.`rent_amount` AS `renter.rent_amount`, `renter`.`security_deposit` AS `renter.security_deposit`, `renter`.`check_in_date` AS `renter.check_in_date`, `renter`.`check_out_date` AS `renter.check_out_date`, `renter`.`lease_start_date` AS `renter.lease_start_date`, `renter`.`lease_end_date` AS `renter.lease_end_date`, `renter`.`status` AS `renter.status`, `renter`.`emergency_contact` AS `renter.emergency_contact`, `renter`.`emergency_relation` AS `renter.emergency_relation`, `renter`.`profile_photo` AS `renter.profile_photo`, `renter`.`occupation` AS `renter.occupation`, `renter`.`company` AS `renter.company`, `renter`.`monthly_income` AS `renter.monthly_income`, `renter`.`previous_address` AS `renter.previous_address`, `renter`.`references` AS `renter.references`, `renter`.`notice_period` AS `renter.notice_period`, `renter`.`preferences` AS `renter.preferences`, `renter`.`payment_history` AS `renter.payment_history`, `renter`.`created_at` AS `renter.createdAt`, `renter`.`updated_at` AS `renter.updatedAt`, `room`.`id` AS `room.id`, `room`.`building_id` AS `room.building_id`, `room`.`floor_id` AS `room.floor_id`, `room`.`room_number` AS `room.room_number`, `room`.`total_beds` AS `room.total_beds`, `room`.`occupied_beds` AS `room.occupied_beds`, `room`.`rent_per_bed` AS `room.rent_per_bed`, `room`.`facilities` AS `room.facilities`, `room`.`room_type` AS `room.room_type`, `room`.`area` AS `room.area`, `room`.`has_balcony` AS `room.has_balcony`, `room`.`has_attached_bathroom` AS `room.has_attached_bathroom`, `room`.`furnishing_status` AS `room.furnishing_status`, `room`.`condition` AS `room.condition`, `room`.`last_cleaned` AS `room.last_cleaned`, `room`.`security_deposit` AS `room.security_deposit`, `room`.`available_from` AS `room.available_from`, `room`.`created_at` AS `room.createdAt`, `room`.`updated_at` AS `room.updatedAt`, `room->floor`.`id` AS `room.floor.id`, `room->floor`.`building_id` AS `room.floor.building_id`, `room->floor`.`floor_number` AS `room.floor.floor_number`, `room->floor`.`total_rooms` AS `room.floor.total_rooms`, `room->floor`.`occupied_rooms` AS `room.floor.occupied_rooms`, `room->floor`.`floor_type` AS `room.floor.floor_type`, `room->floor`.`amenities` AS `room.floor.amenities`, `room->floor`.`maintenance_status` AS `room.floor.maintenance_status`, `room->floor`.`last_inspection` AS `room.floor.last_inspection`, `room->floor`.`notes` AS `room.floor.notes`, `room->floor`.`created_at` AS `room.floor.createdAt`, `room->floor`.`updated_at` AS `room.floor.updatedAt`, `room->floor->building`.`id` AS `room.floor.building.id`, `room->floor->building`.`name` AS `room.floor.building.name`, `room->floor->building`.`address` AS `room.floor.building.address`, `room->floor->building`.`floors` AS `room.floor.building.floors`, `room->floor->building`.`total_rooms` AS `room.floor.building.total_rooms`, `room->floor->building`.`total_beds` AS `room.floor.building.total_beds`, `room->floor->building`.`parking_spaces` AS `room.floor.building.parking_spaces`, `room->floor->building`.`occupied_beds` AS `room.floor.building.occupied_beds`, `room->floor->building`.`manager` AS `room.floor.building.manager`, `room->floor->building`.`amenities` AS `room.floor.building.amenities`, `room->floor->building`.`monthly_revenue` AS `room.floor.building.monthly_revenue`, `room->floor->building`.`building_type` AS `room.floor.building.building_type`, `room->floor->building`.`year_built` AS `room.floor.building.year_built`, `room->floor->building`.`total_area` AS `room.floor.building.total_area`, `room->floor->building`.`elevators` AS `room.floor.building.elevators`, `room->floor->building`.`security_features` AS `room.floor.building.security_features`, `room->floor->building`.`contact_person` AS `room.floor.building.contact_person`, `room->floor->building`.`contact_phone` AS `room.floor.building.contact_phone`, `room->floor->building`.`created_at` AS `room.floor.building.createdAt`, `room->floor->building`.`updated_at` AS `room.floor.building.updatedAt` FROM `Bed` AS `Bed` LEFT OUTER JOIN `Renter` AS `renter` ON `Bed`.`id` = `renter`.`bed_id` LEFT OUTER JOIN `Room` AS `room` ON `Bed`.`room_id` = `room`.`id` LEFT OUTER JOIN `Floor` AS `room->floor` ON `room`.`floor_id` = `room->floor`.`id` LEFT OUTER JOIN `Building` AS `room->floor->building` ON `room->floor`.`building_id` = `room->floor->building`.`id`; Executing (default): SELECT `id`, `title`, `content`, `type`, `priority`, `target_audience`, `target_ids`, `building_id`, `floor_id`, `created_by`, `expiry_date`, `is_active`, `read_by`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `Notice` AS `Notice`; Executing (default): SELECT `id`, `name`, `email`, `password`, `role`, `permissions`, `department`, `phone`, `avatar`, `is_active`, `last_login`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `User` AS `User` WHERE `User`.`id` = '8cc00eb8-378e-4f89-8141-f87aa35fd51d'; Executing (default): SELECT `id`, `name`, `email`, `password`, `role`, `permissions`, `department`, `phone`, `avatar`, `is_active`, `last_login`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `User` AS `User` WHERE `User`.`id` = '8cc00eb8-378e-4f89-8141-f87aa35fd51d'; Executing (default): SELECT `id`, `renter_id`, `amount`, `due_date`, `paid_date`, `status`, `month`, `year`, `payment_method`, `transaction_id`, `late_fee`, `discount`, `notes`, `receipt_number`, `collected_by`, `renter_name` AS `renterName`, `room_number`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `RentPayment` AS `RentPayment`; Executing (default): SELECT `id`, `building_id`, `floor_id`, `room_id`, `bed_id`, `type`, `category`, `description`, `priority`, `status`, `assigned_to`, `cost`, `estimated_cost`, `scheduled_date`, `completed_date`, `notes`, `images`, `warranty`, `next_maintenance_date`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `Maintenance` AS `Maintenance`; Executing (default): SELECT `id`, `name`, `email`, `password`, `role`, `permissions`, `department`, `phone`, `avatar`, `is_active`, `last_login`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `User` AS `User` WHERE `User`.`id` = '8cc00eb8-378e-4f89-8141-f87aa35fd51d'; Executing (default): SELECT `id`, `building_id`, `floor_id`, `category`, `subcategory`, `description`, `amount`, `date`, `vendor`, `receipt`, `approved_by`, `payment_method`, `is_recurring`, `recurring_frequency`, `budget_category`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `Expense` AS `Expense`; Executing (default): SELECT `id`, `visitor_name`, `visitor_phone`, `visiting_renter_id`, `check_in_time`, `check_out_time`, `purpose`, `approved_by`, `id_verified`, `vehicle_number`, `notes`, `visiting_renter_name`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `Visitor` AS `Visitor`; Executing (default): SELECT `id`, `name`, `value`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `Settings` AS `Settings`; Executing (default): SELECT `id`, `name`, `email`, `password`, `role`, `permissions`, `department`, `phone`, `avatar`, `is_active`, `last_login`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `User` AS `User` WHERE `User`.`id` = '8cc00eb8-378e-4f89-8141-f87aa35fd51d'; Executing (default): SELECT `id`, `name`, `email`, `role`, `permissions`, `department`, `phone`, `avatar`, `is_active`, `last_login`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `User` AS `User` WHERE `User`.`id` = '8cc00eb8-378e-4f89-8141-f87aa35fd51d'; Executing (default): SELECT `id`, `name`, `email`, `password`, `role`, `permissions`, `department`, `phone`, `avatar`, `is_active`, `last_login`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `User` AS `User` WHERE `User`.`id` = '8cc00eb8-378e-4f89-8141-f87aa35fd51d'; Executing (default): SELECT `id`, `name`, `email`, `password`, `role`, `permissions`, `department`, `phone`, `avatar`, `is_active`, `last_login`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `User` AS `User` WHERE `User`.`id` = '8cc00eb8-378e-4f89-8141-f87aa35fd51d'; Executing (default): SELECT `Building`.`id`, `Building`.`name`, `Building`.`address`, `Building`.`floors`, `Building`.`total_rooms`, `Building`.`total_beds`, `Building`.`parking_spaces`, `Building`.`occupied_beds`, `Building`.`manager`, `Building`.`amenities`, `Building`.`monthly_revenue`, `Building`.`building_type`, `Building`.`year_built`, `Building`.`total_area`, `Building`.`elevators`, `Building`.`security_features`, `Building`.`contact_person`, `Building`.`contact_phone`, `Building`.`created_at` AS `createdAt`, `Building`.`updated_at` AS `updatedAt`, `buildingFloors`.`id` AS `buildingFloors.id`, `buildingFloors`.`building_id` AS `buildingFloors.building_id`, `buildingFloors`.`floor_number` AS `buildingFloors.floor_number`, `buildingFloors`.`total_rooms` AS `buildingFloors.total_rooms`, `buildingFloors`.`occupied_rooms` AS `buildingFloors.occupied_rooms`, `buildingFloors`.`floor_type` AS `buildingFloors.floor_type`, `buildingFloors`.`amenities` AS `buildingFloors.amenities`, `buildingFloors`.`maintenance_status` AS `buildingFloors.maintenance_status`, `buildingFloors`.`last_inspection` AS `buildingFloors.last_inspection`, `buildingFloors`.`notes` AS `buildingFloors.notes`, `buildingFloors`.`created_at` AS `buildingFloors.createdAt`, `buildingFloors`.`updated_at` AS `buildingFloors.updatedAt`, `buildingFloors->rooms`.`id` AS `buildingFloors.rooms.id`, `buildingFloors->rooms`.`building_id` AS `buildingFloors.rooms.building_id`, `buildingFloors->rooms`.`floor_id` AS `buildingFloors.rooms.floor_id`, `buildingFloors->rooms`.`room_number` AS `buildingFloors.rooms.room_number`, `buildingFloors->rooms`.`total_beds` AS `buildingFloors.rooms.total_beds`, `buildingFloors->rooms`.`occupied_beds` AS `buildingFloors.rooms.occupied_beds`, `buildingFloors->rooms`.`rent_per_bed` AS `buildingFloors.rooms.rent_per_bed`, `buildingFloors->rooms`.`facilities` AS `buildingFloors.rooms.facilities`, `buildingFloors->rooms`.`room_type` AS `buildingFloors.rooms.room_type`, `buildingFloors->rooms`.`area` AS `buildingFloors.rooms.area`, `buildingFloors->rooms`.`has_balcony` AS `buildingFloors.rooms.has_balcony`, `buildingFloors->rooms`.`has_attached_bathroom` AS `buildingFloors.rooms.has_attached_bathroom`, `buildingFloors->rooms`.`furnishing_status` AS `buildingFloors.rooms.furnishing_status`, `buildingFloors->rooms`.`condition` AS `buildingFloors.rooms.condition`, `buildingFloors->rooms`.`last_cleaned` AS `buildingFloors.rooms.last_cleaned`, `buildingFloors->rooms`.`security_deposit` AS `buildingFloors.rooms.security_deposit`, `buildingFloors->rooms`.`available_from` AS `buildingFloors.rooms.available_from`, `buildingFloors->rooms`.`created_at` AS `buildingFloors.rooms.createdAt`, `buildingFloors->rooms`.`updated_at` AS `buildingFloors.rooms.updatedAt`, `buildingFloors->rooms->beds`.`id` AS `buildingFloors.rooms.beds.id`, `buildingFloors->rooms->beds`.`building_id` AS `buildingFloors.rooms.beds.building_id`, `buildingFloors->rooms->beds`.`floor_id` AS `buildingFloors.rooms.beds.floor_id`, `buildingFloors->rooms->beds`.`room_id` AS `buildingFloors.rooms.beds.room_id`, `buildingFloors->rooms->beds`.`bed_number` AS `buildingFloors.rooms.beds.bed_number`, `buildingFloors->rooms->beds`.`is_occupied` AS `buildingFloors.rooms.beds.is_occupied`, `buildingFloors->rooms->beds`.`monthly_rent` AS `buildingFloors.rooms.beds.monthly_rent`, `buildingFloors->rooms->beds`.`status` AS `buildingFloors.rooms.beds.status`, `buildingFloors->rooms->beds`.`bed_type` AS `buildingFloors.rooms.beds.bed_type`, `buildingFloors->rooms->beds`.`last_cleaned` AS `buildingFloors.rooms.beds.last_cleaned`, `buildingFloors->rooms->beds`.`notes` AS `buildingFloors.rooms.beds.notes`, `buildingFloors->rooms->beds`.`reserved_until` AS `buildingFloors.rooms.beds.reserved_until`, `buildingFloors->rooms->beds`.`maintenance_scheduled` AS `buildingFloors.rooms.beds.maintenance_scheduled`, `buildingFloors->rooms->beds`.`created_at` AS `buildingFloors.rooms.beds.createdAt`, `buildingFloors->rooms->beds`.`updated_at` AS `buildingFloors.rooms.beds.updatedAt`, `buildingFloors->rooms->beds->renter`.`id` AS `buildingFloors.rooms.beds.renter.id`, `buildingFloors->rooms->beds->renter`.`name` AS `buildingFloors.rooms.beds.renter.name`, `buildingFloors->rooms->beds->renter`.`email` AS `buildingFloors.rooms.beds.renter.email`, `buildingFloors->rooms->beds->renter`.`phone` AS `buildingFloors.rooms.beds.renter.phone`, `buildingFloors->rooms->beds->renter`.`alternate_phone` AS `buildingFloors.rooms.beds.renter.alternate_phone`, `buildingFloors->rooms->beds->renter`.`nid` AS `buildingFloors.rooms.beds.renter.nid`, `buildingFloors->rooms->beds->renter`.`building_id` AS `buildingFloors.rooms.beds.renter.building_id`, `buildingFloors->rooms->beds->renter`.`floor_id` AS `buildingFloors.rooms.beds.renter.floor_id`, `buildingFloors->rooms->beds->renter`.`room_id` AS `buildingFloors.rooms.beds.renter.room_id`, `buildingFloors->rooms->beds->renter`.`bed_id` AS `buildingFloors.rooms.beds.renter.bed_id`, `buildingFloors->rooms->beds->renter`.`rent_amount` AS `buildingFloors.rooms.beds.renter.rent_amount`, `buildingFloors->rooms->beds->renter`.`security_deposit` AS `buildingFloors.rooms.beds.renter.security_deposit`, `buildingFloors->rooms->beds->renter`.`check_in_date` AS `buildingFloors.rooms.beds.renter.check_in_date`, `buildingFloors->rooms->beds->renter`.`check_out_date` AS `buildingFloors.rooms.beds.renter.check_out_date`, `buildingFloors->rooms->beds->renter`.`lease_start_date` AS `buildingFloors.rooms.beds.renter.lease_start_date`, `buildingFloors->rooms->beds->renter`.`lease_end_date` AS `buildingFloors.rooms.beds.renter.lease_end_date`, `buildingFloors->rooms->beds->renter`.`status` AS `buildingFloors.rooms.beds.renter.status`, `buildingFloors->rooms->beds->renter`.`emergency_contact` AS `buildingFloors.rooms.beds.renter.emergency_contact`, `buildingFloors->rooms->beds->renter`.`emergency_relation` AS `buildingFloors.rooms.beds.renter.emergency_relation`, `buildingFloors->rooms->beds->renter`.`profile_photo` AS `buildingFloors.rooms.beds.renter.profile_photo`, `buildingFloors->rooms->beds->renter`.`occupation` AS `buildingFloors.rooms.beds.renter.occupation`, `buildingFloors->rooms->beds->renter`.`company` AS `buildingFloors.rooms.beds.renter.company`, `buildingFloors->rooms->beds->renter`.`monthly_income` AS `buildingFloors.rooms.beds.renter.monthly_income`, `buildingFloors->rooms->beds->renter`.`previous_address` AS `buildingFloors.rooms.beds.renter.previous_address`, `buildingFloors->rooms->beds->renter`.`references` AS `buildingFloors.rooms.beds.renter.references`, `buildingFloors->rooms->beds->renter`.`notice_period` AS `buildingFloors.rooms.beds.renter.notice_period`, `buildingFloors->rooms->beds->renter`.`preferences` AS `buildingFloors.rooms.beds.renter.preferences`, `buildingFloors->rooms->beds->renter`.`payment_history` AS `buildingFloors.rooms.beds.renter.payment_history`, `buildingFloors->rooms->beds->renter`.`created_at` AS `buildingFloors.rooms.beds.renter.createdAt`, `buildingFloors->rooms->beds->renter`.`updated_at` AS `buildingFloors.rooms.beds.renter.updatedAt` FROM `Building` AS `Building` LEFT OUTER JOIN `Floor` AS `buildingFloors` ON `Building`.`id` = `buildingFloors`.`building_id` LEFT OUTER JOIN `Room` AS `buildingFloors->rooms` ON `buildingFloors`.`id` = `buildingFloors->rooms`.`floor_id` LEFT OUTER JOIN `Bed` AS `buildingFloors->rooms->beds` ON `buildingFloors->rooms`.`id` = `buildingFloors->rooms->beds`.`room_id` LEFT OUTER JOIN `Renter` AS `buildingFloors->rooms->beds->renter` ON `buildingFloors->rooms->beds`.`id` = `buildingFloors->rooms->beds->renter`.`bed_id` ORDER BY `createdAt` DESC; Executing (default): SELECT `Floor`.`id`, `Floor`.`building_id`, `Floor`.`floor_number`, `Floor`.`total_rooms`, `Floor`.`occupied_rooms`, `Floor`.`floor_type`, `Floor`.`amenities`, `Floor`.`maintenance_status`, `Floor`.`last_inspection`, `Floor`.`notes`, `Floor`.`created_at` AS `createdAt`, `Floor`.`updated_at` AS `updatedAt`, `rooms`.`id` AS `rooms.id`, `rooms`.`building_id` AS `rooms.building_id`, `rooms`.`floor_id` AS `rooms.floor_id`, `rooms`.`room_number` AS `rooms.room_number`, `rooms`.`total_beds` AS `rooms.total_beds`, `rooms`.`occupied_beds` AS `rooms.occupied_beds`, `rooms`.`rent_per_bed` AS `rooms.rent_per_bed`, `rooms`.`facilities` AS `rooms.facilities`, `rooms`.`room_type` AS `rooms.room_type`, `rooms`.`area` AS `rooms.area`, `rooms`.`has_balcony` AS `rooms.has_balcony`, `rooms`.`has_attached_bathroom` AS `rooms.has_attached_bathroom`, `rooms`.`furnishing_status` AS `rooms.furnishing_status`, `rooms`.`condition` AS `rooms.condition`, `rooms`.`last_cleaned` AS `rooms.last_cleaned`, `rooms`.`security_deposit` AS `rooms.security_deposit`, `rooms`.`available_from` AS `rooms.available_from`, `rooms`.`created_at` AS `rooms.createdAt`, `rooms`.`updated_at` AS `rooms.updatedAt`, `rooms->beds`.`id` AS `rooms.beds.id`, `rooms->beds`.`building_id` AS `rooms.beds.building_id`, `rooms->beds`.`floor_id` AS `rooms.beds.floor_id`, `rooms->beds`.`room_id` AS `rooms.beds.room_id`, `rooms->beds`.`bed_number` AS `rooms.beds.bed_number`, `rooms->beds`.`is_occupied` AS `rooms.beds.is_occupied`, `rooms->beds`.`monthly_rent` AS `rooms.beds.monthly_rent`, `rooms->beds`.`status` AS `rooms.beds.status`, `rooms->beds`.`bed_type` AS `rooms.beds.bed_type`, `rooms->beds`.`last_cleaned` AS `rooms.beds.last_cleaned`, `rooms->beds`.`notes` AS `rooms.beds.notes`, `rooms->beds`.`reserved_until` AS `rooms.beds.reserved_until`, `rooms->beds`.`maintenance_scheduled` AS `rooms.beds.maintenance_scheduled`, `rooms->beds`.`created_at` AS `rooms.beds.createdAt`, `rooms->beds`.`updated_at` AS `rooms.beds.updatedAt`, `rooms->beds->renter`.`id` AS `rooms.beds.renter.id`, `rooms->beds->renter`.`name` AS `rooms.beds.renter.name`, `rooms->beds->renter`.`email` AS `rooms.beds.renter.email`, `rooms->beds->renter`.`phone` AS `rooms.beds.renter.phone`, `rooms->beds->renter`.`alternate_phone` AS `rooms.beds.renter.alternate_phone`, `rooms->beds->renter`.`nid` AS `rooms.beds.renter.nid`, `rooms->beds->renter`.`building_id` AS `rooms.beds.renter.building_id`, `rooms->beds->renter`.`floor_id` AS `rooms.beds.renter.floor_id`, `rooms->beds->renter`.`room_id` AS `rooms.beds.renter.room_id`, `rooms->beds->renter`.`bed_id` AS `rooms.beds.renter.bed_id`, `rooms->beds->renter`.`rent_amount` AS `rooms.beds.renter.rent_amount`, `rooms->beds->renter`.`security_deposit` AS `rooms.beds.renter.security_deposit`, `rooms->beds->renter`.`check_in_date` AS `rooms.beds.renter.check_in_date`, `rooms->beds->renter`.`check_out_date` AS `rooms.beds.renter.check_out_date`, `rooms->beds->renter`.`lease_start_date` AS `rooms.beds.renter.lease_start_date`, `rooms->beds->renter`.`lease_end_date` AS `rooms.beds.renter.lease_end_date`, `rooms->beds->renter`.`status` AS `rooms.beds.renter.status`, `rooms->beds->renter`.`emergency_contact` AS `rooms.beds.renter.emergency_contact`, `rooms->beds->renter`.`emergency_relation` AS `rooms.beds.renter.emergency_relation`, `rooms->beds->renter`.`profile_photo` AS `rooms.beds.renter.profile_photo`, `rooms->beds->renter`.`occupation` AS `rooms.beds.renter.occupation`, `rooms->beds->renter`.`company` AS `rooms.beds.renter.company`, `rooms->beds->renter`.`monthly_income` AS `rooms.beds.renter.monthly_income`, `rooms->beds->renter`.`previous_address` AS `rooms.beds.renter.previous_address`, `rooms->beds->renter`.`references` AS `rooms.beds.renter.references`, `rooms->beds->renter`.`notice_period` AS `rooms.beds.renter.notice_period`, `rooms->beds->renter`.`preferences` AS `rooms.beds.renter.preferences`, `rooms->beds->renter`.`payment_history` AS `rooms.beds.renter.payment_history`, `rooms->beds->renter`.`created_at` AS `rooms.beds.renter.createdAt`, `rooms->beds->renter`.`updated_at` AS `rooms.beds.renter.updatedAt` FROM `Floor` AS `Floor` LEFT OUTER JOIN `Room` AS `rooms` ON `Floor`.`id` = `rooms`.`floor_id` LEFT OUTER JOIN `Bed` AS `rooms->beds` ON `rooms`.`id` = `rooms->beds`.`room_id` LEFT OUTER JOIN `Renter` AS `rooms->beds->renter` ON `rooms->beds`.`id` = `rooms->beds->renter`.`bed_id`; Executing (default): SELECT `id`, `name`, `email`, `password`, `role`, `permissions`, `department`, `phone`, `avatar`, `is_active`, `last_login`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `User` AS `User` WHERE `User`.`id` = '8cc00eb8-378e-4f89-8141-f87aa35fd51d'; Executing (default): SELECT `Room`.`id`, `Room`.`building_id`, `Room`.`floor_id`, `Room`.`room_number`, `Room`.`total_beds`, `Room`.`occupied_beds`, `Room`.`rent_per_bed`, `Room`.`facilities`, `Room`.`room_type`, `Room`.`area`, `Room`.`has_balcony`, `Room`.`has_attached_bathroom`, `Room`.`furnishing_status`, `Room`.`condition`, `Room`.`last_cleaned`, `Room`.`security_deposit`, `Room`.`available_from`, `Room`.`created_at` AS `createdAt`, `Room`.`updated_at` AS `updatedAt`, `building`.`id` AS `building.id`, `building`.`name` AS `building.name`, `building`.`address` AS `building.address`, `building`.`floors` AS `building.floors`, `building`.`total_rooms` AS `building.total_rooms`, `building`.`total_beds` AS `building.total_beds`, `building`.`parking_spaces` AS `building.parking_spaces`, `building`.`occupied_beds` AS `building.occupied_beds`, `building`.`manager` AS `building.manager`, `building`.`amenities` AS `building.amenities`, `building`.`monthly_revenue` AS `building.monthly_revenue`, `building`.`building_type` AS `building.building_type`, `building`.`year_built` AS `building.year_built`, `building`.`total_area` AS `building.total_area`, `building`.`elevators` AS `building.elevators`, `building`.`security_features` AS `building.security_features`, `building`.`contact_person` AS `building.contact_person`, `building`.`contact_phone` AS `building.contact_phone`, `building`.`created_at` AS `building.createdAt`, `building`.`updated_at` AS `building.updatedAt`, `floor`.`id` AS `floor.id`, `floor`.`building_id` AS `floor.building_id`, `floor`.`floor_number` AS `floor.floor_number`, `floor`.`total_rooms` AS `floor.total_rooms`, `floor`.`occupied_rooms` AS `floor.occupied_rooms`, `floor`.`floor_type` AS `floor.floor_type`, `floor`.`amenities` AS `floor.amenities`, `floor`.`maintenance_status` AS `floor.maintenance_status`, `floor`.`last_inspection` AS `floor.last_inspection`, `floor`.`notes` AS `floor.notes`, `floor`.`created_at` AS `floor.createdAt`, `floor`.`updated_at` AS `floor.updatedAt`, `beds`.`id` AS `beds.id`, `beds`.`building_id` AS `beds.building_id`, `beds`.`floor_id` AS `beds.floor_id`, `beds`.`room_id` AS `beds.room_id`, `beds`.`bed_number` AS `beds.bed_number`, `beds`.`is_occupied` AS `beds.is_occupied`, `beds`.`monthly_rent` AS `beds.monthly_rent`, `beds`.`status` AS `beds.status`, `beds`.`bed_type` AS `beds.bed_type`, `beds`.`last_cleaned` AS `beds.last_cleaned`, `beds`.`notes` AS `beds.notes`, `beds`.`reserved_until` AS `beds.reserved_until`, `beds`.`maintenance_scheduled` AS `beds.maintenance_scheduled`, `beds`.`created_at` AS `beds.createdAt`, `beds`.`updated_at` AS `beds.updatedAt`, `beds->renter`.`id` AS `beds.renter.id`, `beds->renter`.`name` AS `beds.renter.name`, `beds->renter`.`email` AS `beds.renter.email`, `beds->renter`.`phone` AS `beds.renter.phone`, `beds->renter`.`alternate_phone` AS `beds.renter.alternate_phone`, `beds->renter`.`nid` AS `beds.renter.nid`, `beds->renter`.`building_id` AS `beds.renter.building_id`, `beds->renter`.`floor_id` AS `beds.renter.floor_id`, `beds->renter`.`room_id` AS `beds.renter.room_id`, `beds->renter`.`bed_id` AS `beds.renter.bed_id`, `beds->renter`.`rent_amount` AS `beds.renter.rent_amount`, `beds->renter`.`security_deposit` AS `beds.renter.security_deposit`, `beds->renter`.`check_in_date` AS `beds.renter.check_in_date`, `beds->renter`.`check_out_date` AS `beds.renter.check_out_date`, `beds->renter`.`lease_start_date` AS `beds.renter.lease_start_date`, `beds->renter`.`lease_end_date` AS `beds.renter.lease_end_date`, `beds->renter`.`status` AS `beds.renter.status`, `beds->renter`.`emergency_contact` AS `beds.renter.emergency_contact`, `beds->renter`.`emergency_relation` AS `beds.renter.emergency_relation`, `beds->renter`.`profile_photo` AS `beds.renter.profile_photo`, `beds->renter`.`occupation` AS `beds.renter.occupation`, `beds->renter`.`company` AS `beds.renter.company`, `beds->renter`.`monthly_income` AS `beds.renter.monthly_income`, `beds->renter`.`previous_address` AS `beds.renter.previous_address`, `beds->renter`.`references` AS `beds.renter.references`, `beds->renter`.`notice_period` AS `beds.renter.notice_period`, `beds->renter`.`preferences` AS `beds.renter.preferences`, `beds->renter`.`payment_history` AS `beds.renter.payment_history`, `beds->renter`.`created_at` AS `beds.renter.createdAt`, `beds->renter`.`updated_at` AS `beds.renter.updatedAt` FROM `Room` AS `Room` LEFT OUTER JOIN `Building` AS `building` ON `Room`.`building_id` = `building`.`id` LEFT OUTER JOIN `Floor` AS `floor` ON `Room`.`floor_id` = `floor`.`id` LEFT OUTER JOIN `Bed` AS `beds` ON `Room`.`id` = `beds`.`room_id` LEFT OUTER JOIN `Renter` AS `beds->renter` ON `beds`.`id` = `beds->renter`.`bed_id`; Executing (default): SELECT `Renter`.`id`, `Renter`.`name`, `Renter`.`email`, `Renter`.`phone`, `Renter`.`alternate_phone`, `Renter`.`nid`, `Renter`.`building_id`, `Renter`.`floor_id`, `Renter`.`room_id`, `Renter`.`bed_id`, `Renter`.`rent_amount`, `Renter`.`security_deposit`, `Renter`.`check_in_date`, `Renter`.`check_out_date`, `Renter`.`lease_start_date`, `Renter`.`lease_end_date`, `Renter`.`status`, `Renter`.`emergency_contact`, `Renter`.`emergency_relation`, `Renter`.`profile_photo`, `Renter`.`occupation`, `Renter`.`company`, `Renter`.`monthly_income`, `Renter`.`previous_address`, `Renter`.`references`, `Renter`.`notice_period`, `Renter`.`preferences`, `Renter`.`payment_history`, `Renter`.`created_at` AS `createdAt`, `Renter`.`updated_at` AS `updatedAt`, `room`.`id` AS `room.id`, `room`.`building_id` AS `room.building_id`, `room`.`floor_id` AS `room.floor_id`, `room`.`room_number` AS `room.room_number`, `room`.`total_beds` AS `room.total_beds`, `room`.`occupied_beds` AS `room.occupied_beds`, `room`.`rent_per_bed` AS `room.rent_per_bed`, `room`.`facilities` AS `room.facilities`, `room`.`room_type` AS `room.room_type`, `room`.`area` AS `room.area`, `room`.`has_balcony` AS `room.has_balcony`, `room`.`has_attached_bathroom` AS `room.has_attached_bathroom`, `room`.`furnishing_status` AS `room.furnishing_status`, `room`.`condition` AS `room.condition`, `room`.`last_cleaned` AS `room.last_cleaned`, `room`.`security_deposit` AS `room.security_deposit`, `room`.`available_from` AS `room.available_from`, `room`.`created_at` AS `room.createdAt`, `room`.`updated_at` AS `room.updatedAt`, `documents`.`id` AS `documents.id`, `documents`.`renter_id` AS `documents.renter_id`, `documents`.`type` AS `documents.type`, `documents`.`file_name` AS `documents.file_name`, `documents`.`file_url` AS `documents.file_url`, `documents`.`file_size` AS `documents.file_size`, `documents`.`mime_type` AS `documents.mime_type`, `documents`.`description` AS `documents.description`, `documents`.`created_at` AS `documents.createdAt`, `documents`.`updated_at` AS `documents.updatedAt` FROM `Renter` AS `Renter` LEFT OUTER JOIN `Room` AS `room` ON `Renter`.`room_id` = `room`.`id` LEFT OUTER JOIN `RenterDocument` AS `documents` ON `Renter`.`id` = `documents`.`renter_id`; Executing (default): SELECT `id`, `name`, `email`, `password`, `role`, `permissions`, `department`, `phone`, `avatar`, `is_active`, `last_login`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `User` AS `User` WHERE `User`.`id` = '8cc00eb8-378e-4f89-8141-f87aa35fd51d'; Executing (default): SELECT `id`, `title`, `content`, `type`, `priority`, `target_audience`, `target_ids`, `building_id`, `floor_id`, `created_by`, `expiry_date`, `is_active`, `read_by`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `Notice` AS `Notice`; Executing (default): SELECT `Bed`.`id`, `Bed`.`building_id`, `Bed`.`floor_id`, `Bed`.`room_id`, `Bed`.`bed_number`, `Bed`.`is_occupied`, `Bed`.`monthly_rent`, `Bed`.`status`, `Bed`.`bed_type`, `Bed`.`last_cleaned`, `Bed`.`notes`, `Bed`.`reserved_until`, `Bed`.`maintenance_scheduled`, `Bed`.`created_at` AS `createdAt`, `Bed`.`updated_at` AS `updatedAt`, `renter`.`id` AS `renter.id`, `renter`.`name` AS `renter.name`, `renter`.`email` AS `renter.email`, `renter`.`phone` AS `renter.phone`, `renter`.`alternate_phone` AS `renter.alternate_phone`, `renter`.`nid` AS `renter.nid`, `renter`.`building_id` AS `renter.building_id`, `renter`.`floor_id` AS `renter.floor_id`, `renter`.`room_id` AS `renter.room_id`, `renter`.`bed_id` AS `renter.bed_id`, `renter`.`rent_amount` AS `renter.rent_amount`, `renter`.`security_deposit` AS `renter.security_deposit`, `renter`.`check_in_date` AS `renter.check_in_date`, `renter`.`check_out_date` AS `renter.check_out_date`, `renter`.`lease_start_date` AS `renter.lease_start_date`, `renter`.`lease_end_date` AS `renter.lease_end_date`, `renter`.`status` AS `renter.status`, `renter`.`emergency_contact` AS `renter.emergency_contact`, `renter`.`emergency_relation` AS `renter.emergency_relation`, `renter`.`profile_photo` AS `renter.profile_photo`, `renter`.`occupation` AS `renter.occupation`, `renter`.`company` AS `renter.company`, `renter`.`monthly_income` AS `renter.monthly_income`, `renter`.`previous_address` AS `renter.previous_address`, `renter`.`references` AS `renter.references`, `renter`.`notice_period` AS `renter.notice_period`, `renter`.`preferences` AS `renter.preferences`, `renter`.`payment_history` AS `renter.payment_history`, `renter`.`created_at` AS `renter.createdAt`, `renter`.`updated_at` AS `renter.updatedAt`, `room`.`id` AS `room.id`, `room`.`building_id` AS `room.building_id`, `room`.`floor_id` AS `room.floor_id`, `room`.`room_number` AS `room.room_number`, `room`.`total_beds` AS `room.total_beds`, `room`.`occupied_beds` AS `room.occupied_beds`, `room`.`rent_per_bed` AS `room.rent_per_bed`, `room`.`facilities` AS `room.facilities`, `room`.`room_type` AS `room.room_type`, `room`.`area` AS `room.area`, `room`.`has_balcony` AS `room.has_balcony`, `room`.`has_attached_bathroom` AS `room.has_attached_bathroom`, `room`.`furnishing_status` AS `room.furnishing_status`, `room`.`condition` AS `room.condition`, `room`.`last_cleaned` AS `room.last_cleaned`, `room`.`security_deposit` AS `room.security_deposit`, `room`.`available_from` AS `room.available_from`, `room`.`created_at` AS `room.createdAt`, `room`.`updated_at` AS `room.updatedAt`, `room->floor`.`id` AS `room.floor.id`, `room->floor`.`building_id` AS `room.floor.building_id`, `room->floor`.`floor_number` AS `room.floor.floor_number`, `room->floor`.`total_rooms` AS `room.floor.total_rooms`, `room->floor`.`occupied_rooms` AS `room.floor.occupied_rooms`, `room->floor`.`floor_type` AS `room.floor.floor_type`, `room->floor`.`amenities` AS `room.floor.amenities`, `room->floor`.`maintenance_status` AS `room.floor.maintenance_status`, `room->floor`.`last_inspection` AS `room.floor.last_inspection`, `room->floor`.`notes` AS `room.floor.notes`, `room->floor`.`created_at` AS `room.floor.createdAt`, `room->floor`.`updated_at` AS `room.floor.updatedAt`, `room->floor->building`.`id` AS `room.floor.building.id`, `room->floor->building`.`name` AS `room.floor.building.name`, `room->floor->building`.`address` AS `room.floor.building.address`, `room->floor->building`.`floors` AS `room.floor.building.floors`, `room->floor->building`.`total_rooms` AS `room.floor.building.total_rooms`, `room->floor->building`.`total_beds` AS `room.floor.building.total_beds`, `room->floor->building`.`parking_spaces` AS `room.floor.building.parking_spaces`, `room->floor->building`.`occupied_beds` AS `room.floor.building.occupied_beds`, `room->floor->building`.`manager` AS `room.floor.building.manager`, `room->floor->building`.`amenities` AS `room.floor.building.amenities`, `room->floor->building`.`monthly_revenue` AS `room.floor.building.monthly_revenue`, `room->floor->building`.`building_type` AS `room.floor.building.building_type`, `room->floor->building`.`year_built` AS `room.floor.building.year_built`, `room->floor->building`.`total_area` AS `room.floor.building.total_area`, `room->floor->building`.`elevators` AS `room.floor.building.elevators`, `room->floor->building`.`security_features` AS `room.floor.building.security_features`, `room->floor->building`.`contact_person` AS `room.floor.building.contact_person`, `room->floor->building`.`contact_phone` AS `room.floor.building.contact_phone`, `room->floor->building`.`created_at` AS `room.floor.building.createdAt`, `room->floor->building`.`updated_at` AS `room.floor.building.updatedAt` FROM `Bed` AS `Bed` LEFT OUTER JOIN `Renter` AS `renter` ON `Bed`.`id` = `renter`.`bed_id` LEFT OUTER JOIN `Room` AS `room` ON `Bed`.`room_id` = `room`.`id` LEFT OUTER JOIN `Floor` AS `room->floor` ON `room`.`floor_id` = `room->floor`.`id` LEFT OUTER JOIN `Building` AS `room->floor->building` ON `room->floor`.`building_id` = `room->floor->building`.`id`; Executing (default): SELECT `id`, `name`, `email`, `password`, `role`, `permissions`, `department`, `phone`, `avatar`, `is_active`, `last_login`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `User` AS `User` WHERE `User`.`id` = '8cc00eb8-378e-4f89-8141-f87aa35fd51d'; Executing (default): SELECT `id`, `renter_id`, `amount`, `due_date`, `paid_date`, `status`, `month`, `year`, `payment_method`, `transaction_id`, `late_fee`, `discount`, `notes`, `receipt_number`, `collected_by`, `renter_name` AS `renterName`, `room_number`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `RentPayment` AS `RentPayment`; Executing (default): SELECT `id`, `name`, `email`, `password`, `role`, `permissions`, `department`, `phone`, `avatar`, `is_active`, `last_login`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `User` AS `User` WHERE `User`.`id` = '8cc00eb8-378e-4f89-8141-f87aa35fd51d'; Executing (default): SELECT `id`, `building_id`, `floor_id`, `room_id`, `bed_id`, `type`, `category`, `description`, `priority`, `status`, `assigned_to`, `cost`, `estimated_cost`, `scheduled_date`, `completed_date`, `notes`, `images`, `warranty`, `next_maintenance_date`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `Maintenance` AS `Maintenance`; Executing (default): SELECT `id`, `name`, `email`, `password`, `role`, `permissions`, `department`, `phone`, `avatar`, `is_active`, `last_login`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `User` AS `User` WHERE `User`.`id` = '8cc00eb8-378e-4f89-8141-f87aa35fd51d'; Executing (default): SELECT `id`, `building_id`, `floor_id`, `category`, `subcategory`, `description`, `amount`, `date`, `vendor`, `receipt`, `approved_by`, `payment_method`, `is_recurring`, `recurring_frequency`, `budget_category`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `Expense` AS `Expense`; Executing (default): SELECT `id`, `visitor_name`, `visitor_phone`, `visiting_renter_id`, `check_in_time`, `check_out_time`, `purpose`, `approved_by`, `id_verified`, `vehicle_number`, `notes`, `visiting_renter_name`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `Visitor` AS `Visitor`; Executing (default): SELECT `id`, `name`, `email`, `password`, `role`, `permissions`, `department`, `phone`, `avatar`, `is_active`, `last_login`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `User` AS `User` WHERE `User`.`id` = '8cc00eb8-378e-4f89-8141-f87aa35fd51d'; Executing (default): SELECT `id`, `name`, `value`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `Settings` AS `Settings`; Executing (default): SELECT `id`, `name`, `email`, `role`, `permissions`, `department`, `phone`, `avatar`, `is_active`, `last_login`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `User` AS `User` WHERE `User`.`id` = '8cc00eb8-378e-4f89-8141-f87aa35fd51d'; Executing (default): SELECT `id`, `name`, `email`, `password`, `role`, `permissions`, `department`, `phone`, `avatar`, `is_active`, `last_login`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `User` AS `User` WHERE `User`.`email` = 'admin@demo.com' AND `User`.`is_active` = true; Executing (default): SELECT `id`, `name`, `email`, `password`, `role`, `permissions`, `department`, `phone`, `avatar`, `is_active`, `last_login`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `User` AS `User` WHERE `User`.`email` = 'admi@demo.com' AND `User`.`is_active` = true; Executing (default): SELECT `id`, `name`, `email`, `password`, `role`, `permissions`, `department`, `phone`, `avatar`, `is_active`, `last_login`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `User` AS `User` WHERE `User`.`email` = 'admin@demo.com' AND `User`.`is_active` = true; Executing (default): UPDATE `User` SET `last_login`=?,`updated_at`=? WHERE `id` = ? Executing (default): SELECT `id`, `name`, `email`, `password`, `role`, `permissions`, `department`, `phone`, `avatar`, `is_active`, `last_login`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `User` AS `User` WHERE `User`.`id` = '8cc00eb8-378e-4f89-8141-f87aa35fd51d'; Executing (default): SELECT `id`, `name`, `email`, `password`, `role`, `permissions`, `department`, `phone`, `avatar`, `is_active`, `last_login`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `User` AS `User` WHERE `User`.`id` = '8cc00eb8-378e-4f89-8141-f87aa35fd51d'; Executing (default): SELECT `Building`.`id`, `Building`.`name`, `Building`.`address`, `Building`.`floors`, `Building`.`total_rooms`, `Building`.`total_beds`, `Building`.`parking_spaces`, `Building`.`occupied_beds`, `Building`.`manager`, `Building`.`amenities`, `Building`.`monthly_revenue`, `Building`.`building_type`, `Building`.`year_built`, `Building`.`total_area`, `Building`.`elevators`, `Building`.`security_features`, `Building`.`contact_person`, `Building`.`contact_phone`, `Building`.`created_at` AS `createdAt`, `Building`.`updated_at` AS `updatedAt`, `buildingFloors`.`id` AS `buildingFloors.id`, `buildingFloors`.`building_id` AS `buildingFloors.building_id`, `buildingFloors`.`floor_number` AS `buildingFloors.floor_number`, `buildingFloors`.`total_rooms` AS `buildingFloors.total_rooms`, `buildingFloors`.`occupied_rooms` AS `buildingFloors.occupied_rooms`, `buildingFloors`.`floor_type` AS `buildingFloors.floor_type`, `buildingFloors`.`amenities` AS `buildingFloors.amenities`, `buildingFloors`.`maintenance_status` AS `buildingFloors.maintenance_status`, `buildingFloors`.`last_inspection` AS `buildingFloors.last_inspection`, `buildingFloors`.`notes` AS `buildingFloors.notes`, `buildingFloors`.`created_at` AS `buildingFloors.createdAt`, `buildingFloors`.`updated_at` AS `buildingFloors.updatedAt`, `buildingFloors->rooms`.`id` AS `buildingFloors.rooms.id`, `buildingFloors->rooms`.`building_id` AS `buildingFloors.rooms.building_id`, `buildingFloors->rooms`.`floor_id` AS `buildingFloors.rooms.floor_id`, `buildingFloors->rooms`.`room_number` AS `buildingFloors.rooms.room_number`, `buildingFloors->rooms`.`total_beds` AS `buildingFloors.rooms.total_beds`, `buildingFloors->rooms`.`occupied_beds` AS `buildingFloors.rooms.occupied_beds`, `buildingFloors->rooms`.`rent_per_bed` AS `buildingFloors.rooms.rent_per_bed`, `buildingFloors->rooms`.`facilities` AS `buildingFloors.rooms.facilities`, `buildingFloors->rooms`.`room_type` AS `buildingFloors.rooms.room_type`, `buildingFloors->rooms`.`area` AS `buildingFloors.rooms.area`, `buildingFloors->rooms`.`has_balcony` AS `buildingFloors.rooms.has_balcony`, `buildingFloors->rooms`.`has_attached_bathroom` AS `buildingFloors.rooms.has_attached_bathroom`, `buildingFloors->rooms`.`furnishing_status` AS `buildingFloors.rooms.furnishing_status`, `buildingFloors->rooms`.`condition` AS `buildingFloors.rooms.condition`, `buildingFloors->rooms`.`last_cleaned` AS `buildingFloors.rooms.last_cleaned`, `buildingFloors->rooms`.`security_deposit` AS `buildingFloors.rooms.security_deposit`, `buildingFloors->rooms`.`available_from` AS `buildingFloors.rooms.available_from`, `buildingFloors->rooms`.`created_at` AS `buildingFloors.rooms.createdAt`, `buildingFloors->rooms`.`updated_at` AS `buildingFloors.rooms.updatedAt`, `buildingFloors->rooms->beds`.`id` AS `buildingFloors.rooms.beds.id`, `buildingFloors->rooms->beds`.`building_id` AS `buildingFloors.rooms.beds.building_id`, `buildingFloors->rooms->beds`.`floor_id` AS `buildingFloors.rooms.beds.floor_id`, `buildingFloors->rooms->beds`.`room_id` AS `buildingFloors.rooms.beds.room_id`, `buildingFloors->rooms->beds`.`bed_number` AS `buildingFloors.rooms.beds.bed_number`, `buildingFloors->rooms->beds`.`is_occupied` AS `buildingFloors.rooms.beds.is_occupied`, `buildingFloors->rooms->beds`.`monthly_rent` AS `buildingFloors.rooms.beds.monthly_rent`, `buildingFloors->rooms->beds`.`status` AS `buildingFloors.rooms.beds.status`, `buildingFloors->rooms->beds`.`bed_type` AS `buildingFloors.rooms.beds.bed_type`, `buildingFloors->rooms->beds`.`last_cleaned` AS `buildingFloors.rooms.beds.last_cleaned`, `buildingFloors->rooms->beds`.`notes` AS `buildingFloors.rooms.beds.notes`, `buildingFloors->rooms->beds`.`reserved_until` AS `buildingFloors.rooms.beds.reserved_until`, `buildingFloors->rooms->beds`.`maintenance_scheduled` AS `buildingFloors.rooms.beds.maintenance_scheduled`, `buildingFloors->rooms->beds`.`created_at` AS `buildingFloors.rooms.beds.createdAt`, `buildingFloors->rooms->beds`.`updated_at` AS `buildingFloors.rooms.beds.updatedAt`, `buildingFloors->rooms->beds->renter`.`id` AS `buildingFloors.rooms.beds.renter.id`, `buildingFloors->rooms->beds->renter`.`name` AS `buildingFloors.rooms.beds.renter.name`, `buildingFloors->rooms->beds->renter`.`email` AS `buildingFloors.rooms.beds.renter.email`, `buildingFloors->rooms->beds->renter`.`phone` AS `buildingFloors.rooms.beds.renter.phone`, `buildingFloors->rooms->beds->renter`.`alternate_phone` AS `buildingFloors.rooms.beds.renter.alternate_phone`, `buildingFloors->rooms->beds->renter`.`nid` AS `buildingFloors.rooms.beds.renter.nid`, `buildingFloors->rooms->beds->renter`.`building_id` AS `buildingFloors.rooms.beds.renter.building_id`, `buildingFloors->rooms->beds->renter`.`floor_id` AS `buildingFloors.rooms.beds.renter.floor_id`, `buildingFloors->rooms->beds->renter`.`room_id` AS `buildingFloors.rooms.beds.renter.room_id`, `buildingFloors->rooms->beds->renter`.`bed_id` AS `buildingFloors.rooms.beds.renter.bed_id`, `buildingFloors->rooms->beds->renter`.`rent_amount` AS `buildingFloors.rooms.beds.renter.rent_amount`, `buildingFloors->rooms->beds->renter`.`security_deposit` AS `buildingFloors.rooms.beds.renter.security_deposit`, `buildingFloors->rooms->beds->renter`.`check_in_date` AS `buildingFloors.rooms.beds.renter.check_in_date`, `buildingFloors->rooms->beds->renter`.`check_out_date` AS `buildingFloors.rooms.beds.renter.check_out_date`, `buildingFloors->rooms->beds->renter`.`lease_start_date` AS `buildingFloors.rooms.beds.renter.lease_start_date`, `buildingFloors->rooms->beds->renter`.`lease_end_date` AS `buildingFloors.rooms.beds.renter.lease_end_date`, `buildingFloors->rooms->beds->renter`.`status` AS `buildingFloors.rooms.beds.renter.status`, `buildingFloors->rooms->beds->renter`.`emergency_contact` AS `buildingFloors.rooms.beds.renter.emergency_contact`, `buildingFloors->rooms->beds->renter`.`emergency_relation` AS `buildingFloors.rooms.beds.renter.emergency_relation`, `buildingFloors->rooms->beds->renter`.`profile_photo` AS `buildingFloors.rooms.beds.renter.profile_photo`, `buildingFloors->rooms->beds->renter`.`occupation` AS `buildingFloors.rooms.beds.renter.occupation`, `buildingFloors->rooms->beds->renter`.`company` AS `buildingFloors.rooms.beds.renter.company`, `buildingFloors->rooms->beds->renter`.`monthly_income` AS `buildingFloors.rooms.beds.renter.monthly_income`, `buildingFloors->rooms->beds->renter`.`previous_address` AS `buildingFloors.rooms.beds.renter.previous_address`, `buildingFloors->rooms->beds->renter`.`references` AS `buildingFloors.rooms.beds.renter.references`, `buildingFloors->rooms->beds->renter`.`notice_period` AS `buildingFloors.rooms.beds.renter.notice_period`, `buildingFloors->rooms->beds->renter`.`preferences` AS `buildingFloors.rooms.beds.renter.preferences`, `buildingFloors->rooms->beds->renter`.`payment_history` AS `buildingFloors.rooms.beds.renter.payment_history`, `buildingFloors->rooms->beds->renter`.`created_at` AS `buildingFloors.rooms.beds.renter.createdAt`, `buildingFloors->rooms->beds->renter`.`updated_at` AS `buildingFloors.rooms.beds.renter.updatedAt` FROM `Building` AS `Building` LEFT OUTER JOIN `Floor` AS `buildingFloors` ON `Building`.`id` = `buildingFloors`.`building_id` LEFT OUTER JOIN `Room` AS `buildingFloors->rooms` ON `buildingFloors`.`id` = `buildingFloors->rooms`.`floor_id` LEFT OUTER JOIN `Bed` AS `buildingFloors->rooms->beds` ON `buildingFloors->rooms`.`id` = `buildingFloors->rooms->beds`.`room_id` LEFT OUTER JOIN `Renter` AS `buildingFloors->rooms->beds->renter` ON `buildingFloors->rooms->beds`.`id` = `buildingFloors->rooms->beds->renter`.`bed_id` ORDER BY `createdAt` DESC; Executing (default): SELECT `Floor`.`id`, `Floor`.`building_id`, `Floor`.`floor_number`, `Floor`.`total_rooms`, `Floor`.`occupied_rooms`, `Floor`.`floor_type`, `Floor`.`amenities`, `Floor`.`maintenance_status`, `Floor`.`last_inspection`, `Floor`.`notes`, `Floor`.`created_at` AS `createdAt`, `Floor`.`updated_at` AS `updatedAt`, `rooms`.`id` AS `rooms.id`, `rooms`.`building_id` AS `rooms.building_id`, `rooms`.`floor_id` AS `rooms.floor_id`, `rooms`.`room_number` AS `rooms.room_number`, `rooms`.`total_beds` AS `rooms.total_beds`, `rooms`.`occupied_beds` AS `rooms.occupied_beds`, `rooms`.`rent_per_bed` AS `rooms.rent_per_bed`, `rooms`.`facilities` AS `rooms.facilities`, `rooms`.`room_type` AS `rooms.room_type`, `rooms`.`area` AS `rooms.area`, `rooms`.`has_balcony` AS `rooms.has_balcony`, `rooms`.`has_attached_bathroom` AS `rooms.has_attached_bathroom`, `rooms`.`furnishing_status` AS `rooms.furnishing_status`, `rooms`.`condition` AS `rooms.condition`, `rooms`.`last_cleaned` AS `rooms.last_cleaned`, `rooms`.`security_deposit` AS `rooms.security_deposit`, `rooms`.`available_from` AS `rooms.available_from`, `rooms`.`created_at` AS `rooms.createdAt`, `rooms`.`updated_at` AS `rooms.updatedAt`, `rooms->beds`.`id` AS `rooms.beds.id`, `rooms->beds`.`building_id` AS `rooms.beds.building_id`, `rooms->beds`.`floor_id` AS `rooms.beds.floor_id`, `rooms->beds`.`room_id` AS `rooms.beds.room_id`, `rooms->beds`.`bed_number` AS `rooms.beds.bed_number`, `rooms->beds`.`is_occupied` AS `rooms.beds.is_occupied`, `rooms->beds`.`monthly_rent` AS `rooms.beds.monthly_rent`, `rooms->beds`.`status` AS `rooms.beds.status`, `rooms->beds`.`bed_type` AS `rooms.beds.bed_type`, `rooms->beds`.`last_cleaned` AS `rooms.beds.last_cleaned`, `rooms->beds`.`notes` AS `rooms.beds.notes`, `rooms->beds`.`reserved_until` AS `rooms.beds.reserved_until`, `rooms->beds`.`maintenance_scheduled` AS `rooms.beds.maintenance_scheduled`, `rooms->beds`.`created_at` AS `rooms.beds.createdAt`, `rooms->beds`.`updated_at` AS `rooms.beds.updatedAt`, `rooms->beds->renter`.`id` AS `rooms.beds.renter.id`, `rooms->beds->renter`.`name` AS `rooms.beds.renter.name`, `rooms->beds->renter`.`email` AS `rooms.beds.renter.email`, `rooms->beds->renter`.`phone` AS `rooms.beds.renter.phone`, `rooms->beds->renter`.`alternate_phone` AS `rooms.beds.renter.alternate_phone`, `rooms->beds->renter`.`nid` AS `rooms.beds.renter.nid`, `rooms->beds->renter`.`building_id` AS `rooms.beds.renter.building_id`, `rooms->beds->renter`.`floor_id` AS `rooms.beds.renter.floor_id`, `rooms->beds->renter`.`room_id` AS `rooms.beds.renter.room_id`, `rooms->beds->renter`.`bed_id` AS `rooms.beds.renter.bed_id`, `rooms->beds->renter`.`rent_amount` AS `rooms.beds.renter.rent_amount`, `rooms->beds->renter`.`security_deposit` AS `rooms.beds.renter.security_deposit`, `rooms->beds->renter`.`check_in_date` AS `rooms.beds.renter.check_in_date`, `rooms->beds->renter`.`check_out_date` AS `rooms.beds.renter.check_out_date`, `rooms->beds->renter`.`lease_start_date` AS `rooms.beds.renter.lease_start_date`, `rooms->beds->renter`.`lease_end_date` AS `rooms.beds.renter.lease_end_date`, `rooms->beds->renter`.`status` AS `rooms.beds.renter.status`, `rooms->beds->renter`.`emergency_contact` AS `rooms.beds.renter.emergency_contact`, `rooms->beds->renter`.`emergency_relation` AS `rooms.beds.renter.emergency_relation`, `rooms->beds->renter`.`profile_photo` AS `rooms.beds.renter.profile_photo`, `rooms->beds->renter`.`occupation` AS `rooms.beds.renter.occupation`, `rooms->beds->renter`.`company` AS `rooms.beds.renter.company`, `rooms->beds->renter`.`monthly_income` AS `rooms.beds.renter.monthly_income`, `rooms->beds->renter`.`previous_address` AS `rooms.beds.renter.previous_address`, `rooms->beds->renter`.`references` AS `rooms.beds.renter.references`, `rooms->beds->renter`.`notice_period` AS `rooms.beds.renter.notice_period`, `rooms->beds->renter`.`preferences` AS `rooms.beds.renter.preferences`, `rooms->beds->renter`.`payment_history` AS `rooms.beds.renter.payment_history`, `rooms->beds->renter`.`created_at` AS `rooms.beds.renter.createdAt`, `rooms->beds->renter`.`updated_at` AS `rooms.beds.renter.updatedAt` FROM `Floor` AS `Floor` LEFT OUTER JOIN `Room` AS `rooms` ON `Floor`.`id` = `rooms`.`floor_id` LEFT OUTER JOIN `Bed` AS `rooms->beds` ON `rooms`.`id` = `rooms->beds`.`room_id` LEFT OUTER JOIN `Renter` AS `rooms->beds->renter` ON `rooms->beds`.`id` = `rooms->beds->renter`.`bed_id`; Executing (default): SELECT `id`, `name`, `email`, `password`, `role`, `permissions`, `department`, `phone`, `avatar`, `is_active`, `last_login`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `User` AS `User` WHERE `User`.`id` = '8cc00eb8-378e-4f89-8141-f87aa35fd51d'; Executing (default): SELECT `id`, `name`, `email`, `password`, `role`, `permissions`, `department`, `phone`, `avatar`, `is_active`, `last_login`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `User` AS `User` WHERE `User`.`id` = '8cc00eb8-378e-4f89-8141-f87aa35fd51d'; Executing (default): SELECT `Bed`.`id`, `Bed`.`building_id`, `Bed`.`floor_id`, `Bed`.`room_id`, `Bed`.`bed_number`, `Bed`.`is_occupied`, `Bed`.`monthly_rent`, `Bed`.`status`, `Bed`.`bed_type`, `Bed`.`last_cleaned`, `Bed`.`notes`, `Bed`.`reserved_until`, `Bed`.`maintenance_scheduled`, `Bed`.`created_at` AS `createdAt`, `Bed`.`updated_at` AS `updatedAt`, `renter`.`id` AS `renter.id`, `renter`.`name` AS `renter.name`, `renter`.`email` AS `renter.email`, `renter`.`phone` AS `renter.phone`, `renter`.`alternate_phone` AS `renter.alternate_phone`, `renter`.`nid` AS `renter.nid`, `renter`.`building_id` AS `renter.building_id`, `renter`.`floor_id` AS `renter.floor_id`, `renter`.`room_id` AS `renter.room_id`, `renter`.`bed_id` AS `renter.bed_id`, `renter`.`rent_amount` AS `renter.rent_amount`, `renter`.`security_deposit` AS `renter.security_deposit`, `renter`.`check_in_date` AS `renter.check_in_date`, `renter`.`check_out_date` AS `renter.check_out_date`, `renter`.`lease_start_date` AS `renter.lease_start_date`, `renter`.`lease_end_date` AS `renter.lease_end_date`, `renter`.`status` AS `renter.status`, `renter`.`emergency_contact` AS `renter.emergency_contact`, `renter`.`emergency_relation` AS `renter.emergency_relation`, `renter`.`profile_photo` AS `renter.profile_photo`, `renter`.`occupation` AS `renter.occupation`, `renter`.`company` AS `renter.company`, `renter`.`monthly_income` AS `renter.monthly_income`, `renter`.`previous_address` AS `renter.previous_address`, `renter`.`references` AS `renter.references`, `renter`.`notice_period` AS `renter.notice_period`, `renter`.`preferences` AS `renter.preferences`, `renter`.`payment_history` AS `renter.payment_history`, `renter`.`created_at` AS `renter.createdAt`, `renter`.`updated_at` AS `renter.updatedAt`, `room`.`id` AS `room.id`, `room`.`building_id` AS `room.building_id`, `room`.`floor_id` AS `room.floor_id`, `room`.`room_number` AS `room.room_number`, `room`.`total_beds` AS `room.total_beds`, `room`.`occupied_beds` AS `room.occupied_beds`, `room`.`rent_per_bed` AS `room.rent_per_bed`, `room`.`facilities` AS `room.facilities`, `room`.`room_type` AS `room.room_type`, `room`.`area` AS `room.area`, `room`.`has_balcony` AS `room.has_balcony`, `room`.`has_attached_bathroom` AS `room.has_attached_bathroom`, `room`.`furnishing_status` AS `room.furnishing_status`, `room`.`condition` AS `room.condition`, `room`.`last_cleaned` AS `room.last_cleaned`, `room`.`security_deposit` AS `room.security_deposit`, `room`.`available_from` AS `room.available_from`, `room`.`created_at` AS `room.createdAt`, `room`.`updated_at` AS `room.updatedAt`, `room->floor`.`id` AS `room.floor.id`, `room->floor`.`building_id` AS `room.floor.building_id`, `room->floor`.`floor_number` AS `room.floor.floor_number`, `room->floor`.`total_rooms` AS `room.floor.total_rooms`, `room->floor`.`occupied_rooms` AS `room.floor.occupied_rooms`, `room->floor`.`floor_type` AS `room.floor.floor_type`, `room->floor`.`amenities` AS `room.floor.amenities`, `room->floor`.`maintenance_status` AS `room.floor.maintenance_status`, `room->floor`.`last_inspection` AS `room.floor.last_inspection`, `room->floor`.`notes` AS `room.floor.notes`, `room->floor`.`created_at` AS `room.floor.createdAt`, `room->floor`.`updated_at` AS `room.floor.updatedAt`, `room->floor->building`.`id` AS `room.floor.building.id`, `room->floor->building`.`name` AS `room.floor.building.name`, `room->floor->building`.`address` AS `room.floor.building.address`, `room->floor->building`.`floors` AS `room.floor.building.floors`, `room->floor->building`.`total_rooms` AS `room.floor.building.total_rooms`, `room->floor->building`.`total_beds` AS `room.floor.building.total_beds`, `room->floor->building`.`parking_spaces` AS `room.floor.building.parking_spaces`, `room->floor->building`.`occupied_beds` AS `room.floor.building.occupied_beds`, `room->floor->building`.`manager` AS `room.floor.building.manager`, `room->floor->building`.`amenities` AS `room.floor.building.amenities`, `room->floor->building`.`monthly_revenue` AS `room.floor.building.monthly_revenue`, `room->floor->building`.`building_type` AS `room.floor.building.building_type`, `room->floor->building`.`year_built` AS `room.floor.building.year_built`, `room->floor->building`.`total_area` AS `room.floor.building.total_area`, `room->floor->building`.`elevators` AS `room.floor.building.elevators`, `room->floor->building`.`security_features` AS `room.floor.building.security_features`, `room->floor->building`.`contact_person` AS `room.floor.building.contact_person`, `room->floor->building`.`contact_phone` AS `room.floor.building.contact_phone`, `room->floor->building`.`created_at` AS `room.floor.building.createdAt`, `room->floor->building`.`updated_at` AS `room.floor.building.updatedAt` FROM `Bed` AS `Bed` LEFT OUTER JOIN `Renter` AS `renter` ON `Bed`.`id` = `renter`.`bed_id` LEFT OUTER JOIN `Room` AS `room` ON `Bed`.`room_id` = `room`.`id` LEFT OUTER JOIN `Floor` AS `room->floor` ON `room`.`floor_id` = `room->floor`.`id` LEFT OUTER JOIN `Building` AS `room->floor->building` ON `room->floor`.`building_id` = `room->floor->building`.`id`; Executing (default): SELECT `Room`.`id`, `Room`.`building_id`, `Room`.`floor_id`, `Room`.`room_number`, `Room`.`total_beds`, `Room`.`occupied_beds`, `Room`.`rent_per_bed`, `Room`.`facilities`, `Room`.`room_type`, `Room`.`area`, `Room`.`has_balcony`, `Room`.`has_attached_bathroom`, `Room`.`furnishing_status`, `Room`.`condition`, `Room`.`last_cleaned`, `Room`.`security_deposit`, `Room`.`available_from`, `Room`.`created_at` AS `createdAt`, `Room`.`updated_at` AS `updatedAt`, `building`.`id` AS `building.id`, `building`.`name` AS `building.name`, `building`.`address` AS `building.address`, `building`.`floors` AS `building.floors`, `building`.`total_rooms` AS `building.total_rooms`, `building`.`total_beds` AS `building.total_beds`, `building`.`parking_spaces` AS `building.parking_spaces`, `building`.`occupied_beds` AS `building.occupied_beds`, `building`.`manager` AS `building.manager`, `building`.`amenities` AS `building.amenities`, `building`.`monthly_revenue` AS `building.monthly_revenue`, `building`.`building_type` AS `building.building_type`, `building`.`year_built` AS `building.year_built`, `building`.`total_area` AS `building.total_area`, `building`.`elevators` AS `building.elevators`, `building`.`security_features` AS `building.security_features`, `building`.`contact_person` AS `building.contact_person`, `building`.`contact_phone` AS `building.contact_phone`, `building`.`created_at` AS `building.createdAt`, `building`.`updated_at` AS `building.updatedAt`, `floor`.`id` AS `floor.id`, `floor`.`building_id` AS `floor.building_id`, `floor`.`floor_number` AS `floor.floor_number`, `floor`.`total_rooms` AS `floor.total_rooms`, `floor`.`occupied_rooms` AS `floor.occupied_rooms`, `floor`.`floor_type` AS `floor.floor_type`, `floor`.`amenities` AS `floor.amenities`, `floor`.`maintenance_status` AS `floor.maintenance_status`, `floor`.`last_inspection` AS `floor.last_inspection`, `floor`.`notes` AS `floor.notes`, `floor`.`created_at` AS `floor.createdAt`, `floor`.`updated_at` AS `floor.updatedAt`, `beds`.`id` AS `beds.id`, `beds`.`building_id` AS `beds.building_id`, `beds`.`floor_id` AS `beds.floor_id`, `beds`.`room_id` AS `beds.room_id`, `beds`.`bed_number` AS `beds.bed_number`, `beds`.`is_occupied` AS `beds.is_occupied`, `beds`.`monthly_rent` AS `beds.monthly_rent`, `beds`.`status` AS `beds.status`, `beds`.`bed_type` AS `beds.bed_type`, `beds`.`last_cleaned` AS `beds.last_cleaned`, `beds`.`notes` AS `beds.notes`, `beds`.`reserved_until` AS `beds.reserved_until`, `beds`.`maintenance_scheduled` AS `beds.maintenance_scheduled`, `beds`.`created_at` AS `beds.createdAt`, `beds`.`updated_at` AS `beds.updatedAt`, `beds->renter`.`id` AS `beds.renter.id`, `beds->renter`.`name` AS `beds.renter.name`, `beds->renter`.`email` AS `beds.renter.email`, `beds->renter`.`phone` AS `beds.renter.phone`, `beds->renter`.`alternate_phone` AS `beds.renter.alternate_phone`, `beds->renter`.`nid` AS `beds.renter.nid`, `beds->renter`.`building_id` AS `beds.renter.building_id`, `beds->renter`.`floor_id` AS `beds.renter.floor_id`, `beds->renter`.`room_id` AS `beds.renter.room_id`, `beds->renter`.`bed_id` AS `beds.renter.bed_id`, `beds->renter`.`rent_amount` AS `beds.renter.rent_amount`, `beds->renter`.`security_deposit` AS `beds.renter.security_deposit`, `beds->renter`.`check_in_date` AS `beds.renter.check_in_date`, `beds->renter`.`check_out_date` AS `beds.renter.check_out_date`, `beds->renter`.`lease_start_date` AS `beds.renter.lease_start_date`, `beds->renter`.`lease_end_date` AS `beds.renter.lease_end_date`, `beds->renter`.`status` AS `beds.renter.status`, `beds->renter`.`emergency_contact` AS `beds.renter.emergency_contact`, `beds->renter`.`emergency_relation` AS `beds.renter.emergency_relation`, `beds->renter`.`profile_photo` AS `beds.renter.profile_photo`, `beds->renter`.`occupation` AS `beds.renter.occupation`, `beds->renter`.`company` AS `beds.renter.company`, `beds->renter`.`monthly_income` AS `beds.renter.monthly_income`, `beds->renter`.`previous_address` AS `beds.renter.previous_address`, `beds->renter`.`references` AS `beds.renter.references`, `beds->renter`.`notice_period` AS `beds.renter.notice_period`, `beds->renter`.`preferences` AS `beds.renter.preferences`, `beds->renter`.`payment_history` AS `beds.renter.payment_history`, `beds->renter`.`created_at` AS `beds.renter.createdAt`, `beds->renter`.`updated_at` AS `beds.renter.updatedAt` FROM `Room` AS `Room` LEFT OUTER JOIN `Building` AS `building` ON `Room`.`building_id` = `building`.`id` LEFT OUTER JOIN `Floor` AS `floor` ON `Room`.`floor_id` = `floor`.`id` LEFT OUTER JOIN `Bed` AS `beds` ON `Room`.`id` = `beds`.`room_id` LEFT OUTER JOIN `Renter` AS `beds->renter` ON `beds`.`id` = `beds->renter`.`bed_id`; Executing (default): SELECT `Renter`.`id`, `Renter`.`name`, `Renter`.`email`, `Renter`.`phone`, `Renter`.`alternate_phone`, `Renter`.`nid`, `Renter`.`building_id`, `Renter`.`floor_id`, `Renter`.`room_id`, `Renter`.`bed_id`, `Renter`.`rent_amount`, `Renter`.`security_deposit`, `Renter`.`check_in_date`, `Renter`.`check_out_date`, `Renter`.`lease_start_date`, `Renter`.`lease_end_date`, `Renter`.`status`, `Renter`.`emergency_contact`, `Renter`.`emergency_relation`, `Renter`.`profile_photo`, `Renter`.`occupation`, `Renter`.`company`, `Renter`.`monthly_income`, `Renter`.`previous_address`, `Renter`.`references`, `Renter`.`notice_period`, `Renter`.`preferences`, `Renter`.`payment_history`, `Renter`.`created_at` AS `createdAt`, `Renter`.`updated_at` AS `updatedAt`, `room`.`id` AS `room.id`, `room`.`building_id` AS `room.building_id`, `room`.`floor_id` AS `room.floor_id`, `room`.`room_number` AS `room.room_number`, `room`.`total_beds` AS `room.total_beds`, `room`.`occupied_beds` AS `room.occupied_beds`, `room`.`rent_per_bed` AS `room.rent_per_bed`, `room`.`facilities` AS `room.facilities`, `room`.`room_type` AS `room.room_type`, `room`.`area` AS `room.area`, `room`.`has_balcony` AS `room.has_balcony`, `room`.`has_attached_bathroom` AS `room.has_attached_bathroom`, `room`.`furnishing_status` AS `room.furnishing_status`, `room`.`condition` AS `room.condition`, `room`.`last_cleaned` AS `room.last_cleaned`, `room`.`security_deposit` AS `room.security_deposit`, `room`.`available_from` AS `room.available_from`, `room`.`created_at` AS `room.createdAt`, `room`.`updated_at` AS `room.updatedAt`, `documents`.`id` AS `documents.id`, `documents`.`renter_id` AS `documents.renter_id`, `documents`.`type` AS `documents.type`, `documents`.`file_name` AS `documents.file_name`, `documents`.`file_url` AS `documents.file_url`, `documents`.`file_size` AS `documents.file_size`, `documents`.`mime_type` AS `documents.mime_type`, `documents`.`description` AS `documents.description`, `documents`.`created_at` AS `documents.createdAt`, `documents`.`updated_at` AS `documents.updatedAt` FROM `Renter` AS `Renter` LEFT OUTER JOIN `Room` AS `room` ON `Renter`.`room_id` = `room`.`id` LEFT OUTER JOIN `RenterDocument` AS `documents` ON `Renter`.`id` = `documents`.`renter_id`; Executing (default): SELECT `id`, `name`, `email`, `password`, `role`, `permissions`, `department`, `phone`, `avatar`, `is_active`, `last_login`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `User` AS `User` WHERE `User`.`id` = '8cc00eb8-378e-4f89-8141-f87aa35fd51d'; Executing (default): SELECT `id`, `renter_id`, `amount`, `due_date`, `paid_date`, `status`, `month`, `year`, `payment_method`, `transaction_id`, `late_fee`, `discount`, `notes`, `receipt_number`, `collected_by`, `renter_name` AS `renterName`, `room_number`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `RentPayment` AS `RentPayment`; Executing (default): SELECT `id`, `name`, `email`, `password`, `role`, `permissions`, `department`, `phone`, `avatar`, `is_active`, `last_login`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `User` AS `User` WHERE `User`.`id` = '8cc00eb8-378e-4f89-8141-f87aa35fd51d'; Executing (default): SELECT `id`, `building_id`, `floor_id`, `room_id`, `bed_id`, `type`, `category`, `description`, `priority`, `status`, `assigned_to`, `cost`, `estimated_cost`, `scheduled_date`, `completed_date`, `notes`, `images`, `warranty`, `next_maintenance_date`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `Maintenance` AS `Maintenance`; Executing (default): SELECT `id`, `name`, `email`, `password`, `role`, `permissions`, `department`, `phone`, `avatar`, `is_active`, `last_login`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `User` AS `User` WHERE `User`.`id` = '8cc00eb8-378e-4f89-8141-f87aa35fd51d'; Executing (default): SELECT `id`, `building_id`, `floor_id`, `category`, `subcategory`, `description`, `amount`, `date`, `vendor`, `receipt`, `approved_by`, `payment_method`, `is_recurring`, `recurring_frequency`, `budget_category`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `Expense` AS `Expense`; Executing (default): SELECT `id`, `title`, `content`, `type`, `priority`, `target_audience`, `target_ids`, `building_id`, `floor_id`, `created_by`, `expiry_date`, `is_active`, `read_by`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `Notice` AS `Notice`; Executing (default): SELECT `id`, `visitor_name`, `visitor_phone`, `visiting_renter_id`, `check_in_time`, `check_out_time`, `purpose`, `approved_by`, `id_verified`, `vehicle_number`, `notes`, `visiting_renter_name`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `Visitor` AS `Visitor`; Executing (default): SELECT `id`, `name`, `value`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `Settings` AS `Settings`; Executing (default): SELECT `id`, `name`, `email`, `password`, `role`, `permissions`, `department`, `phone`, `avatar`, `is_active`, `last_login`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `User` AS `User` WHERE `User`.`id` = '8cc00eb8-378e-4f89-8141-f87aa35fd51d'; Executing (default): SELECT `id`, `name`, `email`, `role`, `permissions`, `department`, `phone`, `avatar`, `is_active`, `last_login`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `User` AS `User` WHERE `User`.`id` = '8cc00eb8-378e-4f89-8141-f87aa35fd51d'; Executing (default): SELECT `id`, `name`, `email`, `password`, `role`, `permissions`, `department`, `phone`, `avatar`, `is_active`, `last_login`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `User` AS `User` WHERE `User`.`id` = '8cc00eb8-378e-4f89-8141-f87aa35fd51d'; Executing (default): SELECT `Building`.`id`, `Building`.`name`, `Building`.`address`, `Building`.`floors`, `Building`.`total_rooms`, `Building`.`total_beds`, `Building`.`parking_spaces`, `Building`.`occupied_beds`, `Building`.`manager`, `Building`.`amenities`, `Building`.`monthly_revenue`, `Building`.`building_type`, `Building`.`year_built`, `Building`.`total_area`, `Building`.`elevators`, `Building`.`security_features`, `Building`.`contact_person`, `Building`.`contact_phone`, `Building`.`created_at` AS `createdAt`, `Building`.`updated_at` AS `updatedAt`, `buildingFloors`.`id` AS `buildingFloors.id`, `buildingFloors`.`building_id` AS `buildingFloors.building_id`, `buildingFloors`.`floor_number` AS `buildingFloors.floor_number`, `buildingFloors`.`total_rooms` AS `buildingFloors.total_rooms`, `buildingFloors`.`occupied_rooms` AS `buildingFloors.occupied_rooms`, `buildingFloors`.`floor_type` AS `buildingFloors.floor_type`, `buildingFloors`.`amenities` AS `buildingFloors.amenities`, `buildingFloors`.`maintenance_status` AS `buildingFloors.maintenance_status`, `buildingFloors`.`last_inspection` AS `buildingFloors.last_inspection`, `buildingFloors`.`notes` AS `buildingFloors.notes`, `buildingFloors`.`created_at` AS `buildingFloors.createdAt`, `buildingFloors`.`updated_at` AS `buildingFloors.updatedAt`, `buildingFloors->rooms`.`id` AS `buildingFloors.rooms.id`, `buildingFloors->rooms`.`building_id` AS `buildingFloors.rooms.building_id`, `buildingFloors->rooms`.`floor_id` AS `buildingFloors.rooms.floor_id`, `buildingFloors->rooms`.`room_number` AS `buildingFloors.rooms.room_number`, `buildingFloors->rooms`.`total_beds` AS `buildingFloors.rooms.total_beds`, `buildingFloors->rooms`.`occupied_beds` AS `buildingFloors.rooms.occupied_beds`, `buildingFloors->rooms`.`rent_per_bed` AS `buildingFloors.rooms.rent_per_bed`, `buildingFloors->rooms`.`facilities` AS `buildingFloors.rooms.facilities`, `buildingFloors->rooms`.`room_type` AS `buildingFloors.rooms.room_type`, `buildingFloors->rooms`.`area` AS `buildingFloors.rooms.area`, `buildingFloors->rooms`.`has_balcony` AS `buildingFloors.rooms.has_balcony`, `buildingFloors->rooms`.`has_attached_bathroom` AS `buildingFloors.rooms.has_attached_bathroom`, `buildingFloors->rooms`.`furnishing_status` AS `buildingFloors.rooms.furnishing_status`, `buildingFloors->rooms`.`condition` AS `buildingFloors.rooms.condition`, `buildingFloors->rooms`.`last_cleaned` AS `buildingFloors.rooms.last_cleaned`, `buildingFloors->rooms`.`security_deposit` AS `buildingFloors.rooms.security_deposit`, `buildingFloors->rooms`.`available_from` AS `buildingFloors.rooms.available_from`, `buildingFloors->rooms`.`created_at` AS `buildingFloors.rooms.createdAt`, `buildingFloors->rooms`.`updated_at` AS `buildingFloors.rooms.updatedAt`, `buildingFloors->rooms->beds`.`id` AS `buildingFloors.rooms.beds.id`, `buildingFloors->rooms->beds`.`building_id` AS `buildingFloors.rooms.beds.building_id`, `buildingFloors->rooms->beds`.`floor_id` AS `buildingFloors.rooms.beds.floor_id`, `buildingFloors->rooms->beds`.`room_id` AS `buildingFloors.rooms.beds.room_id`, `buildingFloors->rooms->beds`.`bed_number` AS `buildingFloors.rooms.beds.bed_number`, `buildingFloors->rooms->beds`.`is_occupied` AS `buildingFloors.rooms.beds.is_occupied`, `buildingFloors->rooms->beds`.`monthly_rent` AS `buildingFloors.rooms.beds.monthly_rent`, `buildingFloors->rooms->beds`.`status` AS `buildingFloors.rooms.beds.status`, `buildingFloors->rooms->beds`.`bed_type` AS `buildingFloors.rooms.beds.bed_type`, `buildingFloors->rooms->beds`.`last_cleaned` AS `buildingFloors.rooms.beds.last_cleaned`, `buildingFloors->rooms->beds`.`notes` AS `buildingFloors.rooms.beds.notes`, `buildingFloors->rooms->beds`.`reserved_until` AS `buildingFloors.rooms.beds.reserved_until`, `buildingFloors->rooms->beds`.`maintenance_scheduled` AS `buildingFloors.rooms.beds.maintenance_scheduled`, `buildingFloors->rooms->beds`.`created_at` AS `buildingFloors.rooms.beds.createdAt`, `buildingFloors->rooms->beds`.`updated_at` AS `buildingFloors.rooms.beds.updatedAt`, `buildingFloors->rooms->beds->renter`.`id` AS `buildingFloors.rooms.beds.renter.id`, `buildingFloors->rooms->beds->renter`.`name` AS `buildingFloors.rooms.beds.renter.name`, `buildingFloors->rooms->beds->renter`.`email` AS `buildingFloors.rooms.beds.renter.email`, `buildingFloors->rooms->beds->renter`.`phone` AS `buildingFloors.rooms.beds.renter.phone`, `buildingFloors->rooms->beds->renter`.`alternate_phone` AS `buildingFloors.rooms.beds.renter.alternate_phone`, `buildingFloors->rooms->beds->renter`.`nid` AS `buildingFloors.rooms.beds.renter.nid`, `buildingFloors->rooms->beds->renter`.`building_id` AS `buildingFloors.rooms.beds.renter.building_id`, `buildingFloors->rooms->beds->renter`.`floor_id` AS `buildingFloors.rooms.beds.renter.floor_id`, `buildingFloors->rooms->beds->renter`.`room_id` AS `buildingFloors.rooms.beds.renter.room_id`, `buildingFloors->rooms->beds->renter`.`bed_id` AS `buildingFloors.rooms.beds.renter.bed_id`, `buildingFloors->rooms->beds->renter`.`rent_amount` AS `buildingFloors.rooms.beds.renter.rent_amount`, `buildingFloors->rooms->beds->renter`.`security_deposit` AS `buildingFloors.rooms.beds.renter.security_deposit`, `buildingFloors->rooms->beds->renter`.`check_in_date` AS `buildingFloors.rooms.beds.renter.check_in_date`, `buildingFloors->rooms->beds->renter`.`check_out_date` AS `buildingFloors.rooms.beds.renter.check_out_date`, `buildingFloors->rooms->beds->renter`.`lease_start_date` AS `buildingFloors.rooms.beds.renter.lease_start_date`, `buildingFloors->rooms->beds->renter`.`lease_end_date` AS `buildingFloors.rooms.beds.renter.lease_end_date`, `buildingFloors->rooms->beds->renter`.`status` AS `buildingFloors.rooms.beds.renter.status`, `buildingFloors->rooms->beds->renter`.`emergency_contact` AS `buildingFloors.rooms.beds.renter.emergency_contact`, `buildingFloors->rooms->beds->renter`.`emergency_relation` AS `buildingFloors.rooms.beds.renter.emergency_relation`, `buildingFloors->rooms->beds->renter`.`profile_photo` AS `buildingFloors.rooms.beds.renter.profile_photo`, `buildingFloors->rooms->beds->renter`.`occupation` AS `buildingFloors.rooms.beds.renter.occupation`, `buildingFloors->rooms->beds->renter`.`company` AS `buildingFloors.rooms.beds.renter.company`, `buildingFloors->rooms->beds->renter`.`monthly_income` AS `buildingFloors.rooms.beds.renter.monthly_income`, `buildingFloors->rooms->beds->renter`.`previous_address` AS `buildingFloors.rooms.beds.renter.previous_address`, `buildingFloors->rooms->beds->renter`.`references` AS `buildingFloors.rooms.beds.renter.references`, `buildingFloors->rooms->beds->renter`.`notice_period` AS `buildingFloors.rooms.beds.renter.notice_period`, `buildingFloors->rooms->beds->renter`.`preferences` AS `buildingFloors.rooms.beds.renter.preferences`, `buildingFloors->rooms->beds->renter`.`payment_history` AS `buildingFloors.rooms.beds.renter.payment_history`, `buildingFloors->rooms->beds->renter`.`created_at` AS `buildingFloors.rooms.beds.renter.createdAt`, `buildingFloors->rooms->beds->renter`.`updated_at` AS `buildingFloors.rooms.beds.renter.updatedAt` FROM `Building` AS `Building` LEFT OUTER JOIN `Floor` AS `buildingFloors` ON `Building`.`id` = `buildingFloors`.`building_id` LEFT OUTER JOIN `Room` AS `buildingFloors->rooms` ON `buildingFloors`.`id` = `buildingFloors->rooms`.`floor_id` LEFT OUTER JOIN `Bed` AS `buildingFloors->rooms->beds` ON `buildingFloors->rooms`.`id` = `buildingFloors->rooms->beds`.`room_id` LEFT OUTER JOIN `Renter` AS `buildingFloors->rooms->beds->renter` ON `buildingFloors->rooms->beds`.`id` = `buildingFloors->rooms->beds->renter`.`bed_id` ORDER BY `createdAt` DESC; Executing (default): SELECT `id`, `name`, `email`, `password`, `role`, `permissions`, `department`, `phone`, `avatar`, `is_active`, `last_login`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `User` AS `User` WHERE `User`.`id` = '8cc00eb8-378e-4f89-8141-f87aa35fd51d'; Executing (default): SELECT `id`, `name`, `email`, `password`, `role`, `permissions`, `department`, `phone`, `avatar`, `is_active`, `last_login`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `User` AS `User` WHERE `User`.`id` = '8cc00eb8-378e-4f89-8141-f87aa35fd51d'; Executing (default): SELECT `Floor`.`id`, `Floor`.`building_id`, `Floor`.`floor_number`, `Floor`.`total_rooms`, `Floor`.`occupied_rooms`, `Floor`.`floor_type`, `Floor`.`amenities`, `Floor`.`maintenance_status`, `Floor`.`last_inspection`, `Floor`.`notes`, `Floor`.`created_at` AS `createdAt`, `Floor`.`updated_at` AS `updatedAt`, `rooms`.`id` AS `rooms.id`, `rooms`.`building_id` AS `rooms.building_id`, `rooms`.`floor_id` AS `rooms.floor_id`, `rooms`.`room_number` AS `rooms.room_number`, `rooms`.`total_beds` AS `rooms.total_beds`, `rooms`.`occupied_beds` AS `rooms.occupied_beds`, `rooms`.`rent_per_bed` AS `rooms.rent_per_bed`, `rooms`.`facilities` AS `rooms.facilities`, `rooms`.`room_type` AS `rooms.room_type`, `rooms`.`area` AS `rooms.area`, `rooms`.`has_balcony` AS `rooms.has_balcony`, `rooms`.`has_attached_bathroom` AS `rooms.has_attached_bathroom`, `rooms`.`furnishing_status` AS `rooms.furnishing_status`, `rooms`.`condition` AS `rooms.condition`, `rooms`.`last_cleaned` AS `rooms.last_cleaned`, `rooms`.`security_deposit` AS `rooms.security_deposit`, `rooms`.`available_from` AS `rooms.available_from`, `rooms`.`created_at` AS `rooms.createdAt`, `rooms`.`updated_at` AS `rooms.updatedAt`, `rooms->beds`.`id` AS `rooms.beds.id`, `rooms->beds`.`building_id` AS `rooms.beds.building_id`, `rooms->beds`.`floor_id` AS `rooms.beds.floor_id`, `rooms->beds`.`room_id` AS `rooms.beds.room_id`, `rooms->beds`.`bed_number` AS `rooms.beds.bed_number`, `rooms->beds`.`is_occupied` AS `rooms.beds.is_occupied`, `rooms->beds`.`monthly_rent` AS `rooms.beds.monthly_rent`, `rooms->beds`.`status` AS `rooms.beds.status`, `rooms->beds`.`bed_type` AS `rooms.beds.bed_type`, `rooms->beds`.`last_cleaned` AS `rooms.beds.last_cleaned`, `rooms->beds`.`notes` AS `rooms.beds.notes`, `rooms->beds`.`reserved_until` AS `rooms.beds.reserved_until`, `rooms->beds`.`maintenance_scheduled` AS `rooms.beds.maintenance_scheduled`, `rooms->beds`.`created_at` AS `rooms.beds.createdAt`, `rooms->beds`.`updated_at` AS `rooms.beds.updatedAt`, `rooms->beds->renter`.`id` AS `rooms.beds.renter.id`, `rooms->beds->renter`.`name` AS `rooms.beds.renter.name`, `rooms->beds->renter`.`email` AS `rooms.beds.renter.email`, `rooms->beds->renter`.`phone` AS `rooms.beds.renter.phone`, `rooms->beds->renter`.`alternate_phone` AS `rooms.beds.renter.alternate_phone`, `rooms->beds->renter`.`nid` AS `rooms.beds.renter.nid`, `rooms->beds->renter`.`building_id` AS `rooms.beds.renter.building_id`, `rooms->beds->renter`.`floor_id` AS `rooms.beds.renter.floor_id`, `rooms->beds->renter`.`room_id` AS `rooms.beds.renter.room_id`, `rooms->beds->renter`.`bed_id` AS `rooms.beds.renter.bed_id`, `rooms->beds->renter`.`rent_amount` AS `rooms.beds.renter.rent_amount`, `rooms->beds->renter`.`security_deposit` AS `rooms.beds.renter.security_deposit`, `rooms->beds->renter`.`check_in_date` AS `rooms.beds.renter.check_in_date`, `rooms->beds->renter`.`check_out_date` AS `rooms.beds.renter.check_out_date`, `rooms->beds->renter`.`lease_start_date` AS `rooms.beds.renter.lease_start_date`, `rooms->beds->renter`.`lease_end_date` AS `rooms.beds.renter.lease_end_date`, `rooms->beds->renter`.`status` AS `rooms.beds.renter.status`, `rooms->beds->renter`.`emergency_contact` AS `rooms.beds.renter.emergency_contact`, `rooms->beds->renter`.`emergency_relation` AS `rooms.beds.renter.emergency_relation`, `rooms->beds->renter`.`profile_photo` AS `rooms.beds.renter.profile_photo`, `rooms->beds->renter`.`occupation` AS `rooms.beds.renter.occupation`, `rooms->beds->renter`.`company` AS `rooms.beds.renter.company`, `rooms->beds->renter`.`monthly_income` AS `rooms.beds.renter.monthly_income`, `rooms->beds->renter`.`previous_address` AS `rooms.beds.renter.previous_address`, `rooms->beds->renter`.`references` AS `rooms.beds.renter.references`, `rooms->beds->renter`.`notice_period` AS `rooms.beds.renter.notice_period`, `rooms->beds->renter`.`preferences` AS `rooms.beds.renter.preferences`, `rooms->beds->renter`.`payment_history` AS `rooms.beds.renter.payment_history`, `rooms->beds->renter`.`created_at` AS `rooms.beds.renter.createdAt`, `rooms->beds->renter`.`updated_at` AS `rooms.beds.renter.updatedAt` FROM `Floor` AS `Floor` LEFT OUTER JOIN `Room` AS `rooms` ON `Floor`.`id` = `rooms`.`floor_id` LEFT OUTER JOIN `Bed` AS `rooms->beds` ON `rooms`.`id` = `rooms->beds`.`room_id` LEFT OUTER JOIN `Renter` AS `rooms->beds->renter` ON `rooms->beds`.`id` = `rooms->beds->renter`.`bed_id`; Executing (default): SELECT `id`, `name`, `email`, `password`, `role`, `permissions`, `department`, `phone`, `avatar`, `is_active`, `last_login`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `User` AS `User` WHERE `User`.`id` = '8cc00eb8-378e-4f89-8141-f87aa35fd51d'; Executing (default): SELECT `Bed`.`id`, `Bed`.`building_id`, `Bed`.`floor_id`, `Bed`.`room_id`, `Bed`.`bed_number`, `Bed`.`is_occupied`, `Bed`.`monthly_rent`, `Bed`.`status`, `Bed`.`bed_type`, `Bed`.`last_cleaned`, `Bed`.`notes`, `Bed`.`reserved_until`, `Bed`.`maintenance_scheduled`, `Bed`.`created_at` AS `createdAt`, `Bed`.`updated_at` AS `updatedAt`, `renter`.`id` AS `renter.id`, `renter`.`name` AS `renter.name`, `renter`.`email` AS `renter.email`, `renter`.`phone` AS `renter.phone`, `renter`.`alternate_phone` AS `renter.alternate_phone`, `renter`.`nid` AS `renter.nid`, `renter`.`building_id` AS `renter.building_id`, `renter`.`floor_id` AS `renter.floor_id`, `renter`.`room_id` AS `renter.room_id`, `renter`.`bed_id` AS `renter.bed_id`, `renter`.`rent_amount` AS `renter.rent_amount`, `renter`.`security_deposit` AS `renter.security_deposit`, `renter`.`check_in_date` AS `renter.check_in_date`, `renter`.`check_out_date` AS `renter.check_out_date`, `renter`.`lease_start_date` AS `renter.lease_start_date`, `renter`.`lease_end_date` AS `renter.lease_end_date`, `renter`.`status` AS `renter.status`, `renter`.`emergency_contact` AS `renter.emergency_contact`, `renter`.`emergency_relation` AS `renter.emergency_relation`, `renter`.`profile_photo` AS `renter.profile_photo`, `renter`.`occupation` AS `renter.occupation`, `renter`.`company` AS `renter.company`, `renter`.`monthly_income` AS `renter.monthly_income`, `renter`.`previous_address` AS `renter.previous_address`, `renter`.`references` AS `renter.references`, `renter`.`notice_period` AS `renter.notice_period`, `renter`.`preferences` AS `renter.preferences`, `renter`.`payment_history` AS `renter.payment_history`, `renter`.`created_at` AS `renter.createdAt`, `renter`.`updated_at` AS `renter.updatedAt`, `room`.`id` AS `room.id`, `room`.`building_id` AS `room.building_id`, `room`.`floor_id` AS `room.floor_id`, `room`.`room_number` AS `room.room_number`, `room`.`total_beds` AS `room.total_beds`, `room`.`occupied_beds` AS `room.occupied_beds`, `room`.`rent_per_bed` AS `room.rent_per_bed`, `room`.`facilities` AS `room.facilities`, `room`.`room_type` AS `room.room_type`, `room`.`area` AS `room.area`, `room`.`has_balcony` AS `room.has_balcony`, `room`.`has_attached_bathroom` AS `room.has_attached_bathroom`, `room`.`furnishing_status` AS `room.furnishing_status`, `room`.`condition` AS `room.condition`, `room`.`last_cleaned` AS `room.last_cleaned`, `room`.`security_deposit` AS `room.security_deposit`, `room`.`available_from` AS `room.available_from`, `room`.`created_at` AS `room.createdAt`, `room`.`updated_at` AS `room.updatedAt`, `room->floor`.`id` AS `room.floor.id`, `room->floor`.`building_id` AS `room.floor.building_id`, `room->floor`.`floor_number` AS `room.floor.floor_number`, `room->floor`.`total_rooms` AS `room.floor.total_rooms`, `room->floor`.`occupied_rooms` AS `room.floor.occupied_rooms`, `room->floor`.`floor_type` AS `room.floor.floor_type`, `room->floor`.`amenities` AS `room.floor.amenities`, `room->floor`.`maintenance_status` AS `room.floor.maintenance_status`, `room->floor`.`last_inspection` AS `room.floor.last_inspection`, `room->floor`.`notes` AS `room.floor.notes`, `room->floor`.`created_at` AS `room.floor.createdAt`, `room->floor`.`updated_at` AS `room.floor.updatedAt`, `room->floor->building`.`id` AS `room.floor.building.id`, `room->floor->building`.`name` AS `room.floor.building.name`, `room->floor->building`.`address` AS `room.floor.building.address`, `room->floor->building`.`floors` AS `room.floor.building.floors`, `room->floor->building`.`total_rooms` AS `room.floor.building.total_rooms`, `room->floor->building`.`total_beds` AS `room.floor.building.total_beds`, `room->floor->building`.`parking_spaces` AS `room.floor.building.parking_spaces`, `room->floor->building`.`occupied_beds` AS `room.floor.building.occupied_beds`, `room->floor->building`.`manager` AS `room.floor.building.manager`, `room->floor->building`.`amenities` AS `room.floor.building.amenities`, `room->floor->building`.`monthly_revenue` AS `room.floor.building.monthly_revenue`, `room->floor->building`.`building_type` AS `room.floor.building.building_type`, `room->floor->building`.`year_built` AS `room.floor.building.year_built`, `room->floor->building`.`total_area` AS `room.floor.building.total_area`, `room->floor->building`.`elevators` AS `room.floor.building.elevators`, `room->floor->building`.`security_features` AS `room.floor.building.security_features`, `room->floor->building`.`contact_person` AS `room.floor.building.contact_person`, `room->floor->building`.`contact_phone` AS `room.floor.building.contact_phone`, `room->floor->building`.`created_at` AS `room.floor.building.createdAt`, `room->floor->building`.`updated_at` AS `room.floor.building.updatedAt` FROM `Bed` AS `Bed` LEFT OUTER JOIN `Renter` AS `renter` ON `Bed`.`id` = `renter`.`bed_id` LEFT OUTER JOIN `Room` AS `room` ON `Bed`.`room_id` = `room`.`id` LEFT OUTER JOIN `Floor` AS `room->floor` ON `room`.`floor_id` = `room->floor`.`id` LEFT OUTER JOIN `Building` AS `room->floor->building` ON `room->floor`.`building_id` = `room->floor->building`.`id`; Executing (default): SELECT `Room`.`id`, `Room`.`building_id`, `Room`.`floor_id`, `Room`.`room_number`, `Room`.`total_beds`, `Room`.`occupied_beds`, `Room`.`rent_per_bed`, `Room`.`facilities`, `Room`.`room_type`, `Room`.`area`, `Room`.`has_balcony`, `Room`.`has_attached_bathroom`, `Room`.`furnishing_status`, `Room`.`condition`, `Room`.`last_cleaned`, `Room`.`security_deposit`, `Room`.`available_from`, `Room`.`created_at` AS `createdAt`, `Room`.`updated_at` AS `updatedAt`, `building`.`id` AS `building.id`, `building`.`name` AS `building.name`, `building`.`address` AS `building.address`, `building`.`floors` AS `building.floors`, `building`.`total_rooms` AS `building.total_rooms`, `building`.`total_beds` AS `building.total_beds`, `building`.`parking_spaces` AS `building.parking_spaces`, `building`.`occupied_beds` AS `building.occupied_beds`, `building`.`manager` AS `building.manager`, `building`.`amenities` AS `building.amenities`, `building`.`monthly_revenue` AS `building.monthly_revenue`, `building`.`building_type` AS `building.building_type`, `building`.`year_built` AS `building.year_built`, `building`.`total_area` AS `building.total_area`, `building`.`elevators` AS `building.elevators`, `building`.`security_features` AS `building.security_features`, `building`.`contact_person` AS `building.contact_person`, `building`.`contact_phone` AS `building.contact_phone`, `building`.`created_at` AS `building.createdAt`, `building`.`updated_at` AS `building.updatedAt`, `floor`.`id` AS `floor.id`, `floor`.`building_id` AS `floor.building_id`, `floor`.`floor_number` AS `floor.floor_number`, `floor`.`total_rooms` AS `floor.total_rooms`, `floor`.`occupied_rooms` AS `floor.occupied_rooms`, `floor`.`floor_type` AS `floor.floor_type`, `floor`.`amenities` AS `floor.amenities`, `floor`.`maintenance_status` AS `floor.maintenance_status`, `floor`.`last_inspection` AS `floor.last_inspection`, `floor`.`notes` AS `floor.notes`, `floor`.`created_at` AS `floor.createdAt`, `floor`.`updated_at` AS `floor.updatedAt`, `beds`.`id` AS `beds.id`, `beds`.`building_id` AS `beds.building_id`, `beds`.`floor_id` AS `beds.floor_id`, `beds`.`room_id` AS `beds.room_id`, `beds`.`bed_number` AS `beds.bed_number`, `beds`.`is_occupied` AS `beds.is_occupied`, `beds`.`monthly_rent` AS `beds.monthly_rent`, `beds`.`status` AS `beds.status`, `beds`.`bed_type` AS `beds.bed_type`, `beds`.`last_cleaned` AS `beds.last_cleaned`, `beds`.`notes` AS `beds.notes`, `beds`.`reserved_until` AS `beds.reserved_until`, `beds`.`maintenance_scheduled` AS `beds.maintenance_scheduled`, `beds`.`created_at` AS `beds.createdAt`, `beds`.`updated_at` AS `beds.updatedAt`, `beds->renter`.`id` AS `beds.renter.id`, `beds->renter`.`name` AS `beds.renter.name`, `beds->renter`.`email` AS `beds.renter.email`, `beds->renter`.`phone` AS `beds.renter.phone`, `beds->renter`.`alternate_phone` AS `beds.renter.alternate_phone`, `beds->renter`.`nid` AS `beds.renter.nid`, `beds->renter`.`building_id` AS `beds.renter.building_id`, `beds->renter`.`floor_id` AS `beds.renter.floor_id`, `beds->renter`.`room_id` AS `beds.renter.room_id`, `beds->renter`.`bed_id` AS `beds.renter.bed_id`, `beds->renter`.`rent_amount` AS `beds.renter.rent_amount`, `beds->renter`.`security_deposit` AS `beds.renter.security_deposit`, `beds->renter`.`check_in_date` AS `beds.renter.check_in_date`, `beds->renter`.`check_out_date` AS `beds.renter.check_out_date`, `beds->renter`.`lease_start_date` AS `beds.renter.lease_start_date`, `beds->renter`.`lease_end_date` AS `beds.renter.lease_end_date`, `beds->renter`.`status` AS `beds.renter.status`, `beds->renter`.`emergency_contact` AS `beds.renter.emergency_contact`, `beds->renter`.`emergency_relation` AS `beds.renter.emergency_relation`, `beds->renter`.`profile_photo` AS `beds.renter.profile_photo`, `beds->renter`.`occupation` AS `beds.renter.occupation`, `beds->renter`.`company` AS `beds.renter.company`, `beds->renter`.`monthly_income` AS `beds.renter.monthly_income`, `beds->renter`.`previous_address` AS `beds.renter.previous_address`, `beds->renter`.`references` AS `beds.renter.references`, `beds->renter`.`notice_period` AS `beds.renter.notice_period`, `beds->renter`.`preferences` AS `beds.renter.preferences`, `beds->renter`.`payment_history` AS `beds.renter.payment_history`, `beds->renter`.`created_at` AS `beds.renter.createdAt`, `beds->renter`.`updated_at` AS `beds.renter.updatedAt` FROM `Room` AS `Room` LEFT OUTER JOIN `Building` AS `building` ON `Room`.`building_id` = `building`.`id` LEFT OUTER JOIN `Floor` AS `floor` ON `Room`.`floor_id` = `floor`.`id` LEFT OUTER JOIN `Bed` AS `beds` ON `Room`.`id` = `beds`.`room_id` LEFT OUTER JOIN `Renter` AS `beds->renter` ON `beds`.`id` = `beds->renter`.`bed_id`; Executing (default): SELECT `Renter`.`id`, `Renter`.`name`, `Renter`.`email`, `Renter`.`phone`, `Renter`.`alternate_phone`, `Renter`.`nid`, `Renter`.`building_id`, `Renter`.`floor_id`, `Renter`.`room_id`, `Renter`.`bed_id`, `Renter`.`rent_amount`, `Renter`.`security_deposit`, `Renter`.`check_in_date`, `Renter`.`check_out_date`, `Renter`.`lease_start_date`, `Renter`.`lease_end_date`, `Renter`.`status`, `Renter`.`emergency_contact`, `Renter`.`emergency_relation`, `Renter`.`profile_photo`, `Renter`.`occupation`, `Renter`.`company`, `Renter`.`monthly_income`, `Renter`.`previous_address`, `Renter`.`references`, `Renter`.`notice_period`, `Renter`.`preferences`, `Renter`.`payment_history`, `Renter`.`created_at` AS `createdAt`, `Renter`.`updated_at` AS `updatedAt`, `room`.`id` AS `room.id`, `room`.`building_id` AS `room.building_id`, `room`.`floor_id` AS `room.floor_id`, `room`.`room_number` AS `room.room_number`, `room`.`total_beds` AS `room.total_beds`, `room`.`occupied_beds` AS `room.occupied_beds`, `room`.`rent_per_bed` AS `room.rent_per_bed`, `room`.`facilities` AS `room.facilities`, `room`.`room_type` AS `room.room_type`, `room`.`area` AS `room.area`, `room`.`has_balcony` AS `room.has_balcony`, `room`.`has_attached_bathroom` AS `room.has_attached_bathroom`, `room`.`furnishing_status` AS `room.furnishing_status`, `room`.`condition` AS `room.condition`, `room`.`last_cleaned` AS `room.last_cleaned`, `room`.`security_deposit` AS `room.security_deposit`, `room`.`available_from` AS `room.available_from`, `room`.`created_at` AS `room.createdAt`, `room`.`updated_at` AS `room.updatedAt`, `documents`.`id` AS `documents.id`, `documents`.`renter_id` AS `documents.renter_id`, `documents`.`type` AS `documents.type`, `documents`.`file_name` AS `documents.file_name`, `documents`.`file_url` AS `documents.file_url`, `documents`.`file_size` AS `documents.file_size`, `documents`.`mime_type` AS `documents.mime_type`, `documents`.`description` AS `documents.description`, `documents`.`created_at` AS `documents.createdAt`, `documents`.`updated_at` AS `documents.updatedAt` FROM `Renter` AS `Renter` LEFT OUTER JOIN `Room` AS `room` ON `Renter`.`room_id` = `room`.`id` LEFT OUTER JOIN `RenterDocument` AS `documents` ON `Renter`.`id` = `documents`.`renter_id`; Executing (default): SELECT `id`, `name`, `email`, `password`, `role`, `permissions`, `department`, `phone`, `avatar`, `is_active`, `last_login`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `User` AS `User` WHERE `User`.`id` = '8cc00eb8-378e-4f89-8141-f87aa35fd51d'; Executing (default): SELECT `id`, `renter_id`, `amount`, `due_date`, `paid_date`, `status`, `month`, `year`, `payment_method`, `transaction_id`, `late_fee`, `discount`, `notes`, `receipt_number`, `collected_by`, `renter_name` AS `renterName`, `room_number`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `RentPayment` AS `RentPayment`; Executing (default): SELECT `id`, `name`, `email`, `password`, `role`, `permissions`, `department`, `phone`, `avatar`, `is_active`, `last_login`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `User` AS `User` WHERE `User`.`id` = '8cc00eb8-378e-4f89-8141-f87aa35fd51d'; Executing (default): SELECT `id`, `building_id`, `floor_id`, `room_id`, `bed_id`, `type`, `category`, `description`, `priority`, `status`, `assigned_to`, `cost`, `estimated_cost`, `scheduled_date`, `completed_date`, `notes`, `images`, `warranty`, `next_maintenance_date`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `Maintenance` AS `Maintenance`; Executing (default): SELECT `id`, `name`, `email`, `password`, `role`, `permissions`, `department`, `phone`, `avatar`, `is_active`, `last_login`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `User` AS `User` WHERE `User`.`id` = '8cc00eb8-378e-4f89-8141-f87aa35fd51d'; Executing (default): SELECT `id`, `title`, `content`, `type`, `priority`, `target_audience`, `target_ids`, `building_id`, `floor_id`, `created_by`, `expiry_date`, `is_active`, `read_by`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `Notice` AS `Notice`; Executing (default): SELECT `id`, `building_id`, `floor_id`, `category`, `subcategory`, `description`, `amount`, `date`, `vendor`, `receipt`, `approved_by`, `payment_method`, `is_recurring`, `recurring_frequency`, `budget_category`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `Expense` AS `Expense`; Executing (default): SELECT `id`, `visitor_name`, `visitor_phone`, `visiting_renter_id`, `check_in_time`, `check_out_time`, `purpose`, `approved_by`, `id_verified`, `vehicle_number`, `notes`, `visiting_renter_name`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `Visitor` AS `Visitor`; Executing (default): SELECT `id`, `name`, `value`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `Settings` AS `Settings`; Executing (default): SELECT `id`, `name`, `email`, `password`, `role`, `permissions`, `department`, `phone`, `avatar`, `is_active`, `last_login`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `User` AS `User` WHERE `User`.`id` = '8cc00eb8-378e-4f89-8141-f87aa35fd51d'; Executing (default): SELECT `id`, `name`, `email`, `role`, `permissions`, `department`, `phone`, `avatar`, `is_active`, `last_login`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `User` AS `User` WHERE `User`.`id` = '8cc00eb8-378e-4f89-8141-f87aa35fd51d'; Executing (default): SELECT `id`, `name`, `email`, `password`, `role`, `permissions`, `department`, `phone`, `avatar`, `is_active`, `last_login`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `User` AS `User` WHERE `User`.`id` = '8cc00eb8-378e-4f89-8141-f87aa35fd51d'; Executing (default): SELECT `Building`.`id`, `Building`.`name`, `Building`.`address`, `Building`.`floors`, `Building`.`total_rooms`, `Building`.`total_beds`, `Building`.`parking_spaces`, `Building`.`occupied_beds`, `Building`.`manager`, `Building`.`amenities`, `Building`.`monthly_revenue`, `Building`.`building_type`, `Building`.`year_built`, `Building`.`total_area`, `Building`.`elevators`, `Building`.`security_features`, `Building`.`contact_person`, `Building`.`contact_phone`, `Building`.`created_at` AS `createdAt`, `Building`.`updated_at` AS `updatedAt`, `buildingFloors`.`id` AS `buildingFloors.id`, `buildingFloors`.`building_id` AS `buildingFloors.building_id`, `buildingFloors`.`floor_number` AS `buildingFloors.floor_number`, `buildingFloors`.`total_rooms` AS `buildingFloors.total_rooms`, `buildingFloors`.`occupied_rooms` AS `buildingFloors.occupied_rooms`, `buildingFloors`.`floor_type` AS `buildingFloors.floor_type`, `buildingFloors`.`amenities` AS `buildingFloors.amenities`, `buildingFloors`.`maintenance_status` AS `buildingFloors.maintenance_status`, `buildingFloors`.`last_inspection` AS `buildingFloors.last_inspection`, `buildingFloors`.`notes` AS `buildingFloors.notes`, `buildingFloors`.`created_at` AS `buildingFloors.createdAt`, `buildingFloors`.`updated_at` AS `buildingFloors.updatedAt`, `buildingFloors->rooms`.`id` AS `buildingFloors.rooms.id`, `buildingFloors->rooms`.`building_id` AS `buildingFloors.rooms.building_id`, `buildingFloors->rooms`.`floor_id` AS `buildingFloors.rooms.floor_id`, `buildingFloors->rooms`.`room_number` AS `buildingFloors.rooms.room_number`, `buildingFloors->rooms`.`total_beds` AS `buildingFloors.rooms.total_beds`, `buildingFloors->rooms`.`occupied_beds` AS `buildingFloors.rooms.occupied_beds`, `buildingFloors->rooms`.`rent_per_bed` AS `buildingFloors.rooms.rent_per_bed`, `buildingFloors->rooms`.`facilities` AS `buildingFloors.rooms.facilities`, `buildingFloors->rooms`.`room_type` AS `buildingFloors.rooms.room_type`, `buildingFloors->rooms`.`area` AS `buildingFloors.rooms.area`, `buildingFloors->rooms`.`has_balcony` AS `buildingFloors.rooms.has_balcony`, `buildingFloors->rooms`.`has_attached_bathroom` AS `buildingFloors.rooms.has_attached_bathroom`, `buildingFloors->rooms`.`furnishing_status` AS `buildingFloors.rooms.furnishing_status`, `buildingFloors->rooms`.`condition` AS `buildingFloors.rooms.condition`, `buildingFloors->rooms`.`last_cleaned` AS `buildingFloors.rooms.last_cleaned`, `buildingFloors->rooms`.`security_deposit` AS `buildingFloors.rooms.security_deposit`, `buildingFloors->rooms`.`available_from` AS `buildingFloors.rooms.available_from`, `buildingFloors->rooms`.`created_at` AS `buildingFloors.rooms.createdAt`, `buildingFloors->rooms`.`updated_at` AS `buildingFloors.rooms.updatedAt`, `buildingFloors->rooms->beds`.`id` AS `buildingFloors.rooms.beds.id`, `buildingFloors->rooms->beds`.`building_id` AS `buildingFloors.rooms.beds.building_id`, `buildingFloors->rooms->beds`.`floor_id` AS `buildingFloors.rooms.beds.floor_id`, `buildingFloors->rooms->beds`.`room_id` AS `buildingFloors.rooms.beds.room_id`, `buildingFloors->rooms->beds`.`bed_number` AS `buildingFloors.rooms.beds.bed_number`, `buildingFloors->rooms->beds`.`is_occupied` AS `buildingFloors.rooms.beds.is_occupied`, `buildingFloors->rooms->beds`.`monthly_rent` AS `buildingFloors.rooms.beds.monthly_rent`, `buildingFloors->rooms->beds`.`status` AS `buildingFloors.rooms.beds.status`, `buildingFloors->rooms->beds`.`bed_type` AS `buildingFloors.rooms.beds.bed_type`, `buildingFloors->rooms->beds`.`last_cleaned` AS `buildingFloors.rooms.beds.last_cleaned`, `buildingFloors->rooms->beds`.`notes` AS `buildingFloors.rooms.beds.notes`, `buildingFloors->rooms->beds`.`reserved_until` AS `buildingFloors.rooms.beds.reserved_until`, `buildingFloors->rooms->beds`.`maintenance_scheduled` AS `buildingFloors.rooms.beds.maintenance_scheduled`, `buildingFloors->rooms->beds`.`created_at` AS `buildingFloors.rooms.beds.createdAt`, `buildingFloors->rooms->beds`.`updated_at` AS `buildingFloors.rooms.beds.updatedAt`, `buildingFloors->rooms->beds->renter`.`id` AS `buildingFloors.rooms.beds.renter.id`, `buildingFloors->rooms->beds->renter`.`name` AS `buildingFloors.rooms.beds.renter.name`, `buildingFloors->rooms->beds->renter`.`email` AS `buildingFloors.rooms.beds.renter.email`, `buildingFloors->rooms->beds->renter`.`phone` AS `buildingFloors.rooms.beds.renter.phone`, `buildingFloors->rooms->beds->renter`.`alternate_phone` AS `buildingFloors.rooms.beds.renter.alternate_phone`, `buildingFloors->rooms->beds->renter`.`nid` AS `buildingFloors.rooms.beds.renter.nid`, `buildingFloors->rooms->beds->renter`.`building_id` AS `buildingFloors.rooms.beds.renter.building_id`, `buildingFloors->rooms->beds->renter`.`floor_id` AS `buildingFloors.rooms.beds.renter.floor_id`, `buildingFloors->rooms->beds->renter`.`room_id` AS `buildingFloors.rooms.beds.renter.room_id`, `buildingFloors->rooms->beds->renter`.`bed_id` AS `buildingFloors.rooms.beds.renter.bed_id`, `buildingFloors->rooms->beds->renter`.`rent_amount` AS `buildingFloors.rooms.beds.renter.rent_amount`, `buildingFloors->rooms->beds->renter`.`security_deposit` AS `buildingFloors.rooms.beds.renter.security_deposit`, `buildingFloors->rooms->beds->renter`.`check_in_date` AS `buildingFloors.rooms.beds.renter.check_in_date`, `buildingFloors->rooms->beds->renter`.`check_out_date` AS `buildingFloors.rooms.beds.renter.check_out_date`, `buildingFloors->rooms->beds->renter`.`lease_start_date` AS `buildingFloors.rooms.beds.renter.lease_start_date`, `buildingFloors->rooms->beds->renter`.`lease_end_date` AS `buildingFloors.rooms.beds.renter.lease_end_date`, `buildingFloors->rooms->beds->renter`.`status` AS `buildingFloors.rooms.beds.renter.status`, `buildingFloors->rooms->beds->renter`.`emergency_contact` AS `buildingFloors.rooms.beds.renter.emergency_contact`, `buildingFloors->rooms->beds->renter`.`emergency_relation` AS `buildingFloors.rooms.beds.renter.emergency_relation`, `buildingFloors->rooms->beds->renter`.`profile_photo` AS `buildingFloors.rooms.beds.renter.profile_photo`, `buildingFloors->rooms->beds->renter`.`occupation` AS `buildingFloors.rooms.beds.renter.occupation`, `buildingFloors->rooms->beds->renter`.`company` AS `buildingFloors.rooms.beds.renter.company`, `buildingFloors->rooms->beds->renter`.`monthly_income` AS `buildingFloors.rooms.beds.renter.monthly_income`, `buildingFloors->rooms->beds->renter`.`previous_address` AS `buildingFloors.rooms.beds.renter.previous_address`, `buildingFloors->rooms->beds->renter`.`references` AS `buildingFloors.rooms.beds.renter.references`, `buildingFloors->rooms->beds->renter`.`notice_period` AS `buildingFloors.rooms.beds.renter.notice_period`, `buildingFloors->rooms->beds->renter`.`preferences` AS `buildingFloors.rooms.beds.renter.preferences`, `buildingFloors->rooms->beds->renter`.`payment_history` AS `buildingFloors.rooms.beds.renter.payment_history`, `buildingFloors->rooms->beds->renter`.`created_at` AS `buildingFloors.rooms.beds.renter.createdAt`, `buildingFloors->rooms->beds->renter`.`updated_at` AS `buildingFloors.rooms.beds.renter.updatedAt` FROM `Building` AS `Building` LEFT OUTER JOIN `Floor` AS `buildingFloors` ON `Building`.`id` = `buildingFloors`.`building_id` LEFT OUTER JOIN `Room` AS `buildingFloors->rooms` ON `buildingFloors`.`id` = `buildingFloors->rooms`.`floor_id` LEFT OUTER JOIN `Bed` AS `buildingFloors->rooms->beds` ON `buildingFloors->rooms`.`id` = `buildingFloors->rooms->beds`.`room_id` LEFT OUTER JOIN `Renter` AS `buildingFloors->rooms->beds->renter` ON `buildingFloors->rooms->beds`.`id` = `buildingFloors->rooms->beds->renter`.`bed_id` ORDER BY `createdAt` DESC; Executing (default): SELECT `id`, `name`, `email`, `password`, `role`, `permissions`, `department`, `phone`, `avatar`, `is_active`, `last_login`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `User` AS `User` WHERE `User`.`id` = '8cc00eb8-378e-4f89-8141-f87aa35fd51d'; Executing (default): SELECT `Room`.`id`, `Room`.`building_id`, `Room`.`floor_id`, `Room`.`room_number`, `Room`.`total_beds`, `Room`.`occupied_beds`, `Room`.`rent_per_bed`, `Room`.`facilities`, `Room`.`room_type`, `Room`.`area`, `Room`.`has_balcony`, `Room`.`has_attached_bathroom`, `Room`.`furnishing_status`, `Room`.`condition`, `Room`.`last_cleaned`, `Room`.`security_deposit`, `Room`.`available_from`, `Room`.`created_at` AS `createdAt`, `Room`.`updated_at` AS `updatedAt`, `building`.`id` AS `building.id`, `building`.`name` AS `building.name`, `building`.`address` AS `building.address`, `building`.`floors` AS `building.floors`, `building`.`total_rooms` AS `building.total_rooms`, `building`.`total_beds` AS `building.total_beds`, `building`.`parking_spaces` AS `building.parking_spaces`, `building`.`occupied_beds` AS `building.occupied_beds`, `building`.`manager` AS `building.manager`, `building`.`amenities` AS `building.amenities`, `building`.`monthly_revenue` AS `building.monthly_revenue`, `building`.`building_type` AS `building.building_type`, `building`.`year_built` AS `building.year_built`, `building`.`total_area` AS `building.total_area`, `building`.`elevators` AS `building.elevators`, `building`.`security_features` AS `building.security_features`, `building`.`contact_person` AS `building.contact_person`, `building`.`contact_phone` AS `building.contact_phone`, `building`.`created_at` AS `building.createdAt`, `building`.`updated_at` AS `building.updatedAt`, `floor`.`id` AS `floor.id`, `floor`.`building_id` AS `floor.building_id`, `floor`.`floor_number` AS `floor.floor_number`, `floor`.`total_rooms` AS `floor.total_rooms`, `floor`.`occupied_rooms` AS `floor.occupied_rooms`, `floor`.`floor_type` AS `floor.floor_type`, `floor`.`amenities` AS `floor.amenities`, `floor`.`maintenance_status` AS `floor.maintenance_status`, `floor`.`last_inspection` AS `floor.last_inspection`, `floor`.`notes` AS `floor.notes`, `floor`.`created_at` AS `floor.createdAt`, `floor`.`updated_at` AS `floor.updatedAt`, `beds`.`id` AS `beds.id`, `beds`.`building_id` AS `beds.building_id`, `beds`.`floor_id` AS `beds.floor_id`, `beds`.`room_id` AS `beds.room_id`, `beds`.`bed_number` AS `beds.bed_number`, `beds`.`is_occupied` AS `beds.is_occupied`, `beds`.`monthly_rent` AS `beds.monthly_rent`, `beds`.`status` AS `beds.status`, `beds`.`bed_type` AS `beds.bed_type`, `beds`.`last_cleaned` AS `beds.last_cleaned`, `beds`.`notes` AS `beds.notes`, `beds`.`reserved_until` AS `beds.reserved_until`, `beds`.`maintenance_scheduled` AS `beds.maintenance_scheduled`, `beds`.`created_at` AS `beds.createdAt`, `beds`.`updated_at` AS `beds.updatedAt`, `beds->renter`.`id` AS `beds.renter.id`, `beds->renter`.`name` AS `beds.renter.name`, `beds->renter`.`email` AS `beds.renter.email`, `beds->renter`.`phone` AS `beds.renter.phone`, `beds->renter`.`alternate_phone` AS `beds.renter.alternate_phone`, `beds->renter`.`nid` AS `beds.renter.nid`, `beds->renter`.`building_id` AS `beds.renter.building_id`, `beds->renter`.`floor_id` AS `beds.renter.floor_id`, `beds->renter`.`room_id` AS `beds.renter.room_id`, `beds->renter`.`bed_id` AS `beds.renter.bed_id`, `beds->renter`.`rent_amount` AS `beds.renter.rent_amount`, `beds->renter`.`security_deposit` AS `beds.renter.security_deposit`, `beds->renter`.`check_in_date` AS `beds.renter.check_in_date`, `beds->renter`.`check_out_date` AS `beds.renter.check_out_date`, `beds->renter`.`lease_start_date` AS `beds.renter.lease_start_date`, `beds->renter`.`lease_end_date` AS `beds.renter.lease_end_date`, `beds->renter`.`status` AS `beds.renter.status`, `beds->renter`.`emergency_contact` AS `beds.renter.emergency_contact`, `beds->renter`.`emergency_relation` AS `beds.renter.emergency_relation`, `beds->renter`.`profile_photo` AS `beds.renter.profile_photo`, `beds->renter`.`occupation` AS `beds.renter.occupation`, `beds->renter`.`company` AS `beds.renter.company`, `beds->renter`.`monthly_income` AS `beds.renter.monthly_income`, `beds->renter`.`previous_address` AS `beds.renter.previous_address`, `beds->renter`.`references` AS `beds.renter.references`, `beds->renter`.`notice_period` AS `beds.renter.notice_period`, `beds->renter`.`preferences` AS `beds.renter.preferences`, `beds->renter`.`payment_history` AS `beds.renter.payment_history`, `beds->renter`.`created_at` AS `beds.renter.createdAt`, `beds->renter`.`updated_at` AS `beds.renter.updatedAt` FROM `Room` AS `Room` LEFT OUTER JOIN `Building` AS `building` ON `Room`.`building_id` = `building`.`id` LEFT OUTER JOIN `Floor` AS `floor` ON `Room`.`floor_id` = `floor`.`id` LEFT OUTER JOIN `Bed` AS `beds` ON `Room`.`id` = `beds`.`room_id` LEFT OUTER JOIN `Renter` AS `beds->renter` ON `beds`.`id` = `beds->renter`.`bed_id`; Executing (default): SELECT `id`, `name`, `email`, `password`, `role`, `permissions`, `department`, `phone`, `avatar`, `is_active`, `last_login`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `User` AS `User` WHERE `User`.`id` = '8cc00eb8-378e-4f89-8141-f87aa35fd51d'; Executing (default): SELECT `Floor`.`id`, `Floor`.`building_id`, `Floor`.`floor_number`, `Floor`.`total_rooms`, `Floor`.`occupied_rooms`, `Floor`.`floor_type`, `Floor`.`amenities`, `Floor`.`maintenance_status`, `Floor`.`last_inspection`, `Floor`.`notes`, `Floor`.`created_at` AS `createdAt`, `Floor`.`updated_at` AS `updatedAt`, `rooms`.`id` AS `rooms.id`, `rooms`.`building_id` AS `rooms.building_id`, `rooms`.`floor_id` AS `rooms.floor_id`, `rooms`.`room_number` AS `rooms.room_number`, `rooms`.`total_beds` AS `rooms.total_beds`, `rooms`.`occupied_beds` AS `rooms.occupied_beds`, `rooms`.`rent_per_bed` AS `rooms.rent_per_bed`, `rooms`.`facilities` AS `rooms.facilities`, `rooms`.`room_type` AS `rooms.room_type`, `rooms`.`area` AS `rooms.area`, `rooms`.`has_balcony` AS `rooms.has_balcony`, `rooms`.`has_attached_bathroom` AS `rooms.has_attached_bathroom`, `rooms`.`furnishing_status` AS `rooms.furnishing_status`, `rooms`.`condition` AS `rooms.condition`, `rooms`.`last_cleaned` AS `rooms.last_cleaned`, `rooms`.`security_deposit` AS `rooms.security_deposit`, `rooms`.`available_from` AS `rooms.available_from`, `rooms`.`created_at` AS `rooms.createdAt`, `rooms`.`updated_at` AS `rooms.updatedAt`, `rooms->beds`.`id` AS `rooms.beds.id`, `rooms->beds`.`building_id` AS `rooms.beds.building_id`, `rooms->beds`.`floor_id` AS `rooms.beds.floor_id`, `rooms->beds`.`room_id` AS `rooms.beds.room_id`, `rooms->beds`.`bed_number` AS `rooms.beds.bed_number`, `rooms->beds`.`is_occupied` AS `rooms.beds.is_occupied`, `rooms->beds`.`monthly_rent` AS `rooms.beds.monthly_rent`, `rooms->beds`.`status` AS `rooms.beds.status`, `rooms->beds`.`bed_type` AS `rooms.beds.bed_type`, `rooms->beds`.`last_cleaned` AS `rooms.beds.last_cleaned`, `rooms->beds`.`notes` AS `rooms.beds.notes`, `rooms->beds`.`reserved_until` AS `rooms.beds.reserved_until`, `rooms->beds`.`maintenance_scheduled` AS `rooms.beds.maintenance_scheduled`, `rooms->beds`.`created_at` AS `rooms.beds.createdAt`, `rooms->beds`.`updated_at` AS `rooms.beds.updatedAt`, `rooms->beds->renter`.`id` AS `rooms.beds.renter.id`, `rooms->beds->renter`.`name` AS `rooms.beds.renter.name`, `rooms->beds->renter`.`email` AS `rooms.beds.renter.email`, `rooms->beds->renter`.`phone` AS `rooms.beds.renter.phone`, `rooms->beds->renter`.`alternate_phone` AS `rooms.beds.renter.alternate_phone`, `rooms->beds->renter`.`nid` AS `rooms.beds.renter.nid`, `rooms->beds->renter`.`building_id` AS `rooms.beds.renter.building_id`, `rooms->beds->renter`.`floor_id` AS `rooms.beds.renter.floor_id`, `rooms->beds->renter`.`room_id` AS `rooms.beds.renter.room_id`, `rooms->beds->renter`.`bed_id` AS `rooms.beds.renter.bed_id`, `rooms->beds->renter`.`rent_amount` AS `rooms.beds.renter.rent_amount`, `rooms->beds->renter`.`security_deposit` AS `rooms.beds.renter.security_deposit`, `rooms->beds->renter`.`check_in_date` AS `rooms.beds.renter.check_in_date`, `rooms->beds->renter`.`check_out_date` AS `rooms.beds.renter.check_out_date`, `rooms->beds->renter`.`lease_start_date` AS `rooms.beds.renter.lease_start_date`, `rooms->beds->renter`.`lease_end_date` AS `rooms.beds.renter.lease_end_date`, `rooms->beds->renter`.`status` AS `rooms.beds.renter.status`, `rooms->beds->renter`.`emergency_contact` AS `rooms.beds.renter.emergency_contact`, `rooms->beds->renter`.`emergency_relation` AS `rooms.beds.renter.emergency_relation`, `rooms->beds->renter`.`profile_photo` AS `rooms.beds.renter.profile_photo`, `rooms->beds->renter`.`occupation` AS `rooms.beds.renter.occupation`, `rooms->beds->renter`.`company` AS `rooms.beds.renter.company`, `rooms->beds->renter`.`monthly_income` AS `rooms.beds.renter.monthly_income`, `rooms->beds->renter`.`previous_address` AS `rooms.beds.renter.previous_address`, `rooms->beds->renter`.`references` AS `rooms.beds.renter.references`, `rooms->beds->renter`.`notice_period` AS `rooms.beds.renter.notice_period`, `rooms->beds->renter`.`preferences` AS `rooms.beds.renter.preferences`, `rooms->beds->renter`.`payment_history` AS `rooms.beds.renter.payment_history`, `rooms->beds->renter`.`created_at` AS `rooms.beds.renter.createdAt`, `rooms->beds->renter`.`updated_at` AS `rooms.beds.renter.updatedAt` FROM `Floor` AS `Floor` LEFT OUTER JOIN `Room` AS `rooms` ON `Floor`.`id` = `rooms`.`floor_id` LEFT OUTER JOIN `Bed` AS `rooms->beds` ON `rooms`.`id` = `rooms->beds`.`room_id` LEFT OUTER JOIN `Renter` AS `rooms->beds->renter` ON `rooms->beds`.`id` = `rooms->beds->renter`.`bed_id`; Executing (default): SELECT `id`, `name`, `email`, `password`, `role`, `permissions`, `department`, `phone`, `avatar`, `is_active`, `last_login`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `User` AS `User` WHERE `User`.`id` = '8cc00eb8-378e-4f89-8141-f87aa35fd51d'; Executing (default): SELECT `id`, `name`, `email`, `password`, `role`, `permissions`, `department`, `phone`, `avatar`, `is_active`, `last_login`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `User` AS `User` WHERE `User`.`id` = '8cc00eb8-378e-4f89-8141-f87aa35fd51d'; Executing (default): SELECT `Bed`.`id`, `Bed`.`building_id`, `Bed`.`floor_id`, `Bed`.`room_id`, `Bed`.`bed_number`, `Bed`.`is_occupied`, `Bed`.`monthly_rent`, `Bed`.`status`, `Bed`.`bed_type`, `Bed`.`last_cleaned`, `Bed`.`notes`, `Bed`.`reserved_until`, `Bed`.`maintenance_scheduled`, `Bed`.`created_at` AS `createdAt`, `Bed`.`updated_at` AS `updatedAt`, `renter`.`id` AS `renter.id`, `renter`.`name` AS `renter.name`, `renter`.`email` AS `renter.email`, `renter`.`phone` AS `renter.phone`, `renter`.`alternate_phone` AS `renter.alternate_phone`, `renter`.`nid` AS `renter.nid`, `renter`.`building_id` AS `renter.building_id`, `renter`.`floor_id` AS `renter.floor_id`, `renter`.`room_id` AS `renter.room_id`, `renter`.`bed_id` AS `renter.bed_id`, `renter`.`rent_amount` AS `renter.rent_amount`, `renter`.`security_deposit` AS `renter.security_deposit`, `renter`.`check_in_date` AS `renter.check_in_date`, `renter`.`check_out_date` AS `renter.check_out_date`, `renter`.`lease_start_date` AS `renter.lease_start_date`, `renter`.`lease_end_date` AS `renter.lease_end_date`, `renter`.`status` AS `renter.status`, `renter`.`emergency_contact` AS `renter.emergency_contact`, `renter`.`emergency_relation` AS `renter.emergency_relation`, `renter`.`profile_photo` AS `renter.profile_photo`, `renter`.`occupation` AS `renter.occupation`, `renter`.`company` AS `renter.company`, `renter`.`monthly_income` AS `renter.monthly_income`, `renter`.`previous_address` AS `renter.previous_address`, `renter`.`references` AS `renter.references`, `renter`.`notice_period` AS `renter.notice_period`, `renter`.`preferences` AS `renter.preferences`, `renter`.`payment_history` AS `renter.payment_history`, `renter`.`created_at` AS `renter.createdAt`, `renter`.`updated_at` AS `renter.updatedAt`, `room`.`id` AS `room.id`, `room`.`building_id` AS `room.building_id`, `room`.`floor_id` AS `room.floor_id`, `room`.`room_number` AS `room.room_number`, `room`.`total_beds` AS `room.total_beds`, `room`.`occupied_beds` AS `room.occupied_beds`, `room`.`rent_per_bed` AS `room.rent_per_bed`, `room`.`facilities` AS `room.facilities`, `room`.`room_type` AS `room.room_type`, `room`.`area` AS `room.area`, `room`.`has_balcony` AS `room.has_balcony`, `room`.`has_attached_bathroom` AS `room.has_attached_bathroom`, `room`.`furnishing_status` AS `room.furnishing_status`, `room`.`condition` AS `room.condition`, `room`.`last_cleaned` AS `room.last_cleaned`, `room`.`security_deposit` AS `room.security_deposit`, `room`.`available_from` AS `room.available_from`, `room`.`created_at` AS `room.createdAt`, `room`.`updated_at` AS `room.updatedAt`, `room->floor`.`id` AS `room.floor.id`, `room->floor`.`building_id` AS `room.floor.building_id`, `room->floor`.`floor_number` AS `room.floor.floor_number`, `room->floor`.`total_rooms` AS `room.floor.total_rooms`, `room->floor`.`occupied_rooms` AS `room.floor.occupied_rooms`, `room->floor`.`floor_type` AS `room.floor.floor_type`, `room->floor`.`amenities` AS `room.floor.amenities`, `room->floor`.`maintenance_status` AS `room.floor.maintenance_status`, `room->floor`.`last_inspection` AS `room.floor.last_inspection`, `room->floor`.`notes` AS `room.floor.notes`, `room->floor`.`created_at` AS `room.floor.createdAt`, `room->floor`.`updated_at` AS `room.floor.updatedAt`, `room->floor->building`.`id` AS `room.floor.building.id`, `room->floor->building`.`name` AS `room.floor.building.name`, `room->floor->building`.`address` AS `room.floor.building.address`, `room->floor->building`.`floors` AS `room.floor.building.floors`, `room->floor->building`.`total_rooms` AS `room.floor.building.total_rooms`, `room->floor->building`.`total_beds` AS `room.floor.building.total_beds`, `room->floor->building`.`parking_spaces` AS `room.floor.building.parking_spaces`, `room->floor->building`.`occupied_beds` AS `room.floor.building.occupied_beds`, `room->floor->building`.`manager` AS `room.floor.building.manager`, `room->floor->building`.`amenities` AS `room.floor.building.amenities`, `room->floor->building`.`monthly_revenue` AS `room.floor.building.monthly_revenue`, `room->floor->building`.`building_type` AS `room.floor.building.building_type`, `room->floor->building`.`year_built` AS `room.floor.building.year_built`, `room->floor->building`.`total_area` AS `room.floor.building.total_area`, `room->floor->building`.`elevators` AS `room.floor.building.elevators`, `room->floor->building`.`security_features` AS `room.floor.building.security_features`, `room->floor->building`.`contact_person` AS `room.floor.building.contact_person`, `room->floor->building`.`contact_phone` AS `room.floor.building.contact_phone`, `room->floor->building`.`created_at` AS `room.floor.building.createdAt`, `room->floor->building`.`updated_at` AS `room.floor.building.updatedAt` FROM `Bed` AS `Bed` LEFT OUTER JOIN `Renter` AS `renter` ON `Bed`.`id` = `renter`.`bed_id` LEFT OUTER JOIN `Room` AS `room` ON `Bed`.`room_id` = `room`.`id` LEFT OUTER JOIN `Floor` AS `room->floor` ON `room`.`floor_id` = `room->floor`.`id` LEFT OUTER JOIN `Building` AS `room->floor->building` ON `room->floor`.`building_id` = `room->floor->building`.`id`; Executing (default): SELECT `id`, `renter_id`, `amount`, `due_date`, `paid_date`, `status`, `month`, `year`, `payment_method`, `transaction_id`, `late_fee`, `discount`, `notes`, `receipt_number`, `collected_by`, `renter_name` AS `renterName`, `room_number`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `RentPayment` AS `RentPayment`; Executing (default): SELECT `Renter`.`id`, `Renter`.`name`, `Renter`.`email`, `Renter`.`phone`, `Renter`.`alternate_phone`, `Renter`.`nid`, `Renter`.`building_id`, `Renter`.`floor_id`, `Renter`.`room_id`, `Renter`.`bed_id`, `Renter`.`rent_amount`, `Renter`.`security_deposit`, `Renter`.`check_in_date`, `Renter`.`check_out_date`, `Renter`.`lease_start_date`, `Renter`.`lease_end_date`, `Renter`.`status`, `Renter`.`emergency_contact`, `Renter`.`emergency_relation`, `Renter`.`profile_photo`, `Renter`.`occupation`, `Renter`.`company`, `Renter`.`monthly_income`, `Renter`.`previous_address`, `Renter`.`references`, `Renter`.`notice_period`, `Renter`.`preferences`, `Renter`.`payment_history`, `Renter`.`created_at` AS `createdAt`, `Renter`.`updated_at` AS `updatedAt`, `room`.`id` AS `room.id`, `room`.`building_id` AS `room.building_id`, `room`.`floor_id` AS `room.floor_id`, `room`.`room_number` AS `room.room_number`, `room`.`total_beds` AS `room.total_beds`, `room`.`occupied_beds` AS `room.occupied_beds`, `room`.`rent_per_bed` AS `room.rent_per_bed`, `room`.`facilities` AS `room.facilities`, `room`.`room_type` AS `room.room_type`, `room`.`area` AS `room.area`, `room`.`has_balcony` AS `room.has_balcony`, `room`.`has_attached_bathroom` AS `room.has_attached_bathroom`, `room`.`furnishing_status` AS `room.furnishing_status`, `room`.`condition` AS `room.condition`, `room`.`last_cleaned` AS `room.last_cleaned`, `room`.`security_deposit` AS `room.security_deposit`, `room`.`available_from` AS `room.available_from`, `room`.`created_at` AS `room.createdAt`, `room`.`updated_at` AS `room.updatedAt`, `documents`.`id` AS `documents.id`, `documents`.`renter_id` AS `documents.renter_id`, `documents`.`type` AS `documents.type`, `documents`.`file_name` AS `documents.file_name`, `documents`.`file_url` AS `documents.file_url`, `documents`.`file_size` AS `documents.file_size`, `documents`.`mime_type` AS `documents.mime_type`, `documents`.`description` AS `documents.description`, `documents`.`created_at` AS `documents.createdAt`, `documents`.`updated_at` AS `documents.updatedAt` FROM `Renter` AS `Renter` LEFT OUTER JOIN `Room` AS `room` ON `Renter`.`room_id` = `room`.`id` LEFT OUTER JOIN `RenterDocument` AS `documents` ON `Renter`.`id` = `documents`.`renter_id`; Executing (default): SELECT `id`, `name`, `email`, `password`, `role`, `permissions`, `department`, `phone`, `avatar`, `is_active`, `last_login`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `User` AS `User` WHERE `User`.`id` = '8cc00eb8-378e-4f89-8141-f87aa35fd51d'; Executing (default): SELECT `id`, `visitor_name`, `visitor_phone`, `visiting_renter_id`, `check_in_time`, `check_out_time`, `purpose`, `approved_by`, `id_verified`, `vehicle_number`, `notes`, `visiting_renter_name`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `Visitor` AS `Visitor`; Executing (default): SELECT `id`, `name`, `email`, `role`, `permissions`, `department`, `phone`, `avatar`, `is_active`, `last_login`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `User` AS `User` WHERE `User`.`id` = '8cc00eb8-378e-4f89-8141-f87aa35fd51d'; Executing (default): SELECT `id`, `name`, `email`, `password`, `role`, `permissions`, `department`, `phone`, `avatar`, `is_active`, `last_login`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `User` AS `User` WHERE `User`.`id` = '8cc00eb8-378e-4f89-8141-f87aa35fd51d'; Executing (default): SELECT `id`, `name`, `email`, `password`, `role`, `permissions`, `department`, `phone`, `avatar`, `is_active`, `last_login`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `User` AS `User` WHERE `User`.`id` = '8cc00eb8-378e-4f89-8141-f87aa35fd51d'; Executing (default): SELECT `id`, `building_id`, `floor_id`, `room_id`, `bed_id`, `type`, `category`, `description`, `priority`, `status`, `assigned_to`, `cost`, `estimated_cost`, `scheduled_date`, `completed_date`, `notes`, `images`, `warranty`, `next_maintenance_date`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `Maintenance` AS `Maintenance`; Executing (default): SELECT `id`, `name`, `value`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `Settings` AS `Settings`; Executing (default): SELECT `id`, `building_id`, `floor_id`, `category`, `subcategory`, `description`, `amount`, `date`, `vendor`, `receipt`, `approved_by`, `payment_method`, `is_recurring`, `recurring_frequency`, `budget_category`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `Expense` AS `Expense`; Executing (default): SELECT `id`, `title`, `content`, `type`, `priority`, `target_audience`, `target_ids`, `building_id`, `floor_id`, `created_by`, `expiry_date`, `is_active`, `read_by`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `Notice` AS `Notice`; Executing (default): SELECT `id`, `name`, `email`, `password`, `role`, `permissions`, `department`, `phone`, `avatar`, `is_active`, `last_login`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `User` AS `User` WHERE `User`.`id` = '8cc00eb8-378e-4f89-8141-f87aa35fd51d'; Executing (default): SELECT `id`, `name`, `email`, `password`, `role`, `permissions`, `department`, `phone`, `avatar`, `is_active`, `last_login`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `User` AS `User` WHERE `User`.`id` = '8cc00eb8-378e-4f89-8141-f87aa35fd51d'; Executing (default): SELECT `id`, `name`, `email`, `password`, `role`, `permissions`, `department`, `phone`, `avatar`, `is_active`, `last_login`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `User` AS `User` WHERE `User`.`id` = '8cc00eb8-378e-4f89-8141-f87aa35fd51d'; Executing (default): SELECT `Building`.`id`, `Building`.`name`, `Building`.`address`, `Building`.`floors`, `Building`.`total_rooms`, `Building`.`total_beds`, `Building`.`parking_spaces`, `Building`.`occupied_beds`, `Building`.`manager`, `Building`.`amenities`, `Building`.`monthly_revenue`, `Building`.`building_type`, `Building`.`year_built`, `Building`.`total_area`, `Building`.`elevators`, `Building`.`security_features`, `Building`.`contact_person`, `Building`.`contact_phone`, `Building`.`created_at` AS `createdAt`, `Building`.`updated_at` AS `updatedAt`, `buildingFloors`.`id` AS `buildingFloors.id`, `buildingFloors`.`building_id` AS `buildingFloors.building_id`, `buildingFloors`.`floor_number` AS `buildingFloors.floor_number`, `buildingFloors`.`total_rooms` AS `buildingFloors.total_rooms`, `buildingFloors`.`occupied_rooms` AS `buildingFloors.occupied_rooms`, `buildingFloors`.`floor_type` AS `buildingFloors.floor_type`, `buildingFloors`.`amenities` AS `buildingFloors.amenities`, `buildingFloors`.`maintenance_status` AS `buildingFloors.maintenance_status`, `buildingFloors`.`last_inspection` AS `buildingFloors.last_inspection`, `buildingFloors`.`notes` AS `buildingFloors.notes`, `buildingFloors`.`created_at` AS `buildingFloors.createdAt`, `buildingFloors`.`updated_at` AS `buildingFloors.updatedAt`, `buildingFloors->rooms`.`id` AS `buildingFloors.rooms.id`, `buildingFloors->rooms`.`building_id` AS `buildingFloors.rooms.building_id`, `buildingFloors->rooms`.`floor_id` AS `buildingFloors.rooms.floor_id`, `buildingFloors->rooms`.`room_number` AS `buildingFloors.rooms.room_number`, `buildingFloors->rooms`.`total_beds` AS `buildingFloors.rooms.total_beds`, `buildingFloors->rooms`.`occupied_beds` AS `buildingFloors.rooms.occupied_beds`, `buildingFloors->rooms`.`rent_per_bed` AS `buildingFloors.rooms.rent_per_bed`, `buildingFloors->rooms`.`facilities` AS `buildingFloors.rooms.facilities`, `buildingFloors->rooms`.`room_type` AS `buildingFloors.rooms.room_type`, `buildingFloors->rooms`.`area` AS `buildingFloors.rooms.area`, `buildingFloors->rooms`.`has_balcony` AS `buildingFloors.rooms.has_balcony`, `buildingFloors->rooms`.`has_attached_bathroom` AS `buildingFloors.rooms.has_attached_bathroom`, `buildingFloors->rooms`.`furnishing_status` AS `buildingFloors.rooms.furnishing_status`, `buildingFloors->rooms`.`condition` AS `buildingFloors.rooms.condition`, `buildingFloors->rooms`.`last_cleaned` AS `buildingFloors.rooms.last_cleaned`, `buildingFloors->rooms`.`security_deposit` AS `buildingFloors.rooms.security_deposit`, `buildingFloors->rooms`.`available_from` AS `buildingFloors.rooms.available_from`, `buildingFloors->rooms`.`created_at` AS `buildingFloors.rooms.createdAt`, `buildingFloors->rooms`.`updated_at` AS `buildingFloors.rooms.updatedAt`, `buildingFloors->rooms->beds`.`id` AS `buildingFloors.rooms.beds.id`, `buildingFloors->rooms->beds`.`building_id` AS `buildingFloors.rooms.beds.building_id`, `buildingFloors->rooms->beds`.`floor_id` AS `buildingFloors.rooms.beds.floor_id`, `buildingFloors->rooms->beds`.`room_id` AS `buildingFloors.rooms.beds.room_id`, `buildingFloors->rooms->beds`.`bed_number` AS `buildingFloors.rooms.beds.bed_number`, `buildingFloors->rooms->beds`.`is_occupied` AS `buildingFloors.rooms.beds.is_occupied`, `buildingFloors->rooms->beds`.`monthly_rent` AS `buildingFloors.rooms.beds.monthly_rent`, `buildingFloors->rooms->beds`.`status` AS `buildingFloors.rooms.beds.status`, `buildingFloors->rooms->beds`.`bed_type` AS `buildingFloors.rooms.beds.bed_type`, `buildingFloors->rooms->beds`.`last_cleaned` AS `buildingFloors.rooms.beds.last_cleaned`, `buildingFloors->rooms->beds`.`notes` AS `buildingFloors.rooms.beds.notes`, `buildingFloors->rooms->beds`.`reserved_until` AS `buildingFloors.rooms.beds.reserved_until`, `buildingFloors->rooms->beds`.`maintenance_scheduled` AS `buildingFloors.rooms.beds.maintenance_scheduled`, `buildingFloors->rooms->beds`.`created_at` AS `buildingFloors.rooms.beds.createdAt`, `buildingFloors->rooms->beds`.`updated_at` AS `buildingFloors.rooms.beds.updatedAt`, `buildingFloors->rooms->beds->renter`.`id` AS `buildingFloors.rooms.beds.renter.id`, `buildingFloors->rooms->beds->renter`.`name` AS `buildingFloors.rooms.beds.renter.name`, `buildingFloors->rooms->beds->renter`.`email` AS `buildingFloors.rooms.beds.renter.email`, `buildingFloors->rooms->beds->renter`.`phone` AS `buildingFloors.rooms.beds.renter.phone`, `buildingFloors->rooms->beds->renter`.`alternate_phone` AS `buildingFloors.rooms.beds.renter.alternate_phone`, `buildingFloors->rooms->beds->renter`.`nid` AS `buildingFloors.rooms.beds.renter.nid`, `buildingFloors->rooms->beds->renter`.`building_id` AS `buildingFloors.rooms.beds.renter.building_id`, `buildingFloors->rooms->beds->renter`.`floor_id` AS `buildingFloors.rooms.beds.renter.floor_id`, `buildingFloors->rooms->beds->renter`.`room_id` AS `buildingFloors.rooms.beds.renter.room_id`, `buildingFloors->rooms->beds->renter`.`bed_id` AS `buildingFloors.rooms.beds.renter.bed_id`, `buildingFloors->rooms->beds->renter`.`rent_amount` AS `buildingFloors.rooms.beds.renter.rent_amount`, `buildingFloors->rooms->beds->renter`.`security_deposit` AS `buildingFloors.rooms.beds.renter.security_deposit`, `buildingFloors->rooms->beds->renter`.`check_in_date` AS `buildingFloors.rooms.beds.renter.check_in_date`, `buildingFloors->rooms->beds->renter`.`check_out_date` AS `buildingFloors.rooms.beds.renter.check_out_date`, `buildingFloors->rooms->beds->renter`.`lease_start_date` AS `buildingFloors.rooms.beds.renter.lease_start_date`, `buildingFloors->rooms->beds->renter`.`lease_end_date` AS `buildingFloors.rooms.beds.renter.lease_end_date`, `buildingFloors->rooms->beds->renter`.`status` AS `buildingFloors.rooms.beds.renter.status`, `buildingFloors->rooms->beds->renter`.`emergency_contact` AS `buildingFloors.rooms.beds.renter.emergency_contact`, `buildingFloors->rooms->beds->renter`.`emergency_relation` AS `buildingFloors.rooms.beds.renter.emergency_relation`, `buildingFloors->rooms->beds->renter`.`profile_photo` AS `buildingFloors.rooms.beds.renter.profile_photo`, `buildingFloors->rooms->beds->renter`.`occupation` AS `buildingFloors.rooms.beds.renter.occupation`, `buildingFloors->rooms->beds->renter`.`company` AS `buildingFloors.rooms.beds.renter.company`, `buildingFloors->rooms->beds->renter`.`monthly_income` AS `buildingFloors.rooms.beds.renter.monthly_income`, `buildingFloors->rooms->beds->renter`.`previous_address` AS `buildingFloors.rooms.beds.renter.previous_address`, `buildingFloors->rooms->beds->renter`.`references` AS `buildingFloors.rooms.beds.renter.references`, `buildingFloors->rooms->beds->renter`.`notice_period` AS `buildingFloors.rooms.beds.renter.notice_period`, `buildingFloors->rooms->beds->renter`.`preferences` AS `buildingFloors.rooms.beds.renter.preferences`, `buildingFloors->rooms->beds->renter`.`payment_history` AS `buildingFloors.rooms.beds.renter.payment_history`, `buildingFloors->rooms->beds->renter`.`created_at` AS `buildingFloors.rooms.beds.renter.createdAt`, `buildingFloors->rooms->beds->renter`.`updated_at` AS `buildingFloors.rooms.beds.renter.updatedAt` FROM `Building` AS `Building` LEFT OUTER JOIN `Floor` AS `buildingFloors` ON `Building`.`id` = `buildingFloors`.`building_id` LEFT OUTER JOIN `Room` AS `buildingFloors->rooms` ON `buildingFloors`.`id` = `buildingFloors->rooms`.`floor_id` LEFT OUTER JOIN `Bed` AS `buildingFloors->rooms->beds` ON `buildingFloors->rooms`.`id` = `buildingFloors->rooms->beds`.`room_id` LEFT OUTER JOIN `Renter` AS `buildingFloors->rooms->beds->renter` ON `buildingFloors->rooms->beds`.`id` = `buildingFloors->rooms->beds->renter`.`bed_id` ORDER BY `createdAt` DESC; Executing (default): SELECT `Renter`.`id`, `Renter`.`name`, `Renter`.`email`, `Renter`.`phone`, `Renter`.`alternate_phone`, `Renter`.`nid`, `Renter`.`building_id`, `Renter`.`floor_id`, `Renter`.`room_id`, `Renter`.`bed_id`, `Renter`.`rent_amount`, `Renter`.`security_deposit`, `Renter`.`check_in_date`, `Renter`.`check_out_date`, `Renter`.`lease_start_date`, `Renter`.`lease_end_date`, `Renter`.`status`, `Renter`.`emergency_contact`, `Renter`.`emergency_relation`, `Renter`.`profile_photo`, `Renter`.`occupation`, `Renter`.`company`, `Renter`.`monthly_income`, `Renter`.`previous_address`, `Renter`.`references`, `Renter`.`notice_period`, `Renter`.`preferences`, `Renter`.`payment_history`, `Renter`.`created_at` AS `createdAt`, `Renter`.`updated_at` AS `updatedAt`, `room`.`id` AS `room.id`, `room`.`building_id` AS `room.building_id`, `room`.`floor_id` AS `room.floor_id`, `room`.`room_number` AS `room.room_number`, `room`.`total_beds` AS `room.total_beds`, `room`.`occupied_beds` AS `room.occupied_beds`, `room`.`rent_per_bed` AS `room.rent_per_bed`, `room`.`facilities` AS `room.facilities`, `room`.`room_type` AS `room.room_type`, `room`.`area` AS `room.area`, `room`.`has_balcony` AS `room.has_balcony`, `room`.`has_attached_bathroom` AS `room.has_attached_bathroom`, `room`.`furnishing_status` AS `room.furnishing_status`, `room`.`condition` AS `room.condition`, `room`.`last_cleaned` AS `room.last_cleaned`, `room`.`security_deposit` AS `room.security_deposit`, `room`.`available_from` AS `room.available_from`, `room`.`created_at` AS `room.createdAt`, `room`.`updated_at` AS `room.updatedAt`, `documents`.`id` AS `documents.id`, `documents`.`renter_id` AS `documents.renter_id`, `documents`.`type` AS `documents.type`, `documents`.`file_name` AS `documents.file_name`, `documents`.`file_url` AS `documents.file_url`, `documents`.`file_size` AS `documents.file_size`, `documents`.`mime_type` AS `documents.mime_type`, `documents`.`description` AS `documents.description`, `documents`.`created_at` AS `documents.createdAt`, `documents`.`updated_at` AS `documents.updatedAt` FROM `Renter` AS `Renter` LEFT OUTER JOIN `Room` AS `room` ON `Renter`.`room_id` = `room`.`id` LEFT OUTER JOIN `RenterDocument` AS `documents` ON `Renter`.`id` = `documents`.`renter_id`; Executing (default): SELECT `Bed`.`id`, `Bed`.`building_id`, `Bed`.`floor_id`, `Bed`.`room_id`, `Bed`.`bed_number`, `Bed`.`is_occupied`, `Bed`.`monthly_rent`, `Bed`.`status`, `Bed`.`bed_type`, `Bed`.`last_cleaned`, `Bed`.`notes`, `Bed`.`reserved_until`, `Bed`.`maintenance_scheduled`, `Bed`.`created_at` AS `createdAt`, `Bed`.`updated_at` AS `updatedAt`, `renter`.`id` AS `renter.id`, `renter`.`name` AS `renter.name`, `renter`.`email` AS `renter.email`, `renter`.`phone` AS `renter.phone`, `renter`.`alternate_phone` AS `renter.alternate_phone`, `renter`.`nid` AS `renter.nid`, `renter`.`building_id` AS `renter.building_id`, `renter`.`floor_id` AS `renter.floor_id`, `renter`.`room_id` AS `renter.room_id`, `renter`.`bed_id` AS `renter.bed_id`, `renter`.`rent_amount` AS `renter.rent_amount`, `renter`.`security_deposit` AS `renter.security_deposit`, `renter`.`check_in_date` AS `renter.check_in_date`, `renter`.`check_out_date` AS `renter.check_out_date`, `renter`.`lease_start_date` AS `renter.lease_start_date`, `renter`.`lease_end_date` AS `renter.lease_end_date`, `renter`.`status` AS `renter.status`, `renter`.`emergency_contact` AS `renter.emergency_contact`, `renter`.`emergency_relation` AS `renter.emergency_relation`, `renter`.`profile_photo` AS `renter.profile_photo`, `renter`.`occupation` AS `renter.occupation`, `renter`.`company` AS `renter.company`, `renter`.`monthly_income` AS `renter.monthly_income`, `renter`.`previous_address` AS `renter.previous_address`, `renter`.`references` AS `renter.references`, `renter`.`notice_period` AS `renter.notice_period`, `renter`.`preferences` AS `renter.preferences`, `renter`.`payment_history` AS `renter.payment_history`, `renter`.`created_at` AS `renter.createdAt`, `renter`.`updated_at` AS `renter.updatedAt`, `room`.`id` AS `room.id`, `room`.`building_id` AS `room.building_id`, `room`.`floor_id` AS `room.floor_id`, `room`.`room_number` AS `room.room_number`, `room`.`total_beds` AS `room.total_beds`, `room`.`occupied_beds` AS `room.occupied_beds`, `room`.`rent_per_bed` AS `room.rent_per_bed`, `room`.`facilities` AS `room.facilities`, `room`.`room_type` AS `room.room_type`, `room`.`area` AS `room.area`, `room`.`has_balcony` AS `room.has_balcony`, `room`.`has_attached_bathroom` AS `room.has_attached_bathroom`, `room`.`furnishing_status` AS `room.furnishing_status`, `room`.`condition` AS `room.condition`, `room`.`last_cleaned` AS `room.last_cleaned`, `room`.`security_deposit` AS `room.security_deposit`, `room`.`available_from` AS `room.available_from`, `room`.`created_at` AS `room.createdAt`, `room`.`updated_at` AS `room.updatedAt`, `room->floor`.`id` AS `room.floor.id`, `room->floor`.`building_id` AS `room.floor.building_id`, `room->floor`.`floor_number` AS `room.floor.floor_number`, `room->floor`.`total_rooms` AS `room.floor.total_rooms`, `room->floor`.`occupied_rooms` AS `room.floor.occupied_rooms`, `room->floor`.`floor_type` AS `room.floor.floor_type`, `room->floor`.`amenities` AS `room.floor.amenities`, `room->floor`.`maintenance_status` AS `room.floor.maintenance_status`, `room->floor`.`last_inspection` AS `room.floor.last_inspection`, `room->floor`.`notes` AS `room.floor.notes`, `room->floor`.`created_at` AS `room.floor.createdAt`, `room->floor`.`updated_at` AS `room.floor.updatedAt`, `room->floor->building`.`id` AS `room.floor.building.id`, `room->floor->building`.`name` AS `room.floor.building.name`, `room->floor->building`.`address` AS `room.floor.building.address`, `room->floor->building`.`floors` AS `room.floor.building.floors`, `room->floor->building`.`total_rooms` AS `room.floor.building.total_rooms`, `room->floor->building`.`total_beds` AS `room.floor.building.total_beds`, `room->floor->building`.`parking_spaces` AS `room.floor.building.parking_spaces`, `room->floor->building`.`occupied_beds` AS `room.floor.building.occupied_beds`, `room->floor->building`.`manager` AS `room.floor.building.manager`, `room->floor->building`.`amenities` AS `room.floor.building.amenities`, `room->floor->building`.`monthly_revenue` AS `room.floor.building.monthly_revenue`, `room->floor->building`.`building_type` AS `room.floor.building.building_type`, `room->floor->building`.`year_built` AS `room.floor.building.year_built`, `room->floor->building`.`total_area` AS `room.floor.building.total_area`, `room->floor->building`.`elevators` AS `room.floor.building.elevators`, `room->floor->building`.`security_features` AS `room.floor.building.security_features`, `room->floor->building`.`contact_person` AS `room.floor.building.contact_person`, `room->floor->building`.`contact_phone` AS `room.floor.building.contact_phone`, `room->floor->building`.`created_at` AS `room.floor.building.createdAt`, `room->floor->building`.`updated_at` AS `room.floor.building.updatedAt` FROM `Bed` AS `Bed` LEFT OUTER JOIN `Renter` AS `renter` ON `Bed`.`id` = `renter`.`bed_id` LEFT OUTER JOIN `Room` AS `room` ON `Bed`.`room_id` = `room`.`id` LEFT OUTER JOIN `Floor` AS `room->floor` ON `room`.`floor_id` = `room->floor`.`id` LEFT OUTER JOIN `Building` AS `room->floor->building` ON `room->floor`.`building_id` = `room->floor->building`.`id`; Executing (default): SELECT `Floor`.`id`, `Floor`.`building_id`, `Floor`.`floor_number`, `Floor`.`total_rooms`, `Floor`.`occupied_rooms`, `Floor`.`floor_type`, `Floor`.`amenities`, `Floor`.`maintenance_status`, `Floor`.`last_inspection`, `Floor`.`notes`, `Floor`.`created_at` AS `createdAt`, `Floor`.`updated_at` AS `updatedAt`, `rooms`.`id` AS `rooms.id`, `rooms`.`building_id` AS `rooms.building_id`, `rooms`.`floor_id` AS `rooms.floor_id`, `rooms`.`room_number` AS `rooms.room_number`, `rooms`.`total_beds` AS `rooms.total_beds`, `rooms`.`occupied_beds` AS `rooms.occupied_beds`, `rooms`.`rent_per_bed` AS `rooms.rent_per_bed`, `rooms`.`facilities` AS `rooms.facilities`, `rooms`.`room_type` AS `rooms.room_type`, `rooms`.`area` AS `rooms.area`, `rooms`.`has_balcony` AS `rooms.has_balcony`, `rooms`.`has_attached_bathroom` AS `rooms.has_attached_bathroom`, `rooms`.`furnishing_status` AS `rooms.furnishing_status`, `rooms`.`condition` AS `rooms.condition`, `rooms`.`last_cleaned` AS `rooms.last_cleaned`, `rooms`.`security_deposit` AS `rooms.security_deposit`, `rooms`.`available_from` AS `rooms.available_from`, `rooms`.`created_at` AS `rooms.createdAt`, `rooms`.`updated_at` AS `rooms.updatedAt`, `rooms->beds`.`id` AS `rooms.beds.id`, `rooms->beds`.`building_id` AS `rooms.beds.building_id`, `rooms->beds`.`floor_id` AS `rooms.beds.floor_id`, `rooms->beds`.`room_id` AS `rooms.beds.room_id`, `rooms->beds`.`bed_number` AS `rooms.beds.bed_number`, `rooms->beds`.`is_occupied` AS `rooms.beds.is_occupied`, `rooms->beds`.`monthly_rent` AS `rooms.beds.monthly_rent`, `rooms->beds`.`status` AS `rooms.beds.status`, `rooms->beds`.`bed_type` AS `rooms.beds.bed_type`, `rooms->beds`.`last_cleaned` AS `rooms.beds.last_cleaned`, `rooms->beds`.`notes` AS `rooms.beds.notes`, `rooms->beds`.`reserved_until` AS `rooms.beds.reserved_until`, `rooms->beds`.`maintenance_scheduled` AS `rooms.beds.maintenance_scheduled`, `rooms->beds`.`created_at` AS `rooms.beds.createdAt`, `rooms->beds`.`updated_at` AS `rooms.beds.updatedAt`, `rooms->beds->renter`.`id` AS `rooms.beds.renter.id`, `rooms->beds->renter`.`name` AS `rooms.beds.renter.name`, `rooms->beds->renter`.`email` AS `rooms.beds.renter.email`, `rooms->beds->renter`.`phone` AS `rooms.beds.renter.phone`, `rooms->beds->renter`.`alternate_phone` AS `rooms.beds.renter.alternate_phone`, `rooms->beds->renter`.`nid` AS `rooms.beds.renter.nid`, `rooms->beds->renter`.`building_id` AS `rooms.beds.renter.building_id`, `rooms->beds->renter`.`floor_id` AS `rooms.beds.renter.floor_id`, `rooms->beds->renter`.`room_id` AS `rooms.beds.renter.room_id`, `rooms->beds->renter`.`bed_id` AS `rooms.beds.renter.bed_id`, `rooms->beds->renter`.`rent_amount` AS `rooms.beds.renter.rent_amount`, `rooms->beds->renter`.`security_deposit` AS `rooms.beds.renter.security_deposit`, `rooms->beds->renter`.`check_in_date` AS `rooms.beds.renter.check_in_date`, `rooms->beds->renter`.`check_out_date` AS `rooms.beds.renter.check_out_date`, `rooms->beds->renter`.`lease_start_date` AS `rooms.beds.renter.lease_start_date`, `rooms->beds->renter`.`lease_end_date` AS `rooms.beds.renter.lease_end_date`, `rooms->beds->renter`.`status` AS `rooms.beds.renter.status`, `rooms->beds->renter`.`emergency_contact` AS `rooms.beds.renter.emergency_contact`, `rooms->beds->renter`.`emergency_relation` AS `rooms.beds.renter.emergency_relation`, `rooms->beds->renter`.`profile_photo` AS `rooms.beds.renter.profile_photo`, `rooms->beds->renter`.`occupation` AS `rooms.beds.renter.occupation`, `rooms->beds->renter`.`company` AS `rooms.beds.renter.company`, `rooms->beds->renter`.`monthly_income` AS `rooms.beds.renter.monthly_income`, `rooms->beds->renter`.`previous_address` AS `rooms.beds.renter.previous_address`, `rooms->beds->renter`.`references` AS `rooms.beds.renter.references`, `rooms->beds->renter`.`notice_period` AS `rooms.beds.renter.notice_period`, `rooms->beds->renter`.`preferences` AS `rooms.beds.renter.preferences`, `rooms->beds->renter`.`payment_history` AS `rooms.beds.renter.payment_history`, `rooms->beds->renter`.`created_at` AS `rooms.beds.renter.createdAt`, `rooms->beds->renter`.`updated_at` AS `rooms.beds.renter.updatedAt` FROM `Floor` AS `Floor` LEFT OUTER JOIN `Room` AS `rooms` ON `Floor`.`id` = `rooms`.`floor_id` LEFT OUTER JOIN `Bed` AS `rooms->beds` ON `rooms`.`id` = `rooms->beds`.`room_id` LEFT OUTER JOIN `Renter` AS `rooms->beds->renter` ON `rooms->beds`.`id` = `rooms->beds->renter`.`bed_id`; Executing (default): SELECT `id`, `name`, `email`, `password`, `role`, `permissions`, `department`, `phone`, `avatar`, `is_active`, `last_login`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `User` AS `User` WHERE `User`.`id` = '8cc00eb8-378e-4f89-8141-f87aa35fd51d'; Executing (default): SELECT `id`, `name`, `email`, `password`, `role`, `permissions`, `department`, `phone`, `avatar`, `is_active`, `last_login`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `User` AS `User` WHERE `User`.`id` = '8cc00eb8-378e-4f89-8141-f87aa35fd51d'; Executing (default): SELECT `id`, `renter_id`, `amount`, `due_date`, `paid_date`, `status`, `month`, `year`, `payment_method`, `transaction_id`, `late_fee`, `discount`, `notes`, `receipt_number`, `collected_by`, `renter_name` AS `renterName`, `room_number`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `RentPayment` AS `RentPayment`; Executing (default): SELECT `Room`.`id`, `Room`.`building_id`, `Room`.`floor_id`, `Room`.`room_number`, `Room`.`total_beds`, `Room`.`occupied_beds`, `Room`.`rent_per_bed`, `Room`.`facilities`, `Room`.`room_type`, `Room`.`area`, `Room`.`has_balcony`, `Room`.`has_attached_bathroom`, `Room`.`furnishing_status`, `Room`.`condition`, `Room`.`last_cleaned`, `Room`.`security_deposit`, `Room`.`available_from`, `Room`.`created_at` AS `createdAt`, `Room`.`updated_at` AS `updatedAt`, `building`.`id` AS `building.id`, `building`.`name` AS `building.name`, `building`.`address` AS `building.address`, `building`.`floors` AS `building.floors`, `building`.`total_rooms` AS `building.total_rooms`, `building`.`total_beds` AS `building.total_beds`, `building`.`parking_spaces` AS `building.parking_spaces`, `building`.`occupied_beds` AS `building.occupied_beds`, `building`.`manager` AS `building.manager`, `building`.`amenities` AS `building.amenities`, `building`.`monthly_revenue` AS `building.monthly_revenue`, `building`.`building_type` AS `building.building_type`, `building`.`year_built` AS `building.year_built`, `building`.`total_area` AS `building.total_area`, `building`.`elevators` AS `building.elevators`, `building`.`security_features` AS `building.security_features`, `building`.`contact_person` AS `building.contact_person`, `building`.`contact_phone` AS `building.contact_phone`, `building`.`created_at` AS `building.createdAt`, `building`.`updated_at` AS `building.updatedAt`, `floor`.`id` AS `floor.id`, `floor`.`building_id` AS `floor.building_id`, `floor`.`floor_number` AS `floor.floor_number`, `floor`.`total_rooms` AS `floor.total_rooms`, `floor`.`occupied_rooms` AS `floor.occupied_rooms`, `floor`.`floor_type` AS `floor.floor_type`, `floor`.`amenities` AS `floor.amenities`, `floor`.`maintenance_status` AS `floor.maintenance_status`, `floor`.`last_inspection` AS `floor.last_inspection`, `floor`.`notes` AS `floor.notes`, `floor`.`created_at` AS `floor.createdAt`, `floor`.`updated_at` AS `floor.updatedAt`, `beds`.`id` AS `beds.id`, `beds`.`building_id` AS `beds.building_id`, `beds`.`floor_id` AS `beds.floor_id`, `beds`.`room_id` AS `beds.room_id`, `beds`.`bed_number` AS `beds.bed_number`, `beds`.`is_occupied` AS `beds.is_occupied`, `beds`.`monthly_rent` AS `beds.monthly_rent`, `beds`.`status` AS `beds.status`, `beds`.`bed_type` AS `beds.bed_type`, `beds`.`last_cleaned` AS `beds.last_cleaned`, `beds`.`notes` AS `beds.notes`, `beds`.`reserved_until` AS `beds.reserved_until`, `beds`.`maintenance_scheduled` AS `beds.maintenance_scheduled`, `beds`.`created_at` AS `beds.createdAt`, `beds`.`updated_at` AS `beds.updatedAt`, `beds->renter`.`id` AS `beds.renter.id`, `beds->renter`.`name` AS `beds.renter.name`, `beds->renter`.`email` AS `beds.renter.email`, `beds->renter`.`phone` AS `beds.renter.phone`, `beds->renter`.`alternate_phone` AS `beds.renter.alternate_phone`, `beds->renter`.`nid` AS `beds.renter.nid`, `beds->renter`.`building_id` AS `beds.renter.building_id`, `beds->renter`.`floor_id` AS `beds.renter.floor_id`, `beds->renter`.`room_id` AS `beds.renter.room_id`, `beds->renter`.`bed_id` AS `beds.renter.bed_id`, `beds->renter`.`rent_amount` AS `beds.renter.rent_amount`, `beds->renter`.`security_deposit` AS `beds.renter.security_deposit`, `beds->renter`.`check_in_date` AS `beds.renter.check_in_date`, `beds->renter`.`check_out_date` AS `beds.renter.check_out_date`, `beds->renter`.`lease_start_date` AS `beds.renter.lease_start_date`, `beds->renter`.`lease_end_date` AS `beds.renter.lease_end_date`, `beds->renter`.`status` AS `beds.renter.status`, `beds->renter`.`emergency_contact` AS `beds.renter.emergency_contact`, `beds->renter`.`emergency_relation` AS `beds.renter.emergency_relation`, `beds->renter`.`profile_photo` AS `beds.renter.profile_photo`, `beds->renter`.`occupation` AS `beds.renter.occupation`, `beds->renter`.`company` AS `beds.renter.company`, `beds->renter`.`monthly_income` AS `beds.renter.monthly_income`, `beds->renter`.`previous_address` AS `beds.renter.previous_address`, `beds->renter`.`references` AS `beds.renter.references`, `beds->renter`.`notice_period` AS `beds.renter.notice_period`, `beds->renter`.`preferences` AS `beds.renter.preferences`, `beds->renter`.`payment_history` AS `beds.renter.payment_history`, `beds->renter`.`created_at` AS `beds.renter.createdAt`, `beds->renter`.`updated_at` AS `beds.renter.updatedAt` FROM `Room` AS `Room` LEFT OUTER JOIN `Building` AS `building` ON `Room`.`building_id` = `building`.`id` LEFT OUTER JOIN `Floor` AS `floor` ON `Room`.`floor_id` = `floor`.`id` LEFT OUTER JOIN `Bed` AS `beds` ON `Room`.`id` = `beds`.`room_id` LEFT OUTER JOIN `Renter` AS `beds->renter` ON `beds`.`id` = `beds->renter`.`bed_id`; Executing (default): SELECT `id`, `name`, `email`, `password`, `role`, `permissions`, `department`, `phone`, `avatar`, `is_active`, `last_login`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `User` AS `User` WHERE `User`.`id` = '8cc00eb8-378e-4f89-8141-f87aa35fd51d'; Executing (default): SELECT `id`, `name`, `email`, `password`, `role`, `permissions`, `department`, `phone`, `avatar`, `is_active`, `last_login`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `User` AS `User` WHERE `User`.`id` = '8cc00eb8-378e-4f89-8141-f87aa35fd51d'; Executing (default): SELECT `id`, `building_id`, `floor_id`, `room_id`, `bed_id`, `type`, `category`, `description`, `priority`, `status`, `assigned_to`, `cost`, `estimated_cost`, `scheduled_date`, `completed_date`, `notes`, `images`, `warranty`, `next_maintenance_date`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `Maintenance` AS `Maintenance`; Executing (default): SELECT `id`, `building_id`, `floor_id`, `category`, `subcategory`, `description`, `amount`, `date`, `vendor`, `receipt`, `approved_by`, `payment_method`, `is_recurring`, `recurring_frequency`, `budget_category`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `Expense` AS `Expense`; Executing (default): SELECT `id`, `title`, `content`, `type`, `priority`, `target_audience`, `target_ids`, `building_id`, `floor_id`, `created_by`, `expiry_date`, `is_active`, `read_by`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `Notice` AS `Notice`; Executing (default): SELECT `id`, `visitor_name`, `visitor_phone`, `visiting_renter_id`, `check_in_time`, `check_out_time`, `purpose`, `approved_by`, `id_verified`, `vehicle_number`, `notes`, `visiting_renter_name`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `Visitor` AS `Visitor`; Executing (default): SELECT `id`, `name`, `value`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `Settings` AS `Settings`; Executing (default): SELECT `id`, `name`, `email`, `password`, `role`, `permissions`, `department`, `phone`, `avatar`, `is_active`, `last_login`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `User` AS `User` WHERE `User`.`id` = '8cc00eb8-378e-4f89-8141-f87aa35fd51d'; Executing (default): SELECT `id`, `name`, `email`, `role`, `permissions`, `department`, `phone`, `avatar`, `is_active`, `last_login`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `User` AS `User` WHERE `User`.`id` = '8cc00eb8-378e-4f89-8141-f87aa35fd51d'; Executing (default): SELECT `id`, `name`, `email`, `password`, `role`, `permissions`, `department`, `phone`, `avatar`, `is_active`, `last_login`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `User` AS `User` WHERE `User`.`id` = '8cc00eb8-378e-4f89-8141-f87aa35fd51d'; Executing (default): SELECT `Building`.`id`, `Building`.`name`, `Building`.`address`, `Building`.`floors`, `Building`.`total_rooms`, `Building`.`total_beds`, `Building`.`parking_spaces`, `Building`.`occupied_beds`, `Building`.`manager`, `Building`.`amenities`, `Building`.`monthly_revenue`, `Building`.`building_type`, `Building`.`year_built`, `Building`.`total_area`, `Building`.`elevators`, `Building`.`security_features`, `Building`.`contact_person`, `Building`.`contact_phone`, `Building`.`created_at` AS `createdAt`, `Building`.`updated_at` AS `updatedAt`, `buildingFloors`.`id` AS `buildingFloors.id`, `buildingFloors`.`building_id` AS `buildingFloors.building_id`, `buildingFloors`.`floor_number` AS `buildingFloors.floor_number`, `buildingFloors`.`total_rooms` AS `buildingFloors.total_rooms`, `buildingFloors`.`occupied_rooms` AS `buildingFloors.occupied_rooms`, `buildingFloors`.`floor_type` AS `buildingFloors.floor_type`, `buildingFloors`.`amenities` AS `buildingFloors.amenities`, `buildingFloors`.`maintenance_status` AS `buildingFloors.maintenance_status`, `buildingFloors`.`last_inspection` AS `buildingFloors.last_inspection`, `buildingFloors`.`notes` AS `buildingFloors.notes`, `buildingFloors`.`created_at` AS `buildingFloors.createdAt`, `buildingFloors`.`updated_at` AS `buildingFloors.updatedAt`, `buildingFloors->rooms`.`id` AS `buildingFloors.rooms.id`, `buildingFloors->rooms`.`building_id` AS `buildingFloors.rooms.building_id`, `buildingFloors->rooms`.`floor_id` AS `buildingFloors.rooms.floor_id`, `buildingFloors->rooms`.`room_number` AS `buildingFloors.rooms.room_number`, `buildingFloors->rooms`.`total_beds` AS `buildingFloors.rooms.total_beds`, `buildingFloors->rooms`.`occupied_beds` AS `buildingFloors.rooms.occupied_beds`, `buildingFloors->rooms`.`rent_per_bed` AS `buildingFloors.rooms.rent_per_bed`, `buildingFloors->rooms`.`facilities` AS `buildingFloors.rooms.facilities`, `buildingFloors->rooms`.`room_type` AS `buildingFloors.rooms.room_type`, `buildingFloors->rooms`.`area` AS `buildingFloors.rooms.area`, `buildingFloors->rooms`.`has_balcony` AS `buildingFloors.rooms.has_balcony`, `buildingFloors->rooms`.`has_attached_bathroom` AS `buildingFloors.rooms.has_attached_bathroom`, `buildingFloors->rooms`.`furnishing_status` AS `buildingFloors.rooms.furnishing_status`, `buildingFloors->rooms`.`condition` AS `buildingFloors.rooms.condition`, `buildingFloors->rooms`.`last_cleaned` AS `buildingFloors.rooms.last_cleaned`, `buildingFloors->rooms`.`security_deposit` AS `buildingFloors.rooms.security_deposit`, `buildingFloors->rooms`.`available_from` AS `buildingFloors.rooms.available_from`, `buildingFloors->rooms`.`created_at` AS `buildingFloors.rooms.createdAt`, `buildingFloors->rooms`.`updated_at` AS `buildingFloors.rooms.updatedAt`, `buildingFloors->rooms->beds`.`id` AS `buildingFloors.rooms.beds.id`, `buildingFloors->rooms->beds`.`building_id` AS `buildingFloors.rooms.beds.building_id`, `buildingFloors->rooms->beds`.`floor_id` AS `buildingFloors.rooms.beds.floor_id`, `buildingFloors->rooms->beds`.`room_id` AS `buildingFloors.rooms.beds.room_id`, `buildingFloors->rooms->beds`.`bed_number` AS `buildingFloors.rooms.beds.bed_number`, `buildingFloors->rooms->beds`.`is_occupied` AS `buildingFloors.rooms.beds.is_occupied`, `buildingFloors->rooms->beds`.`monthly_rent` AS `buildingFloors.rooms.beds.monthly_rent`, `buildingFloors->rooms->beds`.`status` AS `buildingFloors.rooms.beds.status`, `buildingFloors->rooms->beds`.`bed_type` AS `buildingFloors.rooms.beds.bed_type`, `buildingFloors->rooms->beds`.`last_cleaned` AS `buildingFloors.rooms.beds.last_cleaned`, `buildingFloors->rooms->beds`.`notes` AS `buildingFloors.rooms.beds.notes`, `buildingFloors->rooms->beds`.`reserved_until` AS `buildingFloors.rooms.beds.reserved_until`, `buildingFloors->rooms->beds`.`maintenance_scheduled` AS `buildingFloors.rooms.beds.maintenance_scheduled`, `buildingFloors->rooms->beds`.`created_at` AS `buildingFloors.rooms.beds.createdAt`, `buildingFloors->rooms->beds`.`updated_at` AS `buildingFloors.rooms.beds.updatedAt`, `buildingFloors->rooms->beds->renter`.`id` AS `buildingFloors.rooms.beds.renter.id`, `buildingFloors->rooms->beds->renter`.`name` AS `buildingFloors.rooms.beds.renter.name`, `buildingFloors->rooms->beds->renter`.`email` AS `buildingFloors.rooms.beds.renter.email`, `buildingFloors->rooms->beds->renter`.`phone` AS `buildingFloors.rooms.beds.renter.phone`, `buildingFloors->rooms->beds->renter`.`alternate_phone` AS `buildingFloors.rooms.beds.renter.alternate_phone`, `buildingFloors->rooms->beds->renter`.`nid` AS `buildingFloors.rooms.beds.renter.nid`, `buildingFloors->rooms->beds->renter`.`building_id` AS `buildingFloors.rooms.beds.renter.building_id`, `buildingFloors->rooms->beds->renter`.`floor_id` AS `buildingFloors.rooms.beds.renter.floor_id`, `buildingFloors->rooms->beds->renter`.`room_id` AS `buildingFloors.rooms.beds.renter.room_id`, `buildingFloors->rooms->beds->renter`.`bed_id` AS `buildingFloors.rooms.beds.renter.bed_id`, `buildingFloors->rooms->beds->renter`.`rent_amount` AS `buildingFloors.rooms.beds.renter.rent_amount`, `buildingFloors->rooms->beds->renter`.`security_deposit` AS `buildingFloors.rooms.beds.renter.security_deposit`, `buildingFloors->rooms->beds->renter`.`check_in_date` AS `buildingFloors.rooms.beds.renter.check_in_date`, `buildingFloors->rooms->beds->renter`.`check_out_date` AS `buildingFloors.rooms.beds.renter.check_out_date`, `buildingFloors->rooms->beds->renter`.`lease_start_date` AS `buildingFloors.rooms.beds.renter.lease_start_date`, `buildingFloors->rooms->beds->renter`.`lease_end_date` AS `buildingFloors.rooms.beds.renter.lease_end_date`, `buildingFloors->rooms->beds->renter`.`status` AS `buildingFloors.rooms.beds.renter.status`, `buildingFloors->rooms->beds->renter`.`emergency_contact` AS `buildingFloors.rooms.beds.renter.emergency_contact`, `buildingFloors->rooms->beds->renter`.`emergency_relation` AS `buildingFloors.rooms.beds.renter.emergency_relation`, `buildingFloors->rooms->beds->renter`.`profile_photo` AS `buildingFloors.rooms.beds.renter.profile_photo`, `buildingFloors->rooms->beds->renter`.`occupation` AS `buildingFloors.rooms.beds.renter.occupation`, `buildingFloors->rooms->beds->renter`.`company` AS `buildingFloors.rooms.beds.renter.company`, `buildingFloors->rooms->beds->renter`.`monthly_income` AS `buildingFloors.rooms.beds.renter.monthly_income`, `buildingFloors->rooms->beds->renter`.`previous_address` AS `buildingFloors.rooms.beds.renter.previous_address`, `buildingFloors->rooms->beds->renter`.`references` AS `buildingFloors.rooms.beds.renter.references`, `buildingFloors->rooms->beds->renter`.`notice_period` AS `buildingFloors.rooms.beds.renter.notice_period`, `buildingFloors->rooms->beds->renter`.`preferences` AS `buildingFloors.rooms.beds.renter.preferences`, `buildingFloors->rooms->beds->renter`.`payment_history` AS `buildingFloors.rooms.beds.renter.payment_history`, `buildingFloors->rooms->beds->renter`.`created_at` AS `buildingFloors.rooms.beds.renter.createdAt`, `buildingFloors->rooms->beds->renter`.`updated_at` AS `buildingFloors.rooms.beds.renter.updatedAt` FROM `Building` AS `Building` LEFT OUTER JOIN `Floor` AS `buildingFloors` ON `Building`.`id` = `buildingFloors`.`building_id` LEFT OUTER JOIN `Room` AS `buildingFloors->rooms` ON `buildingFloors`.`id` = `buildingFloors->rooms`.`floor_id` LEFT OUTER JOIN `Bed` AS `buildingFloors->rooms->beds` ON `buildingFloors->rooms`.`id` = `buildingFloors->rooms->beds`.`room_id` LEFT OUTER JOIN `Renter` AS `buildingFloors->rooms->beds->renter` ON `buildingFloors->rooms->beds`.`id` = `buildingFloors->rooms->beds->renter`.`bed_id` ORDER BY `createdAt` DESC; Executing (default): SELECT `id`, `name`, `email`, `password`, `role`, `permissions`, `department`, `phone`, `avatar`, `is_active`, `last_login`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `User` AS `User` WHERE `User`.`id` = '8cc00eb8-378e-4f89-8141-f87aa35fd51d'; Executing (default): SELECT `Floor`.`id`, `Floor`.`building_id`, `Floor`.`floor_number`, `Floor`.`total_rooms`, `Floor`.`occupied_rooms`, `Floor`.`floor_type`, `Floor`.`amenities`, `Floor`.`maintenance_status`, `Floor`.`last_inspection`, `Floor`.`notes`, `Floor`.`created_at` AS `createdAt`, `Floor`.`updated_at` AS `updatedAt`, `rooms`.`id` AS `rooms.id`, `rooms`.`building_id` AS `rooms.building_id`, `rooms`.`floor_id` AS `rooms.floor_id`, `rooms`.`room_number` AS `rooms.room_number`, `rooms`.`total_beds` AS `rooms.total_beds`, `rooms`.`occupied_beds` AS `rooms.occupied_beds`, `rooms`.`rent_per_bed` AS `rooms.rent_per_bed`, `rooms`.`facilities` AS `rooms.facilities`, `rooms`.`room_type` AS `rooms.room_type`, `rooms`.`area` AS `rooms.area`, `rooms`.`has_balcony` AS `rooms.has_balcony`, `rooms`.`has_attached_bathroom` AS `rooms.has_attached_bathroom`, `rooms`.`furnishing_status` AS `rooms.furnishing_status`, `rooms`.`condition` AS `rooms.condition`, `rooms`.`last_cleaned` AS `rooms.last_cleaned`, `rooms`.`security_deposit` AS `rooms.security_deposit`, `rooms`.`available_from` AS `rooms.available_from`, `rooms`.`created_at` AS `rooms.createdAt`, `rooms`.`updated_at` AS `rooms.updatedAt`, `rooms->beds`.`id` AS `rooms.beds.id`, `rooms->beds`.`building_id` AS `rooms.beds.building_id`, `rooms->beds`.`floor_id` AS `rooms.beds.floor_id`, `rooms->beds`.`room_id` AS `rooms.beds.room_id`, `rooms->beds`.`bed_number` AS `rooms.beds.bed_number`, `rooms->beds`.`is_occupied` AS `rooms.beds.is_occupied`, `rooms->beds`.`monthly_rent` AS `rooms.beds.monthly_rent`, `rooms->beds`.`status` AS `rooms.beds.status`, `rooms->beds`.`bed_type` AS `rooms.beds.bed_type`, `rooms->beds`.`last_cleaned` AS `rooms.beds.last_cleaned`, `rooms->beds`.`notes` AS `rooms.beds.notes`, `rooms->beds`.`reserved_until` AS `rooms.beds.reserved_until`, `rooms->beds`.`maintenance_scheduled` AS `rooms.beds.maintenance_scheduled`, `rooms->beds`.`created_at` AS `rooms.beds.createdAt`, `rooms->beds`.`updated_at` AS `rooms.beds.updatedAt`, `rooms->beds->renter`.`id` AS `rooms.beds.renter.id`, `rooms->beds->renter`.`name` AS `rooms.beds.renter.name`, `rooms->beds->renter`.`email` AS `rooms.beds.renter.email`, `rooms->beds->renter`.`phone` AS `rooms.beds.renter.phone`, `rooms->beds->renter`.`alternate_phone` AS `rooms.beds.renter.alternate_phone`, `rooms->beds->renter`.`nid` AS `rooms.beds.renter.nid`, `rooms->beds->renter`.`building_id` AS `rooms.beds.renter.building_id`, `rooms->beds->renter`.`floor_id` AS `rooms.beds.renter.floor_id`, `rooms->beds->renter`.`room_id` AS `rooms.beds.renter.room_id`, `rooms->beds->renter`.`bed_id` AS `rooms.beds.renter.bed_id`, `rooms->beds->renter`.`rent_amount` AS `rooms.beds.renter.rent_amount`, `rooms->beds->renter`.`security_deposit` AS `rooms.beds.renter.security_deposit`, `rooms->beds->renter`.`check_in_date` AS `rooms.beds.renter.check_in_date`, `rooms->beds->renter`.`check_out_date` AS `rooms.beds.renter.check_out_date`, `rooms->beds->renter`.`lease_start_date` AS `rooms.beds.renter.lease_start_date`, `rooms->beds->renter`.`lease_end_date` AS `rooms.beds.renter.lease_end_date`, `rooms->beds->renter`.`status` AS `rooms.beds.renter.status`, `rooms->beds->renter`.`emergency_contact` AS `rooms.beds.renter.emergency_contact`, `rooms->beds->renter`.`emergency_relation` AS `rooms.beds.renter.emergency_relation`, `rooms->beds->renter`.`profile_photo` AS `rooms.beds.renter.profile_photo`, `rooms->beds->renter`.`occupation` AS `rooms.beds.renter.occupation`, `rooms->beds->renter`.`company` AS `rooms.beds.renter.company`, `rooms->beds->renter`.`monthly_income` AS `rooms.beds.renter.monthly_income`, `rooms->beds->renter`.`previous_address` AS `rooms.beds.renter.previous_address`, `rooms->beds->renter`.`references` AS `rooms.beds.renter.references`, `rooms->beds->renter`.`notice_period` AS `rooms.beds.renter.notice_period`, `rooms->beds->renter`.`preferences` AS `rooms.beds.renter.preferences`, `rooms->beds->renter`.`payment_history` AS `rooms.beds.renter.payment_history`, `rooms->beds->renter`.`created_at` AS `rooms.beds.renter.createdAt`, `rooms->beds->renter`.`updated_at` AS `rooms.beds.renter.updatedAt` FROM `Floor` AS `Floor` LEFT OUTER JOIN `Room` AS `rooms` ON `Floor`.`id` = `rooms`.`floor_id` LEFT OUTER JOIN `Bed` AS `rooms->beds` ON `rooms`.`id` = `rooms->beds`.`room_id` LEFT OUTER JOIN `Renter` AS `rooms->beds->renter` ON `rooms->beds`.`id` = `rooms->beds->renter`.`bed_id`; Executing (default): SELECT `id`, `name`, `email`, `password`, `role`, `permissions`, `department`, `phone`, `avatar`, `is_active`, `last_login`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `User` AS `User` WHERE `User`.`id` = '8cc00eb8-378e-4f89-8141-f87aa35fd51d'; Executing (default): SELECT `Room`.`id`, `Room`.`building_id`, `Room`.`floor_id`, `Room`.`room_number`, `Room`.`total_beds`, `Room`.`occupied_beds`, `Room`.`rent_per_bed`, `Room`.`facilities`, `Room`.`room_type`, `Room`.`area`, `Room`.`has_balcony`, `Room`.`has_attached_bathroom`, `Room`.`furnishing_status`, `Room`.`condition`, `Room`.`last_cleaned`, `Room`.`security_deposit`, `Room`.`available_from`, `Room`.`created_at` AS `createdAt`, `Room`.`updated_at` AS `updatedAt`, `building`.`id` AS `building.id`, `building`.`name` AS `building.name`, `building`.`address` AS `building.address`, `building`.`floors` AS `building.floors`, `building`.`total_rooms` AS `building.total_rooms`, `building`.`total_beds` AS `building.total_beds`, `building`.`parking_spaces` AS `building.parking_spaces`, `building`.`occupied_beds` AS `building.occupied_beds`, `building`.`manager` AS `building.manager`, `building`.`amenities` AS `building.amenities`, `building`.`monthly_revenue` AS `building.monthly_revenue`, `building`.`building_type` AS `building.building_type`, `building`.`year_built` AS `building.year_built`, `building`.`total_area` AS `building.total_area`, `building`.`elevators` AS `building.elevators`, `building`.`security_features` AS `building.security_features`, `building`.`contact_person` AS `building.contact_person`, `building`.`contact_phone` AS `building.contact_phone`, `building`.`created_at` AS `building.createdAt`, `building`.`updated_at` AS `building.updatedAt`, `floor`.`id` AS `floor.id`, `floor`.`building_id` AS `floor.building_id`, `floor`.`floor_number` AS `floor.floor_number`, `floor`.`total_rooms` AS `floor.total_rooms`, `floor`.`occupied_rooms` AS `floor.occupied_rooms`, `floor`.`floor_type` AS `floor.floor_type`, `floor`.`amenities` AS `floor.amenities`, `floor`.`maintenance_status` AS `floor.maintenance_status`, `floor`.`last_inspection` AS `floor.last_inspection`, `floor`.`notes` AS `floor.notes`, `floor`.`created_at` AS `floor.createdAt`, `floor`.`updated_at` AS `floor.updatedAt`, `beds`.`id` AS `beds.id`, `beds`.`building_id` AS `beds.building_id`, `beds`.`floor_id` AS `beds.floor_id`, `beds`.`room_id` AS `beds.room_id`, `beds`.`bed_number` AS `beds.bed_number`, `beds`.`is_occupied` AS `beds.is_occupied`, `beds`.`monthly_rent` AS `beds.monthly_rent`, `beds`.`status` AS `beds.status`, `beds`.`bed_type` AS `beds.bed_type`, `beds`.`last_cleaned` AS `beds.last_cleaned`, `beds`.`notes` AS `beds.notes`, `beds`.`reserved_until` AS `beds.reserved_until`, `beds`.`maintenance_scheduled` AS `beds.maintenance_scheduled`, `beds`.`created_at` AS `beds.createdAt`, `beds`.`updated_at` AS `beds.updatedAt`, `beds->renter`.`id` AS `beds.renter.id`, `beds->renter`.`name` AS `beds.renter.name`, `beds->renter`.`email` AS `beds.renter.email`, `beds->renter`.`phone` AS `beds.renter.phone`, `beds->renter`.`alternate_phone` AS `beds.renter.alternate_phone`, `beds->renter`.`nid` AS `beds.renter.nid`, `beds->renter`.`building_id` AS `beds.renter.building_id`, `beds->renter`.`floor_id` AS `beds.renter.floor_id`, `beds->renter`.`room_id` AS `beds.renter.room_id`, `beds->renter`.`bed_id` AS `beds.renter.bed_id`, `beds->renter`.`rent_amount` AS `beds.renter.rent_amount`, `beds->renter`.`security_deposit` AS `beds.renter.security_deposit`, `beds->renter`.`check_in_date` AS `beds.renter.check_in_date`, `beds->renter`.`check_out_date` AS `beds.renter.check_out_date`, `beds->renter`.`lease_start_date` AS `beds.renter.lease_start_date`, `beds->renter`.`lease_end_date` AS `beds.renter.lease_end_date`, `beds->renter`.`status` AS `beds.renter.status`, `beds->renter`.`emergency_contact` AS `beds.renter.emergency_contact`, `beds->renter`.`emergency_relation` AS `beds.renter.emergency_relation`, `beds->renter`.`profile_photo` AS `beds.renter.profile_photo`, `beds->renter`.`occupation` AS `beds.renter.occupation`, `beds->renter`.`company` AS `beds.renter.company`, `beds->renter`.`monthly_income` AS `beds.renter.monthly_income`, `beds->renter`.`previous_address` AS `beds.renter.previous_address`, `beds->renter`.`references` AS `beds.renter.references`, `beds->renter`.`notice_period` AS `beds.renter.notice_period`, `beds->renter`.`preferences` AS `beds.renter.preferences`, `beds->renter`.`payment_history` AS `beds.renter.payment_history`, `beds->renter`.`created_at` AS `beds.renter.createdAt`, `beds->renter`.`updated_at` AS `beds.renter.updatedAt` FROM `Room` AS `Room` LEFT OUTER JOIN `Building` AS `building` ON `Room`.`building_id` = `building`.`id` LEFT OUTER JOIN `Floor` AS `floor` ON `Room`.`floor_id` = `floor`.`id` LEFT OUTER JOIN `Bed` AS `beds` ON `Room`.`id` = `beds`.`room_id` LEFT OUTER JOIN `Renter` AS `beds->renter` ON `beds`.`id` = `beds->renter`.`bed_id`; Executing (default): SELECT `Renter`.`id`, `Renter`.`name`, `Renter`.`email`, `Renter`.`phone`, `Renter`.`alternate_phone`, `Renter`.`nid`, `Renter`.`building_id`, `Renter`.`floor_id`, `Renter`.`room_id`, `Renter`.`bed_id`, `Renter`.`rent_amount`, `Renter`.`security_deposit`, `Renter`.`check_in_date`, `Renter`.`check_out_date`, `Renter`.`lease_start_date`, `Renter`.`lease_end_date`, `Renter`.`status`, `Renter`.`emergency_contact`, `Renter`.`emergency_relation`, `Renter`.`profile_photo`, `Renter`.`occupation`, `Renter`.`company`, `Renter`.`monthly_income`, `Renter`.`previous_address`, `Renter`.`references`, `Renter`.`notice_period`, `Renter`.`preferences`, `Renter`.`payment_history`, `Renter`.`created_at` AS `createdAt`, `Renter`.`updated_at` AS `updatedAt`, `room`.`id` AS `room.id`, `room`.`building_id` AS `room.building_id`, `room`.`floor_id` AS `room.floor_id`, `room`.`room_number` AS `room.room_number`, `room`.`total_beds` AS `room.total_beds`, `room`.`occupied_beds` AS `room.occupied_beds`, `room`.`rent_per_bed` AS `room.rent_per_bed`, `room`.`facilities` AS `room.facilities`, `room`.`room_type` AS `room.room_type`, `room`.`area` AS `room.area`, `room`.`has_balcony` AS `room.has_balcony`, `room`.`has_attached_bathroom` AS `room.has_attached_bathroom`, `room`.`furnishing_status` AS `room.furnishing_status`, `room`.`condition` AS `room.condition`, `room`.`last_cleaned` AS `room.last_cleaned`, `room`.`security_deposit` AS `room.security_deposit`, `room`.`available_from` AS `room.available_from`, `room`.`created_at` AS `room.createdAt`, `room`.`updated_at` AS `room.updatedAt`, `documents`.`id` AS `documents.id`, `documents`.`renter_id` AS `documents.renter_id`, `documents`.`type` AS `documents.type`, `documents`.`file_name` AS `documents.file_name`, `documents`.`file_url` AS `documents.file_url`, `documents`.`file_size` AS `documents.file_size`, `documents`.`mime_type` AS `documents.mime_type`, `documents`.`description` AS `documents.description`, `documents`.`created_at` AS `documents.createdAt`, `documents`.`updated_at` AS `documents.updatedAt` FROM `Renter` AS `Renter` LEFT OUTER JOIN `Room` AS `room` ON `Renter`.`room_id` = `room`.`id` LEFT OUTER JOIN `RenterDocument` AS `documents` ON `Renter`.`id` = `documents`.`renter_id`; Executing (default): SELECT `id`, `name`, `email`, `password`, `role`, `permissions`, `department`, `phone`, `avatar`, `is_active`, `last_login`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `User` AS `User` WHERE `User`.`id` = '8cc00eb8-378e-4f89-8141-f87aa35fd51d'; Executing (default): SELECT `id`, `name`, `email`, `password`, `role`, `permissions`, `department`, `phone`, `avatar`, `is_active`, `last_login`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `User` AS `User` WHERE `User`.`id` = '8cc00eb8-378e-4f89-8141-f87aa35fd51d'; Executing (default): SELECT `id`, `renter_id`, `amount`, `due_date`, `paid_date`, `status`, `month`, `year`, `payment_method`, `transaction_id`, `late_fee`, `discount`, `notes`, `receipt_number`, `collected_by`, `renter_name` AS `renterName`, `room_number`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `RentPayment` AS `RentPayment`; Executing (default): SELECT `Bed`.`id`, `Bed`.`building_id`, `Bed`.`floor_id`, `Bed`.`room_id`, `Bed`.`bed_number`, `Bed`.`is_occupied`, `Bed`.`monthly_rent`, `Bed`.`status`, `Bed`.`bed_type`, `Bed`.`last_cleaned`, `Bed`.`notes`, `Bed`.`reserved_until`, `Bed`.`maintenance_scheduled`, `Bed`.`created_at` AS `createdAt`, `Bed`.`updated_at` AS `updatedAt`, `renter`.`id` AS `renter.id`, `renter`.`name` AS `renter.name`, `renter`.`email` AS `renter.email`, `renter`.`phone` AS `renter.phone`, `renter`.`alternate_phone` AS `renter.alternate_phone`, `renter`.`nid` AS `renter.nid`, `renter`.`building_id` AS `renter.building_id`, `renter`.`floor_id` AS `renter.floor_id`, `renter`.`room_id` AS `renter.room_id`, `renter`.`bed_id` AS `renter.bed_id`, `renter`.`rent_amount` AS `renter.rent_amount`, `renter`.`security_deposit` AS `renter.security_deposit`, `renter`.`check_in_date` AS `renter.check_in_date`, `renter`.`check_out_date` AS `renter.check_out_date`, `renter`.`lease_start_date` AS `renter.lease_start_date`, `renter`.`lease_end_date` AS `renter.lease_end_date`, `renter`.`status` AS `renter.status`, `renter`.`emergency_contact` AS `renter.emergency_contact`, `renter`.`emergency_relation` AS `renter.emergency_relation`, `renter`.`profile_photo` AS `renter.profile_photo`, `renter`.`occupation` AS `renter.occupation`, `renter`.`company` AS `renter.company`, `renter`.`monthly_income` AS `renter.monthly_income`, `renter`.`previous_address` AS `renter.previous_address`, `renter`.`references` AS `renter.references`, `renter`.`notice_period` AS `renter.notice_period`, `renter`.`preferences` AS `renter.preferences`, `renter`.`payment_history` AS `renter.payment_history`, `renter`.`created_at` AS `renter.createdAt`, `renter`.`updated_at` AS `renter.updatedAt`, `room`.`id` AS `room.id`, `room`.`building_id` AS `room.building_id`, `room`.`floor_id` AS `room.floor_id`, `room`.`room_number` AS `room.room_number`, `room`.`total_beds` AS `room.total_beds`, `room`.`occupied_beds` AS `room.occupied_beds`, `room`.`rent_per_bed` AS `room.rent_per_bed`, `room`.`facilities` AS `room.facilities`, `room`.`room_type` AS `room.room_type`, `room`.`area` AS `room.area`, `room`.`has_balcony` AS `room.has_balcony`, `room`.`has_attached_bathroom` AS `room.has_attached_bathroom`, `room`.`furnishing_status` AS `room.furnishing_status`, `room`.`condition` AS `room.condition`, `room`.`last_cleaned` AS `room.last_cleaned`, `room`.`security_deposit` AS `room.security_deposit`, `room`.`available_from` AS `room.available_from`, `room`.`created_at` AS `room.createdAt`, `room`.`updated_at` AS `room.updatedAt`, `room->floor`.`id` AS `room.floor.id`, `room->floor`.`building_id` AS `room.floor.building_id`, `room->floor`.`floor_number` AS `room.floor.floor_number`, `room->floor`.`total_rooms` AS `room.floor.total_rooms`, `room->floor`.`occupied_rooms` AS `room.floor.occupied_rooms`, `room->floor`.`floor_type` AS `room.floor.floor_type`, `room->floor`.`amenities` AS `room.floor.amenities`, `room->floor`.`maintenance_status` AS `room.floor.maintenance_status`, `room->floor`.`last_inspection` AS `room.floor.last_inspection`, `room->floor`.`notes` AS `room.floor.notes`, `room->floor`.`created_at` AS `room.floor.createdAt`, `room->floor`.`updated_at` AS `room.floor.updatedAt`, `room->floor->building`.`id` AS `room.floor.building.id`, `room->floor->building`.`name` AS `room.floor.building.name`, `room->floor->building`.`address` AS `room.floor.building.address`, `room->floor->building`.`floors` AS `room.floor.building.floors`, `room->floor->building`.`total_rooms` AS `room.floor.building.total_rooms`, `room->floor->building`.`total_beds` AS `room.floor.building.total_beds`, `room->floor->building`.`parking_spaces` AS `room.floor.building.parking_spaces`, `room->floor->building`.`occupied_beds` AS `room.floor.building.occupied_beds`, `room->floor->building`.`manager` AS `room.floor.building.manager`, `room->floor->building`.`amenities` AS `room.floor.building.amenities`, `room->floor->building`.`monthly_revenue` AS `room.floor.building.monthly_revenue`, `room->floor->building`.`building_type` AS `room.floor.building.building_type`, `room->floor->building`.`year_built` AS `room.floor.building.year_built`, `room->floor->building`.`total_area` AS `room.floor.building.total_area`, `room->floor->building`.`elevators` AS `room.floor.building.elevators`, `room->floor->building`.`security_features` AS `room.floor.building.security_features`, `room->floor->building`.`contact_person` AS `room.floor.building.contact_person`, `room->floor->building`.`contact_phone` AS `room.floor.building.contact_phone`, `room->floor->building`.`created_at` AS `room.floor.building.createdAt`, `room->floor->building`.`updated_at` AS `room.floor.building.updatedAt` FROM `Bed` AS `Bed` LEFT OUTER JOIN `Renter` AS `renter` ON `Bed`.`id` = `renter`.`bed_id` LEFT OUTER JOIN `Room` AS `room` ON `Bed`.`room_id` = `room`.`id` LEFT OUTER JOIN `Floor` AS `room->floor` ON `room`.`floor_id` = `room->floor`.`id` LEFT OUTER JOIN `Building` AS `room->floor->building` ON `room->floor`.`building_id` = `room->floor->building`.`id`; Executing (default): SELECT `id`, `title`, `content`, `type`, `priority`, `target_audience`, `target_ids`, `building_id`, `floor_id`, `created_by`, `expiry_date`, `is_active`, `read_by`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `Notice` AS `Notice`; Executing (default): SELECT `id`, `visitor_name`, `visitor_phone`, `visiting_renter_id`, `check_in_time`, `check_out_time`, `purpose`, `approved_by`, `id_verified`, `vehicle_number`, `notes`, `visiting_renter_name`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `Visitor` AS `Visitor`; Executing (default): SELECT `id`, `name`, `email`, `password`, `role`, `permissions`, `department`, `phone`, `avatar`, `is_active`, `last_login`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `User` AS `User` WHERE `User`.`id` = '8cc00eb8-378e-4f89-8141-f87aa35fd51d'; Executing (default): SELECT `id`, `building_id`, `floor_id`, `room_id`, `bed_id`, `type`, `category`, `description`, `priority`, `status`, `assigned_to`, `cost`, `estimated_cost`, `scheduled_date`, `completed_date`, `notes`, `images`, `warranty`, `next_maintenance_date`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `Maintenance` AS `Maintenance`; Executing (default): SELECT `id`, `name`, `value`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `Settings` AS `Settings`; Executing (default): SELECT `id`, `name`, `email`, `password`, `role`, `permissions`, `department`, `phone`, `avatar`, `is_active`, `last_login`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `User` AS `User` WHERE `User`.`id` = '8cc00eb8-378e-4f89-8141-f87aa35fd51d'; Executing (default): SELECT `id`, `building_id`, `floor_id`, `category`, `subcategory`, `description`, `amount`, `date`, `vendor`, `receipt`, `approved_by`, `payment_method`, `is_recurring`, `recurring_frequency`, `budget_category`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `Expense` AS `Expense`; Executing (default): SELECT `id`, `name`, `email`, `password`, `role`, `permissions`, `department`, `phone`, `avatar`, `is_active`, `last_login`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `User` AS `User` WHERE `User`.`id` = '8cc00eb8-378e-4f89-8141-f87aa35fd51d'; Executing (default): SELECT `id`, `name`, `email`, `role`, `permissions`, `department`, `phone`, `avatar`, `is_active`, `last_login`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `User` AS `User` WHERE `User`.`id` = '8cc00eb8-378e-4f89-8141-f87aa35fd51d'; Executing (default): SELECT `id`, `name`, `email`, `password`, `role`, `permissions`, `department`, `phone`, `avatar`, `is_active`, `last_login`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `User` AS `User` WHERE `User`.`id` = '8cc00eb8-378e-4f89-8141-f87aa35fd51d'; Executing (default): SELECT `Building`.`id`, `Building`.`name`, `Building`.`address`, `Building`.`floors`, `Building`.`total_rooms`, `Building`.`total_beds`, `Building`.`parking_spaces`, `Building`.`occupied_beds`, `Building`.`manager`, `Building`.`amenities`, `Building`.`monthly_revenue`, `Building`.`building_type`, `Building`.`year_built`, `Building`.`total_area`, `Building`.`elevators`, `Building`.`security_features`, `Building`.`contact_person`, `Building`.`contact_phone`, `Building`.`created_at` AS `createdAt`, `Building`.`updated_at` AS `updatedAt`, `buildingFloors`.`id` AS `buildingFloors.id`, `buildingFloors`.`building_id` AS `buildingFloors.building_id`, `buildingFloors`.`floor_number` AS `buildingFloors.floor_number`, `buildingFloors`.`total_rooms` AS `buildingFloors.total_rooms`, `buildingFloors`.`occupied_rooms` AS `buildingFloors.occupied_rooms`, `buildingFloors`.`floor_type` AS `buildingFloors.floor_type`, `buildingFloors`.`amenities` AS `buildingFloors.amenities`, `buildingFloors`.`maintenance_status` AS `buildingFloors.maintenance_status`, `buildingFloors`.`last_inspection` AS `buildingFloors.last_inspection`, `buildingFloors`.`notes` AS `buildingFloors.notes`, `buildingFloors`.`created_at` AS `buildingFloors.createdAt`, `buildingFloors`.`updated_at` AS `buildingFloors.updatedAt`, `buildingFloors->rooms`.`id` AS `buildingFloors.rooms.id`, `buildingFloors->rooms`.`building_id` AS `buildingFloors.rooms.building_id`, `buildingFloors->rooms`.`floor_id` AS `buildingFloors.rooms.floor_id`, `buildingFloors->rooms`.`room_number` AS `buildingFloors.rooms.room_number`, `buildingFloors->rooms`.`total_beds` AS `buildingFloors.rooms.total_beds`, `buildingFloors->rooms`.`occupied_beds` AS `buildingFloors.rooms.occupied_beds`, `buildingFloors->rooms`.`rent_per_bed` AS `buildingFloors.rooms.rent_per_bed`, `buildingFloors->rooms`.`facilities` AS `buildingFloors.rooms.facilities`, `buildingFloors->rooms`.`room_type` AS `buildingFloors.rooms.room_type`, `buildingFloors->rooms`.`area` AS `buildingFloors.rooms.area`, `buildingFloors->rooms`.`has_balcony` AS `buildingFloors.rooms.has_balcony`, `buildingFloors->rooms`.`has_attached_bathroom` AS `buildingFloors.rooms.has_attached_bathroom`, `buildingFloors->rooms`.`furnishing_status` AS `buildingFloors.rooms.furnishing_status`, `buildingFloors->rooms`.`condition` AS `buildingFloors.rooms.condition`, `buildingFloors->rooms`.`last_cleaned` AS `buildingFloors.rooms.last_cleaned`, `buildingFloors->rooms`.`security_deposit` AS `buildingFloors.rooms.security_deposit`, `buildingFloors->rooms`.`available_from` AS `buildingFloors.rooms.available_from`, `buildingFloors->rooms`.`created_at` AS `buildingFloors.rooms.createdAt`, `buildingFloors->rooms`.`updated_at` AS `buildingFloors.rooms.updatedAt`, `buildingFloors->rooms->beds`.`id` AS `buildingFloors.rooms.beds.id`, `buildingFloors->rooms->beds`.`building_id` AS `buildingFloors.rooms.beds.building_id`, `buildingFloors->rooms->beds`.`floor_id` AS `buildingFloors.rooms.beds.floor_id`, `buildingFloors->rooms->beds`.`room_id` AS `buildingFloors.rooms.beds.room_id`, `buildingFloors->rooms->beds`.`bed_number` AS `buildingFloors.rooms.beds.bed_number`, `buildingFloors->rooms->beds`.`is_occupied` AS `buildingFloors.rooms.beds.is_occupied`, `buildingFloors->rooms->beds`.`monthly_rent` AS `buildingFloors.rooms.beds.monthly_rent`, `buildingFloors->rooms->beds`.`status` AS `buildingFloors.rooms.beds.status`, `buildingFloors->rooms->beds`.`bed_type` AS `buildingFloors.rooms.beds.bed_type`, `buildingFloors->rooms->beds`.`last_cleaned` AS `buildingFloors.rooms.beds.last_cleaned`, `buildingFloors->rooms->beds`.`notes` AS `buildingFloors.rooms.beds.notes`, `buildingFloors->rooms->beds`.`reserved_until` AS `buildingFloors.rooms.beds.reserved_until`, `buildingFloors->rooms->beds`.`maintenance_scheduled` AS `buildingFloors.rooms.beds.maintenance_scheduled`, `buildingFloors->rooms->beds`.`created_at` AS `buildingFloors.rooms.beds.createdAt`, `buildingFloors->rooms->beds`.`updated_at` AS `buildingFloors.rooms.beds.updatedAt`, `buildingFloors->rooms->beds->renter`.`id` AS `buildingFloors.rooms.beds.renter.id`, `buildingFloors->rooms->beds->renter`.`name` AS `buildingFloors.rooms.beds.renter.name`, `buildingFloors->rooms->beds->renter`.`email` AS `buildingFloors.rooms.beds.renter.email`, `buildingFloors->rooms->beds->renter`.`phone` AS `buildingFloors.rooms.beds.renter.phone`, `buildingFloors->rooms->beds->renter`.`alternate_phone` AS `buildingFloors.rooms.beds.renter.alternate_phone`, `buildingFloors->rooms->beds->renter`.`nid` AS `buildingFloors.rooms.beds.renter.nid`, `buildingFloors->rooms->beds->renter`.`building_id` AS `buildingFloors.rooms.beds.renter.building_id`, `buildingFloors->rooms->beds->renter`.`floor_id` AS `buildingFloors.rooms.beds.renter.floor_id`, `buildingFloors->rooms->beds->renter`.`room_id` AS `buildingFloors.rooms.beds.renter.room_id`, `buildingFloors->rooms->beds->renter`.`bed_id` AS `buildingFloors.rooms.beds.renter.bed_id`, `buildingFloors->rooms->beds->renter`.`rent_amount` AS `buildingFloors.rooms.beds.renter.rent_amount`, `buildingFloors->rooms->beds->renter`.`security_deposit` AS `buildingFloors.rooms.beds.renter.security_deposit`, `buildingFloors->rooms->beds->renter`.`check_in_date` AS `buildingFloors.rooms.beds.renter.check_in_date`, `buildingFloors->rooms->beds->renter`.`check_out_date` AS `buildingFloors.rooms.beds.renter.check_out_date`, `buildingFloors->rooms->beds->renter`.`lease_start_date` AS `buildingFloors.rooms.beds.renter.lease_start_date`, `buildingFloors->rooms->beds->renter`.`lease_end_date` AS `buildingFloors.rooms.beds.renter.lease_end_date`, `buildingFloors->rooms->beds->renter`.`status` AS `buildingFloors.rooms.beds.renter.status`, `buildingFloors->rooms->beds->renter`.`emergency_contact` AS `buildingFloors.rooms.beds.renter.emergency_contact`, `buildingFloors->rooms->beds->renter`.`emergency_relation` AS `buildingFloors.rooms.beds.renter.emergency_relation`, `buildingFloors->rooms->beds->renter`.`profile_photo` AS `buildingFloors.rooms.beds.renter.profile_photo`, `buildingFloors->rooms->beds->renter`.`occupation` AS `buildingFloors.rooms.beds.renter.occupation`, `buildingFloors->rooms->beds->renter`.`company` AS `buildingFloors.rooms.beds.renter.company`, `buildingFloors->rooms->beds->renter`.`monthly_income` AS `buildingFloors.rooms.beds.renter.monthly_income`, `buildingFloors->rooms->beds->renter`.`previous_address` AS `buildingFloors.rooms.beds.renter.previous_address`, `buildingFloors->rooms->beds->renter`.`references` AS `buildingFloors.rooms.beds.renter.references`, `buildingFloors->rooms->beds->renter`.`notice_period` AS `buildingFloors.rooms.beds.renter.notice_period`, `buildingFloors->rooms->beds->renter`.`preferences` AS `buildingFloors.rooms.beds.renter.preferences`, `buildingFloors->rooms->beds->renter`.`payment_history` AS `buildingFloors.rooms.beds.renter.payment_history`, `buildingFloors->rooms->beds->renter`.`created_at` AS `buildingFloors.rooms.beds.renter.createdAt`, `buildingFloors->rooms->beds->renter`.`updated_at` AS `buildingFloors.rooms.beds.renter.updatedAt` FROM `Building` AS `Building` LEFT OUTER JOIN `Floor` AS `buildingFloors` ON `Building`.`id` = `buildingFloors`.`building_id` LEFT OUTER JOIN `Room` AS `buildingFloors->rooms` ON `buildingFloors`.`id` = `buildingFloors->rooms`.`floor_id` LEFT OUTER JOIN `Bed` AS `buildingFloors->rooms->beds` ON `buildingFloors->rooms`.`id` = `buildingFloors->rooms->beds`.`room_id` LEFT OUTER JOIN `Renter` AS `buildingFloors->rooms->beds->renter` ON `buildingFloors->rooms->beds`.`id` = `buildingFloors->rooms->beds->renter`.`bed_id` ORDER BY `createdAt` DESC; Executing (default): SELECT `id`, `name`, `email`, `password`, `role`, `permissions`, `department`, `phone`, `avatar`, `is_active`, `last_login`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `User` AS `User` WHERE `User`.`id` = '8cc00eb8-378e-4f89-8141-f87aa35fd51d'; Executing (default): SELECT `Floor`.`id`, `Floor`.`building_id`, `Floor`.`floor_number`, `Floor`.`total_rooms`, `Floor`.`occupied_rooms`, `Floor`.`floor_type`, `Floor`.`amenities`, `Floor`.`maintenance_status`, `Floor`.`last_inspection`, `Floor`.`notes`, `Floor`.`created_at` AS `createdAt`, `Floor`.`updated_at` AS `updatedAt`, `rooms`.`id` AS `rooms.id`, `rooms`.`building_id` AS `rooms.building_id`, `rooms`.`floor_id` AS `rooms.floor_id`, `rooms`.`room_number` AS `rooms.room_number`, `rooms`.`total_beds` AS `rooms.total_beds`, `rooms`.`occupied_beds` AS `rooms.occupied_beds`, `rooms`.`rent_per_bed` AS `rooms.rent_per_bed`, `rooms`.`facilities` AS `rooms.facilities`, `rooms`.`room_type` AS `rooms.room_type`, `rooms`.`area` AS `rooms.area`, `rooms`.`has_balcony` AS `rooms.has_balcony`, `rooms`.`has_attached_bathroom` AS `rooms.has_attached_bathroom`, `rooms`.`furnishing_status` AS `rooms.furnishing_status`, `rooms`.`condition` AS `rooms.condition`, `rooms`.`last_cleaned` AS `rooms.last_cleaned`, `rooms`.`security_deposit` AS `rooms.security_deposit`, `rooms`.`available_from` AS `rooms.available_from`, `rooms`.`created_at` AS `rooms.createdAt`, `rooms`.`updated_at` AS `rooms.updatedAt`, `rooms->beds`.`id` AS `rooms.beds.id`, `rooms->beds`.`building_id` AS `rooms.beds.building_id`, `rooms->beds`.`floor_id` AS `rooms.beds.floor_id`, `rooms->beds`.`room_id` AS `rooms.beds.room_id`, `rooms->beds`.`bed_number` AS `rooms.beds.bed_number`, `rooms->beds`.`is_occupied` AS `rooms.beds.is_occupied`, `rooms->beds`.`monthly_rent` AS `rooms.beds.monthly_rent`, `rooms->beds`.`status` AS `rooms.beds.status`, `rooms->beds`.`bed_type` AS `rooms.beds.bed_type`, `rooms->beds`.`last_cleaned` AS `rooms.beds.last_cleaned`, `rooms->beds`.`notes` AS `rooms.beds.notes`, `rooms->beds`.`reserved_until` AS `rooms.beds.reserved_until`, `rooms->beds`.`maintenance_scheduled` AS `rooms.beds.maintenance_scheduled`, `rooms->beds`.`created_at` AS `rooms.beds.createdAt`, `rooms->beds`.`updated_at` AS `rooms.beds.updatedAt`, `rooms->beds->renter`.`id` AS `rooms.beds.renter.id`, `rooms->beds->renter`.`name` AS `rooms.beds.renter.name`, `rooms->beds->renter`.`email` AS `rooms.beds.renter.email`, `rooms->beds->renter`.`phone` AS `rooms.beds.renter.phone`, `rooms->beds->renter`.`alternate_phone` AS `rooms.beds.renter.alternate_phone`, `rooms->beds->renter`.`nid` AS `rooms.beds.renter.nid`, `rooms->beds->renter`.`building_id` AS `rooms.beds.renter.building_id`, `rooms->beds->renter`.`floor_id` AS `rooms.beds.renter.floor_id`, `rooms->beds->renter`.`room_id` AS `rooms.beds.renter.room_id`, `rooms->beds->renter`.`bed_id` AS `rooms.beds.renter.bed_id`, `rooms->beds->renter`.`rent_amount` AS `rooms.beds.renter.rent_amount`, `rooms->beds->renter`.`security_deposit` AS `rooms.beds.renter.security_deposit`, `rooms->beds->renter`.`check_in_date` AS `rooms.beds.renter.check_in_date`, `rooms->beds->renter`.`check_out_date` AS `rooms.beds.renter.check_out_date`, `rooms->beds->renter`.`lease_start_date` AS `rooms.beds.renter.lease_start_date`, `rooms->beds->renter`.`lease_end_date` AS `rooms.beds.renter.lease_end_date`, `rooms->beds->renter`.`status` AS `rooms.beds.renter.status`, `rooms->beds->renter`.`emergency_contact` AS `rooms.beds.renter.emergency_contact`, `rooms->beds->renter`.`emergency_relation` AS `rooms.beds.renter.emergency_relation`, `rooms->beds->renter`.`profile_photo` AS `rooms.beds.renter.profile_photo`, `rooms->beds->renter`.`occupation` AS `rooms.beds.renter.occupation`, `rooms->beds->renter`.`company` AS `rooms.beds.renter.company`, `rooms->beds->renter`.`monthly_income` AS `rooms.beds.renter.monthly_income`, `rooms->beds->renter`.`previous_address` AS `rooms.beds.renter.previous_address`, `rooms->beds->renter`.`references` AS `rooms.beds.renter.references`, `rooms->beds->renter`.`notice_period` AS `rooms.beds.renter.notice_period`, `rooms->beds->renter`.`preferences` AS `rooms.beds.renter.preferences`, `rooms->beds->renter`.`payment_history` AS `rooms.beds.renter.payment_history`, `rooms->beds->renter`.`created_at` AS `rooms.beds.renter.createdAt`, `rooms->beds->renter`.`updated_at` AS `rooms.beds.renter.updatedAt` FROM `Floor` AS `Floor` LEFT OUTER JOIN `Room` AS `rooms` ON `Floor`.`id` = `rooms`.`floor_id` LEFT OUTER JOIN `Bed` AS `rooms->beds` ON `rooms`.`id` = `rooms->beds`.`room_id` LEFT OUTER JOIN `Renter` AS `rooms->beds->renter` ON `rooms->beds`.`id` = `rooms->beds->renter`.`bed_id`; Executing (default): SELECT `id`, `name`, `email`, `password`, `role`, `permissions`, `department`, `phone`, `avatar`, `is_active`, `last_login`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `User` AS `User` WHERE `User`.`id` = '8cc00eb8-378e-4f89-8141-f87aa35fd51d'; Executing (default): SELECT `id`, `name`, `email`, `password`, `role`, `permissions`, `department`, `phone`, `avatar`, `is_active`, `last_login`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `User` AS `User` WHERE `User`.`id` = '8cc00eb8-378e-4f89-8141-f87aa35fd51d'; Executing (default): SELECT `Bed`.`id`, `Bed`.`building_id`, `Bed`.`floor_id`, `Bed`.`room_id`, `Bed`.`bed_number`, `Bed`.`is_occupied`, `Bed`.`monthly_rent`, `Bed`.`status`, `Bed`.`bed_type`, `Bed`.`last_cleaned`, `Bed`.`notes`, `Bed`.`reserved_until`, `Bed`.`maintenance_scheduled`, `Bed`.`created_at` AS `createdAt`, `Bed`.`updated_at` AS `updatedAt`, `renter`.`id` AS `renter.id`, `renter`.`name` AS `renter.name`, `renter`.`email` AS `renter.email`, `renter`.`phone` AS `renter.phone`, `renter`.`alternate_phone` AS `renter.alternate_phone`, `renter`.`nid` AS `renter.nid`, `renter`.`building_id` AS `renter.building_id`, `renter`.`floor_id` AS `renter.floor_id`, `renter`.`room_id` AS `renter.room_id`, `renter`.`bed_id` AS `renter.bed_id`, `renter`.`rent_amount` AS `renter.rent_amount`, `renter`.`security_deposit` AS `renter.security_deposit`, `renter`.`check_in_date` AS `renter.check_in_date`, `renter`.`check_out_date` AS `renter.check_out_date`, `renter`.`lease_start_date` AS `renter.lease_start_date`, `renter`.`lease_end_date` AS `renter.lease_end_date`, `renter`.`status` AS `renter.status`, `renter`.`emergency_contact` AS `renter.emergency_contact`, `renter`.`emergency_relation` AS `renter.emergency_relation`, `renter`.`profile_photo` AS `renter.profile_photo`, `renter`.`occupation` AS `renter.occupation`, `renter`.`company` AS `renter.company`, `renter`.`monthly_income` AS `renter.monthly_income`, `renter`.`previous_address` AS `renter.previous_address`, `renter`.`references` AS `renter.references`, `renter`.`notice_period` AS `renter.notice_period`, `renter`.`preferences` AS `renter.preferences`, `renter`.`payment_history` AS `renter.payment_history`, `renter`.`created_at` AS `renter.createdAt`, `renter`.`updated_at` AS `renter.updatedAt`, `room`.`id` AS `room.id`, `room`.`building_id` AS `room.building_id`, `room`.`floor_id` AS `room.floor_id`, `room`.`room_number` AS `room.room_number`, `room`.`total_beds` AS `room.total_beds`, `room`.`occupied_beds` AS `room.occupied_beds`, `room`.`rent_per_bed` AS `room.rent_per_bed`, `room`.`facilities` AS `room.facilities`, `room`.`room_type` AS `room.room_type`, `room`.`area` AS `room.area`, `room`.`has_balcony` AS `room.has_balcony`, `room`.`has_attached_bathroom` AS `room.has_attached_bathroom`, `room`.`furnishing_status` AS `room.furnishing_status`, `room`.`condition` AS `room.condition`, `room`.`last_cleaned` AS `room.last_cleaned`, `room`.`security_deposit` AS `room.security_deposit`, `room`.`available_from` AS `room.available_from`, `room`.`created_at` AS `room.createdAt`, `room`.`updated_at` AS `room.updatedAt`, `room->floor`.`id` AS `room.floor.id`, `room->floor`.`building_id` AS `room.floor.building_id`, `room->floor`.`floor_number` AS `room.floor.floor_number`, `room->floor`.`total_rooms` AS `room.floor.total_rooms`, `room->floor`.`occupied_rooms` AS `room.floor.occupied_rooms`, `room->floor`.`floor_type` AS `room.floor.floor_type`, `room->floor`.`amenities` AS `room.floor.amenities`, `room->floor`.`maintenance_status` AS `room.floor.maintenance_status`, `room->floor`.`last_inspection` AS `room.floor.last_inspection`, `room->floor`.`notes` AS `room.floor.notes`, `room->floor`.`created_at` AS `room.floor.createdAt`, `room->floor`.`updated_at` AS `room.floor.updatedAt`, `room->floor->building`.`id` AS `room.floor.building.id`, `room->floor->building`.`name` AS `room.floor.building.name`, `room->floor->building`.`address` AS `room.floor.building.address`, `room->floor->building`.`floors` AS `room.floor.building.floors`, `room->floor->building`.`total_rooms` AS `room.floor.building.total_rooms`, `room->floor->building`.`total_beds` AS `room.floor.building.total_beds`, `room->floor->building`.`parking_spaces` AS `room.floor.building.parking_spaces`, `room->floor->building`.`occupied_beds` AS `room.floor.building.occupied_beds`, `room->floor->building`.`manager` AS `room.floor.building.manager`, `room->floor->building`.`amenities` AS `room.floor.building.amenities`, `room->floor->building`.`monthly_revenue` AS `room.floor.building.monthly_revenue`, `room->floor->building`.`building_type` AS `room.floor.building.building_type`, `room->floor->building`.`year_built` AS `room.floor.building.year_built`, `room->floor->building`.`total_area` AS `room.floor.building.total_area`, `room->floor->building`.`elevators` AS `room.floor.building.elevators`, `room->floor->building`.`security_features` AS `room.floor.building.security_features`, `room->floor->building`.`contact_person` AS `room.floor.building.contact_person`, `room->floor->building`.`contact_phone` AS `room.floor.building.contact_phone`, `room->floor->building`.`created_at` AS `room.floor.building.createdAt`, `room->floor->building`.`updated_at` AS `room.floor.building.updatedAt` FROM `Bed` AS `Bed` LEFT OUTER JOIN `Renter` AS `renter` ON `Bed`.`id` = `renter`.`bed_id` LEFT OUTER JOIN `Room` AS `room` ON `Bed`.`room_id` = `room`.`id` LEFT OUTER JOIN `Floor` AS `room->floor` ON `room`.`floor_id` = `room->floor`.`id` LEFT OUTER JOIN `Building` AS `room->floor->building` ON `room->floor`.`building_id` = `room->floor->building`.`id`; Executing (default): SELECT `id`, `renter_id`, `amount`, `due_date`, `paid_date`, `status`, `month`, `year`, `payment_method`, `transaction_id`, `late_fee`, `discount`, `notes`, `receipt_number`, `collected_by`, `renter_name` AS `renterName`, `room_number`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `RentPayment` AS `RentPayment`; Executing (default): SELECT `Renter`.`id`, `Renter`.`name`, `Renter`.`email`, `Renter`.`phone`, `Renter`.`alternate_phone`, `Renter`.`nid`, `Renter`.`building_id`, `Renter`.`floor_id`, `Renter`.`room_id`, `Renter`.`bed_id`, `Renter`.`rent_amount`, `Renter`.`security_deposit`, `Renter`.`check_in_date`, `Renter`.`check_out_date`, `Renter`.`lease_start_date`, `Renter`.`lease_end_date`, `Renter`.`status`, `Renter`.`emergency_contact`, `Renter`.`emergency_relation`, `Renter`.`profile_photo`, `Renter`.`occupation`, `Renter`.`company`, `Renter`.`monthly_income`, `Renter`.`previous_address`, `Renter`.`references`, `Renter`.`notice_period`, `Renter`.`preferences`, `Renter`.`payment_history`, `Renter`.`created_at` AS `createdAt`, `Renter`.`updated_at` AS `updatedAt`, `room`.`id` AS `room.id`, `room`.`building_id` AS `room.building_id`, `room`.`floor_id` AS `room.floor_id`, `room`.`room_number` AS `room.room_number`, `room`.`total_beds` AS `room.total_beds`, `room`.`occupied_beds` AS `room.occupied_beds`, `room`.`rent_per_bed` AS `room.rent_per_bed`, `room`.`facilities` AS `room.facilities`, `room`.`room_type` AS `room.room_type`, `room`.`area` AS `room.area`, `room`.`has_balcony` AS `room.has_balcony`, `room`.`has_attached_bathroom` AS `room.has_attached_bathroom`, `room`.`furnishing_status` AS `room.furnishing_status`, `room`.`condition` AS `room.condition`, `room`.`last_cleaned` AS `room.last_cleaned`, `room`.`security_deposit` AS `room.security_deposit`, `room`.`available_from` AS `room.available_from`, `room`.`created_at` AS `room.createdAt`, `room`.`updated_at` AS `room.updatedAt`, `documents`.`id` AS `documents.id`, `documents`.`renter_id` AS `documents.renter_id`, `documents`.`type` AS `documents.type`, `documents`.`file_name` AS `documents.file_name`, `documents`.`file_url` AS `documents.file_url`, `documents`.`file_size` AS `documents.file_size`, `documents`.`mime_type` AS `documents.mime_type`, `documents`.`description` AS `documents.description`, `documents`.`created_at` AS `documents.createdAt`, `documents`.`updated_at` AS `documents.updatedAt` FROM `Renter` AS `Renter` LEFT OUTER JOIN `Room` AS `room` ON `Renter`.`room_id` = `room`.`id` LEFT OUTER JOIN `RenterDocument` AS `documents` ON `Renter`.`id` = `documents`.`renter_id`; Executing (default): SELECT `id`, `name`, `email`, `password`, `role`, `permissions`, `department`, `phone`, `avatar`, `is_active`, `last_login`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `User` AS `User` WHERE `User`.`id` = '8cc00eb8-378e-4f89-8141-f87aa35fd51d'; Executing (default): SELECT `Room`.`id`, `Room`.`building_id`, `Room`.`floor_id`, `Room`.`room_number`, `Room`.`total_beds`, `Room`.`occupied_beds`, `Room`.`rent_per_bed`, `Room`.`facilities`, `Room`.`room_type`, `Room`.`area`, `Room`.`has_balcony`, `Room`.`has_attached_bathroom`, `Room`.`furnishing_status`, `Room`.`condition`, `Room`.`last_cleaned`, `Room`.`security_deposit`, `Room`.`available_from`, `Room`.`created_at` AS `createdAt`, `Room`.`updated_at` AS `updatedAt`, `building`.`id` AS `building.id`, `building`.`name` AS `building.name`, `building`.`address` AS `building.address`, `building`.`floors` AS `building.floors`, `building`.`total_rooms` AS `building.total_rooms`, `building`.`total_beds` AS `building.total_beds`, `building`.`parking_spaces` AS `building.parking_spaces`, `building`.`occupied_beds` AS `building.occupied_beds`, `building`.`manager` AS `building.manager`, `building`.`amenities` AS `building.amenities`, `building`.`monthly_revenue` AS `building.monthly_revenue`, `building`.`building_type` AS `building.building_type`, `building`.`year_built` AS `building.year_built`, `building`.`total_area` AS `building.total_area`, `building`.`elevators` AS `building.elevators`, `building`.`security_features` AS `building.security_features`, `building`.`contact_person` AS `building.contact_person`, `building`.`contact_phone` AS `building.contact_phone`, `building`.`created_at` AS `building.createdAt`, `building`.`updated_at` AS `building.updatedAt`, `floor`.`id` AS `floor.id`, `floor`.`building_id` AS `floor.building_id`, `floor`.`floor_number` AS `floor.floor_number`, `floor`.`total_rooms` AS `floor.total_rooms`, `floor`.`occupied_rooms` AS `floor.occupied_rooms`, `floor`.`floor_type` AS `floor.floor_type`, `floor`.`amenities` AS `floor.amenities`, `floor`.`maintenance_status` AS `floor.maintenance_status`, `floor`.`last_inspection` AS `floor.last_inspection`, `floor`.`notes` AS `floor.notes`, `floor`.`created_at` AS `floor.createdAt`, `floor`.`updated_at` AS `floor.updatedAt`, `beds`.`id` AS `beds.id`, `beds`.`building_id` AS `beds.building_id`, `beds`.`floor_id` AS `beds.floor_id`, `beds`.`room_id` AS `beds.room_id`, `beds`.`bed_number` AS `beds.bed_number`, `beds`.`is_occupied` AS `beds.is_occupied`, `beds`.`monthly_rent` AS `beds.monthly_rent`, `beds`.`status` AS `beds.status`, `beds`.`bed_type` AS `beds.bed_type`, `beds`.`last_cleaned` AS `beds.last_cleaned`, `beds`.`notes` AS `beds.notes`, `beds`.`reserved_until` AS `beds.reserved_until`, `beds`.`maintenance_scheduled` AS `beds.maintenance_scheduled`, `beds`.`created_at` AS `beds.createdAt`, `beds`.`updated_at` AS `beds.updatedAt`, `beds->renter`.`id` AS `beds.renter.id`, `beds->renter`.`name` AS `beds.renter.name`, `beds->renter`.`email` AS `beds.renter.email`, `beds->renter`.`phone` AS `beds.renter.phone`, `beds->renter`.`alternate_phone` AS `beds.renter.alternate_phone`, `beds->renter`.`nid` AS `beds.renter.nid`, `beds->renter`.`building_id` AS `beds.renter.building_id`, `beds->renter`.`floor_id` AS `beds.renter.floor_id`, `beds->renter`.`room_id` AS `beds.renter.room_id`, `beds->renter`.`bed_id` AS `beds.renter.bed_id`, `beds->renter`.`rent_amount` AS `beds.renter.rent_amount`, `beds->renter`.`security_deposit` AS `beds.renter.security_deposit`, `beds->renter`.`check_in_date` AS `beds.renter.check_in_date`, `beds->renter`.`check_out_date` AS `beds.renter.check_out_date`, `beds->renter`.`lease_start_date` AS `beds.renter.lease_start_date`, `beds->renter`.`lease_end_date` AS `beds.renter.lease_end_date`, `beds->renter`.`status` AS `beds.renter.status`, `beds->renter`.`emergency_contact` AS `beds.renter.emergency_contact`, `beds->renter`.`emergency_relation` AS `beds.renter.emergency_relation`, `beds->renter`.`profile_photo` AS `beds.renter.profile_photo`, `beds->renter`.`occupation` AS `beds.renter.occupation`, `beds->renter`.`company` AS `beds.renter.company`, `beds->renter`.`monthly_income` AS `beds.renter.monthly_income`, `beds->renter`.`previous_address` AS `beds.renter.previous_address`, `beds->renter`.`references` AS `beds.renter.references`, `beds->renter`.`notice_period` AS `beds.renter.notice_period`, `beds->renter`.`preferences` AS `beds.renter.preferences`, `beds->renter`.`payment_history` AS `beds.renter.payment_history`, `beds->renter`.`created_at` AS `beds.renter.createdAt`, `beds->renter`.`updated_at` AS `beds.renter.updatedAt` FROM `Room` AS `Room` LEFT OUTER JOIN `Building` AS `building` ON `Room`.`building_id` = `building`.`id` LEFT OUTER JOIN `Floor` AS `floor` ON `Room`.`floor_id` = `floor`.`id` LEFT OUTER JOIN `Bed` AS `beds` ON `Room`.`id` = `beds`.`room_id` LEFT OUTER JOIN `Renter` AS `beds->renter` ON `beds`.`id` = `beds->renter`.`bed_id`; Executing (default): SELECT `id`, `visitor_name`, `visitor_phone`, `visiting_renter_id`, `check_in_time`, `check_out_time`, `purpose`, `approved_by`, `id_verified`, `vehicle_number`, `notes`, `visiting_renter_name`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `Visitor` AS `Visitor`; Executing (default): SELECT `id`, `name`, `email`, `password`, `role`, `permissions`, `department`, `phone`, `avatar`, `is_active`, `last_login`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `User` AS `User` WHERE `User`.`id` = '8cc00eb8-378e-4f89-8141-f87aa35fd51d'; Executing (default): SELECT `id`, `name`, `email`, `password`, `role`, `permissions`, `department`, `phone`, `avatar`, `is_active`, `last_login`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `User` AS `User` WHERE `User`.`id` = '8cc00eb8-378e-4f89-8141-f87aa35fd51d'; Executing (default): SELECT `id`, `building_id`, `floor_id`, `room_id`, `bed_id`, `type`, `category`, `description`, `priority`, `status`, `assigned_to`, `cost`, `estimated_cost`, `scheduled_date`, `completed_date`, `notes`, `images`, `warranty`, `next_maintenance_date`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `Maintenance` AS `Maintenance`; Executing (default): SELECT `id`, `title`, `content`, `type`, `priority`, `target_audience`, `target_ids`, `building_id`, `floor_id`, `created_by`, `expiry_date`, `is_active`, `read_by`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `Notice` AS `Notice`; Executing (default): SELECT `id`, `building_id`, `floor_id`, `category`, `subcategory`, `description`, `amount`, `date`, `vendor`, `receipt`, `approved_by`, `payment_method`, `is_recurring`, `recurring_frequency`, `budget_category`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `Expense` AS `Expense`; Executing (default): SELECT `id`, `name`, `value`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `Settings` AS `Settings`; Executing (default): SELECT `id`, `name`, `email`, `password`, `role`, `permissions`, `department`, `phone`, `avatar`, `is_active`, `last_login`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `User` AS `User` WHERE `User`.`id` = '8cc00eb8-378e-4f89-8141-f87aa35fd51d'; Executing (default): SELECT `id`, `name`, `email`, `role`, `permissions`, `department`, `phone`, `avatar`, `is_active`, `last_login`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `User` AS `User` WHERE `User`.`id` = '8cc00eb8-378e-4f89-8141-f87aa35fd51d'; Executing (default): SELECT `id`, `name`, `email`, `password`, `role`, `permissions`, `department`, `phone`, `avatar`, `is_active`, `last_login`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `User` AS `User` WHERE `User`.`email` = 'admin@demo.com' AND `User`.`is_active` = true; Executing (default): UPDATE `User` SET `last_login`=?,`updated_at`=? WHERE `id` = ? Executing (default): SELECT `id`, `name`, `email`, `password`, `role`, `permissions`, `department`, `phone`, `avatar`, `is_active`, `last_login`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `User` AS `User` WHERE `User`.`id` = '8cc00eb8-378e-4f89-8141-f87aa35fd51d'; Executing (default): SELECT `Building`.`id`, `Building`.`name`, `Building`.`address`, `Building`.`floors`, `Building`.`total_rooms`, `Building`.`total_beds`, `Building`.`parking_spaces`, `Building`.`occupied_beds`, `Building`.`manager`, `Building`.`amenities`, `Building`.`monthly_revenue`, `Building`.`building_type`, `Building`.`year_built`, `Building`.`total_area`, `Building`.`elevators`, `Building`.`security_features`, `Building`.`contact_person`, `Building`.`contact_phone`, `Building`.`created_at` AS `createdAt`, `Building`.`updated_at` AS `updatedAt`, `buildingFloors`.`id` AS `buildingFloors.id`, `buildingFloors`.`building_id` AS `buildingFloors.building_id`, `buildingFloors`.`floor_number` AS `buildingFloors.floor_number`, `buildingFloors`.`total_rooms` AS `buildingFloors.total_rooms`, `buildingFloors`.`occupied_rooms` AS `buildingFloors.occupied_rooms`, `buildingFloors`.`floor_type` AS `buildingFloors.floor_type`, `buildingFloors`.`amenities` AS `buildingFloors.amenities`, `buildingFloors`.`maintenance_status` AS `buildingFloors.maintenance_status`, `buildingFloors`.`last_inspection` AS `buildingFloors.last_inspection`, `buildingFloors`.`notes` AS `buildingFloors.notes`, `buildingFloors`.`created_at` AS `buildingFloors.createdAt`, `buildingFloors`.`updated_at` AS `buildingFloors.updatedAt`, `buildingFloors->rooms`.`id` AS `buildingFloors.rooms.id`, `buildingFloors->rooms`.`building_id` AS `buildingFloors.rooms.building_id`, `buildingFloors->rooms`.`floor_id` AS `buildingFloors.rooms.floor_id`, `buildingFloors->rooms`.`room_number` AS `buildingFloors.rooms.room_number`, `buildingFloors->rooms`.`total_beds` AS `buildingFloors.rooms.total_beds`, `buildingFloors->rooms`.`occupied_beds` AS `buildingFloors.rooms.occupied_beds`, `buildingFloors->rooms`.`rent_per_bed` AS `buildingFloors.rooms.rent_per_bed`, `buildingFloors->rooms`.`facilities` AS `buildingFloors.rooms.facilities`, `buildingFloors->rooms`.`room_type` AS `buildingFloors.rooms.room_type`, `buildingFloors->rooms`.`area` AS `buildingFloors.rooms.area`, `buildingFloors->rooms`.`has_balcony` AS `buildingFloors.rooms.has_balcony`, `buildingFloors->rooms`.`has_attached_bathroom` AS `buildingFloors.rooms.has_attached_bathroom`, `buildingFloors->rooms`.`furnishing_status` AS `buildingFloors.rooms.furnishing_status`, `buildingFloors->rooms`.`condition` AS `buildingFloors.rooms.condition`, `buildingFloors->rooms`.`last_cleaned` AS `buildingFloors.rooms.last_cleaned`, `buildingFloors->rooms`.`security_deposit` AS `buildingFloors.rooms.security_deposit`, `buildingFloors->rooms`.`available_from` AS `buildingFloors.rooms.available_from`, `buildingFloors->rooms`.`created_at` AS `buildingFloors.rooms.createdAt`, `buildingFloors->rooms`.`updated_at` AS `buildingFloors.rooms.updatedAt`, `buildingFloors->rooms->beds`.`id` AS `buildingFloors.rooms.beds.id`, `buildingFloors->rooms->beds`.`building_id` AS `buildingFloors.rooms.beds.building_id`, `buildingFloors->rooms->beds`.`floor_id` AS `buildingFloors.rooms.beds.floor_id`, `buildingFloors->rooms->beds`.`room_id` AS `buildingFloors.rooms.beds.room_id`, `buildingFloors->rooms->beds`.`bed_number` AS `buildingFloors.rooms.beds.bed_number`, `buildingFloors->rooms->beds`.`is_occupied` AS `buildingFloors.rooms.beds.is_occupied`, `buildingFloors->rooms->beds`.`monthly_rent` AS `buildingFloors.rooms.beds.monthly_rent`, `buildingFloors->rooms->beds`.`status` AS `buildingFloors.rooms.beds.status`, `buildingFloors->rooms->beds`.`bed_type` AS `buildingFloors.rooms.beds.bed_type`, `buildingFloors->rooms->beds`.`last_cleaned` AS `buildingFloors.rooms.beds.last_cleaned`, `buildingFloors->rooms->beds`.`notes` AS `buildingFloors.rooms.beds.notes`, `buildingFloors->rooms->beds`.`reserved_until` AS `buildingFloors.rooms.beds.reserved_until`, `buildingFloors->rooms->beds`.`maintenance_scheduled` AS `buildingFloors.rooms.beds.maintenance_scheduled`, `buildingFloors->rooms->beds`.`created_at` AS `buildingFloors.rooms.beds.createdAt`, `buildingFloors->rooms->beds`.`updated_at` AS `buildingFloors.rooms.beds.updatedAt`, `buildingFloors->rooms->beds->renter`.`id` AS `buildingFloors.rooms.beds.renter.id`, `buildingFloors->rooms->beds->renter`.`name` AS `buildingFloors.rooms.beds.renter.name`, `buildingFloors->rooms->beds->renter`.`email` AS `buildingFloors.rooms.beds.renter.email`, `buildingFloors->rooms->beds->renter`.`phone` AS `buildingFloors.rooms.beds.renter.phone`, `buildingFloors->rooms->beds->renter`.`alternate_phone` AS `buildingFloors.rooms.beds.renter.alternate_phone`, `buildingFloors->rooms->beds->renter`.`nid` AS `buildingFloors.rooms.beds.renter.nid`, `buildingFloors->rooms->beds->renter`.`building_id` AS `buildingFloors.rooms.beds.renter.building_id`, `buildingFloors->rooms->beds->renter`.`floor_id` AS `buildingFloors.rooms.beds.renter.floor_id`, `buildingFloors->rooms->beds->renter`.`room_id` AS `buildingFloors.rooms.beds.renter.room_id`, `buildingFloors->rooms->beds->renter`.`bed_id` AS `buildingFloors.rooms.beds.renter.bed_id`, `buildingFloors->rooms->beds->renter`.`rent_amount` AS `buildingFloors.rooms.beds.renter.rent_amount`, `buildingFloors->rooms->beds->renter`.`security_deposit` AS `buildingFloors.rooms.beds.renter.security_deposit`, `buildingFloors->rooms->beds->renter`.`check_in_date` AS `buildingFloors.rooms.beds.renter.check_in_date`, `buildingFloors->rooms->beds->renter`.`check_out_date` AS `buildingFloors.rooms.beds.renter.check_out_date`, `buildingFloors->rooms->beds->renter`.`lease_start_date` AS `buildingFloors.rooms.beds.renter.lease_start_date`, `buildingFloors->rooms->beds->renter`.`lease_end_date` AS `buildingFloors.rooms.beds.renter.lease_end_date`, `buildingFloors->rooms->beds->renter`.`status` AS `buildingFloors.rooms.beds.renter.status`, `buildingFloors->rooms->beds->renter`.`emergency_contact` AS `buildingFloors.rooms.beds.renter.emergency_contact`, `buildingFloors->rooms->beds->renter`.`emergency_relation` AS `buildingFloors.rooms.beds.renter.emergency_relation`, `buildingFloors->rooms->beds->renter`.`profile_photo` AS `buildingFloors.rooms.beds.renter.profile_photo`, `buildingFloors->rooms->beds->renter`.`occupation` AS `buildingFloors.rooms.beds.renter.occupation`, `buildingFloors->rooms->beds->renter`.`company` AS `buildingFloors.rooms.beds.renter.company`, `buildingFloors->rooms->beds->renter`.`monthly_income` AS `buildingFloors.rooms.beds.renter.monthly_income`, `buildingFloors->rooms->beds->renter`.`previous_address` AS `buildingFloors.rooms.beds.renter.previous_address`, `buildingFloors->rooms->beds->renter`.`references` AS `buildingFloors.rooms.beds.renter.references`, `buildingFloors->rooms->beds->renter`.`notice_period` AS `buildingFloors.rooms.beds.renter.notice_period`, `buildingFloors->rooms->beds->renter`.`preferences` AS `buildingFloors.rooms.beds.renter.preferences`, `buildingFloors->rooms->beds->renter`.`payment_history` AS `buildingFloors.rooms.beds.renter.payment_history`, `buildingFloors->rooms->beds->renter`.`created_at` AS `buildingFloors.rooms.beds.renter.createdAt`, `buildingFloors->rooms->beds->renter`.`updated_at` AS `buildingFloors.rooms.beds.renter.updatedAt` FROM `Building` AS `Building` LEFT OUTER JOIN `Floor` AS `buildingFloors` ON `Building`.`id` = `buildingFloors`.`building_id` LEFT OUTER JOIN `Room` AS `buildingFloors->rooms` ON `buildingFloors`.`id` = `buildingFloors->rooms`.`floor_id` LEFT OUTER JOIN `Bed` AS `buildingFloors->rooms->beds` ON `buildingFloors->rooms`.`id` = `buildingFloors->rooms->beds`.`room_id` LEFT OUTER JOIN `Renter` AS `buildingFloors->rooms->beds->renter` ON `buildingFloors->rooms->beds`.`id` = `buildingFloors->rooms->beds->renter`.`bed_id` ORDER BY `createdAt` DESC; Executing (default): SELECT `id`, `name`, `email`, `password`, `role`, `permissions`, `department`, `phone`, `avatar`, `is_active`, `last_login`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `User` AS `User` WHERE `User`.`id` = '8cc00eb8-378e-4f89-8141-f87aa35fd51d'; Executing (default): SELECT `Floor`.`id`, `Floor`.`building_id`, `Floor`.`floor_number`, `Floor`.`total_rooms`, `Floor`.`occupied_rooms`, `Floor`.`floor_type`, `Floor`.`amenities`, `Floor`.`maintenance_status`, `Floor`.`last_inspection`, `Floor`.`notes`, `Floor`.`created_at` AS `createdAt`, `Floor`.`updated_at` AS `updatedAt`, `rooms`.`id` AS `rooms.id`, `rooms`.`building_id` AS `rooms.building_id`, `rooms`.`floor_id` AS `rooms.floor_id`, `rooms`.`room_number` AS `rooms.room_number`, `rooms`.`total_beds` AS `rooms.total_beds`, `rooms`.`occupied_beds` AS `rooms.occupied_beds`, `rooms`.`rent_per_bed` AS `rooms.rent_per_bed`, `rooms`.`facilities` AS `rooms.facilities`, `rooms`.`room_type` AS `rooms.room_type`, `rooms`.`area` AS `rooms.area`, `rooms`.`has_balcony` AS `rooms.has_balcony`, `rooms`.`has_attached_bathroom` AS `rooms.has_attached_bathroom`, `rooms`.`furnishing_status` AS `rooms.furnishing_status`, `rooms`.`condition` AS `rooms.condition`, `rooms`.`last_cleaned` AS `rooms.last_cleaned`, `rooms`.`security_deposit` AS `rooms.security_deposit`, `rooms`.`available_from` AS `rooms.available_from`, `rooms`.`created_at` AS `rooms.createdAt`, `rooms`.`updated_at` AS `rooms.updatedAt`, `rooms->beds`.`id` AS `rooms.beds.id`, `rooms->beds`.`building_id` AS `rooms.beds.building_id`, `rooms->beds`.`floor_id` AS `rooms.beds.floor_id`, `rooms->beds`.`room_id` AS `rooms.beds.room_id`, `rooms->beds`.`bed_number` AS `rooms.beds.bed_number`, `rooms->beds`.`is_occupied` AS `rooms.beds.is_occupied`, `rooms->beds`.`monthly_rent` AS `rooms.beds.monthly_rent`, `rooms->beds`.`status` AS `rooms.beds.status`, `rooms->beds`.`bed_type` AS `rooms.beds.bed_type`, `rooms->beds`.`last_cleaned` AS `rooms.beds.last_cleaned`, `rooms->beds`.`notes` AS `rooms.beds.notes`, `rooms->beds`.`reserved_until` AS `rooms.beds.reserved_until`, `rooms->beds`.`maintenance_scheduled` AS `rooms.beds.maintenance_scheduled`, `rooms->beds`.`created_at` AS `rooms.beds.createdAt`, `rooms->beds`.`updated_at` AS `rooms.beds.updatedAt`, `rooms->beds->renter`.`id` AS `rooms.beds.renter.id`, `rooms->beds->renter`.`name` AS `rooms.beds.renter.name`, `rooms->beds->renter`.`email` AS `rooms.beds.renter.email`, `rooms->beds->renter`.`phone` AS `rooms.beds.renter.phone`, `rooms->beds->renter`.`alternate_phone` AS `rooms.beds.renter.alternate_phone`, `rooms->beds->renter`.`nid` AS `rooms.beds.renter.nid`, `rooms->beds->renter`.`building_id` AS `rooms.beds.renter.building_id`, `rooms->beds->renter`.`floor_id` AS `rooms.beds.renter.floor_id`, `rooms->beds->renter`.`room_id` AS `rooms.beds.renter.room_id`, `rooms->beds->renter`.`bed_id` AS `rooms.beds.renter.bed_id`, `rooms->beds->renter`.`rent_amount` AS `rooms.beds.renter.rent_amount`, `rooms->beds->renter`.`security_deposit` AS `rooms.beds.renter.security_deposit`, `rooms->beds->renter`.`check_in_date` AS `rooms.beds.renter.check_in_date`, `rooms->beds->renter`.`check_out_date` AS `rooms.beds.renter.check_out_date`, `rooms->beds->renter`.`lease_start_date` AS `rooms.beds.renter.lease_start_date`, `rooms->beds->renter`.`lease_end_date` AS `rooms.beds.renter.lease_end_date`, `rooms->beds->renter`.`status` AS `rooms.beds.renter.status`, `rooms->beds->renter`.`emergency_contact` AS `rooms.beds.renter.emergency_contact`, `rooms->beds->renter`.`emergency_relation` AS `rooms.beds.renter.emergency_relation`, `rooms->beds->renter`.`profile_photo` AS `rooms.beds.renter.profile_photo`, `rooms->beds->renter`.`occupation` AS `rooms.beds.renter.occupation`, `rooms->beds->renter`.`company` AS `rooms.beds.renter.company`, `rooms->beds->renter`.`monthly_income` AS `rooms.beds.renter.monthly_income`, `rooms->beds->renter`.`previous_address` AS `rooms.beds.renter.previous_address`, `rooms->beds->renter`.`references` AS `rooms.beds.renter.references`, `rooms->beds->renter`.`notice_period` AS `rooms.beds.renter.notice_period`, `rooms->beds->renter`.`preferences` AS `rooms.beds.renter.preferences`, `rooms->beds->renter`.`payment_history` AS `rooms.beds.renter.payment_history`, `rooms->beds->renter`.`created_at` AS `rooms.beds.renter.createdAt`, `rooms->beds->renter`.`updated_at` AS `rooms.beds.renter.updatedAt` FROM `Floor` AS `Floor` LEFT OUTER JOIN `Room` AS `rooms` ON `Floor`.`id` = `rooms`.`floor_id` LEFT OUTER JOIN `Bed` AS `rooms->beds` ON `rooms`.`id` = `rooms->beds`.`room_id` LEFT OUTER JOIN `Renter` AS `rooms->beds->renter` ON `rooms->beds`.`id` = `rooms->beds->renter`.`bed_id`; Executing (default): SELECT `id`, `name`, `email`, `password`, `role`, `permissions`, `department`, `phone`, `avatar`, `is_active`, `last_login`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `User` AS `User` WHERE `User`.`id` = '8cc00eb8-378e-4f89-8141-f87aa35fd51d'; Executing (default): SELECT `Room`.`id`, `Room`.`building_id`, `Room`.`floor_id`, `Room`.`room_number`, `Room`.`total_beds`, `Room`.`occupied_beds`, `Room`.`rent_per_bed`, `Room`.`facilities`, `Room`.`room_type`, `Room`.`area`, `Room`.`has_balcony`, `Room`.`has_attached_bathroom`, `Room`.`furnishing_status`, `Room`.`condition`, `Room`.`last_cleaned`, `Room`.`security_deposit`, `Room`.`available_from`, `Room`.`created_at` AS `createdAt`, `Room`.`updated_at` AS `updatedAt`, `building`.`id` AS `building.id`, `building`.`name` AS `building.name`, `building`.`address` AS `building.address`, `building`.`floors` AS `building.floors`, `building`.`total_rooms` AS `building.total_rooms`, `building`.`total_beds` AS `building.total_beds`, `building`.`parking_spaces` AS `building.parking_spaces`, `building`.`occupied_beds` AS `building.occupied_beds`, `building`.`manager` AS `building.manager`, `building`.`amenities` AS `building.amenities`, `building`.`monthly_revenue` AS `building.monthly_revenue`, `building`.`building_type` AS `building.building_type`, `building`.`year_built` AS `building.year_built`, `building`.`total_area` AS `building.total_area`, `building`.`elevators` AS `building.elevators`, `building`.`security_features` AS `building.security_features`, `building`.`contact_person` AS `building.contact_person`, `building`.`contact_phone` AS `building.contact_phone`, `building`.`created_at` AS `building.createdAt`, `building`.`updated_at` AS `building.updatedAt`, `floor`.`id` AS `floor.id`, `floor`.`building_id` AS `floor.building_id`, `floor`.`floor_number` AS `floor.floor_number`, `floor`.`total_rooms` AS `floor.total_rooms`, `floor`.`occupied_rooms` AS `floor.occupied_rooms`, `floor`.`floor_type` AS `floor.floor_type`, `floor`.`amenities` AS `floor.amenities`, `floor`.`maintenance_status` AS `floor.maintenance_status`, `floor`.`last_inspection` AS `floor.last_inspection`, `floor`.`notes` AS `floor.notes`, `floor`.`created_at` AS `floor.createdAt`, `floor`.`updated_at` AS `floor.updatedAt`, `beds`.`id` AS `beds.id`, `beds`.`building_id` AS `beds.building_id`, `beds`.`floor_id` AS `beds.floor_id`, `beds`.`room_id` AS `beds.room_id`, `beds`.`bed_number` AS `beds.bed_number`, `beds`.`is_occupied` AS `beds.is_occupied`, `beds`.`monthly_rent` AS `beds.monthly_rent`, `beds`.`status` AS `beds.status`, `beds`.`bed_type` AS `beds.bed_type`, `beds`.`last_cleaned` AS `beds.last_cleaned`, `beds`.`notes` AS `beds.notes`, `beds`.`reserved_until` AS `beds.reserved_until`, `beds`.`maintenance_scheduled` AS `beds.maintenance_scheduled`, `beds`.`created_at` AS `beds.createdAt`, `beds`.`updated_at` AS `beds.updatedAt`, `beds->renter`.`id` AS `beds.renter.id`, `beds->renter`.`name` AS `beds.renter.name`, `beds->renter`.`email` AS `beds.renter.email`, `beds->renter`.`phone` AS `beds.renter.phone`, `beds->renter`.`alternate_phone` AS `beds.renter.alternate_phone`, `beds->renter`.`nid` AS `beds.renter.nid`, `beds->renter`.`building_id` AS `beds.renter.building_id`, `beds->renter`.`floor_id` AS `beds.renter.floor_id`, `beds->renter`.`room_id` AS `beds.renter.room_id`, `beds->renter`.`bed_id` AS `beds.renter.bed_id`, `beds->renter`.`rent_amount` AS `beds.renter.rent_amount`, `beds->renter`.`security_deposit` AS `beds.renter.security_deposit`, `beds->renter`.`check_in_date` AS `beds.renter.check_in_date`, `beds->renter`.`check_out_date` AS `beds.renter.check_out_date`, `beds->renter`.`lease_start_date` AS `beds.renter.lease_start_date`, `beds->renter`.`lease_end_date` AS `beds.renter.lease_end_date`, `beds->renter`.`status` AS `beds.renter.status`, `beds->renter`.`emergency_contact` AS `beds.renter.emergency_contact`, `beds->renter`.`emergency_relation` AS `beds.renter.emergency_relation`, `beds->renter`.`profile_photo` AS `beds.renter.profile_photo`, `beds->renter`.`occupation` AS `beds.renter.occupation`, `beds->renter`.`company` AS `beds.renter.company`, `beds->renter`.`monthly_income` AS `beds.renter.monthly_income`, `beds->renter`.`previous_address` AS `beds.renter.previous_address`, `beds->renter`.`references` AS `beds.renter.references`, `beds->renter`.`notice_period` AS `beds.renter.notice_period`, `beds->renter`.`preferences` AS `beds.renter.preferences`, `beds->renter`.`payment_history` AS `beds.renter.payment_history`, `beds->renter`.`created_at` AS `beds.renter.createdAt`, `beds->renter`.`updated_at` AS `beds.renter.updatedAt` FROM `Room` AS `Room` LEFT OUTER JOIN `Building` AS `building` ON `Room`.`building_id` = `building`.`id` LEFT OUTER JOIN `Floor` AS `floor` ON `Room`.`floor_id` = `floor`.`id` LEFT OUTER JOIN `Bed` AS `beds` ON `Room`.`id` = `beds`.`room_id` LEFT OUTER JOIN `Renter` AS `beds->renter` ON `beds`.`id` = `beds->renter`.`bed_id`; Executing (default): SELECT `id`, `name`, `email`, `password`, `role`, `permissions`, `department`, `phone`, `avatar`, `is_active`, `last_login`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `User` AS `User` WHERE `User`.`id` = '8cc00eb8-378e-4f89-8141-f87aa35fd51d'; Executing (default): SELECT `id`, `name`, `email`, `password`, `role`, `permissions`, `department`, `phone`, `avatar`, `is_active`, `last_login`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `User` AS `User` WHERE `User`.`id` = '8cc00eb8-378e-4f89-8141-f87aa35fd51d'; Executing (default): SELECT `Renter`.`id`, `Renter`.`name`, `Renter`.`email`, `Renter`.`phone`, `Renter`.`alternate_phone`, `Renter`.`nid`, `Renter`.`building_id`, `Renter`.`floor_id`, `Renter`.`room_id`, `Renter`.`bed_id`, `Renter`.`rent_amount`, `Renter`.`security_deposit`, `Renter`.`check_in_date`, `Renter`.`check_out_date`, `Renter`.`lease_start_date`, `Renter`.`lease_end_date`, `Renter`.`status`, `Renter`.`emergency_contact`, `Renter`.`emergency_relation`, `Renter`.`profile_photo`, `Renter`.`occupation`, `Renter`.`company`, `Renter`.`monthly_income`, `Renter`.`previous_address`, `Renter`.`references`, `Renter`.`notice_period`, `Renter`.`preferences`, `Renter`.`payment_history`, `Renter`.`created_at` AS `createdAt`, `Renter`.`updated_at` AS `updatedAt`, `room`.`id` AS `room.id`, `room`.`building_id` AS `room.building_id`, `room`.`floor_id` AS `room.floor_id`, `room`.`room_number` AS `room.room_number`, `room`.`total_beds` AS `room.total_beds`, `room`.`occupied_beds` AS `room.occupied_beds`, `room`.`rent_per_bed` AS `room.rent_per_bed`, `room`.`facilities` AS `room.facilities`, `room`.`room_type` AS `room.room_type`, `room`.`area` AS `room.area`, `room`.`has_balcony` AS `room.has_balcony`, `room`.`has_attached_bathroom` AS `room.has_attached_bathroom`, `room`.`furnishing_status` AS `room.furnishing_status`, `room`.`condition` AS `room.condition`, `room`.`last_cleaned` AS `room.last_cleaned`, `room`.`security_deposit` AS `room.security_deposit`, `room`.`available_from` AS `room.available_from`, `room`.`created_at` AS `room.createdAt`, `room`.`updated_at` AS `room.updatedAt`, `documents`.`id` AS `documents.id`, `documents`.`renter_id` AS `documents.renter_id`, `documents`.`type` AS `documents.type`, `documents`.`file_name` AS `documents.file_name`, `documents`.`file_url` AS `documents.file_url`, `documents`.`file_size` AS `documents.file_size`, `documents`.`mime_type` AS `documents.mime_type`, `documents`.`description` AS `documents.description`, `documents`.`created_at` AS `documents.createdAt`, `documents`.`updated_at` AS `documents.updatedAt` FROM `Renter` AS `Renter` LEFT OUTER JOIN `Room` AS `room` ON `Renter`.`room_id` = `room`.`id` LEFT OUTER JOIN `RenterDocument` AS `documents` ON `Renter`.`id` = `documents`.`renter_id`; Executing (default): SELECT `Bed`.`id`, `Bed`.`building_id`, `Bed`.`floor_id`, `Bed`.`room_id`, `Bed`.`bed_number`, `Bed`.`is_occupied`, `Bed`.`monthly_rent`, `Bed`.`status`, `Bed`.`bed_type`, `Bed`.`last_cleaned`, `Bed`.`notes`, `Bed`.`reserved_until`, `Bed`.`maintenance_scheduled`, `Bed`.`created_at` AS `createdAt`, `Bed`.`updated_at` AS `updatedAt`, `renter`.`id` AS `renter.id`, `renter`.`name` AS `renter.name`, `renter`.`email` AS `renter.email`, `renter`.`phone` AS `renter.phone`, `renter`.`alternate_phone` AS `renter.alternate_phone`, `renter`.`nid` AS `renter.nid`, `renter`.`building_id` AS `renter.building_id`, `renter`.`floor_id` AS `renter.floor_id`, `renter`.`room_id` AS `renter.room_id`, `renter`.`bed_id` AS `renter.bed_id`, `renter`.`rent_amount` AS `renter.rent_amount`, `renter`.`security_deposit` AS `renter.security_deposit`, `renter`.`check_in_date` AS `renter.check_in_date`, `renter`.`check_out_date` AS `renter.check_out_date`, `renter`.`lease_start_date` AS `renter.lease_start_date`, `renter`.`lease_end_date` AS `renter.lease_end_date`, `renter`.`status` AS `renter.status`, `renter`.`emergency_contact` AS `renter.emergency_contact`, `renter`.`emergency_relation` AS `renter.emergency_relation`, `renter`.`profile_photo` AS `renter.profile_photo`, `renter`.`occupation` AS `renter.occupation`, `renter`.`company` AS `renter.company`, `renter`.`monthly_income` AS `renter.monthly_income`, `renter`.`previous_address` AS `renter.previous_address`, `renter`.`references` AS `renter.references`, `renter`.`notice_period` AS `renter.notice_period`, `renter`.`preferences` AS `renter.preferences`, `renter`.`payment_history` AS `renter.payment_history`, `renter`.`created_at` AS `renter.createdAt`, `renter`.`updated_at` AS `renter.updatedAt`, `room`.`id` AS `room.id`, `room`.`building_id` AS `room.building_id`, `room`.`floor_id` AS `room.floor_id`, `room`.`room_number` AS `room.room_number`, `room`.`total_beds` AS `room.total_beds`, `room`.`occupied_beds` AS `room.occupied_beds`, `room`.`rent_per_bed` AS `room.rent_per_bed`, `room`.`facilities` AS `room.facilities`, `room`.`room_type` AS `room.room_type`, `room`.`area` AS `room.area`, `room`.`has_balcony` AS `room.has_balcony`, `room`.`has_attached_bathroom` AS `room.has_attached_bathroom`, `room`.`furnishing_status` AS `room.furnishing_status`, `room`.`condition` AS `room.condition`, `room`.`last_cleaned` AS `room.last_cleaned`, `room`.`security_deposit` AS `room.security_deposit`, `room`.`available_from` AS `room.available_from`, `room`.`created_at` AS `room.createdAt`, `room`.`updated_at` AS `room.updatedAt`, `room->floor`.`id` AS `room.floor.id`, `room->floor`.`building_id` AS `room.floor.building_id`, `room->floor`.`floor_number` AS `room.floor.floor_number`, `room->floor`.`total_rooms` AS `room.floor.total_rooms`, `room->floor`.`occupied_rooms` AS `room.floor.occupied_rooms`, `room->floor`.`floor_type` AS `room.floor.floor_type`, `room->floor`.`amenities` AS `room.floor.amenities`, `room->floor`.`maintenance_status` AS `room.floor.maintenance_status`, `room->floor`.`last_inspection` AS `room.floor.last_inspection`, `room->floor`.`notes` AS `room.floor.notes`, `room->floor`.`created_at` AS `room.floor.createdAt`, `room->floor`.`updated_at` AS `room.floor.updatedAt`, `room->floor->building`.`id` AS `room.floor.building.id`, `room->floor->building`.`name` AS `room.floor.building.name`, `room->floor->building`.`address` AS `room.floor.building.address`, `room->floor->building`.`floors` AS `room.floor.building.floors`, `room->floor->building`.`total_rooms` AS `room.floor.building.total_rooms`, `room->floor->building`.`total_beds` AS `room.floor.building.total_beds`, `room->floor->building`.`parking_spaces` AS `room.floor.building.parking_spaces`, `room->floor->building`.`occupied_beds` AS `room.floor.building.occupied_beds`, `room->floor->building`.`manager` AS `room.floor.building.manager`, `room->floor->building`.`amenities` AS `room.floor.building.amenities`, `room->floor->building`.`monthly_revenue` AS `room.floor.building.monthly_revenue`, `room->floor->building`.`building_type` AS `room.floor.building.building_type`, `room->floor->building`.`year_built` AS `room.floor.building.year_built`, `room->floor->building`.`total_area` AS `room.floor.building.total_area`, `room->floor->building`.`elevators` AS `room.floor.building.elevators`, `room->floor->building`.`security_features` AS `room.floor.building.security_features`, `room->floor->building`.`contact_person` AS `room.floor.building.contact_person`, `room->floor->building`.`contact_phone` AS `room.floor.building.contact_phone`, `room->floor->building`.`created_at` AS `room.floor.building.createdAt`, `room->floor->building`.`updated_at` AS `room.floor.building.updatedAt` FROM `Bed` AS `Bed` LEFT OUTER JOIN `Renter` AS `renter` ON `Bed`.`id` = `renter`.`bed_id` LEFT OUTER JOIN `Room` AS `room` ON `Bed`.`room_id` = `room`.`id` LEFT OUTER JOIN `Floor` AS `room->floor` ON `room`.`floor_id` = `room->floor`.`id` LEFT OUTER JOIN `Building` AS `room->floor->building` ON `room->floor`.`building_id` = `room->floor->building`.`id`; Executing (default): SELECT `id`, `renter_id`, `amount`, `due_date`, `paid_date`, `status`, `month`, `year`, `payment_method`, `transaction_id`, `late_fee`, `discount`, `notes`, `receipt_number`, `collected_by`, `renter_name` AS `renterName`, `room_number`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `RentPayment` AS `RentPayment`; Executing (default): SELECT `id`, `name`, `email`, `password`, `role`, `permissions`, `department`, `phone`, `avatar`, `is_active`, `last_login`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `User` AS `User` WHERE `User`.`id` = '8cc00eb8-378e-4f89-8141-f87aa35fd51d'; Executing (default): SELECT `id`, `visitor_name`, `visitor_phone`, `visiting_renter_id`, `check_in_time`, `check_out_time`, `purpose`, `approved_by`, `id_verified`, `vehicle_number`, `notes`, `visiting_renter_name`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `Visitor` AS `Visitor`; Executing (default): SELECT `id`, `name`, `email`, `password`, `role`, `permissions`, `department`, `phone`, `avatar`, `is_active`, `last_login`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `User` AS `User` WHERE `User`.`id` = '8cc00eb8-378e-4f89-8141-f87aa35fd51d'; Executing (default): SELECT `id`, `name`, `value`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `Settings` AS `Settings`; Executing (default): SELECT `id`, `building_id`, `floor_id`, `room_id`, `bed_id`, `type`, `category`, `description`, `priority`, `status`, `assigned_to`, `cost`, `estimated_cost`, `scheduled_date`, `completed_date`, `notes`, `images`, `warranty`, `next_maintenance_date`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `Maintenance` AS `Maintenance`; Executing (default): SELECT `id`, `name`, `email`, `role`, `permissions`, `department`, `phone`, `avatar`, `is_active`, `last_login`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `User` AS `User` WHERE `User`.`id` = '8cc00eb8-378e-4f89-8141-f87aa35fd51d'; Executing (default): SELECT `id`, `name`, `email`, `password`, `role`, `permissions`, `department`, `phone`, `avatar`, `is_active`, `last_login`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `User` AS `User` WHERE `User`.`id` = '8cc00eb8-378e-4f89-8141-f87aa35fd51d'; Executing (default): SELECT `id`, `building_id`, `floor_id`, `category`, `subcategory`, `description`, `amount`, `date`, `vendor`, `receipt`, `approved_by`, `payment_method`, `is_recurring`, `recurring_frequency`, `budget_category`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `Expense` AS `Expense`; Executing (default): SELECT `id`, `title`, `content`, `type`, `priority`, `target_audience`, `target_ids`, `building_id`, `floor_id`, `created_by`, `expiry_date`, `is_active`, `read_by`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `Notice` AS `Notice`; Executing (default): SELECT `id`, `name`, `email`, `password`, `role`, `permissions`, `department`, `phone`, `avatar`, `is_active`, `last_login`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `User` AS `User` WHERE `User`.`id` = '8cc00eb8-378e-4f89-8141-f87aa35fd51d'; Executing (default): SELECT `id`, `name`, `email`, `password`, `role`, `permissions`, `department`, `phone`, `avatar`, `is_active`, `last_login`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `User` AS `User` WHERE `User`.`id` = '8cc00eb8-378e-4f89-8141-f87aa35fd51d'; Executing (default): SELECT `Building`.`id`, `Building`.`name`, `Building`.`address`, `Building`.`floors`, `Building`.`total_rooms`, `Building`.`total_beds`, `Building`.`parking_spaces`, `Building`.`occupied_beds`, `Building`.`manager`, `Building`.`amenities`, `Building`.`monthly_revenue`, `Building`.`building_type`, `Building`.`year_built`, `Building`.`total_area`, `Building`.`elevators`, `Building`.`security_features`, `Building`.`contact_person`, `Building`.`contact_phone`, `Building`.`created_at` AS `createdAt`, `Building`.`updated_at` AS `updatedAt`, `buildingFloors`.`id` AS `buildingFloors.id`, `buildingFloors`.`building_id` AS `buildingFloors.building_id`, `buildingFloors`.`floor_number` AS `buildingFloors.floor_number`, `buildingFloors`.`total_rooms` AS `buildingFloors.total_rooms`, `buildingFloors`.`occupied_rooms` AS `buildingFloors.occupied_rooms`, `buildingFloors`.`floor_type` AS `buildingFloors.floor_type`, `buildingFloors`.`amenities` AS `buildingFloors.amenities`, `buildingFloors`.`maintenance_status` AS `buildingFloors.maintenance_status`, `buildingFloors`.`last_inspection` AS `buildingFloors.last_inspection`, `buildingFloors`.`notes` AS `buildingFloors.notes`, `buildingFloors`.`created_at` AS `buildingFloors.createdAt`, `buildingFloors`.`updated_at` AS `buildingFloors.updatedAt`, `buildingFloors->rooms`.`id` AS `buildingFloors.rooms.id`, `buildingFloors->rooms`.`building_id` AS `buildingFloors.rooms.building_id`, `buildingFloors->rooms`.`floor_id` AS `buildingFloors.rooms.floor_id`, `buildingFloors->rooms`.`room_number` AS `buildingFloors.rooms.room_number`, `buildingFloors->rooms`.`total_beds` AS `buildingFloors.rooms.total_beds`, `buildingFloors->rooms`.`occupied_beds` AS `buildingFloors.rooms.occupied_beds`, `buildingFloors->rooms`.`rent_per_bed` AS `buildingFloors.rooms.rent_per_bed`, `buildingFloors->rooms`.`facilities` AS `buildingFloors.rooms.facilities`, `buildingFloors->rooms`.`room_type` AS `buildingFloors.rooms.room_type`, `buildingFloors->rooms`.`area` AS `buildingFloors.rooms.area`, `buildingFloors->rooms`.`has_balcony` AS `buildingFloors.rooms.has_balcony`, `buildingFloors->rooms`.`has_attached_bathroom` AS `buildingFloors.rooms.has_attached_bathroom`, `buildingFloors->rooms`.`furnishing_status` AS `buildingFloors.rooms.furnishing_status`, `buildingFloors->rooms`.`condition` AS `buildingFloors.rooms.condition`, `buildingFloors->rooms`.`last_cleaned` AS `buildingFloors.rooms.last_cleaned`, `buildingFloors->rooms`.`security_deposit` AS `buildingFloors.rooms.security_deposit`, `buildingFloors->rooms`.`available_from` AS `buildingFloors.rooms.available_from`, `buildingFloors->rooms`.`created_at` AS `buildingFloors.rooms.createdAt`, `buildingFloors->rooms`.`updated_at` AS `buildingFloors.rooms.updatedAt`, `buildingFloors->rooms->beds`.`id` AS `buildingFloors.rooms.beds.id`, `buildingFloors->rooms->beds`.`building_id` AS `buildingFloors.rooms.beds.building_id`, `buildingFloors->rooms->beds`.`floor_id` AS `buildingFloors.rooms.beds.floor_id`, `buildingFloors->rooms->beds`.`room_id` AS `buildingFloors.rooms.beds.room_id`, `buildingFloors->rooms->beds`.`bed_number` AS `buildingFloors.rooms.beds.bed_number`, `buildingFloors->rooms->beds`.`is_occupied` AS `buildingFloors.rooms.beds.is_occupied`, `buildingFloors->rooms->beds`.`monthly_rent` AS `buildingFloors.rooms.beds.monthly_rent`, `buildingFloors->rooms->beds`.`status` AS `buildingFloors.rooms.beds.status`, `buildingFloors->rooms->beds`.`bed_type` AS `buildingFloors.rooms.beds.bed_type`, `buildingFloors->rooms->beds`.`last_cleaned` AS `buildingFloors.rooms.beds.last_cleaned`, `buildingFloors->rooms->beds`.`notes` AS `buildingFloors.rooms.beds.notes`, `buildingFloors->rooms->beds`.`reserved_until` AS `buildingFloors.rooms.beds.reserved_until`, `buildingFloors->rooms->beds`.`maintenance_scheduled` AS `buildingFloors.rooms.beds.maintenance_scheduled`, `buildingFloors->rooms->beds`.`created_at` AS `buildingFloors.rooms.beds.createdAt`, `buildingFloors->rooms->beds`.`updated_at` AS `buildingFloors.rooms.beds.updatedAt`, `buildingFloors->rooms->beds->renter`.`id` AS `buildingFloors.rooms.beds.renter.id`, `buildingFloors->rooms->beds->renter`.`name` AS `buildingFloors.rooms.beds.renter.name`, `buildingFloors->rooms->beds->renter`.`email` AS `buildingFloors.rooms.beds.renter.email`, `buildingFloors->rooms->beds->renter`.`phone` AS `buildingFloors.rooms.beds.renter.phone`, `buildingFloors->rooms->beds->renter`.`alternate_phone` AS `buildingFloors.rooms.beds.renter.alternate_phone`, `buildingFloors->rooms->beds->renter`.`nid` AS `buildingFloors.rooms.beds.renter.nid`, `buildingFloors->rooms->beds->renter`.`building_id` AS `buildingFloors.rooms.beds.renter.building_id`, `buildingFloors->rooms->beds->renter`.`floor_id` AS `buildingFloors.rooms.beds.renter.floor_id`, `buildingFloors->rooms->beds->renter`.`room_id` AS `buildingFloors.rooms.beds.renter.room_id`, `buildingFloors->rooms->beds->renter`.`bed_id` AS `buildingFloors.rooms.beds.renter.bed_id`, `buildingFloors->rooms->beds->renter`.`rent_amount` AS `buildingFloors.rooms.beds.renter.rent_amount`, `buildingFloors->rooms->beds->renter`.`security_deposit` AS `buildingFloors.rooms.beds.renter.security_deposit`, `buildingFloors->rooms->beds->renter`.`check_in_date` AS `buildingFloors.rooms.beds.renter.check_in_date`, `buildingFloors->rooms->beds->renter`.`check_out_date` AS `buildingFloors.rooms.beds.renter.check_out_date`, `buildingFloors->rooms->beds->renter`.`lease_start_date` AS `buildingFloors.rooms.beds.renter.lease_start_date`, `buildingFloors->rooms->beds->renter`.`lease_end_date` AS `buildingFloors.rooms.beds.renter.lease_end_date`, `buildingFloors->rooms->beds->renter`.`status` AS `buildingFloors.rooms.beds.renter.status`, `buildingFloors->rooms->beds->renter`.`emergency_contact` AS `buildingFloors.rooms.beds.renter.emergency_contact`, `buildingFloors->rooms->beds->renter`.`emergency_relation` AS `buildingFloors.rooms.beds.renter.emergency_relation`, `buildingFloors->rooms->beds->renter`.`profile_photo` AS `buildingFloors.rooms.beds.renter.profile_photo`, `buildingFloors->rooms->beds->renter`.`occupation` AS `buildingFloors.rooms.beds.renter.occupation`, `buildingFloors->rooms->beds->renter`.`company` AS `buildingFloors.rooms.beds.renter.company`, `buildingFloors->rooms->beds->renter`.`monthly_income` AS `buildingFloors.rooms.beds.renter.monthly_income`, `buildingFloors->rooms->beds->renter`.`previous_address` AS `buildingFloors.rooms.beds.renter.previous_address`, `buildingFloors->rooms->beds->renter`.`references` AS `buildingFloors.rooms.beds.renter.references`, `buildingFloors->rooms->beds->renter`.`notice_period` AS `buildingFloors.rooms.beds.renter.notice_period`, `buildingFloors->rooms->beds->renter`.`preferences` AS `buildingFloors.rooms.beds.renter.preferences`, `buildingFloors->rooms->beds->renter`.`payment_history` AS `buildingFloors.rooms.beds.renter.payment_history`, `buildingFloors->rooms->beds->renter`.`created_at` AS `buildingFloors.rooms.beds.renter.createdAt`, `buildingFloors->rooms->beds->renter`.`updated_at` AS `buildingFloors.rooms.beds.renter.updatedAt` FROM `Building` AS `Building` LEFT OUTER JOIN `Floor` AS `buildingFloors` ON `Building`.`id` = `buildingFloors`.`building_id` LEFT OUTER JOIN `Room` AS `buildingFloors->rooms` ON `buildingFloors`.`id` = `buildingFloors->rooms`.`floor_id` LEFT OUTER JOIN `Bed` AS `buildingFloors->rooms->beds` ON `buildingFloors->rooms`.`id` = `buildingFloors->rooms->beds`.`room_id` LEFT OUTER JOIN `Renter` AS `buildingFloors->rooms->beds->renter` ON `buildingFloors->rooms->beds`.`id` = `buildingFloors->rooms->beds->renter`.`bed_id` ORDER BY `createdAt` DESC; Executing (default): SELECT `id`, `name`, `email`, `password`, `role`, `permissions`, `department`, `phone`, `avatar`, `is_active`, `last_login`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `User` AS `User` WHERE `User`.`id` = '8cc00eb8-378e-4f89-8141-f87aa35fd51d'; Executing (default): SELECT `id`, `name`, `email`, `password`, `role`, `permissions`, `department`, `phone`, `avatar`, `is_active`, `last_login`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `User` AS `User` WHERE `User`.`id` = '8cc00eb8-378e-4f89-8141-f87aa35fd51d'; Executing (default): SELECT `Floor`.`id`, `Floor`.`building_id`, `Floor`.`floor_number`, `Floor`.`total_rooms`, `Floor`.`occupied_rooms`, `Floor`.`floor_type`, `Floor`.`amenities`, `Floor`.`maintenance_status`, `Floor`.`last_inspection`, `Floor`.`notes`, `Floor`.`created_at` AS `createdAt`, `Floor`.`updated_at` AS `updatedAt`, `rooms`.`id` AS `rooms.id`, `rooms`.`building_id` AS `rooms.building_id`, `rooms`.`floor_id` AS `rooms.floor_id`, `rooms`.`room_number` AS `rooms.room_number`, `rooms`.`total_beds` AS `rooms.total_beds`, `rooms`.`occupied_beds` AS `rooms.occupied_beds`, `rooms`.`rent_per_bed` AS `rooms.rent_per_bed`, `rooms`.`facilities` AS `rooms.facilities`, `rooms`.`room_type` AS `rooms.room_type`, `rooms`.`area` AS `rooms.area`, `rooms`.`has_balcony` AS `rooms.has_balcony`, `rooms`.`has_attached_bathroom` AS `rooms.has_attached_bathroom`, `rooms`.`furnishing_status` AS `rooms.furnishing_status`, `rooms`.`condition` AS `rooms.condition`, `rooms`.`last_cleaned` AS `rooms.last_cleaned`, `rooms`.`security_deposit` AS `rooms.security_deposit`, `rooms`.`available_from` AS `rooms.available_from`, `rooms`.`created_at` AS `rooms.createdAt`, `rooms`.`updated_at` AS `rooms.updatedAt`, `rooms->beds`.`id` AS `rooms.beds.id`, `rooms->beds`.`building_id` AS `rooms.beds.building_id`, `rooms->beds`.`floor_id` AS `rooms.beds.floor_id`, `rooms->beds`.`room_id` AS `rooms.beds.room_id`, `rooms->beds`.`bed_number` AS `rooms.beds.bed_number`, `rooms->beds`.`is_occupied` AS `rooms.beds.is_occupied`, `rooms->beds`.`monthly_rent` AS `rooms.beds.monthly_rent`, `rooms->beds`.`status` AS `rooms.beds.status`, `rooms->beds`.`bed_type` AS `rooms.beds.bed_type`, `rooms->beds`.`last_cleaned` AS `rooms.beds.last_cleaned`, `rooms->beds`.`notes` AS `rooms.beds.notes`, `rooms->beds`.`reserved_until` AS `rooms.beds.reserved_until`, `rooms->beds`.`maintenance_scheduled` AS `rooms.beds.maintenance_scheduled`, `rooms->beds`.`created_at` AS `rooms.beds.createdAt`, `rooms->beds`.`updated_at` AS `rooms.beds.updatedAt`, `rooms->beds->renter`.`id` AS `rooms.beds.renter.id`, `rooms->beds->renter`.`name` AS `rooms.beds.renter.name`, `rooms->beds->renter`.`email` AS `rooms.beds.renter.email`, `rooms->beds->renter`.`phone` AS `rooms.beds.renter.phone`, `rooms->beds->renter`.`alternate_phone` AS `rooms.beds.renter.alternate_phone`, `rooms->beds->renter`.`nid` AS `rooms.beds.renter.nid`, `rooms->beds->renter`.`building_id` AS `rooms.beds.renter.building_id`, `rooms->beds->renter`.`floor_id` AS `rooms.beds.renter.floor_id`, `rooms->beds->renter`.`room_id` AS `rooms.beds.renter.room_id`, `rooms->beds->renter`.`bed_id` AS `rooms.beds.renter.bed_id`, `rooms->beds->renter`.`rent_amount` AS `rooms.beds.renter.rent_amount`, `rooms->beds->renter`.`security_deposit` AS `rooms.beds.renter.security_deposit`, `rooms->beds->renter`.`check_in_date` AS `rooms.beds.renter.check_in_date`, `rooms->beds->renter`.`check_out_date` AS `rooms.beds.renter.check_out_date`, `rooms->beds->renter`.`lease_start_date` AS `rooms.beds.renter.lease_start_date`, `rooms->beds->renter`.`lease_end_date` AS `rooms.beds.renter.lease_end_date`, `rooms->beds->renter`.`status` AS `rooms.beds.renter.status`, `rooms->beds->renter`.`emergency_contact` AS `rooms.beds.renter.emergency_contact`, `rooms->beds->renter`.`emergency_relation` AS `rooms.beds.renter.emergency_relation`, `rooms->beds->renter`.`profile_photo` AS `rooms.beds.renter.profile_photo`, `rooms->beds->renter`.`occupation` AS `rooms.beds.renter.occupation`, `rooms->beds->renter`.`company` AS `rooms.beds.renter.company`, `rooms->beds->renter`.`monthly_income` AS `rooms.beds.renter.monthly_income`, `rooms->beds->renter`.`previous_address` AS `rooms.beds.renter.previous_address`, `rooms->beds->renter`.`references` AS `rooms.beds.renter.references`, `rooms->beds->renter`.`notice_period` AS `rooms.beds.renter.notice_period`, `rooms->beds->renter`.`preferences` AS `rooms.beds.renter.preferences`, `rooms->beds->renter`.`payment_history` AS `rooms.beds.renter.payment_history`, `rooms->beds->renter`.`created_at` AS `rooms.beds.renter.createdAt`, `rooms->beds->renter`.`updated_at` AS `rooms.beds.renter.updatedAt` FROM `Floor` AS `Floor` LEFT OUTER JOIN `Room` AS `rooms` ON `Floor`.`id` = `rooms`.`floor_id` LEFT OUTER JOIN `Bed` AS `rooms->beds` ON `rooms`.`id` = `rooms->beds`.`room_id` LEFT OUTER JOIN `Renter` AS `rooms->beds->renter` ON `rooms->beds`.`id` = `rooms->beds->renter`.`bed_id`; Executing (default): SELECT `Renter`.`id`, `Renter`.`name`, `Renter`.`email`, `Renter`.`phone`, `Renter`.`alternate_phone`, `Renter`.`nid`, `Renter`.`building_id`, `Renter`.`floor_id`, `Renter`.`room_id`, `Renter`.`bed_id`, `Renter`.`rent_amount`, `Renter`.`security_deposit`, `Renter`.`check_in_date`, `Renter`.`check_out_date`, `Renter`.`lease_start_date`, `Renter`.`lease_end_date`, `Renter`.`status`, `Renter`.`emergency_contact`, `Renter`.`emergency_relation`, `Renter`.`profile_photo`, `Renter`.`occupation`, `Renter`.`company`, `Renter`.`monthly_income`, `Renter`.`previous_address`, `Renter`.`references`, `Renter`.`notice_period`, `Renter`.`preferences`, `Renter`.`payment_history`, `Renter`.`created_at` AS `createdAt`, `Renter`.`updated_at` AS `updatedAt`, `room`.`id` AS `room.id`, `room`.`building_id` AS `room.building_id`, `room`.`floor_id` AS `room.floor_id`, `room`.`room_number` AS `room.room_number`, `room`.`total_beds` AS `room.total_beds`, `room`.`occupied_beds` AS `room.occupied_beds`, `room`.`rent_per_bed` AS `room.rent_per_bed`, `room`.`facilities` AS `room.facilities`, `room`.`room_type` AS `room.room_type`, `room`.`area` AS `room.area`, `room`.`has_balcony` AS `room.has_balcony`, `room`.`has_attached_bathroom` AS `room.has_attached_bathroom`, `room`.`furnishing_status` AS `room.furnishing_status`, `room`.`condition` AS `room.condition`, `room`.`last_cleaned` AS `room.last_cleaned`, `room`.`security_deposit` AS `room.security_deposit`, `room`.`available_from` AS `room.available_from`, `room`.`created_at` AS `room.createdAt`, `room`.`updated_at` AS `room.updatedAt`, `documents`.`id` AS `documents.id`, `documents`.`renter_id` AS `documents.renter_id`, `documents`.`type` AS `documents.type`, `documents`.`file_name` AS `documents.file_name`, `documents`.`file_url` AS `documents.file_url`, `documents`.`file_size` AS `documents.file_size`, `documents`.`mime_type` AS `documents.mime_type`, `documents`.`description` AS `documents.description`, `documents`.`created_at` AS `documents.createdAt`, `documents`.`updated_at` AS `documents.updatedAt` FROM `Renter` AS `Renter` LEFT OUTER JOIN `Room` AS `room` ON `Renter`.`room_id` = `room`.`id` LEFT OUTER JOIN `RenterDocument` AS `documents` ON `Renter`.`id` = `documents`.`renter_id`; Executing (default): SELECT `id`, `name`, `email`, `password`, `role`, `permissions`, `department`, `phone`, `avatar`, `is_active`, `last_login`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `User` AS `User` WHERE `User`.`id` = '8cc00eb8-378e-4f89-8141-f87aa35fd51d'; Executing (default): SELECT `id`, `renter_id`, `amount`, `due_date`, `paid_date`, `status`, `month`, `year`, `payment_method`, `transaction_id`, `late_fee`, `discount`, `notes`, `receipt_number`, `collected_by`, `renter_name` AS `renterName`, `room_number`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `RentPayment` AS `RentPayment`; Executing (default): SELECT `Room`.`id`, `Room`.`building_id`, `Room`.`floor_id`, `Room`.`room_number`, `Room`.`total_beds`, `Room`.`occupied_beds`, `Room`.`rent_per_bed`, `Room`.`facilities`, `Room`.`room_type`, `Room`.`area`, `Room`.`has_balcony`, `Room`.`has_attached_bathroom`, `Room`.`furnishing_status`, `Room`.`condition`, `Room`.`last_cleaned`, `Room`.`security_deposit`, `Room`.`available_from`, `Room`.`created_at` AS `createdAt`, `Room`.`updated_at` AS `updatedAt`, `building`.`id` AS `building.id`, `building`.`name` AS `building.name`, `building`.`address` AS `building.address`, `building`.`floors` AS `building.floors`, `building`.`total_rooms` AS `building.total_rooms`, `building`.`total_beds` AS `building.total_beds`, `building`.`parking_spaces` AS `building.parking_spaces`, `building`.`occupied_beds` AS `building.occupied_beds`, `building`.`manager` AS `building.manager`, `building`.`amenities` AS `building.amenities`, `building`.`monthly_revenue` AS `building.monthly_revenue`, `building`.`building_type` AS `building.building_type`, `building`.`year_built` AS `building.year_built`, `building`.`total_area` AS `building.total_area`, `building`.`elevators` AS `building.elevators`, `building`.`security_features` AS `building.security_features`, `building`.`contact_person` AS `building.contact_person`, `building`.`contact_phone` AS `building.contact_phone`, `building`.`created_at` AS `building.createdAt`, `building`.`updated_at` AS `building.updatedAt`, `floor`.`id` AS `floor.id`, `floor`.`building_id` AS `floor.building_id`, `floor`.`floor_number` AS `floor.floor_number`, `floor`.`total_rooms` AS `floor.total_rooms`, `floor`.`occupied_rooms` AS `floor.occupied_rooms`, `floor`.`floor_type` AS `floor.floor_type`, `floor`.`amenities` AS `floor.amenities`, `floor`.`maintenance_status` AS `floor.maintenance_status`, `floor`.`last_inspection` AS `floor.last_inspection`, `floor`.`notes` AS `floor.notes`, `floor`.`created_at` AS `floor.createdAt`, `floor`.`updated_at` AS `floor.updatedAt`, `beds`.`id` AS `beds.id`, `beds`.`building_id` AS `beds.building_id`, `beds`.`floor_id` AS `beds.floor_id`, `beds`.`room_id` AS `beds.room_id`, `beds`.`bed_number` AS `beds.bed_number`, `beds`.`is_occupied` AS `beds.is_occupied`, `beds`.`monthly_rent` AS `beds.monthly_rent`, `beds`.`status` AS `beds.status`, `beds`.`bed_type` AS `beds.bed_type`, `beds`.`last_cleaned` AS `beds.last_cleaned`, `beds`.`notes` AS `beds.notes`, `beds`.`reserved_until` AS `beds.reserved_until`, `beds`.`maintenance_scheduled` AS `beds.maintenance_scheduled`, `beds`.`created_at` AS `beds.createdAt`, `beds`.`updated_at` AS `beds.updatedAt`, `beds->renter`.`id` AS `beds.renter.id`, `beds->renter`.`name` AS `beds.renter.name`, `beds->renter`.`email` AS `beds.renter.email`, `beds->renter`.`phone` AS `beds.renter.phone`, `beds->renter`.`alternate_phone` AS `beds.renter.alternate_phone`, `beds->renter`.`nid` AS `beds.renter.nid`, `beds->renter`.`building_id` AS `beds.renter.building_id`, `beds->renter`.`floor_id` AS `beds.renter.floor_id`, `beds->renter`.`room_id` AS `beds.renter.room_id`, `beds->renter`.`bed_id` AS `beds.renter.bed_id`, `beds->renter`.`rent_amount` AS `beds.renter.rent_amount`, `beds->renter`.`security_deposit` AS `beds.renter.security_deposit`, `beds->renter`.`check_in_date` AS `beds.renter.check_in_date`, `beds->renter`.`check_out_date` AS `beds.renter.check_out_date`, `beds->renter`.`lease_start_date` AS `beds.renter.lease_start_date`, `beds->renter`.`lease_end_date` AS `beds.renter.lease_end_date`, `beds->renter`.`status` AS `beds.renter.status`, `beds->renter`.`emergency_contact` AS `beds.renter.emergency_contact`, `beds->renter`.`emergency_relation` AS `beds.renter.emergency_relation`, `beds->renter`.`profile_photo` AS `beds.renter.profile_photo`, `beds->renter`.`occupation` AS `beds.renter.occupation`, `beds->renter`.`company` AS `beds.renter.company`, `beds->renter`.`monthly_income` AS `beds.renter.monthly_income`, `beds->renter`.`previous_address` AS `beds.renter.previous_address`, `beds->renter`.`references` AS `beds.renter.references`, `beds->renter`.`notice_period` AS `beds.renter.notice_period`, `beds->renter`.`preferences` AS `beds.renter.preferences`, `beds->renter`.`payment_history` AS `beds.renter.payment_history`, `beds->renter`.`created_at` AS `beds.renter.createdAt`, `beds->renter`.`updated_at` AS `beds.renter.updatedAt` FROM `Room` AS `Room` LEFT OUTER JOIN `Building` AS `building` ON `Room`.`building_id` = `building`.`id` LEFT OUTER JOIN `Floor` AS `floor` ON `Room`.`floor_id` = `floor`.`id` LEFT OUTER JOIN `Bed` AS `beds` ON `Room`.`id` = `beds`.`room_id` LEFT OUTER JOIN `Renter` AS `beds->renter` ON `beds`.`id` = `beds->renter`.`bed_id`; Executing (default): SELECT `Bed`.`id`, `Bed`.`building_id`, `Bed`.`floor_id`, `Bed`.`room_id`, `Bed`.`bed_number`, `Bed`.`is_occupied`, `Bed`.`monthly_rent`, `Bed`.`status`, `Bed`.`bed_type`, `Bed`.`last_cleaned`, `Bed`.`notes`, `Bed`.`reserved_until`, `Bed`.`maintenance_scheduled`, `Bed`.`created_at` AS `createdAt`, `Bed`.`updated_at` AS `updatedAt`, `renter`.`id` AS `renter.id`, `renter`.`name` AS `renter.name`, `renter`.`email` AS `renter.email`, `renter`.`phone` AS `renter.phone`, `renter`.`alternate_phone` AS `renter.alternate_phone`, `renter`.`nid` AS `renter.nid`, `renter`.`building_id` AS `renter.building_id`, `renter`.`floor_id` AS `renter.floor_id`, `renter`.`room_id` AS `renter.room_id`, `renter`.`bed_id` AS `renter.bed_id`, `renter`.`rent_amount` AS `renter.rent_amount`, `renter`.`security_deposit` AS `renter.security_deposit`, `renter`.`check_in_date` AS `renter.check_in_date`, `renter`.`check_out_date` AS `renter.check_out_date`, `renter`.`lease_start_date` AS `renter.lease_start_date`, `renter`.`lease_end_date` AS `renter.lease_end_date`, `renter`.`status` AS `renter.status`, `renter`.`emergency_contact` AS `renter.emergency_contact`, `renter`.`emergency_relation` AS `renter.emergency_relation`, `renter`.`profile_photo` AS `renter.profile_photo`, `renter`.`occupation` AS `renter.occupation`, `renter`.`company` AS `renter.company`, `renter`.`monthly_income` AS `renter.monthly_income`, `renter`.`previous_address` AS `renter.previous_address`, `renter`.`references` AS `renter.references`, `renter`.`notice_period` AS `renter.notice_period`, `renter`.`preferences` AS `renter.preferences`, `renter`.`payment_history` AS `renter.payment_history`, `renter`.`created_at` AS `renter.createdAt`, `renter`.`updated_at` AS `renter.updatedAt`, `room`.`id` AS `room.id`, `room`.`building_id` AS `room.building_id`, `room`.`floor_id` AS `room.floor_id`, `room`.`room_number` AS `room.room_number`, `room`.`total_beds` AS `room.total_beds`, `room`.`occupied_beds` AS `room.occupied_beds`, `room`.`rent_per_bed` AS `room.rent_per_bed`, `room`.`facilities` AS `room.facilities`, `room`.`room_type` AS `room.room_type`, `room`.`area` AS `room.area`, `room`.`has_balcony` AS `room.has_balcony`, `room`.`has_attached_bathroom` AS `room.has_attached_bathroom`, `room`.`furnishing_status` AS `room.furnishing_status`, `room`.`condition` AS `room.condition`, `room`.`last_cleaned` AS `room.last_cleaned`, `room`.`security_deposit` AS `room.security_deposit`, `room`.`available_from` AS `room.available_from`, `room`.`created_at` AS `room.createdAt`, `room`.`updated_at` AS `room.updatedAt`, `room->floor`.`id` AS `room.floor.id`, `room->floor`.`building_id` AS `room.floor.building_id`, `room->floor`.`floor_number` AS `room.floor.floor_number`, `room->floor`.`total_rooms` AS `room.floor.total_rooms`, `room->floor`.`occupied_rooms` AS `room.floor.occupied_rooms`, `room->floor`.`floor_type` AS `room.floor.floor_type`, `room->floor`.`amenities` AS `room.floor.amenities`, `room->floor`.`maintenance_status` AS `room.floor.maintenance_status`, `room->floor`.`last_inspection` AS `room.floor.last_inspection`, `room->floor`.`notes` AS `room.floor.notes`, `room->floor`.`created_at` AS `room.floor.createdAt`, `room->floor`.`updated_at` AS `room.floor.updatedAt`, `room->floor->building`.`id` AS `room.floor.building.id`, `room->floor->building`.`name` AS `room.floor.building.name`, `room->floor->building`.`address` AS `room.floor.building.address`, `room->floor->building`.`floors` AS `room.floor.building.floors`, `room->floor->building`.`total_rooms` AS `room.floor.building.total_rooms`, `room->floor->building`.`total_beds` AS `room.floor.building.total_beds`, `room->floor->building`.`parking_spaces` AS `room.floor.building.parking_spaces`, `room->floor->building`.`occupied_beds` AS `room.floor.building.occupied_beds`, `room->floor->building`.`manager` AS `room.floor.building.manager`, `room->floor->building`.`amenities` AS `room.floor.building.amenities`, `room->floor->building`.`monthly_revenue` AS `room.floor.building.monthly_revenue`, `room->floor->building`.`building_type` AS `room.floor.building.building_type`, `room->floor->building`.`year_built` AS `room.floor.building.year_built`, `room->floor->building`.`total_area` AS `room.floor.building.total_area`, `room->floor->building`.`elevators` AS `room.floor.building.elevators`, `room->floor->building`.`security_features` AS `room.floor.building.security_features`, `room->floor->building`.`contact_person` AS `room.floor.building.contact_person`, `room->floor->building`.`contact_phone` AS `room.floor.building.contact_phone`, `room->floor->building`.`created_at` AS `room.floor.building.createdAt`, `room->floor->building`.`updated_at` AS `room.floor.building.updatedAt` FROM `Bed` AS `Bed` LEFT OUTER JOIN `Renter` AS `renter` ON `Bed`.`id` = `renter`.`bed_id` LEFT OUTER JOIN `Room` AS `room` ON `Bed`.`room_id` = `room`.`id` LEFT OUTER JOIN `Floor` AS `room->floor` ON `room`.`floor_id` = `room->floor`.`id` LEFT OUTER JOIN `Building` AS `room->floor->building` ON `room->floor`.`building_id` = `room->floor->building`.`id`; Executing (default): SELECT `id`, `visitor_name`, `visitor_phone`, `visiting_renter_id`, `check_in_time`, `check_out_time`, `purpose`, `approved_by`, `id_verified`, `vehicle_number`, `notes`, `visiting_renter_name`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `Visitor` AS `Visitor`; Executing (default): SELECT `id`, `name`, `email`, `password`, `role`, `permissions`, `department`, `phone`, `avatar`, `is_active`, `last_login`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `User` AS `User` WHERE `User`.`id` = '8cc00eb8-378e-4f89-8141-f87aa35fd51d'; Executing (default): SELECT `id`, `name`, `email`, `password`, `role`, `permissions`, `department`, `phone`, `avatar`, `is_active`, `last_login`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `User` AS `User` WHERE `User`.`id` = '8cc00eb8-378e-4f89-8141-f87aa35fd51d'; Executing (default): SELECT `id`, `name`, `value`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `Settings` AS `Settings`; Executing (default): SELECT `id`, `title`, `content`, `type`, `priority`, `target_audience`, `target_ids`, `building_id`, `floor_id`, `created_by`, `expiry_date`, `is_active`, `read_by`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `Notice` AS `Notice`; Executing (default): SELECT `id`, `name`, `email`, `password`, `role`, `permissions`, `department`, `phone`, `avatar`, `is_active`, `last_login`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `User` AS `User` WHERE `User`.`id` = '8cc00eb8-378e-4f89-8141-f87aa35fd51d'; Executing (default): SELECT `id`, `building_id`, `floor_id`, `room_id`, `bed_id`, `type`, `category`, `description`, `priority`, `status`, `assigned_to`, `cost`, `estimated_cost`, `scheduled_date`, `completed_date`, `notes`, `images`, `warranty`, `next_maintenance_date`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `Maintenance` AS `Maintenance`; Executing (default): SELECT `id`, `building_id`, `floor_id`, `category`, `subcategory`, `description`, `amount`, `date`, `vendor`, `receipt`, `approved_by`, `payment_method`, `is_recurring`, `recurring_frequency`, `budget_category`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `Expense` AS `Expense`; Executing (default): SELECT `id`, `name`, `email`, `role`, `permissions`, `department`, `phone`, `avatar`, `is_active`, `last_login`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `User` AS `User` WHERE `User`.`id` = '8cc00eb8-378e-4f89-8141-f87aa35fd51d'; Executing (default): SELECT `Renter`.`id`, `Renter`.`name`, `Renter`.`email`, `Renter`.`phone`, `Renter`.`alternate_phone`, `Renter`.`nid`, `Renter`.`building_id`, `Renter`.`floor_id`, `Renter`.`room_id`, `Renter`.`bed_id`, `Renter`.`rent_amount`, `Renter`.`security_deposit`, `Renter`.`check_in_date`, `Renter`.`check_out_date`, `Renter`.`lease_start_date`, `Renter`.`lease_end_date`, `Renter`.`status`, `Renter`.`emergency_contact`, `Renter`.`emergency_relation`, `Renter`.`profile_photo`, `Renter`.`occupation`, `Renter`.`company`, `Renter`.`monthly_income`, `Renter`.`previous_address`, `Renter`.`references`, `Renter`.`notice_period`, `Renter`.`preferences`, `Renter`.`payment_history`, `Renter`.`created_at` AS `createdAt`, `Renter`.`updated_at` AS `updatedAt`, `room`.`id` AS `room.id`, `room`.`building_id` AS `room.building_id`, `room`.`floor_id` AS `room.floor_id`, `room`.`room_number` AS `room.room_number`, `room`.`total_beds` AS `room.total_beds`, `room`.`occupied_beds` AS `room.occupied_beds`, `room`.`rent_per_bed` AS `room.rent_per_bed`, `room`.`facilities` AS `room.facilities`, `room`.`room_type` AS `room.room_type`, `room`.`area` AS `room.area`, `room`.`has_balcony` AS `room.has_balcony`, `room`.`has_attached_bathroom` AS `room.has_attached_bathroom`, `room`.`furnishing_status` AS `room.furnishing_status`, `room`.`condition` AS `room.condition`, `room`.`last_cleaned` AS `room.last_cleaned`, `room`.`security_deposit` AS `room.security_deposit`, `room`.`available_from` AS `room.available_from`, `room`.`created_at` AS `room.createdAt`, `room`.`updated_at` AS `room.updatedAt`, `documents`.`id` AS `documents.id`, `documents`.`renter_id` AS `documents.renter_id`, `documents`.`type` AS `documents.type`, `documents`.`file_name` AS `documents.file_name`, `documents`.`file_url` AS `documents.file_url`, `documents`.`file_size` AS `documents.file_size`, `documents`.`mime_type` AS `documents.mime_type`, `documents`.`description` AS `documents.description`, `documents`.`created_at` AS `documents.createdAt`, `documents`.`updated_at` AS `documents.updatedAt` FROM `Renter` AS `Renter` LEFT OUTER JOIN `Room` AS `room` ON `Renter`.`room_id` = `room`.`id` LEFT OUTER JOIN `RenterDocument` AS `documents` ON `Renter`.`id` = `documents`.`renter_id`; Executing (default): SELECT `id`, `title`, `content`, `type`, `priority`, `target_audience`, `target_ids`, `building_id`, `floor_id`, `created_by`, `expiry_date`, `is_active`, `read_by`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `Notice` AS `Notice`; Executing (default): SELECT `id`, `visitor_name`, `visitor_phone`, `visiting_renter_id`, `check_in_time`, `check_out_time`, `purpose`, `approved_by`, `id_verified`, `vehicle_number`, `notes`, `visiting_renter_name`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `Visitor` AS `Visitor`; Executing (default): SELECT `id`, `name`, `value`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `Settings` AS `Settings`; Executing (default): SELECT `Renter`.`id`, `Renter`.`name`, `Renter`.`email`, `Renter`.`phone`, `Renter`.`alternate_phone`, `Renter`.`nid`, `Renter`.`building_id`, `Renter`.`floor_id`, `Renter`.`room_id`, `Renter`.`bed_id`, `Renter`.`rent_amount`, `Renter`.`security_deposit`, `Renter`.`check_in_date`, `Renter`.`check_out_date`, `Renter`.`lease_start_date`, `Renter`.`lease_end_date`, `Renter`.`status`, `Renter`.`emergency_contact`, `Renter`.`emergency_relation`, `Renter`.`profile_photo`, `Renter`.`occupation`, `Renter`.`company`, `Renter`.`monthly_income`, `Renter`.`previous_address`, `Renter`.`references`, `Renter`.`notice_period`, `Renter`.`preferences`, `Renter`.`payment_history`, `Renter`.`created_at` AS `createdAt`, `Renter`.`updated_at` AS `updatedAt`, `room`.`id` AS `room.id`, `room`.`building_id` AS `room.building_id`, `room`.`floor_id` AS `room.floor_id`, `room`.`room_number` AS `room.room_number`, `room`.`total_beds` AS `room.total_beds`, `room`.`occupied_beds` AS `room.occupied_beds`, `room`.`rent_per_bed` AS `room.rent_per_bed`, `room`.`facilities` AS `room.facilities`, `room`.`room_type` AS `room.room_type`, `room`.`area` AS `room.area`, `room`.`has_balcony` AS `room.has_balcony`, `room`.`has_attached_bathroom` AS `room.has_attached_bathroom`, `room`.`furnishing_status` AS `room.furnishing_status`, `room`.`condition` AS `room.condition`, `room`.`last_cleaned` AS `room.last_cleaned`, `room`.`security_deposit` AS `room.security_deposit`, `room`.`available_from` AS `room.available_from`, `room`.`created_at` AS `room.createdAt`, `room`.`updated_at` AS `room.updatedAt`, `documents`.`id` AS `documents.id`, `documents`.`renter_id` AS `documents.renter_id`, `documents`.`type` AS `documents.type`, `documents`.`file_name` AS `documents.file_name`, `documents`.`file_url` AS `documents.file_url`, `documents`.`file_size` AS `documents.file_size`, `documents`.`mime_type` AS `documents.mime_type`, `documents`.`description` AS `documents.description`, `documents`.`created_at` AS `documents.createdAt`, `documents`.`updated_at` AS `documents.updatedAt` FROM `Renter` AS `Renter` LEFT OUTER JOIN `Room` AS `room` ON `Renter`.`room_id` = `room`.`id` LEFT OUTER JOIN `RenterDocument` AS `documents` ON `Renter`.`id` = `documents`.`renter_id`; Executing (default): SELECT `id`, `title`, `content`, `type`, `priority`, `target_audience`, `target_ids`, `building_id`, `floor_id`, `created_by`, `expiry_date`, `is_active`, `read_by`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `Notice` AS `Notice`; Executing (default): SELECT `id`, `visitor_name`, `visitor_phone`, `visiting_renter_id`, `check_in_time`, `check_out_time`, `purpose`, `approved_by`, `id_verified`, `vehicle_number`, `notes`, `visiting_renter_name`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `Visitor` AS `Visitor`; Executing (default): SELECT `id`, `name`, `value`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `Settings` AS `Settings`; Executing (default): SELECT `Renter`.`id`, `Renter`.`name`, `Renter`.`email`, `Renter`.`phone`, `Renter`.`alternate_phone`, `Renter`.`nid`, `Renter`.`building_id`, `Renter`.`floor_id`, `Renter`.`room_id`, `Renter`.`bed_id`, `Renter`.`rent_amount`, `Renter`.`security_deposit`, `Renter`.`check_in_date`, `Renter`.`check_out_date`, `Renter`.`lease_start_date`, `Renter`.`lease_end_date`, `Renter`.`status`, `Renter`.`emergency_contact`, `Renter`.`emergency_relation`, `Renter`.`profile_photo`, `Renter`.`occupation`, `Renter`.`company`, `Renter`.`monthly_income`, `Renter`.`previous_address`, `Renter`.`references`, `Renter`.`notice_period`, `Renter`.`preferences`, `Renter`.`payment_history`, `Renter`.`created_at` AS `createdAt`, `Renter`.`updated_at` AS `updatedAt`, `room`.`id` AS `room.id`, `room`.`building_id` AS `room.building_id`, `room`.`floor_id` AS `room.floor_id`, `room`.`room_number` AS `room.room_number`, `room`.`total_beds` AS `room.total_beds`, `room`.`occupied_beds` AS `room.occupied_beds`, `room`.`rent_per_bed` AS `room.rent_per_bed`, `room`.`facilities` AS `room.facilities`, `room`.`room_type` AS `room.room_type`, `room`.`area` AS `room.area`, `room`.`has_balcony` AS `room.has_balcony`, `room`.`has_attached_bathroom` AS `room.has_attached_bathroom`, `room`.`furnishing_status` AS `room.furnishing_status`, `room`.`condition` AS `room.condition`, `room`.`last_cleaned` AS `room.last_cleaned`, `room`.`security_deposit` AS `room.security_deposit`, `room`.`available_from` AS `room.available_from`, `room`.`created_at` AS `room.createdAt`, `room`.`updated_at` AS `room.updatedAt`, `documents`.`id` AS `documents.id`, `documents`.`renter_id` AS `documents.renter_id`, `documents`.`type` AS `documents.type`, `documents`.`file_name` AS `documents.file_name`, `documents`.`file_url` AS `documents.file_url`, `documents`.`file_size` AS `documents.file_size`, `documents`.`mime_type` AS `documents.mime_type`, `documents`.`description` AS `documents.description`, `documents`.`created_at` AS `documents.createdAt`, `documents`.`updated_at` AS `documents.updatedAt` FROM `Renter` AS `Renter` LEFT OUTER JOIN `Room` AS `room` ON `Renter`.`room_id` = `room`.`id` LEFT OUTER JOIN `RenterDocument` AS `documents` ON `Renter`.`id` = `documents`.`renter_id`; Executing (default): SELECT `id`, `title`, `content`, `type`, `priority`, `target_audience`, `target_ids`, `building_id`, `floor_id`, `created_by`, `expiry_date`, `is_active`, `read_by`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `Notice` AS `Notice`; Executing (default): SELECT `id`, `name`, `value`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `Settings` AS `Settings`; Executing (default): SELECT `id`, `visitor_name`, `visitor_phone`, `visiting_renter_id`, `check_in_time`, `check_out_time`, `purpose`, `approved_by`, `id_verified`, `vehicle_number`, `notes`, `visiting_renter_name`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `Visitor` AS `Visitor`; Executing (default): SELECT `Renter`.`id`, `Renter`.`name`, `Renter`.`email`, `Renter`.`phone`, `Renter`.`alternate_phone`, `Renter`.`nid`, `Renter`.`building_id`, `Renter`.`floor_id`, `Renter`.`room_id`, `Renter`.`bed_id`, `Renter`.`rent_amount`, `Renter`.`security_deposit`, `Renter`.`check_in_date`, `Renter`.`check_out_date`, `Renter`.`lease_start_date`, `Renter`.`lease_end_date`, `Renter`.`status`, `Renter`.`emergency_contact`, `Renter`.`emergency_relation`, `Renter`.`profile_photo`, `Renter`.`occupation`, `Renter`.`company`, `Renter`.`monthly_income`, `Renter`.`previous_address`, `Renter`.`references`, `Renter`.`notice_period`, `Renter`.`preferences`, `Renter`.`payment_history`, `Renter`.`created_at` AS `createdAt`, `Renter`.`updated_at` AS `updatedAt`, `room`.`id` AS `room.id`, `room`.`building_id` AS `room.building_id`, `room`.`floor_id` AS `room.floor_id`, `room`.`room_number` AS `room.room_number`, `room`.`total_beds` AS `room.total_beds`, `room`.`occupied_beds` AS `room.occupied_beds`, `room`.`rent_per_bed` AS `room.rent_per_bed`, `room`.`facilities` AS `room.facilities`, `room`.`room_type` AS `room.room_type`, `room`.`area` AS `room.area`, `room`.`has_balcony` AS `room.has_balcony`, `room`.`has_attached_bathroom` AS `room.has_attached_bathroom`, `room`.`furnishing_status` AS `room.furnishing_status`, `room`.`condition` AS `room.condition`, `room`.`last_cleaned` AS `room.last_cleaned`, `room`.`security_deposit` AS `room.security_deposit`, `room`.`available_from` AS `room.available_from`, `room`.`created_at` AS `room.createdAt`, `room`.`updated_at` AS `room.updatedAt`, `documents`.`id` AS `documents.id`, `documents`.`renter_id` AS `documents.renter_id`, `documents`.`type` AS `documents.type`, `documents`.`file_name` AS `documents.file_name`, `documents`.`file_url` AS `documents.file_url`, `documents`.`file_size` AS `documents.file_size`, `documents`.`mime_type` AS `documents.mime_type`, `documents`.`description` AS `documents.description`, `documents`.`created_at` AS `documents.createdAt`, `documents`.`updated_at` AS `documents.updatedAt` FROM `Renter` AS `Renter` LEFT OUTER JOIN `Room` AS `room` ON `Renter`.`room_id` = `room`.`id` LEFT OUTER JOIN `RenterDocument` AS `documents` ON `Renter`.`id` = `documents`.`renter_id`; Executing (default): SELECT `id`, `title`, `content`, `type`, `priority`, `target_audience`, `target_ids`, `building_id`, `floor_id`, `created_by`, `expiry_date`, `is_active`, `read_by`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `Notice` AS `Notice`; Executing (default): SELECT `id`, `visitor_name`, `visitor_phone`, `visiting_renter_id`, `check_in_time`, `check_out_time`, `purpose`, `approved_by`, `id_verified`, `vehicle_number`, `notes`, `visiting_renter_name`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `Visitor` AS `Visitor`; Executing (default): SELECT `id`, `name`, `value`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `Settings` AS `Settings`; Executing (default): SELECT `Renter`.`id`, `Renter`.`name`, `Renter`.`email`, `Renter`.`phone`, `Renter`.`alternate_phone`, `Renter`.`nid`, `Renter`.`building_id`, `Renter`.`floor_id`, `Renter`.`room_id`, `Renter`.`bed_id`, `Renter`.`rent_amount`, `Renter`.`security_deposit`, `Renter`.`check_in_date`, `Renter`.`check_out_date`, `Renter`.`lease_start_date`, `Renter`.`lease_end_date`, `Renter`.`status`, `Renter`.`emergency_contact`, `Renter`.`emergency_relation`, `Renter`.`profile_photo`, `Renter`.`occupation`, `Renter`.`company`, `Renter`.`monthly_income`, `Renter`.`previous_address`, `Renter`.`references`, `Renter`.`notice_period`, `Renter`.`preferences`, `Renter`.`payment_history`, `Renter`.`created_at` AS `createdAt`, `Renter`.`updated_at` AS `updatedAt`, `room`.`id` AS `room.id`, `room`.`building_id` AS `room.building_id`, `room`.`floor_id` AS `room.floor_id`, `room`.`room_number` AS `room.room_number`, `room`.`total_beds` AS `room.total_beds`, `room`.`occupied_beds` AS `room.occupied_beds`, `room`.`rent_per_bed` AS `room.rent_per_bed`, `room`.`facilities` AS `room.facilities`, `room`.`room_type` AS `room.room_type`, `room`.`area` AS `room.area`, `room`.`has_balcony` AS `room.has_balcony`, `room`.`has_attached_bathroom` AS `room.has_attached_bathroom`, `room`.`furnishing_status` AS `room.furnishing_status`, `room`.`condition` AS `room.condition`, `room`.`last_cleaned` AS `room.last_cleaned`, `room`.`security_deposit` AS `room.security_deposit`, `room`.`available_from` AS `room.available_from`, `room`.`created_at` AS `room.createdAt`, `room`.`updated_at` AS `room.updatedAt`, `documents`.`id` AS `documents.id`, `documents`.`renter_id` AS `documents.renter_id`, `documents`.`type` AS `documents.type`, `documents`.`file_name` AS `documents.file_name`, `documents`.`file_url` AS `documents.file_url`, `documents`.`file_size` AS `documents.file_size`, `documents`.`mime_type` AS `documents.mime_type`, `documents`.`description` AS `documents.description`, `documents`.`created_at` AS `documents.createdAt`, `documents`.`updated_at` AS `documents.updatedAt` FROM `Renter` AS `Renter` LEFT OUTER JOIN `Room` AS `room` ON `Renter`.`room_id` = `room`.`id` LEFT OUTER JOIN `RenterDocument` AS `documents` ON `Renter`.`id` = `documents`.`renter_id`; Executing (default): SELECT `id`, `title`, `content`, `type`, `priority`, `target_audience`, `target_ids`, `building_id`, `floor_id`, `created_by`, `expiry_date`, `is_active`, `read_by`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `Notice` AS `Notice`; Executing (default): SELECT `id`, `visitor_name`, `visitor_phone`, `visiting_renter_id`, `check_in_time`, `check_out_time`, `purpose`, `approved_by`, `id_verified`, `vehicle_number`, `notes`, `visiting_renter_name`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `Visitor` AS `Visitor`; Executing (default): SELECT `id`, `name`, `value`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `Settings` AS `Settings`; Executing (default): SELECT `Renter`.`id`, `Renter`.`name`, `Renter`.`email`, `Renter`.`phone`, `Renter`.`alternate_phone`, `Renter`.`nid`, `Renter`.`building_id`, `Renter`.`floor_id`, `Renter`.`room_id`, `Renter`.`bed_id`, `Renter`.`rent_amount`, `Renter`.`security_deposit`, `Renter`.`check_in_date`, `Renter`.`check_out_date`, `Renter`.`lease_start_date`, `Renter`.`lease_end_date`, `Renter`.`status`, `Renter`.`emergency_contact`, `Renter`.`emergency_relation`, `Renter`.`profile_photo`, `Renter`.`occupation`, `Renter`.`company`, `Renter`.`monthly_income`, `Renter`.`previous_address`, `Renter`.`references`, `Renter`.`notice_period`, `Renter`.`preferences`, `Renter`.`payment_history`, `Renter`.`created_at` AS `createdAt`, `Renter`.`updated_at` AS `updatedAt`, `room`.`id` AS `room.id`, `room`.`building_id` AS `room.building_id`, `room`.`floor_id` AS `room.floor_id`, `room`.`room_number` AS `room.room_number`, `room`.`total_beds` AS `room.total_beds`, `room`.`occupied_beds` AS `room.occupied_beds`, `room`.`rent_per_bed` AS `room.rent_per_bed`, `room`.`facilities` AS `room.facilities`, `room`.`room_type` AS `room.room_type`, `room`.`area` AS `room.area`, `room`.`has_balcony` AS `room.has_balcony`, `room`.`has_attached_bathroom` AS `room.has_attached_bathroom`, `room`.`furnishing_status` AS `room.furnishing_status`, `room`.`condition` AS `room.condition`, `room`.`last_cleaned` AS `room.last_cleaned`, `room`.`security_deposit` AS `room.security_deposit`, `room`.`available_from` AS `room.available_from`, `room`.`created_at` AS `room.createdAt`, `room`.`updated_at` AS `room.updatedAt`, `documents`.`id` AS `documents.id`, `documents`.`renter_id` AS `documents.renter_id`, `documents`.`type` AS `documents.type`, `documents`.`file_name` AS `documents.file_name`, `documents`.`file_url` AS `documents.file_url`, `documents`.`file_size` AS `documents.file_size`, `documents`.`mime_type` AS `documents.mime_type`, `documents`.`description` AS `documents.description`, `documents`.`created_at` AS `documents.createdAt`, `documents`.`updated_at` AS `documents.updatedAt` FROM `Renter` AS `Renter` LEFT OUTER JOIN `Room` AS `room` ON `Renter`.`room_id` = `room`.`id` LEFT OUTER JOIN `RenterDocument` AS `documents` ON `Renter`.`id` = `documents`.`renter_id`; Executing (default): SELECT `id`, `title`, `content`, `type`, `priority`, `target_audience`, `target_ids`, `building_id`, `floor_id`, `created_by`, `expiry_date`, `is_active`, `read_by`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `Notice` AS `Notice`; Executing (default): SELECT `id`, `visitor_name`, `visitor_phone`, `visiting_renter_id`, `check_in_time`, `check_out_time`, `purpose`, `approved_by`, `id_verified`, `vehicle_number`, `notes`, `visiting_renter_name`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `Visitor` AS `Visitor`; Executing (default): SELECT `id`, `name`, `value`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `Settings` AS `Settings`; Executing (default): SELECT `Renter`.`id`, `Renter`.`name`, `Renter`.`email`, `Renter`.`phone`, `Renter`.`alternate_phone`, `Renter`.`nid`, `Renter`.`building_id`, `Renter`.`floor_id`, `Renter`.`room_id`, `Renter`.`bed_id`, `Renter`.`rent_amount`, `Renter`.`security_deposit`, `Renter`.`check_in_date`, `Renter`.`check_out_date`, `Renter`.`lease_start_date`, `Renter`.`lease_end_date`, `Renter`.`status`, `Renter`.`emergency_contact`, `Renter`.`emergency_relation`, `Renter`.`profile_photo`, `Renter`.`occupation`, `Renter`.`company`, `Renter`.`monthly_income`, `Renter`.`previous_address`, `Renter`.`references`, `Renter`.`notice_period`, `Renter`.`preferences`, `Renter`.`payment_history`, `Renter`.`created_at` AS `createdAt`, `Renter`.`updated_at` AS `updatedAt`, `room`.`id` AS `room.id`, `room`.`building_id` AS `room.building_id`, `room`.`floor_id` AS `room.floor_id`, `room`.`room_number` AS `room.room_number`, `room`.`total_beds` AS `room.total_beds`, `room`.`occupied_beds` AS `room.occupied_beds`, `room`.`rent_per_bed` AS `room.rent_per_bed`, `room`.`facilities` AS `room.facilities`, `room`.`room_type` AS `room.room_type`, `room`.`area` AS `room.area`, `room`.`has_balcony` AS `room.has_balcony`, `room`.`has_attached_bathroom` AS `room.has_attached_bathroom`, `room`.`furnishing_status` AS `room.furnishing_status`, `room`.`condition` AS `room.condition`, `room`.`last_cleaned` AS `room.last_cleaned`, `room`.`security_deposit` AS `room.security_deposit`, `room`.`available_from` AS `room.available_from`, `room`.`created_at` AS `room.createdAt`, `room`.`updated_at` AS `room.updatedAt`, `documents`.`id` AS `documents.id`, `documents`.`renter_id` AS `documents.renter_id`, `documents`.`type` AS `documents.type`, `documents`.`file_name` AS `documents.file_name`, `documents`.`file_url` AS `documents.file_url`, `documents`.`file_size` AS `documents.file_size`, `documents`.`mime_type` AS `documents.mime_type`, `documents`.`description` AS `documents.description`, `documents`.`created_at` AS `documents.createdAt`, `documents`.`updated_at` AS `documents.updatedAt` FROM `Renter` AS `Renter` LEFT OUTER JOIN `Room` AS `room` ON `Renter`.`room_id` = `room`.`id` LEFT OUTER JOIN `RenterDocument` AS `documents` ON `Renter`.`id` = `documents`.`renter_id`; Executing (default): SELECT `id`, `title`, `content`, `type`, `priority`, `target_audience`, `target_ids`, `building_id`, `floor_id`, `created_by`, `expiry_date`, `is_active`, `read_by`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `Notice` AS `Notice`; Executing (default): SELECT `id`, `visitor_name`, `visitor_phone`, `visiting_renter_id`, `check_in_time`, `check_out_time`, `purpose`, `approved_by`, `id_verified`, `vehicle_number`, `notes`, `visiting_renter_name`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `Visitor` AS `Visitor`; Executing (default): SELECT `id`, `name`, `value`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `Settings` AS `Settings`; Executing (default): SELECT `Renter`.`id`, `Renter`.`name`, `Renter`.`email`, `Renter`.`phone`, `Renter`.`alternate_phone`, `Renter`.`nid`, `Renter`.`building_id`, `Renter`.`floor_id`, `Renter`.`room_id`, `Renter`.`bed_id`, `Renter`.`rent_amount`, `Renter`.`security_deposit`, `Renter`.`check_in_date`, `Renter`.`check_out_date`, `Renter`.`lease_start_date`, `Renter`.`lease_end_date`, `Renter`.`status`, `Renter`.`emergency_contact`, `Renter`.`emergency_relation`, `Renter`.`profile_photo`, `Renter`.`occupation`, `Renter`.`company`, `Renter`.`monthly_income`, `Renter`.`previous_address`, `Renter`.`references`, `Renter`.`notice_period`, `Renter`.`preferences`, `Renter`.`payment_history`, `Renter`.`created_at` AS `createdAt`, `Renter`.`updated_at` AS `updatedAt`, `room`.`id` AS `room.id`, `room`.`building_id` AS `room.building_id`, `room`.`floor_id` AS `room.floor_id`, `room`.`room_number` AS `room.room_number`, `room`.`total_beds` AS `room.total_beds`, `room`.`occupied_beds` AS `room.occupied_beds`, `room`.`rent_per_bed` AS `room.rent_per_bed`, `room`.`facilities` AS `room.facilities`, `room`.`room_type` AS `room.room_type`, `room`.`area` AS `room.area`, `room`.`has_balcony` AS `room.has_balcony`, `room`.`has_attached_bathroom` AS `room.has_attached_bathroom`, `room`.`furnishing_status` AS `room.furnishing_status`, `room`.`condition` AS `room.condition`, `room`.`last_cleaned` AS `room.last_cleaned`, `room`.`security_deposit` AS `room.security_deposit`, `room`.`available_from` AS `room.available_from`, `room`.`created_at` AS `room.createdAt`, `room`.`updated_at` AS `room.updatedAt`, `documents`.`id` AS `documents.id`, `documents`.`renter_id` AS `documents.renter_id`, `documents`.`type` AS `documents.type`, `documents`.`file_name` AS `documents.file_name`, `documents`.`file_url` AS `documents.file_url`, `documents`.`file_size` AS `documents.file_size`, `documents`.`mime_type` AS `documents.mime_type`, `documents`.`description` AS `documents.description`, `documents`.`created_at` AS `documents.createdAt`, `documents`.`updated_at` AS `documents.updatedAt` FROM `Renter` AS `Renter` LEFT OUTER JOIN `Room` AS `room` ON `Renter`.`room_id` = `room`.`id` LEFT OUTER JOIN `RenterDocument` AS `documents` ON `Renter`.`id` = `documents`.`renter_id`; Executing (default): SELECT `id`, `title`, `content`, `type`, `priority`, `target_audience`, `target_ids`, `building_id`, `floor_id`, `created_by`, `expiry_date`, `is_active`, `read_by`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `Notice` AS `Notice`; Executing (default): SELECT `id`, `visitor_name`, `visitor_phone`, `visiting_renter_id`, `check_in_time`, `check_out_time`, `purpose`, `approved_by`, `id_verified`, `vehicle_number`, `notes`, `visiting_renter_name`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `Visitor` AS `Visitor`; Executing (default): SELECT `id`, `name`, `value`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `Settings` AS `Settings`; Executing (default): SELECT `id`, `visitor_name`, `visitor_phone`, `visiting_renter_id`, `check_in_time`, `check_out_time`, `purpose`, `approved_by`, `id_verified`, `vehicle_number`, `notes`, `visiting_renter_name`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `Visitor` AS `Visitor`; Executing (default): SELECT `id`, `title`, `content`, `type`, `priority`, `target_audience`, `target_ids`, `building_id`, `floor_id`, `created_by`, `expiry_date`, `is_active`, `read_by`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `Notice` AS `Notice`; Executing (default): SELECT `Renter`.`id`, `Renter`.`name`, `Renter`.`email`, `Renter`.`phone`, `Renter`.`alternate_phone`, `Renter`.`nid`, `Renter`.`building_id`, `Renter`.`floor_id`, `Renter`.`room_id`, `Renter`.`bed_id`, `Renter`.`rent_amount`, `Renter`.`security_deposit`, `Renter`.`check_in_date`, `Renter`.`check_out_date`, `Renter`.`lease_start_date`, `Renter`.`lease_end_date`, `Renter`.`status`, `Renter`.`emergency_contact`, `Renter`.`emergency_relation`, `Renter`.`profile_photo`, `Renter`.`occupation`, `Renter`.`company`, `Renter`.`monthly_income`, `Renter`.`previous_address`, `Renter`.`references`, `Renter`.`notice_period`, `Renter`.`preferences`, `Renter`.`payment_history`, `Renter`.`created_at` AS `createdAt`, `Renter`.`updated_at` AS `updatedAt`, `room`.`id` AS `room.id`, `room`.`building_id` AS `room.building_id`, `room`.`floor_id` AS `room.floor_id`, `room`.`room_number` AS `room.room_number`, `room`.`total_beds` AS `room.total_beds`, `room`.`occupied_beds` AS `room.occupied_beds`, `room`.`rent_per_bed` AS `room.rent_per_bed`, `room`.`facilities` AS `room.facilities`, `room`.`room_type` AS `room.room_type`, `room`.`area` AS `room.area`, `room`.`has_balcony` AS `room.has_balcony`, `room`.`has_attached_bathroom` AS `room.has_attached_bathroom`, `room`.`furnishing_status` AS `room.furnishing_status`, `room`.`condition` AS `room.condition`, `room`.`last_cleaned` AS `room.last_cleaned`, `room`.`security_deposit` AS `room.security_deposit`, `room`.`available_from` AS `room.available_from`, `room`.`created_at` AS `room.createdAt`, `room`.`updated_at` AS `room.updatedAt`, `documents`.`id` AS `documents.id`, `documents`.`renter_id` AS `documents.renter_id`, `documents`.`type` AS `documents.type`, `documents`.`file_name` AS `documents.file_name`, `documents`.`file_url` AS `documents.file_url`, `documents`.`file_size` AS `documents.file_size`, `documents`.`mime_type` AS `documents.mime_type`, `documents`.`description` AS `documents.description`, `documents`.`created_at` AS `documents.createdAt`, `documents`.`updated_at` AS `documents.updatedAt` FROM `Renter` AS `Renter` LEFT OUTER JOIN `Room` AS `room` ON `Renter`.`room_id` = `room`.`id` LEFT OUTER JOIN `RenterDocument` AS `documents` ON `Renter`.`id` = `documents`.`renter_id`; Executing (default): SELECT `id`, `name`, `value`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `Settings` AS `Settings`; Executing (default): SELECT `id`, `title`, `content`, `type`, `priority`, `target_audience`, `target_ids`, `building_id`, `floor_id`, `created_by`, `expiry_date`, `is_active`, `read_by`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `Notice` AS `Notice`; Executing (default): SELECT `id`, `visitor_name`, `visitor_phone`, `visiting_renter_id`, `check_in_time`, `check_out_time`, `purpose`, `approved_by`, `id_verified`, `vehicle_number`, `notes`, `visiting_renter_name`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `Visitor` AS `Visitor`; Executing (default): SELECT `Renter`.`id`, `Renter`.`name`, `Renter`.`email`, `Renter`.`phone`, `Renter`.`alternate_phone`, `Renter`.`nid`, `Renter`.`building_id`, `Renter`.`floor_id`, `Renter`.`room_id`, `Renter`.`bed_id`, `Renter`.`rent_amount`, `Renter`.`security_deposit`, `Renter`.`check_in_date`, `Renter`.`check_out_date`, `Renter`.`lease_start_date`, `Renter`.`lease_end_date`, `Renter`.`status`, `Renter`.`emergency_contact`, `Renter`.`emergency_relation`, `Renter`.`profile_photo`, `Renter`.`occupation`, `Renter`.`company`, `Renter`.`monthly_income`, `Renter`.`previous_address`, `Renter`.`references`, `Renter`.`notice_period`, `Renter`.`preferences`, `Renter`.`payment_history`, `Renter`.`created_at` AS `createdAt`, `Renter`.`updated_at` AS `updatedAt`, `room`.`id` AS `room.id`, `room`.`building_id` AS `room.building_id`, `room`.`floor_id` AS `room.floor_id`, `room`.`room_number` AS `room.room_number`, `room`.`total_beds` AS `room.total_beds`, `room`.`occupied_beds` AS `room.occupied_beds`, `room`.`rent_per_bed` AS `room.rent_per_bed`, `room`.`facilities` AS `room.facilities`, `room`.`room_type` AS `room.room_type`, `room`.`area` AS `room.area`, `room`.`has_balcony` AS `room.has_balcony`, `room`.`has_attached_bathroom` AS `room.has_attached_bathroom`, `room`.`furnishing_status` AS `room.furnishing_status`, `room`.`condition` AS `room.condition`, `room`.`last_cleaned` AS `room.last_cleaned`, `room`.`security_deposit` AS `room.security_deposit`, `room`.`available_from` AS `room.available_from`, `room`.`created_at` AS `room.createdAt`, `room`.`updated_at` AS `room.updatedAt`, `documents`.`id` AS `documents.id`, `documents`.`renter_id` AS `documents.renter_id`, `documents`.`type` AS `documents.type`, `documents`.`file_name` AS `documents.file_name`, `documents`.`file_url` AS `documents.file_url`, `documents`.`file_size` AS `documents.file_size`, `documents`.`mime_type` AS `documents.mime_type`, `documents`.`description` AS `documents.description`, `documents`.`created_at` AS `documents.createdAt`, `documents`.`updated_at` AS `documents.updatedAt` FROM `Renter` AS `Renter` LEFT OUTER JOIN `Room` AS `room` ON `Renter`.`room_id` = `room`.`id` LEFT OUTER JOIN `RenterDocument` AS `documents` ON `Renter`.`id` = `documents`.`renter_id`; Executing (default): SELECT `id`, `name`, `value`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `Settings` AS `Settings`; Executing (default): SELECT `Renter`.`id`, `Renter`.`name`, `Renter`.`email`, `Renter`.`phone`, `Renter`.`alternate_phone`, `Renter`.`nid`, `Renter`.`building_id`, `Renter`.`floor_id`, `Renter`.`room_id`, `Renter`.`bed_id`, `Renter`.`rent_amount`, `Renter`.`security_deposit`, `Renter`.`check_in_date`, `Renter`.`check_out_date`, `Renter`.`lease_start_date`, `Renter`.`lease_end_date`, `Renter`.`status`, `Renter`.`emergency_contact`, `Renter`.`emergency_relation`, `Renter`.`profile_photo`, `Renter`.`occupation`, `Renter`.`company`, `Renter`.`monthly_income`, `Renter`.`previous_address`, `Renter`.`references`, `Renter`.`notice_period`, `Renter`.`preferences`, `Renter`.`payment_history`, `Renter`.`created_at` AS `createdAt`, `Renter`.`updated_at` AS `updatedAt`, `room`.`id` AS `room.id`, `room`.`building_id` AS `room.building_id`, `room`.`floor_id` AS `room.floor_id`, `room`.`room_number` AS `room.room_number`, `room`.`total_beds` AS `room.total_beds`, `room`.`occupied_beds` AS `room.occupied_beds`, `room`.`rent_per_bed` AS `room.rent_per_bed`, `room`.`facilities` AS `room.facilities`, `room`.`room_type` AS `room.room_type`, `room`.`area` AS `room.area`, `room`.`has_balcony` AS `room.has_balcony`, `room`.`has_attached_bathroom` AS `room.has_attached_bathroom`, `room`.`furnishing_status` AS `room.furnishing_status`, `room`.`condition` AS `room.condition`, `room`.`last_cleaned` AS `room.last_cleaned`, `room`.`security_deposit` AS `room.security_deposit`, `room`.`available_from` AS `room.available_from`, `room`.`created_at` AS `room.createdAt`, `room`.`updated_at` AS `room.updatedAt`, `documents`.`id` AS `documents.id`, `documents`.`renter_id` AS `documents.renter_id`, `documents`.`type` AS `documents.type`, `documents`.`file_name` AS `documents.file_name`, `documents`.`file_url` AS `documents.file_url`, `documents`.`file_size` AS `documents.file_size`, `documents`.`mime_type` AS `documents.mime_type`, `documents`.`description` AS `documents.description`, `documents`.`created_at` AS `documents.createdAt`, `documents`.`updated_at` AS `documents.updatedAt` FROM `Renter` AS `Renter` LEFT OUTER JOIN `Room` AS `room` ON `Renter`.`room_id` = `room`.`id` LEFT OUTER JOIN `RenterDocument` AS `documents` ON `Renter`.`id` = `documents`.`renter_id`; Executing (default): SELECT `Renter`.`id`, `Renter`.`name`, `Renter`.`email`, `Renter`.`phone`, `Renter`.`alternate_phone`, `Renter`.`nid`, `Renter`.`building_id`, `Renter`.`floor_id`, `Renter`.`room_id`, `Renter`.`bed_id`, `Renter`.`rent_amount`, `Renter`.`security_deposit`, `Renter`.`check_in_date`, `Renter`.`check_out_date`, `Renter`.`lease_start_date`, `Renter`.`lease_end_date`, `Renter`.`status`, `Renter`.`emergency_contact`, `Renter`.`emergency_relation`, `Renter`.`profile_photo`, `Renter`.`occupation`, `Renter`.`company`, `Renter`.`monthly_income`, `Renter`.`previous_address`, `Renter`.`references`, `Renter`.`notice_period`, `Renter`.`preferences`, `Renter`.`payment_history`, `Renter`.`created_at` AS `createdAt`, `Renter`.`updated_at` AS `updatedAt`, `room`.`id` AS `room.id`, `room`.`building_id` AS `room.building_id`, `room`.`floor_id` AS `room.floor_id`, `room`.`room_number` AS `room.room_number`, `room`.`total_beds` AS `room.total_beds`, `room`.`occupied_beds` AS `room.occupied_beds`, `room`.`rent_per_bed` AS `room.rent_per_bed`, `room`.`facilities` AS `room.facilities`, `room`.`room_type` AS `room.room_type`, `room`.`area` AS `room.area`, `room`.`has_balcony` AS `room.has_balcony`, `room`.`has_attached_bathroom` AS `room.has_attached_bathroom`, `room`.`furnishing_status` AS `room.furnishing_status`, `room`.`condition` AS `room.condition`, `room`.`last_cleaned` AS `room.last_cleaned`, `room`.`security_deposit` AS `room.security_deposit`, `room`.`available_from` AS `room.available_from`, `room`.`created_at` AS `room.createdAt`, `room`.`updated_at` AS `room.updatedAt`, `documents`.`id` AS `documents.id`, `documents`.`renter_id` AS `documents.renter_id`, `documents`.`type` AS `documents.type`, `documents`.`file_name` AS `documents.file_name`, `documents`.`file_url` AS `documents.file_url`, `documents`.`file_size` AS `documents.file_size`, `documents`.`mime_type` AS `documents.mime_type`, `documents`.`description` AS `documents.description`, `documents`.`created_at` AS `documents.createdAt`, `documents`.`updated_at` AS `documents.updatedAt` FROM `Renter` AS `Renter` LEFT OUTER JOIN `Room` AS `room` ON `Renter`.`room_id` = `room`.`id` LEFT OUTER JOIN `RenterDocument` AS `documents` ON `Renter`.`id` = `documents`.`renter_id`; Executing (default): SELECT `id`, `title`, `content`, `type`, `priority`, `target_audience`, `target_ids`, `building_id`, `floor_id`, `created_by`, `expiry_date`, `is_active`, `read_by`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `Notice` AS `Notice`; Executing (default): SELECT `id`, `title`, `content`, `type`, `priority`, `target_audience`, `target_ids`, `building_id`, `floor_id`, `created_by`, `expiry_date`, `is_active`, `read_by`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `Notice` AS `Notice`; Executing (default): SELECT `id`, `visitor_name`, `visitor_phone`, `visiting_renter_id`, `check_in_time`, `check_out_time`, `purpose`, `approved_by`, `id_verified`, `vehicle_number`, `notes`, `visiting_renter_name`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `Visitor` AS `Visitor`; Executing (default): SELECT `id`, `visitor_name`, `visitor_phone`, `visiting_renter_id`, `check_in_time`, `check_out_time`, `purpose`, `approved_by`, `id_verified`, `vehicle_number`, `notes`, `visiting_renter_name`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `Visitor` AS `Visitor`; Executing (default): SELECT `id`, `name`, `value`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `Settings` AS `Settings`; Executing (default): SELECT `id`, `name`, `value`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `Settings` AS `Settings`; Executing (default): SELECT `Renter`.`id`, `Renter`.`name`, `Renter`.`email`, `Renter`.`phone`, `Renter`.`alternate_phone`, `Renter`.`nid`, `Renter`.`building_id`, `Renter`.`floor_id`, `Renter`.`room_id`, `Renter`.`bed_id`, `Renter`.`rent_amount`, `Renter`.`security_deposit`, `Renter`.`check_in_date`, `Renter`.`check_out_date`, `Renter`.`lease_start_date`, `Renter`.`lease_end_date`, `Renter`.`status`, `Renter`.`emergency_contact`, `Renter`.`emergency_relation`, `Renter`.`profile_photo`, `Renter`.`occupation`, `Renter`.`company`, `Renter`.`monthly_income`, `Renter`.`previous_address`, `Renter`.`references`, `Renter`.`notice_period`, `Renter`.`preferences`, `Renter`.`payment_history`, `Renter`.`created_at` AS `createdAt`, `Renter`.`updated_at` AS `updatedAt`, `room`.`id` AS `room.id`, `room`.`building_id` AS `room.building_id`, `room`.`floor_id` AS `room.floor_id`, `room`.`room_number` AS `room.room_number`, `room`.`total_beds` AS `room.total_beds`, `room`.`occupied_beds` AS `room.occupied_beds`, `room`.`rent_per_bed` AS `room.rent_per_bed`, `room`.`facilities` AS `room.facilities`, `room`.`room_type` AS `room.room_type`, `room`.`area` AS `room.area`, `room`.`has_balcony` AS `room.has_balcony`, `room`.`has_attached_bathroom` AS `room.has_attached_bathroom`, `room`.`furnishing_status` AS `room.furnishing_status`, `room`.`condition` AS `room.condition`, `room`.`last_cleaned` AS `room.last_cleaned`, `room`.`security_deposit` AS `room.security_deposit`, `room`.`available_from` AS `room.available_from`, `room`.`created_at` AS `room.createdAt`, `room`.`updated_at` AS `room.updatedAt`, `documents`.`id` AS `documents.id`, `documents`.`renter_id` AS `documents.renter_id`, `documents`.`type` AS `documents.type`, `documents`.`file_name` AS `documents.file_name`, `documents`.`file_url` AS `documents.file_url`, `documents`.`file_size` AS `documents.file_size`, `documents`.`mime_type` AS `documents.mime_type`, `documents`.`description` AS `documents.description`, `documents`.`created_at` AS `documents.createdAt`, `documents`.`updated_at` AS `documents.updatedAt` FROM `Renter` AS `Renter` LEFT OUTER JOIN `Room` AS `room` ON `Renter`.`room_id` = `room`.`id` LEFT OUTER JOIN `RenterDocument` AS `documents` ON `Renter`.`id` = `documents`.`renter_id`; Executing (default): SELECT `id`, `visitor_name`, `visitor_phone`, `visiting_renter_id`, `check_in_time`, `check_out_time`, `purpose`, `approved_by`, `id_verified`, `vehicle_number`, `notes`, `visiting_renter_name`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `Visitor` AS `Visitor`; Executing (default): SELECT `id`, `title`, `content`, `type`, `priority`, `target_audience`, `target_ids`, `building_id`, `floor_id`, `created_by`, `expiry_date`, `is_active`, `read_by`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `Notice` AS `Notice`; Executing (default): SELECT `id`, `name`, `value`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `Settings` AS `Settings`; Executing (default): SELECT `Renter`.`id`, `Renter`.`name`, `Renter`.`email`, `Renter`.`phone`, `Renter`.`alternate_phone`, `Renter`.`nid`, `Renter`.`building_id`, `Renter`.`floor_id`, `Renter`.`room_id`, `Renter`.`bed_id`, `Renter`.`rent_amount`, `Renter`.`security_deposit`, `Renter`.`check_in_date`, `Renter`.`check_out_date`, `Renter`.`lease_start_date`, `Renter`.`lease_end_date`, `Renter`.`status`, `Renter`.`emergency_contact`, `Renter`.`emergency_relation`, `Renter`.`profile_photo`, `Renter`.`occupation`, `Renter`.`company`, `Renter`.`monthly_income`, `Renter`.`previous_address`, `Renter`.`references`, `Renter`.`notice_period`, `Renter`.`preferences`, `Renter`.`payment_history`, `Renter`.`created_at` AS `createdAt`, `Renter`.`updated_at` AS `updatedAt`, `room`.`id` AS `room.id`, `room`.`building_id` AS `room.building_id`, `room`.`floor_id` AS `room.floor_id`, `room`.`room_number` AS `room.room_number`, `room`.`total_beds` AS `room.total_beds`, `room`.`occupied_beds` AS `room.occupied_beds`, `room`.`rent_per_bed` AS `room.rent_per_bed`, `room`.`facilities` AS `room.facilities`, `room`.`room_type` AS `room.room_type`, `room`.`area` AS `room.area`, `room`.`has_balcony` AS `room.has_balcony`, `room`.`has_attached_bathroom` AS `room.has_attached_bathroom`, `room`.`furnishing_status` AS `room.furnishing_status`, `room`.`condition` AS `room.condition`, `room`.`last_cleaned` AS `room.last_cleaned`, `room`.`security_deposit` AS `room.security_deposit`, `room`.`available_from` AS `room.available_from`, `room`.`created_at` AS `room.createdAt`, `room`.`updated_at` AS `room.updatedAt`, `documents`.`id` AS `documents.id`, `documents`.`renter_id` AS `documents.renter_id`, `documents`.`type` AS `documents.type`, `documents`.`file_name` AS `documents.file_name`, `documents`.`file_url` AS `documents.file_url`, `documents`.`file_size` AS `documents.file_size`, `documents`.`mime_type` AS `documents.mime_type`, `documents`.`description` AS `documents.description`, `documents`.`created_at` AS `documents.createdAt`, `documents`.`updated_at` AS `documents.updatedAt` FROM `Renter` AS `Renter` LEFT OUTER JOIN `Room` AS `room` ON `Renter`.`room_id` = `room`.`id` LEFT OUTER JOIN `RenterDocument` AS `documents` ON `Renter`.`id` = `documents`.`renter_id`; Executing (default): SELECT `id`, `visitor_name`, `visitor_phone`, `visiting_renter_id`, `check_in_time`, `check_out_time`, `purpose`, `approved_by`, `id_verified`, `vehicle_number`, `notes`, `visiting_renter_name`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `Visitor` AS `Visitor`; Executing (default): SELECT `id`, `title`, `content`, `type`, `priority`, `target_audience`, `target_ids`, `building_id`, `floor_id`, `created_by`, `expiry_date`, `is_active`, `read_by`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `Notice` AS `Notice`; Executing (default): SELECT `id`, `name`, `value`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `Settings` AS `Settings`; Executing (default): SELECT `Renter`.`id`, `Renter`.`name`, `Renter`.`email`, `Renter`.`phone`, `Renter`.`alternate_phone`, `Renter`.`nid`, `Renter`.`building_id`, `Renter`.`floor_id`, `Renter`.`room_id`, `Renter`.`bed_id`, `Renter`.`rent_amount`, `Renter`.`security_deposit`, `Renter`.`check_in_date`, `Renter`.`check_out_date`, `Renter`.`lease_start_date`, `Renter`.`lease_end_date`, `Renter`.`status`, `Renter`.`emergency_contact`, `Renter`.`emergency_relation`, `Renter`.`profile_photo`, `Renter`.`occupation`, `Renter`.`company`, `Renter`.`monthly_income`, `Renter`.`previous_address`, `Renter`.`references`, `Renter`.`notice_period`, `Renter`.`preferences`, `Renter`.`payment_history`, `Renter`.`created_at` AS `createdAt`, `Renter`.`updated_at` AS `updatedAt`, `room`.`id` AS `room.id`, `room`.`building_id` AS `room.building_id`, `room`.`floor_id` AS `room.floor_id`, `room`.`room_number` AS `room.room_number`, `room`.`total_beds` AS `room.total_beds`, `room`.`occupied_beds` AS `room.occupied_beds`, `room`.`rent_per_bed` AS `room.rent_per_bed`, `room`.`facilities` AS `room.facilities`, `room`.`room_type` AS `room.room_type`, `room`.`area` AS `room.area`, `room`.`has_balcony` AS `room.has_balcony`, `room`.`has_attached_bathroom` AS `room.has_attached_bathroom`, `room`.`furnishing_status` AS `room.furnishing_status`, `room`.`condition` AS `room.condition`, `room`.`last_cleaned` AS `room.last_cleaned`, `room`.`security_deposit` AS `room.security_deposit`, `room`.`available_from` AS `room.available_from`, `room`.`created_at` AS `room.createdAt`, `room`.`updated_at` AS `room.updatedAt`, `documents`.`id` AS `documents.id`, `documents`.`renter_id` AS `documents.renter_id`, `documents`.`type` AS `documents.type`, `documents`.`file_name` AS `documents.file_name`, `documents`.`file_url` AS `documents.file_url`, `documents`.`file_size` AS `documents.file_size`, `documents`.`mime_type` AS `documents.mime_type`, `documents`.`description` AS `documents.description`, `documents`.`created_at` AS `documents.createdAt`, `documents`.`updated_at` AS `documents.updatedAt` FROM `Renter` AS `Renter` LEFT OUTER JOIN `Room` AS `room` ON `Renter`.`room_id` = `room`.`id` LEFT OUTER JOIN `RenterDocument` AS `documents` ON `Renter`.`id` = `documents`.`renter_id`; Executing (default): SELECT `id`, `title`, `content`, `type`, `priority`, `target_audience`, `target_ids`, `building_id`, `floor_id`, `created_by`, `expiry_date`, `is_active`, `read_by`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `Notice` AS `Notice`; Executing (default): SELECT `id`, `visitor_name`, `visitor_phone`, `visiting_renter_id`, `check_in_time`, `check_out_time`, `purpose`, `approved_by`, `id_verified`, `vehicle_number`, `notes`, `visiting_renter_name`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `Visitor` AS `Visitor`; Executing (default): SELECT `id`, `name`, `value`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `Settings` AS `Settings`; Executing (default): SELECT `Renter`.`id`, `Renter`.`name`, `Renter`.`email`, `Renter`.`phone`, `Renter`.`alternate_phone`, `Renter`.`nid`, `Renter`.`building_id`, `Renter`.`floor_id`, `Renter`.`room_id`, `Renter`.`bed_id`, `Renter`.`rent_amount`, `Renter`.`security_deposit`, `Renter`.`check_in_date`, `Renter`.`check_out_date`, `Renter`.`lease_start_date`, `Renter`.`lease_end_date`, `Renter`.`status`, `Renter`.`emergency_contact`, `Renter`.`emergency_relation`, `Renter`.`profile_photo`, `Renter`.`occupation`, `Renter`.`company`, `Renter`.`monthly_income`, `Renter`.`previous_address`, `Renter`.`references`, `Renter`.`notice_period`, `Renter`.`preferences`, `Renter`.`payment_history`, `Renter`.`created_at` AS `createdAt`, `Renter`.`updated_at` AS `updatedAt`, `room`.`id` AS `room.id`, `room`.`building_id` AS `room.building_id`, `room`.`floor_id` AS `room.floor_id`, `room`.`room_number` AS `room.room_number`, `room`.`total_beds` AS `room.total_beds`, `room`.`occupied_beds` AS `room.occupied_beds`, `room`.`rent_per_bed` AS `room.rent_per_bed`, `room`.`facilities` AS `room.facilities`, `room`.`room_type` AS `room.room_type`, `room`.`area` AS `room.area`, `room`.`has_balcony` AS `room.has_balcony`, `room`.`has_attached_bathroom` AS `room.has_attached_bathroom`, `room`.`furnishing_status` AS `room.furnishing_status`, `room`.`condition` AS `room.condition`, `room`.`last_cleaned` AS `room.last_cleaned`, `room`.`security_deposit` AS `room.security_deposit`, `room`.`available_from` AS `room.available_from`, `room`.`created_at` AS `room.createdAt`, `room`.`updated_at` AS `room.updatedAt`, `documents`.`id` AS `documents.id`, `documents`.`renter_id` AS `documents.renter_id`, `documents`.`type` AS `documents.type`, `documents`.`file_name` AS `documents.file_name`, `documents`.`file_url` AS `documents.file_url`, `documents`.`file_size` AS `documents.file_size`, `documents`.`mime_type` AS `documents.mime_type`, `documents`.`description` AS `documents.description`, `documents`.`created_at` AS `documents.createdAt`, `documents`.`updated_at` AS `documents.updatedAt` FROM `Renter` AS `Renter` LEFT OUTER JOIN `Room` AS `room` ON `Renter`.`room_id` = `room`.`id` LEFT OUTER JOIN `RenterDocument` AS `documents` ON `Renter`.`id` = `documents`.`renter_id`; Executing (default): SELECT `id`, `name`, `value`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `Settings` AS `Settings`; Executing (default): SELECT `id`, `visitor_name`, `visitor_phone`, `visiting_renter_id`, `check_in_time`, `check_out_time`, `purpose`, `approved_by`, `id_verified`, `vehicle_number`, `notes`, `visiting_renter_name`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `Visitor` AS `Visitor`; Executing (default): SELECT `id`, `title`, `content`, `type`, `priority`, `target_audience`, `target_ids`, `building_id`, `floor_id`, `created_by`, `expiry_date`, `is_active`, `read_by`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `Notice` AS `Notice`; Executing (default): SELECT `Renter`.`id`, `Renter`.`name`, `Renter`.`email`, `Renter`.`phone`, `Renter`.`alternate_phone`, `Renter`.`nid`, `Renter`.`building_id`, `Renter`.`floor_id`, `Renter`.`room_id`, `Renter`.`bed_id`, `Renter`.`rent_amount`, `Renter`.`security_deposit`, `Renter`.`check_in_date`, `Renter`.`check_out_date`, `Renter`.`lease_start_date`, `Renter`.`lease_end_date`, `Renter`.`status`, `Renter`.`emergency_contact`, `Renter`.`emergency_relation`, `Renter`.`profile_photo`, `Renter`.`occupation`, `Renter`.`company`, `Renter`.`monthly_income`, `Renter`.`previous_address`, `Renter`.`references`, `Renter`.`notice_period`, `Renter`.`preferences`, `Renter`.`payment_history`, `Renter`.`created_at` AS `createdAt`, `Renter`.`updated_at` AS `updatedAt`, `room`.`id` AS `room.id`, `room`.`building_id` AS `room.building_id`, `room`.`floor_id` AS `room.floor_id`, `room`.`room_number` AS `room.room_number`, `room`.`total_beds` AS `room.total_beds`, `room`.`occupied_beds` AS `room.occupied_beds`, `room`.`rent_per_bed` AS `room.rent_per_bed`, `room`.`facilities` AS `room.facilities`, `room`.`room_type` AS `room.room_type`, `room`.`area` AS `room.area`, `room`.`has_balcony` AS `room.has_balcony`, `room`.`has_attached_bathroom` AS `room.has_attached_bathroom`, `room`.`furnishing_status` AS `room.furnishing_status`, `room`.`condition` AS `room.condition`, `room`.`last_cleaned` AS `room.last_cleaned`, `room`.`security_deposit` AS `room.security_deposit`, `room`.`available_from` AS `room.available_from`, `room`.`created_at` AS `room.createdAt`, `room`.`updated_at` AS `room.updatedAt`, `documents`.`id` AS `documents.id`, `documents`.`renter_id` AS `documents.renter_id`, `documents`.`type` AS `documents.type`, `documents`.`file_name` AS `documents.file_name`, `documents`.`file_url` AS `documents.file_url`, `documents`.`file_size` AS `documents.file_size`, `documents`.`mime_type` AS `documents.mime_type`, `documents`.`description` AS `documents.description`, `documents`.`created_at` AS `documents.createdAt`, `documents`.`updated_at` AS `documents.updatedAt` FROM `Renter` AS `Renter` LEFT OUTER JOIN `Room` AS `room` ON `Renter`.`room_id` = `room`.`id` LEFT OUTER JOIN `RenterDocument` AS `documents` ON `Renter`.`id` = `documents`.`renter_id`; Executing (default): SELECT `id`, `title`, `content`, `type`, `priority`, `target_audience`, `target_ids`, `building_id`, `floor_id`, `created_by`, `expiry_date`, `is_active`, `read_by`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `Notice` AS `Notice`; Executing (default): SELECT `id`, `visitor_name`, `visitor_phone`, `visiting_renter_id`, `check_in_time`, `check_out_time`, `purpose`, `approved_by`, `id_verified`, `vehicle_number`, `notes`, `visiting_renter_name`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `Visitor` AS `Visitor`; Executing (default): SELECT `id`, `name`, `value`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `Settings` AS `Settings`; Executing (default): SELECT `Renter`.`id`, `Renter`.`name`, `Renter`.`email`, `Renter`.`phone`, `Renter`.`alternate_phone`, `Renter`.`nid`, `Renter`.`building_id`, `Renter`.`floor_id`, `Renter`.`room_id`, `Renter`.`bed_id`, `Renter`.`rent_amount`, `Renter`.`security_deposit`, `Renter`.`check_in_date`, `Renter`.`check_out_date`, `Renter`.`lease_start_date`, `Renter`.`lease_end_date`, `Renter`.`status`, `Renter`.`emergency_contact`, `Renter`.`emergency_relation`, `Renter`.`profile_photo`, `Renter`.`occupation`, `Renter`.`company`, `Renter`.`monthly_income`, `Renter`.`previous_address`, `Renter`.`references`, `Renter`.`notice_period`, `Renter`.`preferences`, `Renter`.`payment_history`, `Renter`.`created_at` AS `createdAt`, `Renter`.`updated_at` AS `updatedAt`, `room`.`id` AS `room.id`, `room`.`building_id` AS `room.building_id`, `room`.`floor_id` AS `room.floor_id`, `room`.`room_number` AS `room.room_number`, `room`.`total_beds` AS `room.total_beds`, `room`.`occupied_beds` AS `room.occupied_beds`, `room`.`rent_per_bed` AS `room.rent_per_bed`, `room`.`facilities` AS `room.facilities`, `room`.`room_type` AS `room.room_type`, `room`.`area` AS `room.area`, `room`.`has_balcony` AS `room.has_balcony`, `room`.`has_attached_bathroom` AS `room.has_attached_bathroom`, `room`.`furnishing_status` AS `room.furnishing_status`, `room`.`condition` AS `room.condition`, `room`.`last_cleaned` AS `room.last_cleaned`, `room`.`security_deposit` AS `room.security_deposit`, `room`.`available_from` AS `room.available_from`, `room`.`created_at` AS `room.createdAt`, `room`.`updated_at` AS `room.updatedAt`, `documents`.`id` AS `documents.id`, `documents`.`renter_id` AS `documents.renter_id`, `documents`.`type` AS `documents.type`, `documents`.`file_name` AS `documents.file_name`, `documents`.`file_url` AS `documents.file_url`, `documents`.`file_size` AS `documents.file_size`, `documents`.`mime_type` AS `documents.mime_type`, `documents`.`description` AS `documents.description`, `documents`.`created_at` AS `documents.createdAt`, `documents`.`updated_at` AS `documents.updatedAt` FROM `Renter` AS `Renter` LEFT OUTER JOIN `Room` AS `room` ON `Renter`.`room_id` = `room`.`id` LEFT OUTER JOIN `RenterDocument` AS `documents` ON `Renter`.`id` = `documents`.`renter_id`; Executing (default): SELECT `id`, `title`, `content`, `type`, `priority`, `target_audience`, `target_ids`, `building_id`, `floor_id`, `created_by`, `expiry_date`, `is_active`, `read_by`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `Notice` AS `Notice`; Executing (default): SELECT `id`, `visitor_name`, `visitor_phone`, `visiting_renter_id`, `check_in_time`, `check_out_time`, `purpose`, `approved_by`, `id_verified`, `vehicle_number`, `notes`, `visiting_renter_name`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `Visitor` AS `Visitor`; Executing (default): SELECT `id`, `name`, `value`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `Settings` AS `Settings`; Executing (default): SELECT `id`, `title`, `content`, `type`, `priority`, `target_audience`, `target_ids`, `building_id`, `floor_id`, `created_by`, `expiry_date`, `is_active`, `read_by`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `Notice` AS `Notice`; Executing (default): SELECT `id`, `visitor_name`, `visitor_phone`, `visiting_renter_id`, `check_in_time`, `check_out_time`, `purpose`, `approved_by`, `id_verified`, `vehicle_number`, `notes`, `visiting_renter_name`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `Visitor` AS `Visitor`; Executing (default): SELECT `Renter`.`id`, `Renter`.`name`, `Renter`.`email`, `Renter`.`phone`, `Renter`.`alternate_phone`, `Renter`.`nid`, `Renter`.`building_id`, `Renter`.`floor_id`, `Renter`.`room_id`, `Renter`.`bed_id`, `Renter`.`rent_amount`, `Renter`.`security_deposit`, `Renter`.`check_in_date`, `Renter`.`check_out_date`, `Renter`.`lease_start_date`, `Renter`.`lease_end_date`, `Renter`.`status`, `Renter`.`emergency_contact`, `Renter`.`emergency_relation`, `Renter`.`profile_photo`, `Renter`.`occupation`, `Renter`.`company`, `Renter`.`monthly_income`, `Renter`.`previous_address`, `Renter`.`references`, `Renter`.`notice_period`, `Renter`.`preferences`, `Renter`.`payment_history`, `Renter`.`created_at` AS `createdAt`, `Renter`.`updated_at` AS `updatedAt`, `room`.`id` AS `room.id`, `room`.`building_id` AS `room.building_id`, `room`.`floor_id` AS `room.floor_id`, `room`.`room_number` AS `room.room_number`, `room`.`total_beds` AS `room.total_beds`, `room`.`occupied_beds` AS `room.occupied_beds`, `room`.`rent_per_bed` AS `room.rent_per_bed`, `room`.`facilities` AS `room.facilities`, `room`.`room_type` AS `room.room_type`, `room`.`area` AS `room.area`, `room`.`has_balcony` AS `room.has_balcony`, `room`.`has_attached_bathroom` AS `room.has_attached_bathroom`, `room`.`furnishing_status` AS `room.furnishing_status`, `room`.`condition` AS `room.condition`, `room`.`last_cleaned` AS `room.last_cleaned`, `room`.`security_deposit` AS `room.security_deposit`, `room`.`available_from` AS `room.available_from`, `room`.`created_at` AS `room.createdAt`, `room`.`updated_at` AS `room.updatedAt`, `documents`.`id` AS `documents.id`, `documents`.`renter_id` AS `documents.renter_id`, `documents`.`type` AS `documents.type`, `documents`.`file_name` AS `documents.file_name`, `documents`.`file_url` AS `documents.file_url`, `documents`.`file_size` AS `documents.file_size`, `documents`.`mime_type` AS `documents.mime_type`, `documents`.`description` AS `documents.description`, `documents`.`created_at` AS `documents.createdAt`, `documents`.`updated_at` AS `documents.updatedAt` FROM `Renter` AS `Renter` LEFT OUTER JOIN `Room` AS `room` ON `Renter`.`room_id` = `room`.`id` LEFT OUTER JOIN `RenterDocument` AS `documents` ON `Renter`.`id` = `documents`.`renter_id`; Executing (default): SELECT `id`, `name`, `value`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `Settings` AS `Settings`; Executing (default): SELECT `id`, `name`, `value`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `Settings` AS `Settings`; Executing (default): SELECT `id`, `title`, `content`, `type`, `priority`, `target_audience`, `target_ids`, `building_id`, `floor_id`, `created_by`, `expiry_date`, `is_active`, `read_by`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `Notice` AS `Notice`; Executing (default): SELECT `Renter`.`id`, `Renter`.`name`, `Renter`.`email`, `Renter`.`phone`, `Renter`.`alternate_phone`, `Renter`.`nid`, `Renter`.`building_id`, `Renter`.`floor_id`, `Renter`.`room_id`, `Renter`.`bed_id`, `Renter`.`rent_amount`, `Renter`.`security_deposit`, `Renter`.`check_in_date`, `Renter`.`check_out_date`, `Renter`.`lease_start_date`, `Renter`.`lease_end_date`, `Renter`.`status`, `Renter`.`emergency_contact`, `Renter`.`emergency_relation`, `Renter`.`profile_photo`, `Renter`.`occupation`, `Renter`.`company`, `Renter`.`monthly_income`, `Renter`.`previous_address`, `Renter`.`references`, `Renter`.`notice_period`, `Renter`.`preferences`, `Renter`.`payment_history`, `Renter`.`created_at` AS `createdAt`, `Renter`.`updated_at` AS `updatedAt`, `room`.`id` AS `room.id`, `room`.`building_id` AS `room.building_id`, `room`.`floor_id` AS `room.floor_id`, `room`.`room_number` AS `room.room_number`, `room`.`total_beds` AS `room.total_beds`, `room`.`occupied_beds` AS `room.occupied_beds`, `room`.`rent_per_bed` AS `room.rent_per_bed`, `room`.`facilities` AS `room.facilities`, `room`.`room_type` AS `room.room_type`, `room`.`area` AS `room.area`, `room`.`has_balcony` AS `room.has_balcony`, `room`.`has_attached_bathroom` AS `room.has_attached_bathroom`, `room`.`furnishing_status` AS `room.furnishing_status`, `room`.`condition` AS `room.condition`, `room`.`last_cleaned` AS `room.last_cleaned`, `room`.`security_deposit` AS `room.security_deposit`, `room`.`available_from` AS `room.available_from`, `room`.`created_at` AS `room.createdAt`, `room`.`updated_at` AS `room.updatedAt`, `documents`.`id` AS `documents.id`, `documents`.`renter_id` AS `documents.renter_id`, `documents`.`type` AS `documents.type`, `documents`.`file_name` AS `documents.file_name`, `documents`.`file_url` AS `documents.file_url`, `documents`.`file_size` AS `documents.file_size`, `documents`.`mime_type` AS `documents.mime_type`, `documents`.`description` AS `documents.description`, `documents`.`created_at` AS `documents.createdAt`, `documents`.`updated_at` AS `documents.updatedAt` FROM `Renter` AS `Renter` LEFT OUTER JOIN `Room` AS `room` ON `Renter`.`room_id` = `room`.`id` LEFT OUTER JOIN `RenterDocument` AS `documents` ON `Renter`.`id` = `documents`.`renter_id`; Executing (default): SELECT `id`, `visitor_name`, `visitor_phone`, `visiting_renter_id`, `check_in_time`, `check_out_time`, `purpose`, `approved_by`, `id_verified`, `vehicle_number`, `notes`, `visiting_renter_name`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `Visitor` AS `Visitor`; Executing (default): SELECT `id`, `title`, `content`, `type`, `priority`, `target_audience`, `target_ids`, `building_id`, `floor_id`, `created_by`, `expiry_date`, `is_active`, `read_by`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `Notice` AS `Notice`; Executing (default): SELECT `Renter`.`id`, `Renter`.`name`, `Renter`.`email`, `Renter`.`phone`, `Renter`.`alternate_phone`, `Renter`.`nid`, `Renter`.`building_id`, `Renter`.`floor_id`, `Renter`.`room_id`, `Renter`.`bed_id`, `Renter`.`rent_amount`, `Renter`.`security_deposit`, `Renter`.`check_in_date`, `Renter`.`check_out_date`, `Renter`.`lease_start_date`, `Renter`.`lease_end_date`, `Renter`.`status`, `Renter`.`emergency_contact`, `Renter`.`emergency_relation`, `Renter`.`profile_photo`, `Renter`.`occupation`, `Renter`.`company`, `Renter`.`monthly_income`, `Renter`.`previous_address`, `Renter`.`references`, `Renter`.`notice_period`, `Renter`.`preferences`, `Renter`.`payment_history`, `Renter`.`created_at` AS `createdAt`, `Renter`.`updated_at` AS `updatedAt`, `room`.`id` AS `room.id`, `room`.`building_id` AS `room.building_id`, `room`.`floor_id` AS `room.floor_id`, `room`.`room_number` AS `room.room_number`, `room`.`total_beds` AS `room.total_beds`, `room`.`occupied_beds` AS `room.occupied_beds`, `room`.`rent_per_bed` AS `room.rent_per_bed`, `room`.`facilities` AS `room.facilities`, `room`.`room_type` AS `room.room_type`, `room`.`area` AS `room.area`, `room`.`has_balcony` AS `room.has_balcony`, `room`.`has_attached_bathroom` AS `room.has_attached_bathroom`, `room`.`furnishing_status` AS `room.furnishing_status`, `room`.`condition` AS `room.condition`, `room`.`last_cleaned` AS `room.last_cleaned`, `room`.`security_deposit` AS `room.security_deposit`, `room`.`available_from` AS `room.available_from`, `room`.`created_at` AS `room.createdAt`, `room`.`updated_at` AS `room.updatedAt`, `documents`.`id` AS `documents.id`, `documents`.`renter_id` AS `documents.renter_id`, `documents`.`type` AS `documents.type`, `documents`.`file_name` AS `documents.file_name`, `documents`.`file_url` AS `documents.file_url`, `documents`.`file_size` AS `documents.file_size`, `documents`.`mime_type` AS `documents.mime_type`, `documents`.`description` AS `documents.description`, `documents`.`created_at` AS `documents.createdAt`, `documents`.`updated_at` AS `documents.updatedAt` FROM `Renter` AS `Renter` LEFT OUTER JOIN `Room` AS `room` ON `Renter`.`room_id` = `room`.`id` LEFT OUTER JOIN `RenterDocument` AS `documents` ON `Renter`.`id` = `documents`.`renter_id`; Executing (default): SELECT `id`, `visitor_name`, `visitor_phone`, `visiting_renter_id`, `check_in_time`, `check_out_time`, `purpose`, `approved_by`, `id_verified`, `vehicle_number`, `notes`, `visiting_renter_name`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `Visitor` AS `Visitor`; Executing (default): SELECT `id`, `name`, `value`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `Settings` AS `Settings`; Executing (default): SELECT `id`, `title`, `content`, `type`, `priority`, `target_audience`, `target_ids`, `building_id`, `floor_id`, `created_by`, `expiry_date`, `is_active`, `read_by`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `Notice` AS `Notice`; Executing (default): SELECT `Renter`.`id`, `Renter`.`name`, `Renter`.`email`, `Renter`.`phone`, `Renter`.`alternate_phone`, `Renter`.`nid`, `Renter`.`building_id`, `Renter`.`floor_id`, `Renter`.`room_id`, `Renter`.`bed_id`, `Renter`.`rent_amount`, `Renter`.`security_deposit`, `Renter`.`check_in_date`, `Renter`.`check_out_date`, `Renter`.`lease_start_date`, `Renter`.`lease_end_date`, `Renter`.`status`, `Renter`.`emergency_contact`, `Renter`.`emergency_relation`, `Renter`.`profile_photo`, `Renter`.`occupation`, `Renter`.`company`, `Renter`.`monthly_income`, `Renter`.`previous_address`, `Renter`.`references`, `Renter`.`notice_period`, `Renter`.`preferences`, `Renter`.`payment_history`, `Renter`.`created_at` AS `createdAt`, `Renter`.`updated_at` AS `updatedAt`, `room`.`id` AS `room.id`, `room`.`building_id` AS `room.building_id`, `room`.`floor_id` AS `room.floor_id`, `room`.`room_number` AS `room.room_number`, `room`.`total_beds` AS `room.total_beds`, `room`.`occupied_beds` AS `room.occupied_beds`, `room`.`rent_per_bed` AS `room.rent_per_bed`, `room`.`facilities` AS `room.facilities`, `room`.`room_type` AS `room.room_type`, `room`.`area` AS `room.area`, `room`.`has_balcony` AS `room.has_balcony`, `room`.`has_attached_bathroom` AS `room.has_attached_bathroom`, `room`.`furnishing_status` AS `room.furnishing_status`, `room`.`condition` AS `room.condition`, `room`.`last_cleaned` AS `room.last_cleaned`, `room`.`security_deposit` AS `room.security_deposit`, `room`.`available_from` AS `room.available_from`, `room`.`created_at` AS `room.createdAt`, `room`.`updated_at` AS `room.updatedAt`, `documents`.`id` AS `documents.id`, `documents`.`renter_id` AS `documents.renter_id`, `documents`.`type` AS `documents.type`, `documents`.`file_name` AS `documents.file_name`, `documents`.`file_url` AS `documents.file_url`, `documents`.`file_size` AS `documents.file_size`, `documents`.`mime_type` AS `documents.mime_type`, `documents`.`description` AS `documents.description`, `documents`.`created_at` AS `documents.createdAt`, `documents`.`updated_at` AS `documents.updatedAt` FROM `Renter` AS `Renter` LEFT OUTER JOIN `Room` AS `room` ON `Renter`.`room_id` = `room`.`id` LEFT OUTER JOIN `RenterDocument` AS `documents` ON `Renter`.`id` = `documents`.`renter_id`; Executing (default): SELECT `id`, `visitor_name`, `visitor_phone`, `visiting_renter_id`, `check_in_time`, `check_out_time`, `purpose`, `approved_by`, `id_verified`, `vehicle_number`, `notes`, `visiting_renter_name`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `Visitor` AS `Visitor`; Executing (default): SELECT `id`, `name`, `value`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `Settings` AS `Settings`; Executing (default): SELECT `Renter`.`id`, `Renter`.`name`, `Renter`.`email`, `Renter`.`phone`, `Renter`.`alternate_phone`, `Renter`.`nid`, `Renter`.`building_id`, `Renter`.`floor_id`, `Renter`.`room_id`, `Renter`.`bed_id`, `Renter`.`rent_amount`, `Renter`.`security_deposit`, `Renter`.`check_in_date`, `Renter`.`check_out_date`, `Renter`.`lease_start_date`, `Renter`.`lease_end_date`, `Renter`.`status`, `Renter`.`emergency_contact`, `Renter`.`emergency_relation`, `Renter`.`profile_photo`, `Renter`.`occupation`, `Renter`.`company`, `Renter`.`monthly_income`, `Renter`.`previous_address`, `Renter`.`references`, `Renter`.`notice_period`, `Renter`.`preferences`, `Renter`.`payment_history`, `Renter`.`created_at` AS `createdAt`, `Renter`.`updated_at` AS `updatedAt`, `room`.`id` AS `room.id`, `room`.`building_id` AS `room.building_id`, `room`.`floor_id` AS `room.floor_id`, `room`.`room_number` AS `room.room_number`, `room`.`total_beds` AS `room.total_beds`, `room`.`occupied_beds` AS `room.occupied_beds`, `room`.`rent_per_bed` AS `room.rent_per_bed`, `room`.`facilities` AS `room.facilities`, `room`.`room_type` AS `room.room_type`, `room`.`area` AS `room.area`, `room`.`has_balcony` AS `room.has_balcony`, `room`.`has_attached_bathroom` AS `room.has_attached_bathroom`, `room`.`furnishing_status` AS `room.furnishing_status`, `room`.`condition` AS `room.condition`, `room`.`last_cleaned` AS `room.last_cleaned`, `room`.`security_deposit` AS `room.security_deposit`, `room`.`available_from` AS `room.available_from`, `room`.`created_at` AS `room.createdAt`, `room`.`updated_at` AS `room.updatedAt`, `documents`.`id` AS `documents.id`, `documents`.`renter_id` AS `documents.renter_id`, `documents`.`type` AS `documents.type`, `documents`.`file_name` AS `documents.file_name`, `documents`.`file_url` AS `documents.file_url`, `documents`.`file_size` AS `documents.file_size`, `documents`.`mime_type` AS `documents.mime_type`, `documents`.`description` AS `documents.description`, `documents`.`created_at` AS `documents.createdAt`, `documents`.`updated_at` AS `documents.updatedAt` FROM `Renter` AS `Renter` LEFT OUTER JOIN `Room` AS `room` ON `Renter`.`room_id` = `room`.`id` LEFT OUTER JOIN `RenterDocument` AS `documents` ON `Renter`.`id` = `documents`.`renter_id`; Executing (default): SELECT `id`, `title`, `content`, `type`, `priority`, `target_audience`, `target_ids`, `building_id`, `floor_id`, `created_by`, `expiry_date`, `is_active`, `read_by`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `Notice` AS `Notice`; Executing (default): SELECT `id`, `visitor_name`, `visitor_phone`, `visiting_renter_id`, `check_in_time`, `check_out_time`, `purpose`, `approved_by`, `id_verified`, `vehicle_number`, `notes`, `visiting_renter_name`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `Visitor` AS `Visitor`; Executing (default): SELECT `id`, `name`, `value`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `Settings` AS `Settings`; Executing (default): SELECT `Renter`.`id`, `Renter`.`name`, `Renter`.`email`, `Renter`.`phone`, `Renter`.`alternate_phone`, `Renter`.`nid`, `Renter`.`building_id`, `Renter`.`floor_id`, `Renter`.`room_id`, `Renter`.`bed_id`, `Renter`.`rent_amount`, `Renter`.`security_deposit`, `Renter`.`check_in_date`, `Renter`.`check_out_date`, `Renter`.`lease_start_date`, `Renter`.`lease_end_date`, `Renter`.`status`, `Renter`.`emergency_contact`, `Renter`.`emergency_relation`, `Renter`.`profile_photo`, `Renter`.`occupation`, `Renter`.`company`, `Renter`.`monthly_income`, `Renter`.`previous_address`, `Renter`.`references`, `Renter`.`notice_period`, `Renter`.`preferences`, `Renter`.`payment_history`, `Renter`.`created_at` AS `createdAt`, `Renter`.`updated_at` AS `updatedAt`, `room`.`id` AS `room.id`, `room`.`building_id` AS `room.building_id`, `room`.`floor_id` AS `room.floor_id`, `room`.`room_number` AS `room.room_number`, `room`.`total_beds` AS `room.total_beds`, `room`.`occupied_beds` AS `room.occupied_beds`, `room`.`rent_per_bed` AS `room.rent_per_bed`, `room`.`facilities` AS `room.facilities`, `room`.`room_type` AS `room.room_type`, `room`.`area` AS `room.area`, `room`.`has_balcony` AS `room.has_balcony`, `room`.`has_attached_bathroom` AS `room.has_attached_bathroom`, `room`.`furnishing_status` AS `room.furnishing_status`, `room`.`condition` AS `room.condition`, `room`.`last_cleaned` AS `room.last_cleaned`, `room`.`security_deposit` AS `room.security_deposit`, `room`.`available_from` AS `room.available_from`, `room`.`created_at` AS `room.createdAt`, `room`.`updated_at` AS `room.updatedAt`, `documents`.`id` AS `documents.id`, `documents`.`renter_id` AS `documents.renter_id`, `documents`.`type` AS `documents.type`, `documents`.`file_name` AS `documents.file_name`, `documents`.`file_url` AS `documents.file_url`, `documents`.`file_size` AS `documents.file_size`, `documents`.`mime_type` AS `documents.mime_type`, `documents`.`description` AS `documents.description`, `documents`.`created_at` AS `documents.createdAt`, `documents`.`updated_at` AS `documents.updatedAt` FROM `Renter` AS `Renter` LEFT OUTER JOIN `Room` AS `room` ON `Renter`.`room_id` = `room`.`id` LEFT OUTER JOIN `RenterDocument` AS `documents` ON `Renter`.`id` = `documents`.`renter_id`; Executing (default): SELECT `id`, `title`, `content`, `type`, `priority`, `target_audience`, `target_ids`, `building_id`, `floor_id`, `created_by`, `expiry_date`, `is_active`, `read_by`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `Notice` AS `Notice`; Executing (default): SELECT `id`, `name`, `value`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `Settings` AS `Settings`; Executing (default): SELECT `id`, `visitor_name`, `visitor_phone`, `visiting_renter_id`, `check_in_time`, `check_out_time`, `purpose`, `approved_by`, `id_verified`, `vehicle_number`, `notes`, `visiting_renter_name`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `Visitor` AS `Visitor`; Executing (default): SELECT `Renter`.`id`, `Renter`.`name`, `Renter`.`email`, `Renter`.`phone`, `Renter`.`alternate_phone`, `Renter`.`nid`, `Renter`.`building_id`, `Renter`.`floor_id`, `Renter`.`room_id`, `Renter`.`bed_id`, `Renter`.`rent_amount`, `Renter`.`security_deposit`, `Renter`.`check_in_date`, `Renter`.`check_out_date`, `Renter`.`lease_start_date`, `Renter`.`lease_end_date`, `Renter`.`status`, `Renter`.`emergency_contact`, `Renter`.`emergency_relation`, `Renter`.`profile_photo`, `Renter`.`occupation`, `Renter`.`company`, `Renter`.`monthly_income`, `Renter`.`previous_address`, `Renter`.`references`, `Renter`.`notice_period`, `Renter`.`preferences`, `Renter`.`payment_history`, `Renter`.`created_at` AS `createdAt`, `Renter`.`updated_at` AS `updatedAt`, `room`.`id` AS `room.id`, `room`.`building_id` AS `room.building_id`, `room`.`floor_id` AS `room.floor_id`, `room`.`room_number` AS `room.room_number`, `room`.`total_beds` AS `room.total_beds`, `room`.`occupied_beds` AS `room.occupied_beds`, `room`.`rent_per_bed` AS `room.rent_per_bed`, `room`.`facilities` AS `room.facilities`, `room`.`room_type` AS `room.room_type`, `room`.`area` AS `room.area`, `room`.`has_balcony` AS `room.has_balcony`, `room`.`has_attached_bathroom` AS `room.has_attached_bathroom`, `room`.`furnishing_status` AS `room.furnishing_status`, `room`.`condition` AS `room.condition`, `room`.`last_cleaned` AS `room.last_cleaned`, `room`.`security_deposit` AS `room.security_deposit`, `room`.`available_from` AS `room.available_from`, `room`.`created_at` AS `room.createdAt`, `room`.`updated_at` AS `room.updatedAt`, `documents`.`id` AS `documents.id`, `documents`.`renter_id` AS `documents.renter_id`, `documents`.`type` AS `documents.type`, `documents`.`file_name` AS `documents.file_name`, `documents`.`file_url` AS `documents.file_url`, `documents`.`file_size` AS `documents.file_size`, `documents`.`mime_type` AS `documents.mime_type`, `documents`.`description` AS `documents.description`, `documents`.`created_at` AS `documents.createdAt`, `documents`.`updated_at` AS `documents.updatedAt` FROM `Renter` AS `Renter` LEFT OUTER JOIN `Room` AS `room` ON `Renter`.`room_id` = `room`.`id` LEFT OUTER JOIN `RenterDocument` AS `documents` ON `Renter`.`id` = `documents`.`renter_id`; Executing (default): SELECT `id`, `visitor_name`, `visitor_phone`, `visiting_renter_id`, `check_in_time`, `check_out_time`, `purpose`, `approved_by`, `id_verified`, `vehicle_number`, `notes`, `visiting_renter_name`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `Visitor` AS `Visitor`; Executing (default): SELECT `id`, `title`, `content`, `type`, `priority`, `target_audience`, `target_ids`, `building_id`, `floor_id`, `created_by`, `expiry_date`, `is_active`, `read_by`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `Notice` AS `Notice`; Executing (default): SELECT `id`, `name`, `value`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `Settings` AS `Settings`; Executing (default): SELECT `Renter`.`id`, `Renter`.`name`, `Renter`.`email`, `Renter`.`phone`, `Renter`.`alternate_phone`, `Renter`.`nid`, `Renter`.`building_id`, `Renter`.`floor_id`, `Renter`.`room_id`, `Renter`.`bed_id`, `Renter`.`rent_amount`, `Renter`.`security_deposit`, `Renter`.`check_in_date`, `Renter`.`check_out_date`, `Renter`.`lease_start_date`, `Renter`.`lease_end_date`, `Renter`.`status`, `Renter`.`emergency_contact`, `Renter`.`emergency_relation`, `Renter`.`profile_photo`, `Renter`.`occupation`, `Renter`.`company`, `Renter`.`monthly_income`, `Renter`.`previous_address`, `Renter`.`references`, `Renter`.`notice_period`, `Renter`.`preferences`, `Renter`.`payment_history`, `Renter`.`created_at` AS `createdAt`, `Renter`.`updated_at` AS `updatedAt`, `room`.`id` AS `room.id`, `room`.`building_id` AS `room.building_id`, `room`.`floor_id` AS `room.floor_id`, `room`.`room_number` AS `room.room_number`, `room`.`total_beds` AS `room.total_beds`, `room`.`occupied_beds` AS `room.occupied_beds`, `room`.`rent_per_bed` AS `room.rent_per_bed`, `room`.`facilities` AS `room.facilities`, `room`.`room_type` AS `room.room_type`, `room`.`area` AS `room.area`, `room`.`has_balcony` AS `room.has_balcony`, `room`.`has_attached_bathroom` AS `room.has_attached_bathroom`, `room`.`furnishing_status` AS `room.furnishing_status`, `room`.`condition` AS `room.condition`, `room`.`last_cleaned` AS `room.last_cleaned`, `room`.`security_deposit` AS `room.security_deposit`, `room`.`available_from` AS `room.available_from`, `room`.`created_at` AS `room.createdAt`, `room`.`updated_at` AS `room.updatedAt`, `documents`.`id` AS `documents.id`, `documents`.`renter_id` AS `documents.renter_id`, `documents`.`type` AS `documents.type`, `documents`.`file_name` AS `documents.file_name`, `documents`.`file_url` AS `documents.file_url`, `documents`.`file_size` AS `documents.file_size`, `documents`.`mime_type` AS `documents.mime_type`, `documents`.`description` AS `documents.description`, `documents`.`created_at` AS `documents.createdAt`, `documents`.`updated_at` AS `documents.updatedAt` FROM `Renter` AS `Renter` LEFT OUTER JOIN `Room` AS `room` ON `Renter`.`room_id` = `room`.`id` LEFT OUTER JOIN `RenterDocument` AS `documents` ON `Renter`.`id` = `documents`.`renter_id`; Executing (default): SELECT `id`, `visitor_name`, `visitor_phone`, `visiting_renter_id`, `check_in_time`, `check_out_time`, `purpose`, `approved_by`, `id_verified`, `vehicle_number`, `notes`, `visiting_renter_name`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `Visitor` AS `Visitor`; Executing (default): SELECT `id`, `title`, `content`, `type`, `priority`, `target_audience`, `target_ids`, `building_id`, `floor_id`, `created_by`, `expiry_date`, `is_active`, `read_by`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `Notice` AS `Notice`; Executing (default): SELECT `id`, `name`, `value`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `Settings` AS `Settings`; Executing (default): SELECT `Renter`.`id`, `Renter`.`name`, `Renter`.`email`, `Renter`.`phone`, `Renter`.`alternate_phone`, `Renter`.`nid`, `Renter`.`building_id`, `Renter`.`floor_id`, `Renter`.`room_id`, `Renter`.`bed_id`, `Renter`.`rent_amount`, `Renter`.`security_deposit`, `Renter`.`check_in_date`, `Renter`.`check_out_date`, `Renter`.`lease_start_date`, `Renter`.`lease_end_date`, `Renter`.`status`, `Renter`.`emergency_contact`, `Renter`.`emergency_relation`, `Renter`.`profile_photo`, `Renter`.`occupation`, `Renter`.`company`, `Renter`.`monthly_income`, `Renter`.`previous_address`, `Renter`.`references`, `Renter`.`notice_period`, `Renter`.`preferences`, `Renter`.`payment_history`, `Renter`.`created_at` AS `createdAt`, `Renter`.`updated_at` AS `updatedAt`, `room`.`id` AS `room.id`, `room`.`building_id` AS `room.building_id`, `room`.`floor_id` AS `room.floor_id`, `room`.`room_number` AS `room.room_number`, `room`.`total_beds` AS `room.total_beds`, `room`.`occupied_beds` AS `room.occupied_beds`, `room`.`rent_per_bed` AS `room.rent_per_bed`, `room`.`facilities` AS `room.facilities`, `room`.`room_type` AS `room.room_type`, `room`.`area` AS `room.area`, `room`.`has_balcony` AS `room.has_balcony`, `room`.`has_attached_bathroom` AS `room.has_attached_bathroom`, `room`.`furnishing_status` AS `room.furnishing_status`, `room`.`condition` AS `room.condition`, `room`.`last_cleaned` AS `room.last_cleaned`, `room`.`security_deposit` AS `room.security_deposit`, `room`.`available_from` AS `room.available_from`, `room`.`created_at` AS `room.createdAt`, `room`.`updated_at` AS `room.updatedAt`, `documents`.`id` AS `documents.id`, `documents`.`renter_id` AS `documents.renter_id`, `documents`.`type` AS `documents.type`, `documents`.`file_name` AS `documents.file_name`, `documents`.`file_url` AS `documents.file_url`, `documents`.`file_size` AS `documents.file_size`, `documents`.`mime_type` AS `documents.mime_type`, `documents`.`description` AS `documents.description`, `documents`.`created_at` AS `documents.createdAt`, `documents`.`updated_at` AS `documents.updatedAt` FROM `Renter` AS `Renter` LEFT OUTER JOIN `Room` AS `room` ON `Renter`.`room_id` = `room`.`id` LEFT OUTER JOIN `RenterDocument` AS `documents` ON `Renter`.`id` = `documents`.`renter_id`; Executing (default): SELECT `id`, `title`, `content`, `type`, `priority`, `target_audience`, `target_ids`, `building_id`, `floor_id`, `created_by`, `expiry_date`, `is_active`, `read_by`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `Notice` AS `Notice`; Executing (default): SELECT `id`, `visitor_name`, `visitor_phone`, `visiting_renter_id`, `check_in_time`, `check_out_time`, `purpose`, `approved_by`, `id_verified`, `vehicle_number`, `notes`, `visiting_renter_name`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `Visitor` AS `Visitor`; Executing (default): SELECT `id`, `name`, `value`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `Settings` AS `Settings`; Executing (default): SELECT `Renter`.`id`, `Renter`.`name`, `Renter`.`email`, `Renter`.`phone`, `Renter`.`alternate_phone`, `Renter`.`nid`, `Renter`.`building_id`, `Renter`.`floor_id`, `Renter`.`room_id`, `Renter`.`bed_id`, `Renter`.`rent_amount`, `Renter`.`security_deposit`, `Renter`.`check_in_date`, `Renter`.`check_out_date`, `Renter`.`lease_start_date`, `Renter`.`lease_end_date`, `Renter`.`status`, `Renter`.`emergency_contact`, `Renter`.`emergency_relation`, `Renter`.`profile_photo`, `Renter`.`occupation`, `Renter`.`company`, `Renter`.`monthly_income`, `Renter`.`previous_address`, `Renter`.`references`, `Renter`.`notice_period`, `Renter`.`preferences`, `Renter`.`payment_history`, `Renter`.`created_at` AS `createdAt`, `Renter`.`updated_at` AS `updatedAt`, `room`.`id` AS `room.id`, `room`.`building_id` AS `room.building_id`, `room`.`floor_id` AS `room.floor_id`, `room`.`room_number` AS `room.room_number`, `room`.`total_beds` AS `room.total_beds`, `room`.`occupied_beds` AS `room.occupied_beds`, `room`.`rent_per_bed` AS `room.rent_per_bed`, `room`.`facilities` AS `room.facilities`, `room`.`room_type` AS `room.room_type`, `room`.`area` AS `room.area`, `room`.`has_balcony` AS `room.has_balcony`, `room`.`has_attached_bathroom` AS `room.has_attached_bathroom`, `room`.`furnishing_status` AS `room.furnishing_status`, `room`.`condition` AS `room.condition`, `room`.`last_cleaned` AS `room.last_cleaned`, `room`.`security_deposit` AS `room.security_deposit`, `room`.`available_from` AS `room.available_from`, `room`.`created_at` AS `room.createdAt`, `room`.`updated_at` AS `room.updatedAt`, `documents`.`id` AS `documents.id`, `documents`.`renter_id` AS `documents.renter_id`, `documents`.`type` AS `documents.type`, `documents`.`file_name` AS `documents.file_name`, `documents`.`file_url` AS `documents.file_url`, `documents`.`file_size` AS `documents.file_size`, `documents`.`mime_type` AS `documents.mime_type`, `documents`.`description` AS `documents.description`, `documents`.`created_at` AS `documents.createdAt`, `documents`.`updated_at` AS `documents.updatedAt` FROM `Renter` AS `Renter` LEFT OUTER JOIN `Room` AS `room` ON `Renter`.`room_id` = `room`.`id` LEFT OUTER JOIN `RenterDocument` AS `documents` ON `Renter`.`id` = `documents`.`renter_id`; Executing (default): SELECT `id`, `visitor_name`, `visitor_phone`, `visiting_renter_id`, `check_in_time`, `check_out_time`, `purpose`, `approved_by`, `id_verified`, `vehicle_number`, `notes`, `visiting_renter_name`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `Visitor` AS `Visitor`; Executing (default): SELECT `id`, `title`, `content`, `type`, `priority`, `target_audience`, `target_ids`, `building_id`, `floor_id`, `created_by`, `expiry_date`, `is_active`, `read_by`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `Notice` AS `Notice`; Executing (default): SELECT `id`, `name`, `value`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `Settings` AS `Settings`; Executing (default): SELECT `id`, `name`, `email`, `password`, `role`, `permissions`, `department`, `phone`, `avatar`, `is_active`, `last_login`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `User` AS `User` WHERE `User`.`email` = 'parkercatherine622@gmail.com' AND `User`.`is_active` = true; Executing (default): SELECT `id`, `name`, `email`, `password`, `role`, `permissions`, `department`, `phone`, `avatar`, `is_active`, `last_login`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `User` AS `User` WHERE `User`.`email` = 'parkercatherine622@gmail.com' AND `User`.`is_active` = true; Executing (default): SELECT `id`, `name`, `email`, `password`, `role`, `permissions`, `department`, `phone`, `avatar`, `is_active`, `last_login`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `User` AS `User` WHERE `User`.`email` = 'brandonfarmer75@outlook.com' AND `User`.`is_active` = true; Executing (default): SELECT `id`, `name`, `email`, `password`, `role`, `permissions`, `department`, `phone`, `avatar`, `is_active`, `last_login`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `User` AS `User` WHERE `User`.`email` = 'brandonfarmer75@outlook.com' AND `User`.`is_active` = true; Executing (default): SELECT `Renter`.`id`, `Renter`.`name`, `Renter`.`email`, `Renter`.`phone`, `Renter`.`alternate_phone`, `Renter`.`nid`, `Renter`.`building_id`, `Renter`.`floor_id`, `Renter`.`room_id`, `Renter`.`bed_id`, `Renter`.`rent_amount`, `Renter`.`security_deposit`, `Renter`.`check_in_date`, `Renter`.`check_out_date`, `Renter`.`lease_start_date`, `Renter`.`lease_end_date`, `Renter`.`status`, `Renter`.`emergency_contact`, `Renter`.`emergency_relation`, `Renter`.`profile_photo`, `Renter`.`occupation`, `Renter`.`company`, `Renter`.`monthly_income`, `Renter`.`previous_address`, `Renter`.`references`, `Renter`.`notice_period`, `Renter`.`preferences`, `Renter`.`payment_history`, `Renter`.`created_at` AS `createdAt`, `Renter`.`updated_at` AS `updatedAt`, `room`.`id` AS `room.id`, `room`.`building_id` AS `room.building_id`, `room`.`floor_id` AS `room.floor_id`, `room`.`room_number` AS `room.room_number`, `room`.`total_beds` AS `room.total_beds`, `room`.`occupied_beds` AS `room.occupied_beds`, `room`.`rent_per_bed` AS `room.rent_per_bed`, `room`.`facilities` AS `room.facilities`, `room`.`room_type` AS `room.room_type`, `room`.`area` AS `room.area`, `room`.`has_balcony` AS `room.has_balcony`, `room`.`has_attached_bathroom` AS `room.has_attached_bathroom`, `room`.`furnishing_status` AS `room.furnishing_status`, `room`.`condition` AS `room.condition`, `room`.`last_cleaned` AS `room.last_cleaned`, `room`.`security_deposit` AS `room.security_deposit`, `room`.`available_from` AS `room.available_from`, `room`.`created_at` AS `room.createdAt`, `room`.`updated_at` AS `room.updatedAt`, `documents`.`id` AS `documents.id`, `documents`.`renter_id` AS `documents.renter_id`, `documents`.`type` AS `documents.type`, `documents`.`file_name` AS `documents.file_name`, `documents`.`file_url` AS `documents.file_url`, `documents`.`file_size` AS `documents.file_size`, `documents`.`mime_type` AS `documents.mime_type`, `documents`.`description` AS `documents.description`, `documents`.`created_at` AS `documents.createdAt`, `documents`.`updated_at` AS `documents.updatedAt` FROM `Renter` AS `Renter` LEFT OUTER JOIN `Room` AS `room` ON `Renter`.`room_id` = `room`.`id` LEFT OUTER JOIN `RenterDocument` AS `documents` ON `Renter`.`id` = `documents`.`renter_id`; Executing (default): SELECT `id`, `title`, `content`, `type`, `priority`, `target_audience`, `target_ids`, `building_id`, `floor_id`, `created_by`, `expiry_date`, `is_active`, `read_by`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `Notice` AS `Notice`; Executing (default): SELECT `id`, `visitor_name`, `visitor_phone`, `visiting_renter_id`, `check_in_time`, `check_out_time`, `purpose`, `approved_by`, `id_verified`, `vehicle_number`, `notes`, `visiting_renter_name`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `Visitor` AS `Visitor`; Executing (default): SELECT `id`, `name`, `value`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `Settings` AS `Settings`; Executing (default): SELECT `Renter`.`id`, `Renter`.`name`, `Renter`.`email`, `Renter`.`phone`, `Renter`.`alternate_phone`, `Renter`.`nid`, `Renter`.`building_id`, `Renter`.`floor_id`, `Renter`.`room_id`, `Renter`.`bed_id`, `Renter`.`rent_amount`, `Renter`.`security_deposit`, `Renter`.`check_in_date`, `Renter`.`check_out_date`, `Renter`.`lease_start_date`, `Renter`.`lease_end_date`, `Renter`.`status`, `Renter`.`emergency_contact`, `Renter`.`emergency_relation`, `Renter`.`profile_photo`, `Renter`.`occupation`, `Renter`.`company`, `Renter`.`monthly_income`, `Renter`.`previous_address`, `Renter`.`references`, `Renter`.`notice_period`, `Renter`.`preferences`, `Renter`.`payment_history`, `Renter`.`created_at` AS `createdAt`, `Renter`.`updated_at` AS `updatedAt`, `room`.`id` AS `room.id`, `room`.`building_id` AS `room.building_id`, `room`.`floor_id` AS `room.floor_id`, `room`.`room_number` AS `room.room_number`, `room`.`total_beds` AS `room.total_beds`, `room`.`occupied_beds` AS `room.occupied_beds`, `room`.`rent_per_bed` AS `room.rent_per_bed`, `room`.`facilities` AS `room.facilities`, `room`.`room_type` AS `room.room_type`, `room`.`area` AS `room.area`, `room`.`has_balcony` AS `room.has_balcony`, `room`.`has_attached_bathroom` AS `room.has_attached_bathroom`, `room`.`furnishing_status` AS `room.furnishing_status`, `room`.`condition` AS `room.condition`, `room`.`last_cleaned` AS `room.last_cleaned`, `room`.`security_deposit` AS `room.security_deposit`, `room`.`available_from` AS `room.available_from`, `room`.`created_at` AS `room.createdAt`, `room`.`updated_at` AS `room.updatedAt`, `documents`.`id` AS `documents.id`, `documents`.`renter_id` AS `documents.renter_id`, `documents`.`type` AS `documents.type`, `documents`.`file_name` AS `documents.file_name`, `documents`.`file_url` AS `documents.file_url`, `documents`.`file_size` AS `documents.file_size`, `documents`.`mime_type` AS `documents.mime_type`, `documents`.`description` AS `documents.description`, `documents`.`created_at` AS `documents.createdAt`, `documents`.`updated_at` AS `documents.updatedAt` FROM `Renter` AS `Renter` LEFT OUTER JOIN `Room` AS `room` ON `Renter`.`room_id` = `room`.`id` LEFT OUTER JOIN `RenterDocument` AS `documents` ON `Renter`.`id` = `documents`.`renter_id`; Executing (default): SELECT `id`, `title`, `content`, `type`, `priority`, `target_audience`, `target_ids`, `building_id`, `floor_id`, `created_by`, `expiry_date`, `is_active`, `read_by`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `Notice` AS `Notice`; Executing (default): SELECT `id`, `visitor_name`, `visitor_phone`, `visiting_renter_id`, `check_in_time`, `check_out_time`, `purpose`, `approved_by`, `id_verified`, `vehicle_number`, `notes`, `visiting_renter_name`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `Visitor` AS `Visitor`; Executing (default): SELECT `id`, `name`, `value`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `Settings` AS `Settings`; Executing (default): SELECT `Renter`.`id`, `Renter`.`name`, `Renter`.`email`, `Renter`.`phone`, `Renter`.`alternate_phone`, `Renter`.`nid`, `Renter`.`building_id`, `Renter`.`floor_id`, `Renter`.`room_id`, `Renter`.`bed_id`, `Renter`.`rent_amount`, `Renter`.`security_deposit`, `Renter`.`check_in_date`, `Renter`.`check_out_date`, `Renter`.`lease_start_date`, `Renter`.`lease_end_date`, `Renter`.`status`, `Renter`.`emergency_contact`, `Renter`.`emergency_relation`, `Renter`.`profile_photo`, `Renter`.`occupation`, `Renter`.`company`, `Renter`.`monthly_income`, `Renter`.`previous_address`, `Renter`.`references`, `Renter`.`notice_period`, `Renter`.`preferences`, `Renter`.`payment_history`, `Renter`.`created_at` AS `createdAt`, `Renter`.`updated_at` AS `updatedAt`, `room`.`id` AS `room.id`, `room`.`building_id` AS `room.building_id`, `room`.`floor_id` AS `room.floor_id`, `room`.`room_number` AS `room.room_number`, `room`.`total_beds` AS `room.total_beds`, `room`.`occupied_beds` AS `room.occupied_beds`, `room`.`rent_per_bed` AS `room.rent_per_bed`, `room`.`facilities` AS `room.facilities`, `room`.`room_type` AS `room.room_type`, `room`.`area` AS `room.area`, `room`.`has_balcony` AS `room.has_balcony`, `room`.`has_attached_bathroom` AS `room.has_attached_bathroom`, `room`.`furnishing_status` AS `room.furnishing_status`, `room`.`condition` AS `room.condition`, `room`.`last_cleaned` AS `room.last_cleaned`, `room`.`security_deposit` AS `room.security_deposit`, `room`.`available_from` AS `room.available_from`, `room`.`created_at` AS `room.createdAt`, `room`.`updated_at` AS `room.updatedAt`, `documents`.`id` AS `documents.id`, `documents`.`renter_id` AS `documents.renter_id`, `documents`.`type` AS `documents.type`, `documents`.`file_name` AS `documents.file_name`, `documents`.`file_url` AS `documents.file_url`, `documents`.`file_size` AS `documents.file_size`, `documents`.`mime_type` AS `documents.mime_type`, `documents`.`description` AS `documents.description`, `documents`.`created_at` AS `documents.createdAt`, `documents`.`updated_at` AS `documents.updatedAt` FROM `Renter` AS `Renter` LEFT OUTER JOIN `Room` AS `room` ON `Renter`.`room_id` = `room`.`id` LEFT OUTER JOIN `RenterDocument` AS `documents` ON `Renter`.`id` = `documents`.`renter_id`; Executing (default): SELECT `id`, `title`, `content`, `type`, `priority`, `target_audience`, `target_ids`, `building_id`, `floor_id`, `created_by`, `expiry_date`, `is_active`, `read_by`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `Notice` AS `Notice`; Executing (default): SELECT `Renter`.`id`, `Renter`.`name`, `Renter`.`email`, `Renter`.`phone`, `Renter`.`alternate_phone`, `Renter`.`nid`, `Renter`.`building_id`, `Renter`.`floor_id`, `Renter`.`room_id`, `Renter`.`bed_id`, `Renter`.`rent_amount`, `Renter`.`security_deposit`, `Renter`.`check_in_date`, `Renter`.`check_out_date`, `Renter`.`lease_start_date`, `Renter`.`lease_end_date`, `Renter`.`status`, `Renter`.`emergency_contact`, `Renter`.`emergency_relation`, `Renter`.`profile_photo`, `Renter`.`occupation`, `Renter`.`company`, `Renter`.`monthly_income`, `Renter`.`previous_address`, `Renter`.`references`, `Renter`.`notice_period`, `Renter`.`preferences`, `Renter`.`payment_history`, `Renter`.`created_at` AS `createdAt`, `Renter`.`updated_at` AS `updatedAt`, `room`.`id` AS `room.id`, `room`.`building_id` AS `room.building_id`, `room`.`floor_id` AS `room.floor_id`, `room`.`room_number` AS `room.room_number`, `room`.`total_beds` AS `room.total_beds`, `room`.`occupied_beds` AS `room.occupied_beds`, `room`.`rent_per_bed` AS `room.rent_per_bed`, `room`.`facilities` AS `room.facilities`, `room`.`room_type` AS `room.room_type`, `room`.`area` AS `room.area`, `room`.`has_balcony` AS `room.has_balcony`, `room`.`has_attached_bathroom` AS `room.has_attached_bathroom`, `room`.`furnishing_status` AS `room.furnishing_status`, `room`.`condition` AS `room.condition`, `room`.`last_cleaned` AS `room.last_cleaned`, `room`.`security_deposit` AS `room.security_deposit`, `room`.`available_from` AS `room.available_from`, `room`.`created_at` AS `room.createdAt`, `room`.`updated_at` AS `room.updatedAt`, `documents`.`id` AS `documents.id`, `documents`.`renter_id` AS `documents.renter_id`, `documents`.`type` AS `documents.type`, `documents`.`file_name` AS `documents.file_name`, `documents`.`file_url` AS `documents.file_url`, `documents`.`file_size` AS `documents.file_size`, `documents`.`mime_type` AS `documents.mime_type`, `documents`.`description` AS `documents.description`, `documents`.`created_at` AS `documents.createdAt`, `documents`.`updated_at` AS `documents.updatedAt` FROM `Renter` AS `Renter` LEFT OUTER JOIN `Room` AS `room` ON `Renter`.`room_id` = `room`.`id` LEFT OUTER JOIN `RenterDocument` AS `documents` ON `Renter`.`id` = `documents`.`renter_id`; Executing (default): SELECT `id`, `title`, `content`, `type`, `priority`, `target_audience`, `target_ids`, `building_id`, `floor_id`, `created_by`, `expiry_date`, `is_active`, `read_by`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `Notice` AS `Notice`; Executing (default): SELECT `id`, `visitor_name`, `visitor_phone`, `visiting_renter_id`, `check_in_time`, `check_out_time`, `purpose`, `approved_by`, `id_verified`, `vehicle_number`, `notes`, `visiting_renter_name`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `Visitor` AS `Visitor`; Executing (default): SELECT `id`, `name`, `value`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `Settings` AS `Settings`; Executing (default): SELECT `id`, `name`, `value`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `Settings` AS `Settings`; Executing (default): SELECT `id`, `visitor_name`, `visitor_phone`, `visiting_renter_id`, `check_in_time`, `check_out_time`, `purpose`, `approved_by`, `id_verified`, `vehicle_number`, `notes`, `visiting_renter_name`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `Visitor` AS `Visitor`; Executing (default): SELECT `Renter`.`id`, `Renter`.`name`, `Renter`.`email`, `Renter`.`phone`, `Renter`.`alternate_phone`, `Renter`.`nid`, `Renter`.`building_id`, `Renter`.`floor_id`, `Renter`.`room_id`, `Renter`.`bed_id`, `Renter`.`rent_amount`, `Renter`.`security_deposit`, `Renter`.`check_in_date`, `Renter`.`check_out_date`, `Renter`.`lease_start_date`, `Renter`.`lease_end_date`, `Renter`.`status`, `Renter`.`emergency_contact`, `Renter`.`emergency_relation`, `Renter`.`profile_photo`, `Renter`.`occupation`, `Renter`.`company`, `Renter`.`monthly_income`, `Renter`.`previous_address`, `Renter`.`references`, `Renter`.`notice_period`, `Renter`.`preferences`, `Renter`.`payment_history`, `Renter`.`created_at` AS `createdAt`, `Renter`.`updated_at` AS `updatedAt`, `room`.`id` AS `room.id`, `room`.`building_id` AS `room.building_id`, `room`.`floor_id` AS `room.floor_id`, `room`.`room_number` AS `room.room_number`, `room`.`total_beds` AS `room.total_beds`, `room`.`occupied_beds` AS `room.occupied_beds`, `room`.`rent_per_bed` AS `room.rent_per_bed`, `room`.`facilities` AS `room.facilities`, `room`.`room_type` AS `room.room_type`, `room`.`area` AS `room.area`, `room`.`has_balcony` AS `room.has_balcony`, `room`.`has_attached_bathroom` AS `room.has_attached_bathroom`, `room`.`furnishing_status` AS `room.furnishing_status`, `room`.`condition` AS `room.condition`, `room`.`last_cleaned` AS `room.last_cleaned`, `room`.`security_deposit` AS `room.security_deposit`, `room`.`available_from` AS `room.available_from`, `room`.`created_at` AS `room.createdAt`, `room`.`updated_at` AS `room.updatedAt`, `documents`.`id` AS `documents.id`, `documents`.`renter_id` AS `documents.renter_id`, `documents`.`type` AS `documents.type`, `documents`.`file_name` AS `documents.file_name`, `documents`.`file_url` AS `documents.file_url`, `documents`.`file_size` AS `documents.file_size`, `documents`.`mime_type` AS `documents.mime_type`, `documents`.`description` AS `documents.description`, `documents`.`created_at` AS `documents.createdAt`, `documents`.`updated_at` AS `documents.updatedAt` FROM `Renter` AS `Renter` LEFT OUTER JOIN `Room` AS `room` ON `Renter`.`room_id` = `room`.`id` LEFT OUTER JOIN `RenterDocument` AS `documents` ON `Renter`.`id` = `documents`.`renter_id`; Executing (default): SELECT `Renter`.`id`, `Renter`.`name`, `Renter`.`email`, `Renter`.`phone`, `Renter`.`alternate_phone`, `Renter`.`nid`, `Renter`.`building_id`, `Renter`.`floor_id`, `Renter`.`room_id`, `Renter`.`bed_id`, `Renter`.`rent_amount`, `Renter`.`security_deposit`, `Renter`.`check_in_date`, `Renter`.`check_out_date`, `Renter`.`lease_start_date`, `Renter`.`lease_end_date`, `Renter`.`status`, `Renter`.`emergency_contact`, `Renter`.`emergency_relation`, `Renter`.`profile_photo`, `Renter`.`occupation`, `Renter`.`company`, `Renter`.`monthly_income`, `Renter`.`previous_address`, `Renter`.`references`, `Renter`.`notice_period`, `Renter`.`preferences`, `Renter`.`payment_history`, `Renter`.`created_at` AS `createdAt`, `Renter`.`updated_at` AS `updatedAt`, `room`.`id` AS `room.id`, `room`.`building_id` AS `room.building_id`, `room`.`floor_id` AS `room.floor_id`, `room`.`room_number` AS `room.room_number`, `room`.`total_beds` AS `room.total_beds`, `room`.`occupied_beds` AS `room.occupied_beds`, `room`.`rent_per_bed` AS `room.rent_per_bed`, `room`.`facilities` AS `room.facilities`, `room`.`room_type` AS `room.room_type`, `room`.`area` AS `room.area`, `room`.`has_balcony` AS `room.has_balcony`, `room`.`has_attached_bathroom` AS `room.has_attached_bathroom`, `room`.`furnishing_status` AS `room.furnishing_status`, `room`.`condition` AS `room.condition`, `room`.`last_cleaned` AS `room.last_cleaned`, `room`.`security_deposit` AS `room.security_deposit`, `room`.`available_from` AS `room.available_from`, `room`.`created_at` AS `room.createdAt`, `room`.`updated_at` AS `room.updatedAt`, `documents`.`id` AS `documents.id`, `documents`.`renter_id` AS `documents.renter_id`, `documents`.`type` AS `documents.type`, `documents`.`file_name` AS `documents.file_name`, `documents`.`file_url` AS `documents.file_url`, `documents`.`file_size` AS `documents.file_size`, `documents`.`mime_type` AS `documents.mime_type`, `documents`.`description` AS `documents.description`, `documents`.`created_at` AS `documents.createdAt`, `documents`.`updated_at` AS `documents.updatedAt` FROM `Renter` AS `Renter` LEFT OUTER JOIN `Room` AS `room` ON `Renter`.`room_id` = `room`.`id` LEFT OUTER JOIN `RenterDocument` AS `documents` ON `Renter`.`id` = `documents`.`renter_id`; Executing (default): SELECT `id`, `title`, `content`, `type`, `priority`, `target_audience`, `target_ids`, `building_id`, `floor_id`, `created_by`, `expiry_date`, `is_active`, `read_by`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `Notice` AS `Notice`; Executing (default): SELECT `id`, `title`, `content`, `type`, `priority`, `target_audience`, `target_ids`, `building_id`, `floor_id`, `created_by`, `expiry_date`, `is_active`, `read_by`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `Notice` AS `Notice`; Executing (default): SELECT `id`, `visitor_name`, `visitor_phone`, `visiting_renter_id`, `check_in_time`, `check_out_time`, `purpose`, `approved_by`, `id_verified`, `vehicle_number`, `notes`, `visiting_renter_name`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `Visitor` AS `Visitor`; Executing (default): SELECT `id`, `visitor_name`, `visitor_phone`, `visiting_renter_id`, `check_in_time`, `check_out_time`, `purpose`, `approved_by`, `id_verified`, `vehicle_number`, `notes`, `visiting_renter_name`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `Visitor` AS `Visitor`; Executing (default): SELECT `id`, `name`, `value`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `Settings` AS `Settings`; Executing (default): SELECT `id`, `name`, `value`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `Settings` AS `Settings`; Executing (default): SELECT `Renter`.`id`, `Renter`.`name`, `Renter`.`email`, `Renter`.`phone`, `Renter`.`alternate_phone`, `Renter`.`nid`, `Renter`.`building_id`, `Renter`.`floor_id`, `Renter`.`room_id`, `Renter`.`bed_id`, `Renter`.`rent_amount`, `Renter`.`security_deposit`, `Renter`.`check_in_date`, `Renter`.`check_out_date`, `Renter`.`lease_start_date`, `Renter`.`lease_end_date`, `Renter`.`status`, `Renter`.`emergency_contact`, `Renter`.`emergency_relation`, `Renter`.`profile_photo`, `Renter`.`occupation`, `Renter`.`company`, `Renter`.`monthly_income`, `Renter`.`previous_address`, `Renter`.`references`, `Renter`.`notice_period`, `Renter`.`preferences`, `Renter`.`payment_history`, `Renter`.`created_at` AS `createdAt`, `Renter`.`updated_at` AS `updatedAt`, `room`.`id` AS `room.id`, `room`.`building_id` AS `room.building_id`, `room`.`floor_id` AS `room.floor_id`, `room`.`room_number` AS `room.room_number`, `room`.`total_beds` AS `room.total_beds`, `room`.`occupied_beds` AS `room.occupied_beds`, `room`.`rent_per_bed` AS `room.rent_per_bed`, `room`.`facilities` AS `room.facilities`, `room`.`room_type` AS `room.room_type`, `room`.`area` AS `room.area`, `room`.`has_balcony` AS `room.has_balcony`, `room`.`has_attached_bathroom` AS `room.has_attached_bathroom`, `room`.`furnishing_status` AS `room.furnishing_status`, `room`.`condition` AS `room.condition`, `room`.`last_cleaned` AS `room.last_cleaned`, `room`.`security_deposit` AS `room.security_deposit`, `room`.`available_from` AS `room.available_from`, `room`.`created_at` AS `room.createdAt`, `room`.`updated_at` AS `room.updatedAt`, `documents`.`id` AS `documents.id`, `documents`.`renter_id` AS `documents.renter_id`, `documents`.`type` AS `documents.type`, `documents`.`file_name` AS `documents.file_name`, `documents`.`file_url` AS `documents.file_url`, `documents`.`file_size` AS `documents.file_size`, `documents`.`mime_type` AS `documents.mime_type`, `documents`.`description` AS `documents.description`, `documents`.`created_at` AS `documents.createdAt`, `documents`.`updated_at` AS `documents.updatedAt` FROM `Renter` AS `Renter` LEFT OUTER JOIN `Room` AS `room` ON `Renter`.`room_id` = `room`.`id` LEFT OUTER JOIN `RenterDocument` AS `documents` ON `Renter`.`id` = `documents`.`renter_id`; Executing (default): SELECT `Renter`.`id`, `Renter`.`name`, `Renter`.`email`, `Renter`.`phone`, `Renter`.`alternate_phone`, `Renter`.`nid`, `Renter`.`building_id`, `Renter`.`floor_id`, `Renter`.`room_id`, `Renter`.`bed_id`, `Renter`.`rent_amount`, `Renter`.`security_deposit`, `Renter`.`check_in_date`, `Renter`.`check_out_date`, `Renter`.`lease_start_date`, `Renter`.`lease_end_date`, `Renter`.`status`, `Renter`.`emergency_contact`, `Renter`.`emergency_relation`, `Renter`.`profile_photo`, `Renter`.`occupation`, `Renter`.`company`, `Renter`.`monthly_income`, `Renter`.`previous_address`, `Renter`.`references`, `Renter`.`notice_period`, `Renter`.`preferences`, `Renter`.`payment_history`, `Renter`.`created_at` AS `createdAt`, `Renter`.`updated_at` AS `updatedAt`, `room`.`id` AS `room.id`, `room`.`building_id` AS `room.building_id`, `room`.`floor_id` AS `room.floor_id`, `room`.`room_number` AS `room.room_number`, `room`.`total_beds` AS `room.total_beds`, `room`.`occupied_beds` AS `room.occupied_beds`, `room`.`rent_per_bed` AS `room.rent_per_bed`, `room`.`facilities` AS `room.facilities`, `room`.`room_type` AS `room.room_type`, `room`.`area` AS `room.area`, `room`.`has_balcony` AS `room.has_balcony`, `room`.`has_attached_bathroom` AS `room.has_attached_bathroom`, `room`.`furnishing_status` AS `room.furnishing_status`, `room`.`condition` AS `room.condition`, `room`.`last_cleaned` AS `room.last_cleaned`, `room`.`security_deposit` AS `room.security_deposit`, `room`.`available_from` AS `room.available_from`, `room`.`created_at` AS `room.createdAt`, `room`.`updated_at` AS `room.updatedAt`, `documents`.`id` AS `documents.id`, `documents`.`renter_id` AS `documents.renter_id`, `documents`.`type` AS `documents.type`, `documents`.`file_name` AS `documents.file_name`, `documents`.`file_url` AS `documents.file_url`, `documents`.`file_size` AS `documents.file_size`, `documents`.`mime_type` AS `documents.mime_type`, `documents`.`description` AS `documents.description`, `documents`.`created_at` AS `documents.createdAt`, `documents`.`updated_at` AS `documents.updatedAt` FROM `Renter` AS `Renter` LEFT OUTER JOIN `Room` AS `room` ON `Renter`.`room_id` = `room`.`id` LEFT OUTER JOIN `RenterDocument` AS `documents` ON `Renter`.`id` = `documents`.`renter_id`; Executing (default): SELECT `id`, `title`, `content`, `type`, `priority`, `target_audience`, `target_ids`, `building_id`, `floor_id`, `created_by`, `expiry_date`, `is_active`, `read_by`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `Notice` AS `Notice`; Executing (default): SELECT `id`, `title`, `content`, `type`, `priority`, `target_audience`, `target_ids`, `building_id`, `floor_id`, `created_by`, `expiry_date`, `is_active`, `read_by`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `Notice` AS `Notice`; Executing (default): SELECT `id`, `visitor_name`, `visitor_phone`, `visiting_renter_id`, `check_in_time`, `check_out_time`, `purpose`, `approved_by`, `id_verified`, `vehicle_number`, `notes`, `visiting_renter_name`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `Visitor` AS `Visitor`; Executing (default): SELECT `id`, `visitor_name`, `visitor_phone`, `visiting_renter_id`, `check_in_time`, `check_out_time`, `purpose`, `approved_by`, `id_verified`, `vehicle_number`, `notes`, `visiting_renter_name`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `Visitor` AS `Visitor`; Executing (default): SELECT `id`, `name`, `value`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `Settings` AS `Settings`; Executing (default): SELECT `id`, `name`, `value`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `Settings` AS `Settings`; Executing (default): SELECT `Renter`.`id`, `Renter`.`name`, `Renter`.`email`, `Renter`.`phone`, `Renter`.`alternate_phone`, `Renter`.`nid`, `Renter`.`building_id`, `Renter`.`floor_id`, `Renter`.`room_id`, `Renter`.`bed_id`, `Renter`.`rent_amount`, `Renter`.`security_deposit`, `Renter`.`check_in_date`, `Renter`.`check_out_date`, `Renter`.`lease_start_date`, `Renter`.`lease_end_date`, `Renter`.`status`, `Renter`.`emergency_contact`, `Renter`.`emergency_relation`, `Renter`.`profile_photo`, `Renter`.`occupation`, `Renter`.`company`, `Renter`.`monthly_income`, `Renter`.`previous_address`, `Renter`.`references`, `Renter`.`notice_period`, `Renter`.`preferences`, `Renter`.`payment_history`, `Renter`.`created_at` AS `createdAt`, `Renter`.`updated_at` AS `updatedAt`, `room`.`id` AS `room.id`, `room`.`building_id` AS `room.building_id`, `room`.`floor_id` AS `room.floor_id`, `room`.`room_number` AS `room.room_number`, `room`.`total_beds` AS `room.total_beds`, `room`.`occupied_beds` AS `room.occupied_beds`, `room`.`rent_per_bed` AS `room.rent_per_bed`, `room`.`facilities` AS `room.facilities`, `room`.`room_type` AS `room.room_type`, `room`.`area` AS `room.area`, `room`.`has_balcony` AS `room.has_balcony`, `room`.`has_attached_bathroom` AS `room.has_attached_bathroom`, `room`.`furnishing_status` AS `room.furnishing_status`, `room`.`condition` AS `room.condition`, `room`.`last_cleaned` AS `room.last_cleaned`, `room`.`security_deposit` AS `room.security_deposit`, `room`.`available_from` AS `room.available_from`, `room`.`created_at` AS `room.createdAt`, `room`.`updated_at` AS `room.updatedAt`, `documents`.`id` AS `documents.id`, `documents`.`renter_id` AS `documents.renter_id`, `documents`.`type` AS `documents.type`, `documents`.`file_name` AS `documents.file_name`, `documents`.`file_url` AS `documents.file_url`, `documents`.`file_size` AS `documents.file_size`, `documents`.`mime_type` AS `documents.mime_type`, `documents`.`description` AS `documents.description`, `documents`.`created_at` AS `documents.createdAt`, `documents`.`updated_at` AS `documents.updatedAt` FROM `Renter` AS `Renter` LEFT OUTER JOIN `Room` AS `room` ON `Renter`.`room_id` = `room`.`id` LEFT OUTER JOIN `RenterDocument` AS `documents` ON `Renter`.`id` = `documents`.`renter_id`; Executing (default): SELECT `Renter`.`id`, `Renter`.`name`, `Renter`.`email`, `Renter`.`phone`, `Renter`.`alternate_phone`, `Renter`.`nid`, `Renter`.`building_id`, `Renter`.`floor_id`, `Renter`.`room_id`, `Renter`.`bed_id`, `Renter`.`rent_amount`, `Renter`.`security_deposit`, `Renter`.`check_in_date`, `Renter`.`check_out_date`, `Renter`.`lease_start_date`, `Renter`.`lease_end_date`, `Renter`.`status`, `Renter`.`emergency_contact`, `Renter`.`emergency_relation`, `Renter`.`profile_photo`, `Renter`.`occupation`, `Renter`.`company`, `Renter`.`monthly_income`, `Renter`.`previous_address`, `Renter`.`references`, `Renter`.`notice_period`, `Renter`.`preferences`, `Renter`.`payment_history`, `Renter`.`created_at` AS `createdAt`, `Renter`.`updated_at` AS `updatedAt`, `room`.`id` AS `room.id`, `room`.`building_id` AS `room.building_id`, `room`.`floor_id` AS `room.floor_id`, `room`.`room_number` AS `room.room_number`, `room`.`total_beds` AS `room.total_beds`, `room`.`occupied_beds` AS `room.occupied_beds`, `room`.`rent_per_bed` AS `room.rent_per_bed`, `room`.`facilities` AS `room.facilities`, `room`.`room_type` AS `room.room_type`, `room`.`area` AS `room.area`, `room`.`has_balcony` AS `room.has_balcony`, `room`.`has_attached_bathroom` AS `room.has_attached_bathroom`, `room`.`furnishing_status` AS `room.furnishing_status`, `room`.`condition` AS `room.condition`, `room`.`last_cleaned` AS `room.last_cleaned`, `room`.`security_deposit` AS `room.security_deposit`, `room`.`available_from` AS `room.available_from`, `room`.`created_at` AS `room.createdAt`, `room`.`updated_at` AS `room.updatedAt`, `documents`.`id` AS `documents.id`, `documents`.`renter_id` AS `documents.renter_id`, `documents`.`type` AS `documents.type`, `documents`.`file_name` AS `documents.file_name`, `documents`.`file_url` AS `documents.file_url`, `documents`.`file_size` AS `documents.file_size`, `documents`.`mime_type` AS `documents.mime_type`, `documents`.`description` AS `documents.description`, `documents`.`created_at` AS `documents.createdAt`, `documents`.`updated_at` AS `documents.updatedAt` FROM `Renter` AS `Renter` LEFT OUTER JOIN `Room` AS `room` ON `Renter`.`room_id` = `room`.`id` LEFT OUTER JOIN `RenterDocument` AS `documents` ON `Renter`.`id` = `documents`.`renter_id`; Executing (default): SELECT `id`, `title`, `content`, `type`, `priority`, `target_audience`, `target_ids`, `building_id`, `floor_id`, `created_by`, `expiry_date`, `is_active`, `read_by`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `Notice` AS `Notice`; Executing (default): SELECT `id`, `visitor_name`, `visitor_phone`, `visiting_renter_id`, `check_in_time`, `check_out_time`, `purpose`, `approved_by`, `id_verified`, `vehicle_number`, `notes`, `visiting_renter_name`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `Visitor` AS `Visitor`; Executing (default): SELECT `id`, `name`, `value`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `Settings` AS `Settings`; Executing (default): SELECT `id`, `visitor_name`, `visitor_phone`, `visiting_renter_id`, `check_in_time`, `check_out_time`, `purpose`, `approved_by`, `id_verified`, `vehicle_number`, `notes`, `visiting_renter_name`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `Visitor` AS `Visitor`; Executing (default): SELECT `id`, `title`, `content`, `type`, `priority`, `target_audience`, `target_ids`, `building_id`, `floor_id`, `created_by`, `expiry_date`, `is_active`, `read_by`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `Notice` AS `Notice`; Executing (default): SELECT `id`, `name`, `value`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `Settings` AS `Settings`; Executing (default): SELECT `id`, `name`, `email`, `password`, `role`, `permissions`, `department`, `phone`, `avatar`, `is_active`, `last_login`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `User` AS `User` WHERE `User`.`id` = '8cc00eb8-378e-4f89-8141-f87aa35fd51d'; Executing (default): SELECT `id`, `name`, `email`, `password`, `role`, `permissions`, `department`, `phone`, `avatar`, `is_active`, `last_login`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `User` AS `User` WHERE `User`.`id` = '8cc00eb8-378e-4f89-8141-f87aa35fd51d'; Executing (default): SELECT `Renter`.`id`, `Renter`.`name`, `Renter`.`email`, `Renter`.`phone`, `Renter`.`alternate_phone`, `Renter`.`nid`, `Renter`.`building_id`, `Renter`.`floor_id`, `Renter`.`room_id`, `Renter`.`bed_id`, `Renter`.`rent_amount`, `Renter`.`security_deposit`, `Renter`.`check_in_date`, `Renter`.`check_out_date`, `Renter`.`lease_start_date`, `Renter`.`lease_end_date`, `Renter`.`status`, `Renter`.`emergency_contact`, `Renter`.`emergency_relation`, `Renter`.`profile_photo`, `Renter`.`occupation`, `Renter`.`company`, `Renter`.`monthly_income`, `Renter`.`previous_address`, `Renter`.`references`, `Renter`.`notice_period`, `Renter`.`preferences`, `Renter`.`payment_history`, `Renter`.`created_at` AS `createdAt`, `Renter`.`updated_at` AS `updatedAt`, `room`.`id` AS `room.id`, `room`.`building_id` AS `room.building_id`, `room`.`floor_id` AS `room.floor_id`, `room`.`room_number` AS `room.room_number`, `room`.`total_beds` AS `room.total_beds`, `room`.`occupied_beds` AS `room.occupied_beds`, `room`.`rent_per_bed` AS `room.rent_per_bed`, `room`.`facilities` AS `room.facilities`, `room`.`room_type` AS `room.room_type`, `room`.`area` AS `room.area`, `room`.`has_balcony` AS `room.has_balcony`, `room`.`has_attached_bathroom` AS `room.has_attached_bathroom`, `room`.`furnishing_status` AS `room.furnishing_status`, `room`.`condition` AS `room.condition`, `room`.`last_cleaned` AS `room.last_cleaned`, `room`.`security_deposit` AS `room.security_deposit`, `room`.`available_from` AS `room.available_from`, `room`.`created_at` AS `room.createdAt`, `room`.`updated_at` AS `room.updatedAt`, `documents`.`id` AS `documents.id`, `documents`.`renter_id` AS `documents.renter_id`, `documents`.`type` AS `documents.type`, `documents`.`file_name` AS `documents.file_name`, `documents`.`file_url` AS `documents.file_url`, `documents`.`file_size` AS `documents.file_size`, `documents`.`mime_type` AS `documents.mime_type`, `documents`.`description` AS `documents.description`, `documents`.`created_at` AS `documents.createdAt`, `documents`.`updated_at` AS `documents.updatedAt` FROM `Renter` AS `Renter` LEFT OUTER JOIN `Room` AS `room` ON `Renter`.`room_id` = `room`.`id` LEFT OUTER JOIN `RenterDocument` AS `documents` ON `Renter`.`id` = `documents`.`renter_id`; Executing (default): SELECT `Floor`.`id`, `Floor`.`building_id`, `Floor`.`floor_number`, `Floor`.`total_rooms`, `Floor`.`occupied_rooms`, `Floor`.`floor_type`, `Floor`.`amenities`, `Floor`.`maintenance_status`, `Floor`.`last_inspection`, `Floor`.`notes`, `Floor`.`created_at` AS `createdAt`, `Floor`.`updated_at` AS `updatedAt`, `rooms`.`id` AS `rooms.id`, `rooms`.`building_id` AS `rooms.building_id`, `rooms`.`floor_id` AS `rooms.floor_id`, `rooms`.`room_number` AS `rooms.room_number`, `rooms`.`total_beds` AS `rooms.total_beds`, `rooms`.`occupied_beds` AS `rooms.occupied_beds`, `rooms`.`rent_per_bed` AS `rooms.rent_per_bed`, `rooms`.`facilities` AS `rooms.facilities`, `rooms`.`room_type` AS `rooms.room_type`, `rooms`.`area` AS `rooms.area`, `rooms`.`has_balcony` AS `rooms.has_balcony`, `rooms`.`has_attached_bathroom` AS `rooms.has_attached_bathroom`, `rooms`.`furnishing_status` AS `rooms.furnishing_status`, `rooms`.`condition` AS `rooms.condition`, `rooms`.`last_cleaned` AS `rooms.last_cleaned`, `rooms`.`security_deposit` AS `rooms.security_deposit`, `rooms`.`available_from` AS `rooms.available_from`, `rooms`.`created_at` AS `rooms.createdAt`, `rooms`.`updated_at` AS `rooms.updatedAt`, `rooms->beds`.`id` AS `rooms.beds.id`, `rooms->beds`.`building_id` AS `rooms.beds.building_id`, `rooms->beds`.`floor_id` AS `rooms.beds.floor_id`, `rooms->beds`.`room_id` AS `rooms.beds.room_id`, `rooms->beds`.`bed_number` AS `rooms.beds.bed_number`, `rooms->beds`.`is_occupied` AS `rooms.beds.is_occupied`, `rooms->beds`.`monthly_rent` AS `rooms.beds.monthly_rent`, `rooms->beds`.`status` AS `rooms.beds.status`, `rooms->beds`.`bed_type` AS `rooms.beds.bed_type`, `rooms->beds`.`last_cleaned` AS `rooms.beds.last_cleaned`, `rooms->beds`.`notes` AS `rooms.beds.notes`, `rooms->beds`.`reserved_until` AS `rooms.beds.reserved_until`, `rooms->beds`.`maintenance_scheduled` AS `rooms.beds.maintenance_scheduled`, `rooms->beds`.`created_at` AS `rooms.beds.createdAt`, `rooms->beds`.`updated_at` AS `rooms.beds.updatedAt`, `rooms->beds->renter`.`id` AS `rooms.beds.renter.id`, `rooms->beds->renter`.`name` AS `rooms.beds.renter.name`, `rooms->beds->renter`.`email` AS `rooms.beds.renter.email`, `rooms->beds->renter`.`phone` AS `rooms.beds.renter.phone`, `rooms->beds->renter`.`alternate_phone` AS `rooms.beds.renter.alternate_phone`, `rooms->beds->renter`.`nid` AS `rooms.beds.renter.nid`, `rooms->beds->renter`.`building_id` AS `rooms.beds.renter.building_id`, `rooms->beds->renter`.`floor_id` AS `rooms.beds.renter.floor_id`, `rooms->beds->renter`.`room_id` AS `rooms.beds.renter.room_id`, `rooms->beds->renter`.`bed_id` AS `rooms.beds.renter.bed_id`, `rooms->beds->renter`.`rent_amount` AS `rooms.beds.renter.rent_amount`, `rooms->beds->renter`.`security_deposit` AS `rooms.beds.renter.security_deposit`, `rooms->beds->renter`.`check_in_date` AS `rooms.beds.renter.check_in_date`, `rooms->beds->renter`.`check_out_date` AS `rooms.beds.renter.check_out_date`, `rooms->beds->renter`.`lease_start_date` AS `rooms.beds.renter.lease_start_date`, `rooms->beds->renter`.`lease_end_date` AS `rooms.beds.renter.lease_end_date`, `rooms->beds->renter`.`status` AS `rooms.beds.renter.status`, `rooms->beds->renter`.`emergency_contact` AS `rooms.beds.renter.emergency_contact`, `rooms->beds->renter`.`emergency_relation` AS `rooms.beds.renter.emergency_relation`, `rooms->beds->renter`.`profile_photo` AS `rooms.beds.renter.profile_photo`, `rooms->beds->renter`.`occupation` AS `rooms.beds.renter.occupation`, `rooms->beds->renter`.`company` AS `rooms.beds.renter.company`, `rooms->beds->renter`.`monthly_income` AS `rooms.beds.renter.monthly_income`, `rooms->beds->renter`.`previous_address` AS `rooms.beds.renter.previous_address`, `rooms->beds->renter`.`references` AS `rooms.beds.renter.references`, `rooms->beds->renter`.`notice_period` AS `rooms.beds.renter.notice_period`, `rooms->beds->renter`.`preferences` AS `rooms.beds.renter.preferences`, `rooms->beds->renter`.`payment_history` AS `rooms.beds.renter.payment_history`, `rooms->beds->renter`.`created_at` AS `rooms.beds.renter.createdAt`, `rooms->beds->renter`.`updated_at` AS `rooms.beds.renter.updatedAt` FROM `Floor` AS `Floor` LEFT OUTER JOIN `Room` AS `rooms` ON `Floor`.`id` = `rooms`.`floor_id` LEFT OUTER JOIN `Bed` AS `rooms->beds` ON `rooms`.`id` = `rooms->beds`.`room_id` LEFT OUTER JOIN `Renter` AS `rooms->beds->renter` ON `rooms->beds`.`id` = `rooms->beds->renter`.`bed_id`; Executing (default): SELECT `Building`.`id`, `Building`.`name`, `Building`.`address`, `Building`.`floors`, `Building`.`total_rooms`, `Building`.`total_beds`, `Building`.`parking_spaces`, `Building`.`occupied_beds`, `Building`.`manager`, `Building`.`amenities`, `Building`.`monthly_revenue`, `Building`.`building_type`, `Building`.`year_built`, `Building`.`total_area`, `Building`.`elevators`, `Building`.`security_features`, `Building`.`contact_person`, `Building`.`contact_phone`, `Building`.`created_at` AS `createdAt`, `Building`.`updated_at` AS `updatedAt`, `buildingFloors`.`id` AS `buildingFloors.id`, `buildingFloors`.`building_id` AS `buildingFloors.building_id`, `buildingFloors`.`floor_number` AS `buildingFloors.floor_number`, `buildingFloors`.`total_rooms` AS `buildingFloors.total_rooms`, `buildingFloors`.`occupied_rooms` AS `buildingFloors.occupied_rooms`, `buildingFloors`.`floor_type` AS `buildingFloors.floor_type`, `buildingFloors`.`amenities` AS `buildingFloors.amenities`, `buildingFloors`.`maintenance_status` AS `buildingFloors.maintenance_status`, `buildingFloors`.`last_inspection` AS `buildingFloors.last_inspection`, `buildingFloors`.`notes` AS `buildingFloors.notes`, `buildingFloors`.`created_at` AS `buildingFloors.createdAt`, `buildingFloors`.`updated_at` AS `buildingFloors.updatedAt`, `buildingFloors->rooms`.`id` AS `buildingFloors.rooms.id`, `buildingFloors->rooms`.`building_id` AS `buildingFloors.rooms.building_id`, `buildingFloors->rooms`.`floor_id` AS `buildingFloors.rooms.floor_id`, `buildingFloors->rooms`.`room_number` AS `buildingFloors.rooms.room_number`, `buildingFloors->rooms`.`total_beds` AS `buildingFloors.rooms.total_beds`, `buildingFloors->rooms`.`occupied_beds` AS `buildingFloors.rooms.occupied_beds`, `buildingFloors->rooms`.`rent_per_bed` AS `buildingFloors.rooms.rent_per_bed`, `buildingFloors->rooms`.`facilities` AS `buildingFloors.rooms.facilities`, `buildingFloors->rooms`.`room_type` AS `buildingFloors.rooms.room_type`, `buildingFloors->rooms`.`area` AS `buildingFloors.rooms.area`, `buildingFloors->rooms`.`has_balcony` AS `buildingFloors.rooms.has_balcony`, `buildingFloors->rooms`.`has_attached_bathroom` AS `buildingFloors.rooms.has_attached_bathroom`, `buildingFloors->rooms`.`furnishing_status` AS `buildingFloors.rooms.furnishing_status`, `buildingFloors->rooms`.`condition` AS `buildingFloors.rooms.condition`, `buildingFloors->rooms`.`last_cleaned` AS `buildingFloors.rooms.last_cleaned`, `buildingFloors->rooms`.`security_deposit` AS `buildingFloors.rooms.security_deposit`, `buildingFloors->rooms`.`available_from` AS `buildingFloors.rooms.available_from`, `buildingFloors->rooms`.`created_at` AS `buildingFloors.rooms.createdAt`, `buildingFloors->rooms`.`updated_at` AS `buildingFloors.rooms.updatedAt`, `buildingFloors->rooms->beds`.`id` AS `buildingFloors.rooms.beds.id`, `buildingFloors->rooms->beds`.`building_id` AS `buildingFloors.rooms.beds.building_id`, `buildingFloors->rooms->beds`.`floor_id` AS `buildingFloors.rooms.beds.floor_id`, `buildingFloors->rooms->beds`.`room_id` AS `buildingFloors.rooms.beds.room_id`, `buildingFloors->rooms->beds`.`bed_number` AS `buildingFloors.rooms.beds.bed_number`, `buildingFloors->rooms->beds`.`is_occupied` AS `buildingFloors.rooms.beds.is_occupied`, `buildingFloors->rooms->beds`.`monthly_rent` AS `buildingFloors.rooms.beds.monthly_rent`, `buildingFloors->rooms->beds`.`status` AS `buildingFloors.rooms.beds.status`, `buildingFloors->rooms->beds`.`bed_type` AS `buildingFloors.rooms.beds.bed_type`, `buildingFloors->rooms->beds`.`last_cleaned` AS `buildingFloors.rooms.beds.last_cleaned`, `buildingFloors->rooms->beds`.`notes` AS `buildingFloors.rooms.beds.notes`, `buildingFloors->rooms->beds`.`reserved_until` AS `buildingFloors.rooms.beds.reserved_until`, `buildingFloors->rooms->beds`.`maintenance_scheduled` AS `buildingFloors.rooms.beds.maintenance_scheduled`, `buildingFloors->rooms->beds`.`created_at` AS `buildingFloors.rooms.beds.createdAt`, `buildingFloors->rooms->beds`.`updated_at` AS `buildingFloors.rooms.beds.updatedAt`, `buildingFloors->rooms->beds->renter`.`id` AS `buildingFloors.rooms.beds.renter.id`, `buildingFloors->rooms->beds->renter`.`name` AS `buildingFloors.rooms.beds.renter.name`, `buildingFloors->rooms->beds->renter`.`email` AS `buildingFloors.rooms.beds.renter.email`, `buildingFloors->rooms->beds->renter`.`phone` AS `buildingFloors.rooms.beds.renter.phone`, `buildingFloors->rooms->beds->renter`.`alternate_phone` AS `buildingFloors.rooms.beds.renter.alternate_phone`, `buildingFloors->rooms->beds->renter`.`nid` AS `buildingFloors.rooms.beds.renter.nid`, `buildingFloors->rooms->beds->renter`.`building_id` AS `buildingFloors.rooms.beds.renter.building_id`, `buildingFloors->rooms->beds->renter`.`floor_id` AS `buildingFloors.rooms.beds.renter.floor_id`, `buildingFloors->rooms->beds->renter`.`room_id` AS `buildingFloors.rooms.beds.renter.room_id`, `buildingFloors->rooms->beds->renter`.`bed_id` AS `buildingFloors.rooms.beds.renter.bed_id`, `buildingFloors->rooms->beds->renter`.`rent_amount` AS `buildingFloors.rooms.beds.renter.rent_amount`, `buildingFloors->rooms->beds->renter`.`security_deposit` AS `buildingFloors.rooms.beds.renter.security_deposit`, `buildingFloors->rooms->beds->renter`.`check_in_date` AS `buildingFloors.rooms.beds.renter.check_in_date`, `buildingFloors->rooms->beds->renter`.`check_out_date` AS `buildingFloors.rooms.beds.renter.check_out_date`, `buildingFloors->rooms->beds->renter`.`lease_start_date` AS `buildingFloors.rooms.beds.renter.lease_start_date`, `buildingFloors->rooms->beds->renter`.`lease_end_date` AS `buildingFloors.rooms.beds.renter.lease_end_date`, `buildingFloors->rooms->beds->renter`.`status` AS `buildingFloors.rooms.beds.renter.status`, `buildingFloors->rooms->beds->renter`.`emergency_contact` AS `buildingFloors.rooms.beds.renter.emergency_contact`, `buildingFloors->rooms->beds->renter`.`emergency_relation` AS `buildingFloors.rooms.beds.renter.emergency_relation`, `buildingFloors->rooms->beds->renter`.`profile_photo` AS `buildingFloors.rooms.beds.renter.profile_photo`, `buildingFloors->rooms->beds->renter`.`occupation` AS `buildingFloors.rooms.beds.renter.occupation`, `buildingFloors->rooms->beds->renter`.`company` AS `buildingFloors.rooms.beds.renter.company`, `buildingFloors->rooms->beds->renter`.`monthly_income` AS `buildingFloors.rooms.beds.renter.monthly_income`, `buildingFloors->rooms->beds->renter`.`previous_address` AS `buildingFloors.rooms.beds.renter.previous_address`, `buildingFloors->rooms->beds->renter`.`references` AS `buildingFloors.rooms.beds.renter.references`, `buildingFloors->rooms->beds->renter`.`notice_period` AS `buildingFloors.rooms.beds.renter.notice_period`, `buildingFloors->rooms->beds->renter`.`preferences` AS `buildingFloors.rooms.beds.renter.preferences`, `buildingFloors->rooms->beds->renter`.`payment_history` AS `buildingFloors.rooms.beds.renter.payment_history`, `buildingFloors->rooms->beds->renter`.`created_at` AS `buildingFloors.rooms.beds.renter.createdAt`, `buildingFloors->rooms->beds->renter`.`updated_at` AS `buildingFloors.rooms.beds.renter.updatedAt` FROM `Building` AS `Building` LEFT OUTER JOIN `Floor` AS `buildingFloors` ON `Building`.`id` = `buildingFloors`.`building_id` LEFT OUTER JOIN `Room` AS `buildingFloors->rooms` ON `buildingFloors`.`id` = `buildingFloors->rooms`.`floor_id` LEFT OUTER JOIN `Bed` AS `buildingFloors->rooms->beds` ON `buildingFloors->rooms`.`id` = `buildingFloors->rooms->beds`.`room_id` LEFT OUTER JOIN `Renter` AS `buildingFloors->rooms->beds->renter` ON `buildingFloors->rooms->beds`.`id` = `buildingFloors->rooms->beds->renter`.`bed_id` ORDER BY `createdAt` DESC; Executing (default): SELECT `id`, `name`, `email`, `password`, `role`, `permissions`, `department`, `phone`, `avatar`, `is_active`, `last_login`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `User` AS `User` WHERE `User`.`id` = '8cc00eb8-378e-4f89-8141-f87aa35fd51d'; Executing (default): SELECT `id`, `name`, `email`, `password`, `role`, `permissions`, `department`, `phone`, `avatar`, `is_active`, `last_login`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `User` AS `User` WHERE `User`.`id` = '8cc00eb8-378e-4f89-8141-f87aa35fd51d'; Executing (default): SELECT `id`, `name`, `email`, `password`, `role`, `permissions`, `department`, `phone`, `avatar`, `is_active`, `last_login`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `User` AS `User` WHERE `User`.`id` = '8cc00eb8-378e-4f89-8141-f87aa35fd51d'; Executing (default): SELECT `id`, `building_id`, `floor_id`, `room_id`, `bed_id`, `type`, `category`, `description`, `priority`, `status`, `assigned_to`, `cost`, `estimated_cost`, `scheduled_date`, `completed_date`, `notes`, `images`, `warranty`, `next_maintenance_date`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `Maintenance` AS `Maintenance`; Executing (default): SELECT `Room`.`id`, `Room`.`building_id`, `Room`.`floor_id`, `Room`.`room_number`, `Room`.`total_beds`, `Room`.`occupied_beds`, `Room`.`rent_per_bed`, `Room`.`facilities`, `Room`.`room_type`, `Room`.`area`, `Room`.`has_balcony`, `Room`.`has_attached_bathroom`, `Room`.`furnishing_status`, `Room`.`condition`, `Room`.`last_cleaned`, `Room`.`security_deposit`, `Room`.`available_from`, `Room`.`created_at` AS `createdAt`, `Room`.`updated_at` AS `updatedAt`, `building`.`id` AS `building.id`, `building`.`name` AS `building.name`, `building`.`address` AS `building.address`, `building`.`floors` AS `building.floors`, `building`.`total_rooms` AS `building.total_rooms`, `building`.`total_beds` AS `building.total_beds`, `building`.`parking_spaces` AS `building.parking_spaces`, `building`.`occupied_beds` AS `building.occupied_beds`, `building`.`manager` AS `building.manager`, `building`.`amenities` AS `building.amenities`, `building`.`monthly_revenue` AS `building.monthly_revenue`, `building`.`building_type` AS `building.building_type`, `building`.`year_built` AS `building.year_built`, `building`.`total_area` AS `building.total_area`, `building`.`elevators` AS `building.elevators`, `building`.`security_features` AS `building.security_features`, `building`.`contact_person` AS `building.contact_person`, `building`.`contact_phone` AS `building.contact_phone`, `building`.`created_at` AS `building.createdAt`, `building`.`updated_at` AS `building.updatedAt`, `floor`.`id` AS `floor.id`, `floor`.`building_id` AS `floor.building_id`, `floor`.`floor_number` AS `floor.floor_number`, `floor`.`total_rooms` AS `floor.total_rooms`, `floor`.`occupied_rooms` AS `floor.occupied_rooms`, `floor`.`floor_type` AS `floor.floor_type`, `floor`.`amenities` AS `floor.amenities`, `floor`.`maintenance_status` AS `floor.maintenance_status`, `floor`.`last_inspection` AS `floor.last_inspection`, `floor`.`notes` AS `floor.notes`, `floor`.`created_at` AS `floor.createdAt`, `floor`.`updated_at` AS `floor.updatedAt`, `beds`.`id` AS `beds.id`, `beds`.`building_id` AS `beds.building_id`, `beds`.`floor_id` AS `beds.floor_id`, `beds`.`room_id` AS `beds.room_id`, `beds`.`bed_number` AS `beds.bed_number`, `beds`.`is_occupied` AS `beds.is_occupied`, `beds`.`monthly_rent` AS `beds.monthly_rent`, `beds`.`status` AS `beds.status`, `beds`.`bed_type` AS `beds.bed_type`, `beds`.`last_cleaned` AS `beds.last_cleaned`, `beds`.`notes` AS `beds.notes`, `beds`.`reserved_until` AS `beds.reserved_until`, `beds`.`maintenance_scheduled` AS `beds.maintenance_scheduled`, `beds`.`created_at` AS `beds.createdAt`, `beds`.`updated_at` AS `beds.updatedAt`, `beds->renter`.`id` AS `beds.renter.id`, `beds->renter`.`name` AS `beds.renter.name`, `beds->renter`.`email` AS `beds.renter.email`, `beds->renter`.`phone` AS `beds.renter.phone`, `beds->renter`.`alternate_phone` AS `beds.renter.alternate_phone`, `beds->renter`.`nid` AS `beds.renter.nid`, `beds->renter`.`building_id` AS `beds.renter.building_id`, `beds->renter`.`floor_id` AS `beds.renter.floor_id`, `beds->renter`.`room_id` AS `beds.renter.room_id`, `beds->renter`.`bed_id` AS `beds.renter.bed_id`, `beds->renter`.`rent_amount` AS `beds.renter.rent_amount`, `beds->renter`.`security_deposit` AS `beds.renter.security_deposit`, `beds->renter`.`check_in_date` AS `beds.renter.check_in_date`, `beds->renter`.`check_out_date` AS `beds.renter.check_out_date`, `beds->renter`.`lease_start_date` AS `beds.renter.lease_start_date`, `beds->renter`.`lease_end_date` AS `beds.renter.lease_end_date`, `beds->renter`.`status` AS `beds.renter.status`, `beds->renter`.`emergency_contact` AS `beds.renter.emergency_contact`, `beds->renter`.`emergency_relation` AS `beds.renter.emergency_relation`, `beds->renter`.`profile_photo` AS `beds.renter.profile_photo`, `beds->renter`.`occupation` AS `beds.renter.occupation`, `beds->renter`.`company` AS `beds.renter.company`, `beds->renter`.`monthly_income` AS `beds.renter.monthly_income`, `beds->renter`.`previous_address` AS `beds.renter.previous_address`, `beds->renter`.`references` AS `beds.renter.references`, `beds->renter`.`notice_period` AS `beds.renter.notice_period`, `beds->renter`.`preferences` AS `beds.renter.preferences`, `beds->renter`.`payment_history` AS `beds.renter.payment_history`, `beds->renter`.`created_at` AS `beds.renter.createdAt`, `beds->renter`.`updated_at` AS `beds.renter.updatedAt` FROM `Room` AS `Room` LEFT OUTER JOIN `Building` AS `building` ON `Room`.`building_id` = `building`.`id` LEFT OUTER JOIN `Floor` AS `floor` ON `Room`.`floor_id` = `floor`.`id` LEFT OUTER JOIN `Bed` AS `beds` ON `Room`.`id` = `beds`.`room_id` LEFT OUTER JOIN `Renter` AS `beds->renter` ON `beds`.`id` = `beds->renter`.`bed_id`; Executing (default): SELECT `Bed`.`id`, `Bed`.`building_id`, `Bed`.`floor_id`, `Bed`.`room_id`, `Bed`.`bed_number`, `Bed`.`is_occupied`, `Bed`.`monthly_rent`, `Bed`.`status`, `Bed`.`bed_type`, `Bed`.`last_cleaned`, `Bed`.`notes`, `Bed`.`reserved_until`, `Bed`.`maintenance_scheduled`, `Bed`.`created_at` AS `createdAt`, `Bed`.`updated_at` AS `updatedAt`, `renter`.`id` AS `renter.id`, `renter`.`name` AS `renter.name`, `renter`.`email` AS `renter.email`, `renter`.`phone` AS `renter.phone`, `renter`.`alternate_phone` AS `renter.alternate_phone`, `renter`.`nid` AS `renter.nid`, `renter`.`building_id` AS `renter.building_id`, `renter`.`floor_id` AS `renter.floor_id`, `renter`.`room_id` AS `renter.room_id`, `renter`.`bed_id` AS `renter.bed_id`, `renter`.`rent_amount` AS `renter.rent_amount`, `renter`.`security_deposit` AS `renter.security_deposit`, `renter`.`check_in_date` AS `renter.check_in_date`, `renter`.`check_out_date` AS `renter.check_out_date`, `renter`.`lease_start_date` AS `renter.lease_start_date`, `renter`.`lease_end_date` AS `renter.lease_end_date`, `renter`.`status` AS `renter.status`, `renter`.`emergency_contact` AS `renter.emergency_contact`, `renter`.`emergency_relation` AS `renter.emergency_relation`, `renter`.`profile_photo` AS `renter.profile_photo`, `renter`.`occupation` AS `renter.occupation`, `renter`.`company` AS `renter.company`, `renter`.`monthly_income` AS `renter.monthly_income`, `renter`.`previous_address` AS `renter.previous_address`, `renter`.`references` AS `renter.references`, `renter`.`notice_period` AS `renter.notice_period`, `renter`.`preferences` AS `renter.preferences`, `renter`.`payment_history` AS `renter.payment_history`, `renter`.`created_at` AS `renter.createdAt`, `renter`.`updated_at` AS `renter.updatedAt`, `room`.`id` AS `room.id`, `room`.`building_id` AS `room.building_id`, `room`.`floor_id` AS `room.floor_id`, `room`.`room_number` AS `room.room_number`, `room`.`total_beds` AS `room.total_beds`, `room`.`occupied_beds` AS `room.occupied_beds`, `room`.`rent_per_bed` AS `room.rent_per_bed`, `room`.`facilities` AS `room.facilities`, `room`.`room_type` AS `room.room_type`, `room`.`area` AS `room.area`, `room`.`has_balcony` AS `room.has_balcony`, `room`.`has_attached_bathroom` AS `room.has_attached_bathroom`, `room`.`furnishing_status` AS `room.furnishing_status`, `room`.`condition` AS `room.condition`, `room`.`last_cleaned` AS `room.last_cleaned`, `room`.`security_deposit` AS `room.security_deposit`, `room`.`available_from` AS `room.available_from`, `room`.`created_at` AS `room.createdAt`, `room`.`updated_at` AS `room.updatedAt`, `room->floor`.`id` AS `room.floor.id`, `room->floor`.`building_id` AS `room.floor.building_id`, `room->floor`.`floor_number` AS `room.floor.floor_number`, `room->floor`.`total_rooms` AS `room.floor.total_rooms`, `room->floor`.`occupied_rooms` AS `room.floor.occupied_rooms`, `room->floor`.`floor_type` AS `room.floor.floor_type`, `room->floor`.`amenities` AS `room.floor.amenities`, `room->floor`.`maintenance_status` AS `room.floor.maintenance_status`, `room->floor`.`last_inspection` AS `room.floor.last_inspection`, `room->floor`.`notes` AS `room.floor.notes`, `room->floor`.`created_at` AS `room.floor.createdAt`, `room->floor`.`updated_at` AS `room.floor.updatedAt`, `room->floor->building`.`id` AS `room.floor.building.id`, `room->floor->building`.`name` AS `room.floor.building.name`, `room->floor->building`.`address` AS `room.floor.building.address`, `room->floor->building`.`floors` AS `room.floor.building.floors`, `room->floor->building`.`total_rooms` AS `room.floor.building.total_rooms`, `room->floor->building`.`total_beds` AS `room.floor.building.total_beds`, `room->floor->building`.`parking_spaces` AS `room.floor.building.parking_spaces`, `room->floor->building`.`occupied_beds` AS `room.floor.building.occupied_beds`, `room->floor->building`.`manager` AS `room.floor.building.manager`, `room->floor->building`.`amenities` AS `room.floor.building.amenities`, `room->floor->building`.`monthly_revenue` AS `room.floor.building.monthly_revenue`, `room->floor->building`.`building_type` AS `room.floor.building.building_type`, `room->floor->building`.`year_built` AS `room.floor.building.year_built`, `room->floor->building`.`total_area` AS `room.floor.building.total_area`, `room->floor->building`.`elevators` AS `room.floor.building.elevators`, `room->floor->building`.`security_features` AS `room.floor.building.security_features`, `room->floor->building`.`contact_person` AS `room.floor.building.contact_person`, `room->floor->building`.`contact_phone` AS `room.floor.building.contact_phone`, `room->floor->building`.`created_at` AS `room.floor.building.createdAt`, `room->floor->building`.`updated_at` AS `room.floor.building.updatedAt` FROM `Bed` AS `Bed` LEFT OUTER JOIN `Renter` AS `renter` ON `Bed`.`id` = `renter`.`bed_id` LEFT OUTER JOIN `Room` AS `room` ON `Bed`.`room_id` = `room`.`id` LEFT OUTER JOIN `Floor` AS `room->floor` ON `room`.`floor_id` = `room->floor`.`id` LEFT OUTER JOIN `Building` AS `room->floor->building` ON `room->floor`.`building_id` = `room->floor->building`.`id`; Executing (default): SELECT `id`, `name`, `email`, `password`, `role`, `permissions`, `department`, `phone`, `avatar`, `is_active`, `last_login`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `User` AS `User` WHERE `User`.`id` = '8cc00eb8-378e-4f89-8141-f87aa35fd51d'; Executing (default): SELECT `id`, `renter_id`, `amount`, `due_date`, `paid_date`, `status`, `month`, `year`, `payment_method`, `transaction_id`, `late_fee`, `discount`, `notes`, `receipt_number`, `collected_by`, `renter_name` AS `renterName`, `room_number`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `RentPayment` AS `RentPayment`; Executing (default): SELECT `id`, `name`, `email`, `password`, `role`, `permissions`, `department`, `phone`, `avatar`, `is_active`, `last_login`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `User` AS `User` WHERE `User`.`id` = '8cc00eb8-378e-4f89-8141-f87aa35fd51d'; Executing (default): SELECT `id`, `building_id`, `floor_id`, `category`, `subcategory`, `description`, `amount`, `date`, `vendor`, `receipt`, `approved_by`, `payment_method`, `is_recurring`, `recurring_frequency`, `budget_category`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `Expense` AS `Expense`; Executing (default): SELECT `id`, `title`, `content`, `type`, `priority`, `target_audience`, `target_ids`, `building_id`, `floor_id`, `created_by`, `expiry_date`, `is_active`, `read_by`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `Notice` AS `Notice`; Executing (default): SELECT `id`, `visitor_name`, `visitor_phone`, `visiting_renter_id`, `check_in_time`, `check_out_time`, `purpose`, `approved_by`, `id_verified`, `vehicle_number`, `notes`, `visiting_renter_name`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `Visitor` AS `Visitor`; Executing (default): SELECT `id`, `name`, `value`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `Settings` AS `Settings`; Executing (default): SELECT `id`, `name`, `email`, `password`, `role`, `permissions`, `department`, `phone`, `avatar`, `is_active`, `last_login`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `User` AS `User` WHERE `User`.`id` = '8cc00eb8-378e-4f89-8141-f87aa35fd51d'; Executing (default): SELECT `id`, `name`, `email`, `role`, `permissions`, `department`, `phone`, `avatar`, `is_active`, `last_login`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `User` AS `User` WHERE `User`.`id` = '8cc00eb8-378e-4f89-8141-f87aa35fd51d'; Executing (default): SELECT `id`, `name`, `email`, `password`, `role`, `permissions`, `department`, `phone`, `avatar`, `is_active`, `last_login`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `User` AS `User` WHERE `User`.`id` = '8cc00eb8-378e-4f89-8141-f87aa35fd51d'; Executing (default): SELECT `Building`.`id`, `Building`.`name`, `Building`.`address`, `Building`.`floors`, `Building`.`total_rooms`, `Building`.`total_beds`, `Building`.`parking_spaces`, `Building`.`occupied_beds`, `Building`.`manager`, `Building`.`amenities`, `Building`.`monthly_revenue`, `Building`.`building_type`, `Building`.`year_built`, `Building`.`total_area`, `Building`.`elevators`, `Building`.`security_features`, `Building`.`contact_person`, `Building`.`contact_phone`, `Building`.`created_at` AS `createdAt`, `Building`.`updated_at` AS `updatedAt`, `buildingFloors`.`id` AS `buildingFloors.id`, `buildingFloors`.`building_id` AS `buildingFloors.building_id`, `buildingFloors`.`floor_number` AS `buildingFloors.floor_number`, `buildingFloors`.`total_rooms` AS `buildingFloors.total_rooms`, `buildingFloors`.`occupied_rooms` AS `buildingFloors.occupied_rooms`, `buildingFloors`.`floor_type` AS `buildingFloors.floor_type`, `buildingFloors`.`amenities` AS `buildingFloors.amenities`, `buildingFloors`.`maintenance_status` AS `buildingFloors.maintenance_status`, `buildingFloors`.`last_inspection` AS `buildingFloors.last_inspection`, `buildingFloors`.`notes` AS `buildingFloors.notes`, `buildingFloors`.`created_at` AS `buildingFloors.createdAt`, `buildingFloors`.`updated_at` AS `buildingFloors.updatedAt`, `buildingFloors->rooms`.`id` AS `buildingFloors.rooms.id`, `buildingFloors->rooms`.`building_id` AS `buildingFloors.rooms.building_id`, `buildingFloors->rooms`.`floor_id` AS `buildingFloors.rooms.floor_id`, `buildingFloors->rooms`.`room_number` AS `buildingFloors.rooms.room_number`, `buildingFloors->rooms`.`total_beds` AS `buildingFloors.rooms.total_beds`, `buildingFloors->rooms`.`occupied_beds` AS `buildingFloors.rooms.occupied_beds`, `buildingFloors->rooms`.`rent_per_bed` AS `buildingFloors.rooms.rent_per_bed`, `buildingFloors->rooms`.`facilities` AS `buildingFloors.rooms.facilities`, `buildingFloors->rooms`.`room_type` AS `buildingFloors.rooms.room_type`, `buildingFloors->rooms`.`area` AS `buildingFloors.rooms.area`, `buildingFloors->rooms`.`has_balcony` AS `buildingFloors.rooms.has_balcony`, `buildingFloors->rooms`.`has_attached_bathroom` AS `buildingFloors.rooms.has_attached_bathroom`, `buildingFloors->rooms`.`furnishing_status` AS `buildingFloors.rooms.furnishing_status`, `buildingFloors->rooms`.`condition` AS `buildingFloors.rooms.condition`, `buildingFloors->rooms`.`last_cleaned` AS `buildingFloors.rooms.last_cleaned`, `buildingFloors->rooms`.`security_deposit` AS `buildingFloors.rooms.security_deposit`, `buildingFloors->rooms`.`available_from` AS `buildingFloors.rooms.available_from`, `buildingFloors->rooms`.`created_at` AS `buildingFloors.rooms.createdAt`, `buildingFloors->rooms`.`updated_at` AS `buildingFloors.rooms.updatedAt`, `buildingFloors->rooms->beds`.`id` AS `buildingFloors.rooms.beds.id`, `buildingFloors->rooms->beds`.`building_id` AS `buildingFloors.rooms.beds.building_id`, `buildingFloors->rooms->beds`.`floor_id` AS `buildingFloors.rooms.beds.floor_id`, `buildingFloors->rooms->beds`.`room_id` AS `buildingFloors.rooms.beds.room_id`, `buildingFloors->rooms->beds`.`bed_number` AS `buildingFloors.rooms.beds.bed_number`, `buildingFloors->rooms->beds`.`is_occupied` AS `buildingFloors.rooms.beds.is_occupied`, `buildingFloors->rooms->beds`.`monthly_rent` AS `buildingFloors.rooms.beds.monthly_rent`, `buildingFloors->rooms->beds`.`status` AS `buildingFloors.rooms.beds.status`, `buildingFloors->rooms->beds`.`bed_type` AS `buildingFloors.rooms.beds.bed_type`, `buildingFloors->rooms->beds`.`last_cleaned` AS `buildingFloors.rooms.beds.last_cleaned`, `buildingFloors->rooms->beds`.`notes` AS `buildingFloors.rooms.beds.notes`, `buildingFloors->rooms->beds`.`reserved_until` AS `buildingFloors.rooms.beds.reserved_until`, `buildingFloors->rooms->beds`.`maintenance_scheduled` AS `buildingFloors.rooms.beds.maintenance_scheduled`, `buildingFloors->rooms->beds`.`created_at` AS `buildingFloors.rooms.beds.createdAt`, `buildingFloors->rooms->beds`.`updated_at` AS `buildingFloors.rooms.beds.updatedAt`, `buildingFloors->rooms->beds->renter`.`id` AS `buildingFloors.rooms.beds.renter.id`, `buildingFloors->rooms->beds->renter`.`name` AS `buildingFloors.rooms.beds.renter.name`, `buildingFloors->rooms->beds->renter`.`email` AS `buildingFloors.rooms.beds.renter.email`, `buildingFloors->rooms->beds->renter`.`phone` AS `buildingFloors.rooms.beds.renter.phone`, `buildingFloors->rooms->beds->renter`.`alternate_phone` AS `buildingFloors.rooms.beds.renter.alternate_phone`, `buildingFloors->rooms->beds->renter`.`nid` AS `buildingFloors.rooms.beds.renter.nid`, `buildingFloors->rooms->beds->renter`.`building_id` AS `buildingFloors.rooms.beds.renter.building_id`, `buildingFloors->rooms->beds->renter`.`floor_id` AS `buildingFloors.rooms.beds.renter.floor_id`, `buildingFloors->rooms->beds->renter`.`room_id` AS `buildingFloors.rooms.beds.renter.room_id`, `buildingFloors->rooms->beds->renter`.`bed_id` AS `buildingFloors.rooms.beds.renter.bed_id`, `buildingFloors->rooms->beds->renter`.`rent_amount` AS `buildingFloors.rooms.beds.renter.rent_amount`, `buildingFloors->rooms->beds->renter`.`security_deposit` AS `buildingFloors.rooms.beds.renter.security_deposit`, `buildingFloors->rooms->beds->renter`.`check_in_date` AS `buildingFloors.rooms.beds.renter.check_in_date`, `buildingFloors->rooms->beds->renter`.`check_out_date` AS `buildingFloors.rooms.beds.renter.check_out_date`, `buildingFloors->rooms->beds->renter`.`lease_start_date` AS `buildingFloors.rooms.beds.renter.lease_start_date`, `buildingFloors->rooms->beds->renter`.`lease_end_date` AS `buildingFloors.rooms.beds.renter.lease_end_date`, `buildingFloors->rooms->beds->renter`.`status` AS `buildingFloors.rooms.beds.renter.status`, `buildingFloors->rooms->beds->renter`.`emergency_contact` AS `buildingFloors.rooms.beds.renter.emergency_contact`, `buildingFloors->rooms->beds->renter`.`emergency_relation` AS `buildingFloors.rooms.beds.renter.emergency_relation`, `buildingFloors->rooms->beds->renter`.`profile_photo` AS `buildingFloors.rooms.beds.renter.profile_photo`, `buildingFloors->rooms->beds->renter`.`occupation` AS `buildingFloors.rooms.beds.renter.occupation`, `buildingFloors->rooms->beds->renter`.`company` AS `buildingFloors.rooms.beds.renter.company`, `buildingFloors->rooms->beds->renter`.`monthly_income` AS `buildingFloors.rooms.beds.renter.monthly_income`, `buildingFloors->rooms->beds->renter`.`previous_address` AS `buildingFloors.rooms.beds.renter.previous_address`, `buildingFloors->rooms->beds->renter`.`references` AS `buildingFloors.rooms.beds.renter.references`, `buildingFloors->rooms->beds->renter`.`notice_period` AS `buildingFloors.rooms.beds.renter.notice_period`, `buildingFloors->rooms->beds->renter`.`preferences` AS `buildingFloors.rooms.beds.renter.preferences`, `buildingFloors->rooms->beds->renter`.`payment_history` AS `buildingFloors.rooms.beds.renter.payment_history`, `buildingFloors->rooms->beds->renter`.`created_at` AS `buildingFloors.rooms.beds.renter.createdAt`, `buildingFloors->rooms->beds->renter`.`updated_at` AS `buildingFloors.rooms.beds.renter.updatedAt` FROM `Building` AS `Building` LEFT OUTER JOIN `Floor` AS `buildingFloors` ON `Building`.`id` = `buildingFloors`.`building_id` LEFT OUTER JOIN `Room` AS `buildingFloors->rooms` ON `buildingFloors`.`id` = `buildingFloors->rooms`.`floor_id` LEFT OUTER JOIN `Bed` AS `buildingFloors->rooms->beds` ON `buildingFloors->rooms`.`id` = `buildingFloors->rooms->beds`.`room_id` LEFT OUTER JOIN `Renter` AS `buildingFloors->rooms->beds->renter` ON `buildingFloors->rooms->beds`.`id` = `buildingFloors->rooms->beds->renter`.`bed_id` ORDER BY `createdAt` DESC; Executing (default): SELECT `id`, `name`, `email`, `password`, `role`, `permissions`, `department`, `phone`, `avatar`, `is_active`, `last_login`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `User` AS `User` WHERE `User`.`id` = '8cc00eb8-378e-4f89-8141-f87aa35fd51d'; Executing (default): SELECT `Floor`.`id`, `Floor`.`building_id`, `Floor`.`floor_number`, `Floor`.`total_rooms`, `Floor`.`occupied_rooms`, `Floor`.`floor_type`, `Floor`.`amenities`, `Floor`.`maintenance_status`, `Floor`.`last_inspection`, `Floor`.`notes`, `Floor`.`created_at` AS `createdAt`, `Floor`.`updated_at` AS `updatedAt`, `rooms`.`id` AS `rooms.id`, `rooms`.`building_id` AS `rooms.building_id`, `rooms`.`floor_id` AS `rooms.floor_id`, `rooms`.`room_number` AS `rooms.room_number`, `rooms`.`total_beds` AS `rooms.total_beds`, `rooms`.`occupied_beds` AS `rooms.occupied_beds`, `rooms`.`rent_per_bed` AS `rooms.rent_per_bed`, `rooms`.`facilities` AS `rooms.facilities`, `rooms`.`room_type` AS `rooms.room_type`, `rooms`.`area` AS `rooms.area`, `rooms`.`has_balcony` AS `rooms.has_balcony`, `rooms`.`has_attached_bathroom` AS `rooms.has_attached_bathroom`, `rooms`.`furnishing_status` AS `rooms.furnishing_status`, `rooms`.`condition` AS `rooms.condition`, `rooms`.`last_cleaned` AS `rooms.last_cleaned`, `rooms`.`security_deposit` AS `rooms.security_deposit`, `rooms`.`available_from` AS `rooms.available_from`, `rooms`.`created_at` AS `rooms.createdAt`, `rooms`.`updated_at` AS `rooms.updatedAt`, `rooms->beds`.`id` AS `rooms.beds.id`, `rooms->beds`.`building_id` AS `rooms.beds.building_id`, `rooms->beds`.`floor_id` AS `rooms.beds.floor_id`, `rooms->beds`.`room_id` AS `rooms.beds.room_id`, `rooms->beds`.`bed_number` AS `rooms.beds.bed_number`, `rooms->beds`.`is_occupied` AS `rooms.beds.is_occupied`, `rooms->beds`.`monthly_rent` AS `rooms.beds.monthly_rent`, `rooms->beds`.`status` AS `rooms.beds.status`, `rooms->beds`.`bed_type` AS `rooms.beds.bed_type`, `rooms->beds`.`last_cleaned` AS `rooms.beds.last_cleaned`, `rooms->beds`.`notes` AS `rooms.beds.notes`, `rooms->beds`.`reserved_until` AS `rooms.beds.reserved_until`, `rooms->beds`.`maintenance_scheduled` AS `rooms.beds.maintenance_scheduled`, `rooms->beds`.`created_at` AS `rooms.beds.createdAt`, `rooms->beds`.`updated_at` AS `rooms.beds.updatedAt`, `rooms->beds->renter`.`id` AS `rooms.beds.renter.id`, `rooms->beds->renter`.`name` AS `rooms.beds.renter.name`, `rooms->beds->renter`.`email` AS `rooms.beds.renter.email`, `rooms->beds->renter`.`phone` AS `rooms.beds.renter.phone`, `rooms->beds->renter`.`alternate_phone` AS `rooms.beds.renter.alternate_phone`, `rooms->beds->renter`.`nid` AS `rooms.beds.renter.nid`, `rooms->beds->renter`.`building_id` AS `rooms.beds.renter.building_id`, `rooms->beds->renter`.`floor_id` AS `rooms.beds.renter.floor_id`, `rooms->beds->renter`.`room_id` AS `rooms.beds.renter.room_id`, `rooms->beds->renter`.`bed_id` AS `rooms.beds.renter.bed_id`, `rooms->beds->renter`.`rent_amount` AS `rooms.beds.renter.rent_amount`, `rooms->beds->renter`.`security_deposit` AS `rooms.beds.renter.security_deposit`, `rooms->beds->renter`.`check_in_date` AS `rooms.beds.renter.check_in_date`, `rooms->beds->renter`.`check_out_date` AS `rooms.beds.renter.check_out_date`, `rooms->beds->renter`.`lease_start_date` AS `rooms.beds.renter.lease_start_date`, `rooms->beds->renter`.`lease_end_date` AS `rooms.beds.renter.lease_end_date`, `rooms->beds->renter`.`status` AS `rooms.beds.renter.status`, `rooms->beds->renter`.`emergency_contact` AS `rooms.beds.renter.emergency_contact`, `rooms->beds->renter`.`emergency_relation` AS `rooms.beds.renter.emergency_relation`, `rooms->beds->renter`.`profile_photo` AS `rooms.beds.renter.profile_photo`, `rooms->beds->renter`.`occupation` AS `rooms.beds.renter.occupation`, `rooms->beds->renter`.`company` AS `rooms.beds.renter.company`, `rooms->beds->renter`.`monthly_income` AS `rooms.beds.renter.monthly_income`, `rooms->beds->renter`.`previous_address` AS `rooms.beds.renter.previous_address`, `rooms->beds->renter`.`references` AS `rooms.beds.renter.references`, `rooms->beds->renter`.`notice_period` AS `rooms.beds.renter.notice_period`, `rooms->beds->renter`.`preferences` AS `rooms.beds.renter.preferences`, `rooms->beds->renter`.`payment_history` AS `rooms.beds.renter.payment_history`, `rooms->beds->renter`.`created_at` AS `rooms.beds.renter.createdAt`, `rooms->beds->renter`.`updated_at` AS `rooms.beds.renter.updatedAt` FROM `Floor` AS `Floor` LEFT OUTER JOIN `Room` AS `rooms` ON `Floor`.`id` = `rooms`.`floor_id` LEFT OUTER JOIN `Bed` AS `rooms->beds` ON `rooms`.`id` = `rooms->beds`.`room_id` LEFT OUTER JOIN `Renter` AS `rooms->beds->renter` ON `rooms->beds`.`id` = `rooms->beds->renter`.`bed_id`; Executing (default): SELECT `Renter`.`id`, `Renter`.`name`, `Renter`.`email`, `Renter`.`phone`, `Renter`.`alternate_phone`, `Renter`.`nid`, `Renter`.`building_id`, `Renter`.`floor_id`, `Renter`.`room_id`, `Renter`.`bed_id`, `Renter`.`rent_amount`, `Renter`.`security_deposit`, `Renter`.`check_in_date`, `Renter`.`check_out_date`, `Renter`.`lease_start_date`, `Renter`.`lease_end_date`, `Renter`.`status`, `Renter`.`emergency_contact`, `Renter`.`emergency_relation`, `Renter`.`profile_photo`, `Renter`.`occupation`, `Renter`.`company`, `Renter`.`monthly_income`, `Renter`.`previous_address`, `Renter`.`references`, `Renter`.`notice_period`, `Renter`.`preferences`, `Renter`.`payment_history`, `Renter`.`created_at` AS `createdAt`, `Renter`.`updated_at` AS `updatedAt`, `room`.`id` AS `room.id`, `room`.`building_id` AS `room.building_id`, `room`.`floor_id` AS `room.floor_id`, `room`.`room_number` AS `room.room_number`, `room`.`total_beds` AS `room.total_beds`, `room`.`occupied_beds` AS `room.occupied_beds`, `room`.`rent_per_bed` AS `room.rent_per_bed`, `room`.`facilities` AS `room.facilities`, `room`.`room_type` AS `room.room_type`, `room`.`area` AS `room.area`, `room`.`has_balcony` AS `room.has_balcony`, `room`.`has_attached_bathroom` AS `room.has_attached_bathroom`, `room`.`furnishing_status` AS `room.furnishing_status`, `room`.`condition` AS `room.condition`, `room`.`last_cleaned` AS `room.last_cleaned`, `room`.`security_deposit` AS `room.security_deposit`, `room`.`available_from` AS `room.available_from`, `room`.`created_at` AS `room.createdAt`, `room`.`updated_at` AS `room.updatedAt`, `documents`.`id` AS `documents.id`, `documents`.`renter_id` AS `documents.renter_id`, `documents`.`type` AS `documents.type`, `documents`.`file_name` AS `documents.file_name`, `documents`.`file_url` AS `documents.file_url`, `documents`.`file_size` AS `documents.file_size`, `documents`.`mime_type` AS `documents.mime_type`, `documents`.`description` AS `documents.description`, `documents`.`created_at` AS `documents.createdAt`, `documents`.`updated_at` AS `documents.updatedAt` FROM `Renter` AS `Renter` LEFT OUTER JOIN `Room` AS `room` ON `Renter`.`room_id` = `room`.`id` LEFT OUTER JOIN `RenterDocument` AS `documents` ON `Renter`.`id` = `documents`.`renter_id`; Executing (default): SELECT `id`, `name`, `email`, `password`, `role`, `permissions`, `department`, `phone`, `avatar`, `is_active`, `last_login`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `User` AS `User` WHERE `User`.`id` = '8cc00eb8-378e-4f89-8141-f87aa35fd51d'; Executing (default): SELECT `Room`.`id`, `Room`.`building_id`, `Room`.`floor_id`, `Room`.`room_number`, `Room`.`total_beds`, `Room`.`occupied_beds`, `Room`.`rent_per_bed`, `Room`.`facilities`, `Room`.`room_type`, `Room`.`area`, `Room`.`has_balcony`, `Room`.`has_attached_bathroom`, `Room`.`furnishing_status`, `Room`.`condition`, `Room`.`last_cleaned`, `Room`.`security_deposit`, `Room`.`available_from`, `Room`.`created_at` AS `createdAt`, `Room`.`updated_at` AS `updatedAt`, `building`.`id` AS `building.id`, `building`.`name` AS `building.name`, `building`.`address` AS `building.address`, `building`.`floors` AS `building.floors`, `building`.`total_rooms` AS `building.total_rooms`, `building`.`total_beds` AS `building.total_beds`, `building`.`parking_spaces` AS `building.parking_spaces`, `building`.`occupied_beds` AS `building.occupied_beds`, `building`.`manager` AS `building.manager`, `building`.`amenities` AS `building.amenities`, `building`.`monthly_revenue` AS `building.monthly_revenue`, `building`.`building_type` AS `building.building_type`, `building`.`year_built` AS `building.year_built`, `building`.`total_area` AS `building.total_area`, `building`.`elevators` AS `building.elevators`, `building`.`security_features` AS `building.security_features`, `building`.`contact_person` AS `building.contact_person`, `building`.`contact_phone` AS `building.contact_phone`, `building`.`created_at` AS `building.createdAt`, `building`.`updated_at` AS `building.updatedAt`, `floor`.`id` AS `floor.id`, `floor`.`building_id` AS `floor.building_id`, `floor`.`floor_number` AS `floor.floor_number`, `floor`.`total_rooms` AS `floor.total_rooms`, `floor`.`occupied_rooms` AS `floor.occupied_rooms`, `floor`.`floor_type` AS `floor.floor_type`, `floor`.`amenities` AS `floor.amenities`, `floor`.`maintenance_status` AS `floor.maintenance_status`, `floor`.`last_inspection` AS `floor.last_inspection`, `floor`.`notes` AS `floor.notes`, `floor`.`created_at` AS `floor.createdAt`, `floor`.`updated_at` AS `floor.updatedAt`, `beds`.`id` AS `beds.id`, `beds`.`building_id` AS `beds.building_id`, `beds`.`floor_id` AS `beds.floor_id`, `beds`.`room_id` AS `beds.room_id`, `beds`.`bed_number` AS `beds.bed_number`, `beds`.`is_occupied` AS `beds.is_occupied`, `beds`.`monthly_rent` AS `beds.monthly_rent`, `beds`.`status` AS `beds.status`, `beds`.`bed_type` AS `beds.bed_type`, `beds`.`last_cleaned` AS `beds.last_cleaned`, `beds`.`notes` AS `beds.notes`, `beds`.`reserved_until` AS `beds.reserved_until`, `beds`.`maintenance_scheduled` AS `beds.maintenance_scheduled`, `beds`.`created_at` AS `beds.createdAt`, `beds`.`updated_at` AS `beds.updatedAt`, `beds->renter`.`id` AS `beds.renter.id`, `beds->renter`.`name` AS `beds.renter.name`, `beds->renter`.`email` AS `beds.renter.email`, `beds->renter`.`phone` AS `beds.renter.phone`, `beds->renter`.`alternate_phone` AS `beds.renter.alternate_phone`, `beds->renter`.`nid` AS `beds.renter.nid`, `beds->renter`.`building_id` AS `beds.renter.building_id`, `beds->renter`.`floor_id` AS `beds.renter.floor_id`, `beds->renter`.`room_id` AS `beds.renter.room_id`, `beds->renter`.`bed_id` AS `beds.renter.bed_id`, `beds->renter`.`rent_amount` AS `beds.renter.rent_amount`, `beds->renter`.`security_deposit` AS `beds.renter.security_deposit`, `beds->renter`.`check_in_date` AS `beds.renter.check_in_date`, `beds->renter`.`check_out_date` AS `beds.renter.check_out_date`, `beds->renter`.`lease_start_date` AS `beds.renter.lease_start_date`, `beds->renter`.`lease_end_date` AS `beds.renter.lease_end_date`, `beds->renter`.`status` AS `beds.renter.status`, `beds->renter`.`emergency_contact` AS `beds.renter.emergency_contact`, `beds->renter`.`emergency_relation` AS `beds.renter.emergency_relation`, `beds->renter`.`profile_photo` AS `beds.renter.profile_photo`, `beds->renter`.`occupation` AS `beds.renter.occupation`, `beds->renter`.`company` AS `beds.renter.company`, `beds->renter`.`monthly_income` AS `beds.renter.monthly_income`, `beds->renter`.`previous_address` AS `beds.renter.previous_address`, `beds->renter`.`references` AS `beds.renter.references`, `beds->renter`.`notice_period` AS `beds.renter.notice_period`, `beds->renter`.`preferences` AS `beds.renter.preferences`, `beds->renter`.`payment_history` AS `beds.renter.payment_history`, `beds->renter`.`created_at` AS `beds.renter.createdAt`, `beds->renter`.`updated_at` AS `beds.renter.updatedAt` FROM `Room` AS `Room` LEFT OUTER JOIN `Building` AS `building` ON `Room`.`building_id` = `building`.`id` LEFT OUTER JOIN `Floor` AS `floor` ON `Room`.`floor_id` = `floor`.`id` LEFT OUTER JOIN `Bed` AS `beds` ON `Room`.`id` = `beds`.`room_id` LEFT OUTER JOIN `Renter` AS `beds->renter` ON `beds`.`id` = `beds->renter`.`bed_id`; Executing (default): SELECT `id`, `name`, `email`, `password`, `role`, `permissions`, `department`, `phone`, `avatar`, `is_active`, `last_login`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `User` AS `User` WHERE `User`.`id` = '8cc00eb8-378e-4f89-8141-f87aa35fd51d'; Executing (default): SELECT `id`, `name`, `email`, `password`, `role`, `permissions`, `department`, `phone`, `avatar`, `is_active`, `last_login`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `User` AS `User` WHERE `User`.`id` = '8cc00eb8-378e-4f89-8141-f87aa35fd51d'; Executing (default): SELECT `id`, `name`, `email`, `password`, `role`, `permissions`, `department`, `phone`, `avatar`, `is_active`, `last_login`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `User` AS `User` WHERE `User`.`id` = '8cc00eb8-378e-4f89-8141-f87aa35fd51d'; Executing (default): SELECT `id`, `building_id`, `floor_id`, `room_id`, `bed_id`, `type`, `category`, `description`, `priority`, `status`, `assigned_to`, `cost`, `estimated_cost`, `scheduled_date`, `completed_date`, `notes`, `images`, `warranty`, `next_maintenance_date`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `Maintenance` AS `Maintenance`; Executing (default): SELECT `id`, `renter_id`, `amount`, `due_date`, `paid_date`, `status`, `month`, `year`, `payment_method`, `transaction_id`, `late_fee`, `discount`, `notes`, `receipt_number`, `collected_by`, `renter_name` AS `renterName`, `room_number`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `RentPayment` AS `RentPayment`; Executing (default): SELECT `id`, `name`, `email`, `password`, `role`, `permissions`, `department`, `phone`, `avatar`, `is_active`, `last_login`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `User` AS `User` WHERE `User`.`id` = '8cc00eb8-378e-4f89-8141-f87aa35fd51d'; Executing (default): SELECT `id`, `title`, `content`, `type`, `priority`, `target_audience`, `target_ids`, `building_id`, `floor_id`, `created_by`, `expiry_date`, `is_active`, `read_by`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `Notice` AS `Notice`; Executing (default): SELECT `id`, `building_id`, `floor_id`, `category`, `subcategory`, `description`, `amount`, `date`, `vendor`, `receipt`, `approved_by`, `payment_method`, `is_recurring`, `recurring_frequency`, `budget_category`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `Expense` AS `Expense`; Executing (default): SELECT `Bed`.`id`, `Bed`.`building_id`, `Bed`.`floor_id`, `Bed`.`room_id`, `Bed`.`bed_number`, `Bed`.`is_occupied`, `Bed`.`monthly_rent`, `Bed`.`status`, `Bed`.`bed_type`, `Bed`.`last_cleaned`, `Bed`.`notes`, `Bed`.`reserved_until`, `Bed`.`maintenance_scheduled`, `Bed`.`created_at` AS `createdAt`, `Bed`.`updated_at` AS `updatedAt`, `renter`.`id` AS `renter.id`, `renter`.`name` AS `renter.name`, `renter`.`email` AS `renter.email`, `renter`.`phone` AS `renter.phone`, `renter`.`alternate_phone` AS `renter.alternate_phone`, `renter`.`nid` AS `renter.nid`, `renter`.`building_id` AS `renter.building_id`, `renter`.`floor_id` AS `renter.floor_id`, `renter`.`room_id` AS `renter.room_id`, `renter`.`bed_id` AS `renter.bed_id`, `renter`.`rent_amount` AS `renter.rent_amount`, `renter`.`security_deposit` AS `renter.security_deposit`, `renter`.`check_in_date` AS `renter.check_in_date`, `renter`.`check_out_date` AS `renter.check_out_date`, `renter`.`lease_start_date` AS `renter.lease_start_date`, `renter`.`lease_end_date` AS `renter.lease_end_date`, `renter`.`status` AS `renter.status`, `renter`.`emergency_contact` AS `renter.emergency_contact`, `renter`.`emergency_relation` AS `renter.emergency_relation`, `renter`.`profile_photo` AS `renter.profile_photo`, `renter`.`occupation` AS `renter.occupation`, `renter`.`company` AS `renter.company`, `renter`.`monthly_income` AS `renter.monthly_income`, `renter`.`previous_address` AS `renter.previous_address`, `renter`.`references` AS `renter.references`, `renter`.`notice_period` AS `renter.notice_period`, `renter`.`preferences` AS `renter.preferences`, `renter`.`payment_history` AS `renter.payment_history`, `renter`.`created_at` AS `renter.createdAt`, `renter`.`updated_at` AS `renter.updatedAt`, `room`.`id` AS `room.id`, `room`.`building_id` AS `room.building_id`, `room`.`floor_id` AS `room.floor_id`, `room`.`room_number` AS `room.room_number`, `room`.`total_beds` AS `room.total_beds`, `room`.`occupied_beds` AS `room.occupied_beds`, `room`.`rent_per_bed` AS `room.rent_per_bed`, `room`.`facilities` AS `room.facilities`, `room`.`room_type` AS `room.room_type`, `room`.`area` AS `room.area`, `room`.`has_balcony` AS `room.has_balcony`, `room`.`has_attached_bathroom` AS `room.has_attached_bathroom`, `room`.`furnishing_status` AS `room.furnishing_status`, `room`.`condition` AS `room.condition`, `room`.`last_cleaned` AS `room.last_cleaned`, `room`.`security_deposit` AS `room.security_deposit`, `room`.`available_from` AS `room.available_from`, `room`.`created_at` AS `room.createdAt`, `room`.`updated_at` AS `room.updatedAt`, `room->floor`.`id` AS `room.floor.id`, `room->floor`.`building_id` AS `room.floor.building_id`, `room->floor`.`floor_number` AS `room.floor.floor_number`, `room->floor`.`total_rooms` AS `room.floor.total_rooms`, `room->floor`.`occupied_rooms` AS `room.floor.occupied_rooms`, `room->floor`.`floor_type` AS `room.floor.floor_type`, `room->floor`.`amenities` AS `room.floor.amenities`, `room->floor`.`maintenance_status` AS `room.floor.maintenance_status`, `room->floor`.`last_inspection` AS `room.floor.last_inspection`, `room->floor`.`notes` AS `room.floor.notes`, `room->floor`.`created_at` AS `room.floor.createdAt`, `room->floor`.`updated_at` AS `room.floor.updatedAt`, `room->floor->building`.`id` AS `room.floor.building.id`, `room->floor->building`.`name` AS `room.floor.building.name`, `room->floor->building`.`address` AS `room.floor.building.address`, `room->floor->building`.`floors` AS `room.floor.building.floors`, `room->floor->building`.`total_rooms` AS `room.floor.building.total_rooms`, `room->floor->building`.`total_beds` AS `room.floor.building.total_beds`, `room->floor->building`.`parking_spaces` AS `room.floor.building.parking_spaces`, `room->floor->building`.`occupied_beds` AS `room.floor.building.occupied_beds`, `room->floor->building`.`manager` AS `room.floor.building.manager`, `room->floor->building`.`amenities` AS `room.floor.building.amenities`, `room->floor->building`.`monthly_revenue` AS `room.floor.building.monthly_revenue`, `room->floor->building`.`building_type` AS `room.floor.building.building_type`, `room->floor->building`.`year_built` AS `room.floor.building.year_built`, `room->floor->building`.`total_area` AS `room.floor.building.total_area`, `room->floor->building`.`elevators` AS `room.floor.building.elevators`, `room->floor->building`.`security_features` AS `room.floor.building.security_features`, `room->floor->building`.`contact_person` AS `room.floor.building.contact_person`, `room->floor->building`.`contact_phone` AS `room.floor.building.contact_phone`, `room->floor->building`.`created_at` AS `room.floor.building.createdAt`, `room->floor->building`.`updated_at` AS `room.floor.building.updatedAt` FROM `Bed` AS `Bed` LEFT OUTER JOIN `Renter` AS `renter` ON `Bed`.`id` = `renter`.`bed_id` LEFT OUTER JOIN `Room` AS `room` ON `Bed`.`room_id` = `room`.`id` LEFT OUTER JOIN `Floor` AS `room->floor` ON `room`.`floor_id` = `room->floor`.`id` LEFT OUTER JOIN `Building` AS `room->floor->building` ON `room->floor`.`building_id` = `room->floor->building`.`id`; Executing (default): SELECT `id`, `name`, `email`, `password`, `role`, `permissions`, `department`, `phone`, `avatar`, `is_active`, `last_login`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `User` AS `User` WHERE `User`.`id` = '8cc00eb8-378e-4f89-8141-f87aa35fd51d'; Executing (default): SELECT `id`, `name`, `value`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `Settings` AS `Settings`; Executing (default): SELECT `id`, `name`, `email`, `role`, `permissions`, `department`, `phone`, `avatar`, `is_active`, `last_login`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `User` AS `User` WHERE `User`.`id` = '8cc00eb8-378e-4f89-8141-f87aa35fd51d'; Executing (default): SELECT `id`, `visitor_name`, `visitor_phone`, `visiting_renter_id`, `check_in_time`, `check_out_time`, `purpose`, `approved_by`, `id_verified`, `vehicle_number`, `notes`, `visiting_renter_name`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `Visitor` AS `Visitor`; Executing (default): SELECT `id`, `name`, `email`, `password`, `role`, `permissions`, `department`, `phone`, `avatar`, `is_active`, `last_login`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `User` AS `User` WHERE `User`.`email` = 'admin@demo.com' AND `User`.`is_active` = true; Executing (default): UPDATE `User` SET `last_login`=?,`updated_at`=? WHERE `id` = ? Executing (default): SELECT `Renter`.`id`, `Renter`.`name`, `Renter`.`email`, `Renter`.`phone`, `Renter`.`alternate_phone`, `Renter`.`nid`, `Renter`.`building_id`, `Renter`.`floor_id`, `Renter`.`room_id`, `Renter`.`bed_id`, `Renter`.`rent_amount`, `Renter`.`security_deposit`, `Renter`.`check_in_date`, `Renter`.`check_out_date`, `Renter`.`lease_start_date`, `Renter`.`lease_end_date`, `Renter`.`status`, `Renter`.`emergency_contact`, `Renter`.`emergency_relation`, `Renter`.`profile_photo`, `Renter`.`occupation`, `Renter`.`company`, `Renter`.`monthly_income`, `Renter`.`previous_address`, `Renter`.`references`, `Renter`.`notice_period`, `Renter`.`preferences`, `Renter`.`payment_history`, `Renter`.`created_at` AS `createdAt`, `Renter`.`updated_at` AS `updatedAt`, `room`.`id` AS `room.id`, `room`.`building_id` AS `room.building_id`, `room`.`floor_id` AS `room.floor_id`, `room`.`room_number` AS `room.room_number`, `room`.`total_beds` AS `room.total_beds`, `room`.`occupied_beds` AS `room.occupied_beds`, `room`.`rent_per_bed` AS `room.rent_per_bed`, `room`.`facilities` AS `room.facilities`, `room`.`room_type` AS `room.room_type`, `room`.`area` AS `room.area`, `room`.`has_balcony` AS `room.has_balcony`, `room`.`has_attached_bathroom` AS `room.has_attached_bathroom`, `room`.`furnishing_status` AS `room.furnishing_status`, `room`.`condition` AS `room.condition`, `room`.`last_cleaned` AS `room.last_cleaned`, `room`.`security_deposit` AS `room.security_deposit`, `room`.`available_from` AS `room.available_from`, `room`.`created_at` AS `room.createdAt`, `room`.`updated_at` AS `room.updatedAt`, `documents`.`id` AS `documents.id`, `documents`.`renter_id` AS `documents.renter_id`, `documents`.`type` AS `documents.type`, `documents`.`file_name` AS `documents.file_name`, `documents`.`file_url` AS `documents.file_url`, `documents`.`file_size` AS `documents.file_size`, `documents`.`mime_type` AS `documents.mime_type`, `documents`.`description` AS `documents.description`, `documents`.`created_at` AS `documents.createdAt`, `documents`.`updated_at` AS `documents.updatedAt` FROM `Renter` AS `Renter` LEFT OUTER JOIN `Room` AS `room` ON `Renter`.`room_id` = `room`.`id` LEFT OUTER JOIN `RenterDocument` AS `documents` ON `Renter`.`id` = `documents`.`renter_id`; Executing (default): SELECT `id`, `name`, `value`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `Settings` AS `Settings`; Executing (default): SELECT `id`, `visitor_name`, `visitor_phone`, `visiting_renter_id`, `check_in_time`, `check_out_time`, `purpose`, `approved_by`, `id_verified`, `vehicle_number`, `notes`, `visiting_renter_name`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `Visitor` AS `Visitor`; Executing (default): SELECT `id`, `title`, `content`, `type`, `priority`, `target_audience`, `target_ids`, `building_id`, `floor_id`, `created_by`, `expiry_date`, `is_active`, `read_by`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `Notice` AS `Notice`; Executing (default): SELECT `Renter`.`id`, `Renter`.`name`, `Renter`.`email`, `Renter`.`phone`, `Renter`.`alternate_phone`, `Renter`.`nid`, `Renter`.`building_id`, `Renter`.`floor_id`, `Renter`.`room_id`, `Renter`.`bed_id`, `Renter`.`rent_amount`, `Renter`.`security_deposit`, `Renter`.`check_in_date`, `Renter`.`check_out_date`, `Renter`.`lease_start_date`, `Renter`.`lease_end_date`, `Renter`.`status`, `Renter`.`emergency_contact`, `Renter`.`emergency_relation`, `Renter`.`profile_photo`, `Renter`.`occupation`, `Renter`.`company`, `Renter`.`monthly_income`, `Renter`.`previous_address`, `Renter`.`references`, `Renter`.`notice_period`, `Renter`.`preferences`, `Renter`.`payment_history`, `Renter`.`created_at` AS `createdAt`, `Renter`.`updated_at` AS `updatedAt`, `room`.`id` AS `room.id`, `room`.`building_id` AS `room.building_id`, `room`.`floor_id` AS `room.floor_id`, `room`.`room_number` AS `room.room_number`, `room`.`total_beds` AS `room.total_beds`, `room`.`occupied_beds` AS `room.occupied_beds`, `room`.`rent_per_bed` AS `room.rent_per_bed`, `room`.`facilities` AS `room.facilities`, `room`.`room_type` AS `room.room_type`, `room`.`area` AS `room.area`, `room`.`has_balcony` AS `room.has_balcony`, `room`.`has_attached_bathroom` AS `room.has_attached_bathroom`, `room`.`furnishing_status` AS `room.furnishing_status`, `room`.`condition` AS `room.condition`, `room`.`last_cleaned` AS `room.last_cleaned`, `room`.`security_deposit` AS `room.security_deposit`, `room`.`available_from` AS `room.available_from`, `room`.`created_at` AS `room.createdAt`, `room`.`updated_at` AS `room.updatedAt`, `documents`.`id` AS `documents.id`, `documents`.`renter_id` AS `documents.renter_id`, `documents`.`type` AS `documents.type`, `documents`.`file_name` AS `documents.file_name`, `documents`.`file_url` AS `documents.file_url`, `documents`.`file_size` AS `documents.file_size`, `documents`.`mime_type` AS `documents.mime_type`, `documents`.`description` AS `documents.description`, `documents`.`created_at` AS `documents.createdAt`, `documents`.`updated_at` AS `documents.updatedAt` FROM `Renter` AS `Renter` LEFT OUTER JOIN `Room` AS `room` ON `Renter`.`room_id` = `room`.`id` LEFT OUTER JOIN `RenterDocument` AS `documents` ON `Renter`.`id` = `documents`.`renter_id`; Executing (default): SELECT `id`, `name`, `value`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `Settings` AS `Settings`; Executing (default): SELECT `id`, `title`, `content`, `type`, `priority`, `target_audience`, `target_ids`, `building_id`, `floor_id`, `created_by`, `expiry_date`, `is_active`, `read_by`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `Notice` AS `Notice`; Executing (default): SELECT `id`, `visitor_name`, `visitor_phone`, `visiting_renter_id`, `check_in_time`, `check_out_time`, `purpose`, `approved_by`, `id_verified`, `vehicle_number`, `notes`, `visiting_renter_name`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `Visitor` AS `Visitor`; Executing (default): SELECT `Renter`.`id`, `Renter`.`name`, `Renter`.`email`, `Renter`.`phone`, `Renter`.`alternate_phone`, `Renter`.`nid`, `Renter`.`building_id`, `Renter`.`floor_id`, `Renter`.`room_id`, `Renter`.`bed_id`, `Renter`.`rent_amount`, `Renter`.`security_deposit`, `Renter`.`check_in_date`, `Renter`.`check_out_date`, `Renter`.`lease_start_date`, `Renter`.`lease_end_date`, `Renter`.`status`, `Renter`.`emergency_contact`, `Renter`.`emergency_relation`, `Renter`.`profile_photo`, `Renter`.`occupation`, `Renter`.`company`, `Renter`.`monthly_income`, `Renter`.`previous_address`, `Renter`.`references`, `Renter`.`notice_period`, `Renter`.`preferences`, `Renter`.`payment_history`, `Renter`.`created_at` AS `createdAt`, `Renter`.`updated_at` AS `updatedAt`, `room`.`id` AS `room.id`, `room`.`building_id` AS `room.building_id`, `room`.`floor_id` AS `room.floor_id`, `room`.`room_number` AS `room.room_number`, `room`.`total_beds` AS `room.total_beds`, `room`.`occupied_beds` AS `room.occupied_beds`, `room`.`rent_per_bed` AS `room.rent_per_bed`, `room`.`facilities` AS `room.facilities`, `room`.`room_type` AS `room.room_type`, `room`.`area` AS `room.area`, `room`.`has_balcony` AS `room.has_balcony`, `room`.`has_attached_bathroom` AS `room.has_attached_bathroom`, `room`.`furnishing_status` AS `room.furnishing_status`, `room`.`condition` AS `room.condition`, `room`.`last_cleaned` AS `room.last_cleaned`, `room`.`security_deposit` AS `room.security_deposit`, `room`.`available_from` AS `room.available_from`, `room`.`created_at` AS `room.createdAt`, `room`.`updated_at` AS `room.updatedAt`, `documents`.`id` AS `documents.id`, `documents`.`renter_id` AS `documents.renter_id`, `documents`.`type` AS `documents.type`, `documents`.`file_name` AS `documents.file_name`, `documents`.`file_url` AS `documents.file_url`, `documents`.`file_size` AS `documents.file_size`, `documents`.`mime_type` AS `documents.mime_type`, `documents`.`description` AS `documents.description`, `documents`.`created_at` AS `documents.createdAt`, `documents`.`updated_at` AS `documents.updatedAt` FROM `Renter` AS `Renter` LEFT OUTER JOIN `Room` AS `room` ON `Renter`.`room_id` = `room`.`id` LEFT OUTER JOIN `RenterDocument` AS `documents` ON `Renter`.`id` = `documents`.`renter_id`; Executing (default): SELECT `Renter`.`id`, `Renter`.`name`, `Renter`.`email`, `Renter`.`phone`, `Renter`.`alternate_phone`, `Renter`.`nid`, `Renter`.`building_id`, `Renter`.`floor_id`, `Renter`.`room_id`, `Renter`.`bed_id`, `Renter`.`rent_amount`, `Renter`.`security_deposit`, `Renter`.`check_in_date`, `Renter`.`check_out_date`, `Renter`.`lease_start_date`, `Renter`.`lease_end_date`, `Renter`.`status`, `Renter`.`emergency_contact`, `Renter`.`emergency_relation`, `Renter`.`profile_photo`, `Renter`.`occupation`, `Renter`.`company`, `Renter`.`monthly_income`, `Renter`.`previous_address`, `Renter`.`references`, `Renter`.`notice_period`, `Renter`.`preferences`, `Renter`.`payment_history`, `Renter`.`created_at` AS `createdAt`, `Renter`.`updated_at` AS `updatedAt`, `room`.`id` AS `room.id`, `room`.`building_id` AS `room.building_id`, `room`.`floor_id` AS `room.floor_id`, `room`.`room_number` AS `room.room_number`, `room`.`total_beds` AS `room.total_beds`, `room`.`occupied_beds` AS `room.occupied_beds`, `room`.`rent_per_bed` AS `room.rent_per_bed`, `room`.`facilities` AS `room.facilities`, `room`.`room_type` AS `room.room_type`, `room`.`area` AS `room.area`, `room`.`has_balcony` AS `room.has_balcony`, `room`.`has_attached_bathroom` AS `room.has_attached_bathroom`, `room`.`furnishing_status` AS `room.furnishing_status`, `room`.`condition` AS `room.condition`, `room`.`last_cleaned` AS `room.last_cleaned`, `room`.`security_deposit` AS `room.security_deposit`, `room`.`available_from` AS `room.available_from`, `room`.`created_at` AS `room.createdAt`, `room`.`updated_at` AS `room.updatedAt`, `documents`.`id` AS `documents.id`, `documents`.`renter_id` AS `documents.renter_id`, `documents`.`type` AS `documents.type`, `documents`.`file_name` AS `documents.file_name`, `documents`.`file_url` AS `documents.file_url`, `documents`.`file_size` AS `documents.file_size`, `documents`.`mime_type` AS `documents.mime_type`, `documents`.`description` AS `documents.description`, `documents`.`created_at` AS `documents.createdAt`, `documents`.`updated_at` AS `documents.updatedAt` FROM `Renter` AS `Renter` LEFT OUTER JOIN `Room` AS `room` ON `Renter`.`room_id` = `room`.`id` LEFT OUTER JOIN `RenterDocument` AS `documents` ON `Renter`.`id` = `documents`.`renter_id`; Executing (default): SELECT `id`, `title`, `content`, `type`, `priority`, `target_audience`, `target_ids`, `building_id`, `floor_id`, `created_by`, `expiry_date`, `is_active`, `read_by`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `Notice` AS `Notice`; Executing (default): SELECT `id`, `title`, `content`, `type`, `priority`, `target_audience`, `target_ids`, `building_id`, `floor_id`, `created_by`, `expiry_date`, `is_active`, `read_by`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `Notice` AS `Notice`; Executing (default): SELECT `id`, `visitor_name`, `visitor_phone`, `visiting_renter_id`, `check_in_time`, `check_out_time`, `purpose`, `approved_by`, `id_verified`, `vehicle_number`, `notes`, `visiting_renter_name`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `Visitor` AS `Visitor`; Executing (default): SELECT `id`, `visitor_name`, `visitor_phone`, `visiting_renter_id`, `check_in_time`, `check_out_time`, `purpose`, `approved_by`, `id_verified`, `vehicle_number`, `notes`, `visiting_renter_name`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `Visitor` AS `Visitor`; Executing (default): SELECT `id`, `name`, `value`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `Settings` AS `Settings`; Executing (default): SELECT `id`, `name`, `value`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `Settings` AS `Settings`; Executing (default): SELECT `id`, `name`, `value`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `Settings` AS `Settings`; Executing (default): SELECT `id`, `name`, `value`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `Settings` AS `Settings`; Executing (default): SELECT `id`, `name`, `email`, `password`, `role`, `permissions`, `department`, `phone`, `avatar`, `is_active`, `last_login`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `User` AS `User` WHERE `User`.`id` = '8cc00eb8-378e-4f89-8141-f87aa35fd51d'; Executing (default): SELECT `id`, `name`, `email`, `password`, `role`, `permissions`, `department`, `phone`, `avatar`, `is_active`, `last_login`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `User` AS `User` WHERE `User`.`id` = '8cc00eb8-378e-4f89-8141-f87aa35fd51d'; Executing (default): SELECT `Floor`.`id`, `Floor`.`building_id`, `Floor`.`floor_number`, `Floor`.`total_rooms`, `Floor`.`occupied_rooms`, `Floor`.`floor_type`, `Floor`.`amenities`, `Floor`.`maintenance_status`, `Floor`.`last_inspection`, `Floor`.`notes`, `Floor`.`created_at` AS `createdAt`, `Floor`.`updated_at` AS `updatedAt`, `rooms`.`id` AS `rooms.id`, `rooms`.`building_id` AS `rooms.building_id`, `rooms`.`floor_id` AS `rooms.floor_id`, `rooms`.`room_number` AS `rooms.room_number`, `rooms`.`total_beds` AS `rooms.total_beds`, `rooms`.`occupied_beds` AS `rooms.occupied_beds`, `rooms`.`rent_per_bed` AS `rooms.rent_per_bed`, `rooms`.`facilities` AS `rooms.facilities`, `rooms`.`room_type` AS `rooms.room_type`, `rooms`.`area` AS `rooms.area`, `rooms`.`has_balcony` AS `rooms.has_balcony`, `rooms`.`has_attached_bathroom` AS `rooms.has_attached_bathroom`, `rooms`.`furnishing_status` AS `rooms.furnishing_status`, `rooms`.`condition` AS `rooms.condition`, `rooms`.`last_cleaned` AS `rooms.last_cleaned`, `rooms`.`security_deposit` AS `rooms.security_deposit`, `rooms`.`available_from` AS `rooms.available_from`, `rooms`.`created_at` AS `rooms.createdAt`, `rooms`.`updated_at` AS `rooms.updatedAt`, `rooms->beds`.`id` AS `rooms.beds.id`, `rooms->beds`.`building_id` AS `rooms.beds.building_id`, `rooms->beds`.`floor_id` AS `rooms.beds.floor_id`, `rooms->beds`.`room_id` AS `rooms.beds.room_id`, `rooms->beds`.`bed_number` AS `rooms.beds.bed_number`, `rooms->beds`.`is_occupied` AS `rooms.beds.is_occupied`, `rooms->beds`.`monthly_rent` AS `rooms.beds.monthly_rent`, `rooms->beds`.`status` AS `rooms.beds.status`, `rooms->beds`.`bed_type` AS `rooms.beds.bed_type`, `rooms->beds`.`last_cleaned` AS `rooms.beds.last_cleaned`, `rooms->beds`.`notes` AS `rooms.beds.notes`, `rooms->beds`.`reserved_until` AS `rooms.beds.reserved_until`, `rooms->beds`.`maintenance_scheduled` AS `rooms.beds.maintenance_scheduled`, `rooms->beds`.`created_at` AS `rooms.beds.createdAt`, `rooms->beds`.`updated_at` AS `rooms.beds.updatedAt`, `rooms->beds->renter`.`id` AS `rooms.beds.renter.id`, `rooms->beds->renter`.`name` AS `rooms.beds.renter.name`, `rooms->beds->renter`.`email` AS `rooms.beds.renter.email`, `rooms->beds->renter`.`phone` AS `rooms.beds.renter.phone`, `rooms->beds->renter`.`alternate_phone` AS `rooms.beds.renter.alternate_phone`, `rooms->beds->renter`.`nid` AS `rooms.beds.renter.nid`, `rooms->beds->renter`.`building_id` AS `rooms.beds.renter.building_id`, `rooms->beds->renter`.`floor_id` AS `rooms.beds.renter.floor_id`, `rooms->beds->renter`.`room_id` AS `rooms.beds.renter.room_id`, `rooms->beds->renter`.`bed_id` AS `rooms.beds.renter.bed_id`, `rooms->beds->renter`.`rent_amount` AS `rooms.beds.renter.rent_amount`, `rooms->beds->renter`.`security_deposit` AS `rooms.beds.renter.security_deposit`, `rooms->beds->renter`.`check_in_date` AS `rooms.beds.renter.check_in_date`, `rooms->beds->renter`.`check_out_date` AS `rooms.beds.renter.check_out_date`, `rooms->beds->renter`.`lease_start_date` AS `rooms.beds.renter.lease_start_date`, `rooms->beds->renter`.`lease_end_date` AS `rooms.beds.renter.lease_end_date`, `rooms->beds->renter`.`status` AS `rooms.beds.renter.status`, `rooms->beds->renter`.`emergency_contact` AS `rooms.beds.renter.emergency_contact`, `rooms->beds->renter`.`emergency_relation` AS `rooms.beds.renter.emergency_relation`, `rooms->beds->renter`.`profile_photo` AS `rooms.beds.renter.profile_photo`, `rooms->beds->renter`.`occupation` AS `rooms.beds.renter.occupation`, `rooms->beds->renter`.`company` AS `rooms.beds.renter.company`, `rooms->beds->renter`.`monthly_income` AS `rooms.beds.renter.monthly_income`, `rooms->beds->renter`.`previous_address` AS `rooms.beds.renter.previous_address`, `rooms->beds->renter`.`references` AS `rooms.beds.renter.references`, `rooms->beds->renter`.`notice_period` AS `rooms.beds.renter.notice_period`, `rooms->beds->renter`.`preferences` AS `rooms.beds.renter.preferences`, `rooms->beds->renter`.`payment_history` AS `rooms.beds.renter.payment_history`, `rooms->beds->renter`.`created_at` AS `rooms.beds.renter.createdAt`, `rooms->beds->renter`.`updated_at` AS `rooms.beds.renter.updatedAt` FROM `Floor` AS `Floor` LEFT OUTER JOIN `Room` AS `rooms` ON `Floor`.`id` = `rooms`.`floor_id` LEFT OUTER JOIN `Bed` AS `rooms->beds` ON `rooms`.`id` = `rooms->beds`.`room_id` LEFT OUTER JOIN `Renter` AS `rooms->beds->renter` ON `rooms->beds`.`id` = `rooms->beds->renter`.`bed_id`; Executing (default): SELECT `Building`.`id`, `Building`.`name`, `Building`.`address`, `Building`.`floors`, `Building`.`total_rooms`, `Building`.`total_beds`, `Building`.`parking_spaces`, `Building`.`occupied_beds`, `Building`.`manager`, `Building`.`amenities`, `Building`.`monthly_revenue`, `Building`.`building_type`, `Building`.`year_built`, `Building`.`total_area`, `Building`.`elevators`, `Building`.`security_features`, `Building`.`contact_person`, `Building`.`contact_phone`, `Building`.`created_at` AS `createdAt`, `Building`.`updated_at` AS `updatedAt`, `buildingFloors`.`id` AS `buildingFloors.id`, `buildingFloors`.`building_id` AS `buildingFloors.building_id`, `buildingFloors`.`floor_number` AS `buildingFloors.floor_number`, `buildingFloors`.`total_rooms` AS `buildingFloors.total_rooms`, `buildingFloors`.`occupied_rooms` AS `buildingFloors.occupied_rooms`, `buildingFloors`.`floor_type` AS `buildingFloors.floor_type`, `buildingFloors`.`amenities` AS `buildingFloors.amenities`, `buildingFloors`.`maintenance_status` AS `buildingFloors.maintenance_status`, `buildingFloors`.`last_inspection` AS `buildingFloors.last_inspection`, `buildingFloors`.`notes` AS `buildingFloors.notes`, `buildingFloors`.`created_at` AS `buildingFloors.createdAt`, `buildingFloors`.`updated_at` AS `buildingFloors.updatedAt`, `buildingFloors->rooms`.`id` AS `buildingFloors.rooms.id`, `buildingFloors->rooms`.`building_id` AS `buildingFloors.rooms.building_id`, `buildingFloors->rooms`.`floor_id` AS `buildingFloors.rooms.floor_id`, `buildingFloors->rooms`.`room_number` AS `buildingFloors.rooms.room_number`, `buildingFloors->rooms`.`total_beds` AS `buildingFloors.rooms.total_beds`, `buildingFloors->rooms`.`occupied_beds` AS `buildingFloors.rooms.occupied_beds`, `buildingFloors->rooms`.`rent_per_bed` AS `buildingFloors.rooms.rent_per_bed`, `buildingFloors->rooms`.`facilities` AS `buildingFloors.rooms.facilities`, `buildingFloors->rooms`.`room_type` AS `buildingFloors.rooms.room_type`, `buildingFloors->rooms`.`area` AS `buildingFloors.rooms.area`, `buildingFloors->rooms`.`has_balcony` AS `buildingFloors.rooms.has_balcony`, `buildingFloors->rooms`.`has_attached_bathroom` AS `buildingFloors.rooms.has_attached_bathroom`, `buildingFloors->rooms`.`furnishing_status` AS `buildingFloors.rooms.furnishing_status`, `buildingFloors->rooms`.`condition` AS `buildingFloors.rooms.condition`, `buildingFloors->rooms`.`last_cleaned` AS `buildingFloors.rooms.last_cleaned`, `buildingFloors->rooms`.`security_deposit` AS `buildingFloors.rooms.security_deposit`, `buildingFloors->rooms`.`available_from` AS `buildingFloors.rooms.available_from`, `buildingFloors->rooms`.`created_at` AS `buildingFloors.rooms.createdAt`, `buildingFloors->rooms`.`updated_at` AS `buildingFloors.rooms.updatedAt`, `buildingFloors->rooms->beds`.`id` AS `buildingFloors.rooms.beds.id`, `buildingFloors->rooms->beds`.`building_id` AS `buildingFloors.rooms.beds.building_id`, `buildingFloors->rooms->beds`.`floor_id` AS `buildingFloors.rooms.beds.floor_id`, `buildingFloors->rooms->beds`.`room_id` AS `buildingFloors.rooms.beds.room_id`, `buildingFloors->rooms->beds`.`bed_number` AS `buildingFloors.rooms.beds.bed_number`, `buildingFloors->rooms->beds`.`is_occupied` AS `buildingFloors.rooms.beds.is_occupied`, `buildingFloors->rooms->beds`.`monthly_rent` AS `buildingFloors.rooms.beds.monthly_rent`, `buildingFloors->rooms->beds`.`status` AS `buildingFloors.rooms.beds.status`, `buildingFloors->rooms->beds`.`bed_type` AS `buildingFloors.rooms.beds.bed_type`, `buildingFloors->rooms->beds`.`last_cleaned` AS `buildingFloors.rooms.beds.last_cleaned`, `buildingFloors->rooms->beds`.`notes` AS `buildingFloors.rooms.beds.notes`, `buildingFloors->rooms->beds`.`reserved_until` AS `buildingFloors.rooms.beds.reserved_until`, `buildingFloors->rooms->beds`.`maintenance_scheduled` AS `buildingFloors.rooms.beds.maintenance_scheduled`, `buildingFloors->rooms->beds`.`created_at` AS `buildingFloors.rooms.beds.createdAt`, `buildingFloors->rooms->beds`.`updated_at` AS `buildingFloors.rooms.beds.updatedAt`, `buildingFloors->rooms->beds->renter`.`id` AS `buildingFloors.rooms.beds.renter.id`, `buildingFloors->rooms->beds->renter`.`name` AS `buildingFloors.rooms.beds.renter.name`, `buildingFloors->rooms->beds->renter`.`email` AS `buildingFloors.rooms.beds.renter.email`, `buildingFloors->rooms->beds->renter`.`phone` AS `buildingFloors.rooms.beds.renter.phone`, `buildingFloors->rooms->beds->renter`.`alternate_phone` AS `buildingFloors.rooms.beds.renter.alternate_phone`, `buildingFloors->rooms->beds->renter`.`nid` AS `buildingFloors.rooms.beds.renter.nid`, `buildingFloors->rooms->beds->renter`.`building_id` AS `buildingFloors.rooms.beds.renter.building_id`, `buildingFloors->rooms->beds->renter`.`floor_id` AS `buildingFloors.rooms.beds.renter.floor_id`, `buildingFloors->rooms->beds->renter`.`room_id` AS `buildingFloors.rooms.beds.renter.room_id`, `buildingFloors->rooms->beds->renter`.`bed_id` AS `buildingFloors.rooms.beds.renter.bed_id`, `buildingFloors->rooms->beds->renter`.`rent_amount` AS `buildingFloors.rooms.beds.renter.rent_amount`, `buildingFloors->rooms->beds->renter`.`security_deposit` AS `buildingFloors.rooms.beds.renter.security_deposit`, `buildingFloors->rooms->beds->renter`.`check_in_date` AS `buildingFloors.rooms.beds.renter.check_in_date`, `buildingFloors->rooms->beds->renter`.`check_out_date` AS `buildingFloors.rooms.beds.renter.check_out_date`, `buildingFloors->rooms->beds->renter`.`lease_start_date` AS `buildingFloors.rooms.beds.renter.lease_start_date`, `buildingFloors->rooms->beds->renter`.`lease_end_date` AS `buildingFloors.rooms.beds.renter.lease_end_date`, `buildingFloors->rooms->beds->renter`.`status` AS `buildingFloors.rooms.beds.renter.status`, `buildingFloors->rooms->beds->renter`.`emergency_contact` AS `buildingFloors.rooms.beds.renter.emergency_contact`, `buildingFloors->rooms->beds->renter`.`emergency_relation` AS `buildingFloors.rooms.beds.renter.emergency_relation`, `buildingFloors->rooms->beds->renter`.`profile_photo` AS `buildingFloors.rooms.beds.renter.profile_photo`, `buildingFloors->rooms->beds->renter`.`occupation` AS `buildingFloors.rooms.beds.renter.occupation`, `buildingFloors->rooms->beds->renter`.`company` AS `buildingFloors.rooms.beds.renter.company`, `buildingFloors->rooms->beds->renter`.`monthly_income` AS `buildingFloors.rooms.beds.renter.monthly_income`, `buildingFloors->rooms->beds->renter`.`previous_address` AS `buildingFloors.rooms.beds.renter.previous_address`, `buildingFloors->rooms->beds->renter`.`references` AS `buildingFloors.rooms.beds.renter.references`, `buildingFloors->rooms->beds->renter`.`notice_period` AS `buildingFloors.rooms.beds.renter.notice_period`, `buildingFloors->rooms->beds->renter`.`preferences` AS `buildingFloors.rooms.beds.renter.preferences`, `buildingFloors->rooms->beds->renter`.`payment_history` AS `buildingFloors.rooms.beds.renter.payment_history`, `buildingFloors->rooms->beds->renter`.`created_at` AS `buildingFloors.rooms.beds.renter.createdAt`, `buildingFloors->rooms->beds->renter`.`updated_at` AS `buildingFloors.rooms.beds.renter.updatedAt` FROM `Building` AS `Building` LEFT OUTER JOIN `Floor` AS `buildingFloors` ON `Building`.`id` = `buildingFloors`.`building_id` LEFT OUTER JOIN `Room` AS `buildingFloors->rooms` ON `buildingFloors`.`id` = `buildingFloors->rooms`.`floor_id` LEFT OUTER JOIN `Bed` AS `buildingFloors->rooms->beds` ON `buildingFloors->rooms`.`id` = `buildingFloors->rooms->beds`.`room_id` LEFT OUTER JOIN `Renter` AS `buildingFloors->rooms->beds->renter` ON `buildingFloors->rooms->beds`.`id` = `buildingFloors->rooms->beds->renter`.`bed_id` ORDER BY `createdAt` DESC; Executing (default): SELECT `id`, `name`, `email`, `password`, `role`, `permissions`, `department`, `phone`, `avatar`, `is_active`, `last_login`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `User` AS `User` WHERE `User`.`id` = '8cc00eb8-378e-4f89-8141-f87aa35fd51d'; Executing (default): SELECT `id`, `name`, `email`, `password`, `role`, `permissions`, `department`, `phone`, `avatar`, `is_active`, `last_login`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `User` AS `User` WHERE `User`.`id` = '8cc00eb8-378e-4f89-8141-f87aa35fd51d'; Executing (default): SELECT `Room`.`id`, `Room`.`building_id`, `Room`.`floor_id`, `Room`.`room_number`, `Room`.`total_beds`, `Room`.`occupied_beds`, `Room`.`rent_per_bed`, `Room`.`facilities`, `Room`.`room_type`, `Room`.`area`, `Room`.`has_balcony`, `Room`.`has_attached_bathroom`, `Room`.`furnishing_status`, `Room`.`condition`, `Room`.`last_cleaned`, `Room`.`security_deposit`, `Room`.`available_from`, `Room`.`created_at` AS `createdAt`, `Room`.`updated_at` AS `updatedAt`, `building`.`id` AS `building.id`, `building`.`name` AS `building.name`, `building`.`address` AS `building.address`, `building`.`floors` AS `building.floors`, `building`.`total_rooms` AS `building.total_rooms`, `building`.`total_beds` AS `building.total_beds`, `building`.`parking_spaces` AS `building.parking_spaces`, `building`.`occupied_beds` AS `building.occupied_beds`, `building`.`manager` AS `building.manager`, `building`.`amenities` AS `building.amenities`, `building`.`monthly_revenue` AS `building.monthly_revenue`, `building`.`building_type` AS `building.building_type`, `building`.`year_built` AS `building.year_built`, `building`.`total_area` AS `building.total_area`, `building`.`elevators` AS `building.elevators`, `building`.`security_features` AS `building.security_features`, `building`.`contact_person` AS `building.contact_person`, `building`.`contact_phone` AS `building.contact_phone`, `building`.`created_at` AS `building.createdAt`, `building`.`updated_at` AS `building.updatedAt`, `floor`.`id` AS `floor.id`, `floor`.`building_id` AS `floor.building_id`, `floor`.`floor_number` AS `floor.floor_number`, `floor`.`total_rooms` AS `floor.total_rooms`, `floor`.`occupied_rooms` AS `floor.occupied_rooms`, `floor`.`floor_type` AS `floor.floor_type`, `floor`.`amenities` AS `floor.amenities`, `floor`.`maintenance_status` AS `floor.maintenance_status`, `floor`.`last_inspection` AS `floor.last_inspection`, `floor`.`notes` AS `floor.notes`, `floor`.`created_at` AS `floor.createdAt`, `floor`.`updated_at` AS `floor.updatedAt`, `beds`.`id` AS `beds.id`, `beds`.`building_id` AS `beds.building_id`, `beds`.`floor_id` AS `beds.floor_id`, `beds`.`room_id` AS `beds.room_id`, `beds`.`bed_number` AS `beds.bed_number`, `beds`.`is_occupied` AS `beds.is_occupied`, `beds`.`monthly_rent` AS `beds.monthly_rent`, `beds`.`status` AS `beds.status`, `beds`.`bed_type` AS `beds.bed_type`, `beds`.`last_cleaned` AS `beds.last_cleaned`, `beds`.`notes` AS `beds.notes`, `beds`.`reserved_until` AS `beds.reserved_until`, `beds`.`maintenance_scheduled` AS `beds.maintenance_scheduled`, `beds`.`created_at` AS `beds.createdAt`, `beds`.`updated_at` AS `beds.updatedAt`, `beds->renter`.`id` AS `beds.renter.id`, `beds->renter`.`name` AS `beds.renter.name`, `beds->renter`.`email` AS `beds.renter.email`, `beds->renter`.`phone` AS `beds.renter.phone`, `beds->renter`.`alternate_phone` AS `beds.renter.alternate_phone`, `beds->renter`.`nid` AS `beds.renter.nid`, `beds->renter`.`building_id` AS `beds.renter.building_id`, `beds->renter`.`floor_id` AS `beds.renter.floor_id`, `beds->renter`.`room_id` AS `beds.renter.room_id`, `beds->renter`.`bed_id` AS `beds.renter.bed_id`, `beds->renter`.`rent_amount` AS `beds.renter.rent_amount`, `beds->renter`.`security_deposit` AS `beds.renter.security_deposit`, `beds->renter`.`check_in_date` AS `beds.renter.check_in_date`, `beds->renter`.`check_out_date` AS `beds.renter.check_out_date`, `beds->renter`.`lease_start_date` AS `beds.renter.lease_start_date`, `beds->renter`.`lease_end_date` AS `beds.renter.lease_end_date`, `beds->renter`.`status` AS `beds.renter.status`, `beds->renter`.`emergency_contact` AS `beds.renter.emergency_contact`, `beds->renter`.`emergency_relation` AS `beds.renter.emergency_relation`, `beds->renter`.`profile_photo` AS `beds.renter.profile_photo`, `beds->renter`.`occupation` AS `beds.renter.occupation`, `beds->renter`.`company` AS `beds.renter.company`, `beds->renter`.`monthly_income` AS `beds.renter.monthly_income`, `beds->renter`.`previous_address` AS `beds.renter.previous_address`, `beds->renter`.`references` AS `beds.renter.references`, `beds->renter`.`notice_period` AS `beds.renter.notice_period`, `beds->renter`.`preferences` AS `beds.renter.preferences`, `beds->renter`.`payment_history` AS `beds.renter.payment_history`, `beds->renter`.`created_at` AS `beds.renter.createdAt`, `beds->renter`.`updated_at` AS `beds.renter.updatedAt` FROM `Room` AS `Room` LEFT OUTER JOIN `Building` AS `building` ON `Room`.`building_id` = `building`.`id` LEFT OUTER JOIN `Floor` AS `floor` ON `Room`.`floor_id` = `floor`.`id` LEFT OUTER JOIN `Bed` AS `beds` ON `Room`.`id` = `beds`.`room_id` LEFT OUTER JOIN `Renter` AS `beds->renter` ON `beds`.`id` = `beds->renter`.`bed_id`; Executing (default): SELECT `Bed`.`id`, `Bed`.`building_id`, `Bed`.`floor_id`, `Bed`.`room_id`, `Bed`.`bed_number`, `Bed`.`is_occupied`, `Bed`.`monthly_rent`, `Bed`.`status`, `Bed`.`bed_type`, `Bed`.`last_cleaned`, `Bed`.`notes`, `Bed`.`reserved_until`, `Bed`.`maintenance_scheduled`, `Bed`.`created_at` AS `createdAt`, `Bed`.`updated_at` AS `updatedAt`, `renter`.`id` AS `renter.id`, `renter`.`name` AS `renter.name`, `renter`.`email` AS `renter.email`, `renter`.`phone` AS `renter.phone`, `renter`.`alternate_phone` AS `renter.alternate_phone`, `renter`.`nid` AS `renter.nid`, `renter`.`building_id` AS `renter.building_id`, `renter`.`floor_id` AS `renter.floor_id`, `renter`.`room_id` AS `renter.room_id`, `renter`.`bed_id` AS `renter.bed_id`, `renter`.`rent_amount` AS `renter.rent_amount`, `renter`.`security_deposit` AS `renter.security_deposit`, `renter`.`check_in_date` AS `renter.check_in_date`, `renter`.`check_out_date` AS `renter.check_out_date`, `renter`.`lease_start_date` AS `renter.lease_start_date`, `renter`.`lease_end_date` AS `renter.lease_end_date`, `renter`.`status` AS `renter.status`, `renter`.`emergency_contact` AS `renter.emergency_contact`, `renter`.`emergency_relation` AS `renter.emergency_relation`, `renter`.`profile_photo` AS `renter.profile_photo`, `renter`.`occupation` AS `renter.occupation`, `renter`.`company` AS `renter.company`, `renter`.`monthly_income` AS `renter.monthly_income`, `renter`.`previous_address` AS `renter.previous_address`, `renter`.`references` AS `renter.references`, `renter`.`notice_period` AS `renter.notice_period`, `renter`.`preferences` AS `renter.preferences`, `renter`.`payment_history` AS `renter.payment_history`, `renter`.`created_at` AS `renter.createdAt`, `renter`.`updated_at` AS `renter.updatedAt`, `room`.`id` AS `room.id`, `room`.`building_id` AS `room.building_id`, `room`.`floor_id` AS `room.floor_id`, `room`.`room_number` AS `room.room_number`, `room`.`total_beds` AS `room.total_beds`, `room`.`occupied_beds` AS `room.occupied_beds`, `room`.`rent_per_bed` AS `room.rent_per_bed`, `room`.`facilities` AS `room.facilities`, `room`.`room_type` AS `room.room_type`, `room`.`area` AS `room.area`, `room`.`has_balcony` AS `room.has_balcony`, `room`.`has_attached_bathroom` AS `room.has_attached_bathroom`, `room`.`furnishing_status` AS `room.furnishing_status`, `room`.`condition` AS `room.condition`, `room`.`last_cleaned` AS `room.last_cleaned`, `room`.`security_deposit` AS `room.security_deposit`, `room`.`available_from` AS `room.available_from`, `room`.`created_at` AS `room.createdAt`, `room`.`updated_at` AS `room.updatedAt`, `room->floor`.`id` AS `room.floor.id`, `room->floor`.`building_id` AS `room.floor.building_id`, `room->floor`.`floor_number` AS `room.floor.floor_number`, `room->floor`.`total_rooms` AS `room.floor.total_rooms`, `room->floor`.`occupied_rooms` AS `room.floor.occupied_rooms`, `room->floor`.`floor_type` AS `room.floor.floor_type`, `room->floor`.`amenities` AS `room.floor.amenities`, `room->floor`.`maintenance_status` AS `room.floor.maintenance_status`, `room->floor`.`last_inspection` AS `room.floor.last_inspection`, `room->floor`.`notes` AS `room.floor.notes`, `room->floor`.`created_at` AS `room.floor.createdAt`, `room->floor`.`updated_at` AS `room.floor.updatedAt`, `room->floor->building`.`id` AS `room.floor.building.id`, `room->floor->building`.`name` AS `room.floor.building.name`, `room->floor->building`.`address` AS `room.floor.building.address`, `room->floor->building`.`floors` AS `room.floor.building.floors`, `room->floor->building`.`total_rooms` AS `room.floor.building.total_rooms`, `room->floor->building`.`total_beds` AS `room.floor.building.total_beds`, `room->floor->building`.`parking_spaces` AS `room.floor.building.parking_spaces`, `room->floor->building`.`occupied_beds` AS `room.floor.building.occupied_beds`, `room->floor->building`.`manager` AS `room.floor.building.manager`, `room->floor->building`.`amenities` AS `room.floor.building.amenities`, `room->floor->building`.`monthly_revenue` AS `room.floor.building.monthly_revenue`, `room->floor->building`.`building_type` AS `room.floor.building.building_type`, `room->floor->building`.`year_built` AS `room.floor.building.year_built`, `room->floor->building`.`total_area` AS `room.floor.building.total_area`, `room->floor->building`.`elevators` AS `room.floor.building.elevators`, `room->floor->building`.`security_features` AS `room.floor.building.security_features`, `room->floor->building`.`contact_person` AS `room.floor.building.contact_person`, `room->floor->building`.`contact_phone` AS `room.floor.building.contact_phone`, `room->floor->building`.`created_at` AS `room.floor.building.createdAt`, `room->floor->building`.`updated_at` AS `room.floor.building.updatedAt` FROM `Bed` AS `Bed` LEFT OUTER JOIN `Renter` AS `renter` ON `Bed`.`id` = `renter`.`bed_id` LEFT OUTER JOIN `Room` AS `room` ON `Bed`.`room_id` = `room`.`id` LEFT OUTER JOIN `Floor` AS `room->floor` ON `room`.`floor_id` = `room->floor`.`id` LEFT OUTER JOIN `Building` AS `room->floor->building` ON `room->floor`.`building_id` = `room->floor->building`.`id`; Executing (default): SELECT `Renter`.`id`, `Renter`.`name`, `Renter`.`email`, `Renter`.`phone`, `Renter`.`alternate_phone`, `Renter`.`nid`, `Renter`.`building_id`, `Renter`.`floor_id`, `Renter`.`room_id`, `Renter`.`bed_id`, `Renter`.`rent_amount`, `Renter`.`security_deposit`, `Renter`.`check_in_date`, `Renter`.`check_out_date`, `Renter`.`lease_start_date`, `Renter`.`lease_end_date`, `Renter`.`status`, `Renter`.`emergency_contact`, `Renter`.`emergency_relation`, `Renter`.`profile_photo`, `Renter`.`occupation`, `Renter`.`company`, `Renter`.`monthly_income`, `Renter`.`previous_address`, `Renter`.`references`, `Renter`.`notice_period`, `Renter`.`preferences`, `Renter`.`payment_history`, `Renter`.`created_at` AS `createdAt`, `Renter`.`updated_at` AS `updatedAt`, `room`.`id` AS `room.id`, `room`.`building_id` AS `room.building_id`, `room`.`floor_id` AS `room.floor_id`, `room`.`room_number` AS `room.room_number`, `room`.`total_beds` AS `room.total_beds`, `room`.`occupied_beds` AS `room.occupied_beds`, `room`.`rent_per_bed` AS `room.rent_per_bed`, `room`.`facilities` AS `room.facilities`, `room`.`room_type` AS `room.room_type`, `room`.`area` AS `room.area`, `room`.`has_balcony` AS `room.has_balcony`, `room`.`has_attached_bathroom` AS `room.has_attached_bathroom`, `room`.`furnishing_status` AS `room.furnishing_status`, `room`.`condition` AS `room.condition`, `room`.`last_cleaned` AS `room.last_cleaned`, `room`.`security_deposit` AS `room.security_deposit`, `room`.`available_from` AS `room.available_from`, `room`.`created_at` AS `room.createdAt`, `room`.`updated_at` AS `room.updatedAt`, `documents`.`id` AS `documents.id`, `documents`.`renter_id` AS `documents.renter_id`, `documents`.`type` AS `documents.type`, `documents`.`file_name` AS `documents.file_name`, `documents`.`file_url` AS `documents.file_url`, `documents`.`file_size` AS `documents.file_size`, `documents`.`mime_type` AS `documents.mime_type`, `documents`.`description` AS `documents.description`, `documents`.`created_at` AS `documents.createdAt`, `documents`.`updated_at` AS `documents.updatedAt` FROM `Renter` AS `Renter` LEFT OUTER JOIN `Room` AS `room` ON `Renter`.`room_id` = `room`.`id` LEFT OUTER JOIN `RenterDocument` AS `documents` ON `Renter`.`id` = `documents`.`renter_id`; Executing (default): SELECT `id`, `name`, `value`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `Settings` AS `Settings`; Executing (default): SELECT `id`, `title`, `content`, `type`, `priority`, `target_audience`, `target_ids`, `building_id`, `floor_id`, `created_by`, `expiry_date`, `is_active`, `read_by`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `Notice` AS `Notice`; Executing (default): SELECT `id`, `name`, `email`, `password`, `role`, `permissions`, `department`, `phone`, `avatar`, `is_active`, `last_login`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `User` AS `User` WHERE `User`.`id` = '8cc00eb8-378e-4f89-8141-f87aa35fd51d'; Executing (default): SELECT `id`, `name`, `email`, `password`, `role`, `permissions`, `department`, `phone`, `avatar`, `is_active`, `last_login`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `User` AS `User` WHERE `User`.`id` = '8cc00eb8-378e-4f89-8141-f87aa35fd51d'; Executing (default): SELECT `id`, `name`, `email`, `password`, `role`, `permissions`, `department`, `phone`, `avatar`, `is_active`, `last_login`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `User` AS `User` WHERE `User`.`id` = '8cc00eb8-378e-4f89-8141-f87aa35fd51d'; Executing (default): SELECT `id`, `renter_id`, `amount`, `due_date`, `paid_date`, `status`, `month`, `year`, `payment_method`, `transaction_id`, `late_fee`, `discount`, `notes`, `receipt_number`, `collected_by`, `renter_name` AS `renterName`, `room_number`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `RentPayment` AS `RentPayment`; Executing (default): SELECT `id`, `building_id`, `floor_id`, `category`, `subcategory`, `description`, `amount`, `date`, `vendor`, `receipt`, `approved_by`, `payment_method`, `is_recurring`, `recurring_frequency`, `budget_category`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `Expense` AS `Expense`; Executing (default): SELECT `id`, `building_id`, `floor_id`, `room_id`, `bed_id`, `type`, `category`, `description`, `priority`, `status`, `assigned_to`, `cost`, `estimated_cost`, `scheduled_date`, `completed_date`, `notes`, `images`, `warranty`, `next_maintenance_date`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `Maintenance` AS `Maintenance`; Executing (default): SELECT `id`, `visitor_name`, `visitor_phone`, `visiting_renter_id`, `check_in_time`, `check_out_time`, `purpose`, `approved_by`, `id_verified`, `vehicle_number`, `notes`, `visiting_renter_name`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `Visitor` AS `Visitor`; Executing (default): SELECT `id`, `name`, `email`, `password`, `role`, `permissions`, `department`, `phone`, `avatar`, `is_active`, `last_login`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `User` AS `User` WHERE `User`.`id` = '8cc00eb8-378e-4f89-8141-f87aa35fd51d'; Executing (default): SELECT `id`, `name`, `email`, `password`, `role`, `permissions`, `department`, `phone`, `avatar`, `is_active`, `last_login`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `User` AS `User` WHERE `User`.`id` = '8cc00eb8-378e-4f89-8141-f87aa35fd51d'; Executing (default): SELECT `id`, `name`, `email`, `role`, `permissions`, `department`, `phone`, `avatar`, `is_active`, `last_login`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `User` AS `User` WHERE `User`.`id` = '8cc00eb8-378e-4f89-8141-f87aa35fd51d'; Executing (default): SELECT `Building`.`id`, `Building`.`name`, `Building`.`address`, `Building`.`floors`, `Building`.`total_rooms`, `Building`.`total_beds`, `Building`.`parking_spaces`, `Building`.`occupied_beds`, `Building`.`manager`, `Building`.`amenities`, `Building`.`monthly_revenue`, `Building`.`building_type`, `Building`.`year_built`, `Building`.`total_area`, `Building`.`elevators`, `Building`.`security_features`, `Building`.`contact_person`, `Building`.`contact_phone`, `Building`.`created_at` AS `createdAt`, `Building`.`updated_at` AS `updatedAt`, `buildingFloors`.`id` AS `buildingFloors.id`, `buildingFloors`.`building_id` AS `buildingFloors.building_id`, `buildingFloors`.`floor_number` AS `buildingFloors.floor_number`, `buildingFloors`.`total_rooms` AS `buildingFloors.total_rooms`, `buildingFloors`.`occupied_rooms` AS `buildingFloors.occupied_rooms`, `buildingFloors`.`floor_type` AS `buildingFloors.floor_type`, `buildingFloors`.`amenities` AS `buildingFloors.amenities`, `buildingFloors`.`maintenance_status` AS `buildingFloors.maintenance_status`, `buildingFloors`.`last_inspection` AS `buildingFloors.last_inspection`, `buildingFloors`.`notes` AS `buildingFloors.notes`, `buildingFloors`.`created_at` AS `buildingFloors.createdAt`, `buildingFloors`.`updated_at` AS `buildingFloors.updatedAt`, `buildingFloors->rooms`.`id` AS `buildingFloors.rooms.id`, `buildingFloors->rooms`.`building_id` AS `buildingFloors.rooms.building_id`, `buildingFloors->rooms`.`floor_id` AS `buildingFloors.rooms.floor_id`, `buildingFloors->rooms`.`room_number` AS `buildingFloors.rooms.room_number`, `buildingFloors->rooms`.`total_beds` AS `buildingFloors.rooms.total_beds`, `buildingFloors->rooms`.`occupied_beds` AS `buildingFloors.rooms.occupied_beds`, `buildingFloors->rooms`.`rent_per_bed` AS `buildingFloors.rooms.rent_per_bed`, `buildingFloors->rooms`.`facilities` AS `buildingFloors.rooms.facilities`, `buildingFloors->rooms`.`room_type` AS `buildingFloors.rooms.room_type`, `buildingFloors->rooms`.`area` AS `buildingFloors.rooms.area`, `buildingFloors->rooms`.`has_balcony` AS `buildingFloors.rooms.has_balcony`, `buildingFloors->rooms`.`has_attached_bathroom` AS `buildingFloors.rooms.has_attached_bathroom`, `buildingFloors->rooms`.`furnishing_status` AS `buildingFloors.rooms.furnishing_status`, `buildingFloors->rooms`.`condition` AS `buildingFloors.rooms.condition`, `buildingFloors->rooms`.`last_cleaned` AS `buildingFloors.rooms.last_cleaned`, `buildingFloors->rooms`.`security_deposit` AS `buildingFloors.rooms.security_deposit`, `buildingFloors->rooms`.`available_from` AS `buildingFloors.rooms.available_from`, `buildingFloors->rooms`.`created_at` AS `buildingFloors.rooms.createdAt`, `buildingFloors->rooms`.`updated_at` AS `buildingFloors.rooms.updatedAt`, `buildingFloors->rooms->beds`.`id` AS `buildingFloors.rooms.beds.id`, `buildingFloors->rooms->beds`.`building_id` AS `buildingFloors.rooms.beds.building_id`, `buildingFloors->rooms->beds`.`floor_id` AS `buildingFloors.rooms.beds.floor_id`, `buildingFloors->rooms->beds`.`room_id` AS `buildingFloors.rooms.beds.room_id`, `buildingFloors->rooms->beds`.`bed_number` AS `buildingFloors.rooms.beds.bed_number`, `buildingFloors->rooms->beds`.`is_occupied` AS `buildingFloors.rooms.beds.is_occupied`, `buildingFloors->rooms->beds`.`monthly_rent` AS `buildingFloors.rooms.beds.monthly_rent`, `buildingFloors->rooms->beds`.`status` AS `buildingFloors.rooms.beds.status`, `buildingFloors->rooms->beds`.`bed_type` AS `buildingFloors.rooms.beds.bed_type`, `buildingFloors->rooms->beds`.`last_cleaned` AS `buildingFloors.rooms.beds.last_cleaned`, `buildingFloors->rooms->beds`.`notes` AS `buildingFloors.rooms.beds.notes`, `buildingFloors->rooms->beds`.`reserved_until` AS `buildingFloors.rooms.beds.reserved_until`, `buildingFloors->rooms->beds`.`maintenance_scheduled` AS `buildingFloors.rooms.beds.maintenance_scheduled`, `buildingFloors->rooms->beds`.`created_at` AS `buildingFloors.rooms.beds.createdAt`, `buildingFloors->rooms->beds`.`updated_at` AS `buildingFloors.rooms.beds.updatedAt`, `buildingFloors->rooms->beds->renter`.`id` AS `buildingFloors.rooms.beds.renter.id`, `buildingFloors->rooms->beds->renter`.`name` AS `buildingFloors.rooms.beds.renter.name`, `buildingFloors->rooms->beds->renter`.`email` AS `buildingFloors.rooms.beds.renter.email`, `buildingFloors->rooms->beds->renter`.`phone` AS `buildingFloors.rooms.beds.renter.phone`, `buildingFloors->rooms->beds->renter`.`alternate_phone` AS `buildingFloors.rooms.beds.renter.alternate_phone`, `buildingFloors->rooms->beds->renter`.`nid` AS `buildingFloors.rooms.beds.renter.nid`, `buildingFloors->rooms->beds->renter`.`building_id` AS `buildingFloors.rooms.beds.renter.building_id`, `buildingFloors->rooms->beds->renter`.`floor_id` AS `buildingFloors.rooms.beds.renter.floor_id`, `buildingFloors->rooms->beds->renter`.`room_id` AS `buildingFloors.rooms.beds.renter.room_id`, `buildingFloors->rooms->beds->renter`.`bed_id` AS `buildingFloors.rooms.beds.renter.bed_id`, `buildingFloors->rooms->beds->renter`.`rent_amount` AS `buildingFloors.rooms.beds.renter.rent_amount`, `buildingFloors->rooms->beds->renter`.`security_deposit` AS `buildingFloors.rooms.beds.renter.security_deposit`, `buildingFloors->rooms->beds->renter`.`check_in_date` AS `buildingFloors.rooms.beds.renter.check_in_date`, `buildingFloors->rooms->beds->renter`.`check_out_date` AS `buildingFloors.rooms.beds.renter.check_out_date`, `buildingFloors->rooms->beds->renter`.`lease_start_date` AS `buildingFloors.rooms.beds.renter.lease_start_date`, `buildingFloors->rooms->beds->renter`.`lease_end_date` AS `buildingFloors.rooms.beds.renter.lease_end_date`, `buildingFloors->rooms->beds->renter`.`status` AS `buildingFloors.rooms.beds.renter.status`, `buildingFloors->rooms->beds->renter`.`emergency_contact` AS `buildingFloors.rooms.beds.renter.emergency_contact`, `buildingFloors->rooms->beds->renter`.`emergency_relation` AS `buildingFloors.rooms.beds.renter.emergency_relation`, `buildingFloors->rooms->beds->renter`.`profile_photo` AS `buildingFloors.rooms.beds.renter.profile_photo`, `buildingFloors->rooms->beds->renter`.`occupation` AS `buildingFloors.rooms.beds.renter.occupation`, `buildingFloors->rooms->beds->renter`.`company` AS `buildingFloors.rooms.beds.renter.company`, `buildingFloors->rooms->beds->renter`.`monthly_income` AS `buildingFloors.rooms.beds.renter.monthly_income`, `buildingFloors->rooms->beds->renter`.`previous_address` AS `buildingFloors.rooms.beds.renter.previous_address`, `buildingFloors->rooms->beds->renter`.`references` AS `buildingFloors.rooms.beds.renter.references`, `buildingFloors->rooms->beds->renter`.`notice_period` AS `buildingFloors.rooms.beds.renter.notice_period`, `buildingFloors->rooms->beds->renter`.`preferences` AS `buildingFloors.rooms.beds.renter.preferences`, `buildingFloors->rooms->beds->renter`.`payment_history` AS `buildingFloors.rooms.beds.renter.payment_history`, `buildingFloors->rooms->beds->renter`.`created_at` AS `buildingFloors.rooms.beds.renter.createdAt`, `buildingFloors->rooms->beds->renter`.`updated_at` AS `buildingFloors.rooms.beds.renter.updatedAt` FROM `Building` AS `Building` LEFT OUTER JOIN `Floor` AS `buildingFloors` ON `Building`.`id` = `buildingFloors`.`building_id` LEFT OUTER JOIN `Room` AS `buildingFloors->rooms` ON `buildingFloors`.`id` = `buildingFloors->rooms`.`floor_id` LEFT OUTER JOIN `Bed` AS `buildingFloors->rooms->beds` ON `buildingFloors->rooms`.`id` = `buildingFloors->rooms->beds`.`room_id` LEFT OUTER JOIN `Renter` AS `buildingFloors->rooms->beds->renter` ON `buildingFloors->rooms->beds`.`id` = `buildingFloors->rooms->beds->renter`.`bed_id` ORDER BY `createdAt` DESC; Executing (default): SELECT `id`, `name`, `email`, `password`, `role`, `permissions`, `department`, `phone`, `avatar`, `is_active`, `last_login`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `User` AS `User` WHERE `User`.`id` = '8cc00eb8-378e-4f89-8141-f87aa35fd51d'; Executing (default): SELECT `Floor`.`id`, `Floor`.`building_id`, `Floor`.`floor_number`, `Floor`.`total_rooms`, `Floor`.`occupied_rooms`, `Floor`.`floor_type`, `Floor`.`amenities`, `Floor`.`maintenance_status`, `Floor`.`last_inspection`, `Floor`.`notes`, `Floor`.`created_at` AS `createdAt`, `Floor`.`updated_at` AS `updatedAt`, `rooms`.`id` AS `rooms.id`, `rooms`.`building_id` AS `rooms.building_id`, `rooms`.`floor_id` AS `rooms.floor_id`, `rooms`.`room_number` AS `rooms.room_number`, `rooms`.`total_beds` AS `rooms.total_beds`, `rooms`.`occupied_beds` AS `rooms.occupied_beds`, `rooms`.`rent_per_bed` AS `rooms.rent_per_bed`, `rooms`.`facilities` AS `rooms.facilities`, `rooms`.`room_type` AS `rooms.room_type`, `rooms`.`area` AS `rooms.area`, `rooms`.`has_balcony` AS `rooms.has_balcony`, `rooms`.`has_attached_bathroom` AS `rooms.has_attached_bathroom`, `rooms`.`furnishing_status` AS `rooms.furnishing_status`, `rooms`.`condition` AS `rooms.condition`, `rooms`.`last_cleaned` AS `rooms.last_cleaned`, `rooms`.`security_deposit` AS `rooms.security_deposit`, `rooms`.`available_from` AS `rooms.available_from`, `rooms`.`created_at` AS `rooms.createdAt`, `rooms`.`updated_at` AS `rooms.updatedAt`, `rooms->beds`.`id` AS `rooms.beds.id`, `rooms->beds`.`building_id` AS `rooms.beds.building_id`, `rooms->beds`.`floor_id` AS `rooms.beds.floor_id`, `rooms->beds`.`room_id` AS `rooms.beds.room_id`, `rooms->beds`.`bed_number` AS `rooms.beds.bed_number`, `rooms->beds`.`is_occupied` AS `rooms.beds.is_occupied`, `rooms->beds`.`monthly_rent` AS `rooms.beds.monthly_rent`, `rooms->beds`.`status` AS `rooms.beds.status`, `rooms->beds`.`bed_type` AS `rooms.beds.bed_type`, `rooms->beds`.`last_cleaned` AS `rooms.beds.last_cleaned`, `rooms->beds`.`notes` AS `rooms.beds.notes`, `rooms->beds`.`reserved_until` AS `rooms.beds.reserved_until`, `rooms->beds`.`maintenance_scheduled` AS `rooms.beds.maintenance_scheduled`, `rooms->beds`.`created_at` AS `rooms.beds.createdAt`, `rooms->beds`.`updated_at` AS `rooms.beds.updatedAt`, `rooms->beds->renter`.`id` AS `rooms.beds.renter.id`, `rooms->beds->renter`.`name` AS `rooms.beds.renter.name`, `rooms->beds->renter`.`email` AS `rooms.beds.renter.email`, `rooms->beds->renter`.`phone` AS `rooms.beds.renter.phone`, `rooms->beds->renter`.`alternate_phone` AS `rooms.beds.renter.alternate_phone`, `rooms->beds->renter`.`nid` AS `rooms.beds.renter.nid`, `rooms->beds->renter`.`building_id` AS `rooms.beds.renter.building_id`, `rooms->beds->renter`.`floor_id` AS `rooms.beds.renter.floor_id`, `rooms->beds->renter`.`room_id` AS `rooms.beds.renter.room_id`, `rooms->beds->renter`.`bed_id` AS `rooms.beds.renter.bed_id`, `rooms->beds->renter`.`rent_amount` AS `rooms.beds.renter.rent_amount`, `rooms->beds->renter`.`security_deposit` AS `rooms.beds.renter.security_deposit`, `rooms->beds->renter`.`check_in_date` AS `rooms.beds.renter.check_in_date`, `rooms->beds->renter`.`check_out_date` AS `rooms.beds.renter.check_out_date`, `rooms->beds->renter`.`lease_start_date` AS `rooms.beds.renter.lease_start_date`, `rooms->beds->renter`.`lease_end_date` AS `rooms.beds.renter.lease_end_date`, `rooms->beds->renter`.`status` AS `rooms.beds.renter.status`, `rooms->beds->renter`.`emergency_contact` AS `rooms.beds.renter.emergency_contact`, `rooms->beds->renter`.`emergency_relation` AS `rooms.beds.renter.emergency_relation`, `rooms->beds->renter`.`profile_photo` AS `rooms.beds.renter.profile_photo`, `rooms->beds->renter`.`occupation` AS `rooms.beds.renter.occupation`, `rooms->beds->renter`.`company` AS `rooms.beds.renter.company`, `rooms->beds->renter`.`monthly_income` AS `rooms.beds.renter.monthly_income`, `rooms->beds->renter`.`previous_address` AS `rooms.beds.renter.previous_address`, `rooms->beds->renter`.`references` AS `rooms.beds.renter.references`, `rooms->beds->renter`.`notice_period` AS `rooms.beds.renter.notice_period`, `rooms->beds->renter`.`preferences` AS `rooms.beds.renter.preferences`, `rooms->beds->renter`.`payment_history` AS `rooms.beds.renter.payment_history`, `rooms->beds->renter`.`created_at` AS `rooms.beds.renter.createdAt`, `rooms->beds->renter`.`updated_at` AS `rooms.beds.renter.updatedAt` FROM `Floor` AS `Floor` LEFT OUTER JOIN `Room` AS `rooms` ON `Floor`.`id` = `rooms`.`floor_id` LEFT OUTER JOIN `Bed` AS `rooms->beds` ON `rooms`.`id` = `rooms->beds`.`room_id` LEFT OUTER JOIN `Renter` AS `rooms->beds->renter` ON `rooms->beds`.`id` = `rooms->beds->renter`.`bed_id`; Executing (default): SELECT `id`, `name`, `email`, `password`, `role`, `permissions`, `department`, `phone`, `avatar`, `is_active`, `last_login`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `User` AS `User` WHERE `User`.`id` = '8cc00eb8-378e-4f89-8141-f87aa35fd51d'; Executing (default): SELECT `id`, `name`, `email`, `password`, `role`, `permissions`, `department`, `phone`, `avatar`, `is_active`, `last_login`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `User` AS `User` WHERE `User`.`id` = '8cc00eb8-378e-4f89-8141-f87aa35fd51d'; Executing (default): SELECT `Room`.`id`, `Room`.`building_id`, `Room`.`floor_id`, `Room`.`room_number`, `Room`.`total_beds`, `Room`.`occupied_beds`, `Room`.`rent_per_bed`, `Room`.`facilities`, `Room`.`room_type`, `Room`.`area`, `Room`.`has_balcony`, `Room`.`has_attached_bathroom`, `Room`.`furnishing_status`, `Room`.`condition`, `Room`.`last_cleaned`, `Room`.`security_deposit`, `Room`.`available_from`, `Room`.`created_at` AS `createdAt`, `Room`.`updated_at` AS `updatedAt`, `building`.`id` AS `building.id`, `building`.`name` AS `building.name`, `building`.`address` AS `building.address`, `building`.`floors` AS `building.floors`, `building`.`total_rooms` AS `building.total_rooms`, `building`.`total_beds` AS `building.total_beds`, `building`.`parking_spaces` AS `building.parking_spaces`, `building`.`occupied_beds` AS `building.occupied_beds`, `building`.`manager` AS `building.manager`, `building`.`amenities` AS `building.amenities`, `building`.`monthly_revenue` AS `building.monthly_revenue`, `building`.`building_type` AS `building.building_type`, `building`.`year_built` AS `building.year_built`, `building`.`total_area` AS `building.total_area`, `building`.`elevators` AS `building.elevators`, `building`.`security_features` AS `building.security_features`, `building`.`contact_person` AS `building.contact_person`, `building`.`contact_phone` AS `building.contact_phone`, `building`.`created_at` AS `building.createdAt`, `building`.`updated_at` AS `building.updatedAt`, `floor`.`id` AS `floor.id`, `floor`.`building_id` AS `floor.building_id`, `floor`.`floor_number` AS `floor.floor_number`, `floor`.`total_rooms` AS `floor.total_rooms`, `floor`.`occupied_rooms` AS `floor.occupied_rooms`, `floor`.`floor_type` AS `floor.floor_type`, `floor`.`amenities` AS `floor.amenities`, `floor`.`maintenance_status` AS `floor.maintenance_status`, `floor`.`last_inspection` AS `floor.last_inspection`, `floor`.`notes` AS `floor.notes`, `floor`.`created_at` AS `floor.createdAt`, `floor`.`updated_at` AS `floor.updatedAt`, `beds`.`id` AS `beds.id`, `beds`.`building_id` AS `beds.building_id`, `beds`.`floor_id` AS `beds.floor_id`, `beds`.`room_id` AS `beds.room_id`, `beds`.`bed_number` AS `beds.bed_number`, `beds`.`is_occupied` AS `beds.is_occupied`, `beds`.`monthly_rent` AS `beds.monthly_rent`, `beds`.`status` AS `beds.status`, `beds`.`bed_type` AS `beds.bed_type`, `beds`.`last_cleaned` AS `beds.last_cleaned`, `beds`.`notes` AS `beds.notes`, `beds`.`reserved_until` AS `beds.reserved_until`, `beds`.`maintenance_scheduled` AS `beds.maintenance_scheduled`, `beds`.`created_at` AS `beds.createdAt`, `beds`.`updated_at` AS `beds.updatedAt`, `beds->renter`.`id` AS `beds.renter.id`, `beds->renter`.`name` AS `beds.renter.name`, `beds->renter`.`email` AS `beds.renter.email`, `beds->renter`.`phone` AS `beds.renter.phone`, `beds->renter`.`alternate_phone` AS `beds.renter.alternate_phone`, `beds->renter`.`nid` AS `beds.renter.nid`, `beds->renter`.`building_id` AS `beds.renter.building_id`, `beds->renter`.`floor_id` AS `beds.renter.floor_id`, `beds->renter`.`room_id` AS `beds.renter.room_id`, `beds->renter`.`bed_id` AS `beds.renter.bed_id`, `beds->renter`.`rent_amount` AS `beds.renter.rent_amount`, `beds->renter`.`security_deposit` AS `beds.renter.security_deposit`, `beds->renter`.`check_in_date` AS `beds.renter.check_in_date`, `beds->renter`.`check_out_date` AS `beds.renter.check_out_date`, `beds->renter`.`lease_start_date` AS `beds.renter.lease_start_date`, `beds->renter`.`lease_end_date` AS `beds.renter.lease_end_date`, `beds->renter`.`status` AS `beds.renter.status`, `beds->renter`.`emergency_contact` AS `beds.renter.emergency_contact`, `beds->renter`.`emergency_relation` AS `beds.renter.emergency_relation`, `beds->renter`.`profile_photo` AS `beds.renter.profile_photo`, `beds->renter`.`occupation` AS `beds.renter.occupation`, `beds->renter`.`company` AS `beds.renter.company`, `beds->renter`.`monthly_income` AS `beds.renter.monthly_income`, `beds->renter`.`previous_address` AS `beds.renter.previous_address`, `beds->renter`.`references` AS `beds.renter.references`, `beds->renter`.`notice_period` AS `beds.renter.notice_period`, `beds->renter`.`preferences` AS `beds.renter.preferences`, `beds->renter`.`payment_history` AS `beds.renter.payment_history`, `beds->renter`.`created_at` AS `beds.renter.createdAt`, `beds->renter`.`updated_at` AS `beds.renter.updatedAt` FROM `Room` AS `Room` LEFT OUTER JOIN `Building` AS `building` ON `Room`.`building_id` = `building`.`id` LEFT OUTER JOIN `Floor` AS `floor` ON `Room`.`floor_id` = `floor`.`id` LEFT OUTER JOIN `Bed` AS `beds` ON `Room`.`id` = `beds`.`room_id` LEFT OUTER JOIN `Renter` AS `beds->renter` ON `beds`.`id` = `beds->renter`.`bed_id`; Executing (default): SELECT `Bed`.`id`, `Bed`.`building_id`, `Bed`.`floor_id`, `Bed`.`room_id`, `Bed`.`bed_number`, `Bed`.`is_occupied`, `Bed`.`monthly_rent`, `Bed`.`status`, `Bed`.`bed_type`, `Bed`.`last_cleaned`, `Bed`.`notes`, `Bed`.`reserved_until`, `Bed`.`maintenance_scheduled`, `Bed`.`created_at` AS `createdAt`, `Bed`.`updated_at` AS `updatedAt`, `renter`.`id` AS `renter.id`, `renter`.`name` AS `renter.name`, `renter`.`email` AS `renter.email`, `renter`.`phone` AS `renter.phone`, `renter`.`alternate_phone` AS `renter.alternate_phone`, `renter`.`nid` AS `renter.nid`, `renter`.`building_id` AS `renter.building_id`, `renter`.`floor_id` AS `renter.floor_id`, `renter`.`room_id` AS `renter.room_id`, `renter`.`bed_id` AS `renter.bed_id`, `renter`.`rent_amount` AS `renter.rent_amount`, `renter`.`security_deposit` AS `renter.security_deposit`, `renter`.`check_in_date` AS `renter.check_in_date`, `renter`.`check_out_date` AS `renter.check_out_date`, `renter`.`lease_start_date` AS `renter.lease_start_date`, `renter`.`lease_end_date` AS `renter.lease_end_date`, `renter`.`status` AS `renter.status`, `renter`.`emergency_contact` AS `renter.emergency_contact`, `renter`.`emergency_relation` AS `renter.emergency_relation`, `renter`.`profile_photo` AS `renter.profile_photo`, `renter`.`occupation` AS `renter.occupation`, `renter`.`company` AS `renter.company`, `renter`.`monthly_income` AS `renter.monthly_income`, `renter`.`previous_address` AS `renter.previous_address`, `renter`.`references` AS `renter.references`, `renter`.`notice_period` AS `renter.notice_period`, `renter`.`preferences` AS `renter.preferences`, `renter`.`payment_history` AS `renter.payment_history`, `renter`.`created_at` AS `renter.createdAt`, `renter`.`updated_at` AS `renter.updatedAt`, `room`.`id` AS `room.id`, `room`.`building_id` AS `room.building_id`, `room`.`floor_id` AS `room.floor_id`, `room`.`room_number` AS `room.room_number`, `room`.`total_beds` AS `room.total_beds`, `room`.`occupied_beds` AS `room.occupied_beds`, `room`.`rent_per_bed` AS `room.rent_per_bed`, `room`.`facilities` AS `room.facilities`, `room`.`room_type` AS `room.room_type`, `room`.`area` AS `room.area`, `room`.`has_balcony` AS `room.has_balcony`, `room`.`has_attached_bathroom` AS `room.has_attached_bathroom`, `room`.`furnishing_status` AS `room.furnishing_status`, `room`.`condition` AS `room.condition`, `room`.`last_cleaned` AS `room.last_cleaned`, `room`.`security_deposit` AS `room.security_deposit`, `room`.`available_from` AS `room.available_from`, `room`.`created_at` AS `room.createdAt`, `room`.`updated_at` AS `room.updatedAt`, `room->floor`.`id` AS `room.floor.id`, `room->floor`.`building_id` AS `room.floor.building_id`, `room->floor`.`floor_number` AS `room.floor.floor_number`, `room->floor`.`total_rooms` AS `room.floor.total_rooms`, `room->floor`.`occupied_rooms` AS `room.floor.occupied_rooms`, `room->floor`.`floor_type` AS `room.floor.floor_type`, `room->floor`.`amenities` AS `room.floor.amenities`, `room->floor`.`maintenance_status` AS `room.floor.maintenance_status`, `room->floor`.`last_inspection` AS `room.floor.last_inspection`, `room->floor`.`notes` AS `room.floor.notes`, `room->floor`.`created_at` AS `room.floor.createdAt`, `room->floor`.`updated_at` AS `room.floor.updatedAt`, `room->floor->building`.`id` AS `room.floor.building.id`, `room->floor->building`.`name` AS `room.floor.building.name`, `room->floor->building`.`address` AS `room.floor.building.address`, `room->floor->building`.`floors` AS `room.floor.building.floors`, `room->floor->building`.`total_rooms` AS `room.floor.building.total_rooms`, `room->floor->building`.`total_beds` AS `room.floor.building.total_beds`, `room->floor->building`.`parking_spaces` AS `room.floor.building.parking_spaces`, `room->floor->building`.`occupied_beds` AS `room.floor.building.occupied_beds`, `room->floor->building`.`manager` AS `room.floor.building.manager`, `room->floor->building`.`amenities` AS `room.floor.building.amenities`, `room->floor->building`.`monthly_revenue` AS `room.floor.building.monthly_revenue`, `room->floor->building`.`building_type` AS `room.floor.building.building_type`, `room->floor->building`.`year_built` AS `room.floor.building.year_built`, `room->floor->building`.`total_area` AS `room.floor.building.total_area`, `room->floor->building`.`elevators` AS `room.floor.building.elevators`, `room->floor->building`.`security_features` AS `room.floor.building.security_features`, `room->floor->building`.`contact_person` AS `room.floor.building.contact_person`, `room->floor->building`.`contact_phone` AS `room.floor.building.contact_phone`, `room->floor->building`.`created_at` AS `room.floor.building.createdAt`, `room->floor->building`.`updated_at` AS `room.floor.building.updatedAt` FROM `Bed` AS `Bed` LEFT OUTER JOIN `Renter` AS `renter` ON `Bed`.`id` = `renter`.`bed_id` LEFT OUTER JOIN `Room` AS `room` ON `Bed`.`room_id` = `room`.`id` LEFT OUTER JOIN `Floor` AS `room->floor` ON `room`.`floor_id` = `room->floor`.`id` LEFT OUTER JOIN `Building` AS `room->floor->building` ON `room->floor`.`building_id` = `room->floor->building`.`id`; Executing (default): SELECT `Renter`.`id`, `Renter`.`name`, `Renter`.`email`, `Renter`.`phone`, `Renter`.`alternate_phone`, `Renter`.`nid`, `Renter`.`building_id`, `Renter`.`floor_id`, `Renter`.`room_id`, `Renter`.`bed_id`, `Renter`.`rent_amount`, `Renter`.`security_deposit`, `Renter`.`check_in_date`, `Renter`.`check_out_date`, `Renter`.`lease_start_date`, `Renter`.`lease_end_date`, `Renter`.`status`, `Renter`.`emergency_contact`, `Renter`.`emergency_relation`, `Renter`.`profile_photo`, `Renter`.`occupation`, `Renter`.`company`, `Renter`.`monthly_income`, `Renter`.`previous_address`, `Renter`.`references`, `Renter`.`notice_period`, `Renter`.`preferences`, `Renter`.`payment_history`, `Renter`.`created_at` AS `createdAt`, `Renter`.`updated_at` AS `updatedAt`, `room`.`id` AS `room.id`, `room`.`building_id` AS `room.building_id`, `room`.`floor_id` AS `room.floor_id`, `room`.`room_number` AS `room.room_number`, `room`.`total_beds` AS `room.total_beds`, `room`.`occupied_beds` AS `room.occupied_beds`, `room`.`rent_per_bed` AS `room.rent_per_bed`, `room`.`facilities` AS `room.facilities`, `room`.`room_type` AS `room.room_type`, `room`.`area` AS `room.area`, `room`.`has_balcony` AS `room.has_balcony`, `room`.`has_attached_bathroom` AS `room.has_attached_bathroom`, `room`.`furnishing_status` AS `room.furnishing_status`, `room`.`condition` AS `room.condition`, `room`.`last_cleaned` AS `room.last_cleaned`, `room`.`security_deposit` AS `room.security_deposit`, `room`.`available_from` AS `room.available_from`, `room`.`created_at` AS `room.createdAt`, `room`.`updated_at` AS `room.updatedAt`, `documents`.`id` AS `documents.id`, `documents`.`renter_id` AS `documents.renter_id`, `documents`.`type` AS `documents.type`, `documents`.`file_name` AS `documents.file_name`, `documents`.`file_url` AS `documents.file_url`, `documents`.`file_size` AS `documents.file_size`, `documents`.`mime_type` AS `documents.mime_type`, `documents`.`description` AS `documents.description`, `documents`.`created_at` AS `documents.createdAt`, `documents`.`updated_at` AS `documents.updatedAt` FROM `Renter` AS `Renter` LEFT OUTER JOIN `Room` AS `room` ON `Renter`.`room_id` = `room`.`id` LEFT OUTER JOIN `RenterDocument` AS `documents` ON `Renter`.`id` = `documents`.`renter_id`; Executing (default): SELECT `id`, `title`, `content`, `type`, `priority`, `target_audience`, `target_ids`, `building_id`, `floor_id`, `created_by`, `expiry_date`, `is_active`, `read_by`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `Notice` AS `Notice`; Executing (default): SELECT `id`, `name`, `value`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `Settings` AS `Settings`; Executing (default): SELECT `id`, `name`, `email`, `password`, `role`, `permissions`, `department`, `phone`, `avatar`, `is_active`, `last_login`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `User` AS `User` WHERE `User`.`id` = '8cc00eb8-378e-4f89-8141-f87aa35fd51d'; Executing (default): SELECT `id`, `renter_id`, `amount`, `due_date`, `paid_date`, `status`, `month`, `year`, `payment_method`, `transaction_id`, `late_fee`, `discount`, `notes`, `receipt_number`, `collected_by`, `renter_name` AS `renterName`, `room_number`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `RentPayment` AS `RentPayment`; Executing (default): SELECT `id`, `name`, `email`, `password`, `role`, `permissions`, `department`, `phone`, `avatar`, `is_active`, `last_login`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `User` AS `User` WHERE `User`.`id` = '8cc00eb8-378e-4f89-8141-f87aa35fd51d'; Executing (default): SELECT `id`, `name`, `email`, `password`, `role`, `permissions`, `department`, `phone`, `avatar`, `is_active`, `last_login`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `User` AS `User` WHERE `User`.`id` = '8cc00eb8-378e-4f89-8141-f87aa35fd51d'; Executing (default): SELECT `id`, `building_id`, `floor_id`, `room_id`, `bed_id`, `type`, `category`, `description`, `priority`, `status`, `assigned_to`, `cost`, `estimated_cost`, `scheduled_date`, `completed_date`, `notes`, `images`, `warranty`, `next_maintenance_date`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `Maintenance` AS `Maintenance`; Executing (default): SELECT `id`, `building_id`, `floor_id`, `category`, `subcategory`, `description`, `amount`, `date`, `vendor`, `receipt`, `approved_by`, `payment_method`, `is_recurring`, `recurring_frequency`, `budget_category`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `Expense` AS `Expense`; Executing (default): SELECT `id`, `visitor_name`, `visitor_phone`, `visiting_renter_id`, `check_in_time`, `check_out_time`, `purpose`, `approved_by`, `id_verified`, `vehicle_number`, `notes`, `visiting_renter_name`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `Visitor` AS `Visitor`; Executing (default): SELECT `id`, `name`, `email`, `password`, `role`, `permissions`, `department`, `phone`, `avatar`, `is_active`, `last_login`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `User` AS `User` WHERE `User`.`id` = '8cc00eb8-378e-4f89-8141-f87aa35fd51d'; Executing (default): SELECT `id`, `name`, `email`, `role`, `permissions`, `department`, `phone`, `avatar`, `is_active`, `last_login`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `User` AS `User` WHERE `User`.`id` = '8cc00eb8-378e-4f89-8141-f87aa35fd51d'; Executing (default): SELECT `id`, `name`, `email`, `password`, `role`, `permissions`, `department`, `phone`, `avatar`, `is_active`, `last_login`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `User` AS `User` WHERE `User`.`email` = 'admin@demo.com' AND `User`.`is_active` = true; Executing (default): UPDATE `User` SET `last_login`=?,`updated_at`=? WHERE `id` = ? Executing (default): SELECT `Renter`.`id`, `Renter`.`name`, `Renter`.`email`, `Renter`.`phone`, `Renter`.`alternate_phone`, `Renter`.`nid`, `Renter`.`building_id`, `Renter`.`floor_id`, `Renter`.`room_id`, `Renter`.`bed_id`, `Renter`.`rent_amount`, `Renter`.`security_deposit`, `Renter`.`check_in_date`, `Renter`.`check_out_date`, `Renter`.`lease_start_date`, `Renter`.`lease_end_date`, `Renter`.`status`, `Renter`.`emergency_contact`, `Renter`.`emergency_relation`, `Renter`.`profile_photo`, `Renter`.`occupation`, `Renter`.`company`, `Renter`.`monthly_income`, `Renter`.`previous_address`, `Renter`.`references`, `Renter`.`notice_period`, `Renter`.`preferences`, `Renter`.`payment_history`, `Renter`.`created_at` AS `createdAt`, `Renter`.`updated_at` AS `updatedAt`, `room`.`id` AS `room.id`, `room`.`building_id` AS `room.building_id`, `room`.`floor_id` AS `room.floor_id`, `room`.`room_number` AS `room.room_number`, `room`.`total_beds` AS `room.total_beds`, `room`.`occupied_beds` AS `room.occupied_beds`, `room`.`rent_per_bed` AS `room.rent_per_bed`, `room`.`facilities` AS `room.facilities`, `room`.`room_type` AS `room.room_type`, `room`.`area` AS `room.area`, `room`.`has_balcony` AS `room.has_balcony`, `room`.`has_attached_bathroom` AS `room.has_attached_bathroom`, `room`.`furnishing_status` AS `room.furnishing_status`, `room`.`condition` AS `room.condition`, `room`.`last_cleaned` AS `room.last_cleaned`, `room`.`security_deposit` AS `room.security_deposit`, `room`.`available_from` AS `room.available_from`, `room`.`created_at` AS `room.createdAt`, `room`.`updated_at` AS `room.updatedAt`, `documents`.`id` AS `documents.id`, `documents`.`renter_id` AS `documents.renter_id`, `documents`.`type` AS `documents.type`, `documents`.`file_name` AS `documents.file_name`, `documents`.`file_url` AS `documents.file_url`, `documents`.`file_size` AS `documents.file_size`, `documents`.`mime_type` AS `documents.mime_type`, `documents`.`description` AS `documents.description`, `documents`.`created_at` AS `documents.createdAt`, `documents`.`updated_at` AS `documents.updatedAt` FROM `Renter` AS `Renter` LEFT OUTER JOIN `Room` AS `room` ON `Renter`.`room_id` = `room`.`id` LEFT OUTER JOIN `RenterDocument` AS `documents` ON `Renter`.`id` = `documents`.`renter_id`; Executing (default): SELECT `id`, `title`, `content`, `type`, `priority`, `target_audience`, `target_ids`, `building_id`, `floor_id`, `created_by`, `expiry_date`, `is_active`, `read_by`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `Notice` AS `Notice`; Executing (default): SELECT `id`, `visitor_name`, `visitor_phone`, `visiting_renter_id`, `check_in_time`, `check_out_time`, `purpose`, `approved_by`, `id_verified`, `vehicle_number`, `notes`, `visiting_renter_name`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `Visitor` AS `Visitor`; Executing (default): SELECT `id`, `name`, `value`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `Settings` AS `Settings`; Executing (default): SELECT `id`, `title`, `content`, `type`, `priority`, `target_audience`, `target_ids`, `building_id`, `floor_id`, `created_by`, `expiry_date`, `is_active`, `read_by`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `Notice` AS `Notice`; Executing (default): SELECT `id`, `visitor_name`, `visitor_phone`, `visiting_renter_id`, `check_in_time`, `check_out_time`, `purpose`, `approved_by`, `id_verified`, `vehicle_number`, `notes`, `visiting_renter_name`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `Visitor` AS `Visitor`; Executing (default): SELECT `id`, `name`, `value`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `Settings` AS `Settings`; Executing (default): SELECT `Renter`.`id`, `Renter`.`name`, `Renter`.`email`, `Renter`.`phone`, `Renter`.`alternate_phone`, `Renter`.`nid`, `Renter`.`building_id`, `Renter`.`floor_id`, `Renter`.`room_id`, `Renter`.`bed_id`, `Renter`.`rent_amount`, `Renter`.`security_deposit`, `Renter`.`check_in_date`, `Renter`.`check_out_date`, `Renter`.`lease_start_date`, `Renter`.`lease_end_date`, `Renter`.`status`, `Renter`.`emergency_contact`, `Renter`.`emergency_relation`, `Renter`.`profile_photo`, `Renter`.`occupation`, `Renter`.`company`, `Renter`.`monthly_income`, `Renter`.`previous_address`, `Renter`.`references`, `Renter`.`notice_period`, `Renter`.`preferences`, `Renter`.`payment_history`, `Renter`.`created_at` AS `createdAt`, `Renter`.`updated_at` AS `updatedAt`, `room`.`id` AS `room.id`, `room`.`building_id` AS `room.building_id`, `room`.`floor_id` AS `room.floor_id`, `room`.`room_number` AS `room.room_number`, `room`.`total_beds` AS `room.total_beds`, `room`.`occupied_beds` AS `room.occupied_beds`, `room`.`rent_per_bed` AS `room.rent_per_bed`, `room`.`facilities` AS `room.facilities`, `room`.`room_type` AS `room.room_type`, `room`.`area` AS `room.area`, `room`.`has_balcony` AS `room.has_balcony`, `room`.`has_attached_bathroom` AS `room.has_attached_bathroom`, `room`.`furnishing_status` AS `room.furnishing_status`, `room`.`condition` AS `room.condition`, `room`.`last_cleaned` AS `room.last_cleaned`, `room`.`security_deposit` AS `room.security_deposit`, `room`.`available_from` AS `room.available_from`, `room`.`created_at` AS `room.createdAt`, `room`.`updated_at` AS `room.updatedAt`, `documents`.`id` AS `documents.id`, `documents`.`renter_id` AS `documents.renter_id`, `documents`.`type` AS `documents.type`, `documents`.`file_name` AS `documents.file_name`, `documents`.`file_url` AS `documents.file_url`, `documents`.`file_size` AS `documents.file_size`, `documents`.`mime_type` AS `documents.mime_type`, `documents`.`description` AS `documents.description`, `documents`.`created_at` AS `documents.createdAt`, `documents`.`updated_at` AS `documents.updatedAt` FROM `Renter` AS `Renter` LEFT OUTER JOIN `Room` AS `room` ON `Renter`.`room_id` = `room`.`id` LEFT OUTER JOIN `RenterDocument` AS `documents` ON `Renter`.`id` = `documents`.`renter_id`; Executing (default): SELECT `id`, `name`, `email`, `password`, `role`, `permissions`, `department`, `phone`, `avatar`, `is_active`, `last_login`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `User` AS `User` WHERE `User`.`email` = 'admin@demo.com' AND `User`.`is_active` = true; Executing (default): UPDATE `User` SET `last_login`=?,`updated_at`=? WHERE `id` = ? Executing (default): SELECT `id`, `name`, `email`, `password`, `role`, `permissions`, `department`, `phone`, `avatar`, `is_active`, `last_login`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `User` AS `User` WHERE `User`.`email` = 'admin@demo.com' AND `User`.`is_active` = true; Executing (default): UPDATE `User` SET `last_login`=?,`updated_at`=? WHERE `id` = ? Executing (default): SELECT `Renter`.`id`, `Renter`.`name`, `Renter`.`email`, `Renter`.`phone`, `Renter`.`alternate_phone`, `Renter`.`nid`, `Renter`.`building_id`, `Renter`.`floor_id`, `Renter`.`room_id`, `Renter`.`bed_id`, `Renter`.`rent_amount`, `Renter`.`security_deposit`, `Renter`.`check_in_date`, `Renter`.`check_out_date`, `Renter`.`lease_start_date`, `Renter`.`lease_end_date`, `Renter`.`status`, `Renter`.`emergency_contact`, `Renter`.`emergency_relation`, `Renter`.`profile_photo`, `Renter`.`occupation`, `Renter`.`company`, `Renter`.`monthly_income`, `Renter`.`previous_address`, `Renter`.`references`, `Renter`.`notice_period`, `Renter`.`preferences`, `Renter`.`payment_history`, `Renter`.`created_at` AS `createdAt`, `Renter`.`updated_at` AS `updatedAt`, `room`.`id` AS `room.id`, `room`.`building_id` AS `room.building_id`, `room`.`floor_id` AS `room.floor_id`, `room`.`room_number` AS `room.room_number`, `room`.`total_beds` AS `room.total_beds`, `room`.`occupied_beds` AS `room.occupied_beds`, `room`.`rent_per_bed` AS `room.rent_per_bed`, `room`.`facilities` AS `room.facilities`, `room`.`room_type` AS `room.room_type`, `room`.`area` AS `room.area`, `room`.`has_balcony` AS `room.has_balcony`, `room`.`has_attached_bathroom` AS `room.has_attached_bathroom`, `room`.`furnishing_status` AS `room.furnishing_status`, `room`.`condition` AS `room.condition`, `room`.`last_cleaned` AS `room.last_cleaned`, `room`.`security_deposit` AS `room.security_deposit`, `room`.`available_from` AS `room.available_from`, `room`.`created_at` AS `room.createdAt`, `room`.`updated_at` AS `room.updatedAt`, `documents`.`id` AS `documents.id`, `documents`.`renter_id` AS `documents.renter_id`, `documents`.`type` AS `documents.type`, `documents`.`file_name` AS `documents.file_name`, `documents`.`file_url` AS `documents.file_url`, `documents`.`file_size` AS `documents.file_size`, `documents`.`mime_type` AS `documents.mime_type`, `documents`.`description` AS `documents.description`, `documents`.`created_at` AS `documents.createdAt`, `documents`.`updated_at` AS `documents.updatedAt` FROM `Renter` AS `Renter` LEFT OUTER JOIN `Room` AS `room` ON `Renter`.`room_id` = `room`.`id` LEFT OUTER JOIN `RenterDocument` AS `documents` ON `Renter`.`id` = `documents`.`renter_id`; Executing (default): SELECT `id`, `title`, `content`, `type`, `priority`, `target_audience`, `target_ids`, `building_id`, `floor_id`, `created_by`, `expiry_date`, `is_active`, `read_by`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `Notice` AS `Notice`; Executing (default): SELECT `id`, `visitor_name`, `visitor_phone`, `visiting_renter_id`, `check_in_time`, `check_out_time`, `purpose`, `approved_by`, `id_verified`, `vehicle_number`, `notes`, `visiting_renter_name`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `Visitor` AS `Visitor`; Executing (default): SELECT `id`, `name`, `value`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `Settings` AS `Settings`; Executing (default): SELECT `Renter`.`id`, `Renter`.`name`, `Renter`.`email`, `Renter`.`phone`, `Renter`.`alternate_phone`, `Renter`.`nid`, `Renter`.`building_id`, `Renter`.`floor_id`, `Renter`.`room_id`, `Renter`.`bed_id`, `Renter`.`rent_amount`, `Renter`.`security_deposit`, `Renter`.`check_in_date`, `Renter`.`check_out_date`, `Renter`.`lease_start_date`, `Renter`.`lease_end_date`, `Renter`.`status`, `Renter`.`emergency_contact`, `Renter`.`emergency_relation`, `Renter`.`profile_photo`, `Renter`.`occupation`, `Renter`.`company`, `Renter`.`monthly_income`, `Renter`.`previous_address`, `Renter`.`references`, `Renter`.`notice_period`, `Renter`.`preferences`, `Renter`.`payment_history`, `Renter`.`created_at` AS `createdAt`, `Renter`.`updated_at` AS `updatedAt`, `room`.`id` AS `room.id`, `room`.`building_id` AS `room.building_id`, `room`.`floor_id` AS `room.floor_id`, `room`.`room_number` AS `room.room_number`, `room`.`total_beds` AS `room.total_beds`, `room`.`occupied_beds` AS `room.occupied_beds`, `room`.`rent_per_bed` AS `room.rent_per_bed`, `room`.`facilities` AS `room.facilities`, `room`.`room_type` AS `room.room_type`, `room`.`area` AS `room.area`, `room`.`has_balcony` AS `room.has_balcony`, `room`.`has_attached_bathroom` AS `room.has_attached_bathroom`, `room`.`furnishing_status` AS `room.furnishing_status`, `room`.`condition` AS `room.condition`, `room`.`last_cleaned` AS `room.last_cleaned`, `room`.`security_deposit` AS `room.security_deposit`, `room`.`available_from` AS `room.available_from`, `room`.`created_at` AS `room.createdAt`, `room`.`updated_at` AS `room.updatedAt`, `documents`.`id` AS `documents.id`, `documents`.`renter_id` AS `documents.renter_id`, `documents`.`type` AS `documents.type`, `documents`.`file_name` AS `documents.file_name`, `documents`.`file_url` AS `documents.file_url`, `documents`.`file_size` AS `documents.file_size`, `documents`.`mime_type` AS `documents.mime_type`, `documents`.`description` AS `documents.description`, `documents`.`created_at` AS `documents.createdAt`, `documents`.`updated_at` AS `documents.updatedAt` FROM `Renter` AS `Renter` LEFT OUTER JOIN `Room` AS `room` ON `Renter`.`room_id` = `room`.`id` LEFT OUTER JOIN `RenterDocument` AS `documents` ON `Renter`.`id` = `documents`.`renter_id`; Executing (default): SELECT `id`, `title`, `content`, `type`, `priority`, `target_audience`, `target_ids`, `building_id`, `floor_id`, `created_by`, `expiry_date`, `is_active`, `read_by`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `Notice` AS `Notice`; Executing (default): SELECT `id`, `visitor_name`, `visitor_phone`, `visiting_renter_id`, `check_in_time`, `check_out_time`, `purpose`, `approved_by`, `id_verified`, `vehicle_number`, `notes`, `visiting_renter_name`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `Visitor` AS `Visitor`; Executing (default): SELECT `id`, `name`, `value`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `Settings` AS `Settings`; Executing (default): SELECT `id`, `name`, `email`, `password`, `role`, `permissions`, `department`, `phone`, `avatar`, `is_active`, `last_login`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `User` AS `User` WHERE `User`.`id` = '8cc00eb8-378e-4f89-8141-f87aa35fd51d'; Executing (default): SELECT `id`, `name`, `email`, `role`, `permissions`, `department`, `phone`, `avatar`, `is_active`, `last_login`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `User` AS `User` WHERE `User`.`id` = '8cc00eb8-378e-4f89-8141-f87aa35fd51d'; Executing (default): SELECT `id`, `name`, `email`, `password`, `role`, `permissions`, `department`, `phone`, `avatar`, `is_active`, `last_login`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `User` AS `User` WHERE `User`.`id` = '8cc00eb8-378e-4f89-8141-f87aa35fd51d'; Executing (default): SELECT `id`, `name`, `email`, `role`, `permissions`, `department`, `phone`, `avatar`, `is_active`, `last_login`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `User` AS `User` WHERE `User`.`id` = '8cc00eb8-378e-4f89-8141-f87aa35fd51d'; Executing (default): SELECT `id`, `name`, `email`, `password`, `role`, `permissions`, `department`, `phone`, `avatar`, `is_active`, `last_login`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `User` AS `User` WHERE `User`.`id` = '8cc00eb8-378e-4f89-8141-f87aa35fd51d'; Executing (default): SELECT `Building`.`id`, `Building`.`name`, `Building`.`address`, `Building`.`floors`, `Building`.`total_rooms`, `Building`.`total_beds`, `Building`.`parking_spaces`, `Building`.`occupied_beds`, `Building`.`manager`, `Building`.`amenities`, `Building`.`monthly_revenue`, `Building`.`building_type`, `Building`.`year_built`, `Building`.`total_area`, `Building`.`elevators`, `Building`.`security_features`, `Building`.`contact_person`, `Building`.`contact_phone`, `Building`.`created_at` AS `createdAt`, `Building`.`updated_at` AS `updatedAt`, `buildingFloors`.`id` AS `buildingFloors.id`, `buildingFloors`.`building_id` AS `buildingFloors.building_id`, `buildingFloors`.`floor_number` AS `buildingFloors.floor_number`, `buildingFloors`.`total_rooms` AS `buildingFloors.total_rooms`, `buildingFloors`.`occupied_rooms` AS `buildingFloors.occupied_rooms`, `buildingFloors`.`floor_type` AS `buildingFloors.floor_type`, `buildingFloors`.`amenities` AS `buildingFloors.amenities`, `buildingFloors`.`maintenance_status` AS `buildingFloors.maintenance_status`, `buildingFloors`.`last_inspection` AS `buildingFloors.last_inspection`, `buildingFloors`.`notes` AS `buildingFloors.notes`, `buildingFloors`.`created_at` AS `buildingFloors.createdAt`, `buildingFloors`.`updated_at` AS `buildingFloors.updatedAt`, `buildingFloors->rooms`.`id` AS `buildingFloors.rooms.id`, `buildingFloors->rooms`.`building_id` AS `buildingFloors.rooms.building_id`, `buildingFloors->rooms`.`floor_id` AS `buildingFloors.rooms.floor_id`, `buildingFloors->rooms`.`room_number` AS `buildingFloors.rooms.room_number`, `buildingFloors->rooms`.`total_beds` AS `buildingFloors.rooms.total_beds`, `buildingFloors->rooms`.`occupied_beds` AS `buildingFloors.rooms.occupied_beds`, `buildingFloors->rooms`.`rent_per_bed` AS `buildingFloors.rooms.rent_per_bed`, `buildingFloors->rooms`.`facilities` AS `buildingFloors.rooms.facilities`, `buildingFloors->rooms`.`room_type` AS `buildingFloors.rooms.room_type`, `buildingFloors->rooms`.`area` AS `buildingFloors.rooms.area`, `buildingFloors->rooms`.`has_balcony` AS `buildingFloors.rooms.has_balcony`, `buildingFloors->rooms`.`has_attached_bathroom` AS `buildingFloors.rooms.has_attached_bathroom`, `buildingFloors->rooms`.`furnishing_status` AS `buildingFloors.rooms.furnishing_status`, `buildingFloors->rooms`.`condition` AS `buildingFloors.rooms.condition`, `buildingFloors->rooms`.`last_cleaned` AS `buildingFloors.rooms.last_cleaned`, `buildingFloors->rooms`.`security_deposit` AS `buildingFloors.rooms.security_deposit`, `buildingFloors->rooms`.`available_from` AS `buildingFloors.rooms.available_from`, `buildingFloors->rooms`.`created_at` AS `buildingFloors.rooms.createdAt`, `buildingFloors->rooms`.`updated_at` AS `buildingFloors.rooms.updatedAt`, `buildingFloors->rooms->beds`.`id` AS `buildingFloors.rooms.beds.id`, `buildingFloors->rooms->beds`.`building_id` AS `buildingFloors.rooms.beds.building_id`, `buildingFloors->rooms->beds`.`floor_id` AS `buildingFloors.rooms.beds.floor_id`, `buildingFloors->rooms->beds`.`room_id` AS `buildingFloors.rooms.beds.room_id`, `buildingFloors->rooms->beds`.`bed_number` AS `buildingFloors.rooms.beds.bed_number`, `buildingFloors->rooms->beds`.`is_occupied` AS `buildingFloors.rooms.beds.is_occupied`, `buildingFloors->rooms->beds`.`monthly_rent` AS `buildingFloors.rooms.beds.monthly_rent`, `buildingFloors->rooms->beds`.`status` AS `buildingFloors.rooms.beds.status`, `buildingFloors->rooms->beds`.`bed_type` AS `buildingFloors.rooms.beds.bed_type`, `buildingFloors->rooms->beds`.`last_cleaned` AS `buildingFloors.rooms.beds.last_cleaned`, `buildingFloors->rooms->beds`.`notes` AS `buildingFloors.rooms.beds.notes`, `buildingFloors->rooms->beds`.`reserved_until` AS `buildingFloors.rooms.beds.reserved_until`, `buildingFloors->rooms->beds`.`maintenance_scheduled` AS `buildingFloors.rooms.beds.maintenance_scheduled`, `buildingFloors->rooms->beds`.`created_at` AS `buildingFloors.rooms.beds.createdAt`, `buildingFloors->rooms->beds`.`updated_at` AS `buildingFloors.rooms.beds.updatedAt`, `buildingFloors->rooms->beds->renter`.`id` AS `buildingFloors.rooms.beds.renter.id`, `buildingFloors->rooms->beds->renter`.`name` AS `buildingFloors.rooms.beds.renter.name`, `buildingFloors->rooms->beds->renter`.`email` AS `buildingFloors.rooms.beds.renter.email`, `buildingFloors->rooms->beds->renter`.`phone` AS `buildingFloors.rooms.beds.renter.phone`, `buildingFloors->rooms->beds->renter`.`alternate_phone` AS `buildingFloors.rooms.beds.renter.alternate_phone`, `buildingFloors->rooms->beds->renter`.`nid` AS `buildingFloors.rooms.beds.renter.nid`, `buildingFloors->rooms->beds->renter`.`building_id` AS `buildingFloors.rooms.beds.renter.building_id`, `buildingFloors->rooms->beds->renter`.`floor_id` AS `buildingFloors.rooms.beds.renter.floor_id`, `buildingFloors->rooms->beds->renter`.`room_id` AS `buildingFloors.rooms.beds.renter.room_id`, `buildingFloors->rooms->beds->renter`.`bed_id` AS `buildingFloors.rooms.beds.renter.bed_id`, `buildingFloors->rooms->beds->renter`.`rent_amount` AS `buildingFloors.rooms.beds.renter.rent_amount`, `buildingFloors->rooms->beds->renter`.`security_deposit` AS `buildingFloors.rooms.beds.renter.security_deposit`, `buildingFloors->rooms->beds->renter`.`check_in_date` AS `buildingFloors.rooms.beds.renter.check_in_date`, `buildingFloors->rooms->beds->renter`.`check_out_date` AS `buildingFloors.rooms.beds.renter.check_out_date`, `buildingFloors->rooms->beds->renter`.`lease_start_date` AS `buildingFloors.rooms.beds.renter.lease_start_date`, `buildingFloors->rooms->beds->renter`.`lease_end_date` AS `buildingFloors.rooms.beds.renter.lease_end_date`, `buildingFloors->rooms->beds->renter`.`status` AS `buildingFloors.rooms.beds.renter.status`, `buildingFloors->rooms->beds->renter`.`emergency_contact` AS `buildingFloors.rooms.beds.renter.emergency_contact`, `buildingFloors->rooms->beds->renter`.`emergency_relation` AS `buildingFloors.rooms.beds.renter.emergency_relation`, `buildingFloors->rooms->beds->renter`.`profile_photo` AS `buildingFloors.rooms.beds.renter.profile_photo`, `buildingFloors->rooms->beds->renter`.`occupation` AS `buildingFloors.rooms.beds.renter.occupation`, `buildingFloors->rooms->beds->renter`.`company` AS `buildingFloors.rooms.beds.renter.company`, `buildingFloors->rooms->beds->renter`.`monthly_income` AS `buildingFloors.rooms.beds.renter.monthly_income`, `buildingFloors->rooms->beds->renter`.`previous_address` AS `buildingFloors.rooms.beds.renter.previous_address`, `buildingFloors->rooms->beds->renter`.`references` AS `buildingFloors.rooms.beds.renter.references`, `buildingFloors->rooms->beds->renter`.`notice_period` AS `buildingFloors.rooms.beds.renter.notice_period`, `buildingFloors->rooms->beds->renter`.`preferences` AS `buildingFloors.rooms.beds.renter.preferences`, `buildingFloors->rooms->beds->renter`.`payment_history` AS `buildingFloors.rooms.beds.renter.payment_history`, `buildingFloors->rooms->beds->renter`.`created_at` AS `buildingFloors.rooms.beds.renter.createdAt`, `buildingFloors->rooms->beds->renter`.`updated_at` AS `buildingFloors.rooms.beds.renter.updatedAt` FROM `Building` AS `Building` LEFT OUTER JOIN `Floor` AS `buildingFloors` ON `Building`.`id` = `buildingFloors`.`building_id` LEFT OUTER JOIN `Room` AS `buildingFloors->rooms` ON `buildingFloors`.`id` = `buildingFloors->rooms`.`floor_id` LEFT OUTER JOIN `Bed` AS `buildingFloors->rooms->beds` ON `buildingFloors->rooms`.`id` = `buildingFloors->rooms->beds`.`room_id` LEFT OUTER JOIN `Renter` AS `buildingFloors->rooms->beds->renter` ON `buildingFloors->rooms->beds`.`id` = `buildingFloors->rooms->beds->renter`.`bed_id` ORDER BY `createdAt` DESC; Executing (default): SELECT `id`, `name`, `email`, `password`, `role`, `permissions`, `department`, `phone`, `avatar`, `is_active`, `last_login`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `User` AS `User` WHERE `User`.`id` = '8cc00eb8-378e-4f89-8141-f87aa35fd51d'; Executing (default): SELECT `Floor`.`id`, `Floor`.`building_id`, `Floor`.`floor_number`, `Floor`.`total_rooms`, `Floor`.`occupied_rooms`, `Floor`.`floor_type`, `Floor`.`amenities`, `Floor`.`maintenance_status`, `Floor`.`last_inspection`, `Floor`.`notes`, `Floor`.`created_at` AS `createdAt`, `Floor`.`updated_at` AS `updatedAt`, `rooms`.`id` AS `rooms.id`, `rooms`.`building_id` AS `rooms.building_id`, `rooms`.`floor_id` AS `rooms.floor_id`, `rooms`.`room_number` AS `rooms.room_number`, `rooms`.`total_beds` AS `rooms.total_beds`, `rooms`.`occupied_beds` AS `rooms.occupied_beds`, `rooms`.`rent_per_bed` AS `rooms.rent_per_bed`, `rooms`.`facilities` AS `rooms.facilities`, `rooms`.`room_type` AS `rooms.room_type`, `rooms`.`area` AS `rooms.area`, `rooms`.`has_balcony` AS `rooms.has_balcony`, `rooms`.`has_attached_bathroom` AS `rooms.has_attached_bathroom`, `rooms`.`furnishing_status` AS `rooms.furnishing_status`, `rooms`.`condition` AS `rooms.condition`, `rooms`.`last_cleaned` AS `rooms.last_cleaned`, `rooms`.`security_deposit` AS `rooms.security_deposit`, `rooms`.`available_from` AS `rooms.available_from`, `rooms`.`created_at` AS `rooms.createdAt`, `rooms`.`updated_at` AS `rooms.updatedAt`, `rooms->beds`.`id` AS `rooms.beds.id`, `rooms->beds`.`building_id` AS `rooms.beds.building_id`, `rooms->beds`.`floor_id` AS `rooms.beds.floor_id`, `rooms->beds`.`room_id` AS `rooms.beds.room_id`, `rooms->beds`.`bed_number` AS `rooms.beds.bed_number`, `rooms->beds`.`is_occupied` AS `rooms.beds.is_occupied`, `rooms->beds`.`monthly_rent` AS `rooms.beds.monthly_rent`, `rooms->beds`.`status` AS `rooms.beds.status`, `rooms->beds`.`bed_type` AS `rooms.beds.bed_type`, `rooms->beds`.`last_cleaned` AS `rooms.beds.last_cleaned`, `rooms->beds`.`notes` AS `rooms.beds.notes`, `rooms->beds`.`reserved_until` AS `rooms.beds.reserved_until`, `rooms->beds`.`maintenance_scheduled` AS `rooms.beds.maintenance_scheduled`, `rooms->beds`.`created_at` AS `rooms.beds.createdAt`, `rooms->beds`.`updated_at` AS `rooms.beds.updatedAt`, `rooms->beds->renter`.`id` AS `rooms.beds.renter.id`, `rooms->beds->renter`.`name` AS `rooms.beds.renter.name`, `rooms->beds->renter`.`email` AS `rooms.beds.renter.email`, `rooms->beds->renter`.`phone` AS `rooms.beds.renter.phone`, `rooms->beds->renter`.`alternate_phone` AS `rooms.beds.renter.alternate_phone`, `rooms->beds->renter`.`nid` AS `rooms.beds.renter.nid`, `rooms->beds->renter`.`building_id` AS `rooms.beds.renter.building_id`, `rooms->beds->renter`.`floor_id` AS `rooms.beds.renter.floor_id`, `rooms->beds->renter`.`room_id` AS `rooms.beds.renter.room_id`, `rooms->beds->renter`.`bed_id` AS `rooms.beds.renter.bed_id`, `rooms->beds->renter`.`rent_amount` AS `rooms.beds.renter.rent_amount`, `rooms->beds->renter`.`security_deposit` AS `rooms.beds.renter.security_deposit`, `rooms->beds->renter`.`check_in_date` AS `rooms.beds.renter.check_in_date`, `rooms->beds->renter`.`check_out_date` AS `rooms.beds.renter.check_out_date`, `rooms->beds->renter`.`lease_start_date` AS `rooms.beds.renter.lease_start_date`, `rooms->beds->renter`.`lease_end_date` AS `rooms.beds.renter.lease_end_date`, `rooms->beds->renter`.`status` AS `rooms.beds.renter.status`, `rooms->beds->renter`.`emergency_contact` AS `rooms.beds.renter.emergency_contact`, `rooms->beds->renter`.`emergency_relation` AS `rooms.beds.renter.emergency_relation`, `rooms->beds->renter`.`profile_photo` AS `rooms.beds.renter.profile_photo`, `rooms->beds->renter`.`occupation` AS `rooms.beds.renter.occupation`, `rooms->beds->renter`.`company` AS `rooms.beds.renter.company`, `rooms->beds->renter`.`monthly_income` AS `rooms.beds.renter.monthly_income`, `rooms->beds->renter`.`previous_address` AS `rooms.beds.renter.previous_address`, `rooms->beds->renter`.`references` AS `rooms.beds.renter.references`, `rooms->beds->renter`.`notice_period` AS `rooms.beds.renter.notice_period`, `rooms->beds->renter`.`preferences` AS `rooms.beds.renter.preferences`, `rooms->beds->renter`.`payment_history` AS `rooms.beds.renter.payment_history`, `rooms->beds->renter`.`created_at` AS `rooms.beds.renter.createdAt`, `rooms->beds->renter`.`updated_at` AS `rooms.beds.renter.updatedAt` FROM `Floor` AS `Floor` LEFT OUTER JOIN `Room` AS `rooms` ON `Floor`.`id` = `rooms`.`floor_id` LEFT OUTER JOIN `Bed` AS `rooms->beds` ON `rooms`.`id` = `rooms->beds`.`room_id` LEFT OUTER JOIN `Renter` AS `rooms->beds->renter` ON `rooms->beds`.`id` = `rooms->beds->renter`.`bed_id`; Executing (default): SELECT `id`, `name`, `email`, `password`, `role`, `permissions`, `department`, `phone`, `avatar`, `is_active`, `last_login`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `User` AS `User` WHERE `User`.`id` = '8cc00eb8-378e-4f89-8141-f87aa35fd51d'; Executing (default): SELECT `Room`.`id`, `Room`.`building_id`, `Room`.`floor_id`, `Room`.`room_number`, `Room`.`total_beds`, `Room`.`occupied_beds`, `Room`.`rent_per_bed`, `Room`.`facilities`, `Room`.`room_type`, `Room`.`area`, `Room`.`has_balcony`, `Room`.`has_attached_bathroom`, `Room`.`furnishing_status`, `Room`.`condition`, `Room`.`last_cleaned`, `Room`.`security_deposit`, `Room`.`available_from`, `Room`.`created_at` AS `createdAt`, `Room`.`updated_at` AS `updatedAt`, `building`.`id` AS `building.id`, `building`.`name` AS `building.name`, `building`.`address` AS `building.address`, `building`.`floors` AS `building.floors`, `building`.`total_rooms` AS `building.total_rooms`, `building`.`total_beds` AS `building.total_beds`, `building`.`parking_spaces` AS `building.parking_spaces`, `building`.`occupied_beds` AS `building.occupied_beds`, `building`.`manager` AS `building.manager`, `building`.`amenities` AS `building.amenities`, `building`.`monthly_revenue` AS `building.monthly_revenue`, `building`.`building_type` AS `building.building_type`, `building`.`year_built` AS `building.year_built`, `building`.`total_area` AS `building.total_area`, `building`.`elevators` AS `building.elevators`, `building`.`security_features` AS `building.security_features`, `building`.`contact_person` AS `building.contact_person`, `building`.`contact_phone` AS `building.contact_phone`, `building`.`created_at` AS `building.createdAt`, `building`.`updated_at` AS `building.updatedAt`, `floor`.`id` AS `floor.id`, `floor`.`building_id` AS `floor.building_id`, `floor`.`floor_number` AS `floor.floor_number`, `floor`.`total_rooms` AS `floor.total_rooms`, `floor`.`occupied_rooms` AS `floor.occupied_rooms`, `floor`.`floor_type` AS `floor.floor_type`, `floor`.`amenities` AS `floor.amenities`, `floor`.`maintenance_status` AS `floor.maintenance_status`, `floor`.`last_inspection` AS `floor.last_inspection`, `floor`.`notes` AS `floor.notes`, `floor`.`created_at` AS `floor.createdAt`, `floor`.`updated_at` AS `floor.updatedAt`, `beds`.`id` AS `beds.id`, `beds`.`building_id` AS `beds.building_id`, `beds`.`floor_id` AS `beds.floor_id`, `beds`.`room_id` AS `beds.room_id`, `beds`.`bed_number` AS `beds.bed_number`, `beds`.`is_occupied` AS `beds.is_occupied`, `beds`.`monthly_rent` AS `beds.monthly_rent`, `beds`.`status` AS `beds.status`, `beds`.`bed_type` AS `beds.bed_type`, `beds`.`last_cleaned` AS `beds.last_cleaned`, `beds`.`notes` AS `beds.notes`, `beds`.`reserved_until` AS `beds.reserved_until`, `beds`.`maintenance_scheduled` AS `beds.maintenance_scheduled`, `beds`.`created_at` AS `beds.createdAt`, `beds`.`updated_at` AS `beds.updatedAt`, `beds->renter`.`id` AS `beds.renter.id`, `beds->renter`.`name` AS `beds.renter.name`, `beds->renter`.`email` AS `beds.renter.email`, `beds->renter`.`phone` AS `beds.renter.phone`, `beds->renter`.`alternate_phone` AS `beds.renter.alternate_phone`, `beds->renter`.`nid` AS `beds.renter.nid`, `beds->renter`.`building_id` AS `beds.renter.building_id`, `beds->renter`.`floor_id` AS `beds.renter.floor_id`, `beds->renter`.`room_id` AS `beds.renter.room_id`, `beds->renter`.`bed_id` AS `beds.renter.bed_id`, `beds->renter`.`rent_amount` AS `beds.renter.rent_amount`, `beds->renter`.`security_deposit` AS `beds.renter.security_deposit`, `beds->renter`.`check_in_date` AS `beds.renter.check_in_date`, `beds->renter`.`check_out_date` AS `beds.renter.check_out_date`, `beds->renter`.`lease_start_date` AS `beds.renter.lease_start_date`, `beds->renter`.`lease_end_date` AS `beds.renter.lease_end_date`, `beds->renter`.`status` AS `beds.renter.status`, `beds->renter`.`emergency_contact` AS `beds.renter.emergency_contact`, `beds->renter`.`emergency_relation` AS `beds.renter.emergency_relation`, `beds->renter`.`profile_photo` AS `beds.renter.profile_photo`, `beds->renter`.`occupation` AS `beds.renter.occupation`, `beds->renter`.`company` AS `beds.renter.company`, `beds->renter`.`monthly_income` AS `beds.renter.monthly_income`, `beds->renter`.`previous_address` AS `beds.renter.previous_address`, `beds->renter`.`references` AS `beds.renter.references`, `beds->renter`.`notice_period` AS `beds.renter.notice_period`, `beds->renter`.`preferences` AS `beds.renter.preferences`, `beds->renter`.`payment_history` AS `beds.renter.payment_history`, `beds->renter`.`created_at` AS `beds.renter.createdAt`, `beds->renter`.`updated_at` AS `beds.renter.updatedAt` FROM `Room` AS `Room` LEFT OUTER JOIN `Building` AS `building` ON `Room`.`building_id` = `building`.`id` LEFT OUTER JOIN `Floor` AS `floor` ON `Room`.`floor_id` = `floor`.`id` LEFT OUTER JOIN `Bed` AS `beds` ON `Room`.`id` = `beds`.`room_id` LEFT OUTER JOIN `Renter` AS `beds->renter` ON `beds`.`id` = `beds->renter`.`bed_id`; Executing (default): SELECT `id`, `name`, `email`, `password`, `role`, `permissions`, `department`, `phone`, `avatar`, `is_active`, `last_login`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `User` AS `User` WHERE `User`.`id` = '8cc00eb8-378e-4f89-8141-f87aa35fd51d'; Executing (default): SELECT `Bed`.`id`, `Bed`.`building_id`, `Bed`.`floor_id`, `Bed`.`room_id`, `Bed`.`bed_number`, `Bed`.`is_occupied`, `Bed`.`monthly_rent`, `Bed`.`status`, `Bed`.`bed_type`, `Bed`.`last_cleaned`, `Bed`.`notes`, `Bed`.`reserved_until`, `Bed`.`maintenance_scheduled`, `Bed`.`created_at` AS `createdAt`, `Bed`.`updated_at` AS `updatedAt`, `renter`.`id` AS `renter.id`, `renter`.`name` AS `renter.name`, `renter`.`email` AS `renter.email`, `renter`.`phone` AS `renter.phone`, `renter`.`alternate_phone` AS `renter.alternate_phone`, `renter`.`nid` AS `renter.nid`, `renter`.`building_id` AS `renter.building_id`, `renter`.`floor_id` AS `renter.floor_id`, `renter`.`room_id` AS `renter.room_id`, `renter`.`bed_id` AS `renter.bed_id`, `renter`.`rent_amount` AS `renter.rent_amount`, `renter`.`security_deposit` AS `renter.security_deposit`, `renter`.`check_in_date` AS `renter.check_in_date`, `renter`.`check_out_date` AS `renter.check_out_date`, `renter`.`lease_start_date` AS `renter.lease_start_date`, `renter`.`lease_end_date` AS `renter.lease_end_date`, `renter`.`status` AS `renter.status`, `renter`.`emergency_contact` AS `renter.emergency_contact`, `renter`.`emergency_relation` AS `renter.emergency_relation`, `renter`.`profile_photo` AS `renter.profile_photo`, `renter`.`occupation` AS `renter.occupation`, `renter`.`company` AS `renter.company`, `renter`.`monthly_income` AS `renter.monthly_income`, `renter`.`previous_address` AS `renter.previous_address`, `renter`.`references` AS `renter.references`, `renter`.`notice_period` AS `renter.notice_period`, `renter`.`preferences` AS `renter.preferences`, `renter`.`payment_history` AS `renter.payment_history`, `renter`.`created_at` AS `renter.createdAt`, `renter`.`updated_at` AS `renter.updatedAt`, `room`.`id` AS `room.id`, `room`.`building_id` AS `room.building_id`, `room`.`floor_id` AS `room.floor_id`, `room`.`room_number` AS `room.room_number`, `room`.`total_beds` AS `room.total_beds`, `room`.`occupied_beds` AS `room.occupied_beds`, `room`.`rent_per_bed` AS `room.rent_per_bed`, `room`.`facilities` AS `room.facilities`, `room`.`room_type` AS `room.room_type`, `room`.`area` AS `room.area`, `room`.`has_balcony` AS `room.has_balcony`, `room`.`has_attached_bathroom` AS `room.has_attached_bathroom`, `room`.`furnishing_status` AS `room.furnishing_status`, `room`.`condition` AS `room.condition`, `room`.`last_cleaned` AS `room.last_cleaned`, `room`.`security_deposit` AS `room.security_deposit`, `room`.`available_from` AS `room.available_from`, `room`.`created_at` AS `room.createdAt`, `room`.`updated_at` AS `room.updatedAt`, `room->floor`.`id` AS `room.floor.id`, `room->floor`.`building_id` AS `room.floor.building_id`, `room->floor`.`floor_number` AS `room.floor.floor_number`, `room->floor`.`total_rooms` AS `room.floor.total_rooms`, `room->floor`.`occupied_rooms` AS `room.floor.occupied_rooms`, `room->floor`.`floor_type` AS `room.floor.floor_type`, `room->floor`.`amenities` AS `room.floor.amenities`, `room->floor`.`maintenance_status` AS `room.floor.maintenance_status`, `room->floor`.`last_inspection` AS `room.floor.last_inspection`, `room->floor`.`notes` AS `room.floor.notes`, `room->floor`.`created_at` AS `room.floor.createdAt`, `room->floor`.`updated_at` AS `room.floor.updatedAt`, `room->floor->building`.`id` AS `room.floor.building.id`, `room->floor->building`.`name` AS `room.floor.building.name`, `room->floor->building`.`address` AS `room.floor.building.address`, `room->floor->building`.`floors` AS `room.floor.building.floors`, `room->floor->building`.`total_rooms` AS `room.floor.building.total_rooms`, `room->floor->building`.`total_beds` AS `room.floor.building.total_beds`, `room->floor->building`.`parking_spaces` AS `room.floor.building.parking_spaces`, `room->floor->building`.`occupied_beds` AS `room.floor.building.occupied_beds`, `room->floor->building`.`manager` AS `room.floor.building.manager`, `room->floor->building`.`amenities` AS `room.floor.building.amenities`, `room->floor->building`.`monthly_revenue` AS `room.floor.building.monthly_revenue`, `room->floor->building`.`building_type` AS `room.floor.building.building_type`, `room->floor->building`.`year_built` AS `room.floor.building.year_built`, `room->floor->building`.`total_area` AS `room.floor.building.total_area`, `room->floor->building`.`elevators` AS `room.floor.building.elevators`, `room->floor->building`.`security_features` AS `room.floor.building.security_features`, `room->floor->building`.`contact_person` AS `room.floor.building.contact_person`, `room->floor->building`.`contact_phone` AS `room.floor.building.contact_phone`, `room->floor->building`.`created_at` AS `room.floor.building.createdAt`, `room->floor->building`.`updated_at` AS `room.floor.building.updatedAt` FROM `Bed` AS `Bed` LEFT OUTER JOIN `Renter` AS `renter` ON `Bed`.`id` = `renter`.`bed_id` LEFT OUTER JOIN `Room` AS `room` ON `Bed`.`room_id` = `room`.`id` LEFT OUTER JOIN `Floor` AS `room->floor` ON `room`.`floor_id` = `room->floor`.`id` LEFT OUTER JOIN `Building` AS `room->floor->building` ON `room->floor`.`building_id` = `room->floor->building`.`id`; Executing (default): SELECT `Renter`.`id`, `Renter`.`name`, `Renter`.`email`, `Renter`.`phone`, `Renter`.`alternate_phone`, `Renter`.`nid`, `Renter`.`building_id`, `Renter`.`floor_id`, `Renter`.`room_id`, `Renter`.`bed_id`, `Renter`.`rent_amount`, `Renter`.`security_deposit`, `Renter`.`check_in_date`, `Renter`.`check_out_date`, `Renter`.`lease_start_date`, `Renter`.`lease_end_date`, `Renter`.`status`, `Renter`.`emergency_contact`, `Renter`.`emergency_relation`, `Renter`.`profile_photo`, `Renter`.`occupation`, `Renter`.`company`, `Renter`.`monthly_income`, `Renter`.`previous_address`, `Renter`.`references`, `Renter`.`notice_period`, `Renter`.`preferences`, `Renter`.`payment_history`, `Renter`.`created_at` AS `createdAt`, `Renter`.`updated_at` AS `updatedAt`, `room`.`id` AS `room.id`, `room`.`building_id` AS `room.building_id`, `room`.`floor_id` AS `room.floor_id`, `room`.`room_number` AS `room.room_number`, `room`.`total_beds` AS `room.total_beds`, `room`.`occupied_beds` AS `room.occupied_beds`, `room`.`rent_per_bed` AS `room.rent_per_bed`, `room`.`facilities` AS `room.facilities`, `room`.`room_type` AS `room.room_type`, `room`.`area` AS `room.area`, `room`.`has_balcony` AS `room.has_balcony`, `room`.`has_attached_bathroom` AS `room.has_attached_bathroom`, `room`.`furnishing_status` AS `room.furnishing_status`, `room`.`condition` AS `room.condition`, `room`.`last_cleaned` AS `room.last_cleaned`, `room`.`security_deposit` AS `room.security_deposit`, `room`.`available_from` AS `room.available_from`, `room`.`created_at` AS `room.createdAt`, `room`.`updated_at` AS `room.updatedAt`, `documents`.`id` AS `documents.id`, `documents`.`renter_id` AS `documents.renter_id`, `documents`.`type` AS `documents.type`, `documents`.`file_name` AS `documents.file_name`, `documents`.`file_url` AS `documents.file_url`, `documents`.`file_size` AS `documents.file_size`, `documents`.`mime_type` AS `documents.mime_type`, `documents`.`description` AS `documents.description`, `documents`.`created_at` AS `documents.createdAt`, `documents`.`updated_at` AS `documents.updatedAt` FROM `Renter` AS `Renter` LEFT OUTER JOIN `Room` AS `room` ON `Renter`.`room_id` = `room`.`id` LEFT OUTER JOIN `RenterDocument` AS `documents` ON `Renter`.`id` = `documents`.`renter_id`; Executing (default): SELECT `id`, `name`, `email`, `password`, `role`, `permissions`, `department`, `phone`, `avatar`, `is_active`, `last_login`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `User` AS `User` WHERE `User`.`id` = '8cc00eb8-378e-4f89-8141-f87aa35fd51d'; Executing (default): SELECT `id`, `renter_id`, `amount`, `due_date`, `paid_date`, `status`, `month`, `year`, `payment_method`, `transaction_id`, `late_fee`, `discount`, `notes`, `receipt_number`, `collected_by`, `renter_name` AS `renterName`, `room_number`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `RentPayment` AS `RentPayment`; Executing (default): SELECT `id`, `name`, `email`, `password`, `role`, `permissions`, `department`, `phone`, `avatar`, `is_active`, `last_login`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `User` AS `User` WHERE `User`.`id` = '8cc00eb8-378e-4f89-8141-f87aa35fd51d'; Executing (default): SELECT `id`, `building_id`, `floor_id`, `category`, `subcategory`, `description`, `amount`, `date`, `vendor`, `receipt`, `approved_by`, `payment_method`, `is_recurring`, `recurring_frequency`, `budget_category`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `Expense` AS `Expense`; Executing (default): SELECT `id`, `name`, `email`, `password`, `role`, `permissions`, `department`, `phone`, `avatar`, `is_active`, `last_login`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `User` AS `User` WHERE `User`.`id` = '8cc00eb8-378e-4f89-8141-f87aa35fd51d'; Executing (default): SELECT `id`, `building_id`, `floor_id`, `room_id`, `bed_id`, `type`, `category`, `description`, `priority`, `status`, `assigned_to`, `cost`, `estimated_cost`, `scheduled_date`, `completed_date`, `notes`, `images`, `warranty`, `next_maintenance_date`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `Maintenance` AS `Maintenance`; Executing (default): SELECT `id`, `title`, `content`, `type`, `priority`, `target_audience`, `target_ids`, `building_id`, `floor_id`, `created_by`, `expiry_date`, `is_active`, `read_by`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `Notice` AS `Notice`; Executing (default): SELECT `id`, `visitor_name`, `visitor_phone`, `visiting_renter_id`, `check_in_time`, `check_out_time`, `purpose`, `approved_by`, `id_verified`, `vehicle_number`, `notes`, `visiting_renter_name`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `Visitor` AS `Visitor`; Executing (default): SELECT `id`, `name`, `value`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `Settings` AS `Settings`; Executing (default): SELECT `id`, `name`, `email`, `password`, `role`, `permissions`, `department`, `phone`, `avatar`, `is_active`, `last_login`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `User` AS `User` WHERE `User`.`email` = 'admin@demo.com' AND `User`.`is_active` = true; Executing (default): SELECT `id`, `name`, `email`, `password`, `role`, `permissions`, `department`, `phone`, `avatar`, `is_active`, `last_login`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `User` AS `User` WHERE `User`.`email` = 'admin@demo.com' AND `User`.`is_active` = true; Executing (default): SELECT `id`, `name`, `email`, `password`, `role`, `permissions`, `department`, `phone`, `avatar`, `is_active`, `last_login`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `User` AS `User` WHERE `User`.`email` = 'admin@demo.com' AND `User`.`is_active` = true; Executing (default): UPDATE `User` SET `last_login`=?,`updated_at`=? WHERE `id` = ? Executing (default): SELECT `id`, `name`, `email`, `password`, `role`, `permissions`, `department`, `phone`, `avatar`, `is_active`, `last_login`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `User` AS `User` WHERE `User`.`id` = '8cc00eb8-378e-4f89-8141-f87aa35fd51d'; Executing (default): SELECT `id`, `name`, `email`, `password`, `role`, `permissions`, `department`, `phone`, `avatar`, `is_active`, `last_login`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `User` AS `User` WHERE `User`.`id` = '8cc00eb8-378e-4f89-8141-f87aa35fd51d'; Executing (default): SELECT `Building`.`id`, `Building`.`name`, `Building`.`address`, `Building`.`floors`, `Building`.`total_rooms`, `Building`.`total_beds`, `Building`.`parking_spaces`, `Building`.`occupied_beds`, `Building`.`manager`, `Building`.`amenities`, `Building`.`monthly_revenue`, `Building`.`building_type`, `Building`.`year_built`, `Building`.`total_area`, `Building`.`elevators`, `Building`.`security_features`, `Building`.`contact_person`, `Building`.`contact_phone`, `Building`.`created_at` AS `createdAt`, `Building`.`updated_at` AS `updatedAt`, `buildingFloors`.`id` AS `buildingFloors.id`, `buildingFloors`.`building_id` AS `buildingFloors.building_id`, `buildingFloors`.`floor_number` AS `buildingFloors.floor_number`, `buildingFloors`.`total_rooms` AS `buildingFloors.total_rooms`, `buildingFloors`.`occupied_rooms` AS `buildingFloors.occupied_rooms`, `buildingFloors`.`floor_type` AS `buildingFloors.floor_type`, `buildingFloors`.`amenities` AS `buildingFloors.amenities`, `buildingFloors`.`maintenance_status` AS `buildingFloors.maintenance_status`, `buildingFloors`.`last_inspection` AS `buildingFloors.last_inspection`, `buildingFloors`.`notes` AS `buildingFloors.notes`, `buildingFloors`.`created_at` AS `buildingFloors.createdAt`, `buildingFloors`.`updated_at` AS `buildingFloors.updatedAt`, `buildingFloors->rooms`.`id` AS `buildingFloors.rooms.id`, `buildingFloors->rooms`.`building_id` AS `buildingFloors.rooms.building_id`, `buildingFloors->rooms`.`floor_id` AS `buildingFloors.rooms.floor_id`, `buildingFloors->rooms`.`room_number` AS `buildingFloors.rooms.room_number`, `buildingFloors->rooms`.`total_beds` AS `buildingFloors.rooms.total_beds`, `buildingFloors->rooms`.`occupied_beds` AS `buildingFloors.rooms.occupied_beds`, `buildingFloors->rooms`.`rent_per_bed` AS `buildingFloors.rooms.rent_per_bed`, `buildingFloors->rooms`.`facilities` AS `buildingFloors.rooms.facilities`, `buildingFloors->rooms`.`room_type` AS `buildingFloors.rooms.room_type`, `buildingFloors->rooms`.`area` AS `buildingFloors.rooms.area`, `buildingFloors->rooms`.`has_balcony` AS `buildingFloors.rooms.has_balcony`, `buildingFloors->rooms`.`has_attached_bathroom` AS `buildingFloors.rooms.has_attached_bathroom`, `buildingFloors->rooms`.`furnishing_status` AS `buildingFloors.rooms.furnishing_status`, `buildingFloors->rooms`.`condition` AS `buildingFloors.rooms.condition`, `buildingFloors->rooms`.`last_cleaned` AS `buildingFloors.rooms.last_cleaned`, `buildingFloors->rooms`.`security_deposit` AS `buildingFloors.rooms.security_deposit`, `buildingFloors->rooms`.`available_from` AS `buildingFloors.rooms.available_from`, `buildingFloors->rooms`.`created_at` AS `buildingFloors.rooms.createdAt`, `buildingFloors->rooms`.`updated_at` AS `buildingFloors.rooms.updatedAt`, `buildingFloors->rooms->beds`.`id` AS `buildingFloors.rooms.beds.id`, `buildingFloors->rooms->beds`.`building_id` AS `buildingFloors.rooms.beds.building_id`, `buildingFloors->rooms->beds`.`floor_id` AS `buildingFloors.rooms.beds.floor_id`, `buildingFloors->rooms->beds`.`room_id` AS `buildingFloors.rooms.beds.room_id`, `buildingFloors->rooms->beds`.`bed_number` AS `buildingFloors.rooms.beds.bed_number`, `buildingFloors->rooms->beds`.`is_occupied` AS `buildingFloors.rooms.beds.is_occupied`, `buildingFloors->rooms->beds`.`monthly_rent` AS `buildingFloors.rooms.beds.monthly_rent`, `buildingFloors->rooms->beds`.`status` AS `buildingFloors.rooms.beds.status`, `buildingFloors->rooms->beds`.`bed_type` AS `buildingFloors.rooms.beds.bed_type`, `buildingFloors->rooms->beds`.`last_cleaned` AS `buildingFloors.rooms.beds.last_cleaned`, `buildingFloors->rooms->beds`.`notes` AS `buildingFloors.rooms.beds.notes`, `buildingFloors->rooms->beds`.`reserved_until` AS `buildingFloors.rooms.beds.reserved_until`, `buildingFloors->rooms->beds`.`maintenance_scheduled` AS `buildingFloors.rooms.beds.maintenance_scheduled`, `buildingFloors->rooms->beds`.`created_at` AS `buildingFloors.rooms.beds.createdAt`, `buildingFloors->rooms->beds`.`updated_at` AS `buildingFloors.rooms.beds.updatedAt`, `buildingFloors->rooms->beds->renter`.`id` AS `buildingFloors.rooms.beds.renter.id`, `buildingFloors->rooms->beds->renter`.`name` AS `buildingFloors.rooms.beds.renter.name`, `buildingFloors->rooms->beds->renter`.`email` AS `buildingFloors.rooms.beds.renter.email`, `buildingFloors->rooms->beds->renter`.`phone` AS `buildingFloors.rooms.beds.renter.phone`, `buildingFloors->rooms->beds->renter`.`alternate_phone` AS `buildingFloors.rooms.beds.renter.alternate_phone`, `buildingFloors->rooms->beds->renter`.`nid` AS `buildingFloors.rooms.beds.renter.nid`, `buildingFloors->rooms->beds->renter`.`building_id` AS `buildingFloors.rooms.beds.renter.building_id`, `buildingFloors->rooms->beds->renter`.`floor_id` AS `buildingFloors.rooms.beds.renter.floor_id`, `buildingFloors->rooms->beds->renter`.`room_id` AS `buildingFloors.rooms.beds.renter.room_id`, `buildingFloors->rooms->beds->renter`.`bed_id` AS `buildingFloors.rooms.beds.renter.bed_id`, `buildingFloors->rooms->beds->renter`.`rent_amount` AS `buildingFloors.rooms.beds.renter.rent_amount`, `buildingFloors->rooms->beds->renter`.`security_deposit` AS `buildingFloors.rooms.beds.renter.security_deposit`, `buildingFloors->rooms->beds->renter`.`check_in_date` AS `buildingFloors.rooms.beds.renter.check_in_date`, `buildingFloors->rooms->beds->renter`.`check_out_date` AS `buildingFloors.rooms.beds.renter.check_out_date`, `buildingFloors->rooms->beds->renter`.`lease_start_date` AS `buildingFloors.rooms.beds.renter.lease_start_date`, `buildingFloors->rooms->beds->renter`.`lease_end_date` AS `buildingFloors.rooms.beds.renter.lease_end_date`, `buildingFloors->rooms->beds->renter`.`status` AS `buildingFloors.rooms.beds.renter.status`, `buildingFloors->rooms->beds->renter`.`emergency_contact` AS `buildingFloors.rooms.beds.renter.emergency_contact`, `buildingFloors->rooms->beds->renter`.`emergency_relation` AS `buildingFloors.rooms.beds.renter.emergency_relation`, `buildingFloors->rooms->beds->renter`.`profile_photo` AS `buildingFloors.rooms.beds.renter.profile_photo`, `buildingFloors->rooms->beds->renter`.`occupation` AS `buildingFloors.rooms.beds.renter.occupation`, `buildingFloors->rooms->beds->renter`.`company` AS `buildingFloors.rooms.beds.renter.company`, `buildingFloors->rooms->beds->renter`.`monthly_income` AS `buildingFloors.rooms.beds.renter.monthly_income`, `buildingFloors->rooms->beds->renter`.`previous_address` AS `buildingFloors.rooms.beds.renter.previous_address`, `buildingFloors->rooms->beds->renter`.`references` AS `buildingFloors.rooms.beds.renter.references`, `buildingFloors->rooms->beds->renter`.`notice_period` AS `buildingFloors.rooms.beds.renter.notice_period`, `buildingFloors->rooms->beds->renter`.`preferences` AS `buildingFloors.rooms.beds.renter.preferences`, `buildingFloors->rooms->beds->renter`.`payment_history` AS `buildingFloors.rooms.beds.renter.payment_history`, `buildingFloors->rooms->beds->renter`.`created_at` AS `buildingFloors.rooms.beds.renter.createdAt`, `buildingFloors->rooms->beds->renter`.`updated_at` AS `buildingFloors.rooms.beds.renter.updatedAt` FROM `Building` AS `Building` LEFT OUTER JOIN `Floor` AS `buildingFloors` ON `Building`.`id` = `buildingFloors`.`building_id` LEFT OUTER JOIN `Room` AS `buildingFloors->rooms` ON `buildingFloors`.`id` = `buildingFloors->rooms`.`floor_id` LEFT OUTER JOIN `Bed` AS `buildingFloors->rooms->beds` ON `buildingFloors->rooms`.`id` = `buildingFloors->rooms->beds`.`room_id` LEFT OUTER JOIN `Renter` AS `buildingFloors->rooms->beds->renter` ON `buildingFloors->rooms->beds`.`id` = `buildingFloors->rooms->beds->renter`.`bed_id` ORDER BY `createdAt` DESC; Executing (default): SELECT `Floor`.`id`, `Floor`.`building_id`, `Floor`.`floor_number`, `Floor`.`total_rooms`, `Floor`.`occupied_rooms`, `Floor`.`floor_type`, `Floor`.`amenities`, `Floor`.`maintenance_status`, `Floor`.`last_inspection`, `Floor`.`notes`, `Floor`.`created_at` AS `createdAt`, `Floor`.`updated_at` AS `updatedAt`, `rooms`.`id` AS `rooms.id`, `rooms`.`building_id` AS `rooms.building_id`, `rooms`.`floor_id` AS `rooms.floor_id`, `rooms`.`room_number` AS `rooms.room_number`, `rooms`.`total_beds` AS `rooms.total_beds`, `rooms`.`occupied_beds` AS `rooms.occupied_beds`, `rooms`.`rent_per_bed` AS `rooms.rent_per_bed`, `rooms`.`facilities` AS `rooms.facilities`, `rooms`.`room_type` AS `rooms.room_type`, `rooms`.`area` AS `rooms.area`, `rooms`.`has_balcony` AS `rooms.has_balcony`, `rooms`.`has_attached_bathroom` AS `rooms.has_attached_bathroom`, `rooms`.`furnishing_status` AS `rooms.furnishing_status`, `rooms`.`condition` AS `rooms.condition`, `rooms`.`last_cleaned` AS `rooms.last_cleaned`, `rooms`.`security_deposit` AS `rooms.security_deposit`, `rooms`.`available_from` AS `rooms.available_from`, `rooms`.`created_at` AS `rooms.createdAt`, `rooms`.`updated_at` AS `rooms.updatedAt`, `rooms->beds`.`id` AS `rooms.beds.id`, `rooms->beds`.`building_id` AS `rooms.beds.building_id`, `rooms->beds`.`floor_id` AS `rooms.beds.floor_id`, `rooms->beds`.`room_id` AS `rooms.beds.room_id`, `rooms->beds`.`bed_number` AS `rooms.beds.bed_number`, `rooms->beds`.`is_occupied` AS `rooms.beds.is_occupied`, `rooms->beds`.`monthly_rent` AS `rooms.beds.monthly_rent`, `rooms->beds`.`status` AS `rooms.beds.status`, `rooms->beds`.`bed_type` AS `rooms.beds.bed_type`, `rooms->beds`.`last_cleaned` AS `rooms.beds.last_cleaned`, `rooms->beds`.`notes` AS `rooms.beds.notes`, `rooms->beds`.`reserved_until` AS `rooms.beds.reserved_until`, `rooms->beds`.`maintenance_scheduled` AS `rooms.beds.maintenance_scheduled`, `rooms->beds`.`created_at` AS `rooms.beds.createdAt`, `rooms->beds`.`updated_at` AS `rooms.beds.updatedAt`, `rooms->beds->renter`.`id` AS `rooms.beds.renter.id`, `rooms->beds->renter`.`name` AS `rooms.beds.renter.name`, `rooms->beds->renter`.`email` AS `rooms.beds.renter.email`, `rooms->beds->renter`.`phone` AS `rooms.beds.renter.phone`, `rooms->beds->renter`.`alternate_phone` AS `rooms.beds.renter.alternate_phone`, `rooms->beds->renter`.`nid` AS `rooms.beds.renter.nid`, `rooms->beds->renter`.`building_id` AS `rooms.beds.renter.building_id`, `rooms->beds->renter`.`floor_id` AS `rooms.beds.renter.floor_id`, `rooms->beds->renter`.`room_id` AS `rooms.beds.renter.room_id`, `rooms->beds->renter`.`bed_id` AS `rooms.beds.renter.bed_id`, `rooms->beds->renter`.`rent_amount` AS `rooms.beds.renter.rent_amount`, `rooms->beds->renter`.`security_deposit` AS `rooms.beds.renter.security_deposit`, `rooms->beds->renter`.`check_in_date` AS `rooms.beds.renter.check_in_date`, `rooms->beds->renter`.`check_out_date` AS `rooms.beds.renter.check_out_date`, `rooms->beds->renter`.`lease_start_date` AS `rooms.beds.renter.lease_start_date`, `rooms->beds->renter`.`lease_end_date` AS `rooms.beds.renter.lease_end_date`, `rooms->beds->renter`.`status` AS `rooms.beds.renter.status`, `rooms->beds->renter`.`emergency_contact` AS `rooms.beds.renter.emergency_contact`, `rooms->beds->renter`.`emergency_relation` AS `rooms.beds.renter.emergency_relation`, `rooms->beds->renter`.`profile_photo` AS `rooms.beds.renter.profile_photo`, `rooms->beds->renter`.`occupation` AS `rooms.beds.renter.occupation`, `rooms->beds->renter`.`company` AS `rooms.beds.renter.company`, `rooms->beds->renter`.`monthly_income` AS `rooms.beds.renter.monthly_income`, `rooms->beds->renter`.`previous_address` AS `rooms.beds.renter.previous_address`, `rooms->beds->renter`.`references` AS `rooms.beds.renter.references`, `rooms->beds->renter`.`notice_period` AS `rooms.beds.renter.notice_period`, `rooms->beds->renter`.`preferences` AS `rooms.beds.renter.preferences`, `rooms->beds->renter`.`payment_history` AS `rooms.beds.renter.payment_history`, `rooms->beds->renter`.`created_at` AS `rooms.beds.renter.createdAt`, `rooms->beds->renter`.`updated_at` AS `rooms.beds.renter.updatedAt` FROM `Floor` AS `Floor` LEFT OUTER JOIN `Room` AS `rooms` ON `Floor`.`id` = `rooms`.`floor_id` LEFT OUTER JOIN `Bed` AS `rooms->beds` ON `rooms`.`id` = `rooms->beds`.`room_id` LEFT OUTER JOIN `Renter` AS `rooms->beds->renter` ON `rooms->beds`.`id` = `rooms->beds->renter`.`bed_id`; Executing (default): SELECT `id`, `name`, `email`, `password`, `role`, `permissions`, `department`, `phone`, `avatar`, `is_active`, `last_login`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `User` AS `User` WHERE `User`.`id` = '8cc00eb8-378e-4f89-8141-f87aa35fd51d'; Executing (default): SELECT `id`, `name`, `email`, `password`, `role`, `permissions`, `department`, `phone`, `avatar`, `is_active`, `last_login`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `User` AS `User` WHERE `User`.`id` = '8cc00eb8-378e-4f89-8141-f87aa35fd51d'; Executing (default): SELECT `Room`.`id`, `Room`.`building_id`, `Room`.`floor_id`, `Room`.`room_number`, `Room`.`total_beds`, `Room`.`occupied_beds`, `Room`.`rent_per_bed`, `Room`.`facilities`, `Room`.`room_type`, `Room`.`area`, `Room`.`has_balcony`, `Room`.`has_attached_bathroom`, `Room`.`furnishing_status`, `Room`.`condition`, `Room`.`last_cleaned`, `Room`.`security_deposit`, `Room`.`available_from`, `Room`.`created_at` AS `createdAt`, `Room`.`updated_at` AS `updatedAt`, `building`.`id` AS `building.id`, `building`.`name` AS `building.name`, `building`.`address` AS `building.address`, `building`.`floors` AS `building.floors`, `building`.`total_rooms` AS `building.total_rooms`, `building`.`total_beds` AS `building.total_beds`, `building`.`parking_spaces` AS `building.parking_spaces`, `building`.`occupied_beds` AS `building.occupied_beds`, `building`.`manager` AS `building.manager`, `building`.`amenities` AS `building.amenities`, `building`.`monthly_revenue` AS `building.monthly_revenue`, `building`.`building_type` AS `building.building_type`, `building`.`year_built` AS `building.year_built`, `building`.`total_area` AS `building.total_area`, `building`.`elevators` AS `building.elevators`, `building`.`security_features` AS `building.security_features`, `building`.`contact_person` AS `building.contact_person`, `building`.`contact_phone` AS `building.contact_phone`, `building`.`created_at` AS `building.createdAt`, `building`.`updated_at` AS `building.updatedAt`, `floor`.`id` AS `floor.id`, `floor`.`building_id` AS `floor.building_id`, `floor`.`floor_number` AS `floor.floor_number`, `floor`.`total_rooms` AS `floor.total_rooms`, `floor`.`occupied_rooms` AS `floor.occupied_rooms`, `floor`.`floor_type` AS `floor.floor_type`, `floor`.`amenities` AS `floor.amenities`, `floor`.`maintenance_status` AS `floor.maintenance_status`, `floor`.`last_inspection` AS `floor.last_inspection`, `floor`.`notes` AS `floor.notes`, `floor`.`created_at` AS `floor.createdAt`, `floor`.`updated_at` AS `floor.updatedAt`, `beds`.`id` AS `beds.id`, `beds`.`building_id` AS `beds.building_id`, `beds`.`floor_id` AS `beds.floor_id`, `beds`.`room_id` AS `beds.room_id`, `beds`.`bed_number` AS `beds.bed_number`, `beds`.`is_occupied` AS `beds.is_occupied`, `beds`.`monthly_rent` AS `beds.monthly_rent`, `beds`.`status` AS `beds.status`, `beds`.`bed_type` AS `beds.bed_type`, `beds`.`last_cleaned` AS `beds.last_cleaned`, `beds`.`notes` AS `beds.notes`, `beds`.`reserved_until` AS `beds.reserved_until`, `beds`.`maintenance_scheduled` AS `beds.maintenance_scheduled`, `beds`.`created_at` AS `beds.createdAt`, `beds`.`updated_at` AS `beds.updatedAt`, `beds->renter`.`id` AS `beds.renter.id`, `beds->renter`.`name` AS `beds.renter.name`, `beds->renter`.`email` AS `beds.renter.email`, `beds->renter`.`phone` AS `beds.renter.phone`, `beds->renter`.`alternate_phone` AS `beds.renter.alternate_phone`, `beds->renter`.`nid` AS `beds.renter.nid`, `beds->renter`.`building_id` AS `beds.renter.building_id`, `beds->renter`.`floor_id` AS `beds.renter.floor_id`, `beds->renter`.`room_id` AS `beds.renter.room_id`, `beds->renter`.`bed_id` AS `beds.renter.bed_id`, `beds->renter`.`rent_amount` AS `beds.renter.rent_amount`, `beds->renter`.`security_deposit` AS `beds.renter.security_deposit`, `beds->renter`.`check_in_date` AS `beds.renter.check_in_date`, `beds->renter`.`check_out_date` AS `beds.renter.check_out_date`, `beds->renter`.`lease_start_date` AS `beds.renter.lease_start_date`, `beds->renter`.`lease_end_date` AS `beds.renter.lease_end_date`, `beds->renter`.`status` AS `beds.renter.status`, `beds->renter`.`emergency_contact` AS `beds.renter.emergency_contact`, `beds->renter`.`emergency_relation` AS `beds.renter.emergency_relation`, `beds->renter`.`profile_photo` AS `beds.renter.profile_photo`, `beds->renter`.`occupation` AS `beds.renter.occupation`, `beds->renter`.`company` AS `beds.renter.company`, `beds->renter`.`monthly_income` AS `beds.renter.monthly_income`, `beds->renter`.`previous_address` AS `beds.renter.previous_address`, `beds->renter`.`references` AS `beds.renter.references`, `beds->renter`.`notice_period` AS `beds.renter.notice_period`, `beds->renter`.`preferences` AS `beds.renter.preferences`, `beds->renter`.`payment_history` AS `beds.renter.payment_history`, `beds->renter`.`created_at` AS `beds.renter.createdAt`, `beds->renter`.`updated_at` AS `beds.renter.updatedAt` FROM `Room` AS `Room` LEFT OUTER JOIN `Building` AS `building` ON `Room`.`building_id` = `building`.`id` LEFT OUTER JOIN `Floor` AS `floor` ON `Room`.`floor_id` = `floor`.`id` LEFT OUTER JOIN `Bed` AS `beds` ON `Room`.`id` = `beds`.`room_id` LEFT OUTER JOIN `Renter` AS `beds->renter` ON `beds`.`id` = `beds->renter`.`bed_id`; Executing (default): SELECT `Bed`.`id`, `Bed`.`building_id`, `Bed`.`floor_id`, `Bed`.`room_id`, `Bed`.`bed_number`, `Bed`.`is_occupied`, `Bed`.`monthly_rent`, `Bed`.`status`, `Bed`.`bed_type`, `Bed`.`last_cleaned`, `Bed`.`notes`, `Bed`.`reserved_until`, `Bed`.`maintenance_scheduled`, `Bed`.`created_at` AS `createdAt`, `Bed`.`updated_at` AS `updatedAt`, `renter`.`id` AS `renter.id`, `renter`.`name` AS `renter.name`, `renter`.`email` AS `renter.email`, `renter`.`phone` AS `renter.phone`, `renter`.`alternate_phone` AS `renter.alternate_phone`, `renter`.`nid` AS `renter.nid`, `renter`.`building_id` AS `renter.building_id`, `renter`.`floor_id` AS `renter.floor_id`, `renter`.`room_id` AS `renter.room_id`, `renter`.`bed_id` AS `renter.bed_id`, `renter`.`rent_amount` AS `renter.rent_amount`, `renter`.`security_deposit` AS `renter.security_deposit`, `renter`.`check_in_date` AS `renter.check_in_date`, `renter`.`check_out_date` AS `renter.check_out_date`, `renter`.`lease_start_date` AS `renter.lease_start_date`, `renter`.`lease_end_date` AS `renter.lease_end_date`, `renter`.`status` AS `renter.status`, `renter`.`emergency_contact` AS `renter.emergency_contact`, `renter`.`emergency_relation` AS `renter.emergency_relation`, `renter`.`profile_photo` AS `renter.profile_photo`, `renter`.`occupation` AS `renter.occupation`, `renter`.`company` AS `renter.company`, `renter`.`monthly_income` AS `renter.monthly_income`, `renter`.`previous_address` AS `renter.previous_address`, `renter`.`references` AS `renter.references`, `renter`.`notice_period` AS `renter.notice_period`, `renter`.`preferences` AS `renter.preferences`, `renter`.`payment_history` AS `renter.payment_history`, `renter`.`created_at` AS `renter.createdAt`, `renter`.`updated_at` AS `renter.updatedAt`, `room`.`id` AS `room.id`, `room`.`building_id` AS `room.building_id`, `room`.`floor_id` AS `room.floor_id`, `room`.`room_number` AS `room.room_number`, `room`.`total_beds` AS `room.total_beds`, `room`.`occupied_beds` AS `room.occupied_beds`, `room`.`rent_per_bed` AS `room.rent_per_bed`, `room`.`facilities` AS `room.facilities`, `room`.`room_type` AS `room.room_type`, `room`.`area` AS `room.area`, `room`.`has_balcony` AS `room.has_balcony`, `room`.`has_attached_bathroom` AS `room.has_attached_bathroom`, `room`.`furnishing_status` AS `room.furnishing_status`, `room`.`condition` AS `room.condition`, `room`.`last_cleaned` AS `room.last_cleaned`, `room`.`security_deposit` AS `room.security_deposit`, `room`.`available_from` AS `room.available_from`, `room`.`created_at` AS `room.createdAt`, `room`.`updated_at` AS `room.updatedAt`, `room->floor`.`id` AS `room.floor.id`, `room->floor`.`building_id` AS `room.floor.building_id`, `room->floor`.`floor_number` AS `room.floor.floor_number`, `room->floor`.`total_rooms` AS `room.floor.total_rooms`, `room->floor`.`occupied_rooms` AS `room.floor.occupied_rooms`, `room->floor`.`floor_type` AS `room.floor.floor_type`, `room->floor`.`amenities` AS `room.floor.amenities`, `room->floor`.`maintenance_status` AS `room.floor.maintenance_status`, `room->floor`.`last_inspection` AS `room.floor.last_inspection`, `room->floor`.`notes` AS `room.floor.notes`, `room->floor`.`created_at` AS `room.floor.createdAt`, `room->floor`.`updated_at` AS `room.floor.updatedAt`, `room->floor->building`.`id` AS `room.floor.building.id`, `room->floor->building`.`name` AS `room.floor.building.name`, `room->floor->building`.`address` AS `room.floor.building.address`, `room->floor->building`.`floors` AS `room.floor.building.floors`, `room->floor->building`.`total_rooms` AS `room.floor.building.total_rooms`, `room->floor->building`.`total_beds` AS `room.floor.building.total_beds`, `room->floor->building`.`parking_spaces` AS `room.floor.building.parking_spaces`, `room->floor->building`.`occupied_beds` AS `room.floor.building.occupied_beds`, `room->floor->building`.`manager` AS `room.floor.building.manager`, `room->floor->building`.`amenities` AS `room.floor.building.amenities`, `room->floor->building`.`monthly_revenue` AS `room.floor.building.monthly_revenue`, `room->floor->building`.`building_type` AS `room.floor.building.building_type`, `room->floor->building`.`year_built` AS `room.floor.building.year_built`, `room->floor->building`.`total_area` AS `room.floor.building.total_area`, `room->floor->building`.`elevators` AS `room.floor.building.elevators`, `room->floor->building`.`security_features` AS `room.floor.building.security_features`, `room->floor->building`.`contact_person` AS `room.floor.building.contact_person`, `room->floor->building`.`contact_phone` AS `room.floor.building.contact_phone`, `room->floor->building`.`created_at` AS `room.floor.building.createdAt`, `room->floor->building`.`updated_at` AS `room.floor.building.updatedAt` FROM `Bed` AS `Bed` LEFT OUTER JOIN `Renter` AS `renter` ON `Bed`.`id` = `renter`.`bed_id` LEFT OUTER JOIN `Room` AS `room` ON `Bed`.`room_id` = `room`.`id` LEFT OUTER JOIN `Floor` AS `room->floor` ON `room`.`floor_id` = `room->floor`.`id` LEFT OUTER JOIN `Building` AS `room->floor->building` ON `room->floor`.`building_id` = `room->floor->building`.`id`; Executing (default): SELECT `Renter`.`id`, `Renter`.`name`, `Renter`.`email`, `Renter`.`phone`, `Renter`.`alternate_phone`, `Renter`.`nid`, `Renter`.`building_id`, `Renter`.`floor_id`, `Renter`.`room_id`, `Renter`.`bed_id`, `Renter`.`rent_amount`, `Renter`.`security_deposit`, `Renter`.`check_in_date`, `Renter`.`check_out_date`, `Renter`.`lease_start_date`, `Renter`.`lease_end_date`, `Renter`.`status`, `Renter`.`emergency_contact`, `Renter`.`emergency_relation`, `Renter`.`profile_photo`, `Renter`.`occupation`, `Renter`.`company`, `Renter`.`monthly_income`, `Renter`.`previous_address`, `Renter`.`references`, `Renter`.`notice_period`, `Renter`.`preferences`, `Renter`.`payment_history`, `Renter`.`created_at` AS `createdAt`, `Renter`.`updated_at` AS `updatedAt`, `room`.`id` AS `room.id`, `room`.`building_id` AS `room.building_id`, `room`.`floor_id` AS `room.floor_id`, `room`.`room_number` AS `room.room_number`, `room`.`total_beds` AS `room.total_beds`, `room`.`occupied_beds` AS `room.occupied_beds`, `room`.`rent_per_bed` AS `room.rent_per_bed`, `room`.`facilities` AS `room.facilities`, `room`.`room_type` AS `room.room_type`, `room`.`area` AS `room.area`, `room`.`has_balcony` AS `room.has_balcony`, `room`.`has_attached_bathroom` AS `room.has_attached_bathroom`, `room`.`furnishing_status` AS `room.furnishing_status`, `room`.`condition` AS `room.condition`, `room`.`last_cleaned` AS `room.last_cleaned`, `room`.`security_deposit` AS `room.security_deposit`, `room`.`available_from` AS `room.available_from`, `room`.`created_at` AS `room.createdAt`, `room`.`updated_at` AS `room.updatedAt`, `documents`.`id` AS `documents.id`, `documents`.`renter_id` AS `documents.renter_id`, `documents`.`type` AS `documents.type`, `documents`.`file_name` AS `documents.file_name`, `documents`.`file_url` AS `documents.file_url`, `documents`.`file_size` AS `documents.file_size`, `documents`.`mime_type` AS `documents.mime_type`, `documents`.`description` AS `documents.description`, `documents`.`created_at` AS `documents.createdAt`, `documents`.`updated_at` AS `documents.updatedAt` FROM `Renter` AS `Renter` LEFT OUTER JOIN `Room` AS `room` ON `Renter`.`room_id` = `room`.`id` LEFT OUTER JOIN `RenterDocument` AS `documents` ON `Renter`.`id` = `documents`.`renter_id`; Executing (default): SELECT `id`, `name`, `email`, `password`, `role`, `permissions`, `department`, `phone`, `avatar`, `is_active`, `last_login`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `User` AS `User` WHERE `User`.`id` = '8cc00eb8-378e-4f89-8141-f87aa35fd51d'; Executing (default): SELECT `id`, `renter_id`, `amount`, `due_date`, `paid_date`, `status`, `month`, `year`, `payment_method`, `transaction_id`, `late_fee`, `discount`, `notes`, `receipt_number`, `collected_by`, `renter_name` AS `renterName`, `room_number`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `RentPayment` AS `RentPayment`; Executing (default): SELECT `id`, `name`, `email`, `password`, `role`, `permissions`, `department`, `phone`, `avatar`, `is_active`, `last_login`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `User` AS `User` WHERE `User`.`id` = '8cc00eb8-378e-4f89-8141-f87aa35fd51d'; Executing (default): SELECT `id`, `building_id`, `floor_id`, `room_id`, `bed_id`, `type`, `category`, `description`, `priority`, `status`, `assigned_to`, `cost`, `estimated_cost`, `scheduled_date`, `completed_date`, `notes`, `images`, `warranty`, `next_maintenance_date`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `Maintenance` AS `Maintenance`; Executing (default): SELECT `id`, `name`, `email`, `password`, `role`, `permissions`, `department`, `phone`, `avatar`, `is_active`, `last_login`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `User` AS `User` WHERE `User`.`id` = '8cc00eb8-378e-4f89-8141-f87aa35fd51d'; Executing (default): SELECT `id`, `building_id`, `floor_id`, `category`, `subcategory`, `description`, `amount`, `date`, `vendor`, `receipt`, `approved_by`, `payment_method`, `is_recurring`, `recurring_frequency`, `budget_category`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `Expense` AS `Expense`; Executing (default): SELECT `id`, `title`, `content`, `type`, `priority`, `target_audience`, `target_ids`, `building_id`, `floor_id`, `created_by`, `expiry_date`, `is_active`, `read_by`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `Notice` AS `Notice`; Executing (default): SELECT `id`, `visitor_name`, `visitor_phone`, `visiting_renter_id`, `check_in_time`, `check_out_time`, `purpose`, `approved_by`, `id_verified`, `vehicle_number`, `notes`, `visiting_renter_name`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `Visitor` AS `Visitor`; Executing (default): SELECT `id`, `name`, `value`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `Settings` AS `Settings`; Executing (default): SELECT `id`, `name`, `email`, `password`, `role`, `permissions`, `department`, `phone`, `avatar`, `is_active`, `last_login`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `User` AS `User` WHERE `User`.`email` = 'admin@demo.com' AND `User`.`is_active` = true; Executing (default): UPDATE `User` SET `last_login`=?,`updated_at`=? WHERE `id` = ? Executing (default): SELECT `id`, `name`, `email`, `password`, `role`, `permissions`, `department`, `phone`, `avatar`, `is_active`, `last_login`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `User` AS `User` WHERE `User`.`id` = '8cc00eb8-378e-4f89-8141-f87aa35fd51d'; Executing (default): SELECT `Building`.`id`, `Building`.`name`, `Building`.`address`, `Building`.`floors`, `Building`.`total_rooms`, `Building`.`total_beds`, `Building`.`parking_spaces`, `Building`.`occupied_beds`, `Building`.`manager`, `Building`.`amenities`, `Building`.`monthly_revenue`, `Building`.`building_type`, `Building`.`year_built`, `Building`.`total_area`, `Building`.`elevators`, `Building`.`security_features`, `Building`.`contact_person`, `Building`.`contact_phone`, `Building`.`created_at` AS `createdAt`, `Building`.`updated_at` AS `updatedAt`, `buildingFloors`.`id` AS `buildingFloors.id`, `buildingFloors`.`building_id` AS `buildingFloors.building_id`, `buildingFloors`.`floor_number` AS `buildingFloors.floor_number`, `buildingFloors`.`total_rooms` AS `buildingFloors.total_rooms`, `buildingFloors`.`occupied_rooms` AS `buildingFloors.occupied_rooms`, `buildingFloors`.`floor_type` AS `buildingFloors.floor_type`, `buildingFloors`.`amenities` AS `buildingFloors.amenities`, `buildingFloors`.`maintenance_status` AS `buildingFloors.maintenance_status`, `buildingFloors`.`last_inspection` AS `buildingFloors.last_inspection`, `buildingFloors`.`notes` AS `buildingFloors.notes`, `buildingFloors`.`created_at` AS `buildingFloors.createdAt`, `buildingFloors`.`updated_at` AS `buildingFloors.updatedAt`, `buildingFloors->rooms`.`id` AS `buildingFloors.rooms.id`, `buildingFloors->rooms`.`building_id` AS `buildingFloors.rooms.building_id`, `buildingFloors->rooms`.`floor_id` AS `buildingFloors.rooms.floor_id`, `buildingFloors->rooms`.`room_number` AS `buildingFloors.rooms.room_number`, `buildingFloors->rooms`.`total_beds` AS `buildingFloors.rooms.total_beds`, `buildingFloors->rooms`.`occupied_beds` AS `buildingFloors.rooms.occupied_beds`, `buildingFloors->rooms`.`rent_per_bed` AS `buildingFloors.rooms.rent_per_bed`, `buildingFloors->rooms`.`facilities` AS `buildingFloors.rooms.facilities`, `buildingFloors->rooms`.`room_type` AS `buildingFloors.rooms.room_type`, `buildingFloors->rooms`.`area` AS `buildingFloors.rooms.area`, `buildingFloors->rooms`.`has_balcony` AS `buildingFloors.rooms.has_balcony`, `buildingFloors->rooms`.`has_attached_bathroom` AS `buildingFloors.rooms.has_attached_bathroom`, `buildingFloors->rooms`.`furnishing_status` AS `buildingFloors.rooms.furnishing_status`, `buildingFloors->rooms`.`condition` AS `buildingFloors.rooms.condition`, `buildingFloors->rooms`.`last_cleaned` AS `buildingFloors.rooms.last_cleaned`, `buildingFloors->rooms`.`security_deposit` AS `buildingFloors.rooms.security_deposit`, `buildingFloors->rooms`.`available_from` AS `buildingFloors.rooms.available_from`, `buildingFloors->rooms`.`created_at` AS `buildingFloors.rooms.createdAt`, `buildingFloors->rooms`.`updated_at` AS `buildingFloors.rooms.updatedAt`, `buildingFloors->rooms->beds`.`id` AS `buildingFloors.rooms.beds.id`, `buildingFloors->rooms->beds`.`building_id` AS `buildingFloors.rooms.beds.building_id`, `buildingFloors->rooms->beds`.`floor_id` AS `buildingFloors.rooms.beds.floor_id`, `buildingFloors->rooms->beds`.`room_id` AS `buildingFloors.rooms.beds.room_id`, `buildingFloors->rooms->beds`.`bed_number` AS `buildingFloors.rooms.beds.bed_number`, `buildingFloors->rooms->beds`.`is_occupied` AS `buildingFloors.rooms.beds.is_occupied`, `buildingFloors->rooms->beds`.`monthly_rent` AS `buildingFloors.rooms.beds.monthly_rent`, `buildingFloors->rooms->beds`.`status` AS `buildingFloors.rooms.beds.status`, `buildingFloors->rooms->beds`.`bed_type` AS `buildingFloors.rooms.beds.bed_type`, `buildingFloors->rooms->beds`.`last_cleaned` AS `buildingFloors.rooms.beds.last_cleaned`, `buildingFloors->rooms->beds`.`notes` AS `buildingFloors.rooms.beds.notes`, `buildingFloors->rooms->beds`.`reserved_until` AS `buildingFloors.rooms.beds.reserved_until`, `buildingFloors->rooms->beds`.`maintenance_scheduled` AS `buildingFloors.rooms.beds.maintenance_scheduled`, `buildingFloors->rooms->beds`.`created_at` AS `buildingFloors.rooms.beds.createdAt`, `buildingFloors->rooms->beds`.`updated_at` AS `buildingFloors.rooms.beds.updatedAt`, `buildingFloors->rooms->beds->renter`.`id` AS `buildingFloors.rooms.beds.renter.id`, `buildingFloors->rooms->beds->renter`.`name` AS `buildingFloors.rooms.beds.renter.name`, `buildingFloors->rooms->beds->renter`.`email` AS `buildingFloors.rooms.beds.renter.email`, `buildingFloors->rooms->beds->renter`.`phone` AS `buildingFloors.rooms.beds.renter.phone`, `buildingFloors->rooms->beds->renter`.`alternate_phone` AS `buildingFloors.rooms.beds.renter.alternate_phone`, `buildingFloors->rooms->beds->renter`.`nid` AS `buildingFloors.rooms.beds.renter.nid`, `buildingFloors->rooms->beds->renter`.`building_id` AS `buildingFloors.rooms.beds.renter.building_id`, `buildingFloors->rooms->beds->renter`.`floor_id` AS `buildingFloors.rooms.beds.renter.floor_id`, `buildingFloors->rooms->beds->renter`.`room_id` AS `buildingFloors.rooms.beds.renter.room_id`, `buildingFloors->rooms->beds->renter`.`bed_id` AS `buildingFloors.rooms.beds.renter.bed_id`, `buildingFloors->rooms->beds->renter`.`rent_amount` AS `buildingFloors.rooms.beds.renter.rent_amount`, `buildingFloors->rooms->beds->renter`.`security_deposit` AS `buildingFloors.rooms.beds.renter.security_deposit`, `buildingFloors->rooms->beds->renter`.`check_in_date` AS `buildingFloors.rooms.beds.renter.check_in_date`, `buildingFloors->rooms->beds->renter`.`check_out_date` AS `buildingFloors.rooms.beds.renter.check_out_date`, `buildingFloors->rooms->beds->renter`.`lease_start_date` AS `buildingFloors.rooms.beds.renter.lease_start_date`, `buildingFloors->rooms->beds->renter`.`lease_end_date` AS `buildingFloors.rooms.beds.renter.lease_end_date`, `buildingFloors->rooms->beds->renter`.`status` AS `buildingFloors.rooms.beds.renter.status`, `buildingFloors->rooms->beds->renter`.`emergency_contact` AS `buildingFloors.rooms.beds.renter.emergency_contact`, `buildingFloors->rooms->beds->renter`.`emergency_relation` AS `buildingFloors.rooms.beds.renter.emergency_relation`, `buildingFloors->rooms->beds->renter`.`profile_photo` AS `buildingFloors.rooms.beds.renter.profile_photo`, `buildingFloors->rooms->beds->renter`.`occupation` AS `buildingFloors.rooms.beds.renter.occupation`, `buildingFloors->rooms->beds->renter`.`company` AS `buildingFloors.rooms.beds.renter.company`, `buildingFloors->rooms->beds->renter`.`monthly_income` AS `buildingFloors.rooms.beds.renter.monthly_income`, `buildingFloors->rooms->beds->renter`.`previous_address` AS `buildingFloors.rooms.beds.renter.previous_address`, `buildingFloors->rooms->beds->renter`.`references` AS `buildingFloors.rooms.beds.renter.references`, `buildingFloors->rooms->beds->renter`.`notice_period` AS `buildingFloors.rooms.beds.renter.notice_period`, `buildingFloors->rooms->beds->renter`.`preferences` AS `buildingFloors.rooms.beds.renter.preferences`, `buildingFloors->rooms->beds->renter`.`payment_history` AS `buildingFloors.rooms.beds.renter.payment_history`, `buildingFloors->rooms->beds->renter`.`created_at` AS `buildingFloors.rooms.beds.renter.createdAt`, `buildingFloors->rooms->beds->renter`.`updated_at` AS `buildingFloors.rooms.beds.renter.updatedAt` FROM `Building` AS `Building` LEFT OUTER JOIN `Floor` AS `buildingFloors` ON `Building`.`id` = `buildingFloors`.`building_id` LEFT OUTER JOIN `Room` AS `buildingFloors->rooms` ON `buildingFloors`.`id` = `buildingFloors->rooms`.`floor_id` LEFT OUTER JOIN `Bed` AS `buildingFloors->rooms->beds` ON `buildingFloors->rooms`.`id` = `buildingFloors->rooms->beds`.`room_id` LEFT OUTER JOIN `Renter` AS `buildingFloors->rooms->beds->renter` ON `buildingFloors->rooms->beds`.`id` = `buildingFloors->rooms->beds->renter`.`bed_id` ORDER BY `createdAt` DESC; Executing (default): SELECT `id`, `name`, `email`, `password`, `role`, `permissions`, `department`, `phone`, `avatar`, `is_active`, `last_login`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `User` AS `User` WHERE `User`.`id` = '8cc00eb8-378e-4f89-8141-f87aa35fd51d'; Executing (default): SELECT `Floor`.`id`, `Floor`.`building_id`, `Floor`.`floor_number`, `Floor`.`total_rooms`, `Floor`.`occupied_rooms`, `Floor`.`floor_type`, `Floor`.`amenities`, `Floor`.`maintenance_status`, `Floor`.`last_inspection`, `Floor`.`notes`, `Floor`.`created_at` AS `createdAt`, `Floor`.`updated_at` AS `updatedAt`, `rooms`.`id` AS `rooms.id`, `rooms`.`building_id` AS `rooms.building_id`, `rooms`.`floor_id` AS `rooms.floor_id`, `rooms`.`room_number` AS `rooms.room_number`, `rooms`.`total_beds` AS `rooms.total_beds`, `rooms`.`occupied_beds` AS `rooms.occupied_beds`, `rooms`.`rent_per_bed` AS `rooms.rent_per_bed`, `rooms`.`facilities` AS `rooms.facilities`, `rooms`.`room_type` AS `rooms.room_type`, `rooms`.`area` AS `rooms.area`, `rooms`.`has_balcony` AS `rooms.has_balcony`, `rooms`.`has_attached_bathroom` AS `rooms.has_attached_bathroom`, `rooms`.`furnishing_status` AS `rooms.furnishing_status`, `rooms`.`condition` AS `rooms.condition`, `rooms`.`last_cleaned` AS `rooms.last_cleaned`, `rooms`.`security_deposit` AS `rooms.security_deposit`, `rooms`.`available_from` AS `rooms.available_from`, `rooms`.`created_at` AS `rooms.createdAt`, `rooms`.`updated_at` AS `rooms.updatedAt`, `rooms->beds`.`id` AS `rooms.beds.id`, `rooms->beds`.`building_id` AS `rooms.beds.building_id`, `rooms->beds`.`floor_id` AS `rooms.beds.floor_id`, `rooms->beds`.`room_id` AS `rooms.beds.room_id`, `rooms->beds`.`bed_number` AS `rooms.beds.bed_number`, `rooms->beds`.`is_occupied` AS `rooms.beds.is_occupied`, `rooms->beds`.`monthly_rent` AS `rooms.beds.monthly_rent`, `rooms->beds`.`status` AS `rooms.beds.status`, `rooms->beds`.`bed_type` AS `rooms.beds.bed_type`, `rooms->beds`.`last_cleaned` AS `rooms.beds.last_cleaned`, `rooms->beds`.`notes` AS `rooms.beds.notes`, `rooms->beds`.`reserved_until` AS `rooms.beds.reserved_until`, `rooms->beds`.`maintenance_scheduled` AS `rooms.beds.maintenance_scheduled`, `rooms->beds`.`created_at` AS `rooms.beds.createdAt`, `rooms->beds`.`updated_at` AS `rooms.beds.updatedAt`, `rooms->beds->renter`.`id` AS `rooms.beds.renter.id`, `rooms->beds->renter`.`name` AS `rooms.beds.renter.name`, `rooms->beds->renter`.`email` AS `rooms.beds.renter.email`, `rooms->beds->renter`.`phone` AS `rooms.beds.renter.phone`, `rooms->beds->renter`.`alternate_phone` AS `rooms.beds.renter.alternate_phone`, `rooms->beds->renter`.`nid` AS `rooms.beds.renter.nid`, `rooms->beds->renter`.`building_id` AS `rooms.beds.renter.building_id`, `rooms->beds->renter`.`floor_id` AS `rooms.beds.renter.floor_id`, `rooms->beds->renter`.`room_id` AS `rooms.beds.renter.room_id`, `rooms->beds->renter`.`bed_id` AS `rooms.beds.renter.bed_id`, `rooms->beds->renter`.`rent_amount` AS `rooms.beds.renter.rent_amount`, `rooms->beds->renter`.`security_deposit` AS `rooms.beds.renter.security_deposit`, `rooms->beds->renter`.`check_in_date` AS `rooms.beds.renter.check_in_date`, `rooms->beds->renter`.`check_out_date` AS `rooms.beds.renter.check_out_date`, `rooms->beds->renter`.`lease_start_date` AS `rooms.beds.renter.lease_start_date`, `rooms->beds->renter`.`lease_end_date` AS `rooms.beds.renter.lease_end_date`, `rooms->beds->renter`.`status` AS `rooms.beds.renter.status`, `rooms->beds->renter`.`emergency_contact` AS `rooms.beds.renter.emergency_contact`, `rooms->beds->renter`.`emergency_relation` AS `rooms.beds.renter.emergency_relation`, `rooms->beds->renter`.`profile_photo` AS `rooms.beds.renter.profile_photo`, `rooms->beds->renter`.`occupation` AS `rooms.beds.renter.occupation`, `rooms->beds->renter`.`company` AS `rooms.beds.renter.company`, `rooms->beds->renter`.`monthly_income` AS `rooms.beds.renter.monthly_income`, `rooms->beds->renter`.`previous_address` AS `rooms.beds.renter.previous_address`, `rooms->beds->renter`.`references` AS `rooms.beds.renter.references`, `rooms->beds->renter`.`notice_period` AS `rooms.beds.renter.notice_period`, `rooms->beds->renter`.`preferences` AS `rooms.beds.renter.preferences`, `rooms->beds->renter`.`payment_history` AS `rooms.beds.renter.payment_history`, `rooms->beds->renter`.`created_at` AS `rooms.beds.renter.createdAt`, `rooms->beds->renter`.`updated_at` AS `rooms.beds.renter.updatedAt` FROM `Floor` AS `Floor` LEFT OUTER JOIN `Room` AS `rooms` ON `Floor`.`id` = `rooms`.`floor_id` LEFT OUTER JOIN `Bed` AS `rooms->beds` ON `rooms`.`id` = `rooms->beds`.`room_id` LEFT OUTER JOIN `Renter` AS `rooms->beds->renter` ON `rooms->beds`.`id` = `rooms->beds->renter`.`bed_id`; Executing (default): SELECT `id`, `name`, `email`, `password`, `role`, `permissions`, `department`, `phone`, `avatar`, `is_active`, `last_login`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `User` AS `User` WHERE `User`.`id` = '8cc00eb8-378e-4f89-8141-f87aa35fd51d'; Executing (default): SELECT `id`, `name`, `email`, `password`, `role`, `permissions`, `department`, `phone`, `avatar`, `is_active`, `last_login`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `User` AS `User` WHERE `User`.`id` = '8cc00eb8-378e-4f89-8141-f87aa35fd51d'; Executing (default): SELECT `Room`.`id`, `Room`.`building_id`, `Room`.`floor_id`, `Room`.`room_number`, `Room`.`total_beds`, `Room`.`occupied_beds`, `Room`.`rent_per_bed`, `Room`.`facilities`, `Room`.`room_type`, `Room`.`area`, `Room`.`has_balcony`, `Room`.`has_attached_bathroom`, `Room`.`furnishing_status`, `Room`.`condition`, `Room`.`last_cleaned`, `Room`.`security_deposit`, `Room`.`available_from`, `Room`.`created_at` AS `createdAt`, `Room`.`updated_at` AS `updatedAt`, `building`.`id` AS `building.id`, `building`.`name` AS `building.name`, `building`.`address` AS `building.address`, `building`.`floors` AS `building.floors`, `building`.`total_rooms` AS `building.total_rooms`, `building`.`total_beds` AS `building.total_beds`, `building`.`parking_spaces` AS `building.parking_spaces`, `building`.`occupied_beds` AS `building.occupied_beds`, `building`.`manager` AS `building.manager`, `building`.`amenities` AS `building.amenities`, `building`.`monthly_revenue` AS `building.monthly_revenue`, `building`.`building_type` AS `building.building_type`, `building`.`year_built` AS `building.year_built`, `building`.`total_area` AS `building.total_area`, `building`.`elevators` AS `building.elevators`, `building`.`security_features` AS `building.security_features`, `building`.`contact_person` AS `building.contact_person`, `building`.`contact_phone` AS `building.contact_phone`, `building`.`created_at` AS `building.createdAt`, `building`.`updated_at` AS `building.updatedAt`, `floor`.`id` AS `floor.id`, `floor`.`building_id` AS `floor.building_id`, `floor`.`floor_number` AS `floor.floor_number`, `floor`.`total_rooms` AS `floor.total_rooms`, `floor`.`occupied_rooms` AS `floor.occupied_rooms`, `floor`.`floor_type` AS `floor.floor_type`, `floor`.`amenities` AS `floor.amenities`, `floor`.`maintenance_status` AS `floor.maintenance_status`, `floor`.`last_inspection` AS `floor.last_inspection`, `floor`.`notes` AS `floor.notes`, `floor`.`created_at` AS `floor.createdAt`, `floor`.`updated_at` AS `floor.updatedAt`, `beds`.`id` AS `beds.id`, `beds`.`building_id` AS `beds.building_id`, `beds`.`floor_id` AS `beds.floor_id`, `beds`.`room_id` AS `beds.room_id`, `beds`.`bed_number` AS `beds.bed_number`, `beds`.`is_occupied` AS `beds.is_occupied`, `beds`.`monthly_rent` AS `beds.monthly_rent`, `beds`.`status` AS `beds.status`, `beds`.`bed_type` AS `beds.bed_type`, `beds`.`last_cleaned` AS `beds.last_cleaned`, `beds`.`notes` AS `beds.notes`, `beds`.`reserved_until` AS `beds.reserved_until`, `beds`.`maintenance_scheduled` AS `beds.maintenance_scheduled`, `beds`.`created_at` AS `beds.createdAt`, `beds`.`updated_at` AS `beds.updatedAt`, `beds->renter`.`id` AS `beds.renter.id`, `beds->renter`.`name` AS `beds.renter.name`, `beds->renter`.`email` AS `beds.renter.email`, `beds->renter`.`phone` AS `beds.renter.phone`, `beds->renter`.`alternate_phone` AS `beds.renter.alternate_phone`, `beds->renter`.`nid` AS `beds.renter.nid`, `beds->renter`.`building_id` AS `beds.renter.building_id`, `beds->renter`.`floor_id` AS `beds.renter.floor_id`, `beds->renter`.`room_id` AS `beds.renter.room_id`, `beds->renter`.`bed_id` AS `beds.renter.bed_id`, `beds->renter`.`rent_amount` AS `beds.renter.rent_amount`, `beds->renter`.`security_deposit` AS `beds.renter.security_deposit`, `beds->renter`.`check_in_date` AS `beds.renter.check_in_date`, `beds->renter`.`check_out_date` AS `beds.renter.check_out_date`, `beds->renter`.`lease_start_date` AS `beds.renter.lease_start_date`, `beds->renter`.`lease_end_date` AS `beds.renter.lease_end_date`, `beds->renter`.`status` AS `beds.renter.status`, `beds->renter`.`emergency_contact` AS `beds.renter.emergency_contact`, `beds->renter`.`emergency_relation` AS `beds.renter.emergency_relation`, `beds->renter`.`profile_photo` AS `beds.renter.profile_photo`, `beds->renter`.`occupation` AS `beds.renter.occupation`, `beds->renter`.`company` AS `beds.renter.company`, `beds->renter`.`monthly_income` AS `beds.renter.monthly_income`, `beds->renter`.`previous_address` AS `beds.renter.previous_address`, `beds->renter`.`references` AS `beds.renter.references`, `beds->renter`.`notice_period` AS `beds.renter.notice_period`, `beds->renter`.`preferences` AS `beds.renter.preferences`, `beds->renter`.`payment_history` AS `beds.renter.payment_history`, `beds->renter`.`created_at` AS `beds.renter.createdAt`, `beds->renter`.`updated_at` AS `beds.renter.updatedAt` FROM `Room` AS `Room` LEFT OUTER JOIN `Building` AS `building` ON `Room`.`building_id` = `building`.`id` LEFT OUTER JOIN `Floor` AS `floor` ON `Room`.`floor_id` = `floor`.`id` LEFT OUTER JOIN `Bed` AS `beds` ON `Room`.`id` = `beds`.`room_id` LEFT OUTER JOIN `Renter` AS `beds->renter` ON `beds`.`id` = `beds->renter`.`bed_id`; Executing (default): SELECT `Bed`.`id`, `Bed`.`building_id`, `Bed`.`floor_id`, `Bed`.`room_id`, `Bed`.`bed_number`, `Bed`.`is_occupied`, `Bed`.`monthly_rent`, `Bed`.`status`, `Bed`.`bed_type`, `Bed`.`last_cleaned`, `Bed`.`notes`, `Bed`.`reserved_until`, `Bed`.`maintenance_scheduled`, `Bed`.`created_at` AS `createdAt`, `Bed`.`updated_at` AS `updatedAt`, `renter`.`id` AS `renter.id`, `renter`.`name` AS `renter.name`, `renter`.`email` AS `renter.email`, `renter`.`phone` AS `renter.phone`, `renter`.`alternate_phone` AS `renter.alternate_phone`, `renter`.`nid` AS `renter.nid`, `renter`.`building_id` AS `renter.building_id`, `renter`.`floor_id` AS `renter.floor_id`, `renter`.`room_id` AS `renter.room_id`, `renter`.`bed_id` AS `renter.bed_id`, `renter`.`rent_amount` AS `renter.rent_amount`, `renter`.`security_deposit` AS `renter.security_deposit`, `renter`.`check_in_date` AS `renter.check_in_date`, `renter`.`check_out_date` AS `renter.check_out_date`, `renter`.`lease_start_date` AS `renter.lease_start_date`, `renter`.`lease_end_date` AS `renter.lease_end_date`, `renter`.`status` AS `renter.status`, `renter`.`emergency_contact` AS `renter.emergency_contact`, `renter`.`emergency_relation` AS `renter.emergency_relation`, `renter`.`profile_photo` AS `renter.profile_photo`, `renter`.`occupation` AS `renter.occupation`, `renter`.`company` AS `renter.company`, `renter`.`monthly_income` AS `renter.monthly_income`, `renter`.`previous_address` AS `renter.previous_address`, `renter`.`references` AS `renter.references`, `renter`.`notice_period` AS `renter.notice_period`, `renter`.`preferences` AS `renter.preferences`, `renter`.`payment_history` AS `renter.payment_history`, `renter`.`created_at` AS `renter.createdAt`, `renter`.`updated_at` AS `renter.updatedAt`, `room`.`id` AS `room.id`, `room`.`building_id` AS `room.building_id`, `room`.`floor_id` AS `room.floor_id`, `room`.`room_number` AS `room.room_number`, `room`.`total_beds` AS `room.total_beds`, `room`.`occupied_beds` AS `room.occupied_beds`, `room`.`rent_per_bed` AS `room.rent_per_bed`, `room`.`facilities` AS `room.facilities`, `room`.`room_type` AS `room.room_type`, `room`.`area` AS `room.area`, `room`.`has_balcony` AS `room.has_balcony`, `room`.`has_attached_bathroom` AS `room.has_attached_bathroom`, `room`.`furnishing_status` AS `room.furnishing_status`, `room`.`condition` AS `room.condition`, `room`.`last_cleaned` AS `room.last_cleaned`, `room`.`security_deposit` AS `room.security_deposit`, `room`.`available_from` AS `room.available_from`, `room`.`created_at` AS `room.createdAt`, `room`.`updated_at` AS `room.updatedAt`, `room->floor`.`id` AS `room.floor.id`, `room->floor`.`building_id` AS `room.floor.building_id`, `room->floor`.`floor_number` AS `room.floor.floor_number`, `room->floor`.`total_rooms` AS `room.floor.total_rooms`, `room->floor`.`occupied_rooms` AS `room.floor.occupied_rooms`, `room->floor`.`floor_type` AS `room.floor.floor_type`, `room->floor`.`amenities` AS `room.floor.amenities`, `room->floor`.`maintenance_status` AS `room.floor.maintenance_status`, `room->floor`.`last_inspection` AS `room.floor.last_inspection`, `room->floor`.`notes` AS `room.floor.notes`, `room->floor`.`created_at` AS `room.floor.createdAt`, `room->floor`.`updated_at` AS `room.floor.updatedAt`, `room->floor->building`.`id` AS `room.floor.building.id`, `room->floor->building`.`name` AS `room.floor.building.name`, `room->floor->building`.`address` AS `room.floor.building.address`, `room->floor->building`.`floors` AS `room.floor.building.floors`, `room->floor->building`.`total_rooms` AS `room.floor.building.total_rooms`, `room->floor->building`.`total_beds` AS `room.floor.building.total_beds`, `room->floor->building`.`parking_spaces` AS `room.floor.building.parking_spaces`, `room->floor->building`.`occupied_beds` AS `room.floor.building.occupied_beds`, `room->floor->building`.`manager` AS `room.floor.building.manager`, `room->floor->building`.`amenities` AS `room.floor.building.amenities`, `room->floor->building`.`monthly_revenue` AS `room.floor.building.monthly_revenue`, `room->floor->building`.`building_type` AS `room.floor.building.building_type`, `room->floor->building`.`year_built` AS `room.floor.building.year_built`, `room->floor->building`.`total_area` AS `room.floor.building.total_area`, `room->floor->building`.`elevators` AS `room.floor.building.elevators`, `room->floor->building`.`security_features` AS `room.floor.building.security_features`, `room->floor->building`.`contact_person` AS `room.floor.building.contact_person`, `room->floor->building`.`contact_phone` AS `room.floor.building.contact_phone`, `room->floor->building`.`created_at` AS `room.floor.building.createdAt`, `room->floor->building`.`updated_at` AS `room.floor.building.updatedAt` FROM `Bed` AS `Bed` LEFT OUTER JOIN `Renter` AS `renter` ON `Bed`.`id` = `renter`.`bed_id` LEFT OUTER JOIN `Room` AS `room` ON `Bed`.`room_id` = `room`.`id` LEFT OUTER JOIN `Floor` AS `room->floor` ON `room`.`floor_id` = `room->floor`.`id` LEFT OUTER JOIN `Building` AS `room->floor->building` ON `room->floor`.`building_id` = `room->floor->building`.`id`; Executing (default): SELECT `id`, `name`, `email`, `password`, `role`, `permissions`, `department`, `phone`, `avatar`, `is_active`, `last_login`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `User` AS `User` WHERE `User`.`id` = '8cc00eb8-378e-4f89-8141-f87aa35fd51d'; Executing (default): SELECT `Renter`.`id`, `Renter`.`name`, `Renter`.`email`, `Renter`.`phone`, `Renter`.`alternate_phone`, `Renter`.`nid`, `Renter`.`building_id`, `Renter`.`floor_id`, `Renter`.`room_id`, `Renter`.`bed_id`, `Renter`.`rent_amount`, `Renter`.`security_deposit`, `Renter`.`check_in_date`, `Renter`.`check_out_date`, `Renter`.`lease_start_date`, `Renter`.`lease_end_date`, `Renter`.`status`, `Renter`.`emergency_contact`, `Renter`.`emergency_relation`, `Renter`.`profile_photo`, `Renter`.`occupation`, `Renter`.`company`, `Renter`.`monthly_income`, `Renter`.`previous_address`, `Renter`.`references`, `Renter`.`notice_period`, `Renter`.`preferences`, `Renter`.`payment_history`, `Renter`.`created_at` AS `createdAt`, `Renter`.`updated_at` AS `updatedAt`, `room`.`id` AS `room.id`, `room`.`building_id` AS `room.building_id`, `room`.`floor_id` AS `room.floor_id`, `room`.`room_number` AS `room.room_number`, `room`.`total_beds` AS `room.total_beds`, `room`.`occupied_beds` AS `room.occupied_beds`, `room`.`rent_per_bed` AS `room.rent_per_bed`, `room`.`facilities` AS `room.facilities`, `room`.`room_type` AS `room.room_type`, `room`.`area` AS `room.area`, `room`.`has_balcony` AS `room.has_balcony`, `room`.`has_attached_bathroom` AS `room.has_attached_bathroom`, `room`.`furnishing_status` AS `room.furnishing_status`, `room`.`condition` AS `room.condition`, `room`.`last_cleaned` AS `room.last_cleaned`, `room`.`security_deposit` AS `room.security_deposit`, `room`.`available_from` AS `room.available_from`, `room`.`created_at` AS `room.createdAt`, `room`.`updated_at` AS `room.updatedAt`, `documents`.`id` AS `documents.id`, `documents`.`renter_id` AS `documents.renter_id`, `documents`.`type` AS `documents.type`, `documents`.`file_name` AS `documents.file_name`, `documents`.`file_url` AS `documents.file_url`, `documents`.`file_size` AS `documents.file_size`, `documents`.`mime_type` AS `documents.mime_type`, `documents`.`description` AS `documents.description`, `documents`.`created_at` AS `documents.createdAt`, `documents`.`updated_at` AS `documents.updatedAt` FROM `Renter` AS `Renter` LEFT OUTER JOIN `Room` AS `room` ON `Renter`.`room_id` = `room`.`id` LEFT OUTER JOIN `RenterDocument` AS `documents` ON `Renter`.`id` = `documents`.`renter_id`; Executing (default): SELECT `id`, `name`, `email`, `password`, `role`, `permissions`, `department`, `phone`, `avatar`, `is_active`, `last_login`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `User` AS `User` WHERE `User`.`id` = '8cc00eb8-378e-4f89-8141-f87aa35fd51d'; Executing (default): SELECT `id`, `name`, `email`, `password`, `role`, `permissions`, `department`, `phone`, `avatar`, `is_active`, `last_login`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `User` AS `User` WHERE `User`.`id` = '8cc00eb8-378e-4f89-8141-f87aa35fd51d'; Executing (default): SELECT `id`, `building_id`, `floor_id`, `category`, `subcategory`, `description`, `amount`, `date`, `vendor`, `receipt`, `approved_by`, `payment_method`, `is_recurring`, `recurring_frequency`, `budget_category`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `Expense` AS `Expense`; Executing (default): SELECT `id`, `renter_id`, `amount`, `due_date`, `paid_date`, `status`, `month`, `year`, `payment_method`, `transaction_id`, `late_fee`, `discount`, `notes`, `receipt_number`, `collected_by`, `renter_name` AS `renterName`, `room_number`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `RentPayment` AS `RentPayment`; Executing (default): SELECT `id`, `building_id`, `floor_id`, `room_id`, `bed_id`, `type`, `category`, `description`, `priority`, `status`, `assigned_to`, `cost`, `estimated_cost`, `scheduled_date`, `completed_date`, `notes`, `images`, `warranty`, `next_maintenance_date`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `Maintenance` AS `Maintenance`; Executing (default): SELECT `id`, `visitor_name`, `visitor_phone`, `visiting_renter_id`, `check_in_time`, `check_out_time`, `purpose`, `approved_by`, `id_verified`, `vehicle_number`, `notes`, `visiting_renter_name`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `Visitor` AS `Visitor`; Executing (default): SELECT `id`, `title`, `content`, `type`, `priority`, `target_audience`, `target_ids`, `building_id`, `floor_id`, `created_by`, `expiry_date`, `is_active`, `read_by`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `Notice` AS `Notice`; Executing (default): SELECT `id`, `name`, `value`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `Settings` AS `Settings`; Executing (default): SELECT `id`, `name`, `email`, `password`, `role`, `permissions`, `department`, `phone`, `avatar`, `is_active`, `last_login`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `User` AS `User` WHERE `User`.`id` = '8cc00eb8-378e-4f89-8141-f87aa35fd51d'; Executing (default): INSERT INTO `Building` (`id`,`name`,`address`,`floors`,`total_rooms`,`total_beds`,`parking_spaces`,`occupied_beds`,`amenities`,`monthly_revenue`,`building_type`,`elevators`,`security_features`,`created_at`,`updated_at`) VALUES (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?); Executing (default): SELECT `id`, `name`, `email`, `password`, `role`, `permissions`, `department`, `phone`, `avatar`, `is_active`, `last_login`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `User` AS `User` WHERE `User`.`id` = '8cc00eb8-378e-4f89-8141-f87aa35fd51d'; Executing (default): SELECT `Building`.`id`, `Building`.`name`, `Building`.`address`, `Building`.`floors`, `Building`.`total_rooms`, `Building`.`total_beds`, `Building`.`parking_spaces`, `Building`.`occupied_beds`, `Building`.`manager`, `Building`.`amenities`, `Building`.`monthly_revenue`, `Building`.`building_type`, `Building`.`year_built`, `Building`.`total_area`, `Building`.`elevators`, `Building`.`security_features`, `Building`.`contact_person`, `Building`.`contact_phone`, `Building`.`created_at` AS `createdAt`, `Building`.`updated_at` AS `updatedAt`, `buildingFloors`.`id` AS `buildingFloors.id`, `buildingFloors`.`building_id` AS `buildingFloors.building_id`, `buildingFloors`.`floor_number` AS `buildingFloors.floor_number`, `buildingFloors`.`total_rooms` AS `buildingFloors.total_rooms`, `buildingFloors`.`occupied_rooms` AS `buildingFloors.occupied_rooms`, `buildingFloors`.`floor_type` AS `buildingFloors.floor_type`, `buildingFloors`.`amenities` AS `buildingFloors.amenities`, `buildingFloors`.`maintenance_status` AS `buildingFloors.maintenance_status`, `buildingFloors`.`last_inspection` AS `buildingFloors.last_inspection`, `buildingFloors`.`notes` AS `buildingFloors.notes`, `buildingFloors`.`created_at` AS `buildingFloors.createdAt`, `buildingFloors`.`updated_at` AS `buildingFloors.updatedAt`, `buildingFloors->rooms`.`id` AS `buildingFloors.rooms.id`, `buildingFloors->rooms`.`building_id` AS `buildingFloors.rooms.building_id`, `buildingFloors->rooms`.`floor_id` AS `buildingFloors.rooms.floor_id`, `buildingFloors->rooms`.`room_number` AS `buildingFloors.rooms.room_number`, `buildingFloors->rooms`.`total_beds` AS `buildingFloors.rooms.total_beds`, `buildingFloors->rooms`.`occupied_beds` AS `buildingFloors.rooms.occupied_beds`, `buildingFloors->rooms`.`rent_per_bed` AS `buildingFloors.rooms.rent_per_bed`, `buildingFloors->rooms`.`facilities` AS `buildingFloors.rooms.facilities`, `buildingFloors->rooms`.`room_type` AS `buildingFloors.rooms.room_type`, `buildingFloors->rooms`.`area` AS `buildingFloors.rooms.area`, `buildingFloors->rooms`.`has_balcony` AS `buildingFloors.rooms.has_balcony`, `buildingFloors->rooms`.`has_attached_bathroom` AS `buildingFloors.rooms.has_attached_bathroom`, `buildingFloors->rooms`.`furnishing_status` AS `buildingFloors.rooms.furnishing_status`, `buildingFloors->rooms`.`condition` AS `buildingFloors.rooms.condition`, `buildingFloors->rooms`.`last_cleaned` AS `buildingFloors.rooms.last_cleaned`, `buildingFloors->rooms`.`security_deposit` AS `buildingFloors.rooms.security_deposit`, `buildingFloors->rooms`.`available_from` AS `buildingFloors.rooms.available_from`, `buildingFloors->rooms`.`created_at` AS `buildingFloors.rooms.createdAt`, `buildingFloors->rooms`.`updated_at` AS `buildingFloors.rooms.updatedAt`, `buildingFloors->rooms->beds`.`id` AS `buildingFloors.rooms.beds.id`, `buildingFloors->rooms->beds`.`building_id` AS `buildingFloors.rooms.beds.building_id`, `buildingFloors->rooms->beds`.`floor_id` AS `buildingFloors.rooms.beds.floor_id`, `buildingFloors->rooms->beds`.`room_id` AS `buildingFloors.rooms.beds.room_id`, `buildingFloors->rooms->beds`.`bed_number` AS `buildingFloors.rooms.beds.bed_number`, `buildingFloors->rooms->beds`.`is_occupied` AS `buildingFloors.rooms.beds.is_occupied`, `buildingFloors->rooms->beds`.`monthly_rent` AS `buildingFloors.rooms.beds.monthly_rent`, `buildingFloors->rooms->beds`.`status` AS `buildingFloors.rooms.beds.status`, `buildingFloors->rooms->beds`.`bed_type` AS `buildingFloors.rooms.beds.bed_type`, `buildingFloors->rooms->beds`.`last_cleaned` AS `buildingFloors.rooms.beds.last_cleaned`, `buildingFloors->rooms->beds`.`notes` AS `buildingFloors.rooms.beds.notes`, `buildingFloors->rooms->beds`.`reserved_until` AS `buildingFloors.rooms.beds.reserved_until`, `buildingFloors->rooms->beds`.`maintenance_scheduled` AS `buildingFloors.rooms.beds.maintenance_scheduled`, `buildingFloors->rooms->beds`.`created_at` AS `buildingFloors.rooms.beds.createdAt`, `buildingFloors->rooms->beds`.`updated_at` AS `buildingFloors.rooms.beds.updatedAt`, `buildingFloors->rooms->beds->renter`.`id` AS `buildingFloors.rooms.beds.renter.id`, `buildingFloors->rooms->beds->renter`.`name` AS `buildingFloors.rooms.beds.renter.name`, `buildingFloors->rooms->beds->renter`.`email` AS `buildingFloors.rooms.beds.renter.email`, `buildingFloors->rooms->beds->renter`.`phone` AS `buildingFloors.rooms.beds.renter.phone`, `buildingFloors->rooms->beds->renter`.`alternate_phone` AS `buildingFloors.rooms.beds.renter.alternate_phone`, `buildingFloors->rooms->beds->renter`.`nid` AS `buildingFloors.rooms.beds.renter.nid`, `buildingFloors->rooms->beds->renter`.`building_id` AS `buildingFloors.rooms.beds.renter.building_id`, `buildingFloors->rooms->beds->renter`.`floor_id` AS `buildingFloors.rooms.beds.renter.floor_id`, `buildingFloors->rooms->beds->renter`.`room_id` AS `buildingFloors.rooms.beds.renter.room_id`, `buildingFloors->rooms->beds->renter`.`bed_id` AS `buildingFloors.rooms.beds.renter.bed_id`, `buildingFloors->rooms->beds->renter`.`rent_amount` AS `buildingFloors.rooms.beds.renter.rent_amount`, `buildingFloors->rooms->beds->renter`.`security_deposit` AS `buildingFloors.rooms.beds.renter.security_deposit`, `buildingFloors->rooms->beds->renter`.`check_in_date` AS `buildingFloors.rooms.beds.renter.check_in_date`, `buildingFloors->rooms->beds->renter`.`check_out_date` AS `buildingFloors.rooms.beds.renter.check_out_date`, `buildingFloors->rooms->beds->renter`.`lease_start_date` AS `buildingFloors.rooms.beds.renter.lease_start_date`, `buildingFloors->rooms->beds->renter`.`lease_end_date` AS `buildingFloors.rooms.beds.renter.lease_end_date`, `buildingFloors->rooms->beds->renter`.`status` AS `buildingFloors.rooms.beds.renter.status`, `buildingFloors->rooms->beds->renter`.`emergency_contact` AS `buildingFloors.rooms.beds.renter.emergency_contact`, `buildingFloors->rooms->beds->renter`.`emergency_relation` AS `buildingFloors.rooms.beds.renter.emergency_relation`, `buildingFloors->rooms->beds->renter`.`profile_photo` AS `buildingFloors.rooms.beds.renter.profile_photo`, `buildingFloors->rooms->beds->renter`.`occupation` AS `buildingFloors.rooms.beds.renter.occupation`, `buildingFloors->rooms->beds->renter`.`company` AS `buildingFloors.rooms.beds.renter.company`, `buildingFloors->rooms->beds->renter`.`monthly_income` AS `buildingFloors.rooms.beds.renter.monthly_income`, `buildingFloors->rooms->beds->renter`.`previous_address` AS `buildingFloors.rooms.beds.renter.previous_address`, `buildingFloors->rooms->beds->renter`.`references` AS `buildingFloors.rooms.beds.renter.references`, `buildingFloors->rooms->beds->renter`.`notice_period` AS `buildingFloors.rooms.beds.renter.notice_period`, `buildingFloors->rooms->beds->renter`.`preferences` AS `buildingFloors.rooms.beds.renter.preferences`, `buildingFloors->rooms->beds->renter`.`payment_history` AS `buildingFloors.rooms.beds.renter.payment_history`, `buildingFloors->rooms->beds->renter`.`created_at` AS `buildingFloors.rooms.beds.renter.createdAt`, `buildingFloors->rooms->beds->renter`.`updated_at` AS `buildingFloors.rooms.beds.renter.updatedAt` FROM `Building` AS `Building` LEFT OUTER JOIN `Floor` AS `buildingFloors` ON `Building`.`id` = `buildingFloors`.`building_id` LEFT OUTER JOIN `Room` AS `buildingFloors->rooms` ON `buildingFloors`.`id` = `buildingFloors->rooms`.`floor_id` LEFT OUTER JOIN `Bed` AS `buildingFloors->rooms->beds` ON `buildingFloors->rooms`.`id` = `buildingFloors->rooms->beds`.`room_id` LEFT OUTER JOIN `Renter` AS `buildingFloors->rooms->beds->renter` ON `buildingFloors->rooms->beds`.`id` = `buildingFloors->rooms->beds->renter`.`bed_id` ORDER BY `createdAt` DESC; Executing (default): SELECT `id`, `name`, `email`, `password`, `role`, `permissions`, `department`, `phone`, `avatar`, `is_active`, `last_login`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `User` AS `User` WHERE `User`.`id` = '8cc00eb8-378e-4f89-8141-f87aa35fd51d'; Executing (default): SELECT `id`, `name`, `email`, `role`, `permissions`, `department`, `phone`, `avatar`, `is_active`, `last_login`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `User` AS `User` WHERE `User`.`id` = '8cc00eb8-378e-4f89-8141-f87aa35fd51d'; Executing (default): SELECT `id`, `name`, `email`, `password`, `role`, `permissions`, `department`, `phone`, `avatar`, `is_active`, `last_login`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `User` AS `User` WHERE `User`.`id` = '8cc00eb8-378e-4f89-8141-f87aa35fd51d'; Executing (default): SELECT `id`, `name`, `email`, `role`, `permissions`, `department`, `phone`, `avatar`, `is_active`, `last_login`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `User` AS `User` WHERE `User`.`id` = '8cc00eb8-378e-4f89-8141-f87aa35fd51d'; Executing (default): SELECT `id`, `name`, `email`, `password`, `role`, `permissions`, `department`, `phone`, `avatar`, `is_active`, `last_login`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `User` AS `User` WHERE `User`.`id` = '8cc00eb8-378e-4f89-8141-f87aa35fd51d'; Executing (default): SELECT `Building`.`id`, `Building`.`name`, `Building`.`address`, `Building`.`floors`, `Building`.`total_rooms`, `Building`.`total_beds`, `Building`.`parking_spaces`, `Building`.`occupied_beds`, `Building`.`manager`, `Building`.`amenities`, `Building`.`monthly_revenue`, `Building`.`building_type`, `Building`.`year_built`, `Building`.`total_area`, `Building`.`elevators`, `Building`.`security_features`, `Building`.`contact_person`, `Building`.`contact_phone`, `Building`.`created_at` AS `createdAt`, `Building`.`updated_at` AS `updatedAt`, `buildingFloors`.`id` AS `buildingFloors.id`, `buildingFloors`.`building_id` AS `buildingFloors.building_id`, `buildingFloors`.`floor_number` AS `buildingFloors.floor_number`, `buildingFloors`.`total_rooms` AS `buildingFloors.total_rooms`, `buildingFloors`.`occupied_rooms` AS `buildingFloors.occupied_rooms`, `buildingFloors`.`floor_type` AS `buildingFloors.floor_type`, `buildingFloors`.`amenities` AS `buildingFloors.amenities`, `buildingFloors`.`maintenance_status` AS `buildingFloors.maintenance_status`, `buildingFloors`.`last_inspection` AS `buildingFloors.last_inspection`, `buildingFloors`.`notes` AS `buildingFloors.notes`, `buildingFloors`.`created_at` AS `buildingFloors.createdAt`, `buildingFloors`.`updated_at` AS `buildingFloors.updatedAt`, `buildingFloors->rooms`.`id` AS `buildingFloors.rooms.id`, `buildingFloors->rooms`.`building_id` AS `buildingFloors.rooms.building_id`, `buildingFloors->rooms`.`floor_id` AS `buildingFloors.rooms.floor_id`, `buildingFloors->rooms`.`room_number` AS `buildingFloors.rooms.room_number`, `buildingFloors->rooms`.`total_beds` AS `buildingFloors.rooms.total_beds`, `buildingFloors->rooms`.`occupied_beds` AS `buildingFloors.rooms.occupied_beds`, `buildingFloors->rooms`.`rent_per_bed` AS `buildingFloors.rooms.rent_per_bed`, `buildingFloors->rooms`.`facilities` AS `buildingFloors.rooms.facilities`, `buildingFloors->rooms`.`room_type` AS `buildingFloors.rooms.room_type`, `buildingFloors->rooms`.`area` AS `buildingFloors.rooms.area`, `buildingFloors->rooms`.`has_balcony` AS `buildingFloors.rooms.has_balcony`, `buildingFloors->rooms`.`has_attached_bathroom` AS `buildingFloors.rooms.has_attached_bathroom`, `buildingFloors->rooms`.`furnishing_status` AS `buildingFloors.rooms.furnishing_status`, `buildingFloors->rooms`.`condition` AS `buildingFloors.rooms.condition`, `buildingFloors->rooms`.`last_cleaned` AS `buildingFloors.rooms.last_cleaned`, `buildingFloors->rooms`.`security_deposit` AS `buildingFloors.rooms.security_deposit`, `buildingFloors->rooms`.`available_from` AS `buildingFloors.rooms.available_from`, `buildingFloors->rooms`.`created_at` AS `buildingFloors.rooms.createdAt`, `buildingFloors->rooms`.`updated_at` AS `buildingFloors.rooms.updatedAt`, `buildingFloors->rooms->beds`.`id` AS `buildingFloors.rooms.beds.id`, `buildingFloors->rooms->beds`.`building_id` AS `buildingFloors.rooms.beds.building_id`, `buildingFloors->rooms->beds`.`floor_id` AS `buildingFloors.rooms.beds.floor_id`, `buildingFloors->rooms->beds`.`room_id` AS `buildingFloors.rooms.beds.room_id`, `buildingFloors->rooms->beds`.`bed_number` AS `buildingFloors.rooms.beds.bed_number`, `buildingFloors->rooms->beds`.`is_occupied` AS `buildingFloors.rooms.beds.is_occupied`, `buildingFloors->rooms->beds`.`monthly_rent` AS `buildingFloors.rooms.beds.monthly_rent`, `buildingFloors->rooms->beds`.`status` AS `buildingFloors.rooms.beds.status`, `buildingFloors->rooms->beds`.`bed_type` AS `buildingFloors.rooms.beds.bed_type`, `buildingFloors->rooms->beds`.`last_cleaned` AS `buildingFloors.rooms.beds.last_cleaned`, `buildingFloors->rooms->beds`.`notes` AS `buildingFloors.rooms.beds.notes`, `buildingFloors->rooms->beds`.`reserved_until` AS `buildingFloors.rooms.beds.reserved_until`, `buildingFloors->rooms->beds`.`maintenance_scheduled` AS `buildingFloors.rooms.beds.maintenance_scheduled`, `buildingFloors->rooms->beds`.`created_at` AS `buildingFloors.rooms.beds.createdAt`, `buildingFloors->rooms->beds`.`updated_at` AS `buildingFloors.rooms.beds.updatedAt`, `buildingFloors->rooms->beds->renter`.`id` AS `buildingFloors.rooms.beds.renter.id`, `buildingFloors->rooms->beds->renter`.`name` AS `buildingFloors.rooms.beds.renter.name`, `buildingFloors->rooms->beds->renter`.`email` AS `buildingFloors.rooms.beds.renter.email`, `buildingFloors->rooms->beds->renter`.`phone` AS `buildingFloors.rooms.beds.renter.phone`, `buildingFloors->rooms->beds->renter`.`alternate_phone` AS `buildingFloors.rooms.beds.renter.alternate_phone`, `buildingFloors->rooms->beds->renter`.`nid` AS `buildingFloors.rooms.beds.renter.nid`, `buildingFloors->rooms->beds->renter`.`building_id` AS `buildingFloors.rooms.beds.renter.building_id`, `buildingFloors->rooms->beds->renter`.`floor_id` AS `buildingFloors.rooms.beds.renter.floor_id`, `buildingFloors->rooms->beds->renter`.`room_id` AS `buildingFloors.rooms.beds.renter.room_id`, `buildingFloors->rooms->beds->renter`.`bed_id` AS `buildingFloors.rooms.beds.renter.bed_id`, `buildingFloors->rooms->beds->renter`.`rent_amount` AS `buildingFloors.rooms.beds.renter.rent_amount`, `buildingFloors->rooms->beds->renter`.`security_deposit` AS `buildingFloors.rooms.beds.renter.security_deposit`, `buildingFloors->rooms->beds->renter`.`check_in_date` AS `buildingFloors.rooms.beds.renter.check_in_date`, `buildingFloors->rooms->beds->renter`.`check_out_date` AS `buildingFloors.rooms.beds.renter.check_out_date`, `buildingFloors->rooms->beds->renter`.`lease_start_date` AS `buildingFloors.rooms.beds.renter.lease_start_date`, `buildingFloors->rooms->beds->renter`.`lease_end_date` AS `buildingFloors.rooms.beds.renter.lease_end_date`, `buildingFloors->rooms->beds->renter`.`status` AS `buildingFloors.rooms.beds.renter.status`, `buildingFloors->rooms->beds->renter`.`emergency_contact` AS `buildingFloors.rooms.beds.renter.emergency_contact`, `buildingFloors->rooms->beds->renter`.`emergency_relation` AS `buildingFloors.rooms.beds.renter.emergency_relation`, `buildingFloors->rooms->beds->renter`.`profile_photo` AS `buildingFloors.rooms.beds.renter.profile_photo`, `buildingFloors->rooms->beds->renter`.`occupation` AS `buildingFloors.rooms.beds.renter.occupation`, `buildingFloors->rooms->beds->renter`.`company` AS `buildingFloors.rooms.beds.renter.company`, `buildingFloors->rooms->beds->renter`.`monthly_income` AS `buildingFloors.rooms.beds.renter.monthly_income`, `buildingFloors->rooms->beds->renter`.`previous_address` AS `buildingFloors.rooms.beds.renter.previous_address`, `buildingFloors->rooms->beds->renter`.`references` AS `buildingFloors.rooms.beds.renter.references`, `buildingFloors->rooms->beds->renter`.`notice_period` AS `buildingFloors.rooms.beds.renter.notice_period`, `buildingFloors->rooms->beds->renter`.`preferences` AS `buildingFloors.rooms.beds.renter.preferences`, `buildingFloors->rooms->beds->renter`.`payment_history` AS `buildingFloors.rooms.beds.renter.payment_history`, `buildingFloors->rooms->beds->renter`.`created_at` AS `buildingFloors.rooms.beds.renter.createdAt`, `buildingFloors->rooms->beds->renter`.`updated_at` AS `buildingFloors.rooms.beds.renter.updatedAt` FROM `Building` AS `Building` LEFT OUTER JOIN `Floor` AS `buildingFloors` ON `Building`.`id` = `buildingFloors`.`building_id` LEFT OUTER JOIN `Room` AS `buildingFloors->rooms` ON `buildingFloors`.`id` = `buildingFloors->rooms`.`floor_id` LEFT OUTER JOIN `Bed` AS `buildingFloors->rooms->beds` ON `buildingFloors->rooms`.`id` = `buildingFloors->rooms->beds`.`room_id` LEFT OUTER JOIN `Renter` AS `buildingFloors->rooms->beds->renter` ON `buildingFloors->rooms->beds`.`id` = `buildingFloors->rooms->beds->renter`.`bed_id` ORDER BY `createdAt` DESC; Executing (default): SELECT `id`, `name`, `email`, `password`, `role`, `permissions`, `department`, `phone`, `avatar`, `is_active`, `last_login`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `User` AS `User` WHERE `User`.`id` = '8cc00eb8-378e-4f89-8141-f87aa35fd51d'; Executing (default): SELECT `Floor`.`id`, `Floor`.`building_id`, `Floor`.`floor_number`, `Floor`.`total_rooms`, `Floor`.`occupied_rooms`, `Floor`.`floor_type`, `Floor`.`amenities`, `Floor`.`maintenance_status`, `Floor`.`last_inspection`, `Floor`.`notes`, `Floor`.`created_at` AS `createdAt`, `Floor`.`updated_at` AS `updatedAt`, `rooms`.`id` AS `rooms.id`, `rooms`.`building_id` AS `rooms.building_id`, `rooms`.`floor_id` AS `rooms.floor_id`, `rooms`.`room_number` AS `rooms.room_number`, `rooms`.`total_beds` AS `rooms.total_beds`, `rooms`.`occupied_beds` AS `rooms.occupied_beds`, `rooms`.`rent_per_bed` AS `rooms.rent_per_bed`, `rooms`.`facilities` AS `rooms.facilities`, `rooms`.`room_type` AS `rooms.room_type`, `rooms`.`area` AS `rooms.area`, `rooms`.`has_balcony` AS `rooms.has_balcony`, `rooms`.`has_attached_bathroom` AS `rooms.has_attached_bathroom`, `rooms`.`furnishing_status` AS `rooms.furnishing_status`, `rooms`.`condition` AS `rooms.condition`, `rooms`.`last_cleaned` AS `rooms.last_cleaned`, `rooms`.`security_deposit` AS `rooms.security_deposit`, `rooms`.`available_from` AS `rooms.available_from`, `rooms`.`created_at` AS `rooms.createdAt`, `rooms`.`updated_at` AS `rooms.updatedAt`, `rooms->beds`.`id` AS `rooms.beds.id`, `rooms->beds`.`building_id` AS `rooms.beds.building_id`, `rooms->beds`.`floor_id` AS `rooms.beds.floor_id`, `rooms->beds`.`room_id` AS `rooms.beds.room_id`, `rooms->beds`.`bed_number` AS `rooms.beds.bed_number`, `rooms->beds`.`is_occupied` AS `rooms.beds.is_occupied`, `rooms->beds`.`monthly_rent` AS `rooms.beds.monthly_rent`, `rooms->beds`.`status` AS `rooms.beds.status`, `rooms->beds`.`bed_type` AS `rooms.beds.bed_type`, `rooms->beds`.`last_cleaned` AS `rooms.beds.last_cleaned`, `rooms->beds`.`notes` AS `rooms.beds.notes`, `rooms->beds`.`reserved_until` AS `rooms.beds.reserved_until`, `rooms->beds`.`maintenance_scheduled` AS `rooms.beds.maintenance_scheduled`, `rooms->beds`.`created_at` AS `rooms.beds.createdAt`, `rooms->beds`.`updated_at` AS `rooms.beds.updatedAt`, `rooms->beds->renter`.`id` AS `rooms.beds.renter.id`, `rooms->beds->renter`.`name` AS `rooms.beds.renter.name`, `rooms->beds->renter`.`email` AS `rooms.beds.renter.email`, `rooms->beds->renter`.`phone` AS `rooms.beds.renter.phone`, `rooms->beds->renter`.`alternate_phone` AS `rooms.beds.renter.alternate_phone`, `rooms->beds->renter`.`nid` AS `rooms.beds.renter.nid`, `rooms->beds->renter`.`building_id` AS `rooms.beds.renter.building_id`, `rooms->beds->renter`.`floor_id` AS `rooms.beds.renter.floor_id`, `rooms->beds->renter`.`room_id` AS `rooms.beds.renter.room_id`, `rooms->beds->renter`.`bed_id` AS `rooms.beds.renter.bed_id`, `rooms->beds->renter`.`rent_amount` AS `rooms.beds.renter.rent_amount`, `rooms->beds->renter`.`security_deposit` AS `rooms.beds.renter.security_deposit`, `rooms->beds->renter`.`check_in_date` AS `rooms.beds.renter.check_in_date`, `rooms->beds->renter`.`check_out_date` AS `rooms.beds.renter.check_out_date`, `rooms->beds->renter`.`lease_start_date` AS `rooms.beds.renter.lease_start_date`, `rooms->beds->renter`.`lease_end_date` AS `rooms.beds.renter.lease_end_date`, `rooms->beds->renter`.`status` AS `rooms.beds.renter.status`, `rooms->beds->renter`.`emergency_contact` AS `rooms.beds.renter.emergency_contact`, `rooms->beds->renter`.`emergency_relation` AS `rooms.beds.renter.emergency_relation`, `rooms->beds->renter`.`profile_photo` AS `rooms.beds.renter.profile_photo`, `rooms->beds->renter`.`occupation` AS `rooms.beds.renter.occupation`, `rooms->beds->renter`.`company` AS `rooms.beds.renter.company`, `rooms->beds->renter`.`monthly_income` AS `rooms.beds.renter.monthly_income`, `rooms->beds->renter`.`previous_address` AS `rooms.beds.renter.previous_address`, `rooms->beds->renter`.`references` AS `rooms.beds.renter.references`, `rooms->beds->renter`.`notice_period` AS `rooms.beds.renter.notice_period`, `rooms->beds->renter`.`preferences` AS `rooms.beds.renter.preferences`, `rooms->beds->renter`.`payment_history` AS `rooms.beds.renter.payment_history`, `rooms->beds->renter`.`created_at` AS `rooms.beds.renter.createdAt`, `rooms->beds->renter`.`updated_at` AS `rooms.beds.renter.updatedAt` FROM `Floor` AS `Floor` LEFT OUTER JOIN `Room` AS `rooms` ON `Floor`.`id` = `rooms`.`floor_id` LEFT OUTER JOIN `Bed` AS `rooms->beds` ON `rooms`.`id` = `rooms->beds`.`room_id` LEFT OUTER JOIN `Renter` AS `rooms->beds->renter` ON `rooms->beds`.`id` = `rooms->beds->renter`.`bed_id`; Executing (default): SELECT `id`, `name`, `email`, `password`, `role`, `permissions`, `department`, `phone`, `avatar`, `is_active`, `last_login`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `User` AS `User` WHERE `User`.`id` = '8cc00eb8-378e-4f89-8141-f87aa35fd51d'; Executing (default): SELECT `Room`.`id`, `Room`.`building_id`, `Room`.`floor_id`, `Room`.`room_number`, `Room`.`total_beds`, `Room`.`occupied_beds`, `Room`.`rent_per_bed`, `Room`.`facilities`, `Room`.`room_type`, `Room`.`area`, `Room`.`has_balcony`, `Room`.`has_attached_bathroom`, `Room`.`furnishing_status`, `Room`.`condition`, `Room`.`last_cleaned`, `Room`.`security_deposit`, `Room`.`available_from`, `Room`.`created_at` AS `createdAt`, `Room`.`updated_at` AS `updatedAt`, `building`.`id` AS `building.id`, `building`.`name` AS `building.name`, `building`.`address` AS `building.address`, `building`.`floors` AS `building.floors`, `building`.`total_rooms` AS `building.total_rooms`, `building`.`total_beds` AS `building.total_beds`, `building`.`parking_spaces` AS `building.parking_spaces`, `building`.`occupied_beds` AS `building.occupied_beds`, `building`.`manager` AS `building.manager`, `building`.`amenities` AS `building.amenities`, `building`.`monthly_revenue` AS `building.monthly_revenue`, `building`.`building_type` AS `building.building_type`, `building`.`year_built` AS `building.year_built`, `building`.`total_area` AS `building.total_area`, `building`.`elevators` AS `building.elevators`, `building`.`security_features` AS `building.security_features`, `building`.`contact_person` AS `building.contact_person`, `building`.`contact_phone` AS `building.contact_phone`, `building`.`created_at` AS `building.createdAt`, `building`.`updated_at` AS `building.updatedAt`, `floor`.`id` AS `floor.id`, `floor`.`building_id` AS `floor.building_id`, `floor`.`floor_number` AS `floor.floor_number`, `floor`.`total_rooms` AS `floor.total_rooms`, `floor`.`occupied_rooms` AS `floor.occupied_rooms`, `floor`.`floor_type` AS `floor.floor_type`, `floor`.`amenities` AS `floor.amenities`, `floor`.`maintenance_status` AS `floor.maintenance_status`, `floor`.`last_inspection` AS `floor.last_inspection`, `floor`.`notes` AS `floor.notes`, `floor`.`created_at` AS `floor.createdAt`, `floor`.`updated_at` AS `floor.updatedAt`, `beds`.`id` AS `beds.id`, `beds`.`building_id` AS `beds.building_id`, `beds`.`floor_id` AS `beds.floor_id`, `beds`.`room_id` AS `beds.room_id`, `beds`.`bed_number` AS `beds.bed_number`, `beds`.`is_occupied` AS `beds.is_occupied`, `beds`.`monthly_rent` AS `beds.monthly_rent`, `beds`.`status` AS `beds.status`, `beds`.`bed_type` AS `beds.bed_type`, `beds`.`last_cleaned` AS `beds.last_cleaned`, `beds`.`notes` AS `beds.notes`, `beds`.`reserved_until` AS `beds.reserved_until`, `beds`.`maintenance_scheduled` AS `beds.maintenance_scheduled`, `beds`.`created_at` AS `beds.createdAt`, `beds`.`updated_at` AS `beds.updatedAt`, `beds->renter`.`id` AS `beds.renter.id`, `beds->renter`.`name` AS `beds.renter.name`, `beds->renter`.`email` AS `beds.renter.email`, `beds->renter`.`phone` AS `beds.renter.phone`, `beds->renter`.`alternate_phone` AS `beds.renter.alternate_phone`, `beds->renter`.`nid` AS `beds.renter.nid`, `beds->renter`.`building_id` AS `beds.renter.building_id`, `beds->renter`.`floor_id` AS `beds.renter.floor_id`, `beds->renter`.`room_id` AS `beds.renter.room_id`, `beds->renter`.`bed_id` AS `beds.renter.bed_id`, `beds->renter`.`rent_amount` AS `beds.renter.rent_amount`, `beds->renter`.`security_deposit` AS `beds.renter.security_deposit`, `beds->renter`.`check_in_date` AS `beds.renter.check_in_date`, `beds->renter`.`check_out_date` AS `beds.renter.check_out_date`, `beds->renter`.`lease_start_date` AS `beds.renter.lease_start_date`, `beds->renter`.`lease_end_date` AS `beds.renter.lease_end_date`, `beds->renter`.`status` AS `beds.renter.status`, `beds->renter`.`emergency_contact` AS `beds.renter.emergency_contact`, `beds->renter`.`emergency_relation` AS `beds.renter.emergency_relation`, `beds->renter`.`profile_photo` AS `beds.renter.profile_photo`, `beds->renter`.`occupation` AS `beds.renter.occupation`, `beds->renter`.`company` AS `beds.renter.company`, `beds->renter`.`monthly_income` AS `beds.renter.monthly_income`, `beds->renter`.`previous_address` AS `beds.renter.previous_address`, `beds->renter`.`references` AS `beds.renter.references`, `beds->renter`.`notice_period` AS `beds.renter.notice_period`, `beds->renter`.`preferences` AS `beds.renter.preferences`, `beds->renter`.`payment_history` AS `beds.renter.payment_history`, `beds->renter`.`created_at` AS `beds.renter.createdAt`, `beds->renter`.`updated_at` AS `beds.renter.updatedAt` FROM `Room` AS `Room` LEFT OUTER JOIN `Building` AS `building` ON `Room`.`building_id` = `building`.`id` LEFT OUTER JOIN `Floor` AS `floor` ON `Room`.`floor_id` = `floor`.`id` LEFT OUTER JOIN `Bed` AS `beds` ON `Room`.`id` = `beds`.`room_id` LEFT OUTER JOIN `Renter` AS `beds->renter` ON `beds`.`id` = `beds->renter`.`bed_id`; Executing (default): SELECT `id`, `name`, `email`, `password`, `role`, `permissions`, `department`, `phone`, `avatar`, `is_active`, `last_login`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `User` AS `User` WHERE `User`.`id` = '8cc00eb8-378e-4f89-8141-f87aa35fd51d'; Executing (default): SELECT `Bed`.`id`, `Bed`.`building_id`, `Bed`.`floor_id`, `Bed`.`room_id`, `Bed`.`bed_number`, `Bed`.`is_occupied`, `Bed`.`monthly_rent`, `Bed`.`status`, `Bed`.`bed_type`, `Bed`.`last_cleaned`, `Bed`.`notes`, `Bed`.`reserved_until`, `Bed`.`maintenance_scheduled`, `Bed`.`created_at` AS `createdAt`, `Bed`.`updated_at` AS `updatedAt`, `renter`.`id` AS `renter.id`, `renter`.`name` AS `renter.name`, `renter`.`email` AS `renter.email`, `renter`.`phone` AS `renter.phone`, `renter`.`alternate_phone` AS `renter.alternate_phone`, `renter`.`nid` AS `renter.nid`, `renter`.`building_id` AS `renter.building_id`, `renter`.`floor_id` AS `renter.floor_id`, `renter`.`room_id` AS `renter.room_id`, `renter`.`bed_id` AS `renter.bed_id`, `renter`.`rent_amount` AS `renter.rent_amount`, `renter`.`security_deposit` AS `renter.security_deposit`, `renter`.`check_in_date` AS `renter.check_in_date`, `renter`.`check_out_date` AS `renter.check_out_date`, `renter`.`lease_start_date` AS `renter.lease_start_date`, `renter`.`lease_end_date` AS `renter.lease_end_date`, `renter`.`status` AS `renter.status`, `renter`.`emergency_contact` AS `renter.emergency_contact`, `renter`.`emergency_relation` AS `renter.emergency_relation`, `renter`.`profile_photo` AS `renter.profile_photo`, `renter`.`occupation` AS `renter.occupation`, `renter`.`company` AS `renter.company`, `renter`.`monthly_income` AS `renter.monthly_income`, `renter`.`previous_address` AS `renter.previous_address`, `renter`.`references` AS `renter.references`, `renter`.`notice_period` AS `renter.notice_period`, `renter`.`preferences` AS `renter.preferences`, `renter`.`payment_history` AS `renter.payment_history`, `renter`.`created_at` AS `renter.createdAt`, `renter`.`updated_at` AS `renter.updatedAt`, `room`.`id` AS `room.id`, `room`.`building_id` AS `room.building_id`, `room`.`floor_id` AS `room.floor_id`, `room`.`room_number` AS `room.room_number`, `room`.`total_beds` AS `room.total_beds`, `room`.`occupied_beds` AS `room.occupied_beds`, `room`.`rent_per_bed` AS `room.rent_per_bed`, `room`.`facilities` AS `room.facilities`, `room`.`room_type` AS `room.room_type`, `room`.`area` AS `room.area`, `room`.`has_balcony` AS `room.has_balcony`, `room`.`has_attached_bathroom` AS `room.has_attached_bathroom`, `room`.`furnishing_status` AS `room.furnishing_status`, `room`.`condition` AS `room.condition`, `room`.`last_cleaned` AS `room.last_cleaned`, `room`.`security_deposit` AS `room.security_deposit`, `room`.`available_from` AS `room.available_from`, `room`.`created_at` AS `room.createdAt`, `room`.`updated_at` AS `room.updatedAt`, `room->floor`.`id` AS `room.floor.id`, `room->floor`.`building_id` AS `room.floor.building_id`, `room->floor`.`floor_number` AS `room.floor.floor_number`, `room->floor`.`total_rooms` AS `room.floor.total_rooms`, `room->floor`.`occupied_rooms` AS `room.floor.occupied_rooms`, `room->floor`.`floor_type` AS `room.floor.floor_type`, `room->floor`.`amenities` AS `room.floor.amenities`, `room->floor`.`maintenance_status` AS `room.floor.maintenance_status`, `room->floor`.`last_inspection` AS `room.floor.last_inspection`, `room->floor`.`notes` AS `room.floor.notes`, `room->floor`.`created_at` AS `room.floor.createdAt`, `room->floor`.`updated_at` AS `room.floor.updatedAt`, `room->floor->building`.`id` AS `room.floor.building.id`, `room->floor->building`.`name` AS `room.floor.building.name`, `room->floor->building`.`address` AS `room.floor.building.address`, `room->floor->building`.`floors` AS `room.floor.building.floors`, `room->floor->building`.`total_rooms` AS `room.floor.building.total_rooms`, `room->floor->building`.`total_beds` AS `room.floor.building.total_beds`, `room->floor->building`.`parking_spaces` AS `room.floor.building.parking_spaces`, `room->floor->building`.`occupied_beds` AS `room.floor.building.occupied_beds`, `room->floor->building`.`manager` AS `room.floor.building.manager`, `room->floor->building`.`amenities` AS `room.floor.building.amenities`, `room->floor->building`.`monthly_revenue` AS `room.floor.building.monthly_revenue`, `room->floor->building`.`building_type` AS `room.floor.building.building_type`, `room->floor->building`.`year_built` AS `room.floor.building.year_built`, `room->floor->building`.`total_area` AS `room.floor.building.total_area`, `room->floor->building`.`elevators` AS `room.floor.building.elevators`, `room->floor->building`.`security_features` AS `room.floor.building.security_features`, `room->floor->building`.`contact_person` AS `room.floor.building.contact_person`, `room->floor->building`.`contact_phone` AS `room.floor.building.contact_phone`, `room->floor->building`.`created_at` AS `room.floor.building.createdAt`, `room->floor->building`.`updated_at` AS `room.floor.building.updatedAt` FROM `Bed` AS `Bed` LEFT OUTER JOIN `Renter` AS `renter` ON `Bed`.`id` = `renter`.`bed_id` LEFT OUTER JOIN `Room` AS `room` ON `Bed`.`room_id` = `room`.`id` LEFT OUTER JOIN `Floor` AS `room->floor` ON `room`.`floor_id` = `room->floor`.`id` LEFT OUTER JOIN `Building` AS `room->floor->building` ON `room->floor`.`building_id` = `room->floor->building`.`id`; Executing (default): SELECT `Renter`.`id`, `Renter`.`name`, `Renter`.`email`, `Renter`.`phone`, `Renter`.`alternate_phone`, `Renter`.`nid`, `Renter`.`building_id`, `Renter`.`floor_id`, `Renter`.`room_id`, `Renter`.`bed_id`, `Renter`.`rent_amount`, `Renter`.`security_deposit`, `Renter`.`check_in_date`, `Renter`.`check_out_date`, `Renter`.`lease_start_date`, `Renter`.`lease_end_date`, `Renter`.`status`, `Renter`.`emergency_contact`, `Renter`.`emergency_relation`, `Renter`.`profile_photo`, `Renter`.`occupation`, `Renter`.`company`, `Renter`.`monthly_income`, `Renter`.`previous_address`, `Renter`.`references`, `Renter`.`notice_period`, `Renter`.`preferences`, `Renter`.`payment_history`, `Renter`.`created_at` AS `createdAt`, `Renter`.`updated_at` AS `updatedAt`, `room`.`id` AS `room.id`, `room`.`building_id` AS `room.building_id`, `room`.`floor_id` AS `room.floor_id`, `room`.`room_number` AS `room.room_number`, `room`.`total_beds` AS `room.total_beds`, `room`.`occupied_beds` AS `room.occupied_beds`, `room`.`rent_per_bed` AS `room.rent_per_bed`, `room`.`facilities` AS `room.facilities`, `room`.`room_type` AS `room.room_type`, `room`.`area` AS `room.area`, `room`.`has_balcony` AS `room.has_balcony`, `room`.`has_attached_bathroom` AS `room.has_attached_bathroom`, `room`.`furnishing_status` AS `room.furnishing_status`, `room`.`condition` AS `room.condition`, `room`.`last_cleaned` AS `room.last_cleaned`, `room`.`security_deposit` AS `room.security_deposit`, `room`.`available_from` AS `room.available_from`, `room`.`created_at` AS `room.createdAt`, `room`.`updated_at` AS `room.updatedAt`, `documents`.`id` AS `documents.id`, `documents`.`renter_id` AS `documents.renter_id`, `documents`.`type` AS `documents.type`, `documents`.`file_name` AS `documents.file_name`, `documents`.`file_url` AS `documents.file_url`, `documents`.`file_size` AS `documents.file_size`, `documents`.`mime_type` AS `documents.mime_type`, `documents`.`description` AS `documents.description`, `documents`.`created_at` AS `documents.createdAt`, `documents`.`updated_at` AS `documents.updatedAt` FROM `Renter` AS `Renter` LEFT OUTER JOIN `Room` AS `room` ON `Renter`.`room_id` = `room`.`id` LEFT OUTER JOIN `RenterDocument` AS `documents` ON `Renter`.`id` = `documents`.`renter_id`; Executing (default): SELECT `id`, `name`, `email`, `password`, `role`, `permissions`, `department`, `phone`, `avatar`, `is_active`, `last_login`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `User` AS `User` WHERE `User`.`id` = '8cc00eb8-378e-4f89-8141-f87aa35fd51d'; Executing (default): SELECT `id`, `renter_id`, `amount`, `due_date`, `paid_date`, `status`, `month`, `year`, `payment_method`, `transaction_id`, `late_fee`, `discount`, `notes`, `receipt_number`, `collected_by`, `renter_name` AS `renterName`, `room_number`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `RentPayment` AS `RentPayment`; Executing (default): SELECT `id`, `name`, `email`, `password`, `role`, `permissions`, `department`, `phone`, `avatar`, `is_active`, `last_login`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `User` AS `User` WHERE `User`.`id` = '8cc00eb8-378e-4f89-8141-f87aa35fd51d'; Executing (default): SELECT `id`, `name`, `email`, `password`, `role`, `permissions`, `department`, `phone`, `avatar`, `is_active`, `last_login`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `User` AS `User` WHERE `User`.`id` = '8cc00eb8-378e-4f89-8141-f87aa35fd51d'; Executing (default): SELECT `id`, `building_id`, `floor_id`, `category`, `subcategory`, `description`, `amount`, `date`, `vendor`, `receipt`, `approved_by`, `payment_method`, `is_recurring`, `recurring_frequency`, `budget_category`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `Expense` AS `Expense`; Executing (default): SELECT `id`, `building_id`, `floor_id`, `room_id`, `bed_id`, `type`, `category`, `description`, `priority`, `status`, `assigned_to`, `cost`, `estimated_cost`, `scheduled_date`, `completed_date`, `notes`, `images`, `warranty`, `next_maintenance_date`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `Maintenance` AS `Maintenance`; Executing (default): SELECT `id`, `visitor_name`, `visitor_phone`, `visiting_renter_id`, `check_in_time`, `check_out_time`, `purpose`, `approved_by`, `id_verified`, `vehicle_number`, `notes`, `visiting_renter_name`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `Visitor` AS `Visitor`; Executing (default): SELECT `id`, `title`, `content`, `type`, `priority`, `target_audience`, `target_ids`, `building_id`, `floor_id`, `created_by`, `expiry_date`, `is_active`, `read_by`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `Notice` AS `Notice`; Executing (default): SELECT `id`, `name`, `value`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `Settings` AS `Settings`; Executing (default): SELECT `id`, `name`, `email`, `password`, `role`, `permissions`, `department`, `phone`, `avatar`, `is_active`, `last_login`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `User` AS `User` WHERE `User`.`email` = 'admin@demo.com' AND `User`.`is_active` = true; Executing (default): UPDATE `User` SET `last_login`=?,`updated_at`=? WHERE `id` = ? Executing (default): SELECT `id`, `name`, `email`, `password`, `role`, `permissions`, `department`, `phone`, `avatar`, `is_active`, `last_login`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `User` AS `User` WHERE `User`.`id` = '8cc00eb8-378e-4f89-8141-f87aa35fd51d'; Executing (default): INSERT INTO `Building` (`id`,`name`,`address`,`floors`,`total_rooms`,`total_beds`,`parking_spaces`,`occupied_beds`,`amenities`,`monthly_revenue`,`building_type`,`elevators`,`security_features`,`created_at`,`updated_at`) VALUES (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?); Executing (default): SELECT `id`, `name`, `email`, `password`, `role`, `permissions`, `department`, `phone`, `avatar`, `is_active`, `last_login`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `User` AS `User` WHERE `User`.`id` = '8cc00eb8-378e-4f89-8141-f87aa35fd51d'; Executing (default): SELECT `Building`.`id`, `Building`.`name`, `Building`.`address`, `Building`.`floors`, `Building`.`total_rooms`, `Building`.`total_beds`, `Building`.`parking_spaces`, `Building`.`occupied_beds`, `Building`.`manager`, `Building`.`amenities`, `Building`.`monthly_revenue`, `Building`.`building_type`, `Building`.`year_built`, `Building`.`total_area`, `Building`.`elevators`, `Building`.`security_features`, `Building`.`contact_person`, `Building`.`contact_phone`, `Building`.`created_at` AS `createdAt`, `Building`.`updated_at` AS `updatedAt`, `buildingFloors`.`id` AS `buildingFloors.id`, `buildingFloors`.`building_id` AS `buildingFloors.building_id`, `buildingFloors`.`floor_number` AS `buildingFloors.floor_number`, `buildingFloors`.`total_rooms` AS `buildingFloors.total_rooms`, `buildingFloors`.`occupied_rooms` AS `buildingFloors.occupied_rooms`, `buildingFloors`.`floor_type` AS `buildingFloors.floor_type`, `buildingFloors`.`amenities` AS `buildingFloors.amenities`, `buildingFloors`.`maintenance_status` AS `buildingFloors.maintenance_status`, `buildingFloors`.`last_inspection` AS `buildingFloors.last_inspection`, `buildingFloors`.`notes` AS `buildingFloors.notes`, `buildingFloors`.`created_at` AS `buildingFloors.createdAt`, `buildingFloors`.`updated_at` AS `buildingFloors.updatedAt`, `buildingFloors->rooms`.`id` AS `buildingFloors.rooms.id`, `buildingFloors->rooms`.`building_id` AS `buildingFloors.rooms.building_id`, `buildingFloors->rooms`.`floor_id` AS `buildingFloors.rooms.floor_id`, `buildingFloors->rooms`.`room_number` AS `buildingFloors.rooms.room_number`, `buildingFloors->rooms`.`total_beds` AS `buildingFloors.rooms.total_beds`, `buildingFloors->rooms`.`occupied_beds` AS `buildingFloors.rooms.occupied_beds`, `buildingFloors->rooms`.`rent_per_bed` AS `buildingFloors.rooms.rent_per_bed`, `buildingFloors->rooms`.`facilities` AS `buildingFloors.rooms.facilities`, `buildingFloors->rooms`.`room_type` AS `buildingFloors.rooms.room_type`, `buildingFloors->rooms`.`area` AS `buildingFloors.rooms.area`, `buildingFloors->rooms`.`has_balcony` AS `buildingFloors.rooms.has_balcony`, `buildingFloors->rooms`.`has_attached_bathroom` AS `buildingFloors.rooms.has_attached_bathroom`, `buildingFloors->rooms`.`furnishing_status` AS `buildingFloors.rooms.furnishing_status`, `buildingFloors->rooms`.`condition` AS `buildingFloors.rooms.condition`, `buildingFloors->rooms`.`last_cleaned` AS `buildingFloors.rooms.last_cleaned`, `buildingFloors->rooms`.`security_deposit` AS `buildingFloors.rooms.security_deposit`, `buildingFloors->rooms`.`available_from` AS `buildingFloors.rooms.available_from`, `buildingFloors->rooms`.`created_at` AS `buildingFloors.rooms.createdAt`, `buildingFloors->rooms`.`updated_at` AS `buildingFloors.rooms.updatedAt`, `buildingFloors->rooms->beds`.`id` AS `buildingFloors.rooms.beds.id`, `buildingFloors->rooms->beds`.`building_id` AS `buildingFloors.rooms.beds.building_id`, `buildingFloors->rooms->beds`.`floor_id` AS `buildingFloors.rooms.beds.floor_id`, `buildingFloors->rooms->beds`.`room_id` AS `buildingFloors.rooms.beds.room_id`, `buildingFloors->rooms->beds`.`bed_number` AS `buildingFloors.rooms.beds.bed_number`, `buildingFloors->rooms->beds`.`is_occupied` AS `buildingFloors.rooms.beds.is_occupied`, `buildingFloors->rooms->beds`.`monthly_rent` AS `buildingFloors.rooms.beds.monthly_rent`, `buildingFloors->rooms->beds`.`status` AS `buildingFloors.rooms.beds.status`, `buildingFloors->rooms->beds`.`bed_type` AS `buildingFloors.rooms.beds.bed_type`, `buildingFloors->rooms->beds`.`last_cleaned` AS `buildingFloors.rooms.beds.last_cleaned`, `buildingFloors->rooms->beds`.`notes` AS `buildingFloors.rooms.beds.notes`, `buildingFloors->rooms->beds`.`reserved_until` AS `buildingFloors.rooms.beds.reserved_until`, `buildingFloors->rooms->beds`.`maintenance_scheduled` AS `buildingFloors.rooms.beds.maintenance_scheduled`, `buildingFloors->rooms->beds`.`created_at` AS `buildingFloors.rooms.beds.createdAt`, `buildingFloors->rooms->beds`.`updated_at` AS `buildingFloors.rooms.beds.updatedAt`, `buildingFloors->rooms->beds->renter`.`id` AS `buildingFloors.rooms.beds.renter.id`, `buildingFloors->rooms->beds->renter`.`name` AS `buildingFloors.rooms.beds.renter.name`, `buildingFloors->rooms->beds->renter`.`email` AS `buildingFloors.rooms.beds.renter.email`, `buildingFloors->rooms->beds->renter`.`phone` AS `buildingFloors.rooms.beds.renter.phone`, `buildingFloors->rooms->beds->renter`.`alternate_phone` AS `buildingFloors.rooms.beds.renter.alternate_phone`, `buildingFloors->rooms->beds->renter`.`nid` AS `buildingFloors.rooms.beds.renter.nid`, `buildingFloors->rooms->beds->renter`.`building_id` AS `buildingFloors.rooms.beds.renter.building_id`, `buildingFloors->rooms->beds->renter`.`floor_id` AS `buildingFloors.rooms.beds.renter.floor_id`, `buildingFloors->rooms->beds->renter`.`room_id` AS `buildingFloors.rooms.beds.renter.room_id`, `buildingFloors->rooms->beds->renter`.`bed_id` AS `buildingFloors.rooms.beds.renter.bed_id`, `buildingFloors->rooms->beds->renter`.`rent_amount` AS `buildingFloors.rooms.beds.renter.rent_amount`, `buildingFloors->rooms->beds->renter`.`security_deposit` AS `buildingFloors.rooms.beds.renter.security_deposit`, `buildingFloors->rooms->beds->renter`.`check_in_date` AS `buildingFloors.rooms.beds.renter.check_in_date`, `buildingFloors->rooms->beds->renter`.`check_out_date` AS `buildingFloors.rooms.beds.renter.check_out_date`, `buildingFloors->rooms->beds->renter`.`lease_start_date` AS `buildingFloors.rooms.beds.renter.lease_start_date`, `buildingFloors->rooms->beds->renter`.`lease_end_date` AS `buildingFloors.rooms.beds.renter.lease_end_date`, `buildingFloors->rooms->beds->renter`.`status` AS `buildingFloors.rooms.beds.renter.status`, `buildingFloors->rooms->beds->renter`.`emergency_contact` AS `buildingFloors.rooms.beds.renter.emergency_contact`, `buildingFloors->rooms->beds->renter`.`emergency_relation` AS `buildingFloors.rooms.beds.renter.emergency_relation`, `buildingFloors->rooms->beds->renter`.`profile_photo` AS `buildingFloors.rooms.beds.renter.profile_photo`, `buildingFloors->rooms->beds->renter`.`occupation` AS `buildingFloors.rooms.beds.renter.occupation`, `buildingFloors->rooms->beds->renter`.`company` AS `buildingFloors.rooms.beds.renter.company`, `buildingFloors->rooms->beds->renter`.`monthly_income` AS `buildingFloors.rooms.beds.renter.monthly_income`, `buildingFloors->rooms->beds->renter`.`previous_address` AS `buildingFloors.rooms.beds.renter.previous_address`, `buildingFloors->rooms->beds->renter`.`references` AS `buildingFloors.rooms.beds.renter.references`, `buildingFloors->rooms->beds->renter`.`notice_period` AS `buildingFloors.rooms.beds.renter.notice_period`, `buildingFloors->rooms->beds->renter`.`preferences` AS `buildingFloors.rooms.beds.renter.preferences`, `buildingFloors->rooms->beds->renter`.`payment_history` AS `buildingFloors.rooms.beds.renter.payment_history`, `buildingFloors->rooms->beds->renter`.`created_at` AS `buildingFloors.rooms.beds.renter.createdAt`, `buildingFloors->rooms->beds->renter`.`updated_at` AS `buildingFloors.rooms.beds.renter.updatedAt` FROM `Building` AS `Building` LEFT OUTER JOIN `Floor` AS `buildingFloors` ON `Building`.`id` = `buildingFloors`.`building_id` LEFT OUTER JOIN `Room` AS `buildingFloors->rooms` ON `buildingFloors`.`id` = `buildingFloors->rooms`.`floor_id` LEFT OUTER JOIN `Bed` AS `buildingFloors->rooms->beds` ON `buildingFloors->rooms`.`id` = `buildingFloors->rooms->beds`.`room_id` LEFT OUTER JOIN `Renter` AS `buildingFloors->rooms->beds->renter` ON `buildingFloors->rooms->beds`.`id` = `buildingFloors->rooms->beds->renter`.`bed_id` ORDER BY `createdAt` DESC; Executing (default): SELECT `id`, `name`, `email`, `password`, `role`, `permissions`, `department`, `phone`, `avatar`, `is_active`, `last_login`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `User` AS `User` WHERE `User`.`id` = '8cc00eb8-378e-4f89-8141-f87aa35fd51d'; Executing (default): SELECT `id`, `name`, `address`, `floors`, `total_rooms`, `total_beds`, `parking_spaces`, `occupied_beds`, `manager`, `amenities`, `monthly_revenue`, `building_type`, `year_built`, `total_area`, `elevators`, `security_features`, `contact_person`, `contact_phone`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `Building` AS `Building` WHERE `Building`.`id` = '0c60fca5-d149-4070-a4fc-7b3282ced070'; Executing (default): SELECT count(*) AS `count` FROM `Floor` AS `Floor` WHERE `Floor`.`building_id` = '0c60fca5-d149-4070-a4fc-7b3282ced070'; Executing (default): INSERT INTO `Floor` (`id`,`building_id`,`floor_number`,`total_rooms`,`occupied_rooms`,`floor_type`,`amenities`,`maintenance_status`,`last_inspection`,`notes`,`created_at`,`updated_at`) VALUES (?,?,?,?,?,?,?,?,?,?,?,?); Executing (default): SELECT `id`, `name`, `email`, `password`, `role`, `permissions`, `department`, `phone`, `avatar`, `is_active`, `last_login`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `User` AS `User` WHERE `User`.`id` = '8cc00eb8-378e-4f89-8141-f87aa35fd51d'; Executing (default): SELECT `Floor`.`id`, `Floor`.`building_id`, `Floor`.`floor_number`, `Floor`.`total_rooms`, `Floor`.`occupied_rooms`, `Floor`.`floor_type`, `Floor`.`amenities`, `Floor`.`maintenance_status`, `Floor`.`last_inspection`, `Floor`.`notes`, `Floor`.`created_at` AS `createdAt`, `Floor`.`updated_at` AS `updatedAt`, `rooms`.`id` AS `rooms.id`, `rooms`.`building_id` AS `rooms.building_id`, `rooms`.`floor_id` AS `rooms.floor_id`, `rooms`.`room_number` AS `rooms.room_number`, `rooms`.`total_beds` AS `rooms.total_beds`, `rooms`.`occupied_beds` AS `rooms.occupied_beds`, `rooms`.`rent_per_bed` AS `rooms.rent_per_bed`, `rooms`.`facilities` AS `rooms.facilities`, `rooms`.`room_type` AS `rooms.room_type`, `rooms`.`area` AS `rooms.area`, `rooms`.`has_balcony` AS `rooms.has_balcony`, `rooms`.`has_attached_bathroom` AS `rooms.has_attached_bathroom`, `rooms`.`furnishing_status` AS `rooms.furnishing_status`, `rooms`.`condition` AS `rooms.condition`, `rooms`.`last_cleaned` AS `rooms.last_cleaned`, `rooms`.`security_deposit` AS `rooms.security_deposit`, `rooms`.`available_from` AS `rooms.available_from`, `rooms`.`created_at` AS `rooms.createdAt`, `rooms`.`updated_at` AS `rooms.updatedAt`, `rooms->beds`.`id` AS `rooms.beds.id`, `rooms->beds`.`building_id` AS `rooms.beds.building_id`, `rooms->beds`.`floor_id` AS `rooms.beds.floor_id`, `rooms->beds`.`room_id` AS `rooms.beds.room_id`, `rooms->beds`.`bed_number` AS `rooms.beds.bed_number`, `rooms->beds`.`is_occupied` AS `rooms.beds.is_occupied`, `rooms->beds`.`monthly_rent` AS `rooms.beds.monthly_rent`, `rooms->beds`.`status` AS `rooms.beds.status`, `rooms->beds`.`bed_type` AS `rooms.beds.bed_type`, `rooms->beds`.`last_cleaned` AS `rooms.beds.last_cleaned`, `rooms->beds`.`notes` AS `rooms.beds.notes`, `rooms->beds`.`reserved_until` AS `rooms.beds.reserved_until`, `rooms->beds`.`maintenance_scheduled` AS `rooms.beds.maintenance_scheduled`, `rooms->beds`.`created_at` AS `rooms.beds.createdAt`, `rooms->beds`.`updated_at` AS `rooms.beds.updatedAt`, `rooms->beds->renter`.`id` AS `rooms.beds.renter.id`, `rooms->beds->renter`.`name` AS `rooms.beds.renter.name`, `rooms->beds->renter`.`email` AS `rooms.beds.renter.email`, `rooms->beds->renter`.`phone` AS `rooms.beds.renter.phone`, `rooms->beds->renter`.`alternate_phone` AS `rooms.beds.renter.alternate_phone`, `rooms->beds->renter`.`nid` AS `rooms.beds.renter.nid`, `rooms->beds->renter`.`building_id` AS `rooms.beds.renter.building_id`, `rooms->beds->renter`.`floor_id` AS `rooms.beds.renter.floor_id`, `rooms->beds->renter`.`room_id` AS `rooms.beds.renter.room_id`, `rooms->beds->renter`.`bed_id` AS `rooms.beds.renter.bed_id`, `rooms->beds->renter`.`rent_amount` AS `rooms.beds.renter.rent_amount`, `rooms->beds->renter`.`security_deposit` AS `rooms.beds.renter.security_deposit`, `rooms->beds->renter`.`check_in_date` AS `rooms.beds.renter.check_in_date`, `rooms->beds->renter`.`check_out_date` AS `rooms.beds.renter.check_out_date`, `rooms->beds->renter`.`lease_start_date` AS `rooms.beds.renter.lease_start_date`, `rooms->beds->renter`.`lease_end_date` AS `rooms.beds.renter.lease_end_date`, `rooms->beds->renter`.`status` AS `rooms.beds.renter.status`, `rooms->beds->renter`.`emergency_contact` AS `rooms.beds.renter.emergency_contact`, `rooms->beds->renter`.`emergency_relation` AS `rooms.beds.renter.emergency_relation`, `rooms->beds->renter`.`profile_photo` AS `rooms.beds.renter.profile_photo`, `rooms->beds->renter`.`occupation` AS `rooms.beds.renter.occupation`, `rooms->beds->renter`.`company` AS `rooms.beds.renter.company`, `rooms->beds->renter`.`monthly_income` AS `rooms.beds.renter.monthly_income`, `rooms->beds->renter`.`previous_address` AS `rooms.beds.renter.previous_address`, `rooms->beds->renter`.`references` AS `rooms.beds.renter.references`, `rooms->beds->renter`.`notice_period` AS `rooms.beds.renter.notice_period`, `rooms->beds->renter`.`preferences` AS `rooms.beds.renter.preferences`, `rooms->beds->renter`.`payment_history` AS `rooms.beds.renter.payment_history`, `rooms->beds->renter`.`created_at` AS `rooms.beds.renter.createdAt`, `rooms->beds->renter`.`updated_at` AS `rooms.beds.renter.updatedAt` FROM `Floor` AS `Floor` LEFT OUTER JOIN `Room` AS `rooms` ON `Floor`.`id` = `rooms`.`floor_id` LEFT OUTER JOIN `Bed` AS `rooms->beds` ON `rooms`.`id` = `rooms->beds`.`room_id` LEFT OUTER JOIN `Renter` AS `rooms->beds->renter` ON `rooms->beds`.`id` = `rooms->beds->renter`.`bed_id` WHERE `Floor`.`building_id` = '0c60fca5-d149-4070-a4fc-7b3282ced070'; Executing (default): SELECT `id`, `name`, `email`, `password`, `role`, `permissions`, `department`, `phone`, `avatar`, `is_active`, `last_login`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `User` AS `User` WHERE `User`.`id` = '8cc00eb8-378e-4f89-8141-f87aa35fd51d'; Executing (default): SELECT `id`, `name`, `address`, `floors`, `total_rooms`, `total_beds`, `parking_spaces`, `occupied_beds`, `manager`, `amenities`, `monthly_revenue`, `building_type`, `year_built`, `total_area`, `elevators`, `security_features`, `contact_person`, `contact_phone`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `Building` AS `Building` WHERE `Building`.`id` = '0c60fca5-d149-4070-a4fc-7b3282ced070'; Executing (default): SELECT `id`, `building_id`, `floor_number`, `total_rooms`, `occupied_rooms`, `floor_type`, `amenities`, `maintenance_status`, `last_inspection`, `notes`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `Floor` AS `Floor` WHERE `Floor`.`id` = '65099ffc-34df-4271-96fc-3954f375778b'; Executing (default): SELECT count(*) AS `count` FROM `Room` AS `Room` WHERE `Room`.`building_id` = '0c60fca5-d149-4070-a4fc-7b3282ced070'; Executing (default): INSERT INTO `Room` (`id`,`building_id`,`floor_id`,`room_number`,`total_beds`,`occupied_beds`,`rent_per_bed`,`facilities`,`room_type`,`has_balcony`,`has_attached_bathroom`,`furnishing_status`,`condition`,`security_deposit`,`created_at`,`updated_at`) VALUES (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?); Executing (default): SELECT `id`, `name`, `email`, `password`, `role`, `permissions`, `department`, `phone`, `avatar`, `is_active`, `last_login`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `User` AS `User` WHERE `User`.`id` = '8cc00eb8-378e-4f89-8141-f87aa35fd51d'; Executing (default): SELECT `Room`.`id`, `Room`.`building_id`, `Room`.`floor_id`, `Room`.`room_number`, `Room`.`total_beds`, `Room`.`occupied_beds`, `Room`.`rent_per_bed`, `Room`.`facilities`, `Room`.`room_type`, `Room`.`area`, `Room`.`has_balcony`, `Room`.`has_attached_bathroom`, `Room`.`furnishing_status`, `Room`.`condition`, `Room`.`last_cleaned`, `Room`.`security_deposit`, `Room`.`available_from`, `Room`.`created_at` AS `createdAt`, `Room`.`updated_at` AS `updatedAt`, `building`.`id` AS `building.id`, `building`.`name` AS `building.name`, `building`.`address` AS `building.address`, `building`.`floors` AS `building.floors`, `building`.`total_rooms` AS `building.total_rooms`, `building`.`total_beds` AS `building.total_beds`, `building`.`parking_spaces` AS `building.parking_spaces`, `building`.`occupied_beds` AS `building.occupied_beds`, `building`.`manager` AS `building.manager`, `building`.`amenities` AS `building.amenities`, `building`.`monthly_revenue` AS `building.monthly_revenue`, `building`.`building_type` AS `building.building_type`, `building`.`year_built` AS `building.year_built`, `building`.`total_area` AS `building.total_area`, `building`.`elevators` AS `building.elevators`, `building`.`security_features` AS `building.security_features`, `building`.`contact_person` AS `building.contact_person`, `building`.`contact_phone` AS `building.contact_phone`, `building`.`created_at` AS `building.createdAt`, `building`.`updated_at` AS `building.updatedAt`, `floor`.`id` AS `floor.id`, `floor`.`building_id` AS `floor.building_id`, `floor`.`floor_number` AS `floor.floor_number`, `floor`.`total_rooms` AS `floor.total_rooms`, `floor`.`occupied_rooms` AS `floor.occupied_rooms`, `floor`.`floor_type` AS `floor.floor_type`, `floor`.`amenities` AS `floor.amenities`, `floor`.`maintenance_status` AS `floor.maintenance_status`, `floor`.`last_inspection` AS `floor.last_inspection`, `floor`.`notes` AS `floor.notes`, `floor`.`created_at` AS `floor.createdAt`, `floor`.`updated_at` AS `floor.updatedAt`, `beds`.`id` AS `beds.id`, `beds`.`building_id` AS `beds.building_id`, `beds`.`floor_id` AS `beds.floor_id`, `beds`.`room_id` AS `beds.room_id`, `beds`.`bed_number` AS `beds.bed_number`, `beds`.`is_occupied` AS `beds.is_occupied`, `beds`.`monthly_rent` AS `beds.monthly_rent`, `beds`.`status` AS `beds.status`, `beds`.`bed_type` AS `beds.bed_type`, `beds`.`last_cleaned` AS `beds.last_cleaned`, `beds`.`notes` AS `beds.notes`, `beds`.`reserved_until` AS `beds.reserved_until`, `beds`.`maintenance_scheduled` AS `beds.maintenance_scheduled`, `beds`.`created_at` AS `beds.createdAt`, `beds`.`updated_at` AS `beds.updatedAt`, `beds->renter`.`id` AS `beds.renter.id`, `beds->renter`.`name` AS `beds.renter.name`, `beds->renter`.`email` AS `beds.renter.email`, `beds->renter`.`phone` AS `beds.renter.phone`, `beds->renter`.`alternate_phone` AS `beds.renter.alternate_phone`, `beds->renter`.`nid` AS `beds.renter.nid`, `beds->renter`.`building_id` AS `beds.renter.building_id`, `beds->renter`.`floor_id` AS `beds.renter.floor_id`, `beds->renter`.`room_id` AS `beds.renter.room_id`, `beds->renter`.`bed_id` AS `beds.renter.bed_id`, `beds->renter`.`rent_amount` AS `beds.renter.rent_amount`, `beds->renter`.`security_deposit` AS `beds.renter.security_deposit`, `beds->renter`.`check_in_date` AS `beds.renter.check_in_date`, `beds->renter`.`check_out_date` AS `beds.renter.check_out_date`, `beds->renter`.`lease_start_date` AS `beds.renter.lease_start_date`, `beds->renter`.`lease_end_date` AS `beds.renter.lease_end_date`, `beds->renter`.`status` AS `beds.renter.status`, `beds->renter`.`emergency_contact` AS `beds.renter.emergency_contact`, `beds->renter`.`emergency_relation` AS `beds.renter.emergency_relation`, `beds->renter`.`profile_photo` AS `beds.renter.profile_photo`, `beds->renter`.`occupation` AS `beds.renter.occupation`, `beds->renter`.`company` AS `beds.renter.company`, `beds->renter`.`monthly_income` AS `beds.renter.monthly_income`, `beds->renter`.`previous_address` AS `beds.renter.previous_address`, `beds->renter`.`references` AS `beds.renter.references`, `beds->renter`.`notice_period` AS `beds.renter.notice_period`, `beds->renter`.`preferences` AS `beds.renter.preferences`, `beds->renter`.`payment_history` AS `beds.renter.payment_history`, `beds->renter`.`created_at` AS `beds.renter.createdAt`, `beds->renter`.`updated_at` AS `beds.renter.updatedAt` FROM `Room` AS `Room` LEFT OUTER JOIN `Building` AS `building` ON `Room`.`building_id` = `building`.`id` LEFT OUTER JOIN `Floor` AS `floor` ON `Room`.`floor_id` = `floor`.`id` LEFT OUTER JOIN `Bed` AS `beds` ON `Room`.`id` = `beds`.`room_id` LEFT OUTER JOIN `Renter` AS `beds->renter` ON `beds`.`id` = `beds->renter`.`bed_id`; Executing (default): SELECT `id`, `name`, `email`, `password`, `role`, `permissions`, `department`, `phone`, `avatar`, `is_active`, `last_login`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `User` AS `User` WHERE `User`.`id` = '8cc00eb8-378e-4f89-8141-f87aa35fd51d'; Executing (default): SELECT `id`, `name`, `email`, `role`, `permissions`, `department`, `phone`, `avatar`, `is_active`, `last_login`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `User` AS `User` WHERE `User`.`id` = '8cc00eb8-378e-4f89-8141-f87aa35fd51d'; Executing (default): SELECT `id`, `name`, `email`, `password`, `role`, `permissions`, `department`, `phone`, `avatar`, `is_active`, `last_login`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `User` AS `User` WHERE `User`.`id` = '8cc00eb8-378e-4f89-8141-f87aa35fd51d'; Executing (default): SELECT `id`, `name`, `email`, `role`, `permissions`, `department`, `phone`, `avatar`, `is_active`, `last_login`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `User` AS `User` WHERE `User`.`id` = '8cc00eb8-378e-4f89-8141-f87aa35fd51d'; Executing (default): SELECT `id`, `name`, `email`, `password`, `role`, `permissions`, `department`, `phone`, `avatar`, `is_active`, `last_login`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `User` AS `User` WHERE `User`.`id` = '8cc00eb8-378e-4f89-8141-f87aa35fd51d'; Executing (default): SELECT `Floor`.`id`, `Floor`.`building_id`, `Floor`.`floor_number`, `Floor`.`total_rooms`, `Floor`.`occupied_rooms`, `Floor`.`floor_type`, `Floor`.`amenities`, `Floor`.`maintenance_status`, `Floor`.`last_inspection`, `Floor`.`notes`, `Floor`.`created_at` AS `createdAt`, `Floor`.`updated_at` AS `updatedAt`, `rooms`.`id` AS `rooms.id`, `rooms`.`building_id` AS `rooms.building_id`, `rooms`.`floor_id` AS `rooms.floor_id`, `rooms`.`room_number` AS `rooms.room_number`, `rooms`.`total_beds` AS `rooms.total_beds`, `rooms`.`occupied_beds` AS `rooms.occupied_beds`, `rooms`.`rent_per_bed` AS `rooms.rent_per_bed`, `rooms`.`facilities` AS `rooms.facilities`, `rooms`.`room_type` AS `rooms.room_type`, `rooms`.`area` AS `rooms.area`, `rooms`.`has_balcony` AS `rooms.has_balcony`, `rooms`.`has_attached_bathroom` AS `rooms.has_attached_bathroom`, `rooms`.`furnishing_status` AS `rooms.furnishing_status`, `rooms`.`condition` AS `rooms.condition`, `rooms`.`last_cleaned` AS `rooms.last_cleaned`, `rooms`.`security_deposit` AS `rooms.security_deposit`, `rooms`.`available_from` AS `rooms.available_from`, `rooms`.`created_at` AS `rooms.createdAt`, `rooms`.`updated_at` AS `rooms.updatedAt`, `rooms->beds`.`id` AS `rooms.beds.id`, `rooms->beds`.`building_id` AS `rooms.beds.building_id`, `rooms->beds`.`floor_id` AS `rooms.beds.floor_id`, `rooms->beds`.`room_id` AS `rooms.beds.room_id`, `rooms->beds`.`bed_number` AS `rooms.beds.bed_number`, `rooms->beds`.`is_occupied` AS `rooms.beds.is_occupied`, `rooms->beds`.`monthly_rent` AS `rooms.beds.monthly_rent`, `rooms->beds`.`status` AS `rooms.beds.status`, `rooms->beds`.`bed_type` AS `rooms.beds.bed_type`, `rooms->beds`.`last_cleaned` AS `rooms.beds.last_cleaned`, `rooms->beds`.`notes` AS `rooms.beds.notes`, `rooms->beds`.`reserved_until` AS `rooms.beds.reserved_until`, `rooms->beds`.`maintenance_scheduled` AS `rooms.beds.maintenance_scheduled`, `rooms->beds`.`created_at` AS `rooms.beds.createdAt`, `rooms->beds`.`updated_at` AS `rooms.beds.updatedAt`, `rooms->beds->renter`.`id` AS `rooms.beds.renter.id`, `rooms->beds->renter`.`name` AS `rooms.beds.renter.name`, `rooms->beds->renter`.`email` AS `rooms.beds.renter.email`, `rooms->beds->renter`.`phone` AS `rooms.beds.renter.phone`, `rooms->beds->renter`.`alternate_phone` AS `rooms.beds.renter.alternate_phone`, `rooms->beds->renter`.`nid` AS `rooms.beds.renter.nid`, `rooms->beds->renter`.`building_id` AS `rooms.beds.renter.building_id`, `rooms->beds->renter`.`floor_id` AS `rooms.beds.renter.floor_id`, `rooms->beds->renter`.`room_id` AS `rooms.beds.renter.room_id`, `rooms->beds->renter`.`bed_id` AS `rooms.beds.renter.bed_id`, `rooms->beds->renter`.`rent_amount` AS `rooms.beds.renter.rent_amount`, `rooms->beds->renter`.`security_deposit` AS `rooms.beds.renter.security_deposit`, `rooms->beds->renter`.`check_in_date` AS `rooms.beds.renter.check_in_date`, `rooms->beds->renter`.`check_out_date` AS `rooms.beds.renter.check_out_date`, `rooms->beds->renter`.`lease_start_date` AS `rooms.beds.renter.lease_start_date`, `rooms->beds->renter`.`lease_end_date` AS `rooms.beds.renter.lease_end_date`, `rooms->beds->renter`.`status` AS `rooms.beds.renter.status`, `rooms->beds->renter`.`emergency_contact` AS `rooms.beds.renter.emergency_contact`, `rooms->beds->renter`.`emergency_relation` AS `rooms.beds.renter.emergency_relation`, `rooms->beds->renter`.`profile_photo` AS `rooms.beds.renter.profile_photo`, `rooms->beds->renter`.`occupation` AS `rooms.beds.renter.occupation`, `rooms->beds->renter`.`company` AS `rooms.beds.renter.company`, `rooms->beds->renter`.`monthly_income` AS `rooms.beds.renter.monthly_income`, `rooms->beds->renter`.`previous_address` AS `rooms.beds.renter.previous_address`, `rooms->beds->renter`.`references` AS `rooms.beds.renter.references`, `rooms->beds->renter`.`notice_period` AS `rooms.beds.renter.notice_period`, `rooms->beds->renter`.`preferences` AS `rooms.beds.renter.preferences`, `rooms->beds->renter`.`payment_history` AS `rooms.beds.renter.payment_history`, `rooms->beds->renter`.`created_at` AS `rooms.beds.renter.createdAt`, `rooms->beds->renter`.`updated_at` AS `rooms.beds.renter.updatedAt` FROM `Floor` AS `Floor` LEFT OUTER JOIN `Room` AS `rooms` ON `Floor`.`id` = `rooms`.`floor_id` LEFT OUTER JOIN `Bed` AS `rooms->beds` ON `rooms`.`id` = `rooms->beds`.`room_id` LEFT OUTER JOIN `Renter` AS `rooms->beds->renter` ON `rooms->beds`.`id` = `rooms->beds->renter`.`bed_id`; Executing (default): SELECT `id`, `name`, `email`, `password`, `role`, `permissions`, `department`, `phone`, `avatar`, `is_active`, `last_login`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `User` AS `User` WHERE `User`.`id` = '8cc00eb8-378e-4f89-8141-f87aa35fd51d'; Executing (default): SELECT `Building`.`id`, `Building`.`name`, `Building`.`address`, `Building`.`floors`, `Building`.`total_rooms`, `Building`.`total_beds`, `Building`.`parking_spaces`, `Building`.`occupied_beds`, `Building`.`manager`, `Building`.`amenities`, `Building`.`monthly_revenue`, `Building`.`building_type`, `Building`.`year_built`, `Building`.`total_area`, `Building`.`elevators`, `Building`.`security_features`, `Building`.`contact_person`, `Building`.`contact_phone`, `Building`.`created_at` AS `createdAt`, `Building`.`updated_at` AS `updatedAt`, `buildingFloors`.`id` AS `buildingFloors.id`, `buildingFloors`.`building_id` AS `buildingFloors.building_id`, `buildingFloors`.`floor_number` AS `buildingFloors.floor_number`, `buildingFloors`.`total_rooms` AS `buildingFloors.total_rooms`, `buildingFloors`.`occupied_rooms` AS `buildingFloors.occupied_rooms`, `buildingFloors`.`floor_type` AS `buildingFloors.floor_type`, `buildingFloors`.`amenities` AS `buildingFloors.amenities`, `buildingFloors`.`maintenance_status` AS `buildingFloors.maintenance_status`, `buildingFloors`.`last_inspection` AS `buildingFloors.last_inspection`, `buildingFloors`.`notes` AS `buildingFloors.notes`, `buildingFloors`.`created_at` AS `buildingFloors.createdAt`, `buildingFloors`.`updated_at` AS `buildingFloors.updatedAt`, `buildingFloors->rooms`.`id` AS `buildingFloors.rooms.id`, `buildingFloors->rooms`.`building_id` AS `buildingFloors.rooms.building_id`, `buildingFloors->rooms`.`floor_id` AS `buildingFloors.rooms.floor_id`, `buildingFloors->rooms`.`room_number` AS `buildingFloors.rooms.room_number`, `buildingFloors->rooms`.`total_beds` AS `buildingFloors.rooms.total_beds`, `buildingFloors->rooms`.`occupied_beds` AS `buildingFloors.rooms.occupied_beds`, `buildingFloors->rooms`.`rent_per_bed` AS `buildingFloors.rooms.rent_per_bed`, `buildingFloors->rooms`.`facilities` AS `buildingFloors.rooms.facilities`, `buildingFloors->rooms`.`room_type` AS `buildingFloors.rooms.room_type`, `buildingFloors->rooms`.`area` AS `buildingFloors.rooms.area`, `buildingFloors->rooms`.`has_balcony` AS `buildingFloors.rooms.has_balcony`, `buildingFloors->rooms`.`has_attached_bathroom` AS `buildingFloors.rooms.has_attached_bathroom`, `buildingFloors->rooms`.`furnishing_status` AS `buildingFloors.rooms.furnishing_status`, `buildingFloors->rooms`.`condition` AS `buildingFloors.rooms.condition`, `buildingFloors->rooms`.`last_cleaned` AS `buildingFloors.rooms.last_cleaned`, `buildingFloors->rooms`.`security_deposit` AS `buildingFloors.rooms.security_deposit`, `buildingFloors->rooms`.`available_from` AS `buildingFloors.rooms.available_from`, `buildingFloors->rooms`.`created_at` AS `buildingFloors.rooms.createdAt`, `buildingFloors->rooms`.`updated_at` AS `buildingFloors.rooms.updatedAt`, `buildingFloors->rooms->beds`.`id` AS `buildingFloors.rooms.beds.id`, `buildingFloors->rooms->beds`.`building_id` AS `buildingFloors.rooms.beds.building_id`, `buildingFloors->rooms->beds`.`floor_id` AS `buildingFloors.rooms.beds.floor_id`, `buildingFloors->rooms->beds`.`room_id` AS `buildingFloors.rooms.beds.room_id`, `buildingFloors->rooms->beds`.`bed_number` AS `buildingFloors.rooms.beds.bed_number`, `buildingFloors->rooms->beds`.`is_occupied` AS `buildingFloors.rooms.beds.is_occupied`, `buildingFloors->rooms->beds`.`monthly_rent` AS `buildingFloors.rooms.beds.monthly_rent`, `buildingFloors->rooms->beds`.`status` AS `buildingFloors.rooms.beds.status`, `buildingFloors->rooms->beds`.`bed_type` AS `buildingFloors.rooms.beds.bed_type`, `buildingFloors->rooms->beds`.`last_cleaned` AS `buildingFloors.rooms.beds.last_cleaned`, `buildingFloors->rooms->beds`.`notes` AS `buildingFloors.rooms.beds.notes`, `buildingFloors->rooms->beds`.`reserved_until` AS `buildingFloors.rooms.beds.reserved_until`, `buildingFloors->rooms->beds`.`maintenance_scheduled` AS `buildingFloors.rooms.beds.maintenance_scheduled`, `buildingFloors->rooms->beds`.`created_at` AS `buildingFloors.rooms.beds.createdAt`, `buildingFloors->rooms->beds`.`updated_at` AS `buildingFloors.rooms.beds.updatedAt`, `buildingFloors->rooms->beds->renter`.`id` AS `buildingFloors.rooms.beds.renter.id`, `buildingFloors->rooms->beds->renter`.`name` AS `buildingFloors.rooms.beds.renter.name`, `buildingFloors->rooms->beds->renter`.`email` AS `buildingFloors.rooms.beds.renter.email`, `buildingFloors->rooms->beds->renter`.`phone` AS `buildingFloors.rooms.beds.renter.phone`, `buildingFloors->rooms->beds->renter`.`alternate_phone` AS `buildingFloors.rooms.beds.renter.alternate_phone`, `buildingFloors->rooms->beds->renter`.`nid` AS `buildingFloors.rooms.beds.renter.nid`, `buildingFloors->rooms->beds->renter`.`building_id` AS `buildingFloors.rooms.beds.renter.building_id`, `buildingFloors->rooms->beds->renter`.`floor_id` AS `buildingFloors.rooms.beds.renter.floor_id`, `buildingFloors->rooms->beds->renter`.`room_id` AS `buildingFloors.rooms.beds.renter.room_id`, `buildingFloors->rooms->beds->renter`.`bed_id` AS `buildingFloors.rooms.beds.renter.bed_id`, `buildingFloors->rooms->beds->renter`.`rent_amount` AS `buildingFloors.rooms.beds.renter.rent_amount`, `buildingFloors->rooms->beds->renter`.`security_deposit` AS `buildingFloors.rooms.beds.renter.security_deposit`, `buildingFloors->rooms->beds->renter`.`check_in_date` AS `buildingFloors.rooms.beds.renter.check_in_date`, `buildingFloors->rooms->beds->renter`.`check_out_date` AS `buildingFloors.rooms.beds.renter.check_out_date`, `buildingFloors->rooms->beds->renter`.`lease_start_date` AS `buildingFloors.rooms.beds.renter.lease_start_date`, `buildingFloors->rooms->beds->renter`.`lease_end_date` AS `buildingFloors.rooms.beds.renter.lease_end_date`, `buildingFloors->rooms->beds->renter`.`status` AS `buildingFloors.rooms.beds.renter.status`, `buildingFloors->rooms->beds->renter`.`emergency_contact` AS `buildingFloors.rooms.beds.renter.emergency_contact`, `buildingFloors->rooms->beds->renter`.`emergency_relation` AS `buildingFloors.rooms.beds.renter.emergency_relation`, `buildingFloors->rooms->beds->renter`.`profile_photo` AS `buildingFloors.rooms.beds.renter.profile_photo`, `buildingFloors->rooms->beds->renter`.`occupation` AS `buildingFloors.rooms.beds.renter.occupation`, `buildingFloors->rooms->beds->renter`.`company` AS `buildingFloors.rooms.beds.renter.company`, `buildingFloors->rooms->beds->renter`.`monthly_income` AS `buildingFloors.rooms.beds.renter.monthly_income`, `buildingFloors->rooms->beds->renter`.`previous_address` AS `buildingFloors.rooms.beds.renter.previous_address`, `buildingFloors->rooms->beds->renter`.`references` AS `buildingFloors.rooms.beds.renter.references`, `buildingFloors->rooms->beds->renter`.`notice_period` AS `buildingFloors.rooms.beds.renter.notice_period`, `buildingFloors->rooms->beds->renter`.`preferences` AS `buildingFloors.rooms.beds.renter.preferences`, `buildingFloors->rooms->beds->renter`.`payment_history` AS `buildingFloors.rooms.beds.renter.payment_history`, `buildingFloors->rooms->beds->renter`.`created_at` AS `buildingFloors.rooms.beds.renter.createdAt`, `buildingFloors->rooms->beds->renter`.`updated_at` AS `buildingFloors.rooms.beds.renter.updatedAt` FROM `Building` AS `Building` LEFT OUTER JOIN `Floor` AS `buildingFloors` ON `Building`.`id` = `buildingFloors`.`building_id` LEFT OUTER JOIN `Room` AS `buildingFloors->rooms` ON `buildingFloors`.`id` = `buildingFloors->rooms`.`floor_id` LEFT OUTER JOIN `Bed` AS `buildingFloors->rooms->beds` ON `buildingFloors->rooms`.`id` = `buildingFloors->rooms->beds`.`room_id` LEFT OUTER JOIN `Renter` AS `buildingFloors->rooms->beds->renter` ON `buildingFloors->rooms->beds`.`id` = `buildingFloors->rooms->beds->renter`.`bed_id` ORDER BY `createdAt` DESC; Executing (default): SELECT `Renter`.`id`, `Renter`.`name`, `Renter`.`email`, `Renter`.`phone`, `Renter`.`alternate_phone`, `Renter`.`nid`, `Renter`.`building_id`, `Renter`.`floor_id`, `Renter`.`room_id`, `Renter`.`bed_id`, `Renter`.`rent_amount`, `Renter`.`security_deposit`, `Renter`.`check_in_date`, `Renter`.`check_out_date`, `Renter`.`lease_start_date`, `Renter`.`lease_end_date`, `Renter`.`status`, `Renter`.`emergency_contact`, `Renter`.`emergency_relation`, `Renter`.`profile_photo`, `Renter`.`occupation`, `Renter`.`company`, `Renter`.`monthly_income`, `Renter`.`previous_address`, `Renter`.`references`, `Renter`.`notice_period`, `Renter`.`preferences`, `Renter`.`payment_history`, `Renter`.`created_at` AS `createdAt`, `Renter`.`updated_at` AS `updatedAt`, `room`.`id` AS `room.id`, `room`.`building_id` AS `room.building_id`, `room`.`floor_id` AS `room.floor_id`, `room`.`room_number` AS `room.room_number`, `room`.`total_beds` AS `room.total_beds`, `room`.`occupied_beds` AS `room.occupied_beds`, `room`.`rent_per_bed` AS `room.rent_per_bed`, `room`.`facilities` AS `room.facilities`, `room`.`room_type` AS `room.room_type`, `room`.`area` AS `room.area`, `room`.`has_balcony` AS `room.has_balcony`, `room`.`has_attached_bathroom` AS `room.has_attached_bathroom`, `room`.`furnishing_status` AS `room.furnishing_status`, `room`.`condition` AS `room.condition`, `room`.`last_cleaned` AS `room.last_cleaned`, `room`.`security_deposit` AS `room.security_deposit`, `room`.`available_from` AS `room.available_from`, `room`.`created_at` AS `room.createdAt`, `room`.`updated_at` AS `room.updatedAt`, `documents`.`id` AS `documents.id`, `documents`.`renter_id` AS `documents.renter_id`, `documents`.`type` AS `documents.type`, `documents`.`file_name` AS `documents.file_name`, `documents`.`file_url` AS `documents.file_url`, `documents`.`file_size` AS `documents.file_size`, `documents`.`mime_type` AS `documents.mime_type`, `documents`.`description` AS `documents.description`, `documents`.`created_at` AS `documents.createdAt`, `documents`.`updated_at` AS `documents.updatedAt` FROM `Renter` AS `Renter` LEFT OUTER JOIN `Room` AS `room` ON `Renter`.`room_id` = `room`.`id` LEFT OUTER JOIN `RenterDocument` AS `documents` ON `Renter`.`id` = `documents`.`renter_id`; Executing (default): SELECT `id`, `name`, `email`, `password`, `role`, `permissions`, `department`, `phone`, `avatar`, `is_active`, `last_login`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `User` AS `User` WHERE `User`.`id` = '8cc00eb8-378e-4f89-8141-f87aa35fd51d'; Executing (default): SELECT `id`, `renter_id`, `amount`, `due_date`, `paid_date`, `status`, `month`, `year`, `payment_method`, `transaction_id`, `late_fee`, `discount`, `notes`, `receipt_number`, `collected_by`, `renter_name` AS `renterName`, `room_number`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `RentPayment` AS `RentPayment`; Executing (default): SELECT `id`, `name`, `email`, `password`, `role`, `permissions`, `department`, `phone`, `avatar`, `is_active`, `last_login`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `User` AS `User` WHERE `User`.`id` = '8cc00eb8-378e-4f89-8141-f87aa35fd51d'; Executing (default): SELECT `Room`.`id`, `Room`.`building_id`, `Room`.`floor_id`, `Room`.`room_number`, `Room`.`total_beds`, `Room`.`occupied_beds`, `Room`.`rent_per_bed`, `Room`.`facilities`, `Room`.`room_type`, `Room`.`area`, `Room`.`has_balcony`, `Room`.`has_attached_bathroom`, `Room`.`furnishing_status`, `Room`.`condition`, `Room`.`last_cleaned`, `Room`.`security_deposit`, `Room`.`available_from`, `Room`.`created_at` AS `createdAt`, `Room`.`updated_at` AS `updatedAt`, `building`.`id` AS `building.id`, `building`.`name` AS `building.name`, `building`.`address` AS `building.address`, `building`.`floors` AS `building.floors`, `building`.`total_rooms` AS `building.total_rooms`, `building`.`total_beds` AS `building.total_beds`, `building`.`parking_spaces` AS `building.parking_spaces`, `building`.`occupied_beds` AS `building.occupied_beds`, `building`.`manager` AS `building.manager`, `building`.`amenities` AS `building.amenities`, `building`.`monthly_revenue` AS `building.monthly_revenue`, `building`.`building_type` AS `building.building_type`, `building`.`year_built` AS `building.year_built`, `building`.`total_area` AS `building.total_area`, `building`.`elevators` AS `building.elevators`, `building`.`security_features` AS `building.security_features`, `building`.`contact_person` AS `building.contact_person`, `building`.`contact_phone` AS `building.contact_phone`, `building`.`created_at` AS `building.createdAt`, `building`.`updated_at` AS `building.updatedAt`, `floor`.`id` AS `floor.id`, `floor`.`building_id` AS `floor.building_id`, `floor`.`floor_number` AS `floor.floor_number`, `floor`.`total_rooms` AS `floor.total_rooms`, `floor`.`occupied_rooms` AS `floor.occupied_rooms`, `floor`.`floor_type` AS `floor.floor_type`, `floor`.`amenities` AS `floor.amenities`, `floor`.`maintenance_status` AS `floor.maintenance_status`, `floor`.`last_inspection` AS `floor.last_inspection`, `floor`.`notes` AS `floor.notes`, `floor`.`created_at` AS `floor.createdAt`, `floor`.`updated_at` AS `floor.updatedAt`, `beds`.`id` AS `beds.id`, `beds`.`building_id` AS `beds.building_id`, `beds`.`floor_id` AS `beds.floor_id`, `beds`.`room_id` AS `beds.room_id`, `beds`.`bed_number` AS `beds.bed_number`, `beds`.`is_occupied` AS `beds.is_occupied`, `beds`.`monthly_rent` AS `beds.monthly_rent`, `beds`.`status` AS `beds.status`, `beds`.`bed_type` AS `beds.bed_type`, `beds`.`last_cleaned` AS `beds.last_cleaned`, `beds`.`notes` AS `beds.notes`, `beds`.`reserved_until` AS `beds.reserved_until`, `beds`.`maintenance_scheduled` AS `beds.maintenance_scheduled`, `beds`.`created_at` AS `beds.createdAt`, `beds`.`updated_at` AS `beds.updatedAt`, `beds->renter`.`id` AS `beds.renter.id`, `beds->renter`.`name` AS `beds.renter.name`, `beds->renter`.`email` AS `beds.renter.email`, `beds->renter`.`phone` AS `beds.renter.phone`, `beds->renter`.`alternate_phone` AS `beds.renter.alternate_phone`, `beds->renter`.`nid` AS `beds.renter.nid`, `beds->renter`.`building_id` AS `beds.renter.building_id`, `beds->renter`.`floor_id` AS `beds.renter.floor_id`, `beds->renter`.`room_id` AS `beds.renter.room_id`, `beds->renter`.`bed_id` AS `beds.renter.bed_id`, `beds->renter`.`rent_amount` AS `beds.renter.rent_amount`, `beds->renter`.`security_deposit` AS `beds.renter.security_deposit`, `beds->renter`.`check_in_date` AS `beds.renter.check_in_date`, `beds->renter`.`check_out_date` AS `beds.renter.check_out_date`, `beds->renter`.`lease_start_date` AS `beds.renter.lease_start_date`, `beds->renter`.`lease_end_date` AS `beds.renter.lease_end_date`, `beds->renter`.`status` AS `beds.renter.status`, `beds->renter`.`emergency_contact` AS `beds.renter.emergency_contact`, `beds->renter`.`emergency_relation` AS `beds.renter.emergency_relation`, `beds->renter`.`profile_photo` AS `beds.renter.profile_photo`, `beds->renter`.`occupation` AS `beds.renter.occupation`, `beds->renter`.`company` AS `beds.renter.company`, `beds->renter`.`monthly_income` AS `beds.renter.monthly_income`, `beds->renter`.`previous_address` AS `beds.renter.previous_address`, `beds->renter`.`references` AS `beds.renter.references`, `beds->renter`.`notice_period` AS `beds.renter.notice_period`, `beds->renter`.`preferences` AS `beds.renter.preferences`, `beds->renter`.`payment_history` AS `beds.renter.payment_history`, `beds->renter`.`created_at` AS `beds.renter.createdAt`, `beds->renter`.`updated_at` AS `beds.renter.updatedAt` FROM `Room` AS `Room` LEFT OUTER JOIN `Building` AS `building` ON `Room`.`building_id` = `building`.`id` LEFT OUTER JOIN `Floor` AS `floor` ON `Room`.`floor_id` = `floor`.`id` LEFT OUTER JOIN `Bed` AS `beds` ON `Room`.`id` = `beds`.`room_id` LEFT OUTER JOIN `Renter` AS `beds->renter` ON `beds`.`id` = `beds->renter`.`bed_id`; Executing (default): SELECT `id`, `name`, `email`, `password`, `role`, `permissions`, `department`, `phone`, `avatar`, `is_active`, `last_login`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `User` AS `User` WHERE `User`.`id` = '8cc00eb8-378e-4f89-8141-f87aa35fd51d'; Executing (default): SELECT `id`, `building_id`, `floor_id`, `category`, `subcategory`, `description`, `amount`, `date`, `vendor`, `receipt`, `approved_by`, `payment_method`, `is_recurring`, `recurring_frequency`, `budget_category`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `Expense` AS `Expense`; Executing (default): SELECT `id`, `title`, `content`, `type`, `priority`, `target_audience`, `target_ids`, `building_id`, `floor_id`, `created_by`, `expiry_date`, `is_active`, `read_by`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `Notice` AS `Notice`; Executing (default): SELECT `id`, `visitor_name`, `visitor_phone`, `visiting_renter_id`, `check_in_time`, `check_out_time`, `purpose`, `approved_by`, `id_verified`, `vehicle_number`, `notes`, `visiting_renter_name`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `Visitor` AS `Visitor`; Executing (default): SELECT `id`, `name`, `value`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `Settings` AS `Settings`; Executing (default): SELECT `id`, `name`, `email`, `password`, `role`, `permissions`, `department`, `phone`, `avatar`, `is_active`, `last_login`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `User` AS `User` WHERE `User`.`id` = '8cc00eb8-378e-4f89-8141-f87aa35fd51d'; Executing (default): SELECT `Bed`.`id`, `Bed`.`building_id`, `Bed`.`floor_id`, `Bed`.`room_id`, `Bed`.`bed_number`, `Bed`.`is_occupied`, `Bed`.`monthly_rent`, `Bed`.`status`, `Bed`.`bed_type`, `Bed`.`last_cleaned`, `Bed`.`notes`, `Bed`.`reserved_until`, `Bed`.`maintenance_scheduled`, `Bed`.`created_at` AS `createdAt`, `Bed`.`updated_at` AS `updatedAt`, `renter`.`id` AS `renter.id`, `renter`.`name` AS `renter.name`, `renter`.`email` AS `renter.email`, `renter`.`phone` AS `renter.phone`, `renter`.`alternate_phone` AS `renter.alternate_phone`, `renter`.`nid` AS `renter.nid`, `renter`.`building_id` AS `renter.building_id`, `renter`.`floor_id` AS `renter.floor_id`, `renter`.`room_id` AS `renter.room_id`, `renter`.`bed_id` AS `renter.bed_id`, `renter`.`rent_amount` AS `renter.rent_amount`, `renter`.`security_deposit` AS `renter.security_deposit`, `renter`.`check_in_date` AS `renter.check_in_date`, `renter`.`check_out_date` AS `renter.check_out_date`, `renter`.`lease_start_date` AS `renter.lease_start_date`, `renter`.`lease_end_date` AS `renter.lease_end_date`, `renter`.`status` AS `renter.status`, `renter`.`emergency_contact` AS `renter.emergency_contact`, `renter`.`emergency_relation` AS `renter.emergency_relation`, `renter`.`profile_photo` AS `renter.profile_photo`, `renter`.`occupation` AS `renter.occupation`, `renter`.`company` AS `renter.company`, `renter`.`monthly_income` AS `renter.monthly_income`, `renter`.`previous_address` AS `renter.previous_address`, `renter`.`references` AS `renter.references`, `renter`.`notice_period` AS `renter.notice_period`, `renter`.`preferences` AS `renter.preferences`, `renter`.`payment_history` AS `renter.payment_history`, `renter`.`created_at` AS `renter.createdAt`, `renter`.`updated_at` AS `renter.updatedAt`, `room`.`id` AS `room.id`, `room`.`building_id` AS `room.building_id`, `room`.`floor_id` AS `room.floor_id`, `room`.`room_number` AS `room.room_number`, `room`.`total_beds` AS `room.total_beds`, `room`.`occupied_beds` AS `room.occupied_beds`, `room`.`rent_per_bed` AS `room.rent_per_bed`, `room`.`facilities` AS `room.facilities`, `room`.`room_type` AS `room.room_type`, `room`.`area` AS `room.area`, `room`.`has_balcony` AS `room.has_balcony`, `room`.`has_attached_bathroom` AS `room.has_attached_bathroom`, `room`.`furnishing_status` AS `room.furnishing_status`, `room`.`condition` AS `room.condition`, `room`.`last_cleaned` AS `room.last_cleaned`, `room`.`security_deposit` AS `room.security_deposit`, `room`.`available_from` AS `room.available_from`, `room`.`created_at` AS `room.createdAt`, `room`.`updated_at` AS `room.updatedAt`, `room->floor`.`id` AS `room.floor.id`, `room->floor`.`building_id` AS `room.floor.building_id`, `room->floor`.`floor_number` AS `room.floor.floor_number`, `room->floor`.`total_rooms` AS `room.floor.total_rooms`, `room->floor`.`occupied_rooms` AS `room.floor.occupied_rooms`, `room->floor`.`floor_type` AS `room.floor.floor_type`, `room->floor`.`amenities` AS `room.floor.amenities`, `room->floor`.`maintenance_status` AS `room.floor.maintenance_status`, `room->floor`.`last_inspection` AS `room.floor.last_inspection`, `room->floor`.`notes` AS `room.floor.notes`, `room->floor`.`created_at` AS `room.floor.createdAt`, `room->floor`.`updated_at` AS `room.floor.updatedAt`, `room->floor->building`.`id` AS `room.floor.building.id`, `room->floor->building`.`name` AS `room.floor.building.name`, `room->floor->building`.`address` AS `room.floor.building.address`, `room->floor->building`.`floors` AS `room.floor.building.floors`, `room->floor->building`.`total_rooms` AS `room.floor.building.total_rooms`, `room->floor->building`.`total_beds` AS `room.floor.building.total_beds`, `room->floor->building`.`parking_spaces` AS `room.floor.building.parking_spaces`, `room->floor->building`.`occupied_beds` AS `room.floor.building.occupied_beds`, `room->floor->building`.`manager` AS `room.floor.building.manager`, `room->floor->building`.`amenities` AS `room.floor.building.amenities`, `room->floor->building`.`monthly_revenue` AS `room.floor.building.monthly_revenue`, `room->floor->building`.`building_type` AS `room.floor.building.building_type`, `room->floor->building`.`year_built` AS `room.floor.building.year_built`, `room->floor->building`.`total_area` AS `room.floor.building.total_area`, `room->floor->building`.`elevators` AS `room.floor.building.elevators`, `room->floor->building`.`security_features` AS `room.floor.building.security_features`, `room->floor->building`.`contact_person` AS `room.floor.building.contact_person`, `room->floor->building`.`contact_phone` AS `room.floor.building.contact_phone`, `room->floor->building`.`created_at` AS `room.floor.building.createdAt`, `room->floor->building`.`updated_at` AS `room.floor.building.updatedAt` FROM `Bed` AS `Bed` LEFT OUTER JOIN `Renter` AS `renter` ON `Bed`.`id` = `renter`.`bed_id` LEFT OUTER JOIN `Room` AS `room` ON `Bed`.`room_id` = `room`.`id` LEFT OUTER JOIN `Floor` AS `room->floor` ON `room`.`floor_id` = `room->floor`.`id` LEFT OUTER JOIN `Building` AS `room->floor->building` ON `room->floor`.`building_id` = `room->floor->building`.`id`; Executing (default): SELECT `id`, `name`, `email`, `password`, `role`, `permissions`, `department`, `phone`, `avatar`, `is_active`, `last_login`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `User` AS `User` WHERE `User`.`id` = '8cc00eb8-378e-4f89-8141-f87aa35fd51d'; Executing (default): SELECT `id`, `building_id`, `floor_id`, `room_id`, `bed_id`, `type`, `category`, `description`, `priority`, `status`, `assigned_to`, `cost`, `estimated_cost`, `scheduled_date`, `completed_date`, `notes`, `images`, `warranty`, `next_maintenance_date`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `Maintenance` AS `Maintenance`; Executing (default): SELECT `id`, `name`, `email`, `password`, `role`, `permissions`, `department`, `phone`, `avatar`, `is_active`, `last_login`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `User` AS `User` WHERE `User`.`id` = '8cc00eb8-378e-4f89-8141-f87aa35fd51d'; Executing (default): SELECT `id`, `name`, `email`, `role`, `permissions`, `department`, `phone`, `avatar`, `is_active`, `last_login`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `User` AS `User` WHERE `User`.`id` = '8cc00eb8-378e-4f89-8141-f87aa35fd51d'; Executing (default): SELECT `id`, `name`, `email`, `password`, `role`, `permissions`, `department`, `phone`, `avatar`, `is_active`, `last_login`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `User` AS `User` WHERE `User`.`id` = '8cc00eb8-378e-4f89-8141-f87aa35fd51d'; Executing (default): SELECT `id`, `name`, `email`, `role`, `permissions`, `department`, `phone`, `avatar`, `is_active`, `last_login`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `User` AS `User` WHERE `User`.`id` = '8cc00eb8-378e-4f89-8141-f87aa35fd51d'; Executing (default): SELECT `id`, `name`, `email`, `password`, `role`, `permissions`, `department`, `phone`, `avatar`, `is_active`, `last_login`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `User` AS `User` WHERE `User`.`id` = '8cc00eb8-378e-4f89-8141-f87aa35fd51d'; Executing (default): SELECT `Building`.`id`, `Building`.`name`, `Building`.`address`, `Building`.`floors`, `Building`.`total_rooms`, `Building`.`total_beds`, `Building`.`parking_spaces`, `Building`.`occupied_beds`, `Building`.`manager`, `Building`.`amenities`, `Building`.`monthly_revenue`, `Building`.`building_type`, `Building`.`year_built`, `Building`.`total_area`, `Building`.`elevators`, `Building`.`security_features`, `Building`.`contact_person`, `Building`.`contact_phone`, `Building`.`created_at` AS `createdAt`, `Building`.`updated_at` AS `updatedAt`, `buildingFloors`.`id` AS `buildingFloors.id`, `buildingFloors`.`building_id` AS `buildingFloors.building_id`, `buildingFloors`.`floor_number` AS `buildingFloors.floor_number`, `buildingFloors`.`total_rooms` AS `buildingFloors.total_rooms`, `buildingFloors`.`occupied_rooms` AS `buildingFloors.occupied_rooms`, `buildingFloors`.`floor_type` AS `buildingFloors.floor_type`, `buildingFloors`.`amenities` AS `buildingFloors.amenities`, `buildingFloors`.`maintenance_status` AS `buildingFloors.maintenance_status`, `buildingFloors`.`last_inspection` AS `buildingFloors.last_inspection`, `buildingFloors`.`notes` AS `buildingFloors.notes`, `buildingFloors`.`created_at` AS `buildingFloors.createdAt`, `buildingFloors`.`updated_at` AS `buildingFloors.updatedAt`, `buildingFloors->rooms`.`id` AS `buildingFloors.rooms.id`, `buildingFloors->rooms`.`building_id` AS `buildingFloors.rooms.building_id`, `buildingFloors->rooms`.`floor_id` AS `buildingFloors.rooms.floor_id`, `buildingFloors->rooms`.`room_number` AS `buildingFloors.rooms.room_number`, `buildingFloors->rooms`.`total_beds` AS `buildingFloors.rooms.total_beds`, `buildingFloors->rooms`.`occupied_beds` AS `buildingFloors.rooms.occupied_beds`, `buildingFloors->rooms`.`rent_per_bed` AS `buildingFloors.rooms.rent_per_bed`, `buildingFloors->rooms`.`facilities` AS `buildingFloors.rooms.facilities`, `buildingFloors->rooms`.`room_type` AS `buildingFloors.rooms.room_type`, `buildingFloors->rooms`.`area` AS `buildingFloors.rooms.area`, `buildingFloors->rooms`.`has_balcony` AS `buildingFloors.rooms.has_balcony`, `buildingFloors->rooms`.`has_attached_bathroom` AS `buildingFloors.rooms.has_attached_bathroom`, `buildingFloors->rooms`.`furnishing_status` AS `buildingFloors.rooms.furnishing_status`, `buildingFloors->rooms`.`condition` AS `buildingFloors.rooms.condition`, `buildingFloors->rooms`.`last_cleaned` AS `buildingFloors.rooms.last_cleaned`, `buildingFloors->rooms`.`security_deposit` AS `buildingFloors.rooms.security_deposit`, `buildingFloors->rooms`.`available_from` AS `buildingFloors.rooms.available_from`, `buildingFloors->rooms`.`created_at` AS `buildingFloors.rooms.createdAt`, `buildingFloors->rooms`.`updated_at` AS `buildingFloors.rooms.updatedAt`, `buildingFloors->rooms->beds`.`id` AS `buildingFloors.rooms.beds.id`, `buildingFloors->rooms->beds`.`building_id` AS `buildingFloors.rooms.beds.building_id`, `buildingFloors->rooms->beds`.`floor_id` AS `buildingFloors.rooms.beds.floor_id`, `buildingFloors->rooms->beds`.`room_id` AS `buildingFloors.rooms.beds.room_id`, `buildingFloors->rooms->beds`.`bed_number` AS `buildingFloors.rooms.beds.bed_number`, `buildingFloors->rooms->beds`.`is_occupied` AS `buildingFloors.rooms.beds.is_occupied`, `buildingFloors->rooms->beds`.`monthly_rent` AS `buildingFloors.rooms.beds.monthly_rent`, `buildingFloors->rooms->beds`.`status` AS `buildingFloors.rooms.beds.status`, `buildingFloors->rooms->beds`.`bed_type` AS `buildingFloors.rooms.beds.bed_type`, `buildingFloors->rooms->beds`.`last_cleaned` AS `buildingFloors.rooms.beds.last_cleaned`, `buildingFloors->rooms->beds`.`notes` AS `buildingFloors.rooms.beds.notes`, `buildingFloors->rooms->beds`.`reserved_until` AS `buildingFloors.rooms.beds.reserved_until`, `buildingFloors->rooms->beds`.`maintenance_scheduled` AS `buildingFloors.rooms.beds.maintenance_scheduled`, `buildingFloors->rooms->beds`.`created_at` AS `buildingFloors.rooms.beds.createdAt`, `buildingFloors->rooms->beds`.`updated_at` AS `buildingFloors.rooms.beds.updatedAt`, `buildingFloors->rooms->beds->renter`.`id` AS `buildingFloors.rooms.beds.renter.id`, `buildingFloors->rooms->beds->renter`.`name` AS `buildingFloors.rooms.beds.renter.name`, `buildingFloors->rooms->beds->renter`.`email` AS `buildingFloors.rooms.beds.renter.email`, `buildingFloors->rooms->beds->renter`.`phone` AS `buildingFloors.rooms.beds.renter.phone`, `buildingFloors->rooms->beds->renter`.`alternate_phone` AS `buildingFloors.rooms.beds.renter.alternate_phone`, `buildingFloors->rooms->beds->renter`.`nid` AS `buildingFloors.rooms.beds.renter.nid`, `buildingFloors->rooms->beds->renter`.`building_id` AS `buildingFloors.rooms.beds.renter.building_id`, `buildingFloors->rooms->beds->renter`.`floor_id` AS `buildingFloors.rooms.beds.renter.floor_id`, `buildingFloors->rooms->beds->renter`.`room_id` AS `buildingFloors.rooms.beds.renter.room_id`, `buildingFloors->rooms->beds->renter`.`bed_id` AS `buildingFloors.rooms.beds.renter.bed_id`, `buildingFloors->rooms->beds->renter`.`rent_amount` AS `buildingFloors.rooms.beds.renter.rent_amount`, `buildingFloors->rooms->beds->renter`.`security_deposit` AS `buildingFloors.rooms.beds.renter.security_deposit`, `buildingFloors->rooms->beds->renter`.`check_in_date` AS `buildingFloors.rooms.beds.renter.check_in_date`, `buildingFloors->rooms->beds->renter`.`check_out_date` AS `buildingFloors.rooms.beds.renter.check_out_date`, `buildingFloors->rooms->beds->renter`.`lease_start_date` AS `buildingFloors.rooms.beds.renter.lease_start_date`, `buildingFloors->rooms->beds->renter`.`lease_end_date` AS `buildingFloors.rooms.beds.renter.lease_end_date`, `buildingFloors->rooms->beds->renter`.`status` AS `buildingFloors.rooms.beds.renter.status`, `buildingFloors->rooms->beds->renter`.`emergency_contact` AS `buildingFloors.rooms.beds.renter.emergency_contact`, `buildingFloors->rooms->beds->renter`.`emergency_relation` AS `buildingFloors.rooms.beds.renter.emergency_relation`, `buildingFloors->rooms->beds->renter`.`profile_photo` AS `buildingFloors.rooms.beds.renter.profile_photo`, `buildingFloors->rooms->beds->renter`.`occupation` AS `buildingFloors.rooms.beds.renter.occupation`, `buildingFloors->rooms->beds->renter`.`company` AS `buildingFloors.rooms.beds.renter.company`, `buildingFloors->rooms->beds->renter`.`monthly_income` AS `buildingFloors.rooms.beds.renter.monthly_income`, `buildingFloors->rooms->beds->renter`.`previous_address` AS `buildingFloors.rooms.beds.renter.previous_address`, `buildingFloors->rooms->beds->renter`.`references` AS `buildingFloors.rooms.beds.renter.references`, `buildingFloors->rooms->beds->renter`.`notice_period` AS `buildingFloors.rooms.beds.renter.notice_period`, `buildingFloors->rooms->beds->renter`.`preferences` AS `buildingFloors.rooms.beds.renter.preferences`, `buildingFloors->rooms->beds->renter`.`payment_history` AS `buildingFloors.rooms.beds.renter.payment_history`, `buildingFloors->rooms->beds->renter`.`created_at` AS `buildingFloors.rooms.beds.renter.createdAt`, `buildingFloors->rooms->beds->renter`.`updated_at` AS `buildingFloors.rooms.beds.renter.updatedAt` FROM `Building` AS `Building` LEFT OUTER JOIN `Floor` AS `buildingFloors` ON `Building`.`id` = `buildingFloors`.`building_id` LEFT OUTER JOIN `Room` AS `buildingFloors->rooms` ON `buildingFloors`.`id` = `buildingFloors->rooms`.`floor_id` LEFT OUTER JOIN `Bed` AS `buildingFloors->rooms->beds` ON `buildingFloors->rooms`.`id` = `buildingFloors->rooms->beds`.`room_id` LEFT OUTER JOIN `Renter` AS `buildingFloors->rooms->beds->renter` ON `buildingFloors->rooms->beds`.`id` = `buildingFloors->rooms->beds->renter`.`bed_id` ORDER BY `createdAt` DESC; Executing (default): SELECT `Renter`.`id`, `Renter`.`name`, `Renter`.`email`, `Renter`.`phone`, `Renter`.`alternate_phone`, `Renter`.`nid`, `Renter`.`building_id`, `Renter`.`floor_id`, `Renter`.`room_id`, `Renter`.`bed_id`, `Renter`.`rent_amount`, `Renter`.`security_deposit`, `Renter`.`check_in_date`, `Renter`.`check_out_date`, `Renter`.`lease_start_date`, `Renter`.`lease_end_date`, `Renter`.`status`, `Renter`.`emergency_contact`, `Renter`.`emergency_relation`, `Renter`.`profile_photo`, `Renter`.`occupation`, `Renter`.`company`, `Renter`.`monthly_income`, `Renter`.`previous_address`, `Renter`.`references`, `Renter`.`notice_period`, `Renter`.`preferences`, `Renter`.`payment_history`, `Renter`.`created_at` AS `createdAt`, `Renter`.`updated_at` AS `updatedAt`, `room`.`id` AS `room.id`, `room`.`building_id` AS `room.building_id`, `room`.`floor_id` AS `room.floor_id`, `room`.`room_number` AS `room.room_number`, `room`.`total_beds` AS `room.total_beds`, `room`.`occupied_beds` AS `room.occupied_beds`, `room`.`rent_per_bed` AS `room.rent_per_bed`, `room`.`facilities` AS `room.facilities`, `room`.`room_type` AS `room.room_type`, `room`.`area` AS `room.area`, `room`.`has_balcony` AS `room.has_balcony`, `room`.`has_attached_bathroom` AS `room.has_attached_bathroom`, `room`.`furnishing_status` AS `room.furnishing_status`, `room`.`condition` AS `room.condition`, `room`.`last_cleaned` AS `room.last_cleaned`, `room`.`security_deposit` AS `room.security_deposit`, `room`.`available_from` AS `room.available_from`, `room`.`created_at` AS `room.createdAt`, `room`.`updated_at` AS `room.updatedAt`, `documents`.`id` AS `documents.id`, `documents`.`renter_id` AS `documents.renter_id`, `documents`.`type` AS `documents.type`, `documents`.`file_name` AS `documents.file_name`, `documents`.`file_url` AS `documents.file_url`, `documents`.`file_size` AS `documents.file_size`, `documents`.`mime_type` AS `documents.mime_type`, `documents`.`description` AS `documents.description`, `documents`.`created_at` AS `documents.createdAt`, `documents`.`updated_at` AS `documents.updatedAt` FROM `Renter` AS `Renter` LEFT OUTER JOIN `Room` AS `room` ON `Renter`.`room_id` = `room`.`id` LEFT OUTER JOIN `RenterDocument` AS `documents` ON `Renter`.`id` = `documents`.`renter_id`; Executing (default): SELECT `id`, `name`, `email`, `password`, `role`, `permissions`, `department`, `phone`, `avatar`, `is_active`, `last_login`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `User` AS `User` WHERE `User`.`id` = '8cc00eb8-378e-4f89-8141-f87aa35fd51d'; Executing (default): SELECT `id`, `renter_id`, `amount`, `due_date`, `paid_date`, `status`, `month`, `year`, `payment_method`, `transaction_id`, `late_fee`, `discount`, `notes`, `receipt_number`, `collected_by`, `renter_name` AS `renterName`, `room_number`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `RentPayment` AS `RentPayment`; Executing (default): SELECT `id`, `name`, `email`, `password`, `role`, `permissions`, `department`, `phone`, `avatar`, `is_active`, `last_login`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `User` AS `User` WHERE `User`.`id` = '8cc00eb8-378e-4f89-8141-f87aa35fd51d'; Executing (default): SELECT `id`, `name`, `email`, `password`, `role`, `permissions`, `department`, `phone`, `avatar`, `is_active`, `last_login`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `User` AS `User` WHERE `User`.`id` = '8cc00eb8-378e-4f89-8141-f87aa35fd51d'; Executing (default): SELECT `id`, `building_id`, `floor_id`, `room_id`, `bed_id`, `type`, `category`, `description`, `priority`, `status`, `assigned_to`, `cost`, `estimated_cost`, `scheduled_date`, `completed_date`, `notes`, `images`, `warranty`, `next_maintenance_date`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `Maintenance` AS `Maintenance`; Executing (default): SELECT `id`, `building_id`, `floor_id`, `category`, `subcategory`, `description`, `amount`, `date`, `vendor`, `receipt`, `approved_by`, `payment_method`, `is_recurring`, `recurring_frequency`, `budget_category`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `Expense` AS `Expense`; Executing (default): SELECT `id`, `title`, `content`, `type`, `priority`, `target_audience`, `target_ids`, `building_id`, `floor_id`, `created_by`, `expiry_date`, `is_active`, `read_by`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `Notice` AS `Notice`; Executing (default): SELECT `id`, `visitor_name`, `visitor_phone`, `visiting_renter_id`, `check_in_time`, `check_out_time`, `purpose`, `approved_by`, `id_verified`, `vehicle_number`, `notes`, `visiting_renter_name`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `Visitor` AS `Visitor`; Executing (default): SELECT `id`, `name`, `value`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `Settings` AS `Settings`; Executing (default): SELECT `id`, `name`, `email`, `password`, `role`, `permissions`, `department`, `phone`, `avatar`, `is_active`, `last_login`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `User` AS `User` WHERE `User`.`id` = '8cc00eb8-378e-4f89-8141-f87aa35fd51d'; Executing (default): SELECT `Floor`.`id`, `Floor`.`building_id`, `Floor`.`floor_number`, `Floor`.`total_rooms`, `Floor`.`occupied_rooms`, `Floor`.`floor_type`, `Floor`.`amenities`, `Floor`.`maintenance_status`, `Floor`.`last_inspection`, `Floor`.`notes`, `Floor`.`created_at` AS `createdAt`, `Floor`.`updated_at` AS `updatedAt`, `rooms`.`id` AS `rooms.id`, `rooms`.`building_id` AS `rooms.building_id`, `rooms`.`floor_id` AS `rooms.floor_id`, `rooms`.`room_number` AS `rooms.room_number`, `rooms`.`total_beds` AS `rooms.total_beds`, `rooms`.`occupied_beds` AS `rooms.occupied_beds`, `rooms`.`rent_per_bed` AS `rooms.rent_per_bed`, `rooms`.`facilities` AS `rooms.facilities`, `rooms`.`room_type` AS `rooms.room_type`, `rooms`.`area` AS `rooms.area`, `rooms`.`has_balcony` AS `rooms.has_balcony`, `rooms`.`has_attached_bathroom` AS `rooms.has_attached_bathroom`, `rooms`.`furnishing_status` AS `rooms.furnishing_status`, `rooms`.`condition` AS `rooms.condition`, `rooms`.`last_cleaned` AS `rooms.last_cleaned`, `rooms`.`security_deposit` AS `rooms.security_deposit`, `rooms`.`available_from` AS `rooms.available_from`, `rooms`.`created_at` AS `rooms.createdAt`, `rooms`.`updated_at` AS `rooms.updatedAt`, `rooms->beds`.`id` AS `rooms.beds.id`, `rooms->beds`.`building_id` AS `rooms.beds.building_id`, `rooms->beds`.`floor_id` AS `rooms.beds.floor_id`, `rooms->beds`.`room_id` AS `rooms.beds.room_id`, `rooms->beds`.`bed_number` AS `rooms.beds.bed_number`, `rooms->beds`.`is_occupied` AS `rooms.beds.is_occupied`, `rooms->beds`.`monthly_rent` AS `rooms.beds.monthly_rent`, `rooms->beds`.`status` AS `rooms.beds.status`, `rooms->beds`.`bed_type` AS `rooms.beds.bed_type`, `rooms->beds`.`last_cleaned` AS `rooms.beds.last_cleaned`, `rooms->beds`.`notes` AS `rooms.beds.notes`, `rooms->beds`.`reserved_until` AS `rooms.beds.reserved_until`, `rooms->beds`.`maintenance_scheduled` AS `rooms.beds.maintenance_scheduled`, `rooms->beds`.`created_at` AS `rooms.beds.createdAt`, `rooms->beds`.`updated_at` AS `rooms.beds.updatedAt`, `rooms->beds->renter`.`id` AS `rooms.beds.renter.id`, `rooms->beds->renter`.`name` AS `rooms.beds.renter.name`, `rooms->beds->renter`.`email` AS `rooms.beds.renter.email`, `rooms->beds->renter`.`phone` AS `rooms.beds.renter.phone`, `rooms->beds->renter`.`alternate_phone` AS `rooms.beds.renter.alternate_phone`, `rooms->beds->renter`.`nid` AS `rooms.beds.renter.nid`, `rooms->beds->renter`.`building_id` AS `rooms.beds.renter.building_id`, `rooms->beds->renter`.`floor_id` AS `rooms.beds.renter.floor_id`, `rooms->beds->renter`.`room_id` AS `rooms.beds.renter.room_id`, `rooms->beds->renter`.`bed_id` AS `rooms.beds.renter.bed_id`, `rooms->beds->renter`.`rent_amount` AS `rooms.beds.renter.rent_amount`, `rooms->beds->renter`.`security_deposit` AS `rooms.beds.renter.security_deposit`, `rooms->beds->renter`.`check_in_date` AS `rooms.beds.renter.check_in_date`, `rooms->beds->renter`.`check_out_date` AS `rooms.beds.renter.check_out_date`, `rooms->beds->renter`.`lease_start_date` AS `rooms.beds.renter.lease_start_date`, `rooms->beds->renter`.`lease_end_date` AS `rooms.beds.renter.lease_end_date`, `rooms->beds->renter`.`status` AS `rooms.beds.renter.status`, `rooms->beds->renter`.`emergency_contact` AS `rooms.beds.renter.emergency_contact`, `rooms->beds->renter`.`emergency_relation` AS `rooms.beds.renter.emergency_relation`, `rooms->beds->renter`.`profile_photo` AS `rooms.beds.renter.profile_photo`, `rooms->beds->renter`.`occupation` AS `rooms.beds.renter.occupation`, `rooms->beds->renter`.`company` AS `rooms.beds.renter.company`, `rooms->beds->renter`.`monthly_income` AS `rooms.beds.renter.monthly_income`, `rooms->beds->renter`.`previous_address` AS `rooms.beds.renter.previous_address`, `rooms->beds->renter`.`references` AS `rooms.beds.renter.references`, `rooms->beds->renter`.`notice_period` AS `rooms.beds.renter.notice_period`, `rooms->beds->renter`.`preferences` AS `rooms.beds.renter.preferences`, `rooms->beds->renter`.`payment_history` AS `rooms.beds.renter.payment_history`, `rooms->beds->renter`.`created_at` AS `rooms.beds.renter.createdAt`, `rooms->beds->renter`.`updated_at` AS `rooms.beds.renter.updatedAt` FROM `Floor` AS `Floor` LEFT OUTER JOIN `Room` AS `rooms` ON `Floor`.`id` = `rooms`.`floor_id` LEFT OUTER JOIN `Bed` AS `rooms->beds` ON `rooms`.`id` = `rooms->beds`.`room_id` LEFT OUTER JOIN `Renter` AS `rooms->beds->renter` ON `rooms->beds`.`id` = `rooms->beds->renter`.`bed_id`; Executing (default): SELECT `id`, `name`, `email`, `password`, `role`, `permissions`, `department`, `phone`, `avatar`, `is_active`, `last_login`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `User` AS `User` WHERE `User`.`id` = '8cc00eb8-378e-4f89-8141-f87aa35fd51d'; Executing (default): SELECT `Bed`.`id`, `Bed`.`building_id`, `Bed`.`floor_id`, `Bed`.`room_id`, `Bed`.`bed_number`, `Bed`.`is_occupied`, `Bed`.`monthly_rent`, `Bed`.`status`, `Bed`.`bed_type`, `Bed`.`last_cleaned`, `Bed`.`notes`, `Bed`.`reserved_until`, `Bed`.`maintenance_scheduled`, `Bed`.`created_at` AS `createdAt`, `Bed`.`updated_at` AS `updatedAt`, `renter`.`id` AS `renter.id`, `renter`.`name` AS `renter.name`, `renter`.`email` AS `renter.email`, `renter`.`phone` AS `renter.phone`, `renter`.`alternate_phone` AS `renter.alternate_phone`, `renter`.`nid` AS `renter.nid`, `renter`.`building_id` AS `renter.building_id`, `renter`.`floor_id` AS `renter.floor_id`, `renter`.`room_id` AS `renter.room_id`, `renter`.`bed_id` AS `renter.bed_id`, `renter`.`rent_amount` AS `renter.rent_amount`, `renter`.`security_deposit` AS `renter.security_deposit`, `renter`.`check_in_date` AS `renter.check_in_date`, `renter`.`check_out_date` AS `renter.check_out_date`, `renter`.`lease_start_date` AS `renter.lease_start_date`, `renter`.`lease_end_date` AS `renter.lease_end_date`, `renter`.`status` AS `renter.status`, `renter`.`emergency_contact` AS `renter.emergency_contact`, `renter`.`emergency_relation` AS `renter.emergency_relation`, `renter`.`profile_photo` AS `renter.profile_photo`, `renter`.`occupation` AS `renter.occupation`, `renter`.`company` AS `renter.company`, `renter`.`monthly_income` AS `renter.monthly_income`, `renter`.`previous_address` AS `renter.previous_address`, `renter`.`references` AS `renter.references`, `renter`.`notice_period` AS `renter.notice_period`, `renter`.`preferences` AS `renter.preferences`, `renter`.`payment_history` AS `renter.payment_history`, `renter`.`created_at` AS `renter.createdAt`, `renter`.`updated_at` AS `renter.updatedAt`, `room`.`id` AS `room.id`, `room`.`building_id` AS `room.building_id`, `room`.`floor_id` AS `room.floor_id`, `room`.`room_number` AS `room.room_number`, `room`.`total_beds` AS `room.total_beds`, `room`.`occupied_beds` AS `room.occupied_beds`, `room`.`rent_per_bed` AS `room.rent_per_bed`, `room`.`facilities` AS `room.facilities`, `room`.`room_type` AS `room.room_type`, `room`.`area` AS `room.area`, `room`.`has_balcony` AS `room.has_balcony`, `room`.`has_attached_bathroom` AS `room.has_attached_bathroom`, `room`.`furnishing_status` AS `room.furnishing_status`, `room`.`condition` AS `room.condition`, `room`.`last_cleaned` AS `room.last_cleaned`, `room`.`security_deposit` AS `room.security_deposit`, `room`.`available_from` AS `room.available_from`, `room`.`created_at` AS `room.createdAt`, `room`.`updated_at` AS `room.updatedAt`, `room->floor`.`id` AS `room.floor.id`, `room->floor`.`building_id` AS `room.floor.building_id`, `room->floor`.`floor_number` AS `room.floor.floor_number`, `room->floor`.`total_rooms` AS `room.floor.total_rooms`, `room->floor`.`occupied_rooms` AS `room.floor.occupied_rooms`, `room->floor`.`floor_type` AS `room.floor.floor_type`, `room->floor`.`amenities` AS `room.floor.amenities`, `room->floor`.`maintenance_status` AS `room.floor.maintenance_status`, `room->floor`.`last_inspection` AS `room.floor.last_inspection`, `room->floor`.`notes` AS `room.floor.notes`, `room->floor`.`created_at` AS `room.floor.createdAt`, `room->floor`.`updated_at` AS `room.floor.updatedAt`, `room->floor->building`.`id` AS `room.floor.building.id`, `room->floor->building`.`name` AS `room.floor.building.name`, `room->floor->building`.`address` AS `room.floor.building.address`, `room->floor->building`.`floors` AS `room.floor.building.floors`, `room->floor->building`.`total_rooms` AS `room.floor.building.total_rooms`, `room->floor->building`.`total_beds` AS `room.floor.building.total_beds`, `room->floor->building`.`parking_spaces` AS `room.floor.building.parking_spaces`, `room->floor->building`.`occupied_beds` AS `room.floor.building.occupied_beds`, `room->floor->building`.`manager` AS `room.floor.building.manager`, `room->floor->building`.`amenities` AS `room.floor.building.amenities`, `room->floor->building`.`monthly_revenue` AS `room.floor.building.monthly_revenue`, `room->floor->building`.`building_type` AS `room.floor.building.building_type`, `room->floor->building`.`year_built` AS `room.floor.building.year_built`, `room->floor->building`.`total_area` AS `room.floor.building.total_area`, `room->floor->building`.`elevators` AS `room.floor.building.elevators`, `room->floor->building`.`security_features` AS `room.floor.building.security_features`, `room->floor->building`.`contact_person` AS `room.floor.building.contact_person`, `room->floor->building`.`contact_phone` AS `room.floor.building.contact_phone`, `room->floor->building`.`created_at` AS `room.floor.building.createdAt`, `room->floor->building`.`updated_at` AS `room.floor.building.updatedAt` FROM `Bed` AS `Bed` LEFT OUTER JOIN `Renter` AS `renter` ON `Bed`.`id` = `renter`.`bed_id` LEFT OUTER JOIN `Room` AS `room` ON `Bed`.`room_id` = `room`.`id` LEFT OUTER JOIN `Floor` AS `room->floor` ON `room`.`floor_id` = `room->floor`.`id` LEFT OUTER JOIN `Building` AS `room->floor->building` ON `room->floor`.`building_id` = `room->floor->building`.`id`; Executing (default): SELECT `id`, `name`, `email`, `password`, `role`, `permissions`, `department`, `phone`, `avatar`, `is_active`, `last_login`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `User` AS `User` WHERE `User`.`id` = '8cc00eb8-378e-4f89-8141-f87aa35fd51d'; Executing (default): SELECT `Room`.`id`, `Room`.`building_id`, `Room`.`floor_id`, `Room`.`room_number`, `Room`.`total_beds`, `Room`.`occupied_beds`, `Room`.`rent_per_bed`, `Room`.`facilities`, `Room`.`room_type`, `Room`.`area`, `Room`.`has_balcony`, `Room`.`has_attached_bathroom`, `Room`.`furnishing_status`, `Room`.`condition`, `Room`.`last_cleaned`, `Room`.`security_deposit`, `Room`.`available_from`, `Room`.`created_at` AS `createdAt`, `Room`.`updated_at` AS `updatedAt`, `building`.`id` AS `building.id`, `building`.`name` AS `building.name`, `building`.`address` AS `building.address`, `building`.`floors` AS `building.floors`, `building`.`total_rooms` AS `building.total_rooms`, `building`.`total_beds` AS `building.total_beds`, `building`.`parking_spaces` AS `building.parking_spaces`, `building`.`occupied_beds` AS `building.occupied_beds`, `building`.`manager` AS `building.manager`, `building`.`amenities` AS `building.amenities`, `building`.`monthly_revenue` AS `building.monthly_revenue`, `building`.`building_type` AS `building.building_type`, `building`.`year_built` AS `building.year_built`, `building`.`total_area` AS `building.total_area`, `building`.`elevators` AS `building.elevators`, `building`.`security_features` AS `building.security_features`, `building`.`contact_person` AS `building.contact_person`, `building`.`contact_phone` AS `building.contact_phone`, `building`.`created_at` AS `building.createdAt`, `building`.`updated_at` AS `building.updatedAt`, `floor`.`id` AS `floor.id`, `floor`.`building_id` AS `floor.building_id`, `floor`.`floor_number` AS `floor.floor_number`, `floor`.`total_rooms` AS `floor.total_rooms`, `floor`.`occupied_rooms` AS `floor.occupied_rooms`, `floor`.`floor_type` AS `floor.floor_type`, `floor`.`amenities` AS `floor.amenities`, `floor`.`maintenance_status` AS `floor.maintenance_status`, `floor`.`last_inspection` AS `floor.last_inspection`, `floor`.`notes` AS `floor.notes`, `floor`.`created_at` AS `floor.createdAt`, `floor`.`updated_at` AS `floor.updatedAt`, `beds`.`id` AS `beds.id`, `beds`.`building_id` AS `beds.building_id`, `beds`.`floor_id` AS `beds.floor_id`, `beds`.`room_id` AS `beds.room_id`, `beds`.`bed_number` AS `beds.bed_number`, `beds`.`is_occupied` AS `beds.is_occupied`, `beds`.`monthly_rent` AS `beds.monthly_rent`, `beds`.`status` AS `beds.status`, `beds`.`bed_type` AS `beds.bed_type`, `beds`.`last_cleaned` AS `beds.last_cleaned`, `beds`.`notes` AS `beds.notes`, `beds`.`reserved_until` AS `beds.reserved_until`, `beds`.`maintenance_scheduled` AS `beds.maintenance_scheduled`, `beds`.`created_at` AS `beds.createdAt`, `beds`.`updated_at` AS `beds.updatedAt`, `beds->renter`.`id` AS `beds.renter.id`, `beds->renter`.`name` AS `beds.renter.name`, `beds->renter`.`email` AS `beds.renter.email`, `beds->renter`.`phone` AS `beds.renter.phone`, `beds->renter`.`alternate_phone` AS `beds.renter.alternate_phone`, `beds->renter`.`nid` AS `beds.renter.nid`, `beds->renter`.`building_id` AS `beds.renter.building_id`, `beds->renter`.`floor_id` AS `beds.renter.floor_id`, `beds->renter`.`room_id` AS `beds.renter.room_id`, `beds->renter`.`bed_id` AS `beds.renter.bed_id`, `beds->renter`.`rent_amount` AS `beds.renter.rent_amount`, `beds->renter`.`security_deposit` AS `beds.renter.security_deposit`, `beds->renter`.`check_in_date` AS `beds.renter.check_in_date`, `beds->renter`.`check_out_date` AS `beds.renter.check_out_date`, `beds->renter`.`lease_start_date` AS `beds.renter.lease_start_date`, `beds->renter`.`lease_end_date` AS `beds.renter.lease_end_date`, `beds->renter`.`status` AS `beds.renter.status`, `beds->renter`.`emergency_contact` AS `beds.renter.emergency_contact`, `beds->renter`.`emergency_relation` AS `beds.renter.emergency_relation`, `beds->renter`.`profile_photo` AS `beds.renter.profile_photo`, `beds->renter`.`occupation` AS `beds.renter.occupation`, `beds->renter`.`company` AS `beds.renter.company`, `beds->renter`.`monthly_income` AS `beds.renter.monthly_income`, `beds->renter`.`previous_address` AS `beds.renter.previous_address`, `beds->renter`.`references` AS `beds.renter.references`, `beds->renter`.`notice_period` AS `beds.renter.notice_period`, `beds->renter`.`preferences` AS `beds.renter.preferences`, `beds->renter`.`payment_history` AS `beds.renter.payment_history`, `beds->renter`.`created_at` AS `beds.renter.createdAt`, `beds->renter`.`updated_at` AS `beds.renter.updatedAt` FROM `Room` AS `Room` LEFT OUTER JOIN `Building` AS `building` ON `Room`.`building_id` = `building`.`id` LEFT OUTER JOIN `Floor` AS `floor` ON `Room`.`floor_id` = `floor`.`id` LEFT OUTER JOIN `Bed` AS `beds` ON `Room`.`id` = `beds`.`room_id` LEFT OUTER JOIN `Renter` AS `beds->renter` ON `beds`.`id` = `beds->renter`.`bed_id`; Executing (default): SELECT `id`, `name`, `email`, `password`, `role`, `permissions`, `department`, `phone`, `avatar`, `is_active`, `last_login`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `User` AS `User` WHERE `User`.`id` = '8cc00eb8-378e-4f89-8141-f87aa35fd51d'; Executing (default): SELECT `id`, `name`, `email`, `role`, `permissions`, `department`, `phone`, `avatar`, `is_active`, `last_login`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `User` AS `User` WHERE `User`.`id` = '8cc00eb8-378e-4f89-8141-f87aa35fd51d'; Executing (default): SELECT `id`, `name`, `email`, `password`, `role`, `permissions`, `department`, `phone`, `avatar`, `is_active`, `last_login`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `User` AS `User` WHERE `User`.`id` = '8cc00eb8-378e-4f89-8141-f87aa35fd51d'; Executing (default): SELECT `Building`.`id`, `Building`.`name`, `Building`.`address`, `Building`.`floors`, `Building`.`total_rooms`, `Building`.`total_beds`, `Building`.`parking_spaces`, `Building`.`occupied_beds`, `Building`.`manager`, `Building`.`amenities`, `Building`.`monthly_revenue`, `Building`.`building_type`, `Building`.`year_built`, `Building`.`total_area`, `Building`.`elevators`, `Building`.`security_features`, `Building`.`contact_person`, `Building`.`contact_phone`, `Building`.`created_at` AS `createdAt`, `Building`.`updated_at` AS `updatedAt`, `buildingFloors`.`id` AS `buildingFloors.id`, `buildingFloors`.`building_id` AS `buildingFloors.building_id`, `buildingFloors`.`floor_number` AS `buildingFloors.floor_number`, `buildingFloors`.`total_rooms` AS `buildingFloors.total_rooms`, `buildingFloors`.`occupied_rooms` AS `buildingFloors.occupied_rooms`, `buildingFloors`.`floor_type` AS `buildingFloors.floor_type`, `buildingFloors`.`amenities` AS `buildingFloors.amenities`, `buildingFloors`.`maintenance_status` AS `buildingFloors.maintenance_status`, `buildingFloors`.`last_inspection` AS `buildingFloors.last_inspection`, `buildingFloors`.`notes` AS `buildingFloors.notes`, `buildingFloors`.`created_at` AS `buildingFloors.createdAt`, `buildingFloors`.`updated_at` AS `buildingFloors.updatedAt`, `buildingFloors->rooms`.`id` AS `buildingFloors.rooms.id`, `buildingFloors->rooms`.`building_id` AS `buildingFloors.rooms.building_id`, `buildingFloors->rooms`.`floor_id` AS `buildingFloors.rooms.floor_id`, `buildingFloors->rooms`.`room_number` AS `buildingFloors.rooms.room_number`, `buildingFloors->rooms`.`total_beds` AS `buildingFloors.rooms.total_beds`, `buildingFloors->rooms`.`occupied_beds` AS `buildingFloors.rooms.occupied_beds`, `buildingFloors->rooms`.`rent_per_bed` AS `buildingFloors.rooms.rent_per_bed`, `buildingFloors->rooms`.`facilities` AS `buildingFloors.rooms.facilities`, `buildingFloors->rooms`.`room_type` AS `buildingFloors.rooms.room_type`, `buildingFloors->rooms`.`area` AS `buildingFloors.rooms.area`, `buildingFloors->rooms`.`has_balcony` AS `buildingFloors.rooms.has_balcony`, `buildingFloors->rooms`.`has_attached_bathroom` AS `buildingFloors.rooms.has_attached_bathroom`, `buildingFloors->rooms`.`furnishing_status` AS `buildingFloors.rooms.furnishing_status`, `buildingFloors->rooms`.`condition` AS `buildingFloors.rooms.condition`, `buildingFloors->rooms`.`last_cleaned` AS `buildingFloors.rooms.last_cleaned`, `buildingFloors->rooms`.`security_deposit` AS `buildingFloors.rooms.security_deposit`, `buildingFloors->rooms`.`available_from` AS `buildingFloors.rooms.available_from`, `buildingFloors->rooms`.`created_at` AS `buildingFloors.rooms.createdAt`, `buildingFloors->rooms`.`updated_at` AS `buildingFloors.rooms.updatedAt`, `buildingFloors->rooms->beds`.`id` AS `buildingFloors.rooms.beds.id`, `buildingFloors->rooms->beds`.`building_id` AS `buildingFloors.rooms.beds.building_id`, `buildingFloors->rooms->beds`.`floor_id` AS `buildingFloors.rooms.beds.floor_id`, `buildingFloors->rooms->beds`.`room_id` AS `buildingFloors.rooms.beds.room_id`, `buildingFloors->rooms->beds`.`bed_number` AS `buildingFloors.rooms.beds.bed_number`, `buildingFloors->rooms->beds`.`is_occupied` AS `buildingFloors.rooms.beds.is_occupied`, `buildingFloors->rooms->beds`.`monthly_rent` AS `buildingFloors.rooms.beds.monthly_rent`, `buildingFloors->rooms->beds`.`status` AS `buildingFloors.rooms.beds.status`, `buildingFloors->rooms->beds`.`bed_type` AS `buildingFloors.rooms.beds.bed_type`, `buildingFloors->rooms->beds`.`last_cleaned` AS `buildingFloors.rooms.beds.last_cleaned`, `buildingFloors->rooms->beds`.`notes` AS `buildingFloors.rooms.beds.notes`, `buildingFloors->rooms->beds`.`reserved_until` AS `buildingFloors.rooms.beds.reserved_until`, `buildingFloors->rooms->beds`.`maintenance_scheduled` AS `buildingFloors.rooms.beds.maintenance_scheduled`, `buildingFloors->rooms->beds`.`created_at` AS `buildingFloors.rooms.beds.createdAt`, `buildingFloors->rooms->beds`.`updated_at` AS `buildingFloors.rooms.beds.updatedAt`, `buildingFloors->rooms->beds->renter`.`id` AS `buildingFloors.rooms.beds.renter.id`, `buildingFloors->rooms->beds->renter`.`name` AS `buildingFloors.rooms.beds.renter.name`, `buildingFloors->rooms->beds->renter`.`email` AS `buildingFloors.rooms.beds.renter.email`, `buildingFloors->rooms->beds->renter`.`phone` AS `buildingFloors.rooms.beds.renter.phone`, `buildingFloors->rooms->beds->renter`.`alternate_phone` AS `buildingFloors.rooms.beds.renter.alternate_phone`, `buildingFloors->rooms->beds->renter`.`nid` AS `buildingFloors.rooms.beds.renter.nid`, `buildingFloors->rooms->beds->renter`.`building_id` AS `buildingFloors.rooms.beds.renter.building_id`, `buildingFloors->rooms->beds->renter`.`floor_id` AS `buildingFloors.rooms.beds.renter.floor_id`, `buildingFloors->rooms->beds->renter`.`room_id` AS `buildingFloors.rooms.beds.renter.room_id`, `buildingFloors->rooms->beds->renter`.`bed_id` AS `buildingFloors.rooms.beds.renter.bed_id`, `buildingFloors->rooms->beds->renter`.`rent_amount` AS `buildingFloors.rooms.beds.renter.rent_amount`, `buildingFloors->rooms->beds->renter`.`security_deposit` AS `buildingFloors.rooms.beds.renter.security_deposit`, `buildingFloors->rooms->beds->renter`.`check_in_date` AS `buildingFloors.rooms.beds.renter.check_in_date`, `buildingFloors->rooms->beds->renter`.`check_out_date` AS `buildingFloors.rooms.beds.renter.check_out_date`, `buildingFloors->rooms->beds->renter`.`lease_start_date` AS `buildingFloors.rooms.beds.renter.lease_start_date`, `buildingFloors->rooms->beds->renter`.`lease_end_date` AS `buildingFloors.rooms.beds.renter.lease_end_date`, `buildingFloors->rooms->beds->renter`.`status` AS `buildingFloors.rooms.beds.renter.status`, `buildingFloors->rooms->beds->renter`.`emergency_contact` AS `buildingFloors.rooms.beds.renter.emergency_contact`, `buildingFloors->rooms->beds->renter`.`emergency_relation` AS `buildingFloors.rooms.beds.renter.emergency_relation`, `buildingFloors->rooms->beds->renter`.`profile_photo` AS `buildingFloors.rooms.beds.renter.profile_photo`, `buildingFloors->rooms->beds->renter`.`occupation` AS `buildingFloors.rooms.beds.renter.occupation`, `buildingFloors->rooms->beds->renter`.`company` AS `buildingFloors.rooms.beds.renter.company`, `buildingFloors->rooms->beds->renter`.`monthly_income` AS `buildingFloors.rooms.beds.renter.monthly_income`, `buildingFloors->rooms->beds->renter`.`previous_address` AS `buildingFloors.rooms.beds.renter.previous_address`, `buildingFloors->rooms->beds->renter`.`references` AS `buildingFloors.rooms.beds.renter.references`, `buildingFloors->rooms->beds->renter`.`notice_period` AS `buildingFloors.rooms.beds.renter.notice_period`, `buildingFloors->rooms->beds->renter`.`preferences` AS `buildingFloors.rooms.beds.renter.preferences`, `buildingFloors->rooms->beds->renter`.`payment_history` AS `buildingFloors.rooms.beds.renter.payment_history`, `buildingFloors->rooms->beds->renter`.`created_at` AS `buildingFloors.rooms.beds.renter.createdAt`, `buildingFloors->rooms->beds->renter`.`updated_at` AS `buildingFloors.rooms.beds.renter.updatedAt` FROM `Building` AS `Building` LEFT OUTER JOIN `Floor` AS `buildingFloors` ON `Building`.`id` = `buildingFloors`.`building_id` LEFT OUTER JOIN `Room` AS `buildingFloors->rooms` ON `buildingFloors`.`id` = `buildingFloors->rooms`.`floor_id` LEFT OUTER JOIN `Bed` AS `buildingFloors->rooms->beds` ON `buildingFloors->rooms`.`id` = `buildingFloors->rooms->beds`.`room_id` LEFT OUTER JOIN `Renter` AS `buildingFloors->rooms->beds->renter` ON `buildingFloors->rooms->beds`.`id` = `buildingFloors->rooms->beds->renter`.`bed_id` ORDER BY `createdAt` DESC; Executing (default): SELECT `id`, `name`, `email`, `password`, `role`, `permissions`, `department`, `phone`, `avatar`, `is_active`, `last_login`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `User` AS `User` WHERE `User`.`id` = '8cc00eb8-378e-4f89-8141-f87aa35fd51d'; Executing (default): SELECT `id`, `name`, `email`, `role`, `permissions`, `department`, `phone`, `avatar`, `is_active`, `last_login`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `User` AS `User` WHERE `User`.`id` = '8cc00eb8-378e-4f89-8141-f87aa35fd51d'; Executing (default): SELECT `id`, `name`, `email`, `password`, `role`, `permissions`, `department`, `phone`, `avatar`, `is_active`, `last_login`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `User` AS `User` WHERE `User`.`id` = '8cc00eb8-378e-4f89-8141-f87aa35fd51d'; Executing (default): SELECT `Floor`.`id`, `Floor`.`building_id`, `Floor`.`floor_number`, `Floor`.`total_rooms`, `Floor`.`occupied_rooms`, `Floor`.`floor_type`, `Floor`.`amenities`, `Floor`.`maintenance_status`, `Floor`.`last_inspection`, `Floor`.`notes`, `Floor`.`created_at` AS `createdAt`, `Floor`.`updated_at` AS `updatedAt`, `rooms`.`id` AS `rooms.id`, `rooms`.`building_id` AS `rooms.building_id`, `rooms`.`floor_id` AS `rooms.floor_id`, `rooms`.`room_number` AS `rooms.room_number`, `rooms`.`total_beds` AS `rooms.total_beds`, `rooms`.`occupied_beds` AS `rooms.occupied_beds`, `rooms`.`rent_per_bed` AS `rooms.rent_per_bed`, `rooms`.`facilities` AS `rooms.facilities`, `rooms`.`room_type` AS `rooms.room_type`, `rooms`.`area` AS `rooms.area`, `rooms`.`has_balcony` AS `rooms.has_balcony`, `rooms`.`has_attached_bathroom` AS `rooms.has_attached_bathroom`, `rooms`.`furnishing_status` AS `rooms.furnishing_status`, `rooms`.`condition` AS `rooms.condition`, `rooms`.`last_cleaned` AS `rooms.last_cleaned`, `rooms`.`security_deposit` AS `rooms.security_deposit`, `rooms`.`available_from` AS `rooms.available_from`, `rooms`.`created_at` AS `rooms.createdAt`, `rooms`.`updated_at` AS `rooms.updatedAt`, `rooms->beds`.`id` AS `rooms.beds.id`, `rooms->beds`.`building_id` AS `rooms.beds.building_id`, `rooms->beds`.`floor_id` AS `rooms.beds.floor_id`, `rooms->beds`.`room_id` AS `rooms.beds.room_id`, `rooms->beds`.`bed_number` AS `rooms.beds.bed_number`, `rooms->beds`.`is_occupied` AS `rooms.beds.is_occupied`, `rooms->beds`.`monthly_rent` AS `rooms.beds.monthly_rent`, `rooms->beds`.`status` AS `rooms.beds.status`, `rooms->beds`.`bed_type` AS `rooms.beds.bed_type`, `rooms->beds`.`last_cleaned` AS `rooms.beds.last_cleaned`, `rooms->beds`.`notes` AS `rooms.beds.notes`, `rooms->beds`.`reserved_until` AS `rooms.beds.reserved_until`, `rooms->beds`.`maintenance_scheduled` AS `rooms.beds.maintenance_scheduled`, `rooms->beds`.`created_at` AS `rooms.beds.createdAt`, `rooms->beds`.`updated_at` AS `rooms.beds.updatedAt`, `rooms->beds->renter`.`id` AS `rooms.beds.renter.id`, `rooms->beds->renter`.`name` AS `rooms.beds.renter.name`, `rooms->beds->renter`.`email` AS `rooms.beds.renter.email`, `rooms->beds->renter`.`phone` AS `rooms.beds.renter.phone`, `rooms->beds->renter`.`alternate_phone` AS `rooms.beds.renter.alternate_phone`, `rooms->beds->renter`.`nid` AS `rooms.beds.renter.nid`, `rooms->beds->renter`.`building_id` AS `rooms.beds.renter.building_id`, `rooms->beds->renter`.`floor_id` AS `rooms.beds.renter.floor_id`, `rooms->beds->renter`.`room_id` AS `rooms.beds.renter.room_id`, `rooms->beds->renter`.`bed_id` AS `rooms.beds.renter.bed_id`, `rooms->beds->renter`.`rent_amount` AS `rooms.beds.renter.rent_amount`, `rooms->beds->renter`.`security_deposit` AS `rooms.beds.renter.security_deposit`, `rooms->beds->renter`.`check_in_date` AS `rooms.beds.renter.check_in_date`, `rooms->beds->renter`.`check_out_date` AS `rooms.beds.renter.check_out_date`, `rooms->beds->renter`.`lease_start_date` AS `rooms.beds.renter.lease_start_date`, `rooms->beds->renter`.`lease_end_date` AS `rooms.beds.renter.lease_end_date`, `rooms->beds->renter`.`status` AS `rooms.beds.renter.status`, `rooms->beds->renter`.`emergency_contact` AS `rooms.beds.renter.emergency_contact`, `rooms->beds->renter`.`emergency_relation` AS `rooms.beds.renter.emergency_relation`, `rooms->beds->renter`.`profile_photo` AS `rooms.beds.renter.profile_photo`, `rooms->beds->renter`.`occupation` AS `rooms.beds.renter.occupation`, `rooms->beds->renter`.`company` AS `rooms.beds.renter.company`, `rooms->beds->renter`.`monthly_income` AS `rooms.beds.renter.monthly_income`, `rooms->beds->renter`.`previous_address` AS `rooms.beds.renter.previous_address`, `rooms->beds->renter`.`references` AS `rooms.beds.renter.references`, `rooms->beds->renter`.`notice_period` AS `rooms.beds.renter.notice_period`, `rooms->beds->renter`.`preferences` AS `rooms.beds.renter.preferences`, `rooms->beds->renter`.`payment_history` AS `rooms.beds.renter.payment_history`, `rooms->beds->renter`.`created_at` AS `rooms.beds.renter.createdAt`, `rooms->beds->renter`.`updated_at` AS `rooms.beds.renter.updatedAt` FROM `Floor` AS `Floor` LEFT OUTER JOIN `Room` AS `rooms` ON `Floor`.`id` = `rooms`.`floor_id` LEFT OUTER JOIN `Bed` AS `rooms->beds` ON `rooms`.`id` = `rooms->beds`.`room_id` LEFT OUTER JOIN `Renter` AS `rooms->beds->renter` ON `rooms->beds`.`id` = `rooms->beds->renter`.`bed_id`; Executing (default): SELECT `id`, `name`, `email`, `password`, `role`, `permissions`, `department`, `phone`, `avatar`, `is_active`, `last_login`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `User` AS `User` WHERE `User`.`id` = '8cc00eb8-378e-4f89-8141-f87aa35fd51d'; Executing (default): SELECT `Room`.`id`, `Room`.`building_id`, `Room`.`floor_id`, `Room`.`room_number`, `Room`.`total_beds`, `Room`.`occupied_beds`, `Room`.`rent_per_bed`, `Room`.`facilities`, `Room`.`room_type`, `Room`.`area`, `Room`.`has_balcony`, `Room`.`has_attached_bathroom`, `Room`.`furnishing_status`, `Room`.`condition`, `Room`.`last_cleaned`, `Room`.`security_deposit`, `Room`.`available_from`, `Room`.`created_at` AS `createdAt`, `Room`.`updated_at` AS `updatedAt`, `building`.`id` AS `building.id`, `building`.`name` AS `building.name`, `building`.`address` AS `building.address`, `building`.`floors` AS `building.floors`, `building`.`total_rooms` AS `building.total_rooms`, `building`.`total_beds` AS `building.total_beds`, `building`.`parking_spaces` AS `building.parking_spaces`, `building`.`occupied_beds` AS `building.occupied_beds`, `building`.`manager` AS `building.manager`, `building`.`amenities` AS `building.amenities`, `building`.`monthly_revenue` AS `building.monthly_revenue`, `building`.`building_type` AS `building.building_type`, `building`.`year_built` AS `building.year_built`, `building`.`total_area` AS `building.total_area`, `building`.`elevators` AS `building.elevators`, `building`.`security_features` AS `building.security_features`, `building`.`contact_person` AS `building.contact_person`, `building`.`contact_phone` AS `building.contact_phone`, `building`.`created_at` AS `building.createdAt`, `building`.`updated_at` AS `building.updatedAt`, `floor`.`id` AS `floor.id`, `floor`.`building_id` AS `floor.building_id`, `floor`.`floor_number` AS `floor.floor_number`, `floor`.`total_rooms` AS `floor.total_rooms`, `floor`.`occupied_rooms` AS `floor.occupied_rooms`, `floor`.`floor_type` AS `floor.floor_type`, `floor`.`amenities` AS `floor.amenities`, `floor`.`maintenance_status` AS `floor.maintenance_status`, `floor`.`last_inspection` AS `floor.last_inspection`, `floor`.`notes` AS `floor.notes`, `floor`.`created_at` AS `floor.createdAt`, `floor`.`updated_at` AS `floor.updatedAt`, `beds`.`id` AS `beds.id`, `beds`.`building_id` AS `beds.building_id`, `beds`.`floor_id` AS `beds.floor_id`, `beds`.`room_id` AS `beds.room_id`, `beds`.`bed_number` AS `beds.bed_number`, `beds`.`is_occupied` AS `beds.is_occupied`, `beds`.`monthly_rent` AS `beds.monthly_rent`, `beds`.`status` AS `beds.status`, `beds`.`bed_type` AS `beds.bed_type`, `beds`.`last_cleaned` AS `beds.last_cleaned`, `beds`.`notes` AS `beds.notes`, `beds`.`reserved_until` AS `beds.reserved_until`, `beds`.`maintenance_scheduled` AS `beds.maintenance_scheduled`, `beds`.`created_at` AS `beds.createdAt`, `beds`.`updated_at` AS `beds.updatedAt`, `beds->renter`.`id` AS `beds.renter.id`, `beds->renter`.`name` AS `beds.renter.name`, `beds->renter`.`email` AS `beds.renter.email`, `beds->renter`.`phone` AS `beds.renter.phone`, `beds->renter`.`alternate_phone` AS `beds.renter.alternate_phone`, `beds->renter`.`nid` AS `beds.renter.nid`, `beds->renter`.`building_id` AS `beds.renter.building_id`, `beds->renter`.`floor_id` AS `beds.renter.floor_id`, `beds->renter`.`room_id` AS `beds.renter.room_id`, `beds->renter`.`bed_id` AS `beds.renter.bed_id`, `beds->renter`.`rent_amount` AS `beds.renter.rent_amount`, `beds->renter`.`security_deposit` AS `beds.renter.security_deposit`, `beds->renter`.`check_in_date` AS `beds.renter.check_in_date`, `beds->renter`.`check_out_date` AS `beds.renter.check_out_date`, `beds->renter`.`lease_start_date` AS `beds.renter.lease_start_date`, `beds->renter`.`lease_end_date` AS `beds.renter.lease_end_date`, `beds->renter`.`status` AS `beds.renter.status`, `beds->renter`.`emergency_contact` AS `beds.renter.emergency_contact`, `beds->renter`.`emergency_relation` AS `beds.renter.emergency_relation`, `beds->renter`.`profile_photo` AS `beds.renter.profile_photo`, `beds->renter`.`occupation` AS `beds.renter.occupation`, `beds->renter`.`company` AS `beds.renter.company`, `beds->renter`.`monthly_income` AS `beds.renter.monthly_income`, `beds->renter`.`previous_address` AS `beds.renter.previous_address`, `beds->renter`.`references` AS `beds.renter.references`, `beds->renter`.`notice_period` AS `beds.renter.notice_period`, `beds->renter`.`preferences` AS `beds.renter.preferences`, `beds->renter`.`payment_history` AS `beds.renter.payment_history`, `beds->renter`.`created_at` AS `beds.renter.createdAt`, `beds->renter`.`updated_at` AS `beds.renter.updatedAt` FROM `Room` AS `Room` LEFT OUTER JOIN `Building` AS `building` ON `Room`.`building_id` = `building`.`id` LEFT OUTER JOIN `Floor` AS `floor` ON `Room`.`floor_id` = `floor`.`id` LEFT OUTER JOIN `Bed` AS `beds` ON `Room`.`id` = `beds`.`room_id` LEFT OUTER JOIN `Renter` AS `beds->renter` ON `beds`.`id` = `beds->renter`.`bed_id`; Executing (default): SELECT `id`, `name`, `email`, `password`, `role`, `permissions`, `department`, `phone`, `avatar`, `is_active`, `last_login`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `User` AS `User` WHERE `User`.`id` = '8cc00eb8-378e-4f89-8141-f87aa35fd51d'; Executing (default): SELECT `Bed`.`id`, `Bed`.`building_id`, `Bed`.`floor_id`, `Bed`.`room_id`, `Bed`.`bed_number`, `Bed`.`is_occupied`, `Bed`.`monthly_rent`, `Bed`.`status`, `Bed`.`bed_type`, `Bed`.`last_cleaned`, `Bed`.`notes`, `Bed`.`reserved_until`, `Bed`.`maintenance_scheduled`, `Bed`.`created_at` AS `createdAt`, `Bed`.`updated_at` AS `updatedAt`, `renter`.`id` AS `renter.id`, `renter`.`name` AS `renter.name`, `renter`.`email` AS `renter.email`, `renter`.`phone` AS `renter.phone`, `renter`.`alternate_phone` AS `renter.alternate_phone`, `renter`.`nid` AS `renter.nid`, `renter`.`building_id` AS `renter.building_id`, `renter`.`floor_id` AS `renter.floor_id`, `renter`.`room_id` AS `renter.room_id`, `renter`.`bed_id` AS `renter.bed_id`, `renter`.`rent_amount` AS `renter.rent_amount`, `renter`.`security_deposit` AS `renter.security_deposit`, `renter`.`check_in_date` AS `renter.check_in_date`, `renter`.`check_out_date` AS `renter.check_out_date`, `renter`.`lease_start_date` AS `renter.lease_start_date`, `renter`.`lease_end_date` AS `renter.lease_end_date`, `renter`.`status` AS `renter.status`, `renter`.`emergency_contact` AS `renter.emergency_contact`, `renter`.`emergency_relation` AS `renter.emergency_relation`, `renter`.`profile_photo` AS `renter.profile_photo`, `renter`.`occupation` AS `renter.occupation`, `renter`.`company` AS `renter.company`, `renter`.`monthly_income` AS `renter.monthly_income`, `renter`.`previous_address` AS `renter.previous_address`, `renter`.`references` AS `renter.references`, `renter`.`notice_period` AS `renter.notice_period`, `renter`.`preferences` AS `renter.preferences`, `renter`.`payment_history` AS `renter.payment_history`, `renter`.`created_at` AS `renter.createdAt`, `renter`.`updated_at` AS `renter.updatedAt`, `room`.`id` AS `room.id`, `room`.`building_id` AS `room.building_id`, `room`.`floor_id` AS `room.floor_id`, `room`.`room_number` AS `room.room_number`, `room`.`total_beds` AS `room.total_beds`, `room`.`occupied_beds` AS `room.occupied_beds`, `room`.`rent_per_bed` AS `room.rent_per_bed`, `room`.`facilities` AS `room.facilities`, `room`.`room_type` AS `room.room_type`, `room`.`area` AS `room.area`, `room`.`has_balcony` AS `room.has_balcony`, `room`.`has_attached_bathroom` AS `room.has_attached_bathroom`, `room`.`furnishing_status` AS `room.furnishing_status`, `room`.`condition` AS `room.condition`, `room`.`last_cleaned` AS `room.last_cleaned`, `room`.`security_deposit` AS `room.security_deposit`, `room`.`available_from` AS `room.available_from`, `room`.`created_at` AS `room.createdAt`, `room`.`updated_at` AS `room.updatedAt`, `room->floor`.`id` AS `room.floor.id`, `room->floor`.`building_id` AS `room.floor.building_id`, `room->floor`.`floor_number` AS `room.floor.floor_number`, `room->floor`.`total_rooms` AS `room.floor.total_rooms`, `room->floor`.`occupied_rooms` AS `room.floor.occupied_rooms`, `room->floor`.`floor_type` AS `room.floor.floor_type`, `room->floor`.`amenities` AS `room.floor.amenities`, `room->floor`.`maintenance_status` AS `room.floor.maintenance_status`, `room->floor`.`last_inspection` AS `room.floor.last_inspection`, `room->floor`.`notes` AS `room.floor.notes`, `room->floor`.`created_at` AS `room.floor.createdAt`, `room->floor`.`updated_at` AS `room.floor.updatedAt`, `room->floor->building`.`id` AS `room.floor.building.id`, `room->floor->building`.`name` AS `room.floor.building.name`, `room->floor->building`.`address` AS `room.floor.building.address`, `room->floor->building`.`floors` AS `room.floor.building.floors`, `room->floor->building`.`total_rooms` AS `room.floor.building.total_rooms`, `room->floor->building`.`total_beds` AS `room.floor.building.total_beds`, `room->floor->building`.`parking_spaces` AS `room.floor.building.parking_spaces`, `room->floor->building`.`occupied_beds` AS `room.floor.building.occupied_beds`, `room->floor->building`.`manager` AS `room.floor.building.manager`, `room->floor->building`.`amenities` AS `room.floor.building.amenities`, `room->floor->building`.`monthly_revenue` AS `room.floor.building.monthly_revenue`, `room->floor->building`.`building_type` AS `room.floor.building.building_type`, `room->floor->building`.`year_built` AS `room.floor.building.year_built`, `room->floor->building`.`total_area` AS `room.floor.building.total_area`, `room->floor->building`.`elevators` AS `room.floor.building.elevators`, `room->floor->building`.`security_features` AS `room.floor.building.security_features`, `room->floor->building`.`contact_person` AS `room.floor.building.contact_person`, `room->floor->building`.`contact_phone` AS `room.floor.building.contact_phone`, `room->floor->building`.`created_at` AS `room.floor.building.createdAt`, `room->floor->building`.`updated_at` AS `room.floor.building.updatedAt` FROM `Bed` AS `Bed` LEFT OUTER JOIN `Renter` AS `renter` ON `Bed`.`id` = `renter`.`bed_id` LEFT OUTER JOIN `Room` AS `room` ON `Bed`.`room_id` = `room`.`id` LEFT OUTER JOIN `Floor` AS `room->floor` ON `room`.`floor_id` = `room->floor`.`id` LEFT OUTER JOIN `Building` AS `room->floor->building` ON `room->floor`.`building_id` = `room->floor->building`.`id`; Executing (default): SELECT `Renter`.`id`, `Renter`.`name`, `Renter`.`email`, `Renter`.`phone`, `Renter`.`alternate_phone`, `Renter`.`nid`, `Renter`.`building_id`, `Renter`.`floor_id`, `Renter`.`room_id`, `Renter`.`bed_id`, `Renter`.`rent_amount`, `Renter`.`security_deposit`, `Renter`.`check_in_date`, `Renter`.`check_out_date`, `Renter`.`lease_start_date`, `Renter`.`lease_end_date`, `Renter`.`status`, `Renter`.`emergency_contact`, `Renter`.`emergency_relation`, `Renter`.`profile_photo`, `Renter`.`occupation`, `Renter`.`company`, `Renter`.`monthly_income`, `Renter`.`previous_address`, `Renter`.`references`, `Renter`.`notice_period`, `Renter`.`preferences`, `Renter`.`payment_history`, `Renter`.`created_at` AS `createdAt`, `Renter`.`updated_at` AS `updatedAt`, `room`.`id` AS `room.id`, `room`.`building_id` AS `room.building_id`, `room`.`floor_id` AS `room.floor_id`, `room`.`room_number` AS `room.room_number`, `room`.`total_beds` AS `room.total_beds`, `room`.`occupied_beds` AS `room.occupied_beds`, `room`.`rent_per_bed` AS `room.rent_per_bed`, `room`.`facilities` AS `room.facilities`, `room`.`room_type` AS `room.room_type`, `room`.`area` AS `room.area`, `room`.`has_balcony` AS `room.has_balcony`, `room`.`has_attached_bathroom` AS `room.has_attached_bathroom`, `room`.`furnishing_status` AS `room.furnishing_status`, `room`.`condition` AS `room.condition`, `room`.`last_cleaned` AS `room.last_cleaned`, `room`.`security_deposit` AS `room.security_deposit`, `room`.`available_from` AS `room.available_from`, `room`.`created_at` AS `room.createdAt`, `room`.`updated_at` AS `room.updatedAt`, `documents`.`id` AS `documents.id`, `documents`.`renter_id` AS `documents.renter_id`, `documents`.`type` AS `documents.type`, `documents`.`file_name` AS `documents.file_name`, `documents`.`file_url` AS `documents.file_url`, `documents`.`file_size` AS `documents.file_size`, `documents`.`mime_type` AS `documents.mime_type`, `documents`.`description` AS `documents.description`, `documents`.`created_at` AS `documents.createdAt`, `documents`.`updated_at` AS `documents.updatedAt` FROM `Renter` AS `Renter` LEFT OUTER JOIN `Room` AS `room` ON `Renter`.`room_id` = `room`.`id` LEFT OUTER JOIN `RenterDocument` AS `documents` ON `Renter`.`id` = `documents`.`renter_id`; Executing (default): SELECT `id`, `name`, `email`, `password`, `role`, `permissions`, `department`, `phone`, `avatar`, `is_active`, `last_login`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `User` AS `User` WHERE `User`.`id` = '8cc00eb8-378e-4f89-8141-f87aa35fd51d'; Executing (default): SELECT `id`, `building_id`, `floor_id`, `room_id`, `bed_id`, `type`, `category`, `description`, `priority`, `status`, `assigned_to`, `cost`, `estimated_cost`, `scheduled_date`, `completed_date`, `notes`, `images`, `warranty`, `next_maintenance_date`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `Maintenance` AS `Maintenance`; Executing (default): SELECT `id`, `name`, `email`, `password`, `role`, `permissions`, `department`, `phone`, `avatar`, `is_active`, `last_login`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `User` AS `User` WHERE `User`.`id` = '8cc00eb8-378e-4f89-8141-f87aa35fd51d'; Executing (default): SELECT `id`, `building_id`, `floor_id`, `category`, `subcategory`, `description`, `amount`, `date`, `vendor`, `receipt`, `approved_by`, `payment_method`, `is_recurring`, `recurring_frequency`, `budget_category`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `Expense` AS `Expense`; Executing (default): SELECT `id`, `title`, `content`, `type`, `priority`, `target_audience`, `target_ids`, `building_id`, `floor_id`, `created_by`, `expiry_date`, `is_active`, `read_by`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `Notice` AS `Notice`; Executing (default): SELECT `id`, `visitor_name`, `visitor_phone`, `visiting_renter_id`, `check_in_time`, `check_out_time`, `purpose`, `approved_by`, `id_verified`, `vehicle_number`, `notes`, `visiting_renter_name`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `Visitor` AS `Visitor`; Executing (default): SELECT `id`, `name`, `value`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `Settings` AS `Settings`; Executing (default): SELECT `id`, `name`, `email`, `password`, `role`, `permissions`, `department`, `phone`, `avatar`, `is_active`, `last_login`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `User` AS `User` WHERE `User`.`id` = '8cc00eb8-378e-4f89-8141-f87aa35fd51d'; Executing (default): SELECT `id`, `renter_id`, `amount`, `due_date`, `paid_date`, `status`, `month`, `year`, `payment_method`, `transaction_id`, `late_fee`, `discount`, `notes`, `receipt_number`, `collected_by`, `renter_name` AS `renterName`, `room_number`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `RentPayment` AS `RentPayment`; Executing (default): SELECT `id`, `name`, `email`, `password`, `role`, `permissions`, `department`, `phone`, `avatar`, `is_active`, `last_login`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `User` AS `User` WHERE `User`.`id` = '8cc00eb8-378e-4f89-8141-f87aa35fd51d'; Executing (default): SELECT `id`, `name`, `address`, `floors`, `total_rooms`, `total_beds`, `parking_spaces`, `occupied_beds`, `manager`, `amenities`, `monthly_revenue`, `building_type`, `year_built`, `total_area`, `elevators`, `security_features`, `contact_person`, `contact_phone`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `Building` AS `Building` WHERE `Building`.`id` = '0c60fca5-d149-4070-a4fc-7b3282ced070'; Executing (default): SELECT `id`, `building_id`, `floor_id`, `room_number`, `total_beds`, `occupied_beds`, `rent_per_bed`, `facilities`, `room_type`, `area`, `has_balcony`, `has_attached_bathroom`, `furnishing_status`, `condition`, `last_cleaned`, `security_deposit`, `available_from`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `Room` AS `Room` WHERE `Room`.`id` = '49637aa6-4f51-4f5f-9b85-73d89596988b'; Executing (default): SELECT count(*) AS `count` FROM `Bed` AS `Bed` WHERE `Bed`.`building_id` = '0c60fca5-d149-4070-a4fc-7b3282ced070'; Executing (default): SELECT count(*) AS `count` FROM `Bed` AS `Bed` WHERE `Bed`.`room_id` = '49637aa6-4f51-4f5f-9b85-73d89596988b'; Executing (default): INSERT INTO `Bed` (`id`,`building_id`,`floor_id`,`room_id`,`bed_number`,`is_occupied`,`monthly_rent`,`status`,`bed_type`,`last_cleaned`,`notes`,`created_at`,`updated_at`) VALUES (?,?,?,?,?,?,?,?,?,?,?,?,?); Executing (default): SELECT `id`, `name`, `email`, `password`, `role`, `permissions`, `department`, `phone`, `avatar`, `is_active`, `last_login`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `User` AS `User` WHERE `User`.`id` = '8cc00eb8-378e-4f89-8141-f87aa35fd51d'; Executing (default): SELECT `Bed`.`id`, `Bed`.`building_id`, `Bed`.`floor_id`, `Bed`.`room_id`, `Bed`.`bed_number`, `Bed`.`is_occupied`, `Bed`.`monthly_rent`, `Bed`.`status`, `Bed`.`bed_type`, `Bed`.`last_cleaned`, `Bed`.`notes`, `Bed`.`reserved_until`, `Bed`.`maintenance_scheduled`, `Bed`.`created_at` AS `createdAt`, `Bed`.`updated_at` AS `updatedAt`, `renter`.`id` AS `renter.id`, `renter`.`name` AS `renter.name`, `renter`.`email` AS `renter.email`, `renter`.`phone` AS `renter.phone`, `renter`.`alternate_phone` AS `renter.alternate_phone`, `renter`.`nid` AS `renter.nid`, `renter`.`building_id` AS `renter.building_id`, `renter`.`floor_id` AS `renter.floor_id`, `renter`.`room_id` AS `renter.room_id`, `renter`.`bed_id` AS `renter.bed_id`, `renter`.`rent_amount` AS `renter.rent_amount`, `renter`.`security_deposit` AS `renter.security_deposit`, `renter`.`check_in_date` AS `renter.check_in_date`, `renter`.`check_out_date` AS `renter.check_out_date`, `renter`.`lease_start_date` AS `renter.lease_start_date`, `renter`.`lease_end_date` AS `renter.lease_end_date`, `renter`.`status` AS `renter.status`, `renter`.`emergency_contact` AS `renter.emergency_contact`, `renter`.`emergency_relation` AS `renter.emergency_relation`, `renter`.`profile_photo` AS `renter.profile_photo`, `renter`.`occupation` AS `renter.occupation`, `renter`.`company` AS `renter.company`, `renter`.`monthly_income` AS `renter.monthly_income`, `renter`.`previous_address` AS `renter.previous_address`, `renter`.`references` AS `renter.references`, `renter`.`notice_period` AS `renter.notice_period`, `renter`.`preferences` AS `renter.preferences`, `renter`.`payment_history` AS `renter.payment_history`, `renter`.`created_at` AS `renter.createdAt`, `renter`.`updated_at` AS `renter.updatedAt`, `room`.`id` AS `room.id`, `room`.`building_id` AS `room.building_id`, `room`.`floor_id` AS `room.floor_id`, `room`.`room_number` AS `room.room_number`, `room`.`total_beds` AS `room.total_beds`, `room`.`occupied_beds` AS `room.occupied_beds`, `room`.`rent_per_bed` AS `room.rent_per_bed`, `room`.`facilities` AS `room.facilities`, `room`.`room_type` AS `room.room_type`, `room`.`area` AS `room.area`, `room`.`has_balcony` AS `room.has_balcony`, `room`.`has_attached_bathroom` AS `room.has_attached_bathroom`, `room`.`furnishing_status` AS `room.furnishing_status`, `room`.`condition` AS `room.condition`, `room`.`last_cleaned` AS `room.last_cleaned`, `room`.`security_deposit` AS `room.security_deposit`, `room`.`available_from` AS `room.available_from`, `room`.`created_at` AS `room.createdAt`, `room`.`updated_at` AS `room.updatedAt`, `room->floor`.`id` AS `room.floor.id`, `room->floor`.`building_id` AS `room.floor.building_id`, `room->floor`.`floor_number` AS `room.floor.floor_number`, `room->floor`.`total_rooms` AS `room.floor.total_rooms`, `room->floor`.`occupied_rooms` AS `room.floor.occupied_rooms`, `room->floor`.`floor_type` AS `room.floor.floor_type`, `room->floor`.`amenities` AS `room.floor.amenities`, `room->floor`.`maintenance_status` AS `room.floor.maintenance_status`, `room->floor`.`last_inspection` AS `room.floor.last_inspection`, `room->floor`.`notes` AS `room.floor.notes`, `room->floor`.`created_at` AS `room.floor.createdAt`, `room->floor`.`updated_at` AS `room.floor.updatedAt`, `room->floor->building`.`id` AS `room.floor.building.id`, `room->floor->building`.`name` AS `room.floor.building.name`, `room->floor->building`.`address` AS `room.floor.building.address`, `room->floor->building`.`floors` AS `room.floor.building.floors`, `room->floor->building`.`total_rooms` AS `room.floor.building.total_rooms`, `room->floor->building`.`total_beds` AS `room.floor.building.total_beds`, `room->floor->building`.`parking_spaces` AS `room.floor.building.parking_spaces`, `room->floor->building`.`occupied_beds` AS `room.floor.building.occupied_beds`, `room->floor->building`.`manager` AS `room.floor.building.manager`, `room->floor->building`.`amenities` AS `room.floor.building.amenities`, `room->floor->building`.`monthly_revenue` AS `room.floor.building.monthly_revenue`, `room->floor->building`.`building_type` AS `room.floor.building.building_type`, `room->floor->building`.`year_built` AS `room.floor.building.year_built`, `room->floor->building`.`total_area` AS `room.floor.building.total_area`, `room->floor->building`.`elevators` AS `room.floor.building.elevators`, `room->floor->building`.`security_features` AS `room.floor.building.security_features`, `room->floor->building`.`contact_person` AS `room.floor.building.contact_person`, `room->floor->building`.`contact_phone` AS `room.floor.building.contact_phone`, `room->floor->building`.`created_at` AS `room.floor.building.createdAt`, `room->floor->building`.`updated_at` AS `room.floor.building.updatedAt` FROM `Bed` AS `Bed` LEFT OUTER JOIN `Renter` AS `renter` ON `Bed`.`id` = `renter`.`bed_id` LEFT OUTER JOIN `Room` AS `room` ON `Bed`.`room_id` = `room`.`id` LEFT OUTER JOIN `Floor` AS `room->floor` ON `room`.`floor_id` = `room->floor`.`id` LEFT OUTER JOIN `Building` AS `room->floor->building` ON `room->floor`.`building_id` = `room->floor->building`.`id`; Executing (default): SELECT `id`, `name`, `email`, `phone`, `alternate_phone`, `nid`, `building_id`, `floor_id`, `room_id`, `bed_id`, `rent_amount`, `security_deposit`, `check_in_date`, `check_out_date`, `lease_start_date`, `lease_end_date`, `status`, `emergency_contact`, `emergency_relation`, `profile_photo`, `occupation`, `company`, `monthly_income`, `previous_address`, `references`, `notice_period`, `preferences`, `payment_history`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `Renter` AS `Renter` WHERE `Renter`.`bed_id` = '6180917f-2f47-4887-bb7c-9fb479c0eafc' LIMIT 1; Executing (default): INSERT INTO `Renter` (`id`,`name`,`email`,`phone`,`alternate_phone`,`nid`,`building_id`,`floor_id`,`room_id`,`bed_id`,`rent_amount`,`security_deposit`,`check_in_date`,`lease_start_date`,`lease_end_date`,`status`,`emergency_contact`,`emergency_relation`,`occupation`,`company`,`previous_address`,`references`,`notice_period`,`preferences`,`payment_history`,`created_at`,`updated_at`) VALUES (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?); Executing (default): SELECT `Renter`.`id`, `Renter`.`name`, `Renter`.`email`, `Renter`.`phone`, `Renter`.`alternate_phone`, `Renter`.`nid`, `Renter`.`building_id`, `Renter`.`floor_id`, `Renter`.`room_id`, `Renter`.`bed_id`, `Renter`.`rent_amount`, `Renter`.`security_deposit`, `Renter`.`check_in_date`, `Renter`.`check_out_date`, `Renter`.`lease_start_date`, `Renter`.`lease_end_date`, `Renter`.`status`, `Renter`.`emergency_contact`, `Renter`.`emergency_relation`, `Renter`.`profile_photo`, `Renter`.`occupation`, `Renter`.`company`, `Renter`.`monthly_income`, `Renter`.`previous_address`, `Renter`.`references`, `Renter`.`notice_period`, `Renter`.`preferences`, `Renter`.`payment_history`, `Renter`.`created_at` AS `createdAt`, `Renter`.`updated_at` AS `updatedAt`, `room`.`id` AS `room.id`, `room`.`building_id` AS `room.building_id`, `room`.`floor_id` AS `room.floor_id`, `room`.`room_number` AS `room.room_number`, `room`.`total_beds` AS `room.total_beds`, `room`.`occupied_beds` AS `room.occupied_beds`, `room`.`rent_per_bed` AS `room.rent_per_bed`, `room`.`facilities` AS `room.facilities`, `room`.`room_type` AS `room.room_type`, `room`.`area` AS `room.area`, `room`.`has_balcony` AS `room.has_balcony`, `room`.`has_attached_bathroom` AS `room.has_attached_bathroom`, `room`.`furnishing_status` AS `room.furnishing_status`, `room`.`condition` AS `room.condition`, `room`.`last_cleaned` AS `room.last_cleaned`, `room`.`security_deposit` AS `room.security_deposit`, `room`.`available_from` AS `room.available_from`, `room`.`created_at` AS `room.createdAt`, `room`.`updated_at` AS `room.updatedAt`, `documents`.`id` AS `documents.id`, `documents`.`renter_id` AS `documents.renter_id`, `documents`.`type` AS `documents.type`, `documents`.`file_name` AS `documents.file_name`, `documents`.`file_url` AS `documents.file_url`, `documents`.`file_size` AS `documents.file_size`, `documents`.`mime_type` AS `documents.mime_type`, `documents`.`description` AS `documents.description`, `documents`.`created_at` AS `documents.createdAt`, `documents`.`updated_at` AS `documents.updatedAt` FROM `Renter` AS `Renter` LEFT OUTER JOIN `Room` AS `room` ON `Renter`.`room_id` = `room`.`id` LEFT OUTER JOIN `RenterDocument` AS `documents` ON `Renter`.`id` = `documents`.`renter_id`; Executing (default): SELECT `id`, `name`, `email`, `password`, `role`, `permissions`, `department`, `phone`, `avatar`, `is_active`, `last_login`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `User` AS `User` WHERE `User`.`id` = '8cc00eb8-378e-4f89-8141-f87aa35fd51d'; Executing (default): SELECT `id`, `name`, `email`, `role`, `permissions`, `department`, `phone`, `avatar`, `is_active`, `last_login`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `User` AS `User` WHERE `User`.`id` = '8cc00eb8-378e-4f89-8141-f87aa35fd51d'; Executing (default): SELECT `id`, `name`, `email`, `password`, `role`, `permissions`, `department`, `phone`, `avatar`, `is_active`, `last_login`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `User` AS `User` WHERE `User`.`id` = '8cc00eb8-378e-4f89-8141-f87aa35fd51d'; Executing (default): SELECT `id`, `name`, `email`, `role`, `permissions`, `department`, `phone`, `avatar`, `is_active`, `last_login`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `User` AS `User` WHERE `User`.`id` = '8cc00eb8-378e-4f89-8141-f87aa35fd51d'; Executing (default): SELECT `id`, `name`, `email`, `password`, `role`, `permissions`, `department`, `phone`, `avatar`, `is_active`, `last_login`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `User` AS `User` WHERE `User`.`id` = '8cc00eb8-378e-4f89-8141-f87aa35fd51d'; Executing (default): SELECT `Building`.`id`, `Building`.`name`, `Building`.`address`, `Building`.`floors`, `Building`.`total_rooms`, `Building`.`total_beds`, `Building`.`parking_spaces`, `Building`.`occupied_beds`, `Building`.`manager`, `Building`.`amenities`, `Building`.`monthly_revenue`, `Building`.`building_type`, `Building`.`year_built`, `Building`.`total_area`, `Building`.`elevators`, `Building`.`security_features`, `Building`.`contact_person`, `Building`.`contact_phone`, `Building`.`created_at` AS `createdAt`, `Building`.`updated_at` AS `updatedAt`, `buildingFloors`.`id` AS `buildingFloors.id`, `buildingFloors`.`building_id` AS `buildingFloors.building_id`, `buildingFloors`.`floor_number` AS `buildingFloors.floor_number`, `buildingFloors`.`total_rooms` AS `buildingFloors.total_rooms`, `buildingFloors`.`occupied_rooms` AS `buildingFloors.occupied_rooms`, `buildingFloors`.`floor_type` AS `buildingFloors.floor_type`, `buildingFloors`.`amenities` AS `buildingFloors.amenities`, `buildingFloors`.`maintenance_status` AS `buildingFloors.maintenance_status`, `buildingFloors`.`last_inspection` AS `buildingFloors.last_inspection`, `buildingFloors`.`notes` AS `buildingFloors.notes`, `buildingFloors`.`created_at` AS `buildingFloors.createdAt`, `buildingFloors`.`updated_at` AS `buildingFloors.updatedAt`, `buildingFloors->rooms`.`id` AS `buildingFloors.rooms.id`, `buildingFloors->rooms`.`building_id` AS `buildingFloors.rooms.building_id`, `buildingFloors->rooms`.`floor_id` AS `buildingFloors.rooms.floor_id`, `buildingFloors->rooms`.`room_number` AS `buildingFloors.rooms.room_number`, `buildingFloors->rooms`.`total_beds` AS `buildingFloors.rooms.total_beds`, `buildingFloors->rooms`.`occupied_beds` AS `buildingFloors.rooms.occupied_beds`, `buildingFloors->rooms`.`rent_per_bed` AS `buildingFloors.rooms.rent_per_bed`, `buildingFloors->rooms`.`facilities` AS `buildingFloors.rooms.facilities`, `buildingFloors->rooms`.`room_type` AS `buildingFloors.rooms.room_type`, `buildingFloors->rooms`.`area` AS `buildingFloors.rooms.area`, `buildingFloors->rooms`.`has_balcony` AS `buildingFloors.rooms.has_balcony`, `buildingFloors->rooms`.`has_attached_bathroom` AS `buildingFloors.rooms.has_attached_bathroom`, `buildingFloors->rooms`.`furnishing_status` AS `buildingFloors.rooms.furnishing_status`, `buildingFloors->rooms`.`condition` AS `buildingFloors.rooms.condition`, `buildingFloors->rooms`.`last_cleaned` AS `buildingFloors.rooms.last_cleaned`, `buildingFloors->rooms`.`security_deposit` AS `buildingFloors.rooms.security_deposit`, `buildingFloors->rooms`.`available_from` AS `buildingFloors.rooms.available_from`, `buildingFloors->rooms`.`created_at` AS `buildingFloors.rooms.createdAt`, `buildingFloors->rooms`.`updated_at` AS `buildingFloors.rooms.updatedAt`, `buildingFloors->rooms->beds`.`id` AS `buildingFloors.rooms.beds.id`, `buildingFloors->rooms->beds`.`building_id` AS `buildingFloors.rooms.beds.building_id`, `buildingFloors->rooms->beds`.`floor_id` AS `buildingFloors.rooms.beds.floor_id`, `buildingFloors->rooms->beds`.`room_id` AS `buildingFloors.rooms.beds.room_id`, `buildingFloors->rooms->beds`.`bed_number` AS `buildingFloors.rooms.beds.bed_number`, `buildingFloors->rooms->beds`.`is_occupied` AS `buildingFloors.rooms.beds.is_occupied`, `buildingFloors->rooms->beds`.`monthly_rent` AS `buildingFloors.rooms.beds.monthly_rent`, `buildingFloors->rooms->beds`.`status` AS `buildingFloors.rooms.beds.status`, `buildingFloors->rooms->beds`.`bed_type` AS `buildingFloors.rooms.beds.bed_type`, `buildingFloors->rooms->beds`.`last_cleaned` AS `buildingFloors.rooms.beds.last_cleaned`, `buildingFloors->rooms->beds`.`notes` AS `buildingFloors.rooms.beds.notes`, `buildingFloors->rooms->beds`.`reserved_until` AS `buildingFloors.rooms.beds.reserved_until`, `buildingFloors->rooms->beds`.`maintenance_scheduled` AS `buildingFloors.rooms.beds.maintenance_scheduled`, `buildingFloors->rooms->beds`.`created_at` AS `buildingFloors.rooms.beds.createdAt`, `buildingFloors->rooms->beds`.`updated_at` AS `buildingFloors.rooms.beds.updatedAt`, `buildingFloors->rooms->beds->renter`.`id` AS `buildingFloors.rooms.beds.renter.id`, `buildingFloors->rooms->beds->renter`.`name` AS `buildingFloors.rooms.beds.renter.name`, `buildingFloors->rooms->beds->renter`.`email` AS `buildingFloors.rooms.beds.renter.email`, `buildingFloors->rooms->beds->renter`.`phone` AS `buildingFloors.rooms.beds.renter.phone`, `buildingFloors->rooms->beds->renter`.`alternate_phone` AS `buildingFloors.rooms.beds.renter.alternate_phone`, `buildingFloors->rooms->beds->renter`.`nid` AS `buildingFloors.rooms.beds.renter.nid`, `buildingFloors->rooms->beds->renter`.`building_id` AS `buildingFloors.rooms.beds.renter.building_id`, `buildingFloors->rooms->beds->renter`.`floor_id` AS `buildingFloors.rooms.beds.renter.floor_id`, `buildingFloors->rooms->beds->renter`.`room_id` AS `buildingFloors.rooms.beds.renter.room_id`, `buildingFloors->rooms->beds->renter`.`bed_id` AS `buildingFloors.rooms.beds.renter.bed_id`, `buildingFloors->rooms->beds->renter`.`rent_amount` AS `buildingFloors.rooms.beds.renter.rent_amount`, `buildingFloors->rooms->beds->renter`.`security_deposit` AS `buildingFloors.rooms.beds.renter.security_deposit`, `buildingFloors->rooms->beds->renter`.`check_in_date` AS `buildingFloors.rooms.beds.renter.check_in_date`, `buildingFloors->rooms->beds->renter`.`check_out_date` AS `buildingFloors.rooms.beds.renter.check_out_date`, `buildingFloors->rooms->beds->renter`.`lease_start_date` AS `buildingFloors.rooms.beds.renter.lease_start_date`, `buildingFloors->rooms->beds->renter`.`lease_end_date` AS `buildingFloors.rooms.beds.renter.lease_end_date`, `buildingFloors->rooms->beds->renter`.`status` AS `buildingFloors.rooms.beds.renter.status`, `buildingFloors->rooms->beds->renter`.`emergency_contact` AS `buildingFloors.rooms.beds.renter.emergency_contact`, `buildingFloors->rooms->beds->renter`.`emergency_relation` AS `buildingFloors.rooms.beds.renter.emergency_relation`, `buildingFloors->rooms->beds->renter`.`profile_photo` AS `buildingFloors.rooms.beds.renter.profile_photo`, `buildingFloors->rooms->beds->renter`.`occupation` AS `buildingFloors.rooms.beds.renter.occupation`, `buildingFloors->rooms->beds->renter`.`company` AS `buildingFloors.rooms.beds.renter.company`, `buildingFloors->rooms->beds->renter`.`monthly_income` AS `buildingFloors.rooms.beds.renter.monthly_income`, `buildingFloors->rooms->beds->renter`.`previous_address` AS `buildingFloors.rooms.beds.renter.previous_address`, `buildingFloors->rooms->beds->renter`.`references` AS `buildingFloors.rooms.beds.renter.references`, `buildingFloors->rooms->beds->renter`.`notice_period` AS `buildingFloors.rooms.beds.renter.notice_period`, `buildingFloors->rooms->beds->renter`.`preferences` AS `buildingFloors.rooms.beds.renter.preferences`, `buildingFloors->rooms->beds->renter`.`payment_history` AS `buildingFloors.rooms.beds.renter.payment_history`, `buildingFloors->rooms->beds->renter`.`created_at` AS `buildingFloors.rooms.beds.renter.createdAt`, `buildingFloors->rooms->beds->renter`.`updated_at` AS `buildingFloors.rooms.beds.renter.updatedAt` FROM `Building` AS `Building` LEFT OUTER JOIN `Floor` AS `buildingFloors` ON `Building`.`id` = `buildingFloors`.`building_id` LEFT OUTER JOIN `Room` AS `buildingFloors->rooms` ON `buildingFloors`.`id` = `buildingFloors->rooms`.`floor_id` LEFT OUTER JOIN `Bed` AS `buildingFloors->rooms->beds` ON `buildingFloors->rooms`.`id` = `buildingFloors->rooms->beds`.`room_id` LEFT OUTER JOIN `Renter` AS `buildingFloors->rooms->beds->renter` ON `buildingFloors->rooms->beds`.`id` = `buildingFloors->rooms->beds->renter`.`bed_id` ORDER BY `createdAt` DESC; Executing (default): SELECT `id`, `name`, `email`, `password`, `role`, `permissions`, `department`, `phone`, `avatar`, `is_active`, `last_login`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `User` AS `User` WHERE `User`.`id` = '8cc00eb8-378e-4f89-8141-f87aa35fd51d'; Executing (default): SELECT `Floor`.`id`, `Floor`.`building_id`, `Floor`.`floor_number`, `Floor`.`total_rooms`, `Floor`.`occupied_rooms`, `Floor`.`floor_type`, `Floor`.`amenities`, `Floor`.`maintenance_status`, `Floor`.`last_inspection`, `Floor`.`notes`, `Floor`.`created_at` AS `createdAt`, `Floor`.`updated_at` AS `updatedAt`, `rooms`.`id` AS `rooms.id`, `rooms`.`building_id` AS `rooms.building_id`, `rooms`.`floor_id` AS `rooms.floor_id`, `rooms`.`room_number` AS `rooms.room_number`, `rooms`.`total_beds` AS `rooms.total_beds`, `rooms`.`occupied_beds` AS `rooms.occupied_beds`, `rooms`.`rent_per_bed` AS `rooms.rent_per_bed`, `rooms`.`facilities` AS `rooms.facilities`, `rooms`.`room_type` AS `rooms.room_type`, `rooms`.`area` AS `rooms.area`, `rooms`.`has_balcony` AS `rooms.has_balcony`, `rooms`.`has_attached_bathroom` AS `rooms.has_attached_bathroom`, `rooms`.`furnishing_status` AS `rooms.furnishing_status`, `rooms`.`condition` AS `rooms.condition`, `rooms`.`last_cleaned` AS `rooms.last_cleaned`, `rooms`.`security_deposit` AS `rooms.security_deposit`, `rooms`.`available_from` AS `rooms.available_from`, `rooms`.`created_at` AS `rooms.createdAt`, `rooms`.`updated_at` AS `rooms.updatedAt`, `rooms->beds`.`id` AS `rooms.beds.id`, `rooms->beds`.`building_id` AS `rooms.beds.building_id`, `rooms->beds`.`floor_id` AS `rooms.beds.floor_id`, `rooms->beds`.`room_id` AS `rooms.beds.room_id`, `rooms->beds`.`bed_number` AS `rooms.beds.bed_number`, `rooms->beds`.`is_occupied` AS `rooms.beds.is_occupied`, `rooms->beds`.`monthly_rent` AS `rooms.beds.monthly_rent`, `rooms->beds`.`status` AS `rooms.beds.status`, `rooms->beds`.`bed_type` AS `rooms.beds.bed_type`, `rooms->beds`.`last_cleaned` AS `rooms.beds.last_cleaned`, `rooms->beds`.`notes` AS `rooms.beds.notes`, `rooms->beds`.`reserved_until` AS `rooms.beds.reserved_until`, `rooms->beds`.`maintenance_scheduled` AS `rooms.beds.maintenance_scheduled`, `rooms->beds`.`created_at` AS `rooms.beds.createdAt`, `rooms->beds`.`updated_at` AS `rooms.beds.updatedAt`, `rooms->beds->renter`.`id` AS `rooms.beds.renter.id`, `rooms->beds->renter`.`name` AS `rooms.beds.renter.name`, `rooms->beds->renter`.`email` AS `rooms.beds.renter.email`, `rooms->beds->renter`.`phone` AS `rooms.beds.renter.phone`, `rooms->beds->renter`.`alternate_phone` AS `rooms.beds.renter.alternate_phone`, `rooms->beds->renter`.`nid` AS `rooms.beds.renter.nid`, `rooms->beds->renter`.`building_id` AS `rooms.beds.renter.building_id`, `rooms->beds->renter`.`floor_id` AS `rooms.beds.renter.floor_id`, `rooms->beds->renter`.`room_id` AS `rooms.beds.renter.room_id`, `rooms->beds->renter`.`bed_id` AS `rooms.beds.renter.bed_id`, `rooms->beds->renter`.`rent_amount` AS `rooms.beds.renter.rent_amount`, `rooms->beds->renter`.`security_deposit` AS `rooms.beds.renter.security_deposit`, `rooms->beds->renter`.`check_in_date` AS `rooms.beds.renter.check_in_date`, `rooms->beds->renter`.`check_out_date` AS `rooms.beds.renter.check_out_date`, `rooms->beds->renter`.`lease_start_date` AS `rooms.beds.renter.lease_start_date`, `rooms->beds->renter`.`lease_end_date` AS `rooms.beds.renter.lease_end_date`, `rooms->beds->renter`.`status` AS `rooms.beds.renter.status`, `rooms->beds->renter`.`emergency_contact` AS `rooms.beds.renter.emergency_contact`, `rooms->beds->renter`.`emergency_relation` AS `rooms.beds.renter.emergency_relation`, `rooms->beds->renter`.`profile_photo` AS `rooms.beds.renter.profile_photo`, `rooms->beds->renter`.`occupation` AS `rooms.beds.renter.occupation`, `rooms->beds->renter`.`company` AS `rooms.beds.renter.company`, `rooms->beds->renter`.`monthly_income` AS `rooms.beds.renter.monthly_income`, `rooms->beds->renter`.`previous_address` AS `rooms.beds.renter.previous_address`, `rooms->beds->renter`.`references` AS `rooms.beds.renter.references`, `rooms->beds->renter`.`notice_period` AS `rooms.beds.renter.notice_period`, `rooms->beds->renter`.`preferences` AS `rooms.beds.renter.preferences`, `rooms->beds->renter`.`payment_history` AS `rooms.beds.renter.payment_history`, `rooms->beds->renter`.`created_at` AS `rooms.beds.renter.createdAt`, `rooms->beds->renter`.`updated_at` AS `rooms.beds.renter.updatedAt` FROM `Floor` AS `Floor` LEFT OUTER JOIN `Room` AS `rooms` ON `Floor`.`id` = `rooms`.`floor_id` LEFT OUTER JOIN `Bed` AS `rooms->beds` ON `rooms`.`id` = `rooms->beds`.`room_id` LEFT OUTER JOIN `Renter` AS `rooms->beds->renter` ON `rooms->beds`.`id` = `rooms->beds->renter`.`bed_id`; Executing (default): SELECT `id`, `name`, `email`, `password`, `role`, `permissions`, `department`, `phone`, `avatar`, `is_active`, `last_login`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `User` AS `User` WHERE `User`.`id` = '8cc00eb8-378e-4f89-8141-f87aa35fd51d'; Executing (default): SELECT `Room`.`id`, `Room`.`building_id`, `Room`.`floor_id`, `Room`.`room_number`, `Room`.`total_beds`, `Room`.`occupied_beds`, `Room`.`rent_per_bed`, `Room`.`facilities`, `Room`.`room_type`, `Room`.`area`, `Room`.`has_balcony`, `Room`.`has_attached_bathroom`, `Room`.`furnishing_status`, `Room`.`condition`, `Room`.`last_cleaned`, `Room`.`security_deposit`, `Room`.`available_from`, `Room`.`created_at` AS `createdAt`, `Room`.`updated_at` AS `updatedAt`, `building`.`id` AS `building.id`, `building`.`name` AS `building.name`, `building`.`address` AS `building.address`, `building`.`floors` AS `building.floors`, `building`.`total_rooms` AS `building.total_rooms`, `building`.`total_beds` AS `building.total_beds`, `building`.`parking_spaces` AS `building.parking_spaces`, `building`.`occupied_beds` AS `building.occupied_beds`, `building`.`manager` AS `building.manager`, `building`.`amenities` AS `building.amenities`, `building`.`monthly_revenue` AS `building.monthly_revenue`, `building`.`building_type` AS `building.building_type`, `building`.`year_built` AS `building.year_built`, `building`.`total_area` AS `building.total_area`, `building`.`elevators` AS `building.elevators`, `building`.`security_features` AS `building.security_features`, `building`.`contact_person` AS `building.contact_person`, `building`.`contact_phone` AS `building.contact_phone`, `building`.`created_at` AS `building.createdAt`, `building`.`updated_at` AS `building.updatedAt`, `floor`.`id` AS `floor.id`, `floor`.`building_id` AS `floor.building_id`, `floor`.`floor_number` AS `floor.floor_number`, `floor`.`total_rooms` AS `floor.total_rooms`, `floor`.`occupied_rooms` AS `floor.occupied_rooms`, `floor`.`floor_type` AS `floor.floor_type`, `floor`.`amenities` AS `floor.amenities`, `floor`.`maintenance_status` AS `floor.maintenance_status`, `floor`.`last_inspection` AS `floor.last_inspection`, `floor`.`notes` AS `floor.notes`, `floor`.`created_at` AS `floor.createdAt`, `floor`.`updated_at` AS `floor.updatedAt`, `beds`.`id` AS `beds.id`, `beds`.`building_id` AS `beds.building_id`, `beds`.`floor_id` AS `beds.floor_id`, `beds`.`room_id` AS `beds.room_id`, `beds`.`bed_number` AS `beds.bed_number`, `beds`.`is_occupied` AS `beds.is_occupied`, `beds`.`monthly_rent` AS `beds.monthly_rent`, `beds`.`status` AS `beds.status`, `beds`.`bed_type` AS `beds.bed_type`, `beds`.`last_cleaned` AS `beds.last_cleaned`, `beds`.`notes` AS `beds.notes`, `beds`.`reserved_until` AS `beds.reserved_until`, `beds`.`maintenance_scheduled` AS `beds.maintenance_scheduled`, `beds`.`created_at` AS `beds.createdAt`, `beds`.`updated_at` AS `beds.updatedAt`, `beds->renter`.`id` AS `beds.renter.id`, `beds->renter`.`name` AS `beds.renter.name`, `beds->renter`.`email` AS `beds.renter.email`, `beds->renter`.`phone` AS `beds.renter.phone`, `beds->renter`.`alternate_phone` AS `beds.renter.alternate_phone`, `beds->renter`.`nid` AS `beds.renter.nid`, `beds->renter`.`building_id` AS `beds.renter.building_id`, `beds->renter`.`floor_id` AS `beds.renter.floor_id`, `beds->renter`.`room_id` AS `beds.renter.room_id`, `beds->renter`.`bed_id` AS `beds.renter.bed_id`, `beds->renter`.`rent_amount` AS `beds.renter.rent_amount`, `beds->renter`.`security_deposit` AS `beds.renter.security_deposit`, `beds->renter`.`check_in_date` AS `beds.renter.check_in_date`, `beds->renter`.`check_out_date` AS `beds.renter.check_out_date`, `beds->renter`.`lease_start_date` AS `beds.renter.lease_start_date`, `beds->renter`.`lease_end_date` AS `beds.renter.lease_end_date`, `beds->renter`.`status` AS `beds.renter.status`, `beds->renter`.`emergency_contact` AS `beds.renter.emergency_contact`, `beds->renter`.`emergency_relation` AS `beds.renter.emergency_relation`, `beds->renter`.`profile_photo` AS `beds.renter.profile_photo`, `beds->renter`.`occupation` AS `beds.renter.occupation`, `beds->renter`.`company` AS `beds.renter.company`, `beds->renter`.`monthly_income` AS `beds.renter.monthly_income`, `beds->renter`.`previous_address` AS `beds.renter.previous_address`, `beds->renter`.`references` AS `beds.renter.references`, `beds->renter`.`notice_period` AS `beds.renter.notice_period`, `beds->renter`.`preferences` AS `beds.renter.preferences`, `beds->renter`.`payment_history` AS `beds.renter.payment_history`, `beds->renter`.`created_at` AS `beds.renter.createdAt`, `beds->renter`.`updated_at` AS `beds.renter.updatedAt` FROM `Room` AS `Room` LEFT OUTER JOIN `Building` AS `building` ON `Room`.`building_id` = `building`.`id` LEFT OUTER JOIN `Floor` AS `floor` ON `Room`.`floor_id` = `floor`.`id` LEFT OUTER JOIN `Bed` AS `beds` ON `Room`.`id` = `beds`.`room_id` LEFT OUTER JOIN `Renter` AS `beds->renter` ON `beds`.`id` = `beds->renter`.`bed_id`; Executing (default): SELECT `id`, `name`, `email`, `password`, `role`, `permissions`, `department`, `phone`, `avatar`, `is_active`, `last_login`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `User` AS `User` WHERE `User`.`id` = '8cc00eb8-378e-4f89-8141-f87aa35fd51d'; Executing (default): SELECT `id`, `renter_id`, `amount`, `due_date`, `paid_date`, `status`, `month`, `year`, `payment_method`, `transaction_id`, `late_fee`, `discount`, `notes`, `receipt_number`, `collected_by`, `renter_name` AS `renterName`, `room_number`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `RentPayment` AS `RentPayment`; Executing (default): SELECT `id`, `name`, `email`, `password`, `role`, `permissions`, `department`, `phone`, `avatar`, `is_active`, `last_login`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `User` AS `User` WHERE `User`.`id` = '8cc00eb8-378e-4f89-8141-f87aa35fd51d'; Executing (default): SELECT `id`, `building_id`, `floor_id`, `category`, `subcategory`, `description`, `amount`, `date`, `vendor`, `receipt`, `approved_by`, `payment_method`, `is_recurring`, `recurring_frequency`, `budget_category`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `Expense` AS `Expense`; Executing (default): SELECT `id`, `title`, `content`, `type`, `priority`, `target_audience`, `target_ids`, `building_id`, `floor_id`, `created_by`, `expiry_date`, `is_active`, `read_by`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `Notice` AS `Notice`; Executing (default): SELECT `id`, `visitor_name`, `visitor_phone`, `visiting_renter_id`, `check_in_time`, `check_out_time`, `purpose`, `approved_by`, `id_verified`, `vehicle_number`, `notes`, `visiting_renter_name`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `Visitor` AS `Visitor`; Executing (default): SELECT `id`, `name`, `value`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `Settings` AS `Settings`; Executing (default): SELECT `id`, `name`, `email`, `password`, `role`, `permissions`, `department`, `phone`, `avatar`, `is_active`, `last_login`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `User` AS `User` WHERE `User`.`id` = '8cc00eb8-378e-4f89-8141-f87aa35fd51d'; Executing (default): SELECT `Bed`.`id`, `Bed`.`building_id`, `Bed`.`floor_id`, `Bed`.`room_id`, `Bed`.`bed_number`, `Bed`.`is_occupied`, `Bed`.`monthly_rent`, `Bed`.`status`, `Bed`.`bed_type`, `Bed`.`last_cleaned`, `Bed`.`notes`, `Bed`.`reserved_until`, `Bed`.`maintenance_scheduled`, `Bed`.`created_at` AS `createdAt`, `Bed`.`updated_at` AS `updatedAt`, `renter`.`id` AS `renter.id`, `renter`.`name` AS `renter.name`, `renter`.`email` AS `renter.email`, `renter`.`phone` AS `renter.phone`, `renter`.`alternate_phone` AS `renter.alternate_phone`, `renter`.`nid` AS `renter.nid`, `renter`.`building_id` AS `renter.building_id`, `renter`.`floor_id` AS `renter.floor_id`, `renter`.`room_id` AS `renter.room_id`, `renter`.`bed_id` AS `renter.bed_id`, `renter`.`rent_amount` AS `renter.rent_amount`, `renter`.`security_deposit` AS `renter.security_deposit`, `renter`.`check_in_date` AS `renter.check_in_date`, `renter`.`check_out_date` AS `renter.check_out_date`, `renter`.`lease_start_date` AS `renter.lease_start_date`, `renter`.`lease_end_date` AS `renter.lease_end_date`, `renter`.`status` AS `renter.status`, `renter`.`emergency_contact` AS `renter.emergency_contact`, `renter`.`emergency_relation` AS `renter.emergency_relation`, `renter`.`profile_photo` AS `renter.profile_photo`, `renter`.`occupation` AS `renter.occupation`, `renter`.`company` AS `renter.company`, `renter`.`monthly_income` AS `renter.monthly_income`, `renter`.`previous_address` AS `renter.previous_address`, `renter`.`references` AS `renter.references`, `renter`.`notice_period` AS `renter.notice_period`, `renter`.`preferences` AS `renter.preferences`, `renter`.`payment_history` AS `renter.payment_history`, `renter`.`created_at` AS `renter.createdAt`, `renter`.`updated_at` AS `renter.updatedAt`, `room`.`id` AS `room.id`, `room`.`building_id` AS `room.building_id`, `room`.`floor_id` AS `room.floor_id`, `room`.`room_number` AS `room.room_number`, `room`.`total_beds` AS `room.total_beds`, `room`.`occupied_beds` AS `room.occupied_beds`, `room`.`rent_per_bed` AS `room.rent_per_bed`, `room`.`facilities` AS `room.facilities`, `room`.`room_type` AS `room.room_type`, `room`.`area` AS `room.area`, `room`.`has_balcony` AS `room.has_balcony`, `room`.`has_attached_bathroom` AS `room.has_attached_bathroom`, `room`.`furnishing_status` AS `room.furnishing_status`, `room`.`condition` AS `room.condition`, `room`.`last_cleaned` AS `room.last_cleaned`, `room`.`security_deposit` AS `room.security_deposit`, `room`.`available_from` AS `room.available_from`, `room`.`created_at` AS `room.createdAt`, `room`.`updated_at` AS `room.updatedAt`, `room->floor`.`id` AS `room.floor.id`, `room->floor`.`building_id` AS `room.floor.building_id`, `room->floor`.`floor_number` AS `room.floor.floor_number`, `room->floor`.`total_rooms` AS `room.floor.total_rooms`, `room->floor`.`occupied_rooms` AS `room.floor.occupied_rooms`, `room->floor`.`floor_type` AS `room.floor.floor_type`, `room->floor`.`amenities` AS `room.floor.amenities`, `room->floor`.`maintenance_status` AS `room.floor.maintenance_status`, `room->floor`.`last_inspection` AS `room.floor.last_inspection`, `room->floor`.`notes` AS `room.floor.notes`, `room->floor`.`created_at` AS `room.floor.createdAt`, `room->floor`.`updated_at` AS `room.floor.updatedAt`, `room->floor->building`.`id` AS `room.floor.building.id`, `room->floor->building`.`name` AS `room.floor.building.name`, `room->floor->building`.`address` AS `room.floor.building.address`, `room->floor->building`.`floors` AS `room.floor.building.floors`, `room->floor->building`.`total_rooms` AS `room.floor.building.total_rooms`, `room->floor->building`.`total_beds` AS `room.floor.building.total_beds`, `room->floor->building`.`parking_spaces` AS `room.floor.building.parking_spaces`, `room->floor->building`.`occupied_beds` AS `room.floor.building.occupied_beds`, `room->floor->building`.`manager` AS `room.floor.building.manager`, `room->floor->building`.`amenities` AS `room.floor.building.amenities`, `room->floor->building`.`monthly_revenue` AS `room.floor.building.monthly_revenue`, `room->floor->building`.`building_type` AS `room.floor.building.building_type`, `room->floor->building`.`year_built` AS `room.floor.building.year_built`, `room->floor->building`.`total_area` AS `room.floor.building.total_area`, `room->floor->building`.`elevators` AS `room.floor.building.elevators`, `room->floor->building`.`security_features` AS `room.floor.building.security_features`, `room->floor->building`.`contact_person` AS `room.floor.building.contact_person`, `room->floor->building`.`contact_phone` AS `room.floor.building.contact_phone`, `room->floor->building`.`created_at` AS `room.floor.building.createdAt`, `room->floor->building`.`updated_at` AS `room.floor.building.updatedAt` FROM `Bed` AS `Bed` LEFT OUTER JOIN `Renter` AS `renter` ON `Bed`.`id` = `renter`.`bed_id` LEFT OUTER JOIN `Room` AS `room` ON `Bed`.`room_id` = `room`.`id` LEFT OUTER JOIN `Floor` AS `room->floor` ON `room`.`floor_id` = `room->floor`.`id` LEFT OUTER JOIN `Building` AS `room->floor->building` ON `room->floor`.`building_id` = `room->floor->building`.`id`; Executing (default): SELECT `Renter`.`id`, `Renter`.`name`, `Renter`.`email`, `Renter`.`phone`, `Renter`.`alternate_phone`, `Renter`.`nid`, `Renter`.`building_id`, `Renter`.`floor_id`, `Renter`.`room_id`, `Renter`.`bed_id`, `Renter`.`rent_amount`, `Renter`.`security_deposit`, `Renter`.`check_in_date`, `Renter`.`check_out_date`, `Renter`.`lease_start_date`, `Renter`.`lease_end_date`, `Renter`.`status`, `Renter`.`emergency_contact`, `Renter`.`emergency_relation`, `Renter`.`profile_photo`, `Renter`.`occupation`, `Renter`.`company`, `Renter`.`monthly_income`, `Renter`.`previous_address`, `Renter`.`references`, `Renter`.`notice_period`, `Renter`.`preferences`, `Renter`.`payment_history`, `Renter`.`created_at` AS `createdAt`, `Renter`.`updated_at` AS `updatedAt`, `room`.`id` AS `room.id`, `room`.`building_id` AS `room.building_id`, `room`.`floor_id` AS `room.floor_id`, `room`.`room_number` AS `room.room_number`, `room`.`total_beds` AS `room.total_beds`, `room`.`occupied_beds` AS `room.occupied_beds`, `room`.`rent_per_bed` AS `room.rent_per_bed`, `room`.`facilities` AS `room.facilities`, `room`.`room_type` AS `room.room_type`, `room`.`area` AS `room.area`, `room`.`has_balcony` AS `room.has_balcony`, `room`.`has_attached_bathroom` AS `room.has_attached_bathroom`, `room`.`furnishing_status` AS `room.furnishing_status`, `room`.`condition` AS `room.condition`, `room`.`last_cleaned` AS `room.last_cleaned`, `room`.`security_deposit` AS `room.security_deposit`, `room`.`available_from` AS `room.available_from`, `room`.`created_at` AS `room.createdAt`, `room`.`updated_at` AS `room.updatedAt`, `documents`.`id` AS `documents.id`, `documents`.`renter_id` AS `documents.renter_id`, `documents`.`type` AS `documents.type`, `documents`.`file_name` AS `documents.file_name`, `documents`.`file_url` AS `documents.file_url`, `documents`.`file_size` AS `documents.file_size`, `documents`.`mime_type` AS `documents.mime_type`, `documents`.`description` AS `documents.description`, `documents`.`created_at` AS `documents.createdAt`, `documents`.`updated_at` AS `documents.updatedAt` FROM `Renter` AS `Renter` LEFT OUTER JOIN `Room` AS `room` ON `Renter`.`room_id` = `room`.`id` LEFT OUTER JOIN `RenterDocument` AS `documents` ON `Renter`.`id` = `documents`.`renter_id`; Executing (default): SELECT `id`, `name`, `email`, `password`, `role`, `permissions`, `department`, `phone`, `avatar`, `is_active`, `last_login`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `User` AS `User` WHERE `User`.`id` = '8cc00eb8-378e-4f89-8141-f87aa35fd51d'; Executing (default): SELECT `id`, `building_id`, `floor_id`, `room_id`, `bed_id`, `type`, `category`, `description`, `priority`, `status`, `assigned_to`, `cost`, `estimated_cost`, `scheduled_date`, `completed_date`, `notes`, `images`, `warranty`, `next_maintenance_date`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `Maintenance` AS `Maintenance`; Executing (default): SELECT `id`, `name`, `email`, `password`, `role`, `permissions`, `department`, `phone`, `avatar`, `is_active`, `last_login`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `User` AS `User` WHERE `User`.`id` = '8cc00eb8-378e-4f89-8141-f87aa35fd51d'; Executing (default): SELECT `id`, `name`, `email`, `password`, `role`, `permissions`, `department`, `phone`, `avatar`, `is_active`, `last_login`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `User` AS `User` WHERE `User`.`id` = '8cc00eb8-378e-4f89-8141-f87aa35fd51d'; Executing (default): SELECT `id`, `name`, `email`, `role`, `permissions`, `department`, `phone`, `avatar`, `is_active`, `last_login`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `User` AS `User` WHERE `User`.`id` = '8cc00eb8-378e-4f89-8141-f87aa35fd51d'; Executing (default): SELECT `id`, `name`, `email`, `role`, `permissions`, `department`, `phone`, `avatar`, `is_active`, `last_login`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `User` AS `User` WHERE `User`.`id` = '8cc00eb8-378e-4f89-8141-f87aa35fd51d'; Executing (default): SELECT `id`, `name`, `email`, `password`, `role`, `permissions`, `department`, `phone`, `avatar`, `is_active`, `last_login`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `User` AS `User` WHERE `User`.`id` = '8cc00eb8-378e-4f89-8141-f87aa35fd51d'; Executing (default): SELECT `Building`.`id`, `Building`.`name`, `Building`.`address`, `Building`.`floors`, `Building`.`total_rooms`, `Building`.`total_beds`, `Building`.`parking_spaces`, `Building`.`occupied_beds`, `Building`.`manager`, `Building`.`amenities`, `Building`.`monthly_revenue`, `Building`.`building_type`, `Building`.`year_built`, `Building`.`total_area`, `Building`.`elevators`, `Building`.`security_features`, `Building`.`contact_person`, `Building`.`contact_phone`, `Building`.`created_at` AS `createdAt`, `Building`.`updated_at` AS `updatedAt`, `buildingFloors`.`id` AS `buildingFloors.id`, `buildingFloors`.`building_id` AS `buildingFloors.building_id`, `buildingFloors`.`floor_number` AS `buildingFloors.floor_number`, `buildingFloors`.`total_rooms` AS `buildingFloors.total_rooms`, `buildingFloors`.`occupied_rooms` AS `buildingFloors.occupied_rooms`, `buildingFloors`.`floor_type` AS `buildingFloors.floor_type`, `buildingFloors`.`amenities` AS `buildingFloors.amenities`, `buildingFloors`.`maintenance_status` AS `buildingFloors.maintenance_status`, `buildingFloors`.`last_inspection` AS `buildingFloors.last_inspection`, `buildingFloors`.`notes` AS `buildingFloors.notes`, `buildingFloors`.`created_at` AS `buildingFloors.createdAt`, `buildingFloors`.`updated_at` AS `buildingFloors.updatedAt`, `buildingFloors->rooms`.`id` AS `buildingFloors.rooms.id`, `buildingFloors->rooms`.`building_id` AS `buildingFloors.rooms.building_id`, `buildingFloors->rooms`.`floor_id` AS `buildingFloors.rooms.floor_id`, `buildingFloors->rooms`.`room_number` AS `buildingFloors.rooms.room_number`, `buildingFloors->rooms`.`total_beds` AS `buildingFloors.rooms.total_beds`, `buildingFloors->rooms`.`occupied_beds` AS `buildingFloors.rooms.occupied_beds`, `buildingFloors->rooms`.`rent_per_bed` AS `buildingFloors.rooms.rent_per_bed`, `buildingFloors->rooms`.`facilities` AS `buildingFloors.rooms.facilities`, `buildingFloors->rooms`.`room_type` AS `buildingFloors.rooms.room_type`, `buildingFloors->rooms`.`area` AS `buildingFloors.rooms.area`, `buildingFloors->rooms`.`has_balcony` AS `buildingFloors.rooms.has_balcony`, `buildingFloors->rooms`.`has_attached_bathroom` AS `buildingFloors.rooms.has_attached_bathroom`, `buildingFloors->rooms`.`furnishing_status` AS `buildingFloors.rooms.furnishing_status`, `buildingFloors->rooms`.`condition` AS `buildingFloors.rooms.condition`, `buildingFloors->rooms`.`last_cleaned` AS `buildingFloors.rooms.last_cleaned`, `buildingFloors->rooms`.`security_deposit` AS `buildingFloors.rooms.security_deposit`, `buildingFloors->rooms`.`available_from` AS `buildingFloors.rooms.available_from`, `buildingFloors->rooms`.`created_at` AS `buildingFloors.rooms.createdAt`, `buildingFloors->rooms`.`updated_at` AS `buildingFloors.rooms.updatedAt`, `buildingFloors->rooms->beds`.`id` AS `buildingFloors.rooms.beds.id`, `buildingFloors->rooms->beds`.`building_id` AS `buildingFloors.rooms.beds.building_id`, `buildingFloors->rooms->beds`.`floor_id` AS `buildingFloors.rooms.beds.floor_id`, `buildingFloors->rooms->beds`.`room_id` AS `buildingFloors.rooms.beds.room_id`, `buildingFloors->rooms->beds`.`bed_number` AS `buildingFloors.rooms.beds.bed_number`, `buildingFloors->rooms->beds`.`is_occupied` AS `buildingFloors.rooms.beds.is_occupied`, `buildingFloors->rooms->beds`.`monthly_rent` AS `buildingFloors.rooms.beds.monthly_rent`, `buildingFloors->rooms->beds`.`status` AS `buildingFloors.rooms.beds.status`, `buildingFloors->rooms->beds`.`bed_type` AS `buildingFloors.rooms.beds.bed_type`, `buildingFloors->rooms->beds`.`last_cleaned` AS `buildingFloors.rooms.beds.last_cleaned`, `buildingFloors->rooms->beds`.`notes` AS `buildingFloors.rooms.beds.notes`, `buildingFloors->rooms->beds`.`reserved_until` AS `buildingFloors.rooms.beds.reserved_until`, `buildingFloors->rooms->beds`.`maintenance_scheduled` AS `buildingFloors.rooms.beds.maintenance_scheduled`, `buildingFloors->rooms->beds`.`created_at` AS `buildingFloors.rooms.beds.createdAt`, `buildingFloors->rooms->beds`.`updated_at` AS `buildingFloors.rooms.beds.updatedAt`, `buildingFloors->rooms->beds->renter`.`id` AS `buildingFloors.rooms.beds.renter.id`, `buildingFloors->rooms->beds->renter`.`name` AS `buildingFloors.rooms.beds.renter.name`, `buildingFloors->rooms->beds->renter`.`email` AS `buildingFloors.rooms.beds.renter.email`, `buildingFloors->rooms->beds->renter`.`phone` AS `buildingFloors.rooms.beds.renter.phone`, `buildingFloors->rooms->beds->renter`.`alternate_phone` AS `buildingFloors.rooms.beds.renter.alternate_phone`, `buildingFloors->rooms->beds->renter`.`nid` AS `buildingFloors.rooms.beds.renter.nid`, `buildingFloors->rooms->beds->renter`.`building_id` AS `buildingFloors.rooms.beds.renter.building_id`, `buildingFloors->rooms->beds->renter`.`floor_id` AS `buildingFloors.rooms.beds.renter.floor_id`, `buildingFloors->rooms->beds->renter`.`room_id` AS `buildingFloors.rooms.beds.renter.room_id`, `buildingFloors->rooms->beds->renter`.`bed_id` AS `buildingFloors.rooms.beds.renter.bed_id`, `buildingFloors->rooms->beds->renter`.`rent_amount` AS `buildingFloors.rooms.beds.renter.rent_amount`, `buildingFloors->rooms->beds->renter`.`security_deposit` AS `buildingFloors.rooms.beds.renter.security_deposit`, `buildingFloors->rooms->beds->renter`.`check_in_date` AS `buildingFloors.rooms.beds.renter.check_in_date`, `buildingFloors->rooms->beds->renter`.`check_out_date` AS `buildingFloors.rooms.beds.renter.check_out_date`, `buildingFloors->rooms->beds->renter`.`lease_start_date` AS `buildingFloors.rooms.beds.renter.lease_start_date`, `buildingFloors->rooms->beds->renter`.`lease_end_date` AS `buildingFloors.rooms.beds.renter.lease_end_date`, `buildingFloors->rooms->beds->renter`.`status` AS `buildingFloors.rooms.beds.renter.status`, `buildingFloors->rooms->beds->renter`.`emergency_contact` AS `buildingFloors.rooms.beds.renter.emergency_contact`, `buildingFloors->rooms->beds->renter`.`emergency_relation` AS `buildingFloors.rooms.beds.renter.emergency_relation`, `buildingFloors->rooms->beds->renter`.`profile_photo` AS `buildingFloors.rooms.beds.renter.profile_photo`, `buildingFloors->rooms->beds->renter`.`occupation` AS `buildingFloors.rooms.beds.renter.occupation`, `buildingFloors->rooms->beds->renter`.`company` AS `buildingFloors.rooms.beds.renter.company`, `buildingFloors->rooms->beds->renter`.`monthly_income` AS `buildingFloors.rooms.beds.renter.monthly_income`, `buildingFloors->rooms->beds->renter`.`previous_address` AS `buildingFloors.rooms.beds.renter.previous_address`, `buildingFloors->rooms->beds->renter`.`references` AS `buildingFloors.rooms.beds.renter.references`, `buildingFloors->rooms->beds->renter`.`notice_period` AS `buildingFloors.rooms.beds.renter.notice_period`, `buildingFloors->rooms->beds->renter`.`preferences` AS `buildingFloors.rooms.beds.renter.preferences`, `buildingFloors->rooms->beds->renter`.`payment_history` AS `buildingFloors.rooms.beds.renter.payment_history`, `buildingFloors->rooms->beds->renter`.`created_at` AS `buildingFloors.rooms.beds.renter.createdAt`, `buildingFloors->rooms->beds->renter`.`updated_at` AS `buildingFloors.rooms.beds.renter.updatedAt` FROM `Building` AS `Building` LEFT OUTER JOIN `Floor` AS `buildingFloors` ON `Building`.`id` = `buildingFloors`.`building_id` LEFT OUTER JOIN `Room` AS `buildingFloors->rooms` ON `buildingFloors`.`id` = `buildingFloors->rooms`.`floor_id` LEFT OUTER JOIN `Bed` AS `buildingFloors->rooms->beds` ON `buildingFloors->rooms`.`id` = `buildingFloors->rooms->beds`.`room_id` LEFT OUTER JOIN `Renter` AS `buildingFloors->rooms->beds->renter` ON `buildingFloors->rooms->beds`.`id` = `buildingFloors->rooms->beds->renter`.`bed_id` ORDER BY `createdAt` DESC; Executing (default): SELECT `id`, `name`, `email`, `password`, `role`, `permissions`, `department`, `phone`, `avatar`, `is_active`, `last_login`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `User` AS `User` WHERE `User`.`id` = '8cc00eb8-378e-4f89-8141-f87aa35fd51d'; Executing (default): SELECT `Floor`.`id`, `Floor`.`building_id`, `Floor`.`floor_number`, `Floor`.`total_rooms`, `Floor`.`occupied_rooms`, `Floor`.`floor_type`, `Floor`.`amenities`, `Floor`.`maintenance_status`, `Floor`.`last_inspection`, `Floor`.`notes`, `Floor`.`created_at` AS `createdAt`, `Floor`.`updated_at` AS `updatedAt`, `rooms`.`id` AS `rooms.id`, `rooms`.`building_id` AS `rooms.building_id`, `rooms`.`floor_id` AS `rooms.floor_id`, `rooms`.`room_number` AS `rooms.room_number`, `rooms`.`total_beds` AS `rooms.total_beds`, `rooms`.`occupied_beds` AS `rooms.occupied_beds`, `rooms`.`rent_per_bed` AS `rooms.rent_per_bed`, `rooms`.`facilities` AS `rooms.facilities`, `rooms`.`room_type` AS `rooms.room_type`, `rooms`.`area` AS `rooms.area`, `rooms`.`has_balcony` AS `rooms.has_balcony`, `rooms`.`has_attached_bathroom` AS `rooms.has_attached_bathroom`, `rooms`.`furnishing_status` AS `rooms.furnishing_status`, `rooms`.`condition` AS `rooms.condition`, `rooms`.`last_cleaned` AS `rooms.last_cleaned`, `rooms`.`security_deposit` AS `rooms.security_deposit`, `rooms`.`available_from` AS `rooms.available_from`, `rooms`.`created_at` AS `rooms.createdAt`, `rooms`.`updated_at` AS `rooms.updatedAt`, `rooms->beds`.`id` AS `rooms.beds.id`, `rooms->beds`.`building_id` AS `rooms.beds.building_id`, `rooms->beds`.`floor_id` AS `rooms.beds.floor_id`, `rooms->beds`.`room_id` AS `rooms.beds.room_id`, `rooms->beds`.`bed_number` AS `rooms.beds.bed_number`, `rooms->beds`.`is_occupied` AS `rooms.beds.is_occupied`, `rooms->beds`.`monthly_rent` AS `rooms.beds.monthly_rent`, `rooms->beds`.`status` AS `rooms.beds.status`, `rooms->beds`.`bed_type` AS `rooms.beds.bed_type`, `rooms->beds`.`last_cleaned` AS `rooms.beds.last_cleaned`, `rooms->beds`.`notes` AS `rooms.beds.notes`, `rooms->beds`.`reserved_until` AS `rooms.beds.reserved_until`, `rooms->beds`.`maintenance_scheduled` AS `rooms.beds.maintenance_scheduled`, `rooms->beds`.`created_at` AS `rooms.beds.createdAt`, `rooms->beds`.`updated_at` AS `rooms.beds.updatedAt`, `rooms->beds->renter`.`id` AS `rooms.beds.renter.id`, `rooms->beds->renter`.`name` AS `rooms.beds.renter.name`, `rooms->beds->renter`.`email` AS `rooms.beds.renter.email`, `rooms->beds->renter`.`phone` AS `rooms.beds.renter.phone`, `rooms->beds->renter`.`alternate_phone` AS `rooms.beds.renter.alternate_phone`, `rooms->beds->renter`.`nid` AS `rooms.beds.renter.nid`, `rooms->beds->renter`.`building_id` AS `rooms.beds.renter.building_id`, `rooms->beds->renter`.`floor_id` AS `rooms.beds.renter.floor_id`, `rooms->beds->renter`.`room_id` AS `rooms.beds.renter.room_id`, `rooms->beds->renter`.`bed_id` AS `rooms.beds.renter.bed_id`, `rooms->beds->renter`.`rent_amount` AS `rooms.beds.renter.rent_amount`, `rooms->beds->renter`.`security_deposit` AS `rooms.beds.renter.security_deposit`, `rooms->beds->renter`.`check_in_date` AS `rooms.beds.renter.check_in_date`, `rooms->beds->renter`.`check_out_date` AS `rooms.beds.renter.check_out_date`, `rooms->beds->renter`.`lease_start_date` AS `rooms.beds.renter.lease_start_date`, `rooms->beds->renter`.`lease_end_date` AS `rooms.beds.renter.lease_end_date`, `rooms->beds->renter`.`status` AS `rooms.beds.renter.status`, `rooms->beds->renter`.`emergency_contact` AS `rooms.beds.renter.emergency_contact`, `rooms->beds->renter`.`emergency_relation` AS `rooms.beds.renter.emergency_relation`, `rooms->beds->renter`.`profile_photo` AS `rooms.beds.renter.profile_photo`, `rooms->beds->renter`.`occupation` AS `rooms.beds.renter.occupation`, `rooms->beds->renter`.`company` AS `rooms.beds.renter.company`, `rooms->beds->renter`.`monthly_income` AS `rooms.beds.renter.monthly_income`, `rooms->beds->renter`.`previous_address` AS `rooms.beds.renter.previous_address`, `rooms->beds->renter`.`references` AS `rooms.beds.renter.references`, `rooms->beds->renter`.`notice_period` AS `rooms.beds.renter.notice_period`, `rooms->beds->renter`.`preferences` AS `rooms.beds.renter.preferences`, `rooms->beds->renter`.`payment_history` AS `rooms.beds.renter.payment_history`, `rooms->beds->renter`.`created_at` AS `rooms.beds.renter.createdAt`, `rooms->beds->renter`.`updated_at` AS `rooms.beds.renter.updatedAt` FROM `Floor` AS `Floor` LEFT OUTER JOIN `Room` AS `rooms` ON `Floor`.`id` = `rooms`.`floor_id` LEFT OUTER JOIN `Bed` AS `rooms->beds` ON `rooms`.`id` = `rooms->beds`.`room_id` LEFT OUTER JOIN `Renter` AS `rooms->beds->renter` ON `rooms->beds`.`id` = `rooms->beds->renter`.`bed_id`; Executing (default): SELECT `id`, `name`, `email`, `password`, `role`, `permissions`, `department`, `phone`, `avatar`, `is_active`, `last_login`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `User` AS `User` WHERE `User`.`id` = '8cc00eb8-378e-4f89-8141-f87aa35fd51d'; Executing (default): SELECT `Room`.`id`, `Room`.`building_id`, `Room`.`floor_id`, `Room`.`room_number`, `Room`.`total_beds`, `Room`.`occupied_beds`, `Room`.`rent_per_bed`, `Room`.`facilities`, `Room`.`room_type`, `Room`.`area`, `Room`.`has_balcony`, `Room`.`has_attached_bathroom`, `Room`.`furnishing_status`, `Room`.`condition`, `Room`.`last_cleaned`, `Room`.`security_deposit`, `Room`.`available_from`, `Room`.`created_at` AS `createdAt`, `Room`.`updated_at` AS `updatedAt`, `building`.`id` AS `building.id`, `building`.`name` AS `building.name`, `building`.`address` AS `building.address`, `building`.`floors` AS `building.floors`, `building`.`total_rooms` AS `building.total_rooms`, `building`.`total_beds` AS `building.total_beds`, `building`.`parking_spaces` AS `building.parking_spaces`, `building`.`occupied_beds` AS `building.occupied_beds`, `building`.`manager` AS `building.manager`, `building`.`amenities` AS `building.amenities`, `building`.`monthly_revenue` AS `building.monthly_revenue`, `building`.`building_type` AS `building.building_type`, `building`.`year_built` AS `building.year_built`, `building`.`total_area` AS `building.total_area`, `building`.`elevators` AS `building.elevators`, `building`.`security_features` AS `building.security_features`, `building`.`contact_person` AS `building.contact_person`, `building`.`contact_phone` AS `building.contact_phone`, `building`.`created_at` AS `building.createdAt`, `building`.`updated_at` AS `building.updatedAt`, `floor`.`id` AS `floor.id`, `floor`.`building_id` AS `floor.building_id`, `floor`.`floor_number` AS `floor.floor_number`, `floor`.`total_rooms` AS `floor.total_rooms`, `floor`.`occupied_rooms` AS `floor.occupied_rooms`, `floor`.`floor_type` AS `floor.floor_type`, `floor`.`amenities` AS `floor.amenities`, `floor`.`maintenance_status` AS `floor.maintenance_status`, `floor`.`last_inspection` AS `floor.last_inspection`, `floor`.`notes` AS `floor.notes`, `floor`.`created_at` AS `floor.createdAt`, `floor`.`updated_at` AS `floor.updatedAt`, `beds`.`id` AS `beds.id`, `beds`.`building_id` AS `beds.building_id`, `beds`.`floor_id` AS `beds.floor_id`, `beds`.`room_id` AS `beds.room_id`, `beds`.`bed_number` AS `beds.bed_number`, `beds`.`is_occupied` AS `beds.is_occupied`, `beds`.`monthly_rent` AS `beds.monthly_rent`, `beds`.`status` AS `beds.status`, `beds`.`bed_type` AS `beds.bed_type`, `beds`.`last_cleaned` AS `beds.last_cleaned`, `beds`.`notes` AS `beds.notes`, `beds`.`reserved_until` AS `beds.reserved_until`, `beds`.`maintenance_scheduled` AS `beds.maintenance_scheduled`, `beds`.`created_at` AS `beds.createdAt`, `beds`.`updated_at` AS `beds.updatedAt`, `beds->renter`.`id` AS `beds.renter.id`, `beds->renter`.`name` AS `beds.renter.name`, `beds->renter`.`email` AS `beds.renter.email`, `beds->renter`.`phone` AS `beds.renter.phone`, `beds->renter`.`alternate_phone` AS `beds.renter.alternate_phone`, `beds->renter`.`nid` AS `beds.renter.nid`, `beds->renter`.`building_id` AS `beds.renter.building_id`, `beds->renter`.`floor_id` AS `beds.renter.floor_id`, `beds->renter`.`room_id` AS `beds.renter.room_id`, `beds->renter`.`bed_id` AS `beds.renter.bed_id`, `beds->renter`.`rent_amount` AS `beds.renter.rent_amount`, `beds->renter`.`security_deposit` AS `beds.renter.security_deposit`, `beds->renter`.`check_in_date` AS `beds.renter.check_in_date`, `beds->renter`.`check_out_date` AS `beds.renter.check_out_date`, `beds->renter`.`lease_start_date` AS `beds.renter.lease_start_date`, `beds->renter`.`lease_end_date` AS `beds.renter.lease_end_date`, `beds->renter`.`status` AS `beds.renter.status`, `beds->renter`.`emergency_contact` AS `beds.renter.emergency_contact`, `beds->renter`.`emergency_relation` AS `beds.renter.emergency_relation`, `beds->renter`.`profile_photo` AS `beds.renter.profile_photo`, `beds->renter`.`occupation` AS `beds.renter.occupation`, `beds->renter`.`company` AS `beds.renter.company`, `beds->renter`.`monthly_income` AS `beds.renter.monthly_income`, `beds->renter`.`previous_address` AS `beds.renter.previous_address`, `beds->renter`.`references` AS `beds.renter.references`, `beds->renter`.`notice_period` AS `beds.renter.notice_period`, `beds->renter`.`preferences` AS `beds.renter.preferences`, `beds->renter`.`payment_history` AS `beds.renter.payment_history`, `beds->renter`.`created_at` AS `beds.renter.createdAt`, `beds->renter`.`updated_at` AS `beds.renter.updatedAt` FROM `Room` AS `Room` LEFT OUTER JOIN `Building` AS `building` ON `Room`.`building_id` = `building`.`id` LEFT OUTER JOIN `Floor` AS `floor` ON `Room`.`floor_id` = `floor`.`id` LEFT OUTER JOIN `Bed` AS `beds` ON `Room`.`id` = `beds`.`room_id` LEFT OUTER JOIN `Renter` AS `beds->renter` ON `beds`.`id` = `beds->renter`.`bed_id`; Executing (default): SELECT `id`, `name`, `email`, `password`, `role`, `permissions`, `department`, `phone`, `avatar`, `is_active`, `last_login`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `User` AS `User` WHERE `User`.`id` = '8cc00eb8-378e-4f89-8141-f87aa35fd51d'; Executing (default): SELECT `Bed`.`id`, `Bed`.`building_id`, `Bed`.`floor_id`, `Bed`.`room_id`, `Bed`.`bed_number`, `Bed`.`is_occupied`, `Bed`.`monthly_rent`, `Bed`.`status`, `Bed`.`bed_type`, `Bed`.`last_cleaned`, `Bed`.`notes`, `Bed`.`reserved_until`, `Bed`.`maintenance_scheduled`, `Bed`.`created_at` AS `createdAt`, `Bed`.`updated_at` AS `updatedAt`, `renter`.`id` AS `renter.id`, `renter`.`name` AS `renter.name`, `renter`.`email` AS `renter.email`, `renter`.`phone` AS `renter.phone`, `renter`.`alternate_phone` AS `renter.alternate_phone`, `renter`.`nid` AS `renter.nid`, `renter`.`building_id` AS `renter.building_id`, `renter`.`floor_id` AS `renter.floor_id`, `renter`.`room_id` AS `renter.room_id`, `renter`.`bed_id` AS `renter.bed_id`, `renter`.`rent_amount` AS `renter.rent_amount`, `renter`.`security_deposit` AS `renter.security_deposit`, `renter`.`check_in_date` AS `renter.check_in_date`, `renter`.`check_out_date` AS `renter.check_out_date`, `renter`.`lease_start_date` AS `renter.lease_start_date`, `renter`.`lease_end_date` AS `renter.lease_end_date`, `renter`.`status` AS `renter.status`, `renter`.`emergency_contact` AS `renter.emergency_contact`, `renter`.`emergency_relation` AS `renter.emergency_relation`, `renter`.`profile_photo` AS `renter.profile_photo`, `renter`.`occupation` AS `renter.occupation`, `renter`.`company` AS `renter.company`, `renter`.`monthly_income` AS `renter.monthly_income`, `renter`.`previous_address` AS `renter.previous_address`, `renter`.`references` AS `renter.references`, `renter`.`notice_period` AS `renter.notice_period`, `renter`.`preferences` AS `renter.preferences`, `renter`.`payment_history` AS `renter.payment_history`, `renter`.`created_at` AS `renter.createdAt`, `renter`.`updated_at` AS `renter.updatedAt`, `room`.`id` AS `room.id`, `room`.`building_id` AS `room.building_id`, `room`.`floor_id` AS `room.floor_id`, `room`.`room_number` AS `room.room_number`, `room`.`total_beds` AS `room.total_beds`, `room`.`occupied_beds` AS `room.occupied_beds`, `room`.`rent_per_bed` AS `room.rent_per_bed`, `room`.`facilities` AS `room.facilities`, `room`.`room_type` AS `room.room_type`, `room`.`area` AS `room.area`, `room`.`has_balcony` AS `room.has_balcony`, `room`.`has_attached_bathroom` AS `room.has_attached_bathroom`, `room`.`furnishing_status` AS `room.furnishing_status`, `room`.`condition` AS `room.condition`, `room`.`last_cleaned` AS `room.last_cleaned`, `room`.`security_deposit` AS `room.security_deposit`, `room`.`available_from` AS `room.available_from`, `room`.`created_at` AS `room.createdAt`, `room`.`updated_at` AS `room.updatedAt`, `room->floor`.`id` AS `room.floor.id`, `room->floor`.`building_id` AS `room.floor.building_id`, `room->floor`.`floor_number` AS `room.floor.floor_number`, `room->floor`.`total_rooms` AS `room.floor.total_rooms`, `room->floor`.`occupied_rooms` AS `room.floor.occupied_rooms`, `room->floor`.`floor_type` AS `room.floor.floor_type`, `room->floor`.`amenities` AS `room.floor.amenities`, `room->floor`.`maintenance_status` AS `room.floor.maintenance_status`, `room->floor`.`last_inspection` AS `room.floor.last_inspection`, `room->floor`.`notes` AS `room.floor.notes`, `room->floor`.`created_at` AS `room.floor.createdAt`, `room->floor`.`updated_at` AS `room.floor.updatedAt`, `room->floor->building`.`id` AS `room.floor.building.id`, `room->floor->building`.`name` AS `room.floor.building.name`, `room->floor->building`.`address` AS `room.floor.building.address`, `room->floor->building`.`floors` AS `room.floor.building.floors`, `room->floor->building`.`total_rooms` AS `room.floor.building.total_rooms`, `room->floor->building`.`total_beds` AS `room.floor.building.total_beds`, `room->floor->building`.`parking_spaces` AS `room.floor.building.parking_spaces`, `room->floor->building`.`occupied_beds` AS `room.floor.building.occupied_beds`, `room->floor->building`.`manager` AS `room.floor.building.manager`, `room->floor->building`.`amenities` AS `room.floor.building.amenities`, `room->floor->building`.`monthly_revenue` AS `room.floor.building.monthly_revenue`, `room->floor->building`.`building_type` AS `room.floor.building.building_type`, `room->floor->building`.`year_built` AS `room.floor.building.year_built`, `room->floor->building`.`total_area` AS `room.floor.building.total_area`, `room->floor->building`.`elevators` AS `room.floor.building.elevators`, `room->floor->building`.`security_features` AS `room.floor.building.security_features`, `room->floor->building`.`contact_person` AS `room.floor.building.contact_person`, `room->floor->building`.`contact_phone` AS `room.floor.building.contact_phone`, `room->floor->building`.`created_at` AS `room.floor.building.createdAt`, `room->floor->building`.`updated_at` AS `room.floor.building.updatedAt` FROM `Bed` AS `Bed` LEFT OUTER JOIN `Renter` AS `renter` ON `Bed`.`id` = `renter`.`bed_id` LEFT OUTER JOIN `Room` AS `room` ON `Bed`.`room_id` = `room`.`id` LEFT OUTER JOIN `Floor` AS `room->floor` ON `room`.`floor_id` = `room->floor`.`id` LEFT OUTER JOIN `Building` AS `room->floor->building` ON `room->floor`.`building_id` = `room->floor->building`.`id`; Executing (default): SELECT `Renter`.`id`, `Renter`.`name`, `Renter`.`email`, `Renter`.`phone`, `Renter`.`alternate_phone`, `Renter`.`nid`, `Renter`.`building_id`, `Renter`.`floor_id`, `Renter`.`room_id`, `Renter`.`bed_id`, `Renter`.`rent_amount`, `Renter`.`security_deposit`, `Renter`.`check_in_date`, `Renter`.`check_out_date`, `Renter`.`lease_start_date`, `Renter`.`lease_end_date`, `Renter`.`status`, `Renter`.`emergency_contact`, `Renter`.`emergency_relation`, `Renter`.`profile_photo`, `Renter`.`occupation`, `Renter`.`company`, `Renter`.`monthly_income`, `Renter`.`previous_address`, `Renter`.`references`, `Renter`.`notice_period`, `Renter`.`preferences`, `Renter`.`payment_history`, `Renter`.`created_at` AS `createdAt`, `Renter`.`updated_at` AS `updatedAt`, `room`.`id` AS `room.id`, `room`.`building_id` AS `room.building_id`, `room`.`floor_id` AS `room.floor_id`, `room`.`room_number` AS `room.room_number`, `room`.`total_beds` AS `room.total_beds`, `room`.`occupied_beds` AS `room.occupied_beds`, `room`.`rent_per_bed` AS `room.rent_per_bed`, `room`.`facilities` AS `room.facilities`, `room`.`room_type` AS `room.room_type`, `room`.`area` AS `room.area`, `room`.`has_balcony` AS `room.has_balcony`, `room`.`has_attached_bathroom` AS `room.has_attached_bathroom`, `room`.`furnishing_status` AS `room.furnishing_status`, `room`.`condition` AS `room.condition`, `room`.`last_cleaned` AS `room.last_cleaned`, `room`.`security_deposit` AS `room.security_deposit`, `room`.`available_from` AS `room.available_from`, `room`.`created_at` AS `room.createdAt`, `room`.`updated_at` AS `room.updatedAt`, `documents`.`id` AS `documents.id`, `documents`.`renter_id` AS `documents.renter_id`, `documents`.`type` AS `documents.type`, `documents`.`file_name` AS `documents.file_name`, `documents`.`file_url` AS `documents.file_url`, `documents`.`file_size` AS `documents.file_size`, `documents`.`mime_type` AS `documents.mime_type`, `documents`.`description` AS `documents.description`, `documents`.`created_at` AS `documents.createdAt`, `documents`.`updated_at` AS `documents.updatedAt` FROM `Renter` AS `Renter` LEFT OUTER JOIN `Room` AS `room` ON `Renter`.`room_id` = `room`.`id` LEFT OUTER JOIN `RenterDocument` AS `documents` ON `Renter`.`id` = `documents`.`renter_id`; Executing (default): SELECT `id`, `name`, `email`, `password`, `role`, `permissions`, `department`, `phone`, `avatar`, `is_active`, `last_login`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `User` AS `User` WHERE `User`.`id` = '8cc00eb8-378e-4f89-8141-f87aa35fd51d'; Executing (default): SELECT `id`, `renter_id`, `amount`, `due_date`, `paid_date`, `status`, `month`, `year`, `payment_method`, `transaction_id`, `late_fee`, `discount`, `notes`, `receipt_number`, `collected_by`, `renter_name` AS `renterName`, `room_number`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `RentPayment` AS `RentPayment`; Executing (default): SELECT `id`, `name`, `email`, `password`, `role`, `permissions`, `department`, `phone`, `avatar`, `is_active`, `last_login`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `User` AS `User` WHERE `User`.`id` = '8cc00eb8-378e-4f89-8141-f87aa35fd51d'; Executing (default): SELECT `id`, `building_id`, `floor_id`, `room_id`, `bed_id`, `type`, `category`, `description`, `priority`, `status`, `assigned_to`, `cost`, `estimated_cost`, `scheduled_date`, `completed_date`, `notes`, `images`, `warranty`, `next_maintenance_date`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `Maintenance` AS `Maintenance`; Executing (default): SELECT `id`, `name`, `email`, `password`, `role`, `permissions`, `department`, `phone`, `avatar`, `is_active`, `last_login`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `User` AS `User` WHERE `User`.`id` = '8cc00eb8-378e-4f89-8141-f87aa35fd51d'; Executing (default): SELECT `id`, `building_id`, `floor_id`, `category`, `subcategory`, `description`, `amount`, `date`, `vendor`, `receipt`, `approved_by`, `payment_method`, `is_recurring`, `recurring_frequency`, `budget_category`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `Expense` AS `Expense`; Executing (default): SELECT `id`, `title`, `content`, `type`, `priority`, `target_audience`, `target_ids`, `building_id`, `floor_id`, `created_by`, `expiry_date`, `is_active`, `read_by`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `Notice` AS `Notice`; Executing (default): SELECT `id`, `visitor_name`, `visitor_phone`, `visiting_renter_id`, `check_in_time`, `check_out_time`, `purpose`, `approved_by`, `id_verified`, `vehicle_number`, `notes`, `visiting_renter_name`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `Visitor` AS `Visitor`; Executing (default): SELECT `id`, `name`, `value`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `Settings` AS `Settings`; Executing (default): SELECT `id`, `name`, `email`, `password`, `role`, `permissions`, `department`, `phone`, `avatar`, `is_active`, `last_login`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `User` AS `User` WHERE `User`.`id` = '8cc00eb8-378e-4f89-8141-f87aa35fd51d'; Executing (default): SELECT `id`, `name`, `email`, `role`, `permissions`, `department`, `phone`, `avatar`, `is_active`, `last_login`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `User` AS `User` WHERE `User`.`id` = '8cc00eb8-378e-4f89-8141-f87aa35fd51d'; Executing (default): SELECT `id`, `name`, `email`, `password`, `role`, `permissions`, `department`, `phone`, `avatar`, `is_active`, `last_login`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `User` AS `User` WHERE `User`.`id` = '8cc00eb8-378e-4f89-8141-f87aa35fd51d'; Executing (default): SELECT `id`, `name`, `email`, `role`, `permissions`, `department`, `phone`, `avatar`, `is_active`, `last_login`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `User` AS `User` WHERE `User`.`id` = '8cc00eb8-378e-4f89-8141-f87aa35fd51d'; Executing (default): SELECT `id`, `name`, `email`, `password`, `role`, `permissions`, `department`, `phone`, `avatar`, `is_active`, `last_login`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `User` AS `User` WHERE `User`.`id` = '8cc00eb8-378e-4f89-8141-f87aa35fd51d'; Executing (default): SELECT `Renter`.`id`, `Renter`.`name`, `Renter`.`email`, `Renter`.`phone`, `Renter`.`alternate_phone`, `Renter`.`nid`, `Renter`.`building_id`, `Renter`.`floor_id`, `Renter`.`room_id`, `Renter`.`bed_id`, `Renter`.`rent_amount`, `Renter`.`security_deposit`, `Renter`.`check_in_date`, `Renter`.`check_out_date`, `Renter`.`lease_start_date`, `Renter`.`lease_end_date`, `Renter`.`status`, `Renter`.`emergency_contact`, `Renter`.`emergency_relation`, `Renter`.`profile_photo`, `Renter`.`occupation`, `Renter`.`company`, `Renter`.`monthly_income`, `Renter`.`previous_address`, `Renter`.`references`, `Renter`.`notice_period`, `Renter`.`preferences`, `Renter`.`payment_history`, `Renter`.`created_at` AS `createdAt`, `Renter`.`updated_at` AS `updatedAt`, `room`.`id` AS `room.id`, `room`.`building_id` AS `room.building_id`, `room`.`floor_id` AS `room.floor_id`, `room`.`room_number` AS `room.room_number`, `room`.`total_beds` AS `room.total_beds`, `room`.`occupied_beds` AS `room.occupied_beds`, `room`.`rent_per_bed` AS `room.rent_per_bed`, `room`.`facilities` AS `room.facilities`, `room`.`room_type` AS `room.room_type`, `room`.`area` AS `room.area`, `room`.`has_balcony` AS `room.has_balcony`, `room`.`has_attached_bathroom` AS `room.has_attached_bathroom`, `room`.`furnishing_status` AS `room.furnishing_status`, `room`.`condition` AS `room.condition`, `room`.`last_cleaned` AS `room.last_cleaned`, `room`.`security_deposit` AS `room.security_deposit`, `room`.`available_from` AS `room.available_from`, `room`.`created_at` AS `room.createdAt`, `room`.`updated_at` AS `room.updatedAt`, `documents`.`id` AS `documents.id`, `documents`.`renter_id` AS `documents.renter_id`, `documents`.`type` AS `documents.type`, `documents`.`file_name` AS `documents.file_name`, `documents`.`file_url` AS `documents.file_url`, `documents`.`file_size` AS `documents.file_size`, `documents`.`mime_type` AS `documents.mime_type`, `documents`.`description` AS `documents.description`, `documents`.`created_at` AS `documents.createdAt`, `documents`.`updated_at` AS `documents.updatedAt` FROM `Renter` AS `Renter` LEFT OUTER JOIN `Room` AS `room` ON `Renter`.`room_id` = `room`.`id` LEFT OUTER JOIN `RenterDocument` AS `documents` ON `Renter`.`id` = `documents`.`renter_id`; Executing (default): SELECT `Building`.`id`, `Building`.`name`, `Building`.`address`, `Building`.`floors`, `Building`.`total_rooms`, `Building`.`total_beds`, `Building`.`parking_spaces`, `Building`.`occupied_beds`, `Building`.`manager`, `Building`.`amenities`, `Building`.`monthly_revenue`, `Building`.`building_type`, `Building`.`year_built`, `Building`.`total_area`, `Building`.`elevators`, `Building`.`security_features`, `Building`.`contact_person`, `Building`.`contact_phone`, `Building`.`created_at` AS `createdAt`, `Building`.`updated_at` AS `updatedAt`, `buildingFloors`.`id` AS `buildingFloors.id`, `buildingFloors`.`building_id` AS `buildingFloors.building_id`, `buildingFloors`.`floor_number` AS `buildingFloors.floor_number`, `buildingFloors`.`total_rooms` AS `buildingFloors.total_rooms`, `buildingFloors`.`occupied_rooms` AS `buildingFloors.occupied_rooms`, `buildingFloors`.`floor_type` AS `buildingFloors.floor_type`, `buildingFloors`.`amenities` AS `buildingFloors.amenities`, `buildingFloors`.`maintenance_status` AS `buildingFloors.maintenance_status`, `buildingFloors`.`last_inspection` AS `buildingFloors.last_inspection`, `buildingFloors`.`notes` AS `buildingFloors.notes`, `buildingFloors`.`created_at` AS `buildingFloors.createdAt`, `buildingFloors`.`updated_at` AS `buildingFloors.updatedAt`, `buildingFloors->rooms`.`id` AS `buildingFloors.rooms.id`, `buildingFloors->rooms`.`building_id` AS `buildingFloors.rooms.building_id`, `buildingFloors->rooms`.`floor_id` AS `buildingFloors.rooms.floor_id`, `buildingFloors->rooms`.`room_number` AS `buildingFloors.rooms.room_number`, `buildingFloors->rooms`.`total_beds` AS `buildingFloors.rooms.total_beds`, `buildingFloors->rooms`.`occupied_beds` AS `buildingFloors.rooms.occupied_beds`, `buildingFloors->rooms`.`rent_per_bed` AS `buildingFloors.rooms.rent_per_bed`, `buildingFloors->rooms`.`facilities` AS `buildingFloors.rooms.facilities`, `buildingFloors->rooms`.`room_type` AS `buildingFloors.rooms.room_type`, `buildingFloors->rooms`.`area` AS `buildingFloors.rooms.area`, `buildingFloors->rooms`.`has_balcony` AS `buildingFloors.rooms.has_balcony`, `buildingFloors->rooms`.`has_attached_bathroom` AS `buildingFloors.rooms.has_attached_bathroom`, `buildingFloors->rooms`.`furnishing_status` AS `buildingFloors.rooms.furnishing_status`, `buildingFloors->rooms`.`condition` AS `buildingFloors.rooms.condition`, `buildingFloors->rooms`.`last_cleaned` AS `buildingFloors.rooms.last_cleaned`, `buildingFloors->rooms`.`security_deposit` AS `buildingFloors.rooms.security_deposit`, `buildingFloors->rooms`.`available_from` AS `buildingFloors.rooms.available_from`, `buildingFloors->rooms`.`created_at` AS `buildingFloors.rooms.createdAt`, `buildingFloors->rooms`.`updated_at` AS `buildingFloors.rooms.updatedAt`, `buildingFloors->rooms->beds`.`id` AS `buildingFloors.rooms.beds.id`, `buildingFloors->rooms->beds`.`building_id` AS `buildingFloors.rooms.beds.building_id`, `buildingFloors->rooms->beds`.`floor_id` AS `buildingFloors.rooms.beds.floor_id`, `buildingFloors->rooms->beds`.`room_id` AS `buildingFloors.rooms.beds.room_id`, `buildingFloors->rooms->beds`.`bed_number` AS `buildingFloors.rooms.beds.bed_number`, `buildingFloors->rooms->beds`.`is_occupied` AS `buildingFloors.rooms.beds.is_occupied`, `buildingFloors->rooms->beds`.`monthly_rent` AS `buildingFloors.rooms.beds.monthly_rent`, `buildingFloors->rooms->beds`.`status` AS `buildingFloors.rooms.beds.status`, `buildingFloors->rooms->beds`.`bed_type` AS `buildingFloors.rooms.beds.bed_type`, `buildingFloors->rooms->beds`.`last_cleaned` AS `buildingFloors.rooms.beds.last_cleaned`, `buildingFloors->rooms->beds`.`notes` AS `buildingFloors.rooms.beds.notes`, `buildingFloors->rooms->beds`.`reserved_until` AS `buildingFloors.rooms.beds.reserved_until`, `buildingFloors->rooms->beds`.`maintenance_scheduled` AS `buildingFloors.rooms.beds.maintenance_scheduled`, `buildingFloors->rooms->beds`.`created_at` AS `buildingFloors.rooms.beds.createdAt`, `buildingFloors->rooms->beds`.`updated_at` AS `buildingFloors.rooms.beds.updatedAt`, `buildingFloors->rooms->beds->renter`.`id` AS `buildingFloors.rooms.beds.renter.id`, `buildingFloors->rooms->beds->renter`.`name` AS `buildingFloors.rooms.beds.renter.name`, `buildingFloors->rooms->beds->renter`.`email` AS `buildingFloors.rooms.beds.renter.email`, `buildingFloors->rooms->beds->renter`.`phone` AS `buildingFloors.rooms.beds.renter.phone`, `buildingFloors->rooms->beds->renter`.`alternate_phone` AS `buildingFloors.rooms.beds.renter.alternate_phone`, `buildingFloors->rooms->beds->renter`.`nid` AS `buildingFloors.rooms.beds.renter.nid`, `buildingFloors->rooms->beds->renter`.`building_id` AS `buildingFloors.rooms.beds.renter.building_id`, `buildingFloors->rooms->beds->renter`.`floor_id` AS `buildingFloors.rooms.beds.renter.floor_id`, `buildingFloors->rooms->beds->renter`.`room_id` AS `buildingFloors.rooms.beds.renter.room_id`, `buildingFloors->rooms->beds->renter`.`bed_id` AS `buildingFloors.rooms.beds.renter.bed_id`, `buildingFloors->rooms->beds->renter`.`rent_amount` AS `buildingFloors.rooms.beds.renter.rent_amount`, `buildingFloors->rooms->beds->renter`.`security_deposit` AS `buildingFloors.rooms.beds.renter.security_deposit`, `buildingFloors->rooms->beds->renter`.`check_in_date` AS `buildingFloors.rooms.beds.renter.check_in_date`, `buildingFloors->rooms->beds->renter`.`check_out_date` AS `buildingFloors.rooms.beds.renter.check_out_date`, `buildingFloors->rooms->beds->renter`.`lease_start_date` AS `buildingFloors.rooms.beds.renter.lease_start_date`, `buildingFloors->rooms->beds->renter`.`lease_end_date` AS `buildingFloors.rooms.beds.renter.lease_end_date`, `buildingFloors->rooms->beds->renter`.`status` AS `buildingFloors.rooms.beds.renter.status`, `buildingFloors->rooms->beds->renter`.`emergency_contact` AS `buildingFloors.rooms.beds.renter.emergency_contact`, `buildingFloors->rooms->beds->renter`.`emergency_relation` AS `buildingFloors.rooms.beds.renter.emergency_relation`, `buildingFloors->rooms->beds->renter`.`profile_photo` AS `buildingFloors.rooms.beds.renter.profile_photo`, `buildingFloors->rooms->beds->renter`.`occupation` AS `buildingFloors.rooms.beds.renter.occupation`, `buildingFloors->rooms->beds->renter`.`company` AS `buildingFloors.rooms.beds.renter.company`, `buildingFloors->rooms->beds->renter`.`monthly_income` AS `buildingFloors.rooms.beds.renter.monthly_income`, `buildingFloors->rooms->beds->renter`.`previous_address` AS `buildingFloors.rooms.beds.renter.previous_address`, `buildingFloors->rooms->beds->renter`.`references` AS `buildingFloors.rooms.beds.renter.references`, `buildingFloors->rooms->beds->renter`.`notice_period` AS `buildingFloors.rooms.beds.renter.notice_period`, `buildingFloors->rooms->beds->renter`.`preferences` AS `buildingFloors.rooms.beds.renter.preferences`, `buildingFloors->rooms->beds->renter`.`payment_history` AS `buildingFloors.rooms.beds.renter.payment_history`, `buildingFloors->rooms->beds->renter`.`created_at` AS `buildingFloors.rooms.beds.renter.createdAt`, `buildingFloors->rooms->beds->renter`.`updated_at` AS `buildingFloors.rooms.beds.renter.updatedAt` FROM `Building` AS `Building` LEFT OUTER JOIN `Floor` AS `buildingFloors` ON `Building`.`id` = `buildingFloors`.`building_id` LEFT OUTER JOIN `Room` AS `buildingFloors->rooms` ON `buildingFloors`.`id` = `buildingFloors->rooms`.`floor_id` LEFT OUTER JOIN `Bed` AS `buildingFloors->rooms->beds` ON `buildingFloors->rooms`.`id` = `buildingFloors->rooms->beds`.`room_id` LEFT OUTER JOIN `Renter` AS `buildingFloors->rooms->beds->renter` ON `buildingFloors->rooms->beds`.`id` = `buildingFloors->rooms->beds->renter`.`bed_id` ORDER BY `createdAt` DESC; Executing (default): SELECT `id`, `name`, `email`, `password`, `role`, `permissions`, `department`, `phone`, `avatar`, `is_active`, `last_login`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `User` AS `User` WHERE `User`.`id` = '8cc00eb8-378e-4f89-8141-f87aa35fd51d'; Executing (default): SELECT `Bed`.`id`, `Bed`.`building_id`, `Bed`.`floor_id`, `Bed`.`room_id`, `Bed`.`bed_number`, `Bed`.`is_occupied`, `Bed`.`monthly_rent`, `Bed`.`status`, `Bed`.`bed_type`, `Bed`.`last_cleaned`, `Bed`.`notes`, `Bed`.`reserved_until`, `Bed`.`maintenance_scheduled`, `Bed`.`created_at` AS `createdAt`, `Bed`.`updated_at` AS `updatedAt`, `renter`.`id` AS `renter.id`, `renter`.`name` AS `renter.name`, `renter`.`email` AS `renter.email`, `renter`.`phone` AS `renter.phone`, `renter`.`alternate_phone` AS `renter.alternate_phone`, `renter`.`nid` AS `renter.nid`, `renter`.`building_id` AS `renter.building_id`, `renter`.`floor_id` AS `renter.floor_id`, `renter`.`room_id` AS `renter.room_id`, `renter`.`bed_id` AS `renter.bed_id`, `renter`.`rent_amount` AS `renter.rent_amount`, `renter`.`security_deposit` AS `renter.security_deposit`, `renter`.`check_in_date` AS `renter.check_in_date`, `renter`.`check_out_date` AS `renter.check_out_date`, `renter`.`lease_start_date` AS `renter.lease_start_date`, `renter`.`lease_end_date` AS `renter.lease_end_date`, `renter`.`status` AS `renter.status`, `renter`.`emergency_contact` AS `renter.emergency_contact`, `renter`.`emergency_relation` AS `renter.emergency_relation`, `renter`.`profile_photo` AS `renter.profile_photo`, `renter`.`occupation` AS `renter.occupation`, `renter`.`company` AS `renter.company`, `renter`.`monthly_income` AS `renter.monthly_income`, `renter`.`previous_address` AS `renter.previous_address`, `renter`.`references` AS `renter.references`, `renter`.`notice_period` AS `renter.notice_period`, `renter`.`preferences` AS `renter.preferences`, `renter`.`payment_history` AS `renter.payment_history`, `renter`.`created_at` AS `renter.createdAt`, `renter`.`updated_at` AS `renter.updatedAt`, `room`.`id` AS `room.id`, `room`.`building_id` AS `room.building_id`, `room`.`floor_id` AS `room.floor_id`, `room`.`room_number` AS `room.room_number`, `room`.`total_beds` AS `room.total_beds`, `room`.`occupied_beds` AS `room.occupied_beds`, `room`.`rent_per_bed` AS `room.rent_per_bed`, `room`.`facilities` AS `room.facilities`, `room`.`room_type` AS `room.room_type`, `room`.`area` AS `room.area`, `room`.`has_balcony` AS `room.has_balcony`, `room`.`has_attached_bathroom` AS `room.has_attached_bathroom`, `room`.`furnishing_status` AS `room.furnishing_status`, `room`.`condition` AS `room.condition`, `room`.`last_cleaned` AS `room.last_cleaned`, `room`.`security_deposit` AS `room.security_deposit`, `room`.`available_from` AS `room.available_from`, `room`.`created_at` AS `room.createdAt`, `room`.`updated_at` AS `room.updatedAt`, `room->floor`.`id` AS `room.floor.id`, `room->floor`.`building_id` AS `room.floor.building_id`, `room->floor`.`floor_number` AS `room.floor.floor_number`, `room->floor`.`total_rooms` AS `room.floor.total_rooms`, `room->floor`.`occupied_rooms` AS `room.floor.occupied_rooms`, `room->floor`.`floor_type` AS `room.floor.floor_type`, `room->floor`.`amenities` AS `room.floor.amenities`, `room->floor`.`maintenance_status` AS `room.floor.maintenance_status`, `room->floor`.`last_inspection` AS `room.floor.last_inspection`, `room->floor`.`notes` AS `room.floor.notes`, `room->floor`.`created_at` AS `room.floor.createdAt`, `room->floor`.`updated_at` AS `room.floor.updatedAt`, `room->floor->building`.`id` AS `room.floor.building.id`, `room->floor->building`.`name` AS `room.floor.building.name`, `room->floor->building`.`address` AS `room.floor.building.address`, `room->floor->building`.`floors` AS `room.floor.building.floors`, `room->floor->building`.`total_rooms` AS `room.floor.building.total_rooms`, `room->floor->building`.`total_beds` AS `room.floor.building.total_beds`, `room->floor->building`.`parking_spaces` AS `room.floor.building.parking_spaces`, `room->floor->building`.`occupied_beds` AS `room.floor.building.occupied_beds`, `room->floor->building`.`manager` AS `room.floor.building.manager`, `room->floor->building`.`amenities` AS `room.floor.building.amenities`, `room->floor->building`.`monthly_revenue` AS `room.floor.building.monthly_revenue`, `room->floor->building`.`building_type` AS `room.floor.building.building_type`, `room->floor->building`.`year_built` AS `room.floor.building.year_built`, `room->floor->building`.`total_area` AS `room.floor.building.total_area`, `room->floor->building`.`elevators` AS `room.floor.building.elevators`, `room->floor->building`.`security_features` AS `room.floor.building.security_features`, `room->floor->building`.`contact_person` AS `room.floor.building.contact_person`, `room->floor->building`.`contact_phone` AS `room.floor.building.contact_phone`, `room->floor->building`.`created_at` AS `room.floor.building.createdAt`, `room->floor->building`.`updated_at` AS `room.floor.building.updatedAt` FROM `Bed` AS `Bed` LEFT OUTER JOIN `Renter` AS `renter` ON `Bed`.`id` = `renter`.`bed_id` LEFT OUTER JOIN `Room` AS `room` ON `Bed`.`room_id` = `room`.`id` LEFT OUTER JOIN `Floor` AS `room->floor` ON `room`.`floor_id` = `room->floor`.`id` LEFT OUTER JOIN `Building` AS `room->floor->building` ON `room->floor`.`building_id` = `room->floor->building`.`id`; Executing (default): SELECT `id`, `name`, `email`, `password`, `role`, `permissions`, `department`, `phone`, `avatar`, `is_active`, `last_login`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `User` AS `User` WHERE `User`.`id` = '8cc00eb8-378e-4f89-8141-f87aa35fd51d'; Executing (default): SELECT `id`, `renter_id`, `amount`, `due_date`, `paid_date`, `status`, `month`, `year`, `payment_method`, `transaction_id`, `late_fee`, `discount`, `notes`, `receipt_number`, `collected_by`, `renter_name` AS `renterName`, `room_number`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `RentPayment` AS `RentPayment`; Executing (default): SELECT `id`, `name`, `email`, `password`, `role`, `permissions`, `department`, `phone`, `avatar`, `is_active`, `last_login`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `User` AS `User` WHERE `User`.`id` = '8cc00eb8-378e-4f89-8141-f87aa35fd51d'; Executing (default): SELECT `id`, `building_id`, `floor_id`, `category`, `subcategory`, `description`, `amount`, `date`, `vendor`, `receipt`, `approved_by`, `payment_method`, `is_recurring`, `recurring_frequency`, `budget_category`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `Expense` AS `Expense`; Executing (default): SELECT `id`, `title`, `content`, `type`, `priority`, `target_audience`, `target_ids`, `building_id`, `floor_id`, `created_by`, `expiry_date`, `is_active`, `read_by`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `Notice` AS `Notice`; Executing (default): SELECT `id`, `visitor_name`, `visitor_phone`, `visiting_renter_id`, `check_in_time`, `check_out_time`, `purpose`, `approved_by`, `id_verified`, `vehicle_number`, `notes`, `visiting_renter_name`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `Visitor` AS `Visitor`; Executing (default): SELECT `id`, `name`, `email`, `password`, `role`, `permissions`, `department`, `phone`, `avatar`, `is_active`, `last_login`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `User` AS `User` WHERE `User`.`id` = '8cc00eb8-378e-4f89-8141-f87aa35fd51d'; Executing (default): SELECT `Floor`.`id`, `Floor`.`building_id`, `Floor`.`floor_number`, `Floor`.`total_rooms`, `Floor`.`occupied_rooms`, `Floor`.`floor_type`, `Floor`.`amenities`, `Floor`.`maintenance_status`, `Floor`.`last_inspection`, `Floor`.`notes`, `Floor`.`created_at` AS `createdAt`, `Floor`.`updated_at` AS `updatedAt`, `rooms`.`id` AS `rooms.id`, `rooms`.`building_id` AS `rooms.building_id`, `rooms`.`floor_id` AS `rooms.floor_id`, `rooms`.`room_number` AS `rooms.room_number`, `rooms`.`total_beds` AS `rooms.total_beds`, `rooms`.`occupied_beds` AS `rooms.occupied_beds`, `rooms`.`rent_per_bed` AS `rooms.rent_per_bed`, `rooms`.`facilities` AS `rooms.facilities`, `rooms`.`room_type` AS `rooms.room_type`, `rooms`.`area` AS `rooms.area`, `rooms`.`has_balcony` AS `rooms.has_balcony`, `rooms`.`has_attached_bathroom` AS `rooms.has_attached_bathroom`, `rooms`.`furnishing_status` AS `rooms.furnishing_status`, `rooms`.`condition` AS `rooms.condition`, `rooms`.`last_cleaned` AS `rooms.last_cleaned`, `rooms`.`security_deposit` AS `rooms.security_deposit`, `rooms`.`available_from` AS `rooms.available_from`, `rooms`.`created_at` AS `rooms.createdAt`, `rooms`.`updated_at` AS `rooms.updatedAt`, `rooms->beds`.`id` AS `rooms.beds.id`, `rooms->beds`.`building_id` AS `rooms.beds.building_id`, `rooms->beds`.`floor_id` AS `rooms.beds.floor_id`, `rooms->beds`.`room_id` AS `rooms.beds.room_id`, `rooms->beds`.`bed_number` AS `rooms.beds.bed_number`, `rooms->beds`.`is_occupied` AS `rooms.beds.is_occupied`, `rooms->beds`.`monthly_rent` AS `rooms.beds.monthly_rent`, `rooms->beds`.`status` AS `rooms.beds.status`, `rooms->beds`.`bed_type` AS `rooms.beds.bed_type`, `rooms->beds`.`last_cleaned` AS `rooms.beds.last_cleaned`, `rooms->beds`.`notes` AS `rooms.beds.notes`, `rooms->beds`.`reserved_until` AS `rooms.beds.reserved_until`, `rooms->beds`.`maintenance_scheduled` AS `rooms.beds.maintenance_scheduled`, `rooms->beds`.`created_at` AS `rooms.beds.createdAt`, `rooms->beds`.`updated_at` AS `rooms.beds.updatedAt`, `rooms->beds->renter`.`id` AS `rooms.beds.renter.id`, `rooms->beds->renter`.`name` AS `rooms.beds.renter.name`, `rooms->beds->renter`.`email` AS `rooms.beds.renter.email`, `rooms->beds->renter`.`phone` AS `rooms.beds.renter.phone`, `rooms->beds->renter`.`alternate_phone` AS `rooms.beds.renter.alternate_phone`, `rooms->beds->renter`.`nid` AS `rooms.beds.renter.nid`, `rooms->beds->renter`.`building_id` AS `rooms.beds.renter.building_id`, `rooms->beds->renter`.`floor_id` AS `rooms.beds.renter.floor_id`, `rooms->beds->renter`.`room_id` AS `rooms.beds.renter.room_id`, `rooms->beds->renter`.`bed_id` AS `rooms.beds.renter.bed_id`, `rooms->beds->renter`.`rent_amount` AS `rooms.beds.renter.rent_amount`, `rooms->beds->renter`.`security_deposit` AS `rooms.beds.renter.security_deposit`, `rooms->beds->renter`.`check_in_date` AS `rooms.beds.renter.check_in_date`, `rooms->beds->renter`.`check_out_date` AS `rooms.beds.renter.check_out_date`, `rooms->beds->renter`.`lease_start_date` AS `rooms.beds.renter.lease_start_date`, `rooms->beds->renter`.`lease_end_date` AS `rooms.beds.renter.lease_end_date`, `rooms->beds->renter`.`status` AS `rooms.beds.renter.status`, `rooms->beds->renter`.`emergency_contact` AS `rooms.beds.renter.emergency_contact`, `rooms->beds->renter`.`emergency_relation` AS `rooms.beds.renter.emergency_relation`, `rooms->beds->renter`.`profile_photo` AS `rooms.beds.renter.profile_photo`, `rooms->beds->renter`.`occupation` AS `rooms.beds.renter.occupation`, `rooms->beds->renter`.`company` AS `rooms.beds.renter.company`, `rooms->beds->renter`.`monthly_income` AS `rooms.beds.renter.monthly_income`, `rooms->beds->renter`.`previous_address` AS `rooms.beds.renter.previous_address`, `rooms->beds->renter`.`references` AS `rooms.beds.renter.references`, `rooms->beds->renter`.`notice_period` AS `rooms.beds.renter.notice_period`, `rooms->beds->renter`.`preferences` AS `rooms.beds.renter.preferences`, `rooms->beds->renter`.`payment_history` AS `rooms.beds.renter.payment_history`, `rooms->beds->renter`.`created_at` AS `rooms.beds.renter.createdAt`, `rooms->beds->renter`.`updated_at` AS `rooms.beds.renter.updatedAt` FROM `Floor` AS `Floor` LEFT OUTER JOIN `Room` AS `rooms` ON `Floor`.`id` = `rooms`.`floor_id` LEFT OUTER JOIN `Bed` AS `rooms->beds` ON `rooms`.`id` = `rooms->beds`.`room_id` LEFT OUTER JOIN `Renter` AS `rooms->beds->renter` ON `rooms->beds`.`id` = `rooms->beds->renter`.`bed_id`; Executing (default): SELECT `id`, `name`, `email`, `password`, `role`, `permissions`, `department`, `phone`, `avatar`, `is_active`, `last_login`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `User` AS `User` WHERE `User`.`id` = '8cc00eb8-378e-4f89-8141-f87aa35fd51d'; Executing (default): SELECT `Room`.`id`, `Room`.`building_id`, `Room`.`floor_id`, `Room`.`room_number`, `Room`.`total_beds`, `Room`.`occupied_beds`, `Room`.`rent_per_bed`, `Room`.`facilities`, `Room`.`room_type`, `Room`.`area`, `Room`.`has_balcony`, `Room`.`has_attached_bathroom`, `Room`.`furnishing_status`, `Room`.`condition`, `Room`.`last_cleaned`, `Room`.`security_deposit`, `Room`.`available_from`, `Room`.`created_at` AS `createdAt`, `Room`.`updated_at` AS `updatedAt`, `building`.`id` AS `building.id`, `building`.`name` AS `building.name`, `building`.`address` AS `building.address`, `building`.`floors` AS `building.floors`, `building`.`total_rooms` AS `building.total_rooms`, `building`.`total_beds` AS `building.total_beds`, `building`.`parking_spaces` AS `building.parking_spaces`, `building`.`occupied_beds` AS `building.occupied_beds`, `building`.`manager` AS `building.manager`, `building`.`amenities` AS `building.amenities`, `building`.`monthly_revenue` AS `building.monthly_revenue`, `building`.`building_type` AS `building.building_type`, `building`.`year_built` AS `building.year_built`, `building`.`total_area` AS `building.total_area`, `building`.`elevators` AS `building.elevators`, `building`.`security_features` AS `building.security_features`, `building`.`contact_person` AS `building.contact_person`, `building`.`contact_phone` AS `building.contact_phone`, `building`.`created_at` AS `building.createdAt`, `building`.`updated_at` AS `building.updatedAt`, `floor`.`id` AS `floor.id`, `floor`.`building_id` AS `floor.building_id`, `floor`.`floor_number` AS `floor.floor_number`, `floor`.`total_rooms` AS `floor.total_rooms`, `floor`.`occupied_rooms` AS `floor.occupied_rooms`, `floor`.`floor_type` AS `floor.floor_type`, `floor`.`amenities` AS `floor.amenities`, `floor`.`maintenance_status` AS `floor.maintenance_status`, `floor`.`last_inspection` AS `floor.last_inspection`, `floor`.`notes` AS `floor.notes`, `floor`.`created_at` AS `floor.createdAt`, `floor`.`updated_at` AS `floor.updatedAt`, `beds`.`id` AS `beds.id`, `beds`.`building_id` AS `beds.building_id`, `beds`.`floor_id` AS `beds.floor_id`, `beds`.`room_id` AS `beds.room_id`, `beds`.`bed_number` AS `beds.bed_number`, `beds`.`is_occupied` AS `beds.is_occupied`, `beds`.`monthly_rent` AS `beds.monthly_rent`, `beds`.`status` AS `beds.status`, `beds`.`bed_type` AS `beds.bed_type`, `beds`.`last_cleaned` AS `beds.last_cleaned`, `beds`.`notes` AS `beds.notes`, `beds`.`reserved_until` AS `beds.reserved_until`, `beds`.`maintenance_scheduled` AS `beds.maintenance_scheduled`, `beds`.`created_at` AS `beds.createdAt`, `beds`.`updated_at` AS `beds.updatedAt`, `beds->renter`.`id` AS `beds.renter.id`, `beds->renter`.`name` AS `beds.renter.name`, `beds->renter`.`email` AS `beds.renter.email`, `beds->renter`.`phone` AS `beds.renter.phone`, `beds->renter`.`alternate_phone` AS `beds.renter.alternate_phone`, `beds->renter`.`nid` AS `beds.renter.nid`, `beds->renter`.`building_id` AS `beds.renter.building_id`, `beds->renter`.`floor_id` AS `beds.renter.floor_id`, `beds->renter`.`room_id` AS `beds.renter.room_id`, `beds->renter`.`bed_id` AS `beds.renter.bed_id`, `beds->renter`.`rent_amount` AS `beds.renter.rent_amount`, `beds->renter`.`security_deposit` AS `beds.renter.security_deposit`, `beds->renter`.`check_in_date` AS `beds.renter.check_in_date`, `beds->renter`.`check_out_date` AS `beds.renter.check_out_date`, `beds->renter`.`lease_start_date` AS `beds.renter.lease_start_date`, `beds->renter`.`lease_end_date` AS `beds.renter.lease_end_date`, `beds->renter`.`status` AS `beds.renter.status`, `beds->renter`.`emergency_contact` AS `beds.renter.emergency_contact`, `beds->renter`.`emergency_relation` AS `beds.renter.emergency_relation`, `beds->renter`.`profile_photo` AS `beds.renter.profile_photo`, `beds->renter`.`occupation` AS `beds.renter.occupation`, `beds->renter`.`company` AS `beds.renter.company`, `beds->renter`.`monthly_income` AS `beds.renter.monthly_income`, `beds->renter`.`previous_address` AS `beds.renter.previous_address`, `beds->renter`.`references` AS `beds.renter.references`, `beds->renter`.`notice_period` AS `beds.renter.notice_period`, `beds->renter`.`preferences` AS `beds.renter.preferences`, `beds->renter`.`payment_history` AS `beds.renter.payment_history`, `beds->renter`.`created_at` AS `beds.renter.createdAt`, `beds->renter`.`updated_at` AS `beds.renter.updatedAt` FROM `Room` AS `Room` LEFT OUTER JOIN `Building` AS `building` ON `Room`.`building_id` = `building`.`id` LEFT OUTER JOIN `Floor` AS `floor` ON `Room`.`floor_id` = `floor`.`id` LEFT OUTER JOIN `Bed` AS `beds` ON `Room`.`id` = `beds`.`room_id` LEFT OUTER JOIN `Renter` AS `beds->renter` ON `beds`.`id` = `beds->renter`.`bed_id`; Executing (default): SELECT `id`, `name`, `email`, `password`, `role`, `permissions`, `department`, `phone`, `avatar`, `is_active`, `last_login`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `User` AS `User` WHERE `User`.`id` = '8cc00eb8-378e-4f89-8141-f87aa35fd51d'; Executing (default): SELECT `id`, `building_id`, `floor_id`, `room_id`, `bed_id`, `type`, `category`, `description`, `priority`, `status`, `assigned_to`, `cost`, `estimated_cost`, `scheduled_date`, `completed_date`, `notes`, `images`, `warranty`, `next_maintenance_date`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `Maintenance` AS `Maintenance`; Executing (default): SELECT `id`, `name`, `value`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `Settings` AS `Settings`; Executing (default): SELECT `id`, `name`, `email`, `password`, `role`, `permissions`, `department`, `phone`, `avatar`, `is_active`, `last_login`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `User` AS `User` WHERE `User`.`id` = '8cc00eb8-378e-4f89-8141-f87aa35fd51d'; Executing (default): SELECT `id`, `name`, `email`, `role`, `permissions`, `department`, `phone`, `avatar`, `is_active`, `last_login`, `created_at` AS `createdAt`, `updated_at` AS `updatedAt` FROM `User` AS `User` WHERE `User`.`id` = '8cc00eb8-378e-4f89-8141-f87aa35fd51d'; Executing (default): SELECT `id`, `name`, `email`, `password |
:: Command execute :: | |
--[ c99shell v. 2.5 [PHP 8 Update] [24.05.2025] | Generation time: 0.0228 ]-- |