package org.raddatz.familienarchiv.notification;

import io.swagger.v3.oas.annotations.media.Schema;
import org.raddatz.familienarchiv.notification.NotificationType;

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

public record NotificationDTO(
        @Schema(requiredMode = Schema.RequiredMode.REQUIRED) UUID id,
        @Schema(requiredMode = Schema.RequiredMode.REQUIRED) NotificationType type,
        UUID documentId,
        UUID referenceId,
        UUID annotationId,
        @Schema(requiredMode = Schema.RequiredMode.REQUIRED) boolean read,
        @Schema(requiredMode = Schema.RequiredMode.REQUIRED) LocalDateTime createdAt,
        String actorName,
        String documentTitle
) {}
