package ru.soune.nocopy.repository;

import org.springframework.data.jpa.repository.JpaRepository;
import ru.soune.nocopy.entity.file.moderation.ModerationLog;

import java.util.List;

public interface ModerationLogRepository extends JpaRepository<ModerationLog, String> {

    List<ModerationLog> findByFileIdOrderByCreatedAtDesc(String fileId);

    List<ModerationLog> findByModeratorId(Long moderatorId);
}