From d36cc6d8d9ebd0d8d862d02790e78b9774a74085 Mon Sep 17 00:00:00 2001 From: Jinyoung Date: Tue, 16 Sep 2025 14:20:10 +0900 Subject: [PATCH 1/2] =?UTF-8?q?chore:=20=EB=AF=B8=EC=82=AC=EC=9A=A9=20?= =?UTF-8?q?=EC=9D=98=EC=A1=B4=EC=84=B1=20=EC=A0=9C=EA=B1=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../opendata/domain/tourspot/mapper/TourSpotDetailMapper.java | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/main/java/com/opendata/domain/tourspot/mapper/TourSpotDetailMapper.java b/src/main/java/com/opendata/domain/tourspot/mapper/TourSpotDetailMapper.java index 29bf331..221ec62 100644 --- a/src/main/java/com/opendata/domain/tourspot/mapper/TourSpotDetailMapper.java +++ b/src/main/java/com/opendata/domain/tourspot/mapper/TourSpotDetailMapper.java @@ -2,13 +2,11 @@ import com.opendata.domain.address.entity.Address; import com.opendata.domain.tourspot.dto.AddressDto; -import com.opendata.domain.tourspot.dto.CityDataDto; import com.opendata.domain.tourspot.dto.TourSpotEventDto; import com.opendata.domain.tourspot.dto.TourSpotMonthlyCongestionDto; import com.opendata.domain.tourspot.dto.TourSpotTagDto; import com.opendata.domain.tourspot.dto.response.TourSpotDetailResponse; import com.opendata.domain.tourspot.entity.TourSpot; -import com.opendata.domain.tourspot.entity.TourSpotCurrentCongestion; import com.opendata.domain.tourspot.entity.TourSpotEvent; import com.opendata.domain.tourspot.entity.TourSpotMonthlyCongestion; import com.opendata.domain.tourspot.entity.TourSpotTag; From 0bc34d6205f0674928138c5bb54284d57fda7555 Mon Sep 17 00:00:00 2001 From: Jinyoung Date: Tue, 16 Sep 2025 14:20:20 +0900 Subject: [PATCH 2/2] =?UTF-8?q?feat:=20=EC=83=89=EC=83=81=20=EC=86=8D?= =?UTF-8?q?=EC=84=B1=20=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/com/opendata/domain/tourspot/dto/TourSpotTagDto.java | 3 ++- .../java/com/opendata/domain/tourspot/entity/TourSpotTag.java | 3 +++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/src/main/java/com/opendata/domain/tourspot/dto/TourSpotTagDto.java b/src/main/java/com/opendata/domain/tourspot/dto/TourSpotTagDto.java index 1524b8d..dd98e7a 100644 --- a/src/main/java/com/opendata/domain/tourspot/dto/TourSpotTagDto.java +++ b/src/main/java/com/opendata/domain/tourspot/dto/TourSpotTagDto.java @@ -1,5 +1,6 @@ package com.opendata.domain.tourspot.dto; public record TourSpotTagDto( - String tourSpotCategory + String tourSpotCategory, + String tagColor ) {} \ No newline at end of file diff --git a/src/main/java/com/opendata/domain/tourspot/entity/TourSpotTag.java b/src/main/java/com/opendata/domain/tourspot/entity/TourSpotTag.java index b2c2b1e..aca7f52 100644 --- a/src/main/java/com/opendata/domain/tourspot/entity/TourSpotTag.java +++ b/src/main/java/com/opendata/domain/tourspot/entity/TourSpotTag.java @@ -19,4 +19,7 @@ public class TourSpotTag extends TourSpotAssociated{ @Column(name = "tourspot_category") private String tourSpotCategory; + @Column(name = "tag_color") + private String tagColor; + }