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:
17
RelayCore/Models/Users.cs
Normal file
17
RelayCore/Models/Users.cs
Normal file
@@ -0,0 +1,17 @@
|
||||
using SurrealDb.Net.Models;
|
||||
|
||||
namespace RelayCore.Models;
|
||||
|
||||
public class Users : Record
|
||||
{
|
||||
public required string Username { get; set; }
|
||||
public string? Password { get; set; }
|
||||
public required string Email { get; set; }
|
||||
public required DateTime CreatedAt { get; set; }
|
||||
public required DateTime UpdatedAt { get; set; }
|
||||
public required DateTime LastLogin { get; set; }
|
||||
public bool TwoFactorEnabled { get; set; }
|
||||
public bool EmailVerified { get; set; }
|
||||
public required int AccountStatus { get; set; }
|
||||
public required int OnlineStatus { get; set; }
|
||||
}
|
||||
Reference in New Issue
Block a user