-
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.
๐ fix: ๋ฌดํ์คํฌ๋กค ๊ตฌํ ๋ฌธ์ ์์ (#51)
- Loading branch information
Showing
6 changed files
with
66 additions
and
29 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
11 changes: 11 additions & 0 deletions
11
...tlin/com/kotlin/study/dongambackend/domain/comment/dto/response/FindAllCommentResponse.kt
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 |
---|---|---|
@@ -0,0 +1,11 @@ | ||
package com.kotlin.study.dongambackend.domain.comment.dto.response | ||
|
||
import com.kotlin.study.dongambackend.domain.post.dto.response.UserInformation | ||
import com.querydsl.core.annotations.QueryProjection | ||
|
||
data class FindAllCommentResponse @QueryProjection constructor( | ||
val id: Long, | ||
val user: UserInformation, | ||
val postId: Long, | ||
val content: String? | ||
) |
6 changes: 6 additions & 0 deletions
6
...otlin/com/kotlin/study/dongambackend/domain/comment/dto/response/GetAllCommentResponse.kt
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 |
---|---|---|
@@ -0,0 +1,6 @@ | ||
package com.kotlin.study.dongambackend.domain.comment.dto.response | ||
|
||
data class GetAllCommentResponse ( | ||
val comments: List<FindAllCommentResponse>, | ||
val commentCount: Int | ||
) |
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