package com.walkguide.repository;
import com.walkguide.entity.HardwareShortcut;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;
import java.util.List;
@Repository
public interface HardwareShortcutRepository extends JpaRepository<HardwareShortcut, Long> {
    List<HardwareShortcut> findByUserId(Long userId);
    boolean existsByUserId(Long userId);
    void deleteByUserId(Long userId);
}
