diff --git a/Management/Models/Local/LocalModules.cs b/Management/Models/Local/LocalModules.cs index e1438ff..28bf559 100644 --- a/Management/Models/Local/LocalModules.cs +++ b/Management/Models/Local/LocalModules.cs @@ -3,12 +3,12 @@ namespace LocalModels; public record LocalModule { public string Name { get; init; } = string.Empty; - public string Id { get; init; } = string.Empty; + public string Id { get; init; } = DateTime.UtcNow.Ticks.ToString(); + public ulong? CanvasId { get; set; } = null; + public string Notes { get; set; } = string.Empty; public IEnumerable Assignments { get; init; } = Enumerable.Empty(); public IEnumerable Quizzes { get; init; } = Enumerable.Empty(); - public ulong? CanvasId { get; set; } = null; - public string Notes { get; set; } = string.Empty; }