blob: 846d98ab743d029d6afc84feacbeca2c11bf5bb2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
{-# LANGUAGE DeriveGeneric #-}
module Model where
import GHC.Generics
import Data.Yaml
import Model.Identity (Identity)
import Model.Job (Job)
import Model.Degree (Degree)
import Model.SkillType (SkillType)
import Model.Project (Project)
import Model.Translated (Translated)
data Model = Model
{ description :: String
, identity :: Identity
, jobs :: [Job]
, degrees :: [Degree]
, skillTypes :: [SkillType]
, interests :: [Translated]
, projects :: [Project]
} deriving (Show, Read, Eq, Generic)
instance FromJSON Model
|