blob: ee502e8ceec16928338a5392138dba59b966e212 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
module Common.Model.Frequency
( Frequency(..)
) where
import Data.Aeson (FromJSON, ToJSON)
import GHC.Generics (Generic)
data Frequency =
Punctual
| Monthly
deriving (Eq, Read, Show, Generic)
instance FromJSON Frequency
instance ToJSON Frequency
|