namespace Umbraco.Cms.Infrastructure.Models;
///
/// Model for distributed background jobs.
///
public class DistributedBackgroundJobModel
{
///
/// The id of the job.
///
public int Id { get; set; }
///
/// Name of job.
///
public required string Name { get; init; }
///
/// Period of job.
///
public TimeSpan Period { get; set; }
///
/// Time of last run.
///
public DateTime LastRun { get; set; }
///
/// If the job is running.
///
public bool IsRunning { get; set; }
///
/// Time of last attempted run.
///
public DateTime LastAttemptedRun { get; set; }
}