using System;
using System.Collections.ObjectModel;
using System.Diagnostics.CodeAnalysis;
namespace Jellyfin.Plugin.Jellypod.Models;
///
/// Container for podcast data persistence.
///
public class PodcastDatabase
{
///
/// Gets or sets the list of subscribed podcasts.
///
[SuppressMessage("Usage", "CA2227:Collection properties should be read only", Justification = "Required for JSON deserialization")]
public Collection Podcasts { get; set; } = new();
///
/// Gets or sets the last time the database was saved.
///
public DateTime LastSaved { get; set; }
}