Add linked suggestions with synced voting

This commit is contained in:
2026-02-05 09:07:46 +01:00
parent 431370ceb9
commit 5d432c9d17
19 changed files with 725 additions and 34 deletions

View File

@@ -34,5 +34,9 @@ public class Suggestion
public DateTimeOffset CreatedAt { get; set; } = DateTimeOffset.UtcNow;
public int? ParentSuggestionId { get; set; }
public Suggestion? ParentSuggestion { get; set; }
public ICollection<Suggestion> LinkedSuggestions { get; set; } = new List<Suggestion>();
public ICollection<Vote> Votes { get; set; } = new List<Vote>();
}