Skip to content

Commit ff28871

Browse files
committed
[refact] 회고록 상세 보기/수정 response dto 필드 수정
1 parent 07a84e4 commit ff28871

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ public class GetRetrospectResponse {
1010
private String title;
1111
private String url;
1212
private String writer;
13+
private Integer generation;
14+
private String part;
1315

1416
public static GetRetrospectResponse fromEntity(Retrospect retrospect) {
1517
GetRetrospectResponse getRetrospectResponse = new GetRetrospectResponse();
@@ -18,6 +20,8 @@ public static GetRetrospectResponse fromEntity(Retrospect retrospect) {
1820
getRetrospectResponse.setTitle(retrospect.getTitle());
1921
getRetrospectResponse.setUrl(retrospect.getUrl());
2022
getRetrospectResponse.setWriter(retrospect.getWriter());
23+
getRetrospectResponse.setGeneration(retrospect.getGeneration());
24+
getRetrospectResponse.setPart(retrospect.getPart().getPart());
2125

2226
return getRetrospectResponse;
2327
}

0 commit comments

Comments
 (0)