package org.raddatz.familienarchiv.dashboard;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.annotation.Nullable;
import org.raddatz.familienarchiv.audit.ActivityActorDTO;

import java.util.List;
import java.util.UUID;

public record DashboardResumeDTO(
        @Schema(requiredMode = Schema.RequiredMode.REQUIRED) UUID documentId,
        @Schema(requiredMode = Schema.RequiredMode.REQUIRED) String title,
        @Schema(requiredMode = Schema.RequiredMode.REQUIRED) String caption,
        @Schema(requiredMode = Schema.RequiredMode.REQUIRED) String excerpt,
        @Schema(requiredMode = Schema.RequiredMode.REQUIRED) int totalBlocks,
        @Schema(requiredMode = Schema.RequiredMode.REQUIRED) int pct,
        @Nullable String thumbnailUrl,
        @Schema(requiredMode = Schema.RequiredMode.REQUIRED) List<ActivityActorDTO> collaborators
) {}
