diff --git a/backend/src/main/java/autoever2/cartag/quotes/dtos/HistoryShortDto.java b/backend/src/main/java/autoever2/cartag/quotes/dtos/HistoryShortDto.java index e76a67f..2343c20 100644 --- a/backend/src/main/java/autoever2/cartag/quotes/dtos/HistoryShortDto.java +++ b/backend/src/main/java/autoever2/cartag/quotes/dtos/HistoryShortDto.java @@ -21,7 +21,6 @@ public class HistoryShortDto { List histories; @Builder - @ConstructorProperties({"historyId", "soldCount", "histories"}) public HistoryShortDto(Long historyId, int soldCount, List histories) { this.historyId = historyId; this.soldCount = soldCount; diff --git a/backend/src/main/java/autoever2/cartag/quotes/dtos/QuoteRequestDto.java b/backend/src/main/java/autoever2/cartag/quotes/dtos/QuoteRequestDto.java index 2d8a1a6..b96ebd3 100644 --- a/backend/src/main/java/autoever2/cartag/quotes/dtos/QuoteRequestDto.java +++ b/backend/src/main/java/autoever2/cartag/quotes/dtos/QuoteRequestDto.java @@ -3,6 +3,7 @@ import lombok.*; import java.util.ArrayList; +import java.util.Arrays; import java.util.List; @Getter @@ -28,4 +29,17 @@ public QuoteRequestDto(int carId, int powerTrainId, int bodyTypeId, int operatio this.optionIdList = new ArrayList<>(); this.optionIdList.addAll(optionIdList); } + + @Override + public String toString() { + return "QuoteRequestDto{" + + "carId=" + carId + + ", powerTrainId=" + powerTrainId + + ", bodyTypeId=" + bodyTypeId + + ", operationId=" + operationId + + ", outerColorId=" + outerColorId + + ", innerColorId=" + innerColorId + + ", optionIdList=" + Arrays.toString(optionIdList.toArray()) + + '}'; + } }