diff --git a/src/main/java/trap/model/IndividualTotal.java b/src/main/java/trap/model/IndividualTotal.java index a703d325..be7fe034 100644 --- a/src/main/java/trap/model/IndividualTotal.java +++ b/src/main/java/trap/model/IndividualTotal.java @@ -2,11 +2,13 @@ import lombok.AllArgsConstructor; import lombok.Data; +import lombok.Setter; @AllArgsConstructor @Data public class IndividualTotal { int locationId; + @Setter String team; String athlete; String classification; @@ -14,10 +16,6 @@ public class IndividualTotal { int total; String type; - public void setTeam(String team) { - this.team = team; - } - public String getTeamForScores() { return this.type + " " + this.team + " " + this.getTeamClassificationForTotal(); }