diff --git a/src/main/java/io/spring/application/ArticleQueryService.java b/src/main/java/io/spring/application/ArticleQueryService.java
index 0e82cae..110329b 100644
--- a/src/main/java/io/spring/application/ArticleQueryService.java
+++ b/src/main/java/io/spring/application/ArticleQueryService.java
@@ -2,11 +2,10 @@ package io.spring.application;
import io.spring.application.data.ArticleData;
import io.spring.application.data.ArticleDataList;
-import io.spring.infrastructure.mybatis.readservice.UserRelationshipQueryService;
import io.spring.core.user.User;
import io.spring.infrastructure.mybatis.readservice.ArticleReadService;
-import lombok.Data;
-import lombok.NoArgsConstructor;
+import io.spring.infrastructure.mybatis.readservice.UserRelationshipQueryService;
+import lombok.Value;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
@@ -130,9 +129,8 @@ public class ArticleQueryService {
}
}
-@Data
-@NoArgsConstructor
+@Value
class ArticleFavoriteCount {
private String id;
- private int count;
+ private Integer count;
}
\ No newline at end of file
diff --git a/src/main/resources/mapper/ArticleFavoritesQueryService.xml b/src/main/resources/mapper/ArticleFavoritesQueryService.xml
index faf7340..e7247b8 100644
--- a/src/main/resources/mapper/ArticleFavoritesQueryService.xml
+++ b/src/main/resources/mapper/ArticleFavoritesQueryService.xml
@@ -7,7 +7,7 @@
-