yammat/config/models

36 lines
699 B
Plaintext
Raw Normal View History

2015-04-04 04:46:33 +00:00
User
ident Text
balance Int
timestamp Int
2015-04-07 20:03:21 +00:00
email Text Maybe
2015-04-16 00:12:03 +00:00
avatar AvatarId Maybe
2015-04-04 04:46:33 +00:00
UniqueUser ident
deriving Typeable Show
Beverage
ident Text
price Int
amount Int
alertAmount Int
2015-04-16 00:12:03 +00:00
avatar AvatarId Maybe
2015-04-04 04:46:33 +00:00
UniqueBeverage ident
deriving Typeable Show
Transaction
description Text
amount Int
time UTCTime
deriving Typeable Show
Cashier
balance Int
created UTCTime default=now()
2015-04-10 12:50:44 +00:00
deriving Typeable Show
CashCheck
balance Int
time UTCTime
2015-04-04 04:46:33 +00:00
deriving Typeable Show
2015-04-16 00:12:03 +00:00
Avatar
ident Text
data ByteString
deriving Typeable Show
2015-04-04 04:46:33 +00:00
-- By default this file is used in Model.hs (which is imported by Foundation.hs)