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