blob: 48e75eae78e11a098fb7ab67c555c31f9aa4e127 (
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, Ord)
instance FromJSON Frequency
instance ToJSON Frequency
|