package de.tsschulz.tt_tagebuch.shared.api.models

import kotlinx.serialization.Serializable

/** Freitext-Aktivitäten zum Tag (`/api/activities`), nicht der Trainingsplan. */
@Serializable
data class DiaryFreeformActivity(
    val id: Int,
    val description: String,
    val diaryDateId: Int,
)

@Serializable
data class AddFreeformActivityBody(
    val diaryDateId: Int,
    val description: String,
)

/** Verknüpfung Teilnehmer-Zeile ↔ Plan-/Gruppen-Aktivität (`/api/diary-member-activities`). */
@Serializable
data class DiaryMemberActivityLink(
    val id: Int,
    val diaryDateActivityId: Int,
    val participantId: Int,
)

@Serializable
data class AddMemberActivityParticipantsBody(
    val participantIds: List<Int>,
)
