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

import jakarta.validation.constraints.NotNull;
import jakarta.validation.constraints.Size;
import org.raddatz.familienarchiv.person.relationship.RelationType;

import java.util.UUID;

public record CreateRelationshipRequest(
        @NotNull UUID relatedPersonId,
        @NotNull RelationType relationType,
        Integer fromYear,
        Integer toYear,
        @Size(max = 2000) String notes
) {}
