ProjetEntity.kt 23 lignes · 781 octets
package fr.ebii.card2vcf.data

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

@Entity(tableName = "projets")
data class ProjetEntity(
    @PrimaryKey(autoGenerate = true) val localId: Long = 0,
    val serverId: String? = null,
    val nom: String = "",
    val description: String = "",
    val workflowServerId: String = "",
    val membresJson: String = "[]",
    val creePar: String = "",
    /** Le projet utilise-t-il dates, durées et diagramme de Gantt ? */
    val planification: Boolean = false,
    /** Date cible du projet, format ISO `AAAA-MM-JJ`. */
    val echeance: String? = null,
    /** Rythme de travail : 5 = lun-ven, 6 = lun-sam, 7 = tous les jours. */
    val joursOuvres: Int = 7,
    val createdAt: Long = 0L,
    val updatedAt: Long = 0L,
)