166 lines
3.3 KiB
Java
166 lines
3.3 KiB
Java
package org.example.models;
|
|
|
|
import com.google.firebase.database.PropertyName;
|
|
|
|
public class GameMatch {
|
|
|
|
@PropertyName("home_id")
|
|
private int homeId;
|
|
|
|
@PropertyName("away_id")
|
|
private int awayId;
|
|
|
|
@PropertyName("home_nome")
|
|
private String homeName;
|
|
|
|
@PropertyName("away_nome")
|
|
private String awayName;
|
|
|
|
@PropertyName("home_logo")
|
|
private String homeLogo;
|
|
|
|
@PropertyName("away_logo")
|
|
private String awayLogo;
|
|
|
|
@PropertyName("home_golos")
|
|
private Integer homeGoals;
|
|
|
|
@PropertyName("away_golos")
|
|
private Integer awayGoals;
|
|
|
|
@PropertyName("data")
|
|
private String gameDate;
|
|
|
|
@PropertyName("hora")
|
|
private String gameHour;
|
|
|
|
@PropertyName("campo")
|
|
private String stadium;
|
|
|
|
@PropertyName("report_url")
|
|
private String reportUrl;
|
|
|
|
public GameMatch() {
|
|
}
|
|
|
|
@PropertyName("home_id")
|
|
public int getHomeId() {
|
|
return homeId;
|
|
}
|
|
|
|
@PropertyName("home_id")
|
|
public void setHomeId(int homeId) {
|
|
this.homeId = homeId;
|
|
}
|
|
|
|
@PropertyName("away_id")
|
|
public int getAwayId() {
|
|
return awayId;
|
|
}
|
|
|
|
@PropertyName("away_id")
|
|
public void setAwayId(int awayId) {
|
|
this.awayId = awayId;
|
|
}
|
|
|
|
@PropertyName("home_nome")
|
|
public String getHomeName() {
|
|
return homeName;
|
|
}
|
|
|
|
@PropertyName("home_nome")
|
|
public void setHomeName(String homeName) {
|
|
this.homeName = homeName;
|
|
}
|
|
|
|
@PropertyName("away_nome")
|
|
public String getAwayName() {
|
|
return awayName;
|
|
}
|
|
|
|
@PropertyName("away_nome")
|
|
public void setAwayName(String awayName) {
|
|
this.awayName = awayName;
|
|
}
|
|
|
|
@PropertyName("home_logo")
|
|
public String getHomeLogo() {
|
|
return homeLogo;
|
|
}
|
|
|
|
@PropertyName("home_logo")
|
|
public void setHomeLogo(String homeLogo) {
|
|
this.homeLogo = homeLogo;
|
|
}
|
|
|
|
@PropertyName("away_logo")
|
|
public String getAwayLogo() {
|
|
return awayLogo;
|
|
}
|
|
|
|
@PropertyName("away_logo")
|
|
public void setAwayLogo(String awayLogo) {
|
|
this.awayLogo = awayLogo;
|
|
}
|
|
|
|
@PropertyName("home_golos")
|
|
public Integer getHomeGoals() {
|
|
return homeGoals;
|
|
}
|
|
|
|
@PropertyName("home_golos")
|
|
public void setHomeGoals(Integer homeGoals) {
|
|
this.homeGoals = homeGoals;
|
|
}
|
|
|
|
@PropertyName("away_golos")
|
|
public Integer getAwayGoals() {
|
|
return awayGoals;
|
|
}
|
|
|
|
@PropertyName("away_golos")
|
|
public void setAwayGoals(Integer awayGoals) {
|
|
this.awayGoals = awayGoals;
|
|
}
|
|
|
|
@PropertyName("data")
|
|
public String getGameDate() {
|
|
return gameDate;
|
|
}
|
|
|
|
@PropertyName("data")
|
|
public void setGameDate(String gameDate) {
|
|
this.gameDate = gameDate;
|
|
}
|
|
|
|
@PropertyName("hora")
|
|
public String getGameHour() {
|
|
return gameHour;
|
|
}
|
|
|
|
@PropertyName("hora")
|
|
public void setGameHour(String gameHour) {
|
|
this.gameHour = gameHour;
|
|
}
|
|
|
|
@PropertyName("campo")
|
|
public String getStadium() {
|
|
return stadium;
|
|
}
|
|
|
|
@PropertyName("campo")
|
|
public void setStadium(String stadium) {
|
|
this.stadium = stadium;
|
|
}
|
|
|
|
@PropertyName("report_url")
|
|
public String getReportUrl() {
|
|
return reportUrl;
|
|
}
|
|
|
|
@PropertyName("report_url")
|
|
public void setReportUrl(String reportUrl) {
|
|
this.reportUrl = reportUrl;
|
|
}
|
|
}
|