Skip to content

Commit 07a84e4

Browse files
committed
[refact] 회고록 목록 보기 response dto 필드 수정
1 parent d32f568 commit 07a84e4

1 file changed

Lines changed: 3 additions & 5 deletions

File tree

src/main/java/ceos/backend/domain/retrospect/dto/response/GetRetrospectsElement.java

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,16 +10,14 @@
1010
public class GetRetrospectsElement {
1111
private Long id;
1212
private String title;
13-
private String url;
14-
private String writer;
1513
private Integer generation;
14+
private String part;
1615

1716
public static GetRetrospectsElement fromEntity(Retrospect retrospect) {
1817
return new GetRetrospectsElement(
1918
retrospect.getId(),
2019
retrospect.getTitle(),
21-
retrospect.getUrl(),
22-
retrospect.getWriter(),
23-
retrospect.getGeneration());
20+
retrospect.getGeneration(),
21+
retrospect.getPart().getPart());
2422
}
2523
}

0 commit comments

Comments
 (0)