-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #633 from tukcomCD2024/fix/group_detail-B-core-#632
fix : 그룹 상세 조회 수정
- Loading branch information
Showing
12 changed files
with
145 additions
and
71 deletions.
There are no files selected for viewing
9 changes: 9 additions & 0 deletions
9
.../src/main/java/site/timecapsulearchive/core/domain/friend/data/dto/FriendRelationDto.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 |
---|---|---|
@@ -0,0 +1,9 @@ | ||
package site.timecapsulearchive.core.domain.friend.data.dto; | ||
|
||
public record FriendRelationDto( | ||
Boolean isFriend, | ||
Boolean isFriendInviteToFriend, | ||
Boolean isFriendInviteToMe | ||
) { | ||
|
||
} |
16 changes: 16 additions & 0 deletions
16
...re/src/main/java/site/timecapsulearchive/core/domain/friend/data/dto/FriendRelations.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 |
---|---|---|
@@ -0,0 +1,16 @@ | ||
package site.timecapsulearchive.core.domain.friend.data.dto; | ||
|
||
import java.util.Map; | ||
|
||
public class FriendRelations { | ||
|
||
private final Map<Long, FriendRelationDto> friendRelationMap; | ||
|
||
public FriendRelations(Map<Long, FriendRelationDto> friendRelationMap) { | ||
this.friendRelationMap = friendRelationMap; | ||
} | ||
|
||
public FriendRelationDto getFriendRelation(final Long friendId) { | ||
return friendRelationMap.get(friendId); | ||
} | ||
} |
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
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
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
Oops, something went wrong.