2013-02-18 10:59:43 +03:00
|
|
|
using System;
|
2013-03-05 08:37:33 +03:00
|
|
|
using System.Linq;
|
2013-02-18 10:59:43 +03:00
|
|
|
using NzbDrone.Core.Datastore;
|
2013-03-25 07:36:24 +03:00
|
|
|
using ServiceStack.DataAnnotations;
|
2011-04-20 04:20:20 +03:00
|
|
|
|
2013-03-05 08:37:33 +03:00
|
|
|
namespace NzbDrone.Core.Jobs
|
2011-04-20 04:20:20 +03:00
|
|
|
{
|
2013-03-25 07:36:24 +03:00
|
|
|
[Alias("JobDefinitions")]
|
2013-02-18 10:59:43 +03:00
|
|
|
public class JobDefinition : ModelBase
|
2011-04-20 04:20:20 +03:00
|
|
|
{
|
|
|
|
public Boolean Enable { get; set; }
|
2013-03-25 07:36:24 +03:00
|
|
|
public String Type { get; set; }
|
2011-04-20 04:20:20 +03:00
|
|
|
public String Name { get; set; }
|
|
|
|
public Int32 Interval { get; set; }
|
|
|
|
public DateTime LastExecution { get; set; }
|
|
|
|
public Boolean Success { get; set; }
|
|
|
|
}
|
|
|
|
}
|