yammat/config/models
2015-05-19 05:37:22 +02:00

37 lines
756 B
Text

User
ident Text
balance Int
timestamp Int
email Text Maybe
avatar AvatarId Maybe
UniqueUser ident
deriving Typeable Show
Beverage
ident Text
price Int
amount Int
alertAmount Int
correctedAmount Int default=0
ml Int default=500
avatar AvatarId Maybe
UniqueBeverage ident
deriving Typeable Show
Transaction
description Text
amount Int
time UTCTime
deriving Typeable Show
Cashier
balance Int
created UTCTime default=now()
deriving Typeable Show
CashCheck
balance Int
time UTCTime
deriving Typeable Show
Avatar
ident Text
data ByteString
deriving Typeable Show
-- By default this file is used in Model.hs (which is imported by Foundation.hs)