summaryrefslogtreecommitdiffstats
path: root/common/domain/mail.fbs
diff options
context:
space:
mode:
authorChristian Mollekopf <chrigi_1@fastmail.fm>2016-10-31 18:45:59 +0100
committerChristian Mollekopf <chrigi_1@fastmail.fm>2016-10-31 18:45:59 +0100
commit1d245e28c9b1b18a45097a72bc4ff166c59c37ba (patch)
tree46853e4df7d5b60435088b8503966567639b51b6 /common/domain/mail.fbs
parenteed2f992300a82debdeda3ece5acf5c05954bbf7 (diff)
downloadsink-1d245e28c9b1b18a45097a72bc4ff166c59c37ba.tar.gz
sink-1d245e28c9b1b18a45097a72bc4ff166c59c37ba.zip
Mail::Contact mapping
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;