From 9305eb211f5fc6ba56888cebeaac5e448fe7ae2b Mon Sep 17 00:00:00 2001 From: EunjinWoo Date: Thu, 29 May 2025 18:33:25 +0900 Subject: [PATCH] =?UTF-8?q?feat:=20(#24)=20=EB=B0=8B=EC=97=85=20=ED=94=84?= =?UTF-8?q?=EB=A1=9C=EC=A0=9D=ED=8A=B8=EC=97=90=20=EB=B9=84=ED=97=A8?= =?UTF-8?q?=EC=8A=A4=20=EB=A7=81=ED=81=AC=20=ED=95=84=EB=93=9C=EB=A5=BC=20?= =?UTF-8?q?=EC=B6=94=EA=B0=80=ED=95=9C=EB=8B=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../domain/project/dto/response/MeetupDetailResponse.java | 5 +++++ .../website/domain/project/entity/MeetupProject.java | 6 +++++- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/src/main/java/com/kusitms/website/domain/project/dto/response/MeetupDetailResponse.java b/src/main/java/com/kusitms/website/domain/project/dto/response/MeetupDetailResponse.java index 832751e..d4f60a9 100644 --- a/src/main/java/com/kusitms/website/domain/project/dto/response/MeetupDetailResponse.java +++ b/src/main/java/com/kusitms/website/domain/project/dto/response/MeetupDetailResponse.java @@ -50,6 +50,10 @@ public class MeetupDetailResponse { @Schema(description = "웹 썸네일 이미지 URL") private String webThumbnailUrl; + @JsonProperty("behance_url") + @Schema(description = "비핸스 URL") + private String behanceUrl; + @JsonProperty("instagram_url") @Schema(description = "인스타그램 URL") private String instagramUrl; @@ -89,6 +93,7 @@ public MeetupDetailResponse(MeetupProject meetup, boolean isDetail) { this.webThumbnailUrl = s3Url + meetup.getWebThumbnailUrl(); this.logoUrl = s3Url + meetup.getLogoUrl(); this.oneLineIntro = meetup.getOneLineIntro(); + this.behanceUrl = meetup.getBehanceUrl(); this.instagramUrl = meetup.getInstagramUrl(); this.githubUrl = meetup.getGithubUrl(); this.appUrl = meetup.getAppUrl(); diff --git a/src/main/java/com/kusitms/website/domain/project/entity/MeetupProject.java b/src/main/java/com/kusitms/website/domain/project/entity/MeetupProject.java index a322071..aaec96d 100644 --- a/src/main/java/com/kusitms/website/domain/project/entity/MeetupProject.java +++ b/src/main/java/com/kusitms/website/domain/project/entity/MeetupProject.java @@ -44,6 +44,9 @@ public class MeetupProject { @Column(name = "web_thumbnail_url") private String webThumbnailUrl; + @Column(name = "behance_url") + private String behanceUrl; + @Column(name = "instagram_url") private String instagramUrl; @@ -78,7 +81,7 @@ public class MeetupProject { @Builder public MeetupProject(int cardinal, String name, String intro, ProjectType type, String oneLineIntro, - String logoUrl, String posterUrl, String webThumbnailUrl, String instagramUrl, String githubUrl, String appUrl, + String logoUrl, String posterUrl, String webThumbnailUrl, String behanceUrl, String instagramUrl, String githubUrl, String appUrl, Boolean displayFlag, LocalDate startDate, LocalDate endDate, String teamName) { this.cardinal = cardinal; this.name = name; @@ -89,6 +92,7 @@ public MeetupProject(int cardinal, String name, String intro, ProjectType type, this.logoUrl = logoUrl; this.posterUrl = posterUrl; this.webThumbnailUrl = webThumbnailUrl; + this.behanceUrl = behanceUrl; this.instagramUrl = instagramUrl; this.githubUrl = githubUrl; this.appUrl = appUrl;