Added mass disable / enable
This commit is contained in:
24
Tv7Playlist/Models/PlaylistEntryModel.cs
Normal file
24
Tv7Playlist/Models/PlaylistEntryModel.cs
Normal file
@@ -0,0 +1,24 @@
|
||||
using System;
|
||||
using Tv7Playlist.Data;
|
||||
|
||||
namespace Tv7Playlist.Models
|
||||
{
|
||||
public class PlaylistEntryModel
|
||||
{
|
||||
public PlaylistEntryModel()
|
||||
{
|
||||
}
|
||||
|
||||
public PlaylistEntryModel(PlaylistEntry entry)
|
||||
{
|
||||
Entry = entry ?? throw new ArgumentNullException(nameof(entry));
|
||||
Id = entry.Id;
|
||||
}
|
||||
|
||||
public Guid Id { get; set; }
|
||||
|
||||
public PlaylistEntry Entry { get; set; }
|
||||
|
||||
public bool Selected { get; set; }
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user