1
0
mirror of https://github.com/Sonarr/Sonarr.git synced 2024-12-29 02:57:15 +02:00
Sonarr/NzbDrone.Core/Parser/Model/ReleaseInfo.cs
2013-09-13 16:20:35 -07:00

27 lines
658 B
C#

using System;
namespace NzbDrone.Core.Parser.Model
{
public class ReleaseInfo
{
public string Title { get; set; }
public long Size { get; set; }
public string DownloadUrl { get; set; }
public string InfoUrl { get; set; }
public string CommentUrl { get; set; }
public String Indexer { get; set; }
public DateTime PublishDate { get; set; }
public int Age
{
get
{
return DateTime.UtcNow.Subtract(PublishDate).Days;
}
}
public string ReleaseGroup { get; set; }
public int TvRageId { get; set; }
}
}