Added initial models.
This commit is contained in:
11
Harmonia.Core/Models/Playlist.cs
Normal file
11
Harmonia.Core/Models/Playlist.cs
Normal file
@@ -0,0 +1,11 @@
|
||||
namespace Harmonia.Core.Models;
|
||||
|
||||
public class Playlist(string name)
|
||||
{
|
||||
public string UID { get; set; } = Guid.NewGuid().ToString();
|
||||
public string Name { get; set; } = name;
|
||||
public List<PlaylistSong> Songs { get; set; } = [];
|
||||
public List<GroupOption> GroupOptions { get; set; } = [];
|
||||
public List<SortOption> SortOptions { get; set; } = [];
|
||||
public bool IsLocked { get; set; }
|
||||
}
|
||||
Reference in New Issue
Block a user