mirror of
https://github.com/fergalmoran/podnoms.git
synced 2025-12-22 09:18:08 +00:00
23 lines
843 B
C#
23 lines
843 B
C#
using System.Collections.Generic;
|
|
|
|
namespace PodNoms.Api.Models {
|
|
public class Playlist : BaseModel {
|
|
public int Id { get; set; }
|
|
public int PodcastId { get; set; }
|
|
public string SourceUrl { get; set; }
|
|
public Podcast Podcast { get; set; }
|
|
public List<PodcastEntry> PodcastEntries { get; set; }
|
|
public List<ParsedPlaylistItem> ParsedPlaylistItems { get; set; }
|
|
public Playlist() {
|
|
ParsedPlaylistItems = new List<ParsedPlaylistItem>();
|
|
}
|
|
}
|
|
public class ParsedPlaylistItem : BaseModel {
|
|
public int Id { get; set; }
|
|
public string VideoId { get; set; }
|
|
public string VideoType { get; set; }
|
|
public bool IsProcessed { get; set; }
|
|
public int PlaylistId { get; set; }
|
|
public Playlist Playlist { get; set; }
|
|
}
|
|
} |