updated quiz form edtor

This commit is contained in:
2023-08-12 10:03:48 -06:00
parent 93c1c754cd
commit 4de6122549
9 changed files with 421 additions and 15 deletions

View File

@@ -1,6 +1,9 @@
namespace LocalModels;
public record LocalQuiz
{
public string Id { get; init; } = ""; public ulong? CanvasId { get; init; } = null;
public string Id { get; init; } = "";
public ulong? CanvasId { get; init; } = null;
public string Name { get; init; } = "";
public string Description { get; init; } = "";
public bool LockAtDueDate { get; init; }
@@ -9,5 +12,6 @@ public record LocalQuiz
public bool ShuffleAnswers { get; init; }
public bool OneQuestionAtATime { get; init; }
public int AllowedAttempts { get; init; }
//quiz type
}
public IEnumerable<LocalQuizQuestion> Questions { get; init; } =
Enumerable.Empty<LocalQuizQuestion>();
}