mirror of
https://github.com/alexmickelson/canvasManagement.git
synced 2026-03-25 23:28:33 -06:00
started merging module and calendar pages
This commit is contained in:
@@ -4,8 +4,9 @@ public record CourseModule(
|
||||
[property: Required]
|
||||
[property: StringLength(50, ErrorMessage = "Name too long (50 character limit).")]
|
||||
string Name,
|
||||
IEnumerable<LocalAssignment>? Assignments
|
||||
IEnumerable<LocalAssignment>? Assignments = null
|
||||
)
|
||||
{
|
||||
[JsonInclude]
|
||||
public IEnumerable<LocalAssignment> Assignments = Assignments ?? new LocalAssignment[] { };
|
||||
}
|
||||
@@ -1,4 +1,4 @@
|
||||
public record SemesterConfiguration(
|
||||
public record SemesterCalendarConfig(
|
||||
DateTime StartDate,
|
||||
DateTime EndDate,
|
||||
IEnumerable<DayOfWeek> Days
|
||||
|
||||
Reference in New Issue
Block a user