📄 MatDenDagen/Models/Question.cs
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
using System;

namespace MatDenDagen.Models;

public enum QuestionType
{
    LongText,
    ShortText,
}

public sealed class Question
{
    public required Guid Id { get; init; }
    public required string Text { get; init; }
    public required QuestionType Type { get; init; }
}