From 1d245e28c9b1b18a45097a72bc4ff166c59c37ba Mon Sep 17 00:00:00 2001 From: Christian Mollekopf Date: Mon, 31 Oct 2016 18:45:59 +0100 Subject: Mail::Contact mapping --- common/domain/mail.fbs | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) (limited to 'common/domain/mail.fbs') 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 @@ namespace Sink.ApplicationDomain.Buffer; +table MailContact { + name: string; + email: string; +} + table Mail { uid:string; folder:string; - sender:string; - senderName:string; + sender:MailContact; + to:[MailContact]; + cc:[MailContact]; + bcc:[MailContact]; subject:string; date:string; unread:bool = false; -- cgit v1.2.3