move models to shared, make new admin project

This commit is contained in:
Lapis
2026-06-16 18:32:28 -04:00
parent ee98c4c369
commit c20d215ee0
106 changed files with 60428 additions and 5 deletions
@@ -0,0 +1,24 @@
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;
}