Skip to content
This repository has been archived by the owner on Aug 28, 2024. It is now read-only.

Commit

Permalink
feat :: edit
Browse files Browse the repository at this point in the history
  • Loading branch information
osoohynn committed Aug 26, 2024
1 parent 354ddff commit fabe7ac
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 77 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,13 @@ public class AddCommentRequest {
private String user;
private int article;

public Comment toEntity() { //생성자를 사용해 객체 생성
return Comment.builder()
.comment(comment)
.createdDate(LocalDateTime.parse(createdDate))
.modifiedDate(LocalDateTime.parse(modifiedDate))
.user(user)
.article(article)
.build();
}
// public Comment toEntity() { //생성자를 사용해 객체 생성
// return Comment.builder()
// .comment(comment)
// .createdDate(LocalDateTime.parse(createdDate))
// .modifiedDate(LocalDateTime.parse(modifiedDate))
// .user(user)
// .article(article)
// .build();
// }
}

This file was deleted.

0 comments on commit fabe7ac

Please sign in to comment.