package com.faforever.client.api.dto;

import com.faforever.client.game.Faction;
import com.github.jasminb.jsonapi.annotations.Id;
import com.github.jasminb.jsonapi.annotations.Relationship;
import com.github.jasminb.jsonapi.annotations.Type;
import lombok.EqualsAndHashCode;
import lombok.Getter;
import lombok.Setter;
import org.jetbrains.annotations.Nullable;

import java.time.OffsetDateTime;
import java.util.List;

@Getter
@Setter
@EqualsAndHashCode(of = "id")
@Type("gamePlayerStats")
public class GamePlayerStats {
  @Id
  private String id;
  private boolean ai;
  private Faction faction;
  private byte color;
  private byte team;
  private byte startSpot;
  private Float beforeMean;
  private Float beforeDeviation;
  private Float afterMean;
  private Float afterDeviation;
  private byte score;
  @Nullable
  private OffsetDateTime scoreTime;

  @Relationship("game")
  private Game replay;

  @Relationship("player")
  private Player player;

  @Relationship("ratingChanges")
  private List<LeaderboardRatingJournal> leaderboardRatingJournals;
}

@@ -661,16 +661,30 @@
 rtSpot;%0A
+  @Deprecated%0A
   privat
@@ -699,24 +699,38 @@
 beforeMean;%0A
+  @Deprecated%0A
   private Fl
@@ -742,32 +742,46 @@
 eforeDeviation;%0A
+  @Deprecated%0A
   private Float 
@@ -791,16 +791,30 @@
 erMean;%0A
+  @Deprecated%0A
   privat

Add depreciated to old mean and deviation in GamePlayerStats