Season 2023

This commit is contained in:
2022-07-31 17:50:01 +02:00
parent 34f906f622
commit c76a972286
10 changed files with 90 additions and 12 deletions

View File

@@ -119,7 +119,7 @@ public class TLWMatch extends BaseMatch{
this.matchDatetime = matchDatetime;
}
public TLWMatch(int season, int league, int matchday, int matchNo, int teamIdHome, int teamIdGuest, String matchDatetime) {
public TLWMatch(int season, int league, int matchday, int matchNo, int teamIdHome, int teamIdGuest, String matchDatetime, int koMatch) {
this.season = season;
this.matchday = matchday;
this.league = league;
@@ -128,6 +128,7 @@ public class TLWMatch extends BaseMatch{
this.teamIdGuest = teamIdGuest;
this.matchDatetime = matchDatetime;
this.status = 0;
this.koMatch = koMatch;
}
public TLWMatch(TLWMatch referenceMatch) {

View File

@@ -58,7 +58,7 @@ public class TLWMatchesCreatorTipperLeague extends TLWMatchesCreatorBase {
String matchDatetime = getDeliveryDateForMatchday(matchday);
TLWMatch tlwMatch = new TLWMatch(this.season, this.league, matchday, matchNo, teamIdHome, teamIdGuest, matchDatetime);
TLWMatch tlwMatch = new TLWMatch(this.season, this.league, matchday, matchNo, teamIdHome, teamIdGuest, matchDatetime, 0);
this.TLWMatches.add(tlwMatch);
}
}

View File

@@ -50,7 +50,7 @@ public class TLWMatchesCreatorTipperPokal extends TLWMatchesCreatorBase{
String matchDatetime = getDeliveryDateForMatchday(matchday);
TLWMatch tlwMatch = new TLWMatch(this.season, this.league, matchday, matchNo, teamIdHome, teamIdGuest, matchDatetime);
TLWMatch tlwMatch = new TLWMatch(this.season, this.league, matchday, matchNo, teamIdHome, teamIdGuest, matchDatetime, 1);
this.TLWMatches.add(tlwMatch);
}
}