QuizInStats
case class QuizInStats(quizId: UUID, totalSeen: Int, totalScore: Int, totalRightAnswers: Int, averageTimeAnswer: Double)
Create a new QuizInStats
- Value parameters:
- averageTimeAnswer
average time taken by user to answer
- totalRightAnswers
number of time the user answered the quiz correctly
- totalScore
total score gained in the quiz
- totalSeen
number of times the user has answered the quiz
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any