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