package org.raddatz.familienarchiv.person.relationship.dto;

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

import java.util.UUID;

/** Lightweight node for the Stammbaum tree and inferred-relationship payloads. */
public record PersonNodeDTO(
        @Schema(requiredMode = Schema.RequiredMode.REQUIRED) UUID id,
        @Schema(requiredMode = Schema.RequiredMode.REQUIRED) String displayName,
        Integer birthYear,
        Integer deathYear,
        Integer generation,
        @Schema(requiredMode = Schema.RequiredMode.REQUIRED) boolean familyMember
) {}
