mirror of
https://github.com/alexmickelson/canvasManagement.git
synced 2026-03-26 07:38:33 -06:00
15 lines
350 B
C#
15 lines
350 B
C#
namespace LocalModels;
|
|
|
|
public record LocalQuizQuestionAnswer
|
|
{
|
|
public ulong? CanvasId { get; init; }
|
|
public string Id { get; init; } = string.Empty;
|
|
|
|
//correct gets a weight of 100 in canvas
|
|
public bool Correct { get; init; }
|
|
public string Text { get; init; } = string.Empty;
|
|
|
|
public string HtmlText => Markdig.Markdown.ToHtml(Text);
|
|
|
|
}
|