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