Skip to content

Commit a60bb40

Browse files
committed
feat: dto 변경
1 parent 5d9cca3 commit a60bb40

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
package com.waitit.capstone.domain.dashboard.dto;
22

3-
43
import lombok.Getter;
54

65
@Getter
@@ -10,10 +9,11 @@ public class HourlyMetricsQueryResult {
109
private final Long enteredCount;
1110
private final Long cancelledCount;
1211

13-
public HourlyMetricsQueryResult(Number hour, Number totalCount, Number enteredCount, Number cancelledCount) {
12+
13+
public HourlyMetricsQueryResult(Integer hour, Long totalCount, Long enteredCount, Long cancelledCount) {
1414
this.hour = hour == null ? null : hour.longValue();
15-
this.totalCount = totalCount == null ? null : totalCount.longValue();
16-
this.enteredCount = enteredCount == null ? null : enteredCount.longValue();
17-
this.cancelledCount = cancelledCount == null ? null : cancelledCount.longValue();
15+
this.totalCount = totalCount;
16+
this.enteredCount = enteredCount;
17+
this.cancelledCount = cancelledCount;
1818
}
1919
}

0 commit comments

Comments
 (0)