You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Ombi/PlexRequests.Store/RequestedModel.cs

43 lines
1.1 KiB

using System;
using System.Security.Cryptography;
using Dapper.Contrib.Extensions;
9 years ago
namespace PlexRequests.Store
{
[Table("Requested")]
public class RequestedModel : Entity
{
// ReSharper disable once IdentifierTypo
public int ProviderId { get; set; }
public string ImdbId { get; set; }
public string Overview { get; set; }
public string Title { get; set; }
public string PosterPath { get; set; }
public DateTime ReleaseDate { get; set; }
public RequestType Type { get; set; }
public string Status { get; set; }
public bool Approved { get; set; }
public string RequestedBy { get; set; }
public DateTime RequestedDate { get; set; }
public bool Available { get; set; }
public IssueState Issues { get; set; }
public string OtherMessage { get; set; }
}
public enum RequestType
{
Movie,
TvShow
}
public enum IssueState
{
WrongAudio,
NoSubtitles,
WrongContent,
PlaybackIssues,
Other
}
}