Fix : 수정
This commit is contained in:
parent
28d34dba8b
commit
4946be1f49
@ -16,6 +16,10 @@ import java.util.List;
|
|||||||
import java.util.Map;
|
import java.util.Map;
|
||||||
import java.util.stream.Collectors;
|
import java.util.stream.Collectors;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 매장 추천 인터랙터 클래스
|
* 매장 추천 인터랙터 클래스
|
||||||
* 사용자 취향 기반 매장 추천 기능을 구현
|
* 사용자 취향 기반 매장 추천 기능을 구현
|
||||||
|
|||||||
@ -52,4 +52,7 @@ public class RecommendStoreResponse {
|
|||||||
|
|
||||||
@Schema(description = "태그 목록", example = "[\"매운맛\", \"혼밥\"]")
|
@Schema(description = "태그 목록", example = "[\"매운맛\", \"혼밥\"]")
|
||||||
private List<String> tags;
|
private List<String> tags;
|
||||||
|
|
||||||
|
@Schema(description = "가게 점수")
|
||||||
|
private Double rating;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -17,42 +17,66 @@ public class StoreDetailResponse {
|
|||||||
@Schema(description = "매장 ID", example = "1")
|
@Schema(description = "매장 ID", example = "1")
|
||||||
private Long storeId;
|
private Long storeId;
|
||||||
|
|
||||||
@Schema(description = "매장명", example = "맛있는 김치찌개")
|
@Schema(description = "매장명", example = "맛있는 한식당")
|
||||||
private String storeName;
|
private String storeName;
|
||||||
|
|
||||||
@Schema(description = "카테고리", example = "한식")
|
|
||||||
private String category;
|
|
||||||
|
|
||||||
@Schema(description = "주소", example = "서울시 강남구 테헤란로 123")
|
@Schema(description = "주소", example = "서울시 강남구 테헤란로 123")
|
||||||
private String address;
|
private String address;
|
||||||
|
|
||||||
@Schema(description = "전화번호", example = "02-1234-5678")
|
@Schema(description = "카테고리", example = "한식")
|
||||||
private String phoneNumber;
|
private String category;
|
||||||
|
|
||||||
@Schema(description = "위도", example = "37.5665")
|
@Schema(description = "평점", example = "4.5")
|
||||||
private Double latitude;
|
private Double rating;
|
||||||
|
|
||||||
@Schema(description = "경도", example = "126.9780")
|
@Schema(description = "리뷰 수", example = "256")
|
||||||
private Double longitude;
|
|
||||||
|
|
||||||
@Schema(description = "평균 평점", example = "4.5")
|
|
||||||
private Double averageRating;
|
|
||||||
|
|
||||||
@Schema(description = "리뷰 수", example = "127")
|
|
||||||
private Integer reviewCount;
|
private Integer reviewCount;
|
||||||
|
|
||||||
|
@Schema(description = "거리(미터)", example = "500")
|
||||||
|
private Integer distance;
|
||||||
|
|
||||||
|
@Schema(description = "태그 목록", example = "[\"맛집\", \"혼밥\", \"가성비\"]")
|
||||||
|
private List<String> tags;
|
||||||
|
|
||||||
@Schema(description = "매장 이미지 URL 목록")
|
@Schema(description = "매장 이미지 URL 목록")
|
||||||
private List<String> imageUrls;
|
private List<String> images;
|
||||||
|
|
||||||
@Schema(description = "운영시간", example = "10:00-22:00")
|
@Schema(description = "매장 설명")
|
||||||
private String operatingHours;
|
private String description;
|
||||||
|
|
||||||
@Schema(description = "AI 요약", example = "친절한 서비스와 맛있는 김치찌개로 유명한 곳입니다")
|
@Schema(description = "개인화된 추천 이유", example = "당신이 좋아하는 '매운맛' 특성을 가진 매장입니다")
|
||||||
|
private String personalizedReason;
|
||||||
|
|
||||||
|
@Schema(description = "AI 요약", example = "고객들이 매운맛과 친절한 서비스를 칭찬하는 매장입니다")
|
||||||
private String aiSummary;
|
private String aiSummary;
|
||||||
|
|
||||||
@Schema(description = "긍정 키워드", example = "[\"맛있다\", \"친절하다\", \"깔끔하다\"]")
|
@Schema(description = "운영 시간")
|
||||||
private List<String> topPositiveKeywords;
|
private String operatingHours;
|
||||||
|
|
||||||
@Schema(description = "부정 키워드", example = "[\"시끄럽다\", \"대기시간\"]")
|
@Schema(description = "전화번호")
|
||||||
private List<String> topNegativeKeywords;
|
private String phoneNumber;
|
||||||
|
|
||||||
|
@Schema(description = "메뉴 정보")
|
||||||
|
private List<MenuInfo> menuList;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 메뉴 정보 내부 클래스
|
||||||
|
*/
|
||||||
|
@Getter
|
||||||
|
@Builder
|
||||||
|
@Schema(description = "메뉴 정보")
|
||||||
|
public static class MenuInfo {
|
||||||
|
|
||||||
|
@Schema(description = "메뉴명", example = "김치찌개")
|
||||||
|
private String menuName;
|
||||||
|
|
||||||
|
@Schema(description = "가격", example = "8000")
|
||||||
|
private Integer price;
|
||||||
|
|
||||||
|
@Schema(description = "메뉴 설명", example = "매콤한 김치찌개")
|
||||||
|
private String description;
|
||||||
|
|
||||||
|
@Schema(description = "인기 메뉴 여부", example = "true")
|
||||||
|
private Boolean isPopular;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
@ -31,6 +31,12 @@ public class TasteAnalysisResponse {
|
|||||||
@Schema(description = "선호 태그 목록", example = "[\"매운맛\", \"혼밥\"]")
|
@Schema(description = "선호 태그 목록", example = "[\"매운맛\", \"혼밥\"]")
|
||||||
private List<String> preferredTags;
|
private List<String> preferredTags;
|
||||||
|
|
||||||
|
@Schema(description = "가격 선호도 (0-100 점수)", example = "65.5")
|
||||||
|
private Double pricePreference;
|
||||||
|
|
||||||
|
@Schema(description = "거리 선호도 (0-100 점수)", example = "70.0")
|
||||||
|
private Double distancePreference;
|
||||||
|
|
||||||
@Schema(description = "분석 일시")
|
@Schema(description = "분석 일시")
|
||||||
private LocalDateTime analysisDate;
|
private LocalDateTime analysisDate;
|
||||||
|
|
||||||
@ -39,4 +45,5 @@ public class TasteAnalysisResponse {
|
|||||||
|
|
||||||
@Schema(description = "추천사항", example = "[\"한식 카테고리의 새로운 매장을 시도해보세요\"]")
|
@Schema(description = "추천사항", example = "[\"한식 카테고리의 새로운 매장을 시도해보세요\"]")
|
||||||
private List<String> recommendations;
|
private List<String> recommendations;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user