InteractionEntity.kt 23 lignes · 848 octets
package fr.ebii.card2vcf.data

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

@Entity(tableName = "interactions")
data class InteractionEntity(
    @PrimaryKey(autoGenerate = true) val localId: Long = 0,
    val serverId: String? = null,
    val contactServerId: String = "",
    val type: String = "note",
    val sujet: String = "",
    val description: String = "",
    val creePar: String = "",
    val createdAt: Long = 0L,
    val updatedAt: Long? = null,
    /** Chemin local vers le fichier audio WAV (null si pas de note vocale). */
    val audioPath: String? = null,
    /** Statut de transcription : null | "en_attente" | "terminee" | "echec". */
    val transcriptionStatut: String? = null,
    /** Message d'erreur de transcription côté serveur (null si pas d'erreur). */
    val transcriptionErreur: String? = null,
)