@@ -0,0 +1,2318 @@
+package com.faforever.api.data.domain;%0A%0Aimport com.yahoo.elide.annotation.Include;%0A%0Aimport javax.persistence.Basic;%0Aimport javax.persistence.Column;%0Aimport javax.persistence.Entity;%0Aimport javax.persistence.Id;%0Aimport javax.persistence.JoinColumn;%0Aimport javax.persistence.OneToOne;%0Aimport javax.persistence.Table;%0Aimport java.sql.Time;%0Aimport java.util.Objects;%0A%0A@Entity%0A@Table(name = %22coop_leaderboard%22)%0A@Include(rootLevel = true, type = %22coop_leaderboard%22)%0Apublic class CoopLeaderboard %7B%0A%0A  private int id;%0A  private short mission;%0A  private Replay replay;%0A  private boolean secondaryObjectives;%0A  private Time duration;%0A  private short playerCount;%0A%0A  @Id%0A  @Column(name = %22id%22)%0A  public int getId() %7B%0A    return id;%0A  %7D%0A%0A  public void setId(int id) %7B%0A    this.id = id;%0A  %7D%0A%0A  @Basic%0A  @Column(name = %22mission%22)%0A  public short getMission() %7B%0A    return mission;%0A  %7D%0A%0A  public void setMission(short mission) %7B%0A    this.mission = mission;%0A  %7D%0A%0A  @OneToOne%0A  @JoinColumn(name = %22gameuid%22)%0A  public Replay getReplay() %7B%0A    return replay;%0A  %7D%0A%0A  public void setReplay(Replay gameuid) %7B%0A    this.replay = gameuid;%0A  %7D%0A%0A  @Basic%0A  @Column(name = %22secondary%22)%0A  public boolean getSecondaryObjectives() %7B%0A    return secondaryObjectives;%0A  %7D%0A%0A  public void setSecondaryObjectives(boolean secondary) %7B%0A    this.secondaryObjectives = secondary;%0A  %7D%0A%0A  @Basic%0A  @Column(name = %22time%22)%0A  public Time getDuration() %7B%0A    return duration;%0A  %7D%0A%0A  public void setDuration(Time time) %7B%0A    this.duration = time;%0A  %7D%0A%0A  @Basic%0A  @Column(name = %22player_count%22)%0A  public short getPlayerCount() %7B%0A    return playerCount;%0A  %7D%0A%0A  public void setPlayerCount(short playerCount) %7B%0A    this.playerCount = playerCount;%0A  %7D%0A%0A  @Override%0A  public int hashCode() %7B%0A    return Objects.hash(id, mission, replay, secondaryObjectives, duration, playerCount);%0A  %7D%0A%0A  @Override%0A  public boolean equals(Object o) %7B%0A    if (this == o) %7B%0A      return true;%0A    %7D%0A    if (o == null %7C%7C getClass() != o.getClass()) %7B%0A      return false;%0A    %7D%0A    CoopLeaderboard that = (CoopLeaderboard) o;%0A    return id == that.id &&%0A        mission == that.mission &&%0A        replay == that.replay &&%0A        secondaryObjectives == that.secondaryObjectives &&%0A        Objects.equals(duration, that.duration) &&%0A        Objects.equals(playerCount, that.playerCount);%0A  %7D%0A%7D%0A

Add coop leaderboard (without ranking)