mirror of
https://github.com/alexmickelson/canvasManagement.git
synced 2026-03-26 07:38:33 -06:00
19 lines
603 B
C#
19 lines
603 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 record SimpleTimeOnly
|
|
{
|
|
public int Hour { get; init; } = 1;
|
|
public int Minute { get; init; } = 0;
|
|
}
|