summaryrefslogtreecommitdiff
path: root/jfr_playoff/dto.py
blob: 9a72a12d87cc8bd1904953fdad3c9a5cff4929e9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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

class Phase(object):
    title = None
    link = None
    matches = []

__all__ = ['Team', 'Match', 'Phase']