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

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

newtype Currency = Currency Text deriving (Show, Generic)

instance FromJSON Currency
instance ToJSON Currency