diff options
Diffstat (limited to 'server/src/Model/Mail.hs')
-rw-r--r-- | server/src/Model/Mail.hs | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/server/src/Model/Mail.hs b/server/src/Model/Mail.hs new file mode 100644 index 0000000..780efcc --- /dev/null +++ b/server/src/Model/Mail.hs @@ -0,0 +1,12 @@ +module Model.Mail + ( Mail(..) + ) where + +import Data.Text (Text) + +data Mail = Mail + { from :: Text + , to :: [Text] + , subject :: Text + , body :: Text + } deriving (Eq, Show) |