schema(HotelForm::schema()); } public static function table(Table $table): Table { return $table->columns(HotelsTable::schema()); } public static function getRelations(): array { return [ RoomsRelationManager::class, ]; } public static function getPages(): array { return [ 'index' => ListHotels::route('/'), 'create' => CreateHotel::route('/create'), 'edit' => EditHotel::route('/{record}/edit'), ]; } }