Add PairingCode entity + migration
This commit is contained in:
@@ -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; }
|
||||
}
|
||||
Reference in New Issue
Block a user