From 1a4b5b7d3767420f10a30eae4ef2ae64c713bfe4 Mon Sep 17 00:00:00 2001 From: 230421 <230421@epvc.pt> Date: Tue, 17 Mar 2026 17:03:32 +0000 Subject: [PATCH] resolve frcoisas --- .../com/example/vdcscore/ui/home/Team.java | 117 ++++++++---------- 1 file changed, 55 insertions(+), 62 deletions(-) diff --git a/app/src/main/java/com/example/vdcscore/ui/home/Team.java b/app/src/main/java/com/example/vdcscore/ui/home/Team.java index 9b24c87..86dcfb2 100644 --- a/app/src/main/java/com/example/vdcscore/ui/home/Team.java +++ b/app/src/main/java/com/example/vdcscore/ui/home/Team.java @@ -1,115 +1,108 @@ package com.example.vdcscore.ui.home; public class Team { - private String id; - private String name; - private int points; - private int played; - private int won; - private int drawn; - private int lost; - private int goalsFor; - private int goalsAgainst; - private int goalDifference; - private String imageUrl; + private String team_id; + private String nome; + private int pontos; + private int jogos; + private int vitorias; + private int empates; + private int derrotas; + private int golos_marcados; + private int golos_sofridos; + private int diferenca_golos; + private String imagem; public Team() { // 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 - public String getId() { - return id; + public String getTeam_id() { + return team_id; } - public void setId(String id) { - this.id = id; + public void setTeam_id(String team_id) { + this.team_id = team_id; } - public String getName() { - return name; + public String getNome() { + return nome; } - public void setName(String name) { - this.name = name; + public void setNome(String nome) { + this.nome = nome; } - public int getPoints() { - return points; + public int getPontos() { + return pontos; } - public void setPoints(int points) { - this.points = points; + public void setPontos(int pontos) { + this.pontos = pontos; } - public int getPlayed() { - return played; + public int getJogos() { + return jogos; } - public void setPlayed(int played) { - this.played = played; + public void setJogos(int jogos) { + this.jogos = jogos; } - public int getWon() { - return won; + public int getVitorias() { + return vitorias; } - public void setWon(int won) { - this.won = won; + public void setVitorias(int vitorias) { + this.vitorias = vitorias; } - public int getDrawn() { - return drawn; + public int getEmpates() { + return empates; } - public void setDrawn(int drawn) { - this.drawn = drawn; + public void setEmpates(int empates) { + this.empates = empates; } - public int getLost() { - return lost; + public int getDerrotas() { + return derrotas; } - public void setLost(int lost) { - this.lost = lost; + public void setDerrotas(int derrotas) { + this.derrotas = derrotas; } - public int getGoalsFor() { - return goalsFor; + public int getGolos_marcados() { + return golos_marcados; } - public void setGoalsFor(int goalsFor) { - this.goalsFor = goalsFor; + public void setGolos_marcados(int golos_marcados) { + this.golos_marcados = golos_marcados; } - public int getGoalsAgainst() { - return goalsAgainst; + public int getGolos_sofridos() { + return golos_sofridos; } - public void setGoalsAgainst(int goalsAgainst) { - this.goalsAgainst = goalsAgainst; + public void setGolos_sofridos(int golos_sofridos) { + this.golos_sofridos = golos_sofridos; } - public int getGoalDifference() { - return goalDifference; + public int getDiferenca_golos() { + return diferenca_golos; } - public void setGoalDifference(int goalDifference) { - this.goalDifference = goalDifference; + public void setDiferenca_golos(int diferenca_golos) { + this.diferenca_golos = diferenca_golos; } - public String getImageUrl() { - return imageUrl; + public String getImagem() { + return imagem; } - public void setImageUrl(String imageUrl) { - this.imageUrl = imageUrl; + public void setImagem(String imagem) { + this.imagem = imagem; } }