package br.gov.sigefp.treasury.repository;

import br.gov.sigefp.treasury.domain.ReconciliationItem;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.UUID;

@Repository
public interface ReconciliationItemRepository extends JpaRepository<ReconciliationItem, UUID> {
    
    List<ReconciliationItem> findByReconciliationId(UUID reconciliationId);
    
    List<ReconciliationItem> findByMatchStatus(String matchStatus);
    
    List<ReconciliationItem> findByReconciliationIdAndMatchStatus(UUID reconciliationId, String matchStatus);
}

