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