Added minUsers and Polls
This commit is contained in:
parent
cb1dbfbf98
commit
1d999e89bf
8 changed files with 45 additions and 10 deletions
|
@ -1,11 +1,18 @@
|
|||
namespace Lieb.Models.Poll
|
||||
{
|
||||
public enum AnswerType
|
||||
{
|
||||
Buttons = 1,
|
||||
Dropdown = 2
|
||||
}
|
||||
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 AnswerType AnswerType {get; set;}
|
||||
public bool AllowCustomAnswer {get; set;} = false;
|
||||
public int? RaidId { get; set; }
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue