package com.ttstd.signaling.repository;

import com.ttstd.signaling.model.AbuseReport;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface AbuseReportRepository extends JpaRepository<AbuseReport, Long> {

    List<AbuseReport> findByReportedUserId(String reportedUserId);

    List<AbuseReport> findByStatus(AbuseReport.ReportStatus status);
}
