mirror of
https://github.com/Sea-Haven-Industries/shoc-backend.git
synced 2026-10-01 13:23:13 +00:00
24 lines
665 B
C#
24 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";
|
||
|
|
}
|
||
|
|
}
|