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