package org.raddatz.familienarchiv.document.transcription;

import org.raddatz.familienarchiv.document.transcription.TranscriptionBlockVersion;
import org.springframework.data.jpa.repository.JpaRepository;

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

public interface TranscriptionBlockVersionRepository extends JpaRepository<TranscriptionBlockVersion, UUID> {

    List<TranscriptionBlockVersion> findByBlockIdOrderByChangedAtDesc(UUID blockId);
}
