mirror of
https://github.com/Readarr/Readarr
synced 2026-04-27 23:30:59 +02:00
31 lines
No EOL
590 B
C#
31 lines
No EOL
590 B
C#
using NzbDrone.Core.Datastore;
|
|
|
|
namespace NzbDrone.Core.MediaCover
|
|
{
|
|
|
|
public enum MediaCoverTypes
|
|
{
|
|
Unknown = 0,
|
|
Poster = 1,
|
|
Banner = 2,
|
|
Fanart = 3,
|
|
Screenshot = 4,
|
|
Headshot = 5
|
|
}
|
|
|
|
public class MediaCover : IEmbeddedDocument
|
|
{
|
|
public MediaCoverTypes CoverType { get; set; }
|
|
public string Url { get; set; }
|
|
|
|
public MediaCover()
|
|
{
|
|
}
|
|
|
|
public MediaCover(MediaCoverTypes coverType, string url)
|
|
{
|
|
CoverType = coverType;
|
|
Url = url;
|
|
}
|
|
}
|
|
} |