Skip to content

Commit

Permalink
[STYLE] #439: Quote List Redis관련 에러 해결
Browse files Browse the repository at this point in the history
  • Loading branch information
tank3a committed Aug 24, 2023
1 parent 874634d commit 2ec6a59
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ public class HistoryShortDto {
List<HistoryShortDto> histories;

@Builder
@ConstructorProperties({"historyId", "soldCount", "histories"})
public HistoryShortDto(Long historyId, int soldCount, List<HistoryShortDto> histories) {
this.historyId = historyId;
this.soldCount = soldCount;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
import lombok.*;

import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;

@Getter
Expand All @@ -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()) +
'}';
}
}

0 comments on commit 2ec6a59

Please sign in to comment.