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:
15
RelayServer/Models/Messages.cs
Normal file
15
RelayServer/Models/Messages.cs
Normal file
@@ -0,0 +1,15 @@
|
||||
using SurrealDb.Net.Models;
|
||||
|
||||
namespace RelayServer.Models;
|
||||
|
||||
public class Messages : Record
|
||||
{
|
||||
public required string ConversationId { get; set; }
|
||||
public required string SenderUserId { get; set; }
|
||||
public required string RecipientUserId { get; set; }
|
||||
public required string CipherText { get; set; }
|
||||
public required string Nonce { get; set; }
|
||||
public required string Tag { get; set; }
|
||||
public required string EncryptedKey { get; set; }
|
||||
public required DateTime CreatedAt { get; set; }
|
||||
}
|
||||
Reference in New Issue
Block a user