summaryrefslogtreecommitdiffstats
path: root/common/domain/mail.fbs
diff options
context:
space:
mode:
Diffstat (limited to 'common/domain/mail.fbs')
-rw-r--r--common/domain/mail.fbs11
1 files changed, 9 insertions, 2 deletions
diff --git a/common/domain/mail.fbs b/common/domain/mail.fbs
index f14e9f1..737a671 100644
--- a/common/domain/mail.fbs
+++ b/common/domain/mail.fbs
@@ -1,10 +1,17 @@
1namespace Sink.ApplicationDomain.Buffer; 1namespace Sink.ApplicationDomain.Buffer;
2 2
3table MailContact {
4 name: string;
5 email: string;
6}
7
3table Mail { 8table Mail {
4 uid:string; 9 uid:string;
5 folder:string; 10 folder:string;
6 sender:string; 11 sender:MailContact;
7 senderName:string; 12 to:[MailContact];
13 cc:[MailContact];
14 bcc:[MailContact];
8 subject:string; 15 subject:string;
9 date:string; 16 date:string;
10 unread:bool = false; 17 unread:bool = false;