yammat/config/models
nek0 8a525a1088 Merge branch 'i18n' of https://github.com/astro/yammat into astro-i18n
Conflicts:
	Handler/CashCheck.hs
	Handler/NewUser.hs
	templates/journal.hamlet
	templates/modify.hamlet
2015-04-10 18:46:59 +02:00

30 lines
578 B
Plaintext

User
ident Text
balance Int
timestamp Int
email Text Maybe
UniqueUser ident
deriving Typeable Show
Beverage
ident Text
price Int
amount Int
alertAmount Int
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
-- By default this file is used in Model.hs (which is imported by Foundation.hs)