Class GameStat

java.lang.Object
com.fyp.tauceti.entity.GameStat

@Entity public class GameStat extends Object
The GameStat entity maps to the GAME_STAT database table
  • Constructor Details

    • GameStat

      public GameStat()
    • GameStat

      public GameStat(Long winCount, Long lossCount, Long totalplaytime, Long totalSessions, Long totalPlayerCount, Game game)
  • Method Details

    • getId

      public Long getId()
    • setId

      public void setId(Long id)
    • getWinCount

      public Long getWinCount()
    • setWinCount

      public void setWinCount(Long winCount)
    • getLossCount

      public Long getLossCount()
    • setLossCount

      public void setLossCount(long lossCount)
    • getTotalPlayTime

      public Long getTotalPlayTime()
    • setTotalPlayTime

      public void setTotalPlayTime(Long totalPlayTime)
    • getTotalSessions

      public Long getTotalSessions()
    • setTotalSessions

      public void setTotalSessions(Long totalSessions)
    • getTotalPlayerCount

      public Long getTotalPlayerCount()
    • setTotalPlayerCount

      public void setTotalPlayerCount(Long totalPlayerCount)
    • getGame

      public Game getGame()
    • setGame

      public void setGame(Game game)
    • toString

      public String toString()
      Overrides:
      toString in class Object