mirror of
https://github.com/Sea-Haven-Industries/shoc-backend.git
synced 2026-09-30 10:43:13 +00:00
Introduce in-process WeekRolled job with idempotent ledger to increment carriedOver for the SHOC board, plus optional PastDue cache and admin reprocess endpoints while keeping isPastDue derived on-read.
21 lines
663 B
C#
21 lines
663 B
C#
namespace SeaHaven.Services.DTOs
|
|
{
|
|
public sealed class WeekRolledJobResult
|
|
{
|
|
public int Processed { get; set; }
|
|
public int Skipped { get; set; }
|
|
public int Failed { get; set; }
|
|
public string CorrelationId { get; set; } = "";
|
|
public DateOnly SourceWeekStart { get; set; }
|
|
public DateOnly SourceWeekEnd { get; set; }
|
|
public long DurationMs { get; set; }
|
|
}
|
|
|
|
public sealed class PastDueCacheJobResult
|
|
{
|
|
public int SetCount { get; set; }
|
|
public int ClearedCount { get; set; }
|
|
public int ExaminedCount { get; set; }
|
|
public long DurationMs { get; set; }
|
|
}
|
|
}
|