package com.pharmacopoeia.repository;

import com.pharmacopoeia.entity.QuickAskAuditLog;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

@Repository
public interface QuickAskAuditLogRepository extends JpaRepository<QuickAskAuditLog, Long> {

    Page<QuickAskAuditLog> findAllByOrderByCreatedAtDesc(Pageable pageable);
}
