14 lines
467 B
C#
14 lines
467 B
C#
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 DateTimeOffset CreatedAt { get; set; }
|
|
public DateTimeOffset LastSeenAt { get; set; }
|
|
public bool IsActive { get; set; }
|
|
}
|