package org.raddatz.familienarchiv.document;

import io.swagger.v3.oas.annotations.media.Schema;

import java.time.LocalDateTime;
import java.util.List;
import java.util.UUID;

public record DocumentVersionSummary(
        @Schema(requiredMode = Schema.RequiredMode.REQUIRED) UUID id,
        @Schema(requiredMode = Schema.RequiredMode.REQUIRED) LocalDateTime savedAt,
        @Schema(requiredMode = Schema.RequiredMode.REQUIRED) String editorName,
        @Schema(requiredMode = Schema.RequiredMode.REQUIRED) List<String> changedFields
) {}
