20 lines
524 B
C#
20 lines
524 B
C#
using LiteDB;
|
|
using System.Numerics;
|
|
using static DeluxeBackend.Enums;
|
|
|
|
namespace DeluxeBackend.Models
|
|
{
|
|
public class Cachedlogin
|
|
{
|
|
[BsonId]
|
|
public long Id { get; set; }
|
|
public required PlatformType Platform { get; set; }
|
|
public required string PlatformId { get; set; }
|
|
public required DateTime LastLoginAt { get; set; }
|
|
public bool RequirePassword { get; set; } = false;
|
|
|
|
[BsonRef("accounts")]
|
|
public required Account Account { get; set; }
|
|
}
|
|
}
|