package com.honey.honey.repository;

import com.honey.honey.model.QuickAnswer;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface QuickAnswerRepository extends JpaRepository<QuickAnswer, Integer> {
    List<QuickAnswer> findByAdminIdOrderByCreatedAtDesc(Integer adminId);
}

