-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(MeetingService): 기존 약속 정보 조회 API 응답에 참가자들 정보 추가
- Loading branch information
1 parent
4c8ddfa
commit 89c978b
Showing
5 changed files
with
28 additions
and
4 deletions.
There are no files selected for viewing
3 changes: 3 additions & 0 deletions
3
backend/src/main/java/com/woowacourse/momo/domain/attendee/AttendeeRepository.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,13 @@ | ||
package com.woowacourse.momo.domain.attendee; | ||
|
||
import com.woowacourse.momo.domain.meeting.Meeting; | ||
import java.util.List; | ||
import java.util.Optional; | ||
import org.springframework.data.jpa.repository.JpaRepository; | ||
|
||
public interface AttendeeRepository extends JpaRepository<Attendee, Long> { | ||
|
||
Optional<Attendee> findByMeetingAndName(Meeting meeting, AttendeeName name); | ||
|
||
List<Attendee> findAllByMeeting(Meeting meeting); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters