From 63aa785ec0091703b4d1145334980491ff0fac0a Mon Sep 17 00:00:00 2001 From: Jangan Lee Date: Fri, 15 Nov 2024 10:47:46 +0900 Subject: [PATCH] =?UTF-8?q?[Weekly/11/Hotfix/brokenBuild]=20=EB=B9=8C?= =?UTF-8?q?=EB=93=9C=20=EC=8B=A4=ED=8C=A8=20=EC=98=A4=EB=A5=98=20=EC=88=98?= =?UTF-8?q?=EC=A0=95=20(#144)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../like/application/dto/LikeResponse.java | 31 ------------------- .../application/dto/LikeToggleResponse.java | 20 ------------ 2 files changed, 51 deletions(-) delete mode 100644 src/main/java/org/ktc2/cokaen/wouldyouin/like/application/dto/LikeResponse.java delete mode 100644 src/main/java/org/ktc2/cokaen/wouldyouin/like/application/dto/LikeToggleResponse.java diff --git a/src/main/java/org/ktc2/cokaen/wouldyouin/like/application/dto/LikeResponse.java b/src/main/java/org/ktc2/cokaen/wouldyouin/like/application/dto/LikeResponse.java deleted file mode 100644 index 3dca9a88..00000000 --- a/src/main/java/org/ktc2/cokaen/wouldyouin/like/application/dto/LikeResponse.java +++ /dev/null @@ -1,31 +0,0 @@ - -package org.ktc2.cokaen.wouldyouin.like.api.dto; - -import java.util.List; -import lombok.AccessLevel; -import lombok.Builder; -import lombok.Getter; -import lombok.RequiredArgsConstructor; -import org.ktc2.cokaen.wouldyouin.member.persist.LikeableMember; - -@Getter -@RequiredArgsConstructor(access = AccessLevel.PROTECTED) -@Builder -public class LikeResponse { - - private final Long memberId; - private final String nickname; - private final String intro; - private final List hashtags; - private final String profileImageUrl; - - public static LikeResponse from(LikeableMember member) { - return LikeResponse.builder() - .memberId(member.getId()) - .nickname(member.getNickname()) - .intro(member.getIntro()) - .hashtags(member.getHashtags()) - .profileImageUrl(member.getProfileImageUrl()) - .build(); - } -} diff --git a/src/main/java/org/ktc2/cokaen/wouldyouin/like/application/dto/LikeToggleResponse.java b/src/main/java/org/ktc2/cokaen/wouldyouin/like/application/dto/LikeToggleResponse.java deleted file mode 100644 index d5181d72..00000000 --- a/src/main/java/org/ktc2/cokaen/wouldyouin/like/application/dto/LikeToggleResponse.java +++ /dev/null @@ -1,20 +0,0 @@ -package org.ktc2.cokaen.wouldyouin.like.application.dto; - -import lombok.AccessLevel; -import lombok.Builder; -import lombok.Getter; -import lombok.RequiredArgsConstructor; -import org.ktc2.cokaen.wouldyouin.member.persist.LikeableMember; - -@Getter -@RequiredArgsConstructor(access = AccessLevel.PROTECTED) -@Builder -public class LikeToggleResponse { - private final boolean isLiked; - - public static LikeToggleResponse from(boolean state) { - return LikeToggleResponse.builder() - .isLiked(state) - .build(); - } -}