19 lines
558 B
C#
19 lines
558 B
C#
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; }
|
|
|
|
}
|
|
}
|