using System.ComponentModel.DataAnnotations; namespace Lagerbestand.Models; /// /// Represents a todo/checklist item within a Kanban task /// public class KanbanTaskTodo { public Guid Id { get; set; } = Guid.NewGuid(); public Guid TaskId { get; set; } [Required] [MaxLength(500)] public string Text { get; set; } = string.Empty; public bool IsCompleted { get; set; } public int SortOrder { get; set; } public DateTime CreatedAt { get; set; } = DateTime.UtcNow; public DateTime? CompletedAt { get; set; } // Navigation properties public virtual KanbanTask? Task { get; set; } }