Skip to content

Commit

Permalink
add :: findByStatus 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
Umjiseung committed Apr 20, 2024
1 parent 09ccb48 commit fc6d5b3
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
package com.mindway.server.v2.domain.event.repository;

import com.mindway.server.v2.domain.event.entity.Event;
import com.mindway.server.v2.domain.event.entity.Status;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

public interface EventRepository extends JpaRepository<Event, Long> {
List<Event> findByStatus(Status status);
}

0 comments on commit fc6d5b3

Please sign in to comment.