aboutsummaryrefslogtreecommitdiff
path: root/src/Model/SkillType.hs
blob: 3e533b8f3f4a1175104b0183e6e9f1b63803312e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
{-# LANGUAGE DeriveGeneric #-}

module Model.SkillType where

import GHC.Generics
import Data.Yaml

import Model.Translated

data SkillType = SkillType
  { name :: Translated
  , skills :: [Translated]
  } deriving (Show, Read, Eq, Generic)

instance FromJSON SkillType