summaryrefslogtreecommitdiff
path: root/config/models
diff options
context:
space:
mode:
Diffstat (limited to 'config/models')
-rw-r--r--config/models6
1 files changed, 6 insertions, 0 deletions
diff --git a/config/models b/config/models
index 172af23..1bfa1c0 100644
--- a/config/models
+++ b/config/models
@@ -3,11 +3,17 @@ User
isAdmin Bool default=False
UniqueUser ident
deriving Show Eq
+Employment
+ user UserId
+ startDate Day
+ endDate Day Maybe
+ commitment Double
TimeEntry
user UserId
category TimeCategoryId
day Day
hours Double
+ note Text
timestamp UTCTime
deriving Show Eq
TimeCategory