aboutsummaryrefslogtreecommitdiff
path: root/src/server/Model
diff options
context:
space:
mode:
Diffstat (limited to 'src/server/Model')
-rw-r--r--src/server/Model/Mail.hs13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/server/Model/Mail.hs b/src/server/Model/Mail.hs
new file mode 100644
index 0000000..7ee8a8e
--- /dev/null
+++ b/src/server/Model/Mail.hs
@@ -0,0 +1,13 @@
+module Model.Mail
+ ( Mail(..)
+ ) where
+
+import Data.Text (Text)
+import qualified Data.Text.Lazy as LT
+
+data Mail = Mail
+ { to :: [Text]
+ , subject :: Text
+ , plainBody :: LT.Text
+ , htmlBody :: LT.Text
+ } deriving (Eq, Show)