We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 24fb51c commit a3c0efaCopy full SHA for a3c0efa
src/main/java/roomescape/model/reservation/Reservation.java
@@ -1,13 +1,15 @@
1
package roomescape.model.reservation;
2
3
+import roomescape.model.time.Time;
4
+
5
public class Reservation {
6
7
private Long id;
8
private String name;
9
private String date;
- private String time;
10
+ private Time time;
11
- public Reservation(String name, String date, String time) {
12
+ public Reservation(String name, String date, Time time) {
13
this.name = name;
14
this.date = date;
15
this.time = time;
@@ -29,7 +31,7 @@ public String getDate() {
29
31
return date;
30
32
}
33
- public String getTime() {
34
+ public Time getTime() {
35
return time;
36
37
0 commit comments