mirror of
https://github.com/CannedNet/CannedNet.git
synced 2026-10-26 07:28:56 -07:00
24 lines
593 B
C#
24 lines
593 B
C#
using System.Text.Json.Serialization;
|
|
|
|
namespace CannedNet;
|
|
|
|
public class CachedLogin
|
|
{
|
|
[JsonIgnore]
|
|
public int Id { get; set; }
|
|
|
|
[JsonPropertyName("accountId")]
|
|
public int AccountId { get; set; }
|
|
|
|
[JsonPropertyName("platform")]
|
|
public PlatformType Platform { get; set; }
|
|
|
|
[JsonPropertyName("platformId")]
|
|
public string PlatformID { get; set; }
|
|
|
|
[JsonPropertyName("lastLoginTime")]
|
|
public DateTime LastLoginTime { get; set; }
|
|
|
|
[JsonPropertyName("requirePassword")]
|
|
public bool RequirePassword { get; set; } = false;
|
|
} |