You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
595 B
17 lines
595 B
using AIK.Common.Enum;
|
|
using AIK.Models.ApiModels;
|
|
using AIK.Models.ApiModels.Integral;
|
|
|
|
namespace AIK.Models.SystemSettings;
|
|
|
|
public sealed class UserSessionState
|
|
{
|
|
public bool IsLoggedIn { get; init; }
|
|
public bool IsQrCodeExpired { get; init; }
|
|
public string StatusText { get; init; } = string.Empty;
|
|
public UserStatus UserStatus { get; init; } = UserStatus.NotLoggedIn;
|
|
public UserModel? UserInfo { get; init; }
|
|
public IntegralModel? IntegralInfo { get; init; }
|
|
public byte[]? QrCodeUserBytes { get; init; }
|
|
public bool CanShowAuthorizedMenus { get; init; }
|
|
}
|
|
|