Files
VDownload/VDownload.Models/Video.cs

37 lines
819 B
C#
Raw Normal View History

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace VDownload.Models
{
public abstract class Video
{
#region PROPERTIES
public string Title { get; set; }
public string Author { get; set; }
public DateTime PublishDate { get; set; }
public TimeSpan Duration { get; set; }
public long Views { get; set; }
public Uri? ThumbnailUrl { get; set; }
public Uri Url { get; set; }
2024-02-28 01:22:13 +01:00
public ICollection<VideoStream> Streams { get; private set; }
public Source Source { get; protected set; }
#endregion
#region CONSTRUCTORS
protected Video()
{
Streams = new List<VideoStream>();
}
#endregion
}
}