We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3c15eb7 commit 8ba6ff4Copy full SHA for 8ba6ff4
src/main/java/apptive/team5/diary/dto/MyDiaryResponseDto.java
@@ -6,6 +6,7 @@
6
import java.time.LocalDateTime;
7
8
public record MyDiaryResponseDto(
9
+ Long diaryId,
10
String artist,
11
String musicTitle,
12
String albumImageUrl,
@@ -20,6 +21,7 @@ public record MyDiaryResponseDto(
20
21
) {
22
public static MyDiaryResponseDto from(DiaryEntity diary) {
23
return new MyDiaryResponseDto(
24
+ diary.getId(),
25
diary.getArtist(),
26
diary.getMusicTitle(),
27
diary.getAlbumImageUrl(),
0 commit comments