Add PairingCode entity + migration

This commit is contained in:
2026-06-11 18:51:18 +00:00
parent b862bf6f0f
commit 720583de0a
5 changed files with 486 additions and 0 deletions
+10
View File
@@ -0,0 +1,10 @@
namespace backend.Pairing;
public class PairingCode
{
public string Code { get; set; } = ""; // 8 chars, primary key
public Guid OwnerUserId { get; set; }
public string DeviceName { get; set; } = "";
public DateTimeOffset ExpiresAt { get; set; }
public DateTimeOffset? ConsumedAt { get; set; }
}