Datenstruktur angepasst

This commit is contained in:
BuildTools committed 2024-05-25 20:19:37 +02:00
1 parent 89f5d51580
commit 205fb71316
15 files changed
+673 -686

No files matched your search

+22
View File
@@ -0,0 +1,22 @@
using System.ComponentModel.DataAnnotations.Schema;
namespace songrequests_blazor.Data
{
public class Library
{
public int Id { get; set; }
public string Name { get; set; } = null!;
public List<Song>? Songs { get; set; }
public LibraryType Type { get; set; }
[Column("Sessions_ID")]
public virtual List<Session>? UsedInSessions { get; set; }
public enum LibraryType
{
Local,
Spotify
}
}
}