revamp
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
namespace maintenance.Data.Entities;
|
||||
|
||||
public sealed class ManagedPageEntity
|
||||
{
|
||||
public Guid Id { get; set; }
|
||||
public string Key { get; set; } = string.Empty;
|
||||
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; }
|
||||
}
|
||||
Reference in New Issue
Block a user