feat(data): add navigation properties to all entity models

This commit is contained in:
mika kuns
2026-04-16 08:36:22 +02:00
parent a064865417
commit f8f13865d2
7 changed files with 28 additions and 0 deletions

View File

@@ -26,4 +26,11 @@ public sealed class TaskEntity
public string? Model { get; set; }
public string? SystemPrompt { get; set; }
public string? AgentPath { get; set; }
// Navigation properties
public ListEntity List { get; set; } = null!;
public WorktreeEntity? Worktree { get; set; }
public ICollection<TagEntity> Tags { get; set; } = new List<TagEntity>();
public ICollection<TaskRunEntity> Runs { get; set; } = new List<TaskRunEntity>();
public ICollection<SubtaskEntity> Subtasks { get; set; } = new List<SubtaskEntity>();
}