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

import kotlinx.serialization.Serializable

@Serializable
data class MemberGroupPhotoListResponse(
    val success: Boolean = true,
    val photos: List<MemberGroupPhotoDto> = emptyList(),
)

@Serializable
data class MemberGroupPhotoDto(
    val id: Int,
    val clubId: Int? = null,
    val title: String? = null,
    val description: String? = null,
    /** Relativer Pfad inkl. Query (Cache-Buster), z. B. `/api/member-group-photos/1/2/image?t=…` */
    val imageUrl: String? = null,
)
