Skip to content

Commit 7f18772

Browse files
committed
feat: dto 타입 수정
1 parent 7fc6264 commit 7f18772

1 file changed

Lines changed: 12 additions & 6 deletions

File tree

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

3-
import lombok.AllArgsConstructor;
3+
44
import lombok.Getter;
55

66
@Getter
7-
@AllArgsConstructor
87
public class HourlyMetricsQueryResult {
9-
private Integer hour;
10-
private Long totalCount;
11-
private Long enteredCount;
12-
private Long cancelledCount;
8+
private final Integer hour;
9+
private final Long totalCount;
10+
private final Long enteredCount;
11+
private final Long cancelledCount;
12+
13+
public HourlyMetricsQueryResult(Integer hour, Long totalCount, Long enteredCount, Long cancelledCount) {
14+
this.hour = hour;
15+
this.totalCount = totalCount;
16+
this.enteredCount = enteredCount;
17+
this.cancelledCount = cancelledCount;
18+
}
1319
}

0 commit comments

Comments
 (0)