aboutsummaryrefslogtreecommitdiff
path: root/common/src/Common/Model/Email.hs
blob: e938f83e794ab4f6e662d7a18a48da4f15052500 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
module Common.Model.Email
  ( Email(..)
  ) where

import           Data.Aeson   (FromJSON, ToJSON)
import           Data.Text    (Text)
import           GHC.Generics (Generic)

newtype Email = Email Text deriving (Show, Generic)

instance FromJSON Email
instance ToJSON Email