File tree Expand file tree Collapse file tree
src/main/java/ceos/backend/domain/retrospect/dto/response Expand file tree Collapse file tree Original file line number Diff line number Diff 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 }
You can’t perform that action at this time.
0 commit comments