package research.loghunter.repository;

import org.springframework.data.jpa.repository.JpaRepository;
import research.loghunter.entity.Pattern;
import java.util.List;

public interface PatternRepository extends JpaRepository<Pattern, Long> {
    List<Pattern> findByActiveTrue();
    List<Pattern> findByActiveTrueOrderBySeverityAscNameAsc();
}
