1
0
mirror of https://github.com/Sonarr/Sonarr.git synced 2025-01-19 10:54:05 +02:00

38 lines
883 B
C#
Raw Normal View History

using System;
2013-05-02 23:53:32 -07:00
using System.Collections.Generic;
2013-02-23 13:29:22 -08:00
using NzbDrone.Core.Datastore;
using NzbDrone.Core.Tv;
namespace NzbDrone.Core.History
{
public class History : ModelBase
{
2013-06-08 23:20:38 -07:00
public History()
{
Data = new Dictionary<string, string>();
}
2013-03-24 18:38:11 -07:00
public int EpisodeId { get; set; }
public int SeriesId { get; set; }
2013-06-08 23:20:38 -07:00
public string SourceTitle { get; set; }
2013-02-23 13:29:22 -08:00
public QualityModel Quality { get; set; }
public DateTime Date { get; set; }
2013-05-10 15:33:04 -07:00
public Episode Episode { get; set; }
public Series Series { get; set; }
2013-06-08 23:20:38 -07:00
2013-06-10 18:55:05 -07:00
public HistoryEventType EventType { get; set; }
2013-06-08 23:20:38 -07:00
public Dictionary<string, string> Data { get; set; }
2013-02-23 13:29:22 -08:00
}
2013-06-08 23:20:38 -07:00
2013-06-10 18:55:05 -07:00
public enum HistoryEventType
{
Unknown = 0,
Grabbed = 1,
SeriesFolderImported = 2,
DownloadFolderImported = 3
}
2013-02-23 13:29:22 -08:00
}