package org.nstart.dep265.requestservice.repository

import org.nstart.dep265.requestservice.entity.RequestRouteMatchEntity
import org.springframework.data.jpa.repository.JpaRepository
import java.util.UUID

interface RequestRouteMatchRepository : JpaRepository<RequestRouteMatchEntity, Long> {
    fun existsByRequestIdAndRouteId(requestId: UUID, routeId: UUID): Boolean

    fun deleteByRequestId(requestId: UUID)
}
