summaryrefslogtreecommitdiff
path: root/jfr_playoff/dto.py
diff options
context:
space:
mode:
authoremkael <emkael@tlen.pl>2017-08-01 13:41:27 +0200
committeremkael <emkael@tlen.pl>2017-08-01 13:41:27 +0200
commitca21319b59b3188582b70a78965729b9131dd409 (patch)
tree307102d542ff2dd030dfa97b5580bb8860be03f7 /jfr_playoff/dto.py
parent7f76c56ab258c8978c39507eb997852e2280449d (diff)
Additional properties in DTOs
Diffstat (limited to 'jfr_playoff/dto.py')
-rw-r--r--jfr_playoff/dto.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/jfr_playoff/dto.py b/jfr_playoff/dto.py
index 9a72a12..bf3e16a 100644
--- a/jfr_playoff/dto.py
+++ b/jfr_playoff/dto.py
@@ -3,6 +3,7 @@ class Team(object):
score = 0.0
class Match(object):
+ id = None
teams = None
running = 0
link = None
@@ -15,5 +16,6 @@ class Phase(object):
title = None
link = None
matches = []
+ running = False
__all__ = ['Team', 'Match', 'Phase']