diff --git a/src/main/java/de/thm/arsnova/entities/SessionInfo.java b/src/main/java/de/thm/arsnova/entities/SessionInfo.java index 68ecb3133a4e8b12d1b1a1d62020cb4298911a07..8910586d0a6cebb6f3e3b6b8fb0fce32a34f1cdc 100644 --- a/src/main/java/de/thm/arsnova/entities/SessionInfo.java +++ b/src/main/java/de/thm/arsnova/entities/SessionInfo.java @@ -27,6 +27,7 @@ public class SessionInfo { private String keyword; private boolean active; private String courseType; + private long creationTime; private int numQuestions; private int numAnswers; @@ -39,6 +40,7 @@ public class SessionInfo { this.keyword = session.getKeyword(); this.active = session.isActive(); this.courseType = session.getCourseType(); + this.creationTime = session.getCreationTime(); } public static List<SessionInfo> fromSessionList(List<Session> sessions) { @@ -120,4 +122,12 @@ public class SessionInfo { public void setNumUnanswered(int numUnanswered) { this.numUnanswered = numUnanswered; } + + public long getCreationTime() { + return creationTime; + } + + public void setCreationTime(long creationTime) { + this.creationTime = creationTime; + } }