package com.kospo.talk.repository;

import com.kospo.talk.model.PersonAutoReply;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

public interface PersonAutoReplyRepository extends JpaRepository<PersonAutoReply, Integer> {
    List<PersonAutoReply> findBySabunAndContentLikeOrderByInsDateDesc(String sabun, String content);
    List<PersonAutoReply> findBySabunOrderByInsDateDesc(String sabun);
}