From 1184a589fb597ac731c744876ebc6b6ac9d3581e Mon Sep 17 00:00:00 2001 From: kimmatches Date: Sat, 7 Dec 2024 16:09:40 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20=EC=98=A4=EB=A5=98=20=ED=95=B4=EA=B2=B0?= =?UTF-8?q?=20(#274)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/src/main/java/com/example/mhnfe/data/model/Image.kt | 8 -------- .../example/mhnfe/data/remote/response/ImageResponse.kt | 7 ++++++- 2 files changed, 6 insertions(+), 9 deletions(-) delete mode 100644 app/src/main/java/com/example/mhnfe/data/model/Image.kt diff --git a/app/src/main/java/com/example/mhnfe/data/model/Image.kt b/app/src/main/java/com/example/mhnfe/data/model/Image.kt deleted file mode 100644 index a9ddcb70..00000000 --- a/app/src/main/java/com/example/mhnfe/data/model/Image.kt +++ /dev/null @@ -1,8 +0,0 @@ -package com.example.mhnfe.data.model - -data class ImageInfo( - val imageId: Long, - val imageName: String, - val imagePath: String, - val formattedCreatedAt: String -) \ No newline at end of file diff --git a/app/src/main/java/com/example/mhnfe/data/remote/response/ImageResponse.kt b/app/src/main/java/com/example/mhnfe/data/remote/response/ImageResponse.kt index a5bde3e5..a870060f 100644 --- a/app/src/main/java/com/example/mhnfe/data/remote/response/ImageResponse.kt +++ b/app/src/main/java/com/example/mhnfe/data/remote/response/ImageResponse.kt @@ -1,6 +1,5 @@ package com.example.mhnfe.data.remote.response -import com.example.mhnfe.data.model.ImageInfo data class ImageResponse( @@ -25,3 +24,9 @@ data class ImageResponseBody( data class ImageListBody( val images : List ) +data class ImageInfo( + val imageId: Long, + val imageName: String, + val imagePath: String, + val formattedCreatedAt: String +) \ No newline at end of file