namespace GestionaDenuncias.Shared.Models;

public sealed class GlobalLeaksStoredSession
{
    public string Username { get; set; } = string.Empty;
    public string Password { get; set; } = string.Empty;
    public string? SessionId { get; set; }
    public string? Role { get; set; }
    public DateTimeOffset UpdatedAt { get; set; } = DateTimeOffset.UtcNow;

    public bool HasActiveSession => !string.IsNullOrWhiteSpace(SessionId);
}
