blob: 171b6ff35e4519274db08071e03b447a3e7ef166 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
module Common.Model.ExceedingPayer
( ExceedingPayer(..)
) where
import Data.Aeson (FromJSON, ToJSON)
import GHC.Generics (Generic)
import Common.Model.User (UserId)
data ExceedingPayer = ExceedingPayer
{ _exceedingPayer_userId :: UserId
, _exceedingPayer_amount :: Int
} deriving (Show, Generic)
instance FromJSON ExceedingPayer
instance ToJSON ExceedingPayer
|