package de.oaa.xxx.location.repository;

import de.oaa.xxx.location.entity.LocationInboxLockEntity;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.Optional;
import java.util.UUID;

public interface LocationInboxLockRepository extends JpaRepository<LocationInboxLockEntity, UUID> {

    Optional<LocationInboxLockEntity> findByLocationIdAndVisitorId(UUID locationId, UUID visitorId);
}
