feat: exorcise entity framework core from most responders

This commit is contained in:
sam 2024-10-27 23:02:42 +01:00
parent 33b78a7ac5
commit 5891f28f7c
Signed by: sam
GPG key ID: 5F3C3C1B3166639D
32 changed files with 743 additions and 145 deletions

View file

@ -30,14 +30,11 @@ public class Message
public string? Member { get; set; }
public string? System { get; set; }
[Column("username")]
public byte[] EncryptedUsername { get; set; } = [];
public byte[] Username { get; set; } = [];
[Column("content")]
public byte[] EncryptedContent { get; set; } = [];
public byte[] Content { get; set; } = [];
[Column("metadata")]
public byte[]? EncryptedMetadata { get; set; }
public byte[]? Metadata { get; set; }
public int AttachmentSize { get; set; } = 0;
}