Commit 893660af by Antti Tonkyra

Added end time for a compo

1 parent 91e9c541
......@@ -50,6 +50,10 @@ public class Compo extends GenericEntity {
@Column(name = "compo_start")
@Temporal(TemporalType.TIMESTAMP)
private Calendar startTime;
@Column(name = "compo_start")
@Temporal(TemporalType.TIMESTAMP)
private Calendar endTime;
/**
* When the voting should start
......@@ -79,6 +83,8 @@ public class Compo extends GenericEntity {
@Column(name = "max_participant_count")
private int maxParticipantCount;
/**
* If ( for some unimaginable reason ) compo is delayed hold voting can be
* used to postpone the start of the voting from the time specified in
......@@ -198,4 +204,12 @@ public class Compo extends GenericEntity {
public void setEvent(LanEvent event) {
this.event = event;
}
public Calendar getEndTime() {
return endTime;
}
public void setEndTime(Calendar endTime) {
this.endTime = endTime;
}
}
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!