resolve frcoisas

This commit is contained in:
2026-03-17 17:03:32 +00:00
parent 9348951090
commit 1a4b5b7d37

View File

@@ -1,115 +1,108 @@
package com.example.vdcscore.ui.home; package com.example.vdcscore.ui.home;
public class Team { public class Team {
private String id; private String team_id;
private String name; private String nome;
private int points; private int pontos;
private int played; private int jogos;
private int won; private int vitorias;
private int drawn; private int empates;
private int lost; private int derrotas;
private int goalsFor; private int golos_marcados;
private int goalsAgainst; private int golos_sofridos;
private int goalDifference; private int diferenca_golos;
private String imageUrl; private String imagem;
public Team() { public Team() {
// Required empty constructor for Firebase // Required empty constructor for Firebase
} }
public Team(String id, String name, int points, int played) {
this.id = id;
this.name = name;
this.points = points;
this.played = played;
}
// Getters and Setters // Getters and Setters
public String getId() { public String getTeam_id() {
return id; return team_id;
} }
public void setId(String id) { public void setTeam_id(String team_id) {
this.id = id; this.team_id = team_id;
} }
public String getName() { public String getNome() {
return name; return nome;
} }
public void setName(String name) { public void setNome(String nome) {
this.name = name; this.nome = nome;
} }
public int getPoints() { public int getPontos() {
return points; return pontos;
} }
public void setPoints(int points) { public void setPontos(int pontos) {
this.points = points; this.pontos = pontos;
} }
public int getPlayed() { public int getJogos() {
return played; return jogos;
} }
public void setPlayed(int played) { public void setJogos(int jogos) {
this.played = played; this.jogos = jogos;
} }
public int getWon() { public int getVitorias() {
return won; return vitorias;
} }
public void setWon(int won) { public void setVitorias(int vitorias) {
this.won = won; this.vitorias = vitorias;
} }
public int getDrawn() { public int getEmpates() {
return drawn; return empates;
} }
public void setDrawn(int drawn) { public void setEmpates(int empates) {
this.drawn = drawn; this.empates = empates;
} }
public int getLost() { public int getDerrotas() {
return lost; return derrotas;
} }
public void setLost(int lost) { public void setDerrotas(int derrotas) {
this.lost = lost; this.derrotas = derrotas;
} }
public int getGoalsFor() { public int getGolos_marcados() {
return goalsFor; return golos_marcados;
} }
public void setGoalsFor(int goalsFor) { public void setGolos_marcados(int golos_marcados) {
this.goalsFor = goalsFor; this.golos_marcados = golos_marcados;
} }
public int getGoalsAgainst() { public int getGolos_sofridos() {
return goalsAgainst; return golos_sofridos;
} }
public void setGoalsAgainst(int goalsAgainst) { public void setGolos_sofridos(int golos_sofridos) {
this.goalsAgainst = goalsAgainst; this.golos_sofridos = golos_sofridos;
} }
public int getGoalDifference() { public int getDiferenca_golos() {
return goalDifference; return diferenca_golos;
} }
public void setGoalDifference(int goalDifference) { public void setDiferenca_golos(int diferenca_golos) {
this.goalDifference = goalDifference; this.diferenca_golos = diferenca_golos;
} }
public String getImageUrl() { public String getImagem() {
return imageUrl; return imagem;
} }
public void setImageUrl(String imageUrl) { public void setImagem(String imagem) {
this.imageUrl = imageUrl; this.imagem = imagem;
} }
} }