mirror of
https://github.com/Sea-Haven-Industries/shoc-backend.git
synced 2026-09-30 07:13:12 +00:00
23 lines
665 B
C#
23 lines
665 B
C#
namespace Api.SeaHavenIndustries.Options
|
|
{
|
|
public class WorkOrderJobsOptions
|
|
{
|
|
public const string SectionName = "WorkOrderJobs";
|
|
|
|
public WeekRolledJobOptions WeekRolled { get; set; } = new();
|
|
public PastDueCacheJobOptions PastDueCache { get; set; } = new();
|
|
}
|
|
|
|
public class WeekRolledJobOptions
|
|
{
|
|
public bool Enabled { get; set; } = true;
|
|
public string RunAtUtc { get; set; } = "00:05";
|
|
public string DayOfWeek { get; set; } = "Monday";
|
|
}
|
|
|
|
public class PastDueCacheJobOptions
|
|
{
|
|
public bool Enabled { get; set; }
|
|
public string RunAtUtc { get; set; } = "00:10";
|
|
}
|
|
}
|