diff options
Diffstat (limited to 'src/Model/Project.hs')
-rw-r--r-- | src/Model/Project.hs | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/src/Model/Project.hs b/src/Model/Project.hs new file mode 100644 index 0000000..7825e60 --- /dev/null +++ b/src/Model/Project.hs @@ -0,0 +1,18 @@ +{-# LANGUAGE DeriveGeneric #-} + +module Model.Project where + +import GHC.Generics +import Data.Yaml + +import Model.Translated + +data Project = Project + { name :: String + , technologies :: [String] + , description :: Maybe Translated + , git :: String + , pageLink :: Maybe String + } deriving (Show, Read, Eq, Generic) + +instance FromJSON Project |