package com.optix.android.data.local.entities

import androidx.room.Entity
import androidx.room.PrimaryKey

@Entity(tableName = "sessions")
data class SessionEntity(
    @PrimaryKey(autoGenerate = true) val id: Long = 0,
    val toolName: String,
    val toolSlug: String,
    val timestamp: Long,
    val paramsJson: String,     // Map<String, String> serialised as JSON
    val resultsJson: String,    // List<String> serialised as JSON
    val logsJson: String,       // List<String> serialised as JSON
    val durationMs: Long,
)
