feat: save submission history, refs #7

This commit is contained in:
2025-05-24 18:34:15 +02:00
parent d9da54653e
commit fbb6d1a409
6 changed files with 243 additions and 20 deletions

View File

@@ -1,3 +1,4 @@
using System.ComponentModel.DataAnnotations;
using Microsoft.EntityFrameworkCore;
public class SongSuggestion
@@ -7,4 +8,7 @@ public class SongSuggestion
public User? User { get; set; }
public Song? Song { get; set; }
public DateTime Date { get; set; }
public bool UserHasSubmitted { get; set; }
public required SuggestionHelper SuggestionHelper { get; set; }
public bool HasUsedSuggestion { get; set; }
}