summaryrefslogtreecommitdiff
path: root/jfr_playoff/dto.py
diff options
context:
space:
mode:
authoremkael <emkael@tlen.pl>2017-08-01 02:27:54 +0200
committeremkael <emkael@tlen.pl>2017-08-01 02:27:54 +0200
commit8e470272fea69a26c7d860c20433c9a0007f0b2e (patch)
tree4a4d142dfb2956c4a05ff47e86e60be6ad7a2b64 /jfr_playoff/dto.py
parentab1a44e39152f11560f7e0e823708914ca181e73 (diff)
DTOs moved to separate submodule
Diffstat (limited to 'jfr_playoff/dto.py')
-rw-r--r--jfr_playoff/dto.py14
1 files changed, 14 insertions, 0 deletions
diff --git a/jfr_playoff/dto.py b/jfr_playoff/dto.py
new file mode 100644
index 0000000..d34b01d
--- /dev/null
+++ b/jfr_playoff/dto.py
@@ -0,0 +1,14 @@
+class Team(object):
+ name = ''
+ score = 0.0
+
+class Match(object):
+ teams = None
+ running = 0
+ link = None
+ winner = None
+ loser = None
+ winner_matches = None
+ loser_matches = None
+
+__all__ = ['Team', 'Match']