Sonarr/NzbDrone.Core/Repository/Indexer.cs

25 lines
692 B
C#
Raw Normal View History

2011-04-10 02:44:01 +00:00
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using SubSonic.SqlGeneration.Schema;
namespace NzbDrone.Core.Repository
{
public class Indexer
{
2011-04-06 03:14:43 +00:00
[SubSonicPrimaryKey]
public virtual int IndexerId { get; set; }
public string IndexerName { get; set; }
public string RssUrl { get; set; }
[SubSonicNullStringAttribute]
[DisplayFormat(ConvertEmptyStringToNull = false)]
public string ApiUrl { get; set; }
2011-04-10 02:44:01 +00:00
public bool Enabled { get; set; }
public int Order { get; set; }
[SubSonicToManyRelation]
public virtual List<History> Histories { get; private set; }
}
2011-04-10 02:44:01 +00:00
}