{-# LANGUAGE UndecidableInstances #-}
{-# OPTIONS_GHC -fno-warn-orphans #-}

module Database.Persist.Types.Instances
  (
  ) where

import ClassyPrelude
import Database.Persist.Types

instance (Hashable record, Hashable (Key record)) => Hashable (Entity record) where
  s `hashWithSalt` Entity{..} = s `hashWithSalt` entityKey `hashWithSalt` entityVal
