mirror of
https://github.com/Sonarr/Sonarr.git
synced 2024-11-01 00:12:30 +01:00
b930eb0993
Built-in Newznab providers cannot be deleted (they would be re-added anyways), nor can the URL be changed.
22 lines
453 B
C#
22 lines
453 B
C#
using System;
|
|
using PetaPoco;
|
|
|
|
namespace NzbDrone.Core.Repository
|
|
{
|
|
[TableName("NewznabDefinitions")]
|
|
[PrimaryKey("Id", autoIncrement = true)]
|
|
public class NewznabDefinition
|
|
{
|
|
public int Id { get; set; }
|
|
|
|
public Boolean Enable { get; set; }
|
|
|
|
public String Name { get; set; }
|
|
|
|
public String Url { get; set; }
|
|
|
|
public String ApiKey { get; set; }
|
|
|
|
public bool BuiltIn { get; set; }
|
|
}
|
|
} |