Skip to content

Commit 9a1ea5b

Browse files
committed
feat(Time): [8단계] time 객체 클래스 생성
1 parent d9debfd commit 9a1ea5b

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
package roomescape.model;
2+
3+
public class Time {
4+
5+
private Long id;
6+
private String time;
7+
8+
public Time(String time) {
9+
this.time = time;
10+
}
11+
12+
public Long getId() {
13+
return id;
14+
}
15+
16+
public void setId(Long id) {
17+
this.id = id;
18+
}
19+
20+
public String getTime() {
21+
return time;
22+
}
23+
24+
public void setTime(String time) {
25+
this.time = time;
26+
}
27+
}

0 commit comments

Comments
 (0)