surveylib/SurveyLib.Core/Models/QuestionBase.cs
2025-03-12 23:57:50 +05:00

11 lines
No EOL
381 B
C#
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

namespace SurveyLib.Core.Models;
public class QuestionBase
{
public int Id { get; set; } // TODO: А ведь их наверное много будет, вдруг int однажды не хватит...
public int SurveyId { get; set; }
public string Title { get; set; }
public Survey Survey { get; set; }
public ICollection<Answer> Answers { get; set; }
}