package org.raddatz.familienarchiv.person;

import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import jakarta.validation.constraints.Size;
import org.raddatz.familienarchiv.person.PersonNameAliasType;

public record PersonNameAliasDTO(
        @NotBlank @Size(max = 255) String lastName,
        @Size(max = 255) String firstName,
        @NotNull PersonNameAliasType type
) {}
