mirror of
https://github.com/alexmickelson/canvasManagement.git
synced 2026-03-26 07:38:33 -06:00
restructured components so that there are more components in the pages
This commit is contained in:
8
Management/Models/Local/LocalCoursePage.cs
Normal file
8
Management/Models/Local/LocalCoursePage.cs
Normal file
@@ -0,0 +1,8 @@
|
||||
namespace LocalModels;
|
||||
|
||||
public record LocalCoursePage
|
||||
{
|
||||
public required string Title { get; init; }
|
||||
public required string Text { get; set; }
|
||||
public DateTime? DueDateForOrdering { get; init; }
|
||||
}
|
||||
@@ -4,9 +4,7 @@ public record LocalModule
|
||||
{
|
||||
public string Name { get; init; } = string.Empty;
|
||||
public string Notes { get; set; } = string.Empty;
|
||||
public IEnumerable<LocalAssignment> Assignments { get; init; } =
|
||||
Enumerable.Empty<LocalAssignment>();
|
||||
|
||||
public IEnumerable<LocalQuiz> Quizzes { get; init; } = Enumerable.Empty<LocalQuiz>();
|
||||
|
||||
public IEnumerable<LocalAssignment> Assignments { get; init; } = [];
|
||||
public IEnumerable<LocalQuiz> Quizzes { get; init; } = [];
|
||||
public IEnumerable<LocalCoursePage> Pages { get; init; } = [];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user