namespace EnvelopeGenerator.Application.Common.Dto; /// /// Represents a user's UI preferences stored in the distributed cache (dbo.TBDD_CACHE). /// public sealed class UserPreferencesDto { /// /// The active DevExpress theme name. /// Allowed values: "blazing-berry", "fluent", "purple" /// public string ThemeName { get; set; } = "blazing-berry"; /// /// Whether dark mode is active. /// Default: false (light mode). /// public bool IsDarkMode { get; set; } = false; /// /// Persisted DxGrid layout states, keyed by a stable grid identifier. /// Example keys: "sender.active-envelopes", "sender.completed-envelopes" /// Values are opaque JSON strings produced by DxGrid.SaveLayoutAsync(). /// public Dictionary GridLayouts { get; set; } = new(); }