diff options
Diffstat (limited to 'src/server/Job/Kind.hs')
-rw-r--r-- | src/server/Job/Kind.hs | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/server/Job/Kind.hs b/src/server/Job/Kind.hs new file mode 100644 index 0000000..473b7c4 --- /dev/null +++ b/src/server/Job/Kind.hs @@ -0,0 +1,14 @@ +{-# LANGUAGE TemplateHaskell #-} + +module Job.Kind + ( Kind(..) + ) where + +import Database.Persist.TH + +data Kind = + MonthlyPayment + | WeeklyReport + deriving (Eq, Show, Read) + +derivePersistField "Kind" |