package com.loan.system.repository;


import com.loan.system.domain.entity.ExceptionLog;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.data.jpa.repository.Query;

public interface ExceptionLogDao extends JpaRepository<ExceptionLog, Integer>, JpaSpecificationExecutor<ExceptionLog> {
    @Query("SELECT e FROM ExceptionLog e")
    public Page<ExceptionLog> getExceptionLogByPage(Pageable pageable);
}
