2011-04-20 03:20:20 +02:00
|
|
|
|
using System;
|
2011-06-17 21:50:49 +02:00
|
|
|
|
using PetaPoco;
|
2011-04-20 03:20:20 +02:00
|
|
|
|
|
|
|
|
|
namespace NzbDrone.Core.Repository
|
|
|
|
|
{
|
2011-07-08 05:27:11 +02:00
|
|
|
|
[TableName("JobDefinitions")]
|
2011-06-17 21:50:49 +02:00
|
|
|
|
[PrimaryKey("Id", autoIncrement = true)]
|
2011-07-08 05:27:11 +02:00
|
|
|
|
public class JobDefinition
|
2011-04-20 03:20:20 +02:00
|
|
|
|
{
|
|
|
|
|
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; }
|
|
|
|
|
}
|
|
|
|
|
}
|