You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
371 B
13 lines
371 B
package com.mydreamjob.messaging;
|
|
|
|
import org.springframework.data.jpa.repository.JpaRepository;
|
|
import org.springframework.stereotype.Repository;
|
|
|
|
import java.util.List;
|
|
import java.util.Optional;
|
|
|
|
@Repository
|
|
public interface ConversationRepository extends JpaRepository<Conversation, Long> {
|
|
|
|
List<Conversation> findByCreatedByOrderByUpdatedAtDesc(Long userId);
|
|
}
|
|
|