aboutsummaryrefslogtreecommitdiff
path: root/server/src/Thermoprint/Server/Database/Instances.hs
blob: e54f90e36318b9a2f2c35ff54703e983480cc05f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
{-# LANGUAGE TemplateHaskell            #-}
{-# LANGUAGE TypeSynonymInstances       #-}
{-# LANGUAGE FlexibleInstances          #-}

module Thermoprint.Server.Database.Instances where

import Thermoprint.API (Printout, JobStatus, PrintingError)

import Database.Persist.TH

derivePersistFieldJSON "Printout"
derivePersistField "PrintingError"
derivePersistField "JobStatus"