#nullable enable using System.Collections.Generic; namespace JellyfinLessons.Data.Models; /// /// Represents a homeschool lesson plan. /// public class Lesson { /// /// Unique identifier (Guid). /// public string Id { get; set; } = string.Empty; /// /// Lesson title. /// public string Title { get; set; } = string.Empty; /// /// Target grade level. /// public int Grade { get; set; } /// /// Subject area (e.g. Math, Science, History). /// public string Subject { get; set; } = string.Empty; /// /// Date the lesson covers (ISO 8601 format). /// public string LessonDate { get; set; } = string.Empty; /// /// Optional description of the lesson. /// public string? Description { get; set; } /// /// Path to the source markdown or plan file. /// public string SourcePath { get; set; } = string.Empty; /// /// Pre-compiled HTML rendering of the lesson. /// public string? CompiledHtml { get; set; } /// /// ISO 8601 creation timestamp. /// public string CreatedAt { get; set; } = string.Empty; /// /// ISO 8601 last-updated timestamp. /// public string UpdatedAt { get; set; } = string.Empty; /// /// Associated media items (lazy-loaded). /// public List MediaItems { get; set; } = new(); }