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 d648c42 commit 11c2f02Copy full SHA for 11c2f02
back/src/main/java/com/back/domain/news/news/dto/NewsGetResponse.java
@@ -5,6 +5,7 @@
5
import java.time.LocalDateTime;
6
7
public record NewsGetResponse(
8
+ Long id,
9
String title,
10
String videoUuid,
11
String content,
@@ -14,6 +15,7 @@ public record NewsGetResponse(
14
15
) {
16
public NewsGetResponse(News news) {
17
this(
18
+ news.getId(),
19
news.getTitle(),
20
news.getVideo().getUuid(),
21
news.getContent(),
0 commit comments