subscription view finished

This commit is contained in:
2024-03-09 02:56:56 +01:00
Unverified
parent 70fdc10f50
commit 38475a96ad
17 changed files with 439 additions and 31 deletions

View File

@@ -0,0 +1,32 @@
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using VDownload.Models;
namespace VDownload.Services.Data.Subscriptions
{
public class Subscription
{
#region PROPERTIES
[JsonProperty("guid")]
public Guid Guid { get; private set; } = Guid.NewGuid();
[JsonProperty("name")]
public string Name { get; set; }
[JsonProperty("source")]
public Source Source { get; set; }
[JsonProperty("url")]
public Uri Url { get; set; }
[JsonProperty("video_ids")]
public ICollection<string> VideoIds { get; private set; } = new List<string>();
#endregion
}
}