Skip to content

Commit

Permalink
Add LeagueScoreJournal
Browse files Browse the repository at this point in the history
  • Loading branch information
BlackYps committed Oct 21, 2023
1 parent 472039a commit 77c4eec
Showing 1 changed file with 28 additions and 0 deletions.
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;
}

0 comments on commit 77c4eec

Please sign in to comment.