Skip to content

Commit 229b5c2

Browse files
committed
fix : dto 필드명 수정
1 parent 546e26d commit 229b5c2

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

src/main/java/com/DecodEat/domain/products/dto/response/ProductBasedRecommendationResponseDto.java

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -12,18 +12,18 @@
1212
public class ProductBasedRecommendationResponseDto {
1313

1414
private List<RecommendationDetailDto> recommendations;
15-
private int totalCount;
16-
private Long userId;
17-
private Long referenceProductId;
18-
private String recommendationType;
19-
private String dataQuality;
15+
private int total_count;
16+
private Long user_id;
17+
private Long reference_product_id;
18+
private String recommendation_type;
19+
private String data_quality;
2020
private String message;
2121

2222
@Getter
2323
@NoArgsConstructor
2424
public static class RecommendationDetailDto {
25-
private Long productId;
26-
private double similarityScore;
27-
private String recommendationReason;
25+
private Long product_id;
26+
private double similarity_score;
27+
private String recommendation_reason;
2828
}
2929
}

0 commit comments

Comments
 (0)