Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
Max Mecklin
/
Moya
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 893660af
authored
May 12, 2012
by
Antti Tonkyra
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added end time for a compo
1 parent
91e9c541
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
0 deletions
code/LanBortalDatabase/src/fi/insomnia/bortal/model/Compo.java
code/LanBortalDatabase/src/fi/insomnia/bortal/model/Compo.java
View file @
893660a
...
...
@@ -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
;
}
}
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment