NoteProjetEntity.kt 22 lignes · 839 octets
package fr.ebii.card2vcf.data

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

@Entity(tableName = "notes_projet")
data class NoteProjetEntity(
    @PrimaryKey(autoGenerate = true) val localId: Long = 0,
    val serverId: String? = null,
    val projetServerId: String = "",
    val titre: String = "",
    val texte: String = "",
    /** Chemin local vers le fichier audio WAV (null en phase 1, préparé pour phase 2). */
    val audioPath: String? = null,
    /** Statut de transcription : null | "en_attente" | "terminee" | "echec" (null en phase 1). */
    val transcriptionStatut: String? = null,
    /** Message d'erreur de transcription côté serveur (null si pas d'erreur). */
    val transcriptionErreur: String? = null,
    val auteur: String = "",
    val createdAt: Long = 0L,
    val updatedAt: Long? = null,
)