From 8eeb2fe56c6f5bd47426cff5011e64b2322a0302 Mon Sep 17 00:00:00 2001 From: dmori Date: Thu, 29 Jan 2026 17:58:24 +0900 Subject: [PATCH 1/2] =?UTF-8?q?improve:=20Post=20=EC=97=94=ED=8B=B0?= =?UTF-8?q?=ED=8B=B0=EC=97=90=20=EB=88=84=EB=9D=BD=EB=90=9C=20summary=20?= =?UTF-8?q?=ED=95=84=EB=93=9C=20=EB=B9=8C=EB=8D=94=EC=97=90=20=EC=B6=94?= =?UTF-8?q?=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/java/com/techfork/domain/post/entity/Post.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main/java/com/techfork/domain/post/entity/Post.java b/src/main/java/com/techfork/domain/post/entity/Post.java index deec080..7064d90 100644 --- a/src/main/java/com/techfork/domain/post/entity/Post.java +++ b/src/main/java/com/techfork/domain/post/entity/Post.java @@ -71,11 +71,12 @@ public class Post extends BaseEntity { @PersistenceCreator @Builder - Post(String title, String fullContent, String plainContent, String company, String logoUrl, String thumbnailUrl, + Post(String title, String fullContent, String plainContent, String summary, String company, String logoUrl, String thumbnailUrl, String url, LocalDateTime publishedAt, LocalDateTime crawledAt, LocalDateTime embeddedAt, TechBlog techBlog) { this.title = title; this.fullContent = fullContent; this.plainContent = plainContent; + this.summary = summary; this.company = company; this.logoUrl = logoUrl; this.thumbnailUrl = thumbnailUrl; From e0de7f18613e49f39254f0ae4e4ccae8e85d8370 Mon Sep 17 00:00:00 2001 From: dmori Date: Thu, 29 Jan 2026 17:58:55 +0900 Subject: [PATCH 2/2] =?UTF-8?q?improve:=20RecommendationHistory=20?= =?UTF-8?q?=EC=97=94=ED=8B=B0=ED=8B=B0=EC=97=90=20=EB=88=84=EB=9D=BD?= =?UTF-8?q?=EB=90=9C=20=ED=81=B4=EB=A6=AD=20=EA=B4=80=EB=A0=A8=20=ED=95=84?= =?UTF-8?q?=EB=93=9C=20=EB=B9=8C=EB=8D=94=EC=97=90=20=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../domain/recommendation/entity/RecommendationHistory.java | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/main/java/com/techfork/domain/recommendation/entity/RecommendationHistory.java b/src/main/java/com/techfork/domain/recommendation/entity/RecommendationHistory.java index bb49a6d..7b2e120 100644 --- a/src/main/java/com/techfork/domain/recommendation/entity/RecommendationHistory.java +++ b/src/main/java/com/techfork/domain/recommendation/entity/RecommendationHistory.java @@ -56,14 +56,16 @@ public class RecommendationHistory extends BaseEntity { @PersistenceCreator @Builder RecommendationHistory(User user, Post post, Double similarityScore, - Double mmrScore, Integer rankOrder, LocalDateTime recommendedAt) { + Double mmrScore, Integer rankOrder, LocalDateTime recommendedAt, + Boolean isClicked, LocalDateTime clickedAt) { this.user = user; this.post = post; this.similarityScore = similarityScore; this.mmrScore = mmrScore; this.rankOrder = rankOrder; this.recommendedAt = recommendedAt; - this.isClicked = false; + this.isClicked = isClicked != null ? isClicked : false; + this.clickedAt = clickedAt; } /**