quizapp/FWLAZ_Web/Data/Question.cs
2024-09-01 21:12:09 +02:00

19 lines
522 B
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace FWLAZ_Web.Data
{
public class Question
{
public int Id { get; set; }
public int Number { get; set; }
public string Text { get; set; } = null!;
public List<Answer> Answers { get; set; } = new List<Answer>();
public virtual List<QuestionGroup> QuestionGroups { get; set; } = new();
public virtual Quiz Quiz { get; set; } = null!;
}
}