diff options
Diffstat (limited to 'src/executable/haskell/Model')
-rw-r--r-- | src/executable/haskell/Model/Mail.hs | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/executable/haskell/Model/Mail.hs b/src/executable/haskell/Model/Mail.hs new file mode 100644 index 0000000..a19f9ae --- /dev/null +++ b/src/executable/haskell/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 + , plainBody :: Text + } deriving (Eq, Show) |