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