mirror of
https://github.com/TbT480jcspy/Deluxe-2023-Server-Code.git
synced 2026-09-08 14:41:26 -07:00
16 lines
675 B
C#
16 lines
675 B
C#
using System.ComponentModel.DataAnnotations;
|
|
using System.Text.Json.Serialization;
|
|
|
|
namespace DeluxeNET.Data
|
|
{
|
|
public class CachedLogin
|
|
{
|
|
[JsonPropertyName("Id")] [Key] public long Id { get; set; }
|
|
[JsonPropertyName("platform")] public required int platform { get; set; }
|
|
[JsonPropertyName("platformId")] public required string platformId { get; set; }
|
|
[JsonPropertyName("accountId")] public required long accountId { get; set; }
|
|
[JsonPropertyName("lastLoginTime")] public required DateTime lastLoginTime { get; set; }
|
|
[JsonPropertyName("requirePassword")] public required bool requirePassword { get; set; }
|
|
}
|
|
}
|