- 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
17 lines
584 B
C#
17 lines
584 B
C#
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; }
|
|
} |