surveylib/SurveyLib.Core/Models/QuestionBase.cs
shept ab331a32d9 maybe model inheritance is friends we made along the way...
- moved AnswerVariants to QuestionBase due to strange logic
2025-04-20 19:30:50 +05:00

15 lines
No EOL
380 B
C#

namespace SurveyLib.Core.Models;
public class QuestionBase
{
public int Id { get; set; }
public int SurveyId { get; set; }
public string Title { get; set; }
public string Discriminator { get; set; }
public ICollection<AnswerVariant>? AnswerVariants { get; set; }
public Survey Survey { get; set; }
public ICollection<Answer> Answers { get; set; }
}