import StandingModel from '@/Model/standing' ; import MatchModel from '@/Model/match' ; class GroupModel { private name : string ; private standings : StandingModel [ ] ; private matches : MatchModel [ ] ; private finished : boolean ; public constructor ( name , standings , matches , finished ) { this . name = name ; this . standings = standings ; this . matches = matches ; this . finished = finished ; } public getName ( ) { return this . name ; } public getDisplayName ( ) { return this . getName ( ) . toUpperCase ( ) ; } public getStandings ( ) { return this . standings ; } public setStandings ( standings ) { this . standings = standings ; } public getMatches ( ) { return this . matches ; } public getFinished ( ) { return this . finished ; } public setFinish ( finish ) { this . finished = finish ; } } export default GroupModel ;