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

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

@Entity(tableName = "nodes")
data class NodeEntity(
    @PrimaryKey val nodeId: String,
    val ip: String,
    val hostname: String?,
    val status: String,
    val openPortsJson: String,
    val latencyMs: Double,
    val macAddress: String?,
    val deviceType: String?,
    val alias: String?,
    val transport: String,
    val security: String?,
    val signalLevelDbm: Int?,
    val note: String?,
    val firstSeenAt: Long,
    val lastSeenAt: Long,
    val seenCount: Int,
)
