package com.divya.keyspeed.data

import androidx.room.Entity
import androidx.room.PrimaryKey
import java.io.Serializable

@Entity(tableName = "typing_history")
data class TypingHistory(
    @PrimaryKey(autoGenerate = true)
    val id: Int = 0,
    val wpm: Int,
    val accuracy: Int,
    val correctChars: Int,
    val incorrectChars: Int,
    val durationSeconds: Int,
    val timestamp: Long = System.currentTimeMillis()
) : Serializable
