Esempio n. 1
0
    def __init__(self,
                 sub_competition,
                 rank,
                 team,
                 year,
                 wins,
                 loses,
                 ties,
                 goals_for,
                 goals_against,
                 skill,
                 oid=None):
        self.sub_competition = sub_competition

        Record.__init__(self, rank, team, year, wins, loses, ties, goals_for,
                        goals_against, skill, oid)
Esempio n. 2
0
 def __init__(self, record):
     team_dto = TeamDTO.get_dto(record.team)
     Record.__init__(self, record.rank, team_dto, record.year, record.wins,
                     record.loses, record.ties, record.goals_for,
                     record.goals_against, record.skill, record.oid)