namespace Backend.Domain;

public sealed class UserSession
{
    public Guid Id { get; set; }
    public string SessionToken { get; set; } = string.Empty;
    public string TwitchUserId { get; set; } = string.Empty;
    public string DisplayName { get; set; } = string.Empty;
    public string Role { get; set; } = "viewer";
    public string CreatedFromIp { get; set; } = string.Empty;
    public string UserAgent { get; set; } = string.Empty;
    public DateTimeOffset CreatedAt { get; set; }
    public DateTimeOffset LastSeenAt { get; set; }
    public bool IsActive { get; set; }
}
