JobStatus init

This commit is contained in:
Mikhail Kuznetsov
2023-06-20 12:29:58 +10:00
parent 57fe9eff09
commit 9c19e2fb91
20 changed files with 1370 additions and 148 deletions

View File

@@ -30,8 +30,21 @@ namespace PARR.DAL.Models
public Guid ApplicationId { get; set; }
[ForeignKey(nameof(ApplicationId))]
public Application? Application { get; set; }
/// <summary>
/// Частота запуска Job в минутах
/// </summary>
public int Frequency { get; set; }
/// <summary>
/// В режиме manual значит время регистрации регламентной работы АСУ ЕСПП, в auto - время старта Job.
/// </summary>
public DateTimeOffset StartAt { get; set; }
/// <summary>
/// Активация Job
/// </summary>
public bool IsEnabled { get; set; }
public ICollection<JobJournal> Journals { get; set; } = new HashSet<JobJournal>();
}
}