26 lines
983 B
C#
26 lines
983 B
C#
namespace maintenance.Data.Entities;
|
|
|
|
public sealed class ManagedPageEntity
|
|
{
|
|
public Guid Id { get; set; }
|
|
public string Key { get; set; } = string.Empty;
|
|
public string? Stub { get; set; }
|
|
public string? NormalizedStub { get; set; }
|
|
public string DisplayName { get; set; } = string.Empty;
|
|
public string PageKind { get; set; } = "maintenance"; // maintenance | error
|
|
public bool IsDefaultFallback { get; set; }
|
|
public bool IsEnabled { get; set; } = true;
|
|
public bool OverrideWindow { get; set; }
|
|
public int Priority { get; set; }
|
|
|
|
public DateTime? StartUtc { get; set; }
|
|
public DateTime? EndUtc { get; set; }
|
|
public string? RecurrenceRule { get; set; } // cron-like expression (future evaluator)
|
|
|
|
// Structured content payload rendered into a locked template.
|
|
public string ContentJson { get; set; } = "{}";
|
|
|
|
public string LastUpdatedBy { get; set; } = string.Empty;
|
|
public DateTime LastUpdatedAtUtc { get; set; }
|
|
}
|