package io.nexilis.service.data.entities

import androidx.room.Entity
import androidx.room.Index

@Entity(
    primaryKeys = ["message_id", "f_pin"],
    indices = [
        Index(value = ["message_id"])
    ]
)
data class MessageStatus(
    val message_id: String,
    val status: Int = 0,
    val f_pin: String,
    val user_id: String,
    val last_update: Long,
    val time_delivered: Long,
    val time_read: Long,
    val time_ack: Long,
    val longitude: String = "",
    val latitude: String = "",
    val location: String = ""
) : MainEntity