Radarr/NzbDrone.Core/Repository/JobDefinition.cs

27 lines
571 B
C#

using System;
using PetaPoco;
namespace NzbDrone.Core.Repository
{
[TableName("JobDefinitions")]
[PrimaryKey("Id", autoIncrement = true)]
public class JobDefinition
{
public Int32 Id { get; set; }
public Boolean Enable { get; set; }
public String TypeName { get; set; }
public String Name { get; set; }
public Int32 Interval { get; set; }
public DateTime LastExecution { get; set; }
public Boolean Success { get; set; }
[Ignore]
public string Command { get; set; }
}
}