Merge branch 'unstable' into 'main'
maybe model inheritance is friends we made along the way... See merge request internship-2025/survey-webapp/surveylib!12
This commit is contained in:
commit
a520b8ca44
3 changed files with 2 additions and 2 deletions
|
|
@ -8,6 +8,8 @@ public class QuestionBase
|
||||||
|
|
||||||
public string Discriminator { get; set; }
|
public string Discriminator { get; set; }
|
||||||
|
|
||||||
|
public ICollection<AnswerVariant>? AnswerVariants { get; set; }
|
||||||
|
|
||||||
public Survey Survey { get; set; }
|
public Survey Survey { get; set; }
|
||||||
public ICollection<Answer> Answers { get; set; }
|
public ICollection<Answer> Answers { get; set; }
|
||||||
}
|
}
|
||||||
|
|
@ -2,5 +2,4 @@ namespace SurveyLib.Core.Models.QuestionVariants;
|
||||||
|
|
||||||
public class MultipleAnswerQuestion : QuestionBase
|
public class MultipleAnswerQuestion : QuestionBase
|
||||||
{
|
{
|
||||||
public ICollection<AnswerVariant> AnswerVariants { get; set; }
|
|
||||||
}
|
}
|
||||||
|
|
@ -2,5 +2,4 @@ namespace SurveyLib.Core.Models.QuestionVariants;
|
||||||
|
|
||||||
public class SingleAnswerQuestion : QuestionBase
|
public class SingleAnswerQuestion : QuestionBase
|
||||||
{
|
{
|
||||||
public ICollection<AnswerVariant> AnswerVariants { get; set; }
|
|
||||||
}
|
}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue