namespace Modules.User.Application.Models;

public class Session
{
    public Guid Id { get; init; }
    
    public bool IsCurrentSession { get; set; }
    public string RefreshToken { get; init; } = null!;
    public ClientInfo ClientInfo { get; init; } = null!;
    
    public UserOnlineStatus OnlineStatus { get; set; } = UserOnlineStatus.Unknown;
    public DateTimeOffset? LastOnline { get; init; }

    public DateTime ExpiredDate { get; init; } = default!;

    public Guid AccountId { get; init; }
}