package at.procon.dip.domain.ted.repository;

import at.procon.dip.domain.ted.entity.TedNoticeLot;
import java.util.List;
import java.util.UUID;
import org.springframework.data.jpa.repository.JpaRepository;

public interface TedNoticeLotRepository extends JpaRepository<TedNoticeLot, UUID> {

    List<TedNoticeLot> findByNoticeProjection_Id(UUID noticeProjectionId);

    void deleteByNoticeProjection_Id(UUID noticeProjectionId);
}
