diff --git a/src/main/kotlin/roomescape/store/web/StoreDTO.kt b/src/main/kotlin/roomescape/store/web/StoreDTO.kt index aad2cd14..cad9201e 100644 --- a/src/main/kotlin/roomescape/store/web/StoreDTO.kt +++ b/src/main/kotlin/roomescape/store/web/StoreDTO.kt @@ -30,11 +30,3 @@ fun StoreEntity.toInfoResponse() = StoreInfoResponse( contact = this.contact, businessRegNum = this.businessRegNum ) - -data class StoreInfoListResponse( - val stores: List -) - -fun List.toInfoListResponse() = StoreInfoListResponse( - stores = this.map { it.toInfoResponse() } -)