using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Text.Json.Serialization;
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>();

        [JsonIgnore]
        public virtual List<QuestionGroup> QuestionGroups { get; set; } = new();

        [JsonIgnore]
        public virtual Quiz Quiz { get; set; } = null!;
    }
}
