mirror of
https://github.com/alexmickelson/canvasManagement.git
synced 2026-03-25 23:28:33 -06:00
23 lines
849 B
C#
23 lines
849 B
C#
namespace LocalModels;
|
|
|
|
public record LocalCourse
|
|
{
|
|
public IEnumerable<LocalModule> Modules { get; init; } = Enumerable.Empty<LocalModule>();
|
|
public string Name { get; init; } = string.Empty;
|
|
public IEnumerable<DayOfWeek> DaysOfWeek { get; init; } = Enumerable.Empty<DayOfWeek>();
|
|
public ulong? CanvasId { get; init; }
|
|
public DateTime StartDate { get; init; }
|
|
public DateTime EndDate { get; init; }
|
|
public SimpleTimeOnly DefaultDueTime { get; init; } = new SimpleTimeOnly();
|
|
public IEnumerable<AssignmentTemplate> AssignmentTemplates { get; init; } =
|
|
Enumerable.Empty<AssignmentTemplate>();
|
|
public IEnumerable<LocalAssignmentGroup> AssignmentGroups { get; init; } =
|
|
Enumerable.Empty<LocalAssignmentGroup>();
|
|
}
|
|
|
|
public record SimpleTimeOnly
|
|
{
|
|
public int Hour { get; init; } = 1;
|
|
public int Minute { get; init; } = 0;
|
|
}
|