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

import kotlinx.serialization.Serializable

@Serializable
data class TrainingCancellationDto(
    val id: Int = 0,
    val clubId: Int? = null,
    val startDate: String? = null,
    val endDate: String? = null,
    val date: String? = null,
    val reason: String? = null,
)

@Serializable
data class TrainingCancellationUpsertBody(
    val startDate: String,
    val endDate: String,
    val reason: String? = null,
)

@Serializable
data class CalendarHolidayRowDto(
    val id: String? = null,
    val startDate: String? = null,
    val endDate: String? = null,
    val name: String? = null,
)

@Serializable
data class ClubCalendarHolidaysEnvelope(
    val holidays: List<CalendarHolidayRowDto> = emptyList(),
    val schoolHolidays: List<CalendarHolidayRowDto> = emptyList(),
)
