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
|
|
|
|
using SubSonic.SqlGeneration.Schema;
|
|
|
|
|
|
|
|
|
|
namespace NzbDrone.Core.Repository
|
|
|
|
|
{
|
2011-06-17 19:50:49 +00:00
|
|
|
|
[TableName("JobSettings")]
|
|
|
|
|
[PrimaryKey("Id", autoIncrement = true)]
|
2011-04-20 07:44:13 +00:00
|
|
|
|
public class JobSetting
|
2011-04-20 01:20:20 +00:00
|
|
|
|
{
|
|
|
|
|
[SubSonicPrimaryKey(true)]
|
|
|
|
|
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; }
|
|
|
|
|
}
|
|
|
|
|
}
|