aboutsummaryrefslogtreecommitdiff
path: root/common/src/Common/Model
diff options
context:
space:
mode:
authorJoris2020-01-20 19:47:23 +0100
committerJoris2020-01-20 22:11:19 +0100
commit47c2a4d6b68c54eed5f7b45671b1ccaf8c0db200 (patch)
treef5c1c4281bb26810bdd0fea3d6582d3eafa227cf /common/src/Common/Model
parentd20d7ceec2a14f79ebb06555a71d424aeaa90e54 (diff)
Show payment stats
Diffstat (limited to 'common/src/Common/Model')
-rw-r--r--common/src/Common/Model/PaymentStats.hs10
1 files changed, 10 insertions, 0 deletions
diff --git a/common/src/Common/Model/PaymentStats.hs b/common/src/Common/Model/PaymentStats.hs
new file mode 100644
index 0000000..2dea640
--- /dev/null
+++ b/common/src/Common/Model/PaymentStats.hs
@@ -0,0 +1,10 @@
+module Common.Model.PaymentStats
+ ( PaymentStats
+ ) where
+
+import Data.Map (Map)
+import Data.Time.Calendar (Day)
+
+import Common.Model.Category (CategoryId)
+
+type PaymentStats = [(Day, Map CategoryId Int)]