package app.closer.domain.model

data class TimeCapsule(
    val id: String = "",
    val coupleId: String = "",
    val authorId: String = "",
    val title: String = "",
    val content: String = "",
    val promptUsed: String? = null,
    val unlockAt: Long = 0L,
    val createdAt: Long = 0L,
    val status: String = "sealed" // "sealed" | "unlocked"
) {
    val isUnlocked: Boolean get() = status == "unlocked" || System.currentTimeMillis() >= unlockAt
}
