diff options
author | Christian Mollekopf <chrigi_1@fastmail.fm> | 2016-10-31 18:45:59 +0100 |
---|---|---|
committer | Christian Mollekopf <chrigi_1@fastmail.fm> | 2016-10-31 18:45:59 +0100 |
commit | 1d245e28c9b1b18a45097a72bc4ff166c59c37ba (patch) | |
tree | 46853e4df7d5b60435088b8503966567639b51b6 /common/domain/mail.fbs | |
parent | eed2f992300a82debdeda3ece5acf5c05954bbf7 (diff) | |
download | sink-1d245e28c9b1b18a45097a72bc4ff166c59c37ba.tar.gz sink-1d245e28c9b1b18a45097a72bc4ff166c59c37ba.zip |
Mail::Contact mapping
Diffstat (limited to 'common/domain/mail.fbs')
-rw-r--r-- | common/domain/mail.fbs | 11 |
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 @@ | |||
1 | namespace Sink.ApplicationDomain.Buffer; | 1 | namespace Sink.ApplicationDomain.Buffer; |
2 | 2 | ||
3 | table MailContact { | ||
4 | name: string; | ||
5 | email: string; | ||
6 | } | ||
7 | |||
3 | table Mail { | 8 | table 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; |