summaryrefslogtreecommitdiff
path: root/jfr_playoff/dto.py
diff options
context:
space:
mode:
Diffstat (limited to 'jfr_playoff/dto.py')
-rw-r--r--jfr_playoff/dto.py23
1 files changed, 23 insertions, 0 deletions
diff --git a/jfr_playoff/dto.py b/jfr_playoff/dto.py
new file mode 100644
index 0000000..f5e08ef
--- /dev/null
+++ b/jfr_playoff/dto.py
@@ -0,0 +1,23 @@
+class Team(object):
+ name = ''
+ score = 0.0
+
+
+class Match(object):
+ id = None
+ teams = None
+ running = 0
+ link = None
+ winner = None
+ loser = None
+ winner_matches = None
+ loser_matches = None
+
+
+class Phase(object):
+ title = None
+ link = None
+ matches = []
+ running = False
+
+__all__ = ('Team', 'Match', 'Phase')