24 lines
641 B
C#
24 lines
641 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace FWLAZ_Web.Data
|
|
{
|
|
/// <summary>
|
|
/// Beispiel:
|
|
/// Quiz[0] = Feuerwehr Leistungsabzeichen Rheinland-Pfalz
|
|
/// Quiz[1] = Feuerwehr Leistungsabzeichen Baden-Würtemberg
|
|
/// </summary>
|
|
public class Quiz
|
|
{
|
|
public int Id { get; set; }
|
|
public string Name { get; set; } = null!;
|
|
public bool IsMultipleChoice { get; set; }
|
|
|
|
public List<Question> Questions { get; set; } = new();
|
|
public List<QuestionGroup> Questiongroups { get; set; } = new();
|
|
}
|
|
}
|