CRUD für Libraries erstellt
This commit is contained in:
1 parent
620d3794a6
commit
4fe401e360
8 files changed
+409
-3
No files matched your search
@@ -1,13 +1,15 @@
|
||||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
|
||||
namespace songrequests_blazor.Data
|
||||
{
|
||||
public class Library
|
||||
{
|
||||
public int Id { get; set; }
|
||||
[Required(ErrorMessage = "Der Name fehlt")]
|
||||
public string Name { get; set; } = null!;
|
||||
public List<Song>? Songs { get; set; }
|
||||
public List<string>? ScanPaths { get; set; }
|
||||
public List<string>? ScanPaths { get; set; }
|
||||
public LibraryType Type { get; set; }
|
||||
|
||||
[Column("Sessions_ID")]
|
||||
|
||||
Reference in new issue
Block a user