aboutsummaryrefslogtreecommitdiff
path: root/src/Model/Project.hs
blob: 7825e606cd0605ced0140752e8d4b94f5735daae (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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