1
0
Fork 0
mirror of https://github.com/Radarr/Radarr synced 2025-03-01 09:26:12 +00:00
Radarr/NzbDrone.Core/Repository/Indexer.cs
2011-04-09 19:44:01 -07:00

25 lines
No EOL
692 B
C#

using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using SubSonic.SqlGeneration.Schema;
namespace NzbDrone.Core.Repository
{
public class Indexer
{
[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; }
public bool Enabled { get; set; }
public int Order { get; set; }
[SubSonicToManyRelation]
public virtual List<History> Histories { get; private set; }
}
}