changes
This commit is contained in:
@@ -6,7 +6,15 @@ using System.Threading.Tasks;
|
||||
|
||||
namespace VDownload.Models
|
||||
{
|
||||
public abstract class Playlist
|
||||
public abstract class Playlist : List<Video>
|
||||
{
|
||||
#region PROPERTIES
|
||||
|
||||
public required string Name { get; set; }
|
||||
public required string Description { get; set; }
|
||||
public required Uri Url { get; set; }
|
||||
public Source Source { get; protected set; }
|
||||
|
||||
#endregion
|
||||
}
|
||||
}
|
||||
|
||||
@@ -17,9 +17,9 @@ namespace VDownload.Models
|
||||
public TimeSpan Duration { get; set; }
|
||||
public long Views { get; set; }
|
||||
public Uri ThumbnailUrl { get; set; }
|
||||
public ICollection<VideoStream> Streams { get; set; }
|
||||
public Uri Url { get; set; }
|
||||
public Source Source { get; set; }
|
||||
public ICollection<VideoStream> Streams { get; private set; }
|
||||
public Source Source { get; protected set; }
|
||||
|
||||
#endregion
|
||||
|
||||
|
||||
Reference in New Issue
Block a user