Skip to content

Commit

Permalink
Merge pull request #54 from KTB16Team/feature/44-mypage
Browse files Browse the repository at this point in the history
Feature/44 mypage
  • Loading branch information
mng990 authored Nov 5, 2024
2 parents 1271767 + abfbc9b commit 2dc4fb7
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 14 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,18 +12,12 @@ public record SinglePostResponse(
String title,
String nickname,
String content,
@JsonProperty("votes_plaintiff")
Long votesPlaintiff,
@JsonProperty("votes_defendant")
Long votesDefendant,
Long likes,
@JsonProperty("views_count")
Long likesCount,
Long viewsCount,
@JsonProperty("votes_count")
Long votesCount,
@JsonProperty("comments_count")
Long commentsCount,
@JsonProperty("comments")
List<CommentResponse> comments,
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
LocalDateTime createdAt) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@
public record FindPostsByPostTypeResponse(
Long id,
String title,
String content_preview,
Integer likes_count,
Integer views_count,
Integer comments_count,
Float vote_rate_plaintiff,
Float vote_rate_defendant,
LocalDateTime created_at
String contentPreview,
Integer likesCount,
Integer viewsCount,
Integer commentsCount,
Float voteRatePlaintiff,
Float voteRateDefendant,
LocalDateTime createdAt
) {}

0 comments on commit 2dc4fb7

Please sign in to comment.