diff --git a/src/main/java/org/ntlab/citrusserver/entities/Schedule.java b/src/main/java/org/ntlab/citrusserver/entities/Schedule.java index 02cbcd3..a5e9004 100644 --- a/src/main/java/org/ntlab/citrusserver/entities/Schedule.java +++ b/src/main/java/org/ntlab/citrusserver/entities/Schedule.java @@ -5,12 +5,14 @@ String startTime; String endTime; Integer bookId; + Integer scheduleId; - public Schedule(String t, String s, String e, Integer bid) { + public Schedule(String t, String s, String e, Integer bid, Integer sid) { title = t; startTime = s; endTime = e; bookId = bid; + scheduleId = sid; } public void setTitle(String t) {title = t;} @@ -21,4 +23,7 @@ public String getEndTime() {return endTime;} public void setBookId(Integer bid) {bookId = bid;} public Integer getBookId() {return bookId;} + public void setScheduleId(Integer sid) {scheduleId = sid;} + public Integer getScheduleId() {return scheduleId;} + }