aboutsummaryrefslogtreecommitdiff
path: root/server/src/Model/Mail.hs
blob: 9a4db73cf55e98987e4d4dffa94f1eeb859262ab (plain)
1
2
3
4
5
6
7
8
9
10
11
12
module Model.Mail
  ( Mail(..)
  ) where

import Data.Text (Text)

data Mail = Mail
  { from :: Text
  , to :: [Text]
  , subject :: Text
  , plainBody :: Text
  } deriving (Eq, Show)