feat(data): add IsStarred, IsMyDay, Notes to TaskEntity

This commit is contained in:
mika kuns
2026-04-20 09:59:12 +02:00
parent eff1045e63
commit a1190a35bd
3 changed files with 55 additions and 0 deletions

View File

@@ -48,6 +48,9 @@ public class TaskEntityConfiguration : IEntityTypeConfiguration<TaskEntity>
builder.Property(t => t.Model).HasColumnName("model");
builder.Property(t => t.SystemPrompt).HasColumnName("system_prompt");
builder.Property(t => t.AgentPath).HasColumnName("agent_path");
builder.Property(t => t.IsStarred).HasColumnName("is_starred").HasDefaultValue(false);
builder.Property(t => t.IsMyDay).HasColumnName("is_my_day").HasDefaultValue(false);
builder.Property(t => t.Notes).HasColumnName("notes");
builder.HasOne(t => t.List)
.WithMany(l => l.Tasks)

View File

@@ -26,6 +26,9 @@ public sealed class TaskEntity
public string? Model { get; set; }
public string? SystemPrompt { get; set; }
public string? AgentPath { get; set; }
public bool IsStarred { get; set; }
public bool IsMyDay { get; set; }
public string? Notes { get; set; }
// Navigation properties
public ListEntity List { get; set; } = null!;