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