forked from Sarah/Lieb-Website
Added Polls and locking raids if not enough users are signed up
needs testing
This commit is contained in:
parent
32af72a262
commit
ccb276a265
14 changed files with 289 additions and 8 deletions
12
Lieb/Models/Poll/Poll.cs
Normal file
12
Lieb/Models/Poll/Poll.cs
Normal file
|
@ -0,0 +1,12 @@
|
|||
namespace Lieb.Models.Poll
|
||||
{
|
||||
public class Poll
|
||||
{
|
||||
public int PollId { get; set; }
|
||||
public string Question { get; set; }
|
||||
public ICollection<PollOption> Options { get; set; } = new List<PollOption>();
|
||||
public ICollection<PollAnswer> Answers { get; set; } = new List<PollAnswer>();
|
||||
public int? RaidId { get; set; }
|
||||
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue