From d7e51669f6bf74bd9a75d2bc313591d54ca3498e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EC=B5=9C=EC=9D=B8=EC=A4=80?= <54973090+dlswns2480@users.noreply.github.com> Date: Wed, 18 Dec 2024 19:28:57 +0900 Subject: [PATCH] =?UTF-8?q?feat=20:=20=ED=8F=AC=ED=82=B7=20=EC=A1=B0?= =?UTF-8?q?=ED=9A=8C=20-=20=EA=B3=B5=EA=B0=9C=EC=97=AC=EB=B6=80,=20?= =?UTF-8?q?=EC=9C=A0=EC=A0=80=EC=B9=B4=EC=9A=B4=ED=8A=B8=20=EC=B6=94?= =?UTF-8?q?=EA=B0=80=20(#207)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../main/kotlin/com/pokit/category/dto/CategoriesResponse.kt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/domain/src/main/kotlin/com/pokit/category/dto/CategoriesResponse.kt b/domain/src/main/kotlin/com/pokit/category/dto/CategoriesResponse.kt index f608075e..c06c707d 100644 --- a/domain/src/main/kotlin/com/pokit/category/dto/CategoriesResponse.kt +++ b/domain/src/main/kotlin/com/pokit/category/dto/CategoriesResponse.kt @@ -13,6 +13,7 @@ data class CategoriesResponse( val createdAt: String, val openType: String, val keywordType: String, + val userCount: Int, ) fun Category.toCategoriesResponse(): CategoriesResponse { @@ -26,6 +27,7 @@ fun Category.toCategoriesResponse(): CategoriesResponse { contentCount = this.contentCount, createdAt = this.createdAt.format(formatter), openType = this.openType.toString(), - keywordType = this.keyword.kor + keywordType = this.keyword.kor, + userCount = this.userCount, ) }