blob: b7d3efbc593e6305d3f48d0d0155431fe831aadf (
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 (Eq, Show, Generic)
instance FromJSON ExceedingPayer
instance ToJSON ExceedingPayer
|