feat(date-memories): add DateMemory domain model

This commit is contained in:
null 2026-06-30 18:13:46 -05:00
parent 28eb10f6c9
commit 9a92b2b020
1 changed files with 18 additions and 0 deletions

View File

@ -0,0 +1,18 @@
package app.closer.domain.model
/**
* A completed date the couple logged, for the Date Replay timeline.
*
* Stored at `couples/{coupleId}/date_history/{id}` as PLAINTEXT (app content / coarse metadata the
* date-idea title + category, not the partners' private words; consistent with the metadata stance).
* The private post-date words live separately in [DateReflection] (E2EE). Doc id = the source matchId so
* "mark done" is idempotent.
*/
data class DateMemory(
val id: String = "",
val dateIdeaId: String = "",
val title: String = "",
val category: String = "",
val completedAt: Long = 0L,
val addedBy: String = ""
)