-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
28 additions
and
0 deletions.
There are no files selected for viewing
28 changes: 28 additions & 0 deletions
28
faf-commons-api/src/main/java/com/faforever/commons/api/dto/LeagueScoreJournal.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
package com.faforever.commons.api.dto; | ||
|
||
import com.github.jasminb.jsonapi.annotations.Relationship; | ||
import com.github.jasminb.jsonapi.annotations.Type; | ||
import lombok.Data; | ||
import lombok.EqualsAndHashCode; | ||
import lombok.ToString; | ||
|
||
@Data | ||
@ToString(onlyExplicitlyIncluded = true, callSuper = true) | ||
@EqualsAndHashCode(onlyExplicitlyIncluded = true, callSuper = true) | ||
@Type("leagueSeasonScore") | ||
public class LeagueScoreJournal extends AbstractEntity<LeagueScoreJournal> { | ||
private Integer gameId; | ||
private Integer loginId; | ||
private Integer gameCount; | ||
private Integer scoreBefore; | ||
private Integer scoreAfter; | ||
|
||
@Relationship("leagueSeason") | ||
private LeagueSeason leagueSeason; | ||
|
||
@Relationship("leagueSeasonDivisionSubdivision") | ||
private LeagueSeasonDivisionSubdivision leagueSeasonDivisionSubdivisionBefore; | ||
|
||
@Relationship("leagueSeasonDivisionSubdivision") | ||
private LeagueSeasonDivisionSubdivision leagueSeasonDivisionSubdivisionAfter; | ||
} |