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

module Model.Company where

import GHC.Generics
import Data.Yaml

data Company = Company
  { name :: String
  , location :: String
  } deriving (Show, Read, Eq, Generic)

instance FromJSON Company