Skip to content
Snippets Groups Projects
Commit 06dba3ed authored by Daniel Vogel's avatar Daniel Vogel
Browse files

Added creation time to SessionInfo

parent 0b1b1646
Branches
No related merge requests found
......@@ -28,6 +28,7 @@ public class SessionInfo {
private String keyword;
private boolean active;
private String courseType;
private long creationTime;
private int numQuestions;
private int numAnswers;
......@@ -40,6 +41,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) {
......@@ -121,4 +123,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;
}
}
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment