Updated Structure, and fixed paths.

- Project does not work still in this version as communication is still not happening between Client/Server/Core. Fake UI is still somewhat needed to progress
This commit is contained in:
2026-03-15 23:51:51 -04:00
parent cc921f4b70
commit 9bc41d9a6d
17 changed files with 162 additions and 250 deletions

View File

@@ -0,0 +1,16 @@
using SurrealDb.Net.Models;
namespace RelayCore.Models;
public class Sessions : Record
{
public required string UserId { get; set; }
public required string TokenHash { get; set; }
public required DateTime IssuedAt { get; set; }
public required DateTime ExpiresAt { get; set; }
public DateTime? LastUsedAt { get; set; }
public bool Revoked { get; set; }
public required string DeviceName { get; set; }
public required string IpAddress { get; set; }
public required string UserAgent { get; set; }
}