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:
12
RelayCore/Models/PasswordReset.cs
Normal file
12
RelayCore/Models/PasswordReset.cs
Normal file
@@ -0,0 +1,12 @@
|
||||
using SurrealDb.Net.Models;
|
||||
|
||||
namespace RelayCore.Models;
|
||||
|
||||
public class PasswordReset : Record
|
||||
{
|
||||
public required string UserId { get; set; }
|
||||
public required string TokenHash { get; set; }
|
||||
public required DateTime CreatedAt { get; set; }
|
||||
public required DateTime ExpiresAt { get; set; }
|
||||
public bool Revoked { get; set; }
|
||||
}
|
||||
Reference in New Issue
Block a user