namespace GB5Shared.Draft
{
///
/// Bound from appsettings.json "DraftSettings" section.
///
public class DraftSettings
{
/// Hours of inactivity before a draft session is expired.
public int OrphanRetentionHours { get; set; } = 48;
/// Max sessions to expire per cleanup cycle.
public int OrphanCleanupBatchSize { get; set; } = 50;
/// Polling interval in minutes. 0 = disabled.
public int OrphanIntervalMinutes { get; set; } = 60;
/// Hard limit on dirty rows per draft session.
public int MaxRowsPerDraft { get; set; } = 2000;
public bool EnableDraftSharing { get; set; } = true;
}
}