mirror of
https://github.com/Sonarr/Sonarr.git
synced 2024-10-31 16:02:29 +01:00
9264dcdf88
Added run button to System/Jobs.
27 lines
571 B
C#
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; }
|
|
}
|
|
} |