Skip to content

Commit

Permalink
Fix [#21] ResumeResponse Auditing 필드 삭제
Browse files Browse the repository at this point in the history
  • Loading branch information
geniusYoo committed May 22, 2024
1 parent 43db736 commit b1eb646
Showing 1 changed file with 1 addition and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,18 +11,14 @@
public record ResumeResponse(
Long id,
String title,
Boolean isPrivate,
LocalDateTime createdAt,
LocalDateTime modifiedAt
Boolean isPrivate
) {

public static ResumeResponse of(Resume resume) {
return ResumeResponse.builder()
.id(resume.getId())
.title(resume.getTitle())
.isPrivate(resume.isPrivate())
.createdAt(resume.getCreatedAt())
.modifiedAt(resume.getModifiedAt())
.build();

}
Expand Down

0 comments on commit b1eb646

Please sign in to comment.