summaryrefslogtreecommitdiff
path: root/jfr_playoff/dto.py
diff options
context:
space:
mode:
authoremkael <emkael@tlen.pl>2017-08-01 02:35:02 +0200
committeremkael <emkael@tlen.pl>2017-08-01 02:35:02 +0200
commit904f476b1cb17f83a369e1b03440b00809535fc1 (patch)
tree2fbe54afaaabeab0093abdce0be041be8f6ff3a4 /jfr_playoff/dto.py
parent8e470272fea69a26c7d860c20433c9a0007f0b2e (diff)
Playoff phase is now also stored as DTO, arbitrary setting reads factored out of content generator
Diffstat (limited to 'jfr_playoff/dto.py')
-rw-r--r--jfr_playoff/dto.py7
1 files changed, 6 insertions, 1 deletions
diff --git a/jfr_playoff/dto.py b/jfr_playoff/dto.py
index d34b01d..9a72a12 100644
--- a/jfr_playoff/dto.py
+++ b/jfr_playoff/dto.py
@@ -11,4 +11,9 @@ class Match(object):
winner_matches = None
loser_matches = None
-__all__ = ['Team', 'Match']
+class Phase(object):
+ title = None
+ link = None
+ matches = []
+
+__all__ = ['Team', 'Match', 'Phase']