Coverage Summary for Class: UserEntity (debug.com.greybox.projectmesh.user)

Class Method, % Branch, % Line, % Instruction, %
UserEntity 0% (0/1) 0% (0/3) 0% (0/24)
UserEntity$$serializer 0% (0/1) 0% (0/1) 0% (0/2)
UserEntity$Companion 0% (0/1) 0% (0/1) 0% (0/4)
Total 0% (0/3) 0% (0/5) 0% (0/30)


 package com.greybox.projectmesh.user
 
 import androidx.room.Entity
 import androidx.room.PrimaryKey
 import kotlinx.serialization.Serializable
 
 /**
  * Represents a user in the system.
  *
  * @property uuid Unique identifier for the user
  * @property name Display name of the user
  * @property address Optional network address (null if offline)
  * @property lastSeen Optional timestamp of the last time the user was seen
  */
 @Serializable
 @Entity(tableName = "users")
 data class UserEntity(
     @PrimaryKey val uuid: String,
     val name: String,
     val address: String? = null, // Optional: null if offline
     val lastSeen: Long? = null   // Optional: timestamp in milliseconds
 )