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