Skip to content

Commit

Permalink
Merge pull request #173 from dnd-side-project/fix/#172
Browse files Browse the repository at this point in the history
Add bookmark list response dat
  • Loading branch information
miraexhoi authored Sep 30, 2024
2 parents ade1796 + 90cbb64 commit 4d634bc
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ public record BookmarkWordInfoDto(
String example,
LocalDateTime createdAt,
LocalDateTime updatedAt,
int commentCount,
Long bookmarkId
) {

Expand All @@ -28,6 +29,7 @@ public static BookmarkWordInfoDto from(BookmarkWordDto dto) {
dto.example(),
dto.createdAt(),
dto.updatedAt(),
dto.commentCount(),
dto.bookmarkId()
);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ public List<BookmarkWordDto> findAllBy(BookmarkConditionDto dto) {
word.example,
word.createdAt,
word.updatedAt,
word.commentCount,
bookmark.id
)
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ public record BookmarkWordDto(
String example,
LocalDateTime createdAt,
LocalDateTime updatedAt,
int commentCount,
Long bookmarkId
) {
}
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ public record BookmarkWordInfoResponse(
String example,
LocalDateTime createdAt,
LocalDateTime updatedAt,
int commentCount,
Long bookmarkId
) {

Expand All @@ -44,6 +45,7 @@ public static BookmarkWordInfoResponse from(BookmarkWordInfoDto dto) {
dto.example(),
dto.createdAt(),
dto.updatedAt(),
dto.commentCount(),
dto.bookmarkId()
);
}
Expand Down

0 comments on commit 4d634bc

Please sign in to comment.