Skip to content

Commit

Permalink
feat(#146): Dto 변경
Browse files Browse the repository at this point in the history
- NoticeSimpleResponse에서 updatedAt을 반환하도록 변경했어요.
  • Loading branch information
jyj1289 committed Oct 7, 2024
1 parent d207356 commit 3915e35
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,11 @@ public class NoticeSimpleResponse {

private final Long id;
private final String title;
private final LocalDateTime createdAt;
private final LocalDateTime updatedAt;

public NoticeSimpleResponse(Notice notice) {
this.id = notice.getId();
this.title = notice.getTitle();
this.createdAt = notice.getCreatedAt();
this.updatedAt = notice.getUpdatedAt();
}
}

0 comments on commit 3915e35

Please sign in to comment.