diff --git a/src/main/java/com/_8attery/seesaw/dto/api/response/ProjectReportBatteryResponseDto.java b/src/main/java/com/_8attery/seesaw/dto/api/response/ProjectReportBatteryResponseDto.java index 3769559..16d919e 100644 --- a/src/main/java/com/_8attery/seesaw/dto/api/response/ProjectReportBatteryResponseDto.java +++ b/src/main/java/com/_8attery/seesaw/dto/api/response/ProjectReportBatteryResponseDto.java @@ -59,11 +59,15 @@ public static class ChargeReport { @Getter @NoArgsConstructor - @AllArgsConstructor - @Builder public static class ValueNameAndCount { private String name; private Long count; + + @Builder + public ValueNameAndCount(String name, Long count) { + this.name = name; + this.count = count == null ? 0L : count; + } } @Getter