-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
13 changed files
with
116 additions
and
455 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
69 changes: 7 additions & 62 deletions
69
...tSayYo/src/main/java/org/omoknoone/onionhotsayyo/comment/command/dto/CommentReplyDTO.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,76 +1,21 @@ | ||
package org.omoknoone.onionhotsayyo.comment.command.dto; | ||
|
||
import lombok.*; | ||
|
||
import java.time.LocalDateTime; | ||
|
||
@AllArgsConstructor | ||
@NoArgsConstructor | ||
@Getter @Setter | ||
@ToString | ||
/* 내가 작성한 댓글 + 대댓글 조회 시 필요한 댓글 대댓글 DTO */ | ||
public class CommentReplyDTO { | ||
|
||
private String memberId; | ||
private String nickname; | ||
private String content; | ||
private LocalDateTime postedDate; | ||
private LocalDateTime lastModifiedDate; | ||
private boolean isDeleted; | ||
|
||
public CommentReplyDTO() { | ||
} | ||
|
||
public CommentReplyDTO(String memberId, String content, LocalDateTime postedDate, LocalDateTime lastModifiedDate, | ||
boolean isDeleted) { | ||
this.memberId = memberId; | ||
this.content = content; | ||
this.postedDate = postedDate; | ||
this.lastModifiedDate = lastModifiedDate; | ||
this.isDeleted = isDeleted; | ||
} | ||
|
||
public String getMemberId() { | ||
return memberId; | ||
} | ||
|
||
public void setMemberId(String memberId) { | ||
this.memberId = memberId; | ||
} | ||
|
||
public String getContent() { | ||
return content; | ||
} | ||
|
||
public void setContent(String content) { | ||
this.content = content; | ||
} | ||
|
||
public LocalDateTime getPostedDate() { | ||
return postedDate; | ||
} | ||
|
||
public void setPostedDate(LocalDateTime postedDate) { | ||
this.postedDate = postedDate; | ||
} | ||
|
||
public LocalDateTime getLastModifiedDate() { | ||
return lastModifiedDate; | ||
} | ||
|
||
public void setLastModifiedDate(LocalDateTime lastModifiedDate) { | ||
this.lastModifiedDate = lastModifiedDate; | ||
} | ||
|
||
public boolean isDeleted() { | ||
return isDeleted; | ||
} | ||
|
||
public void setDeleted(boolean deleted) { | ||
isDeleted = deleted; | ||
} | ||
|
||
@Override | ||
public String toString() { | ||
return "CommentReplyDTO{" + | ||
"memberId='" + memberId + '\'' + | ||
", content='" + content + '\'' + | ||
", postedDate=" + postedDate + | ||
", lastModifiedDate=" + lastModifiedDate + | ||
", isDeleted=" + isDeleted + | ||
'}'; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.