mirror of
https://github.com/alexmickelson/canvasManagement.git
synced 2026-03-26 15:48:32 -06:00
18 lines
600 B
C#
18 lines
600 B
C#
namespace LocalModels;
|
|
|
|
public record LocalQuiz
|
|
{
|
|
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; }
|
|
public DateTime? LockAt { get; init; }
|
|
public DateTime DueAt { get; init; }
|
|
public bool ShuffleAnswers { get; init; }
|
|
public bool OneQuestionAtATime { get; init; }
|
|
public int AllowedAttempts { get; init; }
|
|
public IEnumerable<LocalQuizQuestion> Questions { get; init; } =
|
|
Enumerable.Empty<LocalQuizQuestion>();
|
|
}
|